@cherryin/api-client 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/.openapi-generator/FILES +73 -11
  2. package/README.md +110 -16
  3. package/api.ts +3348 -749
  4. package/dist/api.d.ts +2027 -624
  5. package/dist/api.js +2827 -921
  6. package/dist/esm/api.d.ts +2027 -624
  7. package/dist/esm/api.js +2800 -899
  8. package/docs/AIModelAdminServiceApi.md +53 -0
  9. package/docs/AIModelCheckConnectionResponse.md +25 -0
  10. package/docs/AIModelCheckItem.md +32 -0
  11. package/docs/AIModelCheckResult.md +23 -0
  12. package/docs/AIModelCreateResponse.md +2 -2
  13. package/docs/AIModelDeleteResponse.md +2 -2
  14. package/docs/AIModelDisableResponse.md +2 -2
  15. package/docs/AIModelGetResponse.md +2 -2
  16. package/docs/AIModelListResponse.md +2 -2
  17. package/docs/AIModelPublishResponse.md +2 -2
  18. package/docs/AIModelUpdateResponse.md +2 -2
  19. package/docs/Auth2Account.md +33 -0
  20. package/docs/Auth2Admin.md +33 -0
  21. package/docs/Auth2AdminServiceApi.md +469 -0
  22. package/docs/Auth2AdminSession.md +35 -0
  23. package/docs/{AuthTokenPair.md → Auth2IdToken.md} +10 -8
  24. package/docs/Auth2Session.md +35 -0
  25. package/docs/Auth2User.md +33 -0
  26. package/docs/Auth2UserServiceApi.md +1203 -0
  27. package/docs/AuthAdminChangePasswordRequest.md +24 -0
  28. package/docs/AuthAdminChangePasswordResponse.md +26 -0
  29. package/docs/AuthAdminGetSessionResponse.md +26 -0
  30. package/docs/AuthAdminListSessionsResponse.md +24 -0
  31. package/docs/AuthAdminRevokeOtherSessionsResponse.md +24 -0
  32. package/docs/{UserAuthFlowInitResponseOAuthResult.md → AuthAdminRevokeSessionRequest.md} +5 -5
  33. package/docs/AuthAdminRevokeSessionResponse.md +24 -0
  34. package/docs/AuthAdminRevokeSessionsResponse.md +24 -0
  35. package/docs/AuthAdminSignInEmailRequest.md +26 -0
  36. package/docs/AuthAdminSignInEmailResponse.md +26 -0
  37. package/docs/AuthAdminSignOutResponse.md +24 -0
  38. package/docs/AuthAdminUpdateUserRequest.md +22 -0
  39. package/docs/AuthAdminUpdateUserResponse.md +24 -0
  40. package/docs/AuthChangeEmailRequest.md +22 -0
  41. package/docs/AuthChangeEmailResponse.md +26 -0
  42. package/docs/AuthChangePasswordRequest.md +24 -0
  43. package/docs/AuthChangePasswordResponse.md +26 -0
  44. package/docs/AuthDeleteUserRequest.md +24 -0
  45. package/docs/AuthDeleteUserResponse.md +24 -0
  46. package/docs/AuthGetAccessTokenRequest.md +24 -0
  47. package/docs/AuthGetAccessTokenResponse.md +34 -0
  48. package/docs/AuthGetAccountInfoResponse.md +24 -0
  49. package/docs/AuthGetSessionResponse.md +26 -0
  50. package/docs/AuthLinkSocialRequest.md +30 -0
  51. package/docs/AuthLinkSocialResponse.md +28 -0
  52. package/docs/AuthListAccountsResponse.md +24 -0
  53. package/docs/AuthListSessionsResponse.md +24 -0
  54. package/docs/AuthRefreshTokenRequest.md +24 -0
  55. package/docs/AuthRefreshTokenResponse.md +34 -0
  56. package/docs/AuthRequestPasswordResetRequest.md +22 -0
  57. package/docs/{UserAuthFlowOAuthCallbackRequest.md → AuthRequestPasswordResetResponse.md} +7 -7
  58. package/docs/AuthResetPasswordRequest.md +22 -0
  59. package/docs/{AdminAuthFlowInitResponse.md → AuthResetPasswordResponse.md} +5 -5
  60. package/docs/AuthRevokeOtherSessionsResponse.md +24 -0
  61. package/docs/{UserAuthInfo.md → AuthRevokeSessionRequest.md} +5 -5
  62. package/docs/AuthRevokeSessionResponse.md +24 -0
  63. package/docs/AuthRevokeSessionsResponse.md +24 -0
  64. package/docs/AuthSendVerificationEmailRequest.md +22 -0
  65. package/docs/{UserAuthFlowOAuthCallbackResponse.md → AuthSendVerificationEmailResponse.md} +5 -7
  66. package/docs/AuthSignInEmailRequest.md +26 -0
  67. package/docs/AuthSignInEmailResponse.md +30 -0
  68. package/docs/AuthSignInSocialRequest.md +30 -0
  69. package/docs/AuthSignInSocialResponse.md +30 -0
  70. package/docs/AuthSignOutResponse.md +24 -0
  71. package/docs/AuthSignUpEmailRequest.md +32 -0
  72. package/docs/AuthSignUpEmailResponse.md +28 -0
  73. package/docs/AuthUnlinkAccountRequest.md +22 -0
  74. package/docs/AuthUnlinkAccountResponse.md +24 -0
  75. package/docs/AuthUpdateUserRequest.md +22 -0
  76. package/docs/AuthUpdateUserResponse.md +24 -0
  77. package/docs/AuthVerifyEmailResponse.md +24 -0
  78. package/docs/ConfigItem.md +32 -0
  79. package/docs/ConfigItemHistory.md +22 -0
  80. package/docs/ProviderCreateResponse.md +2 -2
  81. package/docs/ProviderDeleteResponse.md +2 -2
  82. package/docs/ProviderGetResponse.md +2 -2
  83. package/docs/ProviderListResponse.md +2 -2
  84. package/docs/ProviderModelCreateResponse.md +2 -2
  85. package/docs/ProviderModelDeleteResponse.md +2 -2
  86. package/docs/ProviderModelGetResponse.md +2 -2
  87. package/docs/ProviderModelListResponse.md +2 -2
  88. package/docs/ProviderModelUpdateResponse.md +2 -2
  89. package/docs/ProviderUpdateResponse.md +2 -2
  90. package/docs/RemoteConfigAdminServiceApi.md +287 -0
  91. package/docs/RemoteConfigItemCreateRequest.md +20 -0
  92. package/docs/RemoteConfigItemCreateResponse.md +24 -0
  93. package/docs/RemoteConfigItemDeleteRequest.md +20 -0
  94. package/docs/RemoteConfigItemDeleteResponse.md +22 -0
  95. package/docs/RemoteConfigItemGetResponse.md +24 -0
  96. package/docs/RemoteConfigItemListResponse.md +26 -0
  97. package/docs/RemoteConfigItemUpdateRequest.md +22 -0
  98. package/docs/RemoteConfigItemUpdateResponse.md +24 -0
  99. package/docs/UserInfo.md +14 -8
  100. package/docs/UserPayServiceApi.md +12 -3
  101. package/git_push.sh +1 -1
  102. package/package.json +2 -2
  103. package/docs/AdminAuthServiceApi.md +0 -81
  104. package/docs/AuthFlowResult.md +0 -23
  105. package/docs/UserAuthFlowCodeResponse.md +0 -26
  106. package/docs/UserAuthFlowInitResponse.md +0 -28
  107. package/docs/UserAuthServiceApi.md +0 -279
package/dist/esm/api.d.ts CHANGED
@@ -87,6 +87,60 @@ export interface AIModelArchitecture {
87
87
  */
88
88
  'output_modalities'?: Array<string>;
89
89
  }
90
+ /**
91
+ * AIModelCheckResult AI 模型连接检查结果
92
+ */
93
+ export interface AIModelCheckConnectionResponse {
94
+ /**
95
+ * code 响应状态码,200 表示成功
96
+ */
97
+ 'code'?: string;
98
+ 'message'?: string;
99
+ 'results'?: Array<AIModelCheckResult>;
100
+ }
101
+ export interface AIModelCheckItem {
102
+ /**
103
+ * AI 模型名称
104
+ */
105
+ 'ai_model_name'?: string;
106
+ /**
107
+ * 供应商名称
108
+ */
109
+ 'provider_name'?: string;
110
+ /**
111
+ * 供应商模型名称
112
+ */
113
+ 'provider_model_name'?: string;
114
+ /**
115
+ * AI 模型端点
116
+ */
117
+ 'ai_model_endpoint'?: string;
118
+ /**
119
+ * 供应商模型端点
120
+ */
121
+ 'provider_model_endpoint'?: string;
122
+ /**
123
+ * 是否有效
124
+ */
125
+ 'is_valid'?: boolean;
126
+ /**
127
+ * 错误信息
128
+ */
129
+ 'error'?: string;
130
+ }
131
+ /**
132
+ * AIModelCheckResult AI 模型验证结果
133
+ */
134
+ export interface AIModelCheckResult {
135
+ /**
136
+ * AI 模型名称
137
+ */
138
+ 'ai_model_name'?: string;
139
+ /**
140
+ * 供应商名称
141
+ */
142
+ 'items'?: Array<AIModelCheckItem>;
143
+ }
90
144
  /**
91
145
  * AIModelCreateRequest 创建 AIModel 的请求(草稿状态) Request message for creating a new AI model (draft status)
92
146
  */
@@ -129,12 +183,9 @@ export interface AIModelCreateRequest {
129
183
  */
130
184
  export interface AIModelCreateResponse {
131
185
  /**
132
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
186
+ * code 响应状态码,200 表示成功
133
187
  */
134
188
  'code'?: string;
135
- /**
136
- * message 响应消息 Response message
137
- */
138
189
  'message'?: string;
139
190
  /**
140
191
  * data 创建成功后返回的 AIModel 信息 AIModel information returned after successful creation
@@ -155,12 +206,9 @@ export interface AIModelDeleteRequest {
155
206
  */
156
207
  export interface AIModelDeleteResponse {
157
208
  /**
158
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
209
+ * code 响应状态码,200 表示成功
159
210
  */
160
211
  'code'?: string;
161
- /**
162
- * message 响应消息 Response message
163
- */
164
212
  'message'?: string;
165
213
  }
166
214
  /**
@@ -177,12 +225,9 @@ export interface AIModelDisableRequest {
177
225
  */
178
226
  export interface AIModelDisableResponse {
179
227
  /**
180
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
228
+ * code 响应状态码,200 表示成功
181
229
  */
182
230
  'code'?: string;
183
- /**
184
- * message 响应消息 Response message
185
- */
186
231
  'message'?: string;
187
232
  /**
188
233
  * data 禁用后的 AIModel 信息 Disabled AI model information
@@ -203,12 +248,9 @@ export interface AIModelDiscountConfig {
203
248
  */
204
249
  export interface AIModelGetResponse {
205
250
  /**
206
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
251
+ * code 响应状态码,200 表示成功
207
252
  */
208
253
  'code'?: string;
209
- /**
210
- * message 响应消息 Response message
211
- */
212
254
  'message'?: string;
213
255
  /**
214
256
  * data AIModel 信息 AIModel information
@@ -220,12 +262,9 @@ export interface AIModelGetResponse {
220
262
  */
221
263
  export interface AIModelListResponse {
222
264
  /**
223
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
265
+ * code 响应状态码,200 表示成功
224
266
  */
225
267
  'code'?: string;
226
- /**
227
- * message 响应消息 Response message
228
- */
229
268
  'message'?: string;
230
269
  /**
231
270
  * list AIModel 列表 List of AI models
@@ -335,12 +374,9 @@ export interface AIModelPublishRequest {
335
374
  */
336
375
  export interface AIModelPublishResponse {
337
376
  /**
338
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
377
+ * code 响应状态码,200 表示成功
339
378
  */
340
379
  'code'?: string;
341
- /**
342
- * message 响应消息 Response message
343
- */
344
380
  'message'?: string;
345
381
  /**
346
382
  * data 发布后的 AIModel 信息 Published AI model information
@@ -393,12 +429,9 @@ export interface AIModelUpdateRequest {
393
429
  */
394
430
  export interface AIModelUpdateResponse {
395
431
  /**
396
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
432
+ * code 响应状态码,200 表示成功
397
433
  */
398
434
  'code'?: string;
399
- /**
400
- * message 响应消息 Response message
401
- */
402
435
  'message'?: string;
403
436
  /**
404
437
  * data 更新后的 AIModel 信息 Updated AI model information
@@ -413,14 +446,6 @@ export interface AWSAuth {
413
446
  'ak'?: string;
414
447
  'sk'?: string;
415
448
  }
416
- export interface AdminAuthFlowInitResponse {
417
- 'code'?: string;
418
- 'message'?: string;
419
- /**
420
- * 对于部分流程(例如邮箱密码登录),只需要 init 即可完成授权登录态,则会直接返回 AuthData 否则需要继续走完后续流程和调用相关接口.
421
- */
422
- 'auth_result'?: AuthFlowResult;
423
- }
424
449
  /**
425
450
  * AudioPricing 音频计费 Audio pricing
426
451
  */
@@ -457,20 +482,375 @@ export interface AudioPricing {
457
482
  };
458
483
  }
459
484
  /**
460
- * AuthFlowResult 授权登录态获取成功后的数据
485
+ * 关联账号信息 (映射 db.UserAuthMethod)
486
+ */
487
+ export interface Auth2Account {
488
+ 'id'?: string;
489
+ 'account_id'?: string;
490
+ 'provider_id'?: string;
491
+ 'user_id'?: string;
492
+ 'created_at'?: string;
493
+ 'updated_at'?: string;
494
+ 'scopes'?: Array<string>;
495
+ }
496
+ /**
497
+ * 管理员用户信息 (映射 db.User,包含角色信息)
498
+ */
499
+ export interface Auth2Admin {
500
+ 'id'?: string;
501
+ 'name'?: string;
502
+ 'email'?: string;
503
+ 'image'?: string;
504
+ 'role'?: number;
505
+ 'created_at'?: string;
506
+ 'updated_at'?: string;
507
+ }
508
+ /**
509
+ * 管理员会话信息 (映射 db.UserSession)
510
+ */
511
+ export interface Auth2AdminSession {
512
+ 'id'?: string;
513
+ 'token'?: string;
514
+ 'expires_at'?: string;
515
+ 'created_at'?: string;
516
+ 'updated_at'?: string;
517
+ 'ip_address'?: string;
518
+ 'user_agent'?: string;
519
+ 'user_id'?: string;
520
+ }
521
+ /**
522
+ * 社交登录 ID Token
523
+ */
524
+ export interface Auth2IdToken {
525
+ 'token'?: string;
526
+ 'nonce'?: string;
527
+ 'access_token'?: string;
528
+ 'refresh_token'?: string;
529
+ 'expires_at'?: string;
530
+ }
531
+ /**
532
+ * 会话信息 (映射 db.UserSession)
461
533
  */
462
- export interface AuthFlowResult {
463
- 'is_authed'?: boolean;
464
- 'auth_tokens'?: AuthTokenPair;
534
+ export interface Auth2Session {
535
+ 'id'?: string;
536
+ 'token'?: string;
537
+ 'expires_at'?: string;
538
+ 'created_at'?: string;
539
+ 'updated_at'?: string;
540
+ 'ip_address'?: string;
541
+ 'user_agent'?: string;
542
+ 'user_id'?: string;
465
543
  }
466
544
  /**
467
- * AuthTokenPair 登录态授权 AT + RT
545
+ * 用户信息
468
546
  */
469
- export interface AuthTokenPair {
547
+ export interface Auth2User {
548
+ 'id'?: string;
549
+ 'name'?: string;
550
+ 'email'?: string;
551
+ 'email_verified'?: boolean;
552
+ 'image'?: string;
553
+ 'created_at'?: string;
554
+ 'updated_at'?: string;
555
+ }
556
+ export interface AuthAdminChangePasswordRequest {
557
+ 'new_password'?: string;
558
+ 'current_password'?: string;
559
+ 'revoke_other_sessions'?: boolean;
560
+ }
561
+ export interface AuthAdminChangePasswordResponse {
562
+ 'code'?: string;
563
+ 'message'?: string;
564
+ 'token'?: string;
565
+ 'user'?: Auth2Admin;
566
+ }
567
+ export interface AuthAdminGetSessionResponse {
568
+ 'code'?: string;
569
+ 'message'?: string;
570
+ 'session'?: Auth2AdminSession;
571
+ 'user'?: Auth2Admin;
572
+ }
573
+ export interface AuthAdminListSessionsResponse {
574
+ 'code'?: string;
575
+ 'message'?: string;
576
+ 'sessions'?: Array<Auth2AdminSession>;
577
+ }
578
+ export interface AuthAdminRevokeOtherSessionsResponse {
579
+ 'code'?: string;
580
+ 'message'?: string;
581
+ 'status'?: boolean;
582
+ }
583
+ export interface AuthAdminRevokeSessionRequest {
584
+ 'token'?: string;
585
+ }
586
+ export interface AuthAdminRevokeSessionResponse {
587
+ 'code'?: string;
588
+ 'message'?: string;
589
+ 'status'?: boolean;
590
+ }
591
+ export interface AuthAdminRevokeSessionsResponse {
592
+ 'code'?: string;
593
+ 'message'?: string;
594
+ 'status'?: boolean;
595
+ }
596
+ export interface AuthAdminSignInEmailRequest {
597
+ 'email'?: string;
598
+ 'password'?: string;
599
+ 'session_type'?: string;
600
+ 'remember_me'?: boolean;
601
+ }
602
+ export interface AuthAdminSignInEmailResponse {
603
+ 'code'?: string;
604
+ 'message'?: string;
605
+ 'token'?: string;
606
+ 'user'?: Auth2Admin;
607
+ }
608
+ export interface AuthAdminSignOutResponse {
609
+ 'code'?: string;
610
+ 'message'?: string;
611
+ 'success'?: boolean;
612
+ }
613
+ export interface AuthAdminUpdateUserRequest {
614
+ 'name'?: string;
615
+ 'image'?: string;
616
+ }
617
+ export interface AuthAdminUpdateUserResponse {
618
+ 'code'?: string;
619
+ 'message'?: string;
620
+ 'user'?: Auth2Admin;
621
+ }
622
+ export interface AuthChangeEmailRequest {
623
+ 'new_email'?: string;
624
+ 'callback_url'?: string;
625
+ }
626
+ export interface AuthChangeEmailResponse {
627
+ 'code'?: string;
628
+ 'message'?: string;
629
+ 'user'?: Auth2User;
630
+ 'status'?: boolean;
631
+ }
632
+ export interface AuthChangePasswordRequest {
633
+ 'new_password'?: string;
634
+ 'current_password'?: string;
635
+ 'revoke_other_sessions'?: boolean;
636
+ }
637
+ export interface AuthChangePasswordResponse {
638
+ 'code'?: string;
639
+ 'message'?: string;
640
+ 'token'?: string;
641
+ 'user'?: Auth2User;
642
+ }
643
+ export interface AuthDeleteUserRequest {
644
+ 'callback_url'?: string;
645
+ 'password'?: string;
646
+ 'token'?: string;
647
+ }
648
+ export interface AuthDeleteUserResponse {
649
+ 'code'?: string;
650
+ 'message'?: string;
651
+ 'success'?: boolean;
652
+ }
653
+ export interface AuthGetAccessTokenRequest {
654
+ 'provider_id'?: string;
655
+ 'account_id'?: string;
656
+ 'user_id'?: string;
657
+ }
658
+ export interface AuthGetAccessTokenResponse {
659
+ 'code'?: string;
660
+ 'message'?: string;
661
+ 'token_type'?: string;
662
+ 'id_token'?: string;
663
+ 'access_token'?: string;
664
+ 'refresh_token'?: string;
665
+ 'access_token_expires_at'?: string;
666
+ 'refresh_token_expires_at'?: string;
667
+ }
668
+ export interface AuthGetAccountInfoResponse {
669
+ 'code'?: string;
670
+ 'message'?: string;
671
+ 'user'?: Auth2User;
672
+ }
673
+ export interface AuthGetSessionResponse {
674
+ 'code'?: string;
675
+ 'message'?: string;
676
+ 'session'?: Auth2Session;
677
+ 'user'?: Auth2User;
678
+ }
679
+ export interface AuthLinkSocialRequest {
680
+ 'provider'?: string;
681
+ 'callback_url'?: string;
682
+ 'error_callback_url'?: string;
683
+ 'disable_redirect'?: boolean;
684
+ 'id_token'?: Auth2IdToken;
685
+ 'scopes'?: Array<string>;
686
+ }
687
+ export interface AuthLinkSocialResponse {
688
+ 'code'?: string;
689
+ 'message'?: string;
690
+ 'url'?: string;
691
+ 'redirect'?: boolean;
692
+ 'status'?: boolean;
693
+ }
694
+ export interface AuthListAccountsResponse {
695
+ 'code'?: string;
696
+ 'message'?: string;
697
+ 'accounts'?: Array<Auth2Account>;
698
+ }
699
+ export interface AuthListSessionsResponse {
700
+ 'code'?: string;
701
+ 'message'?: string;
702
+ 'sessions'?: Array<Auth2Session>;
703
+ }
704
+ export interface AuthRefreshTokenRequest {
705
+ 'provider_id'?: string;
706
+ 'account_id'?: string;
707
+ 'user_id'?: string;
708
+ }
709
+ export interface AuthRefreshTokenResponse {
710
+ 'code'?: string;
711
+ 'message'?: string;
712
+ 'token_type'?: string;
713
+ 'id_token'?: string;
470
714
  'access_token'?: string;
471
- 'access_expires_at'?: string;
472
715
  'refresh_token'?: string;
473
- 'refresh_expires_at'?: string;
716
+ 'access_token_expires_at'?: string;
717
+ 'refresh_token_expires_at'?: string;
718
+ }
719
+ export interface AuthRequestPasswordResetRequest {
720
+ 'email'?: string;
721
+ 'redirect_to'?: string;
722
+ }
723
+ export interface AuthRequestPasswordResetResponse {
724
+ 'code'?: string;
725
+ 'message'?: string;
726
+ 'status'?: boolean;
727
+ }
728
+ export interface AuthResetPasswordRequest {
729
+ 'new_password'?: string;
730
+ 'token'?: string;
731
+ }
732
+ export interface AuthResetPasswordResponse {
733
+ 'code'?: string;
734
+ 'message'?: string;
735
+ 'status'?: boolean;
736
+ }
737
+ export interface AuthRevokeOtherSessionsResponse {
738
+ 'code'?: string;
739
+ 'message'?: string;
740
+ 'status'?: boolean;
741
+ }
742
+ export interface AuthRevokeSessionRequest {
743
+ 'token'?: string;
744
+ }
745
+ export interface AuthRevokeSessionResponse {
746
+ 'code'?: string;
747
+ 'message'?: string;
748
+ 'status'?: boolean;
749
+ }
750
+ export interface AuthRevokeSessionsResponse {
751
+ 'code'?: string;
752
+ 'message'?: string;
753
+ 'status'?: boolean;
754
+ }
755
+ export interface AuthSendVerificationEmailRequest {
756
+ 'email'?: string;
757
+ 'callback_url'?: string;
758
+ }
759
+ export interface AuthSendVerificationEmailResponse {
760
+ 'code'?: string;
761
+ 'message'?: string;
762
+ 'status'?: boolean;
763
+ }
764
+ export interface AuthSignInEmailRequest {
765
+ 'email'?: string;
766
+ 'password'?: string;
767
+ 'callback_url'?: string;
768
+ 'remember_me'?: boolean;
769
+ }
770
+ export interface AuthSignInEmailResponse {
771
+ 'code'?: string;
772
+ 'message'?: string;
773
+ 'redirect'?: boolean;
774
+ 'token'?: string;
775
+ 'url'?: string;
776
+ 'user'?: Auth2User;
777
+ }
778
+ export interface AuthSignInSocialRequest {
779
+ 'provider'?: string;
780
+ 'callback_url'?: string;
781
+ 'error_callback_url'?: string;
782
+ 'disable_redirect'?: boolean;
783
+ 'id_token'?: Auth2IdToken;
784
+ 'scopes'?: Array<string>;
785
+ }
786
+ export interface AuthSignInSocialResponse {
787
+ 'code'?: string;
788
+ 'message'?: string;
789
+ 'redirect'?: boolean;
790
+ 'token'?: string;
791
+ 'url'?: string;
792
+ 'user'?: Auth2User;
793
+ }
794
+ export interface AuthSignOutResponse {
795
+ 'code'?: string;
796
+ 'message'?: string;
797
+ 'success'?: boolean;
798
+ }
799
+ export interface AuthSignUpEmailRequest {
800
+ 'name'?: string;
801
+ 'email'?: string;
802
+ 'password'?: string;
803
+ 'image'?: string;
804
+ 'callback_url'?: string;
805
+ 'remember_me'?: boolean;
806
+ 'disable_redirect'?: boolean;
807
+ }
808
+ export interface AuthSignUpEmailResponse {
809
+ 'code'?: string;
810
+ 'message'?: string;
811
+ 'redirect'?: boolean;
812
+ 'url'?: string;
813
+ 'user'?: Auth2User;
814
+ }
815
+ export interface AuthUnlinkAccountRequest {
816
+ 'provider_id'?: string;
817
+ 'account_id'?: string;
818
+ }
819
+ export interface AuthUnlinkAccountResponse {
820
+ 'code'?: string;
821
+ 'message'?: string;
822
+ 'status'?: boolean;
823
+ }
824
+ export interface AuthUpdateUserRequest {
825
+ 'name'?: string;
826
+ 'image'?: string;
827
+ }
828
+ export interface AuthUpdateUserResponse {
829
+ 'code'?: string;
830
+ 'message'?: string;
831
+ 'user'?: Auth2User;
832
+ }
833
+ export interface AuthVerifyEmailResponse {
834
+ 'code'?: string;
835
+ 'message'?: string;
836
+ 'user'?: Auth2User;
837
+ }
838
+ export interface ConfigItem {
839
+ 'id'?: string;
840
+ 'key'?: string;
841
+ 'values'?: {
842
+ [key: string]: any;
843
+ };
844
+ 'payload'?: {
845
+ [key: string]: any;
846
+ };
847
+ 'createdAt'?: string;
848
+ 'updatedAt'?: string;
849
+ 'deletedAt'?: string;
850
+ }
851
+ export interface ConfigItemHistory {
852
+ 'item'?: ConfigItem;
853
+ 'history'?: Array<ConfigItem>;
474
854
  }
475
855
  export interface DiscountCreateRequest {
476
856
  'name'?: string;
@@ -966,12 +1346,9 @@ export interface ProviderCreateRequest {
966
1346
  */
967
1347
  export interface ProviderCreateResponse {
968
1348
  /**
969
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1349
+ * code 响应状态码,200 表示成功
970
1350
  */
971
1351
  'code'?: string;
972
- /**
973
- * message 响应消息 Response message
974
- */
975
1352
  'message'?: string;
976
1353
  /**
977
1354
  * data 创建成功后返回的 Provider 信息 Provider information returned after successful creation
@@ -992,12 +1369,9 @@ export interface ProviderDeleteRequest {
992
1369
  */
993
1370
  export interface ProviderDeleteResponse {
994
1371
  /**
995
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1372
+ * code 响应状态码,200 表示成功
996
1373
  */
997
1374
  'code'?: string;
998
- /**
999
- * message 响应消息 Response message
1000
- */
1001
1375
  'message'?: string;
1002
1376
  }
1003
1377
  /**
@@ -1005,12 +1379,9 @@ export interface ProviderDeleteResponse {
1005
1379
  */
1006
1380
  export interface ProviderGetResponse {
1007
1381
  /**
1008
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1382
+ * code 响应状态码,200 表示成功
1009
1383
  */
1010
1384
  'code'?: string;
1011
- /**
1012
- * message 响应消息 Response message
1013
- */
1014
1385
  'message'?: string;
1015
1386
  /**
1016
1387
  * data Provider 信息 Provider information
@@ -1022,12 +1393,9 @@ export interface ProviderGetResponse {
1022
1393
  */
1023
1394
  export interface ProviderListResponse {
1024
1395
  /**
1025
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1396
+ * code 响应状态码,200 表示成功
1026
1397
  */
1027
1398
  'code'?: string;
1028
- /**
1029
- * message 响应消息 Response message
1030
- */
1031
1399
  'message'?: string;
1032
1400
  /**
1033
1401
  * list Provider 列表 List of providers
@@ -1109,12 +1477,9 @@ export interface ProviderModelCreateRequest {
1109
1477
  */
1110
1478
  export interface ProviderModelCreateResponse {
1111
1479
  /**
1112
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1480
+ * code 响应状态码,200 表示成功
1113
1481
  */
1114
1482
  'code'?: string;
1115
- /**
1116
- * message 响应消息 Response message
1117
- */
1118
1483
  'message'?: string;
1119
1484
  /**
1120
1485
  * data 创建成功后返回的 ProviderModel 信息 ProviderModel information returned after successful creation
@@ -1135,12 +1500,9 @@ export interface ProviderModelDeleteRequest {
1135
1500
  */
1136
1501
  export interface ProviderModelDeleteResponse {
1137
1502
  /**
1138
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1503
+ * code 响应状态码,200 表示成功
1139
1504
  */
1140
1505
  'code'?: string;
1141
- /**
1142
- * message 响应消息 Response message
1143
- */
1144
1506
  'message'?: string;
1145
1507
  }
1146
1508
  /**
@@ -1148,12 +1510,9 @@ export interface ProviderModelDeleteResponse {
1148
1510
  */
1149
1511
  export interface ProviderModelGetResponse {
1150
1512
  /**
1151
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1513
+ * code 响应状态码,200 表示成功
1152
1514
  */
1153
1515
  'code'?: string;
1154
- /**
1155
- * message 响应消息 Response message
1156
- */
1157
1516
  'message'?: string;
1158
1517
  /**
1159
1518
  * data ProviderModel 信息 ProviderModel information
@@ -1165,13 +1524,10 @@ export interface ProviderModelGetResponse {
1165
1524
  */
1166
1525
  export interface ProviderModelListResponse {
1167
1526
  /**
1168
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1527
+ * code 响应状态码,200 表示成功
1169
1528
  */
1170
1529
  'code'?: string;
1171
- /**
1172
- * message 响应消息 Response message
1173
- */
1174
- 'message'?: string;
1530
+ 'message'?: string;
1175
1531
  /**
1176
1532
  * list ProviderModel 列表 List of provider models
1177
1533
  */
@@ -1228,12 +1584,9 @@ export interface ProviderModelUpdateRequest {
1228
1584
  */
1229
1585
  export interface ProviderModelUpdateResponse {
1230
1586
  /**
1231
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1587
+ * code 响应状态码,200 表示成功
1232
1588
  */
1233
1589
  'code'?: string;
1234
- /**
1235
- * message 响应消息 Response message
1236
- */
1237
1590
  'message'?: string;
1238
1591
  /**
1239
1592
  * data 更新后的 ProviderModel 信息 Updated provider model information
@@ -1283,18 +1636,50 @@ export interface ProviderUpdateRequest {
1283
1636
  */
1284
1637
  export interface ProviderUpdateResponse {
1285
1638
  /**
1286
- * code 响应状态码,0 表示成功 Response code, 0 indicates success
1639
+ * code 响应状态码,200 表示成功
1287
1640
  */
1288
1641
  'code'?: string;
1289
- /**
1290
- * message 响应消息 Response message
1291
- */
1292
1642
  'message'?: string;
1293
1643
  /**
1294
1644
  * data 更新后的 Provider 信息 Updated provider information
1295
1645
  */
1296
1646
  'data'?: Provider;
1297
1647
  }
1648
+ export interface RemoteConfigItemCreateRequest {
1649
+ 'item'?: ConfigItem;
1650
+ }
1651
+ export interface RemoteConfigItemCreateResponse {
1652
+ 'code'?: string;
1653
+ 'message'?: string;
1654
+ 'item'?: ConfigItem;
1655
+ }
1656
+ export interface RemoteConfigItemDeleteRequest {
1657
+ 'key'?: string;
1658
+ }
1659
+ export interface RemoteConfigItemDeleteResponse {
1660
+ 'code'?: string;
1661
+ 'message'?: string;
1662
+ }
1663
+ export interface RemoteConfigItemGetResponse {
1664
+ 'code'?: string;
1665
+ 'message'?: string;
1666
+ 'data'?: ConfigItemHistory;
1667
+ }
1668
+ export interface RemoteConfigItemListResponse {
1669
+ 'code'?: string;
1670
+ 'message'?: string;
1671
+ 'list'?: Array<ConfigItem>;
1672
+ 'total'?: string;
1673
+ }
1674
+ export interface RemoteConfigItemUpdateRequest {
1675
+ 'key'?: string;
1676
+ 'item'?: ConfigItem;
1677
+ }
1678
+ export interface RemoteConfigItemUpdateResponse {
1679
+ 'code'?: string;
1680
+ 'message'?: string;
1681
+ 'item'?: ConfigItem;
1682
+ }
1298
1683
  /**
1299
1684
  * RequestPricing 请求级别计费 Request-level pricing
1300
1685
  */
@@ -1622,51 +2007,6 @@ export interface UserAPIKeyUpdateResponse {
1622
2007
  */
1623
2008
  'data'?: UserAPIKey;
1624
2009
  }
1625
- export interface UserAuthFlowCodeResponse {
1626
- 'code'?: string;
1627
- 'message'?: string;
1628
- /**
1629
- * 如果验证通过立刻下发登录态,则会通过这个返回鉴权的 AuthToken 如果注册成功,还需要登录,则不会下发
1630
- */
1631
- 'auth_result'?: AuthFlowResult;
1632
- /**
1633
- * 注册成功后返回的用户信息
1634
- */
1635
- 'user_info'?: UserAuthInfo;
1636
- }
1637
- export interface UserAuthFlowInitResponse {
1638
- 'code'?: string;
1639
- 'message'?: string;
1640
- /**
1641
- * for AuthType=OAuth2 才会返回
1642
- */
1643
- 'oauth_result'?: UserAuthFlowInitResponseOAuthResult;
1644
- /**
1645
- * 对于部分流程,只需要 init 即可完成授权登录态,则会直接返回 AuthData 否则需要继续走完后续流程和调用相关接口
1646
- */
1647
- 'auth_result'?: AuthFlowResult;
1648
- /**
1649
- * 注册成功后返回的用户信息
1650
- */
1651
- 'user_info'?: UserAuthInfo;
1652
- }
1653
- export interface UserAuthFlowInitResponseOAuthResult {
1654
- 'oauth_url'?: string;
1655
- }
1656
- export interface UserAuthFlowOAuthCallbackRequest {
1657
- 'code'?: string;
1658
- 'state'?: string;
1659
- 'platform'?: number;
1660
- }
1661
- export interface UserAuthFlowOAuthCallbackResponse {
1662
- 'code'?: string;
1663
- 'message'?: string;
1664
- 'auth_result'?: AuthFlowResult;
1665
- 'user_info'?: UserAuthInfo;
1666
- }
1667
- export interface UserAuthInfo {
1668
- 'user_info'?: UserInfo;
1669
- }
1670
2010
  export interface UserBalance {
1671
2011
  'id'?: string;
1672
2012
  'created_at'?: string;
@@ -1779,10 +2119,13 @@ export interface UserBalanceListResponse {
1779
2119
  'total'?: string;
1780
2120
  }
1781
2121
  export interface UserInfo {
1782
- 'user_id'?: string;
1783
- 'display_name'?: string;
1784
- 'avatar_url'?: string;
1785
- 'contact_email'?: string;
2122
+ 'id'?: string;
2123
+ 'name'?: string;
2124
+ 'email'?: string;
2125
+ 'email_verified'?: boolean;
2126
+ 'image'?: string;
2127
+ 'created_at'?: string;
2128
+ 'updated_at'?: string;
1786
2129
  }
1787
2130
  export interface UserLabelItem {
1788
2131
  'uid'?: string;
@@ -1937,6 +2280,13 @@ export interface VideoPricing {
1937
2280
  * AIModelAdminServiceApi - axios parameter creator
1938
2281
  */
1939
2282
  export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
2283
+ /**
2284
+ * AIModelCheckConnection 检查 AIModel 的连接性
2285
+ * @param {Array<string>} [aiModelNames]
2286
+ * @param {*} [options] Override http request option.
2287
+ * @throws {RequiredError}
2288
+ */
2289
+ aIModelAdminServiceAIModelCheckConnection: (aiModelNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1940
2290
  /**
1941
2291
  * AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
1942
2292
  * @param {AIModelCreateRequest} aIModelCreateRequest
@@ -1996,6 +2346,13 @@ export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: C
1996
2346
  * AIModelAdminServiceApi - functional programming interface
1997
2347
  */
1998
2348
  export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) => {
2349
+ /**
2350
+ * AIModelCheckConnection 检查 AIModel 的连接性
2351
+ * @param {Array<string>} [aiModelNames]
2352
+ * @param {*} [options] Override http request option.
2353
+ * @throws {RequiredError}
2354
+ */
2355
+ aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCheckConnectionResponse>>;
1999
2356
  /**
2000
2357
  * AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
2001
2358
  * @param {AIModelCreateRequest} aIModelCreateRequest
@@ -2055,6 +2412,13 @@ export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) =
2055
2412
  * AIModelAdminServiceApi - factory interface
2056
2413
  */
2057
2414
  export declare const AIModelAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2415
+ /**
2416
+ * AIModelCheckConnection 检查 AIModel 的连接性
2417
+ * @param {Array<string>} [aiModelNames]
2418
+ * @param {*} [options] Override http request option.
2419
+ * @throws {RequiredError}
2420
+ */
2421
+ aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
2058
2422
  /**
2059
2423
  * AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
2060
2424
  * @param {AIModelCreateRequest} aIModelCreateRequest
@@ -2114,6 +2478,13 @@ export declare const AIModelAdminServiceApiFactory: (configuration?: Configurati
2114
2478
  * AIModelAdminServiceApi - interface
2115
2479
  */
2116
2480
  export interface AIModelAdminServiceApiInterface {
2481
+ /**
2482
+ * AIModelCheckConnection 检查 AIModel 的连接性
2483
+ * @param {Array<string>} [aiModelNames]
2484
+ * @param {*} [options] Override http request option.
2485
+ * @throws {RequiredError}
2486
+ */
2487
+ aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
2117
2488
  /**
2118
2489
  * AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
2119
2490
  * @param {AIModelCreateRequest} aIModelCreateRequest
@@ -2173,6 +2544,13 @@ export interface AIModelAdminServiceApiInterface {
2173
2544
  * AIModelAdminServiceApi - object-oriented interface
2174
2545
  */
2175
2546
  export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAdminServiceApiInterface {
2547
+ /**
2548
+ * AIModelCheckConnection 检查 AIModel 的连接性
2549
+ * @param {Array<string>} [aiModelNames]
2550
+ * @param {*} [options] Override http request option.
2551
+ * @throws {RequiredError}
2552
+ */
2553
+ aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCheckConnectionResponse, any, {}>>;
2176
2554
  /**
2177
2555
  * AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
2178
2556
  * @param {AIModelCreateRequest} aIModelCreateRequest
@@ -2229,364 +2607,1419 @@ export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAd
2229
2607
  aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelUpdateResponse, any, {}>>;
2230
2608
  }
2231
2609
  /**
2232
- * AdminAuthServiceApi - axios parameter creator
2233
- */
2234
- export declare const AdminAuthServiceApiAxiosParamCreator: (configuration?: Configuration) => {
2235
- /**
2236
- * 管理员登录
2237
- * @param {number} [authType]
2238
- * @param {number} [authAction]
2239
- * @param {string} [payloadEmailPayloadUserEmail]
2240
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
2241
- * @param {string} [authAt]
2242
- * @param {string} [nonce]
2243
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
2244
- * @param {string} [sessionType] enum string: - tenant_admin - sys_admin
2245
- * @param {*} [options] Override http request option.
2246
- * @throws {RequiredError}
2247
- */
2248
- adminAuthServiceAdminAuthFlowInit: (authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2249
- };
2250
- /**
2251
- * AdminAuthServiceApi - functional programming interface
2610
+ * Auth2AdminServiceApi - axios parameter creator
2252
2611
  */
2253
- export declare const AdminAuthServiceApiFp: (configuration?: Configuration) => {
2612
+ export declare const Auth2AdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
2254
2613
  /**
2255
- * 管理员登录
2256
- * @param {number} [authType]
2257
- * @param {number} [authAction]
2258
- * @param {string} [payloadEmailPayloadUserEmail]
2259
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
2260
- * @param {string} [authAt]
2261
- * @param {string} [nonce]
2262
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
2263
- * @param {string} [sessionType] enum string: - tenant_admin - sys_admin
2614
+ * ============ 密码管理 ============
2615
+ * @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
2264
2616
  * @param {*} [options] Override http request option.
2265
2617
  * @throws {RequiredError}
2266
2618
  */
2267
- adminAuthServiceAdminAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAuthFlowInitResponse>>;
2268
- };
2269
- /**
2270
- * AdminAuthServiceApi - factory interface
2271
- */
2272
- export declare const AdminAuthServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2619
+ auth2AdminServiceAuthAdminChangePassword: (authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2273
2620
  /**
2274
- * 管理员登录
2275
- * @param {number} [authType]
2276
- * @param {number} [authAction]
2277
- * @param {string} [payloadEmailPayloadUserEmail]
2278
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
2279
- * @param {string} [authAt]
2280
- * @param {string} [nonce]
2281
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
2282
- * @param {string} [sessionType] enum string: - tenant_admin - sys_admin
2621
+ *
2283
2622
  * @param {*} [options] Override http request option.
2284
2623
  * @throws {RequiredError}
2285
2624
  */
2286
- adminAuthServiceAdminAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuthFlowInitResponse>;
2287
- };
2288
- /**
2289
- * AdminAuthServiceApi - interface
2290
- */
2291
- export interface AdminAuthServiceApiInterface {
2625
+ auth2AdminServiceAuthAdminGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2292
2626
  /**
2293
- * 管理员登录
2294
- * @param {number} [authType]
2295
- * @param {number} [authAction]
2296
- * @param {string} [payloadEmailPayloadUserEmail]
2297
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
2298
- * @param {string} [authAt]
2299
- * @param {string} [nonce]
2300
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
2301
- * @param {string} [sessionType] enum string: - tenant_admin - sys_admin
2627
+ * ============ 会话管理 ============
2302
2628
  * @param {*} [options] Override http request option.
2303
2629
  * @throws {RequiredError}
2304
2630
  */
2305
- adminAuthServiceAdminAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuthFlowInitResponse>;
2306
- }
2307
- /**
2308
- * AdminAuthServiceApi - object-oriented interface
2309
- */
2310
- export declare class AdminAuthServiceApi extends BaseAPI implements AdminAuthServiceApiInterface {
2631
+ auth2AdminServiceAuthAdminListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2311
2632
  /**
2312
- * 管理员登录
2313
- * @param {number} [authType]
2314
- * @param {number} [authAction]
2315
- * @param {string} [payloadEmailPayloadUserEmail]
2316
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
2317
- * @param {string} [authAt]
2318
- * @param {string} [nonce]
2319
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
2320
- * @param {string} [sessionType] enum string: - tenant_admin - sys_admin
2633
+ *
2634
+ * @param {object} body
2321
2635
  * @param {*} [options] Override http request option.
2322
2636
  * @throws {RequiredError}
2323
2637
  */
2324
- adminAuthServiceAdminAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminAuthFlowInitResponse, any, {}>>;
2325
- }
2326
- /**
2327
- * DiscountAdminServiceApi - axios parameter creator
2328
- */
2329
- export declare const DiscountAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
2638
+ auth2AdminServiceAuthAdminRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2330
2639
  /**
2331
- * DiscountCreate 创建折扣接口
2332
- * @param {DiscountCreateRequest} discountCreateRequest
2640
+ *
2641
+ * @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
2333
2642
  * @param {*} [options] Override http request option.
2334
2643
  * @throws {RequiredError}
2335
2644
  */
2336
- discountAdminServiceDiscountCreate: (discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2645
+ auth2AdminServiceAuthAdminRevokeSession: (authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2337
2646
  /**
2338
- * DiscountDelete 删除折扣接口
2339
- * @param {DiscountDeleteRequest} discountDeleteRequest
2647
+ *
2648
+ * @param {object} body
2340
2649
  * @param {*} [options] Override http request option.
2341
2650
  * @throws {RequiredError}
2342
2651
  */
2343
- discountAdminServiceDiscountDelete: (discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2652
+ auth2AdminServiceAuthAdminRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2344
2653
  /**
2345
- * DiscountGet 获取折扣接口
2346
- * @param {string} [id] @gotags: form:\&quot;id\&quot;
2654
+ * ============ 认证 ============
2655
+ * @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
2347
2656
  * @param {*} [options] Override http request option.
2348
2657
  * @throws {RequiredError}
2349
2658
  */
2350
- discountAdminServiceDiscountGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2659
+ auth2AdminServiceAuthAdminSignInEmail: (authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2351
2660
  /**
2352
- * DiscountList 折扣列表接口
2353
- * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
2354
- * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
2355
- * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
2661
+ *
2662
+ * @param {object} body
2356
2663
  * @param {*} [options] Override http request option.
2357
2664
  * @throws {RequiredError}
2358
2665
  */
2359
- discountAdminServiceDiscountList: (page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2666
+ auth2AdminServiceAuthAdminSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2360
2667
  /**
2361
- * DiscountUpdate 更新折扣接口
2362
- * @param {DiscountUpdateRequest} discountUpdateRequest
2668
+ * ============ 管理员信息管理 ============
2669
+ * @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
2363
2670
  * @param {*} [options] Override http request option.
2364
2671
  * @throws {RequiredError}
2365
2672
  */
2366
- discountAdminServiceDiscountUpdate: (discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2673
+ auth2AdminServiceAuthAdminUpdateUser: (authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2367
2674
  };
2368
2675
  /**
2369
- * DiscountAdminServiceApi - functional programming interface
2676
+ * Auth2AdminServiceApi - functional programming interface
2370
2677
  */
2371
- export declare const DiscountAdminServiceApiFp: (configuration?: Configuration) => {
2372
- /**
2373
- * DiscountCreate 创建折扣接口
2374
- * @param {DiscountCreateRequest} discountCreateRequest
2375
- * @param {*} [options] Override http request option.
2376
- * @throws {RequiredError}
2377
- */
2378
- discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountCreateRequest>>;
2678
+ export declare const Auth2AdminServiceApiFp: (configuration?: Configuration) => {
2379
2679
  /**
2380
- * DiscountDelete 删除折扣接口
2381
- * @param {DiscountDeleteRequest} discountDeleteRequest
2680
+ * ============ 密码管理 ============
2681
+ * @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
2382
2682
  * @param {*} [options] Override http request option.
2383
2683
  * @throws {RequiredError}
2384
2684
  */
2385
- discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountDeleteResponse>>;
2685
+ auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminChangePasswordResponse>>;
2386
2686
  /**
2387
- * DiscountGet 获取折扣接口
2388
- * @param {string} [id] @gotags: form:\&quot;id\&quot;
2687
+ *
2389
2688
  * @param {*} [options] Override http request option.
2390
2689
  * @throws {RequiredError}
2391
2690
  */
2392
- discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountGetResponse>>;
2691
+ auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminGetSessionResponse>>;
2393
2692
  /**
2394
- * DiscountList 折扣列表接口
2395
- * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
2396
- * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
2397
- * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
2693
+ * ============ 会话管理 ============
2398
2694
  * @param {*} [options] Override http request option.
2399
2695
  * @throws {RequiredError}
2400
2696
  */
2401
- discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountListResponse>>;
2697
+ auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminListSessionsResponse>>;
2402
2698
  /**
2403
- * DiscountUpdate 更新折扣接口
2404
- * @param {DiscountUpdateRequest} discountUpdateRequest
2699
+ *
2700
+ * @param {object} body
2405
2701
  * @param {*} [options] Override http request option.
2406
2702
  * @throws {RequiredError}
2407
2703
  */
2408
- discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountUpdateResponse>>;
2409
- };
2410
- /**
2411
- * DiscountAdminServiceApi - factory interface
2412
- */
2413
- export declare const DiscountAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2704
+ auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeOtherSessionsResponse>>;
2414
2705
  /**
2415
- * DiscountCreate 创建折扣接口
2416
- * @param {DiscountCreateRequest} discountCreateRequest
2706
+ *
2707
+ * @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
2417
2708
  * @param {*} [options] Override http request option.
2418
2709
  * @throws {RequiredError}
2419
2710
  */
2420
- discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
2711
+ auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeSessionResponse>>;
2421
2712
  /**
2422
- * DiscountDelete 删除折扣接口
2423
- * @param {DiscountDeleteRequest} discountDeleteRequest
2713
+ *
2714
+ * @param {object} body
2424
2715
  * @param {*} [options] Override http request option.
2425
2716
  * @throws {RequiredError}
2426
2717
  */
2427
- discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountDeleteResponse>;
2718
+ auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeSessionsResponse>>;
2428
2719
  /**
2429
- * DiscountGet 获取折扣接口
2430
- * @param {string} [id] @gotags: form:\&quot;id\&quot;
2720
+ * ============ 认证 ============
2721
+ * @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
2431
2722
  * @param {*} [options] Override http request option.
2432
2723
  * @throws {RequiredError}
2433
2724
  */
2434
- discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountGetResponse>;
2725
+ auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminSignInEmailResponse>>;
2435
2726
  /**
2436
- * DiscountList 折扣列表接口
2437
- * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
2438
- * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
2439
- * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
2727
+ *
2728
+ * @param {object} body
2440
2729
  * @param {*} [options] Override http request option.
2441
2730
  * @throws {RequiredError}
2442
2731
  */
2443
- discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountListResponse>;
2732
+ auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminSignOutResponse>>;
2444
2733
  /**
2445
- * DiscountUpdate 更新折扣接口
2446
- * @param {DiscountUpdateRequest} discountUpdateRequest
2734
+ * ============ 管理员信息管理 ============
2735
+ * @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
2447
2736
  * @param {*} [options] Override http request option.
2448
2737
  * @throws {RequiredError}
2449
2738
  */
2450
- discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountUpdateResponse>;
2739
+ auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminUpdateUserResponse>>;
2451
2740
  };
2452
2741
  /**
2453
- * DiscountAdminServiceApi - interface
2742
+ * Auth2AdminServiceApi - factory interface
2454
2743
  */
2455
- export interface DiscountAdminServiceApiInterface {
2744
+ export declare const Auth2AdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2456
2745
  /**
2457
- * DiscountCreate 创建折扣接口
2458
- * @param {DiscountCreateRequest} discountCreateRequest
2746
+ * ============ 密码管理 ============
2747
+ * @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
2459
2748
  * @param {*} [options] Override http request option.
2460
2749
  * @throws {RequiredError}
2461
2750
  */
2462
- discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
2751
+ auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminChangePasswordResponse>;
2463
2752
  /**
2464
- * DiscountDelete 删除折扣接口
2465
- * @param {DiscountDeleteRequest} discountDeleteRequest
2753
+ *
2466
2754
  * @param {*} [options] Override http request option.
2467
2755
  * @throws {RequiredError}
2468
2756
  */
2469
- discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountDeleteResponse>;
2757
+ auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminGetSessionResponse>;
2470
2758
  /**
2471
- * DiscountGet 获取折扣接口
2472
- * @param {string} [id] @gotags: form:\&quot;id\&quot;
2759
+ * ============ 会话管理 ============
2473
2760
  * @param {*} [options] Override http request option.
2474
2761
  * @throws {RequiredError}
2475
2762
  */
2476
- discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountGetResponse>;
2763
+ auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminListSessionsResponse>;
2477
2764
  /**
2478
- * DiscountList 折扣列表接口
2479
- * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
2480
- * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
2481
- * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
2765
+ *
2766
+ * @param {object} body
2482
2767
  * @param {*} [options] Override http request option.
2483
2768
  * @throws {RequiredError}
2484
2769
  */
2485
- discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountListResponse>;
2770
+ auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeOtherSessionsResponse>;
2486
2771
  /**
2487
- * DiscountUpdate 更新折扣接口
2488
- * @param {DiscountUpdateRequest} discountUpdateRequest
2772
+ *
2773
+ * @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
2489
2774
  * @param {*} [options] Override http request option.
2490
2775
  * @throws {RequiredError}
2491
2776
  */
2492
- discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountUpdateResponse>;
2493
- }
2494
- /**
2495
- * DiscountAdminServiceApi - object-oriented interface
2496
- */
2497
- export declare class DiscountAdminServiceApi extends BaseAPI implements DiscountAdminServiceApiInterface {
2777
+ auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionResponse>;
2498
2778
  /**
2499
- * DiscountCreate 创建折扣接口
2500
- * @param {DiscountCreateRequest} discountCreateRequest
2779
+ *
2780
+ * @param {object} body
2501
2781
  * @param {*} [options] Override http request option.
2502
2782
  * @throws {RequiredError}
2503
2783
  */
2504
- discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountCreateRequest, any, {}>>;
2784
+ auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionsResponse>;
2505
2785
  /**
2506
- * DiscountDelete 删除折扣接口
2507
- * @param {DiscountDeleteRequest} discountDeleteRequest
2786
+ * ============ 认证 ============
2787
+ * @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
2508
2788
  * @param {*} [options] Override http request option.
2509
2789
  * @throws {RequiredError}
2510
2790
  */
2511
- discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountDeleteResponse, any, {}>>;
2791
+ auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignInEmailResponse>;
2512
2792
  /**
2513
- * DiscountGet 获取折扣接口
2514
- * @param {string} [id] @gotags: form:\&quot;id\&quot;
2793
+ *
2794
+ * @param {object} body
2515
2795
  * @param {*} [options] Override http request option.
2516
2796
  * @throws {RequiredError}
2517
2797
  */
2518
- discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountGetResponse, any, {}>>;
2798
+ auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignOutResponse>;
2519
2799
  /**
2520
- * DiscountList 折扣列表接口
2521
- * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
2522
- * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
2523
- * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
2800
+ * ============ 管理员信息管理 ============
2801
+ * @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
2524
2802
  * @param {*} [options] Override http request option.
2525
2803
  * @throws {RequiredError}
2526
2804
  */
2527
- discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountListResponse, any, {}>>;
2805
+ auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminUpdateUserResponse>;
2806
+ };
2807
+ /**
2808
+ * Auth2AdminServiceApi - interface
2809
+ */
2810
+ export interface Auth2AdminServiceApiInterface {
2528
2811
  /**
2529
- * DiscountUpdate 更新折扣接口
2530
- * @param {DiscountUpdateRequest} discountUpdateRequest
2812
+ * ============ 密码管理 ============
2813
+ * @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
2531
2814
  * @param {*} [options] Override http request option.
2532
2815
  * @throws {RequiredError}
2533
2816
  */
2534
- discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountUpdateResponse, any, {}>>;
2535
- }
2536
- /**
2537
- * ProviderAdminServiceApi - axios parameter creator
2538
- */
2539
- export declare const ProviderAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
2817
+ auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminChangePasswordResponse>;
2540
2818
  /**
2541
- * ProviderCreate 创建新的 Provider Create a new AI model provider 请求路径: POST /admin/provider/create Request path: POST /admin/provider/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
2542
- * @param {ProviderCreateRequest} providerCreateRequest
2819
+ *
2543
2820
  * @param {*} [options] Override http request option.
2544
2821
  * @throws {RequiredError}
2545
2822
  */
2546
- providerAdminServiceProviderCreate: (providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2823
+ auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminGetSessionResponse>;
2547
2824
  /**
2548
- * ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
2549
- * @param {ProviderDeleteRequest} providerDeleteRequest
2825
+ * ============ 会话管理 ============
2550
2826
  * @param {*} [options] Override http request option.
2551
2827
  * @throws {RequiredError}
2552
2828
  */
2553
- providerAdminServiceProviderDelete: (providerDeleteRequest: ProviderDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2829
+ auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminListSessionsResponse>;
2554
2830
  /**
2555
- * ProviderGet 根据 ID 获取单个 Provider Retrieve a single provider by ID 请求路径: GET /admin/provider/get?id={id} Request path: GET /admin/provider/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
2556
- * @param {string} [id] id 要获取的 Provider 的唯一标识符 Unique identifier of the provider to retrieve @gotags: form:\&quot;id\&quot; binding:\&quot;required\&quot;
2831
+ *
2832
+ * @param {object} body
2557
2833
  * @param {*} [options] Override http request option.
2558
2834
  * @throws {RequiredError}
2559
2835
  */
2560
- providerAdminServiceProviderGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2836
+ auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeOtherSessionsResponse>;
2561
2837
  /**
2562
- * ProviderList 分页查询 Provider 列表,支持按状态和名称前缀过滤 List providers with pagination, supports filtering by status and name prefix 请求路径: GET /admin/provider/list?page={page}&page_size={page_size}&provider_status={status}&name_prefix={prefix} Request path: GET /admin/provider/list?page={page}&page_size={page_size}&provider_status={status}&name_prefix={prefix} 权限要求: 需要管理员权限 Permission: Requires admin authentication
2563
- * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
2564
- * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
2565
- * @param {number} [providerStatus] provider_status 按状态过滤(可选) Filter by provider status (optional) 0: 返回所有状态 1: 仅返回启用的 Provider 2: 仅返回禁用的 Provider 0: return all statuses 1: return only active providers 2: return only disabled providers @gotags: form:\&quot;provider_status\&quot;
2566
- * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \&quot;openai\&quot; 会匹配 \&quot;openai-prod-1\&quot;, \&quot;openai-dev-1\&quot; 等 Example: \&quot;openai\&quot; matches \&quot;openai-prod-1\&quot;, \&quot;openai-dev-1\&quot;, etc. @gotags: form:\&quot;name_prefix\&quot;
2838
+ *
2839
+ * @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
2567
2840
  * @param {*} [options] Override http request option.
2568
2841
  * @throws {RequiredError}
2569
2842
  */
2570
- providerAdminServiceProviderList: (page?: number, pageSize?: number, providerStatus?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2843
+ auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionResponse>;
2571
2844
  /**
2572
- * ProviderUpdate 更新现有的 Provider Update an existing AI model provider 请求路径: POST /admin/provider/update Request path: POST /admin/provider/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
2573
- * @param {ProviderUpdateRequest} providerUpdateRequest
2845
+ *
2846
+ * @param {object} body
2574
2847
  * @param {*} [options] Override http request option.
2575
2848
  * @throws {RequiredError}
2576
2849
  */
2577
- providerAdminServiceProviderUpdate: (providerUpdateRequest: ProviderUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2578
- };
2579
- /**
2580
- * ProviderAdminServiceApi - functional programming interface
2581
- */
2582
- export declare const ProviderAdminServiceApiFp: (configuration?: Configuration) => {
2850
+ auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionsResponse>;
2583
2851
  /**
2584
- * ProviderCreate 创建新的 Provider Create a new AI model provider 请求路径: POST /admin/provider/create Request path: POST /admin/provider/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
2585
- * @param {ProviderCreateRequest} providerCreateRequest
2852
+ * ============ 认证 ============
2853
+ * @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
2586
2854
  * @param {*} [options] Override http request option.
2587
2855
  * @throws {RequiredError}
2588
2856
  */
2589
- providerAdminServiceProviderCreate(providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderCreateResponse>>;
2857
+ auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignInEmailResponse>;
2858
+ /**
2859
+ *
2860
+ * @param {object} body
2861
+ * @param {*} [options] Override http request option.
2862
+ * @throws {RequiredError}
2863
+ */
2864
+ auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignOutResponse>;
2865
+ /**
2866
+ * ============ 管理员信息管理 ============
2867
+ * @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
2868
+ * @param {*} [options] Override http request option.
2869
+ * @throws {RequiredError}
2870
+ */
2871
+ auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminUpdateUserResponse>;
2872
+ }
2873
+ /**
2874
+ * Auth2AdminServiceApi - object-oriented interface
2875
+ */
2876
+ export declare class Auth2AdminServiceApi extends BaseAPI implements Auth2AdminServiceApiInterface {
2877
+ /**
2878
+ * ============ 密码管理 ============
2879
+ * @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
2880
+ * @param {*} [options] Override http request option.
2881
+ * @throws {RequiredError}
2882
+ */
2883
+ auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminChangePasswordResponse, any, {}>>;
2884
+ /**
2885
+ *
2886
+ * @param {*} [options] Override http request option.
2887
+ * @throws {RequiredError}
2888
+ */
2889
+ auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminGetSessionResponse, any, {}>>;
2890
+ /**
2891
+ * ============ 会话管理 ============
2892
+ * @param {*} [options] Override http request option.
2893
+ * @throws {RequiredError}
2894
+ */
2895
+ auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminListSessionsResponse, any, {}>>;
2896
+ /**
2897
+ *
2898
+ * @param {object} body
2899
+ * @param {*} [options] Override http request option.
2900
+ * @throws {RequiredError}
2901
+ */
2902
+ auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeOtherSessionsResponse, any, {}>>;
2903
+ /**
2904
+ *
2905
+ * @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
2906
+ * @param {*} [options] Override http request option.
2907
+ * @throws {RequiredError}
2908
+ */
2909
+ auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionResponse, any, {}>>;
2910
+ /**
2911
+ *
2912
+ * @param {object} body
2913
+ * @param {*} [options] Override http request option.
2914
+ * @throws {RequiredError}
2915
+ */
2916
+ auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionsResponse, any, {}>>;
2917
+ /**
2918
+ * ============ 认证 ============
2919
+ * @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
2920
+ * @param {*} [options] Override http request option.
2921
+ * @throws {RequiredError}
2922
+ */
2923
+ auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignInEmailResponse, any, {}>>;
2924
+ /**
2925
+ *
2926
+ * @param {object} body
2927
+ * @param {*} [options] Override http request option.
2928
+ * @throws {RequiredError}
2929
+ */
2930
+ auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignOutResponse, any, {}>>;
2931
+ /**
2932
+ * ============ 管理员信息管理 ============
2933
+ * @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
2934
+ * @param {*} [options] Override http request option.
2935
+ * @throws {RequiredError}
2936
+ */
2937
+ auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminUpdateUserResponse, any, {}>>;
2938
+ }
2939
+ /**
2940
+ * Auth2UserServiceApi - axios parameter creator
2941
+ */
2942
+ export declare const Auth2UserServiceApiAxiosParamCreator: (configuration?: Configuration) => {
2943
+ /**
2944
+ *
2945
+ * @param {AuthChangeEmailRequest} authChangeEmailRequest
2946
+ * @param {*} [options] Override http request option.
2947
+ * @throws {RequiredError}
2948
+ */
2949
+ auth2UserServiceAuthChangeEmail: (authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2950
+ /**
2951
+ * ============ 密码管理 ============
2952
+ * @param {AuthChangePasswordRequest} authChangePasswordRequest
2953
+ * @param {*} [options] Override http request option.
2954
+ * @throws {RequiredError}
2955
+ */
2956
+ auth2UserServiceAuthChangePassword: (authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2957
+ /**
2958
+ *
2959
+ * @param {AuthDeleteUserRequest} authDeleteUserRequest
2960
+ * @param {*} [options] Override http request option.
2961
+ * @throws {RequiredError}
2962
+ */
2963
+ auth2UserServiceAuthDeleteUser: (authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2964
+ /**
2965
+ *
2966
+ * @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
2967
+ * @param {*} [options] Override http request option.
2968
+ * @throws {RequiredError}
2969
+ */
2970
+ auth2UserServiceAuthGetAccessToken: (authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2971
+ /**
2972
+ *
2973
+ * @param {*} [options] Override http request option.
2974
+ * @throws {RequiredError}
2975
+ */
2976
+ auth2UserServiceAuthGetAccountInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2977
+ /**
2978
+ *
2979
+ * @param {*} [options] Override http request option.
2980
+ * @throws {RequiredError}
2981
+ */
2982
+ auth2UserServiceAuthGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2983
+ /**
2984
+ * ============ 账号关联 ============
2985
+ * @param {AuthLinkSocialRequest} authLinkSocialRequest
2986
+ * @param {*} [options] Override http request option.
2987
+ * @throws {RequiredError}
2988
+ */
2989
+ auth2UserServiceAuthLinkSocial: (authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2990
+ /**
2991
+ *
2992
+ * @param {*} [options] Override http request option.
2993
+ * @throws {RequiredError}
2994
+ */
2995
+ auth2UserServiceAuthListAccounts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2996
+ /**
2997
+ * ============ 会话管理 ============
2998
+ * @param {*} [options] Override http request option.
2999
+ * @throws {RequiredError}
3000
+ */
3001
+ auth2UserServiceAuthListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3002
+ /**
3003
+ * ============ Token 管理 ============
3004
+ * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
3005
+ * @param {*} [options] Override http request option.
3006
+ * @throws {RequiredError}
3007
+ */
3008
+ auth2UserServiceAuthRefreshToken: (authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3009
+ /**
3010
+ *
3011
+ * @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
3012
+ * @param {*} [options] Override http request option.
3013
+ * @throws {RequiredError}
3014
+ */
3015
+ auth2UserServiceAuthRequestPasswordReset: (authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3016
+ /**
3017
+ *
3018
+ * @param {AuthResetPasswordRequest} authResetPasswordRequest
3019
+ * @param {*} [options] Override http request option.
3020
+ * @throws {RequiredError}
3021
+ */
3022
+ auth2UserServiceAuthResetPassword: (authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3023
+ /**
3024
+ *
3025
+ * @param {object} body
3026
+ * @param {*} [options] Override http request option.
3027
+ * @throws {RequiredError}
3028
+ */
3029
+ auth2UserServiceAuthRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3030
+ /**
3031
+ *
3032
+ * @param {AuthRevokeSessionRequest} authRevokeSessionRequest
3033
+ * @param {*} [options] Override http request option.
3034
+ * @throws {RequiredError}
3035
+ */
3036
+ auth2UserServiceAuthRevokeSession: (authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3037
+ /**
3038
+ *
3039
+ * @param {object} body
3040
+ * @param {*} [options] Override http request option.
3041
+ * @throws {RequiredError}
3042
+ */
3043
+ auth2UserServiceAuthRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3044
+ /**
3045
+ * ============ 邮箱验证 ============
3046
+ * @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
3047
+ * @param {*} [options] Override http request option.
3048
+ * @throws {RequiredError}
3049
+ */
3050
+ auth2UserServiceAuthSendVerificationEmail: (authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3051
+ /**
3052
+ *
3053
+ * @param {AuthSignInEmailRequest} authSignInEmailRequest
3054
+ * @param {*} [options] Override http request option.
3055
+ * @throws {RequiredError}
3056
+ */
3057
+ auth2UserServiceAuthSignInEmail: (authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3058
+ /**
3059
+ *
3060
+ * @param {AuthSignInSocialRequest} authSignInSocialRequest
3061
+ * @param {*} [options] Override http request option.
3062
+ * @throws {RequiredError}
3063
+ */
3064
+ auth2UserServiceAuthSignInSocial: (authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3065
+ /**
3066
+ *
3067
+ * @param {object} body
3068
+ * @param {*} [options] Override http request option.
3069
+ * @throws {RequiredError}
3070
+ */
3071
+ auth2UserServiceAuthSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3072
+ /**
3073
+ * ============ 认证 ============
3074
+ * @param {AuthSignUpEmailRequest} authSignUpEmailRequest
3075
+ * @param {*} [options] Override http request option.
3076
+ * @throws {RequiredError}
3077
+ */
3078
+ auth2UserServiceAuthSignUpEmail: (authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3079
+ /**
3080
+ *
3081
+ * @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
3082
+ * @param {*} [options] Override http request option.
3083
+ * @throws {RequiredError}
3084
+ */
3085
+ auth2UserServiceAuthUnlinkAccount: (authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3086
+ /**
3087
+ * ============ 用户管理 ============
3088
+ * @param {AuthUpdateUserRequest} authUpdateUserRequest
3089
+ * @param {*} [options] Override http request option.
3090
+ * @throws {RequiredError}
3091
+ */
3092
+ auth2UserServiceAuthUpdateUser: (authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3093
+ /**
3094
+ *
3095
+ * @param {string} [email]
3096
+ * @param {string} [authCode]
3097
+ * @param {string} [callbackUrl]
3098
+ * @param {*} [options] Override http request option.
3099
+ * @throws {RequiredError}
3100
+ */
3101
+ auth2UserServiceAuthVerifyEmail: (email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3102
+ };
3103
+ /**
3104
+ * Auth2UserServiceApi - functional programming interface
3105
+ */
3106
+ export declare const Auth2UserServiceApiFp: (configuration?: Configuration) => {
3107
+ /**
3108
+ *
3109
+ * @param {AuthChangeEmailRequest} authChangeEmailRequest
3110
+ * @param {*} [options] Override http request option.
3111
+ * @throws {RequiredError}
3112
+ */
3113
+ auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangeEmailResponse>>;
3114
+ /**
3115
+ * ============ 密码管理 ============
3116
+ * @param {AuthChangePasswordRequest} authChangePasswordRequest
3117
+ * @param {*} [options] Override http request option.
3118
+ * @throws {RequiredError}
3119
+ */
3120
+ auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangePasswordResponse>>;
3121
+ /**
3122
+ *
3123
+ * @param {AuthDeleteUserRequest} authDeleteUserRequest
3124
+ * @param {*} [options] Override http request option.
3125
+ * @throws {RequiredError}
3126
+ */
3127
+ auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthDeleteUserResponse>>;
3128
+ /**
3129
+ *
3130
+ * @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
3131
+ * @param {*} [options] Override http request option.
3132
+ * @throws {RequiredError}
3133
+ */
3134
+ auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccessTokenResponse>>;
3135
+ /**
3136
+ *
3137
+ * @param {*} [options] Override http request option.
3138
+ * @throws {RequiredError}
3139
+ */
3140
+ auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccountInfoResponse>>;
3141
+ /**
3142
+ *
3143
+ * @param {*} [options] Override http request option.
3144
+ * @throws {RequiredError}
3145
+ */
3146
+ auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetSessionResponse>>;
3147
+ /**
3148
+ * ============ 账号关联 ============
3149
+ * @param {AuthLinkSocialRequest} authLinkSocialRequest
3150
+ * @param {*} [options] Override http request option.
3151
+ * @throws {RequiredError}
3152
+ */
3153
+ auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthLinkSocialResponse>>;
3154
+ /**
3155
+ *
3156
+ * @param {*} [options] Override http request option.
3157
+ * @throws {RequiredError}
3158
+ */
3159
+ auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListAccountsResponse>>;
3160
+ /**
3161
+ * ============ 会话管理 ============
3162
+ * @param {*} [options] Override http request option.
3163
+ * @throws {RequiredError}
3164
+ */
3165
+ auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListSessionsResponse>>;
3166
+ /**
3167
+ * ============ Token 管理 ============
3168
+ * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
3169
+ * @param {*} [options] Override http request option.
3170
+ * @throws {RequiredError}
3171
+ */
3172
+ auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRefreshTokenResponse>>;
3173
+ /**
3174
+ *
3175
+ * @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
3176
+ * @param {*} [options] Override http request option.
3177
+ * @throws {RequiredError}
3178
+ */
3179
+ auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRequestPasswordResetResponse>>;
3180
+ /**
3181
+ *
3182
+ * @param {AuthResetPasswordRequest} authResetPasswordRequest
3183
+ * @param {*} [options] Override http request option.
3184
+ * @throws {RequiredError}
3185
+ */
3186
+ auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResetPasswordResponse>>;
3187
+ /**
3188
+ *
3189
+ * @param {object} body
3190
+ * @param {*} [options] Override http request option.
3191
+ * @throws {RequiredError}
3192
+ */
3193
+ auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeOtherSessionsResponse>>;
3194
+ /**
3195
+ *
3196
+ * @param {AuthRevokeSessionRequest} authRevokeSessionRequest
3197
+ * @param {*} [options] Override http request option.
3198
+ * @throws {RequiredError}
3199
+ */
3200
+ auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionResponse>>;
3201
+ /**
3202
+ *
3203
+ * @param {object} body
3204
+ * @param {*} [options] Override http request option.
3205
+ * @throws {RequiredError}
3206
+ */
3207
+ auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionsResponse>>;
3208
+ /**
3209
+ * ============ 邮箱验证 ============
3210
+ * @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
3211
+ * @param {*} [options] Override http request option.
3212
+ * @throws {RequiredError}
3213
+ */
3214
+ auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSendVerificationEmailResponse>>;
3215
+ /**
3216
+ *
3217
+ * @param {AuthSignInEmailRequest} authSignInEmailRequest
3218
+ * @param {*} [options] Override http request option.
3219
+ * @throws {RequiredError}
3220
+ */
3221
+ auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInEmailResponse>>;
3222
+ /**
3223
+ *
3224
+ * @param {AuthSignInSocialRequest} authSignInSocialRequest
3225
+ * @param {*} [options] Override http request option.
3226
+ * @throws {RequiredError}
3227
+ */
3228
+ auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInSocialResponse>>;
3229
+ /**
3230
+ *
3231
+ * @param {object} body
3232
+ * @param {*} [options] Override http request option.
3233
+ * @throws {RequiredError}
3234
+ */
3235
+ auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignOutResponse>>;
3236
+ /**
3237
+ * ============ 认证 ============
3238
+ * @param {AuthSignUpEmailRequest} authSignUpEmailRequest
3239
+ * @param {*} [options] Override http request option.
3240
+ * @throws {RequiredError}
3241
+ */
3242
+ auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignUpEmailResponse>>;
3243
+ /**
3244
+ *
3245
+ * @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
3246
+ * @param {*} [options] Override http request option.
3247
+ * @throws {RequiredError}
3248
+ */
3249
+ auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUnlinkAccountResponse>>;
3250
+ /**
3251
+ * ============ 用户管理 ============
3252
+ * @param {AuthUpdateUserRequest} authUpdateUserRequest
3253
+ * @param {*} [options] Override http request option.
3254
+ * @throws {RequiredError}
3255
+ */
3256
+ auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUpdateUserResponse>>;
3257
+ /**
3258
+ *
3259
+ * @param {string} [email]
3260
+ * @param {string} [authCode]
3261
+ * @param {string} [callbackUrl]
3262
+ * @param {*} [options] Override http request option.
3263
+ * @throws {RequiredError}
3264
+ */
3265
+ auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthVerifyEmailResponse>>;
3266
+ };
3267
+ /**
3268
+ * Auth2UserServiceApi - factory interface
3269
+ */
3270
+ export declare const Auth2UserServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3271
+ /**
3272
+ *
3273
+ * @param {AuthChangeEmailRequest} authChangeEmailRequest
3274
+ * @param {*} [options] Override http request option.
3275
+ * @throws {RequiredError}
3276
+ */
3277
+ auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
3278
+ /**
3279
+ * ============ 密码管理 ============
3280
+ * @param {AuthChangePasswordRequest} authChangePasswordRequest
3281
+ * @param {*} [options] Override http request option.
3282
+ * @throws {RequiredError}
3283
+ */
3284
+ auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
3285
+ /**
3286
+ *
3287
+ * @param {AuthDeleteUserRequest} authDeleteUserRequest
3288
+ * @param {*} [options] Override http request option.
3289
+ * @throws {RequiredError}
3290
+ */
3291
+ auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
3292
+ /**
3293
+ *
3294
+ * @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
3295
+ * @param {*} [options] Override http request option.
3296
+ * @throws {RequiredError}
3297
+ */
3298
+ auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
3299
+ /**
3300
+ *
3301
+ * @param {*} [options] Override http request option.
3302
+ * @throws {RequiredError}
3303
+ */
3304
+ auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
3305
+ /**
3306
+ *
3307
+ * @param {*} [options] Override http request option.
3308
+ * @throws {RequiredError}
3309
+ */
3310
+ auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetSessionResponse>;
3311
+ /**
3312
+ * ============ 账号关联 ============
3313
+ * @param {AuthLinkSocialRequest} authLinkSocialRequest
3314
+ * @param {*} [options] Override http request option.
3315
+ * @throws {RequiredError}
3316
+ */
3317
+ auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkSocialResponse>;
3318
+ /**
3319
+ *
3320
+ * @param {*} [options] Override http request option.
3321
+ * @throws {RequiredError}
3322
+ */
3323
+ auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): AxiosPromise<AuthListAccountsResponse>;
3324
+ /**
3325
+ * ============ 会话管理 ============
3326
+ * @param {*} [options] Override http request option.
3327
+ * @throws {RequiredError}
3328
+ */
3329
+ auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
3330
+ /**
3331
+ * ============ Token 管理 ============
3332
+ * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
3333
+ * @param {*} [options] Override http request option.
3334
+ * @throws {RequiredError}
3335
+ */
3336
+ auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRefreshTokenResponse>;
3337
+ /**
3338
+ *
3339
+ * @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
3340
+ * @param {*} [options] Override http request option.
3341
+ * @throws {RequiredError}
3342
+ */
3343
+ auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestPasswordResetResponse>;
3344
+ /**
3345
+ *
3346
+ * @param {AuthResetPasswordRequest} authResetPasswordRequest
3347
+ * @param {*} [options] Override http request option.
3348
+ * @throws {RequiredError}
3349
+ */
3350
+ auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResetPasswordResponse>;
3351
+ /**
3352
+ *
3353
+ * @param {object} body
3354
+ * @param {*} [options] Override http request option.
3355
+ * @throws {RequiredError}
3356
+ */
3357
+ auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeOtherSessionsResponse>;
3358
+ /**
3359
+ *
3360
+ * @param {AuthRevokeSessionRequest} authRevokeSessionRequest
3361
+ * @param {*} [options] Override http request option.
3362
+ * @throws {RequiredError}
3363
+ */
3364
+ auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionResponse>;
3365
+ /**
3366
+ *
3367
+ * @param {object} body
3368
+ * @param {*} [options] Override http request option.
3369
+ * @throws {RequiredError}
3370
+ */
3371
+ auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionsResponse>;
3372
+ /**
3373
+ * ============ 邮箱验证 ============
3374
+ * @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
3375
+ * @param {*} [options] Override http request option.
3376
+ * @throws {RequiredError}
3377
+ */
3378
+ auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSendVerificationEmailResponse>;
3379
+ /**
3380
+ *
3381
+ * @param {AuthSignInEmailRequest} authSignInEmailRequest
3382
+ * @param {*} [options] Override http request option.
3383
+ * @throws {RequiredError}
3384
+ */
3385
+ auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInEmailResponse>;
3386
+ /**
3387
+ *
3388
+ * @param {AuthSignInSocialRequest} authSignInSocialRequest
3389
+ * @param {*} [options] Override http request option.
3390
+ * @throws {RequiredError}
3391
+ */
3392
+ auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInSocialResponse>;
3393
+ /**
3394
+ *
3395
+ * @param {object} body
3396
+ * @param {*} [options] Override http request option.
3397
+ * @throws {RequiredError}
3398
+ */
3399
+ auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignOutResponse>;
3400
+ /**
3401
+ * ============ 认证 ============
3402
+ * @param {AuthSignUpEmailRequest} authSignUpEmailRequest
3403
+ * @param {*} [options] Override http request option.
3404
+ * @throws {RequiredError}
3405
+ */
3406
+ auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignUpEmailResponse>;
3407
+ /**
3408
+ *
3409
+ * @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
3410
+ * @param {*} [options] Override http request option.
3411
+ * @throws {RequiredError}
3412
+ */
3413
+ auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUnlinkAccountResponse>;
3414
+ /**
3415
+ * ============ 用户管理 ============
3416
+ * @param {AuthUpdateUserRequest} authUpdateUserRequest
3417
+ * @param {*} [options] Override http request option.
3418
+ * @throws {RequiredError}
3419
+ */
3420
+ auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUpdateUserResponse>;
3421
+ /**
3422
+ *
3423
+ * @param {string} [email]
3424
+ * @param {string} [authCode]
3425
+ * @param {string} [callbackUrl]
3426
+ * @param {*} [options] Override http request option.
3427
+ * @throws {RequiredError}
3428
+ */
3429
+ auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthVerifyEmailResponse>;
3430
+ };
3431
+ /**
3432
+ * Auth2UserServiceApi - interface
3433
+ */
3434
+ export interface Auth2UserServiceApiInterface {
3435
+ /**
3436
+ *
3437
+ * @param {AuthChangeEmailRequest} authChangeEmailRequest
3438
+ * @param {*} [options] Override http request option.
3439
+ * @throws {RequiredError}
3440
+ */
3441
+ auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
3442
+ /**
3443
+ * ============ 密码管理 ============
3444
+ * @param {AuthChangePasswordRequest} authChangePasswordRequest
3445
+ * @param {*} [options] Override http request option.
3446
+ * @throws {RequiredError}
3447
+ */
3448
+ auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
3449
+ /**
3450
+ *
3451
+ * @param {AuthDeleteUserRequest} authDeleteUserRequest
3452
+ * @param {*} [options] Override http request option.
3453
+ * @throws {RequiredError}
3454
+ */
3455
+ auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
3456
+ /**
3457
+ *
3458
+ * @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
3459
+ * @param {*} [options] Override http request option.
3460
+ * @throws {RequiredError}
3461
+ */
3462
+ auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
3463
+ /**
3464
+ *
3465
+ * @param {*} [options] Override http request option.
3466
+ * @throws {RequiredError}
3467
+ */
3468
+ auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
3469
+ /**
3470
+ *
3471
+ * @param {*} [options] Override http request option.
3472
+ * @throws {RequiredError}
3473
+ */
3474
+ auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetSessionResponse>;
3475
+ /**
3476
+ * ============ 账号关联 ============
3477
+ * @param {AuthLinkSocialRequest} authLinkSocialRequest
3478
+ * @param {*} [options] Override http request option.
3479
+ * @throws {RequiredError}
3480
+ */
3481
+ auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkSocialResponse>;
3482
+ /**
3483
+ *
3484
+ * @param {*} [options] Override http request option.
3485
+ * @throws {RequiredError}
3486
+ */
3487
+ auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): AxiosPromise<AuthListAccountsResponse>;
3488
+ /**
3489
+ * ============ 会话管理 ============
3490
+ * @param {*} [options] Override http request option.
3491
+ * @throws {RequiredError}
3492
+ */
3493
+ auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
3494
+ /**
3495
+ * ============ Token 管理 ============
3496
+ * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
3497
+ * @param {*} [options] Override http request option.
3498
+ * @throws {RequiredError}
3499
+ */
3500
+ auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRefreshTokenResponse>;
3501
+ /**
3502
+ *
3503
+ * @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
3504
+ * @param {*} [options] Override http request option.
3505
+ * @throws {RequiredError}
3506
+ */
3507
+ auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestPasswordResetResponse>;
3508
+ /**
3509
+ *
3510
+ * @param {AuthResetPasswordRequest} authResetPasswordRequest
3511
+ * @param {*} [options] Override http request option.
3512
+ * @throws {RequiredError}
3513
+ */
3514
+ auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResetPasswordResponse>;
3515
+ /**
3516
+ *
3517
+ * @param {object} body
3518
+ * @param {*} [options] Override http request option.
3519
+ * @throws {RequiredError}
3520
+ */
3521
+ auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeOtherSessionsResponse>;
3522
+ /**
3523
+ *
3524
+ * @param {AuthRevokeSessionRequest} authRevokeSessionRequest
3525
+ * @param {*} [options] Override http request option.
3526
+ * @throws {RequiredError}
3527
+ */
3528
+ auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionResponse>;
3529
+ /**
3530
+ *
3531
+ * @param {object} body
3532
+ * @param {*} [options] Override http request option.
3533
+ * @throws {RequiredError}
3534
+ */
3535
+ auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionsResponse>;
3536
+ /**
3537
+ * ============ 邮箱验证 ============
3538
+ * @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
3539
+ * @param {*} [options] Override http request option.
3540
+ * @throws {RequiredError}
3541
+ */
3542
+ auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSendVerificationEmailResponse>;
3543
+ /**
3544
+ *
3545
+ * @param {AuthSignInEmailRequest} authSignInEmailRequest
3546
+ * @param {*} [options] Override http request option.
3547
+ * @throws {RequiredError}
3548
+ */
3549
+ auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInEmailResponse>;
3550
+ /**
3551
+ *
3552
+ * @param {AuthSignInSocialRequest} authSignInSocialRequest
3553
+ * @param {*} [options] Override http request option.
3554
+ * @throws {RequiredError}
3555
+ */
3556
+ auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInSocialResponse>;
3557
+ /**
3558
+ *
3559
+ * @param {object} body
3560
+ * @param {*} [options] Override http request option.
3561
+ * @throws {RequiredError}
3562
+ */
3563
+ auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignOutResponse>;
3564
+ /**
3565
+ * ============ 认证 ============
3566
+ * @param {AuthSignUpEmailRequest} authSignUpEmailRequest
3567
+ * @param {*} [options] Override http request option.
3568
+ * @throws {RequiredError}
3569
+ */
3570
+ auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignUpEmailResponse>;
3571
+ /**
3572
+ *
3573
+ * @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
3574
+ * @param {*} [options] Override http request option.
3575
+ * @throws {RequiredError}
3576
+ */
3577
+ auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUnlinkAccountResponse>;
3578
+ /**
3579
+ * ============ 用户管理 ============
3580
+ * @param {AuthUpdateUserRequest} authUpdateUserRequest
3581
+ * @param {*} [options] Override http request option.
3582
+ * @throws {RequiredError}
3583
+ */
3584
+ auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUpdateUserResponse>;
3585
+ /**
3586
+ *
3587
+ * @param {string} [email]
3588
+ * @param {string} [authCode]
3589
+ * @param {string} [callbackUrl]
3590
+ * @param {*} [options] Override http request option.
3591
+ * @throws {RequiredError}
3592
+ */
3593
+ auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthVerifyEmailResponse>;
3594
+ }
3595
+ /**
3596
+ * Auth2UserServiceApi - object-oriented interface
3597
+ */
3598
+ export declare class Auth2UserServiceApi extends BaseAPI implements Auth2UserServiceApiInterface {
3599
+ /**
3600
+ *
3601
+ * @param {AuthChangeEmailRequest} authChangeEmailRequest
3602
+ * @param {*} [options] Override http request option.
3603
+ * @throws {RequiredError}
3604
+ */
3605
+ auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthChangeEmailResponse, any, {}>>;
3606
+ /**
3607
+ * ============ 密码管理 ============
3608
+ * @param {AuthChangePasswordRequest} authChangePasswordRequest
3609
+ * @param {*} [options] Override http request option.
3610
+ * @throws {RequiredError}
3611
+ */
3612
+ auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthChangePasswordResponse, any, {}>>;
3613
+ /**
3614
+ *
3615
+ * @param {AuthDeleteUserRequest} authDeleteUserRequest
3616
+ * @param {*} [options] Override http request option.
3617
+ * @throws {RequiredError}
3618
+ */
3619
+ auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthDeleteUserResponse, any, {}>>;
3620
+ /**
3621
+ *
3622
+ * @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
3623
+ * @param {*} [options] Override http request option.
3624
+ * @throws {RequiredError}
3625
+ */
3626
+ auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetAccessTokenResponse, any, {}>>;
3627
+ /**
3628
+ *
3629
+ * @param {*} [options] Override http request option.
3630
+ * @throws {RequiredError}
3631
+ */
3632
+ auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetAccountInfoResponse, any, {}>>;
3633
+ /**
3634
+ *
3635
+ * @param {*} [options] Override http request option.
3636
+ * @throws {RequiredError}
3637
+ */
3638
+ auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetSessionResponse, any, {}>>;
3639
+ /**
3640
+ * ============ 账号关联 ============
3641
+ * @param {AuthLinkSocialRequest} authLinkSocialRequest
3642
+ * @param {*} [options] Override http request option.
3643
+ * @throws {RequiredError}
3644
+ */
3645
+ auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthLinkSocialResponse, any, {}>>;
3646
+ /**
3647
+ *
3648
+ * @param {*} [options] Override http request option.
3649
+ * @throws {RequiredError}
3650
+ */
3651
+ auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthListAccountsResponse, any, {}>>;
3652
+ /**
3653
+ * ============ 会话管理 ============
3654
+ * @param {*} [options] Override http request option.
3655
+ * @throws {RequiredError}
3656
+ */
3657
+ auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthListSessionsResponse, any, {}>>;
3658
+ /**
3659
+ * ============ Token 管理 ============
3660
+ * @param {AuthRefreshTokenRequest} authRefreshTokenRequest
3661
+ * @param {*} [options] Override http request option.
3662
+ * @throws {RequiredError}
3663
+ */
3664
+ auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRefreshTokenResponse, any, {}>>;
3665
+ /**
3666
+ *
3667
+ * @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
3668
+ * @param {*} [options] Override http request option.
3669
+ * @throws {RequiredError}
3670
+ */
3671
+ auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRequestPasswordResetResponse, any, {}>>;
3672
+ /**
3673
+ *
3674
+ * @param {AuthResetPasswordRequest} authResetPasswordRequest
3675
+ * @param {*} [options] Override http request option.
3676
+ * @throws {RequiredError}
3677
+ */
3678
+ auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthResetPasswordResponse, any, {}>>;
3679
+ /**
3680
+ *
3681
+ * @param {object} body
3682
+ * @param {*} [options] Override http request option.
3683
+ * @throws {RequiredError}
3684
+ */
3685
+ auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeOtherSessionsResponse, any, {}>>;
3686
+ /**
3687
+ *
3688
+ * @param {AuthRevokeSessionRequest} authRevokeSessionRequest
3689
+ * @param {*} [options] Override http request option.
3690
+ * @throws {RequiredError}
3691
+ */
3692
+ auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeSessionResponse, any, {}>>;
3693
+ /**
3694
+ *
3695
+ * @param {object} body
3696
+ * @param {*} [options] Override http request option.
3697
+ * @throws {RequiredError}
3698
+ */
3699
+ auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeSessionsResponse, any, {}>>;
3700
+ /**
3701
+ * ============ 邮箱验证 ============
3702
+ * @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
3703
+ * @param {*} [options] Override http request option.
3704
+ * @throws {RequiredError}
3705
+ */
3706
+ auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSendVerificationEmailResponse, any, {}>>;
3707
+ /**
3708
+ *
3709
+ * @param {AuthSignInEmailRequest} authSignInEmailRequest
3710
+ * @param {*} [options] Override http request option.
3711
+ * @throws {RequiredError}
3712
+ */
3713
+ auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignInEmailResponse, any, {}>>;
3714
+ /**
3715
+ *
3716
+ * @param {AuthSignInSocialRequest} authSignInSocialRequest
3717
+ * @param {*} [options] Override http request option.
3718
+ * @throws {RequiredError}
3719
+ */
3720
+ auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignInSocialResponse, any, {}>>;
3721
+ /**
3722
+ *
3723
+ * @param {object} body
3724
+ * @param {*} [options] Override http request option.
3725
+ * @throws {RequiredError}
3726
+ */
3727
+ auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignOutResponse, any, {}>>;
3728
+ /**
3729
+ * ============ 认证 ============
3730
+ * @param {AuthSignUpEmailRequest} authSignUpEmailRequest
3731
+ * @param {*} [options] Override http request option.
3732
+ * @throws {RequiredError}
3733
+ */
3734
+ auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignUpEmailResponse, any, {}>>;
3735
+ /**
3736
+ *
3737
+ * @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
3738
+ * @param {*} [options] Override http request option.
3739
+ * @throws {RequiredError}
3740
+ */
3741
+ auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUnlinkAccountResponse, any, {}>>;
3742
+ /**
3743
+ * ============ 用户管理 ============
3744
+ * @param {AuthUpdateUserRequest} authUpdateUserRequest
3745
+ * @param {*} [options] Override http request option.
3746
+ * @throws {RequiredError}
3747
+ */
3748
+ auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUpdateUserResponse, any, {}>>;
3749
+ /**
3750
+ *
3751
+ * @param {string} [email]
3752
+ * @param {string} [authCode]
3753
+ * @param {string} [callbackUrl]
3754
+ * @param {*} [options] Override http request option.
3755
+ * @throws {RequiredError}
3756
+ */
3757
+ auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthVerifyEmailResponse, any, {}>>;
3758
+ }
3759
+ /**
3760
+ * DiscountAdminServiceApi - axios parameter creator
3761
+ */
3762
+ export declare const DiscountAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
3763
+ /**
3764
+ * DiscountCreate 创建折扣接口
3765
+ * @param {DiscountCreateRequest} discountCreateRequest
3766
+ * @param {*} [options] Override http request option.
3767
+ * @throws {RequiredError}
3768
+ */
3769
+ discountAdminServiceDiscountCreate: (discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3770
+ /**
3771
+ * DiscountDelete 删除折扣接口
3772
+ * @param {DiscountDeleteRequest} discountDeleteRequest
3773
+ * @param {*} [options] Override http request option.
3774
+ * @throws {RequiredError}
3775
+ */
3776
+ discountAdminServiceDiscountDelete: (discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3777
+ /**
3778
+ * DiscountGet 获取折扣接口
3779
+ * @param {string} [id] @gotags: form:\&quot;id\&quot;
3780
+ * @param {*} [options] Override http request option.
3781
+ * @throws {RequiredError}
3782
+ */
3783
+ discountAdminServiceDiscountGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3784
+ /**
3785
+ * DiscountList 折扣列表接口
3786
+ * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
3787
+ * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
3788
+ * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
3789
+ * @param {*} [options] Override http request option.
3790
+ * @throws {RequiredError}
3791
+ */
3792
+ discountAdminServiceDiscountList: (page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3793
+ /**
3794
+ * DiscountUpdate 更新折扣接口
3795
+ * @param {DiscountUpdateRequest} discountUpdateRequest
3796
+ * @param {*} [options] Override http request option.
3797
+ * @throws {RequiredError}
3798
+ */
3799
+ discountAdminServiceDiscountUpdate: (discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3800
+ };
3801
+ /**
3802
+ * DiscountAdminServiceApi - functional programming interface
3803
+ */
3804
+ export declare const DiscountAdminServiceApiFp: (configuration?: Configuration) => {
3805
+ /**
3806
+ * DiscountCreate 创建折扣接口
3807
+ * @param {DiscountCreateRequest} discountCreateRequest
3808
+ * @param {*} [options] Override http request option.
3809
+ * @throws {RequiredError}
3810
+ */
3811
+ discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountCreateRequest>>;
3812
+ /**
3813
+ * DiscountDelete 删除折扣接口
3814
+ * @param {DiscountDeleteRequest} discountDeleteRequest
3815
+ * @param {*} [options] Override http request option.
3816
+ * @throws {RequiredError}
3817
+ */
3818
+ discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountDeleteResponse>>;
3819
+ /**
3820
+ * DiscountGet 获取折扣接口
3821
+ * @param {string} [id] @gotags: form:\&quot;id\&quot;
3822
+ * @param {*} [options] Override http request option.
3823
+ * @throws {RequiredError}
3824
+ */
3825
+ discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountGetResponse>>;
3826
+ /**
3827
+ * DiscountList 折扣列表接口
3828
+ * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
3829
+ * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
3830
+ * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
3831
+ * @param {*} [options] Override http request option.
3832
+ * @throws {RequiredError}
3833
+ */
3834
+ discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountListResponse>>;
3835
+ /**
3836
+ * DiscountUpdate 更新折扣接口
3837
+ * @param {DiscountUpdateRequest} discountUpdateRequest
3838
+ * @param {*} [options] Override http request option.
3839
+ * @throws {RequiredError}
3840
+ */
3841
+ discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountUpdateResponse>>;
3842
+ };
3843
+ /**
3844
+ * DiscountAdminServiceApi - factory interface
3845
+ */
3846
+ export declare const DiscountAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3847
+ /**
3848
+ * DiscountCreate 创建折扣接口
3849
+ * @param {DiscountCreateRequest} discountCreateRequest
3850
+ * @param {*} [options] Override http request option.
3851
+ * @throws {RequiredError}
3852
+ */
3853
+ discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
3854
+ /**
3855
+ * DiscountDelete 删除折扣接口
3856
+ * @param {DiscountDeleteRequest} discountDeleteRequest
3857
+ * @param {*} [options] Override http request option.
3858
+ * @throws {RequiredError}
3859
+ */
3860
+ discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountDeleteResponse>;
3861
+ /**
3862
+ * DiscountGet 获取折扣接口
3863
+ * @param {string} [id] @gotags: form:\&quot;id\&quot;
3864
+ * @param {*} [options] Override http request option.
3865
+ * @throws {RequiredError}
3866
+ */
3867
+ discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountGetResponse>;
3868
+ /**
3869
+ * DiscountList 折扣列表接口
3870
+ * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
3871
+ * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
3872
+ * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
3873
+ * @param {*} [options] Override http request option.
3874
+ * @throws {RequiredError}
3875
+ */
3876
+ discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountListResponse>;
3877
+ /**
3878
+ * DiscountUpdate 更新折扣接口
3879
+ * @param {DiscountUpdateRequest} discountUpdateRequest
3880
+ * @param {*} [options] Override http request option.
3881
+ * @throws {RequiredError}
3882
+ */
3883
+ discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountUpdateResponse>;
3884
+ };
3885
+ /**
3886
+ * DiscountAdminServiceApi - interface
3887
+ */
3888
+ export interface DiscountAdminServiceApiInterface {
3889
+ /**
3890
+ * DiscountCreate 创建折扣接口
3891
+ * @param {DiscountCreateRequest} discountCreateRequest
3892
+ * @param {*} [options] Override http request option.
3893
+ * @throws {RequiredError}
3894
+ */
3895
+ discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
3896
+ /**
3897
+ * DiscountDelete 删除折扣接口
3898
+ * @param {DiscountDeleteRequest} discountDeleteRequest
3899
+ * @param {*} [options] Override http request option.
3900
+ * @throws {RequiredError}
3901
+ */
3902
+ discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountDeleteResponse>;
3903
+ /**
3904
+ * DiscountGet 获取折扣接口
3905
+ * @param {string} [id] @gotags: form:\&quot;id\&quot;
3906
+ * @param {*} [options] Override http request option.
3907
+ * @throws {RequiredError}
3908
+ */
3909
+ discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountGetResponse>;
3910
+ /**
3911
+ * DiscountList 折扣列表接口
3912
+ * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
3913
+ * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
3914
+ * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
3915
+ * @param {*} [options] Override http request option.
3916
+ * @throws {RequiredError}
3917
+ */
3918
+ discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountListResponse>;
3919
+ /**
3920
+ * DiscountUpdate 更新折扣接口
3921
+ * @param {DiscountUpdateRequest} discountUpdateRequest
3922
+ * @param {*} [options] Override http request option.
3923
+ * @throws {RequiredError}
3924
+ */
3925
+ discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountUpdateResponse>;
3926
+ }
3927
+ /**
3928
+ * DiscountAdminServiceApi - object-oriented interface
3929
+ */
3930
+ export declare class DiscountAdminServiceApi extends BaseAPI implements DiscountAdminServiceApiInterface {
3931
+ /**
3932
+ * DiscountCreate 创建折扣接口
3933
+ * @param {DiscountCreateRequest} discountCreateRequest
3934
+ * @param {*} [options] Override http request option.
3935
+ * @throws {RequiredError}
3936
+ */
3937
+ discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountCreateRequest, any, {}>>;
3938
+ /**
3939
+ * DiscountDelete 删除折扣接口
3940
+ * @param {DiscountDeleteRequest} discountDeleteRequest
3941
+ * @param {*} [options] Override http request option.
3942
+ * @throws {RequiredError}
3943
+ */
3944
+ discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountDeleteResponse, any, {}>>;
3945
+ /**
3946
+ * DiscountGet 获取折扣接口
3947
+ * @param {string} [id] @gotags: form:\&quot;id\&quot;
3948
+ * @param {*} [options] Override http request option.
3949
+ * @throws {RequiredError}
3950
+ */
3951
+ discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountGetResponse, any, {}>>;
3952
+ /**
3953
+ * DiscountList 折扣列表接口
3954
+ * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
3955
+ * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
3956
+ * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\&quot;name_prefix\&quot;
3957
+ * @param {*} [options] Override http request option.
3958
+ * @throws {RequiredError}
3959
+ */
3960
+ discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountListResponse, any, {}>>;
3961
+ /**
3962
+ * DiscountUpdate 更新折扣接口
3963
+ * @param {DiscountUpdateRequest} discountUpdateRequest
3964
+ * @param {*} [options] Override http request option.
3965
+ * @throws {RequiredError}
3966
+ */
3967
+ discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountUpdateResponse, any, {}>>;
3968
+ }
3969
+ /**
3970
+ * ProviderAdminServiceApi - axios parameter creator
3971
+ */
3972
+ export declare const ProviderAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
3973
+ /**
3974
+ * ProviderCreate 创建新的 Provider Create a new AI model provider 请求路径: POST /admin/provider/create Request path: POST /admin/provider/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
3975
+ * @param {ProviderCreateRequest} providerCreateRequest
3976
+ * @param {*} [options] Override http request option.
3977
+ * @throws {RequiredError}
3978
+ */
3979
+ providerAdminServiceProviderCreate: (providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3980
+ /**
3981
+ * ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
3982
+ * @param {ProviderDeleteRequest} providerDeleteRequest
3983
+ * @param {*} [options] Override http request option.
3984
+ * @throws {RequiredError}
3985
+ */
3986
+ providerAdminServiceProviderDelete: (providerDeleteRequest: ProviderDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3987
+ /**
3988
+ * ProviderGet 根据 ID 获取单个 Provider Retrieve a single provider by ID 请求路径: GET /admin/provider/get?id={id} Request path: GET /admin/provider/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
3989
+ * @param {string} [id] id 要获取的 Provider 的唯一标识符 Unique identifier of the provider to retrieve @gotags: form:\&quot;id\&quot; binding:\&quot;required\&quot;
3990
+ * @param {*} [options] Override http request option.
3991
+ * @throws {RequiredError}
3992
+ */
3993
+ providerAdminServiceProviderGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3994
+ /**
3995
+ * ProviderList 分页查询 Provider 列表,支持按状态和名称前缀过滤 List providers with pagination, supports filtering by status and name prefix 请求路径: GET /admin/provider/list?page={page}&page_size={page_size}&provider_status={status}&name_prefix={prefix} Request path: GET /admin/provider/list?page={page}&page_size={page_size}&provider_status={status}&name_prefix={prefix} 权限要求: 需要管理员权限 Permission: Requires admin authentication
3996
+ * @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot;
3997
+ * @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot;
3998
+ * @param {number} [providerStatus] provider_status 按状态过滤(可选) Filter by provider status (optional) 0: 返回所有状态 1: 仅返回启用的 Provider 2: 仅返回禁用的 Provider 0: return all statuses 1: return only active providers 2: return only disabled providers @gotags: form:\&quot;provider_status\&quot;
3999
+ * @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \&quot;openai\&quot; 会匹配 \&quot;openai-prod-1\&quot;, \&quot;openai-dev-1\&quot; 等 Example: \&quot;openai\&quot; matches \&quot;openai-prod-1\&quot;, \&quot;openai-dev-1\&quot;, etc. @gotags: form:\&quot;name_prefix\&quot;
4000
+ * @param {*} [options] Override http request option.
4001
+ * @throws {RequiredError}
4002
+ */
4003
+ providerAdminServiceProviderList: (page?: number, pageSize?: number, providerStatus?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4004
+ /**
4005
+ * ProviderUpdate 更新现有的 Provider Update an existing AI model provider 请求路径: POST /admin/provider/update Request path: POST /admin/provider/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
4006
+ * @param {ProviderUpdateRequest} providerUpdateRequest
4007
+ * @param {*} [options] Override http request option.
4008
+ * @throws {RequiredError}
4009
+ */
4010
+ providerAdminServiceProviderUpdate: (providerUpdateRequest: ProviderUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4011
+ };
4012
+ /**
4013
+ * ProviderAdminServiceApi - functional programming interface
4014
+ */
4015
+ export declare const ProviderAdminServiceApiFp: (configuration?: Configuration) => {
4016
+ /**
4017
+ * ProviderCreate 创建新的 Provider Create a new AI model provider 请求路径: POST /admin/provider/create Request path: POST /admin/provider/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
4018
+ * @param {ProviderCreateRequest} providerCreateRequest
4019
+ * @param {*} [options] Override http request option.
4020
+ * @throws {RequiredError}
4021
+ */
4022
+ providerAdminServiceProviderCreate(providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderCreateResponse>>;
2590
4023
  /**
2591
4024
  * ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
2592
4025
  * @param {ProviderDeleteRequest} providerDeleteRequest
@@ -2968,6 +4401,226 @@ export declare class ProviderModelAdminServiceApi extends BaseAPI implements Pro
2968
4401
  */
2969
4402
  providerModelAdminServiceProviderModelUpdate(providerModelUpdateRequest: ProviderModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelUpdateResponse, any, {}>>;
2970
4403
  }
4404
+ /**
4405
+ * RemoteConfigAdminServiceApi - axios parameter creator
4406
+ */
4407
+ export declare const RemoteConfigAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
4408
+ /**
4409
+ * RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
4410
+ * @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
4411
+ * @param {*} [options] Override http request option.
4412
+ * @throws {RequiredError}
4413
+ */
4414
+ remoteConfigAdminServiceRemoteConfigItemCreate: (remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4415
+ /**
4416
+ * RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
4417
+ * @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
4418
+ * @param {*} [options] Override http request option.
4419
+ * @throws {RequiredError}
4420
+ */
4421
+ remoteConfigAdminServiceRemoteConfigItemDelete: (remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4422
+ /**
4423
+ * RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
4424
+ * @param {string} [key] @gotags: form:\&quot;key\&quot; binding:\&quot;required\&quot;
4425
+ * @param {number} [historyLimit] @gotags: form:\&quot;history_limit\&quot;
4426
+ * @param {*} [options] Override http request option.
4427
+ * @throws {RequiredError}
4428
+ */
4429
+ remoteConfigAdminServiceRemoteConfigItemGet: (key?: string, historyLimit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4430
+ /**
4431
+ * RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
4432
+ * @param {number} [page]
4433
+ * @param {number} [pageSize]
4434
+ * @param {Array<string>} [keys]
4435
+ * @param {string} [keyword]
4436
+ * @param {*} [options] Override http request option.
4437
+ * @throws {RequiredError}
4438
+ */
4439
+ remoteConfigAdminServiceRemoteConfigItemList: (page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4440
+ /**
4441
+ * RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
4442
+ * @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
4443
+ * @param {*} [options] Override http request option.
4444
+ * @throws {RequiredError}
4445
+ */
4446
+ remoteConfigAdminServiceRemoteConfigItemUpdate: (remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4447
+ };
4448
+ /**
4449
+ * RemoteConfigAdminServiceApi - functional programming interface
4450
+ */
4451
+ export declare const RemoteConfigAdminServiceApiFp: (configuration?: Configuration) => {
4452
+ /**
4453
+ * RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
4454
+ * @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
4455
+ * @param {*} [options] Override http request option.
4456
+ * @throws {RequiredError}
4457
+ */
4458
+ remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemCreateResponse>>;
4459
+ /**
4460
+ * RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
4461
+ * @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
4462
+ * @param {*} [options] Override http request option.
4463
+ * @throws {RequiredError}
4464
+ */
4465
+ remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemDeleteResponse>>;
4466
+ /**
4467
+ * RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
4468
+ * @param {string} [key] @gotags: form:\&quot;key\&quot; binding:\&quot;required\&quot;
4469
+ * @param {number} [historyLimit] @gotags: form:\&quot;history_limit\&quot;
4470
+ * @param {*} [options] Override http request option.
4471
+ * @throws {RequiredError}
4472
+ */
4473
+ remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemGetResponse>>;
4474
+ /**
4475
+ * RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
4476
+ * @param {number} [page]
4477
+ * @param {number} [pageSize]
4478
+ * @param {Array<string>} [keys]
4479
+ * @param {string} [keyword]
4480
+ * @param {*} [options] Override http request option.
4481
+ * @throws {RequiredError}
4482
+ */
4483
+ remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemListResponse>>;
4484
+ /**
4485
+ * RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
4486
+ * @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
4487
+ * @param {*} [options] Override http request option.
4488
+ * @throws {RequiredError}
4489
+ */
4490
+ remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemUpdateResponse>>;
4491
+ };
4492
+ /**
4493
+ * RemoteConfigAdminServiceApi - factory interface
4494
+ */
4495
+ export declare const RemoteConfigAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4496
+ /**
4497
+ * RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
4498
+ * @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
4499
+ * @param {*} [options] Override http request option.
4500
+ * @throws {RequiredError}
4501
+ */
4502
+ remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemCreateResponse>;
4503
+ /**
4504
+ * RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
4505
+ * @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
4506
+ * @param {*} [options] Override http request option.
4507
+ * @throws {RequiredError}
4508
+ */
4509
+ remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemDeleteResponse>;
4510
+ /**
4511
+ * RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
4512
+ * @param {string} [key] @gotags: form:\&quot;key\&quot; binding:\&quot;required\&quot;
4513
+ * @param {number} [historyLimit] @gotags: form:\&quot;history_limit\&quot;
4514
+ * @param {*} [options] Override http request option.
4515
+ * @throws {RequiredError}
4516
+ */
4517
+ remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemGetResponse>;
4518
+ /**
4519
+ * RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
4520
+ * @param {number} [page]
4521
+ * @param {number} [pageSize]
4522
+ * @param {Array<string>} [keys]
4523
+ * @param {string} [keyword]
4524
+ * @param {*} [options] Override http request option.
4525
+ * @throws {RequiredError}
4526
+ */
4527
+ remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemListResponse>;
4528
+ /**
4529
+ * RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
4530
+ * @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
4531
+ * @param {*} [options] Override http request option.
4532
+ * @throws {RequiredError}
4533
+ */
4534
+ remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemUpdateResponse>;
4535
+ };
4536
+ /**
4537
+ * RemoteConfigAdminServiceApi - interface
4538
+ */
4539
+ export interface RemoteConfigAdminServiceApiInterface {
4540
+ /**
4541
+ * RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
4542
+ * @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
4543
+ * @param {*} [options] Override http request option.
4544
+ * @throws {RequiredError}
4545
+ */
4546
+ remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemCreateResponse>;
4547
+ /**
4548
+ * RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
4549
+ * @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
4550
+ * @param {*} [options] Override http request option.
4551
+ * @throws {RequiredError}
4552
+ */
4553
+ remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemDeleteResponse>;
4554
+ /**
4555
+ * RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
4556
+ * @param {string} [key] @gotags: form:\&quot;key\&quot; binding:\&quot;required\&quot;
4557
+ * @param {number} [historyLimit] @gotags: form:\&quot;history_limit\&quot;
4558
+ * @param {*} [options] Override http request option.
4559
+ * @throws {RequiredError}
4560
+ */
4561
+ remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemGetResponse>;
4562
+ /**
4563
+ * RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
4564
+ * @param {number} [page]
4565
+ * @param {number} [pageSize]
4566
+ * @param {Array<string>} [keys]
4567
+ * @param {string} [keyword]
4568
+ * @param {*} [options] Override http request option.
4569
+ * @throws {RequiredError}
4570
+ */
4571
+ remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemListResponse>;
4572
+ /**
4573
+ * RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
4574
+ * @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
4575
+ * @param {*} [options] Override http request option.
4576
+ * @throws {RequiredError}
4577
+ */
4578
+ remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemUpdateResponse>;
4579
+ }
4580
+ /**
4581
+ * RemoteConfigAdminServiceApi - object-oriented interface
4582
+ */
4583
+ export declare class RemoteConfigAdminServiceApi extends BaseAPI implements RemoteConfigAdminServiceApiInterface {
4584
+ /**
4585
+ * RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
4586
+ * @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
4587
+ * @param {*} [options] Override http request option.
4588
+ * @throws {RequiredError}
4589
+ */
4590
+ remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemCreateResponse, any, {}>>;
4591
+ /**
4592
+ * RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
4593
+ * @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
4594
+ * @param {*} [options] Override http request option.
4595
+ * @throws {RequiredError}
4596
+ */
4597
+ remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemDeleteResponse, any, {}>>;
4598
+ /**
4599
+ * RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
4600
+ * @param {string} [key] @gotags: form:\&quot;key\&quot; binding:\&quot;required\&quot;
4601
+ * @param {number} [historyLimit] @gotags: form:\&quot;history_limit\&quot;
4602
+ * @param {*} [options] Override http request option.
4603
+ * @throws {RequiredError}
4604
+ */
4605
+ remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemGetResponse, any, {}>>;
4606
+ /**
4607
+ * RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
4608
+ * @param {number} [page]
4609
+ * @param {number} [pageSize]
4610
+ * @param {Array<string>} [keys]
4611
+ * @param {string} [keyword]
4612
+ * @param {*} [options] Override http request option.
4613
+ * @throws {RequiredError}
4614
+ */
4615
+ remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemListResponse, any, {}>>;
4616
+ /**
4617
+ * RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
4618
+ * @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
4619
+ * @param {*} [options] Override http request option.
4620
+ * @throws {RequiredError}
4621
+ */
4622
+ remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemUpdateResponse, any, {}>>;
4623
+ }
2971
4624
  /**
2972
4625
  * UserAPIKeyServiceApi - axios parameter creator
2973
4626
  */
@@ -3193,271 +4846,6 @@ export declare class UserAPIKeyServiceApi extends BaseAPI implements UserAPIKeyS
3193
4846
  */
3194
4847
  userAPIKeyServiceUserAPIKeyUpdate(userAPIKeyUpdateRequest: UserAPIKeyUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAPIKeyUpdateResponse, any, {}>>;
3195
4848
  }
3196
- /**
3197
- * UserAuthServiceApi - axios parameter creator
3198
- */
3199
- export declare const UserAuthServiceApiAxiosParamCreator: (configuration?: Configuration) => {
3200
- /**
3201
- * 提交验证码流程
3202
- * @param {number} [authType]
3203
- * @param {number} [authAction]
3204
- * @param {string} [payloadEmailPayloadUserEmail]
3205
- * @param {string} [payloadEmailPayloadAuthCode]
3206
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3207
- * @param {string} [authAt]
3208
- * @param {string} [nonce]
3209
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
3210
- * @param {*} [options] Override http request option.
3211
- * @throws {RequiredError}
3212
- */
3213
- userAuthServiceUserAuthFlowCode: (authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3214
- /**
3215
- * 鉴权流程启动
3216
- * @param {number} [authType]
3217
- * @param {number} [authAction]
3218
- * @param {string} [payloadEmailPayloadUserEmail]
3219
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3220
- * @param {string} [payloadEmailPayloadDisplayName]
3221
- * @param {number} [payloadOauth2PayloadPlatform]
3222
- * @param {string} [authAt]
3223
- * @param {string} [nonce]
3224
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
3225
- * @param {*} [options] Override http request option.
3226
- * @throws {RequiredError}
3227
- */
3228
- userAuthServiceUserAuthFlowInit: (authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3229
- /**
3230
- * OAUTH 流程验证回调
3231
- * @param {string} [code]
3232
- * @param {string} [state]
3233
- * @param {number} [platform]
3234
- * @param {*} [options] Override http request option.
3235
- * @throws {RequiredError}
3236
- */
3237
- userAuthServiceUserAuthFlowOAuthCallback: (code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3238
- /**
3239
- * Auth Token 刷新接口
3240
- * @param {string} [refreshToken]
3241
- * @param {string} [authAt]
3242
- * @param {string} [nonce]
3243
- * @param {string} [signature]
3244
- * @param {*} [options] Override http request option.
3245
- * @throws {RequiredError}
3246
- */
3247
- userAuthServiceUserAuthFlowTokenRefresh: (refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3248
- };
3249
- /**
3250
- * UserAuthServiceApi - functional programming interface
3251
- */
3252
- export declare const UserAuthServiceApiFp: (configuration?: Configuration) => {
3253
- /**
3254
- * 提交验证码流程
3255
- * @param {number} [authType]
3256
- * @param {number} [authAction]
3257
- * @param {string} [payloadEmailPayloadUserEmail]
3258
- * @param {string} [payloadEmailPayloadAuthCode]
3259
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3260
- * @param {string} [authAt]
3261
- * @param {string} [nonce]
3262
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
3263
- * @param {*} [options] Override http request option.
3264
- * @throws {RequiredError}
3265
- */
3266
- userAuthServiceUserAuthFlowCode(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthFlowCodeResponse>>;
3267
- /**
3268
- * 鉴权流程启动
3269
- * @param {number} [authType]
3270
- * @param {number} [authAction]
3271
- * @param {string} [payloadEmailPayloadUserEmail]
3272
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3273
- * @param {string} [payloadEmailPayloadDisplayName]
3274
- * @param {number} [payloadOauth2PayloadPlatform]
3275
- * @param {string} [authAt]
3276
- * @param {string} [nonce]
3277
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
3278
- * @param {*} [options] Override http request option.
3279
- * @throws {RequiredError}
3280
- */
3281
- userAuthServiceUserAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthFlowInitResponse>>;
3282
- /**
3283
- * OAUTH 流程验证回调
3284
- * @param {string} [code]
3285
- * @param {string} [state]
3286
- * @param {number} [platform]
3287
- * @param {*} [options] Override http request option.
3288
- * @throws {RequiredError}
3289
- */
3290
- userAuthServiceUserAuthFlowOAuthCallback(code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthFlowOAuthCallbackResponse>>;
3291
- /**
3292
- * Auth Token 刷新接口
3293
- * @param {string} [refreshToken]
3294
- * @param {string} [authAt]
3295
- * @param {string} [nonce]
3296
- * @param {string} [signature]
3297
- * @param {*} [options] Override http request option.
3298
- * @throws {RequiredError}
3299
- */
3300
- userAuthServiceUserAuthFlowTokenRefresh(refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthFlowOAuthCallbackRequest>>;
3301
- };
3302
- /**
3303
- * UserAuthServiceApi - factory interface
3304
- */
3305
- export declare const UserAuthServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3306
- /**
3307
- * 提交验证码流程
3308
- * @param {number} [authType]
3309
- * @param {number} [authAction]
3310
- * @param {string} [payloadEmailPayloadUserEmail]
3311
- * @param {string} [payloadEmailPayloadAuthCode]
3312
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3313
- * @param {string} [authAt]
3314
- * @param {string} [nonce]
3315
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
3316
- * @param {*} [options] Override http request option.
3317
- * @throws {RequiredError}
3318
- */
3319
- userAuthServiceUserAuthFlowCode(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowCodeResponse>;
3320
- /**
3321
- * 鉴权流程启动
3322
- * @param {number} [authType]
3323
- * @param {number} [authAction]
3324
- * @param {string} [payloadEmailPayloadUserEmail]
3325
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3326
- * @param {string} [payloadEmailPayloadDisplayName]
3327
- * @param {number} [payloadOauth2PayloadPlatform]
3328
- * @param {string} [authAt]
3329
- * @param {string} [nonce]
3330
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
3331
- * @param {*} [options] Override http request option.
3332
- * @throws {RequiredError}
3333
- */
3334
- userAuthServiceUserAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowInitResponse>;
3335
- /**
3336
- * OAUTH 流程验证回调
3337
- * @param {string} [code]
3338
- * @param {string} [state]
3339
- * @param {number} [platform]
3340
- * @param {*} [options] Override http request option.
3341
- * @throws {RequiredError}
3342
- */
3343
- userAuthServiceUserAuthFlowOAuthCallback(code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowOAuthCallbackResponse>;
3344
- /**
3345
- * Auth Token 刷新接口
3346
- * @param {string} [refreshToken]
3347
- * @param {string} [authAt]
3348
- * @param {string} [nonce]
3349
- * @param {string} [signature]
3350
- * @param {*} [options] Override http request option.
3351
- * @throws {RequiredError}
3352
- */
3353
- userAuthServiceUserAuthFlowTokenRefresh(refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowOAuthCallbackRequest>;
3354
- };
3355
- /**
3356
- * UserAuthServiceApi - interface
3357
- */
3358
- export interface UserAuthServiceApiInterface {
3359
- /**
3360
- * 提交验证码流程
3361
- * @param {number} [authType]
3362
- * @param {number} [authAction]
3363
- * @param {string} [payloadEmailPayloadUserEmail]
3364
- * @param {string} [payloadEmailPayloadAuthCode]
3365
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3366
- * @param {string} [authAt]
3367
- * @param {string} [nonce]
3368
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
3369
- * @param {*} [options] Override http request option.
3370
- * @throws {RequiredError}
3371
- */
3372
- userAuthServiceUserAuthFlowCode(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowCodeResponse>;
3373
- /**
3374
- * 鉴权流程启动
3375
- * @param {number} [authType]
3376
- * @param {number} [authAction]
3377
- * @param {string} [payloadEmailPayloadUserEmail]
3378
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3379
- * @param {string} [payloadEmailPayloadDisplayName]
3380
- * @param {number} [payloadOauth2PayloadPlatform]
3381
- * @param {string} [authAt]
3382
- * @param {string} [nonce]
3383
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
3384
- * @param {*} [options] Override http request option.
3385
- * @throws {RequiredError}
3386
- */
3387
- userAuthServiceUserAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowInitResponse>;
3388
- /**
3389
- * OAUTH 流程验证回调
3390
- * @param {string} [code]
3391
- * @param {string} [state]
3392
- * @param {number} [platform]
3393
- * @param {*} [options] Override http request option.
3394
- * @throws {RequiredError}
3395
- */
3396
- userAuthServiceUserAuthFlowOAuthCallback(code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowOAuthCallbackResponse>;
3397
- /**
3398
- * Auth Token 刷新接口
3399
- * @param {string} [refreshToken]
3400
- * @param {string} [authAt]
3401
- * @param {string} [nonce]
3402
- * @param {string} [signature]
3403
- * @param {*} [options] Override http request option.
3404
- * @throws {RequiredError}
3405
- */
3406
- userAuthServiceUserAuthFlowTokenRefresh(refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowOAuthCallbackRequest>;
3407
- }
3408
- /**
3409
- * UserAuthServiceApi - object-oriented interface
3410
- */
3411
- export declare class UserAuthServiceApi extends BaseAPI implements UserAuthServiceApiInterface {
3412
- /**
3413
- * 提交验证码流程
3414
- * @param {number} [authType]
3415
- * @param {number} [authAction]
3416
- * @param {string} [payloadEmailPayloadUserEmail]
3417
- * @param {string} [payloadEmailPayloadAuthCode]
3418
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3419
- * @param {string} [authAt]
3420
- * @param {string} [nonce]
3421
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
3422
- * @param {*} [options] Override http request option.
3423
- * @throws {RequiredError}
3424
- */
3425
- userAuthServiceUserAuthFlowCode(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAuthFlowCodeResponse, any, {}>>;
3426
- /**
3427
- * 鉴权流程启动
3428
- * @param {number} [authType]
3429
- * @param {number} [authAction]
3430
- * @param {string} [payloadEmailPayloadUserEmail]
3431
- * @param {string} [payloadEmailPayloadUserPasswordEncrypt]
3432
- * @param {string} [payloadEmailPayloadDisplayName]
3433
- * @param {number} [payloadOauth2PayloadPlatform]
3434
- * @param {string} [authAt]
3435
- * @param {string} [nonce]
3436
- * @param {string} [signature] 加密方式: step1: 拼接一个字符串: s &#x3D; \&quot;cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\&quot; step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType&#x3D;Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType&#x3D;OAuth2: * Platform )
3437
- * @param {*} [options] Override http request option.
3438
- * @throws {RequiredError}
3439
- */
3440
- userAuthServiceUserAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAuthFlowInitResponse, any, {}>>;
3441
- /**
3442
- * OAUTH 流程验证回调
3443
- * @param {string} [code]
3444
- * @param {string} [state]
3445
- * @param {number} [platform]
3446
- * @param {*} [options] Override http request option.
3447
- * @throws {RequiredError}
3448
- */
3449
- userAuthServiceUserAuthFlowOAuthCallback(code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAuthFlowOAuthCallbackResponse, any, {}>>;
3450
- /**
3451
- * Auth Token 刷新接口
3452
- * @param {string} [refreshToken]
3453
- * @param {string} [authAt]
3454
- * @param {string} [nonce]
3455
- * @param {string} [signature]
3456
- * @param {*} [options] Override http request option.
3457
- * @throws {RequiredError}
3458
- */
3459
- userAuthServiceUserAuthFlowTokenRefresh(refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAuthFlowOAuthCallbackRequest, any, {}>>;
3460
- }
3461
4849
  /**
3462
4850
  * UserBalanceServiceApi - axios parameter creator
3463
4851
  */
@@ -4060,11 +5448,14 @@ export declare const UserPayServiceApiAxiosParamCreator: (configuration?: Config
4060
5448
  /**
4061
5449
  *
4062
5450
  * @param {string} [currencyCode]
4063
- * @param {number} [chargeAmount]
5451
+ * @param {string} [chargeAmount]
5452
+ * @param {boolean} [redirect]
5453
+ * @param {string} [successUrl]
5454
+ * @param {string} [cancelUrl]
4064
5455
  * @param {*} [options] Override http request option.
4065
5456
  * @throws {RequiredError}
4066
5457
  */
4067
- userPayServiceUserPayStripeCheckout: (currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5458
+ userPayServiceUserPayStripeCheckout: (currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4068
5459
  };
4069
5460
  /**
4070
5461
  * UserPayServiceApi - functional programming interface
@@ -4073,11 +5464,14 @@ export declare const UserPayServiceApiFp: (configuration?: Configuration) => {
4073
5464
  /**
4074
5465
  *
4075
5466
  * @param {string} [currencyCode]
4076
- * @param {number} [chargeAmount]
5467
+ * @param {string} [chargeAmount]
5468
+ * @param {boolean} [redirect]
5469
+ * @param {string} [successUrl]
5470
+ * @param {string} [cancelUrl]
4077
5471
  * @param {*} [options] Override http request option.
4078
5472
  * @throws {RequiredError}
4079
5473
  */
4080
- userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPayStripeCheckoutResponse>>;
5474
+ userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPayStripeCheckoutResponse>>;
4081
5475
  };
4082
5476
  /**
4083
5477
  * UserPayServiceApi - factory interface
@@ -4086,11 +5480,14 @@ export declare const UserPayServiceApiFactory: (configuration?: Configuration, b
4086
5480
  /**
4087
5481
  *
4088
5482
  * @param {string} [currencyCode]
4089
- * @param {number} [chargeAmount]
5483
+ * @param {string} [chargeAmount]
5484
+ * @param {boolean} [redirect]
5485
+ * @param {string} [successUrl]
5486
+ * @param {string} [cancelUrl]
4090
5487
  * @param {*} [options] Override http request option.
4091
5488
  * @throws {RequiredError}
4092
5489
  */
4093
- userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
5490
+ userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
4094
5491
  };
4095
5492
  /**
4096
5493
  * UserPayServiceApi - interface
@@ -4099,11 +5496,14 @@ export interface UserPayServiceApiInterface {
4099
5496
  /**
4100
5497
  *
4101
5498
  * @param {string} [currencyCode]
4102
- * @param {number} [chargeAmount]
5499
+ * @param {string} [chargeAmount]
5500
+ * @param {boolean} [redirect]
5501
+ * @param {string} [successUrl]
5502
+ * @param {string} [cancelUrl]
4103
5503
  * @param {*} [options] Override http request option.
4104
5504
  * @throws {RequiredError}
4105
5505
  */
4106
- userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
5506
+ userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
4107
5507
  }
4108
5508
  /**
4109
5509
  * UserPayServiceApi - object-oriented interface
@@ -4112,11 +5512,14 @@ export declare class UserPayServiceApi extends BaseAPI implements UserPayService
4112
5512
  /**
4113
5513
  *
4114
5514
  * @param {string} [currencyCode]
4115
- * @param {number} [chargeAmount]
5515
+ * @param {string} [chargeAmount]
5516
+ * @param {boolean} [redirect]
5517
+ * @param {string} [successUrl]
5518
+ * @param {string} [cancelUrl]
4116
5519
  * @param {*} [options] Override http request option.
4117
5520
  * @throws {RequiredError}
4118
5521
  */
4119
- userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPayStripeCheckoutResponse, any, {}>>;
5522
+ userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPayStripeCheckoutResponse, any, {}>>;
4120
5523
  }
4121
5524
  /**
4122
5525
  * UserPoralServiceApi - axios parameter creator