@cherryin/api-client 0.0.16 → 0.0.18
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.
- package/.openapi-generator/FILES +4 -60
- package/README.md +8 -93
- package/api.ts +325 -3001
- package/dist/api.d.ts +348 -1804
- package/dist/api.js +130 -2094
- package/dist/esm/api.d.ts +348 -1804
- package/dist/esm/api.js +128 -2084
- package/docs/PassportAuthUserServiceApi.md +109 -1
- package/docs/PassportUserPasswordForgetRequest.md +24 -0
- package/docs/{AuthSignOutResponse.md → PassportUserPasswordForgetResponse.md} +3 -5
- package/docs/PassportUserPasswordResetRequest.md +2 -0
- package/docs/PassportUserPasswordResetTokenVerifyRequest.md +22 -0
- package/docs/{AuthAdminSignOutResponse.md → PassportUserPasswordResetTokenVerifyResponse.md} +7 -5
- package/package.json +1 -1
- package/docs/Auth2Account.md +0 -33
- package/docs/Auth2Admin.md +0 -33
- package/docs/Auth2AdminServiceApi.md +0 -469
- package/docs/Auth2AdminSession.md +0 -35
- package/docs/Auth2IdToken.md +0 -29
- package/docs/Auth2Session.md +0 -35
- package/docs/Auth2User.md +0 -33
- package/docs/Auth2UserServiceApi.md +0 -1261
- package/docs/AuthAdminChangePasswordRequest.md +0 -24
- package/docs/AuthAdminChangePasswordResponse.md +0 -26
- package/docs/AuthAdminGetSessionResponse.md +0 -26
- package/docs/AuthAdminListSessionsResponse.md +0 -24
- package/docs/AuthAdminRevokeOtherSessionsResponse.md +0 -24
- package/docs/AuthAdminRevokeSessionRequest.md +0 -20
- package/docs/AuthAdminRevokeSessionResponse.md +0 -24
- package/docs/AuthAdminRevokeSessionsResponse.md +0 -24
- package/docs/AuthAdminSignInEmailRequest.md +0 -26
- package/docs/AuthAdminSignInEmailResponse.md +0 -26
- package/docs/AuthAdminUpdateUserRequest.md +0 -22
- package/docs/AuthAdminUpdateUserResponse.md +0 -24
- package/docs/AuthChangeEmailRequest.md +0 -22
- package/docs/AuthChangeEmailResponse.md +0 -26
- package/docs/AuthChangePasswordRequest.md +0 -24
- package/docs/AuthChangePasswordResponse.md +0 -26
- package/docs/AuthDeleteUserRequest.md +0 -24
- package/docs/AuthDeleteUserResponse.md +0 -24
- package/docs/AuthGetAccessTokenRequest.md +0 -24
- package/docs/AuthGetAccessTokenResponse.md +0 -34
- package/docs/AuthGetAccountInfoResponse.md +0 -24
- package/docs/AuthGetSessionResponse.md +0 -26
- package/docs/AuthLinkSocialRequest.md +0 -30
- package/docs/AuthLinkSocialResponse.md +0 -28
- package/docs/AuthListAccountsResponse.md +0 -24
- package/docs/AuthListSessionsResponse.md +0 -24
- package/docs/AuthOAuth2CallbackResponse.md +0 -32
- package/docs/AuthRefreshTokenRequest.md +0 -24
- package/docs/AuthRefreshTokenResponse.md +0 -34
- package/docs/AuthRequestPasswordResetRequest.md +0 -22
- package/docs/AuthRequestPasswordResetResponse.md +0 -24
- package/docs/AuthResetPasswordRequest.md +0 -22
- package/docs/AuthResetPasswordResponse.md +0 -24
- package/docs/AuthRevokeOtherSessionsResponse.md +0 -24
- package/docs/AuthRevokeSessionRequest.md +0 -20
- package/docs/AuthRevokeSessionResponse.md +0 -24
- package/docs/AuthRevokeSessionsResponse.md +0 -24
- package/docs/AuthSendVerificationEmailRequest.md +0 -22
- package/docs/AuthSendVerificationEmailResponse.md +0 -24
- package/docs/AuthSignInEmailRequest.md +0 -26
- package/docs/AuthSignInEmailResponse.md +0 -30
- package/docs/AuthSignInSocialRequest.md +0 -30
- package/docs/AuthSignInSocialResponse.md +0 -30
- package/docs/AuthSignUpEmailRequest.md +0 -32
- package/docs/AuthSignUpEmailResponse.md +0 -28
- package/docs/AuthUnlinkAccountRequest.md +0 -22
- package/docs/AuthUnlinkAccountResponse.md +0 -24
- package/docs/AuthUpdateUserRequest.md +0 -22
- package/docs/AuthUpdateUserResponse.md +0 -24
- package/docs/AuthVerifyEmailResponse.md +0 -24
package/dist/esm/api.d.ts
CHANGED
|
@@ -509,118 +509,6 @@ export interface AudioPricing {
|
|
|
509
509
|
[key: string]: string;
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
|
-
/**
|
|
513
|
-
* 关联账号信息 (映射 db.UserAuthMethod)
|
|
514
|
-
*/
|
|
515
|
-
export interface Auth2Account {
|
|
516
|
-
'id'?: string;
|
|
517
|
-
'account_id'?: string;
|
|
518
|
-
'provider_id'?: string;
|
|
519
|
-
'user_id'?: string;
|
|
520
|
-
'created_at'?: string;
|
|
521
|
-
'updated_at'?: string;
|
|
522
|
-
'scopes'?: Array<string>;
|
|
523
|
-
}
|
|
524
|
-
/**
|
|
525
|
-
* 管理员用户信息 (映射 db.User,包含角色信息)
|
|
526
|
-
*/
|
|
527
|
-
export interface Auth2Admin {
|
|
528
|
-
'id'?: string;
|
|
529
|
-
'name'?: string;
|
|
530
|
-
'email'?: string;
|
|
531
|
-
'image'?: string;
|
|
532
|
-
'role'?: number;
|
|
533
|
-
'created_at'?: string;
|
|
534
|
-
'updated_at'?: string;
|
|
535
|
-
}
|
|
536
|
-
/**
|
|
537
|
-
* 管理员会话信息 (映射 db.UserSession)
|
|
538
|
-
*/
|
|
539
|
-
export interface Auth2AdminSession {
|
|
540
|
-
'id'?: string;
|
|
541
|
-
'token'?: string;
|
|
542
|
-
'expires_at'?: string;
|
|
543
|
-
'created_at'?: string;
|
|
544
|
-
'updated_at'?: string;
|
|
545
|
-
'ip_address'?: string;
|
|
546
|
-
'user_agent'?: string;
|
|
547
|
-
'user_id'?: string;
|
|
548
|
-
}
|
|
549
|
-
/**
|
|
550
|
-
* 社交登录 ID Token
|
|
551
|
-
*/
|
|
552
|
-
export interface Auth2IdToken {
|
|
553
|
-
'token'?: string;
|
|
554
|
-
'nonce'?: string;
|
|
555
|
-
'access_token'?: string;
|
|
556
|
-
'refresh_token'?: string;
|
|
557
|
-
'expires_at'?: string;
|
|
558
|
-
}
|
|
559
|
-
/**
|
|
560
|
-
* 会话信息 (映射 db.UserSession)
|
|
561
|
-
*/
|
|
562
|
-
export interface Auth2Session {
|
|
563
|
-
'id'?: string;
|
|
564
|
-
'token'?: string;
|
|
565
|
-
'expires_at'?: string;
|
|
566
|
-
'created_at'?: string;
|
|
567
|
-
'updated_at'?: string;
|
|
568
|
-
'ip_address'?: string;
|
|
569
|
-
'user_agent'?: string;
|
|
570
|
-
'user_id'?: string;
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* 用户信息
|
|
574
|
-
*/
|
|
575
|
-
export interface Auth2User {
|
|
576
|
-
'id'?: string;
|
|
577
|
-
'name'?: string;
|
|
578
|
-
'email'?: string;
|
|
579
|
-
'email_verified'?: boolean;
|
|
580
|
-
'image'?: string;
|
|
581
|
-
'created_at'?: string;
|
|
582
|
-
'updated_at'?: string;
|
|
583
|
-
}
|
|
584
|
-
export interface AuthAdminChangePasswordRequest {
|
|
585
|
-
'new_password'?: string;
|
|
586
|
-
'current_password'?: string;
|
|
587
|
-
'revoke_other_sessions'?: boolean;
|
|
588
|
-
}
|
|
589
|
-
export interface AuthAdminChangePasswordResponse {
|
|
590
|
-
'code'?: string;
|
|
591
|
-
'message'?: string;
|
|
592
|
-
'token'?: string;
|
|
593
|
-
'user'?: Auth2Admin;
|
|
594
|
-
}
|
|
595
|
-
export interface AuthAdminGetSessionResponse {
|
|
596
|
-
'code'?: string;
|
|
597
|
-
'message'?: string;
|
|
598
|
-
'session'?: Auth2AdminSession;
|
|
599
|
-
'user'?: Auth2Admin;
|
|
600
|
-
}
|
|
601
|
-
export interface AuthAdminListSessionsResponse {
|
|
602
|
-
'code'?: string;
|
|
603
|
-
'message'?: string;
|
|
604
|
-
'sessions'?: Array<Auth2AdminSession>;
|
|
605
|
-
}
|
|
606
|
-
export interface AuthAdminRevokeOtherSessionsResponse {
|
|
607
|
-
'code'?: string;
|
|
608
|
-
'message'?: string;
|
|
609
|
-
'status'?: boolean;
|
|
610
|
-
}
|
|
611
|
-
export interface AuthAdminRevokeSessionRequest {
|
|
612
|
-
'token'?: string;
|
|
613
|
-
}
|
|
614
|
-
export interface AuthAdminRevokeSessionResponse {
|
|
615
|
-
'code'?: string;
|
|
616
|
-
'message'?: string;
|
|
617
|
-
'status'?: boolean;
|
|
618
|
-
}
|
|
619
|
-
export interface AuthAdminRevokeSessionsResponse {
|
|
620
|
-
'code'?: string;
|
|
621
|
-
'message'?: string;
|
|
622
|
-
'status'?: boolean;
|
|
623
|
-
}
|
|
624
512
|
/**
|
|
625
513
|
* 管理员会话信息 (映射 db.UserSession)
|
|
626
514
|
*/
|
|
@@ -636,32 +524,6 @@ export interface AuthAdminSession {
|
|
|
636
524
|
'aid'?: string;
|
|
637
525
|
'uid'?: string;
|
|
638
526
|
}
|
|
639
|
-
export interface AuthAdminSignInEmailRequest {
|
|
640
|
-
'email'?: string;
|
|
641
|
-
'password'?: string;
|
|
642
|
-
'session_type'?: string;
|
|
643
|
-
'remember_me'?: boolean;
|
|
644
|
-
}
|
|
645
|
-
export interface AuthAdminSignInEmailResponse {
|
|
646
|
-
'code'?: string;
|
|
647
|
-
'message'?: string;
|
|
648
|
-
'token'?: string;
|
|
649
|
-
'user'?: Auth2Admin;
|
|
650
|
-
}
|
|
651
|
-
export interface AuthAdminSignOutResponse {
|
|
652
|
-
'code'?: string;
|
|
653
|
-
'message'?: string;
|
|
654
|
-
'success'?: boolean;
|
|
655
|
-
}
|
|
656
|
-
export interface AuthAdminUpdateUserRequest {
|
|
657
|
-
'name'?: string;
|
|
658
|
-
'image'?: string;
|
|
659
|
-
}
|
|
660
|
-
export interface AuthAdminUpdateUserResponse {
|
|
661
|
-
'code'?: string;
|
|
662
|
-
'message'?: string;
|
|
663
|
-
'user'?: Auth2Admin;
|
|
664
|
-
}
|
|
665
527
|
/**
|
|
666
528
|
* 管理员用户信息 (映射 db.User,包含角色信息)
|
|
667
529
|
*/
|
|
@@ -674,37 +536,6 @@ export interface AuthAdminUser {
|
|
|
674
536
|
'created_at'?: string;
|
|
675
537
|
'updated_at'?: string;
|
|
676
538
|
}
|
|
677
|
-
export interface AuthChangeEmailRequest {
|
|
678
|
-
'new_email'?: string;
|
|
679
|
-
'callback_url'?: string;
|
|
680
|
-
}
|
|
681
|
-
export interface AuthChangeEmailResponse {
|
|
682
|
-
'code'?: string;
|
|
683
|
-
'message'?: string;
|
|
684
|
-
'user'?: Auth2User;
|
|
685
|
-
'status'?: boolean;
|
|
686
|
-
}
|
|
687
|
-
export interface AuthChangePasswordRequest {
|
|
688
|
-
'new_password'?: string;
|
|
689
|
-
'current_password'?: string;
|
|
690
|
-
'revoke_other_sessions'?: boolean;
|
|
691
|
-
}
|
|
692
|
-
export interface AuthChangePasswordResponse {
|
|
693
|
-
'code'?: string;
|
|
694
|
-
'message'?: string;
|
|
695
|
-
'token'?: string;
|
|
696
|
-
'user'?: Auth2User;
|
|
697
|
-
}
|
|
698
|
-
export interface AuthDeleteUserRequest {
|
|
699
|
-
'callback_url'?: string;
|
|
700
|
-
'password'?: string;
|
|
701
|
-
'token'?: string;
|
|
702
|
-
}
|
|
703
|
-
export interface AuthDeleteUserResponse {
|
|
704
|
-
'code'?: string;
|
|
705
|
-
'message'?: string;
|
|
706
|
-
'success'?: boolean;
|
|
707
|
-
}
|
|
708
539
|
/**
|
|
709
540
|
* 企业认证材料信息
|
|
710
541
|
*/
|
|
@@ -766,32 +597,6 @@ export interface AuthEnterpriseUser {
|
|
|
766
597
|
'phone_verified_at'?: string;
|
|
767
598
|
'materials'?: AuthEnterpriseMaterials;
|
|
768
599
|
}
|
|
769
|
-
export interface AuthGetAccessTokenRequest {
|
|
770
|
-
'provider_id'?: string;
|
|
771
|
-
'account_id'?: string;
|
|
772
|
-
'user_id'?: string;
|
|
773
|
-
}
|
|
774
|
-
export interface AuthGetAccessTokenResponse {
|
|
775
|
-
'code'?: string;
|
|
776
|
-
'message'?: string;
|
|
777
|
-
'token_type'?: string;
|
|
778
|
-
'id_token'?: string;
|
|
779
|
-
'access_token'?: string;
|
|
780
|
-
'refresh_token'?: string;
|
|
781
|
-
'access_token_expires_at'?: string;
|
|
782
|
-
'refresh_token_expires_at'?: string;
|
|
783
|
-
}
|
|
784
|
-
export interface AuthGetAccountInfoResponse {
|
|
785
|
-
'code'?: string;
|
|
786
|
-
'message'?: string;
|
|
787
|
-
'user'?: Auth2User;
|
|
788
|
-
}
|
|
789
|
-
export interface AuthGetSessionResponse {
|
|
790
|
-
'code'?: string;
|
|
791
|
-
'message'?: string;
|
|
792
|
-
'session'?: Auth2Session;
|
|
793
|
-
'user'?: Auth2User;
|
|
794
|
-
}
|
|
795
600
|
/**
|
|
796
601
|
* 社交登录 ID Token
|
|
797
602
|
*/
|
|
@@ -802,40 +607,6 @@ export interface AuthIdToken {
|
|
|
802
607
|
'refresh_token'?: string;
|
|
803
608
|
'expires_at'?: string;
|
|
804
609
|
}
|
|
805
|
-
export interface AuthLinkSocialRequest {
|
|
806
|
-
'provider'?: string;
|
|
807
|
-
'callback_url'?: string;
|
|
808
|
-
'error_callback_url'?: string;
|
|
809
|
-
'disable_redirect'?: boolean;
|
|
810
|
-
'id_token'?: Auth2IdToken;
|
|
811
|
-
'scopes'?: Array<string>;
|
|
812
|
-
}
|
|
813
|
-
export interface AuthLinkSocialResponse {
|
|
814
|
-
'code'?: string;
|
|
815
|
-
'message'?: string;
|
|
816
|
-
'url'?: string;
|
|
817
|
-
'redirect'?: boolean;
|
|
818
|
-
'status'?: boolean;
|
|
819
|
-
}
|
|
820
|
-
export interface AuthListAccountsResponse {
|
|
821
|
-
'code'?: string;
|
|
822
|
-
'message'?: string;
|
|
823
|
-
'accounts'?: Array<Auth2Account>;
|
|
824
|
-
}
|
|
825
|
-
export interface AuthListSessionsResponse {
|
|
826
|
-
'code'?: string;
|
|
827
|
-
'message'?: string;
|
|
828
|
-
'sessions'?: Array<Auth2Session>;
|
|
829
|
-
}
|
|
830
|
-
export interface AuthOAuth2CallbackResponse {
|
|
831
|
-
'code'?: string;
|
|
832
|
-
'message'?: string;
|
|
833
|
-
'token'?: string;
|
|
834
|
-
'url'?: string;
|
|
835
|
-
'redirect'?: boolean;
|
|
836
|
-
'user'?: Auth2User;
|
|
837
|
-
'is_linked'?: boolean;
|
|
838
|
-
}
|
|
839
610
|
/**
|
|
840
611
|
* 通行证信息 (映射 db.Passport)
|
|
841
612
|
*/
|
|
@@ -849,214 +620,80 @@ export interface AuthPassport {
|
|
|
849
620
|
'email_verified_at'?: string;
|
|
850
621
|
'phone_verified_at'?: string;
|
|
851
622
|
}
|
|
852
|
-
|
|
623
|
+
/**
|
|
624
|
+
* 用户信息
|
|
625
|
+
*/
|
|
626
|
+
export interface AuthUser {
|
|
627
|
+
'uid'?: string;
|
|
628
|
+
'app_id'?: string;
|
|
629
|
+
'aid'?: string;
|
|
630
|
+
'name'?: string;
|
|
631
|
+
'email'?: string;
|
|
632
|
+
'phone'?: string;
|
|
633
|
+
'avatar_url'?: string;
|
|
634
|
+
'register_at'?: string;
|
|
635
|
+
'email_verified_at'?: string;
|
|
636
|
+
'phone_verified_at'?: string;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* 关联账号信息 (映射 db.UserAuthMethod)
|
|
640
|
+
*/
|
|
641
|
+
export interface AuthUserMethod {
|
|
642
|
+
'app_id'?: string;
|
|
643
|
+
'aid'?: string;
|
|
644
|
+
'uid'?: string;
|
|
853
645
|
'provider_id'?: string;
|
|
854
|
-
'
|
|
855
|
-
'
|
|
646
|
+
'email'?: string;
|
|
647
|
+
'phone'?: string;
|
|
648
|
+
'oauth_account_id'?: string;
|
|
649
|
+
'oauth_scopes'?: Array<string>;
|
|
650
|
+
'created_at'?: string;
|
|
651
|
+
'updated_at'?: string;
|
|
856
652
|
}
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
'
|
|
862
|
-
'access_token'?: string;
|
|
653
|
+
/**
|
|
654
|
+
* 会话信息 (映射 db.UserSession)
|
|
655
|
+
*/
|
|
656
|
+
export interface AuthUserSession {
|
|
657
|
+
'session_token'?: string;
|
|
863
658
|
'refresh_token'?: string;
|
|
864
|
-
'
|
|
865
|
-
'
|
|
659
|
+
'session_expires_at'?: string;
|
|
660
|
+
'refresh_expires_at'?: string;
|
|
661
|
+
'app_id'?: string;
|
|
662
|
+
'aid'?: string;
|
|
663
|
+
'uid'?: string;
|
|
664
|
+
'created_at'?: string;
|
|
665
|
+
'updated_at'?: string;
|
|
666
|
+
'ip'?: string;
|
|
667
|
+
'user_agent'?: string;
|
|
866
668
|
}
|
|
867
|
-
export interface
|
|
868
|
-
'
|
|
869
|
-
'
|
|
669
|
+
export interface BatchUpdateSessionsRequest {
|
|
670
|
+
'uid'?: string;
|
|
671
|
+
'session_ids'?: Array<string>;
|
|
672
|
+
'action'?: number;
|
|
870
673
|
}
|
|
871
|
-
export interface
|
|
674
|
+
export interface BatchUpdateSessionsResponse {
|
|
872
675
|
'code'?: string;
|
|
873
676
|
'message'?: string;
|
|
874
|
-
'
|
|
677
|
+
'affected_count'?: number;
|
|
875
678
|
}
|
|
876
|
-
export interface
|
|
877
|
-
'
|
|
878
|
-
'
|
|
679
|
+
export interface ConfigItem {
|
|
680
|
+
'id'?: string;
|
|
681
|
+
'service'?: string;
|
|
682
|
+
'key'?: string;
|
|
683
|
+
'env'?: string;
|
|
684
|
+
'values'?: {
|
|
685
|
+
[key: string]: any;
|
|
686
|
+
};
|
|
687
|
+
'payload'?: {
|
|
688
|
+
[key: string]: any;
|
|
689
|
+
};
|
|
690
|
+
'createdAt'?: string;
|
|
691
|
+
'updatedAt'?: string;
|
|
692
|
+
'deletedAt'?: string;
|
|
879
693
|
}
|
|
880
|
-
export interface
|
|
881
|
-
'
|
|
882
|
-
'
|
|
883
|
-
'status'?: boolean;
|
|
884
|
-
}
|
|
885
|
-
export interface AuthRevokeOtherSessionsResponse {
|
|
886
|
-
'code'?: string;
|
|
887
|
-
'message'?: string;
|
|
888
|
-
'status'?: boolean;
|
|
889
|
-
}
|
|
890
|
-
export interface AuthRevokeSessionRequest {
|
|
891
|
-
'token'?: string;
|
|
892
|
-
}
|
|
893
|
-
export interface AuthRevokeSessionResponse {
|
|
894
|
-
'code'?: string;
|
|
895
|
-
'message'?: string;
|
|
896
|
-
'status'?: boolean;
|
|
897
|
-
}
|
|
898
|
-
export interface AuthRevokeSessionsResponse {
|
|
899
|
-
'code'?: string;
|
|
900
|
-
'message'?: string;
|
|
901
|
-
'status'?: boolean;
|
|
902
|
-
}
|
|
903
|
-
export interface AuthSendVerificationEmailRequest {
|
|
904
|
-
'email'?: string;
|
|
905
|
-
'callback_url'?: string;
|
|
906
|
-
}
|
|
907
|
-
export interface AuthSendVerificationEmailResponse {
|
|
908
|
-
'code'?: string;
|
|
909
|
-
'message'?: string;
|
|
910
|
-
'status'?: boolean;
|
|
911
|
-
}
|
|
912
|
-
export interface AuthSignInEmailRequest {
|
|
913
|
-
'email'?: string;
|
|
914
|
-
'password'?: string;
|
|
915
|
-
'callback_url'?: string;
|
|
916
|
-
'remember_me'?: boolean;
|
|
917
|
-
}
|
|
918
|
-
export interface AuthSignInEmailResponse {
|
|
919
|
-
'code'?: string;
|
|
920
|
-
'message'?: string;
|
|
921
|
-
'redirect'?: boolean;
|
|
922
|
-
'token'?: string;
|
|
923
|
-
'url'?: string;
|
|
924
|
-
'user'?: Auth2User;
|
|
925
|
-
}
|
|
926
|
-
export interface AuthSignInSocialRequest {
|
|
927
|
-
'provider'?: string;
|
|
928
|
-
'callback_url'?: string;
|
|
929
|
-
'error_callback_url'?: string;
|
|
930
|
-
'disable_redirect'?: boolean;
|
|
931
|
-
'id_token'?: Auth2IdToken;
|
|
932
|
-
'scopes'?: Array<string>;
|
|
933
|
-
}
|
|
934
|
-
export interface AuthSignInSocialResponse {
|
|
935
|
-
'code'?: string;
|
|
936
|
-
'message'?: string;
|
|
937
|
-
'redirect'?: boolean;
|
|
938
|
-
'token'?: string;
|
|
939
|
-
'url'?: string;
|
|
940
|
-
'user'?: Auth2User;
|
|
941
|
-
}
|
|
942
|
-
export interface AuthSignOutResponse {
|
|
943
|
-
'code'?: string;
|
|
944
|
-
'message'?: string;
|
|
945
|
-
'success'?: boolean;
|
|
946
|
-
}
|
|
947
|
-
export interface AuthSignUpEmailRequest {
|
|
948
|
-
'name'?: string;
|
|
949
|
-
'email'?: string;
|
|
950
|
-
'password'?: string;
|
|
951
|
-
'image'?: string;
|
|
952
|
-
'callback_url'?: string;
|
|
953
|
-
'remember_me'?: boolean;
|
|
954
|
-
'disable_redirect'?: boolean;
|
|
955
|
-
}
|
|
956
|
-
export interface AuthSignUpEmailResponse {
|
|
957
|
-
'code'?: string;
|
|
958
|
-
'message'?: string;
|
|
959
|
-
'redirect'?: boolean;
|
|
960
|
-
'url'?: string;
|
|
961
|
-
'user'?: Auth2User;
|
|
962
|
-
}
|
|
963
|
-
export interface AuthUnlinkAccountRequest {
|
|
964
|
-
'provider_id'?: string;
|
|
965
|
-
'account_id'?: string;
|
|
966
|
-
}
|
|
967
|
-
export interface AuthUnlinkAccountResponse {
|
|
968
|
-
'code'?: string;
|
|
969
|
-
'message'?: string;
|
|
970
|
-
'status'?: boolean;
|
|
971
|
-
}
|
|
972
|
-
export interface AuthUpdateUserRequest {
|
|
973
|
-
'name'?: string;
|
|
974
|
-
'image'?: string;
|
|
975
|
-
}
|
|
976
|
-
export interface AuthUpdateUserResponse {
|
|
977
|
-
'code'?: string;
|
|
978
|
-
'message'?: string;
|
|
979
|
-
'user'?: Auth2User;
|
|
980
|
-
}
|
|
981
|
-
/**
|
|
982
|
-
* 用户信息
|
|
983
|
-
*/
|
|
984
|
-
export interface AuthUser {
|
|
985
|
-
'uid'?: string;
|
|
986
|
-
'app_id'?: string;
|
|
987
|
-
'aid'?: string;
|
|
988
|
-
'name'?: string;
|
|
989
|
-
'email'?: string;
|
|
990
|
-
'phone'?: string;
|
|
991
|
-
'avatar_url'?: string;
|
|
992
|
-
'register_at'?: string;
|
|
993
|
-
'email_verified_at'?: string;
|
|
994
|
-
'phone_verified_at'?: string;
|
|
995
|
-
}
|
|
996
|
-
/**
|
|
997
|
-
* 关联账号信息 (映射 db.UserAuthMethod)
|
|
998
|
-
*/
|
|
999
|
-
export interface AuthUserMethod {
|
|
1000
|
-
'app_id'?: string;
|
|
1001
|
-
'aid'?: string;
|
|
1002
|
-
'uid'?: string;
|
|
1003
|
-
'provider_id'?: string;
|
|
1004
|
-
'email'?: string;
|
|
1005
|
-
'phone'?: string;
|
|
1006
|
-
'oauth_account_id'?: string;
|
|
1007
|
-
'oauth_scopes'?: Array<string>;
|
|
1008
|
-
'created_at'?: string;
|
|
1009
|
-
'updated_at'?: string;
|
|
1010
|
-
}
|
|
1011
|
-
/**
|
|
1012
|
-
* 会话信息 (映射 db.UserSession)
|
|
1013
|
-
*/
|
|
1014
|
-
export interface AuthUserSession {
|
|
1015
|
-
'session_token'?: string;
|
|
1016
|
-
'refresh_token'?: string;
|
|
1017
|
-
'session_expires_at'?: string;
|
|
1018
|
-
'refresh_expires_at'?: string;
|
|
1019
|
-
'app_id'?: string;
|
|
1020
|
-
'aid'?: string;
|
|
1021
|
-
'uid'?: string;
|
|
1022
|
-
'created_at'?: string;
|
|
1023
|
-
'updated_at'?: string;
|
|
1024
|
-
'ip'?: string;
|
|
1025
|
-
'user_agent'?: string;
|
|
1026
|
-
}
|
|
1027
|
-
export interface AuthVerifyEmailResponse {
|
|
1028
|
-
'code'?: string;
|
|
1029
|
-
'message'?: string;
|
|
1030
|
-
'user'?: Auth2User;
|
|
1031
|
-
}
|
|
1032
|
-
export interface BatchUpdateSessionsRequest {
|
|
1033
|
-
'uid'?: string;
|
|
1034
|
-
'session_ids'?: Array<string>;
|
|
1035
|
-
'action'?: number;
|
|
1036
|
-
}
|
|
1037
|
-
export interface BatchUpdateSessionsResponse {
|
|
1038
|
-
'code'?: string;
|
|
1039
|
-
'message'?: string;
|
|
1040
|
-
'affected_count'?: number;
|
|
1041
|
-
}
|
|
1042
|
-
export interface ConfigItem {
|
|
1043
|
-
'id'?: string;
|
|
1044
|
-
'service'?: string;
|
|
1045
|
-
'key'?: string;
|
|
1046
|
-
'env'?: string;
|
|
1047
|
-
'values'?: {
|
|
1048
|
-
[key: string]: any;
|
|
1049
|
-
};
|
|
1050
|
-
'payload'?: {
|
|
1051
|
-
[key: string]: any;
|
|
1052
|
-
};
|
|
1053
|
-
'createdAt'?: string;
|
|
1054
|
-
'updatedAt'?: string;
|
|
1055
|
-
'deletedAt'?: string;
|
|
1056
|
-
}
|
|
1057
|
-
export interface ConfigItemHistory {
|
|
1058
|
-
'item'?: ConfigItem;
|
|
1059
|
-
'history'?: Array<ConfigItem>;
|
|
694
|
+
export interface ConfigItemHistory {
|
|
695
|
+
'item'?: ConfigItem;
|
|
696
|
+
'history'?: Array<ConfigItem>;
|
|
1060
697
|
}
|
|
1061
698
|
export interface DiscountCreateRequest {
|
|
1062
699
|
'name'?: string;
|
|
@@ -2260,6 +1897,21 @@ export interface PassportUserOAuthCallbackResponse {
|
|
|
2260
1897
|
*/
|
|
2261
1898
|
'users'?: Array<AuthUser>;
|
|
2262
1899
|
}
|
|
1900
|
+
export interface PassportUserPasswordForgetRequest {
|
|
1901
|
+
/**
|
|
1902
|
+
* NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
1903
|
+
*/
|
|
1904
|
+
'app_ids'?: string;
|
|
1905
|
+
'email'?: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* 注意是前端回调地址,用于用户邮箱点击跳转前端重置密码页
|
|
1908
|
+
*/
|
|
1909
|
+
'callback_url'?: string;
|
|
1910
|
+
}
|
|
1911
|
+
export interface PassportUserPasswordForgetResponse {
|
|
1912
|
+
'code'?: string;
|
|
1913
|
+
'message'?: string;
|
|
1914
|
+
}
|
|
2263
1915
|
export interface PassportUserPasswordResetRequest {
|
|
2264
1916
|
/**
|
|
2265
1917
|
* NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
@@ -2267,6 +1919,7 @@ export interface PassportUserPasswordResetRequest {
|
|
|
2267
1919
|
'app_ids'?: string;
|
|
2268
1920
|
'email'?: string;
|
|
2269
1921
|
'verify_code'?: string;
|
|
1922
|
+
'new_password'?: string;
|
|
2270
1923
|
/**
|
|
2271
1924
|
* 是否禁用服务端重定向, 携带 callback_url 时有效
|
|
2272
1925
|
*/
|
|
@@ -2279,6 +1932,22 @@ export interface PassportUserPasswordResetResponse {
|
|
|
2279
1932
|
'url'?: string;
|
|
2280
1933
|
'redirect'?: boolean;
|
|
2281
1934
|
}
|
|
1935
|
+
export interface PassportUserPasswordResetTokenVerifyRequest {
|
|
1936
|
+
/**
|
|
1937
|
+
* NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
1938
|
+
*/
|
|
1939
|
+
'app_ids'?: string;
|
|
1940
|
+
/**
|
|
1941
|
+
* 重置密码请求重置的 token
|
|
1942
|
+
*/
|
|
1943
|
+
'token'?: string;
|
|
1944
|
+
}
|
|
1945
|
+
export interface PassportUserPasswordResetTokenVerifyResponse {
|
|
1946
|
+
'code'?: string;
|
|
1947
|
+
'message'?: string;
|
|
1948
|
+
'email'?: string;
|
|
1949
|
+
'verify_code'?: string;
|
|
1950
|
+
}
|
|
2282
1951
|
export interface PassportUserSignInEmailRequest {
|
|
2283
1952
|
/**
|
|
2284
1953
|
* User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
@@ -3775,1544 +3444,349 @@ export interface VideoPricing {
|
|
|
3775
3444
|
*/
|
|
3776
3445
|
'output_per_token'?: string;
|
|
3777
3446
|
/**
|
|
3778
|
-
* input_per_second 输入每秒费用 Input fee per second
|
|
3779
|
-
*/
|
|
3780
|
-
'input_per_second'?: string;
|
|
3781
|
-
/**
|
|
3782
|
-
* output_per_second 输出每秒费用 Output fee per second
|
|
3783
|
-
*/
|
|
3784
|
-
'output_per_second'?: string;
|
|
3785
|
-
/**
|
|
3786
|
-
* extra 扩展计算 Extra calculation options
|
|
3787
|
-
*/
|
|
3788
|
-
'extra'?: {
|
|
3789
|
-
[key: string]: string;
|
|
3790
|
-
};
|
|
3791
|
-
}
|
|
3792
|
-
/**
|
|
3793
|
-
* AIModelAdminServiceApi - axios parameter creator
|
|
3794
|
-
*/
|
|
3795
|
-
export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3796
|
-
/**
|
|
3797
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3798
|
-
* @param {Array<string>} [aiModelNames]
|
|
3799
|
-
* @param {*} [options] Override http request option.
|
|
3800
|
-
* @throws {RequiredError}
|
|
3801
|
-
*/
|
|
3802
|
-
aIModelAdminServiceAIModelCheckConnection: (aiModelNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3803
|
-
/**
|
|
3804
|
-
* 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
|
|
3805
|
-
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
3806
|
-
* @param {*} [options] Override http request option.
|
|
3807
|
-
* @throws {RequiredError}
|
|
3808
|
-
*/
|
|
3809
|
-
aIModelAdminServiceAIModelCreate: (aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3810
|
-
/**
|
|
3811
|
-
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3812
|
-
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
3813
|
-
* @param {*} [options] Override http request option.
|
|
3814
|
-
* @throws {RequiredError}
|
|
3815
|
-
*/
|
|
3816
|
-
aIModelAdminServiceAIModelDelete: (aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3817
|
-
/**
|
|
3818
|
-
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3819
|
-
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
3820
|
-
* @param {*} [options] Override http request option.
|
|
3821
|
-
* @throws {RequiredError}
|
|
3822
|
-
*/
|
|
3823
|
-
aIModelAdminServiceAIModelDisable: (aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3824
|
-
/**
|
|
3825
|
-
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3826
|
-
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3827
|
-
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
3828
|
-
* @param {*} [options] Override http request option.
|
|
3829
|
-
* @throws {RequiredError}
|
|
3830
|
-
*/
|
|
3831
|
-
aIModelAdminServiceAIModelGet: (id?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3832
|
-
/**
|
|
3833
|
-
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3834
|
-
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3835
|
-
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3836
|
-
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3837
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
3838
|
-
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
3839
|
-
* @param {*} [options] Override http request option.
|
|
3840
|
-
* @throws {RequiredError}
|
|
3841
|
-
*/
|
|
3842
|
-
aIModelAdminServiceAIModelList: (page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3843
|
-
/**
|
|
3844
|
-
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3845
|
-
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
3846
|
-
* @param {*} [options] Override http request option.
|
|
3847
|
-
* @throws {RequiredError}
|
|
3848
|
-
*/
|
|
3849
|
-
aIModelAdminServiceAIModelPublish: (aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3850
|
-
/**
|
|
3851
|
-
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3852
|
-
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
3853
|
-
* @param {*} [options] Override http request option.
|
|
3854
|
-
* @throws {RequiredError}
|
|
3855
|
-
*/
|
|
3856
|
-
aIModelAdminServiceAIModelUpdate: (aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3857
|
-
};
|
|
3858
|
-
/**
|
|
3859
|
-
* AIModelAdminServiceApi - functional programming interface
|
|
3860
|
-
*/
|
|
3861
|
-
export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) => {
|
|
3862
|
-
/**
|
|
3863
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3864
|
-
* @param {Array<string>} [aiModelNames]
|
|
3865
|
-
* @param {*} [options] Override http request option.
|
|
3866
|
-
* @throws {RequiredError}
|
|
3867
|
-
*/
|
|
3868
|
-
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCheckConnectionResponse>>;
|
|
3869
|
-
/**
|
|
3870
|
-
* 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
|
|
3871
|
-
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
3872
|
-
* @param {*} [options] Override http request option.
|
|
3873
|
-
* @throws {RequiredError}
|
|
3874
|
-
*/
|
|
3875
|
-
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCreateResponse>>;
|
|
3876
|
-
/**
|
|
3877
|
-
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3878
|
-
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
3879
|
-
* @param {*} [options] Override http request option.
|
|
3880
|
-
* @throws {RequiredError}
|
|
3881
|
-
*/
|
|
3882
|
-
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelDeleteResponse>>;
|
|
3883
|
-
/**
|
|
3884
|
-
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3885
|
-
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
3886
|
-
* @param {*} [options] Override http request option.
|
|
3887
|
-
* @throws {RequiredError}
|
|
3888
|
-
*/
|
|
3889
|
-
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelDisableResponse>>;
|
|
3890
|
-
/**
|
|
3891
|
-
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3892
|
-
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3893
|
-
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
3894
|
-
* @param {*} [options] Override http request option.
|
|
3895
|
-
* @throws {RequiredError}
|
|
3896
|
-
*/
|
|
3897
|
-
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelGetResponse>>;
|
|
3898
|
-
/**
|
|
3899
|
-
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3900
|
-
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3901
|
-
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3902
|
-
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3903
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
3904
|
-
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
3905
|
-
* @param {*} [options] Override http request option.
|
|
3906
|
-
* @throws {RequiredError}
|
|
3907
|
-
*/
|
|
3908
|
-
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelListResponse>>;
|
|
3909
|
-
/**
|
|
3910
|
-
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3911
|
-
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
3912
|
-
* @param {*} [options] Override http request option.
|
|
3913
|
-
* @throws {RequiredError}
|
|
3914
|
-
*/
|
|
3915
|
-
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelPublishResponse>>;
|
|
3916
|
-
/**
|
|
3917
|
-
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3918
|
-
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
3919
|
-
* @param {*} [options] Override http request option.
|
|
3920
|
-
* @throws {RequiredError}
|
|
3921
|
-
*/
|
|
3922
|
-
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelUpdateResponse>>;
|
|
3923
|
-
};
|
|
3924
|
-
/**
|
|
3925
|
-
* AIModelAdminServiceApi - factory interface
|
|
3926
|
-
*/
|
|
3927
|
-
export declare const AIModelAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3928
|
-
/**
|
|
3929
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3930
|
-
* @param {Array<string>} [aiModelNames]
|
|
3931
|
-
* @param {*} [options] Override http request option.
|
|
3932
|
-
* @throws {RequiredError}
|
|
3933
|
-
*/
|
|
3934
|
-
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
3935
|
-
/**
|
|
3936
|
-
* 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
|
|
3937
|
-
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
3938
|
-
* @param {*} [options] Override http request option.
|
|
3939
|
-
* @throws {RequiredError}
|
|
3940
|
-
*/
|
|
3941
|
-
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCreateResponse>;
|
|
3942
|
-
/**
|
|
3943
|
-
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3944
|
-
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
3945
|
-
* @param {*} [options] Override http request option.
|
|
3946
|
-
* @throws {RequiredError}
|
|
3947
|
-
*/
|
|
3948
|
-
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDeleteResponse>;
|
|
3949
|
-
/**
|
|
3950
|
-
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3951
|
-
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
3952
|
-
* @param {*} [options] Override http request option.
|
|
3953
|
-
* @throws {RequiredError}
|
|
3954
|
-
*/
|
|
3955
|
-
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDisableResponse>;
|
|
3956
|
-
/**
|
|
3957
|
-
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3958
|
-
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3959
|
-
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
3960
|
-
* @param {*} [options] Override http request option.
|
|
3961
|
-
* @throws {RequiredError}
|
|
3962
|
-
*/
|
|
3963
|
-
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelGetResponse>;
|
|
3964
|
-
/**
|
|
3965
|
-
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3966
|
-
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3967
|
-
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3968
|
-
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3969
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
3970
|
-
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
3971
|
-
* @param {*} [options] Override http request option.
|
|
3972
|
-
* @throws {RequiredError}
|
|
3973
|
-
*/
|
|
3974
|
-
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelListResponse>;
|
|
3975
|
-
/**
|
|
3976
|
-
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3977
|
-
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
3978
|
-
* @param {*} [options] Override http request option.
|
|
3979
|
-
* @throws {RequiredError}
|
|
3980
|
-
*/
|
|
3981
|
-
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelPublishResponse>;
|
|
3982
|
-
/**
|
|
3983
|
-
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3984
|
-
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
3985
|
-
* @param {*} [options] Override http request option.
|
|
3986
|
-
* @throws {RequiredError}
|
|
3987
|
-
*/
|
|
3988
|
-
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelUpdateResponse>;
|
|
3989
|
-
};
|
|
3990
|
-
/**
|
|
3991
|
-
* AIModelAdminServiceApi - interface
|
|
3992
|
-
*/
|
|
3993
|
-
export interface AIModelAdminServiceApiInterface {
|
|
3994
|
-
/**
|
|
3995
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3996
|
-
* @param {Array<string>} [aiModelNames]
|
|
3997
|
-
* @param {*} [options] Override http request option.
|
|
3998
|
-
* @throws {RequiredError}
|
|
3999
|
-
*/
|
|
4000
|
-
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
4001
|
-
/**
|
|
4002
|
-
* 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
|
|
4003
|
-
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
4004
|
-
* @param {*} [options] Override http request option.
|
|
4005
|
-
* @throws {RequiredError}
|
|
4006
|
-
*/
|
|
4007
|
-
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCreateResponse>;
|
|
4008
|
-
/**
|
|
4009
|
-
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4010
|
-
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
4011
|
-
* @param {*} [options] Override http request option.
|
|
4012
|
-
* @throws {RequiredError}
|
|
4013
|
-
*/
|
|
4014
|
-
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDeleteResponse>;
|
|
4015
|
-
/**
|
|
4016
|
-
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4017
|
-
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
4018
|
-
* @param {*} [options] Override http request option.
|
|
4019
|
-
* @throws {RequiredError}
|
|
4020
|
-
*/
|
|
4021
|
-
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDisableResponse>;
|
|
4022
|
-
/**
|
|
4023
|
-
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4024
|
-
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
4025
|
-
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
4026
|
-
* @param {*} [options] Override http request option.
|
|
4027
|
-
* @throws {RequiredError}
|
|
4028
|
-
*/
|
|
4029
|
-
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelGetResponse>;
|
|
4030
|
-
/**
|
|
4031
|
-
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4032
|
-
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
4033
|
-
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
4034
|
-
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
4035
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
4036
|
-
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
4037
|
-
* @param {*} [options] Override http request option.
|
|
4038
|
-
* @throws {RequiredError}
|
|
4039
|
-
*/
|
|
4040
|
-
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelListResponse>;
|
|
4041
|
-
/**
|
|
4042
|
-
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4043
|
-
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
4044
|
-
* @param {*} [options] Override http request option.
|
|
4045
|
-
* @throws {RequiredError}
|
|
4046
|
-
*/
|
|
4047
|
-
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelPublishResponse>;
|
|
4048
|
-
/**
|
|
4049
|
-
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4050
|
-
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
4051
|
-
* @param {*} [options] Override http request option.
|
|
4052
|
-
* @throws {RequiredError}
|
|
4053
|
-
*/
|
|
4054
|
-
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelUpdateResponse>;
|
|
4055
|
-
}
|
|
4056
|
-
/**
|
|
4057
|
-
* AIModelAdminServiceApi - object-oriented interface
|
|
4058
|
-
*/
|
|
4059
|
-
export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAdminServiceApiInterface {
|
|
4060
|
-
/**
|
|
4061
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
4062
|
-
* @param {Array<string>} [aiModelNames]
|
|
4063
|
-
* @param {*} [options] Override http request option.
|
|
4064
|
-
* @throws {RequiredError}
|
|
4065
|
-
*/
|
|
4066
|
-
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCheckConnectionResponse, any, {}>>;
|
|
4067
|
-
/**
|
|
4068
|
-
* 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
|
|
4069
|
-
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
4070
|
-
* @param {*} [options] Override http request option.
|
|
4071
|
-
* @throws {RequiredError}
|
|
4072
|
-
*/
|
|
4073
|
-
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCreateResponse, any, {}>>;
|
|
4074
|
-
/**
|
|
4075
|
-
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4076
|
-
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
4077
|
-
* @param {*} [options] Override http request option.
|
|
4078
|
-
* @throws {RequiredError}
|
|
4079
|
-
*/
|
|
4080
|
-
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelDeleteResponse, any, {}>>;
|
|
4081
|
-
/**
|
|
4082
|
-
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4083
|
-
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
4084
|
-
* @param {*} [options] Override http request option.
|
|
4085
|
-
* @throws {RequiredError}
|
|
4086
|
-
*/
|
|
4087
|
-
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelDisableResponse, any, {}>>;
|
|
4088
|
-
/**
|
|
4089
|
-
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4090
|
-
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
4091
|
-
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
4092
|
-
* @param {*} [options] Override http request option.
|
|
4093
|
-
* @throws {RequiredError}
|
|
4094
|
-
*/
|
|
4095
|
-
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelGetResponse, any, {}>>;
|
|
4096
|
-
/**
|
|
4097
|
-
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4098
|
-
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
4099
|
-
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
4100
|
-
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
4101
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
4102
|
-
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
4103
|
-
* @param {*} [options] Override http request option.
|
|
4104
|
-
* @throws {RequiredError}
|
|
4105
|
-
*/
|
|
4106
|
-
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelListResponse, any, {}>>;
|
|
4107
|
-
/**
|
|
4108
|
-
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4109
|
-
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
4110
|
-
* @param {*} [options] Override http request option.
|
|
4111
|
-
* @throws {RequiredError}
|
|
4112
|
-
*/
|
|
4113
|
-
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelPublishResponse, any, {}>>;
|
|
4114
|
-
/**
|
|
4115
|
-
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4116
|
-
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
4117
|
-
* @param {*} [options] Override http request option.
|
|
4118
|
-
* @throws {RequiredError}
|
|
4119
|
-
*/
|
|
4120
|
-
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelUpdateResponse, any, {}>>;
|
|
4121
|
-
}
|
|
4122
|
-
/**
|
|
4123
|
-
* Auth2AdminServiceApi - axios parameter creator
|
|
4124
|
-
*/
|
|
4125
|
-
export declare const Auth2AdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4126
|
-
/**
|
|
4127
|
-
* ============ 密码管理 ============
|
|
4128
|
-
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
4129
|
-
* @param {*} [options] Override http request option.
|
|
4130
|
-
* @throws {RequiredError}
|
|
4131
|
-
*/
|
|
4132
|
-
auth2AdminServiceAuthAdminChangePassword: (authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4133
|
-
/**
|
|
4134
|
-
*
|
|
4135
|
-
* @param {*} [options] Override http request option.
|
|
4136
|
-
* @throws {RequiredError}
|
|
4137
|
-
*/
|
|
4138
|
-
auth2AdminServiceAuthAdminGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4139
|
-
/**
|
|
4140
|
-
* ============ 会话管理 ============
|
|
4141
|
-
* @param {*} [options] Override http request option.
|
|
4142
|
-
* @throws {RequiredError}
|
|
4143
|
-
*/
|
|
4144
|
-
auth2AdminServiceAuthAdminListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4145
|
-
/**
|
|
4146
|
-
*
|
|
4147
|
-
* @param {object} body
|
|
4148
|
-
* @param {*} [options] Override http request option.
|
|
4149
|
-
* @throws {RequiredError}
|
|
4150
|
-
*/
|
|
4151
|
-
auth2AdminServiceAuthAdminRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4152
|
-
/**
|
|
4153
|
-
*
|
|
4154
|
-
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
4155
|
-
* @param {*} [options] Override http request option.
|
|
4156
|
-
* @throws {RequiredError}
|
|
4157
|
-
*/
|
|
4158
|
-
auth2AdminServiceAuthAdminRevokeSession: (authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4159
|
-
/**
|
|
4160
|
-
*
|
|
4161
|
-
* @param {object} body
|
|
4162
|
-
* @param {*} [options] Override http request option.
|
|
4163
|
-
* @throws {RequiredError}
|
|
4164
|
-
*/
|
|
4165
|
-
auth2AdminServiceAuthAdminRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4166
|
-
/**
|
|
4167
|
-
* ============ 认证 ============
|
|
4168
|
-
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
4169
|
-
* @param {*} [options] Override http request option.
|
|
4170
|
-
* @throws {RequiredError}
|
|
4171
|
-
*/
|
|
4172
|
-
auth2AdminServiceAuthAdminSignInEmail: (authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4173
|
-
/**
|
|
4174
|
-
*
|
|
4175
|
-
* @param {object} body
|
|
4176
|
-
* @param {*} [options] Override http request option.
|
|
4177
|
-
* @throws {RequiredError}
|
|
4178
|
-
*/
|
|
4179
|
-
auth2AdminServiceAuthAdminSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4180
|
-
/**
|
|
4181
|
-
* ============ 管理员信息管理 ============
|
|
4182
|
-
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
4183
|
-
* @param {*} [options] Override http request option.
|
|
4184
|
-
* @throws {RequiredError}
|
|
4185
|
-
*/
|
|
4186
|
-
auth2AdminServiceAuthAdminUpdateUser: (authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4187
|
-
};
|
|
4188
|
-
/**
|
|
4189
|
-
* Auth2AdminServiceApi - functional programming interface
|
|
4190
|
-
*/
|
|
4191
|
-
export declare const Auth2AdminServiceApiFp: (configuration?: Configuration) => {
|
|
4192
|
-
/**
|
|
4193
|
-
* ============ 密码管理 ============
|
|
4194
|
-
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
4195
|
-
* @param {*} [options] Override http request option.
|
|
4196
|
-
* @throws {RequiredError}
|
|
4197
|
-
*/
|
|
4198
|
-
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminChangePasswordResponse>>;
|
|
4199
|
-
/**
|
|
4200
|
-
*
|
|
4201
|
-
* @param {*} [options] Override http request option.
|
|
4202
|
-
* @throws {RequiredError}
|
|
4203
|
-
*/
|
|
4204
|
-
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminGetSessionResponse>>;
|
|
4205
|
-
/**
|
|
4206
|
-
* ============ 会话管理 ============
|
|
4207
|
-
* @param {*} [options] Override http request option.
|
|
4208
|
-
* @throws {RequiredError}
|
|
4209
|
-
*/
|
|
4210
|
-
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminListSessionsResponse>>;
|
|
4211
|
-
/**
|
|
4212
|
-
*
|
|
4213
|
-
* @param {object} body
|
|
4214
|
-
* @param {*} [options] Override http request option.
|
|
4215
|
-
* @throws {RequiredError}
|
|
4216
|
-
*/
|
|
4217
|
-
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeOtherSessionsResponse>>;
|
|
4218
|
-
/**
|
|
4219
|
-
*
|
|
4220
|
-
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
4221
|
-
* @param {*} [options] Override http request option.
|
|
4222
|
-
* @throws {RequiredError}
|
|
4223
|
-
*/
|
|
4224
|
-
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeSessionResponse>>;
|
|
4225
|
-
/**
|
|
4226
|
-
*
|
|
4227
|
-
* @param {object} body
|
|
4228
|
-
* @param {*} [options] Override http request option.
|
|
4229
|
-
* @throws {RequiredError}
|
|
4230
|
-
*/
|
|
4231
|
-
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeSessionsResponse>>;
|
|
4232
|
-
/**
|
|
4233
|
-
* ============ 认证 ============
|
|
4234
|
-
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
4235
|
-
* @param {*} [options] Override http request option.
|
|
4236
|
-
* @throws {RequiredError}
|
|
4237
|
-
*/
|
|
4238
|
-
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminSignInEmailResponse>>;
|
|
4239
|
-
/**
|
|
4240
|
-
*
|
|
4241
|
-
* @param {object} body
|
|
4242
|
-
* @param {*} [options] Override http request option.
|
|
4243
|
-
* @throws {RequiredError}
|
|
4244
|
-
*/
|
|
4245
|
-
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminSignOutResponse>>;
|
|
4246
|
-
/**
|
|
4247
|
-
* ============ 管理员信息管理 ============
|
|
4248
|
-
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
4249
|
-
* @param {*} [options] Override http request option.
|
|
4250
|
-
* @throws {RequiredError}
|
|
4251
|
-
*/
|
|
4252
|
-
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminUpdateUserResponse>>;
|
|
4253
|
-
};
|
|
4254
|
-
/**
|
|
4255
|
-
* Auth2AdminServiceApi - factory interface
|
|
4256
|
-
*/
|
|
4257
|
-
export declare const Auth2AdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4258
|
-
/**
|
|
4259
|
-
* ============ 密码管理 ============
|
|
4260
|
-
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
4261
|
-
* @param {*} [options] Override http request option.
|
|
4262
|
-
* @throws {RequiredError}
|
|
4263
|
-
*/
|
|
4264
|
-
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminChangePasswordResponse>;
|
|
4265
|
-
/**
|
|
4266
|
-
*
|
|
4267
|
-
* @param {*} [options] Override http request option.
|
|
4268
|
-
* @throws {RequiredError}
|
|
4269
|
-
*/
|
|
4270
|
-
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminGetSessionResponse>;
|
|
4271
|
-
/**
|
|
4272
|
-
* ============ 会话管理 ============
|
|
4273
|
-
* @param {*} [options] Override http request option.
|
|
4274
|
-
* @throws {RequiredError}
|
|
4275
|
-
*/
|
|
4276
|
-
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminListSessionsResponse>;
|
|
4277
|
-
/**
|
|
4278
|
-
*
|
|
4279
|
-
* @param {object} body
|
|
4280
|
-
* @param {*} [options] Override http request option.
|
|
4281
|
-
* @throws {RequiredError}
|
|
4282
|
-
*/
|
|
4283
|
-
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeOtherSessionsResponse>;
|
|
4284
|
-
/**
|
|
4285
|
-
*
|
|
4286
|
-
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
4287
|
-
* @param {*} [options] Override http request option.
|
|
4288
|
-
* @throws {RequiredError}
|
|
4289
|
-
*/
|
|
4290
|
-
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionResponse>;
|
|
4291
|
-
/**
|
|
4292
|
-
*
|
|
4293
|
-
* @param {object} body
|
|
4294
|
-
* @param {*} [options] Override http request option.
|
|
4295
|
-
* @throws {RequiredError}
|
|
4296
|
-
*/
|
|
4297
|
-
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionsResponse>;
|
|
4298
|
-
/**
|
|
4299
|
-
* ============ 认证 ============
|
|
4300
|
-
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
4301
|
-
* @param {*} [options] Override http request option.
|
|
4302
|
-
* @throws {RequiredError}
|
|
4303
|
-
*/
|
|
4304
|
-
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignInEmailResponse>;
|
|
4305
|
-
/**
|
|
4306
|
-
*
|
|
4307
|
-
* @param {object} body
|
|
4308
|
-
* @param {*} [options] Override http request option.
|
|
4309
|
-
* @throws {RequiredError}
|
|
4310
|
-
*/
|
|
4311
|
-
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignOutResponse>;
|
|
4312
|
-
/**
|
|
4313
|
-
* ============ 管理员信息管理 ============
|
|
4314
|
-
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
4315
|
-
* @param {*} [options] Override http request option.
|
|
4316
|
-
* @throws {RequiredError}
|
|
4317
|
-
*/
|
|
4318
|
-
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminUpdateUserResponse>;
|
|
4319
|
-
};
|
|
4320
|
-
/**
|
|
4321
|
-
* Auth2AdminServiceApi - interface
|
|
4322
|
-
*/
|
|
4323
|
-
export interface Auth2AdminServiceApiInterface {
|
|
4324
|
-
/**
|
|
4325
|
-
* ============ 密码管理 ============
|
|
4326
|
-
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
4327
|
-
* @param {*} [options] Override http request option.
|
|
4328
|
-
* @throws {RequiredError}
|
|
4329
|
-
*/
|
|
4330
|
-
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminChangePasswordResponse>;
|
|
4331
|
-
/**
|
|
4332
|
-
*
|
|
4333
|
-
* @param {*} [options] Override http request option.
|
|
4334
|
-
* @throws {RequiredError}
|
|
4335
|
-
*/
|
|
4336
|
-
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminGetSessionResponse>;
|
|
4337
|
-
/**
|
|
4338
|
-
* ============ 会话管理 ============
|
|
4339
|
-
* @param {*} [options] Override http request option.
|
|
4340
|
-
* @throws {RequiredError}
|
|
4341
|
-
*/
|
|
4342
|
-
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminListSessionsResponse>;
|
|
4343
|
-
/**
|
|
4344
|
-
*
|
|
4345
|
-
* @param {object} body
|
|
4346
|
-
* @param {*} [options] Override http request option.
|
|
4347
|
-
* @throws {RequiredError}
|
|
4348
|
-
*/
|
|
4349
|
-
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeOtherSessionsResponse>;
|
|
4350
|
-
/**
|
|
4351
|
-
*
|
|
4352
|
-
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
4353
|
-
* @param {*} [options] Override http request option.
|
|
4354
|
-
* @throws {RequiredError}
|
|
4355
|
-
*/
|
|
4356
|
-
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionResponse>;
|
|
4357
|
-
/**
|
|
4358
|
-
*
|
|
4359
|
-
* @param {object} body
|
|
4360
|
-
* @param {*} [options] Override http request option.
|
|
4361
|
-
* @throws {RequiredError}
|
|
4362
|
-
*/
|
|
4363
|
-
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionsResponse>;
|
|
4364
|
-
/**
|
|
4365
|
-
* ============ 认证 ============
|
|
4366
|
-
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
4367
|
-
* @param {*} [options] Override http request option.
|
|
4368
|
-
* @throws {RequiredError}
|
|
4369
|
-
*/
|
|
4370
|
-
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignInEmailResponse>;
|
|
4371
|
-
/**
|
|
4372
|
-
*
|
|
4373
|
-
* @param {object} body
|
|
4374
|
-
* @param {*} [options] Override http request option.
|
|
4375
|
-
* @throws {RequiredError}
|
|
4376
|
-
*/
|
|
4377
|
-
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignOutResponse>;
|
|
4378
|
-
/**
|
|
4379
|
-
* ============ 管理员信息管理 ============
|
|
4380
|
-
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
4381
|
-
* @param {*} [options] Override http request option.
|
|
4382
|
-
* @throws {RequiredError}
|
|
4383
|
-
*/
|
|
4384
|
-
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminUpdateUserResponse>;
|
|
4385
|
-
}
|
|
4386
|
-
/**
|
|
4387
|
-
* Auth2AdminServiceApi - object-oriented interface
|
|
4388
|
-
*/
|
|
4389
|
-
export declare class Auth2AdminServiceApi extends BaseAPI implements Auth2AdminServiceApiInterface {
|
|
4390
|
-
/**
|
|
4391
|
-
* ============ 密码管理 ============
|
|
4392
|
-
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
4393
|
-
* @param {*} [options] Override http request option.
|
|
4394
|
-
* @throws {RequiredError}
|
|
4395
|
-
*/
|
|
4396
|
-
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminChangePasswordResponse, any, {}>>;
|
|
4397
|
-
/**
|
|
4398
|
-
*
|
|
4399
|
-
* @param {*} [options] Override http request option.
|
|
4400
|
-
* @throws {RequiredError}
|
|
4401
|
-
*/
|
|
4402
|
-
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminGetSessionResponse, any, {}>>;
|
|
4403
|
-
/**
|
|
4404
|
-
* ============ 会话管理 ============
|
|
4405
|
-
* @param {*} [options] Override http request option.
|
|
4406
|
-
* @throws {RequiredError}
|
|
4407
|
-
*/
|
|
4408
|
-
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminListSessionsResponse, any, {}>>;
|
|
4409
|
-
/**
|
|
4410
|
-
*
|
|
4411
|
-
* @param {object} body
|
|
4412
|
-
* @param {*} [options] Override http request option.
|
|
4413
|
-
* @throws {RequiredError}
|
|
4414
|
-
*/
|
|
4415
|
-
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeOtherSessionsResponse, any, {}>>;
|
|
4416
|
-
/**
|
|
4417
|
-
*
|
|
4418
|
-
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
4419
|
-
* @param {*} [options] Override http request option.
|
|
4420
|
-
* @throws {RequiredError}
|
|
4421
|
-
*/
|
|
4422
|
-
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionResponse, any, {}>>;
|
|
4423
|
-
/**
|
|
4424
|
-
*
|
|
4425
|
-
* @param {object} body
|
|
4426
|
-
* @param {*} [options] Override http request option.
|
|
4427
|
-
* @throws {RequiredError}
|
|
4428
|
-
*/
|
|
4429
|
-
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionsResponse, any, {}>>;
|
|
4430
|
-
/**
|
|
4431
|
-
* ============ 认证 ============
|
|
4432
|
-
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
4433
|
-
* @param {*} [options] Override http request option.
|
|
4434
|
-
* @throws {RequiredError}
|
|
4435
|
-
*/
|
|
4436
|
-
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignInEmailResponse, any, {}>>;
|
|
4437
|
-
/**
|
|
4438
|
-
*
|
|
4439
|
-
* @param {object} body
|
|
4440
|
-
* @param {*} [options] Override http request option.
|
|
4441
|
-
* @throws {RequiredError}
|
|
4442
|
-
*/
|
|
4443
|
-
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignOutResponse, any, {}>>;
|
|
4444
|
-
/**
|
|
4445
|
-
* ============ 管理员信息管理 ============
|
|
4446
|
-
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
4447
|
-
* @param {*} [options] Override http request option.
|
|
4448
|
-
* @throws {RequiredError}
|
|
4449
|
-
*/
|
|
4450
|
-
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminUpdateUserResponse, any, {}>>;
|
|
4451
|
-
}
|
|
4452
|
-
/**
|
|
4453
|
-
* Auth2UserServiceApi - axios parameter creator
|
|
4454
|
-
*/
|
|
4455
|
-
export declare const Auth2UserServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4456
|
-
/**
|
|
4457
|
-
*
|
|
4458
|
-
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
4459
|
-
* @param {*} [options] Override http request option.
|
|
4460
|
-
* @throws {RequiredError}
|
|
4461
|
-
*/
|
|
4462
|
-
auth2UserServiceAuthChangeEmail: (authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4463
|
-
/**
|
|
4464
|
-
* ============ 密码管理 ============
|
|
4465
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
4466
|
-
* @param {*} [options] Override http request option.
|
|
4467
|
-
* @throws {RequiredError}
|
|
4468
|
-
*/
|
|
4469
|
-
auth2UserServiceAuthChangePassword: (authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4470
|
-
/**
|
|
4471
|
-
*
|
|
4472
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
4473
|
-
* @param {*} [options] Override http request option.
|
|
4474
|
-
* @throws {RequiredError}
|
|
4475
|
-
*/
|
|
4476
|
-
auth2UserServiceAuthDeleteUser: (authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4477
|
-
/**
|
|
4478
|
-
*
|
|
4479
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
4480
|
-
* @param {*} [options] Override http request option.
|
|
4481
|
-
* @throws {RequiredError}
|
|
4482
|
-
*/
|
|
4483
|
-
auth2UserServiceAuthGetAccessToken: (authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4484
|
-
/**
|
|
4485
|
-
*
|
|
4486
|
-
* @param {*} [options] Override http request option.
|
|
4487
|
-
* @throws {RequiredError}
|
|
4488
|
-
*/
|
|
4489
|
-
auth2UserServiceAuthGetAccountInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4490
|
-
/**
|
|
4491
|
-
*
|
|
4492
|
-
* @param {*} [options] Override http request option.
|
|
4493
|
-
* @throws {RequiredError}
|
|
4494
|
-
*/
|
|
4495
|
-
auth2UserServiceAuthGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4496
|
-
/**
|
|
4497
|
-
* ============ 账号关联 ============
|
|
4498
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
4499
|
-
* @param {*} [options] Override http request option.
|
|
4500
|
-
* @throws {RequiredError}
|
|
4501
|
-
*/
|
|
4502
|
-
auth2UserServiceAuthLinkSocial: (authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4503
|
-
/**
|
|
4504
|
-
*
|
|
4505
|
-
* @param {*} [options] Override http request option.
|
|
4506
|
-
* @throws {RequiredError}
|
|
4507
|
-
*/
|
|
4508
|
-
auth2UserServiceAuthListAccounts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4509
|
-
/**
|
|
4510
|
-
* ============ 会话管理 ============
|
|
4511
|
-
* @param {*} [options] Override http request option.
|
|
4512
|
-
* @throws {RequiredError}
|
|
4513
|
-
*/
|
|
4514
|
-
auth2UserServiceAuthListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4515
|
-
/**
|
|
4516
|
-
*
|
|
4517
|
-
* @param {string} platform
|
|
4518
|
-
* @param {string} [code]
|
|
4519
|
-
* @param {string} [state]
|
|
4520
|
-
* @param {*} [options] Override http request option.
|
|
4521
|
-
* @throws {RequiredError}
|
|
4522
|
-
*/
|
|
4523
|
-
auth2UserServiceAuthOAuth2Callback: (platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4524
|
-
/**
|
|
4525
|
-
* ============ Token 管理 ============
|
|
4526
|
-
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
4527
|
-
* @param {*} [options] Override http request option.
|
|
4528
|
-
* @throws {RequiredError}
|
|
4529
|
-
*/
|
|
4530
|
-
auth2UserServiceAuthRefreshToken: (authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4531
|
-
/**
|
|
4532
|
-
*
|
|
4533
|
-
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
4534
|
-
* @param {*} [options] Override http request option.
|
|
4535
|
-
* @throws {RequiredError}
|
|
4536
|
-
*/
|
|
4537
|
-
auth2UserServiceAuthRequestPasswordReset: (authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4538
|
-
/**
|
|
4539
|
-
*
|
|
4540
|
-
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
4541
|
-
* @param {*} [options] Override http request option.
|
|
4542
|
-
* @throws {RequiredError}
|
|
4543
|
-
*/
|
|
4544
|
-
auth2UserServiceAuthResetPassword: (authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4545
|
-
/**
|
|
4546
|
-
*
|
|
4547
|
-
* @param {object} body
|
|
4548
|
-
* @param {*} [options] Override http request option.
|
|
4549
|
-
* @throws {RequiredError}
|
|
4550
|
-
*/
|
|
4551
|
-
auth2UserServiceAuthRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4552
|
-
/**
|
|
4553
|
-
*
|
|
4554
|
-
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
4555
|
-
* @param {*} [options] Override http request option.
|
|
4556
|
-
* @throws {RequiredError}
|
|
4557
|
-
*/
|
|
4558
|
-
auth2UserServiceAuthRevokeSession: (authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4559
|
-
/**
|
|
4560
|
-
*
|
|
4561
|
-
* @param {object} body
|
|
4562
|
-
* @param {*} [options] Override http request option.
|
|
4563
|
-
* @throws {RequiredError}
|
|
4564
|
-
*/
|
|
4565
|
-
auth2UserServiceAuthRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4566
|
-
/**
|
|
4567
|
-
* ============ 邮箱验证 ============
|
|
4568
|
-
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
4569
|
-
* @param {*} [options] Override http request option.
|
|
4570
|
-
* @throws {RequiredError}
|
|
4571
|
-
*/
|
|
4572
|
-
auth2UserServiceAuthSendVerificationEmail: (authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4573
|
-
/**
|
|
4574
|
-
*
|
|
4575
|
-
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
4576
|
-
* @param {*} [options] Override http request option.
|
|
4577
|
-
* @throws {RequiredError}
|
|
4578
|
-
*/
|
|
4579
|
-
auth2UserServiceAuthSignInEmail: (authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4580
|
-
/**
|
|
4581
|
-
*
|
|
4582
|
-
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
4583
|
-
* @param {*} [options] Override http request option.
|
|
4584
|
-
* @throws {RequiredError}
|
|
4585
|
-
*/
|
|
4586
|
-
auth2UserServiceAuthSignInSocial: (authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4587
|
-
/**
|
|
4588
|
-
*
|
|
4589
|
-
* @param {object} body
|
|
4590
|
-
* @param {*} [options] Override http request option.
|
|
4591
|
-
* @throws {RequiredError}
|
|
4592
|
-
*/
|
|
4593
|
-
auth2UserServiceAuthSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4594
|
-
/**
|
|
4595
|
-
* ============ 认证 ============
|
|
4596
|
-
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
4597
|
-
* @param {*} [options] Override http request option.
|
|
4598
|
-
* @throws {RequiredError}
|
|
4599
|
-
*/
|
|
4600
|
-
auth2UserServiceAuthSignUpEmail: (authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4601
|
-
/**
|
|
4602
|
-
*
|
|
4603
|
-
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
4604
|
-
* @param {*} [options] Override http request option.
|
|
4605
|
-
* @throws {RequiredError}
|
|
4606
|
-
*/
|
|
4607
|
-
auth2UserServiceAuthUnlinkAccount: (authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4608
|
-
/**
|
|
4609
|
-
* ============ 用户管理 ============
|
|
4610
|
-
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
4611
|
-
* @param {*} [options] Override http request option.
|
|
4612
|
-
* @throws {RequiredError}
|
|
4613
|
-
*/
|
|
4614
|
-
auth2UserServiceAuthUpdateUser: (authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4615
|
-
/**
|
|
4616
|
-
*
|
|
4617
|
-
* @param {string} [email]
|
|
4618
|
-
* @param {string} [authCode]
|
|
4619
|
-
* @param {string} [callbackUrl]
|
|
4620
|
-
* @param {*} [options] Override http request option.
|
|
4621
|
-
* @throws {RequiredError}
|
|
4622
|
-
*/
|
|
4623
|
-
auth2UserServiceAuthVerifyEmail: (email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4624
|
-
};
|
|
4625
|
-
/**
|
|
4626
|
-
* Auth2UserServiceApi - functional programming interface
|
|
4627
|
-
*/
|
|
4628
|
-
export declare const Auth2UserServiceApiFp: (configuration?: Configuration) => {
|
|
4629
|
-
/**
|
|
4630
|
-
*
|
|
4631
|
-
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
4632
|
-
* @param {*} [options] Override http request option.
|
|
4633
|
-
* @throws {RequiredError}
|
|
4634
|
-
*/
|
|
4635
|
-
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangeEmailResponse>>;
|
|
4636
|
-
/**
|
|
4637
|
-
* ============ 密码管理 ============
|
|
4638
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
4639
|
-
* @param {*} [options] Override http request option.
|
|
4640
|
-
* @throws {RequiredError}
|
|
4641
|
-
*/
|
|
4642
|
-
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangePasswordResponse>>;
|
|
4643
|
-
/**
|
|
4644
|
-
*
|
|
4645
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
4646
|
-
* @param {*} [options] Override http request option.
|
|
4647
|
-
* @throws {RequiredError}
|
|
4648
|
-
*/
|
|
4649
|
-
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthDeleteUserResponse>>;
|
|
4650
|
-
/**
|
|
4651
|
-
*
|
|
4652
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
4653
|
-
* @param {*} [options] Override http request option.
|
|
4654
|
-
* @throws {RequiredError}
|
|
4655
|
-
*/
|
|
4656
|
-
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccessTokenResponse>>;
|
|
4657
|
-
/**
|
|
4658
|
-
*
|
|
4659
|
-
* @param {*} [options] Override http request option.
|
|
4660
|
-
* @throws {RequiredError}
|
|
4661
|
-
*/
|
|
4662
|
-
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccountInfoResponse>>;
|
|
4663
|
-
/**
|
|
4664
|
-
*
|
|
4665
|
-
* @param {*} [options] Override http request option.
|
|
4666
|
-
* @throws {RequiredError}
|
|
4667
|
-
*/
|
|
4668
|
-
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetSessionResponse>>;
|
|
4669
|
-
/**
|
|
4670
|
-
* ============ 账号关联 ============
|
|
4671
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
4672
|
-
* @param {*} [options] Override http request option.
|
|
4673
|
-
* @throws {RequiredError}
|
|
4674
|
-
*/
|
|
4675
|
-
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthLinkSocialResponse>>;
|
|
4676
|
-
/**
|
|
4677
|
-
*
|
|
4678
|
-
* @param {*} [options] Override http request option.
|
|
4679
|
-
* @throws {RequiredError}
|
|
4680
|
-
*/
|
|
4681
|
-
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListAccountsResponse>>;
|
|
4682
|
-
/**
|
|
4683
|
-
* ============ 会话管理 ============
|
|
4684
|
-
* @param {*} [options] Override http request option.
|
|
4685
|
-
* @throws {RequiredError}
|
|
4686
|
-
*/
|
|
4687
|
-
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListSessionsResponse>>;
|
|
4688
|
-
/**
|
|
4689
|
-
*
|
|
4690
|
-
* @param {string} platform
|
|
4691
|
-
* @param {string} [code]
|
|
4692
|
-
* @param {string} [state]
|
|
4693
|
-
* @param {*} [options] Override http request option.
|
|
4694
|
-
* @throws {RequiredError}
|
|
4695
|
-
*/
|
|
4696
|
-
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthOAuth2CallbackResponse>>;
|
|
4697
|
-
/**
|
|
4698
|
-
* ============ Token 管理 ============
|
|
4699
|
-
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
4700
|
-
* @param {*} [options] Override http request option.
|
|
4701
|
-
* @throws {RequiredError}
|
|
4702
|
-
*/
|
|
4703
|
-
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRefreshTokenResponse>>;
|
|
4704
|
-
/**
|
|
4705
|
-
*
|
|
4706
|
-
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
4707
|
-
* @param {*} [options] Override http request option.
|
|
4708
|
-
* @throws {RequiredError}
|
|
4709
|
-
*/
|
|
4710
|
-
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRequestPasswordResetResponse>>;
|
|
4711
|
-
/**
|
|
4712
|
-
*
|
|
4713
|
-
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
4714
|
-
* @param {*} [options] Override http request option.
|
|
4715
|
-
* @throws {RequiredError}
|
|
4716
|
-
*/
|
|
4717
|
-
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResetPasswordResponse>>;
|
|
4718
|
-
/**
|
|
4719
|
-
*
|
|
4720
|
-
* @param {object} body
|
|
4721
|
-
* @param {*} [options] Override http request option.
|
|
4722
|
-
* @throws {RequiredError}
|
|
4723
|
-
*/
|
|
4724
|
-
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeOtherSessionsResponse>>;
|
|
4725
|
-
/**
|
|
4726
|
-
*
|
|
4727
|
-
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
4728
|
-
* @param {*} [options] Override http request option.
|
|
4729
|
-
* @throws {RequiredError}
|
|
4730
|
-
*/
|
|
4731
|
-
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionResponse>>;
|
|
4732
|
-
/**
|
|
4733
|
-
*
|
|
4734
|
-
* @param {object} body
|
|
4735
|
-
* @param {*} [options] Override http request option.
|
|
4736
|
-
* @throws {RequiredError}
|
|
4737
|
-
*/
|
|
4738
|
-
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionsResponse>>;
|
|
4739
|
-
/**
|
|
4740
|
-
* ============ 邮箱验证 ============
|
|
4741
|
-
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
4742
|
-
* @param {*} [options] Override http request option.
|
|
4743
|
-
* @throws {RequiredError}
|
|
4744
|
-
*/
|
|
4745
|
-
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSendVerificationEmailResponse>>;
|
|
4746
|
-
/**
|
|
4747
|
-
*
|
|
4748
|
-
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
4749
|
-
* @param {*} [options] Override http request option.
|
|
4750
|
-
* @throws {RequiredError}
|
|
4751
|
-
*/
|
|
4752
|
-
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInEmailResponse>>;
|
|
4753
|
-
/**
|
|
4754
|
-
*
|
|
4755
|
-
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
4756
|
-
* @param {*} [options] Override http request option.
|
|
4757
|
-
* @throws {RequiredError}
|
|
4758
|
-
*/
|
|
4759
|
-
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInSocialResponse>>;
|
|
4760
|
-
/**
|
|
4761
|
-
*
|
|
4762
|
-
* @param {object} body
|
|
4763
|
-
* @param {*} [options] Override http request option.
|
|
4764
|
-
* @throws {RequiredError}
|
|
4765
|
-
*/
|
|
4766
|
-
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignOutResponse>>;
|
|
4767
|
-
/**
|
|
4768
|
-
* ============ 认证 ============
|
|
4769
|
-
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
4770
|
-
* @param {*} [options] Override http request option.
|
|
4771
|
-
* @throws {RequiredError}
|
|
4772
|
-
*/
|
|
4773
|
-
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignUpEmailResponse>>;
|
|
4774
|
-
/**
|
|
4775
|
-
*
|
|
4776
|
-
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
4777
|
-
* @param {*} [options] Override http request option.
|
|
4778
|
-
* @throws {RequiredError}
|
|
4779
|
-
*/
|
|
4780
|
-
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUnlinkAccountResponse>>;
|
|
4781
|
-
/**
|
|
4782
|
-
* ============ 用户管理 ============
|
|
4783
|
-
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
4784
|
-
* @param {*} [options] Override http request option.
|
|
4785
|
-
* @throws {RequiredError}
|
|
4786
|
-
*/
|
|
4787
|
-
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUpdateUserResponse>>;
|
|
4788
|
-
/**
|
|
4789
|
-
*
|
|
4790
|
-
* @param {string} [email]
|
|
4791
|
-
* @param {string} [authCode]
|
|
4792
|
-
* @param {string} [callbackUrl]
|
|
4793
|
-
* @param {*} [options] Override http request option.
|
|
4794
|
-
* @throws {RequiredError}
|
|
4795
|
-
*/
|
|
4796
|
-
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthVerifyEmailResponse>>;
|
|
4797
|
-
};
|
|
4798
|
-
/**
|
|
4799
|
-
* Auth2UserServiceApi - factory interface
|
|
4800
|
-
*/
|
|
4801
|
-
export declare const Auth2UserServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4802
|
-
/**
|
|
4803
|
-
*
|
|
4804
|
-
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
4805
|
-
* @param {*} [options] Override http request option.
|
|
4806
|
-
* @throws {RequiredError}
|
|
4807
|
-
*/
|
|
4808
|
-
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
|
|
4809
|
-
/**
|
|
4810
|
-
* ============ 密码管理 ============
|
|
4811
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
4812
|
-
* @param {*} [options] Override http request option.
|
|
4813
|
-
* @throws {RequiredError}
|
|
4814
|
-
*/
|
|
4815
|
-
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
|
|
4816
|
-
/**
|
|
4817
|
-
*
|
|
4818
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
4819
|
-
* @param {*} [options] Override http request option.
|
|
4820
|
-
* @throws {RequiredError}
|
|
4821
|
-
*/
|
|
4822
|
-
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
|
|
4823
|
-
/**
|
|
4824
|
-
*
|
|
4825
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
4826
|
-
* @param {*} [options] Override http request option.
|
|
4827
|
-
* @throws {RequiredError}
|
|
4828
|
-
*/
|
|
4829
|
-
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
|
|
4830
|
-
/**
|
|
4831
|
-
*
|
|
4832
|
-
* @param {*} [options] Override http request option.
|
|
4833
|
-
* @throws {RequiredError}
|
|
4834
|
-
*/
|
|
4835
|
-
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
|
|
4836
|
-
/**
|
|
4837
|
-
*
|
|
4838
|
-
* @param {*} [options] Override http request option.
|
|
4839
|
-
* @throws {RequiredError}
|
|
4840
|
-
*/
|
|
4841
|
-
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetSessionResponse>;
|
|
4842
|
-
/**
|
|
4843
|
-
* ============ 账号关联 ============
|
|
4844
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
4845
|
-
* @param {*} [options] Override http request option.
|
|
4846
|
-
* @throws {RequiredError}
|
|
4847
|
-
*/
|
|
4848
|
-
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkSocialResponse>;
|
|
4849
|
-
/**
|
|
4850
|
-
*
|
|
4851
|
-
* @param {*} [options] Override http request option.
|
|
4852
|
-
* @throws {RequiredError}
|
|
4853
|
-
*/
|
|
4854
|
-
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): AxiosPromise<AuthListAccountsResponse>;
|
|
4855
|
-
/**
|
|
4856
|
-
* ============ 会话管理 ============
|
|
4857
|
-
* @param {*} [options] Override http request option.
|
|
4858
|
-
* @throws {RequiredError}
|
|
4859
|
-
*/
|
|
4860
|
-
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
|
|
4861
|
-
/**
|
|
4862
|
-
*
|
|
4863
|
-
* @param {string} platform
|
|
4864
|
-
* @param {string} [code]
|
|
4865
|
-
* @param {string} [state]
|
|
4866
|
-
* @param {*} [options] Override http request option.
|
|
4867
|
-
* @throws {RequiredError}
|
|
4868
|
-
*/
|
|
4869
|
-
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthOAuth2CallbackResponse>;
|
|
4870
|
-
/**
|
|
4871
|
-
* ============ Token 管理 ============
|
|
4872
|
-
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
4873
|
-
* @param {*} [options] Override http request option.
|
|
4874
|
-
* @throws {RequiredError}
|
|
4875
|
-
*/
|
|
4876
|
-
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRefreshTokenResponse>;
|
|
4877
|
-
/**
|
|
4878
|
-
*
|
|
4879
|
-
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
4880
|
-
* @param {*} [options] Override http request option.
|
|
4881
|
-
* @throws {RequiredError}
|
|
4882
|
-
*/
|
|
4883
|
-
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestPasswordResetResponse>;
|
|
4884
|
-
/**
|
|
4885
|
-
*
|
|
4886
|
-
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
4887
|
-
* @param {*} [options] Override http request option.
|
|
4888
|
-
* @throws {RequiredError}
|
|
4889
|
-
*/
|
|
4890
|
-
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResetPasswordResponse>;
|
|
4891
|
-
/**
|
|
4892
|
-
*
|
|
4893
|
-
* @param {object} body
|
|
4894
|
-
* @param {*} [options] Override http request option.
|
|
4895
|
-
* @throws {RequiredError}
|
|
4896
|
-
*/
|
|
4897
|
-
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeOtherSessionsResponse>;
|
|
4898
|
-
/**
|
|
4899
|
-
*
|
|
4900
|
-
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
4901
|
-
* @param {*} [options] Override http request option.
|
|
4902
|
-
* @throws {RequiredError}
|
|
4903
|
-
*/
|
|
4904
|
-
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionResponse>;
|
|
4905
|
-
/**
|
|
4906
|
-
*
|
|
4907
|
-
* @param {object} body
|
|
4908
|
-
* @param {*} [options] Override http request option.
|
|
4909
|
-
* @throws {RequiredError}
|
|
4910
|
-
*/
|
|
4911
|
-
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionsResponse>;
|
|
4912
|
-
/**
|
|
4913
|
-
* ============ 邮箱验证 ============
|
|
4914
|
-
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
4915
|
-
* @param {*} [options] Override http request option.
|
|
4916
|
-
* @throws {RequiredError}
|
|
4917
|
-
*/
|
|
4918
|
-
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSendVerificationEmailResponse>;
|
|
4919
|
-
/**
|
|
4920
|
-
*
|
|
4921
|
-
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
4922
|
-
* @param {*} [options] Override http request option.
|
|
4923
|
-
* @throws {RequiredError}
|
|
4924
|
-
*/
|
|
4925
|
-
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInEmailResponse>;
|
|
4926
|
-
/**
|
|
4927
|
-
*
|
|
4928
|
-
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
4929
|
-
* @param {*} [options] Override http request option.
|
|
4930
|
-
* @throws {RequiredError}
|
|
4931
|
-
*/
|
|
4932
|
-
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInSocialResponse>;
|
|
4933
|
-
/**
|
|
4934
|
-
*
|
|
4935
|
-
* @param {object} body
|
|
4936
|
-
* @param {*} [options] Override http request option.
|
|
4937
|
-
* @throws {RequiredError}
|
|
4938
|
-
*/
|
|
4939
|
-
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignOutResponse>;
|
|
4940
|
-
/**
|
|
4941
|
-
* ============ 认证 ============
|
|
4942
|
-
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
4943
|
-
* @param {*} [options] Override http request option.
|
|
4944
|
-
* @throws {RequiredError}
|
|
4945
|
-
*/
|
|
4946
|
-
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignUpEmailResponse>;
|
|
4947
|
-
/**
|
|
4948
|
-
*
|
|
4949
|
-
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
4950
|
-
* @param {*} [options] Override http request option.
|
|
4951
|
-
* @throws {RequiredError}
|
|
4952
|
-
*/
|
|
4953
|
-
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUnlinkAccountResponse>;
|
|
4954
|
-
/**
|
|
4955
|
-
* ============ 用户管理 ============
|
|
4956
|
-
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
4957
|
-
* @param {*} [options] Override http request option.
|
|
4958
|
-
* @throws {RequiredError}
|
|
4959
|
-
*/
|
|
4960
|
-
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUpdateUserResponse>;
|
|
4961
|
-
/**
|
|
4962
|
-
*
|
|
4963
|
-
* @param {string} [email]
|
|
4964
|
-
* @param {string} [authCode]
|
|
4965
|
-
* @param {string} [callbackUrl]
|
|
4966
|
-
* @param {*} [options] Override http request option.
|
|
4967
|
-
* @throws {RequiredError}
|
|
4968
|
-
*/
|
|
4969
|
-
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthVerifyEmailResponse>;
|
|
4970
|
-
};
|
|
4971
|
-
/**
|
|
4972
|
-
* Auth2UserServiceApi - interface
|
|
4973
|
-
*/
|
|
4974
|
-
export interface Auth2UserServiceApiInterface {
|
|
4975
|
-
/**
|
|
4976
|
-
*
|
|
4977
|
-
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
4978
|
-
* @param {*} [options] Override http request option.
|
|
4979
|
-
* @throws {RequiredError}
|
|
4980
|
-
*/
|
|
4981
|
-
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
|
|
4982
|
-
/**
|
|
4983
|
-
* ============ 密码管理 ============
|
|
4984
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
4985
|
-
* @param {*} [options] Override http request option.
|
|
4986
|
-
* @throws {RequiredError}
|
|
4987
|
-
*/
|
|
4988
|
-
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
|
|
4989
|
-
/**
|
|
4990
|
-
*
|
|
4991
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
4992
|
-
* @param {*} [options] Override http request option.
|
|
4993
|
-
* @throws {RequiredError}
|
|
4994
|
-
*/
|
|
4995
|
-
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
|
|
4996
|
-
/**
|
|
4997
|
-
*
|
|
4998
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
4999
|
-
* @param {*} [options] Override http request option.
|
|
5000
|
-
* @throws {RequiredError}
|
|
5001
|
-
*/
|
|
5002
|
-
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
|
|
5003
|
-
/**
|
|
5004
|
-
*
|
|
5005
|
-
* @param {*} [options] Override http request option.
|
|
5006
|
-
* @throws {RequiredError}
|
|
5007
|
-
*/
|
|
5008
|
-
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
|
|
5009
|
-
/**
|
|
5010
|
-
*
|
|
5011
|
-
* @param {*} [options] Override http request option.
|
|
5012
|
-
* @throws {RequiredError}
|
|
3447
|
+
* input_per_second 输入每秒费用 Input fee per second
|
|
5013
3448
|
*/
|
|
5014
|
-
|
|
3449
|
+
'input_per_second'?: string;
|
|
5015
3450
|
/**
|
|
5016
|
-
*
|
|
5017
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
5018
|
-
* @param {*} [options] Override http request option.
|
|
5019
|
-
* @throws {RequiredError}
|
|
3451
|
+
* output_per_second 输出每秒费用 Output fee per second
|
|
5020
3452
|
*/
|
|
5021
|
-
|
|
3453
|
+
'output_per_second'?: string;
|
|
5022
3454
|
/**
|
|
5023
|
-
*
|
|
5024
|
-
* @param {*} [options] Override http request option.
|
|
5025
|
-
* @throws {RequiredError}
|
|
3455
|
+
* extra 扩展计算 Extra calculation options
|
|
5026
3456
|
*/
|
|
5027
|
-
|
|
3457
|
+
'extra'?: {
|
|
3458
|
+
[key: string]: string;
|
|
3459
|
+
};
|
|
3460
|
+
}
|
|
3461
|
+
/**
|
|
3462
|
+
* AIModelAdminServiceApi - axios parameter creator
|
|
3463
|
+
*/
|
|
3464
|
+
export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5028
3465
|
/**
|
|
5029
|
-
*
|
|
3466
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3467
|
+
* @param {Array<string>} [aiModelNames]
|
|
5030
3468
|
* @param {*} [options] Override http request option.
|
|
5031
3469
|
* @throws {RequiredError}
|
|
5032
3470
|
*/
|
|
5033
|
-
|
|
3471
|
+
aIModelAdminServiceAIModelCheckConnection: (aiModelNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5034
3472
|
/**
|
|
5035
|
-
*
|
|
5036
|
-
* @param {
|
|
5037
|
-
* @param {string} [code]
|
|
5038
|
-
* @param {string} [state]
|
|
3473
|
+
* 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
|
|
3474
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5039
3475
|
* @param {*} [options] Override http request option.
|
|
5040
3476
|
* @throws {RequiredError}
|
|
5041
3477
|
*/
|
|
5042
|
-
|
|
3478
|
+
aIModelAdminServiceAIModelCreate: (aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5043
3479
|
/**
|
|
5044
|
-
*
|
|
5045
|
-
* @param {
|
|
3480
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3481
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5046
3482
|
* @param {*} [options] Override http request option.
|
|
5047
3483
|
* @throws {RequiredError}
|
|
5048
3484
|
*/
|
|
5049
|
-
|
|
3485
|
+
aIModelAdminServiceAIModelDelete: (aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5050
3486
|
/**
|
|
5051
|
-
*
|
|
5052
|
-
* @param {
|
|
3487
|
+
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3488
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5053
3489
|
* @param {*} [options] Override http request option.
|
|
5054
3490
|
* @throws {RequiredError}
|
|
5055
3491
|
*/
|
|
5056
|
-
|
|
3492
|
+
aIModelAdminServiceAIModelDisable: (aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5057
3493
|
/**
|
|
5058
|
-
*
|
|
5059
|
-
* @param {
|
|
3494
|
+
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3495
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3496
|
+
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
5060
3497
|
* @param {*} [options] Override http request option.
|
|
5061
3498
|
* @throws {RequiredError}
|
|
5062
3499
|
*/
|
|
5063
|
-
|
|
3500
|
+
aIModelAdminServiceAIModelGet: (id?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5064
3501
|
/**
|
|
5065
|
-
*
|
|
5066
|
-
* @param {
|
|
3502
|
+
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3503
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3504
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3505
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3506
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
3507
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5067
3508
|
* @param {*} [options] Override http request option.
|
|
5068
3509
|
* @throws {RequiredError}
|
|
5069
3510
|
*/
|
|
5070
|
-
|
|
3511
|
+
aIModelAdminServiceAIModelList: (page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5071
3512
|
/**
|
|
5072
|
-
*
|
|
5073
|
-
* @param {
|
|
3513
|
+
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3514
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5074
3515
|
* @param {*} [options] Override http request option.
|
|
5075
3516
|
* @throws {RequiredError}
|
|
5076
3517
|
*/
|
|
5077
|
-
|
|
3518
|
+
aIModelAdminServiceAIModelPublish: (aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5078
3519
|
/**
|
|
5079
|
-
*
|
|
5080
|
-
* @param {
|
|
3520
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3521
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5081
3522
|
* @param {*} [options] Override http request option.
|
|
5082
3523
|
* @throws {RequiredError}
|
|
5083
3524
|
*/
|
|
5084
|
-
|
|
3525
|
+
aIModelAdminServiceAIModelUpdate: (aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3526
|
+
};
|
|
3527
|
+
/**
|
|
3528
|
+
* AIModelAdminServiceApi - functional programming interface
|
|
3529
|
+
*/
|
|
3530
|
+
export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) => {
|
|
5085
3531
|
/**
|
|
5086
|
-
*
|
|
5087
|
-
* @param {
|
|
3532
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3533
|
+
* @param {Array<string>} [aiModelNames]
|
|
5088
3534
|
* @param {*} [options] Override http request option.
|
|
5089
3535
|
* @throws {RequiredError}
|
|
5090
3536
|
*/
|
|
5091
|
-
|
|
3537
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCheckConnectionResponse>>;
|
|
5092
3538
|
/**
|
|
5093
|
-
*
|
|
5094
|
-
* @param {
|
|
3539
|
+
* 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
|
|
3540
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5095
3541
|
* @param {*} [options] Override http request option.
|
|
5096
3542
|
* @throws {RequiredError}
|
|
5097
3543
|
*/
|
|
5098
|
-
|
|
3544
|
+
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCreateResponse>>;
|
|
5099
3545
|
/**
|
|
5100
|
-
*
|
|
5101
|
-
* @param {
|
|
3546
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3547
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5102
3548
|
* @param {*} [options] Override http request option.
|
|
5103
3549
|
* @throws {RequiredError}
|
|
5104
3550
|
*/
|
|
5105
|
-
|
|
3551
|
+
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelDeleteResponse>>;
|
|
5106
3552
|
/**
|
|
5107
|
-
*
|
|
5108
|
-
* @param {
|
|
3553
|
+
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3554
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5109
3555
|
* @param {*} [options] Override http request option.
|
|
5110
3556
|
* @throws {RequiredError}
|
|
5111
3557
|
*/
|
|
5112
|
-
|
|
3558
|
+
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelDisableResponse>>;
|
|
5113
3559
|
/**
|
|
5114
|
-
*
|
|
5115
|
-
* @param {
|
|
3560
|
+
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3561
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3562
|
+
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
5116
3563
|
* @param {*} [options] Override http request option.
|
|
5117
3564
|
* @throws {RequiredError}
|
|
5118
3565
|
*/
|
|
5119
|
-
|
|
3566
|
+
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelGetResponse>>;
|
|
5120
3567
|
/**
|
|
5121
|
-
*
|
|
5122
|
-
* @param {
|
|
3568
|
+
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3569
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3570
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3571
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3572
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
3573
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5123
3574
|
* @param {*} [options] Override http request option.
|
|
5124
3575
|
* @throws {RequiredError}
|
|
5125
3576
|
*/
|
|
5126
|
-
|
|
3577
|
+
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelListResponse>>;
|
|
5127
3578
|
/**
|
|
5128
|
-
*
|
|
5129
|
-
* @param {
|
|
3579
|
+
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3580
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5130
3581
|
* @param {*} [options] Override http request option.
|
|
5131
3582
|
* @throws {RequiredError}
|
|
5132
3583
|
*/
|
|
5133
|
-
|
|
3584
|
+
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelPublishResponse>>;
|
|
5134
3585
|
/**
|
|
5135
|
-
*
|
|
5136
|
-
* @param {
|
|
5137
|
-
* @param {string} [authCode]
|
|
5138
|
-
* @param {string} [callbackUrl]
|
|
3586
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3587
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5139
3588
|
* @param {*} [options] Override http request option.
|
|
5140
3589
|
* @throws {RequiredError}
|
|
5141
3590
|
*/
|
|
5142
|
-
|
|
5143
|
-
}
|
|
3591
|
+
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelUpdateResponse>>;
|
|
3592
|
+
};
|
|
5144
3593
|
/**
|
|
5145
|
-
*
|
|
3594
|
+
* AIModelAdminServiceApi - factory interface
|
|
5146
3595
|
*/
|
|
5147
|
-
export declare
|
|
3596
|
+
export declare const AIModelAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5148
3597
|
/**
|
|
5149
|
-
*
|
|
5150
|
-
* @param {
|
|
3598
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3599
|
+
* @param {Array<string>} [aiModelNames]
|
|
5151
3600
|
* @param {*} [options] Override http request option.
|
|
5152
3601
|
* @throws {RequiredError}
|
|
5153
3602
|
*/
|
|
5154
|
-
|
|
3603
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
5155
3604
|
/**
|
|
5156
|
-
*
|
|
5157
|
-
* @param {
|
|
3605
|
+
* 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
|
|
3606
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5158
3607
|
* @param {*} [options] Override http request option.
|
|
5159
3608
|
* @throws {RequiredError}
|
|
5160
3609
|
*/
|
|
5161
|
-
|
|
3610
|
+
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCreateResponse>;
|
|
5162
3611
|
/**
|
|
5163
|
-
*
|
|
5164
|
-
* @param {
|
|
3612
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3613
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5165
3614
|
* @param {*} [options] Override http request option.
|
|
5166
3615
|
* @throws {RequiredError}
|
|
5167
3616
|
*/
|
|
5168
|
-
|
|
3617
|
+
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDeleteResponse>;
|
|
5169
3618
|
/**
|
|
5170
|
-
*
|
|
5171
|
-
* @param {
|
|
3619
|
+
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3620
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5172
3621
|
* @param {*} [options] Override http request option.
|
|
5173
3622
|
* @throws {RequiredError}
|
|
5174
3623
|
*/
|
|
5175
|
-
|
|
3624
|
+
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDisableResponse>;
|
|
5176
3625
|
/**
|
|
5177
|
-
*
|
|
3626
|
+
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3627
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3628
|
+
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
5178
3629
|
* @param {*} [options] Override http request option.
|
|
5179
3630
|
* @throws {RequiredError}
|
|
5180
3631
|
*/
|
|
5181
|
-
|
|
3632
|
+
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelGetResponse>;
|
|
5182
3633
|
/**
|
|
5183
|
-
*
|
|
3634
|
+
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3635
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3636
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3637
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3638
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
3639
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5184
3640
|
* @param {*} [options] Override http request option.
|
|
5185
3641
|
* @throws {RequiredError}
|
|
5186
3642
|
*/
|
|
5187
|
-
|
|
3643
|
+
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelListResponse>;
|
|
5188
3644
|
/**
|
|
5189
|
-
*
|
|
5190
|
-
* @param {
|
|
3645
|
+
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3646
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5191
3647
|
* @param {*} [options] Override http request option.
|
|
5192
3648
|
* @throws {RequiredError}
|
|
5193
3649
|
*/
|
|
5194
|
-
|
|
3650
|
+
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelPublishResponse>;
|
|
5195
3651
|
/**
|
|
5196
|
-
*
|
|
3652
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3653
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5197
3654
|
* @param {*} [options] Override http request option.
|
|
5198
3655
|
* @throws {RequiredError}
|
|
5199
3656
|
*/
|
|
5200
|
-
|
|
3657
|
+
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelUpdateResponse>;
|
|
3658
|
+
};
|
|
3659
|
+
/**
|
|
3660
|
+
* AIModelAdminServiceApi - interface
|
|
3661
|
+
*/
|
|
3662
|
+
export interface AIModelAdminServiceApiInterface {
|
|
5201
3663
|
/**
|
|
5202
|
-
*
|
|
3664
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3665
|
+
* @param {Array<string>} [aiModelNames]
|
|
5203
3666
|
* @param {*} [options] Override http request option.
|
|
5204
3667
|
* @throws {RequiredError}
|
|
5205
3668
|
*/
|
|
5206
|
-
|
|
3669
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
5207
3670
|
/**
|
|
5208
|
-
*
|
|
5209
|
-
* @param {
|
|
5210
|
-
* @param {string} [code]
|
|
5211
|
-
* @param {string} [state]
|
|
3671
|
+
* 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
|
|
3672
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5212
3673
|
* @param {*} [options] Override http request option.
|
|
5213
3674
|
* @throws {RequiredError}
|
|
5214
3675
|
*/
|
|
5215
|
-
|
|
3676
|
+
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCreateResponse>;
|
|
5216
3677
|
/**
|
|
5217
|
-
*
|
|
5218
|
-
* @param {
|
|
3678
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3679
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5219
3680
|
* @param {*} [options] Override http request option.
|
|
5220
3681
|
* @throws {RequiredError}
|
|
5221
3682
|
*/
|
|
5222
|
-
|
|
3683
|
+
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDeleteResponse>;
|
|
5223
3684
|
/**
|
|
5224
|
-
*
|
|
5225
|
-
* @param {
|
|
3685
|
+
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3686
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5226
3687
|
* @param {*} [options] Override http request option.
|
|
5227
3688
|
* @throws {RequiredError}
|
|
5228
3689
|
*/
|
|
5229
|
-
|
|
3690
|
+
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDisableResponse>;
|
|
5230
3691
|
/**
|
|
5231
|
-
*
|
|
5232
|
-
* @param {
|
|
3692
|
+
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3693
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3694
|
+
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
5233
3695
|
* @param {*} [options] Override http request option.
|
|
5234
3696
|
* @throws {RequiredError}
|
|
5235
3697
|
*/
|
|
5236
|
-
|
|
3698
|
+
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelGetResponse>;
|
|
5237
3699
|
/**
|
|
5238
|
-
*
|
|
5239
|
-
* @param {
|
|
3700
|
+
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3701
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3702
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3703
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3704
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
3705
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5240
3706
|
* @param {*} [options] Override http request option.
|
|
5241
3707
|
* @throws {RequiredError}
|
|
5242
3708
|
*/
|
|
5243
|
-
|
|
3709
|
+
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelListResponse>;
|
|
5244
3710
|
/**
|
|
5245
|
-
*
|
|
5246
|
-
* @param {
|
|
3711
|
+
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3712
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5247
3713
|
* @param {*} [options] Override http request option.
|
|
5248
3714
|
* @throws {RequiredError}
|
|
5249
3715
|
*/
|
|
5250
|
-
|
|
3716
|
+
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelPublishResponse>;
|
|
5251
3717
|
/**
|
|
5252
|
-
*
|
|
5253
|
-
* @param {
|
|
3718
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3719
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5254
3720
|
* @param {*} [options] Override http request option.
|
|
5255
3721
|
* @throws {RequiredError}
|
|
5256
3722
|
*/
|
|
5257
|
-
|
|
3723
|
+
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelUpdateResponse>;
|
|
3724
|
+
}
|
|
3725
|
+
/**
|
|
3726
|
+
* AIModelAdminServiceApi - object-oriented interface
|
|
3727
|
+
*/
|
|
3728
|
+
export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAdminServiceApiInterface {
|
|
5258
3729
|
/**
|
|
5259
|
-
*
|
|
5260
|
-
* @param {
|
|
3730
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3731
|
+
* @param {Array<string>} [aiModelNames]
|
|
5261
3732
|
* @param {*} [options] Override http request option.
|
|
5262
3733
|
* @throws {RequiredError}
|
|
5263
3734
|
*/
|
|
5264
|
-
|
|
3735
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCheckConnectionResponse, any, {}>>;
|
|
5265
3736
|
/**
|
|
5266
|
-
*
|
|
5267
|
-
* @param {
|
|
3737
|
+
* 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
|
|
3738
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5268
3739
|
* @param {*} [options] Override http request option.
|
|
5269
3740
|
* @throws {RequiredError}
|
|
5270
3741
|
*/
|
|
5271
|
-
|
|
3742
|
+
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCreateResponse, any, {}>>;
|
|
5272
3743
|
/**
|
|
5273
|
-
*
|
|
5274
|
-
* @param {
|
|
3744
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3745
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5275
3746
|
* @param {*} [options] Override http request option.
|
|
5276
3747
|
* @throws {RequiredError}
|
|
5277
3748
|
*/
|
|
5278
|
-
|
|
3749
|
+
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelDeleteResponse, any, {}>>;
|
|
5279
3750
|
/**
|
|
5280
|
-
*
|
|
5281
|
-
* @param {
|
|
3751
|
+
* AIModelDisable 禁用 AIModel,状态变更为已禁用 Disable AI model, status changes to disabled 请求路径: POST /admin/ai-model/disable Request path: POST /admin/ai-model/disable 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3752
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5282
3753
|
* @param {*} [options] Override http request option.
|
|
5283
3754
|
* @throws {RequiredError}
|
|
5284
3755
|
*/
|
|
5285
|
-
|
|
3756
|
+
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelDisableResponse, any, {}>>;
|
|
5286
3757
|
/**
|
|
5287
|
-
*
|
|
5288
|
-
* @param {
|
|
3758
|
+
* AIModelGet 根据 ID 或名称获取单个 AIModel Retrieve a single AI model by ID or name 请求路径: GET /admin/ai-model/get?id={id} 或 GET /admin/ai-model/get?name={name} Request path: GET /admin/ai-model/get?id={id} or GET /admin/ai-model/get?name={name} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3759
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3760
|
+
* @param {string} [name] name 要获取的 AIModel 的名称 Name of the AI model to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\"
|
|
5289
3761
|
* @param {*} [options] Override http request option.
|
|
5290
3762
|
* @throws {RequiredError}
|
|
5291
3763
|
*/
|
|
5292
|
-
|
|
3764
|
+
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelGetResponse, any, {}>>;
|
|
5293
3765
|
/**
|
|
5294
|
-
*
|
|
5295
|
-
* @param {
|
|
3766
|
+
* AIModelList 分页查询 AIModel 列表,支持按状态、名称前缀和分组过滤 List AI models with pagination, supports filtering by status, name prefix and group 请求路径: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} Request path: GET /admin/ai-model/list?page={page}&page_size={page_size}&status={status}&name_prefix={prefix}&group={group} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3767
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3768
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3769
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3770
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4\", \"gpt-4-turbo\" 等 Example: \"gpt-4\" matches \"gpt-4\", \"gpt-4-turbo\", etc. @gotags: form:\"name_prefix\"
|
|
3771
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5296
3772
|
* @param {*} [options] Override http request option.
|
|
5297
3773
|
* @throws {RequiredError}
|
|
5298
3774
|
*/
|
|
5299
|
-
|
|
3775
|
+
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelListResponse, any, {}>>;
|
|
5300
3776
|
/**
|
|
5301
|
-
*
|
|
5302
|
-
* @param {
|
|
3777
|
+
* AIModelPublish 发布 AIModel,状态变更为已发布 Publish AI model, status changes to published 请求路径: POST /admin/ai-model/publish Request path: POST /admin/ai-model/publish 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3778
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5303
3779
|
* @param {*} [options] Override http request option.
|
|
5304
3780
|
* @throws {RequiredError}
|
|
5305
3781
|
*/
|
|
5306
|
-
|
|
3782
|
+
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelPublishResponse, any, {}>>;
|
|
5307
3783
|
/**
|
|
5308
|
-
*
|
|
5309
|
-
* @param {
|
|
5310
|
-
* @param {string} [authCode]
|
|
5311
|
-
* @param {string} [callbackUrl]
|
|
3784
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3785
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5312
3786
|
* @param {*} [options] Override http request option.
|
|
5313
3787
|
* @throws {RequiredError}
|
|
5314
3788
|
*/
|
|
5315
|
-
|
|
3789
|
+
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelUpdateResponse, any, {}>>;
|
|
5316
3790
|
}
|
|
5317
3791
|
/**
|
|
5318
3792
|
* DiscountAdminServiceApi - axios parameter creator
|
|
@@ -7541,12 +6015,26 @@ export declare const PassportAuthUserServiceApiAxiosParamCreator: (configuration
|
|
|
7541
6015
|
*/
|
|
7542
6016
|
passportAuthUserServicePassportUserOAuthCallback: (platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7543
6017
|
/**
|
|
7544
|
-
*
|
|
6018
|
+
* 未登录 - 用户遗忘密码请求重置
|
|
6019
|
+
* @param {PassportUserPasswordForgetRequest} passportUserPasswordForgetRequest
|
|
6020
|
+
* @param {*} [options] Override http request option.
|
|
6021
|
+
* @throws {RequiredError}
|
|
6022
|
+
*/
|
|
6023
|
+
passportAuthUserServicePassportUserPasswordForget: (passportUserPasswordForgetRequest: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6024
|
+
/**
|
|
6025
|
+
* 未登录 - 用户重置密码
|
|
7545
6026
|
* @param {PassportUserPasswordResetRequest} passportUserPasswordResetRequest
|
|
7546
6027
|
* @param {*} [options] Override http request option.
|
|
7547
6028
|
* @throws {RequiredError}
|
|
7548
6029
|
*/
|
|
7549
6030
|
passportAuthUserServicePassportUserPasswordReset: (passportUserPasswordResetRequest: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6031
|
+
/**
|
|
6032
|
+
* 未登录 - 验证重置密码请求 token
|
|
6033
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} passportUserPasswordResetTokenVerifyRequest
|
|
6034
|
+
* @param {*} [options] Override http request option.
|
|
6035
|
+
* @throws {RequiredError}
|
|
6036
|
+
*/
|
|
6037
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify: (passportUserPasswordResetTokenVerifyRequest: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7550
6038
|
/**
|
|
7551
6039
|
* 邮箱登录
|
|
7552
6040
|
* @param {PassportUserSignInEmailRequest} passportUserSignInEmailRequest
|
|
@@ -7793,12 +6281,26 @@ export declare const PassportAuthUserServiceApiFp: (configuration?: Configuratio
|
|
|
7793
6281
|
*/
|
|
7794
6282
|
passportAuthUserServicePassportUserOAuthCallback(platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserOAuthCallbackResponse>>;
|
|
7795
6283
|
/**
|
|
7796
|
-
*
|
|
6284
|
+
* 未登录 - 用户遗忘密码请求重置
|
|
6285
|
+
* @param {PassportUserPasswordForgetRequest} passportUserPasswordForgetRequest
|
|
6286
|
+
* @param {*} [options] Override http request option.
|
|
6287
|
+
* @throws {RequiredError}
|
|
6288
|
+
*/
|
|
6289
|
+
passportAuthUserServicePassportUserPasswordForget(passportUserPasswordForgetRequest: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserPasswordForgetResponse>>;
|
|
6290
|
+
/**
|
|
6291
|
+
* 未登录 - 用户重置密码
|
|
7797
6292
|
* @param {PassportUserPasswordResetRequest} passportUserPasswordResetRequest
|
|
7798
6293
|
* @param {*} [options] Override http request option.
|
|
7799
6294
|
* @throws {RequiredError}
|
|
7800
6295
|
*/
|
|
7801
6296
|
passportAuthUserServicePassportUserPasswordReset(passportUserPasswordResetRequest: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserPasswordResetResponse>>;
|
|
6297
|
+
/**
|
|
6298
|
+
* 未登录 - 验证重置密码请求 token
|
|
6299
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} passportUserPasswordResetTokenVerifyRequest
|
|
6300
|
+
* @param {*} [options] Override http request option.
|
|
6301
|
+
* @throws {RequiredError}
|
|
6302
|
+
*/
|
|
6303
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify(passportUserPasswordResetTokenVerifyRequest: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserPasswordResetTokenVerifyResponse>>;
|
|
7802
6304
|
/**
|
|
7803
6305
|
* 邮箱登录
|
|
7804
6306
|
* @param {PassportUserSignInEmailRequest} passportUserSignInEmailRequest
|
|
@@ -8045,12 +6547,26 @@ export declare const PassportAuthUserServiceApiFactory: (configuration?: Configu
|
|
|
8045
6547
|
*/
|
|
8046
6548
|
passportAuthUserServicePassportUserOAuthCallback(platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserOAuthCallbackResponse>;
|
|
8047
6549
|
/**
|
|
8048
|
-
*
|
|
6550
|
+
* 未登录 - 用户遗忘密码请求重置
|
|
6551
|
+
* @param {PassportUserPasswordForgetRequest} passportUserPasswordForgetRequest
|
|
6552
|
+
* @param {*} [options] Override http request option.
|
|
6553
|
+
* @throws {RequiredError}
|
|
6554
|
+
*/
|
|
6555
|
+
passportAuthUserServicePassportUserPasswordForget(passportUserPasswordForgetRequest: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordForgetResponse>;
|
|
6556
|
+
/**
|
|
6557
|
+
* 未登录 - 用户重置密码
|
|
8049
6558
|
* @param {PassportUserPasswordResetRequest} passportUserPasswordResetRequest
|
|
8050
6559
|
* @param {*} [options] Override http request option.
|
|
8051
6560
|
* @throws {RequiredError}
|
|
8052
6561
|
*/
|
|
8053
6562
|
passportAuthUserServicePassportUserPasswordReset(passportUserPasswordResetRequest: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordResetResponse>;
|
|
6563
|
+
/**
|
|
6564
|
+
* 未登录 - 验证重置密码请求 token
|
|
6565
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} passportUserPasswordResetTokenVerifyRequest
|
|
6566
|
+
* @param {*} [options] Override http request option.
|
|
6567
|
+
* @throws {RequiredError}
|
|
6568
|
+
*/
|
|
6569
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify(passportUserPasswordResetTokenVerifyRequest: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordResetTokenVerifyResponse>;
|
|
8054
6570
|
/**
|
|
8055
6571
|
* 邮箱登录
|
|
8056
6572
|
* @param {PassportUserSignInEmailRequest} passportUserSignInEmailRequest
|
|
@@ -8297,12 +6813,26 @@ export interface PassportAuthUserServiceApiInterface {
|
|
|
8297
6813
|
*/
|
|
8298
6814
|
passportAuthUserServicePassportUserOAuthCallback(platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserOAuthCallbackResponse>;
|
|
8299
6815
|
/**
|
|
8300
|
-
*
|
|
6816
|
+
* 未登录 - 用户遗忘密码请求重置
|
|
6817
|
+
* @param {PassportUserPasswordForgetRequest} passportUserPasswordForgetRequest
|
|
6818
|
+
* @param {*} [options] Override http request option.
|
|
6819
|
+
* @throws {RequiredError}
|
|
6820
|
+
*/
|
|
6821
|
+
passportAuthUserServicePassportUserPasswordForget(passportUserPasswordForgetRequest: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordForgetResponse>;
|
|
6822
|
+
/**
|
|
6823
|
+
* 未登录 - 用户重置密码
|
|
8301
6824
|
* @param {PassportUserPasswordResetRequest} passportUserPasswordResetRequest
|
|
8302
6825
|
* @param {*} [options] Override http request option.
|
|
8303
6826
|
* @throws {RequiredError}
|
|
8304
6827
|
*/
|
|
8305
6828
|
passportAuthUserServicePassportUserPasswordReset(passportUserPasswordResetRequest: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordResetResponse>;
|
|
6829
|
+
/**
|
|
6830
|
+
* 未登录 - 验证重置密码请求 token
|
|
6831
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} passportUserPasswordResetTokenVerifyRequest
|
|
6832
|
+
* @param {*} [options] Override http request option.
|
|
6833
|
+
* @throws {RequiredError}
|
|
6834
|
+
*/
|
|
6835
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify(passportUserPasswordResetTokenVerifyRequest: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordResetTokenVerifyResponse>;
|
|
8306
6836
|
/**
|
|
8307
6837
|
* 邮箱登录
|
|
8308
6838
|
* @param {PassportUserSignInEmailRequest} passportUserSignInEmailRequest
|
|
@@ -8549,12 +7079,26 @@ export declare class PassportAuthUserServiceApi extends BaseAPI implements Passp
|
|
|
8549
7079
|
*/
|
|
8550
7080
|
passportAuthUserServicePassportUserOAuthCallback(platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserOAuthCallbackResponse, any, {}>>;
|
|
8551
7081
|
/**
|
|
8552
|
-
*
|
|
7082
|
+
* 未登录 - 用户遗忘密码请求重置
|
|
7083
|
+
* @param {PassportUserPasswordForgetRequest} passportUserPasswordForgetRequest
|
|
7084
|
+
* @param {*} [options] Override http request option.
|
|
7085
|
+
* @throws {RequiredError}
|
|
7086
|
+
*/
|
|
7087
|
+
passportAuthUserServicePassportUserPasswordForget(passportUserPasswordForgetRequest: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserPasswordForgetResponse, any, {}>>;
|
|
7088
|
+
/**
|
|
7089
|
+
* 未登录 - 用户重置密码
|
|
8553
7090
|
* @param {PassportUserPasswordResetRequest} passportUserPasswordResetRequest
|
|
8554
7091
|
* @param {*} [options] Override http request option.
|
|
8555
7092
|
* @throws {RequiredError}
|
|
8556
7093
|
*/
|
|
8557
7094
|
passportAuthUserServicePassportUserPasswordReset(passportUserPasswordResetRequest: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserPasswordResetResponse, any, {}>>;
|
|
7095
|
+
/**
|
|
7096
|
+
* 未登录 - 验证重置密码请求 token
|
|
7097
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} passportUserPasswordResetTokenVerifyRequest
|
|
7098
|
+
* @param {*} [options] Override http request option.
|
|
7099
|
+
* @throws {RequiredError}
|
|
7100
|
+
*/
|
|
7101
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify(passportUserPasswordResetTokenVerifyRequest: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserPasswordResetTokenVerifyResponse, any, {}>>;
|
|
8558
7102
|
/**
|
|
8559
7103
|
* 邮箱登录
|
|
8560
7104
|
* @param {PassportUserSignInEmailRequest} passportUserSignInEmailRequest
|