account_pb.ts 3.1 KB

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