@goauthentik/api 2024.12.3-1739200400 → 2024.12.3-1739801838
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +10 -0
- package/dist/apis/AuthenticatorsApi.d.ts +145 -1
- package/dist/apis/AuthenticatorsApi.js +458 -0
- package/dist/apis/RbacApi.d.ts +4 -0
- package/dist/apis/RbacApi.js +4 -0
- package/dist/apis/SourcesApi.d.ts +1 -0
- package/dist/apis/SourcesApi.js +3 -0
- package/dist/apis/StagesApi.d.ts +99 -1
- package/dist/apis/StagesApi.js +310 -0
- package/dist/esm/apis/AuthenticatorsApi.d.ts +145 -1
- package/dist/esm/apis/AuthenticatorsApi.js +459 -1
- package/dist/esm/apis/RbacApi.d.ts +4 -0
- package/dist/esm/apis/RbacApi.js +4 -0
- package/dist/esm/apis/SourcesApi.d.ts +1 -0
- package/dist/esm/apis/SourcesApi.js +3 -0
- package/dist/esm/apis/StagesApi.d.ts +99 -1
- package/dist/esm/apis/StagesApi.js +311 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/AuthenticatorEmailChallenge.d.ts +72 -0
- package/dist/esm/models/AuthenticatorEmailChallenge.js +58 -0
- package/dist/esm/models/AuthenticatorEmailChallengeResponseRequest.d.ts +44 -0
- package/dist/esm/models/AuthenticatorEmailChallengeResponseRequest.js +45 -0
- package/dist/esm/models/AuthenticatorEmailStage.d.ts +153 -0
- package/dist/esm/models/AuthenticatorEmailStage.js +89 -0
- package/dist/esm/models/AuthenticatorEmailStageRequest.d.ts +123 -0
- package/dist/esm/models/AuthenticatorEmailStageRequest.js +74 -0
- package/dist/esm/models/ChallengeTypes.d.ts +3 -0
- package/dist/esm/models/ChallengeTypes.js +5 -0
- package/dist/esm/models/DeviceClassesEnum.d.ts +1 -0
- package/dist/esm/models/DeviceClassesEnum.js +1 -0
- package/dist/esm/models/EmailDevice.d.ts +51 -0
- package/dist/esm/models/EmailDevice.js +53 -0
- package/dist/esm/models/EmailDeviceRequest.d.ts +32 -0
- package/dist/esm/models/EmailDeviceRequest.js +43 -0
- package/dist/esm/models/FlowChallengeResponseRequest.d.ts +3 -0
- package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/esm/models/ModelEnum.d.ts +2 -0
- package/dist/esm/models/ModelEnum.js +2 -0
- package/dist/esm/models/PaginatedAuthenticatorEmailStageList.d.ts +40 -0
- package/dist/esm/models/PaginatedAuthenticatorEmailStageList.js +49 -0
- package/dist/esm/models/PaginatedEmailDeviceList.d.ts +40 -0
- package/dist/esm/models/PaginatedEmailDeviceList.js +49 -0
- package/dist/esm/models/PatchedAuthenticatorEmailStageRequest.d.ts +123 -0
- package/dist/esm/models/PatchedAuthenticatorEmailStageRequest.js +72 -0
- package/dist/esm/models/PatchedEmailDeviceRequest.d.ts +32 -0
- package/dist/esm/models/PatchedEmailDeviceRequest.js +41 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/AuthenticatorEmailChallenge.d.ts +72 -0
- package/dist/models/AuthenticatorEmailChallenge.js +65 -0
- package/dist/models/AuthenticatorEmailChallengeResponseRequest.d.ts +44 -0
- package/dist/models/AuthenticatorEmailChallengeResponseRequest.js +52 -0
- package/dist/models/AuthenticatorEmailStage.d.ts +153 -0
- package/dist/models/AuthenticatorEmailStage.js +96 -0
- package/dist/models/AuthenticatorEmailStageRequest.d.ts +123 -0
- package/dist/models/AuthenticatorEmailStageRequest.js +81 -0
- package/dist/models/ChallengeTypes.d.ts +3 -0
- package/dist/models/ChallengeTypes.js +5 -0
- package/dist/models/DeviceClassesEnum.d.ts +1 -0
- package/dist/models/DeviceClassesEnum.js +1 -0
- package/dist/models/EmailDevice.d.ts +51 -0
- package/dist/models/EmailDevice.js +60 -0
- package/dist/models/EmailDeviceRequest.d.ts +32 -0
- package/dist/models/EmailDeviceRequest.js +50 -0
- package/dist/models/FlowChallengeResponseRequest.d.ts +3 -0
- package/dist/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/models/ModelEnum.d.ts +2 -0
- package/dist/models/ModelEnum.js +2 -0
- package/dist/models/PaginatedAuthenticatorEmailStageList.d.ts +40 -0
- package/dist/models/PaginatedAuthenticatorEmailStageList.js +56 -0
- package/dist/models/PaginatedEmailDeviceList.d.ts +40 -0
- package/dist/models/PaginatedEmailDeviceList.js +56 -0
- package/dist/models/PatchedAuthenticatorEmailStageRequest.d.ts +123 -0
- package/dist/models/PatchedAuthenticatorEmailStageRequest.js +79 -0
- package/dist/models/PatchedEmailDeviceRequest.d.ts +32 -0
- package/dist/models/PatchedEmailDeviceRequest.js +48 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
- package/src/apis/AuthenticatorsApi.ts +617 -0
- package/src/apis/RbacApi.ts +4 -0
- package/src/apis/SourcesApi.ts +5 -0
- package/src/apis/StagesApi.ts +436 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/AuthenticatorEmailChallenge.ts +130 -0
- package/src/models/AuthenticatorEmailChallengeResponseRequest.ts +81 -0
- package/src/models/AuthenticatorEmailStage.ts +234 -0
- package/src/models/AuthenticatorEmailStageRequest.ts +194 -0
- package/src/models/ChallengeTypes.ts +12 -1
- package/src/models/DeviceClassesEnum.ts +1 -0
- package/src/models/EmailDevice.ts +98 -0
- package/src/models/EmailDeviceRequest.ts +66 -0
- package/src/models/FlowChallengeResponseRequest.ts +12 -1
- package/src/models/ModelEnum.ts +2 -0
- package/src/models/PaginatedAuthenticatorEmailStageList.ts +90 -0
- package/src/models/PaginatedEmailDeviceList.ts +90 -0
- package/src/models/PatchedAuthenticatorEmailStageRequest.ts +193 -0
- package/src/models/PatchedEmailDeviceRequest.ts +65 -0
- package/src/models/index.ts +10 -0
|
@@ -294,6 +294,236 @@ class AuthenticatorsApi extends runtime.BaseAPI {
|
|
|
294
294
|
return yield response.value();
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
|
+
/**
|
|
298
|
+
* Viewset for email authenticator devices (for admins)
|
|
299
|
+
*/
|
|
300
|
+
authenticatorsAdminEmailCreateRaw(requestParameters, initOverrides) {
|
|
301
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
302
|
+
if (requestParameters['emailDeviceRequest'] == null) {
|
|
303
|
+
throw new runtime.RequiredError('emailDeviceRequest', 'Required parameter "emailDeviceRequest" was null or undefined when calling authenticatorsAdminEmailCreate().');
|
|
304
|
+
}
|
|
305
|
+
const queryParameters = {};
|
|
306
|
+
const headerParameters = {};
|
|
307
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
308
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
309
|
+
const token = this.configuration.accessToken;
|
|
310
|
+
const tokenString = yield token("authentik", []);
|
|
311
|
+
if (tokenString) {
|
|
312
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
const response = yield this.request({
|
|
316
|
+
path: `/authenticators/admin/email/`,
|
|
317
|
+
method: 'POST',
|
|
318
|
+
headers: headerParameters,
|
|
319
|
+
query: queryParameters,
|
|
320
|
+
body: (0, index_1.EmailDeviceRequestToJSON)(requestParameters['emailDeviceRequest']),
|
|
321
|
+
}, initOverrides);
|
|
322
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EmailDeviceFromJSON)(jsonValue));
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Viewset for email authenticator devices (for admins)
|
|
327
|
+
*/
|
|
328
|
+
authenticatorsAdminEmailCreate(requestParameters, initOverrides) {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
330
|
+
const response = yield this.authenticatorsAdminEmailCreateRaw(requestParameters, initOverrides);
|
|
331
|
+
return yield response.value();
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Viewset for email authenticator devices (for admins)
|
|
336
|
+
*/
|
|
337
|
+
authenticatorsAdminEmailDestroyRaw(requestParameters, initOverrides) {
|
|
338
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
339
|
+
if (requestParameters['id'] == null) {
|
|
340
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsAdminEmailDestroy().');
|
|
341
|
+
}
|
|
342
|
+
const queryParameters = {};
|
|
343
|
+
const headerParameters = {};
|
|
344
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
345
|
+
const token = this.configuration.accessToken;
|
|
346
|
+
const tokenString = yield token("authentik", []);
|
|
347
|
+
if (tokenString) {
|
|
348
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
const response = yield this.request({
|
|
352
|
+
path: `/authenticators/admin/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
353
|
+
method: 'DELETE',
|
|
354
|
+
headers: headerParameters,
|
|
355
|
+
query: queryParameters,
|
|
356
|
+
}, initOverrides);
|
|
357
|
+
return new runtime.VoidApiResponse(response);
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* Viewset for email authenticator devices (for admins)
|
|
362
|
+
*/
|
|
363
|
+
authenticatorsAdminEmailDestroy(requestParameters, initOverrides) {
|
|
364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
365
|
+
yield this.authenticatorsAdminEmailDestroyRaw(requestParameters, initOverrides);
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Viewset for email authenticator devices (for admins)
|
|
370
|
+
*/
|
|
371
|
+
authenticatorsAdminEmailListRaw(requestParameters, initOverrides) {
|
|
372
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
373
|
+
const queryParameters = {};
|
|
374
|
+
if (requestParameters['name'] != null) {
|
|
375
|
+
queryParameters['name'] = requestParameters['name'];
|
|
376
|
+
}
|
|
377
|
+
if (requestParameters['ordering'] != null) {
|
|
378
|
+
queryParameters['ordering'] = requestParameters['ordering'];
|
|
379
|
+
}
|
|
380
|
+
if (requestParameters['page'] != null) {
|
|
381
|
+
queryParameters['page'] = requestParameters['page'];
|
|
382
|
+
}
|
|
383
|
+
if (requestParameters['pageSize'] != null) {
|
|
384
|
+
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
385
|
+
}
|
|
386
|
+
if (requestParameters['search'] != null) {
|
|
387
|
+
queryParameters['search'] = requestParameters['search'];
|
|
388
|
+
}
|
|
389
|
+
const headerParameters = {};
|
|
390
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
391
|
+
const token = this.configuration.accessToken;
|
|
392
|
+
const tokenString = yield token("authentik", []);
|
|
393
|
+
if (tokenString) {
|
|
394
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
const response = yield this.request({
|
|
398
|
+
path: `/authenticators/admin/email/`,
|
|
399
|
+
method: 'GET',
|
|
400
|
+
headers: headerParameters,
|
|
401
|
+
query: queryParameters,
|
|
402
|
+
}, initOverrides);
|
|
403
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PaginatedEmailDeviceListFromJSON)(jsonValue));
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Viewset for email authenticator devices (for admins)
|
|
408
|
+
*/
|
|
409
|
+
authenticatorsAdminEmailList() {
|
|
410
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
411
|
+
const response = yield this.authenticatorsAdminEmailListRaw(requestParameters, initOverrides);
|
|
412
|
+
return yield response.value();
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Viewset for email authenticator devices (for admins)
|
|
417
|
+
*/
|
|
418
|
+
authenticatorsAdminEmailPartialUpdateRaw(requestParameters, initOverrides) {
|
|
419
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
420
|
+
if (requestParameters['id'] == null) {
|
|
421
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsAdminEmailPartialUpdate().');
|
|
422
|
+
}
|
|
423
|
+
const queryParameters = {};
|
|
424
|
+
const headerParameters = {};
|
|
425
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
426
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
427
|
+
const token = this.configuration.accessToken;
|
|
428
|
+
const tokenString = yield token("authentik", []);
|
|
429
|
+
if (tokenString) {
|
|
430
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
const response = yield this.request({
|
|
434
|
+
path: `/authenticators/admin/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
435
|
+
method: 'PATCH',
|
|
436
|
+
headers: headerParameters,
|
|
437
|
+
query: queryParameters,
|
|
438
|
+
body: (0, index_1.PatchedEmailDeviceRequestToJSON)(requestParameters['patchedEmailDeviceRequest']),
|
|
439
|
+
}, initOverrides);
|
|
440
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EmailDeviceFromJSON)(jsonValue));
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* Viewset for email authenticator devices (for admins)
|
|
445
|
+
*/
|
|
446
|
+
authenticatorsAdminEmailPartialUpdate(requestParameters, initOverrides) {
|
|
447
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
448
|
+
const response = yield this.authenticatorsAdminEmailPartialUpdateRaw(requestParameters, initOverrides);
|
|
449
|
+
return yield response.value();
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Viewset for email authenticator devices (for admins)
|
|
454
|
+
*/
|
|
455
|
+
authenticatorsAdminEmailRetrieveRaw(requestParameters, initOverrides) {
|
|
456
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
457
|
+
if (requestParameters['id'] == null) {
|
|
458
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsAdminEmailRetrieve().');
|
|
459
|
+
}
|
|
460
|
+
const queryParameters = {};
|
|
461
|
+
const headerParameters = {};
|
|
462
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
463
|
+
const token = this.configuration.accessToken;
|
|
464
|
+
const tokenString = yield token("authentik", []);
|
|
465
|
+
if (tokenString) {
|
|
466
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
const response = yield this.request({
|
|
470
|
+
path: `/authenticators/admin/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
471
|
+
method: 'GET',
|
|
472
|
+
headers: headerParameters,
|
|
473
|
+
query: queryParameters,
|
|
474
|
+
}, initOverrides);
|
|
475
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EmailDeviceFromJSON)(jsonValue));
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Viewset for email authenticator devices (for admins)
|
|
480
|
+
*/
|
|
481
|
+
authenticatorsAdminEmailRetrieve(requestParameters, initOverrides) {
|
|
482
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
483
|
+
const response = yield this.authenticatorsAdminEmailRetrieveRaw(requestParameters, initOverrides);
|
|
484
|
+
return yield response.value();
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Viewset for email authenticator devices (for admins)
|
|
489
|
+
*/
|
|
490
|
+
authenticatorsAdminEmailUpdateRaw(requestParameters, initOverrides) {
|
|
491
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
492
|
+
if (requestParameters['id'] == null) {
|
|
493
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsAdminEmailUpdate().');
|
|
494
|
+
}
|
|
495
|
+
if (requestParameters['emailDeviceRequest'] == null) {
|
|
496
|
+
throw new runtime.RequiredError('emailDeviceRequest', 'Required parameter "emailDeviceRequest" was null or undefined when calling authenticatorsAdminEmailUpdate().');
|
|
497
|
+
}
|
|
498
|
+
const queryParameters = {};
|
|
499
|
+
const headerParameters = {};
|
|
500
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
501
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
502
|
+
const token = this.configuration.accessToken;
|
|
503
|
+
const tokenString = yield token("authentik", []);
|
|
504
|
+
if (tokenString) {
|
|
505
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
const response = yield this.request({
|
|
509
|
+
path: `/authenticators/admin/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
510
|
+
method: 'PUT',
|
|
511
|
+
headers: headerParameters,
|
|
512
|
+
query: queryParameters,
|
|
513
|
+
body: (0, index_1.EmailDeviceRequestToJSON)(requestParameters['emailDeviceRequest']),
|
|
514
|
+
}, initOverrides);
|
|
515
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EmailDeviceFromJSON)(jsonValue));
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Viewset for email authenticator devices (for admins)
|
|
520
|
+
*/
|
|
521
|
+
authenticatorsAdminEmailUpdate(requestParameters, initOverrides) {
|
|
522
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
523
|
+
const response = yield this.authenticatorsAdminEmailUpdateRaw(requestParameters, initOverrides);
|
|
524
|
+
return yield response.value();
|
|
525
|
+
});
|
|
526
|
+
}
|
|
297
527
|
/**
|
|
298
528
|
* Viewset for Endpoint authenticator devices (for admins)
|
|
299
529
|
*/
|
|
@@ -1704,6 +1934,234 @@ class AuthenticatorsApi extends runtime.BaseAPI {
|
|
|
1704
1934
|
return yield response.value();
|
|
1705
1935
|
});
|
|
1706
1936
|
}
|
|
1937
|
+
/**
|
|
1938
|
+
* Viewset for email authenticator devices
|
|
1939
|
+
*/
|
|
1940
|
+
authenticatorsEmailDestroyRaw(requestParameters, initOverrides) {
|
|
1941
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1942
|
+
if (requestParameters['id'] == null) {
|
|
1943
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailDestroy().');
|
|
1944
|
+
}
|
|
1945
|
+
const queryParameters = {};
|
|
1946
|
+
const headerParameters = {};
|
|
1947
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1948
|
+
const token = this.configuration.accessToken;
|
|
1949
|
+
const tokenString = yield token("authentik", []);
|
|
1950
|
+
if (tokenString) {
|
|
1951
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
const response = yield this.request({
|
|
1955
|
+
path: `/authenticators/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
1956
|
+
method: 'DELETE',
|
|
1957
|
+
headers: headerParameters,
|
|
1958
|
+
query: queryParameters,
|
|
1959
|
+
}, initOverrides);
|
|
1960
|
+
return new runtime.VoidApiResponse(response);
|
|
1961
|
+
});
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* Viewset for email authenticator devices
|
|
1965
|
+
*/
|
|
1966
|
+
authenticatorsEmailDestroy(requestParameters, initOverrides) {
|
|
1967
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1968
|
+
yield this.authenticatorsEmailDestroyRaw(requestParameters, initOverrides);
|
|
1969
|
+
});
|
|
1970
|
+
}
|
|
1971
|
+
/**
|
|
1972
|
+
* Viewset for email authenticator devices
|
|
1973
|
+
*/
|
|
1974
|
+
authenticatorsEmailListRaw(requestParameters, initOverrides) {
|
|
1975
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1976
|
+
const queryParameters = {};
|
|
1977
|
+
if (requestParameters['name'] != null) {
|
|
1978
|
+
queryParameters['name'] = requestParameters['name'];
|
|
1979
|
+
}
|
|
1980
|
+
if (requestParameters['ordering'] != null) {
|
|
1981
|
+
queryParameters['ordering'] = requestParameters['ordering'];
|
|
1982
|
+
}
|
|
1983
|
+
if (requestParameters['page'] != null) {
|
|
1984
|
+
queryParameters['page'] = requestParameters['page'];
|
|
1985
|
+
}
|
|
1986
|
+
if (requestParameters['pageSize'] != null) {
|
|
1987
|
+
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
1988
|
+
}
|
|
1989
|
+
if (requestParameters['search'] != null) {
|
|
1990
|
+
queryParameters['search'] = requestParameters['search'];
|
|
1991
|
+
}
|
|
1992
|
+
const headerParameters = {};
|
|
1993
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1994
|
+
const token = this.configuration.accessToken;
|
|
1995
|
+
const tokenString = yield token("authentik", []);
|
|
1996
|
+
if (tokenString) {
|
|
1997
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1998
|
+
}
|
|
1999
|
+
}
|
|
2000
|
+
const response = yield this.request({
|
|
2001
|
+
path: `/authenticators/email/`,
|
|
2002
|
+
method: 'GET',
|
|
2003
|
+
headers: headerParameters,
|
|
2004
|
+
query: queryParameters,
|
|
2005
|
+
}, initOverrides);
|
|
2006
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PaginatedEmailDeviceListFromJSON)(jsonValue));
|
|
2007
|
+
});
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* Viewset for email authenticator devices
|
|
2011
|
+
*/
|
|
2012
|
+
authenticatorsEmailList() {
|
|
2013
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
2014
|
+
const response = yield this.authenticatorsEmailListRaw(requestParameters, initOverrides);
|
|
2015
|
+
return yield response.value();
|
|
2016
|
+
});
|
|
2017
|
+
}
|
|
2018
|
+
/**
|
|
2019
|
+
* Viewset for email authenticator devices
|
|
2020
|
+
*/
|
|
2021
|
+
authenticatorsEmailPartialUpdateRaw(requestParameters, initOverrides) {
|
|
2022
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2023
|
+
if (requestParameters['id'] == null) {
|
|
2024
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailPartialUpdate().');
|
|
2025
|
+
}
|
|
2026
|
+
const queryParameters = {};
|
|
2027
|
+
const headerParameters = {};
|
|
2028
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2029
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2030
|
+
const token = this.configuration.accessToken;
|
|
2031
|
+
const tokenString = yield token("authentik", []);
|
|
2032
|
+
if (tokenString) {
|
|
2033
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
const response = yield this.request({
|
|
2037
|
+
path: `/authenticators/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
2038
|
+
method: 'PATCH',
|
|
2039
|
+
headers: headerParameters,
|
|
2040
|
+
query: queryParameters,
|
|
2041
|
+
body: (0, index_1.PatchedEmailDeviceRequestToJSON)(requestParameters['patchedEmailDeviceRequest']),
|
|
2042
|
+
}, initOverrides);
|
|
2043
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EmailDeviceFromJSON)(jsonValue));
|
|
2044
|
+
});
|
|
2045
|
+
}
|
|
2046
|
+
/**
|
|
2047
|
+
* Viewset for email authenticator devices
|
|
2048
|
+
*/
|
|
2049
|
+
authenticatorsEmailPartialUpdate(requestParameters, initOverrides) {
|
|
2050
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2051
|
+
const response = yield this.authenticatorsEmailPartialUpdateRaw(requestParameters, initOverrides);
|
|
2052
|
+
return yield response.value();
|
|
2053
|
+
});
|
|
2054
|
+
}
|
|
2055
|
+
/**
|
|
2056
|
+
* Viewset for email authenticator devices
|
|
2057
|
+
*/
|
|
2058
|
+
authenticatorsEmailRetrieveRaw(requestParameters, initOverrides) {
|
|
2059
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2060
|
+
if (requestParameters['id'] == null) {
|
|
2061
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailRetrieve().');
|
|
2062
|
+
}
|
|
2063
|
+
const queryParameters = {};
|
|
2064
|
+
const headerParameters = {};
|
|
2065
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2066
|
+
const token = this.configuration.accessToken;
|
|
2067
|
+
const tokenString = yield token("authentik", []);
|
|
2068
|
+
if (tokenString) {
|
|
2069
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
const response = yield this.request({
|
|
2073
|
+
path: `/authenticators/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
2074
|
+
method: 'GET',
|
|
2075
|
+
headers: headerParameters,
|
|
2076
|
+
query: queryParameters,
|
|
2077
|
+
}, initOverrides);
|
|
2078
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EmailDeviceFromJSON)(jsonValue));
|
|
2079
|
+
});
|
|
2080
|
+
}
|
|
2081
|
+
/**
|
|
2082
|
+
* Viewset for email authenticator devices
|
|
2083
|
+
*/
|
|
2084
|
+
authenticatorsEmailRetrieve(requestParameters, initOverrides) {
|
|
2085
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2086
|
+
const response = yield this.authenticatorsEmailRetrieveRaw(requestParameters, initOverrides);
|
|
2087
|
+
return yield response.value();
|
|
2088
|
+
});
|
|
2089
|
+
}
|
|
2090
|
+
/**
|
|
2091
|
+
* Viewset for email authenticator devices
|
|
2092
|
+
*/
|
|
2093
|
+
authenticatorsEmailUpdateRaw(requestParameters, initOverrides) {
|
|
2094
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2095
|
+
if (requestParameters['id'] == null) {
|
|
2096
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailUpdate().');
|
|
2097
|
+
}
|
|
2098
|
+
if (requestParameters['emailDeviceRequest'] == null) {
|
|
2099
|
+
throw new runtime.RequiredError('emailDeviceRequest', 'Required parameter "emailDeviceRequest" was null or undefined when calling authenticatorsEmailUpdate().');
|
|
2100
|
+
}
|
|
2101
|
+
const queryParameters = {};
|
|
2102
|
+
const headerParameters = {};
|
|
2103
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2104
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2105
|
+
const token = this.configuration.accessToken;
|
|
2106
|
+
const tokenString = yield token("authentik", []);
|
|
2107
|
+
if (tokenString) {
|
|
2108
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
const response = yield this.request({
|
|
2112
|
+
path: `/authenticators/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
2113
|
+
method: 'PUT',
|
|
2114
|
+
headers: headerParameters,
|
|
2115
|
+
query: queryParameters,
|
|
2116
|
+
body: (0, index_1.EmailDeviceRequestToJSON)(requestParameters['emailDeviceRequest']),
|
|
2117
|
+
}, initOverrides);
|
|
2118
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EmailDeviceFromJSON)(jsonValue));
|
|
2119
|
+
});
|
|
2120
|
+
}
|
|
2121
|
+
/**
|
|
2122
|
+
* Viewset for email authenticator devices
|
|
2123
|
+
*/
|
|
2124
|
+
authenticatorsEmailUpdate(requestParameters, initOverrides) {
|
|
2125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2126
|
+
const response = yield this.authenticatorsEmailUpdateRaw(requestParameters, initOverrides);
|
|
2127
|
+
return yield response.value();
|
|
2128
|
+
});
|
|
2129
|
+
}
|
|
2130
|
+
/**
|
|
2131
|
+
* Get a list of all objects that use this object
|
|
2132
|
+
*/
|
|
2133
|
+
authenticatorsEmailUsedByListRaw(requestParameters, initOverrides) {
|
|
2134
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2135
|
+
if (requestParameters['id'] == null) {
|
|
2136
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailUsedByList().');
|
|
2137
|
+
}
|
|
2138
|
+
const queryParameters = {};
|
|
2139
|
+
const headerParameters = {};
|
|
2140
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2141
|
+
const token = this.configuration.accessToken;
|
|
2142
|
+
const tokenString = yield token("authentik", []);
|
|
2143
|
+
if (tokenString) {
|
|
2144
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
const response = yield this.request({
|
|
2148
|
+
path: `/authenticators/email/{id}/used_by/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
2149
|
+
method: 'GET',
|
|
2150
|
+
headers: headerParameters,
|
|
2151
|
+
query: queryParameters,
|
|
2152
|
+
}, initOverrides);
|
|
2153
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.UsedByFromJSON));
|
|
2154
|
+
});
|
|
2155
|
+
}
|
|
2156
|
+
/**
|
|
2157
|
+
* Get a list of all objects that use this object
|
|
2158
|
+
*/
|
|
2159
|
+
authenticatorsEmailUsedByList(requestParameters, initOverrides) {
|
|
2160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2161
|
+
const response = yield this.authenticatorsEmailUsedByListRaw(requestParameters, initOverrides);
|
|
2162
|
+
return yield response.value();
|
|
2163
|
+
});
|
|
2164
|
+
}
|
|
1707
2165
|
/**
|
|
1708
2166
|
* Viewset for Endpoint authenticator devices
|
|
1709
2167
|
*/
|
package/dist/apis/RbacApi.d.ts
CHANGED
|
@@ -403,6 +403,8 @@ export declare const RbacPermissionsAssignedByRolesListModelEnum: {
|
|
|
403
403
|
readonly AuthentikSourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
|
|
404
404
|
readonly AuthentikStagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
|
|
405
405
|
readonly AuthentikStagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
|
|
406
|
+
readonly AuthentikStagesAuthenticatorEmailAuthenticatoremailstage: "authentik_stages_authenticator_email.authenticatoremailstage";
|
|
407
|
+
readonly AuthentikStagesAuthenticatorEmailEmaildevice: "authentik_stages_authenticator_email.emaildevice";
|
|
406
408
|
readonly AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: "authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage";
|
|
407
409
|
readonly AuthentikStagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
|
|
408
410
|
readonly AuthentikStagesAuthenticatorSmsSmsdevice: "authentik_stages_authenticator_sms.smsdevice";
|
|
@@ -507,6 +509,8 @@ export declare const RbacPermissionsAssignedByUsersListModelEnum: {
|
|
|
507
509
|
readonly AuthentikSourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
|
|
508
510
|
readonly AuthentikStagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
|
|
509
511
|
readonly AuthentikStagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
|
|
512
|
+
readonly AuthentikStagesAuthenticatorEmailAuthenticatoremailstage: "authentik_stages_authenticator_email.authenticatoremailstage";
|
|
513
|
+
readonly AuthentikStagesAuthenticatorEmailEmaildevice: "authentik_stages_authenticator_email.emaildevice";
|
|
510
514
|
readonly AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: "authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage";
|
|
511
515
|
readonly AuthentikStagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
|
|
512
516
|
readonly AuthentikStagesAuthenticatorSmsSmsdevice: "authentik_stages_authenticator_sms.smsdevice";
|
package/dist/apis/RbacApi.js
CHANGED
|
@@ -1106,6 +1106,8 @@ exports.RbacPermissionsAssignedByRolesListModelEnum = {
|
|
|
1106
1106
|
AuthentikSourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
|
1107
1107
|
AuthentikStagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
1108
1108
|
AuthentikStagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
1109
|
+
AuthentikStagesAuthenticatorEmailAuthenticatoremailstage: 'authentik_stages_authenticator_email.authenticatoremailstage',
|
|
1110
|
+
AuthentikStagesAuthenticatorEmailEmaildevice: 'authentik_stages_authenticator_email.emaildevice',
|
|
1109
1111
|
AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
|
|
1110
1112
|
AuthentikStagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|
|
1111
1113
|
AuthentikStagesAuthenticatorSmsSmsdevice: 'authentik_stages_authenticator_sms.smsdevice',
|
|
@@ -1209,6 +1211,8 @@ exports.RbacPermissionsAssignedByUsersListModelEnum = {
|
|
|
1209
1211
|
AuthentikSourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
|
1210
1212
|
AuthentikStagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
1211
1213
|
AuthentikStagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
1214
|
+
AuthentikStagesAuthenticatorEmailAuthenticatoremailstage: 'authentik_stages_authenticator_email.authenticatoremailstage',
|
|
1215
|
+
AuthentikStagesAuthenticatorEmailEmaildevice: 'authentik_stages_authenticator_email.emaildevice',
|
|
1212
1216
|
AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
|
|
1213
1217
|
AuthentikStagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|
|
1214
1218
|
AuthentikStagesAuthenticatorSmsSmsdevice: 'authentik_stages_authenticator_sms.smsdevice',
|
package/dist/apis/SourcesApi.js
CHANGED
|
@@ -84,6 +84,9 @@ class SourcesApi extends runtime.BaseAPI {
|
|
|
84
84
|
if (requestParameters['pageSize'] != null) {
|
|
85
85
|
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
86
86
|
}
|
|
87
|
+
if (requestParameters['pbmUuid'] != null) {
|
|
88
|
+
queryParameters['pbm_uuid'] = requestParameters['pbmUuid'];
|
|
89
|
+
}
|
|
87
90
|
if (requestParameters['search'] != null) {
|
|
88
91
|
queryParameters['search'] = requestParameters['search'];
|
|
89
92
|
}
|
package/dist/apis/StagesApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AuthenticatorDuoStage, AuthenticatorDuoStageDeviceImportResponse, AuthenticatorDuoStageManualDeviceImportRequest, AuthenticatorDuoStageRequest, AuthenticatorEndpointGDTCStage, AuthenticatorEndpointGDTCStageRequest, AuthenticatorSMSStage, AuthenticatorSMSStageRequest, AuthenticatorStaticStage, AuthenticatorStaticStageRequest, AuthenticatorTOTPStage, AuthenticatorTOTPStageRequest, AuthenticatorValidateStage, AuthenticatorValidateStageRequest, AuthenticatorWebAuthnStage, AuthenticatorWebAuthnStageRequest, CaptchaStage, CaptchaStageRequest, ConsentStage, ConsentStageRequest, DenyStage, DenyStageRequest, DummyStage, DummyStageRequest, DuoDeviceEnrollmentStatus, EmailStage, EmailStageRequest, IdentificationStage, IdentificationStageRequest, Invitation, InvitationRequest, InvitationStage, InvitationStageRequest, PaginatedAuthenticatorDuoStageList, PaginatedAuthenticatorEndpointGDTCStageList, PaginatedAuthenticatorSMSStageList, PaginatedAuthenticatorStaticStageList, PaginatedAuthenticatorTOTPStageList, PaginatedAuthenticatorValidateStageList, PaginatedAuthenticatorWebAuthnStageList, PaginatedCaptchaStageList, PaginatedConsentStageList, PaginatedDenyStageList, PaginatedDummyStageList, PaginatedEmailStageList, PaginatedIdentificationStageList, PaginatedInvitationList, PaginatedInvitationStageList, PaginatedPasswordStageList, PaginatedPromptList, PaginatedPromptStageList, PaginatedRedirectStageList, PaginatedSourceStageList, PaginatedStageList, PaginatedUserDeleteStageList, PaginatedUserLoginStageList, PaginatedUserLogoutStageList, PaginatedUserWriteStageList, PaginatedWebAuthnDeviceTypeList, PasswordStage, PasswordStageRequest, PatchedAuthenticatorDuoStageRequest, PatchedAuthenticatorEndpointGDTCStageRequest, PatchedAuthenticatorSMSStageRequest, PatchedAuthenticatorStaticStageRequest, PatchedAuthenticatorTOTPStageRequest, PatchedAuthenticatorValidateStageRequest, PatchedAuthenticatorWebAuthnStageRequest, PatchedCaptchaStageRequest, PatchedConsentStageRequest, PatchedDenyStageRequest, PatchedDummyStageRequest, PatchedEmailStageRequest, PatchedIdentificationStageRequest, PatchedInvitationRequest, PatchedInvitationStageRequest, PatchedPasswordStageRequest, PatchedPromptRequest, PatchedPromptStageRequest, PatchedRedirectStageRequest, PatchedSourceStageRequest, PatchedUserDeleteStageRequest, PatchedUserLoginStageRequest, PatchedUserLogoutStageRequest, PatchedUserWriteStageRequest, Prompt, PromptChallenge, PromptRequest, PromptStage, PromptStageRequest, RedirectStage, RedirectStageRequest, SourceStage, SourceStageRequest, Stage, TypeCreate, UsedBy, UserDeleteStage, UserDeleteStageRequest, UserLoginStage, UserLoginStageRequest, UserLogoutStage, UserLogoutStageRequest, UserSetting, UserWriteStage, UserWriteStageRequest, WebAuthnDeviceType } from '../models/index';
|
|
13
|
+
import type { AuthenticatorDuoStage, AuthenticatorDuoStageDeviceImportResponse, AuthenticatorDuoStageManualDeviceImportRequest, AuthenticatorDuoStageRequest, AuthenticatorEmailStage, AuthenticatorEmailStageRequest, AuthenticatorEndpointGDTCStage, AuthenticatorEndpointGDTCStageRequest, AuthenticatorSMSStage, AuthenticatorSMSStageRequest, AuthenticatorStaticStage, AuthenticatorStaticStageRequest, AuthenticatorTOTPStage, AuthenticatorTOTPStageRequest, AuthenticatorValidateStage, AuthenticatorValidateStageRequest, AuthenticatorWebAuthnStage, AuthenticatorWebAuthnStageRequest, CaptchaStage, CaptchaStageRequest, ConsentStage, ConsentStageRequest, DenyStage, DenyStageRequest, DummyStage, DummyStageRequest, DuoDeviceEnrollmentStatus, EmailStage, EmailStageRequest, IdentificationStage, IdentificationStageRequest, Invitation, InvitationRequest, InvitationStage, InvitationStageRequest, PaginatedAuthenticatorDuoStageList, PaginatedAuthenticatorEmailStageList, PaginatedAuthenticatorEndpointGDTCStageList, PaginatedAuthenticatorSMSStageList, PaginatedAuthenticatorStaticStageList, PaginatedAuthenticatorTOTPStageList, PaginatedAuthenticatorValidateStageList, PaginatedAuthenticatorWebAuthnStageList, PaginatedCaptchaStageList, PaginatedConsentStageList, PaginatedDenyStageList, PaginatedDummyStageList, PaginatedEmailStageList, PaginatedIdentificationStageList, PaginatedInvitationList, PaginatedInvitationStageList, PaginatedPasswordStageList, PaginatedPromptList, PaginatedPromptStageList, PaginatedRedirectStageList, PaginatedSourceStageList, PaginatedStageList, PaginatedUserDeleteStageList, PaginatedUserLoginStageList, PaginatedUserLogoutStageList, PaginatedUserWriteStageList, PaginatedWebAuthnDeviceTypeList, PasswordStage, PasswordStageRequest, PatchedAuthenticatorDuoStageRequest, PatchedAuthenticatorEmailStageRequest, PatchedAuthenticatorEndpointGDTCStageRequest, PatchedAuthenticatorSMSStageRequest, PatchedAuthenticatorStaticStageRequest, PatchedAuthenticatorTOTPStageRequest, PatchedAuthenticatorValidateStageRequest, PatchedAuthenticatorWebAuthnStageRequest, PatchedCaptchaStageRequest, PatchedConsentStageRequest, PatchedDenyStageRequest, PatchedDummyStageRequest, PatchedEmailStageRequest, PatchedIdentificationStageRequest, PatchedInvitationRequest, PatchedInvitationStageRequest, PatchedPasswordStageRequest, PatchedPromptRequest, PatchedPromptStageRequest, PatchedRedirectStageRequest, PatchedSourceStageRequest, PatchedUserDeleteStageRequest, PatchedUserLoginStageRequest, PatchedUserLogoutStageRequest, PatchedUserWriteStageRequest, Prompt, PromptChallenge, PromptRequest, PromptStage, PromptStageRequest, RedirectStage, RedirectStageRequest, SourceStage, SourceStageRequest, Stage, TypeCreate, UsedBy, UserDeleteStage, UserDeleteStageRequest, UserLoginStage, UserLoginStageRequest, UserLogoutStage, UserLogoutStageRequest, UserSetting, UserWriteStage, UserWriteStageRequest, WebAuthnDeviceType } from '../models/index';
|
|
14
14
|
export interface StagesAllDestroyRequest {
|
|
15
15
|
stageUuid: string;
|
|
16
16
|
}
|
|
@@ -67,6 +67,48 @@ export interface StagesAuthenticatorDuoUpdateRequest {
|
|
|
67
67
|
export interface StagesAuthenticatorDuoUsedByListRequest {
|
|
68
68
|
stageUuid: string;
|
|
69
69
|
}
|
|
70
|
+
export interface StagesAuthenticatorEmailCreateRequest {
|
|
71
|
+
authenticatorEmailStageRequest: AuthenticatorEmailStageRequest;
|
|
72
|
+
}
|
|
73
|
+
export interface StagesAuthenticatorEmailDestroyRequest {
|
|
74
|
+
stageUuid: string;
|
|
75
|
+
}
|
|
76
|
+
export interface StagesAuthenticatorEmailListRequest {
|
|
77
|
+
configureFlow?: string;
|
|
78
|
+
friendlyName?: string;
|
|
79
|
+
fromAddress?: string;
|
|
80
|
+
host?: string;
|
|
81
|
+
name?: string;
|
|
82
|
+
ordering?: string;
|
|
83
|
+
page?: number;
|
|
84
|
+
pageSize?: number;
|
|
85
|
+
password?: string;
|
|
86
|
+
port?: number;
|
|
87
|
+
search?: string;
|
|
88
|
+
stageUuid?: string;
|
|
89
|
+
subject?: string;
|
|
90
|
+
template?: string;
|
|
91
|
+
timeout?: number;
|
|
92
|
+
tokenExpiry?: string;
|
|
93
|
+
useGlobalSettings?: boolean;
|
|
94
|
+
useSsl?: boolean;
|
|
95
|
+
useTls?: boolean;
|
|
96
|
+
username?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface StagesAuthenticatorEmailPartialUpdateRequest {
|
|
99
|
+
stageUuid: string;
|
|
100
|
+
patchedAuthenticatorEmailStageRequest?: PatchedAuthenticatorEmailStageRequest;
|
|
101
|
+
}
|
|
102
|
+
export interface StagesAuthenticatorEmailRetrieveRequest {
|
|
103
|
+
stageUuid: string;
|
|
104
|
+
}
|
|
105
|
+
export interface StagesAuthenticatorEmailUpdateRequest {
|
|
106
|
+
stageUuid: string;
|
|
107
|
+
authenticatorEmailStageRequest: AuthenticatorEmailStageRequest;
|
|
108
|
+
}
|
|
109
|
+
export interface StagesAuthenticatorEmailUsedByListRequest {
|
|
110
|
+
stageUuid: string;
|
|
111
|
+
}
|
|
70
112
|
export interface StagesAuthenticatorEndpointGdtcCreateRequest {
|
|
71
113
|
authenticatorEndpointGDTCStageRequest: AuthenticatorEndpointGDTCStageRequest;
|
|
72
114
|
}
|
|
@@ -926,6 +968,62 @@ export declare class StagesApi extends runtime.BaseAPI {
|
|
|
926
968
|
* Get a list of all objects that use this object
|
|
927
969
|
*/
|
|
928
970
|
stagesAuthenticatorDuoUsedByList(requestParameters: StagesAuthenticatorDuoUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
|
971
|
+
/**
|
|
972
|
+
* AuthenticatorEmailStage Viewset
|
|
973
|
+
*/
|
|
974
|
+
stagesAuthenticatorEmailCreateRaw(requestParameters: StagesAuthenticatorEmailCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuthenticatorEmailStage>>;
|
|
975
|
+
/**
|
|
976
|
+
* AuthenticatorEmailStage Viewset
|
|
977
|
+
*/
|
|
978
|
+
stagesAuthenticatorEmailCreate(requestParameters: StagesAuthenticatorEmailCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuthenticatorEmailStage>;
|
|
979
|
+
/**
|
|
980
|
+
* AuthenticatorEmailStage Viewset
|
|
981
|
+
*/
|
|
982
|
+
stagesAuthenticatorEmailDestroyRaw(requestParameters: StagesAuthenticatorEmailDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
983
|
+
/**
|
|
984
|
+
* AuthenticatorEmailStage Viewset
|
|
985
|
+
*/
|
|
986
|
+
stagesAuthenticatorEmailDestroy(requestParameters: StagesAuthenticatorEmailDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
987
|
+
/**
|
|
988
|
+
* AuthenticatorEmailStage Viewset
|
|
989
|
+
*/
|
|
990
|
+
stagesAuthenticatorEmailListRaw(requestParameters: StagesAuthenticatorEmailListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAuthenticatorEmailStageList>>;
|
|
991
|
+
/**
|
|
992
|
+
* AuthenticatorEmailStage Viewset
|
|
993
|
+
*/
|
|
994
|
+
stagesAuthenticatorEmailList(requestParameters?: StagesAuthenticatorEmailListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAuthenticatorEmailStageList>;
|
|
995
|
+
/**
|
|
996
|
+
* AuthenticatorEmailStage Viewset
|
|
997
|
+
*/
|
|
998
|
+
stagesAuthenticatorEmailPartialUpdateRaw(requestParameters: StagesAuthenticatorEmailPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuthenticatorEmailStage>>;
|
|
999
|
+
/**
|
|
1000
|
+
* AuthenticatorEmailStage Viewset
|
|
1001
|
+
*/
|
|
1002
|
+
stagesAuthenticatorEmailPartialUpdate(requestParameters: StagesAuthenticatorEmailPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuthenticatorEmailStage>;
|
|
1003
|
+
/**
|
|
1004
|
+
* AuthenticatorEmailStage Viewset
|
|
1005
|
+
*/
|
|
1006
|
+
stagesAuthenticatorEmailRetrieveRaw(requestParameters: StagesAuthenticatorEmailRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuthenticatorEmailStage>>;
|
|
1007
|
+
/**
|
|
1008
|
+
* AuthenticatorEmailStage Viewset
|
|
1009
|
+
*/
|
|
1010
|
+
stagesAuthenticatorEmailRetrieve(requestParameters: StagesAuthenticatorEmailRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuthenticatorEmailStage>;
|
|
1011
|
+
/**
|
|
1012
|
+
* AuthenticatorEmailStage Viewset
|
|
1013
|
+
*/
|
|
1014
|
+
stagesAuthenticatorEmailUpdateRaw(requestParameters: StagesAuthenticatorEmailUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuthenticatorEmailStage>>;
|
|
1015
|
+
/**
|
|
1016
|
+
* AuthenticatorEmailStage Viewset
|
|
1017
|
+
*/
|
|
1018
|
+
stagesAuthenticatorEmailUpdate(requestParameters: StagesAuthenticatorEmailUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuthenticatorEmailStage>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Get a list of all objects that use this object
|
|
1021
|
+
*/
|
|
1022
|
+
stagesAuthenticatorEmailUsedByListRaw(requestParameters: StagesAuthenticatorEmailUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Get a list of all objects that use this object
|
|
1025
|
+
*/
|
|
1026
|
+
stagesAuthenticatorEmailUsedByList(requestParameters: StagesAuthenticatorEmailUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
|
929
1027
|
/**
|
|
930
1028
|
* AuthenticatorEndpointGDTCStage Viewset
|
|
931
1029
|
*/
|