@goauthentik/api 2023.10.4-1701882394 → 2023.10.4-1702989148

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 +2 -1
  2. package/dist/apis/SchemaApi.d.ts +1 -0
  3. package/dist/apis/SchemaApi.js +1 -0
  4. package/dist/esm/apis/SchemaApi.d.ts +1 -0
  5. package/dist/esm/apis/SchemaApi.js +1 -0
  6. package/dist/esm/models/AuthenticationEnum.d.ts +2 -0
  7. package/dist/esm/models/AuthenticationEnum.js +2 -0
  8. package/dist/esm/models/BlueprintInstance.d.ts +4 -8
  9. package/dist/esm/models/BlueprintInstanceRequest.d.ts +2 -4
  10. package/dist/esm/models/ContextualFlowInfo.d.ts +3 -3
  11. package/dist/esm/models/ContextualFlowInfo.js +3 -3
  12. package/dist/esm/models/{LayoutEnum.d.ts → ContextualFlowInfoLayoutEnum.d.ts} +5 -5
  13. package/dist/esm/models/{LayoutEnum.js → ContextualFlowInfoLayoutEnum.js} +5 -5
  14. package/dist/esm/models/Event.d.ts +6 -12
  15. package/dist/esm/models/EventRequest.d.ts +6 -12
  16. package/dist/esm/models/Flow.d.ts +3 -3
  17. package/dist/esm/models/Flow.js +3 -3
  18. package/dist/esm/models/FlowLayoutEnum.d.ts +31 -0
  19. package/dist/esm/models/FlowLayoutEnum.js +38 -0
  20. package/dist/esm/models/FlowRequest.d.ts +3 -3
  21. package/dist/esm/models/FlowRequest.js +3 -3
  22. package/dist/esm/models/FlowSet.d.ts +3 -3
  23. package/dist/esm/models/FlowSet.js +3 -3
  24. package/dist/esm/models/FlowSetRequest.d.ts +3 -3
  25. package/dist/esm/models/FlowSetRequest.js +3 -3
  26. package/dist/esm/models/KubernetesServiceConnection.d.ts +2 -4
  27. package/dist/esm/models/KubernetesServiceConnectionRequest.d.ts +2 -4
  28. package/dist/esm/models/OAuthSource.d.ts +2 -4
  29. package/dist/esm/models/OAuthSourceRequest.d.ts +2 -4
  30. package/dist/esm/models/PatchedBlueprintInstanceRequest.d.ts +2 -4
  31. package/dist/esm/models/PatchedEventRequest.d.ts +6 -12
  32. package/dist/esm/models/PatchedFlowRequest.d.ts +3 -3
  33. package/dist/esm/models/PatchedFlowRequest.js +3 -3
  34. package/dist/esm/models/PatchedKubernetesServiceConnectionRequest.d.ts +2 -4
  35. package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +2 -4
  36. package/dist/esm/models/PatchedTenantRequest.d.ts +2 -4
  37. package/dist/esm/models/Reputation.d.ts +2 -4
  38. package/dist/esm/models/Tenant.d.ts +2 -4
  39. package/dist/esm/models/TenantRequest.d.ts +2 -4
  40. package/dist/esm/models/index.d.ts +2 -1
  41. package/dist/esm/models/index.js +2 -1
  42. package/dist/models/AuthenticationEnum.d.ts +2 -0
  43. package/dist/models/AuthenticationEnum.js +2 -0
  44. package/dist/models/BlueprintInstance.d.ts +4 -8
  45. package/dist/models/BlueprintInstanceRequest.d.ts +2 -4
  46. package/dist/models/ContextualFlowInfo.d.ts +3 -3
  47. package/dist/models/ContextualFlowInfo.js +3 -3
  48. package/dist/models/{LayoutEnum.d.ts → ContextualFlowInfoLayoutEnum.d.ts} +5 -5
  49. package/dist/models/{LayoutEnum.js → ContextualFlowInfoLayoutEnum.js} +9 -9
  50. package/dist/models/Event.d.ts +6 -12
  51. package/dist/models/EventRequest.d.ts +6 -12
  52. package/dist/models/Flow.d.ts +3 -3
  53. package/dist/models/Flow.js +3 -3
  54. package/dist/models/FlowLayoutEnum.d.ts +31 -0
  55. package/dist/models/FlowLayoutEnum.js +44 -0
  56. package/dist/models/FlowRequest.d.ts +3 -3
  57. package/dist/models/FlowRequest.js +3 -3
  58. package/dist/models/FlowSet.d.ts +3 -3
  59. package/dist/models/FlowSet.js +3 -3
  60. package/dist/models/FlowSetRequest.d.ts +3 -3
  61. package/dist/models/FlowSetRequest.js +3 -3
  62. package/dist/models/KubernetesServiceConnection.d.ts +2 -4
  63. package/dist/models/KubernetesServiceConnectionRequest.d.ts +2 -4
  64. package/dist/models/OAuthSource.d.ts +2 -4
  65. package/dist/models/OAuthSourceRequest.d.ts +2 -4
  66. package/dist/models/PatchedBlueprintInstanceRequest.d.ts +2 -4
  67. package/dist/models/PatchedEventRequest.d.ts +6 -12
  68. package/dist/models/PatchedFlowRequest.d.ts +3 -3
  69. package/dist/models/PatchedFlowRequest.js +3 -3
  70. package/dist/models/PatchedKubernetesServiceConnectionRequest.d.ts +2 -4
  71. package/dist/models/PatchedOAuthSourceRequest.d.ts +2 -4
  72. package/dist/models/PatchedTenantRequest.d.ts +2 -4
  73. package/dist/models/Reputation.d.ts +2 -4
  74. package/dist/models/Tenant.d.ts +2 -4
  75. package/dist/models/TenantRequest.d.ts +2 -4
  76. package/dist/models/index.d.ts +2 -1
  77. package/dist/models/index.js +2 -1
  78. package/package.json +1 -1
  79. package/src/apis/SchemaApi.ts +1 -0
  80. package/src/models/AuthenticationEnum.ts +2 -0
  81. package/src/models/BlueprintInstance.ts +4 -4
  82. package/src/models/BlueprintInstanceRequest.ts +2 -2
  83. package/src/models/ContextualFlowInfo.ts +9 -9
  84. package/src/models/{LayoutEnum.ts → ContextualFlowInfoLayoutEnum.ts} +7 -7
  85. package/src/models/Event.ts +6 -6
  86. package/src/models/EventRequest.ts +6 -6
  87. package/src/models/Flow.ts +9 -9
  88. package/src/models/FlowLayoutEnum.ts +46 -0
  89. package/src/models/FlowRequest.ts +9 -9
  90. package/src/models/FlowSet.ts +9 -9
  91. package/src/models/FlowSetRequest.ts +9 -9
  92. package/src/models/KubernetesServiceConnection.ts +2 -2
  93. package/src/models/KubernetesServiceConnectionRequest.ts +2 -2
  94. package/src/models/OAuthSource.ts +2 -2
  95. package/src/models/OAuthSourceRequest.ts +2 -2
  96. package/src/models/PatchedBlueprintInstanceRequest.ts +2 -2
  97. package/src/models/PatchedEventRequest.ts +6 -6
  98. package/src/models/PatchedFlowRequest.ts +9 -9
  99. package/src/models/PatchedKubernetesServiceConnectionRequest.ts +2 -2
  100. package/src/models/PatchedOAuthSourceRequest.ts +2 -2
  101. package/src/models/PatchedTenantRequest.ts +2 -2
  102. package/src/models/Reputation.ts +2 -2
  103. package/src/models/Tenant.ts +2 -2
  104. package/src/models/TenantRequest.ts +2 -2
  105. package/src/models/index.ts +2 -1
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2023.10.4
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.FlowLayoutEnumToJSON = exports.FlowLayoutEnumFromJSONTyped = exports.FlowLayoutEnumFromJSON = exports.FlowLayoutEnum = void 0;
17
+ /**
18
+ * * `stacked` - Stacked
19
+ * * `content_left` - Content Left
20
+ * * `content_right` - Content Right
21
+ * * `sidebar_left` - Sidebar Left
22
+ * * `sidebar_right` - Sidebar Right
23
+ * @export
24
+ */
25
+ exports.FlowLayoutEnum = {
26
+ Stacked: 'stacked',
27
+ ContentLeft: 'content_left',
28
+ ContentRight: 'content_right',
29
+ SidebarLeft: 'sidebar_left',
30
+ SidebarRight: 'sidebar_right',
31
+ UnknownDefaultOpenApi: '11184809'
32
+ };
33
+ function FlowLayoutEnumFromJSON(json) {
34
+ return FlowLayoutEnumFromJSONTyped(json, false);
35
+ }
36
+ exports.FlowLayoutEnumFromJSON = FlowLayoutEnumFromJSON;
37
+ function FlowLayoutEnumFromJSONTyped(json, ignoreDiscriminator) {
38
+ return json;
39
+ }
40
+ exports.FlowLayoutEnumFromJSONTyped = FlowLayoutEnumFromJSONTyped;
41
+ function FlowLayoutEnumToJSON(value) {
42
+ return value;
43
+ }
44
+ exports.FlowLayoutEnumToJSON = FlowLayoutEnumToJSON;
@@ -12,7 +12,7 @@
12
12
  import type { AuthenticationEnum } from './AuthenticationEnum';
13
13
  import type { DeniedActionEnum } from './DeniedActionEnum';
14
14
  import type { FlowDesignationEnum } from './FlowDesignationEnum';
15
- import type { LayoutEnum } from './LayoutEnum';
15
+ import type { FlowLayoutEnum } from './FlowLayoutEnum';
16
16
  import type { PolicyEngineMode } from './PolicyEngineMode';
17
17
  /**
18
18
  * Flow Serializer
@@ -58,10 +58,10 @@ export interface FlowRequest {
58
58
  compatibilityMode?: boolean;
59
59
  /**
60
60
  *
61
- * @type {LayoutEnum}
61
+ * @type {FlowLayoutEnum}
62
62
  * @memberof FlowRequest
63
63
  */
64
- layout?: LayoutEnum;
64
+ layout?: FlowLayoutEnum;
65
65
  /**
66
66
  *
67
67
  * @type {DeniedActionEnum}
@@ -18,7 +18,7 @@ const runtime_1 = require("../runtime");
18
18
  const AuthenticationEnum_1 = require("./AuthenticationEnum");
19
19
  const DeniedActionEnum_1 = require("./DeniedActionEnum");
20
20
  const FlowDesignationEnum_1 = require("./FlowDesignationEnum");
21
- const LayoutEnum_1 = require("./LayoutEnum");
21
+ const FlowLayoutEnum_1 = require("./FlowLayoutEnum");
22
22
  const PolicyEngineMode_1 = require("./PolicyEngineMode");
23
23
  /**
24
24
  * Check if a given object implements the FlowRequest interface.
@@ -47,7 +47,7 @@ function FlowRequestFromJSONTyped(json, ignoreDiscriminator) {
47
47
  'designation': (0, FlowDesignationEnum_1.FlowDesignationEnumFromJSON)(json['designation']),
48
48
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
49
49
  'compatibilityMode': !(0, runtime_1.exists)(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
50
- 'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0, LayoutEnum_1.LayoutEnumFromJSON)(json['layout']),
50
+ 'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0, FlowLayoutEnum_1.FlowLayoutEnumFromJSON)(json['layout']),
51
51
  'deniedAction': !(0, runtime_1.exists)(json, 'denied_action') ? undefined : (0, DeniedActionEnum_1.DeniedActionEnumFromJSON)(json['denied_action']),
52
52
  'authentication': !(0, runtime_1.exists)(json, 'authentication') ? undefined : (0, AuthenticationEnum_1.AuthenticationEnumFromJSON)(json['authentication']),
53
53
  };
@@ -67,7 +67,7 @@ function FlowRequestToJSON(value) {
67
67
  'designation': (0, FlowDesignationEnum_1.FlowDesignationEnumToJSON)(value.designation),
68
68
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
69
69
  'compatibility_mode': value.compatibilityMode,
70
- 'layout': (0, LayoutEnum_1.LayoutEnumToJSON)(value.layout),
70
+ 'layout': (0, FlowLayoutEnum_1.FlowLayoutEnumToJSON)(value.layout),
71
71
  'denied_action': (0, DeniedActionEnum_1.DeniedActionEnumToJSON)(value.deniedAction),
72
72
  'authentication': (0, AuthenticationEnum_1.AuthenticationEnumToJSON)(value.authentication),
73
73
  };
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { DeniedActionEnum } from './DeniedActionEnum';
13
13
  import type { FlowDesignationEnum } from './FlowDesignationEnum';
14
- import type { LayoutEnum } from './LayoutEnum';
14
+ import type { FlowLayoutEnum } from './FlowLayoutEnum';
15
15
  import type { PolicyEngineMode } from './PolicyEngineMode';
16
16
  /**
17
17
  * Stripped down flow serializer
@@ -82,10 +82,10 @@ export interface FlowSet {
82
82
  readonly exportUrl: string;
83
83
  /**
84
84
  *
85
- * @type {LayoutEnum}
85
+ * @type {FlowLayoutEnum}
86
86
  * @memberof FlowSet
87
87
  */
88
- layout?: LayoutEnum;
88
+ layout?: FlowLayoutEnum;
89
89
  /**
90
90
  *
91
91
  * @type {DeniedActionEnum}
@@ -17,7 +17,7 @@ exports.FlowSetToJSON = exports.FlowSetFromJSONTyped = exports.FlowSetFromJSON =
17
17
  const runtime_1 = require("../runtime");
18
18
  const DeniedActionEnum_1 = require("./DeniedActionEnum");
19
19
  const FlowDesignationEnum_1 = require("./FlowDesignationEnum");
20
- const LayoutEnum_1 = require("./LayoutEnum");
20
+ const FlowLayoutEnum_1 = require("./FlowLayoutEnum");
21
21
  const PolicyEngineMode_1 = require("./PolicyEngineMode");
22
22
  /**
23
23
  * Check if a given object implements the FlowSet interface.
@@ -54,7 +54,7 @@ function FlowSetFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
55
55
  'compatibilityMode': !(0, runtime_1.exists)(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
56
56
  'exportUrl': json['export_url'],
57
- 'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0, LayoutEnum_1.LayoutEnumFromJSON)(json['layout']),
57
+ 'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0, FlowLayoutEnum_1.FlowLayoutEnumFromJSON)(json['layout']),
58
58
  'deniedAction': !(0, runtime_1.exists)(json, 'denied_action') ? undefined : (0, DeniedActionEnum_1.DeniedActionEnumFromJSON)(json['denied_action']),
59
59
  };
60
60
  }
@@ -73,7 +73,7 @@ function FlowSetToJSON(value) {
73
73
  'designation': (0, FlowDesignationEnum_1.FlowDesignationEnumToJSON)(value.designation),
74
74
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
75
75
  'compatibility_mode': value.compatibilityMode,
76
- 'layout': (0, LayoutEnum_1.LayoutEnumToJSON)(value.layout),
76
+ 'layout': (0, FlowLayoutEnum_1.FlowLayoutEnumToJSON)(value.layout),
77
77
  'denied_action': (0, DeniedActionEnum_1.DeniedActionEnumToJSON)(value.deniedAction),
78
78
  };
79
79
  }
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { DeniedActionEnum } from './DeniedActionEnum';
13
13
  import type { FlowDesignationEnum } from './FlowDesignationEnum';
14
- import type { LayoutEnum } from './LayoutEnum';
14
+ import type { FlowLayoutEnum } from './FlowLayoutEnum';
15
15
  import type { PolicyEngineMode } from './PolicyEngineMode';
16
16
  /**
17
17
  * Stripped down flow serializer
@@ -57,10 +57,10 @@ export interface FlowSetRequest {
57
57
  compatibilityMode?: boolean;
58
58
  /**
59
59
  *
60
- * @type {LayoutEnum}
60
+ * @type {FlowLayoutEnum}
61
61
  * @memberof FlowSetRequest
62
62
  */
63
- layout?: LayoutEnum;
63
+ layout?: FlowLayoutEnum;
64
64
  /**
65
65
  *
66
66
  * @type {DeniedActionEnum}
@@ -17,7 +17,7 @@ exports.FlowSetRequestToJSON = exports.FlowSetRequestFromJSONTyped = exports.Flo
17
17
  const runtime_1 = require("../runtime");
18
18
  const DeniedActionEnum_1 = require("./DeniedActionEnum");
19
19
  const FlowDesignationEnum_1 = require("./FlowDesignationEnum");
20
- const LayoutEnum_1 = require("./LayoutEnum");
20
+ const FlowLayoutEnum_1 = require("./FlowLayoutEnum");
21
21
  const PolicyEngineMode_1 = require("./PolicyEngineMode");
22
22
  /**
23
23
  * Check if a given object implements the FlowSetRequest interface.
@@ -46,7 +46,7 @@ function FlowSetRequestFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'designation': (0, FlowDesignationEnum_1.FlowDesignationEnumFromJSON)(json['designation']),
47
47
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
48
48
  'compatibilityMode': !(0, runtime_1.exists)(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
49
- 'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0, LayoutEnum_1.LayoutEnumFromJSON)(json['layout']),
49
+ 'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0, FlowLayoutEnum_1.FlowLayoutEnumFromJSON)(json['layout']),
50
50
  'deniedAction': !(0, runtime_1.exists)(json, 'denied_action') ? undefined : (0, DeniedActionEnum_1.DeniedActionEnumFromJSON)(json['denied_action']),
51
51
  };
52
52
  }
@@ -65,7 +65,7 @@ function FlowSetRequestToJSON(value) {
65
65
  'designation': (0, FlowDesignationEnum_1.FlowDesignationEnumToJSON)(value.designation),
66
66
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
67
67
  'compatibility_mode': value.compatibilityMode,
68
- 'layout': (0, LayoutEnum_1.LayoutEnumToJSON)(value.layout),
68
+ 'layout': (0, FlowLayoutEnum_1.FlowLayoutEnumToJSON)(value.layout),
69
69
  'denied_action': (0, DeniedActionEnum_1.DeniedActionEnumToJSON)(value.deniedAction),
70
70
  };
71
71
  }
@@ -59,12 +59,10 @@ export interface KubernetesServiceConnection {
59
59
  readonly metaModelName: string;
60
60
  /**
61
61
  * Paste your kubeconfig here. authentik will automatically use the currently selected context.
62
- * @type {{ [key: string]: any; }}
62
+ * @type {any}
63
63
  * @memberof KubernetesServiceConnection
64
64
  */
65
- kubeconfig?: {
66
- [key: string]: any;
67
- };
65
+ kubeconfig?: any | null;
68
66
  /**
69
67
  * Verify SSL Certificates of the Kubernetes API endpoint
70
68
  * @type {boolean}
@@ -29,12 +29,10 @@ export interface KubernetesServiceConnectionRequest {
29
29
  local?: boolean;
30
30
  /**
31
31
  * Paste your kubeconfig here. authentik will automatically use the currently selected context.
32
- * @type {{ [key: string]: any; }}
32
+ * @type {any}
33
33
  * @memberof KubernetesServiceConnectionRequest
34
34
  */
35
- kubeconfig?: {
36
- [key: string]: any;
37
- };
35
+ kubeconfig?: any | null;
38
36
  /**
39
37
  * Verify SSL Certificates of the Kubernetes API endpoint
40
38
  * @type {boolean}
@@ -178,12 +178,10 @@ export interface OAuthSource {
178
178
  oidcJwksUrl?: string;
179
179
  /**
180
180
  *
181
- * @type {{ [key: string]: any; }}
181
+ * @type {any}
182
182
  * @memberof OAuthSource
183
183
  */
184
- oidcJwks?: {
185
- [key: string]: any;
186
- };
184
+ oidcJwks?: any | null;
187
185
  }
188
186
  /**
189
187
  * Check if a given object implements the OAuthSource interface.
@@ -128,12 +128,10 @@ export interface OAuthSourceRequest {
128
128
  oidcJwksUrl?: string;
129
129
  /**
130
130
  *
131
- * @type {{ [key: string]: any; }}
131
+ * @type {any}
132
132
  * @memberof OAuthSourceRequest
133
133
  */
134
- oidcJwks?: {
135
- [key: string]: any;
136
- };
134
+ oidcJwks?: any | null;
137
135
  }
138
136
  /**
139
137
  * Check if a given object implements the OAuthSourceRequest interface.
@@ -29,12 +29,10 @@ export interface PatchedBlueprintInstanceRequest {
29
29
  path?: string;
30
30
  /**
31
31
  *
32
- * @type {{ [key: string]: any; }}
32
+ * @type {any}
33
33
  * @memberof PatchedBlueprintInstanceRequest
34
34
  */
35
- context?: {
36
- [key: string]: any;
37
- };
35
+ context?: any | null;
38
36
  /**
39
37
  *
40
38
  * @type {boolean}
@@ -18,12 +18,10 @@ import type { EventActions } from './EventActions';
18
18
  export interface PatchedEventRequest {
19
19
  /**
20
20
  *
21
- * @type {{ [key: string]: any; }}
21
+ * @type {any}
22
22
  * @memberof PatchedEventRequest
23
23
  */
24
- user?: {
25
- [key: string]: any;
26
- };
24
+ user?: any | null;
27
25
  /**
28
26
  *
29
27
  * @type {EventActions}
@@ -38,12 +36,10 @@ export interface PatchedEventRequest {
38
36
  app?: string;
39
37
  /**
40
38
  *
41
- * @type {{ [key: string]: any; }}
39
+ * @type {any}
42
40
  * @memberof PatchedEventRequest
43
41
  */
44
- context?: {
45
- [key: string]: any;
46
- };
42
+ context?: any | null;
47
43
  /**
48
44
  *
49
45
  * @type {string}
@@ -58,12 +54,10 @@ export interface PatchedEventRequest {
58
54
  expires?: Date;
59
55
  /**
60
56
  *
61
- * @type {{ [key: string]: any; }}
57
+ * @type {any}
62
58
  * @memberof PatchedEventRequest
63
59
  */
64
- tenant?: {
65
- [key: string]: any;
66
- };
60
+ tenant?: any | null;
67
61
  }
68
62
  /**
69
63
  * Check if a given object implements the PatchedEventRequest interface.
@@ -12,7 +12,7 @@
12
12
  import type { AuthenticationEnum } from './AuthenticationEnum';
13
13
  import type { DeniedActionEnum } from './DeniedActionEnum';
14
14
  import type { FlowDesignationEnum } from './FlowDesignationEnum';
15
- import type { LayoutEnum } from './LayoutEnum';
15
+ import type { FlowLayoutEnum } from './FlowLayoutEnum';
16
16
  import type { PolicyEngineMode } from './PolicyEngineMode';
17
17
  /**
18
18
  * Flow Serializer
@@ -58,10 +58,10 @@ export interface PatchedFlowRequest {
58
58
  compatibilityMode?: boolean;
59
59
  /**
60
60
  *
61
- * @type {LayoutEnum}
61
+ * @type {FlowLayoutEnum}
62
62
  * @memberof PatchedFlowRequest
63
63
  */
64
- layout?: LayoutEnum;
64
+ layout?: FlowLayoutEnum;
65
65
  /**
66
66
  *
67
67
  * @type {DeniedActionEnum}
@@ -18,7 +18,7 @@ const runtime_1 = require("../runtime");
18
18
  const AuthenticationEnum_1 = require("./AuthenticationEnum");
19
19
  const DeniedActionEnum_1 = require("./DeniedActionEnum");
20
20
  const FlowDesignationEnum_1 = require("./FlowDesignationEnum");
21
- const LayoutEnum_1 = require("./LayoutEnum");
21
+ const FlowLayoutEnum_1 = require("./FlowLayoutEnum");
22
22
  const PolicyEngineMode_1 = require("./PolicyEngineMode");
23
23
  /**
24
24
  * Check if a given object implements the PatchedFlowRequest interface.
@@ -43,7 +43,7 @@ function PatchedFlowRequestFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'designation': !(0, runtime_1.exists)(json, 'designation') ? undefined : (0, FlowDesignationEnum_1.FlowDesignationEnumFromJSON)(json['designation']),
44
44
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
45
45
  'compatibilityMode': !(0, runtime_1.exists)(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
46
- 'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0, LayoutEnum_1.LayoutEnumFromJSON)(json['layout']),
46
+ 'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0, FlowLayoutEnum_1.FlowLayoutEnumFromJSON)(json['layout']),
47
47
  'deniedAction': !(0, runtime_1.exists)(json, 'denied_action') ? undefined : (0, DeniedActionEnum_1.DeniedActionEnumFromJSON)(json['denied_action']),
48
48
  'authentication': !(0, runtime_1.exists)(json, 'authentication') ? undefined : (0, AuthenticationEnum_1.AuthenticationEnumFromJSON)(json['authentication']),
49
49
  };
@@ -63,7 +63,7 @@ function PatchedFlowRequestToJSON(value) {
63
63
  'designation': (0, FlowDesignationEnum_1.FlowDesignationEnumToJSON)(value.designation),
64
64
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
65
65
  'compatibility_mode': value.compatibilityMode,
66
- 'layout': (0, LayoutEnum_1.LayoutEnumToJSON)(value.layout),
66
+ 'layout': (0, FlowLayoutEnum_1.FlowLayoutEnumToJSON)(value.layout),
67
67
  'denied_action': (0, DeniedActionEnum_1.DeniedActionEnumToJSON)(value.deniedAction),
68
68
  'authentication': (0, AuthenticationEnum_1.AuthenticationEnumToJSON)(value.authentication),
69
69
  };
@@ -29,12 +29,10 @@ export interface PatchedKubernetesServiceConnectionRequest {
29
29
  local?: boolean;
30
30
  /**
31
31
  * Paste your kubeconfig here. authentik will automatically use the currently selected context.
32
- * @type {{ [key: string]: any; }}
32
+ * @type {any}
33
33
  * @memberof PatchedKubernetesServiceConnectionRequest
34
34
  */
35
- kubeconfig?: {
36
- [key: string]: any;
37
- };
35
+ kubeconfig?: any | null;
38
36
  /**
39
37
  * Verify SSL Certificates of the Kubernetes API endpoint
40
38
  * @type {boolean}
@@ -128,12 +128,10 @@ export interface PatchedOAuthSourceRequest {
128
128
  oidcJwksUrl?: string;
129
129
  /**
130
130
  *
131
- * @type {{ [key: string]: any; }}
131
+ * @type {any}
132
132
  * @memberof PatchedOAuthSourceRequest
133
133
  */
134
- oidcJwks?: {
135
- [key: string]: any;
136
- };
134
+ oidcJwks?: any | null;
137
135
  }
138
136
  /**
139
137
  * Check if a given object implements the PatchedOAuthSourceRequest interface.
@@ -95,12 +95,10 @@ export interface PatchedTenantRequest {
95
95
  webCertificate?: string | null;
96
96
  /**
97
97
  *
98
- * @type {{ [key: string]: any; }}
98
+ * @type {any}
99
99
  * @memberof PatchedTenantRequest
100
100
  */
101
- attributes?: {
102
- [key: string]: any;
103
- };
101
+ attributes?: any | null;
104
102
  }
105
103
  /**
106
104
  * Check if a given object implements the PatchedTenantRequest interface.
@@ -35,12 +35,10 @@ export interface Reputation {
35
35
  ip: string;
36
36
  /**
37
37
  *
38
- * @type {{ [key: string]: any; }}
38
+ * @type {any}
39
39
  * @memberof Reputation
40
40
  */
41
- ipGeoData?: {
42
- [key: string]: any;
43
- };
41
+ ipGeoData?: any | null;
44
42
  /**
45
43
  *
46
44
  * @type {number}
@@ -101,12 +101,10 @@ export interface Tenant {
101
101
  webCertificate?: string | null;
102
102
  /**
103
103
  *
104
- * @type {{ [key: string]: any; }}
104
+ * @type {any}
105
105
  * @memberof Tenant
106
106
  */
107
- attributes?: {
108
- [key: string]: any;
109
- };
107
+ attributes?: any | null;
110
108
  }
111
109
  /**
112
110
  * Check if a given object implements the Tenant interface.
@@ -95,12 +95,10 @@ export interface TenantRequest {
95
95
  webCertificate?: string | null;
96
96
  /**
97
97
  *
98
- * @type {{ [key: string]: any; }}
98
+ * @type {any}
99
99
  * @memberof TenantRequest
100
100
  */
101
- attributes?: {
102
- [key: string]: any;
103
- };
101
+ attributes?: any | null;
104
102
  }
105
103
  /**
106
104
  * Check if a given object implements the TenantRequest interface.
@@ -69,6 +69,7 @@ export * from './ConsentStage';
69
69
  export * from './ConsentStageModeEnum';
70
70
  export * from './ConsentStageRequest';
71
71
  export * from './ContextualFlowInfo';
72
+ export * from './ContextualFlowInfoLayoutEnum';
72
73
  export * from './Coordinate';
73
74
  export * from './CurrentTenant';
74
75
  export * from './DeniedActionEnum';
@@ -118,6 +119,7 @@ export * from './FlowErrorChallenge';
118
119
  export * from './FlowImportResult';
119
120
  export * from './FlowInspection';
120
121
  export * from './FlowInspectorPlan';
122
+ export * from './FlowLayoutEnum';
121
123
  export * from './FlowRequest';
122
124
  export * from './FlowSet';
123
125
  export * from './FlowSetRequest';
@@ -153,7 +155,6 @@ export * from './LDAPProviderRequest';
153
155
  export * from './LDAPSource';
154
156
  export * from './LDAPSourceRequest';
155
157
  export * from './LDAPSyncStatus';
156
- export * from './LayoutEnum';
157
158
  export * from './License';
158
159
  export * from './LicenseForecast';
159
160
  export * from './LicenseRequest';
@@ -87,6 +87,7 @@ __exportStar(require("./ConsentStage"), exports);
87
87
  __exportStar(require("./ConsentStageModeEnum"), exports);
88
88
  __exportStar(require("./ConsentStageRequest"), exports);
89
89
  __exportStar(require("./ContextualFlowInfo"), exports);
90
+ __exportStar(require("./ContextualFlowInfoLayoutEnum"), exports);
90
91
  __exportStar(require("./Coordinate"), exports);
91
92
  __exportStar(require("./CurrentTenant"), exports);
92
93
  __exportStar(require("./DeniedActionEnum"), exports);
@@ -136,6 +137,7 @@ __exportStar(require("./FlowErrorChallenge"), exports);
136
137
  __exportStar(require("./FlowImportResult"), exports);
137
138
  __exportStar(require("./FlowInspection"), exports);
138
139
  __exportStar(require("./FlowInspectorPlan"), exports);
140
+ __exportStar(require("./FlowLayoutEnum"), exports);
139
141
  __exportStar(require("./FlowRequest"), exports);
140
142
  __exportStar(require("./FlowSet"), exports);
141
143
  __exportStar(require("./FlowSetRequest"), exports);
@@ -171,7 +173,6 @@ __exportStar(require("./LDAPProviderRequest"), exports);
171
173
  __exportStar(require("./LDAPSource"), exports);
172
174
  __exportStar(require("./LDAPSourceRequest"), exports);
173
175
  __exportStar(require("./LDAPSyncStatus"), exports);
174
- __exportStar(require("./LayoutEnum"), exports);
175
176
  __exportStar(require("./License"), exports);
176
177
  __exportStar(require("./LicenseForecast"), exports);
177
178
  __exportStar(require("./LicenseRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.10.4-1701882394",
3
+ "version": "2023.10.4-1702989148",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -180,6 +180,7 @@ export const SchemaRetrieveLangEnum = {
180
180
  Tr: 'tr',
181
181
  Tt: 'tt',
182
182
  Udm: 'udm',
183
+ Ug: 'ug',
183
184
  Uk: 'uk',
184
185
  Ur: 'ur',
185
186
  Uz: 'uz',
@@ -18,6 +18,7 @@
18
18
  * * `require_authenticated` - Require Authenticated
19
19
  * * `require_unauthenticated` - Require Unauthenticated
20
20
  * * `require_superuser` - Require Superuser
21
+ * * `require_outpost` - Require Outpost
21
22
  * @export
22
23
  */
23
24
  export const AuthenticationEnum = {
@@ -25,6 +26,7 @@ export const AuthenticationEnum = {
25
26
  RequireAuthenticated: 'require_authenticated',
26
27
  RequireUnauthenticated: 'require_unauthenticated',
27
28
  RequireSuperuser: 'require_superuser',
29
+ RequireOutpost: 'require_outpost',
28
30
  UnknownDefaultOpenApi: '11184809'
29
31
  } as const;
30
32
  export type AuthenticationEnum = typeof AuthenticationEnum[keyof typeof AuthenticationEnum];
@@ -46,10 +46,10 @@ export interface BlueprintInstance {
46
46
  path?: string;
47
47
  /**
48
48
  *
49
- * @type {{ [key: string]: any; }}
49
+ * @type {any}
50
50
  * @memberof BlueprintInstance
51
51
  */
52
- context?: { [key: string]: any; };
52
+ context?: any | null;
53
53
  /**
54
54
  *
55
55
  * @type {Date}
@@ -82,10 +82,10 @@ export interface BlueprintInstance {
82
82
  readonly managedModels: Array<string>;
83
83
  /**
84
84
  *
85
- * @type {{ [key: string]: any; }}
85
+ * @type {any}
86
86
  * @memberof BlueprintInstance
87
87
  */
88
- readonly metadata: { [key: string]: any; };
88
+ readonly metadata: any | null;
89
89
  /**
90
90
  *
91
91
  * @type {string}
@@ -33,10 +33,10 @@ export interface BlueprintInstanceRequest {
33
33
  path?: string;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: any; }}
36
+ * @type {any}
37
37
  * @memberof BlueprintInstanceRequest
38
38
  */
39
- context?: { [key: string]: any; };
39
+ context?: any | null;
40
40
  /**
41
41
  *
42
42
  * @type {boolean}
@@ -13,12 +13,12 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { LayoutEnum } from './LayoutEnum';
16
+ import type { ContextualFlowInfoLayoutEnum } from './ContextualFlowInfoLayoutEnum';
17
17
  import {
18
- LayoutEnumFromJSON,
19
- LayoutEnumFromJSONTyped,
20
- LayoutEnumToJSON,
21
- } from './LayoutEnum';
18
+ ContextualFlowInfoLayoutEnumFromJSON,
19
+ ContextualFlowInfoLayoutEnumFromJSONTyped,
20
+ ContextualFlowInfoLayoutEnumToJSON,
21
+ } from './ContextualFlowInfoLayoutEnum';
22
22
 
23
23
  /**
24
24
  * Contextual flow information for a challenge
@@ -46,10 +46,10 @@ export interface ContextualFlowInfo {
46
46
  cancelUrl: string;
47
47
  /**
48
48
  *
49
- * @type {LayoutEnum}
49
+ * @type {ContextualFlowInfoLayoutEnum}
50
50
  * @memberof ContextualFlowInfo
51
51
  */
52
- layout: LayoutEnum;
52
+ layout: ContextualFlowInfoLayoutEnum;
53
53
  }
54
54
 
55
55
  /**
@@ -76,7 +76,7 @@ export function ContextualFlowInfoFromJSONTyped(json: any, ignoreDiscriminator:
76
76
  'title': !exists(json, 'title') ? undefined : json['title'],
77
77
  'background': !exists(json, 'background') ? undefined : json['background'],
78
78
  'cancelUrl': json['cancel_url'],
79
- 'layout': LayoutEnumFromJSON(json['layout']),
79
+ 'layout': ContextualFlowInfoLayoutEnumFromJSON(json['layout']),
80
80
  };
81
81
  }
82
82
 
@@ -92,7 +92,7 @@ export function ContextualFlowInfoToJSON(value?: ContextualFlowInfo | null): any
92
92
  'title': value.title,
93
93
  'background': value.background,
94
94
  'cancel_url': value.cancelUrl,
95
- 'layout': LayoutEnumToJSON(value.layout),
95
+ 'layout': ContextualFlowInfoLayoutEnumToJSON(value.layout),
96
96
  };
97
97
  }
98
98