@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,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 { RACProvider } from './RACProvider';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedRACProviderList
18
+ */
19
+ export interface PaginatedRACProviderList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedRACProviderList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<RACProvider>}
29
+ * @memberof PaginatedRACProviderList
30
+ */
31
+ results: Array<RACProvider>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedRACProviderList interface.
35
+ */
36
+ export declare function instanceOfPaginatedRACProviderList(value: object): boolean;
37
+ export declare function PaginatedRACProviderListFromJSON(json: any): PaginatedRACProviderList;
38
+ export declare function PaginatedRACProviderListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedRACProviderList;
39
+ export declare function PaginatedRACProviderListToJSON(value?: PaginatedRACProviderList | 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.PaginatedRACProviderListToJSON = exports.PaginatedRACProviderListFromJSONTyped = exports.PaginatedRACProviderListFromJSON = exports.instanceOfPaginatedRACProviderList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const RACProvider_1 = require("./RACProvider");
19
+ /**
20
+ * Check if a given object implements the PaginatedRACProviderList interface.
21
+ */
22
+ function instanceOfPaginatedRACProviderList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedRACProviderList = instanceOfPaginatedRACProviderList;
29
+ function PaginatedRACProviderListFromJSON(json) {
30
+ return PaginatedRACProviderListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedRACProviderListFromJSON = PaginatedRACProviderListFromJSON;
33
+ function PaginatedRACProviderListFromJSONTyped(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(RACProvider_1.RACProviderFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedRACProviderListFromJSONTyped = PaginatedRACProviderListFromJSONTyped;
43
+ function PaginatedRACProviderListToJSON(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(RACProvider_1.RACProviderToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedRACProviderListToJSON = PaginatedRACProviderListToJSON;
@@ -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 PatchedEndpointRequest
18
+ */
19
+ export interface PatchedEndpointRequest {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof PatchedEndpointRequest
24
+ */
25
+ name?: string;
26
+ /**
27
+ *
28
+ * @type {number}
29
+ * @memberof PatchedEndpointRequest
30
+ */
31
+ provider?: number;
32
+ /**
33
+ *
34
+ * @type {ProtocolEnum}
35
+ * @memberof PatchedEndpointRequest
36
+ */
37
+ protocol?: ProtocolEnum;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof PatchedEndpointRequest
42
+ */
43
+ host?: string;
44
+ /**
45
+ *
46
+ * @type {any}
47
+ * @memberof PatchedEndpointRequest
48
+ */
49
+ settings?: any | null;
50
+ /**
51
+ *
52
+ * @type {Array<string>}
53
+ * @memberof PatchedEndpointRequest
54
+ */
55
+ propertyMappings?: Array<string>;
56
+ /**
57
+ *
58
+ * @type {AuthModeEnum}
59
+ * @memberof PatchedEndpointRequest
60
+ */
61
+ authMode?: AuthModeEnum;
62
+ }
63
+ /**
64
+ * Check if a given object implements the PatchedEndpointRequest interface.
65
+ */
66
+ export declare function instanceOfPatchedEndpointRequest(value: object): boolean;
67
+ export declare function PatchedEndpointRequestFromJSON(json: any): PatchedEndpointRequest;
68
+ export declare function PatchedEndpointRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedEndpointRequest;
69
+ export declare function PatchedEndpointRequestToJSON(value?: PatchedEndpointRequest | 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: 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.PatchedEndpointRequestToJSON = exports.PatchedEndpointRequestFromJSONTyped = exports.PatchedEndpointRequestFromJSON = exports.instanceOfPatchedEndpointRequest = 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 PatchedEndpointRequest interface.
22
+ */
23
+ function instanceOfPatchedEndpointRequest(value) {
24
+ let isInstance = true;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfPatchedEndpointRequest = instanceOfPatchedEndpointRequest;
28
+ function PatchedEndpointRequestFromJSON(json) {
29
+ return PatchedEndpointRequestFromJSONTyped(json, false);
30
+ }
31
+ exports.PatchedEndpointRequestFromJSON = PatchedEndpointRequestFromJSON;
32
+ function PatchedEndpointRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
38
+ 'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
39
+ 'protocol': !(0, runtime_1.exists)(json, 'protocol') ? undefined : (0, ProtocolEnum_1.ProtocolEnumFromJSON)(json['protocol']),
40
+ 'host': !(0, runtime_1.exists)(json, 'host') ? undefined : json['host'],
41
+ 'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
42
+ 'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
43
+ 'authMode': !(0, runtime_1.exists)(json, 'auth_mode') ? undefined : (0, AuthModeEnum_1.AuthModeEnumFromJSON)(json['auth_mode']),
44
+ };
45
+ }
46
+ exports.PatchedEndpointRequestFromJSONTyped = PatchedEndpointRequestFromJSONTyped;
47
+ function PatchedEndpointRequestToJSON(value) {
48
+ if (value === undefined) {
49
+ return undefined;
50
+ }
51
+ if (value === null) {
52
+ return null;
53
+ }
54
+ return {
55
+ 'name': value.name,
56
+ 'provider': value.provider,
57
+ 'protocol': (0, ProtocolEnum_1.ProtocolEnumToJSON)(value.protocol),
58
+ 'host': value.host,
59
+ 'settings': value.settings,
60
+ 'property_mappings': value.propertyMappings,
61
+ 'auth_mode': (0, AuthModeEnum_1.AuthModeEnumToJSON)(value.authMode),
62
+ };
63
+ }
64
+ exports.PatchedEndpointRequestToJSON = PatchedEndpointRequestToJSON;
@@ -0,0 +1,51 @@
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
+ /**
13
+ * RACPropertyMapping Serializer
14
+ * @export
15
+ * @interface PatchedRACPropertyMappingRequest
16
+ */
17
+ export interface PatchedRACPropertyMappingRequest {
18
+ /**
19
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
20
+ * @type {string}
21
+ * @memberof PatchedRACPropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedRACPropertyMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedRACPropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ /**
37
+ *
38
+ * @type {{ [key: string]: any; }}
39
+ * @memberof PatchedRACPropertyMappingRequest
40
+ */
41
+ staticSettings?: {
42
+ [key: string]: any;
43
+ };
44
+ }
45
+ /**
46
+ * Check if a given object implements the PatchedRACPropertyMappingRequest interface.
47
+ */
48
+ export declare function instanceOfPatchedRACPropertyMappingRequest(value: object): boolean;
49
+ export declare function PatchedRACPropertyMappingRequestFromJSON(json: any): PatchedRACPropertyMappingRequest;
50
+ export declare function PatchedRACPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedRACPropertyMappingRequest;
51
+ export declare function PatchedRACPropertyMappingRequestToJSON(value?: PatchedRACPropertyMappingRequest | null): any;
@@ -0,0 +1,56 @@
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.PatchedRACPropertyMappingRequestToJSON = exports.PatchedRACPropertyMappingRequestFromJSONTyped = exports.PatchedRACPropertyMappingRequestFromJSON = exports.instanceOfPatchedRACPropertyMappingRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PatchedRACPropertyMappingRequest interface.
20
+ */
21
+ function instanceOfPatchedRACPropertyMappingRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfPatchedRACPropertyMappingRequest = instanceOfPatchedRACPropertyMappingRequest;
26
+ function PatchedRACPropertyMappingRequestFromJSON(json) {
27
+ return PatchedRACPropertyMappingRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.PatchedRACPropertyMappingRequestFromJSON = PatchedRACPropertyMappingRequestFromJSON;
30
+ function PatchedRACPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ 'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
38
+ 'staticSettings': !(0, runtime_1.exists)(json, 'static_settings') ? undefined : json['static_settings'],
39
+ };
40
+ }
41
+ exports.PatchedRACPropertyMappingRequestFromJSONTyped = PatchedRACPropertyMappingRequestFromJSONTyped;
42
+ function PatchedRACPropertyMappingRequestToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'managed': value.managed,
51
+ 'name': value.name,
52
+ 'expression': value.expression,
53
+ 'static_settings': value.staticSettings,
54
+ };
55
+ }
56
+ exports.PatchedRACPropertyMappingRequestToJSON = PatchedRACPropertyMappingRequestToJSON;
@@ -0,0 +1,61 @@
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
+ /**
13
+ * RACProvider Serializer
14
+ * @export
15
+ * @interface PatchedRACProviderRequest
16
+ */
17
+ export interface PatchedRACProviderRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchedRACProviderRequest
22
+ */
23
+ name?: string;
24
+ /**
25
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
26
+ * @type {string}
27
+ * @memberof PatchedRACProviderRequest
28
+ */
29
+ authenticationFlow?: string | null;
30
+ /**
31
+ * Flow used when authorizing this provider.
32
+ * @type {string}
33
+ * @memberof PatchedRACProviderRequest
34
+ */
35
+ authorizationFlow?: string;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof PatchedRACProviderRequest
40
+ */
41
+ propertyMappings?: Array<string>;
42
+ /**
43
+ *
44
+ * @type {any}
45
+ * @memberof PatchedRACProviderRequest
46
+ */
47
+ settings?: any | null;
48
+ /**
49
+ * Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
50
+ * @type {string}
51
+ * @memberof PatchedRACProviderRequest
52
+ */
53
+ connectionExpiry?: string;
54
+ }
55
+ /**
56
+ * Check if a given object implements the PatchedRACProviderRequest interface.
57
+ */
58
+ export declare function instanceOfPatchedRACProviderRequest(value: object): boolean;
59
+ export declare function PatchedRACProviderRequestFromJSON(json: any): PatchedRACProviderRequest;
60
+ export declare function PatchedRACProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedRACProviderRequest;
61
+ export declare function PatchedRACProviderRequestToJSON(value?: PatchedRACProviderRequest | null): any;
@@ -0,0 +1,60 @@
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.PatchedRACProviderRequestToJSON = exports.PatchedRACProviderRequestFromJSONTyped = exports.PatchedRACProviderRequestFromJSON = exports.instanceOfPatchedRACProviderRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PatchedRACProviderRequest interface.
20
+ */
21
+ function instanceOfPatchedRACProviderRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfPatchedRACProviderRequest = instanceOfPatchedRACProviderRequest;
26
+ function PatchedRACProviderRequestFromJSON(json) {
27
+ return PatchedRACProviderRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.PatchedRACProviderRequestFromJSON = PatchedRACProviderRequestFromJSON;
30
+ function PatchedRACProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
36
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
37
+ 'authorizationFlow': !(0, runtime_1.exists)(json, 'authorization_flow') ? undefined : json['authorization_flow'],
38
+ 'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
39
+ 'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
40
+ 'connectionExpiry': !(0, runtime_1.exists)(json, 'connection_expiry') ? undefined : json['connection_expiry'],
41
+ };
42
+ }
43
+ exports.PatchedRACProviderRequestFromJSONTyped = PatchedRACProviderRequestFromJSONTyped;
44
+ function PatchedRACProviderRequestToJSON(value) {
45
+ if (value === undefined) {
46
+ return undefined;
47
+ }
48
+ if (value === null) {
49
+ return null;
50
+ }
51
+ return {
52
+ 'name': value.name,
53
+ 'authentication_flow': value.authenticationFlow,
54
+ 'authorization_flow': value.authorizationFlow,
55
+ 'property_mappings': value.propertyMappings,
56
+ 'settings': value.settings,
57
+ 'connection_expiry': value.connectionExpiry,
58
+ };
59
+ }
60
+ exports.PatchedRACProviderRequestToJSON = PatchedRACProviderRequestToJSON;
@@ -0,0 +1,27 @@
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
+ /**
13
+ * * `rdp` - Rdp
14
+ * * `vnc` - Vnc
15
+ * * `ssh` - Ssh
16
+ * @export
17
+ */
18
+ export declare const ProtocolEnum: {
19
+ readonly Rdp: "rdp";
20
+ readonly Vnc: "vnc";
21
+ readonly Ssh: "ssh";
22
+ readonly UnknownDefaultOpenApi: "11184809";
23
+ };
24
+ export type ProtocolEnum = typeof ProtocolEnum[keyof typeof ProtocolEnum];
25
+ export declare function ProtocolEnumFromJSON(json: any): ProtocolEnum;
26
+ export declare function ProtocolEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProtocolEnum;
27
+ export declare function ProtocolEnumToJSON(value?: ProtocolEnum | null): any;
@@ -0,0 +1,40 @@
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.ProtocolEnumToJSON = exports.ProtocolEnumFromJSONTyped = exports.ProtocolEnumFromJSON = exports.ProtocolEnum = void 0;
17
+ /**
18
+ * * `rdp` - Rdp
19
+ * * `vnc` - Vnc
20
+ * * `ssh` - Ssh
21
+ * @export
22
+ */
23
+ exports.ProtocolEnum = {
24
+ Rdp: 'rdp',
25
+ Vnc: 'vnc',
26
+ Ssh: 'ssh',
27
+ UnknownDefaultOpenApi: '11184809'
28
+ };
29
+ function ProtocolEnumFromJSON(json) {
30
+ return ProtocolEnumFromJSONTyped(json, false);
31
+ }
32
+ exports.ProtocolEnumFromJSON = ProtocolEnumFromJSON;
33
+ function ProtocolEnumFromJSONTyped(json, ignoreDiscriminator) {
34
+ return json;
35
+ }
36
+ exports.ProtocolEnumFromJSONTyped = ProtocolEnumFromJSONTyped;
37
+ function ProtocolEnumToJSON(value) {
38
+ return value;
39
+ }
40
+ exports.ProtocolEnumToJSON = ProtocolEnumToJSON;
@@ -13,6 +13,7 @@
13
13
  * * `authentik_providers_ldap.ldapprovider` - authentik_providers_ldap.ldapprovider
14
14
  * * `authentik_providers_oauth2.oauth2provider` - authentik_providers_oauth2.oauth2provider
15
15
  * * `authentik_providers_proxy.proxyprovider` - authentik_providers_proxy.proxyprovider
16
+ * * `authentik_providers_rac.racprovider` - authentik_providers_rac.racprovider
16
17
  * * `authentik_providers_radius.radiusprovider` - authentik_providers_radius.radiusprovider
17
18
  * * `authentik_providers_saml.samlprovider` - authentik_providers_saml.samlprovider
18
19
  * * `authentik_providers_scim.scimprovider` - authentik_providers_scim.scimprovider
@@ -22,6 +23,7 @@ export declare const ProviderModelEnum: {
22
23
  readonly LdapLdapprovider: "authentik_providers_ldap.ldapprovider";
23
24
  readonly Oauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
24
25
  readonly ProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
26
+ readonly RacRacprovider: "authentik_providers_rac.racprovider";
25
27
  readonly RadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
26
28
  readonly SamlSamlprovider: "authentik_providers_saml.samlprovider";
27
29
  readonly ScimScimprovider: "authentik_providers_scim.scimprovider";
@@ -18,6 +18,7 @@ exports.ProviderModelEnumToJSON = exports.ProviderModelEnumFromJSONTyped = expor
18
18
  * * `authentik_providers_ldap.ldapprovider` - authentik_providers_ldap.ldapprovider
19
19
  * * `authentik_providers_oauth2.oauth2provider` - authentik_providers_oauth2.oauth2provider
20
20
  * * `authentik_providers_proxy.proxyprovider` - authentik_providers_proxy.proxyprovider
21
+ * * `authentik_providers_rac.racprovider` - authentik_providers_rac.racprovider
21
22
  * * `authentik_providers_radius.radiusprovider` - authentik_providers_radius.radiusprovider
22
23
  * * `authentik_providers_saml.samlprovider` - authentik_providers_saml.samlprovider
23
24
  * * `authentik_providers_scim.scimprovider` - authentik_providers_scim.scimprovider
@@ -27,6 +28,7 @@ exports.ProviderModelEnum = {
27
28
  LdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
28
29
  Oauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
29
30
  ProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
31
+ RacRacprovider: 'authentik_providers_rac.racprovider',
30
32
  RadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
31
33
  SamlSamlprovider: 'authentik_providers_saml.samlprovider',
32
34
  ScimScimprovider: 'authentik_providers_scim.scimprovider',
@@ -0,0 +1,81 @@
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
+ /**
13
+ * RACPropertyMapping Serializer
14
+ * @export
15
+ * @interface RACPropertyMapping
16
+ */
17
+ export interface RACPropertyMapping {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RACPropertyMapping
22
+ */
23
+ readonly pk: string;
24
+ /**
25
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
26
+ * @type {string}
27
+ * @memberof RACPropertyMapping
28
+ */
29
+ managed?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RACPropertyMapping
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof RACPropertyMapping
40
+ */
41
+ expression?: string;
42
+ /**
43
+ * Get object's component so that we know how to edit the object
44
+ * @type {string}
45
+ * @memberof RACPropertyMapping
46
+ */
47
+ readonly component: string;
48
+ /**
49
+ * Return object's verbose_name
50
+ * @type {string}
51
+ * @memberof RACPropertyMapping
52
+ */
53
+ readonly verboseName: string;
54
+ /**
55
+ * Return object's plural verbose_name
56
+ * @type {string}
57
+ * @memberof RACPropertyMapping
58
+ */
59
+ readonly verboseNamePlural: string;
60
+ /**
61
+ * Return internal model name
62
+ * @type {string}
63
+ * @memberof RACPropertyMapping
64
+ */
65
+ readonly metaModelName: string;
66
+ /**
67
+ *
68
+ * @type {{ [key: string]: any; }}
69
+ * @memberof RACPropertyMapping
70
+ */
71
+ staticSettings: {
72
+ [key: string]: any;
73
+ };
74
+ }
75
+ /**
76
+ * Check if a given object implements the RACPropertyMapping interface.
77
+ */
78
+ export declare function instanceOfRACPropertyMapping(value: object): boolean;
79
+ export declare function RACPropertyMappingFromJSON(json: any): RACPropertyMapping;
80
+ export declare function RACPropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACPropertyMapping;
81
+ export declare function RACPropertyMappingToJSON(value?: RACPropertyMapping | null): any;