@goauthentik/api 2024.12.3-1739449824 → 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.
Files changed (97) 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/ModelEnum.d.ts +2 -0
  35. package/dist/esm/models/ModelEnum.js +2 -0
  36. package/dist/esm/models/PaginatedAuthenticatorEmailStageList.d.ts +40 -0
  37. package/dist/esm/models/PaginatedAuthenticatorEmailStageList.js +49 -0
  38. package/dist/esm/models/PaginatedEmailDeviceList.d.ts +40 -0
  39. package/dist/esm/models/PaginatedEmailDeviceList.js +49 -0
  40. package/dist/esm/models/PatchedAuthenticatorEmailStageRequest.d.ts +123 -0
  41. package/dist/esm/models/PatchedAuthenticatorEmailStageRequest.js +72 -0
  42. package/dist/esm/models/PatchedEmailDeviceRequest.d.ts +32 -0
  43. package/dist/esm/models/PatchedEmailDeviceRequest.js +41 -0
  44. package/dist/esm/models/index.d.ts +10 -0
  45. package/dist/esm/models/index.js +10 -0
  46. package/dist/models/AppEnum.d.ts +1 -0
  47. package/dist/models/AppEnum.js +1 -0
  48. package/dist/models/AuthenticatorEmailChallenge.d.ts +72 -0
  49. package/dist/models/AuthenticatorEmailChallenge.js +65 -0
  50. package/dist/models/AuthenticatorEmailChallengeResponseRequest.d.ts +44 -0
  51. package/dist/models/AuthenticatorEmailChallengeResponseRequest.js +52 -0
  52. package/dist/models/AuthenticatorEmailStage.d.ts +153 -0
  53. package/dist/models/AuthenticatorEmailStage.js +96 -0
  54. package/dist/models/AuthenticatorEmailStageRequest.d.ts +123 -0
  55. package/dist/models/AuthenticatorEmailStageRequest.js +81 -0
  56. package/dist/models/ChallengeTypes.d.ts +3 -0
  57. package/dist/models/ChallengeTypes.js +5 -0
  58. package/dist/models/DeviceClassesEnum.d.ts +1 -0
  59. package/dist/models/DeviceClassesEnum.js +1 -0
  60. package/dist/models/EmailDevice.d.ts +51 -0
  61. package/dist/models/EmailDevice.js +60 -0
  62. package/dist/models/EmailDeviceRequest.d.ts +32 -0
  63. package/dist/models/EmailDeviceRequest.js +50 -0
  64. package/dist/models/FlowChallengeResponseRequest.d.ts +3 -0
  65. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  66. package/dist/models/ModelEnum.d.ts +2 -0
  67. package/dist/models/ModelEnum.js +2 -0
  68. package/dist/models/PaginatedAuthenticatorEmailStageList.d.ts +40 -0
  69. package/dist/models/PaginatedAuthenticatorEmailStageList.js +56 -0
  70. package/dist/models/PaginatedEmailDeviceList.d.ts +40 -0
  71. package/dist/models/PaginatedEmailDeviceList.js +56 -0
  72. package/dist/models/PatchedAuthenticatorEmailStageRequest.d.ts +123 -0
  73. package/dist/models/PatchedAuthenticatorEmailStageRequest.js +79 -0
  74. package/dist/models/PatchedEmailDeviceRequest.d.ts +32 -0
  75. package/dist/models/PatchedEmailDeviceRequest.js +48 -0
  76. package/dist/models/index.d.ts +10 -0
  77. package/dist/models/index.js +10 -0
  78. package/package.json +1 -1
  79. package/src/apis/AuthenticatorsApi.ts +617 -0
  80. package/src/apis/RbacApi.ts +4 -0
  81. package/src/apis/StagesApi.ts +436 -0
  82. package/src/models/AppEnum.ts +1 -0
  83. package/src/models/AuthenticatorEmailChallenge.ts +130 -0
  84. package/src/models/AuthenticatorEmailChallengeResponseRequest.ts +81 -0
  85. package/src/models/AuthenticatorEmailStage.ts +234 -0
  86. package/src/models/AuthenticatorEmailStageRequest.ts +194 -0
  87. package/src/models/ChallengeTypes.ts +12 -1
  88. package/src/models/DeviceClassesEnum.ts +1 -0
  89. package/src/models/EmailDevice.ts +98 -0
  90. package/src/models/EmailDeviceRequest.ts +66 -0
  91. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  92. package/src/models/ModelEnum.ts +2 -0
  93. package/src/models/PaginatedAuthenticatorEmailStageList.ts +90 -0
  94. package/src/models/PaginatedEmailDeviceList.ts +90 -0
  95. package/src/models/PatchedAuthenticatorEmailStageRequest.ts +193 -0
  96. package/src/models/PatchedEmailDeviceRequest.ts +65 -0
  97. package/src/models/index.ts +10 -0
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.12.3
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPatchedAuthenticatorEmailStageRequest = instanceOfPatchedAuthenticatorEmailStageRequest;
17
+ exports.PatchedAuthenticatorEmailStageRequestFromJSON = PatchedAuthenticatorEmailStageRequestFromJSON;
18
+ exports.PatchedAuthenticatorEmailStageRequestFromJSONTyped = PatchedAuthenticatorEmailStageRequestFromJSONTyped;
19
+ exports.PatchedAuthenticatorEmailStageRequestToJSON = PatchedAuthenticatorEmailStageRequestToJSON;
20
+ exports.PatchedAuthenticatorEmailStageRequestToJSONTyped = PatchedAuthenticatorEmailStageRequestToJSONTyped;
21
+ const FlowSetRequest_1 = require("./FlowSetRequest");
22
+ /**
23
+ * Check if a given object implements the PatchedAuthenticatorEmailStageRequest interface.
24
+ */
25
+ function instanceOfPatchedAuthenticatorEmailStageRequest(value) {
26
+ return true;
27
+ }
28
+ function PatchedAuthenticatorEmailStageRequestFromJSON(json) {
29
+ return PatchedAuthenticatorEmailStageRequestFromJSONTyped(json, false);
30
+ }
31
+ function PatchedAuthenticatorEmailStageRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'flowSet': json['flow_set'] == null ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
38
+ 'configureFlow': json['configure_flow'] == null ? undefined : json['configure_flow'],
39
+ 'friendlyName': json['friendly_name'] == null ? undefined : json['friendly_name'],
40
+ 'useGlobalSettings': json['use_global_settings'] == null ? undefined : json['use_global_settings'],
41
+ 'host': json['host'] == null ? undefined : json['host'],
42
+ 'port': json['port'] == null ? undefined : json['port'],
43
+ 'username': json['username'] == null ? undefined : json['username'],
44
+ 'password': json['password'] == null ? undefined : json['password'],
45
+ 'useTls': json['use_tls'] == null ? undefined : json['use_tls'],
46
+ 'useSsl': json['use_ssl'] == null ? undefined : json['use_ssl'],
47
+ 'timeout': json['timeout'] == null ? undefined : json['timeout'],
48
+ 'fromAddress': json['from_address'] == null ? undefined : json['from_address'],
49
+ 'subject': json['subject'] == null ? undefined : json['subject'],
50
+ 'tokenExpiry': json['token_expiry'] == null ? undefined : json['token_expiry'],
51
+ 'template': json['template'] == null ? undefined : json['template'],
52
+ };
53
+ }
54
+ function PatchedAuthenticatorEmailStageRequestToJSON(json) {
55
+ return PatchedAuthenticatorEmailStageRequestToJSONTyped(json, false);
56
+ }
57
+ function PatchedAuthenticatorEmailStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'name': value['name'],
63
+ 'flow_set': value['flowSet'] == null ? undefined : (value['flowSet'].map(FlowSetRequest_1.FlowSetRequestToJSON)),
64
+ 'configure_flow': value['configureFlow'],
65
+ 'friendly_name': value['friendlyName'],
66
+ 'use_global_settings': value['useGlobalSettings'],
67
+ 'host': value['host'],
68
+ 'port': value['port'],
69
+ 'username': value['username'],
70
+ 'password': value['password'],
71
+ 'use_tls': value['useTls'],
72
+ 'use_ssl': value['useSsl'],
73
+ 'timeout': value['timeout'],
74
+ 'from_address': value['fromAddress'],
75
+ 'subject': value['subject'],
76
+ 'token_expiry': value['tokenExpiry'],
77
+ 'template': value['template'],
78
+ };
79
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.12.3
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Serializer for email authenticator devices
14
+ * @export
15
+ * @interface PatchedEmailDeviceRequest
16
+ */
17
+ export interface PatchedEmailDeviceRequest {
18
+ /**
19
+ * The human-readable name of this device.
20
+ * @type {string}
21
+ * @memberof PatchedEmailDeviceRequest
22
+ */
23
+ name?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PatchedEmailDeviceRequest interface.
27
+ */
28
+ export declare function instanceOfPatchedEmailDeviceRequest(value: object): value is PatchedEmailDeviceRequest;
29
+ export declare function PatchedEmailDeviceRequestFromJSON(json: any): PatchedEmailDeviceRequest;
30
+ export declare function PatchedEmailDeviceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedEmailDeviceRequest;
31
+ export declare function PatchedEmailDeviceRequestToJSON(json: any): PatchedEmailDeviceRequest;
32
+ export declare function PatchedEmailDeviceRequestToJSONTyped(value?: PatchedEmailDeviceRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.12.3
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPatchedEmailDeviceRequest = instanceOfPatchedEmailDeviceRequest;
17
+ exports.PatchedEmailDeviceRequestFromJSON = PatchedEmailDeviceRequestFromJSON;
18
+ exports.PatchedEmailDeviceRequestFromJSONTyped = PatchedEmailDeviceRequestFromJSONTyped;
19
+ exports.PatchedEmailDeviceRequestToJSON = PatchedEmailDeviceRequestToJSON;
20
+ exports.PatchedEmailDeviceRequestToJSONTyped = PatchedEmailDeviceRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PatchedEmailDeviceRequest interface.
23
+ */
24
+ function instanceOfPatchedEmailDeviceRequest(value) {
25
+ return true;
26
+ }
27
+ function PatchedEmailDeviceRequestFromJSON(json) {
28
+ return PatchedEmailDeviceRequestFromJSONTyped(json, false);
29
+ }
30
+ function PatchedEmailDeviceRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': json['name'] == null ? undefined : json['name'],
36
+ };
37
+ }
38
+ function PatchedEmailDeviceRequestToJSON(json) {
39
+ return PatchedEmailDeviceRequestToJSONTyped(json, false);
40
+ }
41
+ function PatchedEmailDeviceRequestToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'name': value['name'],
47
+ };
48
+ }
@@ -25,6 +25,10 @@ export * from './AuthenticatorDuoStage';
25
25
  export * from './AuthenticatorDuoStageDeviceImportResponse';
26
26
  export * from './AuthenticatorDuoStageManualDeviceImportRequest';
27
27
  export * from './AuthenticatorDuoStageRequest';
28
+ export * from './AuthenticatorEmailChallenge';
29
+ export * from './AuthenticatorEmailChallengeResponseRequest';
30
+ export * from './AuthenticatorEmailStage';
31
+ export * from './AuthenticatorEmailStageRequest';
28
32
  export * from './AuthenticatorEndpointGDTCStage';
29
33
  export * from './AuthenticatorEndpointGDTCStageRequest';
30
34
  export * from './AuthenticatorSMSChallenge';
@@ -112,6 +116,8 @@ export * from './DuoDeviceRequest';
112
116
  export * from './DuoResponseEnum';
113
117
  export * from './EmailChallenge';
114
118
  export * from './EmailChallengeResponseRequest';
119
+ export * from './EmailDevice';
120
+ export * from './EmailDeviceRequest';
115
121
  export * from './EmailStage';
116
122
  export * from './EmailStageRequest';
117
123
  export * from './Endpoint';
@@ -267,6 +273,7 @@ export * from './PaginatedApplicationEntitlementList';
267
273
  export * from './PaginatedApplicationList';
268
274
  export * from './PaginatedAuthenticatedSessionList';
269
275
  export * from './PaginatedAuthenticatorDuoStageList';
276
+ export * from './PaginatedAuthenticatorEmailStageList';
270
277
  export * from './PaginatedAuthenticatorEndpointGDTCStageList';
271
278
  export * from './PaginatedAuthenticatorSMSStageList';
272
279
  export * from './PaginatedAuthenticatorStaticStageList';
@@ -285,6 +292,7 @@ export * from './PaginatedDomainList';
285
292
  export * from './PaginatedDummyPolicyList';
286
293
  export * from './PaginatedDummyStageList';
287
294
  export * from './PaginatedDuoDeviceList';
295
+ export * from './PaginatedEmailDeviceList';
288
296
  export * from './PaginatedEmailStageList';
289
297
  export * from './PaginatedEndpointDeviceList';
290
298
  export * from './PaginatedEndpointList';
@@ -405,6 +413,7 @@ export * from './PasswordStageRequest';
405
413
  export * from './PatchedApplicationEntitlementRequest';
406
414
  export * from './PatchedApplicationRequest';
407
415
  export * from './PatchedAuthenticatorDuoStageRequest';
416
+ export * from './PatchedAuthenticatorEmailStageRequest';
408
417
  export * from './PatchedAuthenticatorEndpointGDTCStageRequest';
409
418
  export * from './PatchedAuthenticatorSMSStageRequest';
410
419
  export * from './PatchedAuthenticatorStaticStageRequest';
@@ -423,6 +432,7 @@ export * from './PatchedDomainRequest';
423
432
  export * from './PatchedDummyPolicyRequest';
424
433
  export * from './PatchedDummyStageRequest';
425
434
  export * from './PatchedDuoDeviceRequest';
435
+ export * from './PatchedEmailDeviceRequest';
426
436
  export * from './PatchedEmailStageRequest';
427
437
  export * from './PatchedEndpointDeviceRequest';
428
438
  export * from './PatchedEndpointRequest';
@@ -43,6 +43,10 @@ __exportStar(require("./AuthenticatorDuoStage"), exports);
43
43
  __exportStar(require("./AuthenticatorDuoStageDeviceImportResponse"), exports);
44
44
  __exportStar(require("./AuthenticatorDuoStageManualDeviceImportRequest"), exports);
45
45
  __exportStar(require("./AuthenticatorDuoStageRequest"), exports);
46
+ __exportStar(require("./AuthenticatorEmailChallenge"), exports);
47
+ __exportStar(require("./AuthenticatorEmailChallengeResponseRequest"), exports);
48
+ __exportStar(require("./AuthenticatorEmailStage"), exports);
49
+ __exportStar(require("./AuthenticatorEmailStageRequest"), exports);
46
50
  __exportStar(require("./AuthenticatorEndpointGDTCStage"), exports);
47
51
  __exportStar(require("./AuthenticatorEndpointGDTCStageRequest"), exports);
48
52
  __exportStar(require("./AuthenticatorSMSChallenge"), exports);
@@ -130,6 +134,8 @@ __exportStar(require("./DuoDeviceRequest"), exports);
130
134
  __exportStar(require("./DuoResponseEnum"), exports);
131
135
  __exportStar(require("./EmailChallenge"), exports);
132
136
  __exportStar(require("./EmailChallengeResponseRequest"), exports);
137
+ __exportStar(require("./EmailDevice"), exports);
138
+ __exportStar(require("./EmailDeviceRequest"), exports);
133
139
  __exportStar(require("./EmailStage"), exports);
134
140
  __exportStar(require("./EmailStageRequest"), exports);
135
141
  __exportStar(require("./Endpoint"), exports);
@@ -285,6 +291,7 @@ __exportStar(require("./PaginatedApplicationEntitlementList"), exports);
285
291
  __exportStar(require("./PaginatedApplicationList"), exports);
286
292
  __exportStar(require("./PaginatedAuthenticatedSessionList"), exports);
287
293
  __exportStar(require("./PaginatedAuthenticatorDuoStageList"), exports);
294
+ __exportStar(require("./PaginatedAuthenticatorEmailStageList"), exports);
288
295
  __exportStar(require("./PaginatedAuthenticatorEndpointGDTCStageList"), exports);
289
296
  __exportStar(require("./PaginatedAuthenticatorSMSStageList"), exports);
290
297
  __exportStar(require("./PaginatedAuthenticatorStaticStageList"), exports);
@@ -303,6 +310,7 @@ __exportStar(require("./PaginatedDomainList"), exports);
303
310
  __exportStar(require("./PaginatedDummyPolicyList"), exports);
304
311
  __exportStar(require("./PaginatedDummyStageList"), exports);
305
312
  __exportStar(require("./PaginatedDuoDeviceList"), exports);
313
+ __exportStar(require("./PaginatedEmailDeviceList"), exports);
306
314
  __exportStar(require("./PaginatedEmailStageList"), exports);
307
315
  __exportStar(require("./PaginatedEndpointDeviceList"), exports);
308
316
  __exportStar(require("./PaginatedEndpointList"), exports);
@@ -423,6 +431,7 @@ __exportStar(require("./PasswordStageRequest"), exports);
423
431
  __exportStar(require("./PatchedApplicationEntitlementRequest"), exports);
424
432
  __exportStar(require("./PatchedApplicationRequest"), exports);
425
433
  __exportStar(require("./PatchedAuthenticatorDuoStageRequest"), exports);
434
+ __exportStar(require("./PatchedAuthenticatorEmailStageRequest"), exports);
426
435
  __exportStar(require("./PatchedAuthenticatorEndpointGDTCStageRequest"), exports);
427
436
  __exportStar(require("./PatchedAuthenticatorSMSStageRequest"), exports);
428
437
  __exportStar(require("./PatchedAuthenticatorStaticStageRequest"), exports);
@@ -441,6 +450,7 @@ __exportStar(require("./PatchedDomainRequest"), exports);
441
450
  __exportStar(require("./PatchedDummyPolicyRequest"), exports);
442
451
  __exportStar(require("./PatchedDummyStageRequest"), exports);
443
452
  __exportStar(require("./PatchedDuoDeviceRequest"), exports);
453
+ __exportStar(require("./PatchedEmailDeviceRequest"), exports);
444
454
  __exportStar(require("./PatchedEmailStageRequest"), exports);
445
455
  __exportStar(require("./PatchedEndpointDeviceRequest"), exports);
446
456
  __exportStar(require("./PatchedEndpointRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.12.3-1739449824",
3
+ "version": "2024.12.3-1739801838",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {