@loopstack/hub-client 0.0.6 → 0.9.0
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 +1019 -449
- package/dist/api.d.ts +817 -308
- package/dist/api.js +520 -352
- package/dist/esm/api.d.ts +817 -308
- package/dist/esm/api.js +510 -346
- 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,239 @@ 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<object>>}
|
|
239
|
+
* @memberof UserDto
|
|
240
|
+
*/
|
|
241
|
+
'workers': Array<Array<object>>;
|
|
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 for the user
|
|
263
|
+
* @type {WorkerItemDto}
|
|
264
|
+
* @memberof UserSettingsDto
|
|
265
|
+
*/
|
|
266
|
+
'defaultWorker'?: WorkerItemDto;
|
|
267
|
+
/**
|
|
268
|
+
* Default worker ID
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof UserSettingsDto
|
|
271
|
+
*/
|
|
272
|
+
'defaultWorkerId'?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Last selected worker by the user
|
|
275
|
+
* @type {WorkerItemDto}
|
|
276
|
+
* @memberof UserSettingsDto
|
|
277
|
+
*/
|
|
278
|
+
'lastSelectedWorker'?: WorkerItemDto;
|
|
279
|
+
/**
|
|
280
|
+
* Last selected worker ID
|
|
281
|
+
* @type {string}
|
|
282
|
+
* @memberof UserSettingsDto
|
|
283
|
+
*/
|
|
284
|
+
'lastSelectedWorkerId'?: string;
|
|
285
|
+
/**
|
|
286
|
+
* UI preferences
|
|
287
|
+
* @type {UIPreferencesDto}
|
|
288
|
+
* @memberof UserSettingsDto
|
|
289
|
+
*/
|
|
290
|
+
'uiPreferences'?: UIPreferencesDto;
|
|
291
|
+
/**
|
|
292
|
+
* Creation timestamp
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof UserSettingsDto
|
|
295
|
+
*/
|
|
296
|
+
'createdAt': string;
|
|
297
|
+
/**
|
|
298
|
+
* Last update timestamp
|
|
299
|
+
* @type {string}
|
|
300
|
+
* @memberof UserSettingsDto
|
|
301
|
+
*/
|
|
302
|
+
'updatedAt': string;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
*
|
|
306
|
+
* @export
|
|
307
|
+
* @interface UserSettingsUpdateDto
|
|
308
|
+
*/
|
|
309
|
+
export interface UserSettingsUpdateDto {
|
|
310
|
+
/**
|
|
311
|
+
* Default worker for the user
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof UserSettingsUpdateDto
|
|
314
|
+
*/
|
|
315
|
+
'defaultWorkerId'?: string;
|
|
316
|
+
/**
|
|
317
|
+
* Last selected worker by the user
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof UserSettingsUpdateDto
|
|
320
|
+
*/
|
|
321
|
+
'lastSelectedWorkerId'?: string;
|
|
322
|
+
/**
|
|
323
|
+
* UI preferences
|
|
324
|
+
* @type {UIPreferencesDto}
|
|
325
|
+
* @memberof UserSettingsUpdateDto
|
|
326
|
+
*/
|
|
327
|
+
'uiPreferences'?: UIPreferencesDto;
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @export
|
|
332
|
+
* @interface ValidateCodeResponseDto
|
|
333
|
+
*/
|
|
334
|
+
export interface ValidateCodeResponseDto {
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {boolean}
|
|
338
|
+
* @memberof ValidateCodeResponseDto
|
|
339
|
+
*/
|
|
340
|
+
'success': boolean;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @type {object}
|
|
344
|
+
* @memberof ValidateCodeResponseDto
|
|
345
|
+
*/
|
|
346
|
+
'data': object;
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @type {string}
|
|
350
|
+
* @memberof ValidateCodeResponseDto
|
|
351
|
+
*/
|
|
352
|
+
'message': string;
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @type {string}
|
|
356
|
+
* @memberof ValidateCodeResponseDto
|
|
357
|
+
*/
|
|
358
|
+
'timestamp': string;
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* @type {string}
|
|
362
|
+
* @memberof ValidateCodeResponseDto
|
|
363
|
+
*/
|
|
364
|
+
'correlationId'?: string;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @export
|
|
369
|
+
* @interface WorkerClientSecretDto
|
|
370
|
+
*/
|
|
371
|
+
export interface WorkerClientSecretDto {
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @type {string}
|
|
375
|
+
* @memberof WorkerClientSecretDto
|
|
376
|
+
*/
|
|
377
|
+
'clientSecret': string;
|
|
378
|
+
}
|
|
47
379
|
/**
|
|
48
380
|
*
|
|
49
381
|
* @export
|
|
@@ -138,6 +470,12 @@ export interface WorkerCreateDto {
|
|
|
138
470
|
* @memberof WorkerCreateDto
|
|
139
471
|
*/
|
|
140
472
|
'url': string;
|
|
473
|
+
/**
|
|
474
|
+
* URL of the worker websocket server
|
|
475
|
+
* @type {string}
|
|
476
|
+
* @memberof WorkerCreateDto
|
|
477
|
+
*/
|
|
478
|
+
'websocketUrl': string;
|
|
141
479
|
/**
|
|
142
480
|
* Name of the worker
|
|
143
481
|
* @type {string}
|
|
@@ -164,23 +502,23 @@ export interface WorkerDto {
|
|
|
164
502
|
*/
|
|
165
503
|
'url': string;
|
|
166
504
|
/**
|
|
167
|
-
*
|
|
505
|
+
* URL of the worker websocket server
|
|
168
506
|
* @type {string}
|
|
169
507
|
* @memberof WorkerDto
|
|
170
508
|
*/
|
|
171
|
-
'
|
|
509
|
+
'websocketUrl': string;
|
|
172
510
|
/**
|
|
173
|
-
*
|
|
511
|
+
* Name of the worker
|
|
174
512
|
* @type {string}
|
|
175
513
|
* @memberof WorkerDto
|
|
176
514
|
*/
|
|
177
|
-
'
|
|
515
|
+
'name': string;
|
|
178
516
|
/**
|
|
179
|
-
*
|
|
517
|
+
* Is client secret generated
|
|
180
518
|
* @type {boolean}
|
|
181
519
|
* @memberof WorkerDto
|
|
182
520
|
*/
|
|
183
|
-
'
|
|
521
|
+
'hasClientSecret': boolean;
|
|
184
522
|
/**
|
|
185
523
|
* Timestamp when the worker was created
|
|
186
524
|
* @type {string}
|
|
@@ -231,6 +569,12 @@ export interface WorkerItemDto {
|
|
|
231
569
|
* @memberof WorkerItemDto
|
|
232
570
|
*/
|
|
233
571
|
'url': string;
|
|
572
|
+
/**
|
|
573
|
+
* URL of the worker websocket server
|
|
574
|
+
* @type {string}
|
|
575
|
+
* @memberof WorkerItemDto
|
|
576
|
+
*/
|
|
577
|
+
'websocketUrl': string;
|
|
234
578
|
/**
|
|
235
579
|
* Name of the worker
|
|
236
580
|
* @type {string}
|
|
@@ -238,11 +582,11 @@ export interface WorkerItemDto {
|
|
|
238
582
|
*/
|
|
239
583
|
'name': string;
|
|
240
584
|
/**
|
|
241
|
-
*
|
|
585
|
+
* Is client secret generated
|
|
242
586
|
* @type {boolean}
|
|
243
587
|
* @memberof WorkerItemDto
|
|
244
588
|
*/
|
|
245
|
-
'
|
|
589
|
+
'hasClientSecret': boolean;
|
|
246
590
|
/**
|
|
247
591
|
* Timestamp when the worker was created
|
|
248
592
|
* @type {string}
|
|
@@ -278,9 +622,9 @@ export interface WorkerSortByDto {
|
|
|
278
622
|
export declare const WorkerSortByDtoFieldEnum: {
|
|
279
623
|
readonly Id: "id";
|
|
280
624
|
readonly Url: "url";
|
|
625
|
+
readonly WebsocketUrl: "websocketUrl";
|
|
281
626
|
readonly Name: "name";
|
|
282
|
-
readonly
|
|
283
|
-
readonly IsSetupComplete: "isSetupComplete";
|
|
627
|
+
readonly ClientSecret: "clientSecret";
|
|
284
628
|
readonly CreatedAt: "createdAt";
|
|
285
629
|
readonly UpdatedAt: "updatedAt";
|
|
286
630
|
readonly UserId: "userId";
|
|
@@ -297,12 +641,6 @@ export type WorkerSortByDtoOrderEnum = typeof WorkerSortByDtoOrderEnum[keyof typ
|
|
|
297
641
|
* @interface WorkerUpdateDto
|
|
298
642
|
*/
|
|
299
643
|
export interface WorkerUpdateDto {
|
|
300
|
-
/**
|
|
301
|
-
* URL of the worker
|
|
302
|
-
* @type {string}
|
|
303
|
-
* @memberof WorkerUpdateDto
|
|
304
|
-
*/
|
|
305
|
-
'url'?: string;
|
|
306
644
|
/**
|
|
307
645
|
* Name of the worker
|
|
308
646
|
* @type {string}
|
|
@@ -317,36 +655,35 @@ export interface WorkerUpdateDto {
|
|
|
317
655
|
export declare const ApiV1AuthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
318
656
|
/**
|
|
319
657
|
*
|
|
658
|
+
* @summary Get linked OAuth providers for current user
|
|
320
659
|
* @param {*} [options] Override http request option.
|
|
321
660
|
* @throws {RequiredError}
|
|
322
661
|
*/
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
*
|
|
326
|
-
* @param {*} [options] Override http request option.
|
|
327
|
-
* @throws {RequiredError}
|
|
328
|
-
*/
|
|
329
|
-
authControllerGetAuthStrategies: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
662
|
+
authControllerGetProviders: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
330
663
|
/**
|
|
331
664
|
*
|
|
665
|
+
* @summary Initiate Google OAuth flow
|
|
332
666
|
* @param {*} [options] Override http request option.
|
|
333
667
|
* @throws {RequiredError}
|
|
334
668
|
*/
|
|
335
|
-
|
|
669
|
+
authControllerGoogleAuth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
336
670
|
/**
|
|
337
671
|
*
|
|
672
|
+
* @summary Handle Google OAuth callback
|
|
338
673
|
* @param {*} [options] Override http request option.
|
|
339
674
|
* @throws {RequiredError}
|
|
340
675
|
*/
|
|
341
|
-
|
|
676
|
+
authControllerGoogleCallback: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
342
677
|
/**
|
|
343
678
|
*
|
|
679
|
+
* @summary Auth service health check
|
|
344
680
|
* @param {*} [options] Override http request option.
|
|
345
681
|
* @throws {RequiredError}
|
|
346
682
|
*/
|
|
347
|
-
|
|
683
|
+
authControllerHealthCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
348
684
|
/**
|
|
349
685
|
*
|
|
686
|
+
* @summary Link OAuth provider to existing account
|
|
350
687
|
* @param {object} body
|
|
351
688
|
* @param {*} [options] Override http request option.
|
|
352
689
|
* @throws {RequiredError}
|
|
@@ -354,6 +691,7 @@ export declare const ApiV1AuthApiAxiosParamCreator: (configuration?: Configurati
|
|
|
354
691
|
authControllerLinkProvider: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
355
692
|
/**
|
|
356
693
|
*
|
|
694
|
+
* @summary User login with email and password
|
|
357
695
|
* @param {object} body
|
|
358
696
|
* @param {*} [options] Override http request option.
|
|
359
697
|
* @throws {RequiredError}
|
|
@@ -361,24 +699,21 @@ export declare const ApiV1AuthApiAxiosParamCreator: (configuration?: Configurati
|
|
|
361
699
|
authControllerLogin: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
362
700
|
/**
|
|
363
701
|
*
|
|
702
|
+
* @summary Logout user and clear session
|
|
364
703
|
* @param {*} [options] Override http request option.
|
|
365
704
|
* @throws {RequiredError}
|
|
366
705
|
*/
|
|
367
706
|
authControllerLogout: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
368
707
|
/**
|
|
369
708
|
*
|
|
370
|
-
* @
|
|
371
|
-
* @throws {RequiredError}
|
|
372
|
-
*/
|
|
373
|
-
authControllerMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
374
|
-
/**
|
|
375
|
-
*
|
|
709
|
+
* @summary Refresh access token using refresh token
|
|
376
710
|
* @param {*} [options] Override http request option.
|
|
377
711
|
* @throws {RequiredError}
|
|
378
712
|
*/
|
|
379
713
|
authControllerRefresh: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
380
714
|
/**
|
|
381
715
|
*
|
|
716
|
+
* @summary Register a new user account
|
|
382
717
|
* @param {object} body
|
|
383
718
|
* @param {*} [options] Override http request option.
|
|
384
719
|
* @throws {RequiredError}
|
|
@@ -392,73 +727,70 @@ export declare const ApiV1AuthApiAxiosParamCreator: (configuration?: Configurati
|
|
|
392
727
|
export declare const ApiV1AuthApiFp: (configuration?: Configuration) => {
|
|
393
728
|
/**
|
|
394
729
|
*
|
|
730
|
+
* @summary Get linked OAuth providers for current user
|
|
395
731
|
* @param {*} [options] Override http request option.
|
|
396
732
|
* @throws {RequiredError}
|
|
397
733
|
*/
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
*
|
|
401
|
-
* @param {*} [options] Override http request option.
|
|
402
|
-
* @throws {RequiredError}
|
|
403
|
-
*/
|
|
404
|
-
authControllerGetAuthStrategies(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
405
|
-
/**
|
|
406
|
-
*
|
|
407
|
-
* @param {*} [options] Override http request option.
|
|
408
|
-
* @throws {RequiredError}
|
|
409
|
-
*/
|
|
410
|
-
authControllerGetProviders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
734
|
+
authControllerGetProviders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
411
735
|
/**
|
|
412
736
|
*
|
|
737
|
+
* @summary Initiate Google OAuth flow
|
|
413
738
|
* @param {*} [options] Override http request option.
|
|
414
739
|
* @throws {RequiredError}
|
|
415
740
|
*/
|
|
416
741
|
authControllerGoogleAuth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
417
742
|
/**
|
|
418
743
|
*
|
|
744
|
+
* @summary Handle Google OAuth callback
|
|
419
745
|
* @param {*} [options] Override http request option.
|
|
420
746
|
* @throws {RequiredError}
|
|
421
747
|
*/
|
|
422
|
-
authControllerGoogleCallback(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
748
|
+
authControllerGoogleCallback(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
423
749
|
/**
|
|
424
750
|
*
|
|
425
|
-
* @
|
|
751
|
+
* @summary Auth service health check
|
|
426
752
|
* @param {*} [options] Override http request option.
|
|
427
753
|
* @throws {RequiredError}
|
|
428
754
|
*/
|
|
429
|
-
|
|
755
|
+
authControllerHealthCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
430
756
|
/**
|
|
431
757
|
*
|
|
758
|
+
* @summary Link OAuth provider to existing account
|
|
432
759
|
* @param {object} body
|
|
433
760
|
* @param {*} [options] Override http request option.
|
|
434
761
|
* @throws {RequiredError}
|
|
435
762
|
*/
|
|
436
|
-
|
|
763
|
+
authControllerLinkProvider(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
437
764
|
/**
|
|
438
765
|
*
|
|
766
|
+
* @summary User login with email and password
|
|
767
|
+
* @param {object} body
|
|
439
768
|
* @param {*} [options] Override http request option.
|
|
440
769
|
* @throws {RequiredError}
|
|
441
770
|
*/
|
|
442
|
-
|
|
771
|
+
authControllerLogin(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
443
772
|
/**
|
|
444
773
|
*
|
|
774
|
+
* @summary Logout user and clear session
|
|
445
775
|
* @param {*} [options] Override http request option.
|
|
446
776
|
* @throws {RequiredError}
|
|
447
777
|
*/
|
|
448
|
-
|
|
778
|
+
authControllerLogout(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
449
779
|
/**
|
|
450
780
|
*
|
|
781
|
+
* @summary Refresh access token using refresh token
|
|
451
782
|
* @param {*} [options] Override http request option.
|
|
452
783
|
* @throws {RequiredError}
|
|
453
784
|
*/
|
|
454
|
-
authControllerRefresh(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
785
|
+
authControllerRefresh(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
455
786
|
/**
|
|
456
787
|
*
|
|
788
|
+
* @summary Register a new user account
|
|
457
789
|
* @param {object} body
|
|
458
790
|
* @param {*} [options] Override http request option.
|
|
459
791
|
* @throws {RequiredError}
|
|
460
792
|
*/
|
|
461
|
-
authControllerRegister(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
793
|
+
authControllerRegister(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
462
794
|
};
|
|
463
795
|
/**
|
|
464
796
|
* ApiV1AuthApi - factory interface
|
|
@@ -467,73 +799,70 @@ export declare const ApiV1AuthApiFp: (configuration?: Configuration) => {
|
|
|
467
799
|
export declare const ApiV1AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
468
800
|
/**
|
|
469
801
|
*
|
|
802
|
+
* @summary Get linked OAuth providers for current user
|
|
470
803
|
* @param {*} [options] Override http request option.
|
|
471
804
|
* @throws {RequiredError}
|
|
472
805
|
*/
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
*
|
|
476
|
-
* @param {*} [options] Override http request option.
|
|
477
|
-
* @throws {RequiredError}
|
|
478
|
-
*/
|
|
479
|
-
authControllerGetAuthStrategies(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
806
|
+
authControllerGetProviders(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
480
807
|
/**
|
|
481
808
|
*
|
|
809
|
+
* @summary Initiate Google OAuth flow
|
|
482
810
|
* @param {*} [options] Override http request option.
|
|
483
811
|
* @throws {RequiredError}
|
|
484
812
|
*/
|
|
485
|
-
|
|
813
|
+
authControllerGoogleAuth(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
486
814
|
/**
|
|
487
815
|
*
|
|
816
|
+
* @summary Handle Google OAuth callback
|
|
488
817
|
* @param {*} [options] Override http request option.
|
|
489
818
|
* @throws {RequiredError}
|
|
490
819
|
*/
|
|
491
|
-
|
|
820
|
+
authControllerGoogleCallback(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
492
821
|
/**
|
|
493
822
|
*
|
|
823
|
+
* @summary Auth service health check
|
|
494
824
|
* @param {*} [options] Override http request option.
|
|
495
825
|
* @throws {RequiredError}
|
|
496
826
|
*/
|
|
497
|
-
|
|
827
|
+
authControllerHealthCheck(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
498
828
|
/**
|
|
499
829
|
*
|
|
830
|
+
* @summary Link OAuth provider to existing account
|
|
500
831
|
* @param {ApiV1AuthApiAuthControllerLinkProviderRequest} requestParameters Request parameters.
|
|
501
832
|
* @param {*} [options] Override http request option.
|
|
502
833
|
* @throws {RequiredError}
|
|
503
834
|
*/
|
|
504
|
-
authControllerLinkProvider(requestParameters: ApiV1AuthApiAuthControllerLinkProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
835
|
+
authControllerLinkProvider(requestParameters: ApiV1AuthApiAuthControllerLinkProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
505
836
|
/**
|
|
506
837
|
*
|
|
838
|
+
* @summary User login with email and password
|
|
507
839
|
* @param {ApiV1AuthApiAuthControllerLoginRequest} requestParameters Request parameters.
|
|
508
840
|
* @param {*} [options] Override http request option.
|
|
509
841
|
* @throws {RequiredError}
|
|
510
842
|
*/
|
|
511
|
-
authControllerLogin(requestParameters: ApiV1AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
843
|
+
authControllerLogin(requestParameters: ApiV1AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
512
844
|
/**
|
|
513
845
|
*
|
|
846
|
+
* @summary Logout user and clear session
|
|
514
847
|
* @param {*} [options] Override http request option.
|
|
515
848
|
* @throws {RequiredError}
|
|
516
849
|
*/
|
|
517
|
-
authControllerLogout(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
850
|
+
authControllerLogout(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
518
851
|
/**
|
|
519
852
|
*
|
|
853
|
+
* @summary Refresh access token using refresh token
|
|
520
854
|
* @param {*} [options] Override http request option.
|
|
521
855
|
* @throws {RequiredError}
|
|
522
856
|
*/
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
*
|
|
526
|
-
* @param {*} [options] Override http request option.
|
|
527
|
-
* @throws {RequiredError}
|
|
528
|
-
*/
|
|
529
|
-
authControllerRefresh(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
857
|
+
authControllerRefresh(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
530
858
|
/**
|
|
531
859
|
*
|
|
860
|
+
* @summary Register a new user account
|
|
532
861
|
* @param {ApiV1AuthApiAuthControllerRegisterRequest} requestParameters Request parameters.
|
|
533
862
|
* @param {*} [options] Override http request option.
|
|
534
863
|
* @throws {RequiredError}
|
|
535
864
|
*/
|
|
536
|
-
authControllerRegister(requestParameters: ApiV1AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
865
|
+
authControllerRegister(requestParameters: ApiV1AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
537
866
|
};
|
|
538
867
|
/**
|
|
539
868
|
* ApiV1AuthApi - interface
|
|
@@ -543,276 +872,534 @@ export declare const ApiV1AuthApiFactory: (configuration?: Configuration, basePa
|
|
|
543
872
|
export interface ApiV1AuthApiInterface {
|
|
544
873
|
/**
|
|
545
874
|
*
|
|
875
|
+
* @summary Get linked OAuth providers for current user
|
|
546
876
|
* @param {*} [options] Override http request option.
|
|
547
877
|
* @throws {RequiredError}
|
|
548
878
|
* @memberof ApiV1AuthApiInterface
|
|
549
879
|
*/
|
|
550
|
-
|
|
880
|
+
authControllerGetProviders(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
551
881
|
/**
|
|
552
882
|
*
|
|
883
|
+
* @summary Initiate Google OAuth flow
|
|
553
884
|
* @param {*} [options] Override http request option.
|
|
554
885
|
* @throws {RequiredError}
|
|
555
886
|
* @memberof ApiV1AuthApiInterface
|
|
556
887
|
*/
|
|
557
|
-
|
|
888
|
+
authControllerGoogleAuth(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
558
889
|
/**
|
|
559
890
|
*
|
|
891
|
+
* @summary Handle Google OAuth callback
|
|
560
892
|
* @param {*} [options] Override http request option.
|
|
561
893
|
* @throws {RequiredError}
|
|
562
894
|
* @memberof ApiV1AuthApiInterface
|
|
563
895
|
*/
|
|
564
|
-
|
|
896
|
+
authControllerGoogleCallback(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
565
897
|
/**
|
|
566
898
|
*
|
|
899
|
+
* @summary Auth service health check
|
|
567
900
|
* @param {*} [options] Override http request option.
|
|
568
901
|
* @throws {RequiredError}
|
|
569
902
|
* @memberof ApiV1AuthApiInterface
|
|
570
903
|
*/
|
|
571
|
-
|
|
904
|
+
authControllerHealthCheck(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
572
905
|
/**
|
|
573
906
|
*
|
|
907
|
+
* @summary Link OAuth provider to existing account
|
|
908
|
+
* @param {ApiV1AuthApiAuthControllerLinkProviderRequest} requestParameters Request parameters.
|
|
574
909
|
* @param {*} [options] Override http request option.
|
|
575
910
|
* @throws {RequiredError}
|
|
576
911
|
* @memberof ApiV1AuthApiInterface
|
|
577
912
|
*/
|
|
578
|
-
|
|
913
|
+
authControllerLinkProvider(requestParameters: ApiV1AuthApiAuthControllerLinkProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
579
914
|
/**
|
|
580
915
|
*
|
|
581
|
-
* @
|
|
916
|
+
* @summary User login with email and password
|
|
917
|
+
* @param {ApiV1AuthApiAuthControllerLoginRequest} requestParameters Request parameters.
|
|
582
918
|
* @param {*} [options] Override http request option.
|
|
583
919
|
* @throws {RequiredError}
|
|
584
920
|
* @memberof ApiV1AuthApiInterface
|
|
585
921
|
*/
|
|
586
|
-
|
|
922
|
+
authControllerLogin(requestParameters: ApiV1AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
587
923
|
/**
|
|
588
924
|
*
|
|
589
|
-
* @
|
|
925
|
+
* @summary Logout user and clear session
|
|
590
926
|
* @param {*} [options] Override http request option.
|
|
591
927
|
* @throws {RequiredError}
|
|
592
928
|
* @memberof ApiV1AuthApiInterface
|
|
593
929
|
*/
|
|
594
|
-
|
|
930
|
+
authControllerLogout(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
595
931
|
/**
|
|
596
932
|
*
|
|
933
|
+
* @summary Refresh access token using refresh token
|
|
597
934
|
* @param {*} [options] Override http request option.
|
|
598
935
|
* @throws {RequiredError}
|
|
599
936
|
* @memberof ApiV1AuthApiInterface
|
|
600
937
|
*/
|
|
601
|
-
|
|
938
|
+
authControllerRefresh(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
602
939
|
/**
|
|
603
940
|
*
|
|
941
|
+
* @summary Register a new user account
|
|
942
|
+
* @param {ApiV1AuthApiAuthControllerRegisterRequest} requestParameters Request parameters.
|
|
604
943
|
* @param {*} [options] Override http request option.
|
|
605
944
|
* @throws {RequiredError}
|
|
606
945
|
* @memberof ApiV1AuthApiInterface
|
|
607
946
|
*/
|
|
608
|
-
|
|
947
|
+
authControllerRegister(requestParameters: ApiV1AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* Request parameters for authControllerLinkProvider operation in ApiV1AuthApi.
|
|
951
|
+
* @export
|
|
952
|
+
* @interface ApiV1AuthApiAuthControllerLinkProviderRequest
|
|
953
|
+
*/
|
|
954
|
+
export interface ApiV1AuthApiAuthControllerLinkProviderRequest {
|
|
955
|
+
/**
|
|
956
|
+
*
|
|
957
|
+
* @type {object}
|
|
958
|
+
* @memberof ApiV1AuthApiAuthControllerLinkProvider
|
|
959
|
+
*/
|
|
960
|
+
readonly body: object;
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* Request parameters for authControllerLogin operation in ApiV1AuthApi.
|
|
964
|
+
* @export
|
|
965
|
+
* @interface ApiV1AuthApiAuthControllerLoginRequest
|
|
966
|
+
*/
|
|
967
|
+
export interface ApiV1AuthApiAuthControllerLoginRequest {
|
|
968
|
+
/**
|
|
969
|
+
*
|
|
970
|
+
* @type {object}
|
|
971
|
+
* @memberof ApiV1AuthApiAuthControllerLogin
|
|
972
|
+
*/
|
|
973
|
+
readonly body: object;
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
* Request parameters for authControllerRegister operation in ApiV1AuthApi.
|
|
977
|
+
* @export
|
|
978
|
+
* @interface ApiV1AuthApiAuthControllerRegisterRequest
|
|
979
|
+
*/
|
|
980
|
+
export interface ApiV1AuthApiAuthControllerRegisterRequest {
|
|
981
|
+
/**
|
|
982
|
+
*
|
|
983
|
+
* @type {object}
|
|
984
|
+
* @memberof ApiV1AuthApiAuthControllerRegister
|
|
985
|
+
*/
|
|
986
|
+
readonly body: object;
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* ApiV1AuthApi - object-oriented interface
|
|
990
|
+
* @export
|
|
991
|
+
* @class ApiV1AuthApi
|
|
992
|
+
* @extends {BaseAPI}
|
|
993
|
+
*/
|
|
994
|
+
export declare class ApiV1AuthApi extends BaseAPI implements ApiV1AuthApiInterface {
|
|
995
|
+
/**
|
|
996
|
+
*
|
|
997
|
+
* @summary Get linked OAuth providers for current user
|
|
998
|
+
* @param {*} [options] Override http request option.
|
|
999
|
+
* @throws {RequiredError}
|
|
1000
|
+
* @memberof ApiV1AuthApi
|
|
1001
|
+
*/
|
|
1002
|
+
authControllerGetProviders(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1003
|
+
/**
|
|
1004
|
+
*
|
|
1005
|
+
* @summary Initiate Google OAuth flow
|
|
1006
|
+
* @param {*} [options] Override http request option.
|
|
1007
|
+
* @throws {RequiredError}
|
|
1008
|
+
* @memberof ApiV1AuthApi
|
|
1009
|
+
*/
|
|
1010
|
+
authControllerGoogleAuth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1011
|
+
/**
|
|
1012
|
+
*
|
|
1013
|
+
* @summary Handle Google OAuth callback
|
|
1014
|
+
* @param {*} [options] Override http request option.
|
|
1015
|
+
* @throws {RequiredError}
|
|
1016
|
+
* @memberof ApiV1AuthApi
|
|
1017
|
+
*/
|
|
1018
|
+
authControllerGoogleCallback(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1019
|
+
/**
|
|
1020
|
+
*
|
|
1021
|
+
* @summary Auth service health check
|
|
1022
|
+
* @param {*} [options] Override http request option.
|
|
1023
|
+
* @throws {RequiredError}
|
|
1024
|
+
* @memberof ApiV1AuthApi
|
|
1025
|
+
*/
|
|
1026
|
+
authControllerHealthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1027
|
+
/**
|
|
1028
|
+
*
|
|
1029
|
+
* @summary Link OAuth provider to existing account
|
|
1030
|
+
* @param {ApiV1AuthApiAuthControllerLinkProviderRequest} requestParameters Request parameters.
|
|
1031
|
+
* @param {*} [options] Override http request option.
|
|
1032
|
+
* @throws {RequiredError}
|
|
1033
|
+
* @memberof ApiV1AuthApi
|
|
1034
|
+
*/
|
|
1035
|
+
authControllerLinkProvider(requestParameters: ApiV1AuthApiAuthControllerLinkProviderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* @summary User login with email and password
|
|
1039
|
+
* @param {ApiV1AuthApiAuthControllerLoginRequest} requestParameters Request parameters.
|
|
1040
|
+
* @param {*} [options] Override http request option.
|
|
1041
|
+
* @throws {RequiredError}
|
|
1042
|
+
* @memberof ApiV1AuthApi
|
|
1043
|
+
*/
|
|
1044
|
+
authControllerLogin(requestParameters: ApiV1AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @summary Logout user and clear session
|
|
1048
|
+
* @param {*} [options] Override http request option.
|
|
1049
|
+
* @throws {RequiredError}
|
|
1050
|
+
* @memberof ApiV1AuthApi
|
|
1051
|
+
*/
|
|
1052
|
+
authControllerLogout(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1053
|
+
/**
|
|
1054
|
+
*
|
|
1055
|
+
* @summary Refresh access token using refresh token
|
|
1056
|
+
* @param {*} [options] Override http request option.
|
|
1057
|
+
* @throws {RequiredError}
|
|
1058
|
+
* @memberof ApiV1AuthApi
|
|
1059
|
+
*/
|
|
1060
|
+
authControllerRefresh(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1061
|
+
/**
|
|
1062
|
+
*
|
|
1063
|
+
* @summary Register a new user account
|
|
1064
|
+
* @param {ApiV1AuthApiAuthControllerRegisterRequest} requestParameters Request parameters.
|
|
1065
|
+
* @param {*} [options] Override http request option.
|
|
1066
|
+
* @throws {RequiredError}
|
|
1067
|
+
* @memberof ApiV1AuthApi
|
|
1068
|
+
*/
|
|
1069
|
+
authControllerRegister(requestParameters: ApiV1AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* ApiV1SsoApi - axios parameter creator
|
|
1073
|
+
* @export
|
|
1074
|
+
*/
|
|
1075
|
+
export declare const ApiV1SsoApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1076
|
+
/**
|
|
1077
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1078
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1079
|
+
* @param {object} body
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @throws {RequiredError}
|
|
1082
|
+
*/
|
|
1083
|
+
ssoControllerGenerateLocalCode: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1086
|
+
* @summary Validate and consume an authorization code
|
|
1087
|
+
* @param {object} body
|
|
1088
|
+
* @param {*} [options] Override http request option.
|
|
1089
|
+
* @throws {RequiredError}
|
|
1090
|
+
*/
|
|
1091
|
+
ssoControllerValidateCode: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1092
|
+
};
|
|
1093
|
+
/**
|
|
1094
|
+
* ApiV1SsoApi - functional programming interface
|
|
1095
|
+
* @export
|
|
1096
|
+
*/
|
|
1097
|
+
export declare const ApiV1SsoApiFp: (configuration?: Configuration) => {
|
|
1098
|
+
/**
|
|
1099
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1100
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1101
|
+
* @param {object} body
|
|
1102
|
+
* @param {*} [options] Override http request option.
|
|
1103
|
+
* @throws {RequiredError}
|
|
1104
|
+
*/
|
|
1105
|
+
ssoControllerGenerateLocalCode(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateCodeResponseDto>>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1108
|
+
* @summary Validate and consume an authorization code
|
|
1109
|
+
* @param {object} body
|
|
1110
|
+
* @param {*} [options] Override http request option.
|
|
1111
|
+
* @throws {RequiredError}
|
|
1112
|
+
*/
|
|
1113
|
+
ssoControllerValidateCode(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateCodeResponseDto>>;
|
|
1114
|
+
};
|
|
1115
|
+
/**
|
|
1116
|
+
* ApiV1SsoApi - factory interface
|
|
1117
|
+
* @export
|
|
1118
|
+
*/
|
|
1119
|
+
export declare const ApiV1SsoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1120
|
+
/**
|
|
1121
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1122
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1123
|
+
* @param {ApiV1SsoApiSsoControllerGenerateLocalCodeRequest} requestParameters Request parameters.
|
|
1124
|
+
* @param {*} [options] Override http request option.
|
|
1125
|
+
* @throws {RequiredError}
|
|
1126
|
+
*/
|
|
1127
|
+
ssoControllerGenerateLocalCode(requestParameters: ApiV1SsoApiSsoControllerGenerateLocalCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateCodeResponseDto>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1130
|
+
* @summary Validate and consume an authorization code
|
|
1131
|
+
* @param {ApiV1SsoApiSsoControllerValidateCodeRequest} requestParameters Request parameters.
|
|
1132
|
+
* @param {*} [options] Override http request option.
|
|
1133
|
+
* @throws {RequiredError}
|
|
1134
|
+
*/
|
|
1135
|
+
ssoControllerValidateCode(requestParameters: ApiV1SsoApiSsoControllerValidateCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ValidateCodeResponseDto>;
|
|
1136
|
+
};
|
|
1137
|
+
/**
|
|
1138
|
+
* ApiV1SsoApi - interface
|
|
1139
|
+
* @export
|
|
1140
|
+
* @interface ApiV1SsoApi
|
|
1141
|
+
*/
|
|
1142
|
+
export interface ApiV1SsoApiInterface {
|
|
609
1143
|
/**
|
|
610
|
-
*
|
|
1144
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1145
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1146
|
+
* @param {ApiV1SsoApiSsoControllerGenerateLocalCodeRequest} requestParameters Request parameters.
|
|
611
1147
|
* @param {*} [options] Override http request option.
|
|
612
1148
|
* @throws {RequiredError}
|
|
613
|
-
* @memberof
|
|
1149
|
+
* @memberof ApiV1SsoApiInterface
|
|
614
1150
|
*/
|
|
615
|
-
|
|
1151
|
+
ssoControllerGenerateLocalCode(requestParameters: ApiV1SsoApiSsoControllerGenerateLocalCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateCodeResponseDto>;
|
|
616
1152
|
/**
|
|
617
|
-
*
|
|
618
|
-
* @
|
|
1153
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1154
|
+
* @summary Validate and consume an authorization code
|
|
1155
|
+
* @param {ApiV1SsoApiSsoControllerValidateCodeRequest} requestParameters Request parameters.
|
|
619
1156
|
* @param {*} [options] Override http request option.
|
|
620
1157
|
* @throws {RequiredError}
|
|
621
|
-
* @memberof
|
|
1158
|
+
* @memberof ApiV1SsoApiInterface
|
|
622
1159
|
*/
|
|
623
|
-
|
|
1160
|
+
ssoControllerValidateCode(requestParameters: ApiV1SsoApiSsoControllerValidateCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ValidateCodeResponseDto>;
|
|
624
1161
|
}
|
|
625
1162
|
/**
|
|
626
|
-
* Request parameters for
|
|
1163
|
+
* Request parameters for ssoControllerGenerateLocalCode operation in ApiV1SsoApi.
|
|
627
1164
|
* @export
|
|
628
|
-
* @interface
|
|
1165
|
+
* @interface ApiV1SsoApiSsoControllerGenerateLocalCodeRequest
|
|
629
1166
|
*/
|
|
630
|
-
export interface
|
|
1167
|
+
export interface ApiV1SsoApiSsoControllerGenerateLocalCodeRequest {
|
|
631
1168
|
/**
|
|
632
1169
|
*
|
|
633
1170
|
* @type {object}
|
|
634
|
-
* @memberof
|
|
1171
|
+
* @memberof ApiV1SsoApiSsoControllerGenerateLocalCode
|
|
635
1172
|
*/
|
|
636
1173
|
readonly body: object;
|
|
637
1174
|
}
|
|
638
1175
|
/**
|
|
639
|
-
* Request parameters for
|
|
1176
|
+
* Request parameters for ssoControllerValidateCode operation in ApiV1SsoApi.
|
|
640
1177
|
* @export
|
|
641
|
-
* @interface
|
|
1178
|
+
* @interface ApiV1SsoApiSsoControllerValidateCodeRequest
|
|
642
1179
|
*/
|
|
643
|
-
export interface
|
|
1180
|
+
export interface ApiV1SsoApiSsoControllerValidateCodeRequest {
|
|
644
1181
|
/**
|
|
645
1182
|
*
|
|
646
1183
|
* @type {object}
|
|
647
|
-
* @memberof
|
|
1184
|
+
* @memberof ApiV1SsoApiSsoControllerValidateCode
|
|
648
1185
|
*/
|
|
649
1186
|
readonly body: object;
|
|
650
1187
|
}
|
|
651
1188
|
/**
|
|
652
|
-
*
|
|
1189
|
+
* ApiV1SsoApi - object-oriented interface
|
|
653
1190
|
* @export
|
|
654
|
-
* @
|
|
1191
|
+
* @class ApiV1SsoApi
|
|
1192
|
+
* @extends {BaseAPI}
|
|
655
1193
|
*/
|
|
656
|
-
export
|
|
1194
|
+
export declare class ApiV1SsoApi extends BaseAPI implements ApiV1SsoApiInterface {
|
|
657
1195
|
/**
|
|
658
|
-
*
|
|
659
|
-
* @
|
|
660
|
-
* @
|
|
1196
|
+
* Generates a secure authorization code that can be used by worker services to authenticate users in a trusted server-to-server environment.
|
|
1197
|
+
* @summary Generate an authorization code for SSO authentication
|
|
1198
|
+
* @param {ApiV1SsoApiSsoControllerGenerateLocalCodeRequest} requestParameters Request parameters.
|
|
1199
|
+
* @param {*} [options] Override http request option.
|
|
1200
|
+
* @throws {RequiredError}
|
|
1201
|
+
* @memberof ApiV1SsoApi
|
|
661
1202
|
*/
|
|
662
|
-
|
|
1203
|
+
ssoControllerGenerateLocalCode(requestParameters: ApiV1SsoApiSsoControllerGenerateLocalCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateCodeResponseDto, any, {}>>;
|
|
1204
|
+
/**
|
|
1205
|
+
* Validates an authorization code and returns the associated user information. The code is consumed upon successful validation and cannot be reused.
|
|
1206
|
+
* @summary Validate and consume an authorization code
|
|
1207
|
+
* @param {ApiV1SsoApiSsoControllerValidateCodeRequest} requestParameters Request parameters.
|
|
1208
|
+
* @param {*} [options] Override http request option.
|
|
1209
|
+
* @throws {RequiredError}
|
|
1210
|
+
* @memberof ApiV1SsoApi
|
|
1211
|
+
*/
|
|
1212
|
+
ssoControllerValidateCode(requestParameters: ApiV1SsoApiSsoControllerValidateCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateCodeResponseDto, any, {}>>;
|
|
663
1213
|
}
|
|
664
1214
|
/**
|
|
665
|
-
*
|
|
1215
|
+
* ApiV1UserApi - axios parameter creator
|
|
666
1216
|
* @export
|
|
667
|
-
* @class ApiV1AuthApi
|
|
668
|
-
* @extends {BaseAPI}
|
|
669
1217
|
*/
|
|
670
|
-
export declare
|
|
1218
|
+
export declare const ApiV1UserApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
671
1219
|
/**
|
|
672
1220
|
*
|
|
1221
|
+
* @summary Get current user
|
|
673
1222
|
* @param {*} [options] Override http request option.
|
|
674
1223
|
* @throws {RequiredError}
|
|
675
|
-
* @memberof ApiV1AuthApi
|
|
676
1224
|
*/
|
|
677
|
-
|
|
1225
|
+
userControllerInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* ApiV1UserApi - functional programming interface
|
|
1229
|
+
* @export
|
|
1230
|
+
*/
|
|
1231
|
+
export declare const ApiV1UserApiFp: (configuration?: Configuration) => {
|
|
678
1232
|
/**
|
|
679
1233
|
*
|
|
1234
|
+
* @summary Get current user
|
|
680
1235
|
* @param {*} [options] Override http request option.
|
|
681
1236
|
* @throws {RequiredError}
|
|
682
|
-
* @memberof ApiV1AuthApi
|
|
683
1237
|
*/
|
|
684
|
-
|
|
1238
|
+
userControllerInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>>;
|
|
1239
|
+
};
|
|
1240
|
+
/**
|
|
1241
|
+
* ApiV1UserApi - factory interface
|
|
1242
|
+
* @export
|
|
1243
|
+
*/
|
|
1244
|
+
export declare const ApiV1UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
685
1245
|
/**
|
|
686
1246
|
*
|
|
1247
|
+
* @summary Get current user
|
|
687
1248
|
* @param {*} [options] Override http request option.
|
|
688
1249
|
* @throws {RequiredError}
|
|
689
|
-
* @memberof ApiV1AuthApi
|
|
690
1250
|
*/
|
|
691
|
-
|
|
1251
|
+
userControllerInfo(options?: RawAxiosRequestConfig): AxiosPromise<UserDto>;
|
|
1252
|
+
};
|
|
1253
|
+
/**
|
|
1254
|
+
* ApiV1UserApi - interface
|
|
1255
|
+
* @export
|
|
1256
|
+
* @interface ApiV1UserApi
|
|
1257
|
+
*/
|
|
1258
|
+
export interface ApiV1UserApiInterface {
|
|
692
1259
|
/**
|
|
693
1260
|
*
|
|
1261
|
+
* @summary Get current user
|
|
694
1262
|
* @param {*} [options] Override http request option.
|
|
695
1263
|
* @throws {RequiredError}
|
|
696
|
-
* @memberof
|
|
1264
|
+
* @memberof ApiV1UserApiInterface
|
|
697
1265
|
*/
|
|
698
|
-
|
|
1266
|
+
userControllerInfo(options?: RawAxiosRequestConfig): AxiosPromise<UserDto>;
|
|
1267
|
+
}
|
|
1268
|
+
/**
|
|
1269
|
+
* ApiV1UserApi - object-oriented interface
|
|
1270
|
+
* @export
|
|
1271
|
+
* @class ApiV1UserApi
|
|
1272
|
+
* @extends {BaseAPI}
|
|
1273
|
+
*/
|
|
1274
|
+
export declare class ApiV1UserApi extends BaseAPI implements ApiV1UserApiInterface {
|
|
699
1275
|
/**
|
|
700
1276
|
*
|
|
1277
|
+
* @summary Get current user
|
|
701
1278
|
* @param {*} [options] Override http request option.
|
|
702
1279
|
* @throws {RequiredError}
|
|
703
|
-
* @memberof
|
|
1280
|
+
* @memberof ApiV1UserApi
|
|
704
1281
|
*/
|
|
705
|
-
|
|
1282
|
+
userControllerInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto, any, {}>>;
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* ApiV1UserSettingsApi - axios parameter creator
|
|
1286
|
+
* @export
|
|
1287
|
+
*/
|
|
1288
|
+
export declare const ApiV1UserSettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
706
1289
|
/**
|
|
707
1290
|
*
|
|
708
|
-
* @param {ApiV1AuthApiAuthControllerLinkProviderRequest} requestParameters Request parameters.
|
|
709
1291
|
* @param {*} [options] Override http request option.
|
|
710
1292
|
* @throws {RequiredError}
|
|
711
|
-
* @memberof ApiV1AuthApi
|
|
712
1293
|
*/
|
|
713
|
-
|
|
1294
|
+
userSettingsControllerGetSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
714
1295
|
/**
|
|
715
1296
|
*
|
|
716
|
-
* @
|
|
1297
|
+
* @summary Update settings for user
|
|
1298
|
+
* @param {UserSettingsUpdateDto} userSettingsUpdateDto
|
|
717
1299
|
* @param {*} [options] Override http request option.
|
|
718
1300
|
* @throws {RequiredError}
|
|
719
|
-
* @memberof ApiV1AuthApi
|
|
720
1301
|
*/
|
|
721
|
-
|
|
1302
|
+
userSettingsControllerUpdateSettings: (userSettingsUpdateDto: UserSettingsUpdateDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1303
|
+
};
|
|
1304
|
+
/**
|
|
1305
|
+
* ApiV1UserSettingsApi - functional programming interface
|
|
1306
|
+
* @export
|
|
1307
|
+
*/
|
|
1308
|
+
export declare const ApiV1UserSettingsApiFp: (configuration?: Configuration) => {
|
|
722
1309
|
/**
|
|
723
1310
|
*
|
|
724
1311
|
* @param {*} [options] Override http request option.
|
|
725
1312
|
* @throws {RequiredError}
|
|
726
|
-
* @memberof ApiV1AuthApi
|
|
727
1313
|
*/
|
|
728
|
-
|
|
1314
|
+
userSettingsControllerGetSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
729
1315
|
/**
|
|
730
1316
|
*
|
|
1317
|
+
* @summary Update settings for user
|
|
1318
|
+
* @param {UserSettingsUpdateDto} userSettingsUpdateDto
|
|
731
1319
|
* @param {*} [options] Override http request option.
|
|
732
1320
|
* @throws {RequiredError}
|
|
733
|
-
* @memberof ApiV1AuthApi
|
|
734
1321
|
*/
|
|
735
|
-
|
|
1322
|
+
userSettingsControllerUpdateSettings(userSettingsUpdateDto: UserSettingsUpdateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserSettingsDto>>;
|
|
1323
|
+
};
|
|
1324
|
+
/**
|
|
1325
|
+
* ApiV1UserSettingsApi - factory interface
|
|
1326
|
+
* @export
|
|
1327
|
+
*/
|
|
1328
|
+
export declare const ApiV1UserSettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
736
1329
|
/**
|
|
737
1330
|
*
|
|
738
1331
|
* @param {*} [options] Override http request option.
|
|
739
1332
|
* @throws {RequiredError}
|
|
740
|
-
* @memberof ApiV1AuthApi
|
|
741
1333
|
*/
|
|
742
|
-
|
|
1334
|
+
userSettingsControllerGetSettings(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
743
1335
|
/**
|
|
744
1336
|
*
|
|
745
|
-
* @
|
|
1337
|
+
* @summary Update settings for user
|
|
1338
|
+
* @param {ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest} requestParameters Request parameters.
|
|
746
1339
|
* @param {*} [options] Override http request option.
|
|
747
1340
|
* @throws {RequiredError}
|
|
748
|
-
* @memberof ApiV1AuthApi
|
|
749
1341
|
*/
|
|
750
|
-
|
|
751
|
-
}
|
|
1342
|
+
userSettingsControllerUpdateSettings(requestParameters: ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserSettingsDto>;
|
|
1343
|
+
};
|
|
752
1344
|
/**
|
|
753
|
-
*
|
|
1345
|
+
* ApiV1UserSettingsApi - interface
|
|
754
1346
|
* @export
|
|
1347
|
+
* @interface ApiV1UserSettingsApi
|
|
755
1348
|
*/
|
|
756
|
-
export
|
|
1349
|
+
export interface ApiV1UserSettingsApiInterface {
|
|
757
1350
|
/**
|
|
758
1351
|
*
|
|
759
1352
|
* @param {*} [options] Override http request option.
|
|
760
1353
|
* @throws {RequiredError}
|
|
1354
|
+
* @memberof ApiV1UserSettingsApiInterface
|
|
761
1355
|
*/
|
|
762
|
-
|
|
763
|
-
};
|
|
764
|
-
/**
|
|
765
|
-
* ApiV1UserApi - functional programming interface
|
|
766
|
-
* @export
|
|
767
|
-
*/
|
|
768
|
-
export declare const ApiV1UserApiFp: (configuration?: Configuration) => {
|
|
1356
|
+
userSettingsControllerGetSettings(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
769
1357
|
/**
|
|
770
1358
|
*
|
|
1359
|
+
* @summary Update settings for user
|
|
1360
|
+
* @param {ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest} requestParameters Request parameters.
|
|
771
1361
|
* @param {*} [options] Override http request option.
|
|
772
1362
|
* @throws {RequiredError}
|
|
1363
|
+
* @memberof ApiV1UserSettingsApiInterface
|
|
773
1364
|
*/
|
|
774
|
-
|
|
775
|
-
}
|
|
1365
|
+
userSettingsControllerUpdateSettings(requestParameters: ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserSettingsDto>;
|
|
1366
|
+
}
|
|
776
1367
|
/**
|
|
777
|
-
*
|
|
1368
|
+
* Request parameters for userSettingsControllerUpdateSettings operation in ApiV1UserSettingsApi.
|
|
778
1369
|
* @export
|
|
1370
|
+
* @interface ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest
|
|
779
1371
|
*/
|
|
780
|
-
export
|
|
1372
|
+
export interface ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest {
|
|
781
1373
|
/**
|
|
782
1374
|
*
|
|
783
|
-
* @
|
|
784
|
-
* @
|
|
1375
|
+
* @type {UserSettingsUpdateDto}
|
|
1376
|
+
* @memberof ApiV1UserSettingsApiUserSettingsControllerUpdateSettings
|
|
785
1377
|
*/
|
|
786
|
-
|
|
787
|
-
}
|
|
1378
|
+
readonly userSettingsUpdateDto: UserSettingsUpdateDto;
|
|
1379
|
+
}
|
|
788
1380
|
/**
|
|
789
|
-
*
|
|
1381
|
+
* ApiV1UserSettingsApi - object-oriented interface
|
|
790
1382
|
* @export
|
|
791
|
-
* @
|
|
1383
|
+
* @class ApiV1UserSettingsApi
|
|
1384
|
+
* @extends {BaseAPI}
|
|
792
1385
|
*/
|
|
793
|
-
export
|
|
1386
|
+
export declare class ApiV1UserSettingsApi extends BaseAPI implements ApiV1UserSettingsApiInterface {
|
|
794
1387
|
/**
|
|
795
1388
|
*
|
|
796
1389
|
* @param {*} [options] Override http request option.
|
|
797
1390
|
* @throws {RequiredError}
|
|
798
|
-
* @memberof
|
|
1391
|
+
* @memberof ApiV1UserSettingsApi
|
|
799
1392
|
*/
|
|
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 {
|
|
1393
|
+
userSettingsControllerGetSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
809
1394
|
/**
|
|
810
1395
|
*
|
|
1396
|
+
* @summary Update settings for user
|
|
1397
|
+
* @param {ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest} requestParameters Request parameters.
|
|
811
1398
|
* @param {*} [options] Override http request option.
|
|
812
1399
|
* @throws {RequiredError}
|
|
813
|
-
* @memberof
|
|
1400
|
+
* @memberof ApiV1UserSettingsApi
|
|
814
1401
|
*/
|
|
815
|
-
|
|
1402
|
+
userSettingsControllerUpdateSettings(requestParameters: ApiV1UserSettingsApiUserSettingsControllerUpdateSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserSettingsDto, any, {}>>;
|
|
816
1403
|
}
|
|
817
1404
|
/**
|
|
818
1405
|
* ApiV1WorkersApi - axios parameter creator
|
|
@@ -843,6 +1430,14 @@ export declare const ApiV1WorkersApiAxiosParamCreator: (configuration?: Configur
|
|
|
843
1430
|
* @throws {RequiredError}
|
|
844
1431
|
*/
|
|
845
1432
|
workerControllerDeleteWorker: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1433
|
+
/**
|
|
1434
|
+
*
|
|
1435
|
+
* @summary Create a worker secret
|
|
1436
|
+
* @param {string} id The ID of the worker
|
|
1437
|
+
* @param {*} [options] Override http request option.
|
|
1438
|
+
* @throws {RequiredError}
|
|
1439
|
+
*/
|
|
1440
|
+
workerControllerGenerateWorkerSecret: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
846
1441
|
/**
|
|
847
1442
|
*
|
|
848
1443
|
* @summary Get a worker by ID
|
|
@@ -903,6 +1498,14 @@ export declare const ApiV1WorkersApiFp: (configuration?: Configuration) => {
|
|
|
903
1498
|
* @throws {RequiredError}
|
|
904
1499
|
*/
|
|
905
1500
|
workerControllerDeleteWorker(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1501
|
+
/**
|
|
1502
|
+
*
|
|
1503
|
+
* @summary Create a worker secret
|
|
1504
|
+
* @param {string} id The ID of the worker
|
|
1505
|
+
* @param {*} [options] Override http request option.
|
|
1506
|
+
* @throws {RequiredError}
|
|
1507
|
+
*/
|
|
1508
|
+
workerControllerGenerateWorkerSecret(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkerClientSecretDto>>;
|
|
906
1509
|
/**
|
|
907
1510
|
*
|
|
908
1511
|
* @summary Get a worker by ID
|
|
@@ -963,6 +1566,14 @@ export declare const ApiV1WorkersApiFactory: (configuration?: Configuration, bas
|
|
|
963
1566
|
* @throws {RequiredError}
|
|
964
1567
|
*/
|
|
965
1568
|
workerControllerDeleteWorker(requestParameters: ApiV1WorkersApiWorkerControllerDeleteWorkerRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* @summary Create a worker secret
|
|
1572
|
+
* @param {ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest} requestParameters Request parameters.
|
|
1573
|
+
* @param {*} [options] Override http request option.
|
|
1574
|
+
* @throws {RequiredError}
|
|
1575
|
+
*/
|
|
1576
|
+
workerControllerGenerateWorkerSecret(requestParameters: ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkerClientSecretDto>;
|
|
966
1577
|
/**
|
|
967
1578
|
*
|
|
968
1579
|
* @summary Get a worker by ID
|
|
@@ -1021,6 +1632,15 @@ export interface ApiV1WorkersApiInterface {
|
|
|
1021
1632
|
* @memberof ApiV1WorkersApiInterface
|
|
1022
1633
|
*/
|
|
1023
1634
|
workerControllerDeleteWorker(requestParameters: ApiV1WorkersApiWorkerControllerDeleteWorkerRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1635
|
+
/**
|
|
1636
|
+
*
|
|
1637
|
+
* @summary Create a worker secret
|
|
1638
|
+
* @param {ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest} requestParameters Request parameters.
|
|
1639
|
+
* @param {*} [options] Override http request option.
|
|
1640
|
+
* @throws {RequiredError}
|
|
1641
|
+
* @memberof ApiV1WorkersApiInterface
|
|
1642
|
+
*/
|
|
1643
|
+
workerControllerGenerateWorkerSecret(requestParameters: ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkerClientSecretDto>;
|
|
1024
1644
|
/**
|
|
1025
1645
|
*
|
|
1026
1646
|
* @summary Get a worker by ID
|
|
@@ -1088,6 +1708,19 @@ export interface ApiV1WorkersApiWorkerControllerDeleteWorkerRequest {
|
|
|
1088
1708
|
*/
|
|
1089
1709
|
readonly id: string;
|
|
1090
1710
|
}
|
|
1711
|
+
/**
|
|
1712
|
+
* Request parameters for workerControllerGenerateWorkerSecret operation in ApiV1WorkersApi.
|
|
1713
|
+
* @export
|
|
1714
|
+
* @interface ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest
|
|
1715
|
+
*/
|
|
1716
|
+
export interface ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest {
|
|
1717
|
+
/**
|
|
1718
|
+
* The ID of the worker
|
|
1719
|
+
* @type {string}
|
|
1720
|
+
* @memberof ApiV1WorkersApiWorkerControllerGenerateWorkerSecret
|
|
1721
|
+
*/
|
|
1722
|
+
readonly id: string;
|
|
1723
|
+
}
|
|
1091
1724
|
/**
|
|
1092
1725
|
* Request parameters for workerControllerGetWorkerById operation in ApiV1WorkersApi.
|
|
1093
1726
|
* @export
|
|
@@ -1178,7 +1811,7 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1178
1811
|
* @throws {RequiredError}
|
|
1179
1812
|
* @memberof ApiV1WorkersApi
|
|
1180
1813
|
*/
|
|
1181
|
-
workerControllerBatchDeleteWorkers(requestParameters: ApiV1WorkersApiWorkerControllerBatchDeleteWorkersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerControllerBatchDeleteWorkers200Response, any>>;
|
|
1814
|
+
workerControllerBatchDeleteWorkers(requestParameters: ApiV1WorkersApiWorkerControllerBatchDeleteWorkersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerControllerBatchDeleteWorkers200Response, any, {}>>;
|
|
1182
1815
|
/**
|
|
1183
1816
|
*
|
|
1184
1817
|
* @summary Create a new worker
|
|
@@ -1187,7 +1820,7 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1187
1820
|
* @throws {RequiredError}
|
|
1188
1821
|
* @memberof ApiV1WorkersApi
|
|
1189
1822
|
*/
|
|
1190
|
-
workerControllerCreateWorker(requestParameters: ApiV1WorkersApiWorkerControllerCreateWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any>>;
|
|
1823
|
+
workerControllerCreateWorker(requestParameters: ApiV1WorkersApiWorkerControllerCreateWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any, {}>>;
|
|
1191
1824
|
/**
|
|
1192
1825
|
*
|
|
1193
1826
|
* @summary Delete a worker by ID
|
|
@@ -1196,7 +1829,16 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1196
1829
|
* @throws {RequiredError}
|
|
1197
1830
|
* @memberof ApiV1WorkersApi
|
|
1198
1831
|
*/
|
|
1199
|
-
workerControllerDeleteWorker(requestParameters: ApiV1WorkersApiWorkerControllerDeleteWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1832
|
+
workerControllerDeleteWorker(requestParameters: ApiV1WorkersApiWorkerControllerDeleteWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1833
|
+
/**
|
|
1834
|
+
*
|
|
1835
|
+
* @summary Create a worker secret
|
|
1836
|
+
* @param {ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest} requestParameters Request parameters.
|
|
1837
|
+
* @param {*} [options] Override http request option.
|
|
1838
|
+
* @throws {RequiredError}
|
|
1839
|
+
* @memberof ApiV1WorkersApi
|
|
1840
|
+
*/
|
|
1841
|
+
workerControllerGenerateWorkerSecret(requestParameters: ApiV1WorkersApiWorkerControllerGenerateWorkerSecretRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerClientSecretDto, any, {}>>;
|
|
1200
1842
|
/**
|
|
1201
1843
|
*
|
|
1202
1844
|
* @summary Get a worker by ID
|
|
@@ -1205,7 +1847,7 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1205
1847
|
* @throws {RequiredError}
|
|
1206
1848
|
* @memberof ApiV1WorkersApi
|
|
1207
1849
|
*/
|
|
1208
|
-
workerControllerGetWorkerById(requestParameters: ApiV1WorkersApiWorkerControllerGetWorkerByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any>>;
|
|
1850
|
+
workerControllerGetWorkerById(requestParameters: ApiV1WorkersApiWorkerControllerGetWorkerByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any, {}>>;
|
|
1209
1851
|
/**
|
|
1210
1852
|
*
|
|
1211
1853
|
* @summary Retrieve workers with filters, sorting, pagination, and search
|
|
@@ -1214,7 +1856,7 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1214
1856
|
* @throws {RequiredError}
|
|
1215
1857
|
* @memberof ApiV1WorkersApi
|
|
1216
1858
|
*/
|
|
1217
|
-
workerControllerGetWorkers(requestParameters?: ApiV1WorkersApiWorkerControllerGetWorkersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerControllerGetWorkers200Response, any>>;
|
|
1859
|
+
workerControllerGetWorkers(requestParameters?: ApiV1WorkersApiWorkerControllerGetWorkersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerControllerGetWorkers200Response, any, {}>>;
|
|
1218
1860
|
/**
|
|
1219
1861
|
*
|
|
1220
1862
|
* @summary Update a worker by ID
|
|
@@ -1223,138 +1865,5 @@ export declare class ApiV1WorkersApi extends BaseAPI implements ApiV1WorkersApiI
|
|
|
1223
1865
|
* @throws {RequiredError}
|
|
1224
1866
|
* @memberof ApiV1WorkersApi
|
|
1225
1867
|
*/
|
|
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>>;
|
|
1868
|
+
workerControllerUpdateWorker(requestParameters: ApiV1WorkersApiWorkerControllerUpdateWorkerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkerDto, any, {}>>;
|
|
1360
1869
|
}
|