account_pb.ts 2.5 KB

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