@goauthentik/api 2024.8.3-1729167001 → 2024.8.3-1729630021

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/dist/apis/AuthenticatorsApi.d.ts +110 -1
  3. package/dist/apis/AuthenticatorsApi.js +347 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/apis/StagesApi.d.ts +85 -1
  7. package/dist/apis/StagesApi.js +268 -0
  8. package/dist/esm/apis/AuthenticatorsApi.d.ts +110 -1
  9. package/dist/esm/apis/AuthenticatorsApi.js +348 -1
  10. package/dist/esm/apis/RbacApi.d.ts +2 -0
  11. package/dist/esm/apis/RbacApi.js +2 -0
  12. package/dist/esm/apis/StagesApi.d.ts +85 -1
  13. package/dist/esm/apis/StagesApi.js +269 -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/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  17. package/dist/esm/models/AuthenticatorEndpointGDTCStage.js +64 -0
  18. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  19. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.js +54 -0
  20. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  21. package/dist/esm/models/ChallengeTypes.js +5 -0
  22. package/dist/esm/models/Device.d.ts +2 -2
  23. package/dist/esm/models/EndpointDevice.d.ts +37 -0
  24. package/dist/esm/models/EndpointDevice.js +46 -0
  25. package/dist/esm/models/EndpointDeviceRequest.d.ts +37 -0
  26. package/dist/esm/models/EndpointDeviceRequest.js +46 -0
  27. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
  28. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  29. package/dist/esm/models/FrameChallenge.d.ts +65 -0
  30. package/dist/esm/models/FrameChallenge.js +56 -0
  31. package/dist/esm/models/FrameChallengeResponseRequest.d.ts +31 -0
  32. package/dist/esm/models/FrameChallengeResponseRequest.js +43 -0
  33. package/dist/esm/models/ModelEnum.d.ts +1 -0
  34. package/dist/esm/models/ModelEnum.js +1 -0
  35. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  36. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.js +48 -0
  37. package/dist/esm/models/PaginatedEndpointDeviceList.d.ts +39 -0
  38. package/dist/esm/models/PaginatedEndpointDeviceList.js +48 -0
  39. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  40. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +52 -0
  41. package/dist/esm/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  42. package/dist/esm/models/PatchedEndpointDeviceRequest.js +45 -0
  43. package/dist/esm/models/index.d.ts +10 -0
  44. package/dist/esm/models/index.js +10 -0
  45. package/dist/models/AppEnum.d.ts +1 -0
  46. package/dist/models/AppEnum.js +1 -0
  47. package/dist/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  48. package/dist/models/AuthenticatorEndpointGDTCStage.js +71 -0
  49. package/dist/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  50. package/dist/models/AuthenticatorEndpointGDTCStageRequest.js +61 -0
  51. package/dist/models/ChallengeTypes.d.ts +3 -0
  52. package/dist/models/ChallengeTypes.js +5 -0
  53. package/dist/models/Device.d.ts +2 -2
  54. package/dist/models/EndpointDevice.d.ts +37 -0
  55. package/dist/models/EndpointDevice.js +53 -0
  56. package/dist/models/EndpointDeviceRequest.d.ts +37 -0
  57. package/dist/models/EndpointDeviceRequest.js +53 -0
  58. package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
  59. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  60. package/dist/models/FrameChallenge.d.ts +65 -0
  61. package/dist/models/FrameChallenge.js +63 -0
  62. package/dist/models/FrameChallengeResponseRequest.d.ts +31 -0
  63. package/dist/models/FrameChallengeResponseRequest.js +50 -0
  64. package/dist/models/ModelEnum.d.ts +1 -0
  65. package/dist/models/ModelEnum.js +1 -0
  66. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  67. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.js +55 -0
  68. package/dist/models/PaginatedEndpointDeviceList.d.ts +39 -0
  69. package/dist/models/PaginatedEndpointDeviceList.js +55 -0
  70. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  71. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +59 -0
  72. package/dist/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  73. package/dist/models/PatchedEndpointDeviceRequest.js +52 -0
  74. package/dist/models/index.d.ts +10 -0
  75. package/dist/models/index.js +10 -0
  76. package/package.json +1 -1
  77. package/src/apis/AuthenticatorsApi.ts +444 -0
  78. package/src/apis/RbacApi.ts +2 -0
  79. package/src/apis/StagesApi.ts +345 -0
  80. package/src/models/AppEnum.ts +1 -0
  81. package/src/models/AuthenticatorEndpointGDTCStage.ts +146 -0
  82. package/src/models/AuthenticatorEndpointGDTCStageRequest.ts +106 -0
  83. package/src/models/ChallengeTypes.ts +12 -1
  84. package/src/models/Device.ts +2 -2
  85. package/src/models/EndpointDevice.ts +74 -0
  86. package/src/models/EndpointDeviceRequest.ts +74 -0
  87. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  88. package/src/models/FrameChallenge.ts +120 -0
  89. package/src/models/FrameChallengeResponseRequest.ts +65 -0
  90. package/src/models/ModelEnum.ts +1 -0
  91. package/src/models/PaginatedAuthenticatorEndpointGDTCStageList.ts +88 -0
  92. package/src/models/PaginatedEndpointDeviceList.ts +88 -0
  93. package/src/models/PatchedAuthenticatorEndpointGDTCStageRequest.ts +104 -0
  94. package/src/models/PatchedEndpointDeviceRequest.ts +73 -0
  95. package/src/models/index.ts +10 -0
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the EndpointDevice interface.
17
+ */
18
+ export function instanceOfEndpointDevice(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "name" in value;
21
+ return isInstance;
22
+ }
23
+ export function EndpointDeviceFromJSON(json) {
24
+ return EndpointDeviceFromJSONTyped(json, false);
25
+ }
26
+ export function EndpointDeviceFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'pk': !exists(json, 'pk') ? undefined : json['pk'],
32
+ 'name': json['name'],
33
+ };
34
+ }
35
+ export function EndpointDeviceToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'pk': value.pk,
44
+ 'name': value.name,
45
+ };
46
+ }
@@ -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,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the EndpointDeviceRequest interface.
17
+ */
18
+ export function instanceOfEndpointDeviceRequest(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "name" in value;
21
+ return isInstance;
22
+ }
23
+ export function EndpointDeviceRequestFromJSON(json) {
24
+ return EndpointDeviceRequestFromJSONTyped(json, false);
25
+ }
26
+ export function EndpointDeviceRequestFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'pk': !exists(json, 'pk') ? undefined : json['pk'],
32
+ 'name': json['name'],
33
+ };
34
+ }
35
+ export function EndpointDeviceRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'pk': value.pk,
44
+ 'name': value.name,
45
+ };
46
+ }
@@ -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;
@@ -23,6 +23,7 @@ import { CaptchaChallengeResponseRequestFromJSONTyped, CaptchaChallengeResponseR
23
23
  import { ConsentChallengeResponseRequestFromJSONTyped, ConsentChallengeResponseRequestToJSON, } from './ConsentChallengeResponseRequest';
24
24
  import { DummyChallengeResponseRequestFromJSONTyped, DummyChallengeResponseRequestToJSON, } from './DummyChallengeResponseRequest';
25
25
  import { EmailChallengeResponseRequestFromJSONTyped, EmailChallengeResponseRequestToJSON, } from './EmailChallengeResponseRequest';
26
+ import { FrameChallengeResponseRequestFromJSONTyped, FrameChallengeResponseRequestToJSON, } from './FrameChallengeResponseRequest';
26
27
  import { IdentificationChallengeResponseRequestFromJSONTyped, IdentificationChallengeResponseRequestToJSON, } from './IdentificationChallengeResponseRequest';
27
28
  import { OAuthDeviceCodeChallengeResponseRequestFromJSONTyped, OAuthDeviceCodeChallengeResponseRequestToJSON, } from './OAuthDeviceCodeChallengeResponseRequest';
28
29
  import { OAuthDeviceCodeFinishChallengeResponseRequestFromJSONTyped, OAuthDeviceCodeFinishChallengeResponseRequestToJSON, } from './OAuthDeviceCodeFinishChallengeResponseRequest';
@@ -76,6 +77,8 @@ export function FlowChallengeResponseRequestFromJSONTyped(json, ignoreDiscrimina
76
77
  return Object.assign(Object.assign({}, PromptChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-stage-prompt' });
77
78
  case 'ak-stage-user-login':
78
79
  return Object.assign(Object.assign({}, UserLoginChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-stage-user-login' });
80
+ case 'xak-flow-frame':
81
+ return Object.assign(Object.assign({}, FrameChallengeResponseRequestFromJSONTyped(json, true)), { component: 'xak-flow-frame' });
79
82
  default:
80
83
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${json['component']}'`);
81
84
  }
@@ -126,6 +129,8 @@ export function FlowChallengeResponseRequestToJSON(value) {
126
129
  return PromptChallengeResponseRequestToJSON(value);
127
130
  case 'ak-stage-user-login':
128
131
  return UserLoginChallengeResponseRequestToJSON(value);
132
+ case 'xak-flow-frame':
133
+ return FrameChallengeResponseRequestToJSON(value);
129
134
  default:
130
135
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${value['component']}'`);
131
136
  }
@@ -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,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { ContextualFlowInfoFromJSON, ContextualFlowInfoToJSON, } from './ContextualFlowInfo';
16
+ /**
17
+ * Check if a given object implements the FrameChallenge interface.
18
+ */
19
+ export function instanceOfFrameChallenge(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "url" in value;
22
+ isInstance = isInstance && "loadingText" in value;
23
+ return isInstance;
24
+ }
25
+ export function FrameChallengeFromJSON(json) {
26
+ return FrameChallengeFromJSONTyped(json, false);
27
+ }
28
+ export function FrameChallengeFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
34
+ 'component': !exists(json, 'component') ? undefined : json['component'],
35
+ 'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
36
+ 'url': json['url'],
37
+ 'loadingOverlay': !exists(json, 'loading_overlay') ? undefined : json['loading_overlay'],
38
+ 'loadingText': json['loading_text'],
39
+ };
40
+ }
41
+ export function FrameChallengeToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
50
+ 'component': value.component,
51
+ 'response_errors': value.responseErrors,
52
+ 'url': value.url,
53
+ 'loading_overlay': value.loadingOverlay,
54
+ 'loading_text': value.loadingText,
55
+ };
56
+ }
@@ -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,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the FrameChallengeResponseRequest interface.
17
+ */
18
+ export function instanceOfFrameChallengeResponseRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function FrameChallengeResponseRequestFromJSON(json) {
23
+ return FrameChallengeResponseRequestFromJSONTyped(json, false);
24
+ }
25
+ export function FrameChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'component': !exists(json, 'component') ? undefined : json['component'],
31
+ };
32
+ }
33
+ export function FrameChallengeResponseRequestToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'component': value.component,
42
+ };
43
+ }
@@ -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";
@@ -99,6 +99,7 @@ export const ModelEnum = {
99
99
  ProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
100
100
  ProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
101
101
  ProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
102
+ StagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
102
103
  StagesSourceSourcestage: 'authentik_stages_source.sourcestage',
103
104
  EventsEvent: 'authentik_events.event',
104
105
  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,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { AuthenticatorEndpointGDTCStageFromJSON, AuthenticatorEndpointGDTCStageToJSON, } from './AuthenticatorEndpointGDTCStage';
15
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
16
+ /**
17
+ * Check if a given object implements the PaginatedAuthenticatorEndpointGDTCStageList interface.
18
+ */
19
+ export function instanceOfPaginatedAuthenticatorEndpointGDTCStageList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedAuthenticatorEndpointGDTCStageListFromJSON(json) {
26
+ return PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(AuthenticatorEndpointGDTCStageFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedAuthenticatorEndpointGDTCStageListToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'pagination': PaginationToJSON(value.pagination),
46
+ 'results': (value.results.map(AuthenticatorEndpointGDTCStageToJSON)),
47
+ };
48
+ }
@@ -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;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { EndpointDeviceFromJSON, EndpointDeviceToJSON, } from './EndpointDevice';
15
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
16
+ /**
17
+ * Check if a given object implements the PaginatedEndpointDeviceList interface.
18
+ */
19
+ export function instanceOfPaginatedEndpointDeviceList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedEndpointDeviceListFromJSON(json) {
26
+ return PaginatedEndpointDeviceListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedEndpointDeviceListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(EndpointDeviceFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedEndpointDeviceListToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'pagination': PaginationToJSON(value.pagination),
46
+ 'results': (value.results.map(EndpointDeviceToJSON)),
47
+ };
48
+ }
@@ -0,0 +1,56 @@
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 { FlowSetRequest } from './FlowSetRequest';
13
+ /**
14
+ * AuthenticatorEndpointGDTCStage Serializer
15
+ * @export
16
+ * @interface PatchedAuthenticatorEndpointGDTCStageRequest
17
+ */
18
+ export interface PatchedAuthenticatorEndpointGDTCStageRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
23
+ */
24
+ name?: string;
25
+ /**
26
+ *
27
+ * @type {Array<FlowSetRequest>}
28
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
29
+ */
30
+ flowSet?: Array<FlowSetRequest>;
31
+ /**
32
+ * Flow used by an authenticated user to configure this Stage. If empty, user will not be able to configure this stage.
33
+ * @type {string}
34
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
35
+ */
36
+ configureFlow?: string | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
41
+ */
42
+ friendlyName?: string | null;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
47
+ */
48
+ credentials?: any | null;
49
+ }
50
+ /**
51
+ * Check if a given object implements the PatchedAuthenticatorEndpointGDTCStageRequest interface.
52
+ */
53
+ export declare function instanceOfPatchedAuthenticatorEndpointGDTCStageRequest(value: object): boolean;
54
+ export declare function PatchedAuthenticatorEndpointGDTCStageRequestFromJSON(json: any): PatchedAuthenticatorEndpointGDTCStageRequest;
55
+ export declare function PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorEndpointGDTCStageRequest;
56
+ export declare function PatchedAuthenticatorEndpointGDTCStageRequestToJSON(value?: PatchedAuthenticatorEndpointGDTCStageRequest | null): any;