account_pb.ts 2.7 KB

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