account_pb.ts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. export interface ReduceSubscribeMessageRequest{
  2. subscribeId?:string;
  3. userId?:string;
  4. }
  5. export interface StatisticsSubscribeMessageRequest{
  6. idList?:Array<string>;
  7. }
  8. export interface FindIdentifyByAccountIDAndIsSubscribeRequest{
  9. accountIds?:Array<number>;
  10. }
  11. export interface FindIdentifyByAccountIDAndIsSubscribeReply{
  12. list?:Array<FindIdentifyByAccountIDInfo>;
  13. }
  14. export interface FindIdentifyByAccountIDInfo{
  15. openId?:string;
  16. appid?:string;
  17. accountId?:number;
  18. /** 类型(小程序、公众号用户) */
  19. type?:string;
  20. }
  21. export interface GetGetGzhConfigReply{
  22. /** 公众号Id */
  23. appId?:string;
  24. /** 公众号名称 */
  25. name?:string;
  26. /** 公众号图片 */
  27. imageUrl?:string;
  28. /** 公众号隐私政策链接 */
  29. privacyPolicyUrl?:string;
  30. /** 公众号用户协议链接 */
  31. userAgreementUrl?:string;
  32. noteSubscribeTemplateIds?:Array<string>;
  33. chatSubscribeTemplateIds?:Array<string>;
  34. registerSubscribeTemplateIds?:Array<string>;
  35. contactUrl?:string;
  36. isOpenActive?:boolean;
  37. activeLink?:string;
  38. /** 隐私政策 */
  39. privacyPolicyHTML?:string;
  40. /** 用户协议 */
  41. userAgreementHTML?:string;
  42. /** vip充值协议 */
  43. vipPolicyHTML?:string;
  44. messageSubscribeTemplateIds?:Array<string>;
  45. }
  46. export interface GetIdentifyByAccountIDRequest{
  47. accountId?:number;
  48. appid?:string;
  49. }
  50. export interface GetIdentifyByAccountIDReply{
  51. openId?:string;
  52. appid?:string;
  53. /** 类型(小程序、公众号用户) */
  54. type?:string;
  55. }
  56. export interface CheckTextRequest{
  57. /** 待审核的文本 */
  58. text?:string;
  59. }
  60. export interface CheckTextReply{
  61. /** 是否通过 */
  62. isPass?:boolean;
  63. }
  64. export interface MediaID{
  65. mediaId?:string;
  66. }
  67. export interface MaterialLink{
  68. link?:string;
  69. }
  70. export interface RandomNicknameReply{
  71. nickname?:string;
  72. }
  73. export interface RandomAvatarReply{
  74. avatarUrl?:string;
  75. }
  76. export interface RandomAvatarListReply{
  77. list?:Array<string>;
  78. }
  79. export interface OpenIDAndAppIDRequest{
  80. openId?:string;
  81. appId?:string;
  82. }
  83. export interface IdentityInfo{
  84. pid?:string;
  85. }
  86. export interface UserInfoDB{
  87. /** id */
  88. id?:string;
  89. /** 昵称 */
  90. nickname?:string;
  91. /** 头像链接 */
  92. avatarUrl?:string;
  93. /** 手机号 */
  94. phone?:string;
  95. /** 性别 */
  96. sex?:number;
  97. /** 积分 */
  98. credit?:number;
  99. }
  100. export interface PartnerInfoDB{
  101. /** id */
  102. id?:string;
  103. /** 昵称 */
  104. nickname?:string;
  105. /** 头像链接 */
  106. avatarUrl?:string;
  107. /** 手机号 */
  108. phone?:string;
  109. /** 性别 */
  110. sex?:number;
  111. /** 积分 */
  112. credit?:number;
  113. }
  114. export interface AuthorizationMiniProgramRequest{
  115. jsCode?:string;
  116. }
  117. export interface AuthorizationRequest{
  118. jsCode?:string;
  119. appId?:string;
  120. type?:string;
  121. fromOpenId?:string;
  122. sex?:number;
  123. }
  124. export interface TokenReply{
  125. token?:string;
  126. appId?:string;
  127. }
  128. export interface MiniProgramTokenReply{
  129. token?:string;
  130. appId?:string;
  131. isNeedMessage?:boolean;
  132. }
  133. export interface DebugLoginRequest{
  134. id?:number;
  135. code?:string;
  136. }
  137. export interface LoginToken{
  138. pid?:string;
  139. type?:string;
  140. }