account_pb.ts 3.1 KB

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