account_pb.ts 2.9 KB

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