@goauthentik/api 2024.6.1-1721909829 → 2024.6.1-1721916595

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/.openapi-generator/FILES +4 -4
  2. package/dist/apis/PropertymappingsApi.d.ts +87 -87
  3. package/dist/apis/PropertymappingsApi.js +274 -274
  4. package/dist/apis/RbacApi.d.ts +2 -2
  5. package/dist/apis/RbacApi.js +2 -2
  6. package/dist/esm/apis/PropertymappingsApi.d.ts +87 -87
  7. package/dist/esm/apis/PropertymappingsApi.js +275 -275
  8. package/dist/esm/apis/RbacApi.d.ts +2 -2
  9. package/dist/esm/apis/RbacApi.js +2 -2
  10. package/dist/esm/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
  11. package/dist/esm/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +6 -6
  12. package/dist/{models/LDAPPropertyMappingRequest.d.ts → esm/models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
  13. package/dist/esm/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +6 -6
  14. package/dist/esm/models/ModelEnum.d.ts +1 -1
  15. package/dist/esm/models/ModelEnum.js +1 -1
  16. package/dist/esm/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
  17. package/dist/esm/models/{PaginatedLDAPPropertyMappingList.js → PaginatedLDAPSourcePropertyMappingList.js} +9 -9
  18. package/dist/esm/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
  19. package/dist/esm/models/{PatchedLDAPPropertyMappingRequest.js → PatchedLDAPSourcePropertyMappingRequest.js} +6 -6
  20. package/dist/esm/models/index.d.ts +4 -4
  21. package/dist/esm/models/index.js +4 -4
  22. package/dist/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
  23. package/dist/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +11 -11
  24. package/dist/{esm/models/LDAPPropertyMappingRequest.d.ts → models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
  25. package/dist/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +11 -11
  26. package/dist/models/ModelEnum.d.ts +1 -1
  27. package/dist/models/ModelEnum.js +1 -1
  28. package/dist/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
  29. package/dist/models/PaginatedLDAPSourcePropertyMappingList.js +55 -0
  30. package/dist/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
  31. package/dist/models/PatchedLDAPSourcePropertyMappingRequest.js +54 -0
  32. package/dist/models/index.d.ts +4 -4
  33. package/dist/models/index.js +4 -4
  34. package/package.json +1 -1
  35. package/src/apis/PropertymappingsApi.ts +541 -541
  36. package/src/apis/RbacApi.ts +2 -2
  37. package/src/models/{LDAPPropertyMapping.ts → LDAPSourcePropertyMapping.ts} +16 -16
  38. package/src/models/{LDAPPropertyMappingRequest.ts → LDAPSourcePropertyMappingRequest.ts} +11 -11
  39. package/src/models/ModelEnum.ts +1 -1
  40. package/src/models/PaginatedLDAPSourcePropertyMappingList.ts +88 -0
  41. package/src/models/{PatchedLDAPPropertyMappingRequest.ts → PatchedLDAPSourcePropertyMappingRequest.ts} +11 -11
  42. package/src/models/index.ts +4 -4
  43. package/dist/esm/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
  44. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
  45. package/dist/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
  46. package/dist/models/PaginatedLDAPPropertyMappingList.js +0 -55
  47. package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
  48. package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -54
  49. package/src/models/PaginatedLDAPPropertyMappingList.ts +0 -88
@@ -1031,8 +1031,8 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
1031
1031
  ProvidersScimScimmapping: 'authentik_providers_scim.scimmapping',
1032
1032
  ProvidersScimScimprovider: 'authentik_providers_scim.scimprovider',
1033
1033
  RbacRole: 'authentik_rbac.role',
1034
- SourcesLdapLdappropertymapping: 'authentik_sources_ldap.ldappropertymapping',
1035
1034
  SourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
1035
+ SourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
1036
1036
  SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
1037
1037
  SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
1038
1038
  SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
@@ -1118,8 +1118,8 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
1118
1118
  ProvidersScimScimmapping: 'authentik_providers_scim.scimmapping',
1119
1119
  ProvidersScimScimprovider: 'authentik_providers_scim.scimprovider',
1120
1120
  RbacRole: 'authentik_rbac.role',
1121
- SourcesLdapLdappropertymapping: 'authentik_sources_ldap.ldappropertymapping',
1122
1121
  SourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
1122
+ SourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
1123
1123
  SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
1124
1124
  SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
1125
1125
  SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
@@ -16,63 +16,63 @@ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  * LDAP PropertyMapping Serializer
18
18
  * @export
19
- * @interface LDAPPropertyMapping
19
+ * @interface LDAPSourcePropertyMapping
20
20
  */
21
- export interface LDAPPropertyMapping {
21
+ export interface LDAPSourcePropertyMapping {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof LDAPPropertyMapping
25
+ * @memberof LDAPSourcePropertyMapping
26
26
  */
27
27
  readonly pk: string;
28
28
  /**
29
29
  * 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.
30
30
  * @type {string}
31
- * @memberof LDAPPropertyMapping
31
+ * @memberof LDAPSourcePropertyMapping
32
32
  */
33
33
  managed?: string | null;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof LDAPPropertyMapping
37
+ * @memberof LDAPSourcePropertyMapping
38
38
  */
39
39
  name: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
- * @memberof LDAPPropertyMapping
43
+ * @memberof LDAPSourcePropertyMapping
44
44
  */
45
45
  expression: string;
46
46
  /**
47
47
  * Get object's component so that we know how to edit the object
48
48
  * @type {string}
49
- * @memberof LDAPPropertyMapping
49
+ * @memberof LDAPSourcePropertyMapping
50
50
  */
51
51
  readonly component: string;
52
52
  /**
53
53
  * Return object's verbose_name
54
54
  * @type {string}
55
- * @memberof LDAPPropertyMapping
55
+ * @memberof LDAPSourcePropertyMapping
56
56
  */
57
57
  readonly verboseName: string;
58
58
  /**
59
59
  * Return object's plural verbose_name
60
60
  * @type {string}
61
- * @memberof LDAPPropertyMapping
61
+ * @memberof LDAPSourcePropertyMapping
62
62
  */
63
63
  readonly verboseNamePlural: string;
64
64
  /**
65
65
  * Return internal model name
66
66
  * @type {string}
67
- * @memberof LDAPPropertyMapping
67
+ * @memberof LDAPSourcePropertyMapping
68
68
  */
69
69
  readonly metaModelName: string;
70
70
  }
71
71
 
72
72
  /**
73
- * Check if a given object implements the LDAPPropertyMapping interface.
73
+ * Check if a given object implements the LDAPSourcePropertyMapping interface.
74
74
  */
75
- export function instanceOfLDAPPropertyMapping(value: object): boolean {
75
+ export function instanceOfLDAPSourcePropertyMapping(value: object): boolean {
76
76
  let isInstance = true;
77
77
  isInstance = isInstance && "pk" in value;
78
78
  isInstance = isInstance && "name" in value;
@@ -85,11 +85,11 @@ export function instanceOfLDAPPropertyMapping(value: object): boolean {
85
85
  return isInstance;
86
86
  }
87
87
 
88
- export function LDAPPropertyMappingFromJSON(json: any): LDAPPropertyMapping {
89
- return LDAPPropertyMappingFromJSONTyped(json, false);
88
+ export function LDAPSourcePropertyMappingFromJSON(json: any): LDAPSourcePropertyMapping {
89
+ return LDAPSourcePropertyMappingFromJSONTyped(json, false);
90
90
  }
91
91
 
92
- export function LDAPPropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPPropertyMapping {
92
+ export function LDAPSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSourcePropertyMapping {
93
93
  if ((json === undefined) || (json === null)) {
94
94
  return json;
95
95
  }
@@ -106,7 +106,7 @@ export function LDAPPropertyMappingFromJSONTyped(json: any, ignoreDiscriminator:
106
106
  };
107
107
  }
108
108
 
109
- export function LDAPPropertyMappingToJSON(value?: LDAPPropertyMapping | null): any {
109
+ export function LDAPSourcePropertyMappingToJSON(value?: LDAPSourcePropertyMapping | null): any {
110
110
  if (value === undefined) {
111
111
  return undefined;
112
112
  }
@@ -16,33 +16,33 @@ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  * LDAP PropertyMapping Serializer
18
18
  * @export
19
- * @interface LDAPPropertyMappingRequest
19
+ * @interface LDAPSourcePropertyMappingRequest
20
20
  */
21
- export interface LDAPPropertyMappingRequest {
21
+ export interface LDAPSourcePropertyMappingRequest {
22
22
  /**
23
23
  * 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.
24
24
  * @type {string}
25
- * @memberof LDAPPropertyMappingRequest
25
+ * @memberof LDAPSourcePropertyMappingRequest
26
26
  */
27
27
  managed?: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof LDAPPropertyMappingRequest
31
+ * @memberof LDAPSourcePropertyMappingRequest
32
32
  */
33
33
  name: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof LDAPPropertyMappingRequest
37
+ * @memberof LDAPSourcePropertyMappingRequest
38
38
  */
39
39
  expression: string;
40
40
  }
41
41
 
42
42
  /**
43
- * Check if a given object implements the LDAPPropertyMappingRequest interface.
43
+ * Check if a given object implements the LDAPSourcePropertyMappingRequest interface.
44
44
  */
45
- export function instanceOfLDAPPropertyMappingRequest(value: object): boolean {
45
+ export function instanceOfLDAPSourcePropertyMappingRequest(value: object): boolean {
46
46
  let isInstance = true;
47
47
  isInstance = isInstance && "name" in value;
48
48
  isInstance = isInstance && "expression" in value;
@@ -50,11 +50,11 @@ export function instanceOfLDAPPropertyMappingRequest(value: object): boolean {
50
50
  return isInstance;
51
51
  }
52
52
 
53
- export function LDAPPropertyMappingRequestFromJSON(json: any): LDAPPropertyMappingRequest {
54
- return LDAPPropertyMappingRequestFromJSONTyped(json, false);
53
+ export function LDAPSourcePropertyMappingRequestFromJSON(json: any): LDAPSourcePropertyMappingRequest {
54
+ return LDAPSourcePropertyMappingRequestFromJSONTyped(json, false);
55
55
  }
56
56
 
57
- export function LDAPPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPPropertyMappingRequest {
57
+ export function LDAPSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSourcePropertyMappingRequest {
58
58
  if ((json === undefined) || (json === null)) {
59
59
  return json;
60
60
  }
@@ -66,7 +66,7 @@ export function LDAPPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscrim
66
66
  };
67
67
  }
68
68
 
69
- export function LDAPPropertyMappingRequestToJSON(value?: LDAPPropertyMappingRequest | null): any {
69
+ export function LDAPSourcePropertyMappingRequestToJSON(value?: LDAPSourcePropertyMappingRequest | null): any {
70
70
  if (value === undefined) {
71
71
  return undefined;
72
72
  }
@@ -43,7 +43,7 @@ export const ModelEnum = {
43
43
  ProvidersScimScimmapping: 'authentik_providers_scim.scimmapping',
44
44
  RbacRole: 'authentik_rbac.role',
45
45
  SourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
46
- SourcesLdapLdappropertymapping: 'authentik_sources_ldap.ldappropertymapping',
46
+ SourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
47
47
  SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
48
48
  SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
49
49
  SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.6.1
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { LDAPSourcePropertyMapping } from './LDAPSourcePropertyMapping';
17
+ import {
18
+ LDAPSourcePropertyMappingFromJSON,
19
+ LDAPSourcePropertyMappingFromJSONTyped,
20
+ LDAPSourcePropertyMappingToJSON,
21
+ } from './LDAPSourcePropertyMapping';
22
+ import type { Pagination } from './Pagination';
23
+ import {
24
+ PaginationFromJSON,
25
+ PaginationFromJSONTyped,
26
+ PaginationToJSON,
27
+ } from './Pagination';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PaginatedLDAPSourcePropertyMappingList
33
+ */
34
+ export interface PaginatedLDAPSourcePropertyMappingList {
35
+ /**
36
+ *
37
+ * @type {Pagination}
38
+ * @memberof PaginatedLDAPSourcePropertyMappingList
39
+ */
40
+ pagination: Pagination;
41
+ /**
42
+ *
43
+ * @type {Array<LDAPSourcePropertyMapping>}
44
+ * @memberof PaginatedLDAPSourcePropertyMappingList
45
+ */
46
+ results: Array<LDAPSourcePropertyMapping>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PaginatedLDAPSourcePropertyMappingList interface.
51
+ */
52
+ export function instanceOfPaginatedLDAPSourcePropertyMappingList(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "pagination" in value;
55
+ isInstance = isInstance && "results" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function PaginatedLDAPSourcePropertyMappingListFromJSON(json: any): PaginatedLDAPSourcePropertyMappingList {
61
+ return PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedLDAPSourcePropertyMappingList {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'pagination': PaginationFromJSON(json['pagination']),
71
+ 'results': ((json['results'] as Array<any>).map(LDAPSourcePropertyMappingFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function PaginatedLDAPSourcePropertyMappingListToJSON(value?: PaginatedLDAPSourcePropertyMappingList | null): any {
76
+ if (value === undefined) {
77
+ return undefined;
78
+ }
79
+ if (value === null) {
80
+ return null;
81
+ }
82
+ return {
83
+
84
+ 'pagination': PaginationToJSON(value.pagination),
85
+ 'results': ((value.results as Array<any>).map(LDAPSourcePropertyMappingToJSON)),
86
+ };
87
+ }
88
+
@@ -16,43 +16,43 @@ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  * LDAP PropertyMapping Serializer
18
18
  * @export
19
- * @interface PatchedLDAPPropertyMappingRequest
19
+ * @interface PatchedLDAPSourcePropertyMappingRequest
20
20
  */
21
- export interface PatchedLDAPPropertyMappingRequest {
21
+ export interface PatchedLDAPSourcePropertyMappingRequest {
22
22
  /**
23
23
  * 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.
24
24
  * @type {string}
25
- * @memberof PatchedLDAPPropertyMappingRequest
25
+ * @memberof PatchedLDAPSourcePropertyMappingRequest
26
26
  */
27
27
  managed?: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof PatchedLDAPPropertyMappingRequest
31
+ * @memberof PatchedLDAPSourcePropertyMappingRequest
32
32
  */
33
33
  name?: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof PatchedLDAPPropertyMappingRequest
37
+ * @memberof PatchedLDAPSourcePropertyMappingRequest
38
38
  */
39
39
  expression?: string;
40
40
  }
41
41
 
42
42
  /**
43
- * Check if a given object implements the PatchedLDAPPropertyMappingRequest interface.
43
+ * Check if a given object implements the PatchedLDAPSourcePropertyMappingRequest interface.
44
44
  */
45
- export function instanceOfPatchedLDAPPropertyMappingRequest(value: object): boolean {
45
+ export function instanceOfPatchedLDAPSourcePropertyMappingRequest(value: object): boolean {
46
46
  let isInstance = true;
47
47
 
48
48
  return isInstance;
49
49
  }
50
50
 
51
- export function PatchedLDAPPropertyMappingRequestFromJSON(json: any): PatchedLDAPPropertyMappingRequest {
52
- return PatchedLDAPPropertyMappingRequestFromJSONTyped(json, false);
51
+ export function PatchedLDAPSourcePropertyMappingRequestFromJSON(json: any): PatchedLDAPSourcePropertyMappingRequest {
52
+ return PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json, false);
53
53
  }
54
54
 
55
- export function PatchedLDAPPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPPropertyMappingRequest {
55
+ export function PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPSourcePropertyMappingRequest {
56
56
  if ((json === undefined) || (json === null)) {
57
57
  return json;
58
58
  }
@@ -64,7 +64,7 @@ export function PatchedLDAPPropertyMappingRequestFromJSONTyped(json: any, ignore
64
64
  };
65
65
  }
66
66
 
67
- export function PatchedLDAPPropertyMappingRequestToJSON(value?: PatchedLDAPPropertyMappingRequest | null): any {
67
+ export function PatchedLDAPSourcePropertyMappingRequestToJSON(value?: PatchedLDAPSourcePropertyMappingRequest | null): any {
68
68
  if (value === undefined) {
69
69
  return undefined;
70
70
  }
@@ -169,11 +169,11 @@ export * from './KubernetesServiceConnectionRequest';
169
169
  export * from './LDAPAPIAccessMode';
170
170
  export * from './LDAPDebug';
171
171
  export * from './LDAPOutpostConfig';
172
- export * from './LDAPPropertyMapping';
173
- export * from './LDAPPropertyMappingRequest';
174
172
  export * from './LDAPProvider';
175
173
  export * from './LDAPProviderRequest';
176
174
  export * from './LDAPSource';
175
+ export * from './LDAPSourcePropertyMapping';
176
+ export * from './LDAPSourcePropertyMappingRequest';
177
177
  export * from './LDAPSourceRequest';
178
178
  export * from './License';
179
179
  export * from './LicenseForecast';
@@ -265,9 +265,9 @@ export * from './PaginatedInvitationList';
265
265
  export * from './PaginatedInvitationStageList';
266
266
  export * from './PaginatedKubernetesServiceConnectionList';
267
267
  export * from './PaginatedLDAPOutpostConfigList';
268
- export * from './PaginatedLDAPPropertyMappingList';
269
268
  export * from './PaginatedLDAPProviderList';
270
269
  export * from './PaginatedLDAPSourceList';
270
+ export * from './PaginatedLDAPSourcePropertyMappingList';
271
271
  export * from './PaginatedLicenseList';
272
272
  export * from './PaginatedMicrosoftEntraProviderGroupList';
273
273
  export * from './PaginatedMicrosoftEntraProviderList';
@@ -378,8 +378,8 @@ export * from './PatchedIdentificationStageRequest';
378
378
  export * from './PatchedInvitationRequest';
379
379
  export * from './PatchedInvitationStageRequest';
380
380
  export * from './PatchedKubernetesServiceConnectionRequest';
381
- export * from './PatchedLDAPPropertyMappingRequest';
382
381
  export * from './PatchedLDAPProviderRequest';
382
+ export * from './PatchedLDAPSourcePropertyMappingRequest';
383
383
  export * from './PatchedLDAPSourceRequest';
384
384
  export * from './PatchedLicenseRequest';
385
385
  export * from './PatchedMicrosoftEntraProviderMappingRequest';
@@ -1,39 +0,0 @@
1
- /**
2
- * authentik
3
- * Making authentication simple.
4
- *
5
- * The version of the OpenAPI document: 2024.6.1
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 { LDAPPropertyMapping } from './LDAPPropertyMapping';
13
- import type { Pagination } from './Pagination';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedLDAPPropertyMappingList
18
- */
19
- export interface PaginatedLDAPPropertyMappingList {
20
- /**
21
- *
22
- * @type {Pagination}
23
- * @memberof PaginatedLDAPPropertyMappingList
24
- */
25
- pagination: Pagination;
26
- /**
27
- *
28
- * @type {Array<LDAPPropertyMapping>}
29
- * @memberof PaginatedLDAPPropertyMappingList
30
- */
31
- results: Array<LDAPPropertyMapping>;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedLDAPPropertyMappingList interface.
35
- */
36
- export declare function instanceOfPaginatedLDAPPropertyMappingList(value: object): boolean;
37
- export declare function PaginatedLDAPPropertyMappingListFromJSON(json: any): PaginatedLDAPPropertyMappingList;
38
- export declare function PaginatedLDAPPropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedLDAPPropertyMappingList;
39
- export declare function PaginatedLDAPPropertyMappingListToJSON(value?: PaginatedLDAPPropertyMappingList | null): any;
@@ -1,43 +0,0 @@
1
- /**
2
- * authentik
3
- * Making authentication simple.
4
- *
5
- * The version of the OpenAPI document: 2024.6.1
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
- * LDAP PropertyMapping Serializer
14
- * @export
15
- * @interface PatchedLDAPPropertyMappingRequest
16
- */
17
- export interface PatchedLDAPPropertyMappingRequest {
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 PatchedLDAPPropertyMappingRequest
22
- */
23
- managed?: string | null;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof PatchedLDAPPropertyMappingRequest
28
- */
29
- name?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof PatchedLDAPPropertyMappingRequest
34
- */
35
- expression?: string;
36
- }
37
- /**
38
- * Check if a given object implements the PatchedLDAPPropertyMappingRequest interface.
39
- */
40
- export declare function instanceOfPatchedLDAPPropertyMappingRequest(value: object): boolean;
41
- export declare function PatchedLDAPPropertyMappingRequestFromJSON(json: any): PatchedLDAPPropertyMappingRequest;
42
- export declare function PatchedLDAPPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPPropertyMappingRequest;
43
- export declare function PatchedLDAPPropertyMappingRequestToJSON(value?: PatchedLDAPPropertyMappingRequest | null): any;
@@ -1,39 +0,0 @@
1
- /**
2
- * authentik
3
- * Making authentication simple.
4
- *
5
- * The version of the OpenAPI document: 2024.6.1
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 { LDAPPropertyMapping } from './LDAPPropertyMapping';
13
- import type { Pagination } from './Pagination';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedLDAPPropertyMappingList
18
- */
19
- export interface PaginatedLDAPPropertyMappingList {
20
- /**
21
- *
22
- * @type {Pagination}
23
- * @memberof PaginatedLDAPPropertyMappingList
24
- */
25
- pagination: Pagination;
26
- /**
27
- *
28
- * @type {Array<LDAPPropertyMapping>}
29
- * @memberof PaginatedLDAPPropertyMappingList
30
- */
31
- results: Array<LDAPPropertyMapping>;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedLDAPPropertyMappingList interface.
35
- */
36
- export declare function instanceOfPaginatedLDAPPropertyMappingList(value: object): boolean;
37
- export declare function PaginatedLDAPPropertyMappingListFromJSON(json: any): PaginatedLDAPPropertyMappingList;
38
- export declare function PaginatedLDAPPropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedLDAPPropertyMappingList;
39
- export declare function PaginatedLDAPPropertyMappingListToJSON(value?: PaginatedLDAPPropertyMappingList | null): any;
@@ -1,55 +0,0 @@
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.6.1
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.PaginatedLDAPPropertyMappingListToJSON = exports.PaginatedLDAPPropertyMappingListFromJSONTyped = exports.PaginatedLDAPPropertyMappingListFromJSON = exports.instanceOfPaginatedLDAPPropertyMappingList = void 0;
17
- const LDAPPropertyMapping_1 = require("./LDAPPropertyMapping");
18
- const Pagination_1 = require("./Pagination");
19
- /**
20
- * Check if a given object implements the PaginatedLDAPPropertyMappingList interface.
21
- */
22
- function instanceOfPaginatedLDAPPropertyMappingList(value) {
23
- let isInstance = true;
24
- isInstance = isInstance && "pagination" in value;
25
- isInstance = isInstance && "results" in value;
26
- return isInstance;
27
- }
28
- exports.instanceOfPaginatedLDAPPropertyMappingList = instanceOfPaginatedLDAPPropertyMappingList;
29
- function PaginatedLDAPPropertyMappingListFromJSON(json) {
30
- return PaginatedLDAPPropertyMappingListFromJSONTyped(json, false);
31
- }
32
- exports.PaginatedLDAPPropertyMappingListFromJSON = PaginatedLDAPPropertyMappingListFromJSON;
33
- function PaginatedLDAPPropertyMappingListFromJSONTyped(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(LDAPPropertyMapping_1.LDAPPropertyMappingFromJSON)),
40
- };
41
- }
42
- exports.PaginatedLDAPPropertyMappingListFromJSONTyped = PaginatedLDAPPropertyMappingListFromJSONTyped;
43
- function PaginatedLDAPPropertyMappingListToJSON(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(LDAPPropertyMapping_1.LDAPPropertyMappingToJSON)),
53
- };
54
- }
55
- exports.PaginatedLDAPPropertyMappingListToJSON = PaginatedLDAPPropertyMappingListToJSON;
@@ -1,43 +0,0 @@
1
- /**
2
- * authentik
3
- * Making authentication simple.
4
- *
5
- * The version of the OpenAPI document: 2024.6.1
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
- * LDAP PropertyMapping Serializer
14
- * @export
15
- * @interface PatchedLDAPPropertyMappingRequest
16
- */
17
- export interface PatchedLDAPPropertyMappingRequest {
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 PatchedLDAPPropertyMappingRequest
22
- */
23
- managed?: string | null;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof PatchedLDAPPropertyMappingRequest
28
- */
29
- name?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof PatchedLDAPPropertyMappingRequest
34
- */
35
- expression?: string;
36
- }
37
- /**
38
- * Check if a given object implements the PatchedLDAPPropertyMappingRequest interface.
39
- */
40
- export declare function instanceOfPatchedLDAPPropertyMappingRequest(value: object): boolean;
41
- export declare function PatchedLDAPPropertyMappingRequestFromJSON(json: any): PatchedLDAPPropertyMappingRequest;
42
- export declare function PatchedLDAPPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPPropertyMappingRequest;
43
- export declare function PatchedLDAPPropertyMappingRequestToJSON(value?: PatchedLDAPPropertyMappingRequest | null): any;
@@ -1,54 +0,0 @@
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.6.1
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.PatchedLDAPPropertyMappingRequestToJSON = exports.PatchedLDAPPropertyMappingRequestFromJSONTyped = exports.PatchedLDAPPropertyMappingRequestFromJSON = exports.instanceOfPatchedLDAPPropertyMappingRequest = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the PatchedLDAPPropertyMappingRequest interface.
20
- */
21
- function instanceOfPatchedLDAPPropertyMappingRequest(value) {
22
- let isInstance = true;
23
- return isInstance;
24
- }
25
- exports.instanceOfPatchedLDAPPropertyMappingRequest = instanceOfPatchedLDAPPropertyMappingRequest;
26
- function PatchedLDAPPropertyMappingRequestFromJSON(json) {
27
- return PatchedLDAPPropertyMappingRequestFromJSONTyped(json, false);
28
- }
29
- exports.PatchedLDAPPropertyMappingRequestFromJSON = PatchedLDAPPropertyMappingRequestFromJSON;
30
- function PatchedLDAPPropertyMappingRequestFromJSONTyped(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
- };
39
- }
40
- exports.PatchedLDAPPropertyMappingRequestFromJSONTyped = PatchedLDAPPropertyMappingRequestFromJSONTyped;
41
- function PatchedLDAPPropertyMappingRequestToJSON(value) {
42
- if (value === undefined) {
43
- return undefined;
44
- }
45
- if (value === null) {
46
- return null;
47
- }
48
- return {
49
- 'managed': value.managed,
50
- 'name': value.name,
51
- 'expression': value.expression,
52
- };
53
- }
54
- exports.PatchedLDAPPropertyMappingRequestToJSON = PatchedLDAPPropertyMappingRequestToJSON;