account_pb.ts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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 OpenIDAndAppIDRequest{
  71. openId?:string;
  72. appId?:string;
  73. }
  74. export interface IdentityInfo{
  75. pid?:string;
  76. }
  77. export interface UserInfoDB{
  78. /** id */
  79. id?:string;
  80. /** 昵称 */
  81. nickname?:string;
  82. /** 头像链接 */
  83. avatarUrl?:string;
  84. /** 手机号 */
  85. phone?:string;
  86. /** 性别 */
  87. sex?:number;
  88. /** 积分 */
  89. credit?:number;
  90. }
  91. export interface PartnerInfoDB{
  92. /** id */
  93. id?:string;
  94. /** 昵称 */
  95. nickname?:string;
  96. /** 头像链接 */
  97. avatarUrl?:string;
  98. /** 手机号 */
  99. phone?:string;
  100. /** 性别 */
  101. sex?:number;
  102. /** 积分 */
  103. credit?:number;
  104. }
  105. export interface AuthorizationMiniProgramRequest{
  106. jsCode?:string;
  107. }
  108. export interface AuthorizationRequest{
  109. jsCode?:string;
  110. appId?:string;
  111. type?:string;
  112. fromOpenId?:string;
  113. sex?:number;
  114. }
  115. export interface TokenReply{
  116. token?:string;
  117. appId?:string;
  118. }
  119. export interface MiniProgramTokenReply{
  120. token?:string;
  121. appId?:string;
  122. isNeedMessage?:boolean;
  123. }
  124. export interface DebugLoginRequest{
  125. id?:number;
  126. code?:string;
  127. }
  128. export interface LoginToken{
  129. pid?:string;
  130. type?:string;
  131. }