account_pb.ts 3.4 KB

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