@goauthentik/api 2024.8.3-1729166675 → 2024.8.3-1729630021

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 (105) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/dist/apis/AdminApi.d.ts +26 -1
  3. package/dist/apis/AdminApi.js +79 -0
  4. package/dist/apis/AuthenticatorsApi.d.ts +110 -1
  5. package/dist/apis/AuthenticatorsApi.js +347 -0
  6. package/dist/apis/RbacApi.d.ts +2 -0
  7. package/dist/apis/RbacApi.js +2 -0
  8. package/dist/apis/StagesApi.d.ts +85 -1
  9. package/dist/apis/StagesApi.js +268 -0
  10. package/dist/esm/apis/AdminApi.d.ts +26 -1
  11. package/dist/esm/apis/AdminApi.js +80 -1
  12. package/dist/esm/apis/AuthenticatorsApi.d.ts +110 -1
  13. package/dist/esm/apis/AuthenticatorsApi.js +348 -1
  14. package/dist/esm/apis/RbacApi.d.ts +2 -0
  15. package/dist/esm/apis/RbacApi.js +2 -0
  16. package/dist/esm/apis/StagesApi.d.ts +85 -1
  17. package/dist/esm/apis/StagesApi.js +269 -1
  18. package/dist/esm/models/AppEnum.d.ts +1 -0
  19. package/dist/esm/models/AppEnum.js +1 -0
  20. package/dist/esm/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  21. package/dist/esm/models/AuthenticatorEndpointGDTCStage.js +64 -0
  22. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  23. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.js +54 -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/Device.d.ts +2 -2
  27. package/dist/esm/models/EndpointDevice.d.ts +37 -0
  28. package/dist/esm/models/EndpointDevice.js +46 -0
  29. package/dist/esm/models/EndpointDeviceRequest.d.ts +37 -0
  30. package/dist/esm/models/EndpointDeviceRequest.js +46 -0
  31. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
  32. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  33. package/dist/esm/models/FrameChallenge.d.ts +65 -0
  34. package/dist/esm/models/FrameChallenge.js +56 -0
  35. package/dist/esm/models/FrameChallengeResponseRequest.d.ts +31 -0
  36. package/dist/esm/models/FrameChallengeResponseRequest.js +43 -0
  37. package/dist/esm/models/ModelEnum.d.ts +1 -0
  38. package/dist/esm/models/ModelEnum.js +1 -0
  39. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  40. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.js +48 -0
  41. package/dist/esm/models/PaginatedEndpointDeviceList.d.ts +39 -0
  42. package/dist/esm/models/PaginatedEndpointDeviceList.js +48 -0
  43. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  44. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +52 -0
  45. package/dist/esm/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  46. package/dist/esm/models/PatchedEndpointDeviceRequest.js +45 -0
  47. package/dist/esm/models/VersionHistory.d.ts +49 -0
  48. package/dist/esm/models/VersionHistory.js +51 -0
  49. package/dist/esm/models/index.d.ts +11 -0
  50. package/dist/esm/models/index.js +11 -0
  51. package/dist/models/AppEnum.d.ts +1 -0
  52. package/dist/models/AppEnum.js +1 -0
  53. package/dist/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  54. package/dist/models/AuthenticatorEndpointGDTCStage.js +71 -0
  55. package/dist/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  56. package/dist/models/AuthenticatorEndpointGDTCStageRequest.js +61 -0
  57. package/dist/models/ChallengeTypes.d.ts +3 -0
  58. package/dist/models/ChallengeTypes.js +5 -0
  59. package/dist/models/Device.d.ts +2 -2
  60. package/dist/models/EndpointDevice.d.ts +37 -0
  61. package/dist/models/EndpointDevice.js +53 -0
  62. package/dist/models/EndpointDeviceRequest.d.ts +37 -0
  63. package/dist/models/EndpointDeviceRequest.js +53 -0
  64. package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
  65. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  66. package/dist/models/FrameChallenge.d.ts +65 -0
  67. package/dist/models/FrameChallenge.js +63 -0
  68. package/dist/models/FrameChallengeResponseRequest.d.ts +31 -0
  69. package/dist/models/FrameChallengeResponseRequest.js +50 -0
  70. package/dist/models/ModelEnum.d.ts +1 -0
  71. package/dist/models/ModelEnum.js +1 -0
  72. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  73. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.js +55 -0
  74. package/dist/models/PaginatedEndpointDeviceList.d.ts +39 -0
  75. package/dist/models/PaginatedEndpointDeviceList.js +55 -0
  76. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  77. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +59 -0
  78. package/dist/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  79. package/dist/models/PatchedEndpointDeviceRequest.js +52 -0
  80. package/dist/models/VersionHistory.d.ts +49 -0
  81. package/dist/models/VersionHistory.js +58 -0
  82. package/dist/models/index.d.ts +11 -0
  83. package/dist/models/index.js +11 -0
  84. package/package.json +1 -1
  85. package/src/apis/AdminApi.ts +102 -0
  86. package/src/apis/AuthenticatorsApi.ts +444 -0
  87. package/src/apis/RbacApi.ts +2 -0
  88. package/src/apis/StagesApi.ts +345 -0
  89. package/src/models/AppEnum.ts +1 -0
  90. package/src/models/AuthenticatorEndpointGDTCStage.ts +146 -0
  91. package/src/models/AuthenticatorEndpointGDTCStageRequest.ts +106 -0
  92. package/src/models/ChallengeTypes.ts +12 -1
  93. package/src/models/Device.ts +2 -2
  94. package/src/models/EndpointDevice.ts +74 -0
  95. package/src/models/EndpointDeviceRequest.ts +74 -0
  96. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  97. package/src/models/FrameChallenge.ts +120 -0
  98. package/src/models/FrameChallengeResponseRequest.ts +65 -0
  99. package/src/models/ModelEnum.ts +1 -0
  100. package/src/models/PaginatedAuthenticatorEndpointGDTCStageList.ts +88 -0
  101. package/src/models/PaginatedEndpointDeviceList.ts +88 -0
  102. package/src/models/PatchedAuthenticatorEndpointGDTCStageRequest.ts +104 -0
  103. package/src/models/PatchedEndpointDeviceRequest.ts +73 -0
  104. package/src/models/VersionHistory.ts +92 -0
  105. package/src/models/index.ts +11 -0
@@ -23,6 +23,7 @@ import { ConsentChallenge } from './ConsentChallenge';
23
23
  import { DummyChallenge } from './DummyChallenge';
24
24
  import { EmailChallenge } from './EmailChallenge';
25
25
  import { FlowErrorChallenge } from './FlowErrorChallenge';
26
+ import { FrameChallenge } from './FrameChallenge';
26
27
  import { IdentificationChallenge } from './IdentificationChallenge';
27
28
  import { OAuthDeviceCodeChallenge } from './OAuthDeviceCodeChallenge';
28
29
  import { OAuthDeviceCodeFinishChallenge } from './OAuthDeviceCodeFinishChallenge';
@@ -83,6 +84,8 @@ export type ChallengeTypes = {
83
84
  } & SessionEndChallenge | {
84
85
  component: 'ak-stage-user-login';
85
86
  } & UserLoginChallenge | {
87
+ component: 'xak-flow-frame';
88
+ } & FrameChallenge | {
86
89
  component: 'xak-flow-redirect';
87
90
  } & RedirectChallenge | {
88
91
  component: 'xak-flow-shell';
@@ -28,6 +28,7 @@ const ConsentChallenge_1 = require("./ConsentChallenge");
28
28
  const DummyChallenge_1 = require("./DummyChallenge");
29
29
  const EmailChallenge_1 = require("./EmailChallenge");
30
30
  const FlowErrorChallenge_1 = require("./FlowErrorChallenge");
31
+ const FrameChallenge_1 = require("./FrameChallenge");
31
32
  const IdentificationChallenge_1 = require("./IdentificationChallenge");
32
33
  const OAuthDeviceCodeChallenge_1 = require("./OAuthDeviceCodeChallenge");
33
34
  const OAuthDeviceCodeFinishChallenge_1 = require("./OAuthDeviceCodeFinishChallenge");
@@ -91,6 +92,8 @@ function ChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
91
92
  return Object.assign(Object.assign({}, (0, SessionEndChallenge_1.SessionEndChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-session-end' });
92
93
  case 'ak-stage-user-login':
93
94
  return Object.assign(Object.assign({}, (0, UserLoginChallenge_1.UserLoginChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-user-login' });
95
+ case 'xak-flow-frame':
96
+ return Object.assign(Object.assign({}, (0, FrameChallenge_1.FrameChallengeFromJSONTyped)(json, true)), { component: 'xak-flow-frame' });
94
97
  case 'xak-flow-redirect':
95
98
  return Object.assign(Object.assign({}, (0, RedirectChallenge_1.RedirectChallengeFromJSONTyped)(json, true)), { component: 'xak-flow-redirect' });
96
99
  case 'xak-flow-shell':
@@ -152,6 +155,8 @@ function ChallengeTypesToJSON(value) {
152
155
  return (0, SessionEndChallenge_1.SessionEndChallengeToJSON)(value);
153
156
  case 'ak-stage-user-login':
154
157
  return (0, UserLoginChallenge_1.UserLoginChallengeToJSON)(value);
158
+ case 'xak-flow-frame':
159
+ return (0, FrameChallenge_1.FrameChallengeToJSON)(value);
155
160
  case 'xak-flow-redirect':
156
161
  return (0, RedirectChallenge_1.RedirectChallengeToJSON)(value);
157
162
  case 'xak-flow-shell':
@@ -35,10 +35,10 @@ export interface Device {
35
35
  readonly metaModelName: string;
36
36
  /**
37
37
  *
38
- * @type {number}
38
+ * @type {string}
39
39
  * @memberof Device
40
40
  */
41
- pk: number;
41
+ pk: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.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 Endpoint authenticator devices
14
+ * @export
15
+ * @interface EndpointDevice
16
+ */
17
+ export interface EndpointDevice {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof EndpointDevice
22
+ */
23
+ pk?: string;
24
+ /**
25
+ * The human-readable name of this device.
26
+ * @type {string}
27
+ * @memberof EndpointDevice
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the EndpointDevice interface.
33
+ */
34
+ export declare function instanceOfEndpointDevice(value: object): boolean;
35
+ export declare function EndpointDeviceFromJSON(json: any): EndpointDevice;
36
+ export declare function EndpointDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): EndpointDevice;
37
+ export declare function EndpointDeviceToJSON(value?: EndpointDevice | null): any;
@@ -0,0 +1,53 @@
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.8.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.EndpointDeviceToJSON = exports.EndpointDeviceFromJSONTyped = exports.EndpointDeviceFromJSON = exports.instanceOfEndpointDevice = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the EndpointDevice interface.
20
+ */
21
+ function instanceOfEndpointDevice(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfEndpointDevice = instanceOfEndpointDevice;
27
+ function EndpointDeviceFromJSON(json) {
28
+ return EndpointDeviceFromJSONTyped(json, false);
29
+ }
30
+ exports.EndpointDeviceFromJSON = EndpointDeviceFromJSON;
31
+ function EndpointDeviceFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'pk': !(0, runtime_1.exists)(json, 'pk') ? undefined : json['pk'],
37
+ 'name': json['name'],
38
+ };
39
+ }
40
+ exports.EndpointDeviceFromJSONTyped = EndpointDeviceFromJSONTyped;
41
+ function EndpointDeviceToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'pk': value.pk,
50
+ 'name': value.name,
51
+ };
52
+ }
53
+ exports.EndpointDeviceToJSON = EndpointDeviceToJSON;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.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 Endpoint authenticator devices
14
+ * @export
15
+ * @interface EndpointDeviceRequest
16
+ */
17
+ export interface EndpointDeviceRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof EndpointDeviceRequest
22
+ */
23
+ pk?: string;
24
+ /**
25
+ * The human-readable name of this device.
26
+ * @type {string}
27
+ * @memberof EndpointDeviceRequest
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the EndpointDeviceRequest interface.
33
+ */
34
+ export declare function instanceOfEndpointDeviceRequest(value: object): boolean;
35
+ export declare function EndpointDeviceRequestFromJSON(json: any): EndpointDeviceRequest;
36
+ export declare function EndpointDeviceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EndpointDeviceRequest;
37
+ export declare function EndpointDeviceRequestToJSON(value?: EndpointDeviceRequest | null): any;
@@ -0,0 +1,53 @@
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.8.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.EndpointDeviceRequestToJSON = exports.EndpointDeviceRequestFromJSONTyped = exports.EndpointDeviceRequestFromJSON = exports.instanceOfEndpointDeviceRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the EndpointDeviceRequest interface.
20
+ */
21
+ function instanceOfEndpointDeviceRequest(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfEndpointDeviceRequest = instanceOfEndpointDeviceRequest;
27
+ function EndpointDeviceRequestFromJSON(json) {
28
+ return EndpointDeviceRequestFromJSONTyped(json, false);
29
+ }
30
+ exports.EndpointDeviceRequestFromJSON = EndpointDeviceRequestFromJSON;
31
+ function EndpointDeviceRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'pk': !(0, runtime_1.exists)(json, 'pk') ? undefined : json['pk'],
37
+ 'name': json['name'],
38
+ };
39
+ }
40
+ exports.EndpointDeviceRequestFromJSONTyped = EndpointDeviceRequestFromJSONTyped;
41
+ function EndpointDeviceRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'pk': value.pk,
50
+ 'name': value.name,
51
+ };
52
+ }
53
+ exports.EndpointDeviceRequestToJSON = EndpointDeviceRequestToJSON;
@@ -21,6 +21,7 @@ import { CaptchaChallengeResponseRequest } from './CaptchaChallengeResponseReque
21
21
  import { ConsentChallengeResponseRequest } from './ConsentChallengeResponseRequest';
22
22
  import { DummyChallengeResponseRequest } from './DummyChallengeResponseRequest';
23
23
  import { EmailChallengeResponseRequest } from './EmailChallengeResponseRequest';
24
+ import { FrameChallengeResponseRequest } from './FrameChallengeResponseRequest';
24
25
  import { IdentificationChallengeResponseRequest } from './IdentificationChallengeResponseRequest';
25
26
  import { OAuthDeviceCodeChallengeResponseRequest } from './OAuthDeviceCodeChallengeResponseRequest';
26
27
  import { OAuthDeviceCodeFinishChallengeResponseRequest } from './OAuthDeviceCodeFinishChallengeResponseRequest';
@@ -71,7 +72,9 @@ export type FlowChallengeResponseRequest = {
71
72
  component: 'ak-stage-prompt';
72
73
  } & PromptChallengeResponseRequest | {
73
74
  component: 'ak-stage-user-login';
74
- } & UserLoginChallengeResponseRequest;
75
+ } & UserLoginChallengeResponseRequest | {
76
+ component: 'xak-flow-frame';
77
+ } & FrameChallengeResponseRequest;
75
78
  export declare function FlowChallengeResponseRequestFromJSON(json: any): FlowChallengeResponseRequest;
76
79
  export declare function FlowChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowChallengeResponseRequest;
77
80
  export declare function FlowChallengeResponseRequestToJSON(value?: FlowChallengeResponseRequest | null): any;
@@ -26,6 +26,7 @@ const CaptchaChallengeResponseRequest_1 = require("./CaptchaChallengeResponseReq
26
26
  const ConsentChallengeResponseRequest_1 = require("./ConsentChallengeResponseRequest");
27
27
  const DummyChallengeResponseRequest_1 = require("./DummyChallengeResponseRequest");
28
28
  const EmailChallengeResponseRequest_1 = require("./EmailChallengeResponseRequest");
29
+ const FrameChallengeResponseRequest_1 = require("./FrameChallengeResponseRequest");
29
30
  const IdentificationChallengeResponseRequest_1 = require("./IdentificationChallengeResponseRequest");
30
31
  const OAuthDeviceCodeChallengeResponseRequest_1 = require("./OAuthDeviceCodeChallengeResponseRequest");
31
32
  const OAuthDeviceCodeFinishChallengeResponseRequest_1 = require("./OAuthDeviceCodeFinishChallengeResponseRequest");
@@ -80,6 +81,8 @@ function FlowChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
80
81
  return Object.assign(Object.assign({}, (0, PromptChallengeResponseRequest_1.PromptChallengeResponseRequestFromJSONTyped)(json, true)), { component: 'ak-stage-prompt' });
81
82
  case 'ak-stage-user-login':
82
83
  return Object.assign(Object.assign({}, (0, UserLoginChallengeResponseRequest_1.UserLoginChallengeResponseRequestFromJSONTyped)(json, true)), { component: 'ak-stage-user-login' });
84
+ case 'xak-flow-frame':
85
+ return Object.assign(Object.assign({}, (0, FrameChallengeResponseRequest_1.FrameChallengeResponseRequestFromJSONTyped)(json, true)), { component: 'xak-flow-frame' });
83
86
  default:
84
87
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${json['component']}'`);
85
88
  }
@@ -131,6 +134,8 @@ function FlowChallengeResponseRequestToJSON(value) {
131
134
  return (0, PromptChallengeResponseRequest_1.PromptChallengeResponseRequestToJSON)(value);
132
135
  case 'ak-stage-user-login':
133
136
  return (0, UserLoginChallengeResponseRequest_1.UserLoginChallengeResponseRequestToJSON)(value);
137
+ case 'xak-flow-frame':
138
+ return (0, FrameChallengeResponseRequest_1.FrameChallengeResponseRequestToJSON)(value);
134
139
  default:
135
140
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${value['component']}'`);
136
141
  }
@@ -0,0 +1,65 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.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
+ import type { ContextualFlowInfo } from './ContextualFlowInfo';
13
+ import type { ErrorDetail } from './ErrorDetail';
14
+ /**
15
+ * Challenge type to render a frame
16
+ * @export
17
+ * @interface FrameChallenge
18
+ */
19
+ export interface FrameChallenge {
20
+ /**
21
+ *
22
+ * @type {ContextualFlowInfo}
23
+ * @memberof FrameChallenge
24
+ */
25
+ flowInfo?: ContextualFlowInfo;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof FrameChallenge
30
+ */
31
+ component?: string;
32
+ /**
33
+ *
34
+ * @type {{ [key: string]: Array<ErrorDetail>; }}
35
+ * @memberof FrameChallenge
36
+ */
37
+ responseErrors?: {
38
+ [key: string]: Array<ErrorDetail>;
39
+ };
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof FrameChallenge
44
+ */
45
+ url: string;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof FrameChallenge
50
+ */
51
+ loadingOverlay?: boolean;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof FrameChallenge
56
+ */
57
+ loadingText: string;
58
+ }
59
+ /**
60
+ * Check if a given object implements the FrameChallenge interface.
61
+ */
62
+ export declare function instanceOfFrameChallenge(value: object): boolean;
63
+ export declare function FrameChallengeFromJSON(json: any): FrameChallenge;
64
+ export declare function FrameChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrameChallenge;
65
+ export declare function FrameChallengeToJSON(value?: FrameChallenge | null): any;
@@ -0,0 +1,63 @@
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.8.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.FrameChallengeToJSON = exports.FrameChallengeFromJSONTyped = exports.FrameChallengeFromJSON = exports.instanceOfFrameChallenge = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
19
+ /**
20
+ * Check if a given object implements the FrameChallenge interface.
21
+ */
22
+ function instanceOfFrameChallenge(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "url" in value;
25
+ isInstance = isInstance && "loadingText" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfFrameChallenge = instanceOfFrameChallenge;
29
+ function FrameChallengeFromJSON(json) {
30
+ return FrameChallengeFromJSONTyped(json, false);
31
+ }
32
+ exports.FrameChallengeFromJSON = FrameChallengeFromJSON;
33
+ function FrameChallengeFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
39
+ 'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
40
+ 'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
41
+ 'url': json['url'],
42
+ 'loadingOverlay': !(0, runtime_1.exists)(json, 'loading_overlay') ? undefined : json['loading_overlay'],
43
+ 'loadingText': json['loading_text'],
44
+ };
45
+ }
46
+ exports.FrameChallengeFromJSONTyped = FrameChallengeFromJSONTyped;
47
+ function FrameChallengeToJSON(value) {
48
+ if (value === undefined) {
49
+ return undefined;
50
+ }
51
+ if (value === null) {
52
+ return null;
53
+ }
54
+ return {
55
+ 'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
56
+ 'component': value.component,
57
+ 'response_errors': value.responseErrors,
58
+ 'url': value.url,
59
+ 'loading_overlay': value.loadingOverlay,
60
+ 'loading_text': value.loadingText,
61
+ };
62
+ }
63
+ exports.FrameChallengeToJSON = FrameChallengeToJSON;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.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
+ * Base class for all challenge responses
14
+ * @export
15
+ * @interface FrameChallengeResponseRequest
16
+ */
17
+ export interface FrameChallengeResponseRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FrameChallengeResponseRequest
22
+ */
23
+ component?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the FrameChallengeResponseRequest interface.
27
+ */
28
+ export declare function instanceOfFrameChallengeResponseRequest(value: object): boolean;
29
+ export declare function FrameChallengeResponseRequestFromJSON(json: any): FrameChallengeResponseRequest;
30
+ export declare function FrameChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrameChallengeResponseRequest;
31
+ export declare function FrameChallengeResponseRequestToJSON(value?: FrameChallengeResponseRequest | null): any;
@@ -0,0 +1,50 @@
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.8.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.FrameChallengeResponseRequestToJSON = exports.FrameChallengeResponseRequestFromJSONTyped = exports.FrameChallengeResponseRequestFromJSON = exports.instanceOfFrameChallengeResponseRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the FrameChallengeResponseRequest interface.
20
+ */
21
+ function instanceOfFrameChallengeResponseRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfFrameChallengeResponseRequest = instanceOfFrameChallengeResponseRequest;
26
+ function FrameChallengeResponseRequestFromJSON(json) {
27
+ return FrameChallengeResponseRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.FrameChallengeResponseRequestFromJSON = FrameChallengeResponseRequestFromJSON;
30
+ function FrameChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
36
+ };
37
+ }
38
+ exports.FrameChallengeResponseRequestFromJSONTyped = FrameChallengeResponseRequestFromJSONTyped;
39
+ function FrameChallengeResponseRequestToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'component': value.component,
48
+ };
49
+ }
50
+ exports.FrameChallengeResponseRequestToJSON = FrameChallengeResponseRequestToJSON;
@@ -97,6 +97,7 @@ export declare const ModelEnum: {
97
97
  readonly ProvidersRacRacprovider: "authentik_providers_rac.racprovider";
98
98
  readonly ProvidersRacEndpoint: "authentik_providers_rac.endpoint";
99
99
  readonly ProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
100
+ readonly StagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: "authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage";
100
101
  readonly StagesSourceSourcestage: "authentik_stages_source.sourcestage";
101
102
  readonly EventsEvent: "authentik_events.event";
102
103
  readonly EventsNotificationtransport: "authentik_events.notificationtransport";
@@ -102,6 +102,7 @@ exports.ModelEnum = {
102
102
  ProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
103
103
  ProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
104
104
  ProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
105
+ StagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
105
106
  StagesSourceSourcestage: 'authentik_stages_source.sourcestage',
106
107
  EventsEvent: 'authentik_events.event',
107
108
  EventsNotificationtransport: 'authentik_events.notificationtransport',
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.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
+ import type { AuthenticatorEndpointGDTCStage } from './AuthenticatorEndpointGDTCStage';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedAuthenticatorEndpointGDTCStageList
18
+ */
19
+ export interface PaginatedAuthenticatorEndpointGDTCStageList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedAuthenticatorEndpointGDTCStageList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<AuthenticatorEndpointGDTCStage>}
29
+ * @memberof PaginatedAuthenticatorEndpointGDTCStageList
30
+ */
31
+ results: Array<AuthenticatorEndpointGDTCStage>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedAuthenticatorEndpointGDTCStageList interface.
35
+ */
36
+ export declare function instanceOfPaginatedAuthenticatorEndpointGDTCStageList(value: object): boolean;
37
+ export declare function PaginatedAuthenticatorEndpointGDTCStageListFromJSON(json: any): PaginatedAuthenticatorEndpointGDTCStageList;
38
+ export declare function PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAuthenticatorEndpointGDTCStageList;
39
+ export declare function PaginatedAuthenticatorEndpointGDTCStageListToJSON(value?: PaginatedAuthenticatorEndpointGDTCStageList | null): any;
@@ -0,0 +1,55 @@
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.8.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.PaginatedAuthenticatorEndpointGDTCStageListToJSON = exports.PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped = exports.PaginatedAuthenticatorEndpointGDTCStageListFromJSON = exports.instanceOfPaginatedAuthenticatorEndpointGDTCStageList = void 0;
17
+ const AuthenticatorEndpointGDTCStage_1 = require("./AuthenticatorEndpointGDTCStage");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedAuthenticatorEndpointGDTCStageList interface.
21
+ */
22
+ function instanceOfPaginatedAuthenticatorEndpointGDTCStageList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedAuthenticatorEndpointGDTCStageList = instanceOfPaginatedAuthenticatorEndpointGDTCStageList;
29
+ function PaginatedAuthenticatorEndpointGDTCStageListFromJSON(json) {
30
+ return PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedAuthenticatorEndpointGDTCStageListFromJSON = PaginatedAuthenticatorEndpointGDTCStageListFromJSON;
33
+ function PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(AuthenticatorEndpointGDTCStage_1.AuthenticatorEndpointGDTCStageFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped = PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped;
43
+ function PaginatedAuthenticatorEndpointGDTCStageListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(AuthenticatorEndpointGDTCStage_1.AuthenticatorEndpointGDTCStageToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedAuthenticatorEndpointGDTCStageListToJSON = PaginatedAuthenticatorEndpointGDTCStageListToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.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
+ import type { EndpointDevice } from './EndpointDevice';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedEndpointDeviceList
18
+ */
19
+ export interface PaginatedEndpointDeviceList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedEndpointDeviceList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<EndpointDevice>}
29
+ * @memberof PaginatedEndpointDeviceList
30
+ */
31
+ results: Array<EndpointDevice>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedEndpointDeviceList interface.
35
+ */
36
+ export declare function instanceOfPaginatedEndpointDeviceList(value: object): boolean;
37
+ export declare function PaginatedEndpointDeviceListFromJSON(json: any): PaginatedEndpointDeviceList;
38
+ export declare function PaginatedEndpointDeviceListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedEndpointDeviceList;
39
+ export declare function PaginatedEndpointDeviceListToJSON(value?: PaginatedEndpointDeviceList | null): any;