account_pb.ts 2.8 KB

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