@goauthentik/api 2024.12.3-1739449824 → 2024.12.3-1739814462

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.
Files changed (112) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/dist/apis/AuthenticatorsApi.d.ts +145 -1
  3. package/dist/apis/AuthenticatorsApi.js +458 -0
  4. package/dist/apis/RbacApi.d.ts +4 -0
  5. package/dist/apis/RbacApi.js +4 -0
  6. package/dist/apis/StagesApi.d.ts +99 -1
  7. package/dist/apis/StagesApi.js +310 -0
  8. package/dist/esm/apis/AuthenticatorsApi.d.ts +145 -1
  9. package/dist/esm/apis/AuthenticatorsApi.js +459 -1
  10. package/dist/esm/apis/RbacApi.d.ts +4 -0
  11. package/dist/esm/apis/RbacApi.js +4 -0
  12. package/dist/esm/apis/StagesApi.d.ts +99 -1
  13. package/dist/esm/apis/StagesApi.js +311 -1
  14. package/dist/esm/models/AppEnum.d.ts +1 -0
  15. package/dist/esm/models/AppEnum.js +1 -0
  16. package/dist/esm/models/AuthenticatorEmailChallenge.d.ts +72 -0
  17. package/dist/esm/models/AuthenticatorEmailChallenge.js +58 -0
  18. package/dist/esm/models/AuthenticatorEmailChallengeResponseRequest.d.ts +44 -0
  19. package/dist/esm/models/AuthenticatorEmailChallengeResponseRequest.js +45 -0
  20. package/dist/esm/models/AuthenticatorEmailStage.d.ts +153 -0
  21. package/dist/esm/models/AuthenticatorEmailStage.js +89 -0
  22. package/dist/esm/models/AuthenticatorEmailStageRequest.d.ts +123 -0
  23. package/dist/esm/models/AuthenticatorEmailStageRequest.js +74 -0
  24. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  25. package/dist/esm/models/ChallengeTypes.js +5 -0
  26. package/dist/esm/models/DeviceClassesEnum.d.ts +1 -0
  27. package/dist/esm/models/DeviceClassesEnum.js +1 -0
  28. package/dist/esm/models/EmailDevice.d.ts +51 -0
  29. package/dist/esm/models/EmailDevice.js +53 -0
  30. package/dist/esm/models/EmailDeviceRequest.d.ts +32 -0
  31. package/dist/esm/models/EmailDeviceRequest.js +43 -0
  32. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +3 -0
  33. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  34. package/dist/esm/models/GeoIPPolicy.d.ts +36 -0
  35. package/dist/esm/models/GeoIPPolicy.js +12 -0
  36. package/dist/esm/models/GeoIPPolicyRequest.d.ts +36 -0
  37. package/dist/esm/models/GeoIPPolicyRequest.js +12 -0
  38. package/dist/esm/models/ModelEnum.d.ts +2 -0
  39. package/dist/esm/models/ModelEnum.js +2 -0
  40. package/dist/esm/models/PaginatedAuthenticatorEmailStageList.d.ts +40 -0
  41. package/dist/esm/models/PaginatedAuthenticatorEmailStageList.js +49 -0
  42. package/dist/esm/models/PaginatedEmailDeviceList.d.ts +40 -0
  43. package/dist/esm/models/PaginatedEmailDeviceList.js +49 -0
  44. package/dist/esm/models/PatchedAuthenticatorEmailStageRequest.d.ts +123 -0
  45. package/dist/esm/models/PatchedAuthenticatorEmailStageRequest.js +72 -0
  46. package/dist/esm/models/PatchedEmailDeviceRequest.d.ts +32 -0
  47. package/dist/esm/models/PatchedEmailDeviceRequest.js +41 -0
  48. package/dist/esm/models/PatchedGeoIPPolicyRequest.d.ts +36 -0
  49. package/dist/esm/models/PatchedGeoIPPolicyRequest.js +12 -0
  50. package/dist/esm/models/index.d.ts +10 -0
  51. package/dist/esm/models/index.js +10 -0
  52. package/dist/models/AppEnum.d.ts +1 -0
  53. package/dist/models/AppEnum.js +1 -0
  54. package/dist/models/AuthenticatorEmailChallenge.d.ts +72 -0
  55. package/dist/models/AuthenticatorEmailChallenge.js +65 -0
  56. package/dist/models/AuthenticatorEmailChallengeResponseRequest.d.ts +44 -0
  57. package/dist/models/AuthenticatorEmailChallengeResponseRequest.js +52 -0
  58. package/dist/models/AuthenticatorEmailStage.d.ts +153 -0
  59. package/dist/models/AuthenticatorEmailStage.js +96 -0
  60. package/dist/models/AuthenticatorEmailStageRequest.d.ts +123 -0
  61. package/dist/models/AuthenticatorEmailStageRequest.js +81 -0
  62. package/dist/models/ChallengeTypes.d.ts +3 -0
  63. package/dist/models/ChallengeTypes.js +5 -0
  64. package/dist/models/DeviceClassesEnum.d.ts +1 -0
  65. package/dist/models/DeviceClassesEnum.js +1 -0
  66. package/dist/models/EmailDevice.d.ts +51 -0
  67. package/dist/models/EmailDevice.js +60 -0
  68. package/dist/models/EmailDeviceRequest.d.ts +32 -0
  69. package/dist/models/EmailDeviceRequest.js +50 -0
  70. package/dist/models/FlowChallengeResponseRequest.d.ts +3 -0
  71. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  72. package/dist/models/GeoIPPolicy.d.ts +36 -0
  73. package/dist/models/GeoIPPolicy.js +12 -0
  74. package/dist/models/GeoIPPolicyRequest.d.ts +36 -0
  75. package/dist/models/GeoIPPolicyRequest.js +12 -0
  76. package/dist/models/ModelEnum.d.ts +2 -0
  77. package/dist/models/ModelEnum.js +2 -0
  78. package/dist/models/PaginatedAuthenticatorEmailStageList.d.ts +40 -0
  79. package/dist/models/PaginatedAuthenticatorEmailStageList.js +56 -0
  80. package/dist/models/PaginatedEmailDeviceList.d.ts +40 -0
  81. package/dist/models/PaginatedEmailDeviceList.js +56 -0
  82. package/dist/models/PatchedAuthenticatorEmailStageRequest.d.ts +123 -0
  83. package/dist/models/PatchedAuthenticatorEmailStageRequest.js +79 -0
  84. package/dist/models/PatchedEmailDeviceRequest.d.ts +32 -0
  85. package/dist/models/PatchedEmailDeviceRequest.js +48 -0
  86. package/dist/models/PatchedGeoIPPolicyRequest.d.ts +36 -0
  87. package/dist/models/PatchedGeoIPPolicyRequest.js +12 -0
  88. package/dist/models/index.d.ts +10 -0
  89. package/dist/models/index.js +10 -0
  90. package/package.json +1 -1
  91. package/src/apis/AuthenticatorsApi.ts +617 -0
  92. package/src/apis/RbacApi.ts +4 -0
  93. package/src/apis/StagesApi.ts +436 -0
  94. package/src/models/AppEnum.ts +1 -0
  95. package/src/models/AuthenticatorEmailChallenge.ts +130 -0
  96. package/src/models/AuthenticatorEmailChallengeResponseRequest.ts +81 -0
  97. package/src/models/AuthenticatorEmailStage.ts +234 -0
  98. package/src/models/AuthenticatorEmailStageRequest.ts +194 -0
  99. package/src/models/ChallengeTypes.ts +12 -1
  100. package/src/models/DeviceClassesEnum.ts +1 -0
  101. package/src/models/EmailDevice.ts +98 -0
  102. package/src/models/EmailDeviceRequest.ts +66 -0
  103. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  104. package/src/models/GeoIPPolicy.ts +48 -0
  105. package/src/models/GeoIPPolicyRequest.ts +48 -0
  106. package/src/models/ModelEnum.ts +2 -0
  107. package/src/models/PaginatedAuthenticatorEmailStageList.ts +90 -0
  108. package/src/models/PaginatedEmailDeviceList.ts +90 -0
  109. package/src/models/PatchedAuthenticatorEmailStageRequest.ts +193 -0
  110. package/src/models/PatchedEmailDeviceRequest.ts +65 -0
  111. package/src/models/PatchedGeoIPPolicyRequest.ts +48 -0
  112. package/src/models/index.ts +10 -0
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { DeviceFromJSON, DuoDeviceFromJSON, DuoDeviceRequestToJSON, EndpointDeviceFromJSON, EndpointDeviceRequestToJSON, PaginatedDuoDeviceListFromJSON, PaginatedEndpointDeviceListFromJSON, PaginatedSMSDeviceListFromJSON, PaginatedStaticDeviceListFromJSON, PaginatedTOTPDeviceListFromJSON, PaginatedWebAuthnDeviceListFromJSON, PatchedDuoDeviceRequestToJSON, PatchedEndpointDeviceRequestToJSON, PatchedSMSDeviceRequestToJSON, PatchedStaticDeviceRequestToJSON, PatchedTOTPDeviceRequestToJSON, PatchedWebAuthnDeviceRequestToJSON, SMSDeviceFromJSON, SMSDeviceRequestToJSON, StaticDeviceFromJSON, StaticDeviceRequestToJSON, TOTPDeviceFromJSON, TOTPDeviceRequestToJSON, UsedByFromJSON, WebAuthnDeviceFromJSON, WebAuthnDeviceRequestToJSON, } from '../models/index';
24
+ import { DeviceFromJSON, DuoDeviceFromJSON, DuoDeviceRequestToJSON, EmailDeviceFromJSON, EmailDeviceRequestToJSON, EndpointDeviceFromJSON, EndpointDeviceRequestToJSON, PaginatedDuoDeviceListFromJSON, PaginatedEmailDeviceListFromJSON, PaginatedEndpointDeviceListFromJSON, PaginatedSMSDeviceListFromJSON, PaginatedStaticDeviceListFromJSON, PaginatedTOTPDeviceListFromJSON, PaginatedWebAuthnDeviceListFromJSON, PatchedDuoDeviceRequestToJSON, PatchedEmailDeviceRequestToJSON, PatchedEndpointDeviceRequestToJSON, PatchedSMSDeviceRequestToJSON, PatchedStaticDeviceRequestToJSON, PatchedTOTPDeviceRequestToJSON, PatchedWebAuthnDeviceRequestToJSON, SMSDeviceFromJSON, SMSDeviceRequestToJSON, StaticDeviceFromJSON, StaticDeviceRequestToJSON, TOTPDeviceFromJSON, TOTPDeviceRequestToJSON, UsedByFromJSON, WebAuthnDeviceFromJSON, WebAuthnDeviceRequestToJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
@@ -291,6 +291,236 @@ export class AuthenticatorsApi extends runtime.BaseAPI {
291
291
  return yield response.value();
292
292
  });
293
293
  }
294
+ /**
295
+ * Viewset for email authenticator devices (for admins)
296
+ */
297
+ authenticatorsAdminEmailCreateRaw(requestParameters, initOverrides) {
298
+ return __awaiter(this, void 0, void 0, function* () {
299
+ if (requestParameters['emailDeviceRequest'] == null) {
300
+ throw new runtime.RequiredError('emailDeviceRequest', 'Required parameter "emailDeviceRequest" was null or undefined when calling authenticatorsAdminEmailCreate().');
301
+ }
302
+ const queryParameters = {};
303
+ const headerParameters = {};
304
+ headerParameters['Content-Type'] = 'application/json';
305
+ if (this.configuration && this.configuration.accessToken) {
306
+ const token = this.configuration.accessToken;
307
+ const tokenString = yield token("authentik", []);
308
+ if (tokenString) {
309
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
310
+ }
311
+ }
312
+ const response = yield this.request({
313
+ path: `/authenticators/admin/email/`,
314
+ method: 'POST',
315
+ headers: headerParameters,
316
+ query: queryParameters,
317
+ body: EmailDeviceRequestToJSON(requestParameters['emailDeviceRequest']),
318
+ }, initOverrides);
319
+ return new runtime.JSONApiResponse(response, (jsonValue) => EmailDeviceFromJSON(jsonValue));
320
+ });
321
+ }
322
+ /**
323
+ * Viewset for email authenticator devices (for admins)
324
+ */
325
+ authenticatorsAdminEmailCreate(requestParameters, initOverrides) {
326
+ return __awaiter(this, void 0, void 0, function* () {
327
+ const response = yield this.authenticatorsAdminEmailCreateRaw(requestParameters, initOverrides);
328
+ return yield response.value();
329
+ });
330
+ }
331
+ /**
332
+ * Viewset for email authenticator devices (for admins)
333
+ */
334
+ authenticatorsAdminEmailDestroyRaw(requestParameters, initOverrides) {
335
+ return __awaiter(this, void 0, void 0, function* () {
336
+ if (requestParameters['id'] == null) {
337
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsAdminEmailDestroy().');
338
+ }
339
+ const queryParameters = {};
340
+ const headerParameters = {};
341
+ if (this.configuration && this.configuration.accessToken) {
342
+ const token = this.configuration.accessToken;
343
+ const tokenString = yield token("authentik", []);
344
+ if (tokenString) {
345
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
346
+ }
347
+ }
348
+ const response = yield this.request({
349
+ path: `/authenticators/admin/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
350
+ method: 'DELETE',
351
+ headers: headerParameters,
352
+ query: queryParameters,
353
+ }, initOverrides);
354
+ return new runtime.VoidApiResponse(response);
355
+ });
356
+ }
357
+ /**
358
+ * Viewset for email authenticator devices (for admins)
359
+ */
360
+ authenticatorsAdminEmailDestroy(requestParameters, initOverrides) {
361
+ return __awaiter(this, void 0, void 0, function* () {
362
+ yield this.authenticatorsAdminEmailDestroyRaw(requestParameters, initOverrides);
363
+ });
364
+ }
365
+ /**
366
+ * Viewset for email authenticator devices (for admins)
367
+ */
368
+ authenticatorsAdminEmailListRaw(requestParameters, initOverrides) {
369
+ return __awaiter(this, void 0, void 0, function* () {
370
+ const queryParameters = {};
371
+ if (requestParameters['name'] != null) {
372
+ queryParameters['name'] = requestParameters['name'];
373
+ }
374
+ if (requestParameters['ordering'] != null) {
375
+ queryParameters['ordering'] = requestParameters['ordering'];
376
+ }
377
+ if (requestParameters['page'] != null) {
378
+ queryParameters['page'] = requestParameters['page'];
379
+ }
380
+ if (requestParameters['pageSize'] != null) {
381
+ queryParameters['page_size'] = requestParameters['pageSize'];
382
+ }
383
+ if (requestParameters['search'] != null) {
384
+ queryParameters['search'] = requestParameters['search'];
385
+ }
386
+ const headerParameters = {};
387
+ if (this.configuration && this.configuration.accessToken) {
388
+ const token = this.configuration.accessToken;
389
+ const tokenString = yield token("authentik", []);
390
+ if (tokenString) {
391
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
392
+ }
393
+ }
394
+ const response = yield this.request({
395
+ path: `/authenticators/admin/email/`,
396
+ method: 'GET',
397
+ headers: headerParameters,
398
+ query: queryParameters,
399
+ }, initOverrides);
400
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedEmailDeviceListFromJSON(jsonValue));
401
+ });
402
+ }
403
+ /**
404
+ * Viewset for email authenticator devices (for admins)
405
+ */
406
+ authenticatorsAdminEmailList() {
407
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
408
+ const response = yield this.authenticatorsAdminEmailListRaw(requestParameters, initOverrides);
409
+ return yield response.value();
410
+ });
411
+ }
412
+ /**
413
+ * Viewset for email authenticator devices (for admins)
414
+ */
415
+ authenticatorsAdminEmailPartialUpdateRaw(requestParameters, initOverrides) {
416
+ return __awaiter(this, void 0, void 0, function* () {
417
+ if (requestParameters['id'] == null) {
418
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsAdminEmailPartialUpdate().');
419
+ }
420
+ const queryParameters = {};
421
+ const headerParameters = {};
422
+ headerParameters['Content-Type'] = 'application/json';
423
+ if (this.configuration && this.configuration.accessToken) {
424
+ const token = this.configuration.accessToken;
425
+ const tokenString = yield token("authentik", []);
426
+ if (tokenString) {
427
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
428
+ }
429
+ }
430
+ const response = yield this.request({
431
+ path: `/authenticators/admin/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
432
+ method: 'PATCH',
433
+ headers: headerParameters,
434
+ query: queryParameters,
435
+ body: PatchedEmailDeviceRequestToJSON(requestParameters['patchedEmailDeviceRequest']),
436
+ }, initOverrides);
437
+ return new runtime.JSONApiResponse(response, (jsonValue) => EmailDeviceFromJSON(jsonValue));
438
+ });
439
+ }
440
+ /**
441
+ * Viewset for email authenticator devices (for admins)
442
+ */
443
+ authenticatorsAdminEmailPartialUpdate(requestParameters, initOverrides) {
444
+ return __awaiter(this, void 0, void 0, function* () {
445
+ const response = yield this.authenticatorsAdminEmailPartialUpdateRaw(requestParameters, initOverrides);
446
+ return yield response.value();
447
+ });
448
+ }
449
+ /**
450
+ * Viewset for email authenticator devices (for admins)
451
+ */
452
+ authenticatorsAdminEmailRetrieveRaw(requestParameters, initOverrides) {
453
+ return __awaiter(this, void 0, void 0, function* () {
454
+ if (requestParameters['id'] == null) {
455
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsAdminEmailRetrieve().');
456
+ }
457
+ const queryParameters = {};
458
+ const headerParameters = {};
459
+ if (this.configuration && this.configuration.accessToken) {
460
+ const token = this.configuration.accessToken;
461
+ const tokenString = yield token("authentik", []);
462
+ if (tokenString) {
463
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
464
+ }
465
+ }
466
+ const response = yield this.request({
467
+ path: `/authenticators/admin/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
468
+ method: 'GET',
469
+ headers: headerParameters,
470
+ query: queryParameters,
471
+ }, initOverrides);
472
+ return new runtime.JSONApiResponse(response, (jsonValue) => EmailDeviceFromJSON(jsonValue));
473
+ });
474
+ }
475
+ /**
476
+ * Viewset for email authenticator devices (for admins)
477
+ */
478
+ authenticatorsAdminEmailRetrieve(requestParameters, initOverrides) {
479
+ return __awaiter(this, void 0, void 0, function* () {
480
+ const response = yield this.authenticatorsAdminEmailRetrieveRaw(requestParameters, initOverrides);
481
+ return yield response.value();
482
+ });
483
+ }
484
+ /**
485
+ * Viewset for email authenticator devices (for admins)
486
+ */
487
+ authenticatorsAdminEmailUpdateRaw(requestParameters, initOverrides) {
488
+ return __awaiter(this, void 0, void 0, function* () {
489
+ if (requestParameters['id'] == null) {
490
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsAdminEmailUpdate().');
491
+ }
492
+ if (requestParameters['emailDeviceRequest'] == null) {
493
+ throw new runtime.RequiredError('emailDeviceRequest', 'Required parameter "emailDeviceRequest" was null or undefined when calling authenticatorsAdminEmailUpdate().');
494
+ }
495
+ const queryParameters = {};
496
+ const headerParameters = {};
497
+ headerParameters['Content-Type'] = 'application/json';
498
+ if (this.configuration && this.configuration.accessToken) {
499
+ const token = this.configuration.accessToken;
500
+ const tokenString = yield token("authentik", []);
501
+ if (tokenString) {
502
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
503
+ }
504
+ }
505
+ const response = yield this.request({
506
+ path: `/authenticators/admin/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
507
+ method: 'PUT',
508
+ headers: headerParameters,
509
+ query: queryParameters,
510
+ body: EmailDeviceRequestToJSON(requestParameters['emailDeviceRequest']),
511
+ }, initOverrides);
512
+ return new runtime.JSONApiResponse(response, (jsonValue) => EmailDeviceFromJSON(jsonValue));
513
+ });
514
+ }
515
+ /**
516
+ * Viewset for email authenticator devices (for admins)
517
+ */
518
+ authenticatorsAdminEmailUpdate(requestParameters, initOverrides) {
519
+ return __awaiter(this, void 0, void 0, function* () {
520
+ const response = yield this.authenticatorsAdminEmailUpdateRaw(requestParameters, initOverrides);
521
+ return yield response.value();
522
+ });
523
+ }
294
524
  /**
295
525
  * Viewset for Endpoint authenticator devices (for admins)
296
526
  */
@@ -1701,6 +1931,234 @@ export class AuthenticatorsApi extends runtime.BaseAPI {
1701
1931
  return yield response.value();
1702
1932
  });
1703
1933
  }
1934
+ /**
1935
+ * Viewset for email authenticator devices
1936
+ */
1937
+ authenticatorsEmailDestroyRaw(requestParameters, initOverrides) {
1938
+ return __awaiter(this, void 0, void 0, function* () {
1939
+ if (requestParameters['id'] == null) {
1940
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailDestroy().');
1941
+ }
1942
+ const queryParameters = {};
1943
+ const headerParameters = {};
1944
+ if (this.configuration && this.configuration.accessToken) {
1945
+ const token = this.configuration.accessToken;
1946
+ const tokenString = yield token("authentik", []);
1947
+ if (tokenString) {
1948
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1949
+ }
1950
+ }
1951
+ const response = yield this.request({
1952
+ path: `/authenticators/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
1953
+ method: 'DELETE',
1954
+ headers: headerParameters,
1955
+ query: queryParameters,
1956
+ }, initOverrides);
1957
+ return new runtime.VoidApiResponse(response);
1958
+ });
1959
+ }
1960
+ /**
1961
+ * Viewset for email authenticator devices
1962
+ */
1963
+ authenticatorsEmailDestroy(requestParameters, initOverrides) {
1964
+ return __awaiter(this, void 0, void 0, function* () {
1965
+ yield this.authenticatorsEmailDestroyRaw(requestParameters, initOverrides);
1966
+ });
1967
+ }
1968
+ /**
1969
+ * Viewset for email authenticator devices
1970
+ */
1971
+ authenticatorsEmailListRaw(requestParameters, initOverrides) {
1972
+ return __awaiter(this, void 0, void 0, function* () {
1973
+ const queryParameters = {};
1974
+ if (requestParameters['name'] != null) {
1975
+ queryParameters['name'] = requestParameters['name'];
1976
+ }
1977
+ if (requestParameters['ordering'] != null) {
1978
+ queryParameters['ordering'] = requestParameters['ordering'];
1979
+ }
1980
+ if (requestParameters['page'] != null) {
1981
+ queryParameters['page'] = requestParameters['page'];
1982
+ }
1983
+ if (requestParameters['pageSize'] != null) {
1984
+ queryParameters['page_size'] = requestParameters['pageSize'];
1985
+ }
1986
+ if (requestParameters['search'] != null) {
1987
+ queryParameters['search'] = requestParameters['search'];
1988
+ }
1989
+ const headerParameters = {};
1990
+ if (this.configuration && this.configuration.accessToken) {
1991
+ const token = this.configuration.accessToken;
1992
+ const tokenString = yield token("authentik", []);
1993
+ if (tokenString) {
1994
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1995
+ }
1996
+ }
1997
+ const response = yield this.request({
1998
+ path: `/authenticators/email/`,
1999
+ method: 'GET',
2000
+ headers: headerParameters,
2001
+ query: queryParameters,
2002
+ }, initOverrides);
2003
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedEmailDeviceListFromJSON(jsonValue));
2004
+ });
2005
+ }
2006
+ /**
2007
+ * Viewset for email authenticator devices
2008
+ */
2009
+ authenticatorsEmailList() {
2010
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
2011
+ const response = yield this.authenticatorsEmailListRaw(requestParameters, initOverrides);
2012
+ return yield response.value();
2013
+ });
2014
+ }
2015
+ /**
2016
+ * Viewset for email authenticator devices
2017
+ */
2018
+ authenticatorsEmailPartialUpdateRaw(requestParameters, initOverrides) {
2019
+ return __awaiter(this, void 0, void 0, function* () {
2020
+ if (requestParameters['id'] == null) {
2021
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailPartialUpdate().');
2022
+ }
2023
+ const queryParameters = {};
2024
+ const headerParameters = {};
2025
+ headerParameters['Content-Type'] = 'application/json';
2026
+ if (this.configuration && this.configuration.accessToken) {
2027
+ const token = this.configuration.accessToken;
2028
+ const tokenString = yield token("authentik", []);
2029
+ if (tokenString) {
2030
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2031
+ }
2032
+ }
2033
+ const response = yield this.request({
2034
+ path: `/authenticators/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
2035
+ method: 'PATCH',
2036
+ headers: headerParameters,
2037
+ query: queryParameters,
2038
+ body: PatchedEmailDeviceRequestToJSON(requestParameters['patchedEmailDeviceRequest']),
2039
+ }, initOverrides);
2040
+ return new runtime.JSONApiResponse(response, (jsonValue) => EmailDeviceFromJSON(jsonValue));
2041
+ });
2042
+ }
2043
+ /**
2044
+ * Viewset for email authenticator devices
2045
+ */
2046
+ authenticatorsEmailPartialUpdate(requestParameters, initOverrides) {
2047
+ return __awaiter(this, void 0, void 0, function* () {
2048
+ const response = yield this.authenticatorsEmailPartialUpdateRaw(requestParameters, initOverrides);
2049
+ return yield response.value();
2050
+ });
2051
+ }
2052
+ /**
2053
+ * Viewset for email authenticator devices
2054
+ */
2055
+ authenticatorsEmailRetrieveRaw(requestParameters, initOverrides) {
2056
+ return __awaiter(this, void 0, void 0, function* () {
2057
+ if (requestParameters['id'] == null) {
2058
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailRetrieve().');
2059
+ }
2060
+ const queryParameters = {};
2061
+ const headerParameters = {};
2062
+ if (this.configuration && this.configuration.accessToken) {
2063
+ const token = this.configuration.accessToken;
2064
+ const tokenString = yield token("authentik", []);
2065
+ if (tokenString) {
2066
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2067
+ }
2068
+ }
2069
+ const response = yield this.request({
2070
+ path: `/authenticators/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
2071
+ method: 'GET',
2072
+ headers: headerParameters,
2073
+ query: queryParameters,
2074
+ }, initOverrides);
2075
+ return new runtime.JSONApiResponse(response, (jsonValue) => EmailDeviceFromJSON(jsonValue));
2076
+ });
2077
+ }
2078
+ /**
2079
+ * Viewset for email authenticator devices
2080
+ */
2081
+ authenticatorsEmailRetrieve(requestParameters, initOverrides) {
2082
+ return __awaiter(this, void 0, void 0, function* () {
2083
+ const response = yield this.authenticatorsEmailRetrieveRaw(requestParameters, initOverrides);
2084
+ return yield response.value();
2085
+ });
2086
+ }
2087
+ /**
2088
+ * Viewset for email authenticator devices
2089
+ */
2090
+ authenticatorsEmailUpdateRaw(requestParameters, initOverrides) {
2091
+ return __awaiter(this, void 0, void 0, function* () {
2092
+ if (requestParameters['id'] == null) {
2093
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailUpdate().');
2094
+ }
2095
+ if (requestParameters['emailDeviceRequest'] == null) {
2096
+ throw new runtime.RequiredError('emailDeviceRequest', 'Required parameter "emailDeviceRequest" was null or undefined when calling authenticatorsEmailUpdate().');
2097
+ }
2098
+ const queryParameters = {};
2099
+ const headerParameters = {};
2100
+ headerParameters['Content-Type'] = 'application/json';
2101
+ if (this.configuration && this.configuration.accessToken) {
2102
+ const token = this.configuration.accessToken;
2103
+ const tokenString = yield token("authentik", []);
2104
+ if (tokenString) {
2105
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2106
+ }
2107
+ }
2108
+ const response = yield this.request({
2109
+ path: `/authenticators/email/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
2110
+ method: 'PUT',
2111
+ headers: headerParameters,
2112
+ query: queryParameters,
2113
+ body: EmailDeviceRequestToJSON(requestParameters['emailDeviceRequest']),
2114
+ }, initOverrides);
2115
+ return new runtime.JSONApiResponse(response, (jsonValue) => EmailDeviceFromJSON(jsonValue));
2116
+ });
2117
+ }
2118
+ /**
2119
+ * Viewset for email authenticator devices
2120
+ */
2121
+ authenticatorsEmailUpdate(requestParameters, initOverrides) {
2122
+ return __awaiter(this, void 0, void 0, function* () {
2123
+ const response = yield this.authenticatorsEmailUpdateRaw(requestParameters, initOverrides);
2124
+ return yield response.value();
2125
+ });
2126
+ }
2127
+ /**
2128
+ * Get a list of all objects that use this object
2129
+ */
2130
+ authenticatorsEmailUsedByListRaw(requestParameters, initOverrides) {
2131
+ return __awaiter(this, void 0, void 0, function* () {
2132
+ if (requestParameters['id'] == null) {
2133
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling authenticatorsEmailUsedByList().');
2134
+ }
2135
+ const queryParameters = {};
2136
+ const headerParameters = {};
2137
+ if (this.configuration && this.configuration.accessToken) {
2138
+ const token = this.configuration.accessToken;
2139
+ const tokenString = yield token("authentik", []);
2140
+ if (tokenString) {
2141
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2142
+ }
2143
+ }
2144
+ const response = yield this.request({
2145
+ path: `/authenticators/email/{id}/used_by/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
2146
+ method: 'GET',
2147
+ headers: headerParameters,
2148
+ query: queryParameters,
2149
+ }, initOverrides);
2150
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
2151
+ });
2152
+ }
2153
+ /**
2154
+ * Get a list of all objects that use this object
2155
+ */
2156
+ authenticatorsEmailUsedByList(requestParameters, initOverrides) {
2157
+ return __awaiter(this, void 0, void 0, function* () {
2158
+ const response = yield this.authenticatorsEmailUsedByListRaw(requestParameters, initOverrides);
2159
+ return yield response.value();
2160
+ });
2161
+ }
1704
2162
  /**
1705
2163
  * Viewset for Endpoint authenticator devices
1706
2164
  */
@@ -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";
@@ -1102,6 +1102,8 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
1102
1102
  AuthentikSourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
1103
1103
  AuthentikStagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
1104
1104
  AuthentikStagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
1105
+ AuthentikStagesAuthenticatorEmailAuthenticatoremailstage: 'authentik_stages_authenticator_email.authenticatoremailstage',
1106
+ AuthentikStagesAuthenticatorEmailEmaildevice: 'authentik_stages_authenticator_email.emaildevice',
1105
1107
  AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
1106
1108
  AuthentikStagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
1107
1109
  AuthentikStagesAuthenticatorSmsSmsdevice: 'authentik_stages_authenticator_sms.smsdevice',
@@ -1205,6 +1207,8 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
1205
1207
  AuthentikSourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
1206
1208
  AuthentikStagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
1207
1209
  AuthentikStagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
1210
+ AuthentikStagesAuthenticatorEmailAuthenticatoremailstage: 'authentik_stages_authenticator_email.authenticatoremailstage',
1211
+ AuthentikStagesAuthenticatorEmailEmaildevice: 'authentik_stages_authenticator_email.emaildevice',
1208
1212
  AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
1209
1213
  AuthentikStagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
1210
1214
  AuthentikStagesAuthenticatorSmsSmsdevice: 'authentik_stages_authenticator_sms.smsdevice',
@@ -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
  */