@cherryin/aigw-api-client 0.1.26 → 0.1.28
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 +13 -22
- package/README.md +15 -29
- package/api.ts +191 -678
- package/dist/api.d.ts +138 -425
- package/dist/api.js +100 -436
- package/dist/esm/api.d.ts +138 -425
- package/dist/esm/api.js +94 -430
- package/docs/{UserInfo.md → AigwpbUserInfo.md} +3 -3
- package/docs/AigwpbUserMeInfo.md +2 -2
- package/docs/{UserSettings.md → AigwpbUserSettings.md} +3 -3
- package/docs/AuthUserMethod.md +38 -0
- package/docs/PassportpbUserInfo.md +30 -0
- package/docs/{UserManageSettings.md → PassportpbUserSettings.md} +3 -3
- package/docs/UserAdminServiceApi.md +60 -0
- package/docs/UserBasic.md +42 -0
- package/docs/{SetUserStatusRequest.md → UserExtendInfo.md} +5 -7
- package/docs/UserInfoItem.md +22 -0
- package/docs/{UpdateUserInfoRequest.md → UserInfoPageGetRequest.md} +13 -9
- package/docs/{ListUsersResponse.md → UserInfoPageGetResponse.md} +5 -9
- package/docs/UserPaymentInfo.md +20 -0
- package/docs/{SetUserRoleRequest.md → UserPreferences.md} +7 -7
- package/package.json +1 -1
- package/docs/BatchUpdateSessionsRequest.md +0 -24
- package/docs/BatchUpdateSessionsResponse.md +0 -24
- package/docs/GetUserDetailResponse.md +0 -24
- package/docs/ListUsersRequest.md +0 -36
- package/docs/SessionAction.md +0 -11
- package/docs/SetUserRoleResponse.md +0 -24
- package/docs/SetUserStatusResponse.md +0 -26
- package/docs/UpdateUserInfoResponse.md +0 -24
- package/docs/UserManageAPIKey.md +0 -38
- package/docs/UserManageAdminServiceApi.md +0 -324
- package/docs/UserManageAuthMethod.md +0 -32
- package/docs/UserManageBalance.md +0 -32
- package/docs/UserManageDetail.md +0 -46
- package/docs/UserManageItem.md +0 -38
- package/docs/UserManageSession.md +0 -34
package/dist/esm/api.d.ts
CHANGED
|
@@ -395,9 +395,18 @@ export interface AigwpbLabel {
|
|
|
395
395
|
'created_at'?: string;
|
|
396
396
|
'updated_at'?: string;
|
|
397
397
|
}
|
|
398
|
+
export interface AigwpbUserInfo {
|
|
399
|
+
'id'?: string;
|
|
400
|
+
'name'?: string;
|
|
401
|
+
'email'?: string;
|
|
402
|
+
'email_verified'?: boolean;
|
|
403
|
+
'image'?: string;
|
|
404
|
+
'created_at'?: string;
|
|
405
|
+
'updated_at'?: string;
|
|
406
|
+
}
|
|
398
407
|
export interface AigwpbUserMeInfo {
|
|
399
|
-
'info'?:
|
|
400
|
-
'settings'?:
|
|
408
|
+
'info'?: AigwpbUserInfo;
|
|
409
|
+
'settings'?: AigwpbUserSettings;
|
|
401
410
|
'balance'?: UserBalanceBrief;
|
|
402
411
|
}
|
|
403
412
|
export interface AigwpbUserPayStripeCheckout {
|
|
@@ -409,6 +418,9 @@ export interface AigwpbUserPortalDashboard {
|
|
|
409
418
|
'insights'?: UsageInsights;
|
|
410
419
|
'daily_usages'?: Array<DailyUsage>;
|
|
411
420
|
}
|
|
421
|
+
export interface AigwpbUserSettings {
|
|
422
|
+
'email_notifications_enabled'?: boolean;
|
|
423
|
+
}
|
|
412
424
|
export interface Any {
|
|
413
425
|
[key: string]: object | any;
|
|
414
426
|
'@type'?: string;
|
|
@@ -424,15 +436,17 @@ export interface AudioPricing {
|
|
|
424
436
|
[key: string]: string;
|
|
425
437
|
};
|
|
426
438
|
}
|
|
427
|
-
export interface
|
|
439
|
+
export interface AuthUserMethod {
|
|
440
|
+
'app_id'?: string;
|
|
441
|
+
'aid'?: string;
|
|
428
442
|
'uid'?: string;
|
|
429
|
-
'
|
|
430
|
-
'
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
'
|
|
434
|
-
'
|
|
435
|
-
'
|
|
443
|
+
'provider_id'?: string;
|
|
444
|
+
'email'?: string;
|
|
445
|
+
'phone'?: string;
|
|
446
|
+
'oauth_account_id'?: string;
|
|
447
|
+
'oauth_scopes'?: Array<string>;
|
|
448
|
+
'created_at'?: string;
|
|
449
|
+
'updated_at'?: string;
|
|
436
450
|
}
|
|
437
451
|
export interface CodeExecutionPricing {
|
|
438
452
|
'id'?: string;
|
|
@@ -627,11 +641,6 @@ export interface FrontendSearchContextCost {
|
|
|
627
641
|
'search_context_size_low'?: string;
|
|
628
642
|
'search_context_size_medium'?: string;
|
|
629
643
|
}
|
|
630
|
-
export interface GetUserDetailResponse {
|
|
631
|
-
'code'?: string;
|
|
632
|
-
'message'?: string;
|
|
633
|
-
'user'?: UserManageDetail;
|
|
634
|
-
}
|
|
635
644
|
export interface ImagePricing {
|
|
636
645
|
'id'?: string;
|
|
637
646
|
'mode'?: string;
|
|
@@ -679,34 +688,6 @@ export interface LabelUpdateResponse {
|
|
|
679
688
|
'message'?: string;
|
|
680
689
|
'data'?: AigwpbLabel;
|
|
681
690
|
}
|
|
682
|
-
export interface ListUsersRequest {
|
|
683
|
-
/**
|
|
684
|
-
* 页码,从1开始
|
|
685
|
-
*/
|
|
686
|
-
'page'?: number;
|
|
687
|
-
'page_size'?: number;
|
|
688
|
-
/**
|
|
689
|
-
* UID 列表过滤
|
|
690
|
-
*/
|
|
691
|
-
'uids'?: Array<string>;
|
|
692
|
-
'display_name'?: string;
|
|
693
|
-
'email'?: string;
|
|
694
|
-
'user_statuses'?: Array<number>;
|
|
695
|
-
'user_roles'?: Array<number>;
|
|
696
|
-
/**
|
|
697
|
-
* 排序字段:created_at, updated_at
|
|
698
|
-
*/
|
|
699
|
-
'order_by'?: string;
|
|
700
|
-
'order_dir'?: string;
|
|
701
|
-
}
|
|
702
|
-
export interface ListUsersResponse {
|
|
703
|
-
'code'?: string;
|
|
704
|
-
'message'?: string;
|
|
705
|
-
'users'?: Array<UserManageItem>;
|
|
706
|
-
'total'?: string;
|
|
707
|
-
'page'?: number;
|
|
708
|
-
'page_size'?: number;
|
|
709
|
-
}
|
|
710
691
|
export interface ModelCapabilities {
|
|
711
692
|
'supported_endpoints'?: {
|
|
712
693
|
[key: string]: string;
|
|
@@ -766,6 +747,17 @@ export interface OrderItem {
|
|
|
766
747
|
'key'?: string;
|
|
767
748
|
'direction'?: string;
|
|
768
749
|
}
|
|
750
|
+
export interface PassportpbUserInfo {
|
|
751
|
+
'user'?: UserBasic;
|
|
752
|
+
'settings'?: PassportpbUserSettings;
|
|
753
|
+
'preferences'?: UserPreferences;
|
|
754
|
+
'payment_info'?: UserPaymentInfo;
|
|
755
|
+
'extend_info'?: UserExtendInfo;
|
|
756
|
+
'auth_methods'?: Array<AuthUserMethod>;
|
|
757
|
+
}
|
|
758
|
+
export interface PassportpbUserSettings {
|
|
759
|
+
'email_notifications_enabled'?: boolean;
|
|
760
|
+
}
|
|
769
761
|
export interface PricingConditions {
|
|
770
762
|
'user_tiers'?: Array<string>;
|
|
771
763
|
'api_versions'?: Array<string>;
|
|
@@ -904,33 +896,6 @@ export interface RequestPricing {
|
|
|
904
896
|
'base_fee'?: string;
|
|
905
897
|
'request_fee'?: string;
|
|
906
898
|
}
|
|
907
|
-
/**
|
|
908
|
-
* - SESSION_ACTION_UNSPECIFIED: 未指定 - SESSION_ACTION_REVOKE: 撤销 Session
|
|
909
|
-
*/
|
|
910
|
-
export declare const SessionAction: {
|
|
911
|
-
readonly SessionActionUnspecified: "SESSION_ACTION_UNSPECIFIED";
|
|
912
|
-
readonly SessionActionRevoke: "SESSION_ACTION_REVOKE";
|
|
913
|
-
};
|
|
914
|
-
export type SessionAction = typeof SessionAction[keyof typeof SessionAction];
|
|
915
|
-
export interface SetUserRoleRequest {
|
|
916
|
-
'uid'?: string;
|
|
917
|
-
'new_role'?: number;
|
|
918
|
-
}
|
|
919
|
-
export interface SetUserRoleResponse {
|
|
920
|
-
'code'?: string;
|
|
921
|
-
'message'?: string;
|
|
922
|
-
'success'?: boolean;
|
|
923
|
-
}
|
|
924
|
-
export interface SetUserStatusRequest {
|
|
925
|
-
'uid'?: string;
|
|
926
|
-
'new_status'?: number;
|
|
927
|
-
}
|
|
928
|
-
export interface SetUserStatusResponse {
|
|
929
|
-
'code'?: string;
|
|
930
|
-
'message'?: string;
|
|
931
|
-
'success'?: boolean;
|
|
932
|
-
'revoked_sessions'?: number;
|
|
933
|
-
}
|
|
934
899
|
export interface Status {
|
|
935
900
|
'code'?: number;
|
|
936
901
|
'message'?: string;
|
|
@@ -966,17 +931,6 @@ export interface TokenUsage {
|
|
|
966
931
|
'count'?: string;
|
|
967
932
|
'cost'?: string;
|
|
968
933
|
}
|
|
969
|
-
export interface UpdateUserInfoRequest {
|
|
970
|
-
'uid'?: string;
|
|
971
|
-
'display_name'?: string;
|
|
972
|
-
'email'?: string;
|
|
973
|
-
'password'?: string;
|
|
974
|
-
}
|
|
975
|
-
export interface UpdateUserInfoResponse {
|
|
976
|
-
'code'?: string;
|
|
977
|
-
'message'?: string;
|
|
978
|
-
'success'?: boolean;
|
|
979
|
-
}
|
|
980
934
|
export interface UsageInsights {
|
|
981
935
|
'most_expensive_day_at'?: string;
|
|
982
936
|
'most_expensive_day_cost'?: string;
|
|
@@ -1084,14 +1038,40 @@ export interface UserBalanceListResponse {
|
|
|
1084
1038
|
'list'?: Array<UserBalance>;
|
|
1085
1039
|
'total'?: string;
|
|
1086
1040
|
}
|
|
1087
|
-
export interface
|
|
1088
|
-
'
|
|
1041
|
+
export interface UserBasic {
|
|
1042
|
+
'uid'?: string;
|
|
1043
|
+
'app_id'?: string;
|
|
1044
|
+
'aid'?: string;
|
|
1089
1045
|
'name'?: string;
|
|
1090
1046
|
'email'?: string;
|
|
1091
|
-
'
|
|
1092
|
-
'
|
|
1093
|
-
'
|
|
1094
|
-
'
|
|
1047
|
+
'phone'?: string;
|
|
1048
|
+
'avatar_url'?: string;
|
|
1049
|
+
'register_at'?: string;
|
|
1050
|
+
'email_verified_at'?: string;
|
|
1051
|
+
'phone_verified_at'?: string;
|
|
1052
|
+
'app_name'?: string;
|
|
1053
|
+
'user_status'?: number;
|
|
1054
|
+
}
|
|
1055
|
+
export interface UserExtendInfo {
|
|
1056
|
+
'user_groups'?: Array<string>;
|
|
1057
|
+
}
|
|
1058
|
+
export interface UserInfoItem {
|
|
1059
|
+
'user'?: PassportpbUserInfo;
|
|
1060
|
+
'balance'?: UserBalance;
|
|
1061
|
+
}
|
|
1062
|
+
export interface UserInfoPageGetRequest {
|
|
1063
|
+
'page'?: number;
|
|
1064
|
+
'page_size'?: number;
|
|
1065
|
+
'user_ids'?: Array<string>;
|
|
1066
|
+
'email'?: string;
|
|
1067
|
+
'phone'?: string;
|
|
1068
|
+
'display_name'?: string;
|
|
1069
|
+
}
|
|
1070
|
+
export interface UserInfoPageGetResponse {
|
|
1071
|
+
'code'?: string;
|
|
1072
|
+
'message'?: string;
|
|
1073
|
+
'user_info_list'?: Array<UserInfoItem>;
|
|
1074
|
+
'total'?: string;
|
|
1095
1075
|
}
|
|
1096
1076
|
export interface UserLabelItem {
|
|
1097
1077
|
'uid'?: string;
|
|
@@ -1118,77 +1098,6 @@ export interface UserLabelPairChangeResponse {
|
|
|
1118
1098
|
'code'?: string;
|
|
1119
1099
|
'message'?: string;
|
|
1120
1100
|
}
|
|
1121
|
-
export interface UserManageAPIKey {
|
|
1122
|
-
'id'?: string;
|
|
1123
|
-
'name'?: string;
|
|
1124
|
-
'key_group'?: string;
|
|
1125
|
-
'balance_code'?: string;
|
|
1126
|
-
'quota_total'?: string;
|
|
1127
|
-
'quota_used'?: string;
|
|
1128
|
-
'quota_mode'?: number;
|
|
1129
|
-
'key_status'?: number;
|
|
1130
|
-
'expires_at'?: string;
|
|
1131
|
-
'created_at'?: string;
|
|
1132
|
-
}
|
|
1133
|
-
export interface UserManageAuthMethod {
|
|
1134
|
-
'id'?: string;
|
|
1135
|
-
'auth_type'?: string;
|
|
1136
|
-
'auth_id'?: string;
|
|
1137
|
-
'is_primary'?: boolean;
|
|
1138
|
-
'auth_status'?: number;
|
|
1139
|
-
'last_used_at'?: string;
|
|
1140
|
-
'created_at'?: string;
|
|
1141
|
-
}
|
|
1142
|
-
export interface UserManageBalance {
|
|
1143
|
-
'balance_code'?: string;
|
|
1144
|
-
'prepaid_balance_total'?: string;
|
|
1145
|
-
'prepaid_balance_used'?: string;
|
|
1146
|
-
'prepaid_balance_frozen'?: string;
|
|
1147
|
-
'bonus_balance_total'?: string;
|
|
1148
|
-
'bonus_balance_used'?: string;
|
|
1149
|
-
'bonus_balance_frozen'?: string;
|
|
1150
|
-
}
|
|
1151
|
-
export interface UserManageDetail {
|
|
1152
|
-
'uid'?: string;
|
|
1153
|
-
'display_name'?: string;
|
|
1154
|
-
'email'?: string;
|
|
1155
|
-
'avatar_url'?: string;
|
|
1156
|
-
'user_role'?: number;
|
|
1157
|
-
'user_status'?: number;
|
|
1158
|
-
'user_group'?: string;
|
|
1159
|
-
'created_at'?: string;
|
|
1160
|
-
'updated_at'?: string;
|
|
1161
|
-
'settings'?: UserManageSettings;
|
|
1162
|
-
'balance'?: UserManageBalance;
|
|
1163
|
-
'api_keys'?: Array<UserManageAPIKey>;
|
|
1164
|
-
'auth_methods'?: Array<UserManageAuthMethod>;
|
|
1165
|
-
'sessions'?: Array<UserManageSession>;
|
|
1166
|
-
}
|
|
1167
|
-
export interface UserManageItem {
|
|
1168
|
-
'uid'?: string;
|
|
1169
|
-
'display_name'?: string;
|
|
1170
|
-
'email'?: string;
|
|
1171
|
-
'avatar_url'?: string;
|
|
1172
|
-
'user_role'?: number;
|
|
1173
|
-
'user_status'?: number;
|
|
1174
|
-
'user_group'?: string;
|
|
1175
|
-
'created_at'?: string;
|
|
1176
|
-
'updated_at'?: string;
|
|
1177
|
-
'auth_types'?: Array<string>;
|
|
1178
|
-
}
|
|
1179
|
-
export interface UserManageSession {
|
|
1180
|
-
'id'?: string;
|
|
1181
|
-
'session_type'?: string;
|
|
1182
|
-
'ip_address'?: string;
|
|
1183
|
-
'user_agent'?: string;
|
|
1184
|
-
'active_at'?: string;
|
|
1185
|
-
'expires_at'?: string;
|
|
1186
|
-
'created_at'?: string;
|
|
1187
|
-
'is_current'?: boolean;
|
|
1188
|
-
}
|
|
1189
|
-
export interface UserManageSettings {
|
|
1190
|
-
'email_notifications_enabled'?: boolean;
|
|
1191
|
-
}
|
|
1192
1101
|
export interface UserMeInfoResponse {
|
|
1193
1102
|
'code'?: string;
|
|
1194
1103
|
'message'?: string;
|
|
@@ -1221,13 +1130,17 @@ export interface UserPayStripeCheckoutResponse {
|
|
|
1221
1130
|
'message'?: string;
|
|
1222
1131
|
'data'?: AigwpbUserPayStripeCheckout;
|
|
1223
1132
|
}
|
|
1133
|
+
export interface UserPaymentInfo {
|
|
1134
|
+
'stripe_customer_id'?: string;
|
|
1135
|
+
}
|
|
1224
1136
|
export interface UserPortalDashboardResponse {
|
|
1225
1137
|
'code'?: string;
|
|
1226
1138
|
'message'?: string;
|
|
1227
1139
|
'data'?: AigwpbUserPortalDashboard;
|
|
1228
1140
|
}
|
|
1229
|
-
export interface
|
|
1230
|
-
'
|
|
1141
|
+
export interface UserPreferences {
|
|
1142
|
+
'language'?: string;
|
|
1143
|
+
'timezone'?: string;
|
|
1231
1144
|
}
|
|
1232
1145
|
export interface VersionedAPISchema {
|
|
1233
1146
|
'id'?: string;
|
|
@@ -3651,6 +3564,71 @@ export declare class UserAPIKeyServiceApi extends BaseAPI implements UserAPIKeyS
|
|
|
3651
3564
|
*/
|
|
3652
3565
|
userAPIKeyServiceUserAPIKeyUpdate(body: UserAPIKeyUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAPIKeyUpdateResponse, any, {}>>;
|
|
3653
3566
|
}
|
|
3567
|
+
/**
|
|
3568
|
+
* UserAdminServiceApi - axios parameter creator
|
|
3569
|
+
*/
|
|
3570
|
+
export declare const UserAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3571
|
+
/**
|
|
3572
|
+
*
|
|
3573
|
+
* @summary 用户信息
|
|
3574
|
+
* @param {UserInfoPageGetRequest} body
|
|
3575
|
+
* @param {*} [options] Override http request option.
|
|
3576
|
+
* @throws {RequiredError}
|
|
3577
|
+
*/
|
|
3578
|
+
userAdminServiceUserInfoPageGet: (body: UserInfoPageGetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3579
|
+
};
|
|
3580
|
+
/**
|
|
3581
|
+
* UserAdminServiceApi - functional programming interface
|
|
3582
|
+
*/
|
|
3583
|
+
export declare const UserAdminServiceApiFp: (configuration?: Configuration) => {
|
|
3584
|
+
/**
|
|
3585
|
+
*
|
|
3586
|
+
* @summary 用户信息
|
|
3587
|
+
* @param {UserInfoPageGetRequest} body
|
|
3588
|
+
* @param {*} [options] Override http request option.
|
|
3589
|
+
* @throws {RequiredError}
|
|
3590
|
+
*/
|
|
3591
|
+
userAdminServiceUserInfoPageGet(body: UserInfoPageGetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserInfoPageGetResponse>>;
|
|
3592
|
+
};
|
|
3593
|
+
/**
|
|
3594
|
+
* UserAdminServiceApi - factory interface
|
|
3595
|
+
*/
|
|
3596
|
+
export declare const UserAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3597
|
+
/**
|
|
3598
|
+
*
|
|
3599
|
+
* @summary 用户信息
|
|
3600
|
+
* @param {UserInfoPageGetRequest} body
|
|
3601
|
+
* @param {*} [options] Override http request option.
|
|
3602
|
+
* @throws {RequiredError}
|
|
3603
|
+
*/
|
|
3604
|
+
userAdminServiceUserInfoPageGet(body: UserInfoPageGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserInfoPageGetResponse>;
|
|
3605
|
+
};
|
|
3606
|
+
/**
|
|
3607
|
+
* UserAdminServiceApi - interface
|
|
3608
|
+
*/
|
|
3609
|
+
export interface UserAdminServiceApiInterface {
|
|
3610
|
+
/**
|
|
3611
|
+
*
|
|
3612
|
+
* @summary 用户信息
|
|
3613
|
+
* @param {UserInfoPageGetRequest} body
|
|
3614
|
+
* @param {*} [options] Override http request option.
|
|
3615
|
+
* @throws {RequiredError}
|
|
3616
|
+
*/
|
|
3617
|
+
userAdminServiceUserInfoPageGet(body: UserInfoPageGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserInfoPageGetResponse>;
|
|
3618
|
+
}
|
|
3619
|
+
/**
|
|
3620
|
+
* UserAdminServiceApi - object-oriented interface
|
|
3621
|
+
*/
|
|
3622
|
+
export declare class UserAdminServiceApi extends BaseAPI implements UserAdminServiceApiInterface {
|
|
3623
|
+
/**
|
|
3624
|
+
*
|
|
3625
|
+
* @summary 用户信息
|
|
3626
|
+
* @param {UserInfoPageGetRequest} body
|
|
3627
|
+
* @param {*} [options] Override http request option.
|
|
3628
|
+
* @throws {RequiredError}
|
|
3629
|
+
*/
|
|
3630
|
+
userAdminServiceUserInfoPageGet(body: UserInfoPageGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserInfoPageGetResponse, any, {}>>;
|
|
3631
|
+
}
|
|
3654
3632
|
/**
|
|
3655
3633
|
* UserBalanceServiceApi - axios parameter creator
|
|
3656
3634
|
*/
|
|
@@ -4196,271 +4174,6 @@ export declare class UserLabelServiceApi extends BaseAPI implements UserLabelSer
|
|
|
4196
4174
|
*/
|
|
4197
4175
|
userLabelServiceUserLabelPairChange(body: UserLabelPairChangeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserLabelPairChangeResponse, any, {}>>;
|
|
4198
4176
|
}
|
|
4199
|
-
/**
|
|
4200
|
-
* UserManageAdminServiceApi - axios parameter creator
|
|
4201
|
-
*/
|
|
4202
|
-
export declare const UserManageAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4203
|
-
/**
|
|
4204
|
-
*
|
|
4205
|
-
* @summary 批量管理 Session
|
|
4206
|
-
* @param {BatchUpdateSessionsRequest} body
|
|
4207
|
-
* @param {*} [options] Override http request option.
|
|
4208
|
-
* @throws {RequiredError}
|
|
4209
|
-
*/
|
|
4210
|
-
userManageAdminServiceBatchUpdateSessions: (body: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4211
|
-
/**
|
|
4212
|
-
*
|
|
4213
|
-
* @summary 用户详情
|
|
4214
|
-
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\" 用户 UID
|
|
4215
|
-
* @param {*} [options] Override http request option.
|
|
4216
|
-
* @throws {RequiredError}
|
|
4217
|
-
*/
|
|
4218
|
-
userManageAdminServiceGetUserDetail: (uid?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4219
|
-
/**
|
|
4220
|
-
*
|
|
4221
|
-
* @summary 用户列表(分页查询)
|
|
4222
|
-
* @param {ListUsersRequest} body
|
|
4223
|
-
* @param {*} [options] Override http request option.
|
|
4224
|
-
* @throws {RequiredError}
|
|
4225
|
-
*/
|
|
4226
|
-
userManageAdminServiceListUsers: (body: ListUsersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4227
|
-
/**
|
|
4228
|
-
*
|
|
4229
|
-
* @summary 设置用户角色
|
|
4230
|
-
* @param {SetUserRoleRequest} body
|
|
4231
|
-
* @param {*} [options] Override http request option.
|
|
4232
|
-
* @throws {RequiredError}
|
|
4233
|
-
*/
|
|
4234
|
-
userManageAdminServiceSetUserRole: (body: SetUserRoleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4235
|
-
/**
|
|
4236
|
-
*
|
|
4237
|
-
* @summary 设置用户状态(启用/禁用)
|
|
4238
|
-
* @param {SetUserStatusRequest} body
|
|
4239
|
-
* @param {*} [options] Override http request option.
|
|
4240
|
-
* @throws {RequiredError}
|
|
4241
|
-
*/
|
|
4242
|
-
userManageAdminServiceSetUserStatus: (body: SetUserStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4243
|
-
/**
|
|
4244
|
-
*
|
|
4245
|
-
* @summary 更新用户信息
|
|
4246
|
-
* @param {UpdateUserInfoRequest} body
|
|
4247
|
-
* @param {*} [options] Override http request option.
|
|
4248
|
-
* @throws {RequiredError}
|
|
4249
|
-
*/
|
|
4250
|
-
userManageAdminServiceUpdateUserInfo: (body: UpdateUserInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4251
|
-
};
|
|
4252
|
-
/**
|
|
4253
|
-
* UserManageAdminServiceApi - functional programming interface
|
|
4254
|
-
*/
|
|
4255
|
-
export declare const UserManageAdminServiceApiFp: (configuration?: Configuration) => {
|
|
4256
|
-
/**
|
|
4257
|
-
*
|
|
4258
|
-
* @summary 批量管理 Session
|
|
4259
|
-
* @param {BatchUpdateSessionsRequest} body
|
|
4260
|
-
* @param {*} [options] Override http request option.
|
|
4261
|
-
* @throws {RequiredError}
|
|
4262
|
-
*/
|
|
4263
|
-
userManageAdminServiceBatchUpdateSessions(body: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpdateSessionsResponse>>;
|
|
4264
|
-
/**
|
|
4265
|
-
*
|
|
4266
|
-
* @summary 用户详情
|
|
4267
|
-
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\" 用户 UID
|
|
4268
|
-
* @param {*} [options] Override http request option.
|
|
4269
|
-
* @throws {RequiredError}
|
|
4270
|
-
*/
|
|
4271
|
-
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserDetailResponse>>;
|
|
4272
|
-
/**
|
|
4273
|
-
*
|
|
4274
|
-
* @summary 用户列表(分页查询)
|
|
4275
|
-
* @param {ListUsersRequest} body
|
|
4276
|
-
* @param {*} [options] Override http request option.
|
|
4277
|
-
* @throws {RequiredError}
|
|
4278
|
-
*/
|
|
4279
|
-
userManageAdminServiceListUsers(body: ListUsersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponse>>;
|
|
4280
|
-
/**
|
|
4281
|
-
*
|
|
4282
|
-
* @summary 设置用户角色
|
|
4283
|
-
* @param {SetUserRoleRequest} body
|
|
4284
|
-
* @param {*} [options] Override http request option.
|
|
4285
|
-
* @throws {RequiredError}
|
|
4286
|
-
*/
|
|
4287
|
-
userManageAdminServiceSetUserRole(body: SetUserRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetUserRoleResponse>>;
|
|
4288
|
-
/**
|
|
4289
|
-
*
|
|
4290
|
-
* @summary 设置用户状态(启用/禁用)
|
|
4291
|
-
* @param {SetUserStatusRequest} body
|
|
4292
|
-
* @param {*} [options] Override http request option.
|
|
4293
|
-
* @throws {RequiredError}
|
|
4294
|
-
*/
|
|
4295
|
-
userManageAdminServiceSetUserStatus(body: SetUserStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetUserStatusResponse>>;
|
|
4296
|
-
/**
|
|
4297
|
-
*
|
|
4298
|
-
* @summary 更新用户信息
|
|
4299
|
-
* @param {UpdateUserInfoRequest} body
|
|
4300
|
-
* @param {*} [options] Override http request option.
|
|
4301
|
-
* @throws {RequiredError}
|
|
4302
|
-
*/
|
|
4303
|
-
userManageAdminServiceUpdateUserInfo(body: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserInfoResponse>>;
|
|
4304
|
-
};
|
|
4305
|
-
/**
|
|
4306
|
-
* UserManageAdminServiceApi - factory interface
|
|
4307
|
-
*/
|
|
4308
|
-
export declare const UserManageAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4309
|
-
/**
|
|
4310
|
-
*
|
|
4311
|
-
* @summary 批量管理 Session
|
|
4312
|
-
* @param {BatchUpdateSessionsRequest} body
|
|
4313
|
-
* @param {*} [options] Override http request option.
|
|
4314
|
-
* @throws {RequiredError}
|
|
4315
|
-
*/
|
|
4316
|
-
userManageAdminServiceBatchUpdateSessions(body: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchUpdateSessionsResponse>;
|
|
4317
|
-
/**
|
|
4318
|
-
*
|
|
4319
|
-
* @summary 用户详情
|
|
4320
|
-
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\" 用户 UID
|
|
4321
|
-
* @param {*} [options] Override http request option.
|
|
4322
|
-
* @throws {RequiredError}
|
|
4323
|
-
*/
|
|
4324
|
-
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserDetailResponse>;
|
|
4325
|
-
/**
|
|
4326
|
-
*
|
|
4327
|
-
* @summary 用户列表(分页查询)
|
|
4328
|
-
* @param {ListUsersRequest} body
|
|
4329
|
-
* @param {*} [options] Override http request option.
|
|
4330
|
-
* @throws {RequiredError}
|
|
4331
|
-
*/
|
|
4332
|
-
userManageAdminServiceListUsers(body: ListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsersResponse>;
|
|
4333
|
-
/**
|
|
4334
|
-
*
|
|
4335
|
-
* @summary 设置用户角色
|
|
4336
|
-
* @param {SetUserRoleRequest} body
|
|
4337
|
-
* @param {*} [options] Override http request option.
|
|
4338
|
-
* @throws {RequiredError}
|
|
4339
|
-
*/
|
|
4340
|
-
userManageAdminServiceSetUserRole(body: SetUserRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserRoleResponse>;
|
|
4341
|
-
/**
|
|
4342
|
-
*
|
|
4343
|
-
* @summary 设置用户状态(启用/禁用)
|
|
4344
|
-
* @param {SetUserStatusRequest} body
|
|
4345
|
-
* @param {*} [options] Override http request option.
|
|
4346
|
-
* @throws {RequiredError}
|
|
4347
|
-
*/
|
|
4348
|
-
userManageAdminServiceSetUserStatus(body: SetUserStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserStatusResponse>;
|
|
4349
|
-
/**
|
|
4350
|
-
*
|
|
4351
|
-
* @summary 更新用户信息
|
|
4352
|
-
* @param {UpdateUserInfoRequest} body
|
|
4353
|
-
* @param {*} [options] Override http request option.
|
|
4354
|
-
* @throws {RequiredError}
|
|
4355
|
-
*/
|
|
4356
|
-
userManageAdminServiceUpdateUserInfo(body: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserInfoResponse>;
|
|
4357
|
-
};
|
|
4358
|
-
/**
|
|
4359
|
-
* UserManageAdminServiceApi - interface
|
|
4360
|
-
*/
|
|
4361
|
-
export interface UserManageAdminServiceApiInterface {
|
|
4362
|
-
/**
|
|
4363
|
-
*
|
|
4364
|
-
* @summary 批量管理 Session
|
|
4365
|
-
* @param {BatchUpdateSessionsRequest} body
|
|
4366
|
-
* @param {*} [options] Override http request option.
|
|
4367
|
-
* @throws {RequiredError}
|
|
4368
|
-
*/
|
|
4369
|
-
userManageAdminServiceBatchUpdateSessions(body: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchUpdateSessionsResponse>;
|
|
4370
|
-
/**
|
|
4371
|
-
*
|
|
4372
|
-
* @summary 用户详情
|
|
4373
|
-
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\" 用户 UID
|
|
4374
|
-
* @param {*} [options] Override http request option.
|
|
4375
|
-
* @throws {RequiredError}
|
|
4376
|
-
*/
|
|
4377
|
-
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserDetailResponse>;
|
|
4378
|
-
/**
|
|
4379
|
-
*
|
|
4380
|
-
* @summary 用户列表(分页查询)
|
|
4381
|
-
* @param {ListUsersRequest} body
|
|
4382
|
-
* @param {*} [options] Override http request option.
|
|
4383
|
-
* @throws {RequiredError}
|
|
4384
|
-
*/
|
|
4385
|
-
userManageAdminServiceListUsers(body: ListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsersResponse>;
|
|
4386
|
-
/**
|
|
4387
|
-
*
|
|
4388
|
-
* @summary 设置用户角色
|
|
4389
|
-
* @param {SetUserRoleRequest} body
|
|
4390
|
-
* @param {*} [options] Override http request option.
|
|
4391
|
-
* @throws {RequiredError}
|
|
4392
|
-
*/
|
|
4393
|
-
userManageAdminServiceSetUserRole(body: SetUserRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserRoleResponse>;
|
|
4394
|
-
/**
|
|
4395
|
-
*
|
|
4396
|
-
* @summary 设置用户状态(启用/禁用)
|
|
4397
|
-
* @param {SetUserStatusRequest} body
|
|
4398
|
-
* @param {*} [options] Override http request option.
|
|
4399
|
-
* @throws {RequiredError}
|
|
4400
|
-
*/
|
|
4401
|
-
userManageAdminServiceSetUserStatus(body: SetUserStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserStatusResponse>;
|
|
4402
|
-
/**
|
|
4403
|
-
*
|
|
4404
|
-
* @summary 更新用户信息
|
|
4405
|
-
* @param {UpdateUserInfoRequest} body
|
|
4406
|
-
* @param {*} [options] Override http request option.
|
|
4407
|
-
* @throws {RequiredError}
|
|
4408
|
-
*/
|
|
4409
|
-
userManageAdminServiceUpdateUserInfo(body: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserInfoResponse>;
|
|
4410
|
-
}
|
|
4411
|
-
/**
|
|
4412
|
-
* UserManageAdminServiceApi - object-oriented interface
|
|
4413
|
-
*/
|
|
4414
|
-
export declare class UserManageAdminServiceApi extends BaseAPI implements UserManageAdminServiceApiInterface {
|
|
4415
|
-
/**
|
|
4416
|
-
*
|
|
4417
|
-
* @summary 批量管理 Session
|
|
4418
|
-
* @param {BatchUpdateSessionsRequest} body
|
|
4419
|
-
* @param {*} [options] Override http request option.
|
|
4420
|
-
* @throws {RequiredError}
|
|
4421
|
-
*/
|
|
4422
|
-
userManageAdminServiceBatchUpdateSessions(body: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchUpdateSessionsResponse, any, {}>>;
|
|
4423
|
-
/**
|
|
4424
|
-
*
|
|
4425
|
-
* @summary 用户详情
|
|
4426
|
-
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\" 用户 UID
|
|
4427
|
-
* @param {*} [options] Override http request option.
|
|
4428
|
-
* @throws {RequiredError}
|
|
4429
|
-
*/
|
|
4430
|
-
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserDetailResponse, any, {}>>;
|
|
4431
|
-
/**
|
|
4432
|
-
*
|
|
4433
|
-
* @summary 用户列表(分页查询)
|
|
4434
|
-
* @param {ListUsersRequest} body
|
|
4435
|
-
* @param {*} [options] Override http request option.
|
|
4436
|
-
* @throws {RequiredError}
|
|
4437
|
-
*/
|
|
4438
|
-
userManageAdminServiceListUsers(body: ListUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsersResponse, any, {}>>;
|
|
4439
|
-
/**
|
|
4440
|
-
*
|
|
4441
|
-
* @summary 设置用户角色
|
|
4442
|
-
* @param {SetUserRoleRequest} body
|
|
4443
|
-
* @param {*} [options] Override http request option.
|
|
4444
|
-
* @throws {RequiredError}
|
|
4445
|
-
*/
|
|
4446
|
-
userManageAdminServiceSetUserRole(body: SetUserRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetUserRoleResponse, any, {}>>;
|
|
4447
|
-
/**
|
|
4448
|
-
*
|
|
4449
|
-
* @summary 设置用户状态(启用/禁用)
|
|
4450
|
-
* @param {SetUserStatusRequest} body
|
|
4451
|
-
* @param {*} [options] Override http request option.
|
|
4452
|
-
* @throws {RequiredError}
|
|
4453
|
-
*/
|
|
4454
|
-
userManageAdminServiceSetUserStatus(body: SetUserStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetUserStatusResponse, any, {}>>;
|
|
4455
|
-
/**
|
|
4456
|
-
*
|
|
4457
|
-
* @summary 更新用户信息
|
|
4458
|
-
* @param {UpdateUserInfoRequest} body
|
|
4459
|
-
* @param {*} [options] Override http request option.
|
|
4460
|
-
* @throws {RequiredError}
|
|
4461
|
-
*/
|
|
4462
|
-
userManageAdminServiceUpdateUserInfo(body: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserInfoResponse, any, {}>>;
|
|
4463
|
-
}
|
|
4464
4177
|
/**
|
|
4465
4178
|
* UserModelServiceApi - axios parameter creator
|
|
4466
4179
|
*/
|