@goauthentik/api 2024.10.5-1733854821 → 2024.10.5-1734022840

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 (92) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/dist/apis/RbacApi.d.ts +2 -0
  3. package/dist/apis/RbacApi.js +2 -0
  4. package/dist/apis/SourcesApi.d.ts +11 -0
  5. package/dist/apis/SourcesApi.js +13 -1
  6. package/dist/apis/StagesApi.d.ts +84 -1
  7. package/dist/apis/StagesApi.js +265 -0
  8. package/dist/esm/apis/RbacApi.d.ts +2 -0
  9. package/dist/esm/apis/RbacApi.js +2 -0
  10. package/dist/esm/apis/SourcesApi.d.ts +11 -0
  11. package/dist/esm/apis/SourcesApi.js +12 -0
  12. package/dist/esm/apis/StagesApi.d.ts +84 -1
  13. package/dist/esm/apis/StagesApi.js +266 -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/AuthenticationEnum.d.ts +1 -0
  17. package/dist/esm/models/AuthenticationEnum.js +1 -0
  18. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
  19. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  20. package/dist/esm/models/KadminTypeEnum.d.ts +25 -0
  21. package/dist/esm/models/KadminTypeEnum.js +32 -0
  22. package/dist/esm/models/KerberosSource.d.ts +7 -0
  23. package/dist/esm/models/KerberosSource.js +3 -0
  24. package/dist/esm/models/KerberosSourceRequest.d.ts +7 -0
  25. package/dist/esm/models/KerberosSourceRequest.js +3 -0
  26. package/dist/esm/models/ModelEnum.d.ts +1 -0
  27. package/dist/esm/models/ModelEnum.js +1 -0
  28. package/dist/esm/models/PaginatedRedirectStageList.d.ts +39 -0
  29. package/dist/esm/models/PaginatedRedirectStageList.js +48 -0
  30. package/dist/esm/models/PatchedKerberosSourceRequest.d.ts +7 -0
  31. package/dist/esm/models/PatchedKerberosSourceRequest.js +3 -0
  32. package/dist/esm/models/PatchedRedirectStageRequest.d.ts +63 -0
  33. package/dist/esm/models/PatchedRedirectStageRequest.js +55 -0
  34. package/dist/esm/models/RedirectChallengeResponseRequest.d.ts +37 -0
  35. package/dist/esm/models/RedirectChallengeResponseRequest.js +46 -0
  36. package/dist/esm/models/RedirectStage.d.ts +93 -0
  37. package/dist/esm/models/RedirectStage.js +67 -0
  38. package/dist/esm/models/RedirectStageModeEnum.d.ts +24 -0
  39. package/dist/esm/models/RedirectStageModeEnum.js +31 -0
  40. package/dist/esm/models/RedirectStageRequest.d.ts +63 -0
  41. package/dist/esm/models/RedirectStageRequest.js +57 -0
  42. package/dist/esm/models/index.d.ts +7 -0
  43. package/dist/esm/models/index.js +7 -0
  44. package/dist/models/AppEnum.d.ts +1 -0
  45. package/dist/models/AppEnum.js +1 -0
  46. package/dist/models/AuthenticationEnum.d.ts +1 -0
  47. package/dist/models/AuthenticationEnum.js +1 -0
  48. package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
  49. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  50. package/dist/models/KadminTypeEnum.d.ts +25 -0
  51. package/dist/models/KadminTypeEnum.js +38 -0
  52. package/dist/models/KerberosSource.d.ts +7 -0
  53. package/dist/models/KerberosSource.js +3 -0
  54. package/dist/models/KerberosSourceRequest.d.ts +7 -0
  55. package/dist/models/KerberosSourceRequest.js +3 -0
  56. package/dist/models/ModelEnum.d.ts +1 -0
  57. package/dist/models/ModelEnum.js +1 -0
  58. package/dist/models/PaginatedRedirectStageList.d.ts +39 -0
  59. package/dist/models/PaginatedRedirectStageList.js +55 -0
  60. package/dist/models/PatchedKerberosSourceRequest.d.ts +7 -0
  61. package/dist/models/PatchedKerberosSourceRequest.js +3 -0
  62. package/dist/models/PatchedRedirectStageRequest.d.ts +63 -0
  63. package/dist/models/PatchedRedirectStageRequest.js +62 -0
  64. package/dist/models/RedirectChallengeResponseRequest.d.ts +37 -0
  65. package/dist/models/RedirectChallengeResponseRequest.js +53 -0
  66. package/dist/models/RedirectStage.d.ts +93 -0
  67. package/dist/models/RedirectStage.js +74 -0
  68. package/dist/models/RedirectStageModeEnum.d.ts +24 -0
  69. package/dist/models/RedirectStageModeEnum.js +37 -0
  70. package/dist/models/RedirectStageRequest.d.ts +63 -0
  71. package/dist/models/RedirectStageRequest.js +64 -0
  72. package/dist/models/index.d.ts +7 -0
  73. package/dist/models/index.js +7 -0
  74. package/package.json +1 -1
  75. package/src/apis/RbacApi.ts +2 -0
  76. package/src/apis/SourcesApi.ts +15 -0
  77. package/src/apis/StagesApi.ts +340 -0
  78. package/src/models/AppEnum.ts +1 -0
  79. package/src/models/AuthenticationEnum.ts +1 -0
  80. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  81. package/src/models/KadminTypeEnum.ts +40 -0
  82. package/src/models/KerberosSource.ts +14 -0
  83. package/src/models/KerberosSourceRequest.ts +14 -0
  84. package/src/models/ModelEnum.ts +1 -0
  85. package/src/models/PaginatedRedirectStageList.ts +88 -0
  86. package/src/models/PatchedKerberosSourceRequest.ts +14 -0
  87. package/src/models/PatchedRedirectStageRequest.ts +118 -0
  88. package/src/models/RedirectChallengeResponseRequest.ts +74 -0
  89. package/src/models/RedirectStage.ts +160 -0
  90. package/src/models/RedirectStageModeEnum.ts +39 -0
  91. package/src/models/RedirectStageRequest.ts +120 -0
  92. package/src/models/index.ts +7 -0
@@ -0,0 +1,37 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.10.5
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
+ * Redirect challenge response
14
+ * @export
15
+ * @interface RedirectChallengeResponseRequest
16
+ */
17
+ export interface RedirectChallengeResponseRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RedirectChallengeResponseRequest
22
+ */
23
+ component?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RedirectChallengeResponseRequest
28
+ */
29
+ to: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the RedirectChallengeResponseRequest interface.
33
+ */
34
+ export declare function instanceOfRedirectChallengeResponseRequest(value: object): boolean;
35
+ export declare function RedirectChallengeResponseRequestFromJSON(json: any): RedirectChallengeResponseRequest;
36
+ export declare function RedirectChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectChallengeResponseRequest;
37
+ export declare function RedirectChallengeResponseRequestToJSON(value?: RedirectChallengeResponseRequest | 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.10.5
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.RedirectChallengeResponseRequestToJSON = exports.RedirectChallengeResponseRequestFromJSONTyped = exports.RedirectChallengeResponseRequestFromJSON = exports.instanceOfRedirectChallengeResponseRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the RedirectChallengeResponseRequest interface.
20
+ */
21
+ function instanceOfRedirectChallengeResponseRequest(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "to" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfRedirectChallengeResponseRequest = instanceOfRedirectChallengeResponseRequest;
27
+ function RedirectChallengeResponseRequestFromJSON(json) {
28
+ return RedirectChallengeResponseRequestFromJSONTyped(json, false);
29
+ }
30
+ exports.RedirectChallengeResponseRequestFromJSON = RedirectChallengeResponseRequestFromJSON;
31
+ function RedirectChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
37
+ 'to': json['to'],
38
+ };
39
+ }
40
+ exports.RedirectChallengeResponseRequestFromJSONTyped = RedirectChallengeResponseRequestFromJSONTyped;
41
+ function RedirectChallengeResponseRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'component': value.component,
50
+ 'to': value.to,
51
+ };
52
+ }
53
+ exports.RedirectChallengeResponseRequestToJSON = RedirectChallengeResponseRequestToJSON;
@@ -0,0 +1,93 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.10.5
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 { FlowSet } from './FlowSet';
13
+ import type { RedirectStageModeEnum } from './RedirectStageModeEnum';
14
+ /**
15
+ * RedirectStage Serializer
16
+ * @export
17
+ * @interface RedirectStage
18
+ */
19
+ export interface RedirectStage {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof RedirectStage
24
+ */
25
+ readonly pk: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof RedirectStage
30
+ */
31
+ name: string;
32
+ /**
33
+ * Get object type so that we know how to edit the object
34
+ * @type {string}
35
+ * @memberof RedirectStage
36
+ */
37
+ readonly component: string;
38
+ /**
39
+ * Return object's verbose_name
40
+ * @type {string}
41
+ * @memberof RedirectStage
42
+ */
43
+ readonly verboseName: string;
44
+ /**
45
+ * Return object's plural verbose_name
46
+ * @type {string}
47
+ * @memberof RedirectStage
48
+ */
49
+ readonly verboseNamePlural: string;
50
+ /**
51
+ * Return internal model name
52
+ * @type {string}
53
+ * @memberof RedirectStage
54
+ */
55
+ readonly metaModelName: string;
56
+ /**
57
+ *
58
+ * @type {Array<FlowSet>}
59
+ * @memberof RedirectStage
60
+ */
61
+ flowSet?: Array<FlowSet>;
62
+ /**
63
+ *
64
+ * @type {boolean}
65
+ * @memberof RedirectStage
66
+ */
67
+ keepContext?: boolean;
68
+ /**
69
+ *
70
+ * @type {RedirectStageModeEnum}
71
+ * @memberof RedirectStage
72
+ */
73
+ mode: RedirectStageModeEnum;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof RedirectStage
78
+ */
79
+ targetStatic?: string;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof RedirectStage
84
+ */
85
+ targetFlow?: string | null;
86
+ }
87
+ /**
88
+ * Check if a given object implements the RedirectStage interface.
89
+ */
90
+ export declare function instanceOfRedirectStage(value: object): boolean;
91
+ export declare function RedirectStageFromJSON(json: any): RedirectStage;
92
+ export declare function RedirectStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStage;
93
+ export declare function RedirectStageToJSON(value?: RedirectStage | null): any;
@@ -0,0 +1,74 @@
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.10.5
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.RedirectStageToJSON = exports.RedirectStageFromJSONTyped = exports.RedirectStageFromJSON = exports.instanceOfRedirectStage = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const FlowSet_1 = require("./FlowSet");
19
+ const RedirectStageModeEnum_1 = require("./RedirectStageModeEnum");
20
+ /**
21
+ * Check if a given object implements the RedirectStage interface.
22
+ */
23
+ function instanceOfRedirectStage(value) {
24
+ let isInstance = true;
25
+ isInstance = isInstance && "pk" in value;
26
+ isInstance = isInstance && "name" in value;
27
+ isInstance = isInstance && "component" in value;
28
+ isInstance = isInstance && "verboseName" in value;
29
+ isInstance = isInstance && "verboseNamePlural" in value;
30
+ isInstance = isInstance && "metaModelName" in value;
31
+ isInstance = isInstance && "mode" in value;
32
+ return isInstance;
33
+ }
34
+ exports.instanceOfRedirectStage = instanceOfRedirectStage;
35
+ function RedirectStageFromJSON(json) {
36
+ return RedirectStageFromJSONTyped(json, false);
37
+ }
38
+ exports.RedirectStageFromJSON = RedirectStageFromJSON;
39
+ function RedirectStageFromJSONTyped(json, ignoreDiscriminator) {
40
+ if ((json === undefined) || (json === null)) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'pk': json['pk'],
45
+ 'name': json['name'],
46
+ 'component': json['component'],
47
+ 'verboseName': json['verbose_name'],
48
+ 'verboseNamePlural': json['verbose_name_plural'],
49
+ 'metaModelName': json['meta_model_name'],
50
+ 'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSet_1.FlowSetFromJSON)),
51
+ 'keepContext': !(0, runtime_1.exists)(json, 'keep_context') ? undefined : json['keep_context'],
52
+ 'mode': (0, RedirectStageModeEnum_1.RedirectStageModeEnumFromJSON)(json['mode']),
53
+ 'targetStatic': !(0, runtime_1.exists)(json, 'target_static') ? undefined : json['target_static'],
54
+ 'targetFlow': !(0, runtime_1.exists)(json, 'target_flow') ? undefined : json['target_flow'],
55
+ };
56
+ }
57
+ exports.RedirectStageFromJSONTyped = RedirectStageFromJSONTyped;
58
+ function RedirectStageToJSON(value) {
59
+ if (value === undefined) {
60
+ return undefined;
61
+ }
62
+ if (value === null) {
63
+ return null;
64
+ }
65
+ return {
66
+ 'name': value.name,
67
+ 'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSet_1.FlowSetToJSON)),
68
+ 'keep_context': value.keepContext,
69
+ 'mode': (0, RedirectStageModeEnum_1.RedirectStageModeEnumToJSON)(value.mode),
70
+ 'target_static': value.targetStatic,
71
+ 'target_flow': value.targetFlow,
72
+ };
73
+ }
74
+ exports.RedirectStageToJSON = RedirectStageToJSON;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.10.5
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
+ *
14
+ * @export
15
+ */
16
+ export declare const RedirectStageModeEnum: {
17
+ readonly Static: "static";
18
+ readonly Flow: "flow";
19
+ readonly UnknownDefaultOpenApi: "11184809";
20
+ };
21
+ export type RedirectStageModeEnum = typeof RedirectStageModeEnum[keyof typeof RedirectStageModeEnum];
22
+ export declare function RedirectStageModeEnumFromJSON(json: any): RedirectStageModeEnum;
23
+ export declare function RedirectStageModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStageModeEnum;
24
+ export declare function RedirectStageModeEnumToJSON(value?: RedirectStageModeEnum | null): any;
@@ -0,0 +1,37 @@
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.10.5
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.RedirectStageModeEnumToJSON = exports.RedirectStageModeEnumFromJSONTyped = exports.RedirectStageModeEnumFromJSON = exports.RedirectStageModeEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ */
21
+ exports.RedirectStageModeEnum = {
22
+ Static: 'static',
23
+ Flow: 'flow',
24
+ UnknownDefaultOpenApi: '11184809'
25
+ };
26
+ function RedirectStageModeEnumFromJSON(json) {
27
+ return RedirectStageModeEnumFromJSONTyped(json, false);
28
+ }
29
+ exports.RedirectStageModeEnumFromJSON = RedirectStageModeEnumFromJSON;
30
+ function RedirectStageModeEnumFromJSONTyped(json, ignoreDiscriminator) {
31
+ return json;
32
+ }
33
+ exports.RedirectStageModeEnumFromJSONTyped = RedirectStageModeEnumFromJSONTyped;
34
+ function RedirectStageModeEnumToJSON(value) {
35
+ return value;
36
+ }
37
+ exports.RedirectStageModeEnumToJSON = RedirectStageModeEnumToJSON;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.10.5
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
+ import type { RedirectStageModeEnum } from './RedirectStageModeEnum';
14
+ /**
15
+ * RedirectStage Serializer
16
+ * @export
17
+ * @interface RedirectStageRequest
18
+ */
19
+ export interface RedirectStageRequest {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof RedirectStageRequest
24
+ */
25
+ name: string;
26
+ /**
27
+ *
28
+ * @type {Array<FlowSetRequest>}
29
+ * @memberof RedirectStageRequest
30
+ */
31
+ flowSet?: Array<FlowSetRequest>;
32
+ /**
33
+ *
34
+ * @type {boolean}
35
+ * @memberof RedirectStageRequest
36
+ */
37
+ keepContext?: boolean;
38
+ /**
39
+ *
40
+ * @type {RedirectStageModeEnum}
41
+ * @memberof RedirectStageRequest
42
+ */
43
+ mode: RedirectStageModeEnum;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof RedirectStageRequest
48
+ */
49
+ targetStatic?: string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof RedirectStageRequest
54
+ */
55
+ targetFlow?: string | null;
56
+ }
57
+ /**
58
+ * Check if a given object implements the RedirectStageRequest interface.
59
+ */
60
+ export declare function instanceOfRedirectStageRequest(value: object): boolean;
61
+ export declare function RedirectStageRequestFromJSON(json: any): RedirectStageRequest;
62
+ export declare function RedirectStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStageRequest;
63
+ export declare function RedirectStageRequestToJSON(value?: RedirectStageRequest | null): any;
@@ -0,0 +1,64 @@
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.10.5
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.RedirectStageRequestToJSON = exports.RedirectStageRequestFromJSONTyped = exports.RedirectStageRequestFromJSON = exports.instanceOfRedirectStageRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const FlowSetRequest_1 = require("./FlowSetRequest");
19
+ const RedirectStageModeEnum_1 = require("./RedirectStageModeEnum");
20
+ /**
21
+ * Check if a given object implements the RedirectStageRequest interface.
22
+ */
23
+ function instanceOfRedirectStageRequest(value) {
24
+ let isInstance = true;
25
+ isInstance = isInstance && "name" in value;
26
+ isInstance = isInstance && "mode" in value;
27
+ return isInstance;
28
+ }
29
+ exports.instanceOfRedirectStageRequest = instanceOfRedirectStageRequest;
30
+ function RedirectStageRequestFromJSON(json) {
31
+ return RedirectStageRequestFromJSONTyped(json, false);
32
+ }
33
+ exports.RedirectStageRequestFromJSON = RedirectStageRequestFromJSON;
34
+ function RedirectStageRequestFromJSONTyped(json, ignoreDiscriminator) {
35
+ if ((json === undefined) || (json === null)) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'name': json['name'],
40
+ 'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
41
+ 'keepContext': !(0, runtime_1.exists)(json, 'keep_context') ? undefined : json['keep_context'],
42
+ 'mode': (0, RedirectStageModeEnum_1.RedirectStageModeEnumFromJSON)(json['mode']),
43
+ 'targetStatic': !(0, runtime_1.exists)(json, 'target_static') ? undefined : json['target_static'],
44
+ 'targetFlow': !(0, runtime_1.exists)(json, 'target_flow') ? undefined : json['target_flow'],
45
+ };
46
+ }
47
+ exports.RedirectStageRequestFromJSONTyped = RedirectStageRequestFromJSONTyped;
48
+ function RedirectStageRequestToJSON(value) {
49
+ if (value === undefined) {
50
+ return undefined;
51
+ }
52
+ if (value === null) {
53
+ return null;
54
+ }
55
+ return {
56
+ 'name': value.name,
57
+ 'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequest_1.FlowSetRequestToJSON)),
58
+ 'keep_context': value.keepContext,
59
+ 'mode': (0, RedirectStageModeEnum_1.RedirectStageModeEnumToJSON)(value.mode),
60
+ 'target_static': value.targetStatic,
61
+ 'target_flow': value.targetFlow,
62
+ };
63
+ }
64
+ exports.RedirectStageRequestToJSON = RedirectStageRequestToJSON;
@@ -182,6 +182,7 @@ export * from './InvitationRequest';
182
182
  export * from './InvitationStage';
183
183
  export * from './InvitationStageRequest';
184
184
  export * from './IssuerModeEnum';
185
+ export * from './KadminTypeEnum';
185
186
  export * from './KerberosSource';
186
187
  export * from './KerberosSourcePropertyMapping';
187
188
  export * from './KerberosSourcePropertyMappingRequest';
@@ -338,6 +339,7 @@ export * from './PaginatedRACProviderList';
338
339
  export * from './PaginatedRadiusOutpostConfigList';
339
340
  export * from './PaginatedRadiusProviderList';
340
341
  export * from './PaginatedRadiusProviderPropertyMappingList';
342
+ export * from './PaginatedRedirectStageList';
341
343
  export * from './PaginatedReputationList';
342
344
  export * from './PaginatedReputationPolicyList';
343
345
  export * from './PaginatedRoleAssignedObjectPermissionList';
@@ -457,6 +459,7 @@ export * from './PatchedRACPropertyMappingRequest';
457
459
  export * from './PatchedRACProviderRequest';
458
460
  export * from './PatchedRadiusProviderPropertyMappingRequest';
459
461
  export * from './PatchedRadiusProviderRequest';
462
+ export * from './PatchedRedirectStageRequest';
460
463
  export * from './PatchedReputationPolicyRequest';
461
464
  export * from './PatchedRoleRequest';
462
465
  export * from './PatchedSAMLPropertyMappingRequest';
@@ -536,6 +539,10 @@ export * from './RadiusProviderPropertyMapping';
536
539
  export * from './RadiusProviderPropertyMappingRequest';
537
540
  export * from './RadiusProviderRequest';
538
541
  export * from './RedirectChallenge';
542
+ export * from './RedirectChallengeResponseRequest';
543
+ export * from './RedirectStage';
544
+ export * from './RedirectStageModeEnum';
545
+ export * from './RedirectStageRequest';
539
546
  export * from './RedirectURI';
540
547
  export * from './RedirectURIRequest';
541
548
  export * from './Reputation';
@@ -200,6 +200,7 @@ __exportStar(require("./InvitationRequest"), exports);
200
200
  __exportStar(require("./InvitationStage"), exports);
201
201
  __exportStar(require("./InvitationStageRequest"), exports);
202
202
  __exportStar(require("./IssuerModeEnum"), exports);
203
+ __exportStar(require("./KadminTypeEnum"), exports);
203
204
  __exportStar(require("./KerberosSource"), exports);
204
205
  __exportStar(require("./KerberosSourcePropertyMapping"), exports);
205
206
  __exportStar(require("./KerberosSourcePropertyMappingRequest"), exports);
@@ -356,6 +357,7 @@ __exportStar(require("./PaginatedRACProviderList"), exports);
356
357
  __exportStar(require("./PaginatedRadiusOutpostConfigList"), exports);
357
358
  __exportStar(require("./PaginatedRadiusProviderList"), exports);
358
359
  __exportStar(require("./PaginatedRadiusProviderPropertyMappingList"), exports);
360
+ __exportStar(require("./PaginatedRedirectStageList"), exports);
359
361
  __exportStar(require("./PaginatedReputationList"), exports);
360
362
  __exportStar(require("./PaginatedReputationPolicyList"), exports);
361
363
  __exportStar(require("./PaginatedRoleAssignedObjectPermissionList"), exports);
@@ -475,6 +477,7 @@ __exportStar(require("./PatchedRACPropertyMappingRequest"), exports);
475
477
  __exportStar(require("./PatchedRACProviderRequest"), exports);
476
478
  __exportStar(require("./PatchedRadiusProviderPropertyMappingRequest"), exports);
477
479
  __exportStar(require("./PatchedRadiusProviderRequest"), exports);
480
+ __exportStar(require("./PatchedRedirectStageRequest"), exports);
478
481
  __exportStar(require("./PatchedReputationPolicyRequest"), exports);
479
482
  __exportStar(require("./PatchedRoleRequest"), exports);
480
483
  __exportStar(require("./PatchedSAMLPropertyMappingRequest"), exports);
@@ -554,6 +557,10 @@ __exportStar(require("./RadiusProviderPropertyMapping"), exports);
554
557
  __exportStar(require("./RadiusProviderPropertyMappingRequest"), exports);
555
558
  __exportStar(require("./RadiusProviderRequest"), exports);
556
559
  __exportStar(require("./RedirectChallenge"), exports);
560
+ __exportStar(require("./RedirectChallengeResponseRequest"), exports);
561
+ __exportStar(require("./RedirectStage"), exports);
562
+ __exportStar(require("./RedirectStageModeEnum"), exports);
563
+ __exportStar(require("./RedirectStageRequest"), exports);
557
564
  __exportStar(require("./RedirectURI"), exports);
558
565
  __exportStar(require("./RedirectURIRequest"), exports);
559
566
  __exportStar(require("./Reputation"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.10.5-1733854821",
3
+ "version": "2024.10.5-1734022840",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -1450,6 +1450,7 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
1450
1450
  StagesPasswordPasswordstage: 'authentik_stages_password.passwordstage',
1451
1451
  StagesPromptPrompt: 'authentik_stages_prompt.prompt',
1452
1452
  StagesPromptPromptstage: 'authentik_stages_prompt.promptstage',
1453
+ StagesRedirectRedirectstage: 'authentik_stages_redirect.redirectstage',
1453
1454
  StagesSourceSourcestage: 'authentik_stages_source.sourcestage',
1454
1455
  StagesUserDeleteUserdeletestage: 'authentik_stages_user_delete.userdeletestage',
1455
1456
  StagesUserLoginUserloginstage: 'authentik_stages_user_login.userloginstage',
@@ -1551,6 +1552,7 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
1551
1552
  StagesPasswordPasswordstage: 'authentik_stages_password.passwordstage',
1552
1553
  StagesPromptPrompt: 'authentik_stages_prompt.prompt',
1553
1554
  StagesPromptPromptstage: 'authentik_stages_prompt.promptstage',
1555
+ StagesRedirectRedirectstage: 'authentik_stages_redirect.redirectstage',
1554
1556
  StagesSourceSourcestage: 'authentik_stages_source.sourcestage',
1555
1557
  StagesUserDeleteUserdeletestage: 'authentik_stages_user_delete.userdeletestage',
1556
1558
  StagesUserLoginUserloginstage: 'authentik_stages_user_login.userloginstage',
@@ -397,6 +397,7 @@ export interface SourcesKerberosDestroyRequest {
397
397
 
398
398
  export interface SourcesKerberosListRequest {
399
399
  enabled?: boolean;
400
+ kadminType?: SourcesKerberosListKadminTypeEnum;
400
401
  name?: string;
401
402
  ordering?: string;
402
403
  page?: number;
@@ -2433,6 +2434,10 @@ export class SourcesApi extends runtime.BaseAPI {
2433
2434
  queryParameters['enabled'] = requestParameters.enabled;
2434
2435
  }
2435
2436
 
2437
+ if (requestParameters.kadminType !== undefined) {
2438
+ queryParameters['kadmin_type'] = requestParameters.kadminType;
2439
+ }
2440
+
2436
2441
  if (requestParameters.name !== undefined) {
2437
2442
  queryParameters['name'] = requestParameters.name;
2438
2443
  }
@@ -6725,6 +6730,16 @@ export class SourcesApi extends runtime.BaseAPI {
6725
6730
 
6726
6731
  }
6727
6732
 
6733
+ /**
6734
+ * @export
6735
+ */
6736
+ export const SourcesKerberosListKadminTypeEnum = {
6737
+ Heimdal: 'Heimdal',
6738
+ Mit: 'MIT',
6739
+ Other: 'other',
6740
+ UnknownDefaultOpenApi: '11184809'
6741
+ } as const;
6742
+ export type SourcesKerberosListKadminTypeEnum = typeof SourcesKerberosListKadminTypeEnum[keyof typeof SourcesKerberosListKadminTypeEnum];
6728
6743
  /**
6729
6744
  * @export
6730
6745
  */