account_pb.ts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. export interface FindIdentifyByAccountIDAndIsSubscribeRequest{
  2. accountIds?:Array<number>;
  3. }
  4. export interface FindIdentifyByAccountIDAndIsSubscribeReply{
  5. list?:Array<FindIdentifyByAccountIDInfo>;
  6. }
  7. export interface FindIdentifyByAccountIDInfo{
  8. openId?:string;
  9. appid?:string;
  10. accountId?:number;
  11. }
  12. export interface GetGetGzhConfigReply{
  13. /** 公众号Id */
  14. appId?:string;
  15. /** 公众号名称 */
  16. name?:string;
  17. /** 公众号图片 */
  18. imageUrl?:string;
  19. /** 公众号隐私政策链接 */
  20. privacyPolicyUrl?:string;
  21. /** 公众号用户协议链接 */
  22. userAgreementUrl?:string;
  23. noteSubscribeTemplateIds?:Array<string>;
  24. chatSubscribeTemplateIds?:Array<string>;
  25. registerSubscribeTemplateIds?:Array<string>;
  26. }
  27. export interface GetIdentifyByAccountIDRequest{
  28. accountId?:number;
  29. appid?:string;
  30. }
  31. export interface GetIdentifyByAccountIDReply{
  32. openId?:string;
  33. appid?:string;
  34. }
  35. export interface CheckTextRequest{
  36. /** 待审核的文本 */
  37. text?:string;
  38. }
  39. export interface CheckTextReply{
  40. /** 是否通过 */
  41. isPass?:boolean;
  42. }
  43. export interface MediaID{
  44. mediaId?:string;
  45. }
  46. export interface MaterialLink{
  47. link?:string;
  48. }
  49. export interface RandomNicknameReply{
  50. nickname?:string;
  51. }
  52. export interface RandomAvatarReply{
  53. avatarUrl?:string;
  54. }
  55. export interface RandomAvatarListReply{
  56. list?:Array<string>;
  57. }
  58. export interface OpenIDAndAppIDRequest{
  59. openId?:string;
  60. appId?:string;
  61. }
  62. export interface IdentityInfo{
  63. pid?:string;
  64. }
  65. export interface UserInfoDB{
  66. /** id */
  67. id?:string;
  68. /** 昵称 */
  69. nickname?:string;
  70. /** 头像链接 */
  71. avatarUrl?:string;
  72. /** 手机号 */
  73. phone?:string;
  74. /** 性别 */
  75. sex?:number;
  76. /** 积分 */
  77. credit?:number;
  78. }
  79. export interface PartnerInfoDB{
  80. /** id */
  81. id?:string;
  82. /** 昵称 */
  83. nickname?:string;
  84. /** 头像链接 */
  85. avatarUrl?:string;
  86. /** 手机号 */
  87. phone?:string;
  88. /** 性别 */
  89. sex?:number;
  90. /** 积分 */
  91. credit?:number;
  92. }
  93. export interface AuthorizationRequest{
  94. jsCode?:string;
  95. appId?:string;
  96. type?:string;
  97. fromOpenId?:string;
  98. sex?:number;
  99. }
  100. export interface TokenReply{
  101. token?:string;
  102. appId?:string;
  103. }
  104. export interface DebugLoginRequest{
  105. id?:number;
  106. code?:string;
  107. }
  108. export interface LoginToken{
  109. pid?:string;
  110. type?:string;
  111. }