@goauthentik/api 2024.2.2-1712922569 → 2024.2.2-1713183841

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/.openapi-generator/FILES +12 -1
  2. package/dist/apis/CoreApi.d.ts +2 -0
  3. package/dist/apis/CoreApi.js +6 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/apis/SourcesApi.d.ts +255 -1
  7. package/dist/apis/SourcesApi.js +810 -0
  8. package/dist/esm/apis/CoreApi.d.ts +2 -0
  9. package/dist/esm/apis/CoreApi.js +6 -0
  10. package/dist/esm/apis/RbacApi.d.ts +2 -0
  11. package/dist/esm/apis/RbacApi.js +2 -0
  12. package/dist/esm/apis/SourcesApi.d.ts +255 -1
  13. package/dist/esm/apis/SourcesApi.js +811 -1
  14. package/dist/esm/models/AppEnum.d.ts +1 -0
  15. package/dist/esm/models/AppEnum.js +1 -0
  16. package/dist/esm/models/ModelEnum.d.ts +1 -0
  17. package/dist/esm/models/ModelEnum.js +1 -0
  18. package/dist/esm/models/PaginatedSCIMSourceGroupList.d.ts +39 -0
  19. package/dist/esm/models/PaginatedSCIMSourceGroupList.js +48 -0
  20. package/dist/esm/models/PaginatedSCIMSourceList.d.ts +39 -0
  21. package/dist/esm/models/PaginatedSCIMSourceList.js +48 -0
  22. package/dist/esm/models/PaginatedSCIMSourceUserList.d.ts +39 -0
  23. package/dist/esm/models/PaginatedSCIMSourceUserList.js +48 -0
  24. package/dist/esm/models/PatchedSCIMSourceGroupRequest.d.ts +49 -0
  25. package/dist/esm/models/PatchedSCIMSourceGroupRequest.js +49 -0
  26. package/dist/esm/models/PatchedSCIMSourceRequest.d.ts +56 -0
  27. package/dist/esm/models/PatchedSCIMSourceRequest.js +52 -0
  28. package/dist/esm/models/PatchedSCIMSourceUserRequest.d.ts +49 -0
  29. package/dist/esm/models/PatchedSCIMSourceUserRequest.js +49 -0
  30. package/dist/esm/models/SCIMSource.d.ts +105 -0
  31. package/dist/esm/models/SCIMSource.js +71 -0
  32. package/dist/esm/models/SCIMSourceGroup.d.ts +56 -0
  33. package/dist/esm/models/SCIMSourceGroup.js +55 -0
  34. package/dist/esm/models/SCIMSourceGroupRequest.d.ts +49 -0
  35. package/dist/esm/models/SCIMSourceGroupRequest.js +52 -0
  36. package/dist/esm/models/SCIMSourceRequest.d.ts +56 -0
  37. package/dist/esm/models/SCIMSourceRequest.js +54 -0
  38. package/dist/esm/models/SCIMSourceUser.d.ts +56 -0
  39. package/dist/esm/models/SCIMSourceUser.js +55 -0
  40. package/dist/esm/models/SCIMSourceUserRequest.d.ts +49 -0
  41. package/dist/esm/models/{UserGroupRequest.js → SCIMSourceUserRequest.js} +15 -13
  42. package/dist/esm/models/index.d.ts +12 -1
  43. package/dist/esm/models/index.js +12 -1
  44. package/dist/models/AppEnum.d.ts +1 -0
  45. package/dist/models/AppEnum.js +1 -0
  46. package/dist/models/ModelEnum.d.ts +1 -0
  47. package/dist/models/ModelEnum.js +1 -0
  48. package/dist/models/PaginatedSCIMSourceGroupList.d.ts +39 -0
  49. package/dist/models/PaginatedSCIMSourceGroupList.js +55 -0
  50. package/dist/models/PaginatedSCIMSourceList.d.ts +39 -0
  51. package/dist/models/PaginatedSCIMSourceList.js +55 -0
  52. package/dist/models/PaginatedSCIMSourceUserList.d.ts +39 -0
  53. package/dist/models/PaginatedSCIMSourceUserList.js +55 -0
  54. package/dist/models/PatchedSCIMSourceGroupRequest.d.ts +49 -0
  55. package/dist/models/PatchedSCIMSourceGroupRequest.js +56 -0
  56. package/dist/models/PatchedSCIMSourceRequest.d.ts +56 -0
  57. package/dist/models/PatchedSCIMSourceRequest.js +59 -0
  58. package/dist/models/PatchedSCIMSourceUserRequest.d.ts +49 -0
  59. package/dist/models/PatchedSCIMSourceUserRequest.js +56 -0
  60. package/dist/models/SCIMSource.d.ts +105 -0
  61. package/dist/models/SCIMSource.js +78 -0
  62. package/dist/models/SCIMSourceGroup.d.ts +56 -0
  63. package/dist/models/SCIMSourceGroup.js +62 -0
  64. package/dist/models/SCIMSourceGroupRequest.d.ts +49 -0
  65. package/dist/models/SCIMSourceGroupRequest.js +59 -0
  66. package/dist/models/SCIMSourceRequest.d.ts +56 -0
  67. package/dist/models/SCIMSourceRequest.js +61 -0
  68. package/dist/models/SCIMSourceUser.d.ts +56 -0
  69. package/dist/models/SCIMSourceUser.js +62 -0
  70. package/dist/models/SCIMSourceUserRequest.d.ts +49 -0
  71. package/dist/models/SCIMSourceUserRequest.js +59 -0
  72. package/dist/models/index.d.ts +12 -1
  73. package/dist/models/index.js +12 -1
  74. package/package.json +1 -1
  75. package/src/apis/CoreApi.ts +10 -0
  76. package/src/apis/RbacApi.ts +2 -0
  77. package/src/apis/SourcesApi.ts +1045 -0
  78. package/src/models/AppEnum.ts +1 -0
  79. package/src/models/ModelEnum.ts +1 -0
  80. package/src/models/PaginatedSCIMSourceGroupList.ts +88 -0
  81. package/src/models/PaginatedSCIMSourceList.ts +88 -0
  82. package/src/models/PaginatedSCIMSourceUserList.ts +88 -0
  83. package/src/models/PatchedSCIMSourceGroupRequest.ts +89 -0
  84. package/src/models/PatchedSCIMSourceRequest.ts +104 -0
  85. package/src/models/PatchedSCIMSourceUserRequest.ts +89 -0
  86. package/src/models/SCIMSource.ts +176 -0
  87. package/src/models/SCIMSourceGroup.ts +107 -0
  88. package/src/models/SCIMSourceGroupRequest.ts +92 -0
  89. package/src/models/SCIMSourceRequest.ts +106 -0
  90. package/src/models/SCIMSourceUser.ts +107 -0
  91. package/src/models/SCIMSourceUserRequest.ts +92 -0
  92. package/src/models/index.ts +12 -1
  93. package/dist/esm/models/UserGroupRequest.d.ts +0 -51
  94. package/dist/models/UserGroupRequest.d.ts +0 -51
  95. package/dist/models/UserGroupRequest.js +0 -57
  96. package/src/models/UserGroupRequest.ts +0 -90
@@ -13,28 +13,30 @@
13
13
  */
14
14
  import { exists } from '../runtime';
15
15
  /**
16
- * Check if a given object implements the UserGroupRequest interface.
16
+ * Check if a given object implements the SCIMSourceUserRequest interface.
17
17
  */
18
- export function instanceOfUserGroupRequest(value) {
18
+ export function instanceOfSCIMSourceUserRequest(value) {
19
19
  let isInstance = true;
20
- isInstance = isInstance && "name" in value;
20
+ isInstance = isInstance && "id" in value;
21
+ isInstance = isInstance && "user" in value;
22
+ isInstance = isInstance && "source" in value;
21
23
  return isInstance;
22
24
  }
23
- export function UserGroupRequestFromJSON(json) {
24
- return UserGroupRequestFromJSONTyped(json, false);
25
+ export function SCIMSourceUserRequestFromJSON(json) {
26
+ return SCIMSourceUserRequestFromJSONTyped(json, false);
25
27
  }
26
- export function UserGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ export function SCIMSourceUserRequestFromJSONTyped(json, ignoreDiscriminator) {
27
29
  if ((json === undefined) || (json === null)) {
28
30
  return json;
29
31
  }
30
32
  return {
31
- 'name': json['name'],
32
- 'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
33
- 'parent': !exists(json, 'parent') ? undefined : json['parent'],
33
+ 'id': json['id'],
34
+ 'user': json['user'],
35
+ 'source': json['source'],
34
36
  'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
35
37
  };
36
38
  }
37
- export function UserGroupRequestToJSON(value) {
39
+ export function SCIMSourceUserRequestToJSON(value) {
38
40
  if (value === undefined) {
39
41
  return undefined;
40
42
  }
@@ -42,9 +44,9 @@ export function UserGroupRequestToJSON(value) {
42
44
  return null;
43
45
  }
44
46
  return {
45
- 'name': value.name,
46
- 'is_superuser': value.isSuperuser,
47
- 'parent': value.parent,
47
+ 'id': value.id,
48
+ 'user': value.user,
49
+ 'source': value.source,
48
50
  'attributes': value.attributes,
49
51
  };
50
52
  }
@@ -281,6 +281,9 @@ export * from './PaginatedSAMLProviderList';
281
281
  export * from './PaginatedSAMLSourceList';
282
282
  export * from './PaginatedSCIMMappingList';
283
283
  export * from './PaginatedSCIMProviderList';
284
+ export * from './PaginatedSCIMSourceGroupList';
285
+ export * from './PaginatedSCIMSourceList';
286
+ export * from './PaginatedSCIMSourceUserList';
284
287
  export * from './PaginatedSMSDeviceList';
285
288
  export * from './PaginatedScopeMappingList';
286
289
  export * from './PaginatedServiceConnectionList';
@@ -376,6 +379,9 @@ export * from './PatchedSAMLProviderRequest';
376
379
  export * from './PatchedSAMLSourceRequest';
377
380
  export * from './PatchedSCIMMappingRequest';
378
381
  export * from './PatchedSCIMProviderRequest';
382
+ export * from './PatchedSCIMSourceGroupRequest';
383
+ export * from './PatchedSCIMSourceRequest';
384
+ export * from './PatchedSCIMSourceUserRequest';
379
385
  export * from './PatchedSMSDeviceRequest';
380
386
  export * from './PatchedScopeMappingRequest';
381
387
  export * from './PatchedSettingsRequest';
@@ -455,6 +461,12 @@ export * from './SCIMMapping';
455
461
  export * from './SCIMMappingRequest';
456
462
  export * from './SCIMProvider';
457
463
  export * from './SCIMProviderRequest';
464
+ export * from './SCIMSource';
465
+ export * from './SCIMSourceGroup';
466
+ export * from './SCIMSourceGroupRequest';
467
+ export * from './SCIMSourceRequest';
468
+ export * from './SCIMSourceUser';
469
+ export * from './SCIMSourceUserRequest';
458
470
  export * from './SCIMSyncStatus';
459
471
  export * from './SMSDevice';
460
472
  export * from './SMSDeviceRequest';
@@ -515,7 +527,6 @@ export * from './UserDeleteStage';
515
527
  export * from './UserDeleteStageRequest';
516
528
  export * from './UserFieldsEnum';
517
529
  export * from './UserGroup';
518
- export * from './UserGroupRequest';
519
530
  export * from './UserLoginChallenge';
520
531
  export * from './UserLoginChallengeResponseRequest';
521
532
  export * from './UserLoginStage';
@@ -283,6 +283,9 @@ export * from './PaginatedSAMLProviderList';
283
283
  export * from './PaginatedSAMLSourceList';
284
284
  export * from './PaginatedSCIMMappingList';
285
285
  export * from './PaginatedSCIMProviderList';
286
+ export * from './PaginatedSCIMSourceGroupList';
287
+ export * from './PaginatedSCIMSourceList';
288
+ export * from './PaginatedSCIMSourceUserList';
286
289
  export * from './PaginatedSMSDeviceList';
287
290
  export * from './PaginatedScopeMappingList';
288
291
  export * from './PaginatedServiceConnectionList';
@@ -378,6 +381,9 @@ export * from './PatchedSAMLProviderRequest';
378
381
  export * from './PatchedSAMLSourceRequest';
379
382
  export * from './PatchedSCIMMappingRequest';
380
383
  export * from './PatchedSCIMProviderRequest';
384
+ export * from './PatchedSCIMSourceGroupRequest';
385
+ export * from './PatchedSCIMSourceRequest';
386
+ export * from './PatchedSCIMSourceUserRequest';
381
387
  export * from './PatchedSMSDeviceRequest';
382
388
  export * from './PatchedScopeMappingRequest';
383
389
  export * from './PatchedSettingsRequest';
@@ -457,6 +463,12 @@ export * from './SCIMMapping';
457
463
  export * from './SCIMMappingRequest';
458
464
  export * from './SCIMProvider';
459
465
  export * from './SCIMProviderRequest';
466
+ export * from './SCIMSource';
467
+ export * from './SCIMSourceGroup';
468
+ export * from './SCIMSourceGroupRequest';
469
+ export * from './SCIMSourceRequest';
470
+ export * from './SCIMSourceUser';
471
+ export * from './SCIMSourceUserRequest';
460
472
  export * from './SCIMSyncStatus';
461
473
  export * from './SMSDevice';
462
474
  export * from './SMSDeviceRequest';
@@ -517,7 +529,6 @@ export * from './UserDeleteStage';
517
529
  export * from './UserDeleteStageRequest';
518
530
  export * from './UserFieldsEnum';
519
531
  export * from './UserGroup';
520
- export * from './UserGroupRequest';
521
532
  export * from './UserLoginChallenge';
522
533
  export * from './UserLoginChallengeResponseRequest';
523
534
  export * from './UserLoginStage';
@@ -39,6 +39,7 @@ export declare const AppEnum: {
39
39
  readonly SourcesOauth: "authentik.sources.oauth";
40
40
  readonly SourcesPlex: "authentik.sources.plex";
41
41
  readonly SourcesSaml: "authentik.sources.saml";
42
+ readonly SourcesScim: "authentik.sources.scim";
42
43
  readonly StagesAuthenticator: "authentik.stages.authenticator";
43
44
  readonly StagesAuthenticatorDuo: "authentik.stages.authenticator_duo";
44
45
  readonly StagesAuthenticatorSms: "authentik.stages.authenticator_sms";
@@ -44,6 +44,7 @@ exports.AppEnum = {
44
44
  SourcesOauth: 'authentik.sources.oauth',
45
45
  SourcesPlex: 'authentik.sources.plex',
46
46
  SourcesSaml: 'authentik.sources.saml',
47
+ SourcesScim: 'authentik.sources.scim',
47
48
  StagesAuthenticator: 'authentik.stages.authenticator',
48
49
  StagesAuthenticatorDuo: 'authentik.stages.authenticator_duo',
49
50
  StagesAuthenticatorSms: 'authentik.stages.authenticator_sms',
@@ -46,6 +46,7 @@ export declare const ModelEnum: {
46
46
  readonly SourcesPlexPlexsourceconnection: "authentik_sources_plex.plexsourceconnection";
47
47
  readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
48
48
  readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
49
+ readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
49
50
  readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
50
51
  readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
51
52
  readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
@@ -51,6 +51,7 @@ exports.ModelEnum = {
51
51
  SourcesPlexPlexsourceconnection: 'authentik_sources_plex.plexsourceconnection',
52
52
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
53
53
  SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
54
+ SourcesScimScimsource: 'authentik_sources_scim.scimsource',
54
55
  StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
55
56
  StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
56
57
  StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.2.2
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 { SCIMSourceGroup } from './SCIMSourceGroup';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedSCIMSourceGroupList
18
+ */
19
+ export interface PaginatedSCIMSourceGroupList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedSCIMSourceGroupList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<SCIMSourceGroup>}
29
+ * @memberof PaginatedSCIMSourceGroupList
30
+ */
31
+ results: Array<SCIMSourceGroup>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedSCIMSourceGroupList interface.
35
+ */
36
+ export declare function instanceOfPaginatedSCIMSourceGroupList(value: object): boolean;
37
+ export declare function PaginatedSCIMSourceGroupListFromJSON(json: any): PaginatedSCIMSourceGroupList;
38
+ export declare function PaginatedSCIMSourceGroupListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMSourceGroupList;
39
+ export declare function PaginatedSCIMSourceGroupListToJSON(value?: PaginatedSCIMSourceGroupList | 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.2.2
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.PaginatedSCIMSourceGroupListToJSON = exports.PaginatedSCIMSourceGroupListFromJSONTyped = exports.PaginatedSCIMSourceGroupListFromJSON = exports.instanceOfPaginatedSCIMSourceGroupList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const SCIMSourceGroup_1 = require("./SCIMSourceGroup");
19
+ /**
20
+ * Check if a given object implements the PaginatedSCIMSourceGroupList interface.
21
+ */
22
+ function instanceOfPaginatedSCIMSourceGroupList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedSCIMSourceGroupList = instanceOfPaginatedSCIMSourceGroupList;
29
+ function PaginatedSCIMSourceGroupListFromJSON(json) {
30
+ return PaginatedSCIMSourceGroupListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedSCIMSourceGroupListFromJSON = PaginatedSCIMSourceGroupListFromJSON;
33
+ function PaginatedSCIMSourceGroupListFromJSONTyped(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(SCIMSourceGroup_1.SCIMSourceGroupFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedSCIMSourceGroupListFromJSONTyped = PaginatedSCIMSourceGroupListFromJSONTyped;
43
+ function PaginatedSCIMSourceGroupListToJSON(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(SCIMSourceGroup_1.SCIMSourceGroupToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedSCIMSourceGroupListToJSON = PaginatedSCIMSourceGroupListToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.2.2
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 { SCIMSource } from './SCIMSource';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedSCIMSourceList
18
+ */
19
+ export interface PaginatedSCIMSourceList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedSCIMSourceList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<SCIMSource>}
29
+ * @memberof PaginatedSCIMSourceList
30
+ */
31
+ results: Array<SCIMSource>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedSCIMSourceList interface.
35
+ */
36
+ export declare function instanceOfPaginatedSCIMSourceList(value: object): boolean;
37
+ export declare function PaginatedSCIMSourceListFromJSON(json: any): PaginatedSCIMSourceList;
38
+ export declare function PaginatedSCIMSourceListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMSourceList;
39
+ export declare function PaginatedSCIMSourceListToJSON(value?: PaginatedSCIMSourceList | 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.2.2
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.PaginatedSCIMSourceListToJSON = exports.PaginatedSCIMSourceListFromJSONTyped = exports.PaginatedSCIMSourceListFromJSON = exports.instanceOfPaginatedSCIMSourceList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const SCIMSource_1 = require("./SCIMSource");
19
+ /**
20
+ * Check if a given object implements the PaginatedSCIMSourceList interface.
21
+ */
22
+ function instanceOfPaginatedSCIMSourceList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedSCIMSourceList = instanceOfPaginatedSCIMSourceList;
29
+ function PaginatedSCIMSourceListFromJSON(json) {
30
+ return PaginatedSCIMSourceListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedSCIMSourceListFromJSON = PaginatedSCIMSourceListFromJSON;
33
+ function PaginatedSCIMSourceListFromJSONTyped(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(SCIMSource_1.SCIMSourceFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedSCIMSourceListFromJSONTyped = PaginatedSCIMSourceListFromJSONTyped;
43
+ function PaginatedSCIMSourceListToJSON(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(SCIMSource_1.SCIMSourceToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedSCIMSourceListToJSON = PaginatedSCIMSourceListToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.2.2
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 { SCIMSourceUser } from './SCIMSourceUser';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedSCIMSourceUserList
18
+ */
19
+ export interface PaginatedSCIMSourceUserList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedSCIMSourceUserList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<SCIMSourceUser>}
29
+ * @memberof PaginatedSCIMSourceUserList
30
+ */
31
+ results: Array<SCIMSourceUser>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedSCIMSourceUserList interface.
35
+ */
36
+ export declare function instanceOfPaginatedSCIMSourceUserList(value: object): boolean;
37
+ export declare function PaginatedSCIMSourceUserListFromJSON(json: any): PaginatedSCIMSourceUserList;
38
+ export declare function PaginatedSCIMSourceUserListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMSourceUserList;
39
+ export declare function PaginatedSCIMSourceUserListToJSON(value?: PaginatedSCIMSourceUserList | 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.2.2
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.PaginatedSCIMSourceUserListToJSON = exports.PaginatedSCIMSourceUserListFromJSONTyped = exports.PaginatedSCIMSourceUserListFromJSON = exports.instanceOfPaginatedSCIMSourceUserList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const SCIMSourceUser_1 = require("./SCIMSourceUser");
19
+ /**
20
+ * Check if a given object implements the PaginatedSCIMSourceUserList interface.
21
+ */
22
+ function instanceOfPaginatedSCIMSourceUserList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedSCIMSourceUserList = instanceOfPaginatedSCIMSourceUserList;
29
+ function PaginatedSCIMSourceUserListFromJSON(json) {
30
+ return PaginatedSCIMSourceUserListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedSCIMSourceUserListFromJSON = PaginatedSCIMSourceUserListFromJSON;
33
+ function PaginatedSCIMSourceUserListFromJSONTyped(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(SCIMSourceUser_1.SCIMSourceUserFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedSCIMSourceUserListFromJSONTyped = PaginatedSCIMSourceUserListFromJSONTyped;
43
+ function PaginatedSCIMSourceUserListToJSON(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(SCIMSourceUser_1.SCIMSourceUserToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedSCIMSourceUserListToJSON = PaginatedSCIMSourceUserListToJSON;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.2.2
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
+ * SCIMSourceGroup Serializer
14
+ * @export
15
+ * @interface PatchedSCIMSourceGroupRequest
16
+ */
17
+ export interface PatchedSCIMSourceGroupRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchedSCIMSourceGroupRequest
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedSCIMSourceGroupRequest
28
+ */
29
+ group?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedSCIMSourceGroupRequest
34
+ */
35
+ source?: string;
36
+ /**
37
+ *
38
+ * @type {any}
39
+ * @memberof PatchedSCIMSourceGroupRequest
40
+ */
41
+ attributes?: any | null;
42
+ }
43
+ /**
44
+ * Check if a given object implements the PatchedSCIMSourceGroupRequest interface.
45
+ */
46
+ export declare function instanceOfPatchedSCIMSourceGroupRequest(value: object): boolean;
47
+ export declare function PatchedSCIMSourceGroupRequestFromJSON(json: any): PatchedSCIMSourceGroupRequest;
48
+ export declare function PatchedSCIMSourceGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSCIMSourceGroupRequest;
49
+ export declare function PatchedSCIMSourceGroupRequestToJSON(value?: PatchedSCIMSourceGroupRequest | null): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.2.2
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.PatchedSCIMSourceGroupRequestToJSON = exports.PatchedSCIMSourceGroupRequestFromJSONTyped = exports.PatchedSCIMSourceGroupRequestFromJSON = exports.instanceOfPatchedSCIMSourceGroupRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PatchedSCIMSourceGroupRequest interface.
20
+ */
21
+ function instanceOfPatchedSCIMSourceGroupRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfPatchedSCIMSourceGroupRequest = instanceOfPatchedSCIMSourceGroupRequest;
26
+ function PatchedSCIMSourceGroupRequestFromJSON(json) {
27
+ return PatchedSCIMSourceGroupRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.PatchedSCIMSourceGroupRequestFromJSON = PatchedSCIMSourceGroupRequestFromJSON;
30
+ function PatchedSCIMSourceGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
36
+ 'group': !(0, runtime_1.exists)(json, 'group') ? undefined : json['group'],
37
+ 'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
38
+ 'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
39
+ };
40
+ }
41
+ exports.PatchedSCIMSourceGroupRequestFromJSONTyped = PatchedSCIMSourceGroupRequestFromJSONTyped;
42
+ function PatchedSCIMSourceGroupRequestToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'id': value.id,
51
+ 'group': value.group,
52
+ 'source': value.source,
53
+ 'attributes': value.attributes,
54
+ };
55
+ }
56
+ exports.PatchedSCIMSourceGroupRequestToJSON = PatchedSCIMSourceGroupRequestToJSON;
@@ -0,0 +1,56 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.2.2
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 { UserMatchingModeEnum } from './UserMatchingModeEnum';
13
+ /**
14
+ * SCIMSource Serializer
15
+ * @export
16
+ * @interface PatchedSCIMSourceRequest
17
+ */
18
+ export interface PatchedSCIMSourceRequest {
19
+ /**
20
+ * Source's display Name.
21
+ * @type {string}
22
+ * @memberof PatchedSCIMSourceRequest
23
+ */
24
+ name?: string;
25
+ /**
26
+ * Internal source name, used in URLs.
27
+ * @type {string}
28
+ * @memberof PatchedSCIMSourceRequest
29
+ */
30
+ slug?: string;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof PatchedSCIMSourceRequest
35
+ */
36
+ enabled?: boolean;
37
+ /**
38
+ *
39
+ * @type {UserMatchingModeEnum}
40
+ * @memberof PatchedSCIMSourceRequest
41
+ */
42
+ userMatchingMode?: UserMatchingModeEnum;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof PatchedSCIMSourceRequest
47
+ */
48
+ userPathTemplate?: string;
49
+ }
50
+ /**
51
+ * Check if a given object implements the PatchedSCIMSourceRequest interface.
52
+ */
53
+ export declare function instanceOfPatchedSCIMSourceRequest(value: object): boolean;
54
+ export declare function PatchedSCIMSourceRequestFromJSON(json: any): PatchedSCIMSourceRequest;
55
+ export declare function PatchedSCIMSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSCIMSourceRequest;
56
+ export declare function PatchedSCIMSourceRequestToJSON(value?: PatchedSCIMSourceRequest | null): any;