@cherryin/api-client 0.0.15 → 0.0.17
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 +0 -60
- package/README.md +3 -94
- package/api.ts +63 -2919
- package/dist/api.d.ts +257 -1815
- package/dist/api.js +3 -2091
- package/dist/esm/api.d.ts +257 -1815
- package/dist/esm/api.js +1 -2081
- package/docs/PassportAuthUserServiceApi.md +1 -1
- package/docs/PassportSendVerificationEmailRequest.md +1 -1
- 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/AuthAdminSignOutResponse.md +0 -24
- 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/AuthSignOutResponse.md +0 -24
- 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;
|
|
@@ -2196,7 +1833,7 @@ export interface PassportSendVerificationEmailRequest {
|
|
|
2196
1833
|
'email'?: string;
|
|
2197
1834
|
'callback_url'?: string;
|
|
2198
1835
|
/**
|
|
2199
|
-
*
|
|
1836
|
+
* 验证目的, 可选值 - verify_email(验证邮箱) - change_email(更换邮箱) - reset_password (重置密码)
|
|
2200
1837
|
*/
|
|
2201
1838
|
'purpose'?: string;
|
|
2202
1839
|
}
|
|
@@ -3746,1573 +3383,378 @@ export interface VersionedAPISchema {
|
|
|
3746
3383
|
*/
|
|
3747
3384
|
'version'?: string;
|
|
3748
3385
|
/**
|
|
3749
|
-
* path API 端点路径(可选) API path for this endpoint (optional)
|
|
3750
|
-
*/
|
|
3751
|
-
'path'?: string;
|
|
3752
|
-
/**
|
|
3753
|
-
* method HTTP 方法,例如 \"POST\", \"GET\"(可选) HTTP method for this endpoint, e.g., \"POST\", \"GET\" (optional)
|
|
3754
|
-
*/
|
|
3755
|
-
'method'?: string;
|
|
3756
|
-
}
|
|
3757
|
-
/**
|
|
3758
|
-
* VideoPricing 视频计费 Video pricing
|
|
3759
|
-
*/
|
|
3760
|
-
export interface VideoPricing {
|
|
3761
|
-
/**
|
|
3762
|
-
* id 价格配置ID Price configuration ID
|
|
3763
|
-
*/
|
|
3764
|
-
'id'?: string;
|
|
3765
|
-
/**
|
|
3766
|
-
* mode 计费模式: \"per_second\", \"per_token\" Pricing mode
|
|
3767
|
-
*/
|
|
3768
|
-
'mode'?: string;
|
|
3769
|
-
/**
|
|
3770
|
-
* input_per_token 输入每Token费用 Input fee per token
|
|
3771
|
-
*/
|
|
3772
|
-
'input_per_token'?: string;
|
|
3773
|
-
/**
|
|
3774
|
-
* output_per_token 输出每Token费用 Output fee per token
|
|
3775
|
-
*/
|
|
3776
|
-
'output_per_token'?: string;
|
|
3777
|
-
/**
|
|
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}
|
|
3386
|
+
* path API 端点路径(可选) API path for this endpoint (optional)
|
|
4959
3387
|
*/
|
|
4960
|
-
|
|
3388
|
+
'path'?: string;
|
|
4961
3389
|
/**
|
|
4962
|
-
*
|
|
4963
|
-
* @param {string} [email]
|
|
4964
|
-
* @param {string} [authCode]
|
|
4965
|
-
* @param {string} [callbackUrl]
|
|
4966
|
-
* @param {*} [options] Override http request option.
|
|
4967
|
-
* @throws {RequiredError}
|
|
3390
|
+
* method HTTP 方法,例如 \"POST\", \"GET\"(可选) HTTP method for this endpoint, e.g., \"POST\", \"GET\" (optional)
|
|
4968
3391
|
*/
|
|
4969
|
-
|
|
4970
|
-
}
|
|
3392
|
+
'method'?: string;
|
|
3393
|
+
}
|
|
4971
3394
|
/**
|
|
4972
|
-
*
|
|
3395
|
+
* VideoPricing 视频计费 Video pricing
|
|
4973
3396
|
*/
|
|
4974
|
-
export interface
|
|
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>;
|
|
3397
|
+
export interface VideoPricing {
|
|
4982
3398
|
/**
|
|
4983
|
-
*
|
|
4984
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
4985
|
-
* @param {*} [options] Override http request option.
|
|
4986
|
-
* @throws {RequiredError}
|
|
3399
|
+
* id 价格配置ID Price configuration ID
|
|
4987
3400
|
*/
|
|
4988
|
-
|
|
3401
|
+
'id'?: string;
|
|
4989
3402
|
/**
|
|
4990
|
-
*
|
|
4991
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
4992
|
-
* @param {*} [options] Override http request option.
|
|
4993
|
-
* @throws {RequiredError}
|
|
3403
|
+
* mode 计费模式: \"per_second\", \"per_token\" Pricing mode
|
|
4994
3404
|
*/
|
|
4995
|
-
|
|
3405
|
+
'mode'?: string;
|
|
4996
3406
|
/**
|
|
4997
|
-
*
|
|
4998
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
4999
|
-
* @param {*} [options] Override http request option.
|
|
5000
|
-
* @throws {RequiredError}
|
|
3407
|
+
* input_per_token 输入每Token费用 Input fee per token
|
|
5001
3408
|
*/
|
|
5002
|
-
|
|
3409
|
+
'input_per_token'?: string;
|
|
5003
3410
|
/**
|
|
5004
|
-
*
|
|
5005
|
-
* @param {*} [options] Override http request option.
|
|
5006
|
-
* @throws {RequiredError}
|
|
3411
|
+
* output_per_token 输出每Token费用 Output fee per token
|
|
5007
3412
|
*/
|
|
5008
|
-
|
|
3413
|
+
'output_per_token'?: string;
|
|
5009
3414
|
/**
|
|
5010
|
-
*
|
|
5011
|
-
* @param {*} [options] Override http request option.
|
|
5012
|
-
* @throws {RequiredError}
|
|
3415
|
+
* input_per_second 输入每秒费用 Input fee per second
|
|
5013
3416
|
*/
|
|
5014
|
-
|
|
3417
|
+
'input_per_second'?: string;
|
|
5015
3418
|
/**
|
|
5016
|
-
*
|
|
5017
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
5018
|
-
* @param {*} [options] Override http request option.
|
|
5019
|
-
* @throws {RequiredError}
|
|
3419
|
+
* output_per_second 输出每秒费用 Output fee per second
|
|
5020
3420
|
*/
|
|
5021
|
-
|
|
3421
|
+
'output_per_second'?: string;
|
|
5022
3422
|
/**
|
|
5023
|
-
*
|
|
5024
|
-
* @param {*} [options] Override http request option.
|
|
5025
|
-
* @throws {RequiredError}
|
|
3423
|
+
* extra 扩展计算 Extra calculation options
|
|
5026
3424
|
*/
|
|
5027
|
-
|
|
3425
|
+
'extra'?: {
|
|
3426
|
+
[key: string]: string;
|
|
3427
|
+
};
|
|
3428
|
+
}
|
|
3429
|
+
/**
|
|
3430
|
+
* AIModelAdminServiceApi - axios parameter creator
|
|
3431
|
+
*/
|
|
3432
|
+
export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5028
3433
|
/**
|
|
5029
|
-
*
|
|
3434
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3435
|
+
* @param {Array<string>} [aiModelNames]
|
|
5030
3436
|
* @param {*} [options] Override http request option.
|
|
5031
3437
|
* @throws {RequiredError}
|
|
5032
3438
|
*/
|
|
5033
|
-
|
|
3439
|
+
aIModelAdminServiceAIModelCheckConnection: (aiModelNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5034
3440
|
/**
|
|
5035
|
-
*
|
|
5036
|
-
* @param {
|
|
5037
|
-
* @param {string} [code]
|
|
5038
|
-
* @param {string} [state]
|
|
3441
|
+
* 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
|
|
3442
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5039
3443
|
* @param {*} [options] Override http request option.
|
|
5040
3444
|
* @throws {RequiredError}
|
|
5041
3445
|
*/
|
|
5042
|
-
|
|
3446
|
+
aIModelAdminServiceAIModelCreate: (aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5043
3447
|
/**
|
|
5044
|
-
*
|
|
5045
|
-
* @param {
|
|
3448
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3449
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5046
3450
|
* @param {*} [options] Override http request option.
|
|
5047
3451
|
* @throws {RequiredError}
|
|
5048
3452
|
*/
|
|
5049
|
-
|
|
3453
|
+
aIModelAdminServiceAIModelDelete: (aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5050
3454
|
/**
|
|
5051
|
-
*
|
|
5052
|
-
* @param {
|
|
3455
|
+
* 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
|
|
3456
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5053
3457
|
* @param {*} [options] Override http request option.
|
|
5054
3458
|
* @throws {RequiredError}
|
|
5055
3459
|
*/
|
|
5056
|
-
|
|
3460
|
+
aIModelAdminServiceAIModelDisable: (aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5057
3461
|
/**
|
|
5058
|
-
*
|
|
5059
|
-
* @param {
|
|
3462
|
+
* 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
|
|
3463
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3464
|
+
* @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
3465
|
* @param {*} [options] Override http request option.
|
|
5061
3466
|
* @throws {RequiredError}
|
|
5062
3467
|
*/
|
|
5063
|
-
|
|
3468
|
+
aIModelAdminServiceAIModelGet: (id?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5064
3469
|
/**
|
|
5065
|
-
*
|
|
5066
|
-
* @param {
|
|
3470
|
+
* 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
|
|
3471
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3472
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3473
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3474
|
+
* @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\"
|
|
3475
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5067
3476
|
* @param {*} [options] Override http request option.
|
|
5068
3477
|
* @throws {RequiredError}
|
|
5069
3478
|
*/
|
|
5070
|
-
|
|
3479
|
+
aIModelAdminServiceAIModelList: (page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5071
3480
|
/**
|
|
5072
|
-
*
|
|
5073
|
-
* @param {
|
|
3481
|
+
* 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
|
|
3482
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5074
3483
|
* @param {*} [options] Override http request option.
|
|
5075
3484
|
* @throws {RequiredError}
|
|
5076
3485
|
*/
|
|
5077
|
-
|
|
3486
|
+
aIModelAdminServiceAIModelPublish: (aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5078
3487
|
/**
|
|
5079
|
-
*
|
|
5080
|
-
* @param {
|
|
3488
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3489
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5081
3490
|
* @param {*} [options] Override http request option.
|
|
5082
3491
|
* @throws {RequiredError}
|
|
5083
3492
|
*/
|
|
5084
|
-
|
|
3493
|
+
aIModelAdminServiceAIModelUpdate: (aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3494
|
+
};
|
|
3495
|
+
/**
|
|
3496
|
+
* AIModelAdminServiceApi - functional programming interface
|
|
3497
|
+
*/
|
|
3498
|
+
export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) => {
|
|
5085
3499
|
/**
|
|
5086
|
-
*
|
|
5087
|
-
* @param {
|
|
3500
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3501
|
+
* @param {Array<string>} [aiModelNames]
|
|
5088
3502
|
* @param {*} [options] Override http request option.
|
|
5089
3503
|
* @throws {RequiredError}
|
|
5090
3504
|
*/
|
|
5091
|
-
|
|
3505
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCheckConnectionResponse>>;
|
|
5092
3506
|
/**
|
|
5093
|
-
*
|
|
5094
|
-
* @param {
|
|
3507
|
+
* 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
|
|
3508
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5095
3509
|
* @param {*} [options] Override http request option.
|
|
5096
3510
|
* @throws {RequiredError}
|
|
5097
3511
|
*/
|
|
5098
|
-
|
|
3512
|
+
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCreateResponse>>;
|
|
5099
3513
|
/**
|
|
5100
|
-
*
|
|
5101
|
-
* @param {
|
|
3514
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3515
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5102
3516
|
* @param {*} [options] Override http request option.
|
|
5103
3517
|
* @throws {RequiredError}
|
|
5104
3518
|
*/
|
|
5105
|
-
|
|
3519
|
+
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelDeleteResponse>>;
|
|
5106
3520
|
/**
|
|
5107
|
-
*
|
|
5108
|
-
* @param {
|
|
3521
|
+
* 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
|
|
3522
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5109
3523
|
* @param {*} [options] Override http request option.
|
|
5110
3524
|
* @throws {RequiredError}
|
|
5111
3525
|
*/
|
|
5112
|
-
|
|
3526
|
+
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelDisableResponse>>;
|
|
5113
3527
|
/**
|
|
5114
|
-
*
|
|
5115
|
-
* @param {
|
|
3528
|
+
* 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
|
|
3529
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3530
|
+
* @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
3531
|
* @param {*} [options] Override http request option.
|
|
5117
3532
|
* @throws {RequiredError}
|
|
5118
3533
|
*/
|
|
5119
|
-
|
|
3534
|
+
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelGetResponse>>;
|
|
5120
3535
|
/**
|
|
5121
|
-
*
|
|
5122
|
-
* @param {
|
|
3536
|
+
* 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
|
|
3537
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3538
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3539
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3540
|
+
* @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\"
|
|
3541
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5123
3542
|
* @param {*} [options] Override http request option.
|
|
5124
3543
|
* @throws {RequiredError}
|
|
5125
3544
|
*/
|
|
5126
|
-
|
|
3545
|
+
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelListResponse>>;
|
|
5127
3546
|
/**
|
|
5128
|
-
*
|
|
5129
|
-
* @param {
|
|
3547
|
+
* 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
|
|
3548
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5130
3549
|
* @param {*} [options] Override http request option.
|
|
5131
3550
|
* @throws {RequiredError}
|
|
5132
3551
|
*/
|
|
5133
|
-
|
|
3552
|
+
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelPublishResponse>>;
|
|
5134
3553
|
/**
|
|
5135
|
-
*
|
|
5136
|
-
* @param {
|
|
5137
|
-
* @param {string} [authCode]
|
|
5138
|
-
* @param {string} [callbackUrl]
|
|
3554
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3555
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5139
3556
|
* @param {*} [options] Override http request option.
|
|
5140
3557
|
* @throws {RequiredError}
|
|
5141
3558
|
*/
|
|
5142
|
-
|
|
5143
|
-
}
|
|
3559
|
+
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelUpdateResponse>>;
|
|
3560
|
+
};
|
|
5144
3561
|
/**
|
|
5145
|
-
*
|
|
3562
|
+
* AIModelAdminServiceApi - factory interface
|
|
5146
3563
|
*/
|
|
5147
|
-
export declare
|
|
3564
|
+
export declare const AIModelAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5148
3565
|
/**
|
|
5149
|
-
*
|
|
5150
|
-
* @param {
|
|
3566
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3567
|
+
* @param {Array<string>} [aiModelNames]
|
|
5151
3568
|
* @param {*} [options] Override http request option.
|
|
5152
3569
|
* @throws {RequiredError}
|
|
5153
3570
|
*/
|
|
5154
|
-
|
|
3571
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
5155
3572
|
/**
|
|
5156
|
-
*
|
|
5157
|
-
* @param {
|
|
3573
|
+
* 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
|
|
3574
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5158
3575
|
* @param {*} [options] Override http request option.
|
|
5159
3576
|
* @throws {RequiredError}
|
|
5160
3577
|
*/
|
|
5161
|
-
|
|
3578
|
+
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCreateResponse>;
|
|
5162
3579
|
/**
|
|
5163
|
-
*
|
|
5164
|
-
* @param {
|
|
3580
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3581
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5165
3582
|
* @param {*} [options] Override http request option.
|
|
5166
3583
|
* @throws {RequiredError}
|
|
5167
3584
|
*/
|
|
5168
|
-
|
|
3585
|
+
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDeleteResponse>;
|
|
5169
3586
|
/**
|
|
5170
|
-
*
|
|
5171
|
-
* @param {
|
|
3587
|
+
* 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
|
|
3588
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5172
3589
|
* @param {*} [options] Override http request option.
|
|
5173
3590
|
* @throws {RequiredError}
|
|
5174
3591
|
*/
|
|
5175
|
-
|
|
3592
|
+
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDisableResponse>;
|
|
5176
3593
|
/**
|
|
5177
|
-
*
|
|
3594
|
+
* 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
|
|
3595
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3596
|
+
* @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
3597
|
* @param {*} [options] Override http request option.
|
|
5179
3598
|
* @throws {RequiredError}
|
|
5180
3599
|
*/
|
|
5181
|
-
|
|
3600
|
+
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelGetResponse>;
|
|
5182
3601
|
/**
|
|
5183
|
-
*
|
|
3602
|
+
* 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
|
|
3603
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3604
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3605
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3606
|
+
* @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\"
|
|
3607
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5184
3608
|
* @param {*} [options] Override http request option.
|
|
5185
3609
|
* @throws {RequiredError}
|
|
5186
3610
|
*/
|
|
5187
|
-
|
|
3611
|
+
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelListResponse>;
|
|
5188
3612
|
/**
|
|
5189
|
-
*
|
|
5190
|
-
* @param {
|
|
3613
|
+
* 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
|
|
3614
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5191
3615
|
* @param {*} [options] Override http request option.
|
|
5192
3616
|
* @throws {RequiredError}
|
|
5193
3617
|
*/
|
|
5194
|
-
|
|
3618
|
+
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelPublishResponse>;
|
|
5195
3619
|
/**
|
|
5196
|
-
*
|
|
3620
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3621
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5197
3622
|
* @param {*} [options] Override http request option.
|
|
5198
3623
|
* @throws {RequiredError}
|
|
5199
3624
|
*/
|
|
5200
|
-
|
|
3625
|
+
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelUpdateResponse>;
|
|
3626
|
+
};
|
|
3627
|
+
/**
|
|
3628
|
+
* AIModelAdminServiceApi - interface
|
|
3629
|
+
*/
|
|
3630
|
+
export interface AIModelAdminServiceApiInterface {
|
|
5201
3631
|
/**
|
|
5202
|
-
*
|
|
3632
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3633
|
+
* @param {Array<string>} [aiModelNames]
|
|
5203
3634
|
* @param {*} [options] Override http request option.
|
|
5204
3635
|
* @throws {RequiredError}
|
|
5205
3636
|
*/
|
|
5206
|
-
|
|
3637
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
5207
3638
|
/**
|
|
5208
|
-
*
|
|
5209
|
-
* @param {
|
|
5210
|
-
* @param {string} [code]
|
|
5211
|
-
* @param {string} [state]
|
|
3639
|
+
* 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
|
|
3640
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5212
3641
|
* @param {*} [options] Override http request option.
|
|
5213
3642
|
* @throws {RequiredError}
|
|
5214
3643
|
*/
|
|
5215
|
-
|
|
3644
|
+
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCreateResponse>;
|
|
5216
3645
|
/**
|
|
5217
|
-
*
|
|
5218
|
-
* @param {
|
|
3646
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3647
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5219
3648
|
* @param {*} [options] Override http request option.
|
|
5220
3649
|
* @throws {RequiredError}
|
|
5221
3650
|
*/
|
|
5222
|
-
|
|
3651
|
+
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDeleteResponse>;
|
|
5223
3652
|
/**
|
|
5224
|
-
*
|
|
5225
|
-
* @param {
|
|
3653
|
+
* 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
|
|
3654
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5226
3655
|
* @param {*} [options] Override http request option.
|
|
5227
3656
|
* @throws {RequiredError}
|
|
5228
3657
|
*/
|
|
5229
|
-
|
|
3658
|
+
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelDisableResponse>;
|
|
5230
3659
|
/**
|
|
5231
|
-
*
|
|
5232
|
-
* @param {
|
|
3660
|
+
* 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
|
|
3661
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3662
|
+
* @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
3663
|
* @param {*} [options] Override http request option.
|
|
5234
3664
|
* @throws {RequiredError}
|
|
5235
3665
|
*/
|
|
5236
|
-
|
|
3666
|
+
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelGetResponse>;
|
|
5237
3667
|
/**
|
|
5238
|
-
*
|
|
5239
|
-
* @param {
|
|
3668
|
+
* 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
|
|
3669
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3670
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3671
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3672
|
+
* @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\"
|
|
3673
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5240
3674
|
* @param {*} [options] Override http request option.
|
|
5241
3675
|
* @throws {RequiredError}
|
|
5242
3676
|
*/
|
|
5243
|
-
|
|
3677
|
+
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): AxiosPromise<AIModelListResponse>;
|
|
5244
3678
|
/**
|
|
5245
|
-
*
|
|
5246
|
-
* @param {
|
|
3679
|
+
* 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
|
|
3680
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5247
3681
|
* @param {*} [options] Override http request option.
|
|
5248
3682
|
* @throws {RequiredError}
|
|
5249
3683
|
*/
|
|
5250
|
-
|
|
3684
|
+
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelPublishResponse>;
|
|
5251
3685
|
/**
|
|
5252
|
-
*
|
|
5253
|
-
* @param {
|
|
3686
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3687
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5254
3688
|
* @param {*} [options] Override http request option.
|
|
5255
3689
|
* @throws {RequiredError}
|
|
5256
3690
|
*/
|
|
5257
|
-
|
|
3691
|
+
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AIModelUpdateResponse>;
|
|
3692
|
+
}
|
|
3693
|
+
/**
|
|
3694
|
+
* AIModelAdminServiceApi - object-oriented interface
|
|
3695
|
+
*/
|
|
3696
|
+
export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAdminServiceApiInterface {
|
|
5258
3697
|
/**
|
|
5259
|
-
*
|
|
5260
|
-
* @param {
|
|
3698
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
3699
|
+
* @param {Array<string>} [aiModelNames]
|
|
5261
3700
|
* @param {*} [options] Override http request option.
|
|
5262
3701
|
* @throws {RequiredError}
|
|
5263
3702
|
*/
|
|
5264
|
-
|
|
3703
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCheckConnectionResponse, any, {}>>;
|
|
5265
3704
|
/**
|
|
5266
|
-
*
|
|
5267
|
-
* @param {
|
|
3705
|
+
* 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
|
|
3706
|
+
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
5268
3707
|
* @param {*} [options] Override http request option.
|
|
5269
3708
|
* @throws {RequiredError}
|
|
5270
3709
|
*/
|
|
5271
|
-
|
|
3710
|
+
aIModelAdminServiceAIModelCreate(aIModelCreateRequest: AIModelCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCreateResponse, any, {}>>;
|
|
5272
3711
|
/**
|
|
5273
|
-
*
|
|
5274
|
-
* @param {
|
|
3712
|
+
* AIModelDelete 删除 AIModel(软删除) Delete an AI model (soft delete) 请求路径: POST /admin/ai-model/delete Request path: POST /admin/ai-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3713
|
+
* @param {AIModelDeleteRequest} aIModelDeleteRequest
|
|
5275
3714
|
* @param {*} [options] Override http request option.
|
|
5276
3715
|
* @throws {RequiredError}
|
|
5277
3716
|
*/
|
|
5278
|
-
|
|
3717
|
+
aIModelAdminServiceAIModelDelete(aIModelDeleteRequest: AIModelDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelDeleteResponse, any, {}>>;
|
|
5279
3718
|
/**
|
|
5280
|
-
*
|
|
5281
|
-
* @param {
|
|
3719
|
+
* 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
|
|
3720
|
+
* @param {AIModelDisableRequest} aIModelDisableRequest
|
|
5282
3721
|
* @param {*} [options] Override http request option.
|
|
5283
3722
|
* @throws {RequiredError}
|
|
5284
3723
|
*/
|
|
5285
|
-
|
|
3724
|
+
aIModelAdminServiceAIModelDisable(aIModelDisableRequest: AIModelDisableRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelDisableResponse, any, {}>>;
|
|
5286
3725
|
/**
|
|
5287
|
-
*
|
|
5288
|
-
* @param {
|
|
3726
|
+
* 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
|
|
3727
|
+
* @param {string} [id] id 要获取的 AIModel 的唯一标识符 Unique identifier of the AI model to retrieve @gotags: form:\"id\"
|
|
3728
|
+
* @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
3729
|
* @param {*} [options] Override http request option.
|
|
5290
3730
|
* @throws {RequiredError}
|
|
5291
3731
|
*/
|
|
5292
|
-
|
|
3732
|
+
aIModelAdminServiceAIModelGet(id?: string, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelGetResponse, any, {}>>;
|
|
5293
3733
|
/**
|
|
5294
|
-
*
|
|
5295
|
-
* @param {
|
|
3734
|
+
* 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
|
|
3735
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
3736
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
3737
|
+
* @param {number} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
3738
|
+
* @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\"
|
|
3739
|
+
* @param {string} [group] group 按分组过滤(可选) Filter by group (optional) 例如: \"gpt-4\" 会匹配该分组下的所有模型 Example: \"gpt-4\" matches all models in this group @gotags: form:\"group\"
|
|
5296
3740
|
* @param {*} [options] Override http request option.
|
|
5297
3741
|
* @throws {RequiredError}
|
|
5298
3742
|
*/
|
|
5299
|
-
|
|
3743
|
+
aIModelAdminServiceAIModelList(page?: number, pageSize?: number, status?: number, namePrefix?: string, group?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelListResponse, any, {}>>;
|
|
5300
3744
|
/**
|
|
5301
|
-
*
|
|
5302
|
-
* @param {
|
|
3745
|
+
* 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
|
|
3746
|
+
* @param {AIModelPublishRequest} aIModelPublishRequest
|
|
5303
3747
|
* @param {*} [options] Override http request option.
|
|
5304
3748
|
* @throws {RequiredError}
|
|
5305
3749
|
*/
|
|
5306
|
-
|
|
3750
|
+
aIModelAdminServiceAIModelPublish(aIModelPublishRequest: AIModelPublishRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelPublishResponse, any, {}>>;
|
|
5307
3751
|
/**
|
|
5308
|
-
*
|
|
5309
|
-
* @param {
|
|
5310
|
-
* @param {string} [authCode]
|
|
5311
|
-
* @param {string} [callbackUrl]
|
|
3752
|
+
* AIModelUpdate 更新现有的 AIModel Update an existing AI model 请求路径: POST /admin/ai-model/update Request path: POST /admin/ai-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3753
|
+
* @param {AIModelUpdateRequest} aIModelUpdateRequest
|
|
5312
3754
|
* @param {*} [options] Override http request option.
|
|
5313
3755
|
* @throws {RequiredError}
|
|
5314
3756
|
*/
|
|
5315
|
-
|
|
3757
|
+
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelUpdateResponse, any, {}>>;
|
|
5316
3758
|
}
|
|
5317
3759
|
/**
|
|
5318
3760
|
* DiscountAdminServiceApi - axios parameter creator
|