@cherryin/api-client 0.0.4 → 0.0.6
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 +93 -12
- package/README.md +137 -18
- package/api.ts +5418 -2080
- package/dist/api.d.ts +2420 -569
- package/dist/api.js +4150 -1767
- package/dist/esm/api.d.ts +2420 -569
- package/dist/esm/api.js +4037 -1663
- package/docs/AIModelAdminServiceApi.md +53 -0
- package/docs/AIModelCheckConnectionResponse.md +25 -0
- package/docs/AIModelCheckItem.md +32 -0
- package/docs/AIModelCheckResult.md +23 -0
- package/docs/AIModelCreateResponse.md +2 -2
- package/docs/AIModelDeleteResponse.md +2 -2
- package/docs/AIModelDisableResponse.md +2 -2
- package/docs/AIModelGetResponse.md +2 -2
- package/docs/AIModelListResponse.md +2 -2
- package/docs/AIModelPublishResponse.md +2 -2
- package/docs/AIModelUpdateResponse.md +2 -2
- package/docs/Auth2Account.md +33 -0
- package/docs/Auth2Admin.md +33 -0
- package/docs/Auth2AdminServiceApi.md +469 -0
- package/docs/Auth2AdminSession.md +35 -0
- package/docs/{AuthTokenPair.md → Auth2IdToken.md} +10 -8
- package/docs/Auth2Session.md +35 -0
- package/docs/Auth2User.md +33 -0
- package/docs/Auth2UserServiceApi.md +1261 -0
- package/docs/AuthAdminChangePasswordRequest.md +24 -0
- package/docs/AuthAdminChangePasswordResponse.md +26 -0
- package/docs/AuthAdminGetSessionResponse.md +26 -0
- package/docs/AuthAdminListSessionsResponse.md +24 -0
- package/docs/AuthAdminRevokeOtherSessionsResponse.md +24 -0
- package/docs/{UserAuthFlowInitResponseOAuthResult.md → AuthAdminRevokeSessionRequest.md} +5 -5
- package/docs/AuthAdminRevokeSessionResponse.md +24 -0
- package/docs/AuthAdminRevokeSessionsResponse.md +24 -0
- package/docs/AuthAdminSignInEmailRequest.md +26 -0
- package/docs/AuthAdminSignInEmailResponse.md +26 -0
- package/docs/AuthAdminSignOutResponse.md +24 -0
- package/docs/AuthAdminUpdateUserRequest.md +22 -0
- package/docs/AuthAdminUpdateUserResponse.md +24 -0
- package/docs/AuthChangeEmailRequest.md +22 -0
- package/docs/AuthChangeEmailResponse.md +26 -0
- package/docs/AuthChangePasswordRequest.md +24 -0
- package/docs/AuthChangePasswordResponse.md +26 -0
- package/docs/AuthDeleteUserRequest.md +24 -0
- package/docs/AuthDeleteUserResponse.md +24 -0
- package/docs/AuthGetAccessTokenRequest.md +24 -0
- package/docs/AuthGetAccessTokenResponse.md +34 -0
- package/docs/AuthGetAccountInfoResponse.md +24 -0
- package/docs/AuthGetSessionResponse.md +26 -0
- package/docs/AuthLinkSocialRequest.md +30 -0
- package/docs/AuthLinkSocialResponse.md +28 -0
- package/docs/AuthListAccountsResponse.md +24 -0
- package/docs/AuthListSessionsResponse.md +24 -0
- package/docs/AuthOAuth2CallbackResponse.md +32 -0
- package/docs/AuthRefreshTokenRequest.md +24 -0
- package/docs/AuthRefreshTokenResponse.md +34 -0
- package/docs/AuthRequestPasswordResetRequest.md +22 -0
- package/docs/{UserAuthFlowOAuthCallbackRequest.md → AuthRequestPasswordResetResponse.md} +7 -7
- package/docs/AuthResetPasswordRequest.md +22 -0
- package/docs/{AdminAuthFlowInitResponse.md → AuthResetPasswordResponse.md} +5 -5
- package/docs/AuthRevokeOtherSessionsResponse.md +24 -0
- package/docs/{UserAuthInfo.md → AuthRevokeSessionRequest.md} +5 -5
- package/docs/AuthRevokeSessionResponse.md +24 -0
- package/docs/AuthRevokeSessionsResponse.md +24 -0
- package/docs/AuthSendVerificationEmailRequest.md +22 -0
- package/docs/{UserAuthFlowOAuthCallbackResponse.md → AuthSendVerificationEmailResponse.md} +5 -7
- package/docs/AuthSignInEmailRequest.md +26 -0
- package/docs/AuthSignInEmailResponse.md +30 -0
- package/docs/AuthSignInSocialRequest.md +30 -0
- package/docs/AuthSignInSocialResponse.md +30 -0
- package/docs/AuthSignOutResponse.md +24 -0
- package/docs/AuthSignUpEmailRequest.md +32 -0
- package/docs/AuthSignUpEmailResponse.md +28 -0
- package/docs/AuthUnlinkAccountRequest.md +22 -0
- package/docs/AuthUnlinkAccountResponse.md +24 -0
- package/docs/AuthUpdateUserRequest.md +22 -0
- package/docs/AuthUpdateUserResponse.md +24 -0
- package/docs/AuthVerifyEmailResponse.md +24 -0
- package/docs/BatchUpdateSessionsRequest.md +24 -0
- package/docs/BatchUpdateSessionsResponse.md +24 -0
- package/docs/ConfigItem.md +32 -0
- package/docs/ConfigItemHistory.md +22 -0
- package/docs/GetUserDetailResponse.md +24 -0
- package/docs/ListUsersRequest.md +36 -0
- package/docs/ListUsersResponse.md +30 -0
- package/docs/ProviderAdminServiceApi.md +7 -8
- package/docs/ProviderCreateResponse.md +2 -2
- package/docs/ProviderDeleteResponse.md +2 -2
- package/docs/ProviderGetResponse.md +2 -2
- package/docs/ProviderListResponse.md +2 -2
- package/docs/ProviderModelCreateResponse.md +2 -2
- package/docs/ProviderModelDeleteResponse.md +2 -2
- package/docs/ProviderModelGetResponse.md +2 -2
- package/docs/ProviderModelListResponse.md +2 -2
- package/docs/ProviderModelUpdateResponse.md +2 -2
- package/docs/ProviderUpdateResponse.md +2 -2
- package/docs/RemoteConfigAdminServiceApi.md +287 -0
- package/docs/RemoteConfigItemCreateRequest.md +20 -0
- package/docs/RemoteConfigItemCreateResponse.md +24 -0
- package/docs/RemoteConfigItemDeleteRequest.md +20 -0
- package/docs/RemoteConfigItemDeleteResponse.md +22 -0
- package/docs/RemoteConfigItemGetResponse.md +24 -0
- package/docs/RemoteConfigItemListResponse.md +26 -0
- package/docs/RemoteConfigItemUpdateRequest.md +22 -0
- package/docs/RemoteConfigItemUpdateResponse.md +24 -0
- package/docs/SetUserRoleRequest.md +22 -0
- package/docs/SetUserRoleResponse.md +24 -0
- package/docs/SetUserStatusRequest.md +22 -0
- package/docs/SetUserStatusResponse.md +26 -0
- package/docs/UpdateUserInfoRequest.md +26 -0
- package/docs/UpdateUserInfoResponse.md +24 -0
- package/docs/UserInfo.md +14 -8
- package/docs/UserManageAPIKey.md +38 -0
- package/docs/UserManageAdminServiceApi.md +330 -0
- package/docs/UserManageAuthMethod.md +32 -0
- package/docs/UserManageBalance.md +32 -0
- package/docs/UserManageDetail.md +47 -0
- package/docs/UserManageItem.md +39 -0
- package/docs/UserManageSession.md +34 -0
- package/docs/UserManageSettings.md +20 -0
- package/docs/UserPayServiceApi.md +12 -3
- package/package.json +1 -1
- package/docs/AdminAuthServiceApi.md +0 -81
- package/docs/AuthFlowResult.md +0 -23
- package/docs/ProviderDeleteRequest.md +0 -21
- package/docs/UserAuthFlowCodeResponse.md +0 -26
- package/docs/UserAuthFlowInitResponse.md +0 -28
- package/docs/UserAuthServiceApi.md +0 -279
package/dist/api.d.ts
CHANGED
|
@@ -87,6 +87,60 @@ export interface AIModelArchitecture {
|
|
|
87
87
|
*/
|
|
88
88
|
'output_modalities'?: Array<string>;
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* AIModelCheckResult AI 模型连接检查结果
|
|
92
|
+
*/
|
|
93
|
+
export interface AIModelCheckConnectionResponse {
|
|
94
|
+
/**
|
|
95
|
+
* code 响应状态码,200 表示成功
|
|
96
|
+
*/
|
|
97
|
+
'code'?: string;
|
|
98
|
+
'message'?: string;
|
|
99
|
+
'results'?: Array<AIModelCheckResult>;
|
|
100
|
+
}
|
|
101
|
+
export interface AIModelCheckItem {
|
|
102
|
+
/**
|
|
103
|
+
* AI 模型名称
|
|
104
|
+
*/
|
|
105
|
+
'ai_model_name'?: string;
|
|
106
|
+
/**
|
|
107
|
+
* 供应商名称
|
|
108
|
+
*/
|
|
109
|
+
'provider_name'?: string;
|
|
110
|
+
/**
|
|
111
|
+
* 供应商模型名称
|
|
112
|
+
*/
|
|
113
|
+
'provider_model_name'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* AI 模型端点
|
|
116
|
+
*/
|
|
117
|
+
'ai_model_endpoint'?: string;
|
|
118
|
+
/**
|
|
119
|
+
* 供应商模型端点
|
|
120
|
+
*/
|
|
121
|
+
'provider_model_endpoint'?: string;
|
|
122
|
+
/**
|
|
123
|
+
* 是否有效
|
|
124
|
+
*/
|
|
125
|
+
'is_valid'?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* 错误信息
|
|
128
|
+
*/
|
|
129
|
+
'error'?: string;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* AIModelCheckResult AI 模型验证结果
|
|
133
|
+
*/
|
|
134
|
+
export interface AIModelCheckResult {
|
|
135
|
+
/**
|
|
136
|
+
* AI 模型名称
|
|
137
|
+
*/
|
|
138
|
+
'ai_model_name'?: string;
|
|
139
|
+
/**
|
|
140
|
+
* 供应商名称
|
|
141
|
+
*/
|
|
142
|
+
'items'?: Array<AIModelCheckItem>;
|
|
143
|
+
}
|
|
90
144
|
/**
|
|
91
145
|
* AIModelCreateRequest 创建 AIModel 的请求(草稿状态) Request message for creating a new AI model (draft status)
|
|
92
146
|
*/
|
|
@@ -129,12 +183,9 @@ export interface AIModelCreateRequest {
|
|
|
129
183
|
*/
|
|
130
184
|
export interface AIModelCreateResponse {
|
|
131
185
|
/**
|
|
132
|
-
* code 响应状态码,
|
|
186
|
+
* code 响应状态码,200 表示成功
|
|
133
187
|
*/
|
|
134
188
|
'code'?: string;
|
|
135
|
-
/**
|
|
136
|
-
* message 响应消息 Response message
|
|
137
|
-
*/
|
|
138
189
|
'message'?: string;
|
|
139
190
|
/**
|
|
140
191
|
* data 创建成功后返回的 AIModel 信息 AIModel information returned after successful creation
|
|
@@ -155,12 +206,9 @@ export interface AIModelDeleteRequest {
|
|
|
155
206
|
*/
|
|
156
207
|
export interface AIModelDeleteResponse {
|
|
157
208
|
/**
|
|
158
|
-
* code 响应状态码,
|
|
209
|
+
* code 响应状态码,200 表示成功
|
|
159
210
|
*/
|
|
160
211
|
'code'?: string;
|
|
161
|
-
/**
|
|
162
|
-
* message 响应消息 Response message
|
|
163
|
-
*/
|
|
164
212
|
'message'?: string;
|
|
165
213
|
}
|
|
166
214
|
/**
|
|
@@ -177,12 +225,9 @@ export interface AIModelDisableRequest {
|
|
|
177
225
|
*/
|
|
178
226
|
export interface AIModelDisableResponse {
|
|
179
227
|
/**
|
|
180
|
-
* code 响应状态码,
|
|
228
|
+
* code 响应状态码,200 表示成功
|
|
181
229
|
*/
|
|
182
230
|
'code'?: string;
|
|
183
|
-
/**
|
|
184
|
-
* message 响应消息 Response message
|
|
185
|
-
*/
|
|
186
231
|
'message'?: string;
|
|
187
232
|
/**
|
|
188
233
|
* data 禁用后的 AIModel 信息 Disabled AI model information
|
|
@@ -203,12 +248,9 @@ export interface AIModelDiscountConfig {
|
|
|
203
248
|
*/
|
|
204
249
|
export interface AIModelGetResponse {
|
|
205
250
|
/**
|
|
206
|
-
* code 响应状态码,
|
|
251
|
+
* code 响应状态码,200 表示成功
|
|
207
252
|
*/
|
|
208
253
|
'code'?: string;
|
|
209
|
-
/**
|
|
210
|
-
* message 响应消息 Response message
|
|
211
|
-
*/
|
|
212
254
|
'message'?: string;
|
|
213
255
|
/**
|
|
214
256
|
* data AIModel 信息 AIModel information
|
|
@@ -220,12 +262,9 @@ export interface AIModelGetResponse {
|
|
|
220
262
|
*/
|
|
221
263
|
export interface AIModelListResponse {
|
|
222
264
|
/**
|
|
223
|
-
* code 响应状态码,
|
|
265
|
+
* code 响应状态码,200 表示成功
|
|
224
266
|
*/
|
|
225
267
|
'code'?: string;
|
|
226
|
-
/**
|
|
227
|
-
* message 响应消息 Response message
|
|
228
|
-
*/
|
|
229
268
|
'message'?: string;
|
|
230
269
|
/**
|
|
231
270
|
* list AIModel 列表 List of AI models
|
|
@@ -335,12 +374,9 @@ export interface AIModelPublishRequest {
|
|
|
335
374
|
*/
|
|
336
375
|
export interface AIModelPublishResponse {
|
|
337
376
|
/**
|
|
338
|
-
* code 响应状态码,
|
|
377
|
+
* code 响应状态码,200 表示成功
|
|
339
378
|
*/
|
|
340
379
|
'code'?: string;
|
|
341
|
-
/**
|
|
342
|
-
* message 响应消息 Response message
|
|
343
|
-
*/
|
|
344
380
|
'message'?: string;
|
|
345
381
|
/**
|
|
346
382
|
* data 发布后的 AIModel 信息 Published AI model information
|
|
@@ -393,12 +429,9 @@ export interface AIModelUpdateRequest {
|
|
|
393
429
|
*/
|
|
394
430
|
export interface AIModelUpdateResponse {
|
|
395
431
|
/**
|
|
396
|
-
* code 响应状态码,
|
|
432
|
+
* code 响应状态码,200 表示成功
|
|
397
433
|
*/
|
|
398
434
|
'code'?: string;
|
|
399
|
-
/**
|
|
400
|
-
* message 响应消息 Response message
|
|
401
|
-
*/
|
|
402
435
|
'message'?: string;
|
|
403
436
|
/**
|
|
404
437
|
* data 更新后的 AIModel 信息 Updated AI model information
|
|
@@ -413,14 +446,6 @@ export interface AWSAuth {
|
|
|
413
446
|
'ak'?: string;
|
|
414
447
|
'sk'?: string;
|
|
415
448
|
}
|
|
416
|
-
export interface AdminAuthFlowInitResponse {
|
|
417
|
-
'code'?: string;
|
|
418
|
-
'message'?: string;
|
|
419
|
-
/**
|
|
420
|
-
* 对于部分流程(例如邮箱密码登录),只需要 init 即可完成授权登录态,则会直接返回 AuthData 否则需要继续走完后续流程和调用相关接口.
|
|
421
|
-
*/
|
|
422
|
-
'auth_result'?: AuthFlowResult;
|
|
423
|
-
}
|
|
424
449
|
/**
|
|
425
450
|
* AudioPricing 音频计费 Audio pricing
|
|
426
451
|
*/
|
|
@@ -457,20 +482,394 @@ export interface AudioPricing {
|
|
|
457
482
|
};
|
|
458
483
|
}
|
|
459
484
|
/**
|
|
460
|
-
*
|
|
485
|
+
* 关联账号信息 (映射 db.UserAuthMethod)
|
|
486
|
+
*/
|
|
487
|
+
export interface Auth2Account {
|
|
488
|
+
'id'?: string;
|
|
489
|
+
'account_id'?: string;
|
|
490
|
+
'provider_id'?: string;
|
|
491
|
+
'user_id'?: string;
|
|
492
|
+
'created_at'?: string;
|
|
493
|
+
'updated_at'?: string;
|
|
494
|
+
'scopes'?: Array<string>;
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* 管理员用户信息 (映射 db.User,包含角色信息)
|
|
498
|
+
*/
|
|
499
|
+
export interface Auth2Admin {
|
|
500
|
+
'id'?: string;
|
|
501
|
+
'name'?: string;
|
|
502
|
+
'email'?: string;
|
|
503
|
+
'image'?: string;
|
|
504
|
+
'role'?: number;
|
|
505
|
+
'created_at'?: string;
|
|
506
|
+
'updated_at'?: string;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* 管理员会话信息 (映射 db.UserSession)
|
|
510
|
+
*/
|
|
511
|
+
export interface Auth2AdminSession {
|
|
512
|
+
'id'?: string;
|
|
513
|
+
'token'?: string;
|
|
514
|
+
'expires_at'?: string;
|
|
515
|
+
'created_at'?: string;
|
|
516
|
+
'updated_at'?: string;
|
|
517
|
+
'ip_address'?: string;
|
|
518
|
+
'user_agent'?: string;
|
|
519
|
+
'user_id'?: string;
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* 社交登录 ID Token
|
|
523
|
+
*/
|
|
524
|
+
export interface Auth2IdToken {
|
|
525
|
+
'token'?: string;
|
|
526
|
+
'nonce'?: string;
|
|
527
|
+
'access_token'?: string;
|
|
528
|
+
'refresh_token'?: string;
|
|
529
|
+
'expires_at'?: string;
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* 会话信息 (映射 db.UserSession)
|
|
461
533
|
*/
|
|
462
|
-
export interface
|
|
463
|
-
'
|
|
464
|
-
'
|
|
534
|
+
export interface Auth2Session {
|
|
535
|
+
'id'?: string;
|
|
536
|
+
'token'?: string;
|
|
537
|
+
'expires_at'?: string;
|
|
538
|
+
'created_at'?: string;
|
|
539
|
+
'updated_at'?: string;
|
|
540
|
+
'ip_address'?: string;
|
|
541
|
+
'user_agent'?: string;
|
|
542
|
+
'user_id'?: string;
|
|
465
543
|
}
|
|
466
544
|
/**
|
|
467
|
-
*
|
|
545
|
+
* 用户信息
|
|
468
546
|
*/
|
|
469
|
-
export interface
|
|
547
|
+
export interface Auth2User {
|
|
548
|
+
'id'?: string;
|
|
549
|
+
'name'?: string;
|
|
550
|
+
'email'?: string;
|
|
551
|
+
'email_verified'?: boolean;
|
|
552
|
+
'image'?: string;
|
|
553
|
+
'created_at'?: string;
|
|
554
|
+
'updated_at'?: string;
|
|
555
|
+
}
|
|
556
|
+
export interface AuthAdminChangePasswordRequest {
|
|
557
|
+
'new_password'?: string;
|
|
558
|
+
'current_password'?: string;
|
|
559
|
+
'revoke_other_sessions'?: boolean;
|
|
560
|
+
}
|
|
561
|
+
export interface AuthAdminChangePasswordResponse {
|
|
562
|
+
'code'?: string;
|
|
563
|
+
'message'?: string;
|
|
564
|
+
'token'?: string;
|
|
565
|
+
'user'?: Auth2Admin;
|
|
566
|
+
}
|
|
567
|
+
export interface AuthAdminGetSessionResponse {
|
|
568
|
+
'code'?: string;
|
|
569
|
+
'message'?: string;
|
|
570
|
+
'session'?: Auth2AdminSession;
|
|
571
|
+
'user'?: Auth2Admin;
|
|
572
|
+
}
|
|
573
|
+
export interface AuthAdminListSessionsResponse {
|
|
574
|
+
'code'?: string;
|
|
575
|
+
'message'?: string;
|
|
576
|
+
'sessions'?: Array<Auth2AdminSession>;
|
|
577
|
+
}
|
|
578
|
+
export interface AuthAdminRevokeOtherSessionsResponse {
|
|
579
|
+
'code'?: string;
|
|
580
|
+
'message'?: string;
|
|
581
|
+
'status'?: boolean;
|
|
582
|
+
}
|
|
583
|
+
export interface AuthAdminRevokeSessionRequest {
|
|
584
|
+
'token'?: string;
|
|
585
|
+
}
|
|
586
|
+
export interface AuthAdminRevokeSessionResponse {
|
|
587
|
+
'code'?: string;
|
|
588
|
+
'message'?: string;
|
|
589
|
+
'status'?: boolean;
|
|
590
|
+
}
|
|
591
|
+
export interface AuthAdminRevokeSessionsResponse {
|
|
592
|
+
'code'?: string;
|
|
593
|
+
'message'?: string;
|
|
594
|
+
'status'?: boolean;
|
|
595
|
+
}
|
|
596
|
+
export interface AuthAdminSignInEmailRequest {
|
|
597
|
+
'email'?: string;
|
|
598
|
+
'password'?: string;
|
|
599
|
+
'session_type'?: string;
|
|
600
|
+
'remember_me'?: boolean;
|
|
601
|
+
}
|
|
602
|
+
export interface AuthAdminSignInEmailResponse {
|
|
603
|
+
'code'?: string;
|
|
604
|
+
'message'?: string;
|
|
605
|
+
'token'?: string;
|
|
606
|
+
'user'?: Auth2Admin;
|
|
607
|
+
}
|
|
608
|
+
export interface AuthAdminSignOutResponse {
|
|
609
|
+
'code'?: string;
|
|
610
|
+
'message'?: string;
|
|
611
|
+
'success'?: boolean;
|
|
612
|
+
}
|
|
613
|
+
export interface AuthAdminUpdateUserRequest {
|
|
614
|
+
'name'?: string;
|
|
615
|
+
'image'?: string;
|
|
616
|
+
}
|
|
617
|
+
export interface AuthAdminUpdateUserResponse {
|
|
618
|
+
'code'?: string;
|
|
619
|
+
'message'?: string;
|
|
620
|
+
'user'?: Auth2Admin;
|
|
621
|
+
}
|
|
622
|
+
export interface AuthChangeEmailRequest {
|
|
623
|
+
'new_email'?: string;
|
|
624
|
+
'callback_url'?: string;
|
|
625
|
+
}
|
|
626
|
+
export interface AuthChangeEmailResponse {
|
|
627
|
+
'code'?: string;
|
|
628
|
+
'message'?: string;
|
|
629
|
+
'user'?: Auth2User;
|
|
630
|
+
'status'?: boolean;
|
|
631
|
+
}
|
|
632
|
+
export interface AuthChangePasswordRequest {
|
|
633
|
+
'new_password'?: string;
|
|
634
|
+
'current_password'?: string;
|
|
635
|
+
'revoke_other_sessions'?: boolean;
|
|
636
|
+
}
|
|
637
|
+
export interface AuthChangePasswordResponse {
|
|
638
|
+
'code'?: string;
|
|
639
|
+
'message'?: string;
|
|
640
|
+
'token'?: string;
|
|
641
|
+
'user'?: Auth2User;
|
|
642
|
+
}
|
|
643
|
+
export interface AuthDeleteUserRequest {
|
|
644
|
+
'callback_url'?: string;
|
|
645
|
+
'password'?: string;
|
|
646
|
+
'token'?: string;
|
|
647
|
+
}
|
|
648
|
+
export interface AuthDeleteUserResponse {
|
|
649
|
+
'code'?: string;
|
|
650
|
+
'message'?: string;
|
|
651
|
+
'success'?: boolean;
|
|
652
|
+
}
|
|
653
|
+
export interface AuthGetAccessTokenRequest {
|
|
654
|
+
'provider_id'?: string;
|
|
655
|
+
'account_id'?: string;
|
|
656
|
+
'user_id'?: string;
|
|
657
|
+
}
|
|
658
|
+
export interface AuthGetAccessTokenResponse {
|
|
659
|
+
'code'?: string;
|
|
660
|
+
'message'?: string;
|
|
661
|
+
'token_type'?: string;
|
|
662
|
+
'id_token'?: string;
|
|
663
|
+
'access_token'?: string;
|
|
664
|
+
'refresh_token'?: string;
|
|
665
|
+
'access_token_expires_at'?: string;
|
|
666
|
+
'refresh_token_expires_at'?: string;
|
|
667
|
+
}
|
|
668
|
+
export interface AuthGetAccountInfoResponse {
|
|
669
|
+
'code'?: string;
|
|
670
|
+
'message'?: string;
|
|
671
|
+
'user'?: Auth2User;
|
|
672
|
+
}
|
|
673
|
+
export interface AuthGetSessionResponse {
|
|
674
|
+
'code'?: string;
|
|
675
|
+
'message'?: string;
|
|
676
|
+
'session'?: Auth2Session;
|
|
677
|
+
'user'?: Auth2User;
|
|
678
|
+
}
|
|
679
|
+
export interface AuthLinkSocialRequest {
|
|
680
|
+
'provider'?: string;
|
|
681
|
+
'callback_url'?: string;
|
|
682
|
+
'error_callback_url'?: string;
|
|
683
|
+
'disable_redirect'?: boolean;
|
|
684
|
+
'id_token'?: Auth2IdToken;
|
|
685
|
+
'scopes'?: Array<string>;
|
|
686
|
+
}
|
|
687
|
+
export interface AuthLinkSocialResponse {
|
|
688
|
+
'code'?: string;
|
|
689
|
+
'message'?: string;
|
|
690
|
+
'url'?: string;
|
|
691
|
+
'redirect'?: boolean;
|
|
692
|
+
'status'?: boolean;
|
|
693
|
+
}
|
|
694
|
+
export interface AuthListAccountsResponse {
|
|
695
|
+
'code'?: string;
|
|
696
|
+
'message'?: string;
|
|
697
|
+
'accounts'?: Array<Auth2Account>;
|
|
698
|
+
}
|
|
699
|
+
export interface AuthListSessionsResponse {
|
|
700
|
+
'code'?: string;
|
|
701
|
+
'message'?: string;
|
|
702
|
+
'sessions'?: Array<Auth2Session>;
|
|
703
|
+
}
|
|
704
|
+
export interface AuthOAuth2CallbackResponse {
|
|
705
|
+
'code'?: string;
|
|
706
|
+
'message'?: string;
|
|
707
|
+
'token'?: string;
|
|
708
|
+
'url'?: string;
|
|
709
|
+
'redirect'?: boolean;
|
|
710
|
+
'user'?: Auth2User;
|
|
711
|
+
'is_linked'?: boolean;
|
|
712
|
+
}
|
|
713
|
+
export interface AuthRefreshTokenRequest {
|
|
714
|
+
'provider_id'?: string;
|
|
715
|
+
'account_id'?: string;
|
|
716
|
+
'user_id'?: string;
|
|
717
|
+
}
|
|
718
|
+
export interface AuthRefreshTokenResponse {
|
|
719
|
+
'code'?: string;
|
|
720
|
+
'message'?: string;
|
|
721
|
+
'token_type'?: string;
|
|
722
|
+
'id_token'?: string;
|
|
470
723
|
'access_token'?: string;
|
|
471
|
-
'access_expires_at'?: string;
|
|
472
724
|
'refresh_token'?: string;
|
|
473
|
-
'
|
|
725
|
+
'access_token_expires_at'?: string;
|
|
726
|
+
'refresh_token_expires_at'?: string;
|
|
727
|
+
}
|
|
728
|
+
export interface AuthRequestPasswordResetRequest {
|
|
729
|
+
'email'?: string;
|
|
730
|
+
'redirect_to'?: string;
|
|
731
|
+
}
|
|
732
|
+
export interface AuthRequestPasswordResetResponse {
|
|
733
|
+
'code'?: string;
|
|
734
|
+
'message'?: string;
|
|
735
|
+
'status'?: boolean;
|
|
736
|
+
}
|
|
737
|
+
export interface AuthResetPasswordRequest {
|
|
738
|
+
'new_password'?: string;
|
|
739
|
+
'token'?: string;
|
|
740
|
+
}
|
|
741
|
+
export interface AuthResetPasswordResponse {
|
|
742
|
+
'code'?: string;
|
|
743
|
+
'message'?: string;
|
|
744
|
+
'status'?: boolean;
|
|
745
|
+
}
|
|
746
|
+
export interface AuthRevokeOtherSessionsResponse {
|
|
747
|
+
'code'?: string;
|
|
748
|
+
'message'?: string;
|
|
749
|
+
'status'?: boolean;
|
|
750
|
+
}
|
|
751
|
+
export interface AuthRevokeSessionRequest {
|
|
752
|
+
'token'?: string;
|
|
753
|
+
}
|
|
754
|
+
export interface AuthRevokeSessionResponse {
|
|
755
|
+
'code'?: string;
|
|
756
|
+
'message'?: string;
|
|
757
|
+
'status'?: boolean;
|
|
758
|
+
}
|
|
759
|
+
export interface AuthRevokeSessionsResponse {
|
|
760
|
+
'code'?: string;
|
|
761
|
+
'message'?: string;
|
|
762
|
+
'status'?: boolean;
|
|
763
|
+
}
|
|
764
|
+
export interface AuthSendVerificationEmailRequest {
|
|
765
|
+
'email'?: string;
|
|
766
|
+
'callback_url'?: string;
|
|
767
|
+
}
|
|
768
|
+
export interface AuthSendVerificationEmailResponse {
|
|
769
|
+
'code'?: string;
|
|
770
|
+
'message'?: string;
|
|
771
|
+
'status'?: boolean;
|
|
772
|
+
}
|
|
773
|
+
export interface AuthSignInEmailRequest {
|
|
774
|
+
'email'?: string;
|
|
775
|
+
'password'?: string;
|
|
776
|
+
'callback_url'?: string;
|
|
777
|
+
'remember_me'?: boolean;
|
|
778
|
+
}
|
|
779
|
+
export interface AuthSignInEmailResponse {
|
|
780
|
+
'code'?: string;
|
|
781
|
+
'message'?: string;
|
|
782
|
+
'redirect'?: boolean;
|
|
783
|
+
'token'?: string;
|
|
784
|
+
'url'?: string;
|
|
785
|
+
'user'?: Auth2User;
|
|
786
|
+
}
|
|
787
|
+
export interface AuthSignInSocialRequest {
|
|
788
|
+
'provider'?: string;
|
|
789
|
+
'callback_url'?: string;
|
|
790
|
+
'error_callback_url'?: string;
|
|
791
|
+
'disable_redirect'?: boolean;
|
|
792
|
+
'id_token'?: Auth2IdToken;
|
|
793
|
+
'scopes'?: Array<string>;
|
|
794
|
+
}
|
|
795
|
+
export interface AuthSignInSocialResponse {
|
|
796
|
+
'code'?: string;
|
|
797
|
+
'message'?: string;
|
|
798
|
+
'redirect'?: boolean;
|
|
799
|
+
'token'?: string;
|
|
800
|
+
'url'?: string;
|
|
801
|
+
'user'?: Auth2User;
|
|
802
|
+
}
|
|
803
|
+
export interface AuthSignOutResponse {
|
|
804
|
+
'code'?: string;
|
|
805
|
+
'message'?: string;
|
|
806
|
+
'success'?: boolean;
|
|
807
|
+
}
|
|
808
|
+
export interface AuthSignUpEmailRequest {
|
|
809
|
+
'name'?: string;
|
|
810
|
+
'email'?: string;
|
|
811
|
+
'password'?: string;
|
|
812
|
+
'image'?: string;
|
|
813
|
+
'callback_url'?: string;
|
|
814
|
+
'remember_me'?: boolean;
|
|
815
|
+
'disable_redirect'?: boolean;
|
|
816
|
+
}
|
|
817
|
+
export interface AuthSignUpEmailResponse {
|
|
818
|
+
'code'?: string;
|
|
819
|
+
'message'?: string;
|
|
820
|
+
'redirect'?: boolean;
|
|
821
|
+
'url'?: string;
|
|
822
|
+
'user'?: Auth2User;
|
|
823
|
+
}
|
|
824
|
+
export interface AuthUnlinkAccountRequest {
|
|
825
|
+
'provider_id'?: string;
|
|
826
|
+
'account_id'?: string;
|
|
827
|
+
}
|
|
828
|
+
export interface AuthUnlinkAccountResponse {
|
|
829
|
+
'code'?: string;
|
|
830
|
+
'message'?: string;
|
|
831
|
+
'status'?: boolean;
|
|
832
|
+
}
|
|
833
|
+
export interface AuthUpdateUserRequest {
|
|
834
|
+
'name'?: string;
|
|
835
|
+
'image'?: string;
|
|
836
|
+
}
|
|
837
|
+
export interface AuthUpdateUserResponse {
|
|
838
|
+
'code'?: string;
|
|
839
|
+
'message'?: string;
|
|
840
|
+
'user'?: Auth2User;
|
|
841
|
+
}
|
|
842
|
+
export interface AuthVerifyEmailResponse {
|
|
843
|
+
'code'?: string;
|
|
844
|
+
'message'?: string;
|
|
845
|
+
'user'?: Auth2User;
|
|
846
|
+
}
|
|
847
|
+
export interface BatchUpdateSessionsRequest {
|
|
848
|
+
'uid'?: string;
|
|
849
|
+
'session_ids'?: Array<string>;
|
|
850
|
+
'action'?: number;
|
|
851
|
+
}
|
|
852
|
+
export interface BatchUpdateSessionsResponse {
|
|
853
|
+
'code'?: string;
|
|
854
|
+
'message'?: string;
|
|
855
|
+
'affected_count'?: number;
|
|
856
|
+
}
|
|
857
|
+
export interface ConfigItem {
|
|
858
|
+
'id'?: string;
|
|
859
|
+
'key'?: string;
|
|
860
|
+
'values'?: {
|
|
861
|
+
[key: string]: any;
|
|
862
|
+
};
|
|
863
|
+
'payload'?: {
|
|
864
|
+
[key: string]: any;
|
|
865
|
+
};
|
|
866
|
+
'createdAt'?: string;
|
|
867
|
+
'updatedAt'?: string;
|
|
868
|
+
'deletedAt'?: string;
|
|
869
|
+
}
|
|
870
|
+
export interface ConfigItemHistory {
|
|
871
|
+
'item'?: ConfigItem;
|
|
872
|
+
'history'?: Array<ConfigItem>;
|
|
474
873
|
}
|
|
475
874
|
export interface DiscountCreateRequest {
|
|
476
875
|
'name'?: string;
|
|
@@ -666,6 +1065,11 @@ export interface GCPAuth {
|
|
|
666
1065
|
*/
|
|
667
1066
|
'backend'?: number;
|
|
668
1067
|
}
|
|
1068
|
+
export interface GetUserDetailResponse {
|
|
1069
|
+
'code'?: string;
|
|
1070
|
+
'message'?: string;
|
|
1071
|
+
'user'?: UserManageDetail;
|
|
1072
|
+
}
|
|
669
1073
|
/**
|
|
670
1074
|
* Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
|
|
671
1075
|
*/
|
|
@@ -795,6 +1199,34 @@ export interface LabelUpdateResponse {
|
|
|
795
1199
|
*/
|
|
796
1200
|
'data'?: Label;
|
|
797
1201
|
}
|
|
1202
|
+
export interface ListUsersRequest {
|
|
1203
|
+
/**
|
|
1204
|
+
* 分页参数
|
|
1205
|
+
*/
|
|
1206
|
+
'page'?: number;
|
|
1207
|
+
'page_size'?: number;
|
|
1208
|
+
/**
|
|
1209
|
+
* 过滤条件
|
|
1210
|
+
*/
|
|
1211
|
+
'uids'?: Array<string>;
|
|
1212
|
+
'display_name'?: string;
|
|
1213
|
+
'email'?: string;
|
|
1214
|
+
'user_statuses'?: Array<number>;
|
|
1215
|
+
'user_roles'?: Array<number>;
|
|
1216
|
+
/**
|
|
1217
|
+
* 排序
|
|
1218
|
+
*/
|
|
1219
|
+
'order_by'?: string;
|
|
1220
|
+
'order_dir'?: string;
|
|
1221
|
+
}
|
|
1222
|
+
export interface ListUsersResponse {
|
|
1223
|
+
'code'?: string;
|
|
1224
|
+
'message'?: string;
|
|
1225
|
+
'users'?: Array<UserManageItem>;
|
|
1226
|
+
'total'?: string;
|
|
1227
|
+
'page'?: number;
|
|
1228
|
+
'page_size'?: number;
|
|
1229
|
+
}
|
|
798
1230
|
/**
|
|
799
1231
|
* MultimodalPricing 多模态计费 Multimodal pricing
|
|
800
1232
|
*/
|
|
@@ -966,38 +1398,23 @@ export interface ProviderCreateRequest {
|
|
|
966
1398
|
*/
|
|
967
1399
|
export interface ProviderCreateResponse {
|
|
968
1400
|
/**
|
|
969
|
-
* code 响应状态码,
|
|
1401
|
+
* code 响应状态码,200 表示成功
|
|
970
1402
|
*/
|
|
971
1403
|
'code'?: string;
|
|
972
|
-
/**
|
|
973
|
-
* message 响应消息 Response message
|
|
974
|
-
*/
|
|
975
1404
|
'message'?: string;
|
|
976
1405
|
/**
|
|
977
1406
|
* data 创建成功后返回的 Provider 信息 Provider information returned after successful creation
|
|
978
1407
|
*/
|
|
979
1408
|
'data'?: Provider;
|
|
980
1409
|
}
|
|
981
|
-
/**
|
|
982
|
-
* ProviderDeleteRequest 删除 Provider 的请求 Request message for deleting a provider
|
|
983
|
-
*/
|
|
984
|
-
export interface ProviderDeleteRequest {
|
|
985
|
-
/**
|
|
986
|
-
* id 要删除的 Provider 的唯一标识符 Unique identifier of the provider to delete @gotags: form:\"id\" binding:\"required\"
|
|
987
|
-
*/
|
|
988
|
-
'id'?: string;
|
|
989
|
-
}
|
|
990
1410
|
/**
|
|
991
1411
|
* ProviderDeleteResponse 删除 Provider 的响应 Response message for provider deletion
|
|
992
1412
|
*/
|
|
993
1413
|
export interface ProviderDeleteResponse {
|
|
994
1414
|
/**
|
|
995
|
-
* code 响应状态码,
|
|
1415
|
+
* code 响应状态码,200 表示成功
|
|
996
1416
|
*/
|
|
997
1417
|
'code'?: string;
|
|
998
|
-
/**
|
|
999
|
-
* message 响应消息 Response message
|
|
1000
|
-
*/
|
|
1001
1418
|
'message'?: string;
|
|
1002
1419
|
}
|
|
1003
1420
|
/**
|
|
@@ -1005,12 +1422,9 @@ export interface ProviderDeleteResponse {
|
|
|
1005
1422
|
*/
|
|
1006
1423
|
export interface ProviderGetResponse {
|
|
1007
1424
|
/**
|
|
1008
|
-
* code 响应状态码,
|
|
1425
|
+
* code 响应状态码,200 表示成功
|
|
1009
1426
|
*/
|
|
1010
1427
|
'code'?: string;
|
|
1011
|
-
/**
|
|
1012
|
-
* message 响应消息 Response message
|
|
1013
|
-
*/
|
|
1014
1428
|
'message'?: string;
|
|
1015
1429
|
/**
|
|
1016
1430
|
* data Provider 信息 Provider information
|
|
@@ -1022,12 +1436,9 @@ export interface ProviderGetResponse {
|
|
|
1022
1436
|
*/
|
|
1023
1437
|
export interface ProviderListResponse {
|
|
1024
1438
|
/**
|
|
1025
|
-
* code 响应状态码,
|
|
1439
|
+
* code 响应状态码,200 表示成功
|
|
1026
1440
|
*/
|
|
1027
1441
|
'code'?: string;
|
|
1028
|
-
/**
|
|
1029
|
-
* message 响应消息 Response message
|
|
1030
|
-
*/
|
|
1031
1442
|
'message'?: string;
|
|
1032
1443
|
/**
|
|
1033
1444
|
* list Provider 列表 List of providers
|
|
@@ -1109,12 +1520,9 @@ export interface ProviderModelCreateRequest {
|
|
|
1109
1520
|
*/
|
|
1110
1521
|
export interface ProviderModelCreateResponse {
|
|
1111
1522
|
/**
|
|
1112
|
-
* code 响应状态码,
|
|
1523
|
+
* code 响应状态码,200 表示成功
|
|
1113
1524
|
*/
|
|
1114
1525
|
'code'?: string;
|
|
1115
|
-
/**
|
|
1116
|
-
* message 响应消息 Response message
|
|
1117
|
-
*/
|
|
1118
1526
|
'message'?: string;
|
|
1119
1527
|
/**
|
|
1120
1528
|
* data 创建成功后返回的 ProviderModel 信息 ProviderModel information returned after successful creation
|
|
@@ -1135,12 +1543,9 @@ export interface ProviderModelDeleteRequest {
|
|
|
1135
1543
|
*/
|
|
1136
1544
|
export interface ProviderModelDeleteResponse {
|
|
1137
1545
|
/**
|
|
1138
|
-
* code 响应状态码,
|
|
1546
|
+
* code 响应状态码,200 表示成功
|
|
1139
1547
|
*/
|
|
1140
1548
|
'code'?: string;
|
|
1141
|
-
/**
|
|
1142
|
-
* message 响应消息 Response message
|
|
1143
|
-
*/
|
|
1144
1549
|
'message'?: string;
|
|
1145
1550
|
}
|
|
1146
1551
|
/**
|
|
@@ -1148,12 +1553,9 @@ export interface ProviderModelDeleteResponse {
|
|
|
1148
1553
|
*/
|
|
1149
1554
|
export interface ProviderModelGetResponse {
|
|
1150
1555
|
/**
|
|
1151
|
-
* code 响应状态码,
|
|
1556
|
+
* code 响应状态码,200 表示成功
|
|
1152
1557
|
*/
|
|
1153
1558
|
'code'?: string;
|
|
1154
|
-
/**
|
|
1155
|
-
* message 响应消息 Response message
|
|
1156
|
-
*/
|
|
1157
1559
|
'message'?: string;
|
|
1158
1560
|
/**
|
|
1159
1561
|
* data ProviderModel 信息 ProviderModel information
|
|
@@ -1165,12 +1567,9 @@ export interface ProviderModelGetResponse {
|
|
|
1165
1567
|
*/
|
|
1166
1568
|
export interface ProviderModelListResponse {
|
|
1167
1569
|
/**
|
|
1168
|
-
* code 响应状态码,
|
|
1570
|
+
* code 响应状态码,200 表示成功
|
|
1169
1571
|
*/
|
|
1170
1572
|
'code'?: string;
|
|
1171
|
-
/**
|
|
1172
|
-
* message 响应消息 Response message
|
|
1173
|
-
*/
|
|
1174
1573
|
'message'?: string;
|
|
1175
1574
|
/**
|
|
1176
1575
|
* list ProviderModel 列表 List of provider models
|
|
@@ -1228,12 +1627,9 @@ export interface ProviderModelUpdateRequest {
|
|
|
1228
1627
|
*/
|
|
1229
1628
|
export interface ProviderModelUpdateResponse {
|
|
1230
1629
|
/**
|
|
1231
|
-
* code 响应状态码,
|
|
1630
|
+
* code 响应状态码,200 表示成功
|
|
1232
1631
|
*/
|
|
1233
1632
|
'code'?: string;
|
|
1234
|
-
/**
|
|
1235
|
-
* message 响应消息 Response message
|
|
1236
|
-
*/
|
|
1237
1633
|
'message'?: string;
|
|
1238
1634
|
/**
|
|
1239
1635
|
* data 更新后的 ProviderModel 信息 Updated provider model information
|
|
@@ -1283,18 +1679,50 @@ export interface ProviderUpdateRequest {
|
|
|
1283
1679
|
*/
|
|
1284
1680
|
export interface ProviderUpdateResponse {
|
|
1285
1681
|
/**
|
|
1286
|
-
* code 响应状态码,
|
|
1682
|
+
* code 响应状态码,200 表示成功
|
|
1287
1683
|
*/
|
|
1288
1684
|
'code'?: string;
|
|
1289
|
-
/**
|
|
1290
|
-
* message 响应消息 Response message
|
|
1291
|
-
*/
|
|
1292
1685
|
'message'?: string;
|
|
1293
1686
|
/**
|
|
1294
1687
|
* data 更新后的 Provider 信息 Updated provider information
|
|
1295
1688
|
*/
|
|
1296
1689
|
'data'?: Provider;
|
|
1297
1690
|
}
|
|
1691
|
+
export interface RemoteConfigItemCreateRequest {
|
|
1692
|
+
'item'?: ConfigItem;
|
|
1693
|
+
}
|
|
1694
|
+
export interface RemoteConfigItemCreateResponse {
|
|
1695
|
+
'code'?: string;
|
|
1696
|
+
'message'?: string;
|
|
1697
|
+
'item'?: ConfigItem;
|
|
1698
|
+
}
|
|
1699
|
+
export interface RemoteConfigItemDeleteRequest {
|
|
1700
|
+
'key'?: string;
|
|
1701
|
+
}
|
|
1702
|
+
export interface RemoteConfigItemDeleteResponse {
|
|
1703
|
+
'code'?: string;
|
|
1704
|
+
'message'?: string;
|
|
1705
|
+
}
|
|
1706
|
+
export interface RemoteConfigItemGetResponse {
|
|
1707
|
+
'code'?: string;
|
|
1708
|
+
'message'?: string;
|
|
1709
|
+
'data'?: ConfigItemHistory;
|
|
1710
|
+
}
|
|
1711
|
+
export interface RemoteConfigItemListResponse {
|
|
1712
|
+
'code'?: string;
|
|
1713
|
+
'message'?: string;
|
|
1714
|
+
'list'?: Array<ConfigItem>;
|
|
1715
|
+
'total'?: string;
|
|
1716
|
+
}
|
|
1717
|
+
export interface RemoteConfigItemUpdateRequest {
|
|
1718
|
+
'key'?: string;
|
|
1719
|
+
'item'?: ConfigItem;
|
|
1720
|
+
}
|
|
1721
|
+
export interface RemoteConfigItemUpdateResponse {
|
|
1722
|
+
'code'?: string;
|
|
1723
|
+
'message'?: string;
|
|
1724
|
+
'item'?: ConfigItem;
|
|
1725
|
+
}
|
|
1298
1726
|
/**
|
|
1299
1727
|
* RequestPricing 请求级别计费 Request-level pricing
|
|
1300
1728
|
*/
|
|
@@ -1308,6 +1736,25 @@ export interface RequestPricing {
|
|
|
1308
1736
|
*/
|
|
1309
1737
|
'per_thousand_requests'?: string;
|
|
1310
1738
|
}
|
|
1739
|
+
export interface SetUserRoleRequest {
|
|
1740
|
+
'uid'?: string;
|
|
1741
|
+
'new_role'?: number;
|
|
1742
|
+
}
|
|
1743
|
+
export interface SetUserRoleResponse {
|
|
1744
|
+
'code'?: string;
|
|
1745
|
+
'message'?: string;
|
|
1746
|
+
'success'?: boolean;
|
|
1747
|
+
}
|
|
1748
|
+
export interface SetUserStatusRequest {
|
|
1749
|
+
'uid'?: string;
|
|
1750
|
+
'new_status'?: number;
|
|
1751
|
+
}
|
|
1752
|
+
export interface SetUserStatusResponse {
|
|
1753
|
+
'code'?: string;
|
|
1754
|
+
'message'?: string;
|
|
1755
|
+
'success'?: boolean;
|
|
1756
|
+
'revoked_sessions'?: number;
|
|
1757
|
+
}
|
|
1311
1758
|
/**
|
|
1312
1759
|
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1313
1760
|
*/
|
|
@@ -1393,6 +1840,17 @@ export interface TokenTier {
|
|
|
1393
1840
|
*/
|
|
1394
1841
|
'price_per_million'?: string;
|
|
1395
1842
|
}
|
|
1843
|
+
export interface UpdateUserInfoRequest {
|
|
1844
|
+
'uid'?: string;
|
|
1845
|
+
'display_name'?: string;
|
|
1846
|
+
'email'?: string;
|
|
1847
|
+
'password'?: string;
|
|
1848
|
+
}
|
|
1849
|
+
export interface UpdateUserInfoResponse {
|
|
1850
|
+
'code'?: string;
|
|
1851
|
+
'message'?: string;
|
|
1852
|
+
'success'?: boolean;
|
|
1853
|
+
}
|
|
1396
1854
|
/**
|
|
1397
1855
|
* UserAPIKey 代表用户的 API 密钥 UserAPIKey represents a user\'s API key
|
|
1398
1856
|
*/
|
|
@@ -1622,51 +2080,6 @@ export interface UserAPIKeyUpdateResponse {
|
|
|
1622
2080
|
*/
|
|
1623
2081
|
'data'?: UserAPIKey;
|
|
1624
2082
|
}
|
|
1625
|
-
export interface UserAuthFlowCodeResponse {
|
|
1626
|
-
'code'?: string;
|
|
1627
|
-
'message'?: string;
|
|
1628
|
-
/**
|
|
1629
|
-
* 如果验证通过立刻下发登录态,则会通过这个返回鉴权的 AuthToken 如果注册成功,还需要登录,则不会下发
|
|
1630
|
-
*/
|
|
1631
|
-
'auth_result'?: AuthFlowResult;
|
|
1632
|
-
/**
|
|
1633
|
-
* 注册成功后返回的用户信息
|
|
1634
|
-
*/
|
|
1635
|
-
'user_info'?: UserAuthInfo;
|
|
1636
|
-
}
|
|
1637
|
-
export interface UserAuthFlowInitResponse {
|
|
1638
|
-
'code'?: string;
|
|
1639
|
-
'message'?: string;
|
|
1640
|
-
/**
|
|
1641
|
-
* for AuthType=OAuth2 才会返回
|
|
1642
|
-
*/
|
|
1643
|
-
'oauth_result'?: UserAuthFlowInitResponseOAuthResult;
|
|
1644
|
-
/**
|
|
1645
|
-
* 对于部分流程,只需要 init 即可完成授权登录态,则会直接返回 AuthData 否则需要继续走完后续流程和调用相关接口
|
|
1646
|
-
*/
|
|
1647
|
-
'auth_result'?: AuthFlowResult;
|
|
1648
|
-
/**
|
|
1649
|
-
* 注册成功后返回的用户信息
|
|
1650
|
-
*/
|
|
1651
|
-
'user_info'?: UserAuthInfo;
|
|
1652
|
-
}
|
|
1653
|
-
export interface UserAuthFlowInitResponseOAuthResult {
|
|
1654
|
-
'oauth_url'?: string;
|
|
1655
|
-
}
|
|
1656
|
-
export interface UserAuthFlowOAuthCallbackRequest {
|
|
1657
|
-
'code'?: string;
|
|
1658
|
-
'state'?: string;
|
|
1659
|
-
'platform'?: number;
|
|
1660
|
-
}
|
|
1661
|
-
export interface UserAuthFlowOAuthCallbackResponse {
|
|
1662
|
-
'code'?: string;
|
|
1663
|
-
'message'?: string;
|
|
1664
|
-
'auth_result'?: AuthFlowResult;
|
|
1665
|
-
'user_info'?: UserAuthInfo;
|
|
1666
|
-
}
|
|
1667
|
-
export interface UserAuthInfo {
|
|
1668
|
-
'user_info'?: UserInfo;
|
|
1669
|
-
}
|
|
1670
2083
|
export interface UserBalance {
|
|
1671
2084
|
'id'?: string;
|
|
1672
2085
|
'created_at'?: string;
|
|
@@ -1779,10 +2192,13 @@ export interface UserBalanceListResponse {
|
|
|
1779
2192
|
'total'?: string;
|
|
1780
2193
|
}
|
|
1781
2194
|
export interface UserInfo {
|
|
1782
|
-
'
|
|
1783
|
-
'
|
|
1784
|
-
'
|
|
1785
|
-
'
|
|
2195
|
+
'id'?: string;
|
|
2196
|
+
'name'?: string;
|
|
2197
|
+
'email'?: string;
|
|
2198
|
+
'email_verified'?: boolean;
|
|
2199
|
+
'image'?: string;
|
|
2200
|
+
'created_at'?: string;
|
|
2201
|
+
'updated_at'?: string;
|
|
1786
2202
|
}
|
|
1787
2203
|
export interface UserLabelItem {
|
|
1788
2204
|
'uid'?: string;
|
|
@@ -1821,6 +2237,101 @@ export interface UserLabelPairChangeResponse {
|
|
|
1821
2237
|
*/
|
|
1822
2238
|
'message'?: string;
|
|
1823
2239
|
}
|
|
2240
|
+
export interface UserManageAPIKey {
|
|
2241
|
+
'id'?: string;
|
|
2242
|
+
'name'?: string;
|
|
2243
|
+
'key_group'?: string;
|
|
2244
|
+
'balance_code'?: string;
|
|
2245
|
+
'quota_total'?: string;
|
|
2246
|
+
'quota_used'?: string;
|
|
2247
|
+
'quota_mode'?: number;
|
|
2248
|
+
'key_status'?: number;
|
|
2249
|
+
'expires_at'?: string;
|
|
2250
|
+
'created_at'?: string;
|
|
2251
|
+
}
|
|
2252
|
+
export interface UserManageAuthMethod {
|
|
2253
|
+
'id'?: string;
|
|
2254
|
+
'auth_type'?: string;
|
|
2255
|
+
'auth_id'?: string;
|
|
2256
|
+
'is_primary'?: boolean;
|
|
2257
|
+
'auth_status'?: number;
|
|
2258
|
+
'last_used_at'?: string;
|
|
2259
|
+
'created_at'?: string;
|
|
2260
|
+
}
|
|
2261
|
+
export interface UserManageBalance {
|
|
2262
|
+
'balance_code'?: string;
|
|
2263
|
+
'prepaid_balance_total'?: string;
|
|
2264
|
+
'prepaid_balance_used'?: string;
|
|
2265
|
+
'prepaid_balance_frozen'?: string;
|
|
2266
|
+
'bonus_balance_total'?: string;
|
|
2267
|
+
'bonus_balance_used'?: string;
|
|
2268
|
+
'bonus_balance_frozen'?: string;
|
|
2269
|
+
}
|
|
2270
|
+
/**
|
|
2271
|
+
* 用户管理详情(完整信息)
|
|
2272
|
+
*/
|
|
2273
|
+
export interface UserManageDetail {
|
|
2274
|
+
/**
|
|
2275
|
+
* 基本信息
|
|
2276
|
+
*/
|
|
2277
|
+
'uid'?: string;
|
|
2278
|
+
'display_name'?: string;
|
|
2279
|
+
'email'?: string;
|
|
2280
|
+
'avatar_url'?: string;
|
|
2281
|
+
'user_role'?: number;
|
|
2282
|
+
'user_status'?: number;
|
|
2283
|
+
'user_group'?: string;
|
|
2284
|
+
'created_at'?: string;
|
|
2285
|
+
'updated_at'?: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* 设置信息
|
|
2288
|
+
*/
|
|
2289
|
+
'settings'?: UserManageSettings;
|
|
2290
|
+
/**
|
|
2291
|
+
* 余额信息
|
|
2292
|
+
*/
|
|
2293
|
+
'balance'?: UserManageBalance;
|
|
2294
|
+
/**
|
|
2295
|
+
* API Key 配额信息
|
|
2296
|
+
*/
|
|
2297
|
+
'api_keys'?: Array<UserManageAPIKey>;
|
|
2298
|
+
/**
|
|
2299
|
+
* 认证方式列表
|
|
2300
|
+
*/
|
|
2301
|
+
'auth_methods'?: Array<UserManageAuthMethod>;
|
|
2302
|
+
/**
|
|
2303
|
+
* Session 列表
|
|
2304
|
+
*/
|
|
2305
|
+
'sessions'?: Array<UserManageSession>;
|
|
2306
|
+
}
|
|
2307
|
+
/**
|
|
2308
|
+
* 用户管理列表项(精简信息)
|
|
2309
|
+
*/
|
|
2310
|
+
export interface UserManageItem {
|
|
2311
|
+
'uid'?: string;
|
|
2312
|
+
'display_name'?: string;
|
|
2313
|
+
'email'?: string;
|
|
2314
|
+
'avatar_url'?: string;
|
|
2315
|
+
'user_role'?: number;
|
|
2316
|
+
'user_status'?: number;
|
|
2317
|
+
'user_group'?: string;
|
|
2318
|
+
'created_at'?: string;
|
|
2319
|
+
'updated_at'?: string;
|
|
2320
|
+
'auth_types'?: Array<string>;
|
|
2321
|
+
}
|
|
2322
|
+
export interface UserManageSession {
|
|
2323
|
+
'id'?: string;
|
|
2324
|
+
'session_type'?: string;
|
|
2325
|
+
'ip_address'?: string;
|
|
2326
|
+
'user_agent'?: string;
|
|
2327
|
+
'active_at'?: string;
|
|
2328
|
+
'expires_at'?: string;
|
|
2329
|
+
'created_at'?: string;
|
|
2330
|
+
'is_current'?: boolean;
|
|
2331
|
+
}
|
|
2332
|
+
export interface UserManageSettings {
|
|
2333
|
+
'email_notifications_enabled'?: boolean;
|
|
2334
|
+
}
|
|
1824
2335
|
export interface UserMeInfo {
|
|
1825
2336
|
'info'?: UserInfo;
|
|
1826
2337
|
'settings'?: UserSettings;
|
|
@@ -1937,6 +2448,13 @@ export interface VideoPricing {
|
|
|
1937
2448
|
* AIModelAdminServiceApi - axios parameter creator
|
|
1938
2449
|
*/
|
|
1939
2450
|
export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2451
|
+
/**
|
|
2452
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2453
|
+
* @param {Array<string>} [aiModelNames]
|
|
2454
|
+
* @param {*} [options] Override http request option.
|
|
2455
|
+
* @throws {RequiredError}
|
|
2456
|
+
*/
|
|
2457
|
+
aIModelAdminServiceAIModelCheckConnection: (aiModelNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1940
2458
|
/**
|
|
1941
2459
|
* AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
1942
2460
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -1996,6 +2514,13 @@ export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: C
|
|
|
1996
2514
|
* AIModelAdminServiceApi - functional programming interface
|
|
1997
2515
|
*/
|
|
1998
2516
|
export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) => {
|
|
2517
|
+
/**
|
|
2518
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2519
|
+
* @param {Array<string>} [aiModelNames]
|
|
2520
|
+
* @param {*} [options] Override http request option.
|
|
2521
|
+
* @throws {RequiredError}
|
|
2522
|
+
*/
|
|
2523
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCheckConnectionResponse>>;
|
|
1999
2524
|
/**
|
|
2000
2525
|
* AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2001
2526
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2055,6 +2580,13 @@ export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) =
|
|
|
2055
2580
|
* AIModelAdminServiceApi - factory interface
|
|
2056
2581
|
*/
|
|
2057
2582
|
export declare const AIModelAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2583
|
+
/**
|
|
2584
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2585
|
+
* @param {Array<string>} [aiModelNames]
|
|
2586
|
+
* @param {*} [options] Override http request option.
|
|
2587
|
+
* @throws {RequiredError}
|
|
2588
|
+
*/
|
|
2589
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
2058
2590
|
/**
|
|
2059
2591
|
* AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2060
2592
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2114,6 +2646,13 @@ export declare const AIModelAdminServiceApiFactory: (configuration?: Configurati
|
|
|
2114
2646
|
* AIModelAdminServiceApi - interface
|
|
2115
2647
|
*/
|
|
2116
2648
|
export interface AIModelAdminServiceApiInterface {
|
|
2649
|
+
/**
|
|
2650
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2651
|
+
* @param {Array<string>} [aiModelNames]
|
|
2652
|
+
* @param {*} [options] Override http request option.
|
|
2653
|
+
* @throws {RequiredError}
|
|
2654
|
+
*/
|
|
2655
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
2117
2656
|
/**
|
|
2118
2657
|
* AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2119
2658
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2173,6 +2712,13 @@ export interface AIModelAdminServiceApiInterface {
|
|
|
2173
2712
|
* AIModelAdminServiceApi - object-oriented interface
|
|
2174
2713
|
*/
|
|
2175
2714
|
export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAdminServiceApiInterface {
|
|
2715
|
+
/**
|
|
2716
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2717
|
+
* @param {Array<string>} [aiModelNames]
|
|
2718
|
+
* @param {*} [options] Override http request option.
|
|
2719
|
+
* @throws {RequiredError}
|
|
2720
|
+
*/
|
|
2721
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCheckConnectionResponse, any, {}>>;
|
|
2176
2722
|
/**
|
|
2177
2723
|
* AIModelCreate 创建新的 AIModel(草稿状态) Create a new AI model (draft status) 请求路径: POST /admin/ai-model/create Request path: POST /admin/ai-model/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2178
2724
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2229,197 +2775,1297 @@ export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAd
|
|
|
2229
2775
|
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelUpdateResponse, any, {}>>;
|
|
2230
2776
|
}
|
|
2231
2777
|
/**
|
|
2232
|
-
*
|
|
2233
|
-
*/
|
|
2234
|
-
export declare const AdminAuthServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2235
|
-
/**
|
|
2236
|
-
* 管理员登录
|
|
2237
|
-
* @param {number} [authType]
|
|
2238
|
-
* @param {number} [authAction]
|
|
2239
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
2240
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
2241
|
-
* @param {string} [authAt]
|
|
2242
|
-
* @param {string} [nonce]
|
|
2243
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
2244
|
-
* @param {string} [sessionType] enum string: - tenant_admin - sys_admin
|
|
2245
|
-
* @param {*} [options] Override http request option.
|
|
2246
|
-
* @throws {RequiredError}
|
|
2247
|
-
*/
|
|
2248
|
-
adminAuthServiceAdminAuthFlowInit: (authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2249
|
-
};
|
|
2250
|
-
/**
|
|
2251
|
-
* AdminAuthServiceApi - functional programming interface
|
|
2778
|
+
* Auth2AdminServiceApi - axios parameter creator
|
|
2252
2779
|
*/
|
|
2253
|
-
export declare const
|
|
2780
|
+
export declare const Auth2AdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2254
2781
|
/**
|
|
2255
|
-
*
|
|
2256
|
-
* @param {
|
|
2257
|
-
* @param {number} [authAction]
|
|
2258
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
2259
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
2260
|
-
* @param {string} [authAt]
|
|
2261
|
-
* @param {string} [nonce]
|
|
2262
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
2263
|
-
* @param {string} [sessionType] enum string: - tenant_admin - sys_admin
|
|
2782
|
+
* ============ 密码管理 ============
|
|
2783
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
2264
2784
|
* @param {*} [options] Override http request option.
|
|
2265
2785
|
* @throws {RequiredError}
|
|
2266
2786
|
*/
|
|
2267
|
-
|
|
2268
|
-
};
|
|
2269
|
-
/**
|
|
2270
|
-
* AdminAuthServiceApi - factory interface
|
|
2271
|
-
*/
|
|
2272
|
-
export declare const AdminAuthServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2787
|
+
auth2AdminServiceAuthAdminChangePassword: (authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2273
2788
|
/**
|
|
2274
|
-
*
|
|
2275
|
-
* @param {number} [authType]
|
|
2276
|
-
* @param {number} [authAction]
|
|
2277
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
2278
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
2279
|
-
* @param {string} [authAt]
|
|
2280
|
-
* @param {string} [nonce]
|
|
2281
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
2282
|
-
* @param {string} [sessionType] enum string: - tenant_admin - sys_admin
|
|
2789
|
+
*
|
|
2283
2790
|
* @param {*} [options] Override http request option.
|
|
2284
2791
|
* @throws {RequiredError}
|
|
2285
2792
|
*/
|
|
2286
|
-
|
|
2287
|
-
};
|
|
2288
|
-
/**
|
|
2289
|
-
* AdminAuthServiceApi - interface
|
|
2290
|
-
*/
|
|
2291
|
-
export interface AdminAuthServiceApiInterface {
|
|
2793
|
+
auth2AdminServiceAuthAdminGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2292
2794
|
/**
|
|
2293
|
-
*
|
|
2294
|
-
* @param {number} [authType]
|
|
2295
|
-
* @param {number} [authAction]
|
|
2296
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
2297
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
2298
|
-
* @param {string} [authAt]
|
|
2299
|
-
* @param {string} [nonce]
|
|
2300
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
2301
|
-
* @param {string} [sessionType] enum string: - tenant_admin - sys_admin
|
|
2795
|
+
* ============ 会话管理 ============
|
|
2302
2796
|
* @param {*} [options] Override http request option.
|
|
2303
2797
|
* @throws {RequiredError}
|
|
2304
2798
|
*/
|
|
2305
|
-
|
|
2306
|
-
}
|
|
2307
|
-
/**
|
|
2308
|
-
* AdminAuthServiceApi - object-oriented interface
|
|
2309
|
-
*/
|
|
2310
|
-
export declare class AdminAuthServiceApi extends BaseAPI implements AdminAuthServiceApiInterface {
|
|
2799
|
+
auth2AdminServiceAuthAdminListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2311
2800
|
/**
|
|
2312
|
-
*
|
|
2313
|
-
* @param {
|
|
2314
|
-
* @param {number} [authAction]
|
|
2315
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
2316
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
2317
|
-
* @param {string} [authAt]
|
|
2318
|
-
* @param {string} [nonce]
|
|
2319
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_admin:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
2320
|
-
* @param {string} [sessionType] enum string: - tenant_admin - sys_admin
|
|
2801
|
+
*
|
|
2802
|
+
* @param {object} body
|
|
2321
2803
|
* @param {*} [options] Override http request option.
|
|
2322
2804
|
* @throws {RequiredError}
|
|
2323
2805
|
*/
|
|
2324
|
-
|
|
2325
|
-
}
|
|
2326
|
-
/**
|
|
2327
|
-
* DiscountAdminServiceApi - axios parameter creator
|
|
2328
|
-
*/
|
|
2329
|
-
export declare const DiscountAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2806
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2330
2807
|
/**
|
|
2331
|
-
*
|
|
2332
|
-
* @param {
|
|
2808
|
+
*
|
|
2809
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
2333
2810
|
* @param {*} [options] Override http request option.
|
|
2334
2811
|
* @throws {RequiredError}
|
|
2335
2812
|
*/
|
|
2336
|
-
|
|
2813
|
+
auth2AdminServiceAuthAdminRevokeSession: (authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2337
2814
|
/**
|
|
2338
|
-
*
|
|
2339
|
-
* @param {
|
|
2815
|
+
*
|
|
2816
|
+
* @param {object} body
|
|
2340
2817
|
* @param {*} [options] Override http request option.
|
|
2341
2818
|
* @throws {RequiredError}
|
|
2342
2819
|
*/
|
|
2343
|
-
|
|
2820
|
+
auth2AdminServiceAuthAdminRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2344
2821
|
/**
|
|
2345
|
-
*
|
|
2346
|
-
* @param {
|
|
2822
|
+
* ============ 认证 ============
|
|
2823
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
2347
2824
|
* @param {*} [options] Override http request option.
|
|
2348
2825
|
* @throws {RequiredError}
|
|
2349
2826
|
*/
|
|
2350
|
-
|
|
2827
|
+
auth2AdminServiceAuthAdminSignInEmail: (authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2351
2828
|
/**
|
|
2352
|
-
*
|
|
2353
|
-
* @param {
|
|
2354
|
-
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
2355
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
2829
|
+
*
|
|
2830
|
+
* @param {object} body
|
|
2356
2831
|
* @param {*} [options] Override http request option.
|
|
2357
2832
|
* @throws {RequiredError}
|
|
2358
2833
|
*/
|
|
2359
|
-
|
|
2834
|
+
auth2AdminServiceAuthAdminSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2360
2835
|
/**
|
|
2361
|
-
*
|
|
2362
|
-
* @param {
|
|
2836
|
+
* ============ 管理员信息管理 ============
|
|
2837
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
2363
2838
|
* @param {*} [options] Override http request option.
|
|
2364
2839
|
* @throws {RequiredError}
|
|
2365
2840
|
*/
|
|
2366
|
-
|
|
2841
|
+
auth2AdminServiceAuthAdminUpdateUser: (authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2367
2842
|
};
|
|
2368
2843
|
/**
|
|
2369
|
-
*
|
|
2844
|
+
* Auth2AdminServiceApi - functional programming interface
|
|
2370
2845
|
*/
|
|
2371
|
-
export declare const
|
|
2846
|
+
export declare const Auth2AdminServiceApiFp: (configuration?: Configuration) => {
|
|
2372
2847
|
/**
|
|
2373
|
-
*
|
|
2374
|
-
* @param {
|
|
2848
|
+
* ============ 密码管理 ============
|
|
2849
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
2375
2850
|
* @param {*} [options] Override http request option.
|
|
2376
2851
|
* @throws {RequiredError}
|
|
2377
2852
|
*/
|
|
2378
|
-
|
|
2853
|
+
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminChangePasswordResponse>>;
|
|
2379
2854
|
/**
|
|
2380
|
-
*
|
|
2381
|
-
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
2855
|
+
*
|
|
2382
2856
|
* @param {*} [options] Override http request option.
|
|
2383
2857
|
* @throws {RequiredError}
|
|
2384
2858
|
*/
|
|
2385
|
-
|
|
2859
|
+
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminGetSessionResponse>>;
|
|
2386
2860
|
/**
|
|
2387
|
-
*
|
|
2388
|
-
* @param {string} [id] @gotags: form:\"id\"
|
|
2861
|
+
* ============ 会话管理 ============
|
|
2389
2862
|
* @param {*} [options] Override http request option.
|
|
2390
2863
|
* @throws {RequiredError}
|
|
2391
2864
|
*/
|
|
2392
|
-
|
|
2865
|
+
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminListSessionsResponse>>;
|
|
2393
2866
|
/**
|
|
2394
|
-
*
|
|
2395
|
-
* @param {
|
|
2396
|
-
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
2397
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
2867
|
+
*
|
|
2868
|
+
* @param {object} body
|
|
2398
2869
|
* @param {*} [options] Override http request option.
|
|
2399
2870
|
* @throws {RequiredError}
|
|
2400
2871
|
*/
|
|
2401
|
-
|
|
2872
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeOtherSessionsResponse>>;
|
|
2402
2873
|
/**
|
|
2403
|
-
*
|
|
2404
|
-
* @param {
|
|
2874
|
+
*
|
|
2875
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
2405
2876
|
* @param {*} [options] Override http request option.
|
|
2406
2877
|
* @throws {RequiredError}
|
|
2407
2878
|
*/
|
|
2408
|
-
|
|
2409
|
-
};
|
|
2410
|
-
/**
|
|
2411
|
-
* DiscountAdminServiceApi - factory interface
|
|
2412
|
-
*/
|
|
2413
|
-
export declare const DiscountAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2879
|
+
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeSessionResponse>>;
|
|
2414
2880
|
/**
|
|
2415
|
-
*
|
|
2416
|
-
* @param {
|
|
2881
|
+
*
|
|
2882
|
+
* @param {object} body
|
|
2417
2883
|
* @param {*} [options] Override http request option.
|
|
2418
2884
|
* @throws {RequiredError}
|
|
2419
2885
|
*/
|
|
2420
|
-
|
|
2886
|
+
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeSessionsResponse>>;
|
|
2421
2887
|
/**
|
|
2422
|
-
*
|
|
2888
|
+
* ============ 认证 ============
|
|
2889
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
2890
|
+
* @param {*} [options] Override http request option.
|
|
2891
|
+
* @throws {RequiredError}
|
|
2892
|
+
*/
|
|
2893
|
+
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminSignInEmailResponse>>;
|
|
2894
|
+
/**
|
|
2895
|
+
*
|
|
2896
|
+
* @param {object} body
|
|
2897
|
+
* @param {*} [options] Override http request option.
|
|
2898
|
+
* @throws {RequiredError}
|
|
2899
|
+
*/
|
|
2900
|
+
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminSignOutResponse>>;
|
|
2901
|
+
/**
|
|
2902
|
+
* ============ 管理员信息管理 ============
|
|
2903
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
2904
|
+
* @param {*} [options] Override http request option.
|
|
2905
|
+
* @throws {RequiredError}
|
|
2906
|
+
*/
|
|
2907
|
+
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminUpdateUserResponse>>;
|
|
2908
|
+
};
|
|
2909
|
+
/**
|
|
2910
|
+
* Auth2AdminServiceApi - factory interface
|
|
2911
|
+
*/
|
|
2912
|
+
export declare const Auth2AdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2913
|
+
/**
|
|
2914
|
+
* ============ 密码管理 ============
|
|
2915
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
2916
|
+
* @param {*} [options] Override http request option.
|
|
2917
|
+
* @throws {RequiredError}
|
|
2918
|
+
*/
|
|
2919
|
+
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminChangePasswordResponse>;
|
|
2920
|
+
/**
|
|
2921
|
+
*
|
|
2922
|
+
* @param {*} [options] Override http request option.
|
|
2923
|
+
* @throws {RequiredError}
|
|
2924
|
+
*/
|
|
2925
|
+
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminGetSessionResponse>;
|
|
2926
|
+
/**
|
|
2927
|
+
* ============ 会话管理 ============
|
|
2928
|
+
* @param {*} [options] Override http request option.
|
|
2929
|
+
* @throws {RequiredError}
|
|
2930
|
+
*/
|
|
2931
|
+
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminListSessionsResponse>;
|
|
2932
|
+
/**
|
|
2933
|
+
*
|
|
2934
|
+
* @param {object} body
|
|
2935
|
+
* @param {*} [options] Override http request option.
|
|
2936
|
+
* @throws {RequiredError}
|
|
2937
|
+
*/
|
|
2938
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeOtherSessionsResponse>;
|
|
2939
|
+
/**
|
|
2940
|
+
*
|
|
2941
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
2942
|
+
* @param {*} [options] Override http request option.
|
|
2943
|
+
* @throws {RequiredError}
|
|
2944
|
+
*/
|
|
2945
|
+
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionResponse>;
|
|
2946
|
+
/**
|
|
2947
|
+
*
|
|
2948
|
+
* @param {object} body
|
|
2949
|
+
* @param {*} [options] Override http request option.
|
|
2950
|
+
* @throws {RequiredError}
|
|
2951
|
+
*/
|
|
2952
|
+
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionsResponse>;
|
|
2953
|
+
/**
|
|
2954
|
+
* ============ 认证 ============
|
|
2955
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
2956
|
+
* @param {*} [options] Override http request option.
|
|
2957
|
+
* @throws {RequiredError}
|
|
2958
|
+
*/
|
|
2959
|
+
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignInEmailResponse>;
|
|
2960
|
+
/**
|
|
2961
|
+
*
|
|
2962
|
+
* @param {object} body
|
|
2963
|
+
* @param {*} [options] Override http request option.
|
|
2964
|
+
* @throws {RequiredError}
|
|
2965
|
+
*/
|
|
2966
|
+
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignOutResponse>;
|
|
2967
|
+
/**
|
|
2968
|
+
* ============ 管理员信息管理 ============
|
|
2969
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
2970
|
+
* @param {*} [options] Override http request option.
|
|
2971
|
+
* @throws {RequiredError}
|
|
2972
|
+
*/
|
|
2973
|
+
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminUpdateUserResponse>;
|
|
2974
|
+
};
|
|
2975
|
+
/**
|
|
2976
|
+
* Auth2AdminServiceApi - interface
|
|
2977
|
+
*/
|
|
2978
|
+
export interface Auth2AdminServiceApiInterface {
|
|
2979
|
+
/**
|
|
2980
|
+
* ============ 密码管理 ============
|
|
2981
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
2982
|
+
* @param {*} [options] Override http request option.
|
|
2983
|
+
* @throws {RequiredError}
|
|
2984
|
+
*/
|
|
2985
|
+
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminChangePasswordResponse>;
|
|
2986
|
+
/**
|
|
2987
|
+
*
|
|
2988
|
+
* @param {*} [options] Override http request option.
|
|
2989
|
+
* @throws {RequiredError}
|
|
2990
|
+
*/
|
|
2991
|
+
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminGetSessionResponse>;
|
|
2992
|
+
/**
|
|
2993
|
+
* ============ 会话管理 ============
|
|
2994
|
+
* @param {*} [options] Override http request option.
|
|
2995
|
+
* @throws {RequiredError}
|
|
2996
|
+
*/
|
|
2997
|
+
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminListSessionsResponse>;
|
|
2998
|
+
/**
|
|
2999
|
+
*
|
|
3000
|
+
* @param {object} body
|
|
3001
|
+
* @param {*} [options] Override http request option.
|
|
3002
|
+
* @throws {RequiredError}
|
|
3003
|
+
*/
|
|
3004
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeOtherSessionsResponse>;
|
|
3005
|
+
/**
|
|
3006
|
+
*
|
|
3007
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
3008
|
+
* @param {*} [options] Override http request option.
|
|
3009
|
+
* @throws {RequiredError}
|
|
3010
|
+
*/
|
|
3011
|
+
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionResponse>;
|
|
3012
|
+
/**
|
|
3013
|
+
*
|
|
3014
|
+
* @param {object} body
|
|
3015
|
+
* @param {*} [options] Override http request option.
|
|
3016
|
+
* @throws {RequiredError}
|
|
3017
|
+
*/
|
|
3018
|
+
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionsResponse>;
|
|
3019
|
+
/**
|
|
3020
|
+
* ============ 认证 ============
|
|
3021
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
3022
|
+
* @param {*} [options] Override http request option.
|
|
3023
|
+
* @throws {RequiredError}
|
|
3024
|
+
*/
|
|
3025
|
+
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignInEmailResponse>;
|
|
3026
|
+
/**
|
|
3027
|
+
*
|
|
3028
|
+
* @param {object} body
|
|
3029
|
+
* @param {*} [options] Override http request option.
|
|
3030
|
+
* @throws {RequiredError}
|
|
3031
|
+
*/
|
|
3032
|
+
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignOutResponse>;
|
|
3033
|
+
/**
|
|
3034
|
+
* ============ 管理员信息管理 ============
|
|
3035
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
3036
|
+
* @param {*} [options] Override http request option.
|
|
3037
|
+
* @throws {RequiredError}
|
|
3038
|
+
*/
|
|
3039
|
+
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminUpdateUserResponse>;
|
|
3040
|
+
}
|
|
3041
|
+
/**
|
|
3042
|
+
* Auth2AdminServiceApi - object-oriented interface
|
|
3043
|
+
*/
|
|
3044
|
+
export declare class Auth2AdminServiceApi extends BaseAPI implements Auth2AdminServiceApiInterface {
|
|
3045
|
+
/**
|
|
3046
|
+
* ============ 密码管理 ============
|
|
3047
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
3048
|
+
* @param {*} [options] Override http request option.
|
|
3049
|
+
* @throws {RequiredError}
|
|
3050
|
+
*/
|
|
3051
|
+
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminChangePasswordResponse, any, {}>>;
|
|
3052
|
+
/**
|
|
3053
|
+
*
|
|
3054
|
+
* @param {*} [options] Override http request option.
|
|
3055
|
+
* @throws {RequiredError}
|
|
3056
|
+
*/
|
|
3057
|
+
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminGetSessionResponse, any, {}>>;
|
|
3058
|
+
/**
|
|
3059
|
+
* ============ 会话管理 ============
|
|
3060
|
+
* @param {*} [options] Override http request option.
|
|
3061
|
+
* @throws {RequiredError}
|
|
3062
|
+
*/
|
|
3063
|
+
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminListSessionsResponse, any, {}>>;
|
|
3064
|
+
/**
|
|
3065
|
+
*
|
|
3066
|
+
* @param {object} body
|
|
3067
|
+
* @param {*} [options] Override http request option.
|
|
3068
|
+
* @throws {RequiredError}
|
|
3069
|
+
*/
|
|
3070
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeOtherSessionsResponse, any, {}>>;
|
|
3071
|
+
/**
|
|
3072
|
+
*
|
|
3073
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
3074
|
+
* @param {*} [options] Override http request option.
|
|
3075
|
+
* @throws {RequiredError}
|
|
3076
|
+
*/
|
|
3077
|
+
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionResponse, any, {}>>;
|
|
3078
|
+
/**
|
|
3079
|
+
*
|
|
3080
|
+
* @param {object} body
|
|
3081
|
+
* @param {*} [options] Override http request option.
|
|
3082
|
+
* @throws {RequiredError}
|
|
3083
|
+
*/
|
|
3084
|
+
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionsResponse, any, {}>>;
|
|
3085
|
+
/**
|
|
3086
|
+
* ============ 认证 ============
|
|
3087
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
3088
|
+
* @param {*} [options] Override http request option.
|
|
3089
|
+
* @throws {RequiredError}
|
|
3090
|
+
*/
|
|
3091
|
+
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignInEmailResponse, any, {}>>;
|
|
3092
|
+
/**
|
|
3093
|
+
*
|
|
3094
|
+
* @param {object} body
|
|
3095
|
+
* @param {*} [options] Override http request option.
|
|
3096
|
+
* @throws {RequiredError}
|
|
3097
|
+
*/
|
|
3098
|
+
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignOutResponse, any, {}>>;
|
|
3099
|
+
/**
|
|
3100
|
+
* ============ 管理员信息管理 ============
|
|
3101
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
3102
|
+
* @param {*} [options] Override http request option.
|
|
3103
|
+
* @throws {RequiredError}
|
|
3104
|
+
*/
|
|
3105
|
+
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminUpdateUserResponse, any, {}>>;
|
|
3106
|
+
}
|
|
3107
|
+
/**
|
|
3108
|
+
* Auth2UserServiceApi - axios parameter creator
|
|
3109
|
+
*/
|
|
3110
|
+
export declare const Auth2UserServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3111
|
+
/**
|
|
3112
|
+
*
|
|
3113
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3114
|
+
* @param {*} [options] Override http request option.
|
|
3115
|
+
* @throws {RequiredError}
|
|
3116
|
+
*/
|
|
3117
|
+
auth2UserServiceAuthChangeEmail: (authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3118
|
+
/**
|
|
3119
|
+
* ============ 密码管理 ============
|
|
3120
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3121
|
+
* @param {*} [options] Override http request option.
|
|
3122
|
+
* @throws {RequiredError}
|
|
3123
|
+
*/
|
|
3124
|
+
auth2UserServiceAuthChangePassword: (authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3125
|
+
/**
|
|
3126
|
+
*
|
|
3127
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3128
|
+
* @param {*} [options] Override http request option.
|
|
3129
|
+
* @throws {RequiredError}
|
|
3130
|
+
*/
|
|
3131
|
+
auth2UserServiceAuthDeleteUser: (authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3132
|
+
/**
|
|
3133
|
+
*
|
|
3134
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3135
|
+
* @param {*} [options] Override http request option.
|
|
3136
|
+
* @throws {RequiredError}
|
|
3137
|
+
*/
|
|
3138
|
+
auth2UserServiceAuthGetAccessToken: (authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3139
|
+
/**
|
|
3140
|
+
*
|
|
3141
|
+
* @param {*} [options] Override http request option.
|
|
3142
|
+
* @throws {RequiredError}
|
|
3143
|
+
*/
|
|
3144
|
+
auth2UserServiceAuthGetAccountInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3145
|
+
/**
|
|
3146
|
+
*
|
|
3147
|
+
* @param {*} [options] Override http request option.
|
|
3148
|
+
* @throws {RequiredError}
|
|
3149
|
+
*/
|
|
3150
|
+
auth2UserServiceAuthGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3151
|
+
/**
|
|
3152
|
+
* ============ 账号关联 ============
|
|
3153
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3154
|
+
* @param {*} [options] Override http request option.
|
|
3155
|
+
* @throws {RequiredError}
|
|
3156
|
+
*/
|
|
3157
|
+
auth2UserServiceAuthLinkSocial: (authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3158
|
+
/**
|
|
3159
|
+
*
|
|
3160
|
+
* @param {*} [options] Override http request option.
|
|
3161
|
+
* @throws {RequiredError}
|
|
3162
|
+
*/
|
|
3163
|
+
auth2UserServiceAuthListAccounts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3164
|
+
/**
|
|
3165
|
+
* ============ 会话管理 ============
|
|
3166
|
+
* @param {*} [options] Override http request option.
|
|
3167
|
+
* @throws {RequiredError}
|
|
3168
|
+
*/
|
|
3169
|
+
auth2UserServiceAuthListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3170
|
+
/**
|
|
3171
|
+
*
|
|
3172
|
+
* @param {string} platform
|
|
3173
|
+
* @param {string} [code]
|
|
3174
|
+
* @param {string} [state]
|
|
3175
|
+
* @param {*} [options] Override http request option.
|
|
3176
|
+
* @throws {RequiredError}
|
|
3177
|
+
*/
|
|
3178
|
+
auth2UserServiceAuthOAuth2Callback: (platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3179
|
+
/**
|
|
3180
|
+
* ============ Token 管理 ============
|
|
3181
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3182
|
+
* @param {*} [options] Override http request option.
|
|
3183
|
+
* @throws {RequiredError}
|
|
3184
|
+
*/
|
|
3185
|
+
auth2UserServiceAuthRefreshToken: (authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3186
|
+
/**
|
|
3187
|
+
*
|
|
3188
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3189
|
+
* @param {*} [options] Override http request option.
|
|
3190
|
+
* @throws {RequiredError}
|
|
3191
|
+
*/
|
|
3192
|
+
auth2UserServiceAuthRequestPasswordReset: (authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3193
|
+
/**
|
|
3194
|
+
*
|
|
3195
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3196
|
+
* @param {*} [options] Override http request option.
|
|
3197
|
+
* @throws {RequiredError}
|
|
3198
|
+
*/
|
|
3199
|
+
auth2UserServiceAuthResetPassword: (authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3200
|
+
/**
|
|
3201
|
+
*
|
|
3202
|
+
* @param {object} body
|
|
3203
|
+
* @param {*} [options] Override http request option.
|
|
3204
|
+
* @throws {RequiredError}
|
|
3205
|
+
*/
|
|
3206
|
+
auth2UserServiceAuthRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3207
|
+
/**
|
|
3208
|
+
*
|
|
3209
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3210
|
+
* @param {*} [options] Override http request option.
|
|
3211
|
+
* @throws {RequiredError}
|
|
3212
|
+
*/
|
|
3213
|
+
auth2UserServiceAuthRevokeSession: (authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3214
|
+
/**
|
|
3215
|
+
*
|
|
3216
|
+
* @param {object} body
|
|
3217
|
+
* @param {*} [options] Override http request option.
|
|
3218
|
+
* @throws {RequiredError}
|
|
3219
|
+
*/
|
|
3220
|
+
auth2UserServiceAuthRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3221
|
+
/**
|
|
3222
|
+
* ============ 邮箱验证 ============
|
|
3223
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3224
|
+
* @param {*} [options] Override http request option.
|
|
3225
|
+
* @throws {RequiredError}
|
|
3226
|
+
*/
|
|
3227
|
+
auth2UserServiceAuthSendVerificationEmail: (authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3228
|
+
/**
|
|
3229
|
+
*
|
|
3230
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3231
|
+
* @param {*} [options] Override http request option.
|
|
3232
|
+
* @throws {RequiredError}
|
|
3233
|
+
*/
|
|
3234
|
+
auth2UserServiceAuthSignInEmail: (authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3235
|
+
/**
|
|
3236
|
+
*
|
|
3237
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3238
|
+
* @param {*} [options] Override http request option.
|
|
3239
|
+
* @throws {RequiredError}
|
|
3240
|
+
*/
|
|
3241
|
+
auth2UserServiceAuthSignInSocial: (authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3242
|
+
/**
|
|
3243
|
+
*
|
|
3244
|
+
* @param {object} body
|
|
3245
|
+
* @param {*} [options] Override http request option.
|
|
3246
|
+
* @throws {RequiredError}
|
|
3247
|
+
*/
|
|
3248
|
+
auth2UserServiceAuthSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3249
|
+
/**
|
|
3250
|
+
* ============ 认证 ============
|
|
3251
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3252
|
+
* @param {*} [options] Override http request option.
|
|
3253
|
+
* @throws {RequiredError}
|
|
3254
|
+
*/
|
|
3255
|
+
auth2UserServiceAuthSignUpEmail: (authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3256
|
+
/**
|
|
3257
|
+
*
|
|
3258
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3259
|
+
* @param {*} [options] Override http request option.
|
|
3260
|
+
* @throws {RequiredError}
|
|
3261
|
+
*/
|
|
3262
|
+
auth2UserServiceAuthUnlinkAccount: (authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3263
|
+
/**
|
|
3264
|
+
* ============ 用户管理 ============
|
|
3265
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3266
|
+
* @param {*} [options] Override http request option.
|
|
3267
|
+
* @throws {RequiredError}
|
|
3268
|
+
*/
|
|
3269
|
+
auth2UserServiceAuthUpdateUser: (authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3270
|
+
/**
|
|
3271
|
+
*
|
|
3272
|
+
* @param {string} [email]
|
|
3273
|
+
* @param {string} [authCode]
|
|
3274
|
+
* @param {string} [callbackUrl]
|
|
3275
|
+
* @param {*} [options] Override http request option.
|
|
3276
|
+
* @throws {RequiredError}
|
|
3277
|
+
*/
|
|
3278
|
+
auth2UserServiceAuthVerifyEmail: (email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3279
|
+
};
|
|
3280
|
+
/**
|
|
3281
|
+
* Auth2UserServiceApi - functional programming interface
|
|
3282
|
+
*/
|
|
3283
|
+
export declare const Auth2UserServiceApiFp: (configuration?: Configuration) => {
|
|
3284
|
+
/**
|
|
3285
|
+
*
|
|
3286
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3287
|
+
* @param {*} [options] Override http request option.
|
|
3288
|
+
* @throws {RequiredError}
|
|
3289
|
+
*/
|
|
3290
|
+
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangeEmailResponse>>;
|
|
3291
|
+
/**
|
|
3292
|
+
* ============ 密码管理 ============
|
|
3293
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3294
|
+
* @param {*} [options] Override http request option.
|
|
3295
|
+
* @throws {RequiredError}
|
|
3296
|
+
*/
|
|
3297
|
+
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangePasswordResponse>>;
|
|
3298
|
+
/**
|
|
3299
|
+
*
|
|
3300
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3301
|
+
* @param {*} [options] Override http request option.
|
|
3302
|
+
* @throws {RequiredError}
|
|
3303
|
+
*/
|
|
3304
|
+
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthDeleteUserResponse>>;
|
|
3305
|
+
/**
|
|
3306
|
+
*
|
|
3307
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3308
|
+
* @param {*} [options] Override http request option.
|
|
3309
|
+
* @throws {RequiredError}
|
|
3310
|
+
*/
|
|
3311
|
+
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccessTokenResponse>>;
|
|
3312
|
+
/**
|
|
3313
|
+
*
|
|
3314
|
+
* @param {*} [options] Override http request option.
|
|
3315
|
+
* @throws {RequiredError}
|
|
3316
|
+
*/
|
|
3317
|
+
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccountInfoResponse>>;
|
|
3318
|
+
/**
|
|
3319
|
+
*
|
|
3320
|
+
* @param {*} [options] Override http request option.
|
|
3321
|
+
* @throws {RequiredError}
|
|
3322
|
+
*/
|
|
3323
|
+
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetSessionResponse>>;
|
|
3324
|
+
/**
|
|
3325
|
+
* ============ 账号关联 ============
|
|
3326
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3327
|
+
* @param {*} [options] Override http request option.
|
|
3328
|
+
* @throws {RequiredError}
|
|
3329
|
+
*/
|
|
3330
|
+
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthLinkSocialResponse>>;
|
|
3331
|
+
/**
|
|
3332
|
+
*
|
|
3333
|
+
* @param {*} [options] Override http request option.
|
|
3334
|
+
* @throws {RequiredError}
|
|
3335
|
+
*/
|
|
3336
|
+
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListAccountsResponse>>;
|
|
3337
|
+
/**
|
|
3338
|
+
* ============ 会话管理 ============
|
|
3339
|
+
* @param {*} [options] Override http request option.
|
|
3340
|
+
* @throws {RequiredError}
|
|
3341
|
+
*/
|
|
3342
|
+
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListSessionsResponse>>;
|
|
3343
|
+
/**
|
|
3344
|
+
*
|
|
3345
|
+
* @param {string} platform
|
|
3346
|
+
* @param {string} [code]
|
|
3347
|
+
* @param {string} [state]
|
|
3348
|
+
* @param {*} [options] Override http request option.
|
|
3349
|
+
* @throws {RequiredError}
|
|
3350
|
+
*/
|
|
3351
|
+
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthOAuth2CallbackResponse>>;
|
|
3352
|
+
/**
|
|
3353
|
+
* ============ Token 管理 ============
|
|
3354
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3355
|
+
* @param {*} [options] Override http request option.
|
|
3356
|
+
* @throws {RequiredError}
|
|
3357
|
+
*/
|
|
3358
|
+
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRefreshTokenResponse>>;
|
|
3359
|
+
/**
|
|
3360
|
+
*
|
|
3361
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3362
|
+
* @param {*} [options] Override http request option.
|
|
3363
|
+
* @throws {RequiredError}
|
|
3364
|
+
*/
|
|
3365
|
+
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRequestPasswordResetResponse>>;
|
|
3366
|
+
/**
|
|
3367
|
+
*
|
|
3368
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3369
|
+
* @param {*} [options] Override http request option.
|
|
3370
|
+
* @throws {RequiredError}
|
|
3371
|
+
*/
|
|
3372
|
+
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResetPasswordResponse>>;
|
|
3373
|
+
/**
|
|
3374
|
+
*
|
|
3375
|
+
* @param {object} body
|
|
3376
|
+
* @param {*} [options] Override http request option.
|
|
3377
|
+
* @throws {RequiredError}
|
|
3378
|
+
*/
|
|
3379
|
+
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeOtherSessionsResponse>>;
|
|
3380
|
+
/**
|
|
3381
|
+
*
|
|
3382
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3383
|
+
* @param {*} [options] Override http request option.
|
|
3384
|
+
* @throws {RequiredError}
|
|
3385
|
+
*/
|
|
3386
|
+
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionResponse>>;
|
|
3387
|
+
/**
|
|
3388
|
+
*
|
|
3389
|
+
* @param {object} body
|
|
3390
|
+
* @param {*} [options] Override http request option.
|
|
3391
|
+
* @throws {RequiredError}
|
|
3392
|
+
*/
|
|
3393
|
+
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionsResponse>>;
|
|
3394
|
+
/**
|
|
3395
|
+
* ============ 邮箱验证 ============
|
|
3396
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3397
|
+
* @param {*} [options] Override http request option.
|
|
3398
|
+
* @throws {RequiredError}
|
|
3399
|
+
*/
|
|
3400
|
+
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSendVerificationEmailResponse>>;
|
|
3401
|
+
/**
|
|
3402
|
+
*
|
|
3403
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3404
|
+
* @param {*} [options] Override http request option.
|
|
3405
|
+
* @throws {RequiredError}
|
|
3406
|
+
*/
|
|
3407
|
+
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInEmailResponse>>;
|
|
3408
|
+
/**
|
|
3409
|
+
*
|
|
3410
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3411
|
+
* @param {*} [options] Override http request option.
|
|
3412
|
+
* @throws {RequiredError}
|
|
3413
|
+
*/
|
|
3414
|
+
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInSocialResponse>>;
|
|
3415
|
+
/**
|
|
3416
|
+
*
|
|
3417
|
+
* @param {object} body
|
|
3418
|
+
* @param {*} [options] Override http request option.
|
|
3419
|
+
* @throws {RequiredError}
|
|
3420
|
+
*/
|
|
3421
|
+
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignOutResponse>>;
|
|
3422
|
+
/**
|
|
3423
|
+
* ============ 认证 ============
|
|
3424
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3425
|
+
* @param {*} [options] Override http request option.
|
|
3426
|
+
* @throws {RequiredError}
|
|
3427
|
+
*/
|
|
3428
|
+
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignUpEmailResponse>>;
|
|
3429
|
+
/**
|
|
3430
|
+
*
|
|
3431
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3432
|
+
* @param {*} [options] Override http request option.
|
|
3433
|
+
* @throws {RequiredError}
|
|
3434
|
+
*/
|
|
3435
|
+
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUnlinkAccountResponse>>;
|
|
3436
|
+
/**
|
|
3437
|
+
* ============ 用户管理 ============
|
|
3438
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3439
|
+
* @param {*} [options] Override http request option.
|
|
3440
|
+
* @throws {RequiredError}
|
|
3441
|
+
*/
|
|
3442
|
+
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUpdateUserResponse>>;
|
|
3443
|
+
/**
|
|
3444
|
+
*
|
|
3445
|
+
* @param {string} [email]
|
|
3446
|
+
* @param {string} [authCode]
|
|
3447
|
+
* @param {string} [callbackUrl]
|
|
3448
|
+
* @param {*} [options] Override http request option.
|
|
3449
|
+
* @throws {RequiredError}
|
|
3450
|
+
*/
|
|
3451
|
+
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthVerifyEmailResponse>>;
|
|
3452
|
+
};
|
|
3453
|
+
/**
|
|
3454
|
+
* Auth2UserServiceApi - factory interface
|
|
3455
|
+
*/
|
|
3456
|
+
export declare const Auth2UserServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3457
|
+
/**
|
|
3458
|
+
*
|
|
3459
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3460
|
+
* @param {*} [options] Override http request option.
|
|
3461
|
+
* @throws {RequiredError}
|
|
3462
|
+
*/
|
|
3463
|
+
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
|
|
3464
|
+
/**
|
|
3465
|
+
* ============ 密码管理 ============
|
|
3466
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3467
|
+
* @param {*} [options] Override http request option.
|
|
3468
|
+
* @throws {RequiredError}
|
|
3469
|
+
*/
|
|
3470
|
+
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
|
|
3471
|
+
/**
|
|
3472
|
+
*
|
|
3473
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3474
|
+
* @param {*} [options] Override http request option.
|
|
3475
|
+
* @throws {RequiredError}
|
|
3476
|
+
*/
|
|
3477
|
+
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
|
|
3478
|
+
/**
|
|
3479
|
+
*
|
|
3480
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3481
|
+
* @param {*} [options] Override http request option.
|
|
3482
|
+
* @throws {RequiredError}
|
|
3483
|
+
*/
|
|
3484
|
+
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
|
|
3485
|
+
/**
|
|
3486
|
+
*
|
|
3487
|
+
* @param {*} [options] Override http request option.
|
|
3488
|
+
* @throws {RequiredError}
|
|
3489
|
+
*/
|
|
3490
|
+
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
|
|
3491
|
+
/**
|
|
3492
|
+
*
|
|
3493
|
+
* @param {*} [options] Override http request option.
|
|
3494
|
+
* @throws {RequiredError}
|
|
3495
|
+
*/
|
|
3496
|
+
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetSessionResponse>;
|
|
3497
|
+
/**
|
|
3498
|
+
* ============ 账号关联 ============
|
|
3499
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3500
|
+
* @param {*} [options] Override http request option.
|
|
3501
|
+
* @throws {RequiredError}
|
|
3502
|
+
*/
|
|
3503
|
+
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkSocialResponse>;
|
|
3504
|
+
/**
|
|
3505
|
+
*
|
|
3506
|
+
* @param {*} [options] Override http request option.
|
|
3507
|
+
* @throws {RequiredError}
|
|
3508
|
+
*/
|
|
3509
|
+
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): AxiosPromise<AuthListAccountsResponse>;
|
|
3510
|
+
/**
|
|
3511
|
+
* ============ 会话管理 ============
|
|
3512
|
+
* @param {*} [options] Override http request option.
|
|
3513
|
+
* @throws {RequiredError}
|
|
3514
|
+
*/
|
|
3515
|
+
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
|
|
3516
|
+
/**
|
|
3517
|
+
*
|
|
3518
|
+
* @param {string} platform
|
|
3519
|
+
* @param {string} [code]
|
|
3520
|
+
* @param {string} [state]
|
|
3521
|
+
* @param {*} [options] Override http request option.
|
|
3522
|
+
* @throws {RequiredError}
|
|
3523
|
+
*/
|
|
3524
|
+
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthOAuth2CallbackResponse>;
|
|
3525
|
+
/**
|
|
3526
|
+
* ============ Token 管理 ============
|
|
3527
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3528
|
+
* @param {*} [options] Override http request option.
|
|
3529
|
+
* @throws {RequiredError}
|
|
3530
|
+
*/
|
|
3531
|
+
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRefreshTokenResponse>;
|
|
3532
|
+
/**
|
|
3533
|
+
*
|
|
3534
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3535
|
+
* @param {*} [options] Override http request option.
|
|
3536
|
+
* @throws {RequiredError}
|
|
3537
|
+
*/
|
|
3538
|
+
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestPasswordResetResponse>;
|
|
3539
|
+
/**
|
|
3540
|
+
*
|
|
3541
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3542
|
+
* @param {*} [options] Override http request option.
|
|
3543
|
+
* @throws {RequiredError}
|
|
3544
|
+
*/
|
|
3545
|
+
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResetPasswordResponse>;
|
|
3546
|
+
/**
|
|
3547
|
+
*
|
|
3548
|
+
* @param {object} body
|
|
3549
|
+
* @param {*} [options] Override http request option.
|
|
3550
|
+
* @throws {RequiredError}
|
|
3551
|
+
*/
|
|
3552
|
+
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeOtherSessionsResponse>;
|
|
3553
|
+
/**
|
|
3554
|
+
*
|
|
3555
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3556
|
+
* @param {*} [options] Override http request option.
|
|
3557
|
+
* @throws {RequiredError}
|
|
3558
|
+
*/
|
|
3559
|
+
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionResponse>;
|
|
3560
|
+
/**
|
|
3561
|
+
*
|
|
3562
|
+
* @param {object} body
|
|
3563
|
+
* @param {*} [options] Override http request option.
|
|
3564
|
+
* @throws {RequiredError}
|
|
3565
|
+
*/
|
|
3566
|
+
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionsResponse>;
|
|
3567
|
+
/**
|
|
3568
|
+
* ============ 邮箱验证 ============
|
|
3569
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3570
|
+
* @param {*} [options] Override http request option.
|
|
3571
|
+
* @throws {RequiredError}
|
|
3572
|
+
*/
|
|
3573
|
+
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSendVerificationEmailResponse>;
|
|
3574
|
+
/**
|
|
3575
|
+
*
|
|
3576
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3577
|
+
* @param {*} [options] Override http request option.
|
|
3578
|
+
* @throws {RequiredError}
|
|
3579
|
+
*/
|
|
3580
|
+
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInEmailResponse>;
|
|
3581
|
+
/**
|
|
3582
|
+
*
|
|
3583
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3584
|
+
* @param {*} [options] Override http request option.
|
|
3585
|
+
* @throws {RequiredError}
|
|
3586
|
+
*/
|
|
3587
|
+
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInSocialResponse>;
|
|
3588
|
+
/**
|
|
3589
|
+
*
|
|
3590
|
+
* @param {object} body
|
|
3591
|
+
* @param {*} [options] Override http request option.
|
|
3592
|
+
* @throws {RequiredError}
|
|
3593
|
+
*/
|
|
3594
|
+
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignOutResponse>;
|
|
3595
|
+
/**
|
|
3596
|
+
* ============ 认证 ============
|
|
3597
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3598
|
+
* @param {*} [options] Override http request option.
|
|
3599
|
+
* @throws {RequiredError}
|
|
3600
|
+
*/
|
|
3601
|
+
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignUpEmailResponse>;
|
|
3602
|
+
/**
|
|
3603
|
+
*
|
|
3604
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3605
|
+
* @param {*} [options] Override http request option.
|
|
3606
|
+
* @throws {RequiredError}
|
|
3607
|
+
*/
|
|
3608
|
+
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUnlinkAccountResponse>;
|
|
3609
|
+
/**
|
|
3610
|
+
* ============ 用户管理 ============
|
|
3611
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3612
|
+
* @param {*} [options] Override http request option.
|
|
3613
|
+
* @throws {RequiredError}
|
|
3614
|
+
*/
|
|
3615
|
+
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUpdateUserResponse>;
|
|
3616
|
+
/**
|
|
3617
|
+
*
|
|
3618
|
+
* @param {string} [email]
|
|
3619
|
+
* @param {string} [authCode]
|
|
3620
|
+
* @param {string} [callbackUrl]
|
|
3621
|
+
* @param {*} [options] Override http request option.
|
|
3622
|
+
* @throws {RequiredError}
|
|
3623
|
+
*/
|
|
3624
|
+
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthVerifyEmailResponse>;
|
|
3625
|
+
};
|
|
3626
|
+
/**
|
|
3627
|
+
* Auth2UserServiceApi - interface
|
|
3628
|
+
*/
|
|
3629
|
+
export interface Auth2UserServiceApiInterface {
|
|
3630
|
+
/**
|
|
3631
|
+
*
|
|
3632
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3633
|
+
* @param {*} [options] Override http request option.
|
|
3634
|
+
* @throws {RequiredError}
|
|
3635
|
+
*/
|
|
3636
|
+
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
|
|
3637
|
+
/**
|
|
3638
|
+
* ============ 密码管理 ============
|
|
3639
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3640
|
+
* @param {*} [options] Override http request option.
|
|
3641
|
+
* @throws {RequiredError}
|
|
3642
|
+
*/
|
|
3643
|
+
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
|
|
3644
|
+
/**
|
|
3645
|
+
*
|
|
3646
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3647
|
+
* @param {*} [options] Override http request option.
|
|
3648
|
+
* @throws {RequiredError}
|
|
3649
|
+
*/
|
|
3650
|
+
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
|
|
3651
|
+
/**
|
|
3652
|
+
*
|
|
3653
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3654
|
+
* @param {*} [options] Override http request option.
|
|
3655
|
+
* @throws {RequiredError}
|
|
3656
|
+
*/
|
|
3657
|
+
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
|
|
3658
|
+
/**
|
|
3659
|
+
*
|
|
3660
|
+
* @param {*} [options] Override http request option.
|
|
3661
|
+
* @throws {RequiredError}
|
|
3662
|
+
*/
|
|
3663
|
+
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
|
|
3664
|
+
/**
|
|
3665
|
+
*
|
|
3666
|
+
* @param {*} [options] Override http request option.
|
|
3667
|
+
* @throws {RequiredError}
|
|
3668
|
+
*/
|
|
3669
|
+
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetSessionResponse>;
|
|
3670
|
+
/**
|
|
3671
|
+
* ============ 账号关联 ============
|
|
3672
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3673
|
+
* @param {*} [options] Override http request option.
|
|
3674
|
+
* @throws {RequiredError}
|
|
3675
|
+
*/
|
|
3676
|
+
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkSocialResponse>;
|
|
3677
|
+
/**
|
|
3678
|
+
*
|
|
3679
|
+
* @param {*} [options] Override http request option.
|
|
3680
|
+
* @throws {RequiredError}
|
|
3681
|
+
*/
|
|
3682
|
+
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): AxiosPromise<AuthListAccountsResponse>;
|
|
3683
|
+
/**
|
|
3684
|
+
* ============ 会话管理 ============
|
|
3685
|
+
* @param {*} [options] Override http request option.
|
|
3686
|
+
* @throws {RequiredError}
|
|
3687
|
+
*/
|
|
3688
|
+
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
|
|
3689
|
+
/**
|
|
3690
|
+
*
|
|
3691
|
+
* @param {string} platform
|
|
3692
|
+
* @param {string} [code]
|
|
3693
|
+
* @param {string} [state]
|
|
3694
|
+
* @param {*} [options] Override http request option.
|
|
3695
|
+
* @throws {RequiredError}
|
|
3696
|
+
*/
|
|
3697
|
+
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthOAuth2CallbackResponse>;
|
|
3698
|
+
/**
|
|
3699
|
+
* ============ Token 管理 ============
|
|
3700
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3701
|
+
* @param {*} [options] Override http request option.
|
|
3702
|
+
* @throws {RequiredError}
|
|
3703
|
+
*/
|
|
3704
|
+
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRefreshTokenResponse>;
|
|
3705
|
+
/**
|
|
3706
|
+
*
|
|
3707
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3708
|
+
* @param {*} [options] Override http request option.
|
|
3709
|
+
* @throws {RequiredError}
|
|
3710
|
+
*/
|
|
3711
|
+
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestPasswordResetResponse>;
|
|
3712
|
+
/**
|
|
3713
|
+
*
|
|
3714
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3715
|
+
* @param {*} [options] Override http request option.
|
|
3716
|
+
* @throws {RequiredError}
|
|
3717
|
+
*/
|
|
3718
|
+
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResetPasswordResponse>;
|
|
3719
|
+
/**
|
|
3720
|
+
*
|
|
3721
|
+
* @param {object} body
|
|
3722
|
+
* @param {*} [options] Override http request option.
|
|
3723
|
+
* @throws {RequiredError}
|
|
3724
|
+
*/
|
|
3725
|
+
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeOtherSessionsResponse>;
|
|
3726
|
+
/**
|
|
3727
|
+
*
|
|
3728
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3729
|
+
* @param {*} [options] Override http request option.
|
|
3730
|
+
* @throws {RequiredError}
|
|
3731
|
+
*/
|
|
3732
|
+
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionResponse>;
|
|
3733
|
+
/**
|
|
3734
|
+
*
|
|
3735
|
+
* @param {object} body
|
|
3736
|
+
* @param {*} [options] Override http request option.
|
|
3737
|
+
* @throws {RequiredError}
|
|
3738
|
+
*/
|
|
3739
|
+
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionsResponse>;
|
|
3740
|
+
/**
|
|
3741
|
+
* ============ 邮箱验证 ============
|
|
3742
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3743
|
+
* @param {*} [options] Override http request option.
|
|
3744
|
+
* @throws {RequiredError}
|
|
3745
|
+
*/
|
|
3746
|
+
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSendVerificationEmailResponse>;
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3750
|
+
* @param {*} [options] Override http request option.
|
|
3751
|
+
* @throws {RequiredError}
|
|
3752
|
+
*/
|
|
3753
|
+
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInEmailResponse>;
|
|
3754
|
+
/**
|
|
3755
|
+
*
|
|
3756
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3757
|
+
* @param {*} [options] Override http request option.
|
|
3758
|
+
* @throws {RequiredError}
|
|
3759
|
+
*/
|
|
3760
|
+
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInSocialResponse>;
|
|
3761
|
+
/**
|
|
3762
|
+
*
|
|
3763
|
+
* @param {object} body
|
|
3764
|
+
* @param {*} [options] Override http request option.
|
|
3765
|
+
* @throws {RequiredError}
|
|
3766
|
+
*/
|
|
3767
|
+
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignOutResponse>;
|
|
3768
|
+
/**
|
|
3769
|
+
* ============ 认证 ============
|
|
3770
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3771
|
+
* @param {*} [options] Override http request option.
|
|
3772
|
+
* @throws {RequiredError}
|
|
3773
|
+
*/
|
|
3774
|
+
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignUpEmailResponse>;
|
|
3775
|
+
/**
|
|
3776
|
+
*
|
|
3777
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3778
|
+
* @param {*} [options] Override http request option.
|
|
3779
|
+
* @throws {RequiredError}
|
|
3780
|
+
*/
|
|
3781
|
+
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUnlinkAccountResponse>;
|
|
3782
|
+
/**
|
|
3783
|
+
* ============ 用户管理 ============
|
|
3784
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3785
|
+
* @param {*} [options] Override http request option.
|
|
3786
|
+
* @throws {RequiredError}
|
|
3787
|
+
*/
|
|
3788
|
+
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUpdateUserResponse>;
|
|
3789
|
+
/**
|
|
3790
|
+
*
|
|
3791
|
+
* @param {string} [email]
|
|
3792
|
+
* @param {string} [authCode]
|
|
3793
|
+
* @param {string} [callbackUrl]
|
|
3794
|
+
* @param {*} [options] Override http request option.
|
|
3795
|
+
* @throws {RequiredError}
|
|
3796
|
+
*/
|
|
3797
|
+
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthVerifyEmailResponse>;
|
|
3798
|
+
}
|
|
3799
|
+
/**
|
|
3800
|
+
* Auth2UserServiceApi - object-oriented interface
|
|
3801
|
+
*/
|
|
3802
|
+
export declare class Auth2UserServiceApi extends BaseAPI implements Auth2UserServiceApiInterface {
|
|
3803
|
+
/**
|
|
3804
|
+
*
|
|
3805
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3806
|
+
* @param {*} [options] Override http request option.
|
|
3807
|
+
* @throws {RequiredError}
|
|
3808
|
+
*/
|
|
3809
|
+
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthChangeEmailResponse, any, {}>>;
|
|
3810
|
+
/**
|
|
3811
|
+
* ============ 密码管理 ============
|
|
3812
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3813
|
+
* @param {*} [options] Override http request option.
|
|
3814
|
+
* @throws {RequiredError}
|
|
3815
|
+
*/
|
|
3816
|
+
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthChangePasswordResponse, any, {}>>;
|
|
3817
|
+
/**
|
|
3818
|
+
*
|
|
3819
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3820
|
+
* @param {*} [options] Override http request option.
|
|
3821
|
+
* @throws {RequiredError}
|
|
3822
|
+
*/
|
|
3823
|
+
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthDeleteUserResponse, any, {}>>;
|
|
3824
|
+
/**
|
|
3825
|
+
*
|
|
3826
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3827
|
+
* @param {*} [options] Override http request option.
|
|
3828
|
+
* @throws {RequiredError}
|
|
3829
|
+
*/
|
|
3830
|
+
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetAccessTokenResponse, any, {}>>;
|
|
3831
|
+
/**
|
|
3832
|
+
*
|
|
3833
|
+
* @param {*} [options] Override http request option.
|
|
3834
|
+
* @throws {RequiredError}
|
|
3835
|
+
*/
|
|
3836
|
+
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetAccountInfoResponse, any, {}>>;
|
|
3837
|
+
/**
|
|
3838
|
+
*
|
|
3839
|
+
* @param {*} [options] Override http request option.
|
|
3840
|
+
* @throws {RequiredError}
|
|
3841
|
+
*/
|
|
3842
|
+
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetSessionResponse, any, {}>>;
|
|
3843
|
+
/**
|
|
3844
|
+
* ============ 账号关联 ============
|
|
3845
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3846
|
+
* @param {*} [options] Override http request option.
|
|
3847
|
+
* @throws {RequiredError}
|
|
3848
|
+
*/
|
|
3849
|
+
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthLinkSocialResponse, any, {}>>;
|
|
3850
|
+
/**
|
|
3851
|
+
*
|
|
3852
|
+
* @param {*} [options] Override http request option.
|
|
3853
|
+
* @throws {RequiredError}
|
|
3854
|
+
*/
|
|
3855
|
+
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthListAccountsResponse, any, {}>>;
|
|
3856
|
+
/**
|
|
3857
|
+
* ============ 会话管理 ============
|
|
3858
|
+
* @param {*} [options] Override http request option.
|
|
3859
|
+
* @throws {RequiredError}
|
|
3860
|
+
*/
|
|
3861
|
+
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthListSessionsResponse, any, {}>>;
|
|
3862
|
+
/**
|
|
3863
|
+
*
|
|
3864
|
+
* @param {string} platform
|
|
3865
|
+
* @param {string} [code]
|
|
3866
|
+
* @param {string} [state]
|
|
3867
|
+
* @param {*} [options] Override http request option.
|
|
3868
|
+
* @throws {RequiredError}
|
|
3869
|
+
*/
|
|
3870
|
+
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthOAuth2CallbackResponse, any, {}>>;
|
|
3871
|
+
/**
|
|
3872
|
+
* ============ Token 管理 ============
|
|
3873
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3874
|
+
* @param {*} [options] Override http request option.
|
|
3875
|
+
* @throws {RequiredError}
|
|
3876
|
+
*/
|
|
3877
|
+
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRefreshTokenResponse, any, {}>>;
|
|
3878
|
+
/**
|
|
3879
|
+
*
|
|
3880
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3881
|
+
* @param {*} [options] Override http request option.
|
|
3882
|
+
* @throws {RequiredError}
|
|
3883
|
+
*/
|
|
3884
|
+
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRequestPasswordResetResponse, any, {}>>;
|
|
3885
|
+
/**
|
|
3886
|
+
*
|
|
3887
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3888
|
+
* @param {*} [options] Override http request option.
|
|
3889
|
+
* @throws {RequiredError}
|
|
3890
|
+
*/
|
|
3891
|
+
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthResetPasswordResponse, any, {}>>;
|
|
3892
|
+
/**
|
|
3893
|
+
*
|
|
3894
|
+
* @param {object} body
|
|
3895
|
+
* @param {*} [options] Override http request option.
|
|
3896
|
+
* @throws {RequiredError}
|
|
3897
|
+
*/
|
|
3898
|
+
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeOtherSessionsResponse, any, {}>>;
|
|
3899
|
+
/**
|
|
3900
|
+
*
|
|
3901
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3902
|
+
* @param {*} [options] Override http request option.
|
|
3903
|
+
* @throws {RequiredError}
|
|
3904
|
+
*/
|
|
3905
|
+
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeSessionResponse, any, {}>>;
|
|
3906
|
+
/**
|
|
3907
|
+
*
|
|
3908
|
+
* @param {object} body
|
|
3909
|
+
* @param {*} [options] Override http request option.
|
|
3910
|
+
* @throws {RequiredError}
|
|
3911
|
+
*/
|
|
3912
|
+
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeSessionsResponse, any, {}>>;
|
|
3913
|
+
/**
|
|
3914
|
+
* ============ 邮箱验证 ============
|
|
3915
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3916
|
+
* @param {*} [options] Override http request option.
|
|
3917
|
+
* @throws {RequiredError}
|
|
3918
|
+
*/
|
|
3919
|
+
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSendVerificationEmailResponse, any, {}>>;
|
|
3920
|
+
/**
|
|
3921
|
+
*
|
|
3922
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3923
|
+
* @param {*} [options] Override http request option.
|
|
3924
|
+
* @throws {RequiredError}
|
|
3925
|
+
*/
|
|
3926
|
+
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignInEmailResponse, any, {}>>;
|
|
3927
|
+
/**
|
|
3928
|
+
*
|
|
3929
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3930
|
+
* @param {*} [options] Override http request option.
|
|
3931
|
+
* @throws {RequiredError}
|
|
3932
|
+
*/
|
|
3933
|
+
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignInSocialResponse, any, {}>>;
|
|
3934
|
+
/**
|
|
3935
|
+
*
|
|
3936
|
+
* @param {object} body
|
|
3937
|
+
* @param {*} [options] Override http request option.
|
|
3938
|
+
* @throws {RequiredError}
|
|
3939
|
+
*/
|
|
3940
|
+
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignOutResponse, any, {}>>;
|
|
3941
|
+
/**
|
|
3942
|
+
* ============ 认证 ============
|
|
3943
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3944
|
+
* @param {*} [options] Override http request option.
|
|
3945
|
+
* @throws {RequiredError}
|
|
3946
|
+
*/
|
|
3947
|
+
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignUpEmailResponse, any, {}>>;
|
|
3948
|
+
/**
|
|
3949
|
+
*
|
|
3950
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3951
|
+
* @param {*} [options] Override http request option.
|
|
3952
|
+
* @throws {RequiredError}
|
|
3953
|
+
*/
|
|
3954
|
+
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUnlinkAccountResponse, any, {}>>;
|
|
3955
|
+
/**
|
|
3956
|
+
* ============ 用户管理 ============
|
|
3957
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3958
|
+
* @param {*} [options] Override http request option.
|
|
3959
|
+
* @throws {RequiredError}
|
|
3960
|
+
*/
|
|
3961
|
+
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUpdateUserResponse, any, {}>>;
|
|
3962
|
+
/**
|
|
3963
|
+
*
|
|
3964
|
+
* @param {string} [email]
|
|
3965
|
+
* @param {string} [authCode]
|
|
3966
|
+
* @param {string} [callbackUrl]
|
|
3967
|
+
* @param {*} [options] Override http request option.
|
|
3968
|
+
* @throws {RequiredError}
|
|
3969
|
+
*/
|
|
3970
|
+
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthVerifyEmailResponse, any, {}>>;
|
|
3971
|
+
}
|
|
3972
|
+
/**
|
|
3973
|
+
* DiscountAdminServiceApi - axios parameter creator
|
|
3974
|
+
*/
|
|
3975
|
+
export declare const DiscountAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3976
|
+
/**
|
|
3977
|
+
* DiscountCreate 创建折扣接口
|
|
3978
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
3979
|
+
* @param {*} [options] Override http request option.
|
|
3980
|
+
* @throws {RequiredError}
|
|
3981
|
+
*/
|
|
3982
|
+
discountAdminServiceDiscountCreate: (discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3983
|
+
/**
|
|
3984
|
+
* DiscountDelete 删除折扣接口
|
|
3985
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
3986
|
+
* @param {*} [options] Override http request option.
|
|
3987
|
+
* @throws {RequiredError}
|
|
3988
|
+
*/
|
|
3989
|
+
discountAdminServiceDiscountDelete: (discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3990
|
+
/**
|
|
3991
|
+
* DiscountGet 获取折扣接口
|
|
3992
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
3993
|
+
* @param {*} [options] Override http request option.
|
|
3994
|
+
* @throws {RequiredError}
|
|
3995
|
+
*/
|
|
3996
|
+
discountAdminServiceDiscountGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3997
|
+
/**
|
|
3998
|
+
* DiscountList 折扣列表接口
|
|
3999
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
4000
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
4001
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
4002
|
+
* @param {*} [options] Override http request option.
|
|
4003
|
+
* @throws {RequiredError}
|
|
4004
|
+
*/
|
|
4005
|
+
discountAdminServiceDiscountList: (page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4006
|
+
/**
|
|
4007
|
+
* DiscountUpdate 更新折扣接口
|
|
4008
|
+
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
4009
|
+
* @param {*} [options] Override http request option.
|
|
4010
|
+
* @throws {RequiredError}
|
|
4011
|
+
*/
|
|
4012
|
+
discountAdminServiceDiscountUpdate: (discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4013
|
+
};
|
|
4014
|
+
/**
|
|
4015
|
+
* DiscountAdminServiceApi - functional programming interface
|
|
4016
|
+
*/
|
|
4017
|
+
export declare const DiscountAdminServiceApiFp: (configuration?: Configuration) => {
|
|
4018
|
+
/**
|
|
4019
|
+
* DiscountCreate 创建折扣接口
|
|
4020
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
4021
|
+
* @param {*} [options] Override http request option.
|
|
4022
|
+
* @throws {RequiredError}
|
|
4023
|
+
*/
|
|
4024
|
+
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountCreateRequest>>;
|
|
4025
|
+
/**
|
|
4026
|
+
* DiscountDelete 删除折扣接口
|
|
4027
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
4028
|
+
* @param {*} [options] Override http request option.
|
|
4029
|
+
* @throws {RequiredError}
|
|
4030
|
+
*/
|
|
4031
|
+
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountDeleteResponse>>;
|
|
4032
|
+
/**
|
|
4033
|
+
* DiscountGet 获取折扣接口
|
|
4034
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
4035
|
+
* @param {*} [options] Override http request option.
|
|
4036
|
+
* @throws {RequiredError}
|
|
4037
|
+
*/
|
|
4038
|
+
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountGetResponse>>;
|
|
4039
|
+
/**
|
|
4040
|
+
* DiscountList 折扣列表接口
|
|
4041
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
4042
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
4043
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
4044
|
+
* @param {*} [options] Override http request option.
|
|
4045
|
+
* @throws {RequiredError}
|
|
4046
|
+
*/
|
|
4047
|
+
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountListResponse>>;
|
|
4048
|
+
/**
|
|
4049
|
+
* DiscountUpdate 更新折扣接口
|
|
4050
|
+
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
4051
|
+
* @param {*} [options] Override http request option.
|
|
4052
|
+
* @throws {RequiredError}
|
|
4053
|
+
*/
|
|
4054
|
+
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountUpdateResponse>>;
|
|
4055
|
+
};
|
|
4056
|
+
/**
|
|
4057
|
+
* DiscountAdminServiceApi - factory interface
|
|
4058
|
+
*/
|
|
4059
|
+
export declare const DiscountAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4060
|
+
/**
|
|
4061
|
+
* DiscountCreate 创建折扣接口
|
|
4062
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
4063
|
+
* @param {*} [options] Override http request option.
|
|
4064
|
+
* @throws {RequiredError}
|
|
4065
|
+
*/
|
|
4066
|
+
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
|
|
4067
|
+
/**
|
|
4068
|
+
* DiscountDelete 删除折扣接口
|
|
2423
4069
|
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
2424
4070
|
* @param {*} [options] Override http request option.
|
|
2425
4071
|
* @throws {RequiredError}
|
|
@@ -2546,11 +4192,11 @@ export declare const ProviderAdminServiceApiAxiosParamCreator: (configuration?:
|
|
|
2546
4192
|
providerAdminServiceProviderCreate: (providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2547
4193
|
/**
|
|
2548
4194
|
* ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2549
|
-
* @param {
|
|
4195
|
+
* @param {string} [id] id 要删除的 Provider 的唯一标识符 Unique identifier of the provider to delete @gotags: form:\"id\" binding:\"required\"
|
|
2550
4196
|
* @param {*} [options] Override http request option.
|
|
2551
4197
|
* @throws {RequiredError}
|
|
2552
4198
|
*/
|
|
2553
|
-
providerAdminServiceProviderDelete: (
|
|
4199
|
+
providerAdminServiceProviderDelete: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2554
4200
|
/**
|
|
2555
4201
|
* ProviderGet 根据 ID 获取单个 Provider Retrieve a single provider by ID 请求路径: GET /admin/provider/get?id={id} Request path: GET /admin/provider/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2556
4202
|
* @param {string} [id] id 要获取的 Provider 的唯一标识符 Unique identifier of the provider to retrieve @gotags: form:\"id\" binding:\"required\"
|
|
@@ -2589,11 +4235,11 @@ export declare const ProviderAdminServiceApiFp: (configuration?: Configuration)
|
|
|
2589
4235
|
providerAdminServiceProviderCreate(providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderCreateResponse>>;
|
|
2590
4236
|
/**
|
|
2591
4237
|
* ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2592
|
-
* @param {
|
|
4238
|
+
* @param {string} [id] id 要删除的 Provider 的唯一标识符 Unique identifier of the provider to delete @gotags: form:\"id\" binding:\"required\"
|
|
2593
4239
|
* @param {*} [options] Override http request option.
|
|
2594
4240
|
* @throws {RequiredError}
|
|
2595
4241
|
*/
|
|
2596
|
-
providerAdminServiceProviderDelete(
|
|
4242
|
+
providerAdminServiceProviderDelete(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderDeleteResponse>>;
|
|
2597
4243
|
/**
|
|
2598
4244
|
* ProviderGet 根据 ID 获取单个 Provider Retrieve a single provider by ID 请求路径: GET /admin/provider/get?id={id} Request path: GET /admin/provider/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2599
4245
|
* @param {string} [id] id 要获取的 Provider 的唯一标识符 Unique identifier of the provider to retrieve @gotags: form:\"id\" binding:\"required\"
|
|
@@ -2632,11 +4278,11 @@ export declare const ProviderAdminServiceApiFactory: (configuration?: Configurat
|
|
|
2632
4278
|
providerAdminServiceProviderCreate(providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProviderCreateResponse>;
|
|
2633
4279
|
/**
|
|
2634
4280
|
* ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2635
|
-
* @param {
|
|
4281
|
+
* @param {string} [id] id 要删除的 Provider 的唯一标识符 Unique identifier of the provider to delete @gotags: form:\"id\" binding:\"required\"
|
|
2636
4282
|
* @param {*} [options] Override http request option.
|
|
2637
4283
|
* @throws {RequiredError}
|
|
2638
4284
|
*/
|
|
2639
|
-
providerAdminServiceProviderDelete(
|
|
4285
|
+
providerAdminServiceProviderDelete(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProviderDeleteResponse>;
|
|
2640
4286
|
/**
|
|
2641
4287
|
* ProviderGet 根据 ID 获取单个 Provider Retrieve a single provider by ID 请求路径: GET /admin/provider/get?id={id} Request path: GET /admin/provider/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2642
4288
|
* @param {string} [id] id 要获取的 Provider 的唯一标识符 Unique identifier of the provider to retrieve @gotags: form:\"id\" binding:\"required\"
|
|
@@ -2675,11 +4321,11 @@ export interface ProviderAdminServiceApiInterface {
|
|
|
2675
4321
|
providerAdminServiceProviderCreate(providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProviderCreateResponse>;
|
|
2676
4322
|
/**
|
|
2677
4323
|
* ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2678
|
-
* @param {
|
|
4324
|
+
* @param {string} [id] id 要删除的 Provider 的唯一标识符 Unique identifier of the provider to delete @gotags: form:\"id\" binding:\"required\"
|
|
2679
4325
|
* @param {*} [options] Override http request option.
|
|
2680
4326
|
* @throws {RequiredError}
|
|
2681
4327
|
*/
|
|
2682
|
-
providerAdminServiceProviderDelete(
|
|
4328
|
+
providerAdminServiceProviderDelete(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProviderDeleteResponse>;
|
|
2683
4329
|
/**
|
|
2684
4330
|
* ProviderGet 根据 ID 获取单个 Provider Retrieve a single provider by ID 请求路径: GET /admin/provider/get?id={id} Request path: GET /admin/provider/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2685
4331
|
* @param {string} [id] id 要获取的 Provider 的唯一标识符 Unique identifier of the provider to retrieve @gotags: form:\"id\" binding:\"required\"
|
|
@@ -2718,11 +4364,11 @@ export declare class ProviderAdminServiceApi extends BaseAPI implements Provider
|
|
|
2718
4364
|
providerAdminServiceProviderCreate(providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderCreateResponse, any, {}>>;
|
|
2719
4365
|
/**
|
|
2720
4366
|
* ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2721
|
-
* @param {
|
|
4367
|
+
* @param {string} [id] id 要删除的 Provider 的唯一标识符 Unique identifier of the provider to delete @gotags: form:\"id\" binding:\"required\"
|
|
2722
4368
|
* @param {*} [options] Override http request option.
|
|
2723
4369
|
* @throws {RequiredError}
|
|
2724
4370
|
*/
|
|
2725
|
-
providerAdminServiceProviderDelete(
|
|
4371
|
+
providerAdminServiceProviderDelete(id?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderDeleteResponse, any, {}>>;
|
|
2726
4372
|
/**
|
|
2727
4373
|
* ProviderGet 根据 ID 获取单个 Provider Retrieve a single provider by ID 请求路径: GET /admin/provider/get?id={id} Request path: GET /admin/provider/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2728
4374
|
* @param {string} [id] id 要获取的 Provider 的唯一标识符 Unique identifier of the provider to retrieve @gotags: form:\"id\" binding:\"required\"
|
|
@@ -2936,37 +4582,257 @@ export declare class ProviderModelAdminServiceApi extends BaseAPI implements Pro
|
|
|
2936
4582
|
*/
|
|
2937
4583
|
providerModelAdminServiceProviderModelCreate(providerModelCreateRequest: ProviderModelCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelCreateResponse, any, {}>>;
|
|
2938
4584
|
/**
|
|
2939
|
-
* ProviderModelDelete 删除 ProviderModel(软删除) Delete a provider model (soft delete) 请求路径: POST /admin/provider-model/delete Request path: POST /admin/provider-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2940
|
-
* @param {ProviderModelDeleteRequest} providerModelDeleteRequest
|
|
4585
|
+
* ProviderModelDelete 删除 ProviderModel(软删除) Delete a provider model (soft delete) 请求路径: POST /admin/provider-model/delete Request path: POST /admin/provider-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4586
|
+
* @param {ProviderModelDeleteRequest} providerModelDeleteRequest
|
|
4587
|
+
* @param {*} [options] Override http request option.
|
|
4588
|
+
* @throws {RequiredError}
|
|
4589
|
+
*/
|
|
4590
|
+
providerModelAdminServiceProviderModelDelete(providerModelDeleteRequest: ProviderModelDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelDeleteResponse, any, {}>>;
|
|
4591
|
+
/**
|
|
4592
|
+
* ProviderModelGet 根据 ID 获取单个 ProviderModel Retrieve a single provider model by ID 请求路径: GET /admin/provider-model/get?id={id} Request path: GET /admin/provider-model/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4593
|
+
* @param {string} [id] id 要获取的 ProviderModel 的唯一标识符 Unique identifier of the provider model to retrieve @gotags: form:\"id\" binding:\"required\"
|
|
4594
|
+
* @param {*} [options] Override http request option.
|
|
4595
|
+
* @throws {RequiredError}
|
|
4596
|
+
*/
|
|
4597
|
+
providerModelAdminServiceProviderModelGet(id?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelGetResponse, any, {}>>;
|
|
4598
|
+
/**
|
|
4599
|
+
* ProviderModelList 分页查询 ProviderModel 列表,支持按 Provider、状态和名称前缀过滤 List provider models with pagination, supports filtering by provider, status and name prefix 请求路径: GET /admin/provider-model/list?page={page}&page_size={page_size}&provider_id={provider_id}&status={status}&name_prefix={prefix} Request path: GET /admin/provider-model/list?page={page}&page_size={page_size}&provider_id={provider_id}&status={status}&name_prefix={prefix} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4600
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
4601
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
4602
|
+
* @param {string} [providerId] provider_id 按 Provider ID 过滤(可选) Filter by Provider ID (optional) 0: 返回所有 Provider 的模型 > 0: 仅返回指定 Provider 的模型 0: return models from all providers > 0: return models from specific provider only @gotags: form:\"provider_id\"
|
|
4603
|
+
* @param {number} [status] status 按状态过滤(可选) Filter by status (optional) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回启用状态 3: 仅返回禁用状态 0: return all statuses 1: return draft models only 2: return active models only 3: return disabled models only @gotags: form:\"status\"
|
|
4604
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4-turbo\", \"gpt-4-vision\" 等 Example: \"gpt-4\" matches \"gpt-4-turbo\", \"gpt-4-vision\", etc. @gotags: form:\"name_prefix\"
|
|
4605
|
+
* @param {*} [options] Override http request option.
|
|
4606
|
+
* @throws {RequiredError}
|
|
4607
|
+
*/
|
|
4608
|
+
providerModelAdminServiceProviderModelList(page?: number, pageSize?: number, providerId?: string, status?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelListResponse, any, {}>>;
|
|
4609
|
+
/**
|
|
4610
|
+
* ProviderModelUpdate 更新现有的 ProviderModel Update an existing provider model 请求路径: POST /admin/provider-model/update Request path: POST /admin/provider-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4611
|
+
* @param {ProviderModelUpdateRequest} providerModelUpdateRequest
|
|
4612
|
+
* @param {*} [options] Override http request option.
|
|
4613
|
+
* @throws {RequiredError}
|
|
4614
|
+
*/
|
|
4615
|
+
providerModelAdminServiceProviderModelUpdate(providerModelUpdateRequest: ProviderModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelUpdateResponse, any, {}>>;
|
|
4616
|
+
}
|
|
4617
|
+
/**
|
|
4618
|
+
* RemoteConfigAdminServiceApi - axios parameter creator
|
|
4619
|
+
*/
|
|
4620
|
+
export declare const RemoteConfigAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4621
|
+
/**
|
|
4622
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4623
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4624
|
+
* @param {*} [options] Override http request option.
|
|
4625
|
+
* @throws {RequiredError}
|
|
4626
|
+
*/
|
|
4627
|
+
remoteConfigAdminServiceRemoteConfigItemCreate: (remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4628
|
+
/**
|
|
4629
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4630
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4631
|
+
* @param {*} [options] Override http request option.
|
|
4632
|
+
* @throws {RequiredError}
|
|
4633
|
+
*/
|
|
4634
|
+
remoteConfigAdminServiceRemoteConfigItemDelete: (remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4635
|
+
/**
|
|
4636
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4637
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4638
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4639
|
+
* @param {*} [options] Override http request option.
|
|
4640
|
+
* @throws {RequiredError}
|
|
4641
|
+
*/
|
|
4642
|
+
remoteConfigAdminServiceRemoteConfigItemGet: (key?: string, historyLimit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4643
|
+
/**
|
|
4644
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4645
|
+
* @param {number} [page]
|
|
4646
|
+
* @param {number} [pageSize]
|
|
4647
|
+
* @param {Array<string>} [keys]
|
|
4648
|
+
* @param {string} [keyword]
|
|
4649
|
+
* @param {*} [options] Override http request option.
|
|
4650
|
+
* @throws {RequiredError}
|
|
4651
|
+
*/
|
|
4652
|
+
remoteConfigAdminServiceRemoteConfigItemList: (page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4653
|
+
/**
|
|
4654
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4655
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4656
|
+
* @param {*} [options] Override http request option.
|
|
4657
|
+
* @throws {RequiredError}
|
|
4658
|
+
*/
|
|
4659
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate: (remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4660
|
+
};
|
|
4661
|
+
/**
|
|
4662
|
+
* RemoteConfigAdminServiceApi - functional programming interface
|
|
4663
|
+
*/
|
|
4664
|
+
export declare const RemoteConfigAdminServiceApiFp: (configuration?: Configuration) => {
|
|
4665
|
+
/**
|
|
4666
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4667
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4668
|
+
* @param {*} [options] Override http request option.
|
|
4669
|
+
* @throws {RequiredError}
|
|
4670
|
+
*/
|
|
4671
|
+
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemCreateResponse>>;
|
|
4672
|
+
/**
|
|
4673
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4674
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4675
|
+
* @param {*} [options] Override http request option.
|
|
4676
|
+
* @throws {RequiredError}
|
|
4677
|
+
*/
|
|
4678
|
+
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemDeleteResponse>>;
|
|
4679
|
+
/**
|
|
4680
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4681
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4682
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4683
|
+
* @param {*} [options] Override http request option.
|
|
4684
|
+
* @throws {RequiredError}
|
|
4685
|
+
*/
|
|
4686
|
+
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemGetResponse>>;
|
|
4687
|
+
/**
|
|
4688
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4689
|
+
* @param {number} [page]
|
|
4690
|
+
* @param {number} [pageSize]
|
|
4691
|
+
* @param {Array<string>} [keys]
|
|
4692
|
+
* @param {string} [keyword]
|
|
4693
|
+
* @param {*} [options] Override http request option.
|
|
4694
|
+
* @throws {RequiredError}
|
|
4695
|
+
*/
|
|
4696
|
+
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemListResponse>>;
|
|
4697
|
+
/**
|
|
4698
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4699
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4700
|
+
* @param {*} [options] Override http request option.
|
|
4701
|
+
* @throws {RequiredError}
|
|
4702
|
+
*/
|
|
4703
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemUpdateResponse>>;
|
|
4704
|
+
};
|
|
4705
|
+
/**
|
|
4706
|
+
* RemoteConfigAdminServiceApi - factory interface
|
|
4707
|
+
*/
|
|
4708
|
+
export declare const RemoteConfigAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4709
|
+
/**
|
|
4710
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4711
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4712
|
+
* @param {*} [options] Override http request option.
|
|
4713
|
+
* @throws {RequiredError}
|
|
4714
|
+
*/
|
|
4715
|
+
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemCreateResponse>;
|
|
4716
|
+
/**
|
|
4717
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4718
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4719
|
+
* @param {*} [options] Override http request option.
|
|
4720
|
+
* @throws {RequiredError}
|
|
4721
|
+
*/
|
|
4722
|
+
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemDeleteResponse>;
|
|
4723
|
+
/**
|
|
4724
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4725
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4726
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4727
|
+
* @param {*} [options] Override http request option.
|
|
4728
|
+
* @throws {RequiredError}
|
|
4729
|
+
*/
|
|
4730
|
+
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemGetResponse>;
|
|
4731
|
+
/**
|
|
4732
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4733
|
+
* @param {number} [page]
|
|
4734
|
+
* @param {number} [pageSize]
|
|
4735
|
+
* @param {Array<string>} [keys]
|
|
4736
|
+
* @param {string} [keyword]
|
|
4737
|
+
* @param {*} [options] Override http request option.
|
|
4738
|
+
* @throws {RequiredError}
|
|
4739
|
+
*/
|
|
4740
|
+
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemListResponse>;
|
|
4741
|
+
/**
|
|
4742
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4743
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4744
|
+
* @param {*} [options] Override http request option.
|
|
4745
|
+
* @throws {RequiredError}
|
|
4746
|
+
*/
|
|
4747
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemUpdateResponse>;
|
|
4748
|
+
};
|
|
4749
|
+
/**
|
|
4750
|
+
* RemoteConfigAdminServiceApi - interface
|
|
4751
|
+
*/
|
|
4752
|
+
export interface RemoteConfigAdminServiceApiInterface {
|
|
4753
|
+
/**
|
|
4754
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4755
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4756
|
+
* @param {*} [options] Override http request option.
|
|
4757
|
+
* @throws {RequiredError}
|
|
4758
|
+
*/
|
|
4759
|
+
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemCreateResponse>;
|
|
4760
|
+
/**
|
|
4761
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4762
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4763
|
+
* @param {*} [options] Override http request option.
|
|
4764
|
+
* @throws {RequiredError}
|
|
4765
|
+
*/
|
|
4766
|
+
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemDeleteResponse>;
|
|
4767
|
+
/**
|
|
4768
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4769
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4770
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4771
|
+
* @param {*} [options] Override http request option.
|
|
4772
|
+
* @throws {RequiredError}
|
|
4773
|
+
*/
|
|
4774
|
+
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemGetResponse>;
|
|
4775
|
+
/**
|
|
4776
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4777
|
+
* @param {number} [page]
|
|
4778
|
+
* @param {number} [pageSize]
|
|
4779
|
+
* @param {Array<string>} [keys]
|
|
4780
|
+
* @param {string} [keyword]
|
|
4781
|
+
* @param {*} [options] Override http request option.
|
|
4782
|
+
* @throws {RequiredError}
|
|
4783
|
+
*/
|
|
4784
|
+
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemListResponse>;
|
|
4785
|
+
/**
|
|
4786
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4787
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4788
|
+
* @param {*} [options] Override http request option.
|
|
4789
|
+
* @throws {RequiredError}
|
|
4790
|
+
*/
|
|
4791
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemUpdateResponse>;
|
|
4792
|
+
}
|
|
4793
|
+
/**
|
|
4794
|
+
* RemoteConfigAdminServiceApi - object-oriented interface
|
|
4795
|
+
*/
|
|
4796
|
+
export declare class RemoteConfigAdminServiceApi extends BaseAPI implements RemoteConfigAdminServiceApiInterface {
|
|
4797
|
+
/**
|
|
4798
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4799
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4800
|
+
* @param {*} [options] Override http request option.
|
|
4801
|
+
* @throws {RequiredError}
|
|
4802
|
+
*/
|
|
4803
|
+
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemCreateResponse, any, {}>>;
|
|
4804
|
+
/**
|
|
4805
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4806
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
2941
4807
|
* @param {*} [options] Override http request option.
|
|
2942
4808
|
* @throws {RequiredError}
|
|
2943
4809
|
*/
|
|
2944
|
-
|
|
4810
|
+
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemDeleteResponse, any, {}>>;
|
|
2945
4811
|
/**
|
|
2946
|
-
*
|
|
2947
|
-
* @param {string} [
|
|
4812
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4813
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4814
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
2948
4815
|
* @param {*} [options] Override http request option.
|
|
2949
4816
|
* @throws {RequiredError}
|
|
2950
4817
|
*/
|
|
2951
|
-
|
|
4818
|
+
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemGetResponse, any, {}>>;
|
|
2952
4819
|
/**
|
|
2953
|
-
*
|
|
2954
|
-
* @param {number} [page]
|
|
2955
|
-
* @param {number} [pageSize]
|
|
2956
|
-
* @param {string} [
|
|
2957
|
-
* @param {
|
|
2958
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"gpt-4\" 会匹配 \"gpt-4-turbo\", \"gpt-4-vision\" 等 Example: \"gpt-4\" matches \"gpt-4-turbo\", \"gpt-4-vision\", etc. @gotags: form:\"name_prefix\"
|
|
4820
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4821
|
+
* @param {number} [page]
|
|
4822
|
+
* @param {number} [pageSize]
|
|
4823
|
+
* @param {Array<string>} [keys]
|
|
4824
|
+
* @param {string} [keyword]
|
|
2959
4825
|
* @param {*} [options] Override http request option.
|
|
2960
4826
|
* @throws {RequiredError}
|
|
2961
4827
|
*/
|
|
2962
|
-
|
|
4828
|
+
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemListResponse, any, {}>>;
|
|
2963
4829
|
/**
|
|
2964
|
-
*
|
|
2965
|
-
* @param {
|
|
4830
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4831
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
2966
4832
|
* @param {*} [options] Override http request option.
|
|
2967
4833
|
* @throws {RequiredError}
|
|
2968
4834
|
*/
|
|
2969
|
-
|
|
4835
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemUpdateResponse, any, {}>>;
|
|
2970
4836
|
}
|
|
2971
4837
|
/**
|
|
2972
4838
|
* UserAPIKeyServiceApi - axios parameter creator
|
|
@@ -3193,271 +5059,6 @@ export declare class UserAPIKeyServiceApi extends BaseAPI implements UserAPIKeyS
|
|
|
3193
5059
|
*/
|
|
3194
5060
|
userAPIKeyServiceUserAPIKeyUpdate(userAPIKeyUpdateRequest: UserAPIKeyUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAPIKeyUpdateResponse, any, {}>>;
|
|
3195
5061
|
}
|
|
3196
|
-
/**
|
|
3197
|
-
* UserAuthServiceApi - axios parameter creator
|
|
3198
|
-
*/
|
|
3199
|
-
export declare const UserAuthServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3200
|
-
/**
|
|
3201
|
-
* 提交验证码流程
|
|
3202
|
-
* @param {number} [authType]
|
|
3203
|
-
* @param {number} [authAction]
|
|
3204
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3205
|
-
* @param {string} [payloadEmailPayloadAuthCode]
|
|
3206
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3207
|
-
* @param {string} [authAt]
|
|
3208
|
-
* @param {string} [nonce]
|
|
3209
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
|
|
3210
|
-
* @param {*} [options] Override http request option.
|
|
3211
|
-
* @throws {RequiredError}
|
|
3212
|
-
*/
|
|
3213
|
-
userAuthServiceUserAuthFlowCode: (authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3214
|
-
/**
|
|
3215
|
-
* 鉴权流程启动
|
|
3216
|
-
* @param {number} [authType]
|
|
3217
|
-
* @param {number} [authAction]
|
|
3218
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3219
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3220
|
-
* @param {string} [payloadEmailPayloadDisplayName]
|
|
3221
|
-
* @param {number} [payloadOauth2PayloadPlatform]
|
|
3222
|
-
* @param {string} [authAt]
|
|
3223
|
-
* @param {string} [nonce]
|
|
3224
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
3225
|
-
* @param {*} [options] Override http request option.
|
|
3226
|
-
* @throws {RequiredError}
|
|
3227
|
-
*/
|
|
3228
|
-
userAuthServiceUserAuthFlowInit: (authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3229
|
-
/**
|
|
3230
|
-
* OAUTH 流程验证回调
|
|
3231
|
-
* @param {string} [code]
|
|
3232
|
-
* @param {string} [state]
|
|
3233
|
-
* @param {number} [platform]
|
|
3234
|
-
* @param {*} [options] Override http request option.
|
|
3235
|
-
* @throws {RequiredError}
|
|
3236
|
-
*/
|
|
3237
|
-
userAuthServiceUserAuthFlowOAuthCallback: (code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3238
|
-
/**
|
|
3239
|
-
* Auth Token 刷新接口
|
|
3240
|
-
* @param {string} [refreshToken]
|
|
3241
|
-
* @param {string} [authAt]
|
|
3242
|
-
* @param {string} [nonce]
|
|
3243
|
-
* @param {string} [signature]
|
|
3244
|
-
* @param {*} [options] Override http request option.
|
|
3245
|
-
* @throws {RequiredError}
|
|
3246
|
-
*/
|
|
3247
|
-
userAuthServiceUserAuthFlowTokenRefresh: (refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3248
|
-
};
|
|
3249
|
-
/**
|
|
3250
|
-
* UserAuthServiceApi - functional programming interface
|
|
3251
|
-
*/
|
|
3252
|
-
export declare const UserAuthServiceApiFp: (configuration?: Configuration) => {
|
|
3253
|
-
/**
|
|
3254
|
-
* 提交验证码流程
|
|
3255
|
-
* @param {number} [authType]
|
|
3256
|
-
* @param {number} [authAction]
|
|
3257
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3258
|
-
* @param {string} [payloadEmailPayloadAuthCode]
|
|
3259
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3260
|
-
* @param {string} [authAt]
|
|
3261
|
-
* @param {string} [nonce]
|
|
3262
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
|
|
3263
|
-
* @param {*} [options] Override http request option.
|
|
3264
|
-
* @throws {RequiredError}
|
|
3265
|
-
*/
|
|
3266
|
-
userAuthServiceUserAuthFlowCode(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthFlowCodeResponse>>;
|
|
3267
|
-
/**
|
|
3268
|
-
* 鉴权流程启动
|
|
3269
|
-
* @param {number} [authType]
|
|
3270
|
-
* @param {number} [authAction]
|
|
3271
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3272
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3273
|
-
* @param {string} [payloadEmailPayloadDisplayName]
|
|
3274
|
-
* @param {number} [payloadOauth2PayloadPlatform]
|
|
3275
|
-
* @param {string} [authAt]
|
|
3276
|
-
* @param {string} [nonce]
|
|
3277
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
3278
|
-
* @param {*} [options] Override http request option.
|
|
3279
|
-
* @throws {RequiredError}
|
|
3280
|
-
*/
|
|
3281
|
-
userAuthServiceUserAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthFlowInitResponse>>;
|
|
3282
|
-
/**
|
|
3283
|
-
* OAUTH 流程验证回调
|
|
3284
|
-
* @param {string} [code]
|
|
3285
|
-
* @param {string} [state]
|
|
3286
|
-
* @param {number} [platform]
|
|
3287
|
-
* @param {*} [options] Override http request option.
|
|
3288
|
-
* @throws {RequiredError}
|
|
3289
|
-
*/
|
|
3290
|
-
userAuthServiceUserAuthFlowOAuthCallback(code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthFlowOAuthCallbackResponse>>;
|
|
3291
|
-
/**
|
|
3292
|
-
* Auth Token 刷新接口
|
|
3293
|
-
* @param {string} [refreshToken]
|
|
3294
|
-
* @param {string} [authAt]
|
|
3295
|
-
* @param {string} [nonce]
|
|
3296
|
-
* @param {string} [signature]
|
|
3297
|
-
* @param {*} [options] Override http request option.
|
|
3298
|
-
* @throws {RequiredError}
|
|
3299
|
-
*/
|
|
3300
|
-
userAuthServiceUserAuthFlowTokenRefresh(refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthFlowOAuthCallbackRequest>>;
|
|
3301
|
-
};
|
|
3302
|
-
/**
|
|
3303
|
-
* UserAuthServiceApi - factory interface
|
|
3304
|
-
*/
|
|
3305
|
-
export declare const UserAuthServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3306
|
-
/**
|
|
3307
|
-
* 提交验证码流程
|
|
3308
|
-
* @param {number} [authType]
|
|
3309
|
-
* @param {number} [authAction]
|
|
3310
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3311
|
-
* @param {string} [payloadEmailPayloadAuthCode]
|
|
3312
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3313
|
-
* @param {string} [authAt]
|
|
3314
|
-
* @param {string} [nonce]
|
|
3315
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
|
|
3316
|
-
* @param {*} [options] Override http request option.
|
|
3317
|
-
* @throws {RequiredError}
|
|
3318
|
-
*/
|
|
3319
|
-
userAuthServiceUserAuthFlowCode(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowCodeResponse>;
|
|
3320
|
-
/**
|
|
3321
|
-
* 鉴权流程启动
|
|
3322
|
-
* @param {number} [authType]
|
|
3323
|
-
* @param {number} [authAction]
|
|
3324
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3325
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3326
|
-
* @param {string} [payloadEmailPayloadDisplayName]
|
|
3327
|
-
* @param {number} [payloadOauth2PayloadPlatform]
|
|
3328
|
-
* @param {string} [authAt]
|
|
3329
|
-
* @param {string} [nonce]
|
|
3330
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
3331
|
-
* @param {*} [options] Override http request option.
|
|
3332
|
-
* @throws {RequiredError}
|
|
3333
|
-
*/
|
|
3334
|
-
userAuthServiceUserAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowInitResponse>;
|
|
3335
|
-
/**
|
|
3336
|
-
* OAUTH 流程验证回调
|
|
3337
|
-
* @param {string} [code]
|
|
3338
|
-
* @param {string} [state]
|
|
3339
|
-
* @param {number} [platform]
|
|
3340
|
-
* @param {*} [options] Override http request option.
|
|
3341
|
-
* @throws {RequiredError}
|
|
3342
|
-
*/
|
|
3343
|
-
userAuthServiceUserAuthFlowOAuthCallback(code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowOAuthCallbackResponse>;
|
|
3344
|
-
/**
|
|
3345
|
-
* Auth Token 刷新接口
|
|
3346
|
-
* @param {string} [refreshToken]
|
|
3347
|
-
* @param {string} [authAt]
|
|
3348
|
-
* @param {string} [nonce]
|
|
3349
|
-
* @param {string} [signature]
|
|
3350
|
-
* @param {*} [options] Override http request option.
|
|
3351
|
-
* @throws {RequiredError}
|
|
3352
|
-
*/
|
|
3353
|
-
userAuthServiceUserAuthFlowTokenRefresh(refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowOAuthCallbackRequest>;
|
|
3354
|
-
};
|
|
3355
|
-
/**
|
|
3356
|
-
* UserAuthServiceApi - interface
|
|
3357
|
-
*/
|
|
3358
|
-
export interface UserAuthServiceApiInterface {
|
|
3359
|
-
/**
|
|
3360
|
-
* 提交验证码流程
|
|
3361
|
-
* @param {number} [authType]
|
|
3362
|
-
* @param {number} [authAction]
|
|
3363
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3364
|
-
* @param {string} [payloadEmailPayloadAuthCode]
|
|
3365
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3366
|
-
* @param {string} [authAt]
|
|
3367
|
-
* @param {string} [nonce]
|
|
3368
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
|
|
3369
|
-
* @param {*} [options] Override http request option.
|
|
3370
|
-
* @throws {RequiredError}
|
|
3371
|
-
*/
|
|
3372
|
-
userAuthServiceUserAuthFlowCode(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowCodeResponse>;
|
|
3373
|
-
/**
|
|
3374
|
-
* 鉴权流程启动
|
|
3375
|
-
* @param {number} [authType]
|
|
3376
|
-
* @param {number} [authAction]
|
|
3377
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3378
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3379
|
-
* @param {string} [payloadEmailPayloadDisplayName]
|
|
3380
|
-
* @param {number} [payloadOauth2PayloadPlatform]
|
|
3381
|
-
* @param {string} [authAt]
|
|
3382
|
-
* @param {string} [nonce]
|
|
3383
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
3384
|
-
* @param {*} [options] Override http request option.
|
|
3385
|
-
* @throws {RequiredError}
|
|
3386
|
-
*/
|
|
3387
|
-
userAuthServiceUserAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowInitResponse>;
|
|
3388
|
-
/**
|
|
3389
|
-
* OAUTH 流程验证回调
|
|
3390
|
-
* @param {string} [code]
|
|
3391
|
-
* @param {string} [state]
|
|
3392
|
-
* @param {number} [platform]
|
|
3393
|
-
* @param {*} [options] Override http request option.
|
|
3394
|
-
* @throws {RequiredError}
|
|
3395
|
-
*/
|
|
3396
|
-
userAuthServiceUserAuthFlowOAuthCallback(code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowOAuthCallbackResponse>;
|
|
3397
|
-
/**
|
|
3398
|
-
* Auth Token 刷新接口
|
|
3399
|
-
* @param {string} [refreshToken]
|
|
3400
|
-
* @param {string} [authAt]
|
|
3401
|
-
* @param {string} [nonce]
|
|
3402
|
-
* @param {string} [signature]
|
|
3403
|
-
* @param {*} [options] Override http request option.
|
|
3404
|
-
* @throws {RequiredError}
|
|
3405
|
-
*/
|
|
3406
|
-
userAuthServiceUserAuthFlowTokenRefresh(refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserAuthFlowOAuthCallbackRequest>;
|
|
3407
|
-
}
|
|
3408
|
-
/**
|
|
3409
|
-
* UserAuthServiceApi - object-oriented interface
|
|
3410
|
-
*/
|
|
3411
|
-
export declare class UserAuthServiceApi extends BaseAPI implements UserAuthServiceApiInterface {
|
|
3412
|
-
/**
|
|
3413
|
-
* 提交验证码流程
|
|
3414
|
-
* @param {number} [authType]
|
|
3415
|
-
* @param {number} [authAction]
|
|
3416
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3417
|
-
* @param {string} [payloadEmailPayloadAuthCode]
|
|
3418
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3419
|
-
* @param {string} [authAt]
|
|
3420
|
-
* @param {string} [nonce]
|
|
3421
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt )
|
|
3422
|
-
* @param {*} [options] Override http request option.
|
|
3423
|
-
* @throws {RequiredError}
|
|
3424
|
-
*/
|
|
3425
|
-
userAuthServiceUserAuthFlowCode(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadAuthCode?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAuthFlowCodeResponse, any, {}>>;
|
|
3426
|
-
/**
|
|
3427
|
-
* 鉴权流程启动
|
|
3428
|
-
* @param {number} [authType]
|
|
3429
|
-
* @param {number} [authAction]
|
|
3430
|
-
* @param {string} [payloadEmailPayloadUserEmail]
|
|
3431
|
-
* @param {string} [payloadEmailPayloadUserPasswordEncrypt]
|
|
3432
|
-
* @param {string} [payloadEmailPayloadDisplayName]
|
|
3433
|
-
* @param {number} [payloadOauth2PayloadPlatform]
|
|
3434
|
-
* @param {string} [authAt]
|
|
3435
|
-
* @param {string} [nonce]
|
|
3436
|
-
* @param {string} [signature] 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform )
|
|
3437
|
-
* @param {*} [options] Override http request option.
|
|
3438
|
-
* @throws {RequiredError}
|
|
3439
|
-
*/
|
|
3440
|
-
userAuthServiceUserAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, payloadEmailPayloadDisplayName?: string, payloadOauth2PayloadPlatform?: number, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAuthFlowInitResponse, any, {}>>;
|
|
3441
|
-
/**
|
|
3442
|
-
* OAUTH 流程验证回调
|
|
3443
|
-
* @param {string} [code]
|
|
3444
|
-
* @param {string} [state]
|
|
3445
|
-
* @param {number} [platform]
|
|
3446
|
-
* @param {*} [options] Override http request option.
|
|
3447
|
-
* @throws {RequiredError}
|
|
3448
|
-
*/
|
|
3449
|
-
userAuthServiceUserAuthFlowOAuthCallback(code?: string, state?: string, platform?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAuthFlowOAuthCallbackResponse, any, {}>>;
|
|
3450
|
-
/**
|
|
3451
|
-
* Auth Token 刷新接口
|
|
3452
|
-
* @param {string} [refreshToken]
|
|
3453
|
-
* @param {string} [authAt]
|
|
3454
|
-
* @param {string} [nonce]
|
|
3455
|
-
* @param {string} [signature]
|
|
3456
|
-
* @param {*} [options] Override http request option.
|
|
3457
|
-
* @throws {RequiredError}
|
|
3458
|
-
*/
|
|
3459
|
-
userAuthServiceUserAuthFlowTokenRefresh(refreshToken?: string, authAt?: string, nonce?: string, signature?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAuthFlowOAuthCallbackRequest, any, {}>>;
|
|
3460
|
-
}
|
|
3461
5062
|
/**
|
|
3462
5063
|
* UserBalanceServiceApi - axios parameter creator
|
|
3463
5064
|
*/
|
|
@@ -3973,6 +5574,241 @@ export declare class UserLabelServiceApi extends BaseAPI implements UserLabelSer
|
|
|
3973
5574
|
*/
|
|
3974
5575
|
userLabelServiceUserLabelPairChange(userLabelPairChangeRequest: UserLabelPairChangeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserLabelPairChangeResponse, any, {}>>;
|
|
3975
5576
|
}
|
|
5577
|
+
/**
|
|
5578
|
+
* UserManageAdminServiceApi - axios parameter creator
|
|
5579
|
+
*/
|
|
5580
|
+
export declare const UserManageAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5581
|
+
/**
|
|
5582
|
+
* 批量管理 Session
|
|
5583
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5584
|
+
* @param {*} [options] Override http request option.
|
|
5585
|
+
* @throws {RequiredError}
|
|
5586
|
+
*/
|
|
5587
|
+
userManageAdminServiceBatchUpdateSessions: (batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5588
|
+
/**
|
|
5589
|
+
* 用户详情
|
|
5590
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5591
|
+
* @param {*} [options] Override http request option.
|
|
5592
|
+
* @throws {RequiredError}
|
|
5593
|
+
*/
|
|
5594
|
+
userManageAdminServiceGetUserDetail: (uid?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5595
|
+
/**
|
|
5596
|
+
* 用户列表(分页查询)
|
|
5597
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5598
|
+
* @param {*} [options] Override http request option.
|
|
5599
|
+
* @throws {RequiredError}
|
|
5600
|
+
*/
|
|
5601
|
+
userManageAdminServiceListUsers: (listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5602
|
+
/**
|
|
5603
|
+
* 设置用户角色
|
|
5604
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5605
|
+
* @param {*} [options] Override http request option.
|
|
5606
|
+
* @throws {RequiredError}
|
|
5607
|
+
*/
|
|
5608
|
+
userManageAdminServiceSetUserRole: (setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5609
|
+
/**
|
|
5610
|
+
* 设置用户状态(启用/禁用)
|
|
5611
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5612
|
+
* @param {*} [options] Override http request option.
|
|
5613
|
+
* @throws {RequiredError}
|
|
5614
|
+
*/
|
|
5615
|
+
userManageAdminServiceSetUserStatus: (setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5616
|
+
/**
|
|
5617
|
+
* 更新用户信息
|
|
5618
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5619
|
+
* @param {*} [options] Override http request option.
|
|
5620
|
+
* @throws {RequiredError}
|
|
5621
|
+
*/
|
|
5622
|
+
userManageAdminServiceUpdateUserInfo: (updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5623
|
+
};
|
|
5624
|
+
/**
|
|
5625
|
+
* UserManageAdminServiceApi - functional programming interface
|
|
5626
|
+
*/
|
|
5627
|
+
export declare const UserManageAdminServiceApiFp: (configuration?: Configuration) => {
|
|
5628
|
+
/**
|
|
5629
|
+
* 批量管理 Session
|
|
5630
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5631
|
+
* @param {*} [options] Override http request option.
|
|
5632
|
+
* @throws {RequiredError}
|
|
5633
|
+
*/
|
|
5634
|
+
userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpdateSessionsResponse>>;
|
|
5635
|
+
/**
|
|
5636
|
+
* 用户详情
|
|
5637
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5638
|
+
* @param {*} [options] Override http request option.
|
|
5639
|
+
* @throws {RequiredError}
|
|
5640
|
+
*/
|
|
5641
|
+
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserDetailResponse>>;
|
|
5642
|
+
/**
|
|
5643
|
+
* 用户列表(分页查询)
|
|
5644
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5645
|
+
* @param {*} [options] Override http request option.
|
|
5646
|
+
* @throws {RequiredError}
|
|
5647
|
+
*/
|
|
5648
|
+
userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponse>>;
|
|
5649
|
+
/**
|
|
5650
|
+
* 设置用户角色
|
|
5651
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5652
|
+
* @param {*} [options] Override http request option.
|
|
5653
|
+
* @throws {RequiredError}
|
|
5654
|
+
*/
|
|
5655
|
+
userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetUserRoleResponse>>;
|
|
5656
|
+
/**
|
|
5657
|
+
* 设置用户状态(启用/禁用)
|
|
5658
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5659
|
+
* @param {*} [options] Override http request option.
|
|
5660
|
+
* @throws {RequiredError}
|
|
5661
|
+
*/
|
|
5662
|
+
userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetUserStatusResponse>>;
|
|
5663
|
+
/**
|
|
5664
|
+
* 更新用户信息
|
|
5665
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5666
|
+
* @param {*} [options] Override http request option.
|
|
5667
|
+
* @throws {RequiredError}
|
|
5668
|
+
*/
|
|
5669
|
+
userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserInfoResponse>>;
|
|
5670
|
+
};
|
|
5671
|
+
/**
|
|
5672
|
+
* UserManageAdminServiceApi - factory interface
|
|
5673
|
+
*/
|
|
5674
|
+
export declare const UserManageAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5675
|
+
/**
|
|
5676
|
+
* 批量管理 Session
|
|
5677
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5678
|
+
* @param {*} [options] Override http request option.
|
|
5679
|
+
* @throws {RequiredError}
|
|
5680
|
+
*/
|
|
5681
|
+
userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchUpdateSessionsResponse>;
|
|
5682
|
+
/**
|
|
5683
|
+
* 用户详情
|
|
5684
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5685
|
+
* @param {*} [options] Override http request option.
|
|
5686
|
+
* @throws {RequiredError}
|
|
5687
|
+
*/
|
|
5688
|
+
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserDetailResponse>;
|
|
5689
|
+
/**
|
|
5690
|
+
* 用户列表(分页查询)
|
|
5691
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5692
|
+
* @param {*} [options] Override http request option.
|
|
5693
|
+
* @throws {RequiredError}
|
|
5694
|
+
*/
|
|
5695
|
+
userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsersResponse>;
|
|
5696
|
+
/**
|
|
5697
|
+
* 设置用户角色
|
|
5698
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5699
|
+
* @param {*} [options] Override http request option.
|
|
5700
|
+
* @throws {RequiredError}
|
|
5701
|
+
*/
|
|
5702
|
+
userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserRoleResponse>;
|
|
5703
|
+
/**
|
|
5704
|
+
* 设置用户状态(启用/禁用)
|
|
5705
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5706
|
+
* @param {*} [options] Override http request option.
|
|
5707
|
+
* @throws {RequiredError}
|
|
5708
|
+
*/
|
|
5709
|
+
userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserStatusResponse>;
|
|
5710
|
+
/**
|
|
5711
|
+
* 更新用户信息
|
|
5712
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5713
|
+
* @param {*} [options] Override http request option.
|
|
5714
|
+
* @throws {RequiredError}
|
|
5715
|
+
*/
|
|
5716
|
+
userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserInfoResponse>;
|
|
5717
|
+
};
|
|
5718
|
+
/**
|
|
5719
|
+
* UserManageAdminServiceApi - interface
|
|
5720
|
+
*/
|
|
5721
|
+
export interface UserManageAdminServiceApiInterface {
|
|
5722
|
+
/**
|
|
5723
|
+
* 批量管理 Session
|
|
5724
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5725
|
+
* @param {*} [options] Override http request option.
|
|
5726
|
+
* @throws {RequiredError}
|
|
5727
|
+
*/
|
|
5728
|
+
userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchUpdateSessionsResponse>;
|
|
5729
|
+
/**
|
|
5730
|
+
* 用户详情
|
|
5731
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5732
|
+
* @param {*} [options] Override http request option.
|
|
5733
|
+
* @throws {RequiredError}
|
|
5734
|
+
*/
|
|
5735
|
+
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserDetailResponse>;
|
|
5736
|
+
/**
|
|
5737
|
+
* 用户列表(分页查询)
|
|
5738
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5739
|
+
* @param {*} [options] Override http request option.
|
|
5740
|
+
* @throws {RequiredError}
|
|
5741
|
+
*/
|
|
5742
|
+
userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsersResponse>;
|
|
5743
|
+
/**
|
|
5744
|
+
* 设置用户角色
|
|
5745
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5746
|
+
* @param {*} [options] Override http request option.
|
|
5747
|
+
* @throws {RequiredError}
|
|
5748
|
+
*/
|
|
5749
|
+
userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserRoleResponse>;
|
|
5750
|
+
/**
|
|
5751
|
+
* 设置用户状态(启用/禁用)
|
|
5752
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5753
|
+
* @param {*} [options] Override http request option.
|
|
5754
|
+
* @throws {RequiredError}
|
|
5755
|
+
*/
|
|
5756
|
+
userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserStatusResponse>;
|
|
5757
|
+
/**
|
|
5758
|
+
* 更新用户信息
|
|
5759
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5760
|
+
* @param {*} [options] Override http request option.
|
|
5761
|
+
* @throws {RequiredError}
|
|
5762
|
+
*/
|
|
5763
|
+
userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserInfoResponse>;
|
|
5764
|
+
}
|
|
5765
|
+
/**
|
|
5766
|
+
* UserManageAdminServiceApi - object-oriented interface
|
|
5767
|
+
*/
|
|
5768
|
+
export declare class UserManageAdminServiceApi extends BaseAPI implements UserManageAdminServiceApiInterface {
|
|
5769
|
+
/**
|
|
5770
|
+
* 批量管理 Session
|
|
5771
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5772
|
+
* @param {*} [options] Override http request option.
|
|
5773
|
+
* @throws {RequiredError}
|
|
5774
|
+
*/
|
|
5775
|
+
userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchUpdateSessionsResponse, any, {}>>;
|
|
5776
|
+
/**
|
|
5777
|
+
* 用户详情
|
|
5778
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5779
|
+
* @param {*} [options] Override http request option.
|
|
5780
|
+
* @throws {RequiredError}
|
|
5781
|
+
*/
|
|
5782
|
+
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserDetailResponse, any, {}>>;
|
|
5783
|
+
/**
|
|
5784
|
+
* 用户列表(分页查询)
|
|
5785
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5786
|
+
* @param {*} [options] Override http request option.
|
|
5787
|
+
* @throws {RequiredError}
|
|
5788
|
+
*/
|
|
5789
|
+
userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsersResponse, any, {}>>;
|
|
5790
|
+
/**
|
|
5791
|
+
* 设置用户角色
|
|
5792
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5793
|
+
* @param {*} [options] Override http request option.
|
|
5794
|
+
* @throws {RequiredError}
|
|
5795
|
+
*/
|
|
5796
|
+
userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetUserRoleResponse, any, {}>>;
|
|
5797
|
+
/**
|
|
5798
|
+
* 设置用户状态(启用/禁用)
|
|
5799
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5800
|
+
* @param {*} [options] Override http request option.
|
|
5801
|
+
* @throws {RequiredError}
|
|
5802
|
+
*/
|
|
5803
|
+
userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetUserStatusResponse, any, {}>>;
|
|
5804
|
+
/**
|
|
5805
|
+
* 更新用户信息
|
|
5806
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5807
|
+
* @param {*} [options] Override http request option.
|
|
5808
|
+
* @throws {RequiredError}
|
|
5809
|
+
*/
|
|
5810
|
+
userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserInfoResponse, any, {}>>;
|
|
5811
|
+
}
|
|
3976
5812
|
/**
|
|
3977
5813
|
* UserModelServiceApi - axios parameter creator
|
|
3978
5814
|
*/
|
|
@@ -4060,11 +5896,14 @@ export declare const UserPayServiceApiAxiosParamCreator: (configuration?: Config
|
|
|
4060
5896
|
/**
|
|
4061
5897
|
*
|
|
4062
5898
|
* @param {string} [currencyCode]
|
|
4063
|
-
* @param {
|
|
5899
|
+
* @param {string} [chargeAmount]
|
|
5900
|
+
* @param {boolean} [redirect]
|
|
5901
|
+
* @param {string} [successUrl]
|
|
5902
|
+
* @param {string} [cancelUrl]
|
|
4064
5903
|
* @param {*} [options] Override http request option.
|
|
4065
5904
|
* @throws {RequiredError}
|
|
4066
5905
|
*/
|
|
4067
|
-
userPayServiceUserPayStripeCheckout: (currencyCode?: string, chargeAmount?:
|
|
5906
|
+
userPayServiceUserPayStripeCheckout: (currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4068
5907
|
};
|
|
4069
5908
|
/**
|
|
4070
5909
|
* UserPayServiceApi - functional programming interface
|
|
@@ -4073,11 +5912,14 @@ export declare const UserPayServiceApiFp: (configuration?: Configuration) => {
|
|
|
4073
5912
|
/**
|
|
4074
5913
|
*
|
|
4075
5914
|
* @param {string} [currencyCode]
|
|
4076
|
-
* @param {
|
|
5915
|
+
* @param {string} [chargeAmount]
|
|
5916
|
+
* @param {boolean} [redirect]
|
|
5917
|
+
* @param {string} [successUrl]
|
|
5918
|
+
* @param {string} [cancelUrl]
|
|
4077
5919
|
* @param {*} [options] Override http request option.
|
|
4078
5920
|
* @throws {RequiredError}
|
|
4079
5921
|
*/
|
|
4080
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
5922
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPayStripeCheckoutResponse>>;
|
|
4081
5923
|
};
|
|
4082
5924
|
/**
|
|
4083
5925
|
* UserPayServiceApi - factory interface
|
|
@@ -4086,11 +5928,14 @@ export declare const UserPayServiceApiFactory: (configuration?: Configuration, b
|
|
|
4086
5928
|
/**
|
|
4087
5929
|
*
|
|
4088
5930
|
* @param {string} [currencyCode]
|
|
4089
|
-
* @param {
|
|
5931
|
+
* @param {string} [chargeAmount]
|
|
5932
|
+
* @param {boolean} [redirect]
|
|
5933
|
+
* @param {string} [successUrl]
|
|
5934
|
+
* @param {string} [cancelUrl]
|
|
4090
5935
|
* @param {*} [options] Override http request option.
|
|
4091
5936
|
* @throws {RequiredError}
|
|
4092
5937
|
*/
|
|
4093
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
5938
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
|
|
4094
5939
|
};
|
|
4095
5940
|
/**
|
|
4096
5941
|
* UserPayServiceApi - interface
|
|
@@ -4099,11 +5944,14 @@ export interface UserPayServiceApiInterface {
|
|
|
4099
5944
|
/**
|
|
4100
5945
|
*
|
|
4101
5946
|
* @param {string} [currencyCode]
|
|
4102
|
-
* @param {
|
|
5947
|
+
* @param {string} [chargeAmount]
|
|
5948
|
+
* @param {boolean} [redirect]
|
|
5949
|
+
* @param {string} [successUrl]
|
|
5950
|
+
* @param {string} [cancelUrl]
|
|
4103
5951
|
* @param {*} [options] Override http request option.
|
|
4104
5952
|
* @throws {RequiredError}
|
|
4105
5953
|
*/
|
|
4106
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
5954
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
|
|
4107
5955
|
}
|
|
4108
5956
|
/**
|
|
4109
5957
|
* UserPayServiceApi - object-oriented interface
|
|
@@ -4112,11 +5960,14 @@ export declare class UserPayServiceApi extends BaseAPI implements UserPayService
|
|
|
4112
5960
|
/**
|
|
4113
5961
|
*
|
|
4114
5962
|
* @param {string} [currencyCode]
|
|
4115
|
-
* @param {
|
|
5963
|
+
* @param {string} [chargeAmount]
|
|
5964
|
+
* @param {boolean} [redirect]
|
|
5965
|
+
* @param {string} [successUrl]
|
|
5966
|
+
* @param {string} [cancelUrl]
|
|
4116
5967
|
* @param {*} [options] Override http request option.
|
|
4117
5968
|
* @throws {RequiredError}
|
|
4118
5969
|
*/
|
|
4119
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
5970
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPayStripeCheckoutResponse, any, {}>>;
|
|
4120
5971
|
}
|
|
4121
5972
|
/**
|
|
4122
5973
|
* UserPoralServiceApi - axios parameter creator
|