@goauthentik/api 2024.10.5-1733854821 → 2024.10.5-1734022840

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -19,6 +19,12 @@ import {
19
19
  GroupMatchingModeEnumFromJSONTyped,
20
20
  GroupMatchingModeEnumToJSON,
21
21
  } from './GroupMatchingModeEnum';
22
+ import type { KadminTypeEnum } from './KadminTypeEnum';
23
+ import {
24
+ KadminTypeEnumFromJSON,
25
+ KadminTypeEnumFromJSONTyped,
26
+ KadminTypeEnumToJSON,
27
+ } from './KadminTypeEnum';
22
28
  import type { PolicyEngineMode } from './PolicyEngineMode';
23
29
  import {
24
30
  PolicyEngineModeFromJSON,
@@ -116,6 +122,12 @@ export interface PatchedKerberosSourceRequest {
116
122
  * @memberof PatchedKerberosSourceRequest
117
123
  */
118
124
  krb5Conf?: string;
125
+ /**
126
+ *
127
+ * @type {KadminTypeEnum}
128
+ * @memberof PatchedKerberosSourceRequest
129
+ */
130
+ kadminType?: KadminTypeEnum;
119
131
  /**
120
132
  * Sync users from Kerberos into authentik
121
133
  * @type {boolean}
@@ -210,6 +222,7 @@ export function PatchedKerberosSourceRequestFromJSONTyped(json: any, ignoreDiscr
210
222
  'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
211
223
  'realm': !exists(json, 'realm') ? undefined : json['realm'],
212
224
  'krb5Conf': !exists(json, 'krb5_conf') ? undefined : json['krb5_conf'],
225
+ 'kadminType': !exists(json, 'kadmin_type') ? undefined : KadminTypeEnumFromJSON(json['kadmin_type']),
213
226
  'syncUsers': !exists(json, 'sync_users') ? undefined : json['sync_users'],
214
227
  'syncUsersPassword': !exists(json, 'sync_users_password') ? undefined : json['sync_users_password'],
215
228
  'syncPrincipal': !exists(json, 'sync_principal') ? undefined : json['sync_principal'],
@@ -245,6 +258,7 @@ export function PatchedKerberosSourceRequestToJSON(value?: PatchedKerberosSource
245
258
  'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
246
259
  'realm': value.realm,
247
260
  'krb5_conf': value.krb5Conf,
261
+ 'kadmin_type': KadminTypeEnumToJSON(value.kadminType),
248
262
  'sync_users': value.syncUsers,
249
263
  'sync_users_password': value.syncUsersPassword,
250
264
  'sync_principal': value.syncPrincipal,
@@ -0,0 +1,118 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
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
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { FlowSetRequest } from './FlowSetRequest';
17
+ import {
18
+ FlowSetRequestFromJSON,
19
+ FlowSetRequestFromJSONTyped,
20
+ FlowSetRequestToJSON,
21
+ } from './FlowSetRequest';
22
+ import type { RedirectStageModeEnum } from './RedirectStageModeEnum';
23
+ import {
24
+ RedirectStageModeEnumFromJSON,
25
+ RedirectStageModeEnumFromJSONTyped,
26
+ RedirectStageModeEnumToJSON,
27
+ } from './RedirectStageModeEnum';
28
+
29
+ /**
30
+ * RedirectStage Serializer
31
+ * @export
32
+ * @interface PatchedRedirectStageRequest
33
+ */
34
+ export interface PatchedRedirectStageRequest {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof PatchedRedirectStageRequest
39
+ */
40
+ name?: string;
41
+ /**
42
+ *
43
+ * @type {Array<FlowSetRequest>}
44
+ * @memberof PatchedRedirectStageRequest
45
+ */
46
+ flowSet?: Array<FlowSetRequest>;
47
+ /**
48
+ *
49
+ * @type {boolean}
50
+ * @memberof PatchedRedirectStageRequest
51
+ */
52
+ keepContext?: boolean;
53
+ /**
54
+ *
55
+ * @type {RedirectStageModeEnum}
56
+ * @memberof PatchedRedirectStageRequest
57
+ */
58
+ mode?: RedirectStageModeEnum;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof PatchedRedirectStageRequest
63
+ */
64
+ targetStatic?: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof PatchedRedirectStageRequest
69
+ */
70
+ targetFlow?: string | null;
71
+ }
72
+
73
+ /**
74
+ * Check if a given object implements the PatchedRedirectStageRequest interface.
75
+ */
76
+ export function instanceOfPatchedRedirectStageRequest(value: object): boolean {
77
+ let isInstance = true;
78
+
79
+ return isInstance;
80
+ }
81
+
82
+ export function PatchedRedirectStageRequestFromJSON(json: any): PatchedRedirectStageRequest {
83
+ return PatchedRedirectStageRequestFromJSONTyped(json, false);
84
+ }
85
+
86
+ export function PatchedRedirectStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedRedirectStageRequest {
87
+ if ((json === undefined) || (json === null)) {
88
+ return json;
89
+ }
90
+ return {
91
+
92
+ 'name': !exists(json, 'name') ? undefined : json['name'],
93
+ 'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetRequestFromJSON)),
94
+ 'keepContext': !exists(json, 'keep_context') ? undefined : json['keep_context'],
95
+ 'mode': !exists(json, 'mode') ? undefined : RedirectStageModeEnumFromJSON(json['mode']),
96
+ 'targetStatic': !exists(json, 'target_static') ? undefined : json['target_static'],
97
+ 'targetFlow': !exists(json, 'target_flow') ? undefined : json['target_flow'],
98
+ };
99
+ }
100
+
101
+ export function PatchedRedirectStageRequestToJSON(value?: PatchedRedirectStageRequest | null): any {
102
+ if (value === undefined) {
103
+ return undefined;
104
+ }
105
+ if (value === null) {
106
+ return null;
107
+ }
108
+ return {
109
+
110
+ 'name': value.name,
111
+ 'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetRequestToJSON)),
112
+ 'keep_context': value.keepContext,
113
+ 'mode': RedirectStageModeEnumToJSON(value.mode),
114
+ 'target_static': value.targetStatic,
115
+ 'target_flow': value.targetFlow,
116
+ };
117
+ }
118
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
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
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * Redirect challenge response
18
+ * @export
19
+ * @interface RedirectChallengeResponseRequest
20
+ */
21
+ export interface RedirectChallengeResponseRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof RedirectChallengeResponseRequest
26
+ */
27
+ component?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof RedirectChallengeResponseRequest
32
+ */
33
+ to: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the RedirectChallengeResponseRequest interface.
38
+ */
39
+ export function instanceOfRedirectChallengeResponseRequest(value: object): boolean {
40
+ let isInstance = true;
41
+ isInstance = isInstance && "to" in value;
42
+
43
+ return isInstance;
44
+ }
45
+
46
+ export function RedirectChallengeResponseRequestFromJSON(json: any): RedirectChallengeResponseRequest {
47
+ return RedirectChallengeResponseRequestFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function RedirectChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectChallengeResponseRequest {
51
+ if ((json === undefined) || (json === null)) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'component': !exists(json, 'component') ? undefined : json['component'],
57
+ 'to': json['to'],
58
+ };
59
+ }
60
+
61
+ export function RedirectChallengeResponseRequestToJSON(value?: RedirectChallengeResponseRequest | null): any {
62
+ if (value === undefined) {
63
+ return undefined;
64
+ }
65
+ if (value === null) {
66
+ return null;
67
+ }
68
+ return {
69
+
70
+ 'component': value.component,
71
+ 'to': value.to,
72
+ };
73
+ }
74
+
@@ -0,0 +1,160 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
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
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { FlowSet } from './FlowSet';
17
+ import {
18
+ FlowSetFromJSON,
19
+ FlowSetFromJSONTyped,
20
+ FlowSetToJSON,
21
+ } from './FlowSet';
22
+ import type { RedirectStageModeEnum } from './RedirectStageModeEnum';
23
+ import {
24
+ RedirectStageModeEnumFromJSON,
25
+ RedirectStageModeEnumFromJSONTyped,
26
+ RedirectStageModeEnumToJSON,
27
+ } from './RedirectStageModeEnum';
28
+
29
+ /**
30
+ * RedirectStage Serializer
31
+ * @export
32
+ * @interface RedirectStage
33
+ */
34
+ export interface RedirectStage {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof RedirectStage
39
+ */
40
+ readonly pk: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof RedirectStage
45
+ */
46
+ name: string;
47
+ /**
48
+ * Get object type so that we know how to edit the object
49
+ * @type {string}
50
+ * @memberof RedirectStage
51
+ */
52
+ readonly component: string;
53
+ /**
54
+ * Return object's verbose_name
55
+ * @type {string}
56
+ * @memberof RedirectStage
57
+ */
58
+ readonly verboseName: string;
59
+ /**
60
+ * Return object's plural verbose_name
61
+ * @type {string}
62
+ * @memberof RedirectStage
63
+ */
64
+ readonly verboseNamePlural: string;
65
+ /**
66
+ * Return internal model name
67
+ * @type {string}
68
+ * @memberof RedirectStage
69
+ */
70
+ readonly metaModelName: string;
71
+ /**
72
+ *
73
+ * @type {Array<FlowSet>}
74
+ * @memberof RedirectStage
75
+ */
76
+ flowSet?: Array<FlowSet>;
77
+ /**
78
+ *
79
+ * @type {boolean}
80
+ * @memberof RedirectStage
81
+ */
82
+ keepContext?: boolean;
83
+ /**
84
+ *
85
+ * @type {RedirectStageModeEnum}
86
+ * @memberof RedirectStage
87
+ */
88
+ mode: RedirectStageModeEnum;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof RedirectStage
93
+ */
94
+ targetStatic?: string;
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof RedirectStage
99
+ */
100
+ targetFlow?: string | null;
101
+ }
102
+
103
+ /**
104
+ * Check if a given object implements the RedirectStage interface.
105
+ */
106
+ export function instanceOfRedirectStage(value: object): boolean {
107
+ let isInstance = true;
108
+ isInstance = isInstance && "pk" in value;
109
+ isInstance = isInstance && "name" in value;
110
+ isInstance = isInstance && "component" in value;
111
+ isInstance = isInstance && "verboseName" in value;
112
+ isInstance = isInstance && "verboseNamePlural" in value;
113
+ isInstance = isInstance && "metaModelName" in value;
114
+ isInstance = isInstance && "mode" in value;
115
+
116
+ return isInstance;
117
+ }
118
+
119
+ export function RedirectStageFromJSON(json: any): RedirectStage {
120
+ return RedirectStageFromJSONTyped(json, false);
121
+ }
122
+
123
+ export function RedirectStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStage {
124
+ if ((json === undefined) || (json === null)) {
125
+ return json;
126
+ }
127
+ return {
128
+
129
+ 'pk': json['pk'],
130
+ 'name': json['name'],
131
+ 'component': json['component'],
132
+ 'verboseName': json['verbose_name'],
133
+ 'verboseNamePlural': json['verbose_name_plural'],
134
+ 'metaModelName': json['meta_model_name'],
135
+ 'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetFromJSON)),
136
+ 'keepContext': !exists(json, 'keep_context') ? undefined : json['keep_context'],
137
+ 'mode': RedirectStageModeEnumFromJSON(json['mode']),
138
+ 'targetStatic': !exists(json, 'target_static') ? undefined : json['target_static'],
139
+ 'targetFlow': !exists(json, 'target_flow') ? undefined : json['target_flow'],
140
+ };
141
+ }
142
+
143
+ export function RedirectStageToJSON(value?: RedirectStage | null): any {
144
+ if (value === undefined) {
145
+ return undefined;
146
+ }
147
+ if (value === null) {
148
+ return null;
149
+ }
150
+ return {
151
+
152
+ 'name': value.name,
153
+ 'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetToJSON)),
154
+ 'keep_context': value.keepContext,
155
+ 'mode': RedirectStageModeEnumToJSON(value.mode),
156
+ 'target_static': value.targetStatic,
157
+ 'target_flow': value.targetFlow,
158
+ };
159
+ }
160
+
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
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
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const RedirectStageModeEnum = {
21
+ Static: 'static',
22
+ Flow: 'flow',
23
+ UnknownDefaultOpenApi: '11184809'
24
+ } as const;
25
+ export type RedirectStageModeEnum = typeof RedirectStageModeEnum[keyof typeof RedirectStageModeEnum];
26
+
27
+
28
+ export function RedirectStageModeEnumFromJSON(json: any): RedirectStageModeEnum {
29
+ return RedirectStageModeEnumFromJSONTyped(json, false);
30
+ }
31
+
32
+ export function RedirectStageModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStageModeEnum {
33
+ return json as RedirectStageModeEnum;
34
+ }
35
+
36
+ export function RedirectStageModeEnumToJSON(value?: RedirectStageModeEnum | null): any {
37
+ return value as any;
38
+ }
39
+
@@ -0,0 +1,120 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
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
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { FlowSetRequest } from './FlowSetRequest';
17
+ import {
18
+ FlowSetRequestFromJSON,
19
+ FlowSetRequestFromJSONTyped,
20
+ FlowSetRequestToJSON,
21
+ } from './FlowSetRequest';
22
+ import type { RedirectStageModeEnum } from './RedirectStageModeEnum';
23
+ import {
24
+ RedirectStageModeEnumFromJSON,
25
+ RedirectStageModeEnumFromJSONTyped,
26
+ RedirectStageModeEnumToJSON,
27
+ } from './RedirectStageModeEnum';
28
+
29
+ /**
30
+ * RedirectStage Serializer
31
+ * @export
32
+ * @interface RedirectStageRequest
33
+ */
34
+ export interface RedirectStageRequest {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof RedirectStageRequest
39
+ */
40
+ name: string;
41
+ /**
42
+ *
43
+ * @type {Array<FlowSetRequest>}
44
+ * @memberof RedirectStageRequest
45
+ */
46
+ flowSet?: Array<FlowSetRequest>;
47
+ /**
48
+ *
49
+ * @type {boolean}
50
+ * @memberof RedirectStageRequest
51
+ */
52
+ keepContext?: boolean;
53
+ /**
54
+ *
55
+ * @type {RedirectStageModeEnum}
56
+ * @memberof RedirectStageRequest
57
+ */
58
+ mode: RedirectStageModeEnum;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof RedirectStageRequest
63
+ */
64
+ targetStatic?: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof RedirectStageRequest
69
+ */
70
+ targetFlow?: string | null;
71
+ }
72
+
73
+ /**
74
+ * Check if a given object implements the RedirectStageRequest interface.
75
+ */
76
+ export function instanceOfRedirectStageRequest(value: object): boolean {
77
+ let isInstance = true;
78
+ isInstance = isInstance && "name" in value;
79
+ isInstance = isInstance && "mode" in value;
80
+
81
+ return isInstance;
82
+ }
83
+
84
+ export function RedirectStageRequestFromJSON(json: any): RedirectStageRequest {
85
+ return RedirectStageRequestFromJSONTyped(json, false);
86
+ }
87
+
88
+ export function RedirectStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStageRequest {
89
+ if ((json === undefined) || (json === null)) {
90
+ return json;
91
+ }
92
+ return {
93
+
94
+ 'name': json['name'],
95
+ 'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetRequestFromJSON)),
96
+ 'keepContext': !exists(json, 'keep_context') ? undefined : json['keep_context'],
97
+ 'mode': RedirectStageModeEnumFromJSON(json['mode']),
98
+ 'targetStatic': !exists(json, 'target_static') ? undefined : json['target_static'],
99
+ 'targetFlow': !exists(json, 'target_flow') ? undefined : json['target_flow'],
100
+ };
101
+ }
102
+
103
+ export function RedirectStageRequestToJSON(value?: RedirectStageRequest | null): any {
104
+ if (value === undefined) {
105
+ return undefined;
106
+ }
107
+ if (value === null) {
108
+ return null;
109
+ }
110
+ return {
111
+
112
+ 'name': value.name,
113
+ 'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetRequestToJSON)),
114
+ 'keep_context': value.keepContext,
115
+ 'mode': RedirectStageModeEnumToJSON(value.mode),
116
+ 'target_static': value.targetStatic,
117
+ 'target_flow': value.targetFlow,
118
+ };
119
+ }
120
+
@@ -184,6 +184,7 @@ export * from './InvitationRequest';
184
184
  export * from './InvitationStage';
185
185
  export * from './InvitationStageRequest';
186
186
  export * from './IssuerModeEnum';
187
+ export * from './KadminTypeEnum';
187
188
  export * from './KerberosSource';
188
189
  export * from './KerberosSourcePropertyMapping';
189
190
  export * from './KerberosSourcePropertyMappingRequest';
@@ -340,6 +341,7 @@ export * from './PaginatedRACProviderList';
340
341
  export * from './PaginatedRadiusOutpostConfigList';
341
342
  export * from './PaginatedRadiusProviderList';
342
343
  export * from './PaginatedRadiusProviderPropertyMappingList';
344
+ export * from './PaginatedRedirectStageList';
343
345
  export * from './PaginatedReputationList';
344
346
  export * from './PaginatedReputationPolicyList';
345
347
  export * from './PaginatedRoleAssignedObjectPermissionList';
@@ -459,6 +461,7 @@ export * from './PatchedRACPropertyMappingRequest';
459
461
  export * from './PatchedRACProviderRequest';
460
462
  export * from './PatchedRadiusProviderPropertyMappingRequest';
461
463
  export * from './PatchedRadiusProviderRequest';
464
+ export * from './PatchedRedirectStageRequest';
462
465
  export * from './PatchedReputationPolicyRequest';
463
466
  export * from './PatchedRoleRequest';
464
467
  export * from './PatchedSAMLPropertyMappingRequest';
@@ -538,6 +541,10 @@ export * from './RadiusProviderPropertyMapping';
538
541
  export * from './RadiusProviderPropertyMappingRequest';
539
542
  export * from './RadiusProviderRequest';
540
543
  export * from './RedirectChallenge';
544
+ export * from './RedirectChallengeResponseRequest';
545
+ export * from './RedirectStage';
546
+ export * from './RedirectStageModeEnum';
547
+ export * from './RedirectStageRequest';
541
548
  export * from './RedirectURI';
542
549
  export * from './RedirectURIRequest';
543
550
  export * from './Reputation';