@loopstack/hub-client 0.8.1 → 0.9.1
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/CHANGELOG.md +7 -0
- package/LICENSE +19 -0
- package/api.ts +1197 -343
- package/dist/api.d.ts +930 -273
- package/dist/api.js +664 -260
- package/dist/esm/api.d.ts +930 -273
- package/dist/esm/api.js +654 -254
- package/package.json +5 -6
package/dist/api.d.ts
CHANGED
|
@@ -13,6 +13,105 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuthorizationCodeResponseDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AuthorizationCodeResponseDto {
|
|
22
|
+
/**
|
|
23
|
+
* The authorization code
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AuthorizationCodeResponseDto
|
|
26
|
+
*/
|
|
27
|
+
'authCode': string;
|
|
28
|
+
/**
|
|
29
|
+
* The exact date and time when the authorization code expires
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AuthorizationCodeResponseDto
|
|
32
|
+
*/
|
|
33
|
+
'expiresAt': string;
|
|
34
|
+
/**
|
|
35
|
+
* The number of seconds until the authorization code expires
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof AuthorizationCodeResponseDto
|
|
38
|
+
*/
|
|
39
|
+
'expiresIn': number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
* @interface ErrorResponseDto
|
|
45
|
+
*/
|
|
46
|
+
export interface ErrorResponseDto {
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof ErrorResponseDto
|
|
51
|
+
*/
|
|
52
|
+
'statusCode': number;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ErrorResponseDto
|
|
57
|
+
*/
|
|
58
|
+
'message': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ErrorResponseDto
|
|
63
|
+
*/
|
|
64
|
+
'error': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ErrorResponseDto
|
|
69
|
+
*/
|
|
70
|
+
'timestamp': string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ErrorResponseDto
|
|
75
|
+
*/
|
|
76
|
+
'correlationId'?: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @export
|
|
81
|
+
* @interface GenerateCodeResponseDto
|
|
82
|
+
*/
|
|
83
|
+
export interface GenerateCodeResponseDto {
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof GenerateCodeResponseDto
|
|
88
|
+
*/
|
|
89
|
+
'success': boolean;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {object}
|
|
93
|
+
* @memberof GenerateCodeResponseDto
|
|
94
|
+
*/
|
|
95
|
+
'data': object;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof GenerateCodeResponseDto
|
|
100
|
+
*/
|
|
101
|
+
'message': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof GenerateCodeResponseDto
|
|
106
|
+
*/
|
|
107
|
+
'timestamp': string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof GenerateCodeResponseDto
|
|
112
|
+
*/
|
|
113
|
+
'correlationId'?: string;
|
|
114
|
+
}
|
|
16
115
|
/**
|
|
17
116
|
*
|
|
18
117
|
* @export
|
|
@@ -44,6 +143,227 @@ export interface PaginatedDto {
|
|
|
44
143
|
*/
|
|
45
144
|
'limit': number;
|
|
46
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @export
|
|
149
|
+
* @interface UIPreferencesDto
|
|
150
|
+
*/
|
|
151
|
+
export interface UIPreferencesDto {
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof UIPreferencesDto
|
|
156
|
+
*/
|
|
157
|
+
'theme'?: UIPreferencesDtoThemeEnum;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof UIPreferencesDto
|
|
162
|
+
*/
|
|
163
|
+
'language'?: string;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {string}
|
|
167
|
+
* @memberof UIPreferencesDto
|
|
168
|
+
*/
|
|
169
|
+
'timezone'?: string;
|
|
170
|
+
}
|
|
171
|
+
export declare const UIPreferencesDtoThemeEnum: {
|
|
172
|
+
readonly Light: "light";
|
|
173
|
+
readonly Dark: "dark";
|
|
174
|
+
};
|
|
175
|
+
export type UIPreferencesDtoThemeEnum = typeof UIPreferencesDtoThemeEnum[keyof typeof UIPreferencesDtoThemeEnum];
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @export
|
|
179
|
+
* @interface UserDto
|
|
180
|
+
*/
|
|
181
|
+
export interface UserDto {
|
|
182
|
+
/**
|
|
183
|
+
* Unique identifier for the user
|
|
184
|
+
* @type {string}
|
|
185
|
+
* @memberof UserDto
|
|
186
|
+
*/
|
|
187
|
+
'id': string;
|
|
188
|
+
/**
|
|
189
|
+
* User email address
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof UserDto
|
|
192
|
+
*/
|
|
193
|
+
'email': string;
|
|
194
|
+
/**
|
|
195
|
+
* User first name
|
|
196
|
+
* @type {string}
|
|
197
|
+
* @memberof UserDto
|
|
198
|
+
*/
|
|
199
|
+
'firstName': string;
|
|
200
|
+
/**
|
|
201
|
+
* User last name
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof UserDto
|
|
204
|
+
*/
|
|
205
|
+
'lastName': string;
|
|
206
|
+
/**
|
|
207
|
+
* Whether the user account is active
|
|
208
|
+
* @type {boolean}
|
|
209
|
+
* @memberof UserDto
|
|
210
|
+
*/
|
|
211
|
+
'isActive': boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Array of role names assigned to the user
|
|
214
|
+
* @type {Array<string>}
|
|
215
|
+
* @memberof UserDto
|
|
216
|
+
*/
|
|
217
|
+
'roles': Array<string>;
|
|
218
|
+
/**
|
|
219
|
+
* User settings and preferences
|
|
220
|
+
* @type {UserSettingsDto}
|
|
221
|
+
* @memberof UserDto
|
|
222
|
+
*/
|
|
223
|
+
'settings'?: UserSettingsDto | null;
|
|
224
|
+
/**
|
|
225
|
+
* Date when the user was created
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof UserDto
|
|
228
|
+
*/
|
|
229
|
+
'createdAt': string;
|
|
230
|
+
/**
|
|
231
|
+
* Date when the user was last updated
|
|
232
|
+
* @type {string}
|
|
233
|
+
* @memberof UserDto
|
|
234
|
+
*/
|
|
235
|
+
'updatedAt': string;
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {Array<Array<WorkerItemDto>>}
|
|
239
|
+
* @memberof UserDto
|
|
240
|
+
*/
|
|
241
|
+
'workers': Array<Array<WorkerItemDto>>;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @export
|
|
246
|
+
* @interface UserSettingsDto
|
|
247
|
+
*/
|
|
248
|
+
export interface UserSettingsDto {
|
|
249
|
+
/**
|
|
250
|
+
* Settings ID
|
|
251
|
+
* @type {string}
|
|
252
|
+
* @memberof UserSettingsDto
|
|
253
|
+
*/
|
|
254
|
+
'id': string;
|
|
255
|
+
/**
|
|
256
|
+
* User ID
|
|
257
|
+
* @type {string}
|
|
258
|
+
* @memberof UserSettingsDto
|
|
259
|
+
*/
|
|
260
|
+
'userId': string;
|
|
261
|
+
/**
|
|
262
|
+
* Default worker ID
|
|
263
|
+
* @type {string}
|
|
264
|
+
* @memberof UserSettingsDto
|
|
265
|
+
*/
|
|
266
|
+
'defaultWorkerId'?: string;
|
|
267
|
+
/**
|
|
268
|
+
* Last selected worker ID
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof UserSettingsDto
|
|
271
|
+
*/
|
|
272
|
+
'lastSelectedWorkerId'?: string;
|
|
273
|
+
/**
|
|
274
|
+
* UI preferences
|
|
275
|
+
* @type {UIPreferencesDto}
|
|
276
|
+
* @memberof UserSettingsDto
|
|
277
|
+
*/
|
|
278
|
+
'uiPreferences'?: UIPreferencesDto;
|
|
279
|
+
/**
|
|
280
|
+
* Creation timestamp
|
|
281
|
+
* @type {string}
|
|
282
|
+
* @memberof UserSettingsDto
|
|
283
|
+
*/
|
|
284
|
+
'createdAt': string;
|
|
285
|
+
/**
|
|
286
|
+
* Last update timestamp
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof UserSettingsDto
|
|
289
|
+
*/
|
|
290
|
+
'updatedAt': string;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
*
|
|
294
|
+
* @export
|
|
295
|
+
* @interface UserSettingsUpdateDto
|
|
296
|
+
*/
|
|
297
|
+
export interface UserSettingsUpdateDto {
|
|
298
|
+
/**
|
|
299
|
+
* Default worker for the user
|
|
300
|
+
* @type {string}
|
|
301
|
+
* @memberof UserSettingsUpdateDto
|
|
302
|
+
*/
|
|
303
|
+
'defaultWorkerId'?: string;
|
|
304
|
+
/**
|
|
305
|
+
* Last selected worker by the user
|
|
306
|
+
* @type {string}
|
|
307
|
+
* @memberof UserSettingsUpdateDto
|
|
308
|
+
*/
|
|
309
|
+
'lastSelectedWorkerId'?: string;
|
|
310
|
+
/**
|
|
311
|
+
* UI preferences
|
|
312
|
+
* @type {UIPreferencesDto}
|
|
313
|
+
* @memberof UserSettingsUpdateDto
|
|
314
|
+
*/
|
|
315
|
+
'uiPreferences'?: UIPreferencesDto;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @export
|
|
320
|
+
* @interface ValidateCodeResponseDto
|
|
321
|
+
*/
|
|
322
|
+
export interface ValidateCodeResponseDto {
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {boolean}
|
|
326
|
+
* @memberof ValidateCodeResponseDto
|
|
327
|
+
*/
|
|
328
|
+
'success': boolean;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @type {object}
|
|
332
|
+
* @memberof ValidateCodeResponseDto
|
|
333
|
+
*/
|
|
334
|
+
'data': object;
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {string}
|
|
338
|
+
* @memberof ValidateCodeResponseDto
|
|
339
|
+
*/
|
|
340
|
+
'message': string;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @type {string}
|
|
344
|
+
* @memberof ValidateCodeResponseDto
|
|
345
|
+
*/
|
|
346
|
+
'timestamp': string;
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @type {string}
|
|
350
|
+
* @memberof ValidateCodeResponseDto
|
|
351
|
+
*/
|
|
352
|
+
'correlationId'?: string;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* @export
|
|
357
|
+
* @interface WorkerClientSecretDto
|
|
358
|
+
*/
|
|
359
|
+
export interface WorkerClientSecretDto {
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @type {string}
|
|
363
|
+
* @memberof WorkerClientSecretDto
|
|
364
|
+
*/
|
|
365
|
+
'clientSecret': string;
|
|
366
|
+
}
|
|
47
367
|
/**
|
|
48
368
|
*
|
|
49
369
|
* @export
|
|
@@ -138,6 +458,12 @@ export interface WorkerCreateDto {
|
|
|
138
458
|
* @memberof WorkerCreateDto
|
|
139
459
|
*/
|
|
140
460
|
'url': string;
|
|
461
|
+
/**
|
|
462
|
+
* URL of the worker websocket server
|
|
463
|
+
* @type {string}
|
|
464
|
+
* @memberof WorkerCreateDto
|
|
465
|
+
*/
|
|
466
|
+
'websocketUrl': string;
|
|
141
467
|
/**
|
|
142
468
|
* Name of the worker
|
|
143
469
|
* @type {string}
|
|
@@ -164,23 +490,23 @@ export interface WorkerDto {
|
|
|
164
490
|
*/
|
|
165
491
|
'url': string;
|
|
166
492
|
/**
|
|
167
|
-
*
|
|
493
|
+
* URL of the worker websocket server
|
|
168
494
|
* @type {string}
|
|
169
495
|
* @memberof WorkerDto
|
|
170
496
|
*/
|
|
171
|
-
'
|
|
497
|
+
'websocketUrl': string;
|
|
172
498
|
/**
|
|
173
|
-
*
|
|
499
|
+
* Name of the worker
|
|
174
500
|
* @type {string}
|
|
175
501
|
* @memberof WorkerDto
|
|
176
502
|
*/
|
|
177
|
-
'
|
|
503
|
+
'name': string;
|
|
178
504
|
/**
|
|
179
|
-
*
|
|
505
|
+
* Is client secret generated
|
|
180
506
|
* @type {boolean}
|
|
181
507
|
* @memberof WorkerDto
|
|
182
508
|
*/
|
|
183
|
-
'
|
|
509
|
+
'hasClientSecret': boolean;
|
|
184
510
|
/**
|
|
185
511
|
* Timestamp when the worker was created
|
|
186
512
|
* @type {string}
|
|
@@ -231,6 +557,12 @@ export interface WorkerItemDto {
|
|
|
231
557
|
* @memberof WorkerItemDto
|
|
232
558
|
*/
|
|
233
559
|
'url': string;
|
|
560
|
+
/**
|
|
561
|
+
* URL of the worker websocket server
|
|
562
|
+
* @type {string}
|
|
563
|
+
* @memberof WorkerItemDto
|
|
564
|
+
*/
|
|
565
|
+
'websocketUrl': string;
|
|
234
566
|
/**
|
|
235
567
|
* Name of the worker
|
|
236
568
|
* @type {string}
|
|
@@ -238,11 +570,11 @@ export interface WorkerItemDto {
|
|
|
238
570
|
*/
|
|
239
571
|
'name': string;
|
|
240
572
|
/**
|
|
241
|
-
*
|
|
573
|
+
* Is client secret generated
|
|
242
574
|
* @type {boolean}
|
|
243
575
|
* @memberof WorkerItemDto
|
|
244
576
|
*/
|
|
245
|
-
'
|
|
577
|
+
'hasClientSecret': boolean;
|
|
246
578
|
/**
|
|
247
579
|
* Timestamp when the worker was created
|
|
248
580
|
* @type {string}
|
|
@@ -278,9 +610,9 @@ export interface WorkerSortByDto {
|
|
|
278
610
|
export declare const WorkerSortByDtoFieldEnum: {
|
|
279
611
|
readonly Id: "id";
|
|
280
612
|
readonly Url: "url";
|
|
613
|
+
readonly WebsocketUrl: "websocketUrl";
|
|
281
614
|
readonly Name: "name";
|
|
282
|
-
readonly
|
|
283
|
-
readonly IsSetupComplete: "isSetupComplete";
|
|
615
|
+
readonly ClientSecret: "clientSecret";
|
|
284
616
|
readonly CreatedAt: "createdAt";
|
|
285
617
|
readonly UpdatedAt: "updatedAt";
|
|
286
618
|
readonly UserId: "userId";
|
|
@@ -297,6 +629,12 @@ export type WorkerSortByDtoOrderEnum = typeof WorkerSortByDtoOrderEnum[keyof typ
|
|
|
297
629
|
* @interface WorkerUpdateDto
|
|
298
630
|
*/
|
|
299
631
|
export interface WorkerUpdateDto {
|
|
632
|
+
/**
|
|
633
|
+
* Name of the worker
|
|
634
|
+
* @type {string}
|
|
635
|
+
* @memberof WorkerUpdateDto
|
|
636
|
+
*/
|
|
637
|
+
'name'?: string;
|
|
300
638
|
/**
|
|
301
639
|
* URL of the worker
|
|
302
640
|
* @type {string}
|
|
@@ -304,11 +642,11 @@ export interface WorkerUpdateDto {
|
|
|
304
642
|
*/
|
|
305
643
|
'url'?: string;
|
|
306
644
|
/**
|
|
307
|
-
*
|
|
645
|
+
* URL of the worker websocket server
|
|
308
646
|
* @type {string}
|
|
309
647
|
* @memberof WorkerUpdateDto
|
|
310
648
|
*/
|
|
311
|
-
'
|
|
649
|
+
'websocketUrl'?: string;
|
|
312
650
|
}
|
|
313
651
|
/**
|
|
314
652
|
* ApiV1AuthApi - axios parameter creator
|
|
@@ -317,68 +655,93 @@ export interface WorkerUpdateDto {
|
|
|
317
655
|
export declare const ApiV1AuthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
318
656
|
/**
|
|
319
657
|
*
|
|
658
|
+
* @summary Initiate Discord OAuth flow
|
|
320
659
|
* @param {*} [options] Override http request option.
|
|
321
660
|
* @throws {RequiredError}
|
|
322
661
|
*/
|
|
323
|
-
|
|
662
|
+
authControllerDiscordAuth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
324
663
|
/**
|
|
325
664
|
*
|
|
665
|
+
* @summary Handle Discord OAuth callback
|
|
326
666
|
* @param {*} [options] Override http request option.
|
|
327
667
|
* @throws {RequiredError}
|
|
328
668
|
*/
|
|
329
|
-
|
|
669
|
+
authControllerDiscordCallback: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
330
670
|
/**
|
|
331
671
|
*
|
|
672
|
+
* @summary Get linked OAuth providers for current user
|
|
332
673
|
* @param {*} [options] Override http request option.
|
|
333
674
|
* @throws {RequiredError}
|
|
334
675
|
*/
|
|
335
676
|
authControllerGetProviders: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
336
677
|
/**
|
|
337
678
|
*
|
|
679
|
+
* @summary Initiate GitHub OAuth flow
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
*/
|
|
683
|
+
authControllerGithubAuth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
684
|
+
/**
|
|
685
|
+
*
|
|
686
|
+
* @summary Handle GitHub OAuth callback
|
|
687
|
+
* @param {*} [options] Override http request option.
|
|
688
|
+
* @throws {RequiredError}
|
|
689
|
+
*/
|
|
690
|
+
authControllerGithubCallback: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
691
|
+
/**
|
|
692
|
+
*
|
|
693
|
+
* @summary Initiate Google OAuth flow
|
|
338
694
|
* @param {*} [options] Override http request option.
|
|
339
695
|
* @throws {RequiredError}
|
|
340
696
|
*/
|
|
341
697
|
authControllerGoogleAuth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
342
698
|
/**
|
|
343
699
|
*
|
|
700
|
+
* @summary Handle Google OAuth callback
|
|
344
701
|
* @param {*} [options] Override http request option.
|
|
345
702
|
* @throws {RequiredError}
|
|
346
703
|
*/
|
|
347
704
|
authControllerGoogleCallback: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
348
705
|
/**
|
|
349
706
|
*
|
|
350
|
-
* @
|
|
707
|
+
* @summary Auth service health check
|
|
351
708
|
* @param {*} [options] Override http request option.
|
|
352
709
|
* @throws {RequiredError}
|
|
353
710
|
*/
|
|
354
|
-
|
|
711
|
+
authControllerHealthCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
355
712
|
/**
|
|
356
713
|
*
|
|
714
|
+
* @summary Link OAuth provider to existing account
|
|
357
715
|
* @param {object} body
|
|
358
716
|
* @param {*} [options] Override http request option.
|
|
359
717
|
* @throws {RequiredError}
|
|
360
718
|
*/
|
|
361
|
-
|
|
719
|
+
authControllerLinkProvider: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
362
720
|
/**
|
|
363
721
|
*
|
|
722
|
+
* @summary User login with email and password
|
|
723
|
+
* @param {object} body
|
|
364
724
|
* @param {*} [options] Override http request option.
|
|
365
725
|
* @throws {RequiredError}
|
|
366
726
|
*/
|
|
367
|
-
|
|
727
|
+
authControllerLogin: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
368
728
|
/**
|
|
369
729
|
*
|
|
730
|
+
* @summary Logout user and clear session
|
|
370
731
|
* @param {*} [options] Override http request option.
|
|
371
732
|
* @throws {RequiredError}
|
|
372
733
|
*/
|
|
373
|
-
|
|
734
|
+
authControllerLogout: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
374
735
|
/**
|
|
375
736
|
*
|
|
737
|
+
* @summary Refresh access token using refresh token
|
|
376
738
|
* @param {*} [options] Override http request option.
|
|
377
739
|
* @throws {RequiredError}
|
|
378
740
|
*/
|
|
379
741
|
authControllerRefresh: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
380
742
|
/**
|
|
381
743
|
*
|
|
744
|
+
* @summary Register a new user account
|
|
382
745
|
* @param {object} body
|
|
383
746
|
* @param {*} [options] Override http request option.
|
|
384
747
|
* @throws {RequiredError}
|
|
@@ -392,73 +755,98 @@ export declare const ApiV1AuthApiAxiosParamCreator: (configuration?: Configurati
|
|
|
392
755
|
export declare const ApiV1AuthApiFp: (configuration?: Configuration) => {
|
|
393
756
|
/**
|
|
394
757
|
*
|
|
758
|
+
* @summary Initiate Discord OAuth flow
|
|
395
759
|
* @param {*} [options] Override http request option.
|
|
396
760
|
* @throws {RequiredError}
|
|
397
761
|
*/
|
|
398
|
-
|
|
762
|
+
authControllerDiscordAuth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
399
763
|
/**
|
|
400
764
|
*
|
|
765
|
+
* @summary Handle Discord OAuth callback
|
|
401
766
|
* @param {*} [options] Override http request option.
|
|
402
767
|
* @throws {RequiredError}
|
|
403
768
|
*/
|
|
404
|
-
|
|
769
|
+
authControllerDiscordCallback(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
405
770
|
/**
|
|
406
771
|
*
|
|
772
|
+
* @summary Get linked OAuth providers for current user
|
|
407
773
|
* @param {*} [options] Override http request option.
|
|
408
774
|
* @throws {RequiredError}
|
|
409
775
|
*/
|
|
410
|
-
authControllerGetProviders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
776
|
+
authControllerGetProviders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
411
777
|
/**
|
|
412
778
|
*
|
|
779
|
+
* @summary Initiate GitHub OAuth flow
|
|
780
|
+
* @param {*} [options] Override http request option.
|
|
781
|
+
* @throws {RequiredError}
|
|
782
|
+
*/
|
|
783
|
+
authControllerGithubAuth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
784
|
+
/**
|
|
785
|
+
*
|
|
786
|
+
* @summary Handle GitHub OAuth callback
|
|
787
|
+
* @param {*} [options] Override http request option.
|
|
788
|
+
* @throws {RequiredError}
|
|
789
|
+
*/
|
|
790
|
+
authControllerGithubCallback(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
791
|
+
/**
|
|
792
|
+
*
|
|
793
|
+
* @summary Initiate Google OAuth flow
|
|
413
794
|
* @param {*} [options] Override http request option.
|
|
414
795
|
* @throws {RequiredError}
|
|
415
796
|
*/
|
|
416
797
|
authControllerGoogleAuth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
417
798
|
/**
|
|
418
799
|
*
|
|
800
|
+
* @summary Handle Google OAuth callback
|
|
419
801
|
* @param {*} [options] Override http request option.
|
|
420
802
|
* @throws {RequiredError}
|
|
421
803
|
*/
|
|
422
|
-
authControllerGoogleCallback(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
804
|
+
authControllerGoogleCallback(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
423
805
|
/**
|
|
424
806
|
*
|
|
425
|
-
* @
|
|
807
|
+
* @summary Auth service health check
|
|
426
808
|
* @param {*} [options] Override http request option.
|
|
427
809
|
* @throws {RequiredError}
|
|
428
810
|
*/
|
|
429
|
-
|
|
811
|
+
authControllerHealthCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
430
812
|
/**
|
|
431
813
|
*
|
|
814
|
+
* @summary Link OAuth provider to existing account
|
|
432
815
|
* @param {object} body
|
|
433
816
|
* @param {*} [options] Override http request option.
|
|
434
817
|
* @throws {RequiredError}
|
|
435
818
|
*/
|
|
436
|
-
|
|
819
|
+
authControllerLinkProvider(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
437
820
|
/**
|
|
438
821
|
*
|
|
822
|
+
* @summary User login with email and password
|
|
823
|
+
* @param {object} body
|
|
439
824
|
* @param {*} [options] Override http request option.
|
|
440
825
|
* @throws {RequiredError}
|
|
441
826
|
*/
|
|
442
|
-
|
|
827
|
+
authControllerLogin(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
443
828
|
/**
|
|
444
829
|
*
|
|
830
|
+
* @summary Logout user and clear session
|
|
445
831
|
* @param {*} [options] Override http request option.
|
|
446
832
|
* @throws {RequiredError}
|
|
447
833
|
*/
|
|
448
|
-
|
|
834
|
+
authControllerLogout(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
449
835
|
/**
|
|
450
836
|
*
|
|
837
|
+
* @summary Refresh access token using refresh token
|
|
451
838
|
* @param {*} [options] Override http request option.
|
|
452
839
|
* @throws {RequiredError}
|
|
453
840
|
*/
|
|
454
|
-
authControllerRefresh(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
841
|
+
authControllerRefresh(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
455
842
|
/**
|
|
456
843
|
*
|
|
844
|
+
* @summary Register a new user account
|
|
457
845
|
* @param {object} body
|
|
458
846
|
* @param {*} [options] Override http request option.
|
|
459
847
|
* @throws {RequiredError}
|
|
460
848
|
*/
|
|
461
|
-
authControllerRegister(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
849
|
+
authControllerRegister(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
462
850
|
};
|
|
463
851
|
/**
|
|
464
852
|
* ApiV1AuthApi - factory interface
|
|
@@ -467,73 +855,98 @@ export declare const ApiV1AuthApiFp: (configuration?: Configuration) => {
|
|
|
467
855
|
export declare const ApiV1AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
468
856
|
/**
|
|
469
857
|
*
|
|
858
|
+
* @summary Initiate Discord OAuth flow
|
|
859
|
+
* @param {*} [options] Override http request option.
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
*/
|
|
862
|
+
authControllerDiscordAuth(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @summary Handle Discord OAuth callback
|
|
866
|
+
* @param {*} [options] Override http request option.
|
|
867
|
+
* @throws {RequiredError}
|
|
868
|
+
*/
|
|
869
|
+
authControllerDiscordCallback(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
870
|
+
/**
|
|
871
|
+
*
|
|
872
|
+
* @summary Get linked OAuth providers for current user
|
|
470
873
|
* @param {*} [options] Override http request option.
|
|
471
874
|
* @throws {RequiredError}
|
|
472
875
|
*/
|
|
473
|
-
|
|
876
|
+
authControllerGetProviders(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
474
877
|
/**
|
|
475
878
|
*
|
|
879
|
+
* @summary Initiate GitHub OAuth flow
|
|
476
880
|
* @param {*} [options] Override http request option.
|
|
477
881
|
* @throws {RequiredError}
|
|
478
882
|
*/
|
|
479
|
-
|
|
883
|
+
authControllerGithubAuth(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
480
884
|
/**
|
|
481
885
|
*
|
|
886
|
+
* @summary Handle GitHub OAuth callback
|
|
482
887
|
* @param {*} [options] Override http request option.
|
|
483
888
|
* @throws {RequiredError}
|
|
484
889
|
*/
|
|
485
|
-
|
|
890
|
+
authControllerGithubCallback(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
486
891
|
/**
|
|
487
892
|
*
|
|
893
|
+
* @summary Initiate Google OAuth flow
|
|
488
894
|
* @param {*} [options] Override http request option.
|
|
489
895
|
* @throws {RequiredError}
|
|
490
896
|
*/
|
|
491
897
|
authControllerGoogleAuth(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
492
898
|
/**
|
|
493
899
|
*
|
|
900
|
+
* @summary Handle Google OAuth callback
|
|
494
901
|
* @param {*} [options] Override http request option.
|
|
495
902
|
* @throws {RequiredError}
|
|
496
903
|
*/
|
|
497
|
-
authControllerGoogleCallback(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
904
|
+
authControllerGoogleCallback(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
498
905
|
/**
|
|
499
906
|
*
|
|
500
|
-
* @
|
|
907
|
+
* @summary Auth service health check
|
|
501
908
|
* @param {*} [options] Override http request option.
|
|
502
909
|
* @throws {RequiredError}
|
|
503
910
|
*/
|
|
504
|
-
|
|
911
|
+
authControllerHealthCheck(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
505
912
|
/**
|
|
506
913
|
*
|
|
507
|
-
* @
|
|
914
|
+
* @summary Link OAuth provider to existing account
|
|
915
|
+
* @param {ApiV1AuthApiAuthControllerLinkProviderRequest} requestParameters Request parameters.
|
|
508
916
|
* @param {*} [options] Override http request option.
|
|
509
917
|
* @throws {RequiredError}
|
|
510
918
|
*/
|
|
511
|
-
|
|
919
|
+
authControllerLinkProvider(requestParameters: ApiV1AuthApiAuthControllerLinkProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
512
920
|
/**
|
|
513
921
|
*
|
|
922
|
+
* @summary User login with email and password
|
|
923
|
+
* @param {ApiV1AuthApiAuthControllerLoginRequest} requestParameters Request parameters.
|
|
514
924
|
* @param {*} [options] Override http request option.
|
|
515
925
|
* @throws {RequiredError}
|
|
516
926
|
*/
|
|
517
|
-
|
|
927
|
+
authControllerLogin(requestParameters: ApiV1AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
518
928
|
/**
|
|
519
929
|
*
|
|
930
|
+
* @summary Logout user and clear session
|
|
520
931
|
* @param {*} [options] Override http request option.
|
|
521
932
|
* @throws {RequiredError}
|
|
522
933
|
*/
|
|
523
|
-
|
|
934
|
+
authControllerLogout(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
524
935
|
/**
|
|
525
936
|
*
|
|
937
|
+
* @summary Refresh access token using refresh token
|
|
526
938
|
* @param {*} [options] Override http request option.
|
|
527
939
|
* @throws {RequiredError}
|
|
528
940
|
*/
|
|
529
|
-
authControllerRefresh(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
941
|
+
authControllerRefresh(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
530
942
|
/**
|
|
531
943
|
*
|
|
944
|
+
* @summary Register a new user account
|
|
532
945
|
* @param {ApiV1AuthApiAuthControllerRegisterRequest} requestParameters Request parameters.
|
|
533
946
|
* @param {*} [options] Override http request option.
|
|
534
947
|
* @throws {RequiredError}
|
|
535
948
|
*/
|
|
536
|
-
authControllerRegister(requestParameters: ApiV1AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
949
|
+
authControllerRegister(requestParameters: ApiV1AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
537
950
|
};
|
|
538
951
|
/**
|
|
539
952
|
* ApiV1AuthApi - interface
|
|
@@ -543,27 +956,47 @@ export declare const ApiV1AuthApiFactory: (configuration?: Configuration, basePa
|
|
|
543
956
|
export interface ApiV1AuthApiInterface {
|
|
544
957
|
/**
|
|
545
958
|
*
|
|
959
|
+
* @summary Initiate Discord OAuth flow
|
|
960
|
+
* @param {*} [options] Override http request option.
|
|
961
|
+
* @throws {RequiredError}
|
|
962
|
+
* @memberof ApiV1AuthApiInterface
|
|
963
|
+
*/
|
|
964
|
+
authControllerDiscordAuth(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
965
|
+
/**
|
|
966
|
+
*
|
|
967
|
+
* @summary Handle Discord OAuth callback
|
|
546
968
|
* @param {*} [options] Override http request option.
|
|
547
969
|
* @throws {RequiredError}
|
|
548
970
|
* @memberof ApiV1AuthApiInterface
|
|
549
971
|
*/
|
|
550
|
-
|
|
972
|
+
authControllerDiscordCallback(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
551
973
|
/**
|
|
552
974
|
*
|
|
975
|
+
* @summary Get linked OAuth providers for current user
|
|
553
976
|
* @param {*} [options] Override http request option.
|
|
554
977
|
* @throws {RequiredError}
|
|
555
978
|
* @memberof ApiV1AuthApiInterface
|
|
556
979
|
*/
|
|
557
|
-
|
|
980
|
+
authControllerGetProviders(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
558
981
|
/**
|
|
559
982
|
*
|
|
983
|
+
* @summary Initiate GitHub OAuth flow
|
|
560
984
|
* @param {*} [options] Override http request option.
|
|
561
985
|
* @throws {RequiredError}
|
|
562
986
|
* @memberof ApiV1AuthApiInterface
|
|
563
987
|
*/
|
|
564
|
-
|
|
988
|
+
authControllerGithubAuth(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
565
989
|
/**
|
|
566
990
|
*
|
|
991
|
+
* @summary Handle GitHub OAuth callback
|
|
992
|
+
* @param {*} [options] Override http request option.
|
|
993
|
+
* @throws {RequiredError}
|
|
994
|
+
* @memberof ApiV1AuthApiInterface
|
|
995
|
+
*/
|
|
996
|
+
authControllerGithubCallback(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
997
|
+
/**
|
|
998
|
+
*
|
|
999
|
+
* @summary Initiate Google OAuth flow
|
|
567
1000
|
* @param {*} [options] Override http request option.
|
|
568
1001
|
* @throws {RequiredError}
|
|
569
1002
|
* @memberof ApiV1AuthApiInterface
|
|
@@ -571,248 +1004,550 @@ export interface ApiV1AuthApiInterface {
|
|
|
571
1004
|
authControllerGoogleAuth(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
572
1005
|
/**
|
|
573
1006
|
*
|
|
1007
|
+
* @summary Handle Google OAuth callback
|
|
1008
|
+
* @param {*} [options] Override http request option.
|
|
1009
|
+
* @throws {RequiredError}
|
|
1010
|
+
* @memberof ApiV1AuthApiInterface
|
|
1011
|
+
*/
|
|
1012
|
+
authControllerGoogleCallback(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
1013
|
+
/**
|
|
1014
|
+
*
|
|
1015
|
+
* @summary Auth service health check
|
|
574
1016
|
* @param {*} [options] Override http request option.
|
|
575
1017
|
* @throws {RequiredError}
|
|
576
1018
|
* @memberof ApiV1AuthApiInterface
|
|
577
1019
|
*/
|
|
578
|
-
|
|
1020
|
+
authControllerHealthCheck(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
579
1021
|
/**
|
|
580
1022
|
*
|
|
1023
|
+
* @summary Link OAuth provider to existing account
|
|
581
1024
|
* @param {ApiV1AuthApiAuthControllerLinkProviderRequest} requestParameters Request parameters.
|
|
582
1025
|
* @param {*} [options] Override http request option.
|
|
583
1026
|
* @throws {RequiredError}
|
|
584
1027
|
* @memberof ApiV1AuthApiInterface
|
|
585
1028
|
*/
|
|
586
|
-
authControllerLinkProvider(requestParameters: ApiV1AuthApiAuthControllerLinkProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1029
|
+
authControllerLinkProvider(requestParameters: ApiV1AuthApiAuthControllerLinkProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
587
1030
|
/**
|
|
588
1031
|
*
|
|
1032
|
+
* @summary User login with email and password
|
|
589
1033
|
* @param {ApiV1AuthApiAuthControllerLoginRequest} requestParameters Request parameters.
|
|
590
1034
|
* @param {*} [options] Override http request option.
|
|
591
1035
|
* @throws {RequiredError}
|
|
592
1036
|
* @memberof ApiV1AuthApiInterface
|
|
593
1037
|
*/
|
|
594
|
-
authControllerLogin(requestParameters: ApiV1AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1038
|
+
authControllerLogin(requestParameters: ApiV1AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
1039
|
+
/**
|
|
1040
|
+
*
|
|
1041
|
+
* @summary Logout user and clear session
|
|
1042
|
+
* @param {*} [options] Override http request option.
|
|
1043
|
+
* @throws {RequiredError}
|
|
1044
|
+
* @memberof ApiV1AuthApiInterface
|
|
1045
|
+
*/
|
|
1046
|
+
authControllerLogout(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
595
1047
|
/**
|
|
596
1048
|
*
|
|
1049
|
+
* @summary Refresh access token using refresh token
|
|
597
1050
|
* @param {*} [options] Override http request option.
|
|
598
1051
|
* @throws {RequiredError}
|
|
599
1052
|
* @memberof ApiV1AuthApiInterface
|
|
600
1053
|
*/
|
|
601
|
-
|
|
1054
|
+
authControllerRefresh(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
602
1055
|
/**
|
|
603
1056
|
*
|
|
1057
|
+
* @summary Register a new user account
|
|
1058
|
+
* @param {ApiV1AuthApiAuthControllerRegisterRequest} requestParameters Request parameters.
|
|
604
1059
|
* @param {*} [options] Override http request option.
|
|
605
1060
|
* @throws {RequiredError}
|
|
606
1061
|
* @memberof ApiV1AuthApiInterface
|
|
607
1062
|
*/
|
|
608
|
-
|
|
1063
|
+
authControllerRegister(requestParameters: ApiV1AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* Request parameters for authControllerLinkProvider operation in ApiV1AuthApi.
|
|
1067
|
+
* @export
|
|
1068
|
+
* @interface ApiV1AuthApiAuthControllerLinkProviderRequest
|
|
1069
|
+
*/
|
|
1070
|
+
export interface ApiV1AuthApiAuthControllerLinkProviderRequest {
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @type {object}
|
|
1074
|
+
* @memberof ApiV1AuthApiAuthControllerLinkProvider
|
|
1075
|
+
*/
|
|
1076
|
+
readonly body: object;
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* Request parameters for authControllerLogin operation in ApiV1AuthApi.
|
|
1080
|
+
* @export
|
|
1081
|
+
* @interface ApiV1AuthApiAuthControllerLoginRequest
|
|
1082
|
+
*/
|
|
1083
|
+
export interface ApiV1AuthApiAuthControllerLoginRequest {
|
|
1084
|
+
/**
|
|
1085
|
+
*
|
|
1086
|
+
* @type {object}
|
|
1087
|
+
* @memberof ApiV1AuthApiAuthControllerLogin
|
|
1088
|
+
*/
|
|
1089
|
+
readonly body: object;
|
|
1090
|
+
}
|
|
1091
|
+
/**
|
|
1092
|
+
* Request parameters for authControllerRegister operation in ApiV1AuthApi.
|
|
1093
|
+
* @export
|
|
1094
|
+
* @interface ApiV1AuthApiAuthControllerRegisterRequest
|
|
1095
|
+
*/
|
|
1096
|
+
export interface ApiV1AuthApiAuthControllerRegisterRequest {
|
|
1097
|
+
/**
|
|
1098
|
+
*
|
|
1099
|
+
* @type {object}
|
|
1100
|
+
* @memberof ApiV1AuthApiAuthControllerRegister
|
|
1101
|
+
*/
|
|
1102
|
+
readonly body: object;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* ApiV1AuthApi - object-oriented interface
|
|
1106
|
+
* @export
|
|
1107
|
+
* @class ApiV1AuthApi
|
|
1108
|
+
* @extends {BaseAPI}
|
|
1109
|
+
*/
|
|
1110
|
+
export declare class ApiV1AuthApi extends BaseAPI implements ApiV1AuthApiInterface {
|
|
1111
|
+
/**
|
|
1112
|
+
*
|
|
1113
|
+
* @summary Initiate Discord OAuth flow
|
|
1114
|
+
* @param {*} [options] Override http request option.
|
|
1115
|
+
* @throws {RequiredError}
|
|
1116
|
+
* @memberof ApiV1AuthApi
|
|
1117
|
+
*/
|
|
1118
|
+
authControllerDiscordAuth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1119
|
+
/**
|
|
1120
|
+
*
|
|
1121
|
+
* @summary Handle Discord OAuth callback
|
|
1122
|
+
* @param {*} [options] Override http request option.
|
|
1123
|
+
* @throws {RequiredError}
|
|
1124
|
+
* @memberof ApiV1AuthApi
|
|
1125
|
+
*/
|
|
1126
|
+
authControllerDiscordCallback(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1127
|
+
/**
|
|
1128
|
+
*
|
|
1129
|
+
* @summary Get linked OAuth providers for current user
|
|
1130
|
+
* @param {*} [options] Override http request option.
|
|
1131
|
+
* @throws {RequiredError}
|
|
1132
|
+
* @memberof ApiV1AuthApi
|
|
1133
|
+
*/
|
|
1134
|
+
authControllerGetProviders(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* @summary Initiate GitHub OAuth flow
|
|
1138
|
+
* @param {*} [options] Override http request option.
|
|
1139
|
+
* @throws {RequiredError}
|
|
1140
|
+
* @memberof ApiV1AuthApi
|
|
1141
|
+
*/
|
|
1142
|
+
authControllerGithubAuth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1143
|
+
/**
|
|
1144
|
+
*
|
|
1145
|
+
* @summary Handle GitHub OAuth callback
|
|
1146
|
+
* @param {*} [options] Override http request option.
|
|
1147
|
+
* @throws {RequiredError}
|
|
1148
|
+
* @memberof ApiV1AuthApi
|
|
1149
|
+
*/
|
|
1150
|
+
authControllerGithubCallback(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1151
|
+
/**
|
|
1152
|
+
*
|
|
1153
|
+
* @summary Initiate Google OAuth flow
|
|
1154
|
+
* @param {*} [options] Override http request option.
|
|
1155
|
+
* @throws {RequiredError}
|
|
1156
|
+
* @memberof ApiV1AuthApi
|
|
1157
|
+
*/
|
|
1158
|
+
authControllerGoogleAuth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1159
|
+
/**
|
|
1160
|
+
*
|
|
1161
|
+
* @summary Handle Google OAuth callback
|
|
1162
|
+
* @param {*} [options] Override http request option.
|
|
1163
|
+
* @throws {RequiredError}
|
|
1164
|
+
* @memberof ApiV1AuthApi
|
|
1165
|
+
*/
|
|
1166
|
+
authControllerGoogleCallback(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @summary Auth service health check
|
|
1170
|
+
* @param {*} [options] Override http request option.
|
|
1171
|
+
* @throws {RequiredError}
|
|
1172
|
+
* @memberof ApiV1AuthApi
|
|
1173
|
+
*/
|
|
1174
|
+
authControllerHealthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1175
|
+
/**
|
|
1176
|
+
*
|
|
1177
|
+
* @summary Link OAuth provider to existing account
|
|
1178
|
+
* @param {ApiV1AuthApiAuthControllerLinkProviderRequest} requestParameters Request parameters.
|
|
1179
|
+
* @param {*} [options] Override http request option.
|
|
1180
|
+
* @throws {RequiredError}
|
|
1181
|
+
* @memberof ApiV1AuthApi
|
|
1182
|
+
*/
|
|
1183
|
+
authControllerLinkProvider(requestParameters: ApiV1AuthApiAuthControllerLinkProviderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1184
|
+
/**
|
|
1185
|
+
*
|
|
1186
|
+
* @summary User login with email and password
|
|
1187
|
+
* @param {ApiV1AuthApiAuthControllerLoginRequest} requestParameters Request parameters.
|
|
1188
|
+
* @param {*} [options] Override http request option.
|
|
1189
|
+
* @throws {RequiredError}
|
|
1190
|
+
* @memberof ApiV1AuthApi
|
|
1191
|
+
*/
|
|
1192
|
+
authControllerLogin(requestParameters: ApiV1AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1193
|
+
/**
|
|
1194
|
+
*
|
|
1195
|
+
* @summary Logout user and clear session
|
|
1196
|
+
* @param {*} [options] Override http request option.
|
|
1197
|
+
* @throws {RequiredError}
|
|
1198
|
+
* @memberof ApiV1AuthApi
|
|
1199
|
+
*/
|
|
1200
|
+
authControllerLogout(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1201
|
+
/**
|
|
1202
|
+
*
|
|
1203
|
+
* @summary Refresh access token using refresh token
|
|
1204
|
+
* @param {*} [options] Override http request option.
|
|
1205
|
+
* @throws {RequiredError}
|
|
1206
|
+
* @memberof ApiV1AuthApi
|
|
1207
|
+
*/
|
|
1208
|
+
authControllerRefresh(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1209
|
+
/**
|
|
1210
|
+
*
|
|
1211
|
+
* @summary Register a new user account
|
|
1212
|
+
* @param {ApiV1AuthApiAuthControllerRegisterRequest} requestParameters Request parameters.
|
|
1213
|
+
* @param {*} [options] Override http request option.
|
|
1214
|
+
* @throws {RequiredError}
|
|
1215
|
+
* @memberof ApiV1AuthApi
|
|
1216
|
+
*/
|
|
1217
|
+
authControllerRegister(requestParameters: ApiV1AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1218
|
+
}
|
|
1219
|
+
/**
|
|
1220
|
+
* ApiV1SsoApi - axios parameter creator
|
|
1221
|
+
* @export
|
|
1222
|
+
*/
|
|
1223
|
+
export declare const ApiV1SsoApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1224
|
+
/**
|
|
1225
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1226
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1227
|
+
* @param {object} body
|
|
1228
|
+
* @param {*} [options] Override http request option.
|
|
1229
|
+
* @throws {RequiredError}
|
|
1230
|
+
*/
|
|
1231
|
+
ssoControllerGenerateLocalCode: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1232
|
+
/**
|
|
1233
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1234
|
+
* @summary Validate and consume an authorization code
|
|
1235
|
+
* @param {object} body
|
|
1236
|
+
* @param {*} [options] Override http request option.
|
|
1237
|
+
* @throws {RequiredError}
|
|
1238
|
+
*/
|
|
1239
|
+
ssoControllerValidateCode: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1240
|
+
};
|
|
1241
|
+
/**
|
|
1242
|
+
* ApiV1SsoApi - functional programming interface
|
|
1243
|
+
* @export
|
|
1244
|
+
*/
|
|
1245
|
+
export declare const ApiV1SsoApiFp: (configuration?: Configuration) => {
|
|
1246
|
+
/**
|
|
1247
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1248
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1249
|
+
* @param {object} body
|
|
1250
|
+
* @param {*} [options] Override http request option.
|
|
1251
|
+
* @throws {RequiredError}
|
|
1252
|
+
*/
|
|
1253
|
+
ssoControllerGenerateLocalCode(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateCodeResponseDto>>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1256
|
+
* @summary Validate and consume an authorization code
|
|
1257
|
+
* @param {object} body
|
|
1258
|
+
* @param {*} [options] Override http request option.
|
|
1259
|
+
* @throws {RequiredError}
|
|
1260
|
+
*/
|
|
1261
|
+
ssoControllerValidateCode(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateCodeResponseDto>>;
|
|
1262
|
+
};
|
|
1263
|
+
/**
|
|
1264
|
+
* ApiV1SsoApi - factory interface
|
|
1265
|
+
* @export
|
|
1266
|
+
*/
|
|
1267
|
+
export declare const ApiV1SsoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1268
|
+
/**
|
|
1269
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1270
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1271
|
+
* @param {ApiV1SsoApiSsoControllerGenerateLocalCodeRequest} requestParameters Request parameters.
|
|
1272
|
+
* @param {*} [options] Override http request option.
|
|
1273
|
+
* @throws {RequiredError}
|
|
1274
|
+
*/
|
|
1275
|
+
ssoControllerGenerateLocalCode(requestParameters: ApiV1SsoApiSsoControllerGenerateLocalCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateCodeResponseDto>;
|
|
1276
|
+
/**
|
|
1277
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1278
|
+
* @summary Validate and consume an authorization code
|
|
1279
|
+
* @param {ApiV1SsoApiSsoControllerValidateCodeRequest} requestParameters Request parameters.
|
|
1280
|
+
* @param {*} [options] Override http request option.
|
|
1281
|
+
* @throws {RequiredError}
|
|
1282
|
+
*/
|
|
1283
|
+
ssoControllerValidateCode(requestParameters: ApiV1SsoApiSsoControllerValidateCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ValidateCodeResponseDto>;
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* ApiV1SsoApi - interface
|
|
1287
|
+
* @export
|
|
1288
|
+
* @interface ApiV1SsoApi
|
|
1289
|
+
*/
|
|
1290
|
+
export interface ApiV1SsoApiInterface {
|
|
609
1291
|
/**
|
|
610
|
-
*
|
|
1292
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1293
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1294
|
+
* @param {ApiV1SsoApiSsoControllerGenerateLocalCodeRequest} requestParameters Request parameters.
|
|
611
1295
|
* @param {*} [options] Override http request option.
|
|
612
1296
|
* @throws {RequiredError}
|
|
613
|
-
* @memberof
|
|
1297
|
+
* @memberof ApiV1SsoApiInterface
|
|
614
1298
|
*/
|
|
615
|
-
|
|
1299
|
+
ssoControllerGenerateLocalCode(requestParameters: ApiV1SsoApiSsoControllerGenerateLocalCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateCodeResponseDto>;
|
|
616
1300
|
/**
|
|
617
|
-
*
|
|
618
|
-
* @
|
|
1301
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1302
|
+
* @summary Validate and consume an authorization code
|
|
1303
|
+
* @param {ApiV1SsoApiSsoControllerValidateCodeRequest} requestParameters Request parameters.
|
|
619
1304
|
* @param {*} [options] Override http request option.
|
|
620
1305
|
* @throws {RequiredError}
|
|
621
|
-
* @memberof
|
|
1306
|
+
* @memberof ApiV1SsoApiInterface
|
|
622
1307
|
*/
|
|
623
|
-
|
|
1308
|
+
ssoControllerValidateCode(requestParameters: ApiV1SsoApiSsoControllerValidateCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ValidateCodeResponseDto>;
|
|
624
1309
|
}
|
|
625
1310
|
/**
|
|
626
|
-
* Request parameters for
|
|
1311
|
+
* Request parameters for ssoControllerGenerateLocalCode operation in ApiV1SsoApi.
|
|
627
1312
|
* @export
|
|
628
|
-
* @interface
|
|
1313
|
+
* @interface ApiV1SsoApiSsoControllerGenerateLocalCodeRequest
|
|
629
1314
|
*/
|
|
630
|
-
export interface
|
|
1315
|
+
export interface ApiV1SsoApiSsoControllerGenerateLocalCodeRequest {
|
|
631
1316
|
/**
|
|
632
1317
|
*
|
|
633
1318
|
* @type {object}
|
|
634
|
-
* @memberof
|
|
1319
|
+
* @memberof ApiV1SsoApiSsoControllerGenerateLocalCode
|
|
635
1320
|
*/
|
|
636
1321
|
readonly body: object;
|
|
637
1322
|
}
|
|
638
1323
|
/**
|
|
639
|
-
* Request parameters for
|
|
1324
|
+
* Request parameters for ssoControllerValidateCode operation in ApiV1SsoApi.
|
|
640
1325
|
* @export
|
|
641
|
-
* @interface
|
|
1326
|
+
* @interface ApiV1SsoApiSsoControllerValidateCodeRequest
|
|
642
1327
|
*/
|
|
643
|
-
export interface
|
|
1328
|
+
export interface ApiV1SsoApiSsoControllerValidateCodeRequest {
|
|
644
1329
|
/**
|
|
645
1330
|
*
|
|
646
1331
|
* @type {object}
|
|
647
|
-
* @memberof
|
|
1332
|
+
* @memberof ApiV1SsoApiSsoControllerValidateCode
|
|
648
1333
|
*/
|
|
649
1334
|
readonly body: object;
|
|
650
1335
|
}
|
|
651
1336
|
/**
|
|
652
|
-
*
|
|
1337
|
+
* ApiV1SsoApi - object-oriented interface
|
|
653
1338
|
* @export
|
|
654
|
-
* @
|
|
1339
|
+
* @class ApiV1SsoApi
|
|
1340
|
+
* @extends {BaseAPI}
|
|
655
1341
|
*/
|
|
656
|
-
export
|
|
1342
|
+
export declare class ApiV1SsoApi extends BaseAPI implements ApiV1SsoApiInterface {
|
|
657
1343
|
/**
|
|
658
|
-
*
|
|
659
|
-
* @
|
|
660
|
-
* @
|
|
1344
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1345
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1346
|
+
* @param {ApiV1SsoApiSsoControllerGenerateLocalCodeRequest} requestParameters Request parameters.
|
|
1347
|
+
* @param {*} [options] Override http request option.
|
|
1348
|
+
* @throws {RequiredError}
|
|
1349
|
+
* @memberof ApiV1SsoApi
|
|
661
1350
|
*/
|
|
662
|
-
|
|
1351
|
+
ssoControllerGenerateLocalCode(requestParameters: ApiV1SsoApiSsoControllerGenerateLocalCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateCodeResponseDto, any, {}>>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1354
|
+
* @summary Validate and consume an authorization code
|
|
1355
|
+
* @param {ApiV1SsoApiSsoControllerValidateCodeRequest} requestParameters Request parameters.
|
|
1356
|
+
* @param {*} [options] Override http request option.
|
|
1357
|
+
* @throws {RequiredError}
|
|
1358
|
+
* @memberof ApiV1SsoApi
|
|
1359
|
+
*/
|
|
1360
|
+
ssoControllerValidateCode(requestParameters: ApiV1SsoApiSsoControllerValidateCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateCodeResponseDto, any, {}>>;
|
|
663
1361
|
}
|
|
664
1362
|
/**
|
|
665
|
-
*
|
|
1363
|
+
* ApiV1UserApi - axios parameter creator
|
|
666
1364
|
* @export
|
|
667
|
-
* @class ApiV1AuthApi
|
|
668
|
-
* @extends {BaseAPI}
|
|
669
1365
|
*/
|
|
670
|
-
export declare
|
|
1366
|
+
export declare const ApiV1UserApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
671
1367
|
/**
|
|
672
1368
|
*
|
|
1369
|
+
* @summary Get current user
|
|
673
1370
|
* @param {*} [options] Override http request option.
|
|
674
1371
|
* @throws {RequiredError}
|
|
675
|
-
* @memberof ApiV1AuthApi
|
|
676
1372
|
*/
|
|
677
|
-
|
|
1373
|
+
userControllerInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1374
|
+
};
|
|
1375
|
+
/**
|
|
1376
|
+
* ApiV1UserApi - functional programming interface
|
|
1377
|
+
* @export
|
|
1378
|
+
*/
|
|
1379
|
+
export declare const ApiV1UserApiFp: (configuration?: Configuration) => {
|
|
678
1380
|
/**
|
|
679
1381
|
*
|
|
1382
|
+
* @summary Get current user
|
|
680
1383
|
* @param {*} [options] Override http request option.
|
|
681
1384
|
* @throws {RequiredError}
|
|
682
|
-
* @memberof ApiV1AuthApi
|
|
683
1385
|
*/
|
|
684
|
-
|
|
1386
|
+
userControllerInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>>;
|
|
1387
|
+
};
|
|
1388
|
+
/**
|
|
1389
|
+
* ApiV1UserApi - factory interface
|
|
1390
|
+
* @export
|
|
1391
|
+
*/
|
|
1392
|
+
export declare const ApiV1UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
685
1393
|
/**
|
|
686
1394
|
*
|
|
1395
|
+
* @summary Get current user
|
|
687
1396
|
* @param {*} [options] Override http request option.
|
|
688
1397
|
* @throws {RequiredError}
|
|
689
|
-
* @memberof ApiV1AuthApi
|
|
690
1398
|
*/
|
|
691
|
-
|
|
1399
|
+
userControllerInfo(options?: RawAxiosRequestConfig): AxiosPromise<UserDto>;
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* ApiV1UserApi - interface
|
|
1403
|
+
* @export
|
|
1404
|
+
* @interface ApiV1UserApi
|
|
1405
|
+
*/
|
|
1406
|
+
export interface ApiV1UserApiInterface {
|
|
692
1407
|
/**
|
|
693
1408
|
*
|
|
1409
|
+
* @summary Get current user
|
|
694
1410
|
* @param {*} [options] Override http request option.
|
|
695
1411
|
* @throws {RequiredError}
|
|
696
|
-
* @memberof
|
|
1412
|
+
* @memberof ApiV1UserApiInterface
|
|
697
1413
|
*/
|
|
698
|
-
|
|
1414
|
+
userControllerInfo(options?: RawAxiosRequestConfig): AxiosPromise<UserDto>;
|
|
1415
|
+
}
|
|
1416
|
+
/**
|
|
1417
|
+
* ApiV1UserApi - object-oriented interface
|
|
1418
|
+
* @export
|
|
1419
|
+
* @class ApiV1UserApi
|
|
1420
|
+
* @extends {BaseAPI}
|
|
1421
|
+
*/
|
|
1422
|
+
export declare class ApiV1UserApi extends BaseAPI implements ApiV1UserApiInterface {
|
|
699
1423
|
/**
|
|
700
1424
|
*
|
|
1425
|
+
* @summary Get current user
|
|
701
1426
|
* @param {*} [options] Override http request option.
|
|
702
1427
|
* @throws {RequiredError}
|
|
703
|
-
* @memberof
|
|
1428
|
+
* @memberof ApiV1UserApi
|
|
704
1429
|
*/
|
|
705
|
-
|
|
1430
|
+
userControllerInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto, any, {}>>;
|
|
1431
|
+
}
|
|
1432
|
+
/**
|
|
1433
|
+
* ApiV1UserSettingsApi - axios parameter creator
|
|
1434
|
+
* @export
|
|
1435
|
+
*/
|
|
1436
|
+
export declare const ApiV1UserSettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
706
1437
|
/**
|
|
707
1438
|
*
|
|
708
|
-
* @param {ApiV1AuthApiAuthControllerLinkProviderRequest} requestParameters Request parameters.
|
|
709
1439
|
* @param {*} [options] Override http request option.
|
|
710
1440
|
* @throws {RequiredError}
|
|
711
|
-
* @memberof ApiV1AuthApi
|
|
712
1441
|
*/
|
|
713
|
-
|
|
1442
|
+
userSettingsControllerGetSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
714
1443
|
/**
|
|
715
1444
|
*
|
|
716
|
-
* @
|
|
1445
|
+
* @summary Update settings for user
|
|
1446
|
+
* @param {UserSettingsUpdateDto} userSettingsUpdateDto
|
|
717
1447
|
* @param {*} [options] Override http request option.
|
|
718
1448
|
* @throws {RequiredError}
|
|
719
|
-
* @memberof ApiV1AuthApi
|
|
720
1449
|
*/
|
|
721
|
-
|
|
1450
|
+
userSettingsControllerUpdateSettings: (userSettingsUpdateDto: UserSettingsUpdateDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1451
|
+
};
|
|
1452
|
+
/**
|
|
1453
|
+
* ApiV1UserSettingsApi - functional programming interface
|
|
1454
|
+
* @export
|
|
1455
|
+
*/
|
|
1456
|
+
export declare const ApiV1UserSettingsApiFp: (configuration?: Configuration) => {
|
|
722
1457
|
/**
|
|
723
1458
|
*
|
|
724
1459
|
* @param {*} [options] Override http request option.
|
|
725
1460
|
* @throws {RequiredError}
|
|
726
|
-
* @memberof ApiV1AuthApi
|
|
727
1461
|
*/
|
|
728
|
-
|
|
1462
|
+
userSettingsControllerGetSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
729
1463
|
/**
|
|
730
1464
|
*
|
|
1465
|
+
* @summary Update settings for user
|
|
1466
|
+
* @param {UserSettingsUpdateDto} userSettingsUpdateDto
|
|
731
1467
|
* @param {*} [options] Override http request option.
|
|
732
1468
|
* @throws {RequiredError}
|
|
733
|
-
* @memberof ApiV1AuthApi
|
|
734
1469
|
*/
|
|
735
|
-
|
|
1470
|
+
userSettingsControllerUpdateSettings(userSettingsUpdateDto: UserSettingsUpdateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserSettingsDto>>;
|
|
1471
|
+
};
|
|
1472
|
+
/**
|
|
1473
|
+
* ApiV1UserSettingsApi - factory interface
|
|
1474
|
+
* @export
|
|
1475
|
+
*/
|
|
1476
|
+
export declare const ApiV1UserSettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
736
1477
|
/**
|
|
737
1478
|
*
|
|
738
1479
|
* @param {*} [options] Override http request option.
|
|
739
1480
|
* @throws {RequiredError}
|
|
740
|
-
* @memberof ApiV1AuthApi
|
|
741
1481
|
*/
|
|
742
|
-
|
|
1482
|
+
userSettingsControllerGetSettings(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
743
1483
|
/**
|
|
744
1484
|
*
|
|
745
|
-
* @
|
|
1485
|
+
* @summary Update settings for user
|
|
1486
|
+
* @param {ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest} requestParameters Request parameters.
|
|
746
1487
|
* @param {*} [options] Override http request option.
|
|
747
1488
|
* @throws {RequiredError}
|
|
748
|
-
* @memberof ApiV1AuthApi
|
|
749
1489
|
*/
|
|
750
|
-
|
|
751
|
-
}
|
|
1490
|
+
userSettingsControllerUpdateSettings(requestParameters: ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserSettingsDto>;
|
|
1491
|
+
};
|
|
752
1492
|
/**
|
|
753
|
-
*
|
|
1493
|
+
* ApiV1UserSettingsApi - interface
|
|
754
1494
|
* @export
|
|
1495
|
+
* @interface ApiV1UserSettingsApi
|
|
755
1496
|
*/
|
|
756
|
-
export
|
|
1497
|
+
export interface ApiV1UserSettingsApiInterface {
|
|
757
1498
|
/**
|
|
758
1499
|
*
|
|
759
1500
|
* @param {*} [options] Override http request option.
|
|
760
1501
|
* @throws {RequiredError}
|
|
1502
|
+
* @memberof ApiV1UserSettingsApiInterface
|
|
761
1503
|
*/
|
|
762
|
-
|
|
763
|
-
};
|
|
764
|
-
/**
|
|
765
|
-
* ApiV1UserApi - functional programming interface
|
|
766
|
-
* @export
|
|
767
|
-
*/
|
|
768
|
-
export declare const ApiV1UserApiFp: (configuration?: Configuration) => {
|
|
1504
|
+
userSettingsControllerGetSettings(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
769
1505
|
/**
|
|
770
1506
|
*
|
|
1507
|
+
* @summary Update settings for user
|
|
1508
|
+
* @param {ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest} requestParameters Request parameters.
|
|
771
1509
|
* @param {*} [options] Override http request option.
|
|
772
1510
|
* @throws {RequiredError}
|
|
1511
|
+
* @memberof ApiV1UserSettingsApiInterface
|
|
773
1512
|
*/
|
|
774
|
-
|
|
775
|
-
}
|
|
1513
|
+
userSettingsControllerUpdateSettings(requestParameters: ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserSettingsDto>;
|
|
1514
|
+
}
|
|
776
1515
|
/**
|
|
777
|
-
*
|
|
1516
|
+
* Request parameters for userSettingsControllerUpdateSettings operation in ApiV1UserSettingsApi.
|
|
778
1517
|
* @export
|
|
1518
|
+
* @interface ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest
|
|
779
1519
|
*/
|
|
780
|
-
export
|
|
1520
|
+
export interface ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest {
|
|
781
1521
|
/**
|
|
782
1522
|
*
|
|
783
|
-
* @
|
|
784
|
-
* @
|
|
1523
|
+
* @type {UserSettingsUpdateDto}
|
|
1524
|
+
* @memberof ApiV1UserSettingsApiUserSettingsControllerUpdateSettings
|
|
785
1525
|
*/
|
|
786
|
-
|
|
787
|
-
}
|
|
1526
|
+
readonly userSettingsUpdateDto: UserSettingsUpdateDto;
|
|
1527
|
+
}
|
|
788
1528
|
/**
|
|
789
|
-
*
|
|
1529
|
+
* ApiV1UserSettingsApi - object-oriented interface
|
|
790
1530
|
* @export
|
|
791
|
-
* @
|
|
1531
|
+
* @class ApiV1UserSettingsApi
|
|
1532
|
+
* @extends {BaseAPI}
|
|
792
1533
|
*/
|
|
793
|
-
export
|
|
1534
|
+
export declare class ApiV1UserSettingsApi extends BaseAPI implements ApiV1UserSettingsApiInterface {
|
|
794
1535
|
/**
|
|
795
1536
|
*
|
|
796
1537
|
* @param {*} [options] Override http request option.
|
|
797
1538
|
* @throws {RequiredError}
|
|
798
|
-
* @memberof
|
|
1539
|
+
* @memberof ApiV1UserSettingsApi
|
|
799
1540
|
*/
|
|
800
|
-
|
|
801
|
-
}
|
|
802
|
-
/**
|
|
803
|
-
* ApiV1UserApi - object-oriented interface
|
|
804
|
-
* @export
|
|
805
|
-
* @class ApiV1UserApi
|
|
806
|
-
* @extends {BaseAPI}
|
|
807
|
-
*/
|
|
808
|
-
export declare class ApiV1UserApi extends BaseAPI implements ApiV1UserApiInterface {
|
|
1541
|
+
userSettingsControllerGetSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
809
1542
|
/**
|
|
810
1543
|
*
|
|
1544
|
+
* @summary Update settings for user
|
|
1545
|
+
* @param {ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest} requestParameters Request parameters.
|
|
811
1546
|
* @param {*} [options] Override http request option.
|
|
812
1547
|
* @throws {RequiredError}
|
|
813
|
-
* @memberof
|
|
1548
|
+
* @memberof ApiV1UserSettingsApi
|
|
814
1549
|
*/
|
|
815
|
-
|
|
1550
|
+
userSettingsControllerUpdateSettings(requestParameters: ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserSettingsDto, any, {}>>;
|
|
816
1551
|
}
|
|
817
1552
|
/**
|
|
818
1553
|
* ApiV1WorkersApi - axios parameter creator
|
|
@@ -843,6 +1578,14 @@ export declare const ApiV1WorkersApiAxiosParamCreator: (configuration?: Configur
|
|
|
843
1578
|
* @throws {RequiredError}
|
|
844
1579
|
*/
|
|
845
1580
|
workerControllerDeleteWorker: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1581
|
+
/**
|
|
1582
|
+
*
|
|
1583
|
+
* @summary Create a worker secret
|
|
1584
|
+
* @param {string} id The ID of the worker
|
|
1585
|
+
* @param {*} [options] Override http request option.
|
|
1586
|
+
* @throws {RequiredError}
|
|
1587
|
+
*/
|
|
1588
|
+
workerControllerGenerateWorkerSecret: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
846
1589
|
/**
|
|
847
1590
|
*
|
|
848
1591
|
* @summary Get a worker by ID
|
|
@@ -903,6 +1646,14 @@ export declare const ApiV1WorkersApiFp: (configuration?: Configuration) => {
|
|
|
903
1646
|
* @throws {RequiredError}
|
|
904
1647
|
*/
|
|
905
1648
|
workerControllerDeleteWorker(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1649
|
+
/**
|
|
1650
|
+
*
|
|
1651
|
+
* @summary Create a worker secret
|
|
1652
|
+
* @param {string} id The ID of the worker
|
|
1653
|
+
* @param {*} [options] Override http request option.
|
|
1654
|
+
* @throws {RequiredError}
|
|
1655
|
+
*/
|
|
1656
|
+
workerControllerGenerateWorkerSecret(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkerClientSecretDto>>;
|
|
906
1657
|
/**
|
|
907
1658
|
*
|
|
908
1659
|
* @summary Get a worker by ID
|
|
@@ -963,6 +1714,14 @@ export declare const ApiV1WorkersApiFactory: (configuration?: Configuration, bas
|
|
|
963
1714
|
* @throws {RequiredError}
|
|
964
1715
|
*/
|
|
965
1716
|
workerControllerDeleteWorker(requestParameters: ApiV1WorkersApiWorkerControllerDeleteWorkerRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1717
|
+
/**
|
|
1718
|
+
*
|
|
1719
|
+
* @summary Create a worker secret
|
|
1720
|
+
* @param {ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest} requestParameters Request parameters.
|
|
1721
|
+
* @param {*} [options] Override http request option.
|
|
1722
|
+
* @throws {RequiredError}
|
|
1723
|
+
*/
|
|
1724
|
+
workerControllerGenerateWorkerSecret(requestParameters: ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkerClientSecretDto>;
|
|
966
1725
|
/**
|
|
967
1726
|
*
|
|
968
1727
|
* @summary Get a worker by ID
|
|
@@ -1021,6 +1780,15 @@ export interface ApiV1WorkersApiInterface {
|
|
|
1021
1780
|
* @memberof ApiV1WorkersApiInterface
|
|
1022
1781
|
*/
|
|
1023
1782
|
workerControllerDeleteWorker(requestParameters: ApiV1WorkersApiWorkerControllerDeleteWorkerRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1783
|
+
/**
|
|
1784
|
+
*
|
|
1785
|
+
* @summary Create a worker secret
|
|
1786
|
+
* @param {ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest} requestParameters Request parameters.
|
|
1787
|
+
* @param {*} [options] Override http request option.
|
|
1788
|
+
* @throws {RequiredError}
|
|
1789
|
+
* @memberof ApiV1WorkersApiInterface
|
|
1790
|
+
*/
|
|
1791
|
+
workerControllerGenerateWorkerSecret(requestParameters: ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkerClientSecretDto>;
|
|
1024
1792
|
/**
|
|
1025
1793
|
*
|
|
1026
1794
|
* @summary Get a worker by ID
|
|
@@ -1088,6 +1856,19 @@ export interface ApiV1WorkersApiWorkerControllerDeleteWorkerRequest {
|
|
|
1088
1856
|
*/
|
|
1089
1857
|
readonly id: string;
|
|
1090
1858
|
}
|
|
1859
|
+
/**
|
|
1860
|
+
* Request parameters for workerControllerGenerateWorkerSecret operation in ApiV1WorkersApi.
|
|
1861
|
+
* @export
|
|
1862
|
+
* @interface ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest
|
|
1863
|
+
*/
|
|
1864
|
+
export interface ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest {
|
|
1865
|
+
/**
|
|
1866
|
+
* The ID of the worker
|
|
1867
|
+
* @type {string}
|
|
1868
|
+
* @memberof ApiV1WorkersApiWorkerControllerGenerateWorkerSecret
|
|
1869
|
+
*/
|
|
1870
|
+
readonly id: string;
|
|
1871
|
+
}
|
|
1091
1872
|
/**
|
|
1092
1873
|
* Request parameters for workerControllerGetWorkerById operation in ApiV1WorkersApi.
|
|
1093
1874
|
* @export
|
|
@@ -1178,7 +1959,7 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1178
1959
|
* @throws {RequiredError}
|
|
1179
1960
|
* @memberof ApiV1WorkersApi
|
|
1180
1961
|
*/
|
|
1181
|
-
workerControllerBatchDeleteWorkers(requestParameters: ApiV1WorkersApiWorkerControllerBatchDeleteWorkersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerControllerBatchDeleteWorkers200Response, any>>;
|
|
1962
|
+
workerControllerBatchDeleteWorkers(requestParameters: ApiV1WorkersApiWorkerControllerBatchDeleteWorkersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerControllerBatchDeleteWorkers200Response, any, {}>>;
|
|
1182
1963
|
/**
|
|
1183
1964
|
*
|
|
1184
1965
|
* @summary Create a new worker
|
|
@@ -1187,7 +1968,7 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1187
1968
|
* @throws {RequiredError}
|
|
1188
1969
|
* @memberof ApiV1WorkersApi
|
|
1189
1970
|
*/
|
|
1190
|
-
workerControllerCreateWorker(requestParameters: ApiV1WorkersApiWorkerControllerCreateWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any>>;
|
|
1971
|
+
workerControllerCreateWorker(requestParameters: ApiV1WorkersApiWorkerControllerCreateWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any, {}>>;
|
|
1191
1972
|
/**
|
|
1192
1973
|
*
|
|
1193
1974
|
* @summary Delete a worker by ID
|
|
@@ -1196,7 +1977,16 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1196
1977
|
* @throws {RequiredError}
|
|
1197
1978
|
* @memberof ApiV1WorkersApi
|
|
1198
1979
|
*/
|
|
1199
|
-
workerControllerDeleteWorker(requestParameters: ApiV1WorkersApiWorkerControllerDeleteWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1980
|
+
workerControllerDeleteWorker(requestParameters: ApiV1WorkersApiWorkerControllerDeleteWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1981
|
+
/**
|
|
1982
|
+
*
|
|
1983
|
+
* @summary Create a worker secret
|
|
1984
|
+
* @param {ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest} requestParameters Request parameters.
|
|
1985
|
+
* @param {*} [options] Override http request option.
|
|
1986
|
+
* @throws {RequiredError}
|
|
1987
|
+
* @memberof ApiV1WorkersApi
|
|
1988
|
+
*/
|
|
1989
|
+
workerControllerGenerateWorkerSecret(requestParameters: ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerClientSecretDto, any, {}>>;
|
|
1200
1990
|
/**
|
|
1201
1991
|
*
|
|
1202
1992
|
* @summary Get a worker by ID
|
|
@@ -1205,7 +1995,7 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1205
1995
|
* @throws {RequiredError}
|
|
1206
1996
|
* @memberof ApiV1WorkersApi
|
|
1207
1997
|
*/
|
|
1208
|
-
workerControllerGetWorkerById(requestParameters: ApiV1WorkersApiWorkerControllerGetWorkerByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any>>;
|
|
1998
|
+
workerControllerGetWorkerById(requestParameters: ApiV1WorkersApiWorkerControllerGetWorkerByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any, {}>>;
|
|
1209
1999
|
/**
|
|
1210
2000
|
*
|
|
1211
2001
|
* @summary Retrieve workers with filters, sorting, pagination, and search
|
|
@@ -1214,7 +2004,7 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1214
2004
|
* @throws {RequiredError}
|
|
1215
2005
|
* @memberof ApiV1WorkersApi
|
|
1216
2006
|
*/
|
|
1217
|
-
workerControllerGetWorkers(requestParameters?: ApiV1WorkersApiWorkerControllerGetWorkersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerControllerGetWorkers200Response, any>>;
|
|
2007
|
+
workerControllerGetWorkers(requestParameters?: ApiV1WorkersApiWorkerControllerGetWorkersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerControllerGetWorkers200Response, any, {}>>;
|
|
1218
2008
|
/**
|
|
1219
2009
|
*
|
|
1220
2010
|
* @summary Update a worker by ID
|
|
@@ -1223,138 +2013,5 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1223
2013
|
* @throws {RequiredError}
|
|
1224
2014
|
* @memberof ApiV1WorkersApi
|
|
1225
2015
|
*/
|
|
1226
|
-
workerControllerUpdateWorker(requestParameters: ApiV1WorkersApiWorkerControllerUpdateWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any>>;
|
|
1227
|
-
}
|
|
1228
|
-
/**
|
|
1229
|
-
* SsoApi - axios parameter creator
|
|
1230
|
-
* @export
|
|
1231
|
-
*/
|
|
1232
|
-
export declare const SsoApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1233
|
-
/**
|
|
1234
|
-
*
|
|
1235
|
-
* @param {object} body
|
|
1236
|
-
* @param {*} [options] Override http request option.
|
|
1237
|
-
* @throws {RequiredError}
|
|
1238
|
-
*/
|
|
1239
|
-
ssoControllerGenerateLocalCode: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1240
|
-
/**
|
|
1241
|
-
*
|
|
1242
|
-
* @param {object} body
|
|
1243
|
-
* @param {*} [options] Override http request option.
|
|
1244
|
-
* @throws {RequiredError}
|
|
1245
|
-
*/
|
|
1246
|
-
ssoControllerValidateCode: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1247
|
-
};
|
|
1248
|
-
/**
|
|
1249
|
-
* SsoApi - functional programming interface
|
|
1250
|
-
* @export
|
|
1251
|
-
*/
|
|
1252
|
-
export declare const SsoApiFp: (configuration?: Configuration) => {
|
|
1253
|
-
/**
|
|
1254
|
-
*
|
|
1255
|
-
* @param {object} body
|
|
1256
|
-
* @param {*} [options] Override http request option.
|
|
1257
|
-
* @throws {RequiredError}
|
|
1258
|
-
*/
|
|
1259
|
-
ssoControllerGenerateLocalCode(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1260
|
-
/**
|
|
1261
|
-
*
|
|
1262
|
-
* @param {object} body
|
|
1263
|
-
* @param {*} [options] Override http request option.
|
|
1264
|
-
* @throws {RequiredError}
|
|
1265
|
-
*/
|
|
1266
|
-
ssoControllerValidateCode(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1267
|
-
};
|
|
1268
|
-
/**
|
|
1269
|
-
* SsoApi - factory interface
|
|
1270
|
-
* @export
|
|
1271
|
-
*/
|
|
1272
|
-
export declare const SsoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1273
|
-
/**
|
|
1274
|
-
*
|
|
1275
|
-
* @param {SsoApiSsoControllerGenerateLocalCodeRequest} requestParameters Request parameters.
|
|
1276
|
-
* @param {*} [options] Override http request option.
|
|
1277
|
-
* @throws {RequiredError}
|
|
1278
|
-
*/
|
|
1279
|
-
ssoControllerGenerateLocalCode(requestParameters: SsoApiSsoControllerGenerateLocalCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1280
|
-
/**
|
|
1281
|
-
*
|
|
1282
|
-
* @param {SsoApiSsoControllerValidateCodeRequest} requestParameters Request parameters.
|
|
1283
|
-
* @param {*} [options] Override http request option.
|
|
1284
|
-
* @throws {RequiredError}
|
|
1285
|
-
*/
|
|
1286
|
-
ssoControllerValidateCode(requestParameters: SsoApiSsoControllerValidateCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1287
|
-
};
|
|
1288
|
-
/**
|
|
1289
|
-
* SsoApi - interface
|
|
1290
|
-
* @export
|
|
1291
|
-
* @interface SsoApi
|
|
1292
|
-
*/
|
|
1293
|
-
export interface SsoApiInterface {
|
|
1294
|
-
/**
|
|
1295
|
-
*
|
|
1296
|
-
* @param {SsoApiSsoControllerGenerateLocalCodeRequest} requestParameters Request parameters.
|
|
1297
|
-
* @param {*} [options] Override http request option.
|
|
1298
|
-
* @throws {RequiredError}
|
|
1299
|
-
* @memberof SsoApiInterface
|
|
1300
|
-
*/
|
|
1301
|
-
ssoControllerGenerateLocalCode(requestParameters: SsoApiSsoControllerGenerateLocalCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1302
|
-
/**
|
|
1303
|
-
*
|
|
1304
|
-
* @param {SsoApiSsoControllerValidateCodeRequest} requestParameters Request parameters.
|
|
1305
|
-
* @param {*} [options] Override http request option.
|
|
1306
|
-
* @throws {RequiredError}
|
|
1307
|
-
* @memberof SsoApiInterface
|
|
1308
|
-
*/
|
|
1309
|
-
ssoControllerValidateCode(requestParameters: SsoApiSsoControllerValidateCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1310
|
-
}
|
|
1311
|
-
/**
|
|
1312
|
-
* Request parameters for ssoControllerGenerateLocalCode operation in SsoApi.
|
|
1313
|
-
* @export
|
|
1314
|
-
* @interface SsoApiSsoControllerGenerateLocalCodeRequest
|
|
1315
|
-
*/
|
|
1316
|
-
export interface SsoApiSsoControllerGenerateLocalCodeRequest {
|
|
1317
|
-
/**
|
|
1318
|
-
*
|
|
1319
|
-
* @type {object}
|
|
1320
|
-
* @memberof SsoApiSsoControllerGenerateLocalCode
|
|
1321
|
-
*/
|
|
1322
|
-
readonly body: object;
|
|
1323
|
-
}
|
|
1324
|
-
/**
|
|
1325
|
-
* Request parameters for ssoControllerValidateCode operation in SsoApi.
|
|
1326
|
-
* @export
|
|
1327
|
-
* @interface SsoApiSsoControllerValidateCodeRequest
|
|
1328
|
-
*/
|
|
1329
|
-
export interface SsoApiSsoControllerValidateCodeRequest {
|
|
1330
|
-
/**
|
|
1331
|
-
*
|
|
1332
|
-
* @type {object}
|
|
1333
|
-
* @memberof SsoApiSsoControllerValidateCode
|
|
1334
|
-
*/
|
|
1335
|
-
readonly body: object;
|
|
1336
|
-
}
|
|
1337
|
-
/**
|
|
1338
|
-
* SsoApi - object-oriented interface
|
|
1339
|
-
* @export
|
|
1340
|
-
* @class SsoApi
|
|
1341
|
-
* @extends {BaseAPI}
|
|
1342
|
-
*/
|
|
1343
|
-
export declare class SsoApi extends BaseAPI implements SsoApiInterface {
|
|
1344
|
-
/**
|
|
1345
|
-
*
|
|
1346
|
-
* @param {SsoApiSsoControllerGenerateLocalCodeRequest} requestParameters Request parameters.
|
|
1347
|
-
* @param {*} [options] Override http request option.
|
|
1348
|
-
* @throws {RequiredError}
|
|
1349
|
-
* @memberof SsoApi
|
|
1350
|
-
*/
|
|
1351
|
-
ssoControllerGenerateLocalCode(requestParameters: SsoApiSsoControllerGenerateLocalCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1352
|
-
/**
|
|
1353
|
-
*
|
|
1354
|
-
* @param {SsoApiSsoControllerValidateCodeRequest} requestParameters Request parameters.
|
|
1355
|
-
* @param {*} [options] Override http request option.
|
|
1356
|
-
* @throws {RequiredError}
|
|
1357
|
-
* @memberof SsoApi
|
|
1358
|
-
*/
|
|
1359
|
-
ssoControllerValidateCode(requestParameters: SsoApiSsoControllerValidateCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2016
|
+
workerControllerUpdateWorker(requestParameters: ApiV1WorkersApiWorkerControllerUpdateWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any, {}>>;
|
|
1360
2017
|
}
|