account_pb.ts 2.4 KB

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