@goauthentik/api 2024.2.2-1713180481 → 2024.2.2-1713289394
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.
- package/.openapi-generator/FILES +12 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/SourcesApi.d.ts +255 -1
- package/dist/apis/SourcesApi.js +810 -0
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/SourcesApi.d.ts +255 -1
- package/dist/esm/apis/SourcesApi.js +811 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/Group.d.ts +1 -1
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedSCIMSourceGroupList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourceGroupList.js +48 -0
- package/dist/esm/models/PaginatedSCIMSourceList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourceList.js +48 -0
- package/dist/esm/models/PaginatedSCIMSourceUserList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourceUserList.js +48 -0
- package/dist/esm/models/PatchedSCIMSourceGroupRequest.d.ts +49 -0
- package/dist/esm/models/PatchedSCIMSourceGroupRequest.js +49 -0
- package/dist/esm/models/PatchedSCIMSourceRequest.d.ts +56 -0
- package/dist/esm/models/PatchedSCIMSourceRequest.js +52 -0
- package/dist/esm/models/PatchedSCIMSourceUserRequest.d.ts +49 -0
- package/dist/esm/models/PatchedSCIMSourceUserRequest.js +49 -0
- package/dist/esm/models/SCIMSource.d.ts +105 -0
- package/dist/esm/models/SCIMSource.js +71 -0
- package/dist/esm/models/SCIMSourceGroup.d.ts +56 -0
- package/dist/esm/models/SCIMSourceGroup.js +55 -0
- package/dist/esm/models/SCIMSourceGroupRequest.d.ts +49 -0
- package/dist/esm/models/SCIMSourceGroupRequest.js +52 -0
- package/dist/esm/models/SCIMSourceRequest.d.ts +56 -0
- package/dist/esm/models/SCIMSourceRequest.js +54 -0
- package/dist/esm/models/SCIMSourceUser.d.ts +56 -0
- package/dist/esm/models/SCIMSourceUser.js +55 -0
- package/dist/esm/models/SCIMSourceUserRequest.d.ts +49 -0
- package/dist/esm/models/SCIMSourceUserRequest.js +52 -0
- package/dist/esm/models/User.d.ts +1 -1
- package/dist/esm/models/User.js +1 -1
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/Group.d.ts +1 -1
- package/dist/models/Group.js +1 -1
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedSCIMSourceGroupList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourceGroupList.js +55 -0
- package/dist/models/PaginatedSCIMSourceList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourceList.js +55 -0
- package/dist/models/PaginatedSCIMSourceUserList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourceUserList.js +55 -0
- package/dist/models/PatchedSCIMSourceGroupRequest.d.ts +49 -0
- package/dist/models/PatchedSCIMSourceGroupRequest.js +56 -0
- package/dist/models/PatchedSCIMSourceRequest.d.ts +56 -0
- package/dist/models/PatchedSCIMSourceRequest.js +59 -0
- package/dist/models/PatchedSCIMSourceUserRequest.d.ts +49 -0
- package/dist/models/PatchedSCIMSourceUserRequest.js +56 -0
- package/dist/models/SCIMSource.d.ts +105 -0
- package/dist/models/SCIMSource.js +78 -0
- package/dist/models/SCIMSourceGroup.d.ts +56 -0
- package/dist/models/SCIMSourceGroup.js +62 -0
- package/dist/models/SCIMSourceGroupRequest.d.ts +49 -0
- package/dist/models/SCIMSourceGroupRequest.js +59 -0
- package/dist/models/SCIMSourceRequest.d.ts +56 -0
- package/dist/models/SCIMSourceRequest.js +61 -0
- package/dist/models/SCIMSourceUser.d.ts +56 -0
- package/dist/models/SCIMSourceUser.js +62 -0
- package/dist/models/SCIMSourceUserRequest.d.ts +49 -0
- package/dist/models/SCIMSourceUserRequest.js +59 -0
- package/dist/models/User.d.ts +1 -1
- package/dist/models/User.js +1 -1
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/package.json +1 -1
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/SourcesApi.ts +1045 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/Group.ts +2 -2
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedSCIMSourceGroupList.ts +88 -0
- package/src/models/PaginatedSCIMSourceList.ts +88 -0
- package/src/models/PaginatedSCIMSourceUserList.ts +88 -0
- package/src/models/PatchedSCIMSourceGroupRequest.ts +89 -0
- package/src/models/PatchedSCIMSourceRequest.ts +104 -0
- package/src/models/PatchedSCIMSourceUserRequest.ts +89 -0
- package/src/models/SCIMSource.ts +176 -0
- package/src/models/SCIMSourceGroup.ts +107 -0
- package/src/models/SCIMSourceGroupRequest.ts +92 -0
- package/src/models/SCIMSourceRequest.ts +106 -0
- package/src/models/SCIMSourceUser.ts +107 -0
- package/src/models/SCIMSourceUserRequest.ts +92 -0
- package/src/models/User.ts +2 -2
- package/src/models/index.ts +12 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
+
import { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SCIMSourceUserRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSCIMSourceUserRequest(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "id" in value;
|
|
21
|
+
isInstance = isInstance && "user" in value;
|
|
22
|
+
isInstance = isInstance && "source" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function SCIMSourceUserRequestFromJSON(json) {
|
|
26
|
+
return SCIMSourceUserRequestFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function SCIMSourceUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'id': json['id'],
|
|
34
|
+
'user': json['user'],
|
|
35
|
+
'source': json['source'],
|
|
36
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function SCIMSourceUserRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': value.id,
|
|
48
|
+
'user': value.user,
|
|
49
|
+
'source': value.source,
|
|
50
|
+
'attributes': value.attributes,
|
|
51
|
+
};
|
|
52
|
+
}
|
package/dist/esm/models/User.js
CHANGED
|
@@ -44,7 +44,7 @@ export function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'lastLogin': !exists(json, 'last_login') ? undefined : (json['last_login'] === null ? null : new Date(json['last_login'])),
|
|
45
45
|
'isSuperuser': json['is_superuser'],
|
|
46
46
|
'groups': !exists(json, 'groups') ? undefined : json['groups'],
|
|
47
|
-
'groupsObj': (json['groups_obj'].map(UserGroupFromJSON)),
|
|
47
|
+
'groupsObj': (json['groups_obj'] === null ? null : json['groups_obj'].map(UserGroupFromJSON)),
|
|
48
48
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
49
49
|
'avatar': json['avatar'],
|
|
50
50
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
@@ -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';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -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';
|
package/dist/models/AppEnum.d.ts
CHANGED
|
@@ -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";
|
package/dist/models/AppEnum.js
CHANGED
|
@@ -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',
|
package/dist/models/Group.d.ts
CHANGED
package/dist/models/Group.js
CHANGED
|
@@ -47,7 +47,7 @@ function GroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'parent': !(0, runtime_1.exists)(json, 'parent') ? undefined : json['parent'],
|
|
48
48
|
'parentName': json['parent_name'],
|
|
49
49
|
'users': !(0, runtime_1.exists)(json, 'users') ? undefined : json['users'],
|
|
50
|
-
'usersObj': (json['users_obj'].map(GroupMember_1.GroupMemberFromJSON)),
|
|
50
|
+
'usersObj': (json['users_obj'] === null ? null : json['users_obj'].map(GroupMember_1.GroupMemberFromJSON)),
|
|
51
51
|
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
52
52
|
'roles': !(0, runtime_1.exists)(json, 'roles') ? undefined : json['roles'],
|
|
53
53
|
'rolesObj': (json['roles_obj'].map(Role_1.RoleFromJSON)),
|
|
@@ -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";
|
package/dist/models/ModelEnum.js
CHANGED
|
@@ -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;
|