@goauthentik/api 2023.10.5-1703290840 → 2023.10.5-1703968412

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 (132) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/dist/apis/PropertymappingsApi.d.ts +85 -1
  3. package/dist/apis/PropertymappingsApi.js +240 -0
  4. package/dist/apis/ProvidersApi.d.ts +85 -1
  5. package/dist/apis/ProvidersApi.js +240 -0
  6. package/dist/apis/RacApi.d.ts +103 -0
  7. package/dist/apis/RacApi.js +276 -0
  8. package/dist/apis/RbacApi.d.ts +6 -0
  9. package/dist/apis/RbacApi.js +6 -0
  10. package/dist/apis/SchemaApi.d.ts +0 -1
  11. package/dist/apis/SchemaApi.js +0 -1
  12. package/dist/apis/index.d.ts +1 -0
  13. package/dist/apis/index.js +1 -0
  14. package/dist/esm/apis/PropertymappingsApi.d.ts +85 -1
  15. package/dist/esm/apis/PropertymappingsApi.js +241 -1
  16. package/dist/esm/apis/ProvidersApi.d.ts +85 -1
  17. package/dist/esm/apis/ProvidersApi.js +241 -1
  18. package/dist/esm/apis/RacApi.d.ts +103 -0
  19. package/dist/esm/apis/RacApi.js +272 -0
  20. package/dist/esm/apis/RbacApi.d.ts +6 -0
  21. package/dist/esm/apis/RbacApi.js +6 -0
  22. package/dist/esm/apis/SchemaApi.d.ts +0 -1
  23. package/dist/esm/apis/SchemaApi.js +0 -1
  24. package/dist/esm/apis/index.d.ts +1 -0
  25. package/dist/esm/apis/index.js +1 -0
  26. package/dist/esm/models/AppEnum.d.ts +2 -0
  27. package/dist/esm/models/AppEnum.js +2 -0
  28. package/dist/esm/models/AuthModeEnum.d.ts +25 -0
  29. package/dist/esm/models/AuthModeEnum.js +32 -0
  30. package/dist/esm/models/Endpoint.d.ts +89 -0
  31. package/dist/esm/models/Endpoint.js +69 -0
  32. package/dist/esm/models/EndpointRequest.d.ts +69 -0
  33. package/dist/esm/models/EndpointRequest.js +62 -0
  34. package/dist/esm/models/ModelEnum.d.ts +6 -0
  35. package/dist/esm/models/ModelEnum.js +6 -0
  36. package/dist/esm/models/ModelRequest.d.ts +3 -0
  37. package/dist/esm/models/ModelRequest.js +5 -0
  38. package/dist/esm/models/OutpostTypeEnum.d.ts +2 -0
  39. package/dist/esm/models/OutpostTypeEnum.js +2 -0
  40. package/dist/esm/models/PaginatedEndpointList.d.ts +39 -0
  41. package/dist/esm/models/PaginatedEndpointList.js +48 -0
  42. package/dist/esm/models/PaginatedRACPropertyMappingList.d.ts +39 -0
  43. package/dist/esm/models/PaginatedRACPropertyMappingList.js +48 -0
  44. package/dist/esm/models/PaginatedRACProviderList.d.ts +39 -0
  45. package/dist/esm/models/PaginatedRACProviderList.js +48 -0
  46. package/dist/esm/models/PatchedEndpointRequest.d.ts +69 -0
  47. package/dist/esm/models/PatchedEndpointRequest.js +57 -0
  48. package/dist/esm/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
  49. package/dist/esm/models/PatchedRACPropertyMappingRequest.js +49 -0
  50. package/dist/esm/models/PatchedRACProviderRequest.d.ts +61 -0
  51. package/dist/esm/models/PatchedRACProviderRequest.js +53 -0
  52. package/dist/esm/models/ProtocolEnum.d.ts +27 -0
  53. package/dist/esm/models/ProtocolEnum.js +34 -0
  54. package/dist/esm/models/ProviderModelEnum.d.ts +2 -0
  55. package/dist/esm/models/ProviderModelEnum.js +2 -0
  56. package/dist/esm/models/RACPropertyMapping.d.ts +81 -0
  57. package/dist/esm/models/RACPropertyMapping.js +61 -0
  58. package/dist/esm/models/RACPropertyMappingRequest.d.ts +51 -0
  59. package/dist/esm/models/RACPropertyMappingRequest.js +51 -0
  60. package/dist/esm/models/RACProvider.d.ts +121 -0
  61. package/dist/esm/models/RACProvider.js +75 -0
  62. package/dist/esm/models/RACProviderRequest.d.ts +61 -0
  63. package/dist/esm/models/RACProviderRequest.js +55 -0
  64. package/dist/esm/models/index.d.ts +14 -0
  65. package/dist/esm/models/index.js +14 -0
  66. package/dist/models/AppEnum.d.ts +2 -0
  67. package/dist/models/AppEnum.js +2 -0
  68. package/dist/models/AuthModeEnum.d.ts +25 -0
  69. package/dist/models/AuthModeEnum.js +38 -0
  70. package/dist/models/Endpoint.d.ts +89 -0
  71. package/dist/models/Endpoint.js +76 -0
  72. package/dist/models/EndpointRequest.d.ts +69 -0
  73. package/dist/models/EndpointRequest.js +69 -0
  74. package/dist/models/ModelEnum.d.ts +6 -0
  75. package/dist/models/ModelEnum.js +6 -0
  76. package/dist/models/ModelRequest.d.ts +3 -0
  77. package/dist/models/ModelRequest.js +5 -0
  78. package/dist/models/OutpostTypeEnum.d.ts +2 -0
  79. package/dist/models/OutpostTypeEnum.js +2 -0
  80. package/dist/models/PaginatedEndpointList.d.ts +39 -0
  81. package/dist/models/PaginatedEndpointList.js +55 -0
  82. package/dist/models/PaginatedRACPropertyMappingList.d.ts +39 -0
  83. package/dist/models/PaginatedRACPropertyMappingList.js +55 -0
  84. package/dist/models/PaginatedRACProviderList.d.ts +39 -0
  85. package/dist/models/PaginatedRACProviderList.js +55 -0
  86. package/dist/models/PatchedEndpointRequest.d.ts +69 -0
  87. package/dist/models/PatchedEndpointRequest.js +64 -0
  88. package/dist/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
  89. package/dist/models/PatchedRACPropertyMappingRequest.js +56 -0
  90. package/dist/models/PatchedRACProviderRequest.d.ts +61 -0
  91. package/dist/models/PatchedRACProviderRequest.js +60 -0
  92. package/dist/models/ProtocolEnum.d.ts +27 -0
  93. package/dist/models/ProtocolEnum.js +40 -0
  94. package/dist/models/ProviderModelEnum.d.ts +2 -0
  95. package/dist/models/ProviderModelEnum.js +2 -0
  96. package/dist/models/RACPropertyMapping.d.ts +81 -0
  97. package/dist/models/RACPropertyMapping.js +68 -0
  98. package/dist/models/RACPropertyMappingRequest.d.ts +51 -0
  99. package/dist/models/RACPropertyMappingRequest.js +58 -0
  100. package/dist/models/RACProvider.d.ts +121 -0
  101. package/dist/models/RACProvider.js +82 -0
  102. package/dist/models/RACProviderRequest.d.ts +61 -0
  103. package/dist/models/RACProviderRequest.js +62 -0
  104. package/dist/models/index.d.ts +14 -0
  105. package/dist/models/index.js +14 -0
  106. package/package.json +1 -1
  107. package/src/apis/PropertymappingsApi.ts +317 -0
  108. package/src/apis/ProvidersApi.ts +317 -0
  109. package/src/apis/RacApi.ts +358 -0
  110. package/src/apis/RbacApi.ts +6 -0
  111. package/src/apis/SchemaApi.ts +0 -1
  112. package/src/apis/index.ts +1 -0
  113. package/src/models/AppEnum.ts +2 -0
  114. package/src/models/AuthModeEnum.ts +40 -0
  115. package/src/models/Endpoint.ts +162 -0
  116. package/src/models/EndpointRequest.ts +131 -0
  117. package/src/models/ModelEnum.ts +6 -0
  118. package/src/models/ModelRequest.ts +12 -1
  119. package/src/models/OutpostTypeEnum.ts +2 -0
  120. package/src/models/PaginatedEndpointList.ts +88 -0
  121. package/src/models/PaginatedRACPropertyMappingList.ts +88 -0
  122. package/src/models/PaginatedRACProviderList.ts +88 -0
  123. package/src/models/PatchedEndpointRequest.ts +126 -0
  124. package/src/models/PatchedRACPropertyMappingRequest.ts +89 -0
  125. package/src/models/PatchedRACProviderRequest.ts +105 -0
  126. package/src/models/ProtocolEnum.ts +42 -0
  127. package/src/models/ProviderModelEnum.ts +2 -0
  128. package/src/models/RACPropertyMapping.ts +131 -0
  129. package/src/models/RACPropertyMappingRequest.ts +91 -0
  130. package/src/models/RACProvider.ts +187 -0
  131. package/src/models/RACProviderRequest.ts +107 -0
  132. package/src/models/index.ts +14 -0
@@ -0,0 +1,38 @@
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.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.AuthModeEnumToJSON = exports.AuthModeEnumFromJSONTyped = exports.AuthModeEnumFromJSON = exports.AuthModeEnum = void 0;
17
+ /**
18
+ * * `static` - Static
19
+ * * `prompt` - Prompt
20
+ * @export
21
+ */
22
+ exports.AuthModeEnum = {
23
+ Static: 'static',
24
+ Prompt: 'prompt',
25
+ UnknownDefaultOpenApi: '11184809'
26
+ };
27
+ function AuthModeEnumFromJSON(json) {
28
+ return AuthModeEnumFromJSONTyped(json, false);
29
+ }
30
+ exports.AuthModeEnumFromJSON = AuthModeEnumFromJSON;
31
+ function AuthModeEnumFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ exports.AuthModeEnumFromJSONTyped = AuthModeEnumFromJSONTyped;
35
+ function AuthModeEnumToJSON(value) {
36
+ return value;
37
+ }
38
+ exports.AuthModeEnumToJSON = AuthModeEnumToJSON;
@@ -0,0 +1,89 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.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 { AuthModeEnum } from './AuthModeEnum';
13
+ import type { ProtocolEnum } from './ProtocolEnum';
14
+ import type { RACProvider } from './RACProvider';
15
+ /**
16
+ * Endpoint Serializer
17
+ * @export
18
+ * @interface Endpoint
19
+ */
20
+ export interface Endpoint {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof Endpoint
25
+ */
26
+ readonly pk: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof Endpoint
31
+ */
32
+ name: string;
33
+ /**
34
+ *
35
+ * @type {number}
36
+ * @memberof Endpoint
37
+ */
38
+ provider: number;
39
+ /**
40
+ *
41
+ * @type {RACProvider}
42
+ * @memberof Endpoint
43
+ */
44
+ readonly providerObj: RACProvider;
45
+ /**
46
+ *
47
+ * @type {ProtocolEnum}
48
+ * @memberof Endpoint
49
+ */
50
+ protocol: ProtocolEnum;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof Endpoint
55
+ */
56
+ host: string;
57
+ /**
58
+ *
59
+ * @type {any}
60
+ * @memberof Endpoint
61
+ */
62
+ settings?: any | null;
63
+ /**
64
+ *
65
+ * @type {Array<string>}
66
+ * @memberof Endpoint
67
+ */
68
+ propertyMappings?: Array<string>;
69
+ /**
70
+ *
71
+ * @type {AuthModeEnum}
72
+ * @memberof Endpoint
73
+ */
74
+ authMode: AuthModeEnum;
75
+ /**
76
+ * Build actual launch URL (the provider itself does not have one, just
77
+ * individual endpoints)
78
+ * @type {string}
79
+ * @memberof Endpoint
80
+ */
81
+ readonly launchUrl: string | null;
82
+ }
83
+ /**
84
+ * Check if a given object implements the Endpoint interface.
85
+ */
86
+ export declare function instanceOfEndpoint(value: object): boolean;
87
+ export declare function EndpointFromJSON(json: any): Endpoint;
88
+ export declare function EndpointFromJSONTyped(json: any, ignoreDiscriminator: boolean): Endpoint;
89
+ export declare function EndpointToJSON(value?: Endpoint | null): any;
@@ -0,0 +1,76 @@
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.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.EndpointToJSON = exports.EndpointFromJSONTyped = exports.EndpointFromJSON = exports.instanceOfEndpoint = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const AuthModeEnum_1 = require("./AuthModeEnum");
19
+ const ProtocolEnum_1 = require("./ProtocolEnum");
20
+ const RACProvider_1 = require("./RACProvider");
21
+ /**
22
+ * Check if a given object implements the Endpoint interface.
23
+ */
24
+ function instanceOfEndpoint(value) {
25
+ let isInstance = true;
26
+ isInstance = isInstance && "pk" in value;
27
+ isInstance = isInstance && "name" in value;
28
+ isInstance = isInstance && "provider" in value;
29
+ isInstance = isInstance && "providerObj" in value;
30
+ isInstance = isInstance && "protocol" in value;
31
+ isInstance = isInstance && "host" in value;
32
+ isInstance = isInstance && "authMode" in value;
33
+ isInstance = isInstance && "launchUrl" in value;
34
+ return isInstance;
35
+ }
36
+ exports.instanceOfEndpoint = instanceOfEndpoint;
37
+ function EndpointFromJSON(json) {
38
+ return EndpointFromJSONTyped(json, false);
39
+ }
40
+ exports.EndpointFromJSON = EndpointFromJSON;
41
+ function EndpointFromJSONTyped(json, ignoreDiscriminator) {
42
+ if ((json === undefined) || (json === null)) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'pk': json['pk'],
47
+ 'name': json['name'],
48
+ 'provider': json['provider'],
49
+ 'providerObj': (0, RACProvider_1.RACProviderFromJSON)(json['provider_obj']),
50
+ 'protocol': (0, ProtocolEnum_1.ProtocolEnumFromJSON)(json['protocol']),
51
+ 'host': json['host'],
52
+ 'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
53
+ 'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
54
+ 'authMode': (0, AuthModeEnum_1.AuthModeEnumFromJSON)(json['auth_mode']),
55
+ 'launchUrl': json['launch_url'],
56
+ };
57
+ }
58
+ exports.EndpointFromJSONTyped = EndpointFromJSONTyped;
59
+ function EndpointToJSON(value) {
60
+ if (value === undefined) {
61
+ return undefined;
62
+ }
63
+ if (value === null) {
64
+ return null;
65
+ }
66
+ return {
67
+ 'name': value.name,
68
+ 'provider': value.provider,
69
+ 'protocol': (0, ProtocolEnum_1.ProtocolEnumToJSON)(value.protocol),
70
+ 'host': value.host,
71
+ 'settings': value.settings,
72
+ 'property_mappings': value.propertyMappings,
73
+ 'auth_mode': (0, AuthModeEnum_1.AuthModeEnumToJSON)(value.authMode),
74
+ };
75
+ }
76
+ exports.EndpointToJSON = EndpointToJSON;
@@ -0,0 +1,69 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.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 { AuthModeEnum } from './AuthModeEnum';
13
+ import type { ProtocolEnum } from './ProtocolEnum';
14
+ /**
15
+ * Endpoint Serializer
16
+ * @export
17
+ * @interface EndpointRequest
18
+ */
19
+ export interface EndpointRequest {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof EndpointRequest
24
+ */
25
+ name: string;
26
+ /**
27
+ *
28
+ * @type {number}
29
+ * @memberof EndpointRequest
30
+ */
31
+ provider: number;
32
+ /**
33
+ *
34
+ * @type {ProtocolEnum}
35
+ * @memberof EndpointRequest
36
+ */
37
+ protocol: ProtocolEnum;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof EndpointRequest
42
+ */
43
+ host: string;
44
+ /**
45
+ *
46
+ * @type {any}
47
+ * @memberof EndpointRequest
48
+ */
49
+ settings?: any | null;
50
+ /**
51
+ *
52
+ * @type {Array<string>}
53
+ * @memberof EndpointRequest
54
+ */
55
+ propertyMappings?: Array<string>;
56
+ /**
57
+ *
58
+ * @type {AuthModeEnum}
59
+ * @memberof EndpointRequest
60
+ */
61
+ authMode: AuthModeEnum;
62
+ }
63
+ /**
64
+ * Check if a given object implements the EndpointRequest interface.
65
+ */
66
+ export declare function instanceOfEndpointRequest(value: object): boolean;
67
+ export declare function EndpointRequestFromJSON(json: any): EndpointRequest;
68
+ export declare function EndpointRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EndpointRequest;
69
+ export declare function EndpointRequestToJSON(value?: EndpointRequest | null): any;
@@ -0,0 +1,69 @@
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.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.EndpointRequestToJSON = exports.EndpointRequestFromJSONTyped = exports.EndpointRequestFromJSON = exports.instanceOfEndpointRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const AuthModeEnum_1 = require("./AuthModeEnum");
19
+ const ProtocolEnum_1 = require("./ProtocolEnum");
20
+ /**
21
+ * Check if a given object implements the EndpointRequest interface.
22
+ */
23
+ function instanceOfEndpointRequest(value) {
24
+ let isInstance = true;
25
+ isInstance = isInstance && "name" in value;
26
+ isInstance = isInstance && "provider" in value;
27
+ isInstance = isInstance && "protocol" in value;
28
+ isInstance = isInstance && "host" in value;
29
+ isInstance = isInstance && "authMode" in value;
30
+ return isInstance;
31
+ }
32
+ exports.instanceOfEndpointRequest = instanceOfEndpointRequest;
33
+ function EndpointRequestFromJSON(json) {
34
+ return EndpointRequestFromJSONTyped(json, false);
35
+ }
36
+ exports.EndpointRequestFromJSON = EndpointRequestFromJSON;
37
+ function EndpointRequestFromJSONTyped(json, ignoreDiscriminator) {
38
+ if ((json === undefined) || (json === null)) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'name': json['name'],
43
+ 'provider': json['provider'],
44
+ 'protocol': (0, ProtocolEnum_1.ProtocolEnumFromJSON)(json['protocol']),
45
+ 'host': json['host'],
46
+ 'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
47
+ 'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
48
+ 'authMode': (0, AuthModeEnum_1.AuthModeEnumFromJSON)(json['auth_mode']),
49
+ };
50
+ }
51
+ exports.EndpointRequestFromJSONTyped = EndpointRequestFromJSONTyped;
52
+ function EndpointRequestToJSON(value) {
53
+ if (value === undefined) {
54
+ return undefined;
55
+ }
56
+ if (value === null) {
57
+ return null;
58
+ }
59
+ return {
60
+ 'name': value.name,
61
+ 'provider': value.provider,
62
+ 'protocol': (0, ProtocolEnum_1.ProtocolEnumToJSON)(value.protocol),
63
+ 'host': value.host,
64
+ 'settings': value.settings,
65
+ 'property_mappings': value.propertyMappings,
66
+ 'auth_mode': (0, AuthModeEnum_1.AuthModeEnumToJSON)(value.authMode),
67
+ };
68
+ }
69
+ exports.EndpointRequestToJSON = EndpointRequestToJSON;
@@ -84,6 +84,9 @@
84
84
  * * `authentik_core.application` - Application
85
85
  * * `authentik_core.token` - Token
86
86
  * * `authentik_enterprise.license` - License
87
+ * * `authentik_providers_rac.racprovider` - RAC Provider
88
+ * * `authentik_providers_rac.endpoint` - RAC Endpoint
89
+ * * `authentik_providers_rac.racpropertymapping` - RAC Property Mapping
87
90
  * @export
88
91
  */
89
92
  export declare const ModelEnum: {
@@ -161,6 +164,9 @@ export declare const ModelEnum: {
161
164
  readonly CoreApplication: "authentik_core.application";
162
165
  readonly CoreToken: "authentik_core.token";
163
166
  readonly EnterpriseLicense: "authentik_enterprise.license";
167
+ readonly ProvidersRacRacprovider: "authentik_providers_rac.racprovider";
168
+ readonly ProvidersRacEndpoint: "authentik_providers_rac.endpoint";
169
+ readonly ProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
164
170
  readonly UnknownDefaultOpenApi: "11184809";
165
171
  };
166
172
  export type ModelEnum = typeof ModelEnum[keyof typeof ModelEnum];
@@ -89,6 +89,9 @@ exports.ModelEnumToJSON = exports.ModelEnumFromJSONTyped = exports.ModelEnumFrom
89
89
  * * `authentik_core.application` - Application
90
90
  * * `authentik_core.token` - Token
91
91
  * * `authentik_enterprise.license` - License
92
+ * * `authentik_providers_rac.racprovider` - RAC Provider
93
+ * * `authentik_providers_rac.endpoint` - RAC Endpoint
94
+ * * `authentik_providers_rac.racpropertymapping` - RAC Property Mapping
92
95
  * @export
93
96
  */
94
97
  exports.ModelEnum = {
@@ -166,6 +169,9 @@ exports.ModelEnum = {
166
169
  CoreApplication: 'authentik_core.application',
167
170
  CoreToken: 'authentik_core.token',
168
171
  EnterpriseLicense: 'authentik_enterprise.license',
172
+ ProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
173
+ ProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
174
+ ProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
169
175
  UnknownDefaultOpenApi: '11184809'
170
176
  };
171
177
  function ModelEnumFromJSON(json) {
@@ -12,6 +12,7 @@
12
12
  import { LDAPProviderRequest } from './LDAPProviderRequest';
13
13
  import { OAuth2ProviderRequest } from './OAuth2ProviderRequest';
14
14
  import { ProxyProviderRequest } from './ProxyProviderRequest';
15
+ import { RACProviderRequest } from './RACProviderRequest';
15
16
  import { RadiusProviderRequest } from './RadiusProviderRequest';
16
17
  import { SAMLProviderRequest } from './SAMLProviderRequest';
17
18
  import { SCIMProviderRequest } from './SCIMProviderRequest';
@@ -27,6 +28,8 @@ export type ModelRequest = {
27
28
  } & OAuth2ProviderRequest | {
28
29
  providerModel: 'authentik_providers_proxy.proxyprovider';
29
30
  } & ProxyProviderRequest | {
31
+ providerModel: 'authentik_providers_rac.racprovider';
32
+ } & RACProviderRequest | {
30
33
  providerModel: 'authentik_providers_radius.radiusprovider';
31
34
  } & RadiusProviderRequest | {
32
35
  providerModel: 'authentik_providers_saml.samlprovider';
@@ -17,6 +17,7 @@ exports.ModelRequestToJSON = exports.ModelRequestFromJSONTyped = exports.ModelRe
17
17
  const LDAPProviderRequest_1 = require("./LDAPProviderRequest");
18
18
  const OAuth2ProviderRequest_1 = require("./OAuth2ProviderRequest");
19
19
  const ProxyProviderRequest_1 = require("./ProxyProviderRequest");
20
+ const RACProviderRequest_1 = require("./RACProviderRequest");
20
21
  const RadiusProviderRequest_1 = require("./RadiusProviderRequest");
21
22
  const SAMLProviderRequest_1 = require("./SAMLProviderRequest");
22
23
  const SCIMProviderRequest_1 = require("./SCIMProviderRequest");
@@ -35,6 +36,8 @@ function ModelRequestFromJSONTyped(json, ignoreDiscriminator) {
35
36
  return Object.assign(Object.assign({}, (0, OAuth2ProviderRequest_1.OAuth2ProviderRequestFromJSONTyped)(json, true)), { providerModel: 'authentik_providers_oauth2.oauth2provider' });
36
37
  case 'authentik_providers_proxy.proxyprovider':
37
38
  return Object.assign(Object.assign({}, (0, ProxyProviderRequest_1.ProxyProviderRequestFromJSONTyped)(json, true)), { providerModel: 'authentik_providers_proxy.proxyprovider' });
39
+ case 'authentik_providers_rac.racprovider':
40
+ return Object.assign(Object.assign({}, (0, RACProviderRequest_1.RACProviderRequestFromJSONTyped)(json, true)), { providerModel: 'authentik_providers_rac.racprovider' });
38
41
  case 'authentik_providers_radius.radiusprovider':
39
42
  return Object.assign(Object.assign({}, (0, RadiusProviderRequest_1.RadiusProviderRequestFromJSONTyped)(json, true)), { providerModel: 'authentik_providers_radius.radiusprovider' });
40
43
  case 'authentik_providers_saml.samlprovider':
@@ -60,6 +63,8 @@ function ModelRequestToJSON(value) {
60
63
  return (0, OAuth2ProviderRequest_1.OAuth2ProviderRequestToJSON)(value);
61
64
  case 'authentik_providers_proxy.proxyprovider':
62
65
  return (0, ProxyProviderRequest_1.ProxyProviderRequestToJSON)(value);
66
+ case 'authentik_providers_rac.racprovider':
67
+ return (0, RACProviderRequest_1.RACProviderRequestToJSON)(value);
63
68
  case 'authentik_providers_radius.radiusprovider':
64
69
  return (0, RadiusProviderRequest_1.RadiusProviderRequestToJSON)(value);
65
70
  case 'authentik_providers_saml.samlprovider':
@@ -13,12 +13,14 @@
13
13
  * * `proxy` - Proxy
14
14
  * * `ldap` - Ldap
15
15
  * * `radius` - Radius
16
+ * * `rac` - Rac
16
17
  * @export
17
18
  */
18
19
  export declare const OutpostTypeEnum: {
19
20
  readonly Proxy: "proxy";
20
21
  readonly Ldap: "ldap";
21
22
  readonly Radius: "radius";
23
+ readonly Rac: "rac";
22
24
  readonly UnknownDefaultOpenApi: "11184809";
23
25
  };
24
26
  export type OutpostTypeEnum = typeof OutpostTypeEnum[keyof typeof OutpostTypeEnum];
@@ -18,12 +18,14 @@ exports.OutpostTypeEnumToJSON = exports.OutpostTypeEnumFromJSONTyped = exports.O
18
18
  * * `proxy` - Proxy
19
19
  * * `ldap` - Ldap
20
20
  * * `radius` - Radius
21
+ * * `rac` - Rac
21
22
  * @export
22
23
  */
23
24
  exports.OutpostTypeEnum = {
24
25
  Proxy: 'proxy',
25
26
  Ldap: 'ldap',
26
27
  Radius: 'radius',
28
+ Rac: 'rac',
27
29
  UnknownDefaultOpenApi: '11184809'
28
30
  };
29
31
  function OutpostTypeEnumFromJSON(json) {
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.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 { Endpoint } from './Endpoint';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedEndpointList
18
+ */
19
+ export interface PaginatedEndpointList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedEndpointList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<Endpoint>}
29
+ * @memberof PaginatedEndpointList
30
+ */
31
+ results: Array<Endpoint>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedEndpointList interface.
35
+ */
36
+ export declare function instanceOfPaginatedEndpointList(value: object): boolean;
37
+ export declare function PaginatedEndpointListFromJSON(json: any): PaginatedEndpointList;
38
+ export declare function PaginatedEndpointListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedEndpointList;
39
+ export declare function PaginatedEndpointListToJSON(value?: PaginatedEndpointList | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2023.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.PaginatedEndpointListToJSON = exports.PaginatedEndpointListFromJSONTyped = exports.PaginatedEndpointListFromJSON = exports.instanceOfPaginatedEndpointList = void 0;
17
+ const Endpoint_1 = require("./Endpoint");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedEndpointList interface.
21
+ */
22
+ function instanceOfPaginatedEndpointList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedEndpointList = instanceOfPaginatedEndpointList;
29
+ function PaginatedEndpointListFromJSON(json) {
30
+ return PaginatedEndpointListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedEndpointListFromJSON = PaginatedEndpointListFromJSON;
33
+ function PaginatedEndpointListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(Endpoint_1.EndpointFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedEndpointListFromJSONTyped = PaginatedEndpointListFromJSONTyped;
43
+ function PaginatedEndpointListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(Endpoint_1.EndpointToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedEndpointListToJSON = PaginatedEndpointListToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.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 { Pagination } from './Pagination';
13
+ import type { RACPropertyMapping } from './RACPropertyMapping';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedRACPropertyMappingList
18
+ */
19
+ export interface PaginatedRACPropertyMappingList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedRACPropertyMappingList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<RACPropertyMapping>}
29
+ * @memberof PaginatedRACPropertyMappingList
30
+ */
31
+ results: Array<RACPropertyMapping>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedRACPropertyMappingList interface.
35
+ */
36
+ export declare function instanceOfPaginatedRACPropertyMappingList(value: object): boolean;
37
+ export declare function PaginatedRACPropertyMappingListFromJSON(json: any): PaginatedRACPropertyMappingList;
38
+ export declare function PaginatedRACPropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedRACPropertyMappingList;
39
+ export declare function PaginatedRACPropertyMappingListToJSON(value?: PaginatedRACPropertyMappingList | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2023.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.PaginatedRACPropertyMappingListToJSON = exports.PaginatedRACPropertyMappingListFromJSONTyped = exports.PaginatedRACPropertyMappingListFromJSON = exports.instanceOfPaginatedRACPropertyMappingList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const RACPropertyMapping_1 = require("./RACPropertyMapping");
19
+ /**
20
+ * Check if a given object implements the PaginatedRACPropertyMappingList interface.
21
+ */
22
+ function instanceOfPaginatedRACPropertyMappingList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedRACPropertyMappingList = instanceOfPaginatedRACPropertyMappingList;
29
+ function PaginatedRACPropertyMappingListFromJSON(json) {
30
+ return PaginatedRACPropertyMappingListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedRACPropertyMappingListFromJSON = PaginatedRACPropertyMappingListFromJSON;
33
+ function PaginatedRACPropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(RACPropertyMapping_1.RACPropertyMappingFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedRACPropertyMappingListFromJSONTyped = PaginatedRACPropertyMappingListFromJSONTyped;
43
+ function PaginatedRACPropertyMappingListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(RACPropertyMapping_1.RACPropertyMappingToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedRACPropertyMappingListToJSON = PaginatedRACPropertyMappingListToJSON;