@goauthentik/api 2024.6.1-1721927330 → 2024.6.1-1722285189

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/dist/apis/PropertymappingsApi.d.ts +94 -11
  3. package/dist/apis/PropertymappingsApi.js +295 -30
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/esm/apis/PropertymappingsApi.d.ts +94 -11
  7. package/dist/esm/apis/PropertymappingsApi.js +296 -31
  8. package/dist/esm/apis/RbacApi.d.ts +2 -0
  9. package/dist/esm/apis/RbacApi.js +2 -0
  10. package/dist/esm/models/ModelEnum.d.ts +1 -0
  11. package/dist/esm/models/ModelEnum.js +1 -0
  12. package/dist/esm/models/PaginatedSCIMSourcePropertyMappingList.d.ts +39 -0
  13. package/dist/esm/models/PaginatedSCIMSourcePropertyMappingList.js +48 -0
  14. package/dist/esm/models/PatchedSCIMSourcePropertyMappingRequest.d.ts +43 -0
  15. package/dist/esm/models/PatchedSCIMSourcePropertyMappingRequest.js +47 -0
  16. package/dist/esm/models/PatchedSCIMSourceRequest.d.ts +8 -3
  17. package/dist/esm/models/PatchedSCIMSourceRequest.js +4 -3
  18. package/dist/esm/models/SCIMSource.d.ts +12 -7
  19. package/dist/esm/models/SCIMSource.js +4 -3
  20. package/dist/esm/models/SCIMSourcePropertyMapping.d.ts +73 -0
  21. package/dist/esm/models/SCIMSourcePropertyMapping.js +59 -0
  22. package/dist/esm/models/SCIMSourcePropertyMappingRequest.d.ts +43 -0
  23. package/dist/esm/models/SCIMSourcePropertyMappingRequest.js +49 -0
  24. package/dist/esm/models/SCIMSourceRequest.d.ts +8 -3
  25. package/dist/esm/models/SCIMSourceRequest.js +4 -3
  26. package/dist/esm/models/index.d.ts +4 -0
  27. package/dist/esm/models/index.js +4 -0
  28. package/dist/models/ModelEnum.d.ts +1 -0
  29. package/dist/models/ModelEnum.js +1 -0
  30. package/dist/models/PaginatedSCIMSourcePropertyMappingList.d.ts +39 -0
  31. package/dist/models/PaginatedSCIMSourcePropertyMappingList.js +55 -0
  32. package/dist/models/PatchedSCIMSourcePropertyMappingRequest.d.ts +43 -0
  33. package/dist/models/PatchedSCIMSourcePropertyMappingRequest.js +54 -0
  34. package/dist/models/PatchedSCIMSourceRequest.d.ts +8 -3
  35. package/dist/models/PatchedSCIMSourceRequest.js +4 -3
  36. package/dist/models/SCIMSource.d.ts +12 -7
  37. package/dist/models/SCIMSource.js +4 -3
  38. package/dist/models/SCIMSourcePropertyMapping.d.ts +73 -0
  39. package/dist/models/SCIMSourcePropertyMapping.js +66 -0
  40. package/dist/models/SCIMSourcePropertyMappingRequest.d.ts +43 -0
  41. package/dist/models/SCIMSourcePropertyMappingRequest.js +56 -0
  42. package/dist/models/SCIMSourceRequest.d.ts +8 -3
  43. package/dist/models/SCIMSourceRequest.js +4 -3
  44. package/dist/models/index.d.ts +4 -0
  45. package/dist/models/index.js +4 -0
  46. package/package.json +1 -1
  47. package/src/apis/PropertymappingsApi.ts +390 -50
  48. package/src/apis/RbacApi.ts +2 -0
  49. package/src/models/ModelEnum.ts +1 -0
  50. package/src/models/PaginatedSCIMSourcePropertyMappingList.ts +88 -0
  51. package/src/models/PatchedSCIMSourcePropertyMappingRequest.ts +81 -0
  52. package/src/models/PatchedSCIMSourceRequest.ts +12 -11
  53. package/src/models/SCIMSource.ts +16 -14
  54. package/src/models/SCIMSourcePropertyMapping.ts +123 -0
  55. package/src/models/SCIMSourcePropertyMappingRequest.ts +83 -0
  56. package/src/models/SCIMSourceRequest.ts +12 -11
  57. package/src/models/index.ts +4 -0
@@ -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 { Pagination } from './Pagination';
17
+ import {
18
+ PaginationFromJSON,
19
+ PaginationFromJSONTyped,
20
+ PaginationToJSON,
21
+ } from './Pagination';
22
+ import type { SCIMSourcePropertyMapping } from './SCIMSourcePropertyMapping';
23
+ import {
24
+ SCIMSourcePropertyMappingFromJSON,
25
+ SCIMSourcePropertyMappingFromJSONTyped,
26
+ SCIMSourcePropertyMappingToJSON,
27
+ } from './SCIMSourcePropertyMapping';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PaginatedSCIMSourcePropertyMappingList
33
+ */
34
+ export interface PaginatedSCIMSourcePropertyMappingList {
35
+ /**
36
+ *
37
+ * @type {Pagination}
38
+ * @memberof PaginatedSCIMSourcePropertyMappingList
39
+ */
40
+ pagination: Pagination;
41
+ /**
42
+ *
43
+ * @type {Array<SCIMSourcePropertyMapping>}
44
+ * @memberof PaginatedSCIMSourcePropertyMappingList
45
+ */
46
+ results: Array<SCIMSourcePropertyMapping>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PaginatedSCIMSourcePropertyMappingList interface.
51
+ */
52
+ export function instanceOfPaginatedSCIMSourcePropertyMappingList(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 PaginatedSCIMSourcePropertyMappingListFromJSON(json: any): PaginatedSCIMSourcePropertyMappingList {
61
+ return PaginatedSCIMSourcePropertyMappingListFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedSCIMSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMSourcePropertyMappingList {
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(SCIMSourcePropertyMappingFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function PaginatedSCIMSourcePropertyMappingListToJSON(value?: PaginatedSCIMSourcePropertyMappingList | 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(SCIMSourcePropertyMappingToJSON)),
86
+ };
87
+ }
88
+
@@ -0,0 +1,81 @@
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
+ /**
17
+ * SCIMSourcePropertyMapping Serializer
18
+ * @export
19
+ * @interface PatchedSCIMSourcePropertyMappingRequest
20
+ */
21
+ export interface PatchedSCIMSourcePropertyMappingRequest {
22
+ /**
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
+ * @type {string}
25
+ * @memberof PatchedSCIMSourcePropertyMappingRequest
26
+ */
27
+ managed?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof PatchedSCIMSourcePropertyMappingRequest
32
+ */
33
+ name?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof PatchedSCIMSourcePropertyMappingRequest
38
+ */
39
+ expression?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the PatchedSCIMSourcePropertyMappingRequest interface.
44
+ */
45
+ export function instanceOfPatchedSCIMSourcePropertyMappingRequest(value: object): boolean {
46
+ let isInstance = true;
47
+
48
+ return isInstance;
49
+ }
50
+
51
+ export function PatchedSCIMSourcePropertyMappingRequestFromJSON(json: any): PatchedSCIMSourcePropertyMappingRequest {
52
+ return PatchedSCIMSourcePropertyMappingRequestFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function PatchedSCIMSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSCIMSourcePropertyMappingRequest {
56
+ if ((json === undefined) || (json === null)) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
62
+ 'name': !exists(json, 'name') ? undefined : json['name'],
63
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
64
+ };
65
+ }
66
+
67
+ export function PatchedSCIMSourcePropertyMappingRequestToJSON(value?: PatchedSCIMSourcePropertyMappingRequest | null): any {
68
+ if (value === undefined) {
69
+ return undefined;
70
+ }
71
+ if (value === null) {
72
+ return null;
73
+ }
74
+ return {
75
+
76
+ 'managed': value.managed,
77
+ 'name': value.name,
78
+ 'expression': value.expression,
79
+ };
80
+ }
81
+
@@ -13,13 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
17
- import {
18
- UserMatchingModeEnumFromJSON,
19
- UserMatchingModeEnumFromJSONTyped,
20
- UserMatchingModeEnumToJSON,
21
- } from './UserMatchingModeEnum';
22
-
23
16
  /**
24
17
  * SCIMSource Serializer
25
18
  * @export
@@ -46,10 +39,16 @@ export interface PatchedSCIMSourceRequest {
46
39
  enabled?: boolean;
47
40
  /**
48
41
  *
49
- * @type {UserMatchingModeEnum}
42
+ * @type {Array<string>}
43
+ * @memberof PatchedSCIMSourceRequest
44
+ */
45
+ userPropertyMappings?: Array<string>;
46
+ /**
47
+ *
48
+ * @type {Array<string>}
50
49
  * @memberof PatchedSCIMSourceRequest
51
50
  */
52
- userMatchingMode?: UserMatchingModeEnum;
51
+ groupPropertyMappings?: Array<string>;
53
52
  /**
54
53
  *
55
54
  * @type {string}
@@ -80,7 +79,8 @@ export function PatchedSCIMSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
80
79
  'name': !exists(json, 'name') ? undefined : json['name'],
81
80
  'slug': !exists(json, 'slug') ? undefined : json['slug'],
82
81
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
83
- 'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
82
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
83
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
84
84
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
85
85
  };
86
86
  }
@@ -97,7 +97,8 @@ export function PatchedSCIMSourceRequestToJSON(value?: PatchedSCIMSourceRequest
97
97
  'name': value.name,
98
98
  'slug': value.slug,
99
99
  'enabled': value.enabled,
100
- 'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
100
+ 'user_property_mappings': value.userPropertyMappings,
101
+ 'group_property_mappings': value.groupPropertyMappings,
101
102
  'user_path_template': value.userPathTemplate,
102
103
  };
103
104
  }
@@ -19,12 +19,6 @@ import {
19
19
  TokenFromJSONTyped,
20
20
  TokenToJSON,
21
21
  } from './Token';
22
- import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
23
- import {
24
- UserMatchingModeEnumFromJSON,
25
- UserMatchingModeEnumFromJSONTyped,
26
- UserMatchingModeEnumToJSON,
27
- } from './UserMatchingModeEnum';
28
22
 
29
23
  /**
30
24
  * SCIMSource Serializer
@@ -56,6 +50,18 @@ export interface SCIMSource {
56
50
  * @memberof SCIMSource
57
51
  */
58
52
  enabled?: boolean;
53
+ /**
54
+ *
55
+ * @type {Array<string>}
56
+ * @memberof SCIMSource
57
+ */
58
+ userPropertyMappings?: Array<string>;
59
+ /**
60
+ *
61
+ * @type {Array<string>}
62
+ * @memberof SCIMSource
63
+ */
64
+ groupPropertyMappings?: Array<string>;
59
65
  /**
60
66
  * Get object component so that we know how to edit the object
61
67
  * @type {string}
@@ -80,12 +86,6 @@ export interface SCIMSource {
80
86
  * @memberof SCIMSource
81
87
  */
82
88
  readonly metaModelName: string;
83
- /**
84
- *
85
- * @type {UserMatchingModeEnum}
86
- * @memberof SCIMSource
87
- */
88
- userMatchingMode?: UserMatchingModeEnum;
89
89
  /**
90
90
  * 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.
91
91
  * @type {string}
@@ -145,11 +145,12 @@ export function SCIMSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
145
145
  'name': json['name'],
146
146
  'slug': json['slug'],
147
147
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
148
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
149
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
148
150
  'component': json['component'],
149
151
  'verboseName': json['verbose_name'],
150
152
  'verboseNamePlural': json['verbose_name_plural'],
151
153
  'metaModelName': json['meta_model_name'],
152
- 'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
153
154
  'managed': json['managed'],
154
155
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
155
156
  'rootUrl': json['root_url'],
@@ -169,7 +170,8 @@ export function SCIMSourceToJSON(value?: SCIMSource | null): any {
169
170
  'name': value.name,
170
171
  'slug': value.slug,
171
172
  'enabled': value.enabled,
172
- 'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
173
+ 'user_property_mappings': value.userPropertyMappings,
174
+ 'group_property_mappings': value.groupPropertyMappings,
173
175
  'user_path_template': value.userPathTemplate,
174
176
  };
175
177
  }
@@ -0,0 +1,123 @@
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
+ /**
17
+ * SCIMSourcePropertyMapping Serializer
18
+ * @export
19
+ * @interface SCIMSourcePropertyMapping
20
+ */
21
+ export interface SCIMSourcePropertyMapping {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof SCIMSourcePropertyMapping
26
+ */
27
+ readonly pk: string;
28
+ /**
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
+ * @type {string}
31
+ * @memberof SCIMSourcePropertyMapping
32
+ */
33
+ managed?: string | null;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SCIMSourcePropertyMapping
38
+ */
39
+ name: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof SCIMSourcePropertyMapping
44
+ */
45
+ expression: string;
46
+ /**
47
+ * Get object's component so that we know how to edit the object
48
+ * @type {string}
49
+ * @memberof SCIMSourcePropertyMapping
50
+ */
51
+ readonly component: string;
52
+ /**
53
+ * Return object's verbose_name
54
+ * @type {string}
55
+ * @memberof SCIMSourcePropertyMapping
56
+ */
57
+ readonly verboseName: string;
58
+ /**
59
+ * Return object's plural verbose_name
60
+ * @type {string}
61
+ * @memberof SCIMSourcePropertyMapping
62
+ */
63
+ readonly verboseNamePlural: string;
64
+ /**
65
+ * Return internal model name
66
+ * @type {string}
67
+ * @memberof SCIMSourcePropertyMapping
68
+ */
69
+ readonly metaModelName: string;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the SCIMSourcePropertyMapping interface.
74
+ */
75
+ export function instanceOfSCIMSourcePropertyMapping(value: object): boolean {
76
+ let isInstance = true;
77
+ isInstance = isInstance && "pk" in value;
78
+ isInstance = isInstance && "name" in value;
79
+ isInstance = isInstance && "expression" in value;
80
+ isInstance = isInstance && "component" in value;
81
+ isInstance = isInstance && "verboseName" in value;
82
+ isInstance = isInstance && "verboseNamePlural" in value;
83
+ isInstance = isInstance && "metaModelName" in value;
84
+
85
+ return isInstance;
86
+ }
87
+
88
+ export function SCIMSourcePropertyMappingFromJSON(json: any): SCIMSourcePropertyMapping {
89
+ return SCIMSourcePropertyMappingFromJSONTyped(json, false);
90
+ }
91
+
92
+ export function SCIMSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSourcePropertyMapping {
93
+ if ((json === undefined) || (json === null)) {
94
+ return json;
95
+ }
96
+ return {
97
+
98
+ 'pk': json['pk'],
99
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
100
+ 'name': json['name'],
101
+ 'expression': json['expression'],
102
+ 'component': json['component'],
103
+ 'verboseName': json['verbose_name'],
104
+ 'verboseNamePlural': json['verbose_name_plural'],
105
+ 'metaModelName': json['meta_model_name'],
106
+ };
107
+ }
108
+
109
+ export function SCIMSourcePropertyMappingToJSON(value?: SCIMSourcePropertyMapping | null): any {
110
+ if (value === undefined) {
111
+ return undefined;
112
+ }
113
+ if (value === null) {
114
+ return null;
115
+ }
116
+ return {
117
+
118
+ 'managed': value.managed,
119
+ 'name': value.name,
120
+ 'expression': value.expression,
121
+ };
122
+ }
123
+
@@ -0,0 +1,83 @@
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
+ /**
17
+ * SCIMSourcePropertyMapping Serializer
18
+ * @export
19
+ * @interface SCIMSourcePropertyMappingRequest
20
+ */
21
+ export interface SCIMSourcePropertyMappingRequest {
22
+ /**
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
+ * @type {string}
25
+ * @memberof SCIMSourcePropertyMappingRequest
26
+ */
27
+ managed?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof SCIMSourcePropertyMappingRequest
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SCIMSourcePropertyMappingRequest
38
+ */
39
+ expression: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the SCIMSourcePropertyMappingRequest interface.
44
+ */
45
+ export function instanceOfSCIMSourcePropertyMappingRequest(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "name" in value;
48
+ isInstance = isInstance && "expression" in value;
49
+
50
+ return isInstance;
51
+ }
52
+
53
+ export function SCIMSourcePropertyMappingRequestFromJSON(json: any): SCIMSourcePropertyMappingRequest {
54
+ return SCIMSourcePropertyMappingRequestFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function SCIMSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSourcePropertyMappingRequest {
58
+ if ((json === undefined) || (json === null)) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
64
+ 'name': json['name'],
65
+ 'expression': json['expression'],
66
+ };
67
+ }
68
+
69
+ export function SCIMSourcePropertyMappingRequestToJSON(value?: SCIMSourcePropertyMappingRequest | null): any {
70
+ if (value === undefined) {
71
+ return undefined;
72
+ }
73
+ if (value === null) {
74
+ return null;
75
+ }
76
+ return {
77
+
78
+ 'managed': value.managed,
79
+ 'name': value.name,
80
+ 'expression': value.expression,
81
+ };
82
+ }
83
+
@@ -13,13 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
17
- import {
18
- UserMatchingModeEnumFromJSON,
19
- UserMatchingModeEnumFromJSONTyped,
20
- UserMatchingModeEnumToJSON,
21
- } from './UserMatchingModeEnum';
22
-
23
16
  /**
24
17
  * SCIMSource Serializer
25
18
  * @export
@@ -46,10 +39,16 @@ export interface SCIMSourceRequest {
46
39
  enabled?: boolean;
47
40
  /**
48
41
  *
49
- * @type {UserMatchingModeEnum}
42
+ * @type {Array<string>}
43
+ * @memberof SCIMSourceRequest
44
+ */
45
+ userPropertyMappings?: Array<string>;
46
+ /**
47
+ *
48
+ * @type {Array<string>}
50
49
  * @memberof SCIMSourceRequest
51
50
  */
52
- userMatchingMode?: UserMatchingModeEnum;
51
+ groupPropertyMappings?: Array<string>;
53
52
  /**
54
53
  *
55
54
  * @type {string}
@@ -82,7 +81,8 @@ export function SCIMSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
82
81
  'name': json['name'],
83
82
  'slug': json['slug'],
84
83
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
85
- 'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
84
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
85
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
86
86
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
87
87
  };
88
88
  }
@@ -99,7 +99,8 @@ export function SCIMSourceRequestToJSON(value?: SCIMSourceRequest | null): any {
99
99
  'name': value.name,
100
100
  'slug': value.slug,
101
101
  'enabled': value.enabled,
102
- 'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
102
+ 'user_property_mappings': value.userPropertyMappings,
103
+ 'group_property_mappings': value.groupPropertyMappings,
103
104
  'user_path_template': value.userPathTemplate,
104
105
  };
105
106
  }
@@ -312,6 +312,7 @@ export * from './PaginatedSCIMProviderList';
312
312
  export * from './PaginatedSCIMProviderUserList';
313
313
  export * from './PaginatedSCIMSourceGroupList';
314
314
  export * from './PaginatedSCIMSourceList';
315
+ export * from './PaginatedSCIMSourcePropertyMappingList';
315
316
  export * from './PaginatedSCIMSourceUserList';
316
317
  export * from './PaginatedSMSDeviceList';
317
318
  export * from './PaginatedScopeMappingList';
@@ -414,6 +415,7 @@ export * from './PatchedSAMLSourceRequest';
414
415
  export * from './PatchedSCIMMappingRequest';
415
416
  export * from './PatchedSCIMProviderRequest';
416
417
  export * from './PatchedSCIMSourceGroupRequest';
418
+ export * from './PatchedSCIMSourcePropertyMappingRequest';
417
419
  export * from './PatchedSCIMSourceRequest';
418
420
  export * from './PatchedSCIMSourceUserRequest';
419
421
  export * from './PatchedSMSDeviceRequest';
@@ -506,6 +508,8 @@ export * from './SCIMProviderUserRequest';
506
508
  export * from './SCIMSource';
507
509
  export * from './SCIMSourceGroup';
508
510
  export * from './SCIMSourceGroupRequest';
511
+ export * from './SCIMSourcePropertyMapping';
512
+ export * from './SCIMSourcePropertyMappingRequest';
509
513
  export * from './SCIMSourceRequest';
510
514
  export * from './SCIMSourceUser';
511
515
  export * from './SCIMSourceUserRequest';