account_pb.ts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. export interface ReduceSubscribeMessageRequest{
  2. idList?:Array<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. }
  43. export interface GetIdentifyByAccountIDRequest{
  44. accountId?:number;
  45. appid?:string;
  46. }
  47. export interface GetIdentifyByAccountIDReply{
  48. openId?:string;
  49. appid?:string;
  50. /** 类型(小程序、公众号用户) */
  51. type?:string;
  52. }
  53. export interface CheckTextRequest{
  54. /** 待审核的文本 */
  55. text?:string;
  56. }
  57. export interface CheckTextReply{
  58. /** 是否通过 */
  59. isPass?:boolean;
  60. }
  61. export interface MediaID{
  62. mediaId?:string;
  63. }
  64. export interface MaterialLink{
  65. link?:string;
  66. }
  67. export interface RandomNicknameReply{
  68. nickname?:string;
  69. }
  70. export interface RandomAvatarReply{
  71. avatarUrl?:string;
  72. }
  73. export interface RandomAvatarListReply{
  74. list?:Array<string>;
  75. }
  76. export interface OpenIDAndAppIDRequest{
  77. openId?:string;
  78. appId?:string;
  79. }
  80. export interface IdentityInfo{
  81. pid?:string;
  82. }
  83. export interface UserInfoDB{
  84. /** id */
  85. id?:string;
  86. /** 昵称 */
  87. nickname?:string;
  88. /** 头像链接 */
  89. avatarUrl?:string;
  90. /** 手机号 */
  91. phone?:string;
  92. /** 性别 */
  93. sex?:number;
  94. /** 积分 */
  95. credit?:number;
  96. }
  97. export interface PartnerInfoDB{
  98. /** id */
  99. id?:string;
  100. /** 昵称 */
  101. nickname?:string;
  102. /** 头像链接 */
  103. avatarUrl?:string;
  104. /** 手机号 */
  105. phone?:string;
  106. /** 性别 */
  107. sex?:number;
  108. /** 积分 */
  109. credit?:number;
  110. }
  111. export interface AuthorizationMiniProgramRequest{
  112. jsCode?:string;
  113. }
  114. export interface AuthorizationRequest{
  115. jsCode?:string;
  116. appId?:string;
  117. type?:string;
  118. fromOpenId?:string;
  119. sex?:number;
  120. }
  121. export interface TokenReply{
  122. token?:string;
  123. appId?:string;
  124. }
  125. export interface MiniProgramTokenReply{
  126. token?:string;
  127. appId?:string;
  128. isNeedMessage?:boolean;
  129. }
  130. export interface DebugLoginRequest{
  131. id?:number;
  132. code?:string;
  133. }
  134. export interface LoginToken{
  135. pid?:string;
  136. type?:string;
  137. }