account_pb.ts 2.5 KB

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