@faable/auth-sdk 1.1.2 → 1.2.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/README.md +1 -1
- package/dist/FaableAuthApi.d.ts +34 -14
- package/dist/FaableAuthApi.js +5 -5
- package/dist/types/api.d.ts +1060 -606
- package/package.json +2 -2
package/dist/types/api.d.ts
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
+
"/metrics": {
|
|
7
|
+
get: {
|
|
8
|
+
responses: {
|
|
9
|
+
/** @description Default Response */
|
|
10
|
+
200: {
|
|
11
|
+
content: never;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
6
16
|
"/account/current": {
|
|
7
17
|
/**
|
|
8
18
|
* Get current Account
|
|
@@ -10,7 +20,7 @@ export interface paths {
|
|
|
10
20
|
*/
|
|
11
21
|
get: {
|
|
12
22
|
responses: {
|
|
13
|
-
/** @description
|
|
23
|
+
/** @description AuthAccount */
|
|
14
24
|
200: {
|
|
15
25
|
content: {
|
|
16
26
|
"application/json": components["schemas"]["AuthAccount"];
|
|
@@ -29,15 +39,22 @@ export interface paths {
|
|
|
29
39
|
query?: {
|
|
30
40
|
/** @description Start from this cursor */
|
|
31
41
|
cursor?: string;
|
|
42
|
+
/** @description Start from this cursor */
|
|
43
|
+
next?: string;
|
|
32
44
|
/** @description Size of the results array */
|
|
33
45
|
pageSize?: number;
|
|
34
46
|
};
|
|
35
47
|
};
|
|
36
48
|
responses: {
|
|
37
|
-
/** @description
|
|
49
|
+
/** @description PaginatedResponse */
|
|
38
50
|
200: {
|
|
39
51
|
content: {
|
|
40
|
-
"application/json":
|
|
52
|
+
"application/json": {
|
|
53
|
+
/** @description next cursor */
|
|
54
|
+
next: string | null;
|
|
55
|
+
/** @description List of results */
|
|
56
|
+
results: components["schemas"]["AuthAccount"][];
|
|
57
|
+
};
|
|
41
58
|
};
|
|
42
59
|
};
|
|
43
60
|
};
|
|
@@ -53,7 +70,7 @@ export interface paths {
|
|
|
53
70
|
};
|
|
54
71
|
};
|
|
55
72
|
responses: {
|
|
56
|
-
/** @description
|
|
73
|
+
/** @description AuthAccount */
|
|
57
74
|
201: {
|
|
58
75
|
content: {
|
|
59
76
|
"application/json": components["schemas"]["AuthAccount"];
|
|
@@ -82,6 +99,7 @@ export interface paths {
|
|
|
82
99
|
id: string;
|
|
83
100
|
name: string;
|
|
84
101
|
domain: string;
|
|
102
|
+
slug: string;
|
|
85
103
|
logo_src?: string | null;
|
|
86
104
|
callback_hostnames: string[];
|
|
87
105
|
token_signature: string;
|
|
@@ -118,6 +136,7 @@ export interface paths {
|
|
|
118
136
|
id: string;
|
|
119
137
|
name: string;
|
|
120
138
|
domain: string;
|
|
139
|
+
slug: string;
|
|
121
140
|
logo_src?: string | null;
|
|
122
141
|
callback_hostnames: string[];
|
|
123
142
|
token_signature: string;
|
|
@@ -140,21 +159,11 @@ export interface paths {
|
|
|
140
159
|
* @description List Connections in Account
|
|
141
160
|
*/
|
|
142
161
|
get: operations["connection/list"];
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
};
|
|
149
|
-
responses: {
|
|
150
|
-
/** @description Default Response */
|
|
151
|
-
200: {
|
|
152
|
-
content: {
|
|
153
|
-
"application/json": components["schemas"]["Connection"];
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
};
|
|
162
|
+
/**
|
|
163
|
+
* Create Connection in Account
|
|
164
|
+
* @description Create Connection in Account
|
|
165
|
+
*/
|
|
166
|
+
post: operations["connection/create"];
|
|
158
167
|
};
|
|
159
168
|
"/connection/{connection_id}": {
|
|
160
169
|
/**
|
|
@@ -168,72 +177,6 @@ export interface paths {
|
|
|
168
177
|
*/
|
|
169
178
|
delete: operations["connection/remove"];
|
|
170
179
|
};
|
|
171
|
-
"/keys/rotate": {
|
|
172
|
-
/**
|
|
173
|
-
* Rotate Account Keys
|
|
174
|
-
* @description Rotate Account Keys
|
|
175
|
-
*/
|
|
176
|
-
post: {
|
|
177
|
-
requestBody?: {
|
|
178
|
-
content: {
|
|
179
|
-
"application/json": Record<string, never>;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
responses: {
|
|
183
|
-
/** @description Default Response */
|
|
184
|
-
200: {
|
|
185
|
-
content: never;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
"/passwordless/start": {
|
|
191
|
-
/**
|
|
192
|
-
* Start Passwordless authentication flow
|
|
193
|
-
* @description Start Passwordless authentication flow
|
|
194
|
-
*/
|
|
195
|
-
post: operations["passwordless/start"];
|
|
196
|
-
};
|
|
197
|
-
"/passwordless/magic": {
|
|
198
|
-
/** @description Receive a passwordless token and convert it to a valid session */
|
|
199
|
-
get: operations["passwordless/login"];
|
|
200
|
-
};
|
|
201
|
-
"/me": {
|
|
202
|
-
/**
|
|
203
|
-
* Introspection endpoint for current User in session
|
|
204
|
-
* @description Introspection endpoint for current User in session
|
|
205
|
-
*/
|
|
206
|
-
get: {
|
|
207
|
-
responses: {
|
|
208
|
-
/** @description Default Response */
|
|
209
|
-
200: {
|
|
210
|
-
content: {
|
|
211
|
-
"application/json": components["schemas"]["User"];
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
"/logout": {
|
|
218
|
-
/**
|
|
219
|
-
* Logout current user
|
|
220
|
-
* @description Logout current user
|
|
221
|
-
*/
|
|
222
|
-
get: {
|
|
223
|
-
parameters: {
|
|
224
|
-
query?: {
|
|
225
|
-
client_id?: string;
|
|
226
|
-
returnTo?: string;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
responses: {
|
|
230
|
-
/** @description Default Response */
|
|
231
|
-
200: {
|
|
232
|
-
content: never;
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
180
|
"/client": {
|
|
238
181
|
/**
|
|
239
182
|
* List Clients in Account
|
|
@@ -241,24 +184,10 @@ export interface paths {
|
|
|
241
184
|
*/
|
|
242
185
|
get: operations["client/list"];
|
|
243
186
|
/**
|
|
244
|
-
* Create
|
|
245
|
-
* @description Create
|
|
187
|
+
* Create Client in Account
|
|
188
|
+
* @description Create Client in Account
|
|
246
189
|
*/
|
|
247
|
-
post:
|
|
248
|
-
requestBody?: {
|
|
249
|
-
content: {
|
|
250
|
-
"application/json": components["schemas"]["ClientCreate"];
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
responses: {
|
|
254
|
-
/** @description Default Response */
|
|
255
|
-
201: {
|
|
256
|
-
content: {
|
|
257
|
-
"application/json": components["schemas"]["Client"];
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
};
|
|
190
|
+
post: operations["client/create"];
|
|
262
191
|
};
|
|
263
192
|
"/client/{client_id}": {
|
|
264
193
|
/**
|
|
@@ -272,97 +201,6 @@ export interface paths {
|
|
|
272
201
|
*/
|
|
273
202
|
delete: operations["client/remove"];
|
|
274
203
|
};
|
|
275
|
-
"/authorize": {
|
|
276
|
-
/**
|
|
277
|
-
* Authorization request
|
|
278
|
-
* @description Authorization request
|
|
279
|
-
*/
|
|
280
|
-
get: operations["authorize"];
|
|
281
|
-
};
|
|
282
|
-
"/oauth/token": {
|
|
283
|
-
/**
|
|
284
|
-
* Token exchange
|
|
285
|
-
* @description Token exchange
|
|
286
|
-
*/
|
|
287
|
-
post: {
|
|
288
|
-
requestBody?: {
|
|
289
|
-
content: {
|
|
290
|
-
"application/json": components["schemas"]["OAuthToken Body"];
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
responses: {
|
|
294
|
-
/** @description Default Response */
|
|
295
|
-
200: {
|
|
296
|
-
content: never;
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
"/callback": {
|
|
302
|
-
/**
|
|
303
|
-
* OAuth2 Callback URL
|
|
304
|
-
* @description OAuth2 Callback URL
|
|
305
|
-
*/
|
|
306
|
-
get: operations["callback"];
|
|
307
|
-
};
|
|
308
|
-
"/.well-known/openid-configuration": {
|
|
309
|
-
/**
|
|
310
|
-
* OpenID Discovery
|
|
311
|
-
* @description OpenID Discovery
|
|
312
|
-
*/
|
|
313
|
-
get: {
|
|
314
|
-
responses: {
|
|
315
|
-
/** @description Default Response */
|
|
316
|
-
200: {
|
|
317
|
-
content: never;
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
|
-
"/.well-known/jwks.json": {
|
|
323
|
-
/**
|
|
324
|
-
* JWKS endpoint
|
|
325
|
-
* @description JWKS endpoint
|
|
326
|
-
*/
|
|
327
|
-
get: {
|
|
328
|
-
responses: {
|
|
329
|
-
/** @description Default Response */
|
|
330
|
-
200: {
|
|
331
|
-
content: never;
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
"/usernamepassword/login": {
|
|
337
|
-
post: {
|
|
338
|
-
requestBody?: {
|
|
339
|
-
content: {
|
|
340
|
-
"application/json": components["schemas"]["UsernamepasswordLoginBody"];
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
responses: {
|
|
344
|
-
/** @description Default Response */
|
|
345
|
-
200: {
|
|
346
|
-
content: never;
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
"/login/callback": {
|
|
352
|
-
post: {
|
|
353
|
-
requestBody?: {
|
|
354
|
-
content: {
|
|
355
|
-
"application/json": components["schemas"]["LoginCallbackBody"];
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
responses: {
|
|
359
|
-
/** @description Default Response */
|
|
360
|
-
200: {
|
|
361
|
-
content: never;
|
|
362
|
-
};
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
};
|
|
366
204
|
"/user": {
|
|
367
205
|
/**
|
|
368
206
|
* List Users in Account
|
|
@@ -370,8 +208,8 @@ export interface paths {
|
|
|
370
208
|
*/
|
|
371
209
|
get: operations["user/list"];
|
|
372
210
|
/**
|
|
373
|
-
* Create
|
|
374
|
-
* @description Create
|
|
211
|
+
* Create User in Account
|
|
212
|
+
* @description Create User in Account
|
|
375
213
|
*/
|
|
376
214
|
post: operations["user/create"];
|
|
377
215
|
};
|
|
@@ -382,8 +220,8 @@ export interface paths {
|
|
|
382
220
|
*/
|
|
383
221
|
get: operations["user/get"];
|
|
384
222
|
/**
|
|
385
|
-
* Update
|
|
386
|
-
* @description Update
|
|
223
|
+
* Update Users in Account
|
|
224
|
+
* @description Update Users in Account
|
|
387
225
|
*/
|
|
388
226
|
post: operations["user/update"];
|
|
389
227
|
/**
|
|
@@ -398,6 +236,11 @@ export interface paths {
|
|
|
398
236
|
* @description List Identitys in Account
|
|
399
237
|
*/
|
|
400
238
|
get: operations["identity/list"];
|
|
239
|
+
/**
|
|
240
|
+
* Create Identity in Account
|
|
241
|
+
* @description Create Identity in Account
|
|
242
|
+
*/
|
|
243
|
+
post: operations["identity/create"];
|
|
401
244
|
};
|
|
402
245
|
"/identity/{identity_id}": {
|
|
403
246
|
/**
|
|
@@ -418,11 +261,23 @@ export interface paths {
|
|
|
418
261
|
*/
|
|
419
262
|
get: operations["role/list"];
|
|
420
263
|
/**
|
|
421
|
-
* Create
|
|
422
|
-
* @description Create
|
|
264
|
+
* Create Role in Account
|
|
265
|
+
* @description Create Role in Account
|
|
423
266
|
*/
|
|
424
267
|
post: operations["role/create"];
|
|
425
268
|
};
|
|
269
|
+
"/role/{role_id}": {
|
|
270
|
+
/**
|
|
271
|
+
* Get Role in Account
|
|
272
|
+
* @description Get Role in Account
|
|
273
|
+
*/
|
|
274
|
+
get: operations["role/get"];
|
|
275
|
+
/**
|
|
276
|
+
* Delete Role in Account
|
|
277
|
+
* @description Delete Role in Account
|
|
278
|
+
*/
|
|
279
|
+
delete: operations["role/remove"];
|
|
280
|
+
};
|
|
426
281
|
"/role/{role_id}/users": {
|
|
427
282
|
/**
|
|
428
283
|
* List Users with Role
|
|
@@ -435,17 +290,29 @@ export interface paths {
|
|
|
435
290
|
*/
|
|
436
291
|
post: operations["role/assign_users"];
|
|
437
292
|
};
|
|
438
|
-
"/
|
|
293
|
+
"/rolemember": {
|
|
439
294
|
/**
|
|
440
|
-
*
|
|
441
|
-
* @description
|
|
295
|
+
* List Rolemembers in Account
|
|
296
|
+
* @description List Rolemembers in Account
|
|
442
297
|
*/
|
|
443
|
-
get: operations["
|
|
298
|
+
get: operations["rolemember/list"];
|
|
444
299
|
/**
|
|
445
|
-
*
|
|
446
|
-
* @description
|
|
300
|
+
* Create Rolemember in Account
|
|
301
|
+
* @description Create Rolemember in Account
|
|
447
302
|
*/
|
|
448
|
-
|
|
303
|
+
post: operations["rolemember/create"];
|
|
304
|
+
};
|
|
305
|
+
"/rolemember/{rolemember_id}": {
|
|
306
|
+
/**
|
|
307
|
+
* Get Rolemember in Account
|
|
308
|
+
* @description Get Rolemember in Account
|
|
309
|
+
*/
|
|
310
|
+
get: operations["rolemember/get"];
|
|
311
|
+
/**
|
|
312
|
+
* Delete Rolemember in Account
|
|
313
|
+
* @description Delete Rolemember in Account
|
|
314
|
+
*/
|
|
315
|
+
delete: operations["rolemember/remove"];
|
|
449
316
|
};
|
|
450
317
|
"/team": {
|
|
451
318
|
/**
|
|
@@ -454,24 +321,10 @@ export interface paths {
|
|
|
454
321
|
*/
|
|
455
322
|
get: operations["team/list"];
|
|
456
323
|
/**
|
|
457
|
-
* Create
|
|
458
|
-
* @description Create
|
|
324
|
+
* Create Team in Account
|
|
325
|
+
* @description Create Team in Account
|
|
459
326
|
*/
|
|
460
|
-
post:
|
|
461
|
-
requestBody?: {
|
|
462
|
-
content: {
|
|
463
|
-
"application/json": components["schemas"]["TeamCreate"];
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
responses: {
|
|
467
|
-
/** @description Default Response */
|
|
468
|
-
201: {
|
|
469
|
-
content: {
|
|
470
|
-
"application/json": components["schemas"]["Team"];
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
};
|
|
327
|
+
post: operations["team/create"];
|
|
475
328
|
};
|
|
476
329
|
"/team/{team_id}": {
|
|
477
330
|
/**
|
|
@@ -479,35 +332,35 @@ export interface paths {
|
|
|
479
332
|
* @description Get Team in Account
|
|
480
333
|
*/
|
|
481
334
|
get: operations["team/get"];
|
|
482
|
-
/**
|
|
483
|
-
* Update a team
|
|
484
|
-
* @description Update a team
|
|
485
|
-
*/
|
|
486
|
-
post: operations["team/update"];
|
|
487
335
|
/**
|
|
488
336
|
* Delete Team in Account
|
|
489
337
|
* @description Delete Team in Account
|
|
490
338
|
*/
|
|
491
339
|
delete: operations["team/remove"];
|
|
492
340
|
};
|
|
493
|
-
"/
|
|
341
|
+
"/teammember": {
|
|
342
|
+
/**
|
|
343
|
+
* List Teammembers in Account
|
|
344
|
+
* @description List Teammembers in Account
|
|
345
|
+
*/
|
|
346
|
+
get: operations["teammember/list"];
|
|
494
347
|
/**
|
|
495
|
-
*
|
|
496
|
-
* @description
|
|
348
|
+
* Create Teammember in Account
|
|
349
|
+
* @description Create Teammember in Account
|
|
497
350
|
*/
|
|
498
|
-
|
|
351
|
+
post: operations["teammember/create"];
|
|
499
352
|
};
|
|
500
|
-
"/
|
|
353
|
+
"/teammember/{teammember_id}": {
|
|
501
354
|
/**
|
|
502
|
-
* Get
|
|
503
|
-
* @description Get
|
|
355
|
+
* Get Teammember in Account
|
|
356
|
+
* @description Get Teammember in Account
|
|
504
357
|
*/
|
|
505
|
-
get: operations["
|
|
358
|
+
get: operations["teammember/get"];
|
|
506
359
|
/**
|
|
507
|
-
* Delete
|
|
508
|
-
* @description Delete
|
|
360
|
+
* Delete Teammember in Account
|
|
361
|
+
* @description Delete Teammember in Account
|
|
509
362
|
*/
|
|
510
|
-
delete: operations["
|
|
363
|
+
delete: operations["teammember/remove"];
|
|
511
364
|
};
|
|
512
365
|
"/team/{team_id}/member": {
|
|
513
366
|
/**
|
|
@@ -519,6 +372,8 @@ export interface paths {
|
|
|
519
372
|
query?: {
|
|
520
373
|
/** @description Start from this cursor */
|
|
521
374
|
cursor?: string;
|
|
375
|
+
/** @description Start from this cursor */
|
|
376
|
+
next?: string;
|
|
522
377
|
/** @description Size of the results array */
|
|
523
378
|
pageSize?: number;
|
|
524
379
|
};
|
|
@@ -527,10 +382,15 @@ export interface paths {
|
|
|
527
382
|
};
|
|
528
383
|
};
|
|
529
384
|
responses: {
|
|
530
|
-
/** @description
|
|
385
|
+
/** @description PaginatedResponse */
|
|
531
386
|
200: {
|
|
532
387
|
content: {
|
|
533
|
-
"application/json":
|
|
388
|
+
"application/json": {
|
|
389
|
+
/** @description next cursor */
|
|
390
|
+
next: string | null;
|
|
391
|
+
/** @description List of results */
|
|
392
|
+
results: components["schemas"]["TeamMember"][];
|
|
393
|
+
};
|
|
534
394
|
};
|
|
535
395
|
};
|
|
536
396
|
};
|
|
@@ -551,7 +411,7 @@ export interface paths {
|
|
|
551
411
|
};
|
|
552
412
|
};
|
|
553
413
|
responses: {
|
|
554
|
-
/** @description
|
|
414
|
+
/** @description TeamMember */
|
|
555
415
|
201: {
|
|
556
416
|
content: {
|
|
557
417
|
"application/json": components["schemas"]["TeamMember"];
|
|
@@ -570,6 +430,8 @@ export interface paths {
|
|
|
570
430
|
query?: {
|
|
571
431
|
/** @description Start from this cursor */
|
|
572
432
|
cursor?: string;
|
|
433
|
+
/** @description Start from this cursor */
|
|
434
|
+
next?: string;
|
|
573
435
|
/** @description Size of the results array */
|
|
574
436
|
pageSize?: number;
|
|
575
437
|
};
|
|
@@ -579,7 +441,7 @@ export interface paths {
|
|
|
579
441
|
};
|
|
580
442
|
};
|
|
581
443
|
responses: {
|
|
582
|
-
/** @description
|
|
444
|
+
/** @description TeamMember */
|
|
583
445
|
200: {
|
|
584
446
|
content: {
|
|
585
447
|
"application/json": components["schemas"]["TeamMember"];
|
|
@@ -595,24 +457,10 @@ export interface paths {
|
|
|
595
457
|
*/
|
|
596
458
|
get: operations["webhook/list"];
|
|
597
459
|
/**
|
|
598
|
-
* Create
|
|
599
|
-
* @description Create
|
|
460
|
+
* Create Webhook in Account
|
|
461
|
+
* @description Create Webhook in Account
|
|
600
462
|
*/
|
|
601
|
-
post:
|
|
602
|
-
requestBody?: {
|
|
603
|
-
content: {
|
|
604
|
-
"application/json": components["schemas"]["WebhookCreate"];
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
responses: {
|
|
608
|
-
/** @description Default Response */
|
|
609
|
-
201: {
|
|
610
|
-
content: {
|
|
611
|
-
"application/json": components["schemas"]["Webhook"];
|
|
612
|
-
};
|
|
613
|
-
};
|
|
614
|
-
};
|
|
615
|
-
};
|
|
463
|
+
post: operations["webhook/create"];
|
|
616
464
|
};
|
|
617
465
|
"/webhook/{webhook_id}": {
|
|
618
466
|
/**
|
|
@@ -633,36 +481,233 @@ export interface paths {
|
|
|
633
481
|
*/
|
|
634
482
|
get: operations["api/list"];
|
|
635
483
|
/**
|
|
636
|
-
* Create
|
|
637
|
-
* @description Create
|
|
484
|
+
* Create Api in Account
|
|
485
|
+
* @description Create Api in Account
|
|
486
|
+
*/
|
|
487
|
+
post: operations["api/create"];
|
|
488
|
+
};
|
|
489
|
+
"/api/{api_id}": {
|
|
490
|
+
/**
|
|
491
|
+
* Get Api in Account
|
|
492
|
+
* @description Get Api in Account
|
|
493
|
+
*/
|
|
494
|
+
get: operations["api/get"];
|
|
495
|
+
/**
|
|
496
|
+
* Delete Api in Account
|
|
497
|
+
* @description Delete Api in Account
|
|
498
|
+
*/
|
|
499
|
+
delete: operations["api/remove"];
|
|
500
|
+
};
|
|
501
|
+
"/account/keys/rotate": {
|
|
502
|
+
/**
|
|
503
|
+
* Rotate Account Keys
|
|
504
|
+
* @description Rotate Account Keys
|
|
638
505
|
*/
|
|
639
506
|
post: {
|
|
640
507
|
requestBody?: {
|
|
641
508
|
content: {
|
|
642
|
-
"application/json":
|
|
509
|
+
"application/json": Record<string, never>;
|
|
643
510
|
};
|
|
644
511
|
};
|
|
645
512
|
responses: {
|
|
646
513
|
/** @description Default Response */
|
|
647
|
-
|
|
514
|
+
200: {
|
|
515
|
+
content: never;
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
"/passwordless/magic": {
|
|
521
|
+
/** @description Receive a passwordless token and convert it to a valid session */
|
|
522
|
+
get: operations["passwordless/login"];
|
|
523
|
+
};
|
|
524
|
+
"/passwordless/start": {
|
|
525
|
+
/**
|
|
526
|
+
* Start Passwordless authentication flow
|
|
527
|
+
* @description Start Passwordless authentication flow
|
|
528
|
+
*/
|
|
529
|
+
post: operations["passwordless/start"];
|
|
530
|
+
};
|
|
531
|
+
"/me": {
|
|
532
|
+
/**
|
|
533
|
+
* Introspection endpoint for current User in session
|
|
534
|
+
* @description Introspection endpoint for current User in session
|
|
535
|
+
*/
|
|
536
|
+
get: {
|
|
537
|
+
responses: {
|
|
538
|
+
/** @description User */
|
|
539
|
+
200: {
|
|
648
540
|
content: {
|
|
649
|
-
"application/json": components["schemas"]["
|
|
541
|
+
"application/json": components["schemas"]["User"];
|
|
650
542
|
};
|
|
651
543
|
};
|
|
652
544
|
};
|
|
653
545
|
};
|
|
654
546
|
};
|
|
655
|
-
"/
|
|
547
|
+
"/logout": {
|
|
656
548
|
/**
|
|
657
|
-
*
|
|
658
|
-
* @description
|
|
549
|
+
* Logout current user
|
|
550
|
+
* @description Logout current user
|
|
659
551
|
*/
|
|
660
|
-
get:
|
|
552
|
+
get: {
|
|
553
|
+
parameters: {
|
|
554
|
+
query?: {
|
|
555
|
+
client_id?: string;
|
|
556
|
+
returnTo?: string;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
responses: {
|
|
560
|
+
/** @description Default Response */
|
|
561
|
+
200: {
|
|
562
|
+
content: never;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
"/authorize": {
|
|
661
568
|
/**
|
|
662
|
-
*
|
|
663
|
-
* @description
|
|
569
|
+
* Authorization request
|
|
570
|
+
* @description Authorization request
|
|
664
571
|
*/
|
|
665
|
-
|
|
572
|
+
get: operations["authorize"];
|
|
573
|
+
};
|
|
574
|
+
"/oauth/token": {
|
|
575
|
+
/**
|
|
576
|
+
* Token exchange
|
|
577
|
+
* @description Token exchange
|
|
578
|
+
*/
|
|
579
|
+
get: {
|
|
580
|
+
parameters: {
|
|
581
|
+
query?: {
|
|
582
|
+
/** @description Grant Type. https://oauth.net/2/grant-types/ */
|
|
583
|
+
grant_type?: "authorization_code" | "client_credentials" | "refresh_token" | "password";
|
|
584
|
+
client_id?: string;
|
|
585
|
+
client_secret?: string;
|
|
586
|
+
scope?: string;
|
|
587
|
+
code?: string;
|
|
588
|
+
code_verifier?: string;
|
|
589
|
+
refresh_token?: string;
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
responses: {
|
|
593
|
+
/** @description Default Response */
|
|
594
|
+
200: {
|
|
595
|
+
content: {
|
|
596
|
+
"application/json": {
|
|
597
|
+
token_type: string;
|
|
598
|
+
expires_in: number;
|
|
599
|
+
access_token: string;
|
|
600
|
+
refresh_token?: string;
|
|
601
|
+
id_token?: string;
|
|
602
|
+
scope?: string;
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
/**
|
|
609
|
+
* Token exchange
|
|
610
|
+
* @description Token exchange
|
|
611
|
+
*/
|
|
612
|
+
post: {
|
|
613
|
+
parameters: {
|
|
614
|
+
query?: {
|
|
615
|
+
/** @description Grant Type. https://oauth.net/2/grant-types/ */
|
|
616
|
+
grant_type?: "authorization_code" | "client_credentials" | "refresh_token" | "password";
|
|
617
|
+
client_id?: string;
|
|
618
|
+
client_secret?: string;
|
|
619
|
+
scope?: string;
|
|
620
|
+
code?: string;
|
|
621
|
+
code_verifier?: string;
|
|
622
|
+
refresh_token?: string;
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
requestBody?: {
|
|
626
|
+
content: {
|
|
627
|
+
"application/json": components["schemas"]["OAuthTokenParams"];
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
responses: {
|
|
631
|
+
/** @description Default Response */
|
|
632
|
+
200: {
|
|
633
|
+
content: {
|
|
634
|
+
"application/json": {
|
|
635
|
+
token_type: string;
|
|
636
|
+
expires_in: number;
|
|
637
|
+
access_token: string;
|
|
638
|
+
refresh_token?: string;
|
|
639
|
+
id_token?: string;
|
|
640
|
+
scope?: string;
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
"/callback": {
|
|
648
|
+
/**
|
|
649
|
+
* OAuth2 Callback URL
|
|
650
|
+
* @description OAuth2 Callback URL
|
|
651
|
+
*/
|
|
652
|
+
get: operations["callback"];
|
|
653
|
+
};
|
|
654
|
+
"/.well-known/openid-configuration": {
|
|
655
|
+
/**
|
|
656
|
+
* OpenID Discovery
|
|
657
|
+
* @description OpenID Discovery
|
|
658
|
+
*/
|
|
659
|
+
get: {
|
|
660
|
+
responses: {
|
|
661
|
+
/** @description Default Response */
|
|
662
|
+
200: {
|
|
663
|
+
content: never;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
"/.well-known/jwks.json": {
|
|
669
|
+
/**
|
|
670
|
+
* JWKS endpoint
|
|
671
|
+
* @description JWKS endpoint
|
|
672
|
+
*/
|
|
673
|
+
get: {
|
|
674
|
+
responses: {
|
|
675
|
+
/** @description Default Response */
|
|
676
|
+
200: {
|
|
677
|
+
content: never;
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
"/usernamepassword/login": {
|
|
683
|
+
post: {
|
|
684
|
+
requestBody?: {
|
|
685
|
+
content: {
|
|
686
|
+
"application/json": components["schemas"]["UsernamepasswordLoginBody"];
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
responses: {
|
|
690
|
+
/** @description Default Response */
|
|
691
|
+
200: {
|
|
692
|
+
content: never;
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
"/login/callback": {
|
|
698
|
+
post: {
|
|
699
|
+
requestBody?: {
|
|
700
|
+
content: {
|
|
701
|
+
"application/json": components["schemas"]["LoginCallbackBody"];
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
responses: {
|
|
705
|
+
/** @description Default Response */
|
|
706
|
+
200: {
|
|
707
|
+
content: never;
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
};
|
|
666
711
|
};
|
|
667
712
|
}
|
|
668
713
|
export type webhooks = Record<string, never>;
|
|
@@ -674,6 +719,7 @@ export interface components {
|
|
|
674
719
|
id: string;
|
|
675
720
|
name: string;
|
|
676
721
|
domain: string;
|
|
722
|
+
slug: string;
|
|
677
723
|
logo_src?: string | null;
|
|
678
724
|
callback_hostnames: string[];
|
|
679
725
|
token_signature: string;
|
|
@@ -685,24 +731,6 @@ export interface components {
|
|
|
685
731
|
/** @description AuthAccount updated date */
|
|
686
732
|
updatedAt?: string;
|
|
687
733
|
};
|
|
688
|
-
/** @description AuthAccount paginated response */
|
|
689
|
-
AuthAccountPage: {
|
|
690
|
-
/** @description next cursor */
|
|
691
|
-
next: string | null;
|
|
692
|
-
/** @description list of results */
|
|
693
|
-
results: components["schemas"]["AuthAccount"][];
|
|
694
|
-
};
|
|
695
|
-
/** @description AuthAccountCreate */
|
|
696
|
-
AuthAccountCreate: {
|
|
697
|
-
name: string;
|
|
698
|
-
email: string;
|
|
699
|
-
logo_src?: string;
|
|
700
|
-
callback_hostnames: string[];
|
|
701
|
-
default_connection?: string;
|
|
702
|
-
metadata?: {
|
|
703
|
-
[key: string]: unknown;
|
|
704
|
-
};
|
|
705
|
-
};
|
|
706
734
|
/** @description Connection */
|
|
707
735
|
Connection: {
|
|
708
736
|
/** @description Connection ID */
|
|
@@ -713,39 +741,57 @@ export interface components {
|
|
|
713
741
|
client_id: string;
|
|
714
742
|
client_secret: string;
|
|
715
743
|
scope: string[];
|
|
716
|
-
/**
|
|
744
|
+
/**
|
|
745
|
+
* @description Authorize params
|
|
746
|
+
* @default {}
|
|
747
|
+
*/
|
|
717
748
|
authorize_params: {
|
|
718
749
|
[key: string]: string;
|
|
719
750
|
};
|
|
720
|
-
/** @description
|
|
751
|
+
/** @description Object is related with this account */
|
|
721
752
|
account: string;
|
|
753
|
+
/**
|
|
754
|
+
* @description ConnectionMetadata
|
|
755
|
+
* @default {}
|
|
756
|
+
*/
|
|
757
|
+
metadata: {
|
|
758
|
+
[key: string]: unknown;
|
|
759
|
+
};
|
|
722
760
|
/** @description Connection creation date */
|
|
723
761
|
createdAt: string;
|
|
724
762
|
/** @description Connection updated date */
|
|
725
763
|
updatedAt?: string;
|
|
726
764
|
};
|
|
765
|
+
/**
|
|
766
|
+
* @description ConnectionMetadata
|
|
767
|
+
* @default {}
|
|
768
|
+
*/
|
|
769
|
+
ConnectionMetadata: {
|
|
770
|
+
[key: string]: unknown;
|
|
771
|
+
};
|
|
727
772
|
/** @description ConnectionCreate */
|
|
728
773
|
ConnectionCreate: {
|
|
729
774
|
connection_name: string;
|
|
730
|
-
connection_type: "
|
|
775
|
+
connection_type: "database" | "custom" | "github" | "figma" | "google_oauth2";
|
|
731
776
|
authorize_url?: string;
|
|
732
777
|
client_id?: string;
|
|
733
778
|
client_secret?: string;
|
|
734
779
|
scope?: string[];
|
|
735
|
-
/**
|
|
780
|
+
/**
|
|
781
|
+
* @description Authorize params
|
|
782
|
+
* @default {}
|
|
783
|
+
*/
|
|
736
784
|
authorize_params?: {
|
|
737
785
|
[key: string]: string;
|
|
738
786
|
};
|
|
787
|
+
/** @description Add Metadata */
|
|
739
788
|
metadata?: {
|
|
740
789
|
[key: string]: unknown;
|
|
741
790
|
};
|
|
742
791
|
};
|
|
743
|
-
/** @description
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
next: string | null;
|
|
747
|
-
/** @description list of results */
|
|
748
|
-
results: components["schemas"]["Connection"][];
|
|
792
|
+
/** @description Add Metadata */
|
|
793
|
+
ConnectionMetadataCreate: {
|
|
794
|
+
[key: string]: unknown;
|
|
749
795
|
};
|
|
750
796
|
/** @description Client */
|
|
751
797
|
Client: {
|
|
@@ -762,29 +808,41 @@ export interface components {
|
|
|
762
808
|
infinite_token_lifetime: boolean;
|
|
763
809
|
token_lifetime: number;
|
|
764
810
|
};
|
|
765
|
-
/** @description
|
|
811
|
+
/** @description Object is related with this account */
|
|
766
812
|
account: string;
|
|
813
|
+
/**
|
|
814
|
+
* @description ClientMetadata
|
|
815
|
+
* @default {}
|
|
816
|
+
*/
|
|
817
|
+
metadata: {
|
|
818
|
+
[key: string]: unknown;
|
|
819
|
+
};
|
|
767
820
|
/** @description Client creation date */
|
|
768
821
|
createdAt: string;
|
|
769
822
|
/** @description Client updated date */
|
|
770
823
|
updatedAt?: string;
|
|
771
824
|
};
|
|
825
|
+
/**
|
|
826
|
+
* @description ClientMetadata
|
|
827
|
+
* @default {}
|
|
828
|
+
*/
|
|
829
|
+
ClientMetadata: {
|
|
830
|
+
[key: string]: unknown;
|
|
831
|
+
};
|
|
772
832
|
/** @description ClientCreate */
|
|
773
833
|
ClientCreate: {
|
|
774
834
|
name: string;
|
|
775
835
|
description?: string;
|
|
776
836
|
callbacks?: string[];
|
|
777
837
|
logout_urls?: string[];
|
|
838
|
+
/** @description Add Metadata */
|
|
778
839
|
metadata?: {
|
|
779
840
|
[key: string]: unknown;
|
|
780
841
|
};
|
|
781
842
|
};
|
|
782
|
-
/** @description
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
next: string | null;
|
|
786
|
-
/** @description list of results */
|
|
787
|
-
results: components["schemas"]["Client"][];
|
|
843
|
+
/** @description Add Metadata */
|
|
844
|
+
ClientMetadataCreate: {
|
|
845
|
+
[key: string]: unknown;
|
|
788
846
|
};
|
|
789
847
|
/** @description User */
|
|
790
848
|
User: {
|
|
@@ -800,7 +858,10 @@ export interface components {
|
|
|
800
858
|
family_name?: string | null;
|
|
801
859
|
/** @description User email */
|
|
802
860
|
email?: string | null;
|
|
803
|
-
/**
|
|
861
|
+
/**
|
|
862
|
+
* @description true if email is verified
|
|
863
|
+
* @default false
|
|
864
|
+
*/
|
|
804
865
|
email_verified: boolean;
|
|
805
866
|
/** @description contact phone number */
|
|
806
867
|
phone?: string | null;
|
|
@@ -811,7 +872,7 @@ export interface components {
|
|
|
811
872
|
/** @description user birth_date */
|
|
812
873
|
birth_date?: string | null;
|
|
813
874
|
/** @description user main language */
|
|
814
|
-
locale
|
|
875
|
+
locale?: string;
|
|
815
876
|
/** @description customer region */
|
|
816
877
|
region?: string | null;
|
|
817
878
|
/** @description User picture url */
|
|
@@ -822,19 +883,55 @@ export interface components {
|
|
|
822
883
|
last_ip?: string | null;
|
|
823
884
|
/** @description Last date and time this user logged in (ISO_8601 format) */
|
|
824
885
|
last_login?: string | null;
|
|
886
|
+
/**
|
|
887
|
+
* @description User Metadata
|
|
888
|
+
* @default {}
|
|
889
|
+
*/
|
|
825
890
|
user_metadata: {
|
|
826
891
|
[key: string]: unknown;
|
|
827
892
|
};
|
|
893
|
+
/**
|
|
894
|
+
* @description App Metadata
|
|
895
|
+
* @default {}
|
|
896
|
+
*/
|
|
828
897
|
app_metadata: {
|
|
829
898
|
[key: string]: unknown;
|
|
830
899
|
};
|
|
831
|
-
/** @description
|
|
900
|
+
/** @description Object is related with this account */
|
|
832
901
|
account: string;
|
|
902
|
+
/**
|
|
903
|
+
* @description UserMetadata
|
|
904
|
+
* @default {}
|
|
905
|
+
*/
|
|
906
|
+
metadata: {
|
|
907
|
+
[key: string]: unknown;
|
|
908
|
+
};
|
|
833
909
|
/** @description User creation date */
|
|
834
910
|
createdAt: string;
|
|
835
911
|
/** @description User updated date */
|
|
836
912
|
updatedAt?: string;
|
|
837
913
|
};
|
|
914
|
+
/**
|
|
915
|
+
* @description User Metadata
|
|
916
|
+
* @default {}
|
|
917
|
+
*/
|
|
918
|
+
UserUserMetadata: {
|
|
919
|
+
[key: string]: unknown;
|
|
920
|
+
};
|
|
921
|
+
/**
|
|
922
|
+
* @description App Metadata
|
|
923
|
+
* @default {}
|
|
924
|
+
*/
|
|
925
|
+
UserAppMetadata: {
|
|
926
|
+
[key: string]: unknown;
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* @description UserMetadata
|
|
930
|
+
* @default {}
|
|
931
|
+
*/
|
|
932
|
+
UserMetadata: {
|
|
933
|
+
[key: string]: unknown;
|
|
934
|
+
};
|
|
838
935
|
/** @description UserCreate */
|
|
839
936
|
UserCreate: {
|
|
840
937
|
/** @description The user's full name. */
|
|
@@ -855,13 +952,23 @@ export interface components {
|
|
|
855
952
|
picture?: string;
|
|
856
953
|
/** @description Initial password for this user (mandatory only for auth0 connection strategy) */
|
|
857
954
|
password?: string;
|
|
955
|
+
/** @description User Metadata */
|
|
858
956
|
user_metadata?: {
|
|
859
957
|
[key: string]: unknown;
|
|
860
958
|
};
|
|
959
|
+
/** @description App Metadata */
|
|
861
960
|
app_metadata?: {
|
|
862
961
|
[key: string]: unknown;
|
|
863
962
|
};
|
|
864
963
|
};
|
|
964
|
+
/** @description User Metadata */
|
|
965
|
+
UserUserCreate: {
|
|
966
|
+
[key: string]: unknown;
|
|
967
|
+
};
|
|
968
|
+
/** @description App Metadata */
|
|
969
|
+
UserAppCreate: {
|
|
970
|
+
[key: string]: unknown;
|
|
971
|
+
};
|
|
865
972
|
/** @description UserUpdate */
|
|
866
973
|
UserUpdate: {
|
|
867
974
|
/** @description name */
|
|
@@ -870,6 +977,8 @@ export interface components {
|
|
|
870
977
|
given_name?: string;
|
|
871
978
|
/** @description family name */
|
|
872
979
|
family_name?: string;
|
|
980
|
+
/** @description contact email */
|
|
981
|
+
email?: string;
|
|
873
982
|
/** @description New password for this user */
|
|
874
983
|
password?: string;
|
|
875
984
|
/** @description contact phone number */
|
|
@@ -882,19 +991,22 @@ export interface components {
|
|
|
882
991
|
locale?: string;
|
|
883
992
|
/** @description User picture url */
|
|
884
993
|
picture?: string;
|
|
994
|
+
/** @description User defined metadata */
|
|
885
995
|
user_metadata?: {
|
|
886
996
|
[key: string]: unknown;
|
|
887
997
|
};
|
|
998
|
+
/** @description App defined metadata */
|
|
888
999
|
app_metadata?: {
|
|
889
1000
|
[key: string]: unknown;
|
|
890
1001
|
};
|
|
891
1002
|
};
|
|
892
|
-
/** @description User
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
1003
|
+
/** @description User defined metadata */
|
|
1004
|
+
UserUserMetadataUpdate: {
|
|
1005
|
+
[key: string]: unknown;
|
|
1006
|
+
};
|
|
1007
|
+
/** @description App defined metadata */
|
|
1008
|
+
UserAppMetadataUpdate: {
|
|
1009
|
+
[key: string]: unknown;
|
|
898
1010
|
};
|
|
899
1011
|
/** @description Identity */
|
|
900
1012
|
Identity: {
|
|
@@ -907,19 +1019,36 @@ export interface components {
|
|
|
907
1019
|
access_token_secret?: string;
|
|
908
1020
|
refresh_token?: string;
|
|
909
1021
|
profile_data: unknown;
|
|
910
|
-
/** @description
|
|
1022
|
+
/** @description Object is related with this account */
|
|
911
1023
|
account: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* @description IdentityMetadata
|
|
1026
|
+
* @default {}
|
|
1027
|
+
*/
|
|
1028
|
+
metadata: {
|
|
1029
|
+
[key: string]: unknown;
|
|
1030
|
+
};
|
|
912
1031
|
/** @description Identity creation date */
|
|
913
1032
|
createdAt: string;
|
|
914
1033
|
/** @description Identity updated date */
|
|
915
1034
|
updatedAt?: string;
|
|
916
1035
|
};
|
|
917
|
-
/**
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
1036
|
+
/**
|
|
1037
|
+
* @description IdentityMetadata
|
|
1038
|
+
* @default {}
|
|
1039
|
+
*/
|
|
1040
|
+
IdentityMetadata: {
|
|
1041
|
+
[key: string]: unknown;
|
|
1042
|
+
};
|
|
1043
|
+
IdentityCreate: {
|
|
1044
|
+
account: string;
|
|
1045
|
+
user: string;
|
|
1046
|
+
identity_id: string;
|
|
1047
|
+
connection: string;
|
|
1048
|
+
access_token?: string;
|
|
1049
|
+
access_token_secret?: string;
|
|
1050
|
+
refresh_token?: string;
|
|
1051
|
+
profile_data: unknown;
|
|
923
1052
|
};
|
|
924
1053
|
/** @description Role */
|
|
925
1054
|
Role: {
|
|
@@ -929,39 +1058,69 @@ export interface components {
|
|
|
929
1058
|
name: string;
|
|
930
1059
|
/** @description Description of this role */
|
|
931
1060
|
description: string;
|
|
932
|
-
/** @description
|
|
1061
|
+
/** @description Object is related with this account */
|
|
933
1062
|
account: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* @description RoleMetadata
|
|
1065
|
+
* @default {}
|
|
1066
|
+
*/
|
|
1067
|
+
metadata: {
|
|
1068
|
+
[key: string]: unknown;
|
|
1069
|
+
};
|
|
934
1070
|
/** @description Role creation date */
|
|
935
1071
|
createdAt: string;
|
|
936
1072
|
/** @description Role updated date */
|
|
937
1073
|
updatedAt?: string;
|
|
938
1074
|
};
|
|
1075
|
+
/**
|
|
1076
|
+
* @description RoleMetadata
|
|
1077
|
+
* @default {}
|
|
1078
|
+
*/
|
|
1079
|
+
RoleMetadata: {
|
|
1080
|
+
[key: string]: unknown;
|
|
1081
|
+
};
|
|
1082
|
+
/** @description RoleCreate */
|
|
1083
|
+
RoleCreate: {
|
|
1084
|
+
name: string;
|
|
1085
|
+
description?: string;
|
|
1086
|
+
/** @description Add Metadata */
|
|
1087
|
+
metadata?: {
|
|
1088
|
+
[key: string]: unknown;
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
/** @description Add Metadata */
|
|
1092
|
+
RoleMetadataCreate: {
|
|
1093
|
+
[key: string]: unknown;
|
|
1094
|
+
};
|
|
939
1095
|
/** @description RoleMember */
|
|
940
1096
|
RoleMember: {
|
|
941
1097
|
/** @description RoleMember ID */
|
|
942
1098
|
id: string;
|
|
943
1099
|
role: unknown;
|
|
944
1100
|
user: unknown;
|
|
945
|
-
/** @description
|
|
1101
|
+
/** @description Object is related with this account */
|
|
946
1102
|
account: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* @description RoleMemberMetadata
|
|
1105
|
+
* @default {}
|
|
1106
|
+
*/
|
|
1107
|
+
metadata: {
|
|
1108
|
+
[key: string]: unknown;
|
|
1109
|
+
};
|
|
947
1110
|
/** @description RoleMember creation date */
|
|
948
1111
|
createdAt: string;
|
|
949
1112
|
/** @description RoleMember updated date */
|
|
950
1113
|
updatedAt?: string;
|
|
951
1114
|
};
|
|
952
|
-
/**
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
1115
|
+
/**
|
|
1116
|
+
* @description RoleMemberMetadata
|
|
1117
|
+
* @default {}
|
|
1118
|
+
*/
|
|
1119
|
+
RoleMemberMetadata: {
|
|
1120
|
+
[key: string]: unknown;
|
|
958
1121
|
};
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
/** @description next cursor */
|
|
962
|
-
next: string | null;
|
|
963
|
-
/** @description list of results */
|
|
964
|
-
results: components["schemas"]["Role"][];
|
|
1122
|
+
RoleMemberCreate: {
|
|
1123
|
+
users: string[];
|
|
965
1124
|
};
|
|
966
1125
|
/** @description Team */
|
|
967
1126
|
Team: {
|
|
@@ -971,16 +1130,40 @@ export interface components {
|
|
|
971
1130
|
slug: string;
|
|
972
1131
|
description: string | null;
|
|
973
1132
|
logo_url: string | null;
|
|
1133
|
+
/** @description Object is related with this account */
|
|
1134
|
+
account: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* @description TeamMetadata
|
|
1137
|
+
* @default {}
|
|
1138
|
+
*/
|
|
974
1139
|
metadata: {
|
|
975
1140
|
[key: string]: unknown;
|
|
976
1141
|
};
|
|
977
1142
|
/** @description Team creation date */
|
|
978
|
-
account: string;
|
|
979
|
-
/** @description Team creation date */
|
|
980
1143
|
createdAt: string;
|
|
981
1144
|
/** @description Team updated date */
|
|
982
1145
|
updatedAt?: string;
|
|
983
1146
|
};
|
|
1147
|
+
/**
|
|
1148
|
+
* @description TeamMetadata
|
|
1149
|
+
* @default {}
|
|
1150
|
+
*/
|
|
1151
|
+
TeamMetadata: {
|
|
1152
|
+
[key: string]: unknown;
|
|
1153
|
+
};
|
|
1154
|
+
/** @description TeamCreate */
|
|
1155
|
+
TeamCreate: {
|
|
1156
|
+
name: string;
|
|
1157
|
+
description?: string;
|
|
1158
|
+
/** @description Add Metadata */
|
|
1159
|
+
metadata?: {
|
|
1160
|
+
[key: string]: unknown;
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
/** @description Add Metadata */
|
|
1164
|
+
TeamMetadataCreate: {
|
|
1165
|
+
[key: string]: unknown;
|
|
1166
|
+
};
|
|
984
1167
|
/** @description TeamMember */
|
|
985
1168
|
TeamMember: {
|
|
986
1169
|
/** @description TeamMember ID */
|
|
@@ -988,37 +1171,26 @@ export interface components {
|
|
|
988
1171
|
user: unknown;
|
|
989
1172
|
team: unknown;
|
|
990
1173
|
roles: unknown[];
|
|
1174
|
+
/** @description Object is related with this account */
|
|
1175
|
+
account: string;
|
|
1176
|
+
/**
|
|
1177
|
+
* @description TeamMemberMetadata
|
|
1178
|
+
* @default {}
|
|
1179
|
+
*/
|
|
991
1180
|
metadata: {
|
|
992
1181
|
[key: string]: unknown;
|
|
993
1182
|
};
|
|
994
1183
|
/** @description TeamMember creation date */
|
|
995
|
-
account: string;
|
|
996
|
-
/** @description TeamMember creation date */
|
|
997
1184
|
createdAt: string;
|
|
998
1185
|
/** @description TeamMember updated date */
|
|
999
1186
|
updatedAt?: string;
|
|
1000
1187
|
};
|
|
1001
|
-
/**
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
};
|
|
1008
|
-
/** @description TeamMember paginated response */
|
|
1009
|
-
TeamMemberPage: {
|
|
1010
|
-
/** @description next cursor */
|
|
1011
|
-
next: string | null;
|
|
1012
|
-
/** @description list of results */
|
|
1013
|
-
results: components["schemas"]["TeamMember"][];
|
|
1014
|
-
};
|
|
1015
|
-
/** @description TeamCreate */
|
|
1016
|
-
TeamCreate: {
|
|
1017
|
-
name: string;
|
|
1018
|
-
description?: string;
|
|
1019
|
-
metadata?: {
|
|
1020
|
-
[key: string]: unknown;
|
|
1021
|
-
};
|
|
1188
|
+
/**
|
|
1189
|
+
* @description TeamMemberMetadata
|
|
1190
|
+
* @default {}
|
|
1191
|
+
*/
|
|
1192
|
+
TeamMemberMetadata: {
|
|
1193
|
+
[key: string]: unknown;
|
|
1022
1194
|
};
|
|
1023
1195
|
TeamMemberCreate: {
|
|
1024
1196
|
users: string[];
|
|
@@ -1028,27 +1200,39 @@ export interface components {
|
|
|
1028
1200
|
/** @description Webhook ID */
|
|
1029
1201
|
id: string;
|
|
1030
1202
|
name: string;
|
|
1031
|
-
/** @description
|
|
1203
|
+
/** @description Object is related with this account */
|
|
1032
1204
|
account: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* @description WebhookMetadata
|
|
1207
|
+
* @default {}
|
|
1208
|
+
*/
|
|
1209
|
+
metadata: {
|
|
1210
|
+
[key: string]: unknown;
|
|
1211
|
+
};
|
|
1033
1212
|
/** @description Webhook creation date */
|
|
1034
1213
|
createdAt: string;
|
|
1035
1214
|
/** @description Webhook updated date */
|
|
1036
1215
|
updatedAt?: string;
|
|
1037
1216
|
};
|
|
1217
|
+
/**
|
|
1218
|
+
* @description WebhookMetadata
|
|
1219
|
+
* @default {}
|
|
1220
|
+
*/
|
|
1221
|
+
WebhookMetadata: {
|
|
1222
|
+
[key: string]: unknown;
|
|
1223
|
+
};
|
|
1038
1224
|
/** @description WebhookCreate */
|
|
1039
1225
|
WebhookCreate: {
|
|
1040
1226
|
name: string;
|
|
1041
1227
|
url: string;
|
|
1228
|
+
/** @description Add Metadata */
|
|
1042
1229
|
metadata?: {
|
|
1043
1230
|
[key: string]: unknown;
|
|
1044
1231
|
};
|
|
1045
1232
|
};
|
|
1046
|
-
/** @description
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
next: string | null;
|
|
1050
|
-
/** @description list of results */
|
|
1051
|
-
results: components["schemas"]["Webhook"][];
|
|
1233
|
+
/** @description Add Metadata */
|
|
1234
|
+
WebhookMetadataCreate: {
|
|
1235
|
+
[key: string]: unknown;
|
|
1052
1236
|
};
|
|
1053
1237
|
Permission: {
|
|
1054
1238
|
value: string;
|
|
@@ -1065,28 +1249,51 @@ export interface components {
|
|
|
1065
1249
|
name: string;
|
|
1066
1250
|
description?: string;
|
|
1067
1251
|
permissions: components["schemas"]["Permission"][];
|
|
1068
|
-
/** @description
|
|
1252
|
+
/** @description Object is related with this account */
|
|
1069
1253
|
account: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* @description ApiMetadata
|
|
1256
|
+
* @default {}
|
|
1257
|
+
*/
|
|
1258
|
+
metadata: {
|
|
1259
|
+
[key: string]: unknown;
|
|
1260
|
+
};
|
|
1070
1261
|
/** @description Api creation date */
|
|
1071
1262
|
createdAt: string;
|
|
1072
1263
|
/** @description Api updated date */
|
|
1073
1264
|
updatedAt?: string;
|
|
1074
1265
|
};
|
|
1266
|
+
/**
|
|
1267
|
+
* @description ApiMetadata
|
|
1268
|
+
* @default {}
|
|
1269
|
+
*/
|
|
1270
|
+
ApiMetadata: {
|
|
1271
|
+
[key: string]: unknown;
|
|
1272
|
+
};
|
|
1075
1273
|
ApiCreate: {
|
|
1076
1274
|
name: string;
|
|
1077
1275
|
description?: string;
|
|
1078
1276
|
permissions: components["schemas"]["PermissionCreate"][];
|
|
1079
1277
|
};
|
|
1080
|
-
/** @description
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1278
|
+
/** @description AuthAccountCreate */
|
|
1279
|
+
AuthAccountCreate: {
|
|
1280
|
+
name: string;
|
|
1281
|
+
team: string;
|
|
1282
|
+
logo_src?: string;
|
|
1283
|
+
callback_hostnames?: string[];
|
|
1284
|
+
default_connection?: string;
|
|
1285
|
+
/** @description Add Metadata */
|
|
1286
|
+
metadata?: {
|
|
1287
|
+
[key: string]: unknown;
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
/** @description Add Metadata */
|
|
1291
|
+
AuthAccountMetadataCreate: {
|
|
1292
|
+
[key: string]: unknown;
|
|
1086
1293
|
};
|
|
1087
|
-
|
|
1294
|
+
OAuthTokenParams: {
|
|
1088
1295
|
/** @description Grant Type. https://oauth.net/2/grant-types/ */
|
|
1089
|
-
grant_type
|
|
1296
|
+
grant_type?: "authorization_code" | "client_credentials" | "refresh_token" | "password";
|
|
1090
1297
|
client_id?: string;
|
|
1091
1298
|
client_secret?: string;
|
|
1092
1299
|
scope?: string;
|
|
@@ -1099,17 +1306,18 @@ export interface components {
|
|
|
1099
1306
|
UsernamepasswordLoginBody: {
|
|
1100
1307
|
username: string;
|
|
1101
1308
|
password: string;
|
|
1102
|
-
response_type:
|
|
1309
|
+
response_type: string;
|
|
1103
1310
|
client_id: string;
|
|
1104
|
-
/** @description
|
|
1311
|
+
/** @description Deprecated. Use connection_id */
|
|
1105
1312
|
connection?: string;
|
|
1313
|
+
/** @description Which oauth connection to use. Leave empty to use default connection */
|
|
1314
|
+
connection_id?: string;
|
|
1106
1315
|
scope?: string;
|
|
1107
1316
|
/** @description The URL to which Faable will redirect the browser after authorization has been granted by the user. */
|
|
1108
1317
|
redirect_uri: string;
|
|
1109
1318
|
/** @description An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the application. This value must be used by the application to prevent CSRF attacks. */
|
|
1110
1319
|
state?: string;
|
|
1111
|
-
|
|
1112
|
-
prompt?: "login" | "consent" | "none";
|
|
1320
|
+
prompt?: string;
|
|
1113
1321
|
};
|
|
1114
1322
|
LoginCallbackBody: {
|
|
1115
1323
|
/** @description is always wsignin1.0 */
|
|
@@ -1119,27 +1327,6 @@ export interface components {
|
|
|
1119
1327
|
/** @description Serialized JSON with context */
|
|
1120
1328
|
wctx: string;
|
|
1121
1329
|
};
|
|
1122
|
-
/** @description RoleCreate */
|
|
1123
|
-
RoleCreate: {
|
|
1124
|
-
name: string;
|
|
1125
|
-
description?: string;
|
|
1126
|
-
metadata?: {
|
|
1127
|
-
[key: string]: unknown;
|
|
1128
|
-
};
|
|
1129
|
-
};
|
|
1130
|
-
RoleMemberCreate: {
|
|
1131
|
-
users: string[];
|
|
1132
|
-
};
|
|
1133
|
-
/** @description TeamUpdate */
|
|
1134
|
-
TeamUpdate: {
|
|
1135
|
-
/** @description name */
|
|
1136
|
-
name?: string;
|
|
1137
|
-
/** @description description */
|
|
1138
|
-
description?: string;
|
|
1139
|
-
metadata?: {
|
|
1140
|
-
[key: string]: unknown;
|
|
1141
|
-
};
|
|
1142
|
-
};
|
|
1143
1330
|
};
|
|
1144
1331
|
responses: never;
|
|
1145
1332
|
parameters: never;
|
|
@@ -1157,36 +1344,43 @@ export interface operations {
|
|
|
1157
1344
|
"connection/list": {
|
|
1158
1345
|
parameters: {
|
|
1159
1346
|
query?: {
|
|
1160
|
-
/** @description Filter using a FaableQL query */
|
|
1161
|
-
query?: string;
|
|
1162
1347
|
/** @description Start from this cursor */
|
|
1163
1348
|
cursor?: string;
|
|
1349
|
+
/** @description Start from this cursor */
|
|
1350
|
+
next?: string;
|
|
1164
1351
|
/** @description Size of the results array */
|
|
1165
1352
|
pageSize?: number;
|
|
1353
|
+
/** @description Filter using a FaableQL query */
|
|
1354
|
+
query?: string;
|
|
1166
1355
|
expand?: string[];
|
|
1167
1356
|
};
|
|
1168
1357
|
};
|
|
1169
1358
|
responses: {
|
|
1170
|
-
/** @description
|
|
1359
|
+
/** @description PaginatedResponse */
|
|
1171
1360
|
200: {
|
|
1172
1361
|
content: {
|
|
1173
|
-
"application/json":
|
|
1362
|
+
"application/json": {
|
|
1363
|
+
/** @description next cursor */
|
|
1364
|
+
next: string | null;
|
|
1365
|
+
/** @description List of results */
|
|
1366
|
+
results: components["schemas"]["Connection"][];
|
|
1367
|
+
};
|
|
1174
1368
|
};
|
|
1175
1369
|
};
|
|
1176
1370
|
};
|
|
1177
1371
|
};
|
|
1178
1372
|
/**
|
|
1179
|
-
*
|
|
1180
|
-
* @description
|
|
1373
|
+
* Create Connection in Account
|
|
1374
|
+
* @description Create Connection in Account
|
|
1181
1375
|
*/
|
|
1182
|
-
"connection/
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1376
|
+
"connection/create": {
|
|
1377
|
+
requestBody?: {
|
|
1378
|
+
content: {
|
|
1379
|
+
"application/json": components["schemas"]["ConnectionCreate"];
|
|
1186
1380
|
};
|
|
1187
1381
|
};
|
|
1188
1382
|
responses: {
|
|
1189
|
-
/** @description
|
|
1383
|
+
/** @description Connection */
|
|
1190
1384
|
200: {
|
|
1191
1385
|
content: {
|
|
1192
1386
|
"application/json": components["schemas"]["Connection"];
|
|
@@ -1195,44 +1389,34 @@ export interface operations {
|
|
|
1195
1389
|
};
|
|
1196
1390
|
};
|
|
1197
1391
|
/**
|
|
1198
|
-
*
|
|
1199
|
-
* @description
|
|
1392
|
+
* Get Connection in Account
|
|
1393
|
+
* @description Get Connection in Account
|
|
1200
1394
|
*/
|
|
1201
|
-
"connection/
|
|
1395
|
+
"connection/get": {
|
|
1202
1396
|
parameters: {
|
|
1203
1397
|
path: {
|
|
1204
1398
|
connection_id: string;
|
|
1205
1399
|
};
|
|
1206
1400
|
};
|
|
1207
1401
|
responses: {
|
|
1208
|
-
/** @description
|
|
1402
|
+
/** @description Connection */
|
|
1209
1403
|
200: {
|
|
1210
|
-
content:
|
|
1404
|
+
content: {
|
|
1405
|
+
"application/json": components["schemas"]["Connection"];
|
|
1406
|
+
};
|
|
1211
1407
|
};
|
|
1212
1408
|
};
|
|
1213
1409
|
};
|
|
1214
1410
|
/**
|
|
1215
|
-
*
|
|
1216
|
-
* @description
|
|
1411
|
+
* Delete Connection in Account
|
|
1412
|
+
* @description Delete Connection in Account
|
|
1217
1413
|
*/
|
|
1218
|
-
"
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
email: string;
|
|
1223
|
-
returnTo: string;
|
|
1224
|
-
};
|
|
1225
|
-
};
|
|
1226
|
-
};
|
|
1227
|
-
responses: {
|
|
1228
|
-
/** @description Default Response */
|
|
1229
|
-
200: {
|
|
1230
|
-
content: never;
|
|
1414
|
+
"connection/remove": {
|
|
1415
|
+
parameters: {
|
|
1416
|
+
path: {
|
|
1417
|
+
connection_id: string;
|
|
1231
1418
|
};
|
|
1232
1419
|
};
|
|
1233
|
-
};
|
|
1234
|
-
/** @description Receive a passwordless token and convert it to a valid session */
|
|
1235
|
-
"passwordless/login": {
|
|
1236
1420
|
responses: {
|
|
1237
1421
|
/** @description Default Response */
|
|
1238
1422
|
200: {
|
|
@@ -1247,36 +1431,43 @@ export interface operations {
|
|
|
1247
1431
|
"client/list": {
|
|
1248
1432
|
parameters: {
|
|
1249
1433
|
query?: {
|
|
1250
|
-
/** @description Filter using a FaableQL query */
|
|
1251
|
-
query?: string;
|
|
1252
1434
|
/** @description Start from this cursor */
|
|
1253
1435
|
cursor?: string;
|
|
1436
|
+
/** @description Start from this cursor */
|
|
1437
|
+
next?: string;
|
|
1254
1438
|
/** @description Size of the results array */
|
|
1255
1439
|
pageSize?: number;
|
|
1440
|
+
/** @description Filter using a FaableQL query */
|
|
1441
|
+
query?: string;
|
|
1256
1442
|
expand?: string[];
|
|
1257
1443
|
};
|
|
1258
1444
|
};
|
|
1259
1445
|
responses: {
|
|
1260
|
-
/** @description
|
|
1446
|
+
/** @description PaginatedResponse */
|
|
1261
1447
|
200: {
|
|
1262
1448
|
content: {
|
|
1263
|
-
"application/json":
|
|
1449
|
+
"application/json": {
|
|
1450
|
+
/** @description next cursor */
|
|
1451
|
+
next: string | null;
|
|
1452
|
+
/** @description List of results */
|
|
1453
|
+
results: components["schemas"]["Client"][];
|
|
1454
|
+
};
|
|
1264
1455
|
};
|
|
1265
1456
|
};
|
|
1266
1457
|
};
|
|
1267
1458
|
};
|
|
1268
1459
|
/**
|
|
1269
|
-
*
|
|
1270
|
-
* @description
|
|
1460
|
+
* Create Client in Account
|
|
1461
|
+
* @description Create Client in Account
|
|
1271
1462
|
*/
|
|
1272
|
-
"client/
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1463
|
+
"client/create": {
|
|
1464
|
+
requestBody?: {
|
|
1465
|
+
content: {
|
|
1466
|
+
"application/json": components["schemas"]["ClientCreate"];
|
|
1276
1467
|
};
|
|
1277
1468
|
};
|
|
1278
1469
|
responses: {
|
|
1279
|
-
/** @description
|
|
1470
|
+
/** @description Client */
|
|
1280
1471
|
200: {
|
|
1281
1472
|
content: {
|
|
1282
1473
|
"application/json": components["schemas"]["Client"];
|
|
@@ -1285,65 +1476,32 @@ export interface operations {
|
|
|
1285
1476
|
};
|
|
1286
1477
|
};
|
|
1287
1478
|
/**
|
|
1288
|
-
*
|
|
1289
|
-
* @description
|
|
1479
|
+
* Get Client in Account
|
|
1480
|
+
* @description Get Client in Account
|
|
1290
1481
|
*/
|
|
1291
|
-
"client/
|
|
1482
|
+
"client/get": {
|
|
1292
1483
|
parameters: {
|
|
1293
1484
|
path: {
|
|
1294
1485
|
client_id: string;
|
|
1295
1486
|
};
|
|
1296
1487
|
};
|
|
1297
1488
|
responses: {
|
|
1298
|
-
/** @description
|
|
1489
|
+
/** @description Client */
|
|
1299
1490
|
200: {
|
|
1300
|
-
content:
|
|
1491
|
+
content: {
|
|
1492
|
+
"application/json": components["schemas"]["Client"];
|
|
1493
|
+
};
|
|
1301
1494
|
};
|
|
1302
1495
|
};
|
|
1303
1496
|
};
|
|
1304
1497
|
/**
|
|
1305
|
-
*
|
|
1306
|
-
* @description
|
|
1498
|
+
* Delete Client in Account
|
|
1499
|
+
* @description Delete Client in Account
|
|
1307
1500
|
*/
|
|
1308
|
-
|
|
1501
|
+
"client/remove": {
|
|
1309
1502
|
parameters: {
|
|
1310
|
-
|
|
1311
|
-
response_type: "code" | "token";
|
|
1312
|
-
/** @description Challenge method for PKCE. Only S256 is supported. */
|
|
1313
|
-
code_challenge_method?: string;
|
|
1314
|
-
/** @description Challenge for PKCE authorization code flow */
|
|
1315
|
-
code_challenge?: string;
|
|
1503
|
+
path: {
|
|
1316
1504
|
client_id: string;
|
|
1317
|
-
/** @description Which oauth connection to use. Leave empty to use default connection */
|
|
1318
|
-
connection?: string;
|
|
1319
|
-
scope?: string;
|
|
1320
|
-
/** @description The URL to which Faable will redirect the browser after authorization has been granted by the user. */
|
|
1321
|
-
redirect_uri: string;
|
|
1322
|
-
/** @description An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the application. This value must be used by the application to prevent CSRF attacks. */
|
|
1323
|
-
state?: string;
|
|
1324
|
-
/** @description whether to prompt the end user for authentication and consent */
|
|
1325
|
-
prompt?: "login" | "consent" | "none";
|
|
1326
|
-
};
|
|
1327
|
-
};
|
|
1328
|
-
responses: {
|
|
1329
|
-
/** @description Default Response */
|
|
1330
|
-
200: {
|
|
1331
|
-
content: never;
|
|
1332
|
-
};
|
|
1333
|
-
};
|
|
1334
|
-
};
|
|
1335
|
-
/**
|
|
1336
|
-
* OAuth2 Callback URL
|
|
1337
|
-
* @description OAuth2 Callback URL
|
|
1338
|
-
*/
|
|
1339
|
-
callback: {
|
|
1340
|
-
parameters: {
|
|
1341
|
-
query?: {
|
|
1342
|
-
code?: string;
|
|
1343
|
-
state?: string;
|
|
1344
|
-
error?: string;
|
|
1345
|
-
error_uri?: string;
|
|
1346
|
-
error_description?: string;
|
|
1347
1505
|
};
|
|
1348
1506
|
};
|
|
1349
1507
|
responses: {
|
|
@@ -1360,27 +1518,34 @@ export interface operations {
|
|
|
1360
1518
|
"user/list": {
|
|
1361
1519
|
parameters: {
|
|
1362
1520
|
query?: {
|
|
1363
|
-
/** @description Filter using a FaableQL query */
|
|
1364
|
-
query?: string;
|
|
1365
1521
|
/** @description Start from this cursor */
|
|
1366
1522
|
cursor?: string;
|
|
1523
|
+
/** @description Start from this cursor */
|
|
1524
|
+
next?: string;
|
|
1367
1525
|
/** @description Size of the results array */
|
|
1368
1526
|
pageSize?: number;
|
|
1527
|
+
/** @description Filter using a FaableQL query */
|
|
1528
|
+
query?: string;
|
|
1369
1529
|
expand?: string[];
|
|
1370
1530
|
};
|
|
1371
1531
|
};
|
|
1372
1532
|
responses: {
|
|
1373
|
-
/** @description
|
|
1533
|
+
/** @description PaginatedResponse */
|
|
1374
1534
|
200: {
|
|
1375
1535
|
content: {
|
|
1376
|
-
"application/json":
|
|
1536
|
+
"application/json": {
|
|
1537
|
+
/** @description next cursor */
|
|
1538
|
+
next: string | null;
|
|
1539
|
+
/** @description List of results */
|
|
1540
|
+
results: components["schemas"]["User"][];
|
|
1541
|
+
};
|
|
1377
1542
|
};
|
|
1378
1543
|
};
|
|
1379
1544
|
};
|
|
1380
1545
|
};
|
|
1381
1546
|
/**
|
|
1382
|
-
* Create
|
|
1383
|
-
* @description Create
|
|
1547
|
+
* Create User in Account
|
|
1548
|
+
* @description Create User in Account
|
|
1384
1549
|
*/
|
|
1385
1550
|
"user/create": {
|
|
1386
1551
|
requestBody?: {
|
|
@@ -1389,8 +1554,8 @@ export interface operations {
|
|
|
1389
1554
|
};
|
|
1390
1555
|
};
|
|
1391
1556
|
responses: {
|
|
1392
|
-
/** @description
|
|
1393
|
-
|
|
1557
|
+
/** @description User */
|
|
1558
|
+
200: {
|
|
1394
1559
|
content: {
|
|
1395
1560
|
"application/json": components["schemas"]["User"];
|
|
1396
1561
|
};
|
|
@@ -1408,7 +1573,7 @@ export interface operations {
|
|
|
1408
1573
|
};
|
|
1409
1574
|
};
|
|
1410
1575
|
responses: {
|
|
1411
|
-
/** @description
|
|
1576
|
+
/** @description User */
|
|
1412
1577
|
200: {
|
|
1413
1578
|
content: {
|
|
1414
1579
|
"application/json": components["schemas"]["User"];
|
|
@@ -1417,8 +1582,8 @@ export interface operations {
|
|
|
1417
1582
|
};
|
|
1418
1583
|
};
|
|
1419
1584
|
/**
|
|
1420
|
-
* Update
|
|
1421
|
-
* @description Update
|
|
1585
|
+
* Update Users in Account
|
|
1586
|
+
* @description Update Users in Account
|
|
1422
1587
|
*/
|
|
1423
1588
|
"user/update": {
|
|
1424
1589
|
parameters: {
|
|
@@ -1432,7 +1597,7 @@ export interface operations {
|
|
|
1432
1597
|
};
|
|
1433
1598
|
};
|
|
1434
1599
|
responses: {
|
|
1435
|
-
/** @description
|
|
1600
|
+
/** @description User */
|
|
1436
1601
|
200: {
|
|
1437
1602
|
content: {
|
|
1438
1603
|
"application/json": components["schemas"]["User"];
|
|
@@ -1464,51 +1629,164 @@ export interface operations {
|
|
|
1464
1629
|
"identity/list": {
|
|
1465
1630
|
parameters: {
|
|
1466
1631
|
query?: {
|
|
1632
|
+
/** @description Start from this cursor */
|
|
1633
|
+
cursor?: string;
|
|
1634
|
+
/** @description Start from this cursor */
|
|
1635
|
+
next?: string;
|
|
1636
|
+
/** @description Size of the results array */
|
|
1637
|
+
pageSize?: number;
|
|
1467
1638
|
/** @description Filter using a FaableQL query */
|
|
1468
1639
|
query?: string;
|
|
1640
|
+
expand?: string[];
|
|
1641
|
+
};
|
|
1642
|
+
};
|
|
1643
|
+
responses: {
|
|
1644
|
+
/** @description PaginatedResponse */
|
|
1645
|
+
200: {
|
|
1646
|
+
content: {
|
|
1647
|
+
"application/json": {
|
|
1648
|
+
/** @description next cursor */
|
|
1649
|
+
next: string | null;
|
|
1650
|
+
/** @description List of results */
|
|
1651
|
+
results: components["schemas"]["Identity"][];
|
|
1652
|
+
};
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
/**
|
|
1658
|
+
* Create Identity in Account
|
|
1659
|
+
* @description Create Identity in Account
|
|
1660
|
+
*/
|
|
1661
|
+
"identity/create": {
|
|
1662
|
+
requestBody?: {
|
|
1663
|
+
content: {
|
|
1664
|
+
"application/json": components["schemas"]["IdentityCreate"];
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
responses: {
|
|
1668
|
+
/** @description Identity */
|
|
1669
|
+
200: {
|
|
1670
|
+
content: {
|
|
1671
|
+
"application/json": components["schemas"]["Identity"];
|
|
1672
|
+
};
|
|
1673
|
+
};
|
|
1674
|
+
};
|
|
1675
|
+
};
|
|
1676
|
+
/**
|
|
1677
|
+
* Get Identity in Account
|
|
1678
|
+
* @description Get Identity in Account
|
|
1679
|
+
*/
|
|
1680
|
+
"identity/get": {
|
|
1681
|
+
parameters: {
|
|
1682
|
+
path: {
|
|
1683
|
+
identity_id: string;
|
|
1684
|
+
};
|
|
1685
|
+
};
|
|
1686
|
+
responses: {
|
|
1687
|
+
/** @description Identity */
|
|
1688
|
+
200: {
|
|
1689
|
+
content: {
|
|
1690
|
+
"application/json": components["schemas"]["Identity"];
|
|
1691
|
+
};
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1695
|
+
/**
|
|
1696
|
+
* Delete Identity in Account
|
|
1697
|
+
* @description Delete Identity in Account
|
|
1698
|
+
*/
|
|
1699
|
+
"identity/remove": {
|
|
1700
|
+
parameters: {
|
|
1701
|
+
path: {
|
|
1702
|
+
identity_id: string;
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
responses: {
|
|
1706
|
+
/** @description Default Response */
|
|
1707
|
+
200: {
|
|
1708
|
+
content: never;
|
|
1709
|
+
};
|
|
1710
|
+
};
|
|
1711
|
+
};
|
|
1712
|
+
/**
|
|
1713
|
+
* List Roles in Account
|
|
1714
|
+
* @description List Roles in Account
|
|
1715
|
+
*/
|
|
1716
|
+
"role/list": {
|
|
1717
|
+
parameters: {
|
|
1718
|
+
query?: {
|
|
1469
1719
|
/** @description Start from this cursor */
|
|
1470
1720
|
cursor?: string;
|
|
1721
|
+
/** @description Start from this cursor */
|
|
1722
|
+
next?: string;
|
|
1471
1723
|
/** @description Size of the results array */
|
|
1472
1724
|
pageSize?: number;
|
|
1725
|
+
/** @description Filter using a FaableQL query */
|
|
1726
|
+
query?: string;
|
|
1473
1727
|
expand?: string[];
|
|
1474
1728
|
};
|
|
1475
1729
|
};
|
|
1476
1730
|
responses: {
|
|
1477
|
-
/** @description
|
|
1731
|
+
/** @description PaginatedResponse */
|
|
1732
|
+
200: {
|
|
1733
|
+
content: {
|
|
1734
|
+
"application/json": {
|
|
1735
|
+
/** @description next cursor */
|
|
1736
|
+
next: string | null;
|
|
1737
|
+
/** @description List of results */
|
|
1738
|
+
results: components["schemas"]["Role"][];
|
|
1739
|
+
};
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
};
|
|
1743
|
+
};
|
|
1744
|
+
/**
|
|
1745
|
+
* Create Role in Account
|
|
1746
|
+
* @description Create Role in Account
|
|
1747
|
+
*/
|
|
1748
|
+
"role/create": {
|
|
1749
|
+
requestBody?: {
|
|
1750
|
+
content: {
|
|
1751
|
+
"application/json": components["schemas"]["RoleCreate"];
|
|
1752
|
+
};
|
|
1753
|
+
};
|
|
1754
|
+
responses: {
|
|
1755
|
+
/** @description Role */
|
|
1478
1756
|
200: {
|
|
1479
1757
|
content: {
|
|
1480
|
-
"application/json": components["schemas"]["
|
|
1758
|
+
"application/json": components["schemas"]["Role"];
|
|
1481
1759
|
};
|
|
1482
1760
|
};
|
|
1483
1761
|
};
|
|
1484
1762
|
};
|
|
1485
1763
|
/**
|
|
1486
|
-
* Get
|
|
1487
|
-
* @description Get
|
|
1764
|
+
* Get Role in Account
|
|
1765
|
+
* @description Get Role in Account
|
|
1488
1766
|
*/
|
|
1489
|
-
"
|
|
1767
|
+
"role/get": {
|
|
1490
1768
|
parameters: {
|
|
1491
1769
|
path: {
|
|
1492
|
-
|
|
1770
|
+
role_id: string;
|
|
1493
1771
|
};
|
|
1494
1772
|
};
|
|
1495
1773
|
responses: {
|
|
1496
|
-
/** @description
|
|
1774
|
+
/** @description Role */
|
|
1497
1775
|
200: {
|
|
1498
1776
|
content: {
|
|
1499
|
-
"application/json": components["schemas"]["
|
|
1777
|
+
"application/json": components["schemas"]["Role"];
|
|
1500
1778
|
};
|
|
1501
1779
|
};
|
|
1502
1780
|
};
|
|
1503
1781
|
};
|
|
1504
1782
|
/**
|
|
1505
|
-
* Delete
|
|
1506
|
-
* @description Delete
|
|
1783
|
+
* Delete Role in Account
|
|
1784
|
+
* @description Delete Role in Account
|
|
1507
1785
|
*/
|
|
1508
|
-
"
|
|
1786
|
+
"role/remove": {
|
|
1509
1787
|
parameters: {
|
|
1510
1788
|
path: {
|
|
1511
|
-
|
|
1789
|
+
role_id: string;
|
|
1512
1790
|
};
|
|
1513
1791
|
};
|
|
1514
1792
|
responses: {
|
|
@@ -1519,123 +1797,137 @@ export interface operations {
|
|
|
1519
1797
|
};
|
|
1520
1798
|
};
|
|
1521
1799
|
/**
|
|
1522
|
-
* List
|
|
1523
|
-
* @description List
|
|
1800
|
+
* List Users with Role
|
|
1801
|
+
* @description List Users with Role
|
|
1524
1802
|
*/
|
|
1525
|
-
"role/
|
|
1803
|
+
"role/users": {
|
|
1526
1804
|
parameters: {
|
|
1527
1805
|
query?: {
|
|
1528
|
-
/** @description Filter using a FaableQL query */
|
|
1529
|
-
query?: string;
|
|
1530
1806
|
/** @description Start from this cursor */
|
|
1531
1807
|
cursor?: string;
|
|
1808
|
+
/** @description Start from this cursor */
|
|
1809
|
+
next?: string;
|
|
1532
1810
|
/** @description Size of the results array */
|
|
1533
1811
|
pageSize?: number;
|
|
1534
|
-
|
|
1812
|
+
};
|
|
1813
|
+
path: {
|
|
1814
|
+
role_id: string;
|
|
1535
1815
|
};
|
|
1536
1816
|
};
|
|
1537
1817
|
responses: {
|
|
1538
|
-
/** @description
|
|
1818
|
+
/** @description PaginatedResponse */
|
|
1539
1819
|
200: {
|
|
1540
1820
|
content: {
|
|
1541
|
-
"application/json":
|
|
1821
|
+
"application/json": {
|
|
1822
|
+
/** @description next cursor */
|
|
1823
|
+
next: string | null;
|
|
1824
|
+
/** @description List of results */
|
|
1825
|
+
results: components["schemas"]["RoleMember"][];
|
|
1826
|
+
};
|
|
1542
1827
|
};
|
|
1543
1828
|
};
|
|
1544
1829
|
};
|
|
1545
1830
|
};
|
|
1546
1831
|
/**
|
|
1547
|
-
*
|
|
1548
|
-
* @description
|
|
1832
|
+
* Assign Users to Role
|
|
1833
|
+
* @description Assign Users to Role
|
|
1549
1834
|
*/
|
|
1550
|
-
"role/
|
|
1835
|
+
"role/assign_users": {
|
|
1836
|
+
parameters: {
|
|
1837
|
+
path: {
|
|
1838
|
+
role_id: string;
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1551
1841
|
requestBody?: {
|
|
1552
1842
|
content: {
|
|
1553
|
-
"application/json": components["schemas"]["
|
|
1843
|
+
"application/json": components["schemas"]["RoleMemberCreate"];
|
|
1554
1844
|
};
|
|
1555
1845
|
};
|
|
1556
1846
|
responses: {
|
|
1557
1847
|
/** @description Default Response */
|
|
1558
|
-
|
|
1559
|
-
content:
|
|
1560
|
-
"application/json": components["schemas"]["Role"];
|
|
1561
|
-
};
|
|
1848
|
+
200: {
|
|
1849
|
+
content: never;
|
|
1562
1850
|
};
|
|
1563
1851
|
};
|
|
1564
1852
|
};
|
|
1565
1853
|
/**
|
|
1566
|
-
* List
|
|
1567
|
-
* @description List
|
|
1854
|
+
* List Rolemembers in Account
|
|
1855
|
+
* @description List Rolemembers in Account
|
|
1568
1856
|
*/
|
|
1569
|
-
"
|
|
1857
|
+
"rolemember/list": {
|
|
1570
1858
|
parameters: {
|
|
1571
1859
|
query?: {
|
|
1572
1860
|
/** @description Start from this cursor */
|
|
1573
1861
|
cursor?: string;
|
|
1862
|
+
/** @description Start from this cursor */
|
|
1863
|
+
next?: string;
|
|
1574
1864
|
/** @description Size of the results array */
|
|
1575
1865
|
pageSize?: number;
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1866
|
+
/** @description Filter using a FaableQL query */
|
|
1867
|
+
query?: string;
|
|
1868
|
+
expand?: string[];
|
|
1579
1869
|
};
|
|
1580
1870
|
};
|
|
1581
1871
|
responses: {
|
|
1582
|
-
/** @description
|
|
1872
|
+
/** @description PaginatedResponse */
|
|
1583
1873
|
200: {
|
|
1584
1874
|
content: {
|
|
1585
|
-
"application/json":
|
|
1875
|
+
"application/json": {
|
|
1876
|
+
/** @description next cursor */
|
|
1877
|
+
next: string | null;
|
|
1878
|
+
/** @description List of results */
|
|
1879
|
+
results: components["schemas"]["RoleMember"][];
|
|
1880
|
+
};
|
|
1586
1881
|
};
|
|
1587
1882
|
};
|
|
1588
1883
|
};
|
|
1589
1884
|
};
|
|
1590
1885
|
/**
|
|
1591
|
-
*
|
|
1592
|
-
* @description
|
|
1886
|
+
* Create Rolemember in Account
|
|
1887
|
+
* @description Create Rolemember in Account
|
|
1593
1888
|
*/
|
|
1594
|
-
"
|
|
1595
|
-
parameters: {
|
|
1596
|
-
path: {
|
|
1597
|
-
role_id: string;
|
|
1598
|
-
};
|
|
1599
|
-
};
|
|
1889
|
+
"rolemember/create": {
|
|
1600
1890
|
requestBody?: {
|
|
1601
1891
|
content: {
|
|
1602
1892
|
"application/json": components["schemas"]["RoleMemberCreate"];
|
|
1603
1893
|
};
|
|
1604
1894
|
};
|
|
1605
1895
|
responses: {
|
|
1606
|
-
/** @description
|
|
1896
|
+
/** @description RoleMember */
|
|
1607
1897
|
200: {
|
|
1608
|
-
content:
|
|
1898
|
+
content: {
|
|
1899
|
+
"application/json": components["schemas"]["RoleMember"];
|
|
1900
|
+
};
|
|
1609
1901
|
};
|
|
1610
1902
|
};
|
|
1611
1903
|
};
|
|
1612
1904
|
/**
|
|
1613
|
-
* Get
|
|
1614
|
-
* @description Get
|
|
1905
|
+
* Get Rolemember in Account
|
|
1906
|
+
* @description Get Rolemember in Account
|
|
1615
1907
|
*/
|
|
1616
|
-
"
|
|
1908
|
+
"rolemember/get": {
|
|
1617
1909
|
parameters: {
|
|
1618
1910
|
path: {
|
|
1619
|
-
|
|
1911
|
+
rolemember_id: string;
|
|
1620
1912
|
};
|
|
1621
1913
|
};
|
|
1622
1914
|
responses: {
|
|
1623
|
-
/** @description
|
|
1915
|
+
/** @description RoleMember */
|
|
1624
1916
|
200: {
|
|
1625
1917
|
content: {
|
|
1626
|
-
"application/json": components["schemas"]["
|
|
1918
|
+
"application/json": components["schemas"]["RoleMember"];
|
|
1627
1919
|
};
|
|
1628
1920
|
};
|
|
1629
1921
|
};
|
|
1630
1922
|
};
|
|
1631
1923
|
/**
|
|
1632
|
-
* Delete
|
|
1633
|
-
* @description Delete
|
|
1924
|
+
* Delete Rolemember in Account
|
|
1925
|
+
* @description Delete Rolemember in Account
|
|
1634
1926
|
*/
|
|
1635
|
-
"
|
|
1927
|
+
"rolemember/remove": {
|
|
1636
1928
|
parameters: {
|
|
1637
1929
|
path: {
|
|
1638
|
-
|
|
1930
|
+
rolemember_id: string;
|
|
1639
1931
|
};
|
|
1640
1932
|
};
|
|
1641
1933
|
responses: {
|
|
@@ -1652,36 +1944,43 @@ export interface operations {
|
|
|
1652
1944
|
"team/list": {
|
|
1653
1945
|
parameters: {
|
|
1654
1946
|
query?: {
|
|
1655
|
-
/** @description Filter using a FaableQL query */
|
|
1656
|
-
query?: string;
|
|
1657
1947
|
/** @description Start from this cursor */
|
|
1658
1948
|
cursor?: string;
|
|
1949
|
+
/** @description Start from this cursor */
|
|
1950
|
+
next?: string;
|
|
1659
1951
|
/** @description Size of the results array */
|
|
1660
1952
|
pageSize?: number;
|
|
1953
|
+
/** @description Filter using a FaableQL query */
|
|
1954
|
+
query?: string;
|
|
1661
1955
|
expand?: string[];
|
|
1662
1956
|
};
|
|
1663
1957
|
};
|
|
1664
1958
|
responses: {
|
|
1665
|
-
/** @description
|
|
1959
|
+
/** @description PaginatedResponse */
|
|
1666
1960
|
200: {
|
|
1667
1961
|
content: {
|
|
1668
|
-
"application/json":
|
|
1962
|
+
"application/json": {
|
|
1963
|
+
/** @description next cursor */
|
|
1964
|
+
next: string | null;
|
|
1965
|
+
/** @description List of results */
|
|
1966
|
+
results: components["schemas"]["Team"][];
|
|
1967
|
+
};
|
|
1669
1968
|
};
|
|
1670
1969
|
};
|
|
1671
1970
|
};
|
|
1672
1971
|
};
|
|
1673
1972
|
/**
|
|
1674
|
-
*
|
|
1675
|
-
* @description
|
|
1973
|
+
* Create Team in Account
|
|
1974
|
+
* @description Create Team in Account
|
|
1676
1975
|
*/
|
|
1677
|
-
"team/
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1976
|
+
"team/create": {
|
|
1977
|
+
requestBody?: {
|
|
1978
|
+
content: {
|
|
1979
|
+
"application/json": components["schemas"]["TeamCreate"];
|
|
1681
1980
|
};
|
|
1682
1981
|
};
|
|
1683
1982
|
responses: {
|
|
1684
|
-
/** @description
|
|
1983
|
+
/** @description Team */
|
|
1685
1984
|
200: {
|
|
1686
1985
|
content: {
|
|
1687
1986
|
"application/json": components["schemas"]["Team"];
|
|
@@ -1690,22 +1989,17 @@ export interface operations {
|
|
|
1690
1989
|
};
|
|
1691
1990
|
};
|
|
1692
1991
|
/**
|
|
1693
|
-
*
|
|
1694
|
-
* @description
|
|
1992
|
+
* Get Team in Account
|
|
1993
|
+
* @description Get Team in Account
|
|
1695
1994
|
*/
|
|
1696
|
-
"team/
|
|
1995
|
+
"team/get": {
|
|
1697
1996
|
parameters: {
|
|
1698
1997
|
path: {
|
|
1699
1998
|
team_id: string;
|
|
1700
1999
|
};
|
|
1701
2000
|
};
|
|
1702
|
-
requestBody?: {
|
|
1703
|
-
content: {
|
|
1704
|
-
"application/json": components["schemas"]["TeamUpdate"];
|
|
1705
|
-
};
|
|
1706
|
-
};
|
|
1707
2001
|
responses: {
|
|
1708
|
-
/** @description
|
|
2002
|
+
/** @description Team */
|
|
1709
2003
|
200: {
|
|
1710
2004
|
content: {
|
|
1711
2005
|
"application/json": components["schemas"]["Team"];
|
|
@@ -1731,42 +2025,68 @@ export interface operations {
|
|
|
1731
2025
|
};
|
|
1732
2026
|
};
|
|
1733
2027
|
/**
|
|
1734
|
-
* List
|
|
1735
|
-
* @description List
|
|
2028
|
+
* List Teammembers in Account
|
|
2029
|
+
* @description List Teammembers in Account
|
|
1736
2030
|
*/
|
|
1737
|
-
"
|
|
2031
|
+
"teammember/list": {
|
|
1738
2032
|
parameters: {
|
|
1739
2033
|
query?: {
|
|
1740
|
-
/** @description Filter using a FaableQL query */
|
|
1741
|
-
query?: string;
|
|
1742
2034
|
/** @description Start from this cursor */
|
|
1743
2035
|
cursor?: string;
|
|
2036
|
+
/** @description Start from this cursor */
|
|
2037
|
+
next?: string;
|
|
1744
2038
|
/** @description Size of the results array */
|
|
1745
2039
|
pageSize?: number;
|
|
2040
|
+
/** @description Filter using a FaableQL query */
|
|
2041
|
+
query?: string;
|
|
1746
2042
|
expand?: string[];
|
|
1747
2043
|
};
|
|
1748
2044
|
};
|
|
1749
2045
|
responses: {
|
|
1750
|
-
/** @description
|
|
2046
|
+
/** @description PaginatedResponse */
|
|
2047
|
+
200: {
|
|
2048
|
+
content: {
|
|
2049
|
+
"application/json": {
|
|
2050
|
+
/** @description next cursor */
|
|
2051
|
+
next: string | null;
|
|
2052
|
+
/** @description List of results */
|
|
2053
|
+
results: components["schemas"]["TeamMember"][];
|
|
2054
|
+
};
|
|
2055
|
+
};
|
|
2056
|
+
};
|
|
2057
|
+
};
|
|
2058
|
+
};
|
|
2059
|
+
/**
|
|
2060
|
+
* Create Teammember in Account
|
|
2061
|
+
* @description Create Teammember in Account
|
|
2062
|
+
*/
|
|
2063
|
+
"teammember/create": {
|
|
2064
|
+
requestBody?: {
|
|
2065
|
+
content: {
|
|
2066
|
+
"application/json": components["schemas"]["TeamMemberCreate"];
|
|
2067
|
+
};
|
|
2068
|
+
};
|
|
2069
|
+
responses: {
|
|
2070
|
+
/** @description TeamMember */
|
|
1751
2071
|
200: {
|
|
1752
2072
|
content: {
|
|
1753
|
-
"application/json": components["schemas"]["
|
|
2073
|
+
"application/json": components["schemas"]["TeamMember"];
|
|
1754
2074
|
};
|
|
1755
2075
|
};
|
|
1756
2076
|
};
|
|
1757
2077
|
};
|
|
1758
2078
|
/**
|
|
1759
|
-
* Get
|
|
1760
|
-
* @description Get
|
|
2079
|
+
* Get Teammember in Account
|
|
2080
|
+
* @description Get Teammember in Account
|
|
1761
2081
|
*/
|
|
1762
|
-
"
|
|
2082
|
+
"teammember/get": {
|
|
1763
2083
|
parameters: {
|
|
1764
2084
|
path: {
|
|
1765
|
-
|
|
2085
|
+
teammember_id: string;
|
|
1766
2086
|
};
|
|
1767
2087
|
};
|
|
1768
2088
|
responses: {
|
|
1769
|
-
/** @description
|
|
2089
|
+
/** @description TeamMember */
|
|
1770
2090
|
200: {
|
|
1771
2091
|
content: {
|
|
1772
2092
|
"application/json": components["schemas"]["TeamMember"];
|
|
@@ -1775,13 +2095,13 @@ export interface operations {
|
|
|
1775
2095
|
};
|
|
1776
2096
|
};
|
|
1777
2097
|
/**
|
|
1778
|
-
* Delete
|
|
1779
|
-
* @description Delete
|
|
2098
|
+
* Delete Teammember in Account
|
|
2099
|
+
* @description Delete Teammember in Account
|
|
1780
2100
|
*/
|
|
1781
|
-
"
|
|
2101
|
+
"teammember/remove": {
|
|
1782
2102
|
parameters: {
|
|
1783
2103
|
path: {
|
|
1784
|
-
|
|
2104
|
+
teammember_id: string;
|
|
1785
2105
|
};
|
|
1786
2106
|
};
|
|
1787
2107
|
responses: {
|
|
@@ -1798,20 +2118,46 @@ export interface operations {
|
|
|
1798
2118
|
"webhook/list": {
|
|
1799
2119
|
parameters: {
|
|
1800
2120
|
query?: {
|
|
1801
|
-
/** @description Filter using a FaableQL query */
|
|
1802
|
-
query?: string;
|
|
1803
2121
|
/** @description Start from this cursor */
|
|
1804
2122
|
cursor?: string;
|
|
2123
|
+
/** @description Start from this cursor */
|
|
2124
|
+
next?: string;
|
|
1805
2125
|
/** @description Size of the results array */
|
|
1806
2126
|
pageSize?: number;
|
|
2127
|
+
/** @description Filter using a FaableQL query */
|
|
2128
|
+
query?: string;
|
|
1807
2129
|
expand?: string[];
|
|
1808
2130
|
};
|
|
1809
2131
|
};
|
|
1810
2132
|
responses: {
|
|
1811
|
-
/** @description
|
|
2133
|
+
/** @description PaginatedResponse */
|
|
2134
|
+
200: {
|
|
2135
|
+
content: {
|
|
2136
|
+
"application/json": {
|
|
2137
|
+
/** @description next cursor */
|
|
2138
|
+
next: string | null;
|
|
2139
|
+
/** @description List of results */
|
|
2140
|
+
results: components["schemas"]["Webhook"][];
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
};
|
|
2144
|
+
};
|
|
2145
|
+
};
|
|
2146
|
+
/**
|
|
2147
|
+
* Create Webhook in Account
|
|
2148
|
+
* @description Create Webhook in Account
|
|
2149
|
+
*/
|
|
2150
|
+
"webhook/create": {
|
|
2151
|
+
requestBody?: {
|
|
2152
|
+
content: {
|
|
2153
|
+
"application/json": components["schemas"]["WebhookCreate"];
|
|
2154
|
+
};
|
|
2155
|
+
};
|
|
2156
|
+
responses: {
|
|
2157
|
+
/** @description Webhook */
|
|
1812
2158
|
200: {
|
|
1813
2159
|
content: {
|
|
1814
|
-
"application/json": components["schemas"]["
|
|
2160
|
+
"application/json": components["schemas"]["Webhook"];
|
|
1815
2161
|
};
|
|
1816
2162
|
};
|
|
1817
2163
|
};
|
|
@@ -1827,7 +2173,7 @@ export interface operations {
|
|
|
1827
2173
|
};
|
|
1828
2174
|
};
|
|
1829
2175
|
responses: {
|
|
1830
|
-
/** @description
|
|
2176
|
+
/** @description Webhook */
|
|
1831
2177
|
200: {
|
|
1832
2178
|
content: {
|
|
1833
2179
|
"application/json": components["schemas"]["Webhook"];
|
|
@@ -1859,20 +2205,46 @@ export interface operations {
|
|
|
1859
2205
|
"api/list": {
|
|
1860
2206
|
parameters: {
|
|
1861
2207
|
query?: {
|
|
1862
|
-
/** @description Filter using a FaableQL query */
|
|
1863
|
-
query?: string;
|
|
1864
2208
|
/** @description Start from this cursor */
|
|
1865
2209
|
cursor?: string;
|
|
2210
|
+
/** @description Start from this cursor */
|
|
2211
|
+
next?: string;
|
|
1866
2212
|
/** @description Size of the results array */
|
|
1867
2213
|
pageSize?: number;
|
|
2214
|
+
/** @description Filter using a FaableQL query */
|
|
2215
|
+
query?: string;
|
|
1868
2216
|
expand?: string[];
|
|
1869
2217
|
};
|
|
1870
2218
|
};
|
|
1871
2219
|
responses: {
|
|
1872
|
-
/** @description
|
|
2220
|
+
/** @description PaginatedResponse */
|
|
2221
|
+
200: {
|
|
2222
|
+
content: {
|
|
2223
|
+
"application/json": {
|
|
2224
|
+
/** @description next cursor */
|
|
2225
|
+
next: string | null;
|
|
2226
|
+
/** @description List of results */
|
|
2227
|
+
results: components["schemas"]["Api"][];
|
|
2228
|
+
};
|
|
2229
|
+
};
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2232
|
+
};
|
|
2233
|
+
/**
|
|
2234
|
+
* Create Api in Account
|
|
2235
|
+
* @description Create Api in Account
|
|
2236
|
+
*/
|
|
2237
|
+
"api/create": {
|
|
2238
|
+
requestBody?: {
|
|
2239
|
+
content: {
|
|
2240
|
+
"application/json": components["schemas"]["ApiCreate"];
|
|
2241
|
+
};
|
|
2242
|
+
};
|
|
2243
|
+
responses: {
|
|
2244
|
+
/** @description Api */
|
|
1873
2245
|
200: {
|
|
1874
2246
|
content: {
|
|
1875
|
-
"application/json": components["schemas"]["
|
|
2247
|
+
"application/json": components["schemas"]["Api"];
|
|
1876
2248
|
};
|
|
1877
2249
|
};
|
|
1878
2250
|
};
|
|
@@ -1888,7 +2260,7 @@ export interface operations {
|
|
|
1888
2260
|
};
|
|
1889
2261
|
};
|
|
1890
2262
|
responses: {
|
|
1891
|
-
/** @description
|
|
2263
|
+
/** @description Api */
|
|
1892
2264
|
200: {
|
|
1893
2265
|
content: {
|
|
1894
2266
|
"application/json": components["schemas"]["Api"];
|
|
@@ -1913,4 +2285,86 @@ export interface operations {
|
|
|
1913
2285
|
};
|
|
1914
2286
|
};
|
|
1915
2287
|
};
|
|
2288
|
+
/** @description Receive a passwordless token and convert it to a valid session */
|
|
2289
|
+
"passwordless/login": {
|
|
2290
|
+
responses: {
|
|
2291
|
+
/** @description Default Response */
|
|
2292
|
+
200: {
|
|
2293
|
+
content: never;
|
|
2294
|
+
};
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
/**
|
|
2298
|
+
* Start Passwordless authentication flow
|
|
2299
|
+
* @description Start Passwordless authentication flow
|
|
2300
|
+
*/
|
|
2301
|
+
"passwordless/start": {
|
|
2302
|
+
requestBody: {
|
|
2303
|
+
content: {
|
|
2304
|
+
"application/json": {
|
|
2305
|
+
email: string;
|
|
2306
|
+
returnTo: string;
|
|
2307
|
+
};
|
|
2308
|
+
};
|
|
2309
|
+
};
|
|
2310
|
+
responses: {
|
|
2311
|
+
/** @description Default Response */
|
|
2312
|
+
200: {
|
|
2313
|
+
content: never;
|
|
2314
|
+
};
|
|
2315
|
+
};
|
|
2316
|
+
};
|
|
2317
|
+
/**
|
|
2318
|
+
* Authorization request
|
|
2319
|
+
* @description Authorization request
|
|
2320
|
+
*/
|
|
2321
|
+
authorize: {
|
|
2322
|
+
parameters: {
|
|
2323
|
+
query: {
|
|
2324
|
+
response_type: string;
|
|
2325
|
+
/** @description Challenge method for PKCE. Only S256 is supported. */
|
|
2326
|
+
code_challenge_method?: string;
|
|
2327
|
+
/** @description Challenge for PKCE authorization code flow */
|
|
2328
|
+
code_challenge?: string;
|
|
2329
|
+
client_id: string;
|
|
2330
|
+
/** @description Deprecated. Use connection_id */
|
|
2331
|
+
connection?: string;
|
|
2332
|
+
/** @description Which oauth connection to use. Leave empty to use default connection */
|
|
2333
|
+
connection_id?: string;
|
|
2334
|
+
scope?: string;
|
|
2335
|
+
/** @description The URL to which Faable will redirect the browser after authorization has been granted by the user. */
|
|
2336
|
+
redirect_uri: string;
|
|
2337
|
+
/** @description An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the application. This value must be used by the application to prevent CSRF attacks. */
|
|
2338
|
+
state?: string;
|
|
2339
|
+
prompt?: string;
|
|
2340
|
+
};
|
|
2341
|
+
};
|
|
2342
|
+
responses: {
|
|
2343
|
+
/** @description Default Response */
|
|
2344
|
+
200: {
|
|
2345
|
+
content: never;
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
};
|
|
2349
|
+
/**
|
|
2350
|
+
* OAuth2 Callback URL
|
|
2351
|
+
* @description OAuth2 Callback URL
|
|
2352
|
+
*/
|
|
2353
|
+
callback: {
|
|
2354
|
+
parameters: {
|
|
2355
|
+
query?: {
|
|
2356
|
+
code?: string;
|
|
2357
|
+
state?: string;
|
|
2358
|
+
error?: string;
|
|
2359
|
+
error_uri?: string;
|
|
2360
|
+
error_description?: string;
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
responses: {
|
|
2364
|
+
/** @description Default Response */
|
|
2365
|
+
200: {
|
|
2366
|
+
content: never;
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
};
|
|
1916
2370
|
}
|