@cherryin/api-client 0.0.4 → 0.0.5
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 -11
- package/README.md +137 -17
- package/api.ts +5413 -2065
- package/dist/api.d.ts +2415 -555
- package/dist/api.js +4193 -1809
- package/dist/esm/api.d.ts +2415 -555
- package/dist/esm/api.js +4046 -1671
- 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 +1 -1
- 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/UserAuthFlowCodeResponse.md +0 -26
- package/docs/UserAuthFlowInitResponse.md +0 -28
- package/docs/UserAuthServiceApi.md +0 -279
package/dist/esm/api.d.ts
CHANGED
|
@@ -87,6 +87,60 @@ export interface AIModelArchitecture {
|
|
|
87
87
|
*/
|
|
88
88
|
'output_modalities'?: Array<string>;
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* AIModelCheckResult AI 模型连接检查结果
|
|
92
|
+
*/
|
|
93
|
+
export interface AIModelCheckConnectionResponse {
|
|
94
|
+
/**
|
|
95
|
+
* code 响应状态码,200 表示成功
|
|
96
|
+
*/
|
|
97
|
+
'code'?: string;
|
|
98
|
+
'message'?: string;
|
|
99
|
+
'results'?: Array<AIModelCheckResult>;
|
|
100
|
+
}
|
|
101
|
+
export interface AIModelCheckItem {
|
|
102
|
+
/**
|
|
103
|
+
* AI 模型名称
|
|
104
|
+
*/
|
|
105
|
+
'ai_model_name'?: string;
|
|
106
|
+
/**
|
|
107
|
+
* 供应商名称
|
|
108
|
+
*/
|
|
109
|
+
'provider_name'?: string;
|
|
110
|
+
/**
|
|
111
|
+
* 供应商模型名称
|
|
112
|
+
*/
|
|
113
|
+
'provider_model_name'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* AI 模型端点
|
|
116
|
+
*/
|
|
117
|
+
'ai_model_endpoint'?: string;
|
|
118
|
+
/**
|
|
119
|
+
* 供应商模型端点
|
|
120
|
+
*/
|
|
121
|
+
'provider_model_endpoint'?: string;
|
|
122
|
+
/**
|
|
123
|
+
* 是否有效
|
|
124
|
+
*/
|
|
125
|
+
'is_valid'?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* 错误信息
|
|
128
|
+
*/
|
|
129
|
+
'error'?: string;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* AIModelCheckResult AI 模型验证结果
|
|
133
|
+
*/
|
|
134
|
+
export interface AIModelCheckResult {
|
|
135
|
+
/**
|
|
136
|
+
* AI 模型名称
|
|
137
|
+
*/
|
|
138
|
+
'ai_model_name'?: string;
|
|
139
|
+
/**
|
|
140
|
+
* 供应商名称
|
|
141
|
+
*/
|
|
142
|
+
'items'?: Array<AIModelCheckItem>;
|
|
143
|
+
}
|
|
90
144
|
/**
|
|
91
145
|
* AIModelCreateRequest 创建 AIModel 的请求(草稿状态) Request message for creating a new AI model (draft status)
|
|
92
146
|
*/
|
|
@@ -129,12 +183,9 @@ export interface AIModelCreateRequest {
|
|
|
129
183
|
*/
|
|
130
184
|
export interface AIModelCreateResponse {
|
|
131
185
|
/**
|
|
132
|
-
* code 响应状态码,
|
|
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,12 +1398,9 @@ 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
|
|
@@ -992,12 +1421,9 @@ export interface ProviderDeleteRequest {
|
|
|
992
1421
|
*/
|
|
993
1422
|
export interface ProviderDeleteResponse {
|
|
994
1423
|
/**
|
|
995
|
-
* code 响应状态码,
|
|
1424
|
+
* code 响应状态码,200 表示成功
|
|
996
1425
|
*/
|
|
997
1426
|
'code'?: string;
|
|
998
|
-
/**
|
|
999
|
-
* message 响应消息 Response message
|
|
1000
|
-
*/
|
|
1001
1427
|
'message'?: string;
|
|
1002
1428
|
}
|
|
1003
1429
|
/**
|
|
@@ -1005,12 +1431,9 @@ export interface ProviderDeleteResponse {
|
|
|
1005
1431
|
*/
|
|
1006
1432
|
export interface ProviderGetResponse {
|
|
1007
1433
|
/**
|
|
1008
|
-
* code 响应状态码,
|
|
1434
|
+
* code 响应状态码,200 表示成功
|
|
1009
1435
|
*/
|
|
1010
1436
|
'code'?: string;
|
|
1011
|
-
/**
|
|
1012
|
-
* message 响应消息 Response message
|
|
1013
|
-
*/
|
|
1014
1437
|
'message'?: string;
|
|
1015
1438
|
/**
|
|
1016
1439
|
* data Provider 信息 Provider information
|
|
@@ -1022,12 +1445,9 @@ export interface ProviderGetResponse {
|
|
|
1022
1445
|
*/
|
|
1023
1446
|
export interface ProviderListResponse {
|
|
1024
1447
|
/**
|
|
1025
|
-
* code 响应状态码,
|
|
1448
|
+
* code 响应状态码,200 表示成功
|
|
1026
1449
|
*/
|
|
1027
1450
|
'code'?: string;
|
|
1028
|
-
/**
|
|
1029
|
-
* message 响应消息 Response message
|
|
1030
|
-
*/
|
|
1031
1451
|
'message'?: string;
|
|
1032
1452
|
/**
|
|
1033
1453
|
* list Provider 列表 List of providers
|
|
@@ -1109,12 +1529,9 @@ export interface ProviderModelCreateRequest {
|
|
|
1109
1529
|
*/
|
|
1110
1530
|
export interface ProviderModelCreateResponse {
|
|
1111
1531
|
/**
|
|
1112
|
-
* code 响应状态码,
|
|
1532
|
+
* code 响应状态码,200 表示成功
|
|
1113
1533
|
*/
|
|
1114
1534
|
'code'?: string;
|
|
1115
|
-
/**
|
|
1116
|
-
* message 响应消息 Response message
|
|
1117
|
-
*/
|
|
1118
1535
|
'message'?: string;
|
|
1119
1536
|
/**
|
|
1120
1537
|
* data 创建成功后返回的 ProviderModel 信息 ProviderModel information returned after successful creation
|
|
@@ -1135,12 +1552,9 @@ export interface ProviderModelDeleteRequest {
|
|
|
1135
1552
|
*/
|
|
1136
1553
|
export interface ProviderModelDeleteResponse {
|
|
1137
1554
|
/**
|
|
1138
|
-
* code 响应状态码,
|
|
1555
|
+
* code 响应状态码,200 表示成功
|
|
1139
1556
|
*/
|
|
1140
1557
|
'code'?: string;
|
|
1141
|
-
/**
|
|
1142
|
-
* message 响应消息 Response message
|
|
1143
|
-
*/
|
|
1144
1558
|
'message'?: string;
|
|
1145
1559
|
}
|
|
1146
1560
|
/**
|
|
@@ -1148,12 +1562,9 @@ export interface ProviderModelDeleteResponse {
|
|
|
1148
1562
|
*/
|
|
1149
1563
|
export interface ProviderModelGetResponse {
|
|
1150
1564
|
/**
|
|
1151
|
-
* code 响应状态码,
|
|
1565
|
+
* code 响应状态码,200 表示成功
|
|
1152
1566
|
*/
|
|
1153
1567
|
'code'?: string;
|
|
1154
|
-
/**
|
|
1155
|
-
* message 响应消息 Response message
|
|
1156
|
-
*/
|
|
1157
1568
|
'message'?: string;
|
|
1158
1569
|
/**
|
|
1159
1570
|
* data ProviderModel 信息 ProviderModel information
|
|
@@ -1165,12 +1576,9 @@ export interface ProviderModelGetResponse {
|
|
|
1165
1576
|
*/
|
|
1166
1577
|
export interface ProviderModelListResponse {
|
|
1167
1578
|
/**
|
|
1168
|
-
* code 响应状态码,
|
|
1579
|
+
* code 响应状态码,200 表示成功
|
|
1169
1580
|
*/
|
|
1170
1581
|
'code'?: string;
|
|
1171
|
-
/**
|
|
1172
|
-
* message 响应消息 Response message
|
|
1173
|
-
*/
|
|
1174
1582
|
'message'?: string;
|
|
1175
1583
|
/**
|
|
1176
1584
|
* list ProviderModel 列表 List of provider models
|
|
@@ -1228,12 +1636,9 @@ export interface ProviderModelUpdateRequest {
|
|
|
1228
1636
|
*/
|
|
1229
1637
|
export interface ProviderModelUpdateResponse {
|
|
1230
1638
|
/**
|
|
1231
|
-
* code 响应状态码,
|
|
1639
|
+
* code 响应状态码,200 表示成功
|
|
1232
1640
|
*/
|
|
1233
1641
|
'code'?: string;
|
|
1234
|
-
/**
|
|
1235
|
-
* message 响应消息 Response message
|
|
1236
|
-
*/
|
|
1237
1642
|
'message'?: string;
|
|
1238
1643
|
/**
|
|
1239
1644
|
* data 更新后的 ProviderModel 信息 Updated provider model information
|
|
@@ -1283,18 +1688,50 @@ export interface ProviderUpdateRequest {
|
|
|
1283
1688
|
*/
|
|
1284
1689
|
export interface ProviderUpdateResponse {
|
|
1285
1690
|
/**
|
|
1286
|
-
* code 响应状态码,
|
|
1691
|
+
* code 响应状态码,200 表示成功
|
|
1287
1692
|
*/
|
|
1288
1693
|
'code'?: string;
|
|
1289
|
-
/**
|
|
1290
|
-
* message 响应消息 Response message
|
|
1291
|
-
*/
|
|
1292
1694
|
'message'?: string;
|
|
1293
1695
|
/**
|
|
1294
1696
|
* data 更新后的 Provider 信息 Updated provider information
|
|
1295
1697
|
*/
|
|
1296
1698
|
'data'?: Provider;
|
|
1297
1699
|
}
|
|
1700
|
+
export interface RemoteConfigItemCreateRequest {
|
|
1701
|
+
'item'?: ConfigItem;
|
|
1702
|
+
}
|
|
1703
|
+
export interface RemoteConfigItemCreateResponse {
|
|
1704
|
+
'code'?: string;
|
|
1705
|
+
'message'?: string;
|
|
1706
|
+
'item'?: ConfigItem;
|
|
1707
|
+
}
|
|
1708
|
+
export interface RemoteConfigItemDeleteRequest {
|
|
1709
|
+
'key'?: string;
|
|
1710
|
+
}
|
|
1711
|
+
export interface RemoteConfigItemDeleteResponse {
|
|
1712
|
+
'code'?: string;
|
|
1713
|
+
'message'?: string;
|
|
1714
|
+
}
|
|
1715
|
+
export interface RemoteConfigItemGetResponse {
|
|
1716
|
+
'code'?: string;
|
|
1717
|
+
'message'?: string;
|
|
1718
|
+
'data'?: ConfigItemHistory;
|
|
1719
|
+
}
|
|
1720
|
+
export interface RemoteConfigItemListResponse {
|
|
1721
|
+
'code'?: string;
|
|
1722
|
+
'message'?: string;
|
|
1723
|
+
'list'?: Array<ConfigItem>;
|
|
1724
|
+
'total'?: string;
|
|
1725
|
+
}
|
|
1726
|
+
export interface RemoteConfigItemUpdateRequest {
|
|
1727
|
+
'key'?: string;
|
|
1728
|
+
'item'?: ConfigItem;
|
|
1729
|
+
}
|
|
1730
|
+
export interface RemoteConfigItemUpdateResponse {
|
|
1731
|
+
'code'?: string;
|
|
1732
|
+
'message'?: string;
|
|
1733
|
+
'item'?: ConfigItem;
|
|
1734
|
+
}
|
|
1298
1735
|
/**
|
|
1299
1736
|
* RequestPricing 请求级别计费 Request-level pricing
|
|
1300
1737
|
*/
|
|
@@ -1308,6 +1745,25 @@ export interface RequestPricing {
|
|
|
1308
1745
|
*/
|
|
1309
1746
|
'per_thousand_requests'?: string;
|
|
1310
1747
|
}
|
|
1748
|
+
export interface SetUserRoleRequest {
|
|
1749
|
+
'uid'?: string;
|
|
1750
|
+
'new_role'?: number;
|
|
1751
|
+
}
|
|
1752
|
+
export interface SetUserRoleResponse {
|
|
1753
|
+
'code'?: string;
|
|
1754
|
+
'message'?: string;
|
|
1755
|
+
'success'?: boolean;
|
|
1756
|
+
}
|
|
1757
|
+
export interface SetUserStatusRequest {
|
|
1758
|
+
'uid'?: string;
|
|
1759
|
+
'new_status'?: number;
|
|
1760
|
+
}
|
|
1761
|
+
export interface SetUserStatusResponse {
|
|
1762
|
+
'code'?: string;
|
|
1763
|
+
'message'?: string;
|
|
1764
|
+
'success'?: boolean;
|
|
1765
|
+
'revoked_sessions'?: number;
|
|
1766
|
+
}
|
|
1311
1767
|
/**
|
|
1312
1768
|
* 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
1769
|
*/
|
|
@@ -1393,6 +1849,17 @@ export interface TokenTier {
|
|
|
1393
1849
|
*/
|
|
1394
1850
|
'price_per_million'?: string;
|
|
1395
1851
|
}
|
|
1852
|
+
export interface UpdateUserInfoRequest {
|
|
1853
|
+
'uid'?: string;
|
|
1854
|
+
'display_name'?: string;
|
|
1855
|
+
'email'?: string;
|
|
1856
|
+
'password'?: string;
|
|
1857
|
+
}
|
|
1858
|
+
export interface UpdateUserInfoResponse {
|
|
1859
|
+
'code'?: string;
|
|
1860
|
+
'message'?: string;
|
|
1861
|
+
'success'?: boolean;
|
|
1862
|
+
}
|
|
1396
1863
|
/**
|
|
1397
1864
|
* UserAPIKey 代表用户的 API 密钥 UserAPIKey represents a user\'s API key
|
|
1398
1865
|
*/
|
|
@@ -1622,51 +2089,6 @@ export interface UserAPIKeyUpdateResponse {
|
|
|
1622
2089
|
*/
|
|
1623
2090
|
'data'?: UserAPIKey;
|
|
1624
2091
|
}
|
|
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
2092
|
export interface UserBalance {
|
|
1671
2093
|
'id'?: string;
|
|
1672
2094
|
'created_at'?: string;
|
|
@@ -1779,10 +2201,13 @@ export interface UserBalanceListResponse {
|
|
|
1779
2201
|
'total'?: string;
|
|
1780
2202
|
}
|
|
1781
2203
|
export interface UserInfo {
|
|
1782
|
-
'
|
|
1783
|
-
'
|
|
1784
|
-
'
|
|
1785
|
-
'
|
|
2204
|
+
'id'?: string;
|
|
2205
|
+
'name'?: string;
|
|
2206
|
+
'email'?: string;
|
|
2207
|
+
'email_verified'?: boolean;
|
|
2208
|
+
'image'?: string;
|
|
2209
|
+
'created_at'?: string;
|
|
2210
|
+
'updated_at'?: string;
|
|
1786
2211
|
}
|
|
1787
2212
|
export interface UserLabelItem {
|
|
1788
2213
|
'uid'?: string;
|
|
@@ -1821,6 +2246,101 @@ export interface UserLabelPairChangeResponse {
|
|
|
1821
2246
|
*/
|
|
1822
2247
|
'message'?: string;
|
|
1823
2248
|
}
|
|
2249
|
+
export interface UserManageAPIKey {
|
|
2250
|
+
'id'?: string;
|
|
2251
|
+
'name'?: string;
|
|
2252
|
+
'key_group'?: string;
|
|
2253
|
+
'balance_code'?: string;
|
|
2254
|
+
'quota_total'?: string;
|
|
2255
|
+
'quota_used'?: string;
|
|
2256
|
+
'quota_mode'?: number;
|
|
2257
|
+
'key_status'?: number;
|
|
2258
|
+
'expires_at'?: string;
|
|
2259
|
+
'created_at'?: string;
|
|
2260
|
+
}
|
|
2261
|
+
export interface UserManageAuthMethod {
|
|
2262
|
+
'id'?: string;
|
|
2263
|
+
'auth_type'?: string;
|
|
2264
|
+
'auth_id'?: string;
|
|
2265
|
+
'is_primary'?: boolean;
|
|
2266
|
+
'auth_status'?: number;
|
|
2267
|
+
'last_used_at'?: string;
|
|
2268
|
+
'created_at'?: string;
|
|
2269
|
+
}
|
|
2270
|
+
export interface UserManageBalance {
|
|
2271
|
+
'balance_code'?: string;
|
|
2272
|
+
'prepaid_balance_total'?: string;
|
|
2273
|
+
'prepaid_balance_used'?: string;
|
|
2274
|
+
'prepaid_balance_frozen'?: string;
|
|
2275
|
+
'bonus_balance_total'?: string;
|
|
2276
|
+
'bonus_balance_used'?: string;
|
|
2277
|
+
'bonus_balance_frozen'?: string;
|
|
2278
|
+
}
|
|
2279
|
+
/**
|
|
2280
|
+
* 用户管理详情(完整信息)
|
|
2281
|
+
*/
|
|
2282
|
+
export interface UserManageDetail {
|
|
2283
|
+
/**
|
|
2284
|
+
* 基本信息
|
|
2285
|
+
*/
|
|
2286
|
+
'uid'?: string;
|
|
2287
|
+
'display_name'?: string;
|
|
2288
|
+
'email'?: string;
|
|
2289
|
+
'avatar_url'?: string;
|
|
2290
|
+
'user_role'?: number;
|
|
2291
|
+
'user_status'?: number;
|
|
2292
|
+
'user_group'?: string;
|
|
2293
|
+
'created_at'?: string;
|
|
2294
|
+
'updated_at'?: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* 设置信息
|
|
2297
|
+
*/
|
|
2298
|
+
'settings'?: UserManageSettings;
|
|
2299
|
+
/**
|
|
2300
|
+
* 余额信息
|
|
2301
|
+
*/
|
|
2302
|
+
'balance'?: UserManageBalance;
|
|
2303
|
+
/**
|
|
2304
|
+
* API Key 配额信息
|
|
2305
|
+
*/
|
|
2306
|
+
'api_keys'?: Array<UserManageAPIKey>;
|
|
2307
|
+
/**
|
|
2308
|
+
* 认证方式列表
|
|
2309
|
+
*/
|
|
2310
|
+
'auth_methods'?: Array<UserManageAuthMethod>;
|
|
2311
|
+
/**
|
|
2312
|
+
* Session 列表
|
|
2313
|
+
*/
|
|
2314
|
+
'sessions'?: Array<UserManageSession>;
|
|
2315
|
+
}
|
|
2316
|
+
/**
|
|
2317
|
+
* 用户管理列表项(精简信息)
|
|
2318
|
+
*/
|
|
2319
|
+
export interface UserManageItem {
|
|
2320
|
+
'uid'?: string;
|
|
2321
|
+
'display_name'?: string;
|
|
2322
|
+
'email'?: string;
|
|
2323
|
+
'avatar_url'?: string;
|
|
2324
|
+
'user_role'?: number;
|
|
2325
|
+
'user_status'?: number;
|
|
2326
|
+
'user_group'?: string;
|
|
2327
|
+
'created_at'?: string;
|
|
2328
|
+
'updated_at'?: string;
|
|
2329
|
+
'auth_types'?: Array<string>;
|
|
2330
|
+
}
|
|
2331
|
+
export interface UserManageSession {
|
|
2332
|
+
'id'?: string;
|
|
2333
|
+
'session_type'?: string;
|
|
2334
|
+
'ip_address'?: string;
|
|
2335
|
+
'user_agent'?: string;
|
|
2336
|
+
'active_at'?: string;
|
|
2337
|
+
'expires_at'?: string;
|
|
2338
|
+
'created_at'?: string;
|
|
2339
|
+
'is_current'?: boolean;
|
|
2340
|
+
}
|
|
2341
|
+
export interface UserManageSettings {
|
|
2342
|
+
'email_notifications_enabled'?: boolean;
|
|
2343
|
+
}
|
|
1824
2344
|
export interface UserMeInfo {
|
|
1825
2345
|
'info'?: UserInfo;
|
|
1826
2346
|
'settings'?: UserSettings;
|
|
@@ -1937,6 +2457,13 @@ export interface VideoPricing {
|
|
|
1937
2457
|
* AIModelAdminServiceApi - axios parameter creator
|
|
1938
2458
|
*/
|
|
1939
2459
|
export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2460
|
+
/**
|
|
2461
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2462
|
+
* @param {Array<string>} [aiModelNames]
|
|
2463
|
+
* @param {*} [options] Override http request option.
|
|
2464
|
+
* @throws {RequiredError}
|
|
2465
|
+
*/
|
|
2466
|
+
aIModelAdminServiceAIModelCheckConnection: (aiModelNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1940
2467
|
/**
|
|
1941
2468
|
* 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
2469
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -1996,6 +2523,13 @@ export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: C
|
|
|
1996
2523
|
* AIModelAdminServiceApi - functional programming interface
|
|
1997
2524
|
*/
|
|
1998
2525
|
export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) => {
|
|
2526
|
+
/**
|
|
2527
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2528
|
+
* @param {Array<string>} [aiModelNames]
|
|
2529
|
+
* @param {*} [options] Override http request option.
|
|
2530
|
+
* @throws {RequiredError}
|
|
2531
|
+
*/
|
|
2532
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCheckConnectionResponse>>;
|
|
1999
2533
|
/**
|
|
2000
2534
|
* 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
2535
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2055,6 +2589,13 @@ export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) =
|
|
|
2055
2589
|
* AIModelAdminServiceApi - factory interface
|
|
2056
2590
|
*/
|
|
2057
2591
|
export declare const AIModelAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2592
|
+
/**
|
|
2593
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2594
|
+
* @param {Array<string>} [aiModelNames]
|
|
2595
|
+
* @param {*} [options] Override http request option.
|
|
2596
|
+
* @throws {RequiredError}
|
|
2597
|
+
*/
|
|
2598
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
2058
2599
|
/**
|
|
2059
2600
|
* 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
2601
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2114,6 +2655,13 @@ export declare const AIModelAdminServiceApiFactory: (configuration?: Configurati
|
|
|
2114
2655
|
* AIModelAdminServiceApi - interface
|
|
2115
2656
|
*/
|
|
2116
2657
|
export interface AIModelAdminServiceApiInterface {
|
|
2658
|
+
/**
|
|
2659
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2660
|
+
* @param {Array<string>} [aiModelNames]
|
|
2661
|
+
* @param {*} [options] Override http request option.
|
|
2662
|
+
* @throws {RequiredError}
|
|
2663
|
+
*/
|
|
2664
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
2117
2665
|
/**
|
|
2118
2666
|
* 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
2667
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2173,6 +2721,13 @@ export interface AIModelAdminServiceApiInterface {
|
|
|
2173
2721
|
* AIModelAdminServiceApi - object-oriented interface
|
|
2174
2722
|
*/
|
|
2175
2723
|
export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAdminServiceApiInterface {
|
|
2724
|
+
/**
|
|
2725
|
+
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2726
|
+
* @param {Array<string>} [aiModelNames]
|
|
2727
|
+
* @param {*} [options] Override http request option.
|
|
2728
|
+
* @throws {RequiredError}
|
|
2729
|
+
*/
|
|
2730
|
+
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCheckConnectionResponse, any, {}>>;
|
|
2176
2731
|
/**
|
|
2177
2732
|
* 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
2733
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2229,209 +2784,1309 @@ export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAd
|
|
|
2229
2784
|
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelUpdateResponse, any, {}>>;
|
|
2230
2785
|
}
|
|
2231
2786
|
/**
|
|
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
|
|
2787
|
+
* Auth2AdminServiceApi - axios parameter creator
|
|
2252
2788
|
*/
|
|
2253
|
-
export declare const
|
|
2789
|
+
export declare const Auth2AdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2254
2790
|
/**
|
|
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
|
|
2791
|
+
* ============ 密码管理 ============
|
|
2792
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
2264
2793
|
* @param {*} [options] Override http request option.
|
|
2265
2794
|
* @throws {RequiredError}
|
|
2266
2795
|
*/
|
|
2267
|
-
|
|
2268
|
-
};
|
|
2269
|
-
/**
|
|
2270
|
-
* AdminAuthServiceApi - factory interface
|
|
2271
|
-
*/
|
|
2272
|
-
export declare const AdminAuthServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2796
|
+
auth2AdminServiceAuthAdminChangePassword: (authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2273
2797
|
/**
|
|
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
|
|
2798
|
+
*
|
|
2283
2799
|
* @param {*} [options] Override http request option.
|
|
2284
2800
|
* @throws {RequiredError}
|
|
2285
2801
|
*/
|
|
2286
|
-
|
|
2287
|
-
};
|
|
2288
|
-
/**
|
|
2289
|
-
* AdminAuthServiceApi - interface
|
|
2290
|
-
*/
|
|
2291
|
-
export interface AdminAuthServiceApiInterface {
|
|
2802
|
+
auth2AdminServiceAuthAdminGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2292
2803
|
/**
|
|
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
|
|
2804
|
+
* ============ 会话管理 ============
|
|
2302
2805
|
* @param {*} [options] Override http request option.
|
|
2303
2806
|
* @throws {RequiredError}
|
|
2304
2807
|
*/
|
|
2305
|
-
|
|
2306
|
-
}
|
|
2307
|
-
/**
|
|
2308
|
-
* AdminAuthServiceApi - object-oriented interface
|
|
2309
|
-
*/
|
|
2310
|
-
export declare class AdminAuthServiceApi extends BaseAPI implements AdminAuthServiceApiInterface {
|
|
2808
|
+
auth2AdminServiceAuthAdminListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2311
2809
|
/**
|
|
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
|
|
2810
|
+
*
|
|
2811
|
+
* @param {object} body
|
|
2321
2812
|
* @param {*} [options] Override http request option.
|
|
2322
2813
|
* @throws {RequiredError}
|
|
2323
2814
|
*/
|
|
2324
|
-
|
|
2325
|
-
}
|
|
2326
|
-
/**
|
|
2327
|
-
* DiscountAdminServiceApi - axios parameter creator
|
|
2328
|
-
*/
|
|
2329
|
-
export declare const DiscountAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2815
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2330
2816
|
/**
|
|
2331
|
-
*
|
|
2332
|
-
* @param {
|
|
2817
|
+
*
|
|
2818
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
2333
2819
|
* @param {*} [options] Override http request option.
|
|
2334
2820
|
* @throws {RequiredError}
|
|
2335
2821
|
*/
|
|
2336
|
-
|
|
2822
|
+
auth2AdminServiceAuthAdminRevokeSession: (authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2337
2823
|
/**
|
|
2338
|
-
*
|
|
2339
|
-
* @param {
|
|
2824
|
+
*
|
|
2825
|
+
* @param {object} body
|
|
2340
2826
|
* @param {*} [options] Override http request option.
|
|
2341
2827
|
* @throws {RequiredError}
|
|
2342
2828
|
*/
|
|
2343
|
-
|
|
2829
|
+
auth2AdminServiceAuthAdminRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2344
2830
|
/**
|
|
2345
|
-
*
|
|
2346
|
-
* @param {
|
|
2831
|
+
* ============ 认证 ============
|
|
2832
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
2347
2833
|
* @param {*} [options] Override http request option.
|
|
2348
2834
|
* @throws {RequiredError}
|
|
2349
2835
|
*/
|
|
2350
|
-
|
|
2836
|
+
auth2AdminServiceAuthAdminSignInEmail: (authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2351
2837
|
/**
|
|
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\"
|
|
2838
|
+
*
|
|
2839
|
+
* @param {object} body
|
|
2356
2840
|
* @param {*} [options] Override http request option.
|
|
2357
2841
|
* @throws {RequiredError}
|
|
2358
2842
|
*/
|
|
2359
|
-
|
|
2843
|
+
auth2AdminServiceAuthAdminSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2360
2844
|
/**
|
|
2361
|
-
*
|
|
2362
|
-
* @param {
|
|
2845
|
+
* ============ 管理员信息管理 ============
|
|
2846
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
2363
2847
|
* @param {*} [options] Override http request option.
|
|
2364
2848
|
* @throws {RequiredError}
|
|
2365
2849
|
*/
|
|
2366
|
-
|
|
2850
|
+
auth2AdminServiceAuthAdminUpdateUser: (authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2367
2851
|
};
|
|
2368
2852
|
/**
|
|
2369
|
-
*
|
|
2853
|
+
* Auth2AdminServiceApi - functional programming interface
|
|
2370
2854
|
*/
|
|
2371
|
-
export declare const
|
|
2855
|
+
export declare const Auth2AdminServiceApiFp: (configuration?: Configuration) => {
|
|
2372
2856
|
/**
|
|
2373
|
-
*
|
|
2374
|
-
* @param {
|
|
2857
|
+
* ============ 密码管理 ============
|
|
2858
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
2375
2859
|
* @param {*} [options] Override http request option.
|
|
2376
2860
|
* @throws {RequiredError}
|
|
2377
2861
|
*/
|
|
2378
|
-
|
|
2862
|
+
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminChangePasswordResponse>>;
|
|
2379
2863
|
/**
|
|
2380
|
-
*
|
|
2381
|
-
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
2864
|
+
*
|
|
2382
2865
|
* @param {*} [options] Override http request option.
|
|
2383
2866
|
* @throws {RequiredError}
|
|
2384
2867
|
*/
|
|
2385
|
-
|
|
2868
|
+
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminGetSessionResponse>>;
|
|
2386
2869
|
/**
|
|
2387
|
-
*
|
|
2388
|
-
* @param {string} [id] @gotags: form:\"id\"
|
|
2870
|
+
* ============ 会话管理 ============
|
|
2389
2871
|
* @param {*} [options] Override http request option.
|
|
2390
2872
|
* @throws {RequiredError}
|
|
2391
2873
|
*/
|
|
2392
|
-
|
|
2874
|
+
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminListSessionsResponse>>;
|
|
2393
2875
|
/**
|
|
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\"
|
|
2876
|
+
*
|
|
2877
|
+
* @param {object} body
|
|
2398
2878
|
* @param {*} [options] Override http request option.
|
|
2399
2879
|
* @throws {RequiredError}
|
|
2400
2880
|
*/
|
|
2401
|
-
|
|
2881
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeOtherSessionsResponse>>;
|
|
2402
2882
|
/**
|
|
2403
|
-
*
|
|
2404
|
-
* @param {
|
|
2883
|
+
*
|
|
2884
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
2405
2885
|
* @param {*} [options] Override http request option.
|
|
2406
2886
|
* @throws {RequiredError}
|
|
2407
2887
|
*/
|
|
2408
|
-
|
|
2409
|
-
};
|
|
2410
|
-
/**
|
|
2411
|
-
* DiscountAdminServiceApi - factory interface
|
|
2412
|
-
*/
|
|
2413
|
-
export declare const DiscountAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2888
|
+
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeSessionResponse>>;
|
|
2414
2889
|
/**
|
|
2415
|
-
*
|
|
2416
|
-
* @param {
|
|
2890
|
+
*
|
|
2891
|
+
* @param {object} body
|
|
2417
2892
|
* @param {*} [options] Override http request option.
|
|
2418
2893
|
* @throws {RequiredError}
|
|
2419
2894
|
*/
|
|
2420
|
-
|
|
2895
|
+
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminRevokeSessionsResponse>>;
|
|
2421
2896
|
/**
|
|
2422
|
-
*
|
|
2423
|
-
* @param {
|
|
2897
|
+
* ============ 认证 ============
|
|
2898
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
2424
2899
|
* @param {*} [options] Override http request option.
|
|
2425
2900
|
* @throws {RequiredError}
|
|
2426
2901
|
*/
|
|
2427
|
-
|
|
2902
|
+
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminSignInEmailResponse>>;
|
|
2428
2903
|
/**
|
|
2429
|
-
*
|
|
2430
|
-
* @param {
|
|
2904
|
+
*
|
|
2905
|
+
* @param {object} body
|
|
2431
2906
|
* @param {*} [options] Override http request option.
|
|
2432
2907
|
* @throws {RequiredError}
|
|
2433
2908
|
*/
|
|
2434
|
-
|
|
2909
|
+
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminSignOutResponse>>;
|
|
2910
|
+
/**
|
|
2911
|
+
* ============ 管理员信息管理 ============
|
|
2912
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
2913
|
+
* @param {*} [options] Override http request option.
|
|
2914
|
+
* @throws {RequiredError}
|
|
2915
|
+
*/
|
|
2916
|
+
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthAdminUpdateUserResponse>>;
|
|
2917
|
+
};
|
|
2918
|
+
/**
|
|
2919
|
+
* Auth2AdminServiceApi - factory interface
|
|
2920
|
+
*/
|
|
2921
|
+
export declare const Auth2AdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2922
|
+
/**
|
|
2923
|
+
* ============ 密码管理 ============
|
|
2924
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
2925
|
+
* @param {*} [options] Override http request option.
|
|
2926
|
+
* @throws {RequiredError}
|
|
2927
|
+
*/
|
|
2928
|
+
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminChangePasswordResponse>;
|
|
2929
|
+
/**
|
|
2930
|
+
*
|
|
2931
|
+
* @param {*} [options] Override http request option.
|
|
2932
|
+
* @throws {RequiredError}
|
|
2933
|
+
*/
|
|
2934
|
+
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminGetSessionResponse>;
|
|
2935
|
+
/**
|
|
2936
|
+
* ============ 会话管理 ============
|
|
2937
|
+
* @param {*} [options] Override http request option.
|
|
2938
|
+
* @throws {RequiredError}
|
|
2939
|
+
*/
|
|
2940
|
+
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminListSessionsResponse>;
|
|
2941
|
+
/**
|
|
2942
|
+
*
|
|
2943
|
+
* @param {object} body
|
|
2944
|
+
* @param {*} [options] Override http request option.
|
|
2945
|
+
* @throws {RequiredError}
|
|
2946
|
+
*/
|
|
2947
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeOtherSessionsResponse>;
|
|
2948
|
+
/**
|
|
2949
|
+
*
|
|
2950
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
2951
|
+
* @param {*} [options] Override http request option.
|
|
2952
|
+
* @throws {RequiredError}
|
|
2953
|
+
*/
|
|
2954
|
+
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionResponse>;
|
|
2955
|
+
/**
|
|
2956
|
+
*
|
|
2957
|
+
* @param {object} body
|
|
2958
|
+
* @param {*} [options] Override http request option.
|
|
2959
|
+
* @throws {RequiredError}
|
|
2960
|
+
*/
|
|
2961
|
+
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionsResponse>;
|
|
2962
|
+
/**
|
|
2963
|
+
* ============ 认证 ============
|
|
2964
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
2965
|
+
* @param {*} [options] Override http request option.
|
|
2966
|
+
* @throws {RequiredError}
|
|
2967
|
+
*/
|
|
2968
|
+
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignInEmailResponse>;
|
|
2969
|
+
/**
|
|
2970
|
+
*
|
|
2971
|
+
* @param {object} body
|
|
2972
|
+
* @param {*} [options] Override http request option.
|
|
2973
|
+
* @throws {RequiredError}
|
|
2974
|
+
*/
|
|
2975
|
+
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignOutResponse>;
|
|
2976
|
+
/**
|
|
2977
|
+
* ============ 管理员信息管理 ============
|
|
2978
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
2979
|
+
* @param {*} [options] Override http request option.
|
|
2980
|
+
* @throws {RequiredError}
|
|
2981
|
+
*/
|
|
2982
|
+
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminUpdateUserResponse>;
|
|
2983
|
+
};
|
|
2984
|
+
/**
|
|
2985
|
+
* Auth2AdminServiceApi - interface
|
|
2986
|
+
*/
|
|
2987
|
+
export interface Auth2AdminServiceApiInterface {
|
|
2988
|
+
/**
|
|
2989
|
+
* ============ 密码管理 ============
|
|
2990
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
2991
|
+
* @param {*} [options] Override http request option.
|
|
2992
|
+
* @throws {RequiredError}
|
|
2993
|
+
*/
|
|
2994
|
+
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminChangePasswordResponse>;
|
|
2995
|
+
/**
|
|
2996
|
+
*
|
|
2997
|
+
* @param {*} [options] Override http request option.
|
|
2998
|
+
* @throws {RequiredError}
|
|
2999
|
+
*/
|
|
3000
|
+
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminGetSessionResponse>;
|
|
3001
|
+
/**
|
|
3002
|
+
* ============ 会话管理 ============
|
|
3003
|
+
* @param {*} [options] Override http request option.
|
|
3004
|
+
* @throws {RequiredError}
|
|
3005
|
+
*/
|
|
3006
|
+
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminListSessionsResponse>;
|
|
3007
|
+
/**
|
|
3008
|
+
*
|
|
3009
|
+
* @param {object} body
|
|
3010
|
+
* @param {*} [options] Override http request option.
|
|
3011
|
+
* @throws {RequiredError}
|
|
3012
|
+
*/
|
|
3013
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeOtherSessionsResponse>;
|
|
3014
|
+
/**
|
|
3015
|
+
*
|
|
3016
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
3017
|
+
* @param {*} [options] Override http request option.
|
|
3018
|
+
* @throws {RequiredError}
|
|
3019
|
+
*/
|
|
3020
|
+
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionResponse>;
|
|
3021
|
+
/**
|
|
3022
|
+
*
|
|
3023
|
+
* @param {object} body
|
|
3024
|
+
* @param {*} [options] Override http request option.
|
|
3025
|
+
* @throws {RequiredError}
|
|
3026
|
+
*/
|
|
3027
|
+
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminRevokeSessionsResponse>;
|
|
3028
|
+
/**
|
|
3029
|
+
* ============ 认证 ============
|
|
3030
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
3031
|
+
* @param {*} [options] Override http request option.
|
|
3032
|
+
* @throws {RequiredError}
|
|
3033
|
+
*/
|
|
3034
|
+
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignInEmailResponse>;
|
|
3035
|
+
/**
|
|
3036
|
+
*
|
|
3037
|
+
* @param {object} body
|
|
3038
|
+
* @param {*} [options] Override http request option.
|
|
3039
|
+
* @throws {RequiredError}
|
|
3040
|
+
*/
|
|
3041
|
+
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignOutResponse>;
|
|
3042
|
+
/**
|
|
3043
|
+
* ============ 管理员信息管理 ============
|
|
3044
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
3045
|
+
* @param {*} [options] Override http request option.
|
|
3046
|
+
* @throws {RequiredError}
|
|
3047
|
+
*/
|
|
3048
|
+
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminUpdateUserResponse>;
|
|
3049
|
+
}
|
|
3050
|
+
/**
|
|
3051
|
+
* Auth2AdminServiceApi - object-oriented interface
|
|
3052
|
+
*/
|
|
3053
|
+
export declare class Auth2AdminServiceApi extends BaseAPI implements Auth2AdminServiceApiInterface {
|
|
3054
|
+
/**
|
|
3055
|
+
* ============ 密码管理 ============
|
|
3056
|
+
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
3057
|
+
* @param {*} [options] Override http request option.
|
|
3058
|
+
* @throws {RequiredError}
|
|
3059
|
+
*/
|
|
3060
|
+
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminChangePasswordResponse, any, {}>>;
|
|
3061
|
+
/**
|
|
3062
|
+
*
|
|
3063
|
+
* @param {*} [options] Override http request option.
|
|
3064
|
+
* @throws {RequiredError}
|
|
3065
|
+
*/
|
|
3066
|
+
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminGetSessionResponse, any, {}>>;
|
|
3067
|
+
/**
|
|
3068
|
+
* ============ 会话管理 ============
|
|
3069
|
+
* @param {*} [options] Override http request option.
|
|
3070
|
+
* @throws {RequiredError}
|
|
3071
|
+
*/
|
|
3072
|
+
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminListSessionsResponse, any, {}>>;
|
|
3073
|
+
/**
|
|
3074
|
+
*
|
|
3075
|
+
* @param {object} body
|
|
3076
|
+
* @param {*} [options] Override http request option.
|
|
3077
|
+
* @throws {RequiredError}
|
|
3078
|
+
*/
|
|
3079
|
+
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeOtherSessionsResponse, any, {}>>;
|
|
3080
|
+
/**
|
|
3081
|
+
*
|
|
3082
|
+
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
3083
|
+
* @param {*} [options] Override http request option.
|
|
3084
|
+
* @throws {RequiredError}
|
|
3085
|
+
*/
|
|
3086
|
+
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionResponse, any, {}>>;
|
|
3087
|
+
/**
|
|
3088
|
+
*
|
|
3089
|
+
* @param {object} body
|
|
3090
|
+
* @param {*} [options] Override http request option.
|
|
3091
|
+
* @throws {RequiredError}
|
|
3092
|
+
*/
|
|
3093
|
+
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionsResponse, any, {}>>;
|
|
3094
|
+
/**
|
|
3095
|
+
* ============ 认证 ============
|
|
3096
|
+
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
3097
|
+
* @param {*} [options] Override http request option.
|
|
3098
|
+
* @throws {RequiredError}
|
|
3099
|
+
*/
|
|
3100
|
+
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignInEmailResponse, any, {}>>;
|
|
3101
|
+
/**
|
|
3102
|
+
*
|
|
3103
|
+
* @param {object} body
|
|
3104
|
+
* @param {*} [options] Override http request option.
|
|
3105
|
+
* @throws {RequiredError}
|
|
3106
|
+
*/
|
|
3107
|
+
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignOutResponse, any, {}>>;
|
|
3108
|
+
/**
|
|
3109
|
+
* ============ 管理员信息管理 ============
|
|
3110
|
+
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
3111
|
+
* @param {*} [options] Override http request option.
|
|
3112
|
+
* @throws {RequiredError}
|
|
3113
|
+
*/
|
|
3114
|
+
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminUpdateUserResponse, any, {}>>;
|
|
3115
|
+
}
|
|
3116
|
+
/**
|
|
3117
|
+
* Auth2UserServiceApi - axios parameter creator
|
|
3118
|
+
*/
|
|
3119
|
+
export declare const Auth2UserServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3120
|
+
/**
|
|
3121
|
+
*
|
|
3122
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3123
|
+
* @param {*} [options] Override http request option.
|
|
3124
|
+
* @throws {RequiredError}
|
|
3125
|
+
*/
|
|
3126
|
+
auth2UserServiceAuthChangeEmail: (authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3127
|
+
/**
|
|
3128
|
+
* ============ 密码管理 ============
|
|
3129
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3130
|
+
* @param {*} [options] Override http request option.
|
|
3131
|
+
* @throws {RequiredError}
|
|
3132
|
+
*/
|
|
3133
|
+
auth2UserServiceAuthChangePassword: (authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3134
|
+
/**
|
|
3135
|
+
*
|
|
3136
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3137
|
+
* @param {*} [options] Override http request option.
|
|
3138
|
+
* @throws {RequiredError}
|
|
3139
|
+
*/
|
|
3140
|
+
auth2UserServiceAuthDeleteUser: (authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3141
|
+
/**
|
|
3142
|
+
*
|
|
3143
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3144
|
+
* @param {*} [options] Override http request option.
|
|
3145
|
+
* @throws {RequiredError}
|
|
3146
|
+
*/
|
|
3147
|
+
auth2UserServiceAuthGetAccessToken: (authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3148
|
+
/**
|
|
3149
|
+
*
|
|
3150
|
+
* @param {*} [options] Override http request option.
|
|
3151
|
+
* @throws {RequiredError}
|
|
3152
|
+
*/
|
|
3153
|
+
auth2UserServiceAuthGetAccountInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3154
|
+
/**
|
|
3155
|
+
*
|
|
3156
|
+
* @param {*} [options] Override http request option.
|
|
3157
|
+
* @throws {RequiredError}
|
|
3158
|
+
*/
|
|
3159
|
+
auth2UserServiceAuthGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3160
|
+
/**
|
|
3161
|
+
* ============ 账号关联 ============
|
|
3162
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3163
|
+
* @param {*} [options] Override http request option.
|
|
3164
|
+
* @throws {RequiredError}
|
|
3165
|
+
*/
|
|
3166
|
+
auth2UserServiceAuthLinkSocial: (authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3167
|
+
/**
|
|
3168
|
+
*
|
|
3169
|
+
* @param {*} [options] Override http request option.
|
|
3170
|
+
* @throws {RequiredError}
|
|
3171
|
+
*/
|
|
3172
|
+
auth2UserServiceAuthListAccounts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3173
|
+
/**
|
|
3174
|
+
* ============ 会话管理 ============
|
|
3175
|
+
* @param {*} [options] Override http request option.
|
|
3176
|
+
* @throws {RequiredError}
|
|
3177
|
+
*/
|
|
3178
|
+
auth2UserServiceAuthListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3179
|
+
/**
|
|
3180
|
+
*
|
|
3181
|
+
* @param {string} platform
|
|
3182
|
+
* @param {string} [code]
|
|
3183
|
+
* @param {string} [state]
|
|
3184
|
+
* @param {*} [options] Override http request option.
|
|
3185
|
+
* @throws {RequiredError}
|
|
3186
|
+
*/
|
|
3187
|
+
auth2UserServiceAuthOAuth2Callback: (platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3188
|
+
/**
|
|
3189
|
+
* ============ Token 管理 ============
|
|
3190
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3191
|
+
* @param {*} [options] Override http request option.
|
|
3192
|
+
* @throws {RequiredError}
|
|
3193
|
+
*/
|
|
3194
|
+
auth2UserServiceAuthRefreshToken: (authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3195
|
+
/**
|
|
3196
|
+
*
|
|
3197
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3198
|
+
* @param {*} [options] Override http request option.
|
|
3199
|
+
* @throws {RequiredError}
|
|
3200
|
+
*/
|
|
3201
|
+
auth2UserServiceAuthRequestPasswordReset: (authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3202
|
+
/**
|
|
3203
|
+
*
|
|
3204
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3205
|
+
* @param {*} [options] Override http request option.
|
|
3206
|
+
* @throws {RequiredError}
|
|
3207
|
+
*/
|
|
3208
|
+
auth2UserServiceAuthResetPassword: (authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3209
|
+
/**
|
|
3210
|
+
*
|
|
3211
|
+
* @param {object} body
|
|
3212
|
+
* @param {*} [options] Override http request option.
|
|
3213
|
+
* @throws {RequiredError}
|
|
3214
|
+
*/
|
|
3215
|
+
auth2UserServiceAuthRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3216
|
+
/**
|
|
3217
|
+
*
|
|
3218
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3219
|
+
* @param {*} [options] Override http request option.
|
|
3220
|
+
* @throws {RequiredError}
|
|
3221
|
+
*/
|
|
3222
|
+
auth2UserServiceAuthRevokeSession: (authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3223
|
+
/**
|
|
3224
|
+
*
|
|
3225
|
+
* @param {object} body
|
|
3226
|
+
* @param {*} [options] Override http request option.
|
|
3227
|
+
* @throws {RequiredError}
|
|
3228
|
+
*/
|
|
3229
|
+
auth2UserServiceAuthRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3230
|
+
/**
|
|
3231
|
+
* ============ 邮箱验证 ============
|
|
3232
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3233
|
+
* @param {*} [options] Override http request option.
|
|
3234
|
+
* @throws {RequiredError}
|
|
3235
|
+
*/
|
|
3236
|
+
auth2UserServiceAuthSendVerificationEmail: (authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3237
|
+
/**
|
|
3238
|
+
*
|
|
3239
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3240
|
+
* @param {*} [options] Override http request option.
|
|
3241
|
+
* @throws {RequiredError}
|
|
3242
|
+
*/
|
|
3243
|
+
auth2UserServiceAuthSignInEmail: (authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3244
|
+
/**
|
|
3245
|
+
*
|
|
3246
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3247
|
+
* @param {*} [options] Override http request option.
|
|
3248
|
+
* @throws {RequiredError}
|
|
3249
|
+
*/
|
|
3250
|
+
auth2UserServiceAuthSignInSocial: (authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3251
|
+
/**
|
|
3252
|
+
*
|
|
3253
|
+
* @param {object} body
|
|
3254
|
+
* @param {*} [options] Override http request option.
|
|
3255
|
+
* @throws {RequiredError}
|
|
3256
|
+
*/
|
|
3257
|
+
auth2UserServiceAuthSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3258
|
+
/**
|
|
3259
|
+
* ============ 认证 ============
|
|
3260
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3261
|
+
* @param {*} [options] Override http request option.
|
|
3262
|
+
* @throws {RequiredError}
|
|
3263
|
+
*/
|
|
3264
|
+
auth2UserServiceAuthSignUpEmail: (authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3265
|
+
/**
|
|
3266
|
+
*
|
|
3267
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3268
|
+
* @param {*} [options] Override http request option.
|
|
3269
|
+
* @throws {RequiredError}
|
|
3270
|
+
*/
|
|
3271
|
+
auth2UserServiceAuthUnlinkAccount: (authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3272
|
+
/**
|
|
3273
|
+
* ============ 用户管理 ============
|
|
3274
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3275
|
+
* @param {*} [options] Override http request option.
|
|
3276
|
+
* @throws {RequiredError}
|
|
3277
|
+
*/
|
|
3278
|
+
auth2UserServiceAuthUpdateUser: (authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3279
|
+
/**
|
|
3280
|
+
*
|
|
3281
|
+
* @param {string} [email]
|
|
3282
|
+
* @param {string} [authCode]
|
|
3283
|
+
* @param {string} [callbackUrl]
|
|
3284
|
+
* @param {*} [options] Override http request option.
|
|
3285
|
+
* @throws {RequiredError}
|
|
3286
|
+
*/
|
|
3287
|
+
auth2UserServiceAuthVerifyEmail: (email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3288
|
+
};
|
|
3289
|
+
/**
|
|
3290
|
+
* Auth2UserServiceApi - functional programming interface
|
|
3291
|
+
*/
|
|
3292
|
+
export declare const Auth2UserServiceApiFp: (configuration?: Configuration) => {
|
|
3293
|
+
/**
|
|
3294
|
+
*
|
|
3295
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3296
|
+
* @param {*} [options] Override http request option.
|
|
3297
|
+
* @throws {RequiredError}
|
|
3298
|
+
*/
|
|
3299
|
+
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangeEmailResponse>>;
|
|
3300
|
+
/**
|
|
3301
|
+
* ============ 密码管理 ============
|
|
3302
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3303
|
+
* @param {*} [options] Override http request option.
|
|
3304
|
+
* @throws {RequiredError}
|
|
3305
|
+
*/
|
|
3306
|
+
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangePasswordResponse>>;
|
|
3307
|
+
/**
|
|
3308
|
+
*
|
|
3309
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3310
|
+
* @param {*} [options] Override http request option.
|
|
3311
|
+
* @throws {RequiredError}
|
|
3312
|
+
*/
|
|
3313
|
+
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthDeleteUserResponse>>;
|
|
3314
|
+
/**
|
|
3315
|
+
*
|
|
3316
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3317
|
+
* @param {*} [options] Override http request option.
|
|
3318
|
+
* @throws {RequiredError}
|
|
3319
|
+
*/
|
|
3320
|
+
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccessTokenResponse>>;
|
|
3321
|
+
/**
|
|
3322
|
+
*
|
|
3323
|
+
* @param {*} [options] Override http request option.
|
|
3324
|
+
* @throws {RequiredError}
|
|
3325
|
+
*/
|
|
3326
|
+
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccountInfoResponse>>;
|
|
3327
|
+
/**
|
|
3328
|
+
*
|
|
3329
|
+
* @param {*} [options] Override http request option.
|
|
3330
|
+
* @throws {RequiredError}
|
|
3331
|
+
*/
|
|
3332
|
+
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetSessionResponse>>;
|
|
3333
|
+
/**
|
|
3334
|
+
* ============ 账号关联 ============
|
|
3335
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
*/
|
|
3339
|
+
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthLinkSocialResponse>>;
|
|
3340
|
+
/**
|
|
3341
|
+
*
|
|
3342
|
+
* @param {*} [options] Override http request option.
|
|
3343
|
+
* @throws {RequiredError}
|
|
3344
|
+
*/
|
|
3345
|
+
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListAccountsResponse>>;
|
|
3346
|
+
/**
|
|
3347
|
+
* ============ 会话管理 ============
|
|
3348
|
+
* @param {*} [options] Override http request option.
|
|
3349
|
+
* @throws {RequiredError}
|
|
3350
|
+
*/
|
|
3351
|
+
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListSessionsResponse>>;
|
|
3352
|
+
/**
|
|
3353
|
+
*
|
|
3354
|
+
* @param {string} platform
|
|
3355
|
+
* @param {string} [code]
|
|
3356
|
+
* @param {string} [state]
|
|
3357
|
+
* @param {*} [options] Override http request option.
|
|
3358
|
+
* @throws {RequiredError}
|
|
3359
|
+
*/
|
|
3360
|
+
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthOAuth2CallbackResponse>>;
|
|
3361
|
+
/**
|
|
3362
|
+
* ============ Token 管理 ============
|
|
3363
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3364
|
+
* @param {*} [options] Override http request option.
|
|
3365
|
+
* @throws {RequiredError}
|
|
3366
|
+
*/
|
|
3367
|
+
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRefreshTokenResponse>>;
|
|
3368
|
+
/**
|
|
3369
|
+
*
|
|
3370
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3371
|
+
* @param {*} [options] Override http request option.
|
|
3372
|
+
* @throws {RequiredError}
|
|
3373
|
+
*/
|
|
3374
|
+
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRequestPasswordResetResponse>>;
|
|
3375
|
+
/**
|
|
3376
|
+
*
|
|
3377
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3378
|
+
* @param {*} [options] Override http request option.
|
|
3379
|
+
* @throws {RequiredError}
|
|
3380
|
+
*/
|
|
3381
|
+
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResetPasswordResponse>>;
|
|
3382
|
+
/**
|
|
3383
|
+
*
|
|
3384
|
+
* @param {object} body
|
|
3385
|
+
* @param {*} [options] Override http request option.
|
|
3386
|
+
* @throws {RequiredError}
|
|
3387
|
+
*/
|
|
3388
|
+
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeOtherSessionsResponse>>;
|
|
3389
|
+
/**
|
|
3390
|
+
*
|
|
3391
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3392
|
+
* @param {*} [options] Override http request option.
|
|
3393
|
+
* @throws {RequiredError}
|
|
3394
|
+
*/
|
|
3395
|
+
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionResponse>>;
|
|
3396
|
+
/**
|
|
3397
|
+
*
|
|
3398
|
+
* @param {object} body
|
|
3399
|
+
* @param {*} [options] Override http request option.
|
|
3400
|
+
* @throws {RequiredError}
|
|
3401
|
+
*/
|
|
3402
|
+
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionsResponse>>;
|
|
3403
|
+
/**
|
|
3404
|
+
* ============ 邮箱验证 ============
|
|
3405
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3406
|
+
* @param {*} [options] Override http request option.
|
|
3407
|
+
* @throws {RequiredError}
|
|
3408
|
+
*/
|
|
3409
|
+
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSendVerificationEmailResponse>>;
|
|
3410
|
+
/**
|
|
3411
|
+
*
|
|
3412
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3413
|
+
* @param {*} [options] Override http request option.
|
|
3414
|
+
* @throws {RequiredError}
|
|
3415
|
+
*/
|
|
3416
|
+
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInEmailResponse>>;
|
|
3417
|
+
/**
|
|
3418
|
+
*
|
|
3419
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3420
|
+
* @param {*} [options] Override http request option.
|
|
3421
|
+
* @throws {RequiredError}
|
|
3422
|
+
*/
|
|
3423
|
+
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInSocialResponse>>;
|
|
3424
|
+
/**
|
|
3425
|
+
*
|
|
3426
|
+
* @param {object} body
|
|
3427
|
+
* @param {*} [options] Override http request option.
|
|
3428
|
+
* @throws {RequiredError}
|
|
3429
|
+
*/
|
|
3430
|
+
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignOutResponse>>;
|
|
3431
|
+
/**
|
|
3432
|
+
* ============ 认证 ============
|
|
3433
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3434
|
+
* @param {*} [options] Override http request option.
|
|
3435
|
+
* @throws {RequiredError}
|
|
3436
|
+
*/
|
|
3437
|
+
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignUpEmailResponse>>;
|
|
3438
|
+
/**
|
|
3439
|
+
*
|
|
3440
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3441
|
+
* @param {*} [options] Override http request option.
|
|
3442
|
+
* @throws {RequiredError}
|
|
3443
|
+
*/
|
|
3444
|
+
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUnlinkAccountResponse>>;
|
|
3445
|
+
/**
|
|
3446
|
+
* ============ 用户管理 ============
|
|
3447
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3448
|
+
* @param {*} [options] Override http request option.
|
|
3449
|
+
* @throws {RequiredError}
|
|
3450
|
+
*/
|
|
3451
|
+
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUpdateUserResponse>>;
|
|
3452
|
+
/**
|
|
3453
|
+
*
|
|
3454
|
+
* @param {string} [email]
|
|
3455
|
+
* @param {string} [authCode]
|
|
3456
|
+
* @param {string} [callbackUrl]
|
|
3457
|
+
* @param {*} [options] Override http request option.
|
|
3458
|
+
* @throws {RequiredError}
|
|
3459
|
+
*/
|
|
3460
|
+
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthVerifyEmailResponse>>;
|
|
3461
|
+
};
|
|
3462
|
+
/**
|
|
3463
|
+
* Auth2UserServiceApi - factory interface
|
|
3464
|
+
*/
|
|
3465
|
+
export declare const Auth2UserServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3466
|
+
/**
|
|
3467
|
+
*
|
|
3468
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3469
|
+
* @param {*} [options] Override http request option.
|
|
3470
|
+
* @throws {RequiredError}
|
|
3471
|
+
*/
|
|
3472
|
+
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
|
|
3473
|
+
/**
|
|
3474
|
+
* ============ 密码管理 ============
|
|
3475
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3476
|
+
* @param {*} [options] Override http request option.
|
|
3477
|
+
* @throws {RequiredError}
|
|
3478
|
+
*/
|
|
3479
|
+
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
|
|
3480
|
+
/**
|
|
3481
|
+
*
|
|
3482
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3483
|
+
* @param {*} [options] Override http request option.
|
|
3484
|
+
* @throws {RequiredError}
|
|
3485
|
+
*/
|
|
3486
|
+
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
|
|
3487
|
+
/**
|
|
3488
|
+
*
|
|
3489
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3490
|
+
* @param {*} [options] Override http request option.
|
|
3491
|
+
* @throws {RequiredError}
|
|
3492
|
+
*/
|
|
3493
|
+
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
|
|
3494
|
+
/**
|
|
3495
|
+
*
|
|
3496
|
+
* @param {*} [options] Override http request option.
|
|
3497
|
+
* @throws {RequiredError}
|
|
3498
|
+
*/
|
|
3499
|
+
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
|
|
3500
|
+
/**
|
|
3501
|
+
*
|
|
3502
|
+
* @param {*} [options] Override http request option.
|
|
3503
|
+
* @throws {RequiredError}
|
|
3504
|
+
*/
|
|
3505
|
+
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetSessionResponse>;
|
|
3506
|
+
/**
|
|
3507
|
+
* ============ 账号关联 ============
|
|
3508
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3509
|
+
* @param {*} [options] Override http request option.
|
|
3510
|
+
* @throws {RequiredError}
|
|
3511
|
+
*/
|
|
3512
|
+
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkSocialResponse>;
|
|
3513
|
+
/**
|
|
3514
|
+
*
|
|
3515
|
+
* @param {*} [options] Override http request option.
|
|
3516
|
+
* @throws {RequiredError}
|
|
3517
|
+
*/
|
|
3518
|
+
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): AxiosPromise<AuthListAccountsResponse>;
|
|
3519
|
+
/**
|
|
3520
|
+
* ============ 会话管理 ============
|
|
3521
|
+
* @param {*} [options] Override http request option.
|
|
3522
|
+
* @throws {RequiredError}
|
|
3523
|
+
*/
|
|
3524
|
+
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
|
|
3525
|
+
/**
|
|
3526
|
+
*
|
|
3527
|
+
* @param {string} platform
|
|
3528
|
+
* @param {string} [code]
|
|
3529
|
+
* @param {string} [state]
|
|
3530
|
+
* @param {*} [options] Override http request option.
|
|
3531
|
+
* @throws {RequiredError}
|
|
3532
|
+
*/
|
|
3533
|
+
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthOAuth2CallbackResponse>;
|
|
3534
|
+
/**
|
|
3535
|
+
* ============ Token 管理 ============
|
|
3536
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3537
|
+
* @param {*} [options] Override http request option.
|
|
3538
|
+
* @throws {RequiredError}
|
|
3539
|
+
*/
|
|
3540
|
+
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRefreshTokenResponse>;
|
|
3541
|
+
/**
|
|
3542
|
+
*
|
|
3543
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3544
|
+
* @param {*} [options] Override http request option.
|
|
3545
|
+
* @throws {RequiredError}
|
|
3546
|
+
*/
|
|
3547
|
+
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestPasswordResetResponse>;
|
|
3548
|
+
/**
|
|
3549
|
+
*
|
|
3550
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3551
|
+
* @param {*} [options] Override http request option.
|
|
3552
|
+
* @throws {RequiredError}
|
|
3553
|
+
*/
|
|
3554
|
+
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResetPasswordResponse>;
|
|
3555
|
+
/**
|
|
3556
|
+
*
|
|
3557
|
+
* @param {object} body
|
|
3558
|
+
* @param {*} [options] Override http request option.
|
|
3559
|
+
* @throws {RequiredError}
|
|
3560
|
+
*/
|
|
3561
|
+
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeOtherSessionsResponse>;
|
|
3562
|
+
/**
|
|
3563
|
+
*
|
|
3564
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3565
|
+
* @param {*} [options] Override http request option.
|
|
3566
|
+
* @throws {RequiredError}
|
|
3567
|
+
*/
|
|
3568
|
+
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionResponse>;
|
|
3569
|
+
/**
|
|
3570
|
+
*
|
|
3571
|
+
* @param {object} body
|
|
3572
|
+
* @param {*} [options] Override http request option.
|
|
3573
|
+
* @throws {RequiredError}
|
|
3574
|
+
*/
|
|
3575
|
+
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionsResponse>;
|
|
3576
|
+
/**
|
|
3577
|
+
* ============ 邮箱验证 ============
|
|
3578
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3579
|
+
* @param {*} [options] Override http request option.
|
|
3580
|
+
* @throws {RequiredError}
|
|
3581
|
+
*/
|
|
3582
|
+
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSendVerificationEmailResponse>;
|
|
3583
|
+
/**
|
|
3584
|
+
*
|
|
3585
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3586
|
+
* @param {*} [options] Override http request option.
|
|
3587
|
+
* @throws {RequiredError}
|
|
3588
|
+
*/
|
|
3589
|
+
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInEmailResponse>;
|
|
3590
|
+
/**
|
|
3591
|
+
*
|
|
3592
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3593
|
+
* @param {*} [options] Override http request option.
|
|
3594
|
+
* @throws {RequiredError}
|
|
3595
|
+
*/
|
|
3596
|
+
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInSocialResponse>;
|
|
3597
|
+
/**
|
|
3598
|
+
*
|
|
3599
|
+
* @param {object} body
|
|
3600
|
+
* @param {*} [options] Override http request option.
|
|
3601
|
+
* @throws {RequiredError}
|
|
3602
|
+
*/
|
|
3603
|
+
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignOutResponse>;
|
|
3604
|
+
/**
|
|
3605
|
+
* ============ 认证 ============
|
|
3606
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3607
|
+
* @param {*} [options] Override http request option.
|
|
3608
|
+
* @throws {RequiredError}
|
|
3609
|
+
*/
|
|
3610
|
+
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignUpEmailResponse>;
|
|
3611
|
+
/**
|
|
3612
|
+
*
|
|
3613
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3614
|
+
* @param {*} [options] Override http request option.
|
|
3615
|
+
* @throws {RequiredError}
|
|
3616
|
+
*/
|
|
3617
|
+
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUnlinkAccountResponse>;
|
|
3618
|
+
/**
|
|
3619
|
+
* ============ 用户管理 ============
|
|
3620
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3621
|
+
* @param {*} [options] Override http request option.
|
|
3622
|
+
* @throws {RequiredError}
|
|
3623
|
+
*/
|
|
3624
|
+
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUpdateUserResponse>;
|
|
3625
|
+
/**
|
|
3626
|
+
*
|
|
3627
|
+
* @param {string} [email]
|
|
3628
|
+
* @param {string} [authCode]
|
|
3629
|
+
* @param {string} [callbackUrl]
|
|
3630
|
+
* @param {*} [options] Override http request option.
|
|
3631
|
+
* @throws {RequiredError}
|
|
3632
|
+
*/
|
|
3633
|
+
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthVerifyEmailResponse>;
|
|
3634
|
+
};
|
|
3635
|
+
/**
|
|
3636
|
+
* Auth2UserServiceApi - interface
|
|
3637
|
+
*/
|
|
3638
|
+
export interface Auth2UserServiceApiInterface {
|
|
3639
|
+
/**
|
|
3640
|
+
*
|
|
3641
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3642
|
+
* @param {*} [options] Override http request option.
|
|
3643
|
+
* @throws {RequiredError}
|
|
3644
|
+
*/
|
|
3645
|
+
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
|
|
3646
|
+
/**
|
|
3647
|
+
* ============ 密码管理 ============
|
|
3648
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3649
|
+
* @param {*} [options] Override http request option.
|
|
3650
|
+
* @throws {RequiredError}
|
|
3651
|
+
*/
|
|
3652
|
+
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
|
|
3653
|
+
/**
|
|
3654
|
+
*
|
|
3655
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3656
|
+
* @param {*} [options] Override http request option.
|
|
3657
|
+
* @throws {RequiredError}
|
|
3658
|
+
*/
|
|
3659
|
+
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
|
|
3660
|
+
/**
|
|
3661
|
+
*
|
|
3662
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3663
|
+
* @param {*} [options] Override http request option.
|
|
3664
|
+
* @throws {RequiredError}
|
|
3665
|
+
*/
|
|
3666
|
+
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
|
|
3667
|
+
/**
|
|
3668
|
+
*
|
|
3669
|
+
* @param {*} [options] Override http request option.
|
|
3670
|
+
* @throws {RequiredError}
|
|
3671
|
+
*/
|
|
3672
|
+
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
|
|
3673
|
+
/**
|
|
3674
|
+
*
|
|
3675
|
+
* @param {*} [options] Override http request option.
|
|
3676
|
+
* @throws {RequiredError}
|
|
3677
|
+
*/
|
|
3678
|
+
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetSessionResponse>;
|
|
3679
|
+
/**
|
|
3680
|
+
* ============ 账号关联 ============
|
|
3681
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3682
|
+
* @param {*} [options] Override http request option.
|
|
3683
|
+
* @throws {RequiredError}
|
|
3684
|
+
*/
|
|
3685
|
+
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkSocialResponse>;
|
|
3686
|
+
/**
|
|
3687
|
+
*
|
|
3688
|
+
* @param {*} [options] Override http request option.
|
|
3689
|
+
* @throws {RequiredError}
|
|
3690
|
+
*/
|
|
3691
|
+
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): AxiosPromise<AuthListAccountsResponse>;
|
|
3692
|
+
/**
|
|
3693
|
+
* ============ 会话管理 ============
|
|
3694
|
+
* @param {*} [options] Override http request option.
|
|
3695
|
+
* @throws {RequiredError}
|
|
3696
|
+
*/
|
|
3697
|
+
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
|
|
3698
|
+
/**
|
|
3699
|
+
*
|
|
3700
|
+
* @param {string} platform
|
|
3701
|
+
* @param {string} [code]
|
|
3702
|
+
* @param {string} [state]
|
|
3703
|
+
* @param {*} [options] Override http request option.
|
|
3704
|
+
* @throws {RequiredError}
|
|
3705
|
+
*/
|
|
3706
|
+
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthOAuth2CallbackResponse>;
|
|
3707
|
+
/**
|
|
3708
|
+
* ============ Token 管理 ============
|
|
3709
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3710
|
+
* @param {*} [options] Override http request option.
|
|
3711
|
+
* @throws {RequiredError}
|
|
3712
|
+
*/
|
|
3713
|
+
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRefreshTokenResponse>;
|
|
3714
|
+
/**
|
|
3715
|
+
*
|
|
3716
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3717
|
+
* @param {*} [options] Override http request option.
|
|
3718
|
+
* @throws {RequiredError}
|
|
3719
|
+
*/
|
|
3720
|
+
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestPasswordResetResponse>;
|
|
3721
|
+
/**
|
|
3722
|
+
*
|
|
3723
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3724
|
+
* @param {*} [options] Override http request option.
|
|
3725
|
+
* @throws {RequiredError}
|
|
3726
|
+
*/
|
|
3727
|
+
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResetPasswordResponse>;
|
|
3728
|
+
/**
|
|
3729
|
+
*
|
|
3730
|
+
* @param {object} body
|
|
3731
|
+
* @param {*} [options] Override http request option.
|
|
3732
|
+
* @throws {RequiredError}
|
|
3733
|
+
*/
|
|
3734
|
+
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeOtherSessionsResponse>;
|
|
3735
|
+
/**
|
|
3736
|
+
*
|
|
3737
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3738
|
+
* @param {*} [options] Override http request option.
|
|
3739
|
+
* @throws {RequiredError}
|
|
3740
|
+
*/
|
|
3741
|
+
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionResponse>;
|
|
3742
|
+
/**
|
|
3743
|
+
*
|
|
3744
|
+
* @param {object} body
|
|
3745
|
+
* @param {*} [options] Override http request option.
|
|
3746
|
+
* @throws {RequiredError}
|
|
3747
|
+
*/
|
|
3748
|
+
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionsResponse>;
|
|
3749
|
+
/**
|
|
3750
|
+
* ============ 邮箱验证 ============
|
|
3751
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3752
|
+
* @param {*} [options] Override http request option.
|
|
3753
|
+
* @throws {RequiredError}
|
|
3754
|
+
*/
|
|
3755
|
+
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSendVerificationEmailResponse>;
|
|
3756
|
+
/**
|
|
3757
|
+
*
|
|
3758
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3759
|
+
* @param {*} [options] Override http request option.
|
|
3760
|
+
* @throws {RequiredError}
|
|
3761
|
+
*/
|
|
3762
|
+
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInEmailResponse>;
|
|
3763
|
+
/**
|
|
3764
|
+
*
|
|
3765
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3766
|
+
* @param {*} [options] Override http request option.
|
|
3767
|
+
* @throws {RequiredError}
|
|
3768
|
+
*/
|
|
3769
|
+
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInSocialResponse>;
|
|
3770
|
+
/**
|
|
3771
|
+
*
|
|
3772
|
+
* @param {object} body
|
|
3773
|
+
* @param {*} [options] Override http request option.
|
|
3774
|
+
* @throws {RequiredError}
|
|
3775
|
+
*/
|
|
3776
|
+
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignOutResponse>;
|
|
3777
|
+
/**
|
|
3778
|
+
* ============ 认证 ============
|
|
3779
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3780
|
+
* @param {*} [options] Override http request option.
|
|
3781
|
+
* @throws {RequiredError}
|
|
3782
|
+
*/
|
|
3783
|
+
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignUpEmailResponse>;
|
|
3784
|
+
/**
|
|
3785
|
+
*
|
|
3786
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3787
|
+
* @param {*} [options] Override http request option.
|
|
3788
|
+
* @throws {RequiredError}
|
|
3789
|
+
*/
|
|
3790
|
+
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUnlinkAccountResponse>;
|
|
3791
|
+
/**
|
|
3792
|
+
* ============ 用户管理 ============
|
|
3793
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3794
|
+
* @param {*} [options] Override http request option.
|
|
3795
|
+
* @throws {RequiredError}
|
|
3796
|
+
*/
|
|
3797
|
+
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUpdateUserResponse>;
|
|
3798
|
+
/**
|
|
3799
|
+
*
|
|
3800
|
+
* @param {string} [email]
|
|
3801
|
+
* @param {string} [authCode]
|
|
3802
|
+
* @param {string} [callbackUrl]
|
|
3803
|
+
* @param {*} [options] Override http request option.
|
|
3804
|
+
* @throws {RequiredError}
|
|
3805
|
+
*/
|
|
3806
|
+
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthVerifyEmailResponse>;
|
|
3807
|
+
}
|
|
3808
|
+
/**
|
|
3809
|
+
* Auth2UserServiceApi - object-oriented interface
|
|
3810
|
+
*/
|
|
3811
|
+
export declare class Auth2UserServiceApi extends BaseAPI implements Auth2UserServiceApiInterface {
|
|
3812
|
+
/**
|
|
3813
|
+
*
|
|
3814
|
+
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3815
|
+
* @param {*} [options] Override http request option.
|
|
3816
|
+
* @throws {RequiredError}
|
|
3817
|
+
*/
|
|
3818
|
+
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthChangeEmailResponse, any, {}>>;
|
|
3819
|
+
/**
|
|
3820
|
+
* ============ 密码管理 ============
|
|
3821
|
+
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3822
|
+
* @param {*} [options] Override http request option.
|
|
3823
|
+
* @throws {RequiredError}
|
|
3824
|
+
*/
|
|
3825
|
+
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthChangePasswordResponse, any, {}>>;
|
|
3826
|
+
/**
|
|
3827
|
+
*
|
|
3828
|
+
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3829
|
+
* @param {*} [options] Override http request option.
|
|
3830
|
+
* @throws {RequiredError}
|
|
3831
|
+
*/
|
|
3832
|
+
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthDeleteUserResponse, any, {}>>;
|
|
3833
|
+
/**
|
|
3834
|
+
*
|
|
3835
|
+
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3836
|
+
* @param {*} [options] Override http request option.
|
|
3837
|
+
* @throws {RequiredError}
|
|
3838
|
+
*/
|
|
3839
|
+
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetAccessTokenResponse, any, {}>>;
|
|
3840
|
+
/**
|
|
3841
|
+
*
|
|
3842
|
+
* @param {*} [options] Override http request option.
|
|
3843
|
+
* @throws {RequiredError}
|
|
3844
|
+
*/
|
|
3845
|
+
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetAccountInfoResponse, any, {}>>;
|
|
3846
|
+
/**
|
|
3847
|
+
*
|
|
3848
|
+
* @param {*} [options] Override http request option.
|
|
3849
|
+
* @throws {RequiredError}
|
|
3850
|
+
*/
|
|
3851
|
+
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetSessionResponse, any, {}>>;
|
|
3852
|
+
/**
|
|
3853
|
+
* ============ 账号关联 ============
|
|
3854
|
+
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3855
|
+
* @param {*} [options] Override http request option.
|
|
3856
|
+
* @throws {RequiredError}
|
|
3857
|
+
*/
|
|
3858
|
+
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthLinkSocialResponse, any, {}>>;
|
|
3859
|
+
/**
|
|
3860
|
+
*
|
|
3861
|
+
* @param {*} [options] Override http request option.
|
|
3862
|
+
* @throws {RequiredError}
|
|
3863
|
+
*/
|
|
3864
|
+
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthListAccountsResponse, any, {}>>;
|
|
3865
|
+
/**
|
|
3866
|
+
* ============ 会话管理 ============
|
|
3867
|
+
* @param {*} [options] Override http request option.
|
|
3868
|
+
* @throws {RequiredError}
|
|
3869
|
+
*/
|
|
3870
|
+
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthListSessionsResponse, any, {}>>;
|
|
3871
|
+
/**
|
|
3872
|
+
*
|
|
3873
|
+
* @param {string} platform
|
|
3874
|
+
* @param {string} [code]
|
|
3875
|
+
* @param {string} [state]
|
|
3876
|
+
* @param {*} [options] Override http request option.
|
|
3877
|
+
* @throws {RequiredError}
|
|
3878
|
+
*/
|
|
3879
|
+
auth2UserServiceAuthOAuth2Callback(platform: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthOAuth2CallbackResponse, any, {}>>;
|
|
3880
|
+
/**
|
|
3881
|
+
* ============ Token 管理 ============
|
|
3882
|
+
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3883
|
+
* @param {*} [options] Override http request option.
|
|
3884
|
+
* @throws {RequiredError}
|
|
3885
|
+
*/
|
|
3886
|
+
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRefreshTokenResponse, any, {}>>;
|
|
3887
|
+
/**
|
|
3888
|
+
*
|
|
3889
|
+
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3890
|
+
* @param {*} [options] Override http request option.
|
|
3891
|
+
* @throws {RequiredError}
|
|
3892
|
+
*/
|
|
3893
|
+
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRequestPasswordResetResponse, any, {}>>;
|
|
3894
|
+
/**
|
|
3895
|
+
*
|
|
3896
|
+
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3897
|
+
* @param {*} [options] Override http request option.
|
|
3898
|
+
* @throws {RequiredError}
|
|
3899
|
+
*/
|
|
3900
|
+
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthResetPasswordResponse, any, {}>>;
|
|
3901
|
+
/**
|
|
3902
|
+
*
|
|
3903
|
+
* @param {object} body
|
|
3904
|
+
* @param {*} [options] Override http request option.
|
|
3905
|
+
* @throws {RequiredError}
|
|
3906
|
+
*/
|
|
3907
|
+
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeOtherSessionsResponse, any, {}>>;
|
|
3908
|
+
/**
|
|
3909
|
+
*
|
|
3910
|
+
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3911
|
+
* @param {*} [options] Override http request option.
|
|
3912
|
+
* @throws {RequiredError}
|
|
3913
|
+
*/
|
|
3914
|
+
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeSessionResponse, any, {}>>;
|
|
3915
|
+
/**
|
|
3916
|
+
*
|
|
3917
|
+
* @param {object} body
|
|
3918
|
+
* @param {*} [options] Override http request option.
|
|
3919
|
+
* @throws {RequiredError}
|
|
3920
|
+
*/
|
|
3921
|
+
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeSessionsResponse, any, {}>>;
|
|
3922
|
+
/**
|
|
3923
|
+
* ============ 邮箱验证 ============
|
|
3924
|
+
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3925
|
+
* @param {*} [options] Override http request option.
|
|
3926
|
+
* @throws {RequiredError}
|
|
3927
|
+
*/
|
|
3928
|
+
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSendVerificationEmailResponse, any, {}>>;
|
|
3929
|
+
/**
|
|
3930
|
+
*
|
|
3931
|
+
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3932
|
+
* @param {*} [options] Override http request option.
|
|
3933
|
+
* @throws {RequiredError}
|
|
3934
|
+
*/
|
|
3935
|
+
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignInEmailResponse, any, {}>>;
|
|
3936
|
+
/**
|
|
3937
|
+
*
|
|
3938
|
+
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3939
|
+
* @param {*} [options] Override http request option.
|
|
3940
|
+
* @throws {RequiredError}
|
|
3941
|
+
*/
|
|
3942
|
+
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignInSocialResponse, any, {}>>;
|
|
3943
|
+
/**
|
|
3944
|
+
*
|
|
3945
|
+
* @param {object} body
|
|
3946
|
+
* @param {*} [options] Override http request option.
|
|
3947
|
+
* @throws {RequiredError}
|
|
3948
|
+
*/
|
|
3949
|
+
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignOutResponse, any, {}>>;
|
|
3950
|
+
/**
|
|
3951
|
+
* ============ 认证 ============
|
|
3952
|
+
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3953
|
+
* @param {*} [options] Override http request option.
|
|
3954
|
+
* @throws {RequiredError}
|
|
3955
|
+
*/
|
|
3956
|
+
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignUpEmailResponse, any, {}>>;
|
|
3957
|
+
/**
|
|
3958
|
+
*
|
|
3959
|
+
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3960
|
+
* @param {*} [options] Override http request option.
|
|
3961
|
+
* @throws {RequiredError}
|
|
3962
|
+
*/
|
|
3963
|
+
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUnlinkAccountResponse, any, {}>>;
|
|
3964
|
+
/**
|
|
3965
|
+
* ============ 用户管理 ============
|
|
3966
|
+
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3967
|
+
* @param {*} [options] Override http request option.
|
|
3968
|
+
* @throws {RequiredError}
|
|
3969
|
+
*/
|
|
3970
|
+
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUpdateUserResponse, any, {}>>;
|
|
3971
|
+
/**
|
|
3972
|
+
*
|
|
3973
|
+
* @param {string} [email]
|
|
3974
|
+
* @param {string} [authCode]
|
|
3975
|
+
* @param {string} [callbackUrl]
|
|
3976
|
+
* @param {*} [options] Override http request option.
|
|
3977
|
+
* @throws {RequiredError}
|
|
3978
|
+
*/
|
|
3979
|
+
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthVerifyEmailResponse, any, {}>>;
|
|
3980
|
+
}
|
|
3981
|
+
/**
|
|
3982
|
+
* DiscountAdminServiceApi - axios parameter creator
|
|
3983
|
+
*/
|
|
3984
|
+
export declare const DiscountAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3985
|
+
/**
|
|
3986
|
+
* DiscountCreate 创建折扣接口
|
|
3987
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
3988
|
+
* @param {*} [options] Override http request option.
|
|
3989
|
+
* @throws {RequiredError}
|
|
3990
|
+
*/
|
|
3991
|
+
discountAdminServiceDiscountCreate: (discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3992
|
+
/**
|
|
3993
|
+
* DiscountDelete 删除折扣接口
|
|
3994
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
3995
|
+
* @param {*} [options] Override http request option.
|
|
3996
|
+
* @throws {RequiredError}
|
|
3997
|
+
*/
|
|
3998
|
+
discountAdminServiceDiscountDelete: (discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3999
|
+
/**
|
|
4000
|
+
* DiscountGet 获取折扣接口
|
|
4001
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
4002
|
+
* @param {*} [options] Override http request option.
|
|
4003
|
+
* @throws {RequiredError}
|
|
4004
|
+
*/
|
|
4005
|
+
discountAdminServiceDiscountGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4006
|
+
/**
|
|
4007
|
+
* DiscountList 折扣列表接口
|
|
4008
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
4009
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
4010
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
4011
|
+
* @param {*} [options] Override http request option.
|
|
4012
|
+
* @throws {RequiredError}
|
|
4013
|
+
*/
|
|
4014
|
+
discountAdminServiceDiscountList: (page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4015
|
+
/**
|
|
4016
|
+
* DiscountUpdate 更新折扣接口
|
|
4017
|
+
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
4018
|
+
* @param {*} [options] Override http request option.
|
|
4019
|
+
* @throws {RequiredError}
|
|
4020
|
+
*/
|
|
4021
|
+
discountAdminServiceDiscountUpdate: (discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4022
|
+
};
|
|
4023
|
+
/**
|
|
4024
|
+
* DiscountAdminServiceApi - functional programming interface
|
|
4025
|
+
*/
|
|
4026
|
+
export declare const DiscountAdminServiceApiFp: (configuration?: Configuration) => {
|
|
4027
|
+
/**
|
|
4028
|
+
* DiscountCreate 创建折扣接口
|
|
4029
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
4030
|
+
* @param {*} [options] Override http request option.
|
|
4031
|
+
* @throws {RequiredError}
|
|
4032
|
+
*/
|
|
4033
|
+
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountCreateRequest>>;
|
|
4034
|
+
/**
|
|
4035
|
+
* DiscountDelete 删除折扣接口
|
|
4036
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
4037
|
+
* @param {*} [options] Override http request option.
|
|
4038
|
+
* @throws {RequiredError}
|
|
4039
|
+
*/
|
|
4040
|
+
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountDeleteResponse>>;
|
|
4041
|
+
/**
|
|
4042
|
+
* DiscountGet 获取折扣接口
|
|
4043
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
4044
|
+
* @param {*} [options] Override http request option.
|
|
4045
|
+
* @throws {RequiredError}
|
|
4046
|
+
*/
|
|
4047
|
+
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountGetResponse>>;
|
|
4048
|
+
/**
|
|
4049
|
+
* DiscountList 折扣列表接口
|
|
4050
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
4051
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
4052
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
4053
|
+
* @param {*} [options] Override http request option.
|
|
4054
|
+
* @throws {RequiredError}
|
|
4055
|
+
*/
|
|
4056
|
+
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountListResponse>>;
|
|
4057
|
+
/**
|
|
4058
|
+
* DiscountUpdate 更新折扣接口
|
|
4059
|
+
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
4060
|
+
* @param {*} [options] Override http request option.
|
|
4061
|
+
* @throws {RequiredError}
|
|
4062
|
+
*/
|
|
4063
|
+
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountUpdateResponse>>;
|
|
4064
|
+
};
|
|
4065
|
+
/**
|
|
4066
|
+
* DiscountAdminServiceApi - factory interface
|
|
4067
|
+
*/
|
|
4068
|
+
export declare const DiscountAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4069
|
+
/**
|
|
4070
|
+
* DiscountCreate 创建折扣接口
|
|
4071
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
4072
|
+
* @param {*} [options] Override http request option.
|
|
4073
|
+
* @throws {RequiredError}
|
|
4074
|
+
*/
|
|
4075
|
+
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
|
|
4076
|
+
/**
|
|
4077
|
+
* DiscountDelete 删除折扣接口
|
|
4078
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
4079
|
+
* @param {*} [options] Override http request option.
|
|
4080
|
+
* @throws {RequiredError}
|
|
4081
|
+
*/
|
|
4082
|
+
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountDeleteResponse>;
|
|
4083
|
+
/**
|
|
4084
|
+
* DiscountGet 获取折扣接口
|
|
4085
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
4086
|
+
* @param {*} [options] Override http request option.
|
|
4087
|
+
* @throws {RequiredError}
|
|
4088
|
+
*/
|
|
4089
|
+
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountGetResponse>;
|
|
2435
4090
|
/**
|
|
2436
4091
|
* DiscountList 折扣列表接口
|
|
2437
4092
|
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
@@ -2936,37 +4591,257 @@ export declare class ProviderModelAdminServiceApi extends BaseAPI implements Pro
|
|
|
2936
4591
|
*/
|
|
2937
4592
|
providerModelAdminServiceProviderModelCreate(providerModelCreateRequest: ProviderModelCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelCreateResponse, any, {}>>;
|
|
2938
4593
|
/**
|
|
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
|
|
4594
|
+
* ProviderModelDelete 删除 ProviderModel(软删除) Delete a provider model (soft delete) 请求路径: POST /admin/provider-model/delete Request path: POST /admin/provider-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4595
|
+
* @param {ProviderModelDeleteRequest} providerModelDeleteRequest
|
|
4596
|
+
* @param {*} [options] Override http request option.
|
|
4597
|
+
* @throws {RequiredError}
|
|
4598
|
+
*/
|
|
4599
|
+
providerModelAdminServiceProviderModelDelete(providerModelDeleteRequest: ProviderModelDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelDeleteResponse, any, {}>>;
|
|
4600
|
+
/**
|
|
4601
|
+
* 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
|
|
4602
|
+
* @param {string} [id] id 要获取的 ProviderModel 的唯一标识符 Unique identifier of the provider model to retrieve @gotags: form:\"id\" binding:\"required\"
|
|
4603
|
+
* @param {*} [options] Override http request option.
|
|
4604
|
+
* @throws {RequiredError}
|
|
4605
|
+
*/
|
|
4606
|
+
providerModelAdminServiceProviderModelGet(id?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelGetResponse, any, {}>>;
|
|
4607
|
+
/**
|
|
4608
|
+
* 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
|
|
4609
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
4610
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
4611
|
+
* @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\"
|
|
4612
|
+
* @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\"
|
|
4613
|
+
* @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\"
|
|
4614
|
+
* @param {*} [options] Override http request option.
|
|
4615
|
+
* @throws {RequiredError}
|
|
4616
|
+
*/
|
|
4617
|
+
providerModelAdminServiceProviderModelList(page?: number, pageSize?: number, providerId?: string, status?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelListResponse, any, {}>>;
|
|
4618
|
+
/**
|
|
4619
|
+
* ProviderModelUpdate 更新现有的 ProviderModel Update an existing provider model 请求路径: POST /admin/provider-model/update Request path: POST /admin/provider-model/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4620
|
+
* @param {ProviderModelUpdateRequest} providerModelUpdateRequest
|
|
4621
|
+
* @param {*} [options] Override http request option.
|
|
4622
|
+
* @throws {RequiredError}
|
|
4623
|
+
*/
|
|
4624
|
+
providerModelAdminServiceProviderModelUpdate(providerModelUpdateRequest: ProviderModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelUpdateResponse, any, {}>>;
|
|
4625
|
+
}
|
|
4626
|
+
/**
|
|
4627
|
+
* RemoteConfigAdminServiceApi - axios parameter creator
|
|
4628
|
+
*/
|
|
4629
|
+
export declare const RemoteConfigAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4630
|
+
/**
|
|
4631
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4632
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4633
|
+
* @param {*} [options] Override http request option.
|
|
4634
|
+
* @throws {RequiredError}
|
|
4635
|
+
*/
|
|
4636
|
+
remoteConfigAdminServiceRemoteConfigItemCreate: (remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4637
|
+
/**
|
|
4638
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4639
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4640
|
+
* @param {*} [options] Override http request option.
|
|
4641
|
+
* @throws {RequiredError}
|
|
4642
|
+
*/
|
|
4643
|
+
remoteConfigAdminServiceRemoteConfigItemDelete: (remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4644
|
+
/**
|
|
4645
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4646
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4647
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4648
|
+
* @param {*} [options] Override http request option.
|
|
4649
|
+
* @throws {RequiredError}
|
|
4650
|
+
*/
|
|
4651
|
+
remoteConfigAdminServiceRemoteConfigItemGet: (key?: string, historyLimit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4652
|
+
/**
|
|
4653
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4654
|
+
* @param {number} [page]
|
|
4655
|
+
* @param {number} [pageSize]
|
|
4656
|
+
* @param {Array<string>} [keys]
|
|
4657
|
+
* @param {string} [keyword]
|
|
4658
|
+
* @param {*} [options] Override http request option.
|
|
4659
|
+
* @throws {RequiredError}
|
|
4660
|
+
*/
|
|
4661
|
+
remoteConfigAdminServiceRemoteConfigItemList: (page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4662
|
+
/**
|
|
4663
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4664
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4665
|
+
* @param {*} [options] Override http request option.
|
|
4666
|
+
* @throws {RequiredError}
|
|
4667
|
+
*/
|
|
4668
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate: (remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4669
|
+
};
|
|
4670
|
+
/**
|
|
4671
|
+
* RemoteConfigAdminServiceApi - functional programming interface
|
|
4672
|
+
*/
|
|
4673
|
+
export declare const RemoteConfigAdminServiceApiFp: (configuration?: Configuration) => {
|
|
4674
|
+
/**
|
|
4675
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4676
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4677
|
+
* @param {*} [options] Override http request option.
|
|
4678
|
+
* @throws {RequiredError}
|
|
4679
|
+
*/
|
|
4680
|
+
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemCreateResponse>>;
|
|
4681
|
+
/**
|
|
4682
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4683
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4684
|
+
* @param {*} [options] Override http request option.
|
|
4685
|
+
* @throws {RequiredError}
|
|
4686
|
+
*/
|
|
4687
|
+
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemDeleteResponse>>;
|
|
4688
|
+
/**
|
|
4689
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4690
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4691
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4692
|
+
* @param {*} [options] Override http request option.
|
|
4693
|
+
* @throws {RequiredError}
|
|
4694
|
+
*/
|
|
4695
|
+
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemGetResponse>>;
|
|
4696
|
+
/**
|
|
4697
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4698
|
+
* @param {number} [page]
|
|
4699
|
+
* @param {number} [pageSize]
|
|
4700
|
+
* @param {Array<string>} [keys]
|
|
4701
|
+
* @param {string} [keyword]
|
|
4702
|
+
* @param {*} [options] Override http request option.
|
|
4703
|
+
* @throws {RequiredError}
|
|
4704
|
+
*/
|
|
4705
|
+
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemListResponse>>;
|
|
4706
|
+
/**
|
|
4707
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4708
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4709
|
+
* @param {*} [options] Override http request option.
|
|
4710
|
+
* @throws {RequiredError}
|
|
4711
|
+
*/
|
|
4712
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemUpdateResponse>>;
|
|
4713
|
+
};
|
|
4714
|
+
/**
|
|
4715
|
+
* RemoteConfigAdminServiceApi - factory interface
|
|
4716
|
+
*/
|
|
4717
|
+
export declare const RemoteConfigAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4718
|
+
/**
|
|
4719
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4720
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4721
|
+
* @param {*} [options] Override http request option.
|
|
4722
|
+
* @throws {RequiredError}
|
|
4723
|
+
*/
|
|
4724
|
+
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemCreateResponse>;
|
|
4725
|
+
/**
|
|
4726
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4727
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4728
|
+
* @param {*} [options] Override http request option.
|
|
4729
|
+
* @throws {RequiredError}
|
|
4730
|
+
*/
|
|
4731
|
+
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemDeleteResponse>;
|
|
4732
|
+
/**
|
|
4733
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4734
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4735
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4736
|
+
* @param {*} [options] Override http request option.
|
|
4737
|
+
* @throws {RequiredError}
|
|
4738
|
+
*/
|
|
4739
|
+
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemGetResponse>;
|
|
4740
|
+
/**
|
|
4741
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4742
|
+
* @param {number} [page]
|
|
4743
|
+
* @param {number} [pageSize]
|
|
4744
|
+
* @param {Array<string>} [keys]
|
|
4745
|
+
* @param {string} [keyword]
|
|
4746
|
+
* @param {*} [options] Override http request option.
|
|
4747
|
+
* @throws {RequiredError}
|
|
4748
|
+
*/
|
|
4749
|
+
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemListResponse>;
|
|
4750
|
+
/**
|
|
4751
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4752
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4753
|
+
* @param {*} [options] Override http request option.
|
|
4754
|
+
* @throws {RequiredError}
|
|
4755
|
+
*/
|
|
4756
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemUpdateResponse>;
|
|
4757
|
+
};
|
|
4758
|
+
/**
|
|
4759
|
+
* RemoteConfigAdminServiceApi - interface
|
|
4760
|
+
*/
|
|
4761
|
+
export interface RemoteConfigAdminServiceApiInterface {
|
|
4762
|
+
/**
|
|
4763
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4764
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4765
|
+
* @param {*} [options] Override http request option.
|
|
4766
|
+
* @throws {RequiredError}
|
|
4767
|
+
*/
|
|
4768
|
+
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemCreateResponse>;
|
|
4769
|
+
/**
|
|
4770
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4771
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4772
|
+
* @param {*} [options] Override http request option.
|
|
4773
|
+
* @throws {RequiredError}
|
|
4774
|
+
*/
|
|
4775
|
+
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemDeleteResponse>;
|
|
4776
|
+
/**
|
|
4777
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4778
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4779
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4780
|
+
* @param {*} [options] Override http request option.
|
|
4781
|
+
* @throws {RequiredError}
|
|
4782
|
+
*/
|
|
4783
|
+
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemGetResponse>;
|
|
4784
|
+
/**
|
|
4785
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4786
|
+
* @param {number} [page]
|
|
4787
|
+
* @param {number} [pageSize]
|
|
4788
|
+
* @param {Array<string>} [keys]
|
|
4789
|
+
* @param {string} [keyword]
|
|
4790
|
+
* @param {*} [options] Override http request option.
|
|
4791
|
+
* @throws {RequiredError}
|
|
4792
|
+
*/
|
|
4793
|
+
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemListResponse>;
|
|
4794
|
+
/**
|
|
4795
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4796
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4797
|
+
* @param {*} [options] Override http request option.
|
|
4798
|
+
* @throws {RequiredError}
|
|
4799
|
+
*/
|
|
4800
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemUpdateResponse>;
|
|
4801
|
+
}
|
|
4802
|
+
/**
|
|
4803
|
+
* RemoteConfigAdminServiceApi - object-oriented interface
|
|
4804
|
+
*/
|
|
4805
|
+
export declare class RemoteConfigAdminServiceApi extends BaseAPI implements RemoteConfigAdminServiceApiInterface {
|
|
4806
|
+
/**
|
|
4807
|
+
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4808
|
+
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4809
|
+
* @param {*} [options] Override http request option.
|
|
4810
|
+
* @throws {RequiredError}
|
|
4811
|
+
*/
|
|
4812
|
+
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemCreateResponse, any, {}>>;
|
|
4813
|
+
/**
|
|
4814
|
+
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4815
|
+
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
2941
4816
|
* @param {*} [options] Override http request option.
|
|
2942
4817
|
* @throws {RequiredError}
|
|
2943
4818
|
*/
|
|
2944
|
-
|
|
4819
|
+
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemDeleteResponse, any, {}>>;
|
|
2945
4820
|
/**
|
|
2946
|
-
*
|
|
2947
|
-
* @param {string} [
|
|
4821
|
+
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4822
|
+
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4823
|
+
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
2948
4824
|
* @param {*} [options] Override http request option.
|
|
2949
4825
|
* @throws {RequiredError}
|
|
2950
4826
|
*/
|
|
2951
|
-
|
|
4827
|
+
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemGetResponse, any, {}>>;
|
|
2952
4828
|
/**
|
|
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\"
|
|
4829
|
+
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4830
|
+
* @param {number} [page]
|
|
4831
|
+
* @param {number} [pageSize]
|
|
4832
|
+
* @param {Array<string>} [keys]
|
|
4833
|
+
* @param {string} [keyword]
|
|
2959
4834
|
* @param {*} [options] Override http request option.
|
|
2960
4835
|
* @throws {RequiredError}
|
|
2961
4836
|
*/
|
|
2962
|
-
|
|
4837
|
+
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemListResponse, any, {}>>;
|
|
2963
4838
|
/**
|
|
2964
|
-
*
|
|
2965
|
-
* @param {
|
|
4839
|
+
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4840
|
+
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
2966
4841
|
* @param {*} [options] Override http request option.
|
|
2967
4842
|
* @throws {RequiredError}
|
|
2968
4843
|
*/
|
|
2969
|
-
|
|
4844
|
+
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemUpdateResponse, any, {}>>;
|
|
2970
4845
|
}
|
|
2971
4846
|
/**
|
|
2972
4847
|
* UserAPIKeyServiceApi - axios parameter creator
|
|
@@ -3193,271 +5068,6 @@ export declare class UserAPIKeyServiceApi extends BaseAPI implements UserAPIKeyS
|
|
|
3193
5068
|
*/
|
|
3194
5069
|
userAPIKeyServiceUserAPIKeyUpdate(userAPIKeyUpdateRequest: UserAPIKeyUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAPIKeyUpdateResponse, any, {}>>;
|
|
3195
5070
|
}
|
|
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
5071
|
/**
|
|
3462
5072
|
* UserBalanceServiceApi - axios parameter creator
|
|
3463
5073
|
*/
|
|
@@ -3973,6 +5583,241 @@ export declare class UserLabelServiceApi extends BaseAPI implements UserLabelSer
|
|
|
3973
5583
|
*/
|
|
3974
5584
|
userLabelServiceUserLabelPairChange(userLabelPairChangeRequest: UserLabelPairChangeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserLabelPairChangeResponse, any, {}>>;
|
|
3975
5585
|
}
|
|
5586
|
+
/**
|
|
5587
|
+
* UserManageAdminServiceApi - axios parameter creator
|
|
5588
|
+
*/
|
|
5589
|
+
export declare const UserManageAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5590
|
+
/**
|
|
5591
|
+
* 批量管理 Session
|
|
5592
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5593
|
+
* @param {*} [options] Override http request option.
|
|
5594
|
+
* @throws {RequiredError}
|
|
5595
|
+
*/
|
|
5596
|
+
userManageAdminServiceBatchUpdateSessions: (batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5597
|
+
/**
|
|
5598
|
+
* 用户详情
|
|
5599
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5600
|
+
* @param {*} [options] Override http request option.
|
|
5601
|
+
* @throws {RequiredError}
|
|
5602
|
+
*/
|
|
5603
|
+
userManageAdminServiceGetUserDetail: (uid?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5604
|
+
/**
|
|
5605
|
+
* 用户列表(分页查询)
|
|
5606
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5607
|
+
* @param {*} [options] Override http request option.
|
|
5608
|
+
* @throws {RequiredError}
|
|
5609
|
+
*/
|
|
5610
|
+
userManageAdminServiceListUsers: (listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5611
|
+
/**
|
|
5612
|
+
* 设置用户角色
|
|
5613
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5614
|
+
* @param {*} [options] Override http request option.
|
|
5615
|
+
* @throws {RequiredError}
|
|
5616
|
+
*/
|
|
5617
|
+
userManageAdminServiceSetUserRole: (setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5618
|
+
/**
|
|
5619
|
+
* 设置用户状态(启用/禁用)
|
|
5620
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5621
|
+
* @param {*} [options] Override http request option.
|
|
5622
|
+
* @throws {RequiredError}
|
|
5623
|
+
*/
|
|
5624
|
+
userManageAdminServiceSetUserStatus: (setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5625
|
+
/**
|
|
5626
|
+
* 更新用户信息
|
|
5627
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5628
|
+
* @param {*} [options] Override http request option.
|
|
5629
|
+
* @throws {RequiredError}
|
|
5630
|
+
*/
|
|
5631
|
+
userManageAdminServiceUpdateUserInfo: (updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5632
|
+
};
|
|
5633
|
+
/**
|
|
5634
|
+
* UserManageAdminServiceApi - functional programming interface
|
|
5635
|
+
*/
|
|
5636
|
+
export declare const UserManageAdminServiceApiFp: (configuration?: Configuration) => {
|
|
5637
|
+
/**
|
|
5638
|
+
* 批量管理 Session
|
|
5639
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5640
|
+
* @param {*} [options] Override http request option.
|
|
5641
|
+
* @throws {RequiredError}
|
|
5642
|
+
*/
|
|
5643
|
+
userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpdateSessionsResponse>>;
|
|
5644
|
+
/**
|
|
5645
|
+
* 用户详情
|
|
5646
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5647
|
+
* @param {*} [options] Override http request option.
|
|
5648
|
+
* @throws {RequiredError}
|
|
5649
|
+
*/
|
|
5650
|
+
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserDetailResponse>>;
|
|
5651
|
+
/**
|
|
5652
|
+
* 用户列表(分页查询)
|
|
5653
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5654
|
+
* @param {*} [options] Override http request option.
|
|
5655
|
+
* @throws {RequiredError}
|
|
5656
|
+
*/
|
|
5657
|
+
userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponse>>;
|
|
5658
|
+
/**
|
|
5659
|
+
* 设置用户角色
|
|
5660
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5661
|
+
* @param {*} [options] Override http request option.
|
|
5662
|
+
* @throws {RequiredError}
|
|
5663
|
+
*/
|
|
5664
|
+
userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetUserRoleResponse>>;
|
|
5665
|
+
/**
|
|
5666
|
+
* 设置用户状态(启用/禁用)
|
|
5667
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5668
|
+
* @param {*} [options] Override http request option.
|
|
5669
|
+
* @throws {RequiredError}
|
|
5670
|
+
*/
|
|
5671
|
+
userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetUserStatusResponse>>;
|
|
5672
|
+
/**
|
|
5673
|
+
* 更新用户信息
|
|
5674
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5675
|
+
* @param {*} [options] Override http request option.
|
|
5676
|
+
* @throws {RequiredError}
|
|
5677
|
+
*/
|
|
5678
|
+
userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserInfoResponse>>;
|
|
5679
|
+
};
|
|
5680
|
+
/**
|
|
5681
|
+
* UserManageAdminServiceApi - factory interface
|
|
5682
|
+
*/
|
|
5683
|
+
export declare const UserManageAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5684
|
+
/**
|
|
5685
|
+
* 批量管理 Session
|
|
5686
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5687
|
+
* @param {*} [options] Override http request option.
|
|
5688
|
+
* @throws {RequiredError}
|
|
5689
|
+
*/
|
|
5690
|
+
userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchUpdateSessionsResponse>;
|
|
5691
|
+
/**
|
|
5692
|
+
* 用户详情
|
|
5693
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5694
|
+
* @param {*} [options] Override http request option.
|
|
5695
|
+
* @throws {RequiredError}
|
|
5696
|
+
*/
|
|
5697
|
+
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserDetailResponse>;
|
|
5698
|
+
/**
|
|
5699
|
+
* 用户列表(分页查询)
|
|
5700
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5701
|
+
* @param {*} [options] Override http request option.
|
|
5702
|
+
* @throws {RequiredError}
|
|
5703
|
+
*/
|
|
5704
|
+
userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsersResponse>;
|
|
5705
|
+
/**
|
|
5706
|
+
* 设置用户角色
|
|
5707
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5708
|
+
* @param {*} [options] Override http request option.
|
|
5709
|
+
* @throws {RequiredError}
|
|
5710
|
+
*/
|
|
5711
|
+
userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserRoleResponse>;
|
|
5712
|
+
/**
|
|
5713
|
+
* 设置用户状态(启用/禁用)
|
|
5714
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5715
|
+
* @param {*} [options] Override http request option.
|
|
5716
|
+
* @throws {RequiredError}
|
|
5717
|
+
*/
|
|
5718
|
+
userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserStatusResponse>;
|
|
5719
|
+
/**
|
|
5720
|
+
* 更新用户信息
|
|
5721
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5722
|
+
* @param {*} [options] Override http request option.
|
|
5723
|
+
* @throws {RequiredError}
|
|
5724
|
+
*/
|
|
5725
|
+
userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserInfoResponse>;
|
|
5726
|
+
};
|
|
5727
|
+
/**
|
|
5728
|
+
* UserManageAdminServiceApi - interface
|
|
5729
|
+
*/
|
|
5730
|
+
export interface UserManageAdminServiceApiInterface {
|
|
5731
|
+
/**
|
|
5732
|
+
* 批量管理 Session
|
|
5733
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5734
|
+
* @param {*} [options] Override http request option.
|
|
5735
|
+
* @throws {RequiredError}
|
|
5736
|
+
*/
|
|
5737
|
+
userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchUpdateSessionsResponse>;
|
|
5738
|
+
/**
|
|
5739
|
+
* 用户详情
|
|
5740
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5741
|
+
* @param {*} [options] Override http request option.
|
|
5742
|
+
* @throws {RequiredError}
|
|
5743
|
+
*/
|
|
5744
|
+
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserDetailResponse>;
|
|
5745
|
+
/**
|
|
5746
|
+
* 用户列表(分页查询)
|
|
5747
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5748
|
+
* @param {*} [options] Override http request option.
|
|
5749
|
+
* @throws {RequiredError}
|
|
5750
|
+
*/
|
|
5751
|
+
userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsersResponse>;
|
|
5752
|
+
/**
|
|
5753
|
+
* 设置用户角色
|
|
5754
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5755
|
+
* @param {*} [options] Override http request option.
|
|
5756
|
+
* @throws {RequiredError}
|
|
5757
|
+
*/
|
|
5758
|
+
userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserRoleResponse>;
|
|
5759
|
+
/**
|
|
5760
|
+
* 设置用户状态(启用/禁用)
|
|
5761
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5762
|
+
* @param {*} [options] Override http request option.
|
|
5763
|
+
* @throws {RequiredError}
|
|
5764
|
+
*/
|
|
5765
|
+
userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetUserStatusResponse>;
|
|
5766
|
+
/**
|
|
5767
|
+
* 更新用户信息
|
|
5768
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5769
|
+
* @param {*} [options] Override http request option.
|
|
5770
|
+
* @throws {RequiredError}
|
|
5771
|
+
*/
|
|
5772
|
+
userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserInfoResponse>;
|
|
5773
|
+
}
|
|
5774
|
+
/**
|
|
5775
|
+
* UserManageAdminServiceApi - object-oriented interface
|
|
5776
|
+
*/
|
|
5777
|
+
export declare class UserManageAdminServiceApi extends BaseAPI implements UserManageAdminServiceApiInterface {
|
|
5778
|
+
/**
|
|
5779
|
+
* 批量管理 Session
|
|
5780
|
+
* @param {BatchUpdateSessionsRequest} batchUpdateSessionsRequest
|
|
5781
|
+
* @param {*} [options] Override http request option.
|
|
5782
|
+
* @throws {RequiredError}
|
|
5783
|
+
*/
|
|
5784
|
+
userManageAdminServiceBatchUpdateSessions(batchUpdateSessionsRequest: BatchUpdateSessionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchUpdateSessionsResponse, any, {}>>;
|
|
5785
|
+
/**
|
|
5786
|
+
* 用户详情
|
|
5787
|
+
* @param {string} [uid] @gotags: form:\"uid\" binding:\"uid\"
|
|
5788
|
+
* @param {*} [options] Override http request option.
|
|
5789
|
+
* @throws {RequiredError}
|
|
5790
|
+
*/
|
|
5791
|
+
userManageAdminServiceGetUserDetail(uid?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserDetailResponse, any, {}>>;
|
|
5792
|
+
/**
|
|
5793
|
+
* 用户列表(分页查询)
|
|
5794
|
+
* @param {ListUsersRequest} listUsersRequest
|
|
5795
|
+
* @param {*} [options] Override http request option.
|
|
5796
|
+
* @throws {RequiredError}
|
|
5797
|
+
*/
|
|
5798
|
+
userManageAdminServiceListUsers(listUsersRequest: ListUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsersResponse, any, {}>>;
|
|
5799
|
+
/**
|
|
5800
|
+
* 设置用户角色
|
|
5801
|
+
* @param {SetUserRoleRequest} setUserRoleRequest
|
|
5802
|
+
* @param {*} [options] Override http request option.
|
|
5803
|
+
* @throws {RequiredError}
|
|
5804
|
+
*/
|
|
5805
|
+
userManageAdminServiceSetUserRole(setUserRoleRequest: SetUserRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetUserRoleResponse, any, {}>>;
|
|
5806
|
+
/**
|
|
5807
|
+
* 设置用户状态(启用/禁用)
|
|
5808
|
+
* @param {SetUserStatusRequest} setUserStatusRequest
|
|
5809
|
+
* @param {*} [options] Override http request option.
|
|
5810
|
+
* @throws {RequiredError}
|
|
5811
|
+
*/
|
|
5812
|
+
userManageAdminServiceSetUserStatus(setUserStatusRequest: SetUserStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetUserStatusResponse, any, {}>>;
|
|
5813
|
+
/**
|
|
5814
|
+
* 更新用户信息
|
|
5815
|
+
* @param {UpdateUserInfoRequest} updateUserInfoRequest
|
|
5816
|
+
* @param {*} [options] Override http request option.
|
|
5817
|
+
* @throws {RequiredError}
|
|
5818
|
+
*/
|
|
5819
|
+
userManageAdminServiceUpdateUserInfo(updateUserInfoRequest: UpdateUserInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserInfoResponse, any, {}>>;
|
|
5820
|
+
}
|
|
3976
5821
|
/**
|
|
3977
5822
|
* UserModelServiceApi - axios parameter creator
|
|
3978
5823
|
*/
|
|
@@ -4060,11 +5905,14 @@ export declare const UserPayServiceApiAxiosParamCreator: (configuration?: Config
|
|
|
4060
5905
|
/**
|
|
4061
5906
|
*
|
|
4062
5907
|
* @param {string} [currencyCode]
|
|
4063
|
-
* @param {
|
|
5908
|
+
* @param {string} [chargeAmount]
|
|
5909
|
+
* @param {boolean} [redirect]
|
|
5910
|
+
* @param {string} [successUrl]
|
|
5911
|
+
* @param {string} [cancelUrl]
|
|
4064
5912
|
* @param {*} [options] Override http request option.
|
|
4065
5913
|
* @throws {RequiredError}
|
|
4066
5914
|
*/
|
|
4067
|
-
userPayServiceUserPayStripeCheckout: (currencyCode?: string, chargeAmount?:
|
|
5915
|
+
userPayServiceUserPayStripeCheckout: (currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4068
5916
|
};
|
|
4069
5917
|
/**
|
|
4070
5918
|
* UserPayServiceApi - functional programming interface
|
|
@@ -4073,11 +5921,14 @@ export declare const UserPayServiceApiFp: (configuration?: Configuration) => {
|
|
|
4073
5921
|
/**
|
|
4074
5922
|
*
|
|
4075
5923
|
* @param {string} [currencyCode]
|
|
4076
|
-
* @param {
|
|
5924
|
+
* @param {string} [chargeAmount]
|
|
5925
|
+
* @param {boolean} [redirect]
|
|
5926
|
+
* @param {string} [successUrl]
|
|
5927
|
+
* @param {string} [cancelUrl]
|
|
4077
5928
|
* @param {*} [options] Override http request option.
|
|
4078
5929
|
* @throws {RequiredError}
|
|
4079
5930
|
*/
|
|
4080
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
5931
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPayStripeCheckoutResponse>>;
|
|
4081
5932
|
};
|
|
4082
5933
|
/**
|
|
4083
5934
|
* UserPayServiceApi - factory interface
|
|
@@ -4086,11 +5937,14 @@ export declare const UserPayServiceApiFactory: (configuration?: Configuration, b
|
|
|
4086
5937
|
/**
|
|
4087
5938
|
*
|
|
4088
5939
|
* @param {string} [currencyCode]
|
|
4089
|
-
* @param {
|
|
5940
|
+
* @param {string} [chargeAmount]
|
|
5941
|
+
* @param {boolean} [redirect]
|
|
5942
|
+
* @param {string} [successUrl]
|
|
5943
|
+
* @param {string} [cancelUrl]
|
|
4090
5944
|
* @param {*} [options] Override http request option.
|
|
4091
5945
|
* @throws {RequiredError}
|
|
4092
5946
|
*/
|
|
4093
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
5947
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
|
|
4094
5948
|
};
|
|
4095
5949
|
/**
|
|
4096
5950
|
* UserPayServiceApi - interface
|
|
@@ -4099,11 +5953,14 @@ export interface UserPayServiceApiInterface {
|
|
|
4099
5953
|
/**
|
|
4100
5954
|
*
|
|
4101
5955
|
* @param {string} [currencyCode]
|
|
4102
|
-
* @param {
|
|
5956
|
+
* @param {string} [chargeAmount]
|
|
5957
|
+
* @param {boolean} [redirect]
|
|
5958
|
+
* @param {string} [successUrl]
|
|
5959
|
+
* @param {string} [cancelUrl]
|
|
4103
5960
|
* @param {*} [options] Override http request option.
|
|
4104
5961
|
* @throws {RequiredError}
|
|
4105
5962
|
*/
|
|
4106
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
5963
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
|
|
4107
5964
|
}
|
|
4108
5965
|
/**
|
|
4109
5966
|
* UserPayServiceApi - object-oriented interface
|
|
@@ -4112,11 +5969,14 @@ export declare class UserPayServiceApi extends BaseAPI implements UserPayService
|
|
|
4112
5969
|
/**
|
|
4113
5970
|
*
|
|
4114
5971
|
* @param {string} [currencyCode]
|
|
4115
|
-
* @param {
|
|
5972
|
+
* @param {string} [chargeAmount]
|
|
5973
|
+
* @param {boolean} [redirect]
|
|
5974
|
+
* @param {string} [successUrl]
|
|
5975
|
+
* @param {string} [cancelUrl]
|
|
4116
5976
|
* @param {*} [options] Override http request option.
|
|
4117
5977
|
* @throws {RequiredError}
|
|
4118
5978
|
*/
|
|
4119
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
5979
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: string, redirect?: boolean, successUrl?: string, cancelUrl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPayStripeCheckoutResponse, any, {}>>;
|
|
4120
5980
|
}
|
|
4121
5981
|
/**
|
|
4122
5982
|
* UserPoralServiceApi - axios parameter creator
|