@cherryin/api-client 0.0.3 → 0.0.4
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 +11 -73
- package/README.md +16 -110
- package/api.ts +749 -3348
- package/dist/api.d.ts +614 -2017
- package/dist/api.js +922 -2828
- package/dist/esm/api.d.ts +614 -2017
- package/dist/esm/api.js +902 -2803
- package/docs/AIModelAdminServiceApi.md +0 -53
- 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/{AuthResetPasswordResponse.md → AdminAuthFlowInitResponse.md} +5 -5
- package/docs/AdminAuthServiceApi.md +81 -0
- package/docs/AuthFlowResult.md +23 -0
- package/docs/{Auth2IdToken.md → AuthTokenPair.md} +8 -10
- 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/UserAuthFlowCodeResponse.md +26 -0
- package/docs/UserAuthFlowInitResponse.md +28 -0
- package/docs/{RemoteConfigItemDeleteRequest.md → UserAuthFlowInitResponseOAuthResult.md} +5 -5
- package/docs/{AuthRequestPasswordResetResponse.md → UserAuthFlowOAuthCallbackRequest.md} +7 -7
- package/docs/{AuthSendVerificationEmailResponse.md → UserAuthFlowOAuthCallbackResponse.md} +7 -5
- package/docs/{AuthRevokeSessionRequest.md → UserAuthInfo.md} +5 -5
- package/docs/UserAuthServiceApi.md +279 -0
- package/docs/UserInfo.md +8 -14
- package/docs/UserPayServiceApi.md +3 -12
- package/package.json +1 -1
- package/docs/AIModelCheckConnectionResponse.md +0 -25
- package/docs/AIModelCheckItem.md +0 -32
- package/docs/AIModelCheckResult.md +0 -23
- package/docs/Auth2Account.md +0 -33
- package/docs/Auth2Admin.md +0 -33
- package/docs/Auth2AdminServiceApi.md +0 -469
- package/docs/Auth2AdminSession.md +0 -35
- package/docs/Auth2Session.md +0 -35
- package/docs/Auth2User.md +0 -33
- package/docs/Auth2UserServiceApi.md +0 -1203
- package/docs/AuthAdminChangePasswordRequest.md +0 -24
- package/docs/AuthAdminChangePasswordResponse.md +0 -26
- package/docs/AuthAdminGetSessionResponse.md +0 -26
- package/docs/AuthAdminListSessionsResponse.md +0 -24
- package/docs/AuthAdminRevokeOtherSessionsResponse.md +0 -24
- package/docs/AuthAdminRevokeSessionRequest.md +0 -20
- package/docs/AuthAdminRevokeSessionResponse.md +0 -24
- package/docs/AuthAdminRevokeSessionsResponse.md +0 -24
- package/docs/AuthAdminSignInEmailRequest.md +0 -26
- package/docs/AuthAdminSignInEmailResponse.md +0 -26
- package/docs/AuthAdminSignOutResponse.md +0 -24
- package/docs/AuthAdminUpdateUserRequest.md +0 -22
- package/docs/AuthAdminUpdateUserResponse.md +0 -24
- package/docs/AuthChangeEmailRequest.md +0 -22
- package/docs/AuthChangeEmailResponse.md +0 -26
- package/docs/AuthChangePasswordRequest.md +0 -24
- package/docs/AuthChangePasswordResponse.md +0 -26
- package/docs/AuthDeleteUserRequest.md +0 -24
- package/docs/AuthDeleteUserResponse.md +0 -24
- package/docs/AuthGetAccessTokenRequest.md +0 -24
- package/docs/AuthGetAccessTokenResponse.md +0 -34
- package/docs/AuthGetAccountInfoResponse.md +0 -24
- package/docs/AuthGetSessionResponse.md +0 -26
- package/docs/AuthLinkSocialRequest.md +0 -30
- package/docs/AuthLinkSocialResponse.md +0 -28
- package/docs/AuthListAccountsResponse.md +0 -24
- package/docs/AuthListSessionsResponse.md +0 -24
- package/docs/AuthRefreshTokenRequest.md +0 -24
- package/docs/AuthRefreshTokenResponse.md +0 -34
- package/docs/AuthRequestPasswordResetRequest.md +0 -22
- package/docs/AuthResetPasswordRequest.md +0 -22
- package/docs/AuthRevokeOtherSessionsResponse.md +0 -24
- package/docs/AuthRevokeSessionResponse.md +0 -24
- package/docs/AuthRevokeSessionsResponse.md +0 -24
- package/docs/AuthSendVerificationEmailRequest.md +0 -22
- package/docs/AuthSignInEmailRequest.md +0 -26
- package/docs/AuthSignInEmailResponse.md +0 -30
- package/docs/AuthSignInSocialRequest.md +0 -30
- package/docs/AuthSignInSocialResponse.md +0 -30
- package/docs/AuthSignOutResponse.md +0 -24
- package/docs/AuthSignUpEmailRequest.md +0 -32
- package/docs/AuthSignUpEmailResponse.md +0 -28
- package/docs/AuthUnlinkAccountRequest.md +0 -22
- package/docs/AuthUnlinkAccountResponse.md +0 -24
- package/docs/AuthUpdateUserRequest.md +0 -22
- package/docs/AuthUpdateUserResponse.md +0 -24
- package/docs/AuthVerifyEmailResponse.md +0 -24
- package/docs/ConfigItem.md +0 -32
- package/docs/ConfigItemHistory.md +0 -22
- package/docs/RemoteConfigAdminServiceApi.md +0 -287
- package/docs/RemoteConfigItemCreateRequest.md +0 -20
- package/docs/RemoteConfigItemCreateResponse.md +0 -24
- package/docs/RemoteConfigItemDeleteResponse.md +0 -22
- package/docs/RemoteConfigItemGetResponse.md +0 -24
- package/docs/RemoteConfigItemListResponse.md +0 -26
- package/docs/RemoteConfigItemUpdateRequest.md +0 -22
- package/docs/RemoteConfigItemUpdateResponse.md +0 -24
package/dist/api.d.ts
CHANGED
|
@@ -87,60 +87,6 @@ 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
|
-
}
|
|
144
90
|
/**
|
|
145
91
|
* AIModelCreateRequest 创建 AIModel 的请求(草稿状态) Request message for creating a new AI model (draft status)
|
|
146
92
|
*/
|
|
@@ -183,9 +129,12 @@ export interface AIModelCreateRequest {
|
|
|
183
129
|
*/
|
|
184
130
|
export interface AIModelCreateResponse {
|
|
185
131
|
/**
|
|
186
|
-
* code 响应状态码,
|
|
132
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
187
133
|
*/
|
|
188
134
|
'code'?: string;
|
|
135
|
+
/**
|
|
136
|
+
* message 响应消息 Response message
|
|
137
|
+
*/
|
|
189
138
|
'message'?: string;
|
|
190
139
|
/**
|
|
191
140
|
* data 创建成功后返回的 AIModel 信息 AIModel information returned after successful creation
|
|
@@ -206,9 +155,12 @@ export interface AIModelDeleteRequest {
|
|
|
206
155
|
*/
|
|
207
156
|
export interface AIModelDeleteResponse {
|
|
208
157
|
/**
|
|
209
|
-
* code 响应状态码,
|
|
158
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
210
159
|
*/
|
|
211
160
|
'code'?: string;
|
|
161
|
+
/**
|
|
162
|
+
* message 响应消息 Response message
|
|
163
|
+
*/
|
|
212
164
|
'message'?: string;
|
|
213
165
|
}
|
|
214
166
|
/**
|
|
@@ -225,9 +177,12 @@ export interface AIModelDisableRequest {
|
|
|
225
177
|
*/
|
|
226
178
|
export interface AIModelDisableResponse {
|
|
227
179
|
/**
|
|
228
|
-
* code 响应状态码,
|
|
180
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
229
181
|
*/
|
|
230
182
|
'code'?: string;
|
|
183
|
+
/**
|
|
184
|
+
* message 响应消息 Response message
|
|
185
|
+
*/
|
|
231
186
|
'message'?: string;
|
|
232
187
|
/**
|
|
233
188
|
* data 禁用后的 AIModel 信息 Disabled AI model information
|
|
@@ -248,9 +203,12 @@ export interface AIModelDiscountConfig {
|
|
|
248
203
|
*/
|
|
249
204
|
export interface AIModelGetResponse {
|
|
250
205
|
/**
|
|
251
|
-
* code 响应状态码,
|
|
206
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
252
207
|
*/
|
|
253
208
|
'code'?: string;
|
|
209
|
+
/**
|
|
210
|
+
* message 响应消息 Response message
|
|
211
|
+
*/
|
|
254
212
|
'message'?: string;
|
|
255
213
|
/**
|
|
256
214
|
* data AIModel 信息 AIModel information
|
|
@@ -262,9 +220,12 @@ export interface AIModelGetResponse {
|
|
|
262
220
|
*/
|
|
263
221
|
export interface AIModelListResponse {
|
|
264
222
|
/**
|
|
265
|
-
* code 响应状态码,
|
|
223
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
266
224
|
*/
|
|
267
225
|
'code'?: string;
|
|
226
|
+
/**
|
|
227
|
+
* message 响应消息 Response message
|
|
228
|
+
*/
|
|
268
229
|
'message'?: string;
|
|
269
230
|
/**
|
|
270
231
|
* list AIModel 列表 List of AI models
|
|
@@ -374,9 +335,12 @@ export interface AIModelPublishRequest {
|
|
|
374
335
|
*/
|
|
375
336
|
export interface AIModelPublishResponse {
|
|
376
337
|
/**
|
|
377
|
-
* code 响应状态码,
|
|
338
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
378
339
|
*/
|
|
379
340
|
'code'?: string;
|
|
341
|
+
/**
|
|
342
|
+
* message 响应消息 Response message
|
|
343
|
+
*/
|
|
380
344
|
'message'?: string;
|
|
381
345
|
/**
|
|
382
346
|
* data 发布后的 AIModel 信息 Published AI model information
|
|
@@ -429,9 +393,12 @@ export interface AIModelUpdateRequest {
|
|
|
429
393
|
*/
|
|
430
394
|
export interface AIModelUpdateResponse {
|
|
431
395
|
/**
|
|
432
|
-
* code 响应状态码,
|
|
396
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
433
397
|
*/
|
|
434
398
|
'code'?: string;
|
|
399
|
+
/**
|
|
400
|
+
* message 响应消息 Response message
|
|
401
|
+
*/
|
|
435
402
|
'message'?: string;
|
|
436
403
|
/**
|
|
437
404
|
* data 更新后的 AIModel 信息 Updated AI model information
|
|
@@ -446,6 +413,14 @@ export interface AWSAuth {
|
|
|
446
413
|
'ak'?: string;
|
|
447
414
|
'sk'?: string;
|
|
448
415
|
}
|
|
416
|
+
export interface AdminAuthFlowInitResponse {
|
|
417
|
+
'code'?: string;
|
|
418
|
+
'message'?: string;
|
|
419
|
+
/**
|
|
420
|
+
* 对于部分流程(例如邮箱密码登录),只需要 init 即可完成授权登录态,则会直接返回 AuthData 否则需要继续走完后续流程和调用相关接口.
|
|
421
|
+
*/
|
|
422
|
+
'auth_result'?: AuthFlowResult;
|
|
423
|
+
}
|
|
449
424
|
/**
|
|
450
425
|
* AudioPricing 音频计费 Audio pricing
|
|
451
426
|
*/
|
|
@@ -482,375 +457,20 @@ export interface AudioPricing {
|
|
|
482
457
|
};
|
|
483
458
|
}
|
|
484
459
|
/**
|
|
485
|
-
*
|
|
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)
|
|
460
|
+
* AuthFlowResult 授权登录态获取成功后的数据
|
|
533
461
|
*/
|
|
534
|
-
export interface
|
|
535
|
-
'
|
|
536
|
-
'
|
|
537
|
-
'expires_at'?: string;
|
|
538
|
-
'created_at'?: string;
|
|
539
|
-
'updated_at'?: string;
|
|
540
|
-
'ip_address'?: string;
|
|
541
|
-
'user_agent'?: string;
|
|
542
|
-
'user_id'?: string;
|
|
462
|
+
export interface AuthFlowResult {
|
|
463
|
+
'is_authed'?: boolean;
|
|
464
|
+
'auth_tokens'?: AuthTokenPair;
|
|
543
465
|
}
|
|
544
466
|
/**
|
|
545
|
-
*
|
|
467
|
+
* AuthTokenPair 登录态授权 AT + RT
|
|
546
468
|
*/
|
|
547
|
-
export interface
|
|
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 AuthRefreshTokenRequest {
|
|
705
|
-
'provider_id'?: string;
|
|
706
|
-
'account_id'?: string;
|
|
707
|
-
'user_id'?: string;
|
|
708
|
-
}
|
|
709
|
-
export interface AuthRefreshTokenResponse {
|
|
710
|
-
'code'?: string;
|
|
711
|
-
'message'?: string;
|
|
712
|
-
'token_type'?: string;
|
|
713
|
-
'id_token'?: string;
|
|
469
|
+
export interface AuthTokenPair {
|
|
714
470
|
'access_token'?: string;
|
|
471
|
+
'access_expires_at'?: string;
|
|
715
472
|
'refresh_token'?: string;
|
|
716
|
-
'
|
|
717
|
-
'refresh_token_expires_at'?: string;
|
|
718
|
-
}
|
|
719
|
-
export interface AuthRequestPasswordResetRequest {
|
|
720
|
-
'email'?: string;
|
|
721
|
-
'redirect_to'?: string;
|
|
722
|
-
}
|
|
723
|
-
export interface AuthRequestPasswordResetResponse {
|
|
724
|
-
'code'?: string;
|
|
725
|
-
'message'?: string;
|
|
726
|
-
'status'?: boolean;
|
|
727
|
-
}
|
|
728
|
-
export interface AuthResetPasswordRequest {
|
|
729
|
-
'new_password'?: string;
|
|
730
|
-
'token'?: string;
|
|
731
|
-
}
|
|
732
|
-
export interface AuthResetPasswordResponse {
|
|
733
|
-
'code'?: string;
|
|
734
|
-
'message'?: string;
|
|
735
|
-
'status'?: boolean;
|
|
736
|
-
}
|
|
737
|
-
export interface AuthRevokeOtherSessionsResponse {
|
|
738
|
-
'code'?: string;
|
|
739
|
-
'message'?: string;
|
|
740
|
-
'status'?: boolean;
|
|
741
|
-
}
|
|
742
|
-
export interface AuthRevokeSessionRequest {
|
|
743
|
-
'token'?: string;
|
|
744
|
-
}
|
|
745
|
-
export interface AuthRevokeSessionResponse {
|
|
746
|
-
'code'?: string;
|
|
747
|
-
'message'?: string;
|
|
748
|
-
'status'?: boolean;
|
|
749
|
-
}
|
|
750
|
-
export interface AuthRevokeSessionsResponse {
|
|
751
|
-
'code'?: string;
|
|
752
|
-
'message'?: string;
|
|
753
|
-
'status'?: boolean;
|
|
754
|
-
}
|
|
755
|
-
export interface AuthSendVerificationEmailRequest {
|
|
756
|
-
'email'?: string;
|
|
757
|
-
'callback_url'?: string;
|
|
758
|
-
}
|
|
759
|
-
export interface AuthSendVerificationEmailResponse {
|
|
760
|
-
'code'?: string;
|
|
761
|
-
'message'?: string;
|
|
762
|
-
'status'?: boolean;
|
|
763
|
-
}
|
|
764
|
-
export interface AuthSignInEmailRequest {
|
|
765
|
-
'email'?: string;
|
|
766
|
-
'password'?: string;
|
|
767
|
-
'callback_url'?: string;
|
|
768
|
-
'remember_me'?: boolean;
|
|
769
|
-
}
|
|
770
|
-
export interface AuthSignInEmailResponse {
|
|
771
|
-
'code'?: string;
|
|
772
|
-
'message'?: string;
|
|
773
|
-
'redirect'?: boolean;
|
|
774
|
-
'token'?: string;
|
|
775
|
-
'url'?: string;
|
|
776
|
-
'user'?: Auth2User;
|
|
777
|
-
}
|
|
778
|
-
export interface AuthSignInSocialRequest {
|
|
779
|
-
'provider'?: string;
|
|
780
|
-
'callback_url'?: string;
|
|
781
|
-
'error_callback_url'?: string;
|
|
782
|
-
'disable_redirect'?: boolean;
|
|
783
|
-
'id_token'?: Auth2IdToken;
|
|
784
|
-
'scopes'?: Array<string>;
|
|
785
|
-
}
|
|
786
|
-
export interface AuthSignInSocialResponse {
|
|
787
|
-
'code'?: string;
|
|
788
|
-
'message'?: string;
|
|
789
|
-
'redirect'?: boolean;
|
|
790
|
-
'token'?: string;
|
|
791
|
-
'url'?: string;
|
|
792
|
-
'user'?: Auth2User;
|
|
793
|
-
}
|
|
794
|
-
export interface AuthSignOutResponse {
|
|
795
|
-
'code'?: string;
|
|
796
|
-
'message'?: string;
|
|
797
|
-
'success'?: boolean;
|
|
798
|
-
}
|
|
799
|
-
export interface AuthSignUpEmailRequest {
|
|
800
|
-
'name'?: string;
|
|
801
|
-
'email'?: string;
|
|
802
|
-
'password'?: string;
|
|
803
|
-
'image'?: string;
|
|
804
|
-
'callback_url'?: string;
|
|
805
|
-
'remember_me'?: boolean;
|
|
806
|
-
'disable_redirect'?: boolean;
|
|
807
|
-
}
|
|
808
|
-
export interface AuthSignUpEmailResponse {
|
|
809
|
-
'code'?: string;
|
|
810
|
-
'message'?: string;
|
|
811
|
-
'redirect'?: boolean;
|
|
812
|
-
'url'?: string;
|
|
813
|
-
'user'?: Auth2User;
|
|
814
|
-
}
|
|
815
|
-
export interface AuthUnlinkAccountRequest {
|
|
816
|
-
'provider_id'?: string;
|
|
817
|
-
'account_id'?: string;
|
|
818
|
-
}
|
|
819
|
-
export interface AuthUnlinkAccountResponse {
|
|
820
|
-
'code'?: string;
|
|
821
|
-
'message'?: string;
|
|
822
|
-
'status'?: boolean;
|
|
823
|
-
}
|
|
824
|
-
export interface AuthUpdateUserRequest {
|
|
825
|
-
'name'?: string;
|
|
826
|
-
'image'?: string;
|
|
827
|
-
}
|
|
828
|
-
export interface AuthUpdateUserResponse {
|
|
829
|
-
'code'?: string;
|
|
830
|
-
'message'?: string;
|
|
831
|
-
'user'?: Auth2User;
|
|
832
|
-
}
|
|
833
|
-
export interface AuthVerifyEmailResponse {
|
|
834
|
-
'code'?: string;
|
|
835
|
-
'message'?: string;
|
|
836
|
-
'user'?: Auth2User;
|
|
837
|
-
}
|
|
838
|
-
export interface ConfigItem {
|
|
839
|
-
'id'?: string;
|
|
840
|
-
'key'?: string;
|
|
841
|
-
'values'?: {
|
|
842
|
-
[key: string]: any;
|
|
843
|
-
};
|
|
844
|
-
'payload'?: {
|
|
845
|
-
[key: string]: any;
|
|
846
|
-
};
|
|
847
|
-
'createdAt'?: string;
|
|
848
|
-
'updatedAt'?: string;
|
|
849
|
-
'deletedAt'?: string;
|
|
850
|
-
}
|
|
851
|
-
export interface ConfigItemHistory {
|
|
852
|
-
'item'?: ConfigItem;
|
|
853
|
-
'history'?: Array<ConfigItem>;
|
|
473
|
+
'refresh_expires_at'?: string;
|
|
854
474
|
}
|
|
855
475
|
export interface DiscountCreateRequest {
|
|
856
476
|
'name'?: string;
|
|
@@ -1346,9 +966,12 @@ export interface ProviderCreateRequest {
|
|
|
1346
966
|
*/
|
|
1347
967
|
export interface ProviderCreateResponse {
|
|
1348
968
|
/**
|
|
1349
|
-
* code 响应状态码,
|
|
969
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1350
970
|
*/
|
|
1351
971
|
'code'?: string;
|
|
972
|
+
/**
|
|
973
|
+
* message 响应消息 Response message
|
|
974
|
+
*/
|
|
1352
975
|
'message'?: string;
|
|
1353
976
|
/**
|
|
1354
977
|
* data 创建成功后返回的 Provider 信息 Provider information returned after successful creation
|
|
@@ -1369,9 +992,12 @@ export interface ProviderDeleteRequest {
|
|
|
1369
992
|
*/
|
|
1370
993
|
export interface ProviderDeleteResponse {
|
|
1371
994
|
/**
|
|
1372
|
-
* code 响应状态码,
|
|
995
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1373
996
|
*/
|
|
1374
997
|
'code'?: string;
|
|
998
|
+
/**
|
|
999
|
+
* message 响应消息 Response message
|
|
1000
|
+
*/
|
|
1375
1001
|
'message'?: string;
|
|
1376
1002
|
}
|
|
1377
1003
|
/**
|
|
@@ -1379,9 +1005,12 @@ export interface ProviderDeleteResponse {
|
|
|
1379
1005
|
*/
|
|
1380
1006
|
export interface ProviderGetResponse {
|
|
1381
1007
|
/**
|
|
1382
|
-
* code 响应状态码,
|
|
1008
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1383
1009
|
*/
|
|
1384
1010
|
'code'?: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* message 响应消息 Response message
|
|
1013
|
+
*/
|
|
1385
1014
|
'message'?: string;
|
|
1386
1015
|
/**
|
|
1387
1016
|
* data Provider 信息 Provider information
|
|
@@ -1393,9 +1022,12 @@ export interface ProviderGetResponse {
|
|
|
1393
1022
|
*/
|
|
1394
1023
|
export interface ProviderListResponse {
|
|
1395
1024
|
/**
|
|
1396
|
-
* code 响应状态码,
|
|
1025
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1397
1026
|
*/
|
|
1398
1027
|
'code'?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* message 响应消息 Response message
|
|
1030
|
+
*/
|
|
1399
1031
|
'message'?: string;
|
|
1400
1032
|
/**
|
|
1401
1033
|
* list Provider 列表 List of providers
|
|
@@ -1477,9 +1109,12 @@ export interface ProviderModelCreateRequest {
|
|
|
1477
1109
|
*/
|
|
1478
1110
|
export interface ProviderModelCreateResponse {
|
|
1479
1111
|
/**
|
|
1480
|
-
* code 响应状态码,
|
|
1112
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1481
1113
|
*/
|
|
1482
1114
|
'code'?: string;
|
|
1115
|
+
/**
|
|
1116
|
+
* message 响应消息 Response message
|
|
1117
|
+
*/
|
|
1483
1118
|
'message'?: string;
|
|
1484
1119
|
/**
|
|
1485
1120
|
* data 创建成功后返回的 ProviderModel 信息 ProviderModel information returned after successful creation
|
|
@@ -1500,9 +1135,12 @@ export interface ProviderModelDeleteRequest {
|
|
|
1500
1135
|
*/
|
|
1501
1136
|
export interface ProviderModelDeleteResponse {
|
|
1502
1137
|
/**
|
|
1503
|
-
* code 响应状态码,
|
|
1138
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1504
1139
|
*/
|
|
1505
1140
|
'code'?: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* message 响应消息 Response message
|
|
1143
|
+
*/
|
|
1506
1144
|
'message'?: string;
|
|
1507
1145
|
}
|
|
1508
1146
|
/**
|
|
@@ -1510,9 +1148,12 @@ export interface ProviderModelDeleteResponse {
|
|
|
1510
1148
|
*/
|
|
1511
1149
|
export interface ProviderModelGetResponse {
|
|
1512
1150
|
/**
|
|
1513
|
-
* code 响应状态码,
|
|
1151
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1514
1152
|
*/
|
|
1515
1153
|
'code'?: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* message 响应消息 Response message
|
|
1156
|
+
*/
|
|
1516
1157
|
'message'?: string;
|
|
1517
1158
|
/**
|
|
1518
1159
|
* data ProviderModel 信息 ProviderModel information
|
|
@@ -1524,12 +1165,15 @@ export interface ProviderModelGetResponse {
|
|
|
1524
1165
|
*/
|
|
1525
1166
|
export interface ProviderModelListResponse {
|
|
1526
1167
|
/**
|
|
1527
|
-
* code 响应状态码,
|
|
1168
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1528
1169
|
*/
|
|
1529
1170
|
'code'?: string;
|
|
1530
|
-
'message'?: string;
|
|
1531
1171
|
/**
|
|
1532
|
-
*
|
|
1172
|
+
* message 响应消息 Response message
|
|
1173
|
+
*/
|
|
1174
|
+
'message'?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* list ProviderModel 列表 List of provider models
|
|
1533
1177
|
*/
|
|
1534
1178
|
'list'?: Array<ProviderModel>;
|
|
1535
1179
|
/**
|
|
@@ -1584,9 +1228,12 @@ export interface ProviderModelUpdateRequest {
|
|
|
1584
1228
|
*/
|
|
1585
1229
|
export interface ProviderModelUpdateResponse {
|
|
1586
1230
|
/**
|
|
1587
|
-
* code 响应状态码,
|
|
1231
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1588
1232
|
*/
|
|
1589
1233
|
'code'?: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* message 响应消息 Response message
|
|
1236
|
+
*/
|
|
1590
1237
|
'message'?: string;
|
|
1591
1238
|
/**
|
|
1592
1239
|
* data 更新后的 ProviderModel 信息 Updated provider model information
|
|
@@ -1636,50 +1283,18 @@ export interface ProviderUpdateRequest {
|
|
|
1636
1283
|
*/
|
|
1637
1284
|
export interface ProviderUpdateResponse {
|
|
1638
1285
|
/**
|
|
1639
|
-
* code 响应状态码,
|
|
1286
|
+
* code 响应状态码,0 表示成功 Response code, 0 indicates success
|
|
1640
1287
|
*/
|
|
1641
1288
|
'code'?: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* message 响应消息 Response message
|
|
1291
|
+
*/
|
|
1642
1292
|
'message'?: string;
|
|
1643
1293
|
/**
|
|
1644
1294
|
* data 更新后的 Provider 信息 Updated provider information
|
|
1645
1295
|
*/
|
|
1646
1296
|
'data'?: Provider;
|
|
1647
1297
|
}
|
|
1648
|
-
export interface RemoteConfigItemCreateRequest {
|
|
1649
|
-
'item'?: ConfigItem;
|
|
1650
|
-
}
|
|
1651
|
-
export interface RemoteConfigItemCreateResponse {
|
|
1652
|
-
'code'?: string;
|
|
1653
|
-
'message'?: string;
|
|
1654
|
-
'item'?: ConfigItem;
|
|
1655
|
-
}
|
|
1656
|
-
export interface RemoteConfigItemDeleteRequest {
|
|
1657
|
-
'key'?: string;
|
|
1658
|
-
}
|
|
1659
|
-
export interface RemoteConfigItemDeleteResponse {
|
|
1660
|
-
'code'?: string;
|
|
1661
|
-
'message'?: string;
|
|
1662
|
-
}
|
|
1663
|
-
export interface RemoteConfigItemGetResponse {
|
|
1664
|
-
'code'?: string;
|
|
1665
|
-
'message'?: string;
|
|
1666
|
-
'data'?: ConfigItemHistory;
|
|
1667
|
-
}
|
|
1668
|
-
export interface RemoteConfigItemListResponse {
|
|
1669
|
-
'code'?: string;
|
|
1670
|
-
'message'?: string;
|
|
1671
|
-
'list'?: Array<ConfigItem>;
|
|
1672
|
-
'total'?: string;
|
|
1673
|
-
}
|
|
1674
|
-
export interface RemoteConfigItemUpdateRequest {
|
|
1675
|
-
'key'?: string;
|
|
1676
|
-
'item'?: ConfigItem;
|
|
1677
|
-
}
|
|
1678
|
-
export interface RemoteConfigItemUpdateResponse {
|
|
1679
|
-
'code'?: string;
|
|
1680
|
-
'message'?: string;
|
|
1681
|
-
'item'?: ConfigItem;
|
|
1682
|
-
}
|
|
1683
1298
|
/**
|
|
1684
1299
|
* RequestPricing 请求级别计费 Request-level pricing
|
|
1685
1300
|
*/
|
|
@@ -2007,6 +1622,51 @@ export interface UserAPIKeyUpdateResponse {
|
|
|
2007
1622
|
*/
|
|
2008
1623
|
'data'?: UserAPIKey;
|
|
2009
1624
|
}
|
|
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
|
+
}
|
|
2010
1670
|
export interface UserBalance {
|
|
2011
1671
|
'id'?: string;
|
|
2012
1672
|
'created_at'?: string;
|
|
@@ -2119,13 +1779,10 @@ export interface UserBalanceListResponse {
|
|
|
2119
1779
|
'total'?: string;
|
|
2120
1780
|
}
|
|
2121
1781
|
export interface UserInfo {
|
|
2122
|
-
'
|
|
2123
|
-
'
|
|
2124
|
-
'
|
|
2125
|
-
'
|
|
2126
|
-
'image'?: string;
|
|
2127
|
-
'created_at'?: string;
|
|
2128
|
-
'updated_at'?: string;
|
|
1782
|
+
'user_id'?: string;
|
|
1783
|
+
'display_name'?: string;
|
|
1784
|
+
'avatar_url'?: string;
|
|
1785
|
+
'contact_email'?: string;
|
|
2129
1786
|
}
|
|
2130
1787
|
export interface UserLabelItem {
|
|
2131
1788
|
'uid'?: string;
|
|
@@ -2280,13 +1937,6 @@ export interface VideoPricing {
|
|
|
2280
1937
|
* AIModelAdminServiceApi - axios parameter creator
|
|
2281
1938
|
*/
|
|
2282
1939
|
export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2283
|
-
/**
|
|
2284
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2285
|
-
* @param {Array<string>} [aiModelNames]
|
|
2286
|
-
* @param {*} [options] Override http request option.
|
|
2287
|
-
* @throws {RequiredError}
|
|
2288
|
-
*/
|
|
2289
|
-
aIModelAdminServiceAIModelCheckConnection: (aiModelNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2290
1940
|
/**
|
|
2291
1941
|
* 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
|
|
2292
1942
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2346,13 +1996,6 @@ export declare const AIModelAdminServiceApiAxiosParamCreator: (configuration?: C
|
|
|
2346
1996
|
* AIModelAdminServiceApi - functional programming interface
|
|
2347
1997
|
*/
|
|
2348
1998
|
export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) => {
|
|
2349
|
-
/**
|
|
2350
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2351
|
-
* @param {Array<string>} [aiModelNames]
|
|
2352
|
-
* @param {*} [options] Override http request option.
|
|
2353
|
-
* @throws {RequiredError}
|
|
2354
|
-
*/
|
|
2355
|
-
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AIModelCheckConnectionResponse>>;
|
|
2356
1999
|
/**
|
|
2357
2000
|
* 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
|
|
2358
2001
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2412,13 +2055,6 @@ export declare const AIModelAdminServiceApiFp: (configuration?: Configuration) =
|
|
|
2412
2055
|
* AIModelAdminServiceApi - factory interface
|
|
2413
2056
|
*/
|
|
2414
2057
|
export declare const AIModelAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2415
|
-
/**
|
|
2416
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2417
|
-
* @param {Array<string>} [aiModelNames]
|
|
2418
|
-
* @param {*} [options] Override http request option.
|
|
2419
|
-
* @throws {RequiredError}
|
|
2420
|
-
*/
|
|
2421
|
-
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
2422
2058
|
/**
|
|
2423
2059
|
* 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
|
|
2424
2060
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2478,13 +2114,6 @@ export declare const AIModelAdminServiceApiFactory: (configuration?: Configurati
|
|
|
2478
2114
|
* AIModelAdminServiceApi - interface
|
|
2479
2115
|
*/
|
|
2480
2116
|
export interface AIModelAdminServiceApiInterface {
|
|
2481
|
-
/**
|
|
2482
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2483
|
-
* @param {Array<string>} [aiModelNames]
|
|
2484
|
-
* @param {*} [options] Override http request option.
|
|
2485
|
-
* @throws {RequiredError}
|
|
2486
|
-
*/
|
|
2487
|
-
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<AIModelCheckConnectionResponse>;
|
|
2488
2117
|
/**
|
|
2489
2118
|
* 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
|
|
2490
2119
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2544,13 +2173,6 @@ export interface AIModelAdminServiceApiInterface {
|
|
|
2544
2173
|
* AIModelAdminServiceApi - object-oriented interface
|
|
2545
2174
|
*/
|
|
2546
2175
|
export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAdminServiceApiInterface {
|
|
2547
|
-
/**
|
|
2548
|
-
* AIModelCheckConnection 检查 AIModel 的连接性
|
|
2549
|
-
* @param {Array<string>} [aiModelNames]
|
|
2550
|
-
* @param {*} [options] Override http request option.
|
|
2551
|
-
* @throws {RequiredError}
|
|
2552
|
-
*/
|
|
2553
|
-
aIModelAdminServiceAIModelCheckConnection(aiModelNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelCheckConnectionResponse, any, {}>>;
|
|
2554
2176
|
/**
|
|
2555
2177
|
* 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
|
|
2556
2178
|
* @param {AIModelCreateRequest} aIModelCreateRequest
|
|
@@ -2607,1403 +2229,348 @@ export declare class AIModelAdminServiceApi extends BaseAPI implements AIModelAd
|
|
|
2607
2229
|
aIModelAdminServiceAIModelUpdate(aIModelUpdateRequest: AIModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AIModelUpdateResponse, any, {}>>;
|
|
2608
2230
|
}
|
|
2609
2231
|
/**
|
|
2610
|
-
*
|
|
2232
|
+
* AdminAuthServiceApi - axios parameter creator
|
|
2611
2233
|
*/
|
|
2612
|
-
export declare const
|
|
2234
|
+
export declare const AdminAuthServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2613
2235
|
/**
|
|
2614
|
-
*
|
|
2615
|
-
* @param {
|
|
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
|
|
2616
2245
|
* @param {*} [options] Override http request option.
|
|
2617
2246
|
* @throws {RequiredError}
|
|
2618
2247
|
*/
|
|
2619
|
-
|
|
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
|
|
2252
|
+
*/
|
|
2253
|
+
export declare const AdminAuthServiceApiFp: (configuration?: Configuration) => {
|
|
2620
2254
|
/**
|
|
2621
|
-
*
|
|
2255
|
+
* 管理员登录
|
|
2256
|
+
* @param {number} [authType]
|
|
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
|
|
2622
2264
|
* @param {*} [options] Override http request option.
|
|
2623
2265
|
* @throws {RequiredError}
|
|
2624
2266
|
*/
|
|
2625
|
-
|
|
2267
|
+
adminAuthServiceAdminAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAuthFlowInitResponse>>;
|
|
2268
|
+
};
|
|
2269
|
+
/**
|
|
2270
|
+
* AdminAuthServiceApi - factory interface
|
|
2271
|
+
*/
|
|
2272
|
+
export declare const AdminAuthServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2626
2273
|
/**
|
|
2627
|
-
*
|
|
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
|
|
2628
2283
|
* @param {*} [options] Override http request option.
|
|
2629
2284
|
* @throws {RequiredError}
|
|
2630
2285
|
*/
|
|
2631
|
-
|
|
2286
|
+
adminAuthServiceAdminAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuthFlowInitResponse>;
|
|
2287
|
+
};
|
|
2288
|
+
/**
|
|
2289
|
+
* AdminAuthServiceApi - interface
|
|
2290
|
+
*/
|
|
2291
|
+
export interface AdminAuthServiceApiInterface {
|
|
2632
2292
|
/**
|
|
2633
|
-
*
|
|
2634
|
-
* @param {
|
|
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
|
|
2635
2302
|
* @param {*} [options] Override http request option.
|
|
2636
2303
|
* @throws {RequiredError}
|
|
2637
2304
|
*/
|
|
2638
|
-
|
|
2305
|
+
adminAuthServiceAdminAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuthFlowInitResponse>;
|
|
2306
|
+
}
|
|
2307
|
+
/**
|
|
2308
|
+
* AdminAuthServiceApi - object-oriented interface
|
|
2309
|
+
*/
|
|
2310
|
+
export declare class AdminAuthServiceApi extends BaseAPI implements AdminAuthServiceApiInterface {
|
|
2639
2311
|
/**
|
|
2640
|
-
*
|
|
2641
|
-
* @param {
|
|
2312
|
+
* 管理员登录
|
|
2313
|
+
* @param {number} [authType]
|
|
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
|
|
2642
2321
|
* @param {*} [options] Override http request option.
|
|
2643
2322
|
* @throws {RequiredError}
|
|
2644
2323
|
*/
|
|
2645
|
-
|
|
2324
|
+
adminAuthServiceAdminAuthFlowInit(authType?: number, authAction?: number, payloadEmailPayloadUserEmail?: string, payloadEmailPayloadUserPasswordEncrypt?: string, authAt?: string, nonce?: string, signature?: string, sessionType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminAuthFlowInitResponse, any, {}>>;
|
|
2325
|
+
}
|
|
2326
|
+
/**
|
|
2327
|
+
* DiscountAdminServiceApi - axios parameter creator
|
|
2328
|
+
*/
|
|
2329
|
+
export declare const DiscountAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2646
2330
|
/**
|
|
2647
|
-
*
|
|
2648
|
-
* @param {
|
|
2331
|
+
* DiscountCreate 创建折扣接口
|
|
2332
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
2649
2333
|
* @param {*} [options] Override http request option.
|
|
2650
2334
|
* @throws {RequiredError}
|
|
2651
2335
|
*/
|
|
2652
|
-
|
|
2336
|
+
discountAdminServiceDiscountCreate: (discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2653
2337
|
/**
|
|
2654
|
-
*
|
|
2655
|
-
* @param {
|
|
2338
|
+
* DiscountDelete 删除折扣接口
|
|
2339
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
2656
2340
|
* @param {*} [options] Override http request option.
|
|
2657
2341
|
* @throws {RequiredError}
|
|
2658
2342
|
*/
|
|
2659
|
-
|
|
2343
|
+
discountAdminServiceDiscountDelete: (discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2660
2344
|
/**
|
|
2661
|
-
*
|
|
2662
|
-
* @param {
|
|
2345
|
+
* DiscountGet 获取折扣接口
|
|
2346
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
2663
2347
|
* @param {*} [options] Override http request option.
|
|
2664
2348
|
* @throws {RequiredError}
|
|
2665
2349
|
*/
|
|
2666
|
-
|
|
2350
|
+
discountAdminServiceDiscountGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2667
2351
|
/**
|
|
2668
|
-
*
|
|
2669
|
-
* @param {
|
|
2352
|
+
* DiscountList 折扣列表接口
|
|
2353
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
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\"
|
|
2670
2356
|
* @param {*} [options] Override http request option.
|
|
2671
2357
|
* @throws {RequiredError}
|
|
2672
2358
|
*/
|
|
2673
|
-
|
|
2674
|
-
};
|
|
2675
|
-
/**
|
|
2676
|
-
* Auth2AdminServiceApi - functional programming interface
|
|
2677
|
-
*/
|
|
2678
|
-
export declare const Auth2AdminServiceApiFp: (configuration?: Configuration) => {
|
|
2359
|
+
discountAdminServiceDiscountList: (page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2679
2360
|
/**
|
|
2680
|
-
*
|
|
2681
|
-
* @param {
|
|
2361
|
+
* DiscountUpdate 更新折扣接口
|
|
2362
|
+
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
2682
2363
|
* @param {*} [options] Override http request option.
|
|
2683
2364
|
* @throws {RequiredError}
|
|
2684
2365
|
*/
|
|
2685
|
-
|
|
2366
|
+
discountAdminServiceDiscountUpdate: (discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2367
|
+
};
|
|
2368
|
+
/**
|
|
2369
|
+
* DiscountAdminServiceApi - functional programming interface
|
|
2370
|
+
*/
|
|
2371
|
+
export declare const DiscountAdminServiceApiFp: (configuration?: Configuration) => {
|
|
2686
2372
|
/**
|
|
2687
|
-
*
|
|
2373
|
+
* DiscountCreate 创建折扣接口
|
|
2374
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
2688
2375
|
* @param {*} [options] Override http request option.
|
|
2689
2376
|
* @throws {RequiredError}
|
|
2690
2377
|
*/
|
|
2691
|
-
|
|
2378
|
+
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountCreateRequest>>;
|
|
2692
2379
|
/**
|
|
2693
|
-
*
|
|
2380
|
+
* DiscountDelete 删除折扣接口
|
|
2381
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
2694
2382
|
* @param {*} [options] Override http request option.
|
|
2695
2383
|
* @throws {RequiredError}
|
|
2696
2384
|
*/
|
|
2697
|
-
|
|
2385
|
+
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountDeleteResponse>>;
|
|
2698
2386
|
/**
|
|
2699
|
-
*
|
|
2700
|
-
* @param {
|
|
2387
|
+
* DiscountGet 获取折扣接口
|
|
2388
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
2701
2389
|
* @param {*} [options] Override http request option.
|
|
2702
2390
|
* @throws {RequiredError}
|
|
2703
2391
|
*/
|
|
2704
|
-
|
|
2392
|
+
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountGetResponse>>;
|
|
2705
2393
|
/**
|
|
2706
|
-
*
|
|
2707
|
-
* @param {
|
|
2394
|
+
* DiscountList 折扣列表接口
|
|
2395
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
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\"
|
|
2708
2398
|
* @param {*} [options] Override http request option.
|
|
2709
2399
|
* @throws {RequiredError}
|
|
2710
2400
|
*/
|
|
2711
|
-
|
|
2401
|
+
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountListResponse>>;
|
|
2712
2402
|
/**
|
|
2713
|
-
*
|
|
2714
|
-
* @param {
|
|
2403
|
+
* DiscountUpdate 更新折扣接口
|
|
2404
|
+
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
2715
2405
|
* @param {*} [options] Override http request option.
|
|
2716
2406
|
* @throws {RequiredError}
|
|
2717
2407
|
*/
|
|
2718
|
-
|
|
2408
|
+
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountUpdateResponse>>;
|
|
2409
|
+
};
|
|
2410
|
+
/**
|
|
2411
|
+
* DiscountAdminServiceApi - factory interface
|
|
2412
|
+
*/
|
|
2413
|
+
export declare const DiscountAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2719
2414
|
/**
|
|
2720
|
-
*
|
|
2721
|
-
* @param {
|
|
2415
|
+
* DiscountCreate 创建折扣接口
|
|
2416
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
2722
2417
|
* @param {*} [options] Override http request option.
|
|
2723
2418
|
* @throws {RequiredError}
|
|
2724
2419
|
*/
|
|
2725
|
-
|
|
2420
|
+
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
|
|
2726
2421
|
/**
|
|
2727
|
-
*
|
|
2728
|
-
* @param {
|
|
2422
|
+
* DiscountDelete 删除折扣接口
|
|
2423
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
2729
2424
|
* @param {*} [options] Override http request option.
|
|
2730
2425
|
* @throws {RequiredError}
|
|
2731
2426
|
*/
|
|
2732
|
-
|
|
2427
|
+
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountDeleteResponse>;
|
|
2733
2428
|
/**
|
|
2734
|
-
*
|
|
2735
|
-
* @param {
|
|
2429
|
+
* DiscountGet 获取折扣接口
|
|
2430
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
2736
2431
|
* @param {*} [options] Override http request option.
|
|
2737
2432
|
* @throws {RequiredError}
|
|
2738
2433
|
*/
|
|
2739
|
-
|
|
2740
|
-
};
|
|
2741
|
-
/**
|
|
2742
|
-
* Auth2AdminServiceApi - factory interface
|
|
2743
|
-
*/
|
|
2744
|
-
export declare const Auth2AdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2434
|
+
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountGetResponse>;
|
|
2745
2435
|
/**
|
|
2746
|
-
*
|
|
2747
|
-
* @param {
|
|
2436
|
+
* DiscountList 折扣列表接口
|
|
2437
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
2438
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
2439
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
2748
2440
|
* @param {*} [options] Override http request option.
|
|
2749
2441
|
* @throws {RequiredError}
|
|
2750
2442
|
*/
|
|
2751
|
-
|
|
2443
|
+
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountListResponse>;
|
|
2752
2444
|
/**
|
|
2753
|
-
*
|
|
2445
|
+
* DiscountUpdate 更新折扣接口
|
|
2446
|
+
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
2754
2447
|
* @param {*} [options] Override http request option.
|
|
2755
2448
|
* @throws {RequiredError}
|
|
2756
2449
|
*/
|
|
2757
|
-
|
|
2450
|
+
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountUpdateResponse>;
|
|
2451
|
+
};
|
|
2452
|
+
/**
|
|
2453
|
+
* DiscountAdminServiceApi - interface
|
|
2454
|
+
*/
|
|
2455
|
+
export interface DiscountAdminServiceApiInterface {
|
|
2758
2456
|
/**
|
|
2759
|
-
*
|
|
2457
|
+
* DiscountCreate 创建折扣接口
|
|
2458
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
2760
2459
|
* @param {*} [options] Override http request option.
|
|
2761
2460
|
* @throws {RequiredError}
|
|
2762
2461
|
*/
|
|
2763
|
-
|
|
2462
|
+
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
|
|
2764
2463
|
/**
|
|
2765
|
-
*
|
|
2766
|
-
* @param {
|
|
2464
|
+
* DiscountDelete 删除折扣接口
|
|
2465
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
2767
2466
|
* @param {*} [options] Override http request option.
|
|
2768
2467
|
* @throws {RequiredError}
|
|
2769
2468
|
*/
|
|
2770
|
-
|
|
2469
|
+
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountDeleteResponse>;
|
|
2771
2470
|
/**
|
|
2772
|
-
*
|
|
2773
|
-
* @param {
|
|
2471
|
+
* DiscountGet 获取折扣接口
|
|
2472
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
2774
2473
|
* @param {*} [options] Override http request option.
|
|
2775
2474
|
* @throws {RequiredError}
|
|
2776
2475
|
*/
|
|
2777
|
-
|
|
2476
|
+
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountGetResponse>;
|
|
2778
2477
|
/**
|
|
2779
|
-
*
|
|
2780
|
-
* @param {
|
|
2478
|
+
* DiscountList 折扣列表接口
|
|
2479
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
2480
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
2481
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
2781
2482
|
* @param {*} [options] Override http request option.
|
|
2782
2483
|
* @throws {RequiredError}
|
|
2783
2484
|
*/
|
|
2784
|
-
|
|
2485
|
+
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountListResponse>;
|
|
2785
2486
|
/**
|
|
2786
|
-
*
|
|
2787
|
-
* @param {
|
|
2487
|
+
* DiscountUpdate 更新折扣接口
|
|
2488
|
+
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
2788
2489
|
* @param {*} [options] Override http request option.
|
|
2789
2490
|
* @throws {RequiredError}
|
|
2790
2491
|
*/
|
|
2791
|
-
|
|
2492
|
+
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountUpdateResponse>;
|
|
2493
|
+
}
|
|
2494
|
+
/**
|
|
2495
|
+
* DiscountAdminServiceApi - object-oriented interface
|
|
2496
|
+
*/
|
|
2497
|
+
export declare class DiscountAdminServiceApi extends BaseAPI implements DiscountAdminServiceApiInterface {
|
|
2792
2498
|
/**
|
|
2793
|
-
*
|
|
2794
|
-
* @param {
|
|
2499
|
+
* DiscountCreate 创建折扣接口
|
|
2500
|
+
* @param {DiscountCreateRequest} discountCreateRequest
|
|
2795
2501
|
* @param {*} [options] Override http request option.
|
|
2796
2502
|
* @throws {RequiredError}
|
|
2797
2503
|
*/
|
|
2798
|
-
|
|
2504
|
+
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountCreateRequest, any, {}>>;
|
|
2799
2505
|
/**
|
|
2800
|
-
*
|
|
2801
|
-
* @param {
|
|
2506
|
+
* DiscountDelete 删除折扣接口
|
|
2507
|
+
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
2802
2508
|
* @param {*} [options] Override http request option.
|
|
2803
2509
|
* @throws {RequiredError}
|
|
2804
2510
|
*/
|
|
2805
|
-
|
|
2806
|
-
};
|
|
2807
|
-
/**
|
|
2808
|
-
* Auth2AdminServiceApi - interface
|
|
2809
|
-
*/
|
|
2810
|
-
export interface Auth2AdminServiceApiInterface {
|
|
2511
|
+
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountDeleteResponse, any, {}>>;
|
|
2811
2512
|
/**
|
|
2812
|
-
*
|
|
2813
|
-
* @param {
|
|
2513
|
+
* DiscountGet 获取折扣接口
|
|
2514
|
+
* @param {string} [id] @gotags: form:\"id\"
|
|
2814
2515
|
* @param {*} [options] Override http request option.
|
|
2815
2516
|
* @throws {RequiredError}
|
|
2816
2517
|
*/
|
|
2817
|
-
|
|
2518
|
+
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountGetResponse, any, {}>>;
|
|
2818
2519
|
/**
|
|
2819
|
-
*
|
|
2520
|
+
* DiscountList 折扣列表接口
|
|
2521
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
2522
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
2523
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
2820
2524
|
* @param {*} [options] Override http request option.
|
|
2821
2525
|
* @throws {RequiredError}
|
|
2822
2526
|
*/
|
|
2823
|
-
|
|
2527
|
+
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountListResponse, any, {}>>;
|
|
2824
2528
|
/**
|
|
2825
|
-
*
|
|
2529
|
+
* DiscountUpdate 更新折扣接口
|
|
2530
|
+
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
2826
2531
|
* @param {*} [options] Override http request option.
|
|
2827
2532
|
* @throws {RequiredError}
|
|
2828
2533
|
*/
|
|
2829
|
-
|
|
2534
|
+
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountUpdateResponse, any, {}>>;
|
|
2535
|
+
}
|
|
2536
|
+
/**
|
|
2537
|
+
* ProviderAdminServiceApi - axios parameter creator
|
|
2538
|
+
*/
|
|
2539
|
+
export declare const ProviderAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2830
2540
|
/**
|
|
2831
|
-
*
|
|
2832
|
-
* @param {
|
|
2541
|
+
* ProviderCreate 创建新的 Provider Create a new AI model provider 请求路径: POST /admin/provider/create Request path: POST /admin/provider/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2542
|
+
* @param {ProviderCreateRequest} providerCreateRequest
|
|
2833
2543
|
* @param {*} [options] Override http request option.
|
|
2834
2544
|
* @throws {RequiredError}
|
|
2835
2545
|
*/
|
|
2836
|
-
|
|
2546
|
+
providerAdminServiceProviderCreate: (providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2837
2547
|
/**
|
|
2838
|
-
*
|
|
2839
|
-
* @param {
|
|
2548
|
+
* ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2549
|
+
* @param {ProviderDeleteRequest} providerDeleteRequest
|
|
2840
2550
|
* @param {*} [options] Override http request option.
|
|
2841
2551
|
* @throws {RequiredError}
|
|
2842
2552
|
*/
|
|
2843
|
-
|
|
2553
|
+
providerAdminServiceProviderDelete: (providerDeleteRequest: ProviderDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2844
2554
|
/**
|
|
2845
|
-
*
|
|
2846
|
-
* @param {
|
|
2555
|
+
* ProviderGet 根据 ID 获取单个 Provider Retrieve a single provider by ID 请求路径: GET /admin/provider/get?id={id} Request path: GET /admin/provider/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2556
|
+
* @param {string} [id] id 要获取的 Provider 的唯一标识符 Unique identifier of the provider to retrieve @gotags: form:\"id\" binding:\"required\"
|
|
2847
2557
|
* @param {*} [options] Override http request option.
|
|
2848
2558
|
* @throws {RequiredError}
|
|
2849
2559
|
*/
|
|
2850
|
-
|
|
2560
|
+
providerAdminServiceProviderGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2851
2561
|
/**
|
|
2852
|
-
*
|
|
2853
|
-
* @param {
|
|
2562
|
+
* ProviderList 分页查询 Provider 列表,支持按状态和名称前缀过滤 List providers with pagination, supports filtering by status and name prefix 请求路径: GET /admin/provider/list?page={page}&page_size={page_size}&provider_status={status}&name_prefix={prefix} Request path: GET /admin/provider/list?page={page}&page_size={page_size}&provider_status={status}&name_prefix={prefix} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2563
|
+
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
2564
|
+
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
2565
|
+
* @param {number} [providerStatus] provider_status 按状态过滤(可选) Filter by provider status (optional) 0: 返回所有状态 1: 仅返回启用的 Provider 2: 仅返回禁用的 Provider 0: return all statuses 1: return only active providers 2: return only disabled providers @gotags: form:\"provider_status\"
|
|
2566
|
+
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"openai\" 会匹配 \"openai-prod-1\", \"openai-dev-1\" 等 Example: \"openai\" matches \"openai-prod-1\", \"openai-dev-1\", etc. @gotags: form:\"name_prefix\"
|
|
2854
2567
|
* @param {*} [options] Override http request option.
|
|
2855
2568
|
* @throws {RequiredError}
|
|
2856
2569
|
*/
|
|
2857
|
-
|
|
2570
|
+
providerAdminServiceProviderList: (page?: number, pageSize?: number, providerStatus?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2858
2571
|
/**
|
|
2859
|
-
*
|
|
2860
|
-
* @param {
|
|
2861
|
-
* @param {*} [options] Override http request option.
|
|
2862
|
-
* @throws {RequiredError}
|
|
2863
|
-
*/
|
|
2864
|
-
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminSignOutResponse>;
|
|
2865
|
-
/**
|
|
2866
|
-
* ============ 管理员信息管理 ============
|
|
2867
|
-
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
2868
|
-
* @param {*} [options] Override http request option.
|
|
2869
|
-
* @throws {RequiredError}
|
|
2870
|
-
*/
|
|
2871
|
-
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthAdminUpdateUserResponse>;
|
|
2872
|
-
}
|
|
2873
|
-
/**
|
|
2874
|
-
* Auth2AdminServiceApi - object-oriented interface
|
|
2875
|
-
*/
|
|
2876
|
-
export declare class Auth2AdminServiceApi extends BaseAPI implements Auth2AdminServiceApiInterface {
|
|
2877
|
-
/**
|
|
2878
|
-
* ============ 密码管理 ============
|
|
2879
|
-
* @param {AuthAdminChangePasswordRequest} authAdminChangePasswordRequest
|
|
2880
|
-
* @param {*} [options] Override http request option.
|
|
2881
|
-
* @throws {RequiredError}
|
|
2882
|
-
*/
|
|
2883
|
-
auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest: AuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminChangePasswordResponse, any, {}>>;
|
|
2884
|
-
/**
|
|
2885
|
-
*
|
|
2886
|
-
* @param {*} [options] Override http request option.
|
|
2887
|
-
* @throws {RequiredError}
|
|
2888
|
-
*/
|
|
2889
|
-
auth2AdminServiceAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminGetSessionResponse, any, {}>>;
|
|
2890
|
-
/**
|
|
2891
|
-
* ============ 会话管理 ============
|
|
2892
|
-
* @param {*} [options] Override http request option.
|
|
2893
|
-
* @throws {RequiredError}
|
|
2894
|
-
*/
|
|
2895
|
-
auth2AdminServiceAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminListSessionsResponse, any, {}>>;
|
|
2896
|
-
/**
|
|
2897
|
-
*
|
|
2898
|
-
* @param {object} body
|
|
2899
|
-
* @param {*} [options] Override http request option.
|
|
2900
|
-
* @throws {RequiredError}
|
|
2901
|
-
*/
|
|
2902
|
-
auth2AdminServiceAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeOtherSessionsResponse, any, {}>>;
|
|
2903
|
-
/**
|
|
2904
|
-
*
|
|
2905
|
-
* @param {AuthAdminRevokeSessionRequest} authAdminRevokeSessionRequest
|
|
2906
|
-
* @param {*} [options] Override http request option.
|
|
2907
|
-
* @throws {RequiredError}
|
|
2908
|
-
*/
|
|
2909
|
-
auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionResponse, any, {}>>;
|
|
2910
|
-
/**
|
|
2911
|
-
*
|
|
2912
|
-
* @param {object} body
|
|
2913
|
-
* @param {*} [options] Override http request option.
|
|
2914
|
-
* @throws {RequiredError}
|
|
2915
|
-
*/
|
|
2916
|
-
auth2AdminServiceAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminRevokeSessionsResponse, any, {}>>;
|
|
2917
|
-
/**
|
|
2918
|
-
* ============ 认证 ============
|
|
2919
|
-
* @param {AuthAdminSignInEmailRequest} authAdminSignInEmailRequest
|
|
2920
|
-
* @param {*} [options] Override http request option.
|
|
2921
|
-
* @throws {RequiredError}
|
|
2922
|
-
*/
|
|
2923
|
-
auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest: AuthAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignInEmailResponse, any, {}>>;
|
|
2924
|
-
/**
|
|
2925
|
-
*
|
|
2926
|
-
* @param {object} body
|
|
2927
|
-
* @param {*} [options] Override http request option.
|
|
2928
|
-
* @throws {RequiredError}
|
|
2929
|
-
*/
|
|
2930
|
-
auth2AdminServiceAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminSignOutResponse, any, {}>>;
|
|
2931
|
-
/**
|
|
2932
|
-
* ============ 管理员信息管理 ============
|
|
2933
|
-
* @param {AuthAdminUpdateUserRequest} authAdminUpdateUserRequest
|
|
2934
|
-
* @param {*} [options] Override http request option.
|
|
2935
|
-
* @throws {RequiredError}
|
|
2936
|
-
*/
|
|
2937
|
-
auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest: AuthAdminUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthAdminUpdateUserResponse, any, {}>>;
|
|
2938
|
-
}
|
|
2939
|
-
/**
|
|
2940
|
-
* Auth2UserServiceApi - axios parameter creator
|
|
2941
|
-
*/
|
|
2942
|
-
export declare const Auth2UserServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2943
|
-
/**
|
|
2944
|
-
*
|
|
2945
|
-
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
2946
|
-
* @param {*} [options] Override http request option.
|
|
2947
|
-
* @throws {RequiredError}
|
|
2948
|
-
*/
|
|
2949
|
-
auth2UserServiceAuthChangeEmail: (authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2950
|
-
/**
|
|
2951
|
-
* ============ 密码管理 ============
|
|
2952
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
2953
|
-
* @param {*} [options] Override http request option.
|
|
2954
|
-
* @throws {RequiredError}
|
|
2955
|
-
*/
|
|
2956
|
-
auth2UserServiceAuthChangePassword: (authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2957
|
-
/**
|
|
2958
|
-
*
|
|
2959
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
2960
|
-
* @param {*} [options] Override http request option.
|
|
2961
|
-
* @throws {RequiredError}
|
|
2962
|
-
*/
|
|
2963
|
-
auth2UserServiceAuthDeleteUser: (authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2964
|
-
/**
|
|
2965
|
-
*
|
|
2966
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
2967
|
-
* @param {*} [options] Override http request option.
|
|
2968
|
-
* @throws {RequiredError}
|
|
2969
|
-
*/
|
|
2970
|
-
auth2UserServiceAuthGetAccessToken: (authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2971
|
-
/**
|
|
2972
|
-
*
|
|
2973
|
-
* @param {*} [options] Override http request option.
|
|
2974
|
-
* @throws {RequiredError}
|
|
2975
|
-
*/
|
|
2976
|
-
auth2UserServiceAuthGetAccountInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2977
|
-
/**
|
|
2978
|
-
*
|
|
2979
|
-
* @param {*} [options] Override http request option.
|
|
2980
|
-
* @throws {RequiredError}
|
|
2981
|
-
*/
|
|
2982
|
-
auth2UserServiceAuthGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2983
|
-
/**
|
|
2984
|
-
* ============ 账号关联 ============
|
|
2985
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
2986
|
-
* @param {*} [options] Override http request option.
|
|
2987
|
-
* @throws {RequiredError}
|
|
2988
|
-
*/
|
|
2989
|
-
auth2UserServiceAuthLinkSocial: (authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2990
|
-
/**
|
|
2991
|
-
*
|
|
2992
|
-
* @param {*} [options] Override http request option.
|
|
2993
|
-
* @throws {RequiredError}
|
|
2994
|
-
*/
|
|
2995
|
-
auth2UserServiceAuthListAccounts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2996
|
-
/**
|
|
2997
|
-
* ============ 会话管理 ============
|
|
2998
|
-
* @param {*} [options] Override http request option.
|
|
2999
|
-
* @throws {RequiredError}
|
|
3000
|
-
*/
|
|
3001
|
-
auth2UserServiceAuthListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3002
|
-
/**
|
|
3003
|
-
* ============ Token 管理 ============
|
|
3004
|
-
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3005
|
-
* @param {*} [options] Override http request option.
|
|
3006
|
-
* @throws {RequiredError}
|
|
3007
|
-
*/
|
|
3008
|
-
auth2UserServiceAuthRefreshToken: (authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3009
|
-
/**
|
|
3010
|
-
*
|
|
3011
|
-
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3012
|
-
* @param {*} [options] Override http request option.
|
|
3013
|
-
* @throws {RequiredError}
|
|
3014
|
-
*/
|
|
3015
|
-
auth2UserServiceAuthRequestPasswordReset: (authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3016
|
-
/**
|
|
3017
|
-
*
|
|
3018
|
-
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3019
|
-
* @param {*} [options] Override http request option.
|
|
3020
|
-
* @throws {RequiredError}
|
|
3021
|
-
*/
|
|
3022
|
-
auth2UserServiceAuthResetPassword: (authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3023
|
-
/**
|
|
3024
|
-
*
|
|
3025
|
-
* @param {object} body
|
|
3026
|
-
* @param {*} [options] Override http request option.
|
|
3027
|
-
* @throws {RequiredError}
|
|
3028
|
-
*/
|
|
3029
|
-
auth2UserServiceAuthRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3030
|
-
/**
|
|
3031
|
-
*
|
|
3032
|
-
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3033
|
-
* @param {*} [options] Override http request option.
|
|
3034
|
-
* @throws {RequiredError}
|
|
3035
|
-
*/
|
|
3036
|
-
auth2UserServiceAuthRevokeSession: (authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3037
|
-
/**
|
|
3038
|
-
*
|
|
3039
|
-
* @param {object} body
|
|
3040
|
-
* @param {*} [options] Override http request option.
|
|
3041
|
-
* @throws {RequiredError}
|
|
3042
|
-
*/
|
|
3043
|
-
auth2UserServiceAuthRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3044
|
-
/**
|
|
3045
|
-
* ============ 邮箱验证 ============
|
|
3046
|
-
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3047
|
-
* @param {*} [options] Override http request option.
|
|
3048
|
-
* @throws {RequiredError}
|
|
3049
|
-
*/
|
|
3050
|
-
auth2UserServiceAuthSendVerificationEmail: (authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3051
|
-
/**
|
|
3052
|
-
*
|
|
3053
|
-
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3054
|
-
* @param {*} [options] Override http request option.
|
|
3055
|
-
* @throws {RequiredError}
|
|
3056
|
-
*/
|
|
3057
|
-
auth2UserServiceAuthSignInEmail: (authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3058
|
-
/**
|
|
3059
|
-
*
|
|
3060
|
-
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3061
|
-
* @param {*} [options] Override http request option.
|
|
3062
|
-
* @throws {RequiredError}
|
|
3063
|
-
*/
|
|
3064
|
-
auth2UserServiceAuthSignInSocial: (authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3065
|
-
/**
|
|
3066
|
-
*
|
|
3067
|
-
* @param {object} body
|
|
3068
|
-
* @param {*} [options] Override http request option.
|
|
3069
|
-
* @throws {RequiredError}
|
|
3070
|
-
*/
|
|
3071
|
-
auth2UserServiceAuthSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3072
|
-
/**
|
|
3073
|
-
* ============ 认证 ============
|
|
3074
|
-
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3075
|
-
* @param {*} [options] Override http request option.
|
|
3076
|
-
* @throws {RequiredError}
|
|
3077
|
-
*/
|
|
3078
|
-
auth2UserServiceAuthSignUpEmail: (authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3079
|
-
/**
|
|
3080
|
-
*
|
|
3081
|
-
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3082
|
-
* @param {*} [options] Override http request option.
|
|
3083
|
-
* @throws {RequiredError}
|
|
3084
|
-
*/
|
|
3085
|
-
auth2UserServiceAuthUnlinkAccount: (authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3086
|
-
/**
|
|
3087
|
-
* ============ 用户管理 ============
|
|
3088
|
-
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3089
|
-
* @param {*} [options] Override http request option.
|
|
3090
|
-
* @throws {RequiredError}
|
|
3091
|
-
*/
|
|
3092
|
-
auth2UserServiceAuthUpdateUser: (authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3093
|
-
/**
|
|
3094
|
-
*
|
|
3095
|
-
* @param {string} [email]
|
|
3096
|
-
* @param {string} [authCode]
|
|
3097
|
-
* @param {string} [callbackUrl]
|
|
3098
|
-
* @param {*} [options] Override http request option.
|
|
3099
|
-
* @throws {RequiredError}
|
|
3100
|
-
*/
|
|
3101
|
-
auth2UserServiceAuthVerifyEmail: (email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3102
|
-
};
|
|
3103
|
-
/**
|
|
3104
|
-
* Auth2UserServiceApi - functional programming interface
|
|
3105
|
-
*/
|
|
3106
|
-
export declare const Auth2UserServiceApiFp: (configuration?: Configuration) => {
|
|
3107
|
-
/**
|
|
3108
|
-
*
|
|
3109
|
-
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3110
|
-
* @param {*} [options] Override http request option.
|
|
3111
|
-
* @throws {RequiredError}
|
|
3112
|
-
*/
|
|
3113
|
-
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangeEmailResponse>>;
|
|
3114
|
-
/**
|
|
3115
|
-
* ============ 密码管理 ============
|
|
3116
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3117
|
-
* @param {*} [options] Override http request option.
|
|
3118
|
-
* @throws {RequiredError}
|
|
3119
|
-
*/
|
|
3120
|
-
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthChangePasswordResponse>>;
|
|
3121
|
-
/**
|
|
3122
|
-
*
|
|
3123
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3124
|
-
* @param {*} [options] Override http request option.
|
|
3125
|
-
* @throws {RequiredError}
|
|
3126
|
-
*/
|
|
3127
|
-
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthDeleteUserResponse>>;
|
|
3128
|
-
/**
|
|
3129
|
-
*
|
|
3130
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3131
|
-
* @param {*} [options] Override http request option.
|
|
3132
|
-
* @throws {RequiredError}
|
|
3133
|
-
*/
|
|
3134
|
-
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccessTokenResponse>>;
|
|
3135
|
-
/**
|
|
3136
|
-
*
|
|
3137
|
-
* @param {*} [options] Override http request option.
|
|
3138
|
-
* @throws {RequiredError}
|
|
3139
|
-
*/
|
|
3140
|
-
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetAccountInfoResponse>>;
|
|
3141
|
-
/**
|
|
3142
|
-
*
|
|
3143
|
-
* @param {*} [options] Override http request option.
|
|
3144
|
-
* @throws {RequiredError}
|
|
3145
|
-
*/
|
|
3146
|
-
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthGetSessionResponse>>;
|
|
3147
|
-
/**
|
|
3148
|
-
* ============ 账号关联 ============
|
|
3149
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3150
|
-
* @param {*} [options] Override http request option.
|
|
3151
|
-
* @throws {RequiredError}
|
|
3152
|
-
*/
|
|
3153
|
-
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthLinkSocialResponse>>;
|
|
3154
|
-
/**
|
|
3155
|
-
*
|
|
3156
|
-
* @param {*} [options] Override http request option.
|
|
3157
|
-
* @throws {RequiredError}
|
|
3158
|
-
*/
|
|
3159
|
-
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListAccountsResponse>>;
|
|
3160
|
-
/**
|
|
3161
|
-
* ============ 会话管理 ============
|
|
3162
|
-
* @param {*} [options] Override http request option.
|
|
3163
|
-
* @throws {RequiredError}
|
|
3164
|
-
*/
|
|
3165
|
-
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListSessionsResponse>>;
|
|
3166
|
-
/**
|
|
3167
|
-
* ============ Token 管理 ============
|
|
3168
|
-
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3169
|
-
* @param {*} [options] Override http request option.
|
|
3170
|
-
* @throws {RequiredError}
|
|
3171
|
-
*/
|
|
3172
|
-
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRefreshTokenResponse>>;
|
|
3173
|
-
/**
|
|
3174
|
-
*
|
|
3175
|
-
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3176
|
-
* @param {*} [options] Override http request option.
|
|
3177
|
-
* @throws {RequiredError}
|
|
3178
|
-
*/
|
|
3179
|
-
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRequestPasswordResetResponse>>;
|
|
3180
|
-
/**
|
|
3181
|
-
*
|
|
3182
|
-
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3183
|
-
* @param {*} [options] Override http request option.
|
|
3184
|
-
* @throws {RequiredError}
|
|
3185
|
-
*/
|
|
3186
|
-
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResetPasswordResponse>>;
|
|
3187
|
-
/**
|
|
3188
|
-
*
|
|
3189
|
-
* @param {object} body
|
|
3190
|
-
* @param {*} [options] Override http request option.
|
|
3191
|
-
* @throws {RequiredError}
|
|
3192
|
-
*/
|
|
3193
|
-
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeOtherSessionsResponse>>;
|
|
3194
|
-
/**
|
|
3195
|
-
*
|
|
3196
|
-
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3197
|
-
* @param {*} [options] Override http request option.
|
|
3198
|
-
* @throws {RequiredError}
|
|
3199
|
-
*/
|
|
3200
|
-
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionResponse>>;
|
|
3201
|
-
/**
|
|
3202
|
-
*
|
|
3203
|
-
* @param {object} body
|
|
3204
|
-
* @param {*} [options] Override http request option.
|
|
3205
|
-
* @throws {RequiredError}
|
|
3206
|
-
*/
|
|
3207
|
-
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRevokeSessionsResponse>>;
|
|
3208
|
-
/**
|
|
3209
|
-
* ============ 邮箱验证 ============
|
|
3210
|
-
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3211
|
-
* @param {*} [options] Override http request option.
|
|
3212
|
-
* @throws {RequiredError}
|
|
3213
|
-
*/
|
|
3214
|
-
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSendVerificationEmailResponse>>;
|
|
3215
|
-
/**
|
|
3216
|
-
*
|
|
3217
|
-
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3218
|
-
* @param {*} [options] Override http request option.
|
|
3219
|
-
* @throws {RequiredError}
|
|
3220
|
-
*/
|
|
3221
|
-
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInEmailResponse>>;
|
|
3222
|
-
/**
|
|
3223
|
-
*
|
|
3224
|
-
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3225
|
-
* @param {*} [options] Override http request option.
|
|
3226
|
-
* @throws {RequiredError}
|
|
3227
|
-
*/
|
|
3228
|
-
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignInSocialResponse>>;
|
|
3229
|
-
/**
|
|
3230
|
-
*
|
|
3231
|
-
* @param {object} body
|
|
3232
|
-
* @param {*} [options] Override http request option.
|
|
3233
|
-
* @throws {RequiredError}
|
|
3234
|
-
*/
|
|
3235
|
-
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignOutResponse>>;
|
|
3236
|
-
/**
|
|
3237
|
-
* ============ 认证 ============
|
|
3238
|
-
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3239
|
-
* @param {*} [options] Override http request option.
|
|
3240
|
-
* @throws {RequiredError}
|
|
3241
|
-
*/
|
|
3242
|
-
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSignUpEmailResponse>>;
|
|
3243
|
-
/**
|
|
3244
|
-
*
|
|
3245
|
-
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3246
|
-
* @param {*} [options] Override http request option.
|
|
3247
|
-
* @throws {RequiredError}
|
|
3248
|
-
*/
|
|
3249
|
-
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUnlinkAccountResponse>>;
|
|
3250
|
-
/**
|
|
3251
|
-
* ============ 用户管理 ============
|
|
3252
|
-
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3253
|
-
* @param {*} [options] Override http request option.
|
|
3254
|
-
* @throws {RequiredError}
|
|
3255
|
-
*/
|
|
3256
|
-
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUpdateUserResponse>>;
|
|
3257
|
-
/**
|
|
3258
|
-
*
|
|
3259
|
-
* @param {string} [email]
|
|
3260
|
-
* @param {string} [authCode]
|
|
3261
|
-
* @param {string} [callbackUrl]
|
|
3262
|
-
* @param {*} [options] Override http request option.
|
|
3263
|
-
* @throws {RequiredError}
|
|
3264
|
-
*/
|
|
3265
|
-
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthVerifyEmailResponse>>;
|
|
3266
|
-
};
|
|
3267
|
-
/**
|
|
3268
|
-
* Auth2UserServiceApi - factory interface
|
|
3269
|
-
*/
|
|
3270
|
-
export declare const Auth2UserServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3271
|
-
/**
|
|
3272
|
-
*
|
|
3273
|
-
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3274
|
-
* @param {*} [options] Override http request option.
|
|
3275
|
-
* @throws {RequiredError}
|
|
3276
|
-
*/
|
|
3277
|
-
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
|
|
3278
|
-
/**
|
|
3279
|
-
* ============ 密码管理 ============
|
|
3280
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3281
|
-
* @param {*} [options] Override http request option.
|
|
3282
|
-
* @throws {RequiredError}
|
|
3283
|
-
*/
|
|
3284
|
-
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
|
|
3285
|
-
/**
|
|
3286
|
-
*
|
|
3287
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3288
|
-
* @param {*} [options] Override http request option.
|
|
3289
|
-
* @throws {RequiredError}
|
|
3290
|
-
*/
|
|
3291
|
-
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
|
|
3292
|
-
/**
|
|
3293
|
-
*
|
|
3294
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3295
|
-
* @param {*} [options] Override http request option.
|
|
3296
|
-
* @throws {RequiredError}
|
|
3297
|
-
*/
|
|
3298
|
-
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
|
|
3299
|
-
/**
|
|
3300
|
-
*
|
|
3301
|
-
* @param {*} [options] Override http request option.
|
|
3302
|
-
* @throws {RequiredError}
|
|
3303
|
-
*/
|
|
3304
|
-
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
|
|
3305
|
-
/**
|
|
3306
|
-
*
|
|
3307
|
-
* @param {*} [options] Override http request option.
|
|
3308
|
-
* @throws {RequiredError}
|
|
3309
|
-
*/
|
|
3310
|
-
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetSessionResponse>;
|
|
3311
|
-
/**
|
|
3312
|
-
* ============ 账号关联 ============
|
|
3313
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3314
|
-
* @param {*} [options] Override http request option.
|
|
3315
|
-
* @throws {RequiredError}
|
|
3316
|
-
*/
|
|
3317
|
-
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkSocialResponse>;
|
|
3318
|
-
/**
|
|
3319
|
-
*
|
|
3320
|
-
* @param {*} [options] Override http request option.
|
|
3321
|
-
* @throws {RequiredError}
|
|
3322
|
-
*/
|
|
3323
|
-
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): AxiosPromise<AuthListAccountsResponse>;
|
|
3324
|
-
/**
|
|
3325
|
-
* ============ 会话管理 ============
|
|
3326
|
-
* @param {*} [options] Override http request option.
|
|
3327
|
-
* @throws {RequiredError}
|
|
3328
|
-
*/
|
|
3329
|
-
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
|
|
3330
|
-
/**
|
|
3331
|
-
* ============ Token 管理 ============
|
|
3332
|
-
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3333
|
-
* @param {*} [options] Override http request option.
|
|
3334
|
-
* @throws {RequiredError}
|
|
3335
|
-
*/
|
|
3336
|
-
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRefreshTokenResponse>;
|
|
3337
|
-
/**
|
|
3338
|
-
*
|
|
3339
|
-
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3340
|
-
* @param {*} [options] Override http request option.
|
|
3341
|
-
* @throws {RequiredError}
|
|
3342
|
-
*/
|
|
3343
|
-
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestPasswordResetResponse>;
|
|
3344
|
-
/**
|
|
3345
|
-
*
|
|
3346
|
-
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3347
|
-
* @param {*} [options] Override http request option.
|
|
3348
|
-
* @throws {RequiredError}
|
|
3349
|
-
*/
|
|
3350
|
-
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResetPasswordResponse>;
|
|
3351
|
-
/**
|
|
3352
|
-
*
|
|
3353
|
-
* @param {object} body
|
|
3354
|
-
* @param {*} [options] Override http request option.
|
|
3355
|
-
* @throws {RequiredError}
|
|
3356
|
-
*/
|
|
3357
|
-
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeOtherSessionsResponse>;
|
|
3358
|
-
/**
|
|
3359
|
-
*
|
|
3360
|
-
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3361
|
-
* @param {*} [options] Override http request option.
|
|
3362
|
-
* @throws {RequiredError}
|
|
3363
|
-
*/
|
|
3364
|
-
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionResponse>;
|
|
3365
|
-
/**
|
|
3366
|
-
*
|
|
3367
|
-
* @param {object} body
|
|
3368
|
-
* @param {*} [options] Override http request option.
|
|
3369
|
-
* @throws {RequiredError}
|
|
3370
|
-
*/
|
|
3371
|
-
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionsResponse>;
|
|
3372
|
-
/**
|
|
3373
|
-
* ============ 邮箱验证 ============
|
|
3374
|
-
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3375
|
-
* @param {*} [options] Override http request option.
|
|
3376
|
-
* @throws {RequiredError}
|
|
3377
|
-
*/
|
|
3378
|
-
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSendVerificationEmailResponse>;
|
|
3379
|
-
/**
|
|
3380
|
-
*
|
|
3381
|
-
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3382
|
-
* @param {*} [options] Override http request option.
|
|
3383
|
-
* @throws {RequiredError}
|
|
3384
|
-
*/
|
|
3385
|
-
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInEmailResponse>;
|
|
3386
|
-
/**
|
|
3387
|
-
*
|
|
3388
|
-
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3389
|
-
* @param {*} [options] Override http request option.
|
|
3390
|
-
* @throws {RequiredError}
|
|
3391
|
-
*/
|
|
3392
|
-
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInSocialResponse>;
|
|
3393
|
-
/**
|
|
3394
|
-
*
|
|
3395
|
-
* @param {object} body
|
|
3396
|
-
* @param {*} [options] Override http request option.
|
|
3397
|
-
* @throws {RequiredError}
|
|
3398
|
-
*/
|
|
3399
|
-
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignOutResponse>;
|
|
3400
|
-
/**
|
|
3401
|
-
* ============ 认证 ============
|
|
3402
|
-
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3403
|
-
* @param {*} [options] Override http request option.
|
|
3404
|
-
* @throws {RequiredError}
|
|
3405
|
-
*/
|
|
3406
|
-
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignUpEmailResponse>;
|
|
3407
|
-
/**
|
|
3408
|
-
*
|
|
3409
|
-
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3410
|
-
* @param {*} [options] Override http request option.
|
|
3411
|
-
* @throws {RequiredError}
|
|
3412
|
-
*/
|
|
3413
|
-
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUnlinkAccountResponse>;
|
|
3414
|
-
/**
|
|
3415
|
-
* ============ 用户管理 ============
|
|
3416
|
-
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3417
|
-
* @param {*} [options] Override http request option.
|
|
3418
|
-
* @throws {RequiredError}
|
|
3419
|
-
*/
|
|
3420
|
-
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUpdateUserResponse>;
|
|
3421
|
-
/**
|
|
3422
|
-
*
|
|
3423
|
-
* @param {string} [email]
|
|
3424
|
-
* @param {string} [authCode]
|
|
3425
|
-
* @param {string} [callbackUrl]
|
|
3426
|
-
* @param {*} [options] Override http request option.
|
|
3427
|
-
* @throws {RequiredError}
|
|
3428
|
-
*/
|
|
3429
|
-
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthVerifyEmailResponse>;
|
|
3430
|
-
};
|
|
3431
|
-
/**
|
|
3432
|
-
* Auth2UserServiceApi - interface
|
|
3433
|
-
*/
|
|
3434
|
-
export interface Auth2UserServiceApiInterface {
|
|
3435
|
-
/**
|
|
3436
|
-
*
|
|
3437
|
-
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3438
|
-
* @param {*} [options] Override http request option.
|
|
3439
|
-
* @throws {RequiredError}
|
|
3440
|
-
*/
|
|
3441
|
-
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangeEmailResponse>;
|
|
3442
|
-
/**
|
|
3443
|
-
* ============ 密码管理 ============
|
|
3444
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3445
|
-
* @param {*} [options] Override http request option.
|
|
3446
|
-
* @throws {RequiredError}
|
|
3447
|
-
*/
|
|
3448
|
-
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthChangePasswordResponse>;
|
|
3449
|
-
/**
|
|
3450
|
-
*
|
|
3451
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3452
|
-
* @param {*} [options] Override http request option.
|
|
3453
|
-
* @throws {RequiredError}
|
|
3454
|
-
*/
|
|
3455
|
-
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthDeleteUserResponse>;
|
|
3456
|
-
/**
|
|
3457
|
-
*
|
|
3458
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3459
|
-
* @param {*} [options] Override http request option.
|
|
3460
|
-
* @throws {RequiredError}
|
|
3461
|
-
*/
|
|
3462
|
-
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccessTokenResponse>;
|
|
3463
|
-
/**
|
|
3464
|
-
*
|
|
3465
|
-
* @param {*} [options] Override http request option.
|
|
3466
|
-
* @throws {RequiredError}
|
|
3467
|
-
*/
|
|
3468
|
-
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetAccountInfoResponse>;
|
|
3469
|
-
/**
|
|
3470
|
-
*
|
|
3471
|
-
* @param {*} [options] Override http request option.
|
|
3472
|
-
* @throws {RequiredError}
|
|
3473
|
-
*/
|
|
3474
|
-
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): AxiosPromise<AuthGetSessionResponse>;
|
|
3475
|
-
/**
|
|
3476
|
-
* ============ 账号关联 ============
|
|
3477
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3478
|
-
* @param {*} [options] Override http request option.
|
|
3479
|
-
* @throws {RequiredError}
|
|
3480
|
-
*/
|
|
3481
|
-
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLinkSocialResponse>;
|
|
3482
|
-
/**
|
|
3483
|
-
*
|
|
3484
|
-
* @param {*} [options] Override http request option.
|
|
3485
|
-
* @throws {RequiredError}
|
|
3486
|
-
*/
|
|
3487
|
-
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): AxiosPromise<AuthListAccountsResponse>;
|
|
3488
|
-
/**
|
|
3489
|
-
* ============ 会话管理 ============
|
|
3490
|
-
* @param {*} [options] Override http request option.
|
|
3491
|
-
* @throws {RequiredError}
|
|
3492
|
-
*/
|
|
3493
|
-
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): AxiosPromise<AuthListSessionsResponse>;
|
|
3494
|
-
/**
|
|
3495
|
-
* ============ Token 管理 ============
|
|
3496
|
-
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3497
|
-
* @param {*} [options] Override http request option.
|
|
3498
|
-
* @throws {RequiredError}
|
|
3499
|
-
*/
|
|
3500
|
-
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRefreshTokenResponse>;
|
|
3501
|
-
/**
|
|
3502
|
-
*
|
|
3503
|
-
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3504
|
-
* @param {*} [options] Override http request option.
|
|
3505
|
-
* @throws {RequiredError}
|
|
3506
|
-
*/
|
|
3507
|
-
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestPasswordResetResponse>;
|
|
3508
|
-
/**
|
|
3509
|
-
*
|
|
3510
|
-
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3511
|
-
* @param {*} [options] Override http request option.
|
|
3512
|
-
* @throws {RequiredError}
|
|
3513
|
-
*/
|
|
3514
|
-
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResetPasswordResponse>;
|
|
3515
|
-
/**
|
|
3516
|
-
*
|
|
3517
|
-
* @param {object} body
|
|
3518
|
-
* @param {*} [options] Override http request option.
|
|
3519
|
-
* @throws {RequiredError}
|
|
3520
|
-
*/
|
|
3521
|
-
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeOtherSessionsResponse>;
|
|
3522
|
-
/**
|
|
3523
|
-
*
|
|
3524
|
-
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3525
|
-
* @param {*} [options] Override http request option.
|
|
3526
|
-
* @throws {RequiredError}
|
|
3527
|
-
*/
|
|
3528
|
-
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionResponse>;
|
|
3529
|
-
/**
|
|
3530
|
-
*
|
|
3531
|
-
* @param {object} body
|
|
3532
|
-
* @param {*} [options] Override http request option.
|
|
3533
|
-
* @throws {RequiredError}
|
|
3534
|
-
*/
|
|
3535
|
-
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthRevokeSessionsResponse>;
|
|
3536
|
-
/**
|
|
3537
|
-
* ============ 邮箱验证 ============
|
|
3538
|
-
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3539
|
-
* @param {*} [options] Override http request option.
|
|
3540
|
-
* @throws {RequiredError}
|
|
3541
|
-
*/
|
|
3542
|
-
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSendVerificationEmailResponse>;
|
|
3543
|
-
/**
|
|
3544
|
-
*
|
|
3545
|
-
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3546
|
-
* @param {*} [options] Override http request option.
|
|
3547
|
-
* @throws {RequiredError}
|
|
3548
|
-
*/
|
|
3549
|
-
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInEmailResponse>;
|
|
3550
|
-
/**
|
|
3551
|
-
*
|
|
3552
|
-
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3553
|
-
* @param {*} [options] Override http request option.
|
|
3554
|
-
* @throws {RequiredError}
|
|
3555
|
-
*/
|
|
3556
|
-
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignInSocialResponse>;
|
|
3557
|
-
/**
|
|
3558
|
-
*
|
|
3559
|
-
* @param {object} body
|
|
3560
|
-
* @param {*} [options] Override http request option.
|
|
3561
|
-
* @throws {RequiredError}
|
|
3562
|
-
*/
|
|
3563
|
-
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignOutResponse>;
|
|
3564
|
-
/**
|
|
3565
|
-
* ============ 认证 ============
|
|
3566
|
-
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3567
|
-
* @param {*} [options] Override http request option.
|
|
3568
|
-
* @throws {RequiredError}
|
|
3569
|
-
*/
|
|
3570
|
-
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthSignUpEmailResponse>;
|
|
3571
|
-
/**
|
|
3572
|
-
*
|
|
3573
|
-
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3574
|
-
* @param {*} [options] Override http request option.
|
|
3575
|
-
* @throws {RequiredError}
|
|
3576
|
-
*/
|
|
3577
|
-
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUnlinkAccountResponse>;
|
|
3578
|
-
/**
|
|
3579
|
-
* ============ 用户管理 ============
|
|
3580
|
-
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3581
|
-
* @param {*} [options] Override http request option.
|
|
3582
|
-
* @throws {RequiredError}
|
|
3583
|
-
*/
|
|
3584
|
-
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthUpdateUserResponse>;
|
|
3585
|
-
/**
|
|
3586
|
-
*
|
|
3587
|
-
* @param {string} [email]
|
|
3588
|
-
* @param {string} [authCode]
|
|
3589
|
-
* @param {string} [callbackUrl]
|
|
3590
|
-
* @param {*} [options] Override http request option.
|
|
3591
|
-
* @throws {RequiredError}
|
|
3592
|
-
*/
|
|
3593
|
-
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): AxiosPromise<AuthVerifyEmailResponse>;
|
|
3594
|
-
}
|
|
3595
|
-
/**
|
|
3596
|
-
* Auth2UserServiceApi - object-oriented interface
|
|
3597
|
-
*/
|
|
3598
|
-
export declare class Auth2UserServiceApi extends BaseAPI implements Auth2UserServiceApiInterface {
|
|
3599
|
-
/**
|
|
3600
|
-
*
|
|
3601
|
-
* @param {AuthChangeEmailRequest} authChangeEmailRequest
|
|
3602
|
-
* @param {*} [options] Override http request option.
|
|
3603
|
-
* @throws {RequiredError}
|
|
3604
|
-
*/
|
|
3605
|
-
auth2UserServiceAuthChangeEmail(authChangeEmailRequest: AuthChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthChangeEmailResponse, any, {}>>;
|
|
3606
|
-
/**
|
|
3607
|
-
* ============ 密码管理 ============
|
|
3608
|
-
* @param {AuthChangePasswordRequest} authChangePasswordRequest
|
|
3609
|
-
* @param {*} [options] Override http request option.
|
|
3610
|
-
* @throws {RequiredError}
|
|
3611
|
-
*/
|
|
3612
|
-
auth2UserServiceAuthChangePassword(authChangePasswordRequest: AuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthChangePasswordResponse, any, {}>>;
|
|
3613
|
-
/**
|
|
3614
|
-
*
|
|
3615
|
-
* @param {AuthDeleteUserRequest} authDeleteUserRequest
|
|
3616
|
-
* @param {*} [options] Override http request option.
|
|
3617
|
-
* @throws {RequiredError}
|
|
3618
|
-
*/
|
|
3619
|
-
auth2UserServiceAuthDeleteUser(authDeleteUserRequest: AuthDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthDeleteUserResponse, any, {}>>;
|
|
3620
|
-
/**
|
|
3621
|
-
*
|
|
3622
|
-
* @param {AuthGetAccessTokenRequest} authGetAccessTokenRequest
|
|
3623
|
-
* @param {*} [options] Override http request option.
|
|
3624
|
-
* @throws {RequiredError}
|
|
3625
|
-
*/
|
|
3626
|
-
auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest: AuthGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetAccessTokenResponse, any, {}>>;
|
|
3627
|
-
/**
|
|
3628
|
-
*
|
|
3629
|
-
* @param {*} [options] Override http request option.
|
|
3630
|
-
* @throws {RequiredError}
|
|
3631
|
-
*/
|
|
3632
|
-
auth2UserServiceAuthGetAccountInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetAccountInfoResponse, any, {}>>;
|
|
3633
|
-
/**
|
|
3634
|
-
*
|
|
3635
|
-
* @param {*} [options] Override http request option.
|
|
3636
|
-
* @throws {RequiredError}
|
|
3637
|
-
*/
|
|
3638
|
-
auth2UserServiceAuthGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetSessionResponse, any, {}>>;
|
|
3639
|
-
/**
|
|
3640
|
-
* ============ 账号关联 ============
|
|
3641
|
-
* @param {AuthLinkSocialRequest} authLinkSocialRequest
|
|
3642
|
-
* @param {*} [options] Override http request option.
|
|
3643
|
-
* @throws {RequiredError}
|
|
3644
|
-
*/
|
|
3645
|
-
auth2UserServiceAuthLinkSocial(authLinkSocialRequest: AuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthLinkSocialResponse, any, {}>>;
|
|
3646
|
-
/**
|
|
3647
|
-
*
|
|
3648
|
-
* @param {*} [options] Override http request option.
|
|
3649
|
-
* @throws {RequiredError}
|
|
3650
|
-
*/
|
|
3651
|
-
auth2UserServiceAuthListAccounts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthListAccountsResponse, any, {}>>;
|
|
3652
|
-
/**
|
|
3653
|
-
* ============ 会话管理 ============
|
|
3654
|
-
* @param {*} [options] Override http request option.
|
|
3655
|
-
* @throws {RequiredError}
|
|
3656
|
-
*/
|
|
3657
|
-
auth2UserServiceAuthListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthListSessionsResponse, any, {}>>;
|
|
3658
|
-
/**
|
|
3659
|
-
* ============ Token 管理 ============
|
|
3660
|
-
* @param {AuthRefreshTokenRequest} authRefreshTokenRequest
|
|
3661
|
-
* @param {*} [options] Override http request option.
|
|
3662
|
-
* @throws {RequiredError}
|
|
3663
|
-
*/
|
|
3664
|
-
auth2UserServiceAuthRefreshToken(authRefreshTokenRequest: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRefreshTokenResponse, any, {}>>;
|
|
3665
|
-
/**
|
|
3666
|
-
*
|
|
3667
|
-
* @param {AuthRequestPasswordResetRequest} authRequestPasswordResetRequest
|
|
3668
|
-
* @param {*} [options] Override http request option.
|
|
3669
|
-
* @throws {RequiredError}
|
|
3670
|
-
*/
|
|
3671
|
-
auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest: AuthRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRequestPasswordResetResponse, any, {}>>;
|
|
3672
|
-
/**
|
|
3673
|
-
*
|
|
3674
|
-
* @param {AuthResetPasswordRequest} authResetPasswordRequest
|
|
3675
|
-
* @param {*} [options] Override http request option.
|
|
3676
|
-
* @throws {RequiredError}
|
|
3677
|
-
*/
|
|
3678
|
-
auth2UserServiceAuthResetPassword(authResetPasswordRequest: AuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthResetPasswordResponse, any, {}>>;
|
|
3679
|
-
/**
|
|
3680
|
-
*
|
|
3681
|
-
* @param {object} body
|
|
3682
|
-
* @param {*} [options] Override http request option.
|
|
3683
|
-
* @throws {RequiredError}
|
|
3684
|
-
*/
|
|
3685
|
-
auth2UserServiceAuthRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeOtherSessionsResponse, any, {}>>;
|
|
3686
|
-
/**
|
|
3687
|
-
*
|
|
3688
|
-
* @param {AuthRevokeSessionRequest} authRevokeSessionRequest
|
|
3689
|
-
* @param {*} [options] Override http request option.
|
|
3690
|
-
* @throws {RequiredError}
|
|
3691
|
-
*/
|
|
3692
|
-
auth2UserServiceAuthRevokeSession(authRevokeSessionRequest: AuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeSessionResponse, any, {}>>;
|
|
3693
|
-
/**
|
|
3694
|
-
*
|
|
3695
|
-
* @param {object} body
|
|
3696
|
-
* @param {*} [options] Override http request option.
|
|
3697
|
-
* @throws {RequiredError}
|
|
3698
|
-
*/
|
|
3699
|
-
auth2UserServiceAuthRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRevokeSessionsResponse, any, {}>>;
|
|
3700
|
-
/**
|
|
3701
|
-
* ============ 邮箱验证 ============
|
|
3702
|
-
* @param {AuthSendVerificationEmailRequest} authSendVerificationEmailRequest
|
|
3703
|
-
* @param {*} [options] Override http request option.
|
|
3704
|
-
* @throws {RequiredError}
|
|
3705
|
-
*/
|
|
3706
|
-
auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest: AuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSendVerificationEmailResponse, any, {}>>;
|
|
3707
|
-
/**
|
|
3708
|
-
*
|
|
3709
|
-
* @param {AuthSignInEmailRequest} authSignInEmailRequest
|
|
3710
|
-
* @param {*} [options] Override http request option.
|
|
3711
|
-
* @throws {RequiredError}
|
|
3712
|
-
*/
|
|
3713
|
-
auth2UserServiceAuthSignInEmail(authSignInEmailRequest: AuthSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignInEmailResponse, any, {}>>;
|
|
3714
|
-
/**
|
|
3715
|
-
*
|
|
3716
|
-
* @param {AuthSignInSocialRequest} authSignInSocialRequest
|
|
3717
|
-
* @param {*} [options] Override http request option.
|
|
3718
|
-
* @throws {RequiredError}
|
|
3719
|
-
*/
|
|
3720
|
-
auth2UserServiceAuthSignInSocial(authSignInSocialRequest: AuthSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignInSocialResponse, any, {}>>;
|
|
3721
|
-
/**
|
|
3722
|
-
*
|
|
3723
|
-
* @param {object} body
|
|
3724
|
-
* @param {*} [options] Override http request option.
|
|
3725
|
-
* @throws {RequiredError}
|
|
3726
|
-
*/
|
|
3727
|
-
auth2UserServiceAuthSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignOutResponse, any, {}>>;
|
|
3728
|
-
/**
|
|
3729
|
-
* ============ 认证 ============
|
|
3730
|
-
* @param {AuthSignUpEmailRequest} authSignUpEmailRequest
|
|
3731
|
-
* @param {*} [options] Override http request option.
|
|
3732
|
-
* @throws {RequiredError}
|
|
3733
|
-
*/
|
|
3734
|
-
auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest: AuthSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSignUpEmailResponse, any, {}>>;
|
|
3735
|
-
/**
|
|
3736
|
-
*
|
|
3737
|
-
* @param {AuthUnlinkAccountRequest} authUnlinkAccountRequest
|
|
3738
|
-
* @param {*} [options] Override http request option.
|
|
3739
|
-
* @throws {RequiredError}
|
|
3740
|
-
*/
|
|
3741
|
-
auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest: AuthUnlinkAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUnlinkAccountResponse, any, {}>>;
|
|
3742
|
-
/**
|
|
3743
|
-
* ============ 用户管理 ============
|
|
3744
|
-
* @param {AuthUpdateUserRequest} authUpdateUserRequest
|
|
3745
|
-
* @param {*} [options] Override http request option.
|
|
3746
|
-
* @throws {RequiredError}
|
|
3747
|
-
*/
|
|
3748
|
-
auth2UserServiceAuthUpdateUser(authUpdateUserRequest: AuthUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUpdateUserResponse, any, {}>>;
|
|
3749
|
-
/**
|
|
3750
|
-
*
|
|
3751
|
-
* @param {string} [email]
|
|
3752
|
-
* @param {string} [authCode]
|
|
3753
|
-
* @param {string} [callbackUrl]
|
|
3754
|
-
* @param {*} [options] Override http request option.
|
|
3755
|
-
* @throws {RequiredError}
|
|
3756
|
-
*/
|
|
3757
|
-
auth2UserServiceAuthVerifyEmail(email?: string, authCode?: string, callbackUrl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthVerifyEmailResponse, any, {}>>;
|
|
3758
|
-
}
|
|
3759
|
-
/**
|
|
3760
|
-
* DiscountAdminServiceApi - axios parameter creator
|
|
3761
|
-
*/
|
|
3762
|
-
export declare const DiscountAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3763
|
-
/**
|
|
3764
|
-
* DiscountCreate 创建折扣接口
|
|
3765
|
-
* @param {DiscountCreateRequest} discountCreateRequest
|
|
3766
|
-
* @param {*} [options] Override http request option.
|
|
3767
|
-
* @throws {RequiredError}
|
|
3768
|
-
*/
|
|
3769
|
-
discountAdminServiceDiscountCreate: (discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3770
|
-
/**
|
|
3771
|
-
* DiscountDelete 删除折扣接口
|
|
3772
|
-
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
3773
|
-
* @param {*} [options] Override http request option.
|
|
3774
|
-
* @throws {RequiredError}
|
|
3775
|
-
*/
|
|
3776
|
-
discountAdminServiceDiscountDelete: (discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3777
|
-
/**
|
|
3778
|
-
* DiscountGet 获取折扣接口
|
|
3779
|
-
* @param {string} [id] @gotags: form:\"id\"
|
|
3780
|
-
* @param {*} [options] Override http request option.
|
|
3781
|
-
* @throws {RequiredError}
|
|
3782
|
-
*/
|
|
3783
|
-
discountAdminServiceDiscountGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3784
|
-
/**
|
|
3785
|
-
* DiscountList 折扣列表接口
|
|
3786
|
-
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
3787
|
-
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
3788
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
3789
|
-
* @param {*} [options] Override http request option.
|
|
3790
|
-
* @throws {RequiredError}
|
|
3791
|
-
*/
|
|
3792
|
-
discountAdminServiceDiscountList: (page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3793
|
-
/**
|
|
3794
|
-
* DiscountUpdate 更新折扣接口
|
|
3795
|
-
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
3796
|
-
* @param {*} [options] Override http request option.
|
|
3797
|
-
* @throws {RequiredError}
|
|
3798
|
-
*/
|
|
3799
|
-
discountAdminServiceDiscountUpdate: (discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3800
|
-
};
|
|
3801
|
-
/**
|
|
3802
|
-
* DiscountAdminServiceApi - functional programming interface
|
|
3803
|
-
*/
|
|
3804
|
-
export declare const DiscountAdminServiceApiFp: (configuration?: Configuration) => {
|
|
3805
|
-
/**
|
|
3806
|
-
* DiscountCreate 创建折扣接口
|
|
3807
|
-
* @param {DiscountCreateRequest} discountCreateRequest
|
|
3808
|
-
* @param {*} [options] Override http request option.
|
|
3809
|
-
* @throws {RequiredError}
|
|
3810
|
-
*/
|
|
3811
|
-
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountCreateRequest>>;
|
|
3812
|
-
/**
|
|
3813
|
-
* DiscountDelete 删除折扣接口
|
|
3814
|
-
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
3815
|
-
* @param {*} [options] Override http request option.
|
|
3816
|
-
* @throws {RequiredError}
|
|
3817
|
-
*/
|
|
3818
|
-
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountDeleteResponse>>;
|
|
3819
|
-
/**
|
|
3820
|
-
* DiscountGet 获取折扣接口
|
|
3821
|
-
* @param {string} [id] @gotags: form:\"id\"
|
|
3822
|
-
* @param {*} [options] Override http request option.
|
|
3823
|
-
* @throws {RequiredError}
|
|
3824
|
-
*/
|
|
3825
|
-
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountGetResponse>>;
|
|
3826
|
-
/**
|
|
3827
|
-
* DiscountList 折扣列表接口
|
|
3828
|
-
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
3829
|
-
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
3830
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
3831
|
-
* @param {*} [options] Override http request option.
|
|
3832
|
-
* @throws {RequiredError}
|
|
3833
|
-
*/
|
|
3834
|
-
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountListResponse>>;
|
|
3835
|
-
/**
|
|
3836
|
-
* DiscountUpdate 更新折扣接口
|
|
3837
|
-
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
3838
|
-
* @param {*} [options] Override http request option.
|
|
3839
|
-
* @throws {RequiredError}
|
|
3840
|
-
*/
|
|
3841
|
-
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscountUpdateResponse>>;
|
|
3842
|
-
};
|
|
3843
|
-
/**
|
|
3844
|
-
* DiscountAdminServiceApi - factory interface
|
|
3845
|
-
*/
|
|
3846
|
-
export declare const DiscountAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3847
|
-
/**
|
|
3848
|
-
* DiscountCreate 创建折扣接口
|
|
3849
|
-
* @param {DiscountCreateRequest} discountCreateRequest
|
|
3850
|
-
* @param {*} [options] Override http request option.
|
|
3851
|
-
* @throws {RequiredError}
|
|
3852
|
-
*/
|
|
3853
|
-
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
|
|
3854
|
-
/**
|
|
3855
|
-
* DiscountDelete 删除折扣接口
|
|
3856
|
-
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
3857
|
-
* @param {*} [options] Override http request option.
|
|
3858
|
-
* @throws {RequiredError}
|
|
3859
|
-
*/
|
|
3860
|
-
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountDeleteResponse>;
|
|
3861
|
-
/**
|
|
3862
|
-
* DiscountGet 获取折扣接口
|
|
3863
|
-
* @param {string} [id] @gotags: form:\"id\"
|
|
3864
|
-
* @param {*} [options] Override http request option.
|
|
3865
|
-
* @throws {RequiredError}
|
|
3866
|
-
*/
|
|
3867
|
-
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountGetResponse>;
|
|
3868
|
-
/**
|
|
3869
|
-
* DiscountList 折扣列表接口
|
|
3870
|
-
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
3871
|
-
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
3872
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
3873
|
-
* @param {*} [options] Override http request option.
|
|
3874
|
-
* @throws {RequiredError}
|
|
3875
|
-
*/
|
|
3876
|
-
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountListResponse>;
|
|
3877
|
-
/**
|
|
3878
|
-
* DiscountUpdate 更新折扣接口
|
|
3879
|
-
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
3880
|
-
* @param {*} [options] Override http request option.
|
|
3881
|
-
* @throws {RequiredError}
|
|
3882
|
-
*/
|
|
3883
|
-
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountUpdateResponse>;
|
|
3884
|
-
};
|
|
3885
|
-
/**
|
|
3886
|
-
* DiscountAdminServiceApi - interface
|
|
3887
|
-
*/
|
|
3888
|
-
export interface DiscountAdminServiceApiInterface {
|
|
3889
|
-
/**
|
|
3890
|
-
* DiscountCreate 创建折扣接口
|
|
3891
|
-
* @param {DiscountCreateRequest} discountCreateRequest
|
|
3892
|
-
* @param {*} [options] Override http request option.
|
|
3893
|
-
* @throws {RequiredError}
|
|
3894
|
-
*/
|
|
3895
|
-
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountCreateRequest>;
|
|
3896
|
-
/**
|
|
3897
|
-
* DiscountDelete 删除折扣接口
|
|
3898
|
-
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
3899
|
-
* @param {*} [options] Override http request option.
|
|
3900
|
-
* @throws {RequiredError}
|
|
3901
|
-
*/
|
|
3902
|
-
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountDeleteResponse>;
|
|
3903
|
-
/**
|
|
3904
|
-
* DiscountGet 获取折扣接口
|
|
3905
|
-
* @param {string} [id] @gotags: form:\"id\"
|
|
3906
|
-
* @param {*} [options] Override http request option.
|
|
3907
|
-
* @throws {RequiredError}
|
|
3908
|
-
*/
|
|
3909
|
-
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountGetResponse>;
|
|
3910
|
-
/**
|
|
3911
|
-
* DiscountList 折扣列表接口
|
|
3912
|
-
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
3913
|
-
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
3914
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
3915
|
-
* @param {*} [options] Override http request option.
|
|
3916
|
-
* @throws {RequiredError}
|
|
3917
|
-
*/
|
|
3918
|
-
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<DiscountListResponse>;
|
|
3919
|
-
/**
|
|
3920
|
-
* DiscountUpdate 更新折扣接口
|
|
3921
|
-
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
3922
|
-
* @param {*} [options] Override http request option.
|
|
3923
|
-
* @throws {RequiredError}
|
|
3924
|
-
*/
|
|
3925
|
-
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DiscountUpdateResponse>;
|
|
3926
|
-
}
|
|
3927
|
-
/**
|
|
3928
|
-
* DiscountAdminServiceApi - object-oriented interface
|
|
3929
|
-
*/
|
|
3930
|
-
export declare class DiscountAdminServiceApi extends BaseAPI implements DiscountAdminServiceApiInterface {
|
|
3931
|
-
/**
|
|
3932
|
-
* DiscountCreate 创建折扣接口
|
|
3933
|
-
* @param {DiscountCreateRequest} discountCreateRequest
|
|
3934
|
-
* @param {*} [options] Override http request option.
|
|
3935
|
-
* @throws {RequiredError}
|
|
3936
|
-
*/
|
|
3937
|
-
discountAdminServiceDiscountCreate(discountCreateRequest: DiscountCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountCreateRequest, any, {}>>;
|
|
3938
|
-
/**
|
|
3939
|
-
* DiscountDelete 删除折扣接口
|
|
3940
|
-
* @param {DiscountDeleteRequest} discountDeleteRequest
|
|
3941
|
-
* @param {*} [options] Override http request option.
|
|
3942
|
-
* @throws {RequiredError}
|
|
3943
|
-
*/
|
|
3944
|
-
discountAdminServiceDiscountDelete(discountDeleteRequest: DiscountDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountDeleteResponse, any, {}>>;
|
|
3945
|
-
/**
|
|
3946
|
-
* DiscountGet 获取折扣接口
|
|
3947
|
-
* @param {string} [id] @gotags: form:\"id\"
|
|
3948
|
-
* @param {*} [options] Override http request option.
|
|
3949
|
-
* @throws {RequiredError}
|
|
3950
|
-
*/
|
|
3951
|
-
discountAdminServiceDiscountGet(id?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountGetResponse, any, {}>>;
|
|
3952
|
-
/**
|
|
3953
|
-
* DiscountList 折扣列表接口
|
|
3954
|
-
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
3955
|
-
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
3956
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) @gotags: form:\"name_prefix\"
|
|
3957
|
-
* @param {*} [options] Override http request option.
|
|
3958
|
-
* @throws {RequiredError}
|
|
3959
|
-
*/
|
|
3960
|
-
discountAdminServiceDiscountList(page?: number, pageSize?: number, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountListResponse, any, {}>>;
|
|
3961
|
-
/**
|
|
3962
|
-
* DiscountUpdate 更新折扣接口
|
|
3963
|
-
* @param {DiscountUpdateRequest} discountUpdateRequest
|
|
3964
|
-
* @param {*} [options] Override http request option.
|
|
3965
|
-
* @throws {RequiredError}
|
|
3966
|
-
*/
|
|
3967
|
-
discountAdminServiceDiscountUpdate(discountUpdateRequest: DiscountUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountUpdateResponse, any, {}>>;
|
|
3968
|
-
}
|
|
3969
|
-
/**
|
|
3970
|
-
* ProviderAdminServiceApi - axios parameter creator
|
|
3971
|
-
*/
|
|
3972
|
-
export declare const ProviderAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3973
|
-
/**
|
|
3974
|
-
* ProviderCreate 创建新的 Provider Create a new AI model provider 请求路径: POST /admin/provider/create Request path: POST /admin/provider/create 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3975
|
-
* @param {ProviderCreateRequest} providerCreateRequest
|
|
3976
|
-
* @param {*} [options] Override http request option.
|
|
3977
|
-
* @throws {RequiredError}
|
|
3978
|
-
*/
|
|
3979
|
-
providerAdminServiceProviderCreate: (providerCreateRequest: ProviderCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3980
|
-
/**
|
|
3981
|
-
* ProviderDelete 删除 Provider(软删除) Delete a provider (soft delete) 请求路径: POST /admin/provider/delete Request path: POST /admin/provider/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3982
|
-
* @param {ProviderDeleteRequest} providerDeleteRequest
|
|
3983
|
-
* @param {*} [options] Override http request option.
|
|
3984
|
-
* @throws {RequiredError}
|
|
3985
|
-
*/
|
|
3986
|
-
providerAdminServiceProviderDelete: (providerDeleteRequest: ProviderDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3987
|
-
/**
|
|
3988
|
-
* ProviderGet 根据 ID 获取单个 Provider Retrieve a single provider by ID 请求路径: GET /admin/provider/get?id={id} Request path: GET /admin/provider/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3989
|
-
* @param {string} [id] id 要获取的 Provider 的唯一标识符 Unique identifier of the provider to retrieve @gotags: form:\"id\" binding:\"required\"
|
|
3990
|
-
* @param {*} [options] Override http request option.
|
|
3991
|
-
* @throws {RequiredError}
|
|
3992
|
-
*/
|
|
3993
|
-
providerAdminServiceProviderGet: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3994
|
-
/**
|
|
3995
|
-
* ProviderList 分页查询 Provider 列表,支持按状态和名称前缀过滤 List providers with pagination, supports filtering by status and name prefix 请求路径: GET /admin/provider/list?page={page}&page_size={page_size}&provider_status={status}&name_prefix={prefix} Request path: GET /admin/provider/list?page={page}&page_size={page_size}&provider_status={status}&name_prefix={prefix} 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
3996
|
-
* @param {number} [page] page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\"
|
|
3997
|
-
* @param {number} [pageSize] page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\"
|
|
3998
|
-
* @param {number} [providerStatus] provider_status 按状态过滤(可选) Filter by provider status (optional) 0: 返回所有状态 1: 仅返回启用的 Provider 2: 仅返回禁用的 Provider 0: return all statuses 1: return only active providers 2: return only disabled providers @gotags: form:\"provider_status\"
|
|
3999
|
-
* @param {string} [namePrefix] name_prefix 按名称前缀过滤(可选) Filter by name prefix (optional) 例如: \"openai\" 会匹配 \"openai-prod-1\", \"openai-dev-1\" 等 Example: \"openai\" matches \"openai-prod-1\", \"openai-dev-1\", etc. @gotags: form:\"name_prefix\"
|
|
4000
|
-
* @param {*} [options] Override http request option.
|
|
4001
|
-
* @throws {RequiredError}
|
|
4002
|
-
*/
|
|
4003
|
-
providerAdminServiceProviderList: (page?: number, pageSize?: number, providerStatus?: number, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4004
|
-
/**
|
|
4005
|
-
* ProviderUpdate 更新现有的 Provider Update an existing AI model provider 请求路径: POST /admin/provider/update Request path: POST /admin/provider/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
4006
|
-
* @param {ProviderUpdateRequest} providerUpdateRequest
|
|
2572
|
+
* ProviderUpdate 更新现有的 Provider Update an existing AI model provider 请求路径: POST /admin/provider/update Request path: POST /admin/provider/update 权限要求: 需要管理员权限 Permission: Requires admin authentication
|
|
2573
|
+
* @param {ProviderUpdateRequest} providerUpdateRequest
|
|
4007
2574
|
* @param {*} [options] Override http request option.
|
|
4008
2575
|
* @throws {RequiredError}
|
|
4009
2576
|
*/
|
|
@@ -4401,226 +2968,6 @@ export declare class ProviderModelAdminServiceApi extends BaseAPI implements Pro
|
|
|
4401
2968
|
*/
|
|
4402
2969
|
providerModelAdminServiceProviderModelUpdate(providerModelUpdateRequest: ProviderModelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderModelUpdateResponse, any, {}>>;
|
|
4403
2970
|
}
|
|
4404
|
-
/**
|
|
4405
|
-
* RemoteConfigAdminServiceApi - axios parameter creator
|
|
4406
|
-
*/
|
|
4407
|
-
export declare const RemoteConfigAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4408
|
-
/**
|
|
4409
|
-
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4410
|
-
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4411
|
-
* @param {*} [options] Override http request option.
|
|
4412
|
-
* @throws {RequiredError}
|
|
4413
|
-
*/
|
|
4414
|
-
remoteConfigAdminServiceRemoteConfigItemCreate: (remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4415
|
-
/**
|
|
4416
|
-
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4417
|
-
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4418
|
-
* @param {*} [options] Override http request option.
|
|
4419
|
-
* @throws {RequiredError}
|
|
4420
|
-
*/
|
|
4421
|
-
remoteConfigAdminServiceRemoteConfigItemDelete: (remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4422
|
-
/**
|
|
4423
|
-
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4424
|
-
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4425
|
-
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4426
|
-
* @param {*} [options] Override http request option.
|
|
4427
|
-
* @throws {RequiredError}
|
|
4428
|
-
*/
|
|
4429
|
-
remoteConfigAdminServiceRemoteConfigItemGet: (key?: string, historyLimit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4430
|
-
/**
|
|
4431
|
-
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4432
|
-
* @param {number} [page]
|
|
4433
|
-
* @param {number} [pageSize]
|
|
4434
|
-
* @param {Array<string>} [keys]
|
|
4435
|
-
* @param {string} [keyword]
|
|
4436
|
-
* @param {*} [options] Override http request option.
|
|
4437
|
-
* @throws {RequiredError}
|
|
4438
|
-
*/
|
|
4439
|
-
remoteConfigAdminServiceRemoteConfigItemList: (page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4440
|
-
/**
|
|
4441
|
-
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4442
|
-
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4443
|
-
* @param {*} [options] Override http request option.
|
|
4444
|
-
* @throws {RequiredError}
|
|
4445
|
-
*/
|
|
4446
|
-
remoteConfigAdminServiceRemoteConfigItemUpdate: (remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4447
|
-
};
|
|
4448
|
-
/**
|
|
4449
|
-
* RemoteConfigAdminServiceApi - functional programming interface
|
|
4450
|
-
*/
|
|
4451
|
-
export declare const RemoteConfigAdminServiceApiFp: (configuration?: Configuration) => {
|
|
4452
|
-
/**
|
|
4453
|
-
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4454
|
-
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4455
|
-
* @param {*} [options] Override http request option.
|
|
4456
|
-
* @throws {RequiredError}
|
|
4457
|
-
*/
|
|
4458
|
-
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemCreateResponse>>;
|
|
4459
|
-
/**
|
|
4460
|
-
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4461
|
-
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4462
|
-
* @param {*} [options] Override http request option.
|
|
4463
|
-
* @throws {RequiredError}
|
|
4464
|
-
*/
|
|
4465
|
-
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemDeleteResponse>>;
|
|
4466
|
-
/**
|
|
4467
|
-
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4468
|
-
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4469
|
-
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4470
|
-
* @param {*} [options] Override http request option.
|
|
4471
|
-
* @throws {RequiredError}
|
|
4472
|
-
*/
|
|
4473
|
-
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemGetResponse>>;
|
|
4474
|
-
/**
|
|
4475
|
-
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4476
|
-
* @param {number} [page]
|
|
4477
|
-
* @param {number} [pageSize]
|
|
4478
|
-
* @param {Array<string>} [keys]
|
|
4479
|
-
* @param {string} [keyword]
|
|
4480
|
-
* @param {*} [options] Override http request option.
|
|
4481
|
-
* @throws {RequiredError}
|
|
4482
|
-
*/
|
|
4483
|
-
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemListResponse>>;
|
|
4484
|
-
/**
|
|
4485
|
-
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4486
|
-
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4487
|
-
* @param {*} [options] Override http request option.
|
|
4488
|
-
* @throws {RequiredError}
|
|
4489
|
-
*/
|
|
4490
|
-
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteConfigItemUpdateResponse>>;
|
|
4491
|
-
};
|
|
4492
|
-
/**
|
|
4493
|
-
* RemoteConfigAdminServiceApi - factory interface
|
|
4494
|
-
*/
|
|
4495
|
-
export declare const RemoteConfigAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4496
|
-
/**
|
|
4497
|
-
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4498
|
-
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4499
|
-
* @param {*} [options] Override http request option.
|
|
4500
|
-
* @throws {RequiredError}
|
|
4501
|
-
*/
|
|
4502
|
-
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemCreateResponse>;
|
|
4503
|
-
/**
|
|
4504
|
-
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4505
|
-
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4506
|
-
* @param {*} [options] Override http request option.
|
|
4507
|
-
* @throws {RequiredError}
|
|
4508
|
-
*/
|
|
4509
|
-
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemDeleteResponse>;
|
|
4510
|
-
/**
|
|
4511
|
-
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4512
|
-
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4513
|
-
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4514
|
-
* @param {*} [options] Override http request option.
|
|
4515
|
-
* @throws {RequiredError}
|
|
4516
|
-
*/
|
|
4517
|
-
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemGetResponse>;
|
|
4518
|
-
/**
|
|
4519
|
-
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4520
|
-
* @param {number} [page]
|
|
4521
|
-
* @param {number} [pageSize]
|
|
4522
|
-
* @param {Array<string>} [keys]
|
|
4523
|
-
* @param {string} [keyword]
|
|
4524
|
-
* @param {*} [options] Override http request option.
|
|
4525
|
-
* @throws {RequiredError}
|
|
4526
|
-
*/
|
|
4527
|
-
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemListResponse>;
|
|
4528
|
-
/**
|
|
4529
|
-
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4530
|
-
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4531
|
-
* @param {*} [options] Override http request option.
|
|
4532
|
-
* @throws {RequiredError}
|
|
4533
|
-
*/
|
|
4534
|
-
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemUpdateResponse>;
|
|
4535
|
-
};
|
|
4536
|
-
/**
|
|
4537
|
-
* RemoteConfigAdminServiceApi - interface
|
|
4538
|
-
*/
|
|
4539
|
-
export interface RemoteConfigAdminServiceApiInterface {
|
|
4540
|
-
/**
|
|
4541
|
-
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4542
|
-
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4543
|
-
* @param {*} [options] Override http request option.
|
|
4544
|
-
* @throws {RequiredError}
|
|
4545
|
-
*/
|
|
4546
|
-
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemCreateResponse>;
|
|
4547
|
-
/**
|
|
4548
|
-
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4549
|
-
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4550
|
-
* @param {*} [options] Override http request option.
|
|
4551
|
-
* @throws {RequiredError}
|
|
4552
|
-
*/
|
|
4553
|
-
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemDeleteResponse>;
|
|
4554
|
-
/**
|
|
4555
|
-
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4556
|
-
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4557
|
-
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4558
|
-
* @param {*} [options] Override http request option.
|
|
4559
|
-
* @throws {RequiredError}
|
|
4560
|
-
*/
|
|
4561
|
-
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemGetResponse>;
|
|
4562
|
-
/**
|
|
4563
|
-
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4564
|
-
* @param {number} [page]
|
|
4565
|
-
* @param {number} [pageSize]
|
|
4566
|
-
* @param {Array<string>} [keys]
|
|
4567
|
-
* @param {string} [keyword]
|
|
4568
|
-
* @param {*} [options] Override http request option.
|
|
4569
|
-
* @throws {RequiredError}
|
|
4570
|
-
*/
|
|
4571
|
-
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemListResponse>;
|
|
4572
|
-
/**
|
|
4573
|
-
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4574
|
-
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4575
|
-
* @param {*} [options] Override http request option.
|
|
4576
|
-
* @throws {RequiredError}
|
|
4577
|
-
*/
|
|
4578
|
-
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteConfigItemUpdateResponse>;
|
|
4579
|
-
}
|
|
4580
|
-
/**
|
|
4581
|
-
* RemoteConfigAdminServiceApi - object-oriented interface
|
|
4582
|
-
*/
|
|
4583
|
-
export declare class RemoteConfigAdminServiceApi extends BaseAPI implements RemoteConfigAdminServiceApiInterface {
|
|
4584
|
-
/**
|
|
4585
|
-
* RemoteConfigItemCreate 创建新的 远程配置项 请求路径: POST /admin/remote-config/create 权限要求: 需要管理员权限
|
|
4586
|
-
* @param {RemoteConfigItemCreateRequest} remoteConfigItemCreateRequest
|
|
4587
|
-
* @param {*} [options] Override http request option.
|
|
4588
|
-
* @throws {RequiredError}
|
|
4589
|
-
*/
|
|
4590
|
-
remoteConfigAdminServiceRemoteConfigItemCreate(remoteConfigItemCreateRequest: RemoteConfigItemCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemCreateResponse, any, {}>>;
|
|
4591
|
-
/**
|
|
4592
|
-
* RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
|
|
4593
|
-
* @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
|
|
4594
|
-
* @param {*} [options] Override http request option.
|
|
4595
|
-
* @throws {RequiredError}
|
|
4596
|
-
*/
|
|
4597
|
-
remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest: RemoteConfigItemDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemDeleteResponse, any, {}>>;
|
|
4598
|
-
/**
|
|
4599
|
-
* RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
|
|
4600
|
-
* @param {string} [key] @gotags: form:\"key\" binding:\"required\"
|
|
4601
|
-
* @param {number} [historyLimit] @gotags: form:\"history_limit\"
|
|
4602
|
-
* @param {*} [options] Override http request option.
|
|
4603
|
-
* @throws {RequiredError}
|
|
4604
|
-
*/
|
|
4605
|
-
remoteConfigAdminServiceRemoteConfigItemGet(key?: string, historyLimit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemGetResponse, any, {}>>;
|
|
4606
|
-
/**
|
|
4607
|
-
* RemoteConfigItemList 列出 远程配置项 列表 请求路径: GET /admin/remote-config/list 权限要求: 需要管理员权限
|
|
4608
|
-
* @param {number} [page]
|
|
4609
|
-
* @param {number} [pageSize]
|
|
4610
|
-
* @param {Array<string>} [keys]
|
|
4611
|
-
* @param {string} [keyword]
|
|
4612
|
-
* @param {*} [options] Override http request option.
|
|
4613
|
-
* @throws {RequiredError}
|
|
4614
|
-
*/
|
|
4615
|
-
remoteConfigAdminServiceRemoteConfigItemList(page?: number, pageSize?: number, keys?: Array<string>, keyword?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemListResponse, any, {}>>;
|
|
4616
|
-
/**
|
|
4617
|
-
* RemoteConfigItemUpdate 更新已有的 远程配置项 请求路径: POST /admin/remote-config/update 权限要求: 需要管理员权限
|
|
4618
|
-
* @param {RemoteConfigItemUpdateRequest} remoteConfigItemUpdateRequest
|
|
4619
|
-
* @param {*} [options] Override http request option.
|
|
4620
|
-
* @throws {RequiredError}
|
|
4621
|
-
*/
|
|
4622
|
-
remoteConfigAdminServiceRemoteConfigItemUpdate(remoteConfigItemUpdateRequest: RemoteConfigItemUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteConfigItemUpdateResponse, any, {}>>;
|
|
4623
|
-
}
|
|
4624
2971
|
/**
|
|
4625
2972
|
* UserAPIKeyServiceApi - axios parameter creator
|
|
4626
2973
|
*/
|
|
@@ -4846,6 +3193,271 @@ export declare class UserAPIKeyServiceApi extends BaseAPI implements UserAPIKeyS
|
|
|
4846
3193
|
*/
|
|
4847
3194
|
userAPIKeyServiceUserAPIKeyUpdate(userAPIKeyUpdateRequest: UserAPIKeyUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAPIKeyUpdateResponse, any, {}>>;
|
|
4848
3195
|
}
|
|
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
|
+
}
|
|
4849
3461
|
/**
|
|
4850
3462
|
* UserBalanceServiceApi - axios parameter creator
|
|
4851
3463
|
*/
|
|
@@ -5448,14 +4060,11 @@ export declare const UserPayServiceApiAxiosParamCreator: (configuration?: Config
|
|
|
5448
4060
|
/**
|
|
5449
4061
|
*
|
|
5450
4062
|
* @param {string} [currencyCode]
|
|
5451
|
-
* @param {
|
|
5452
|
-
* @param {boolean} [redirect]
|
|
5453
|
-
* @param {string} [successUrl]
|
|
5454
|
-
* @param {string} [cancelUrl]
|
|
4063
|
+
* @param {number} [chargeAmount]
|
|
5455
4064
|
* @param {*} [options] Override http request option.
|
|
5456
4065
|
* @throws {RequiredError}
|
|
5457
4066
|
*/
|
|
5458
|
-
userPayServiceUserPayStripeCheckout: (currencyCode?: string, chargeAmount?:
|
|
4067
|
+
userPayServiceUserPayStripeCheckout: (currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5459
4068
|
};
|
|
5460
4069
|
/**
|
|
5461
4070
|
* UserPayServiceApi - functional programming interface
|
|
@@ -5464,14 +4073,11 @@ export declare const UserPayServiceApiFp: (configuration?: Configuration) => {
|
|
|
5464
4073
|
/**
|
|
5465
4074
|
*
|
|
5466
4075
|
* @param {string} [currencyCode]
|
|
5467
|
-
* @param {
|
|
5468
|
-
* @param {boolean} [redirect]
|
|
5469
|
-
* @param {string} [successUrl]
|
|
5470
|
-
* @param {string} [cancelUrl]
|
|
4076
|
+
* @param {number} [chargeAmount]
|
|
5471
4077
|
* @param {*} [options] Override http request option.
|
|
5472
4078
|
* @throws {RequiredError}
|
|
5473
4079
|
*/
|
|
5474
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
4080
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPayStripeCheckoutResponse>>;
|
|
5475
4081
|
};
|
|
5476
4082
|
/**
|
|
5477
4083
|
* UserPayServiceApi - factory interface
|
|
@@ -5480,14 +4086,11 @@ export declare const UserPayServiceApiFactory: (configuration?: Configuration, b
|
|
|
5480
4086
|
/**
|
|
5481
4087
|
*
|
|
5482
4088
|
* @param {string} [currencyCode]
|
|
5483
|
-
* @param {
|
|
5484
|
-
* @param {boolean} [redirect]
|
|
5485
|
-
* @param {string} [successUrl]
|
|
5486
|
-
* @param {string} [cancelUrl]
|
|
4089
|
+
* @param {number} [chargeAmount]
|
|
5487
4090
|
* @param {*} [options] Override http request option.
|
|
5488
4091
|
* @throws {RequiredError}
|
|
5489
4092
|
*/
|
|
5490
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
4093
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
|
|
5491
4094
|
};
|
|
5492
4095
|
/**
|
|
5493
4096
|
* UserPayServiceApi - interface
|
|
@@ -5496,14 +4099,11 @@ export interface UserPayServiceApiInterface {
|
|
|
5496
4099
|
/**
|
|
5497
4100
|
*
|
|
5498
4101
|
* @param {string} [currencyCode]
|
|
5499
|
-
* @param {
|
|
5500
|
-
* @param {boolean} [redirect]
|
|
5501
|
-
* @param {string} [successUrl]
|
|
5502
|
-
* @param {string} [cancelUrl]
|
|
4102
|
+
* @param {number} [chargeAmount]
|
|
5503
4103
|
* @param {*} [options] Override http request option.
|
|
5504
4104
|
* @throws {RequiredError}
|
|
5505
4105
|
*/
|
|
5506
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
4106
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig): AxiosPromise<UserPayStripeCheckoutResponse>;
|
|
5507
4107
|
}
|
|
5508
4108
|
/**
|
|
5509
4109
|
* UserPayServiceApi - object-oriented interface
|
|
@@ -5512,14 +4112,11 @@ export declare class UserPayServiceApi extends BaseAPI implements UserPayService
|
|
|
5512
4112
|
/**
|
|
5513
4113
|
*
|
|
5514
4114
|
* @param {string} [currencyCode]
|
|
5515
|
-
* @param {
|
|
5516
|
-
* @param {boolean} [redirect]
|
|
5517
|
-
* @param {string} [successUrl]
|
|
5518
|
-
* @param {string} [cancelUrl]
|
|
4115
|
+
* @param {number} [chargeAmount]
|
|
5519
4116
|
* @param {*} [options] Override http request option.
|
|
5520
4117
|
* @throws {RequiredError}
|
|
5521
4118
|
*/
|
|
5522
|
-
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?:
|
|
4119
|
+
userPayServiceUserPayStripeCheckout(currencyCode?: string, chargeAmount?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPayStripeCheckoutResponse, any, {}>>;
|
|
5523
4120
|
}
|
|
5524
4121
|
/**
|
|
5525
4122
|
* UserPoralServiceApi - axios parameter creator
|