@goauthentik/api 2024.8.3-1729167001 → 2024.8.3-1729699127

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. package/.openapi-generator/FILES +25 -0
  2. package/dist/apis/AuthenticatorsApi.d.ts +110 -1
  3. package/dist/apis/AuthenticatorsApi.js +347 -0
  4. package/dist/apis/PropertymappingsApi.d.ts +86 -1
  5. package/dist/apis/PropertymappingsApi.js +271 -0
  6. package/dist/apis/RbacApi.d.ts +10 -0
  7. package/dist/apis/RbacApi.js +10 -0
  8. package/dist/apis/SourcesApi.d.ts +257 -1
  9. package/dist/apis/SourcesApi.js +841 -28
  10. package/dist/apis/StagesApi.d.ts +85 -1
  11. package/dist/apis/StagesApi.js +268 -0
  12. package/dist/esm/apis/AuthenticatorsApi.d.ts +110 -1
  13. package/dist/esm/apis/AuthenticatorsApi.js +348 -1
  14. package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
  15. package/dist/esm/apis/PropertymappingsApi.js +272 -1
  16. package/dist/esm/apis/RbacApi.d.ts +10 -0
  17. package/dist/esm/apis/RbacApi.js +10 -0
  18. package/dist/esm/apis/SourcesApi.d.ts +257 -1
  19. package/dist/esm/apis/SourcesApi.js +842 -29
  20. package/dist/esm/apis/StagesApi.d.ts +85 -1
  21. package/dist/esm/apis/StagesApi.js +269 -1
  22. package/dist/esm/models/AppEnum.d.ts +2 -0
  23. package/dist/esm/models/AppEnum.js +2 -0
  24. package/dist/esm/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  25. package/dist/esm/models/AuthenticatorEndpointGDTCStage.js +64 -0
  26. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  27. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.js +54 -0
  28. package/dist/esm/models/BackendsEnum.d.ts +1 -0
  29. package/dist/esm/models/BackendsEnum.js +1 -0
  30. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  31. package/dist/esm/models/ChallengeTypes.js +5 -0
  32. package/dist/esm/models/Device.d.ts +2 -2
  33. package/dist/esm/models/EndpointDevice.d.ts +37 -0
  34. package/dist/esm/models/EndpointDevice.js +46 -0
  35. package/dist/esm/models/EndpointDeviceRequest.d.ts +37 -0
  36. package/dist/esm/models/EndpointDeviceRequest.js +46 -0
  37. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
  38. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  39. package/dist/esm/models/FrameChallenge.d.ts +65 -0
  40. package/dist/esm/models/FrameChallenge.js +56 -0
  41. package/dist/esm/models/FrameChallengeResponseRequest.d.ts +31 -0
  42. package/dist/esm/models/FrameChallengeResponseRequest.js +43 -0
  43. package/dist/esm/models/GroupKerberosSourceConnection.d.ts +56 -0
  44. package/dist/esm/models/GroupKerberosSourceConnection.js +50 -0
  45. package/dist/esm/models/KerberosSource.d.ts +198 -0
  46. package/dist/esm/models/KerberosSource.js +103 -0
  47. package/dist/esm/models/KerberosSourcePropertyMapping.d.ts +73 -0
  48. package/dist/esm/models/KerberosSourcePropertyMapping.js +59 -0
  49. package/dist/esm/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
  50. package/dist/esm/models/KerberosSourcePropertyMappingRequest.js +49 -0
  51. package/dist/esm/models/KerberosSourceRequest.d.ts +166 -0
  52. package/dist/esm/models/KerberosSourceRequest.js +93 -0
  53. package/dist/esm/models/KerberosSyncStatus.d.ts +38 -0
  54. package/dist/esm/models/KerberosSyncStatus.js +44 -0
  55. package/dist/esm/models/ModelEnum.d.ts +5 -0
  56. package/dist/esm/models/ModelEnum.js +5 -0
  57. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  58. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.js +48 -0
  59. package/dist/esm/models/PaginatedEndpointDeviceList.d.ts +39 -0
  60. package/dist/esm/models/PaginatedEndpointDeviceList.js +48 -0
  61. package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
  62. package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.js +48 -0
  63. package/dist/esm/models/PaginatedKerberosSourceList.d.ts +39 -0
  64. package/dist/esm/models/PaginatedKerberosSourceList.js +48 -0
  65. package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
  66. package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.js +48 -0
  67. package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
  68. package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.js +48 -0
  69. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  70. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +52 -0
  71. package/dist/esm/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  72. package/dist/esm/models/PatchedEndpointDeviceRequest.js +45 -0
  73. package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
  74. package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.js +47 -0
  75. package/dist/esm/models/PatchedKerberosSourceRequest.d.ts +166 -0
  76. package/dist/esm/models/PatchedKerberosSourceRequest.js +90 -0
  77. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
  78. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +45 -0
  79. package/dist/esm/models/UserKerberosSourceConnection.d.ts +56 -0
  80. package/dist/esm/models/UserKerberosSourceConnection.js +53 -0
  81. package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
  82. package/dist/esm/models/UserKerberosSourceConnectionRequest.js +46 -0
  83. package/dist/esm/models/index.d.ts +25 -0
  84. package/dist/esm/models/index.js +25 -0
  85. package/dist/models/AppEnum.d.ts +2 -0
  86. package/dist/models/AppEnum.js +2 -0
  87. package/dist/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  88. package/dist/models/AuthenticatorEndpointGDTCStage.js +71 -0
  89. package/dist/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  90. package/dist/models/AuthenticatorEndpointGDTCStageRequest.js +61 -0
  91. package/dist/models/BackendsEnum.d.ts +1 -0
  92. package/dist/models/BackendsEnum.js +1 -0
  93. package/dist/models/ChallengeTypes.d.ts +3 -0
  94. package/dist/models/ChallengeTypes.js +5 -0
  95. package/dist/models/Device.d.ts +2 -2
  96. package/dist/models/EndpointDevice.d.ts +37 -0
  97. package/dist/models/EndpointDevice.js +53 -0
  98. package/dist/models/EndpointDeviceRequest.d.ts +37 -0
  99. package/dist/models/EndpointDeviceRequest.js +53 -0
  100. package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
  101. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  102. package/dist/models/FrameChallenge.d.ts +65 -0
  103. package/dist/models/FrameChallenge.js +63 -0
  104. package/dist/models/FrameChallengeResponseRequest.d.ts +31 -0
  105. package/dist/models/FrameChallengeResponseRequest.js +50 -0
  106. package/dist/models/GroupKerberosSourceConnection.d.ts +56 -0
  107. package/dist/models/GroupKerberosSourceConnection.js +57 -0
  108. package/dist/models/KerberosSource.d.ts +198 -0
  109. package/dist/models/KerberosSource.js +110 -0
  110. package/dist/models/KerberosSourcePropertyMapping.d.ts +73 -0
  111. package/dist/models/KerberosSourcePropertyMapping.js +66 -0
  112. package/dist/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
  113. package/dist/models/KerberosSourcePropertyMappingRequest.js +56 -0
  114. package/dist/models/KerberosSourceRequest.d.ts +166 -0
  115. package/dist/models/KerberosSourceRequest.js +100 -0
  116. package/dist/models/KerberosSyncStatus.d.ts +38 -0
  117. package/dist/models/KerberosSyncStatus.js +51 -0
  118. package/dist/models/ModelEnum.d.ts +5 -0
  119. package/dist/models/ModelEnum.js +5 -0
  120. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  121. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.js +55 -0
  122. package/dist/models/PaginatedEndpointDeviceList.d.ts +39 -0
  123. package/dist/models/PaginatedEndpointDeviceList.js +55 -0
  124. package/dist/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
  125. package/dist/models/PaginatedGroupKerberosSourceConnectionList.js +55 -0
  126. package/dist/models/PaginatedKerberosSourceList.d.ts +39 -0
  127. package/dist/models/PaginatedKerberosSourceList.js +55 -0
  128. package/dist/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
  129. package/dist/models/PaginatedKerberosSourcePropertyMappingList.js +55 -0
  130. package/dist/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
  131. package/dist/models/PaginatedUserKerberosSourceConnectionList.js +55 -0
  132. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  133. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +59 -0
  134. package/dist/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  135. package/dist/models/PatchedEndpointDeviceRequest.js +52 -0
  136. package/dist/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
  137. package/dist/models/PatchedKerberosSourcePropertyMappingRequest.js +54 -0
  138. package/dist/models/PatchedKerberosSourceRequest.d.ts +166 -0
  139. package/dist/models/PatchedKerberosSourceRequest.js +97 -0
  140. package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
  141. package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +52 -0
  142. package/dist/models/UserKerberosSourceConnection.d.ts +56 -0
  143. package/dist/models/UserKerberosSourceConnection.js +60 -0
  144. package/dist/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
  145. package/dist/models/UserKerberosSourceConnectionRequest.js +53 -0
  146. package/dist/models/index.d.ts +25 -0
  147. package/dist/models/index.js +25 -0
  148. package/package.json +1 -1
  149. package/src/apis/AuthenticatorsApi.ts +444 -0
  150. package/src/apis/PropertymappingsApi.ts +350 -0
  151. package/src/apis/RbacApi.ts +10 -0
  152. package/src/apis/SourcesApi.ts +1200 -153
  153. package/src/apis/StagesApi.ts +345 -0
  154. package/src/models/AppEnum.ts +2 -0
  155. package/src/models/AuthenticatorEndpointGDTCStage.ts +146 -0
  156. package/src/models/AuthenticatorEndpointGDTCStageRequest.ts +106 -0
  157. package/src/models/BackendsEnum.ts +1 -0
  158. package/src/models/ChallengeTypes.ts +12 -1
  159. package/src/models/Device.ts +2 -2
  160. package/src/models/EndpointDevice.ts +74 -0
  161. package/src/models/EndpointDeviceRequest.ts +74 -0
  162. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  163. package/src/models/FrameChallenge.ts +120 -0
  164. package/src/models/FrameChallengeResponseRequest.ts +65 -0
  165. package/src/models/GroupKerberosSourceConnection.ts +104 -0
  166. package/src/models/KerberosSource.ts +303 -0
  167. package/src/models/KerberosSourcePropertyMapping.ts +123 -0
  168. package/src/models/KerberosSourcePropertyMappingRequest.ts +83 -0
  169. package/src/models/KerberosSourceRequest.ts +263 -0
  170. package/src/models/KerberosSyncStatus.ts +80 -0
  171. package/src/models/ModelEnum.ts +5 -0
  172. package/src/models/PaginatedAuthenticatorEndpointGDTCStageList.ts +88 -0
  173. package/src/models/PaginatedEndpointDeviceList.ts +88 -0
  174. package/src/models/PaginatedGroupKerberosSourceConnectionList.ts +88 -0
  175. package/src/models/PaginatedKerberosSourceList.ts +88 -0
  176. package/src/models/PaginatedKerberosSourcePropertyMappingList.ts +88 -0
  177. package/src/models/PaginatedUserKerberosSourceConnectionList.ts +88 -0
  178. package/src/models/PatchedAuthenticatorEndpointGDTCStageRequest.ts +104 -0
  179. package/src/models/PatchedEndpointDeviceRequest.ts +73 -0
  180. package/src/models/PatchedKerberosSourcePropertyMappingRequest.ts +81 -0
  181. package/src/models/PatchedKerberosSourceRequest.ts +260 -0
  182. package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +73 -0
  183. package/src/models/UserKerberosSourceConnection.ts +106 -0
  184. package/src/models/UserKerberosSourceConnectionRequest.ts +75 -0
  185. package/src/models/index.ts +25 -0
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.3
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 { GroupKerberosSourceConnection } from './GroupKerberosSourceConnection';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedGroupKerberosSourceConnectionList
18
+ */
19
+ export interface PaginatedGroupKerberosSourceConnectionList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedGroupKerberosSourceConnectionList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<GroupKerberosSourceConnection>}
29
+ * @memberof PaginatedGroupKerberosSourceConnectionList
30
+ */
31
+ results: Array<GroupKerberosSourceConnection>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedGroupKerberosSourceConnectionList interface.
35
+ */
36
+ export declare function instanceOfPaginatedGroupKerberosSourceConnectionList(value: object): boolean;
37
+ export declare function PaginatedGroupKerberosSourceConnectionListFromJSON(json: any): PaginatedGroupKerberosSourceConnectionList;
38
+ export declare function PaginatedGroupKerberosSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupKerberosSourceConnectionList;
39
+ export declare function PaginatedGroupKerberosSourceConnectionListToJSON(value?: PaginatedGroupKerberosSourceConnectionList | 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: 2024.8.3
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.PaginatedGroupKerberosSourceConnectionListToJSON = exports.PaginatedGroupKerberosSourceConnectionListFromJSONTyped = exports.PaginatedGroupKerberosSourceConnectionListFromJSON = exports.instanceOfPaginatedGroupKerberosSourceConnectionList = void 0;
17
+ const GroupKerberosSourceConnection_1 = require("./GroupKerberosSourceConnection");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedGroupKerberosSourceConnectionList interface.
21
+ */
22
+ function instanceOfPaginatedGroupKerberosSourceConnectionList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedGroupKerberosSourceConnectionList = instanceOfPaginatedGroupKerberosSourceConnectionList;
29
+ function PaginatedGroupKerberosSourceConnectionListFromJSON(json) {
30
+ return PaginatedGroupKerberosSourceConnectionListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedGroupKerberosSourceConnectionListFromJSON = PaginatedGroupKerberosSourceConnectionListFromJSON;
33
+ function PaginatedGroupKerberosSourceConnectionListFromJSONTyped(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(GroupKerberosSourceConnection_1.GroupKerberosSourceConnectionFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedGroupKerberosSourceConnectionListFromJSONTyped = PaginatedGroupKerberosSourceConnectionListFromJSONTyped;
43
+ function PaginatedGroupKerberosSourceConnectionListToJSON(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(GroupKerberosSourceConnection_1.GroupKerberosSourceConnectionToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedGroupKerberosSourceConnectionListToJSON = PaginatedGroupKerberosSourceConnectionListToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.3
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 { KerberosSource } from './KerberosSource';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedKerberosSourceList
18
+ */
19
+ export interface PaginatedKerberosSourceList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedKerberosSourceList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<KerberosSource>}
29
+ * @memberof PaginatedKerberosSourceList
30
+ */
31
+ results: Array<KerberosSource>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedKerberosSourceList interface.
35
+ */
36
+ export declare function instanceOfPaginatedKerberosSourceList(value: object): boolean;
37
+ export declare function PaginatedKerberosSourceListFromJSON(json: any): PaginatedKerberosSourceList;
38
+ export declare function PaginatedKerberosSourceListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedKerberosSourceList;
39
+ export declare function PaginatedKerberosSourceListToJSON(value?: PaginatedKerberosSourceList | 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: 2024.8.3
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.PaginatedKerberosSourceListToJSON = exports.PaginatedKerberosSourceListFromJSONTyped = exports.PaginatedKerberosSourceListFromJSON = exports.instanceOfPaginatedKerberosSourceList = void 0;
17
+ const KerberosSource_1 = require("./KerberosSource");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedKerberosSourceList interface.
21
+ */
22
+ function instanceOfPaginatedKerberosSourceList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedKerberosSourceList = instanceOfPaginatedKerberosSourceList;
29
+ function PaginatedKerberosSourceListFromJSON(json) {
30
+ return PaginatedKerberosSourceListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedKerberosSourceListFromJSON = PaginatedKerberosSourceListFromJSON;
33
+ function PaginatedKerberosSourceListFromJSONTyped(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(KerberosSource_1.KerberosSourceFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedKerberosSourceListFromJSONTyped = PaginatedKerberosSourceListFromJSONTyped;
43
+ function PaginatedKerberosSourceListToJSON(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(KerberosSource_1.KerberosSourceToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedKerberosSourceListToJSON = PaginatedKerberosSourceListToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.3
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 { KerberosSourcePropertyMapping } from './KerberosSourcePropertyMapping';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedKerberosSourcePropertyMappingList
18
+ */
19
+ export interface PaginatedKerberosSourcePropertyMappingList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedKerberosSourcePropertyMappingList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<KerberosSourcePropertyMapping>}
29
+ * @memberof PaginatedKerberosSourcePropertyMappingList
30
+ */
31
+ results: Array<KerberosSourcePropertyMapping>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedKerberosSourcePropertyMappingList interface.
35
+ */
36
+ export declare function instanceOfPaginatedKerberosSourcePropertyMappingList(value: object): boolean;
37
+ export declare function PaginatedKerberosSourcePropertyMappingListFromJSON(json: any): PaginatedKerberosSourcePropertyMappingList;
38
+ export declare function PaginatedKerberosSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedKerberosSourcePropertyMappingList;
39
+ export declare function PaginatedKerberosSourcePropertyMappingListToJSON(value?: PaginatedKerberosSourcePropertyMappingList | 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: 2024.8.3
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.PaginatedKerberosSourcePropertyMappingListToJSON = exports.PaginatedKerberosSourcePropertyMappingListFromJSONTyped = exports.PaginatedKerberosSourcePropertyMappingListFromJSON = exports.instanceOfPaginatedKerberosSourcePropertyMappingList = void 0;
17
+ const KerberosSourcePropertyMapping_1 = require("./KerberosSourcePropertyMapping");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedKerberosSourcePropertyMappingList interface.
21
+ */
22
+ function instanceOfPaginatedKerberosSourcePropertyMappingList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedKerberosSourcePropertyMappingList = instanceOfPaginatedKerberosSourcePropertyMappingList;
29
+ function PaginatedKerberosSourcePropertyMappingListFromJSON(json) {
30
+ return PaginatedKerberosSourcePropertyMappingListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedKerberosSourcePropertyMappingListFromJSON = PaginatedKerberosSourcePropertyMappingListFromJSON;
33
+ function PaginatedKerberosSourcePropertyMappingListFromJSONTyped(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(KerberosSourcePropertyMapping_1.KerberosSourcePropertyMappingFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedKerberosSourcePropertyMappingListFromJSONTyped = PaginatedKerberosSourcePropertyMappingListFromJSONTyped;
43
+ function PaginatedKerberosSourcePropertyMappingListToJSON(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(KerberosSourcePropertyMapping_1.KerberosSourcePropertyMappingToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedKerberosSourcePropertyMappingListToJSON = PaginatedKerberosSourcePropertyMappingListToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.3
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 { UserKerberosSourceConnection } from './UserKerberosSourceConnection';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedUserKerberosSourceConnectionList
18
+ */
19
+ export interface PaginatedUserKerberosSourceConnectionList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedUserKerberosSourceConnectionList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<UserKerberosSourceConnection>}
29
+ * @memberof PaginatedUserKerberosSourceConnectionList
30
+ */
31
+ results: Array<UserKerberosSourceConnection>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedUserKerberosSourceConnectionList interface.
35
+ */
36
+ export declare function instanceOfPaginatedUserKerberosSourceConnectionList(value: object): boolean;
37
+ export declare function PaginatedUserKerberosSourceConnectionListFromJSON(json: any): PaginatedUserKerberosSourceConnectionList;
38
+ export declare function PaginatedUserKerberosSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedUserKerberosSourceConnectionList;
39
+ export declare function PaginatedUserKerberosSourceConnectionListToJSON(value?: PaginatedUserKerberosSourceConnectionList | 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: 2024.8.3
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.PaginatedUserKerberosSourceConnectionListToJSON = exports.PaginatedUserKerberosSourceConnectionListFromJSONTyped = exports.PaginatedUserKerberosSourceConnectionListFromJSON = exports.instanceOfPaginatedUserKerberosSourceConnectionList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const UserKerberosSourceConnection_1 = require("./UserKerberosSourceConnection");
19
+ /**
20
+ * Check if a given object implements the PaginatedUserKerberosSourceConnectionList interface.
21
+ */
22
+ function instanceOfPaginatedUserKerberosSourceConnectionList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedUserKerberosSourceConnectionList = instanceOfPaginatedUserKerberosSourceConnectionList;
29
+ function PaginatedUserKerberosSourceConnectionListFromJSON(json) {
30
+ return PaginatedUserKerberosSourceConnectionListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedUserKerberosSourceConnectionListFromJSON = PaginatedUserKerberosSourceConnectionListFromJSON;
33
+ function PaginatedUserKerberosSourceConnectionListFromJSONTyped(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(UserKerberosSourceConnection_1.UserKerberosSourceConnectionFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedUserKerberosSourceConnectionListFromJSONTyped = PaginatedUserKerberosSourceConnectionListFromJSONTyped;
43
+ function PaginatedUserKerberosSourceConnectionListToJSON(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(UserKerberosSourceConnection_1.UserKerberosSourceConnectionToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedUserKerberosSourceConnectionListToJSON = PaginatedUserKerberosSourceConnectionListToJSON;
@@ -0,0 +1,56 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.3
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { FlowSetRequest } from './FlowSetRequest';
13
+ /**
14
+ * AuthenticatorEndpointGDTCStage Serializer
15
+ * @export
16
+ * @interface PatchedAuthenticatorEndpointGDTCStageRequest
17
+ */
18
+ export interface PatchedAuthenticatorEndpointGDTCStageRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
23
+ */
24
+ name?: string;
25
+ /**
26
+ *
27
+ * @type {Array<FlowSetRequest>}
28
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
29
+ */
30
+ flowSet?: Array<FlowSetRequest>;
31
+ /**
32
+ * Flow used by an authenticated user to configure this Stage. If empty, user will not be able to configure this stage.
33
+ * @type {string}
34
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
35
+ */
36
+ configureFlow?: string | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
41
+ */
42
+ friendlyName?: string | null;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
47
+ */
48
+ credentials?: any | null;
49
+ }
50
+ /**
51
+ * Check if a given object implements the PatchedAuthenticatorEndpointGDTCStageRequest interface.
52
+ */
53
+ export declare function instanceOfPatchedAuthenticatorEndpointGDTCStageRequest(value: object): boolean;
54
+ export declare function PatchedAuthenticatorEndpointGDTCStageRequestFromJSON(json: any): PatchedAuthenticatorEndpointGDTCStageRequest;
55
+ export declare function PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorEndpointGDTCStageRequest;
56
+ export declare function PatchedAuthenticatorEndpointGDTCStageRequestToJSON(value?: PatchedAuthenticatorEndpointGDTCStageRequest | null): any;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.8.3
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.PatchedAuthenticatorEndpointGDTCStageRequestToJSON = exports.PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped = exports.PatchedAuthenticatorEndpointGDTCStageRequestFromJSON = exports.instanceOfPatchedAuthenticatorEndpointGDTCStageRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const FlowSetRequest_1 = require("./FlowSetRequest");
19
+ /**
20
+ * Check if a given object implements the PatchedAuthenticatorEndpointGDTCStageRequest interface.
21
+ */
22
+ function instanceOfPatchedAuthenticatorEndpointGDTCStageRequest(value) {
23
+ let isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfPatchedAuthenticatorEndpointGDTCStageRequest = instanceOfPatchedAuthenticatorEndpointGDTCStageRequest;
27
+ function PatchedAuthenticatorEndpointGDTCStageRequestFromJSON(json) {
28
+ return PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, false);
29
+ }
30
+ exports.PatchedAuthenticatorEndpointGDTCStageRequestFromJSON = PatchedAuthenticatorEndpointGDTCStageRequestFromJSON;
31
+ function PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ 'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
38
+ 'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
39
+ 'friendlyName': !(0, runtime_1.exists)(json, 'friendly_name') ? undefined : json['friendly_name'],
40
+ 'credentials': !(0, runtime_1.exists)(json, 'credentials') ? undefined : json['credentials'],
41
+ };
42
+ }
43
+ exports.PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped = PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped;
44
+ function PatchedAuthenticatorEndpointGDTCStageRequestToJSON(value) {
45
+ if (value === undefined) {
46
+ return undefined;
47
+ }
48
+ if (value === null) {
49
+ return null;
50
+ }
51
+ return {
52
+ 'name': value.name,
53
+ 'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequest_1.FlowSetRequestToJSON)),
54
+ 'configure_flow': value.configureFlow,
55
+ 'friendly_name': value.friendlyName,
56
+ 'credentials': value.credentials,
57
+ };
58
+ }
59
+ exports.PatchedAuthenticatorEndpointGDTCStageRequestToJSON = PatchedAuthenticatorEndpointGDTCStageRequestToJSON;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.3
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
+ * Serializer for Endpoint authenticator devices
14
+ * @export
15
+ * @interface PatchedEndpointDeviceRequest
16
+ */
17
+ export interface PatchedEndpointDeviceRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchedEndpointDeviceRequest
22
+ */
23
+ pk?: string;
24
+ /**
25
+ * The human-readable name of this device.
26
+ * @type {string}
27
+ * @memberof PatchedEndpointDeviceRequest
28
+ */
29
+ name?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PatchedEndpointDeviceRequest interface.
33
+ */
34
+ export declare function instanceOfPatchedEndpointDeviceRequest(value: object): boolean;
35
+ export declare function PatchedEndpointDeviceRequestFromJSON(json: any): PatchedEndpointDeviceRequest;
36
+ export declare function PatchedEndpointDeviceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedEndpointDeviceRequest;
37
+ export declare function PatchedEndpointDeviceRequestToJSON(value?: PatchedEndpointDeviceRequest | null): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.8.3
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.PatchedEndpointDeviceRequestToJSON = exports.PatchedEndpointDeviceRequestFromJSONTyped = exports.PatchedEndpointDeviceRequestFromJSON = exports.instanceOfPatchedEndpointDeviceRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PatchedEndpointDeviceRequest interface.
20
+ */
21
+ function instanceOfPatchedEndpointDeviceRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfPatchedEndpointDeviceRequest = instanceOfPatchedEndpointDeviceRequest;
26
+ function PatchedEndpointDeviceRequestFromJSON(json) {
27
+ return PatchedEndpointDeviceRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.PatchedEndpointDeviceRequestFromJSON = PatchedEndpointDeviceRequestFromJSON;
30
+ function PatchedEndpointDeviceRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'pk': !(0, runtime_1.exists)(json, 'pk') ? undefined : json['pk'],
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ };
38
+ }
39
+ exports.PatchedEndpointDeviceRequestFromJSONTyped = PatchedEndpointDeviceRequestFromJSONTyped;
40
+ function PatchedEndpointDeviceRequestToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'pk': value.pk,
49
+ 'name': value.name,
50
+ };
51
+ }
52
+ exports.PatchedEndpointDeviceRequestToJSON = PatchedEndpointDeviceRequestToJSON;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.3
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
+ * Kerberos PropertyMapping Serializer
14
+ * @export
15
+ * @interface PatchedKerberosSourcePropertyMappingRequest
16
+ */
17
+ export interface PatchedKerberosSourcePropertyMappingRequest {
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 PatchedKerberosSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedKerberosSourcePropertyMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedKerberosSourcePropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedKerberosSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedKerberosSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function PatchedKerberosSourcePropertyMappingRequestFromJSON(json: any): PatchedKerberosSourcePropertyMappingRequest;
42
+ export declare function PatchedKerberosSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedKerberosSourcePropertyMappingRequest;
43
+ export declare function PatchedKerberosSourcePropertyMappingRequestToJSON(value?: PatchedKerberosSourcePropertyMappingRequest | null): any;