@goauthentik/api 2024.6.1-1721725857 → 2024.6.1-1721916595
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +4 -4
- package/dist/apis/PropertymappingsApi.d.ts +87 -87
- package/dist/apis/PropertymappingsApi.js +274 -274
- package/dist/apis/RbacApi.d.ts +2 -2
- package/dist/apis/RbacApi.js +2 -2
- package/dist/apis/SourcesApi.d.ts +4 -0
- package/dist/apis/SourcesApi.js +12 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts +87 -87
- package/dist/esm/apis/PropertymappingsApi.js +275 -275
- package/dist/esm/apis/RbacApi.d.ts +2 -2
- package/dist/esm/apis/RbacApi.js +2 -2
- package/dist/esm/apis/SourcesApi.d.ts +4 -0
- package/dist/esm/apis/SourcesApi.js +12 -0
- package/dist/esm/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
- package/dist/esm/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +6 -6
- package/dist/{models/LDAPPropertyMappingRequest.d.ts → esm/models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
- package/dist/esm/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +6 -6
- package/dist/esm/models/ModelEnum.d.ts +1 -1
- package/dist/esm/models/ModelEnum.js +1 -1
- package/dist/esm/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/{PaginatedLDAPPropertyMappingList.js → PaginatedLDAPSourcePropertyMappingList.js} +9 -9
- package/dist/esm/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/{PatchedLDAPPropertyMappingRequest.js → PatchedLDAPSourcePropertyMappingRequest.js} +6 -6
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +0 -2
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +0 -2
- package/dist/esm/models/PlexSourceConnection.d.ts +3 -3
- package/dist/esm/models/PlexSourceConnection.js +2 -3
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserOAuthSourceConnection.js +2 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +0 -3
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserSAMLSourceConnection.js +2 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/UserSAMLSourceConnectionRequest.js +0 -3
- package/dist/esm/models/index.d.ts +4 -4
- package/dist/esm/models/index.js +4 -4
- package/dist/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
- package/dist/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +11 -11
- package/dist/{esm/models/LDAPPropertyMappingRequest.d.ts → models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
- package/dist/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +11 -11
- package/dist/models/ModelEnum.d.ts +1 -1
- package/dist/models/ModelEnum.js +1 -1
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.js +55 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +0 -2
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +0 -6
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +0 -2
- package/dist/models/PlexSourceConnection.d.ts +3 -3
- package/dist/models/PlexSourceConnection.js +2 -3
- package/dist/models/UserOAuthSourceConnection.d.ts +7 -1
- package/dist/models/UserOAuthSourceConnection.js +2 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/models/UserOAuthSourceConnectionRequest.js +0 -3
- package/dist/models/UserSAMLSourceConnection.d.ts +7 -1
- package/dist/models/UserSAMLSourceConnection.js +2 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +0 -6
- package/dist/models/UserSAMLSourceConnectionRequest.js +0 -3
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +541 -541
- package/src/apis/RbacApi.ts +2 -2
- package/src/apis/SourcesApi.ts +20 -0
- package/src/models/{LDAPPropertyMapping.ts → LDAPSourcePropertyMapping.ts} +16 -16
- package/src/models/{LDAPPropertyMappingRequest.ts → LDAPSourcePropertyMappingRequest.ts} +11 -11
- package/src/models/ModelEnum.ts +1 -1
- package/src/models/PaginatedLDAPSourcePropertyMappingList.ts +88 -0
- package/src/models/{PatchedLDAPPropertyMappingRequest.ts → PatchedLDAPSourcePropertyMappingRequest.ts} +11 -11
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +0 -8
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +0 -8
- package/src/models/PlexSourceConnection.ts +5 -6
- package/src/models/UserOAuthSourceConnection.ts +9 -2
- package/src/models/UserOAuthSourceConnectionRequest.ts +0 -9
- package/src/models/UserSAMLSourceConnection.ts +9 -2
- package/src/models/UserSAMLSourceConnectionRequest.ts +0 -9
- package/src/models/index.ts +4 -4
- package/dist/esm/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
- package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
- package/dist/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
- package/dist/models/PaginatedLDAPPropertyMappingList.js +0 -55
- package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
- package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -54
- package/src/models/PaginatedLDAPPropertyMappingList.ts +0 -88
@@ -16,7 +16,6 @@
|
|
16
16
|
*/
|
17
17
|
export function instanceOfUserSAMLSourceConnectionRequest(value) {
|
18
18
|
let isInstance = true;
|
19
|
-
isInstance = isInstance && "user" in value;
|
20
19
|
isInstance = isInstance && "identifier" in value;
|
21
20
|
return isInstance;
|
22
21
|
}
|
@@ -28,7 +27,6 @@ export function UserSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscrim
|
|
28
27
|
return json;
|
29
28
|
}
|
30
29
|
return {
|
31
|
-
'user': json['user'],
|
32
30
|
'identifier': json['identifier'],
|
33
31
|
};
|
34
32
|
}
|
@@ -40,7 +38,6 @@ export function UserSAMLSourceConnectionRequestToJSON(value) {
|
|
40
38
|
return null;
|
41
39
|
}
|
42
40
|
return {
|
43
|
-
'user': value.user,
|
44
41
|
'identifier': value.identifier,
|
45
42
|
};
|
46
43
|
}
|
@@ -167,11 +167,11 @@ export * from './KubernetesServiceConnectionRequest';
|
|
167
167
|
export * from './LDAPAPIAccessMode';
|
168
168
|
export * from './LDAPDebug';
|
169
169
|
export * from './LDAPOutpostConfig';
|
170
|
-
export * from './LDAPPropertyMapping';
|
171
|
-
export * from './LDAPPropertyMappingRequest';
|
172
170
|
export * from './LDAPProvider';
|
173
171
|
export * from './LDAPProviderRequest';
|
174
172
|
export * from './LDAPSource';
|
173
|
+
export * from './LDAPSourcePropertyMapping';
|
174
|
+
export * from './LDAPSourcePropertyMappingRequest';
|
175
175
|
export * from './LDAPSourceRequest';
|
176
176
|
export * from './License';
|
177
177
|
export * from './LicenseForecast';
|
@@ -263,9 +263,9 @@ export * from './PaginatedInvitationList';
|
|
263
263
|
export * from './PaginatedInvitationStageList';
|
264
264
|
export * from './PaginatedKubernetesServiceConnectionList';
|
265
265
|
export * from './PaginatedLDAPOutpostConfigList';
|
266
|
-
export * from './PaginatedLDAPPropertyMappingList';
|
267
266
|
export * from './PaginatedLDAPProviderList';
|
268
267
|
export * from './PaginatedLDAPSourceList';
|
268
|
+
export * from './PaginatedLDAPSourcePropertyMappingList';
|
269
269
|
export * from './PaginatedLicenseList';
|
270
270
|
export * from './PaginatedMicrosoftEntraProviderGroupList';
|
271
271
|
export * from './PaginatedMicrosoftEntraProviderList';
|
@@ -376,8 +376,8 @@ export * from './PatchedIdentificationStageRequest';
|
|
376
376
|
export * from './PatchedInvitationRequest';
|
377
377
|
export * from './PatchedInvitationStageRequest';
|
378
378
|
export * from './PatchedKubernetesServiceConnectionRequest';
|
379
|
-
export * from './PatchedLDAPPropertyMappingRequest';
|
380
379
|
export * from './PatchedLDAPProviderRequest';
|
380
|
+
export * from './PatchedLDAPSourcePropertyMappingRequest';
|
381
381
|
export * from './PatchedLDAPSourceRequest';
|
382
382
|
export * from './PatchedLicenseRequest';
|
383
383
|
export * from './PatchedMicrosoftEntraProviderMappingRequest';
|
package/dist/esm/models/index.js
CHANGED
@@ -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';
|
@@ -12,62 +12,62 @@
|
|
12
12
|
/**
|
13
13
|
* LDAP PropertyMapping Serializer
|
14
14
|
* @export
|
15
|
-
* @interface
|
15
|
+
* @interface LDAPSourcePropertyMapping
|
16
16
|
*/
|
17
|
-
export interface
|
17
|
+
export interface LDAPSourcePropertyMapping {
|
18
18
|
/**
|
19
19
|
*
|
20
20
|
* @type {string}
|
21
|
-
* @memberof
|
21
|
+
* @memberof LDAPSourcePropertyMapping
|
22
22
|
*/
|
23
23
|
readonly pk: string;
|
24
24
|
/**
|
25
25
|
* 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.
|
26
26
|
* @type {string}
|
27
|
-
* @memberof
|
27
|
+
* @memberof LDAPSourcePropertyMapping
|
28
28
|
*/
|
29
29
|
managed?: string | null;
|
30
30
|
/**
|
31
31
|
*
|
32
32
|
* @type {string}
|
33
|
-
* @memberof
|
33
|
+
* @memberof LDAPSourcePropertyMapping
|
34
34
|
*/
|
35
35
|
name: string;
|
36
36
|
/**
|
37
37
|
*
|
38
38
|
* @type {string}
|
39
|
-
* @memberof
|
39
|
+
* @memberof LDAPSourcePropertyMapping
|
40
40
|
*/
|
41
41
|
expression: string;
|
42
42
|
/**
|
43
43
|
* Get object's component so that we know how to edit the object
|
44
44
|
* @type {string}
|
45
|
-
* @memberof
|
45
|
+
* @memberof LDAPSourcePropertyMapping
|
46
46
|
*/
|
47
47
|
readonly component: string;
|
48
48
|
/**
|
49
49
|
* Return object's verbose_name
|
50
50
|
* @type {string}
|
51
|
-
* @memberof
|
51
|
+
* @memberof LDAPSourcePropertyMapping
|
52
52
|
*/
|
53
53
|
readonly verboseName: string;
|
54
54
|
/**
|
55
55
|
* Return object's plural verbose_name
|
56
56
|
* @type {string}
|
57
|
-
* @memberof
|
57
|
+
* @memberof LDAPSourcePropertyMapping
|
58
58
|
*/
|
59
59
|
readonly verboseNamePlural: string;
|
60
60
|
/**
|
61
61
|
* Return internal model name
|
62
62
|
* @type {string}
|
63
|
-
* @memberof
|
63
|
+
* @memberof LDAPSourcePropertyMapping
|
64
64
|
*/
|
65
65
|
readonly metaModelName: string;
|
66
66
|
}
|
67
67
|
/**
|
68
|
-
* Check if a given object implements the
|
68
|
+
* Check if a given object implements the LDAPSourcePropertyMapping interface.
|
69
69
|
*/
|
70
|
-
export declare function
|
71
|
-
export declare function
|
72
|
-
export declare function
|
73
|
-
export declare function
|
70
|
+
export declare function instanceOfLDAPSourcePropertyMapping(value: object): boolean;
|
71
|
+
export declare function LDAPSourcePropertyMappingFromJSON(json: any): LDAPSourcePropertyMapping;
|
72
|
+
export declare function LDAPSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSourcePropertyMapping;
|
73
|
+
export declare function LDAPSourcePropertyMappingToJSON(value?: LDAPSourcePropertyMapping | null): any;
|
@@ -13,12 +13,12 @@
|
|
13
13
|
* Do not edit the class manually.
|
14
14
|
*/
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
-
exports.
|
16
|
+
exports.LDAPSourcePropertyMappingToJSON = exports.LDAPSourcePropertyMappingFromJSONTyped = exports.LDAPSourcePropertyMappingFromJSON = exports.instanceOfLDAPSourcePropertyMapping = void 0;
|
17
17
|
const runtime_1 = require("../runtime");
|
18
18
|
/**
|
19
|
-
* Check if a given object implements the
|
19
|
+
* Check if a given object implements the LDAPSourcePropertyMapping interface.
|
20
20
|
*/
|
21
|
-
function
|
21
|
+
function instanceOfLDAPSourcePropertyMapping(value) {
|
22
22
|
let isInstance = true;
|
23
23
|
isInstance = isInstance && "pk" in value;
|
24
24
|
isInstance = isInstance && "name" in value;
|
@@ -29,12 +29,12 @@ function instanceOfLDAPPropertyMapping(value) {
|
|
29
29
|
isInstance = isInstance && "metaModelName" in value;
|
30
30
|
return isInstance;
|
31
31
|
}
|
32
|
-
exports.
|
33
|
-
function
|
34
|
-
return
|
32
|
+
exports.instanceOfLDAPSourcePropertyMapping = instanceOfLDAPSourcePropertyMapping;
|
33
|
+
function LDAPSourcePropertyMappingFromJSON(json) {
|
34
|
+
return LDAPSourcePropertyMappingFromJSONTyped(json, false);
|
35
35
|
}
|
36
|
-
exports.
|
37
|
-
function
|
36
|
+
exports.LDAPSourcePropertyMappingFromJSON = LDAPSourcePropertyMappingFromJSON;
|
37
|
+
function LDAPSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
38
38
|
if ((json === undefined) || (json === null)) {
|
39
39
|
return json;
|
40
40
|
}
|
@@ -49,8 +49,8 @@ function LDAPPropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
49
|
'metaModelName': json['meta_model_name'],
|
50
50
|
};
|
51
51
|
}
|
52
|
-
exports.
|
53
|
-
function
|
52
|
+
exports.LDAPSourcePropertyMappingFromJSONTyped = LDAPSourcePropertyMappingFromJSONTyped;
|
53
|
+
function LDAPSourcePropertyMappingToJSON(value) {
|
54
54
|
if (value === undefined) {
|
55
55
|
return undefined;
|
56
56
|
}
|
@@ -63,4 +63,4 @@ function LDAPPropertyMappingToJSON(value) {
|
|
63
63
|
'expression': value.expression,
|
64
64
|
};
|
65
65
|
}
|
66
|
-
exports.
|
66
|
+
exports.LDAPSourcePropertyMappingToJSON = LDAPSourcePropertyMappingToJSON;
|
@@ -12,32 +12,32 @@
|
|
12
12
|
/**
|
13
13
|
* LDAP PropertyMapping Serializer
|
14
14
|
* @export
|
15
|
-
* @interface
|
15
|
+
* @interface LDAPSourcePropertyMappingRequest
|
16
16
|
*/
|
17
|
-
export interface
|
17
|
+
export interface LDAPSourcePropertyMappingRequest {
|
18
18
|
/**
|
19
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
20
|
* @type {string}
|
21
|
-
* @memberof
|
21
|
+
* @memberof LDAPSourcePropertyMappingRequest
|
22
22
|
*/
|
23
23
|
managed?: string | null;
|
24
24
|
/**
|
25
25
|
*
|
26
26
|
* @type {string}
|
27
|
-
* @memberof
|
27
|
+
* @memberof LDAPSourcePropertyMappingRequest
|
28
28
|
*/
|
29
29
|
name: string;
|
30
30
|
/**
|
31
31
|
*
|
32
32
|
* @type {string}
|
33
|
-
* @memberof
|
33
|
+
* @memberof LDAPSourcePropertyMappingRequest
|
34
34
|
*/
|
35
35
|
expression: string;
|
36
36
|
}
|
37
37
|
/**
|
38
|
-
* Check if a given object implements the
|
38
|
+
* Check if a given object implements the LDAPSourcePropertyMappingRequest interface.
|
39
39
|
*/
|
40
|
-
export declare function
|
41
|
-
export declare function
|
42
|
-
export declare function
|
43
|
-
export declare function
|
40
|
+
export declare function instanceOfLDAPSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function LDAPSourcePropertyMappingRequestFromJSON(json: any): LDAPSourcePropertyMappingRequest;
|
42
|
+
export declare function LDAPSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSourcePropertyMappingRequest;
|
43
|
+
export declare function LDAPSourcePropertyMappingRequestToJSON(value?: LDAPSourcePropertyMappingRequest | null): any;
|
@@ -13,23 +13,23 @@
|
|
13
13
|
* Do not edit the class manually.
|
14
14
|
*/
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
-
exports.
|
16
|
+
exports.LDAPSourcePropertyMappingRequestToJSON = exports.LDAPSourcePropertyMappingRequestFromJSONTyped = exports.LDAPSourcePropertyMappingRequestFromJSON = exports.instanceOfLDAPSourcePropertyMappingRequest = void 0;
|
17
17
|
const runtime_1 = require("../runtime");
|
18
18
|
/**
|
19
|
-
* Check if a given object implements the
|
19
|
+
* Check if a given object implements the LDAPSourcePropertyMappingRequest interface.
|
20
20
|
*/
|
21
|
-
function
|
21
|
+
function instanceOfLDAPSourcePropertyMappingRequest(value) {
|
22
22
|
let isInstance = true;
|
23
23
|
isInstance = isInstance && "name" in value;
|
24
24
|
isInstance = isInstance && "expression" in value;
|
25
25
|
return isInstance;
|
26
26
|
}
|
27
|
-
exports.
|
28
|
-
function
|
29
|
-
return
|
27
|
+
exports.instanceOfLDAPSourcePropertyMappingRequest = instanceOfLDAPSourcePropertyMappingRequest;
|
28
|
+
function LDAPSourcePropertyMappingRequestFromJSON(json) {
|
29
|
+
return LDAPSourcePropertyMappingRequestFromJSONTyped(json, false);
|
30
30
|
}
|
31
|
-
exports.
|
32
|
-
function
|
31
|
+
exports.LDAPSourcePropertyMappingRequestFromJSON = LDAPSourcePropertyMappingRequestFromJSON;
|
32
|
+
function LDAPSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
33
33
|
if ((json === undefined) || (json === null)) {
|
34
34
|
return json;
|
35
35
|
}
|
@@ -39,8 +39,8 @@ function LDAPPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
39
|
'expression': json['expression'],
|
40
40
|
};
|
41
41
|
}
|
42
|
-
exports.
|
43
|
-
function
|
42
|
+
exports.LDAPSourcePropertyMappingRequestFromJSONTyped = LDAPSourcePropertyMappingRequestFromJSONTyped;
|
43
|
+
function LDAPSourcePropertyMappingRequestToJSON(value) {
|
44
44
|
if (value === undefined) {
|
45
45
|
return undefined;
|
46
46
|
}
|
@@ -53,4 +53,4 @@ function LDAPPropertyMappingRequestToJSON(value) {
|
|
53
53
|
'expression': value.expression,
|
54
54
|
};
|
55
55
|
}
|
56
|
-
exports.
|
56
|
+
exports.LDAPSourcePropertyMappingRequestToJSON = LDAPSourcePropertyMappingRequestToJSON;
|
@@ -39,7 +39,7 @@ export declare const ModelEnum: {
|
|
39
39
|
readonly ProvidersScimScimmapping: "authentik_providers_scim.scimmapping";
|
40
40
|
readonly RbacRole: "authentik_rbac.role";
|
41
41
|
readonly SourcesLdapLdapsource: "authentik_sources_ldap.ldapsource";
|
42
|
-
readonly
|
42
|
+
readonly SourcesLdapLdapsourcepropertymapping: "authentik_sources_ldap.ldapsourcepropertymapping";
|
43
43
|
readonly SourcesOauthOauthsource: "authentik_sources_oauth.oauthsource";
|
44
44
|
readonly SourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
|
45
45
|
readonly SourcesPlexPlexsource: "authentik_sources_plex.plexsource";
|
package/dist/models/ModelEnum.js
CHANGED
@@ -44,7 +44,7 @@ exports.ModelEnum = {
|
|
44
44
|
ProvidersScimScimmapping: 'authentik_providers_scim.scimmapping',
|
45
45
|
RbacRole: 'authentik_rbac.role',
|
46
46
|
SourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
|
47
|
-
|
47
|
+
SourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
|
48
48
|
SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
|
49
49
|
SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
|
50
50
|
SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
|
@@ -0,0 +1,39 @@
|
|
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 { LDAPSourcePropertyMapping } from './LDAPSourcePropertyMapping';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedLDAPSourcePropertyMappingList
|
18
|
+
*/
|
19
|
+
export interface PaginatedLDAPSourcePropertyMappingList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedLDAPSourcePropertyMappingList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<LDAPSourcePropertyMapping>}
|
29
|
+
* @memberof PaginatedLDAPSourcePropertyMappingList
|
30
|
+
*/
|
31
|
+
results: Array<LDAPSourcePropertyMapping>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedLDAPSourcePropertyMappingList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedLDAPSourcePropertyMappingList(value: object): boolean;
|
37
|
+
export declare function PaginatedLDAPSourcePropertyMappingListFromJSON(json: any): PaginatedLDAPSourcePropertyMappingList;
|
38
|
+
export declare function PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedLDAPSourcePropertyMappingList;
|
39
|
+
export declare function PaginatedLDAPSourcePropertyMappingListToJSON(value?: PaginatedLDAPSourcePropertyMappingList | 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.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.PaginatedLDAPSourcePropertyMappingListToJSON = exports.PaginatedLDAPSourcePropertyMappingListFromJSONTyped = exports.PaginatedLDAPSourcePropertyMappingListFromJSON = exports.instanceOfPaginatedLDAPSourcePropertyMappingList = void 0;
|
17
|
+
const LDAPSourcePropertyMapping_1 = require("./LDAPSourcePropertyMapping");
|
18
|
+
const Pagination_1 = require("./Pagination");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the PaginatedLDAPSourcePropertyMappingList interface.
|
21
|
+
*/
|
22
|
+
function instanceOfPaginatedLDAPSourcePropertyMappingList(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "pagination" in value;
|
25
|
+
isInstance = isInstance && "results" in value;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfPaginatedLDAPSourcePropertyMappingList = instanceOfPaginatedLDAPSourcePropertyMappingList;
|
29
|
+
function PaginatedLDAPSourcePropertyMappingListFromJSON(json) {
|
30
|
+
return PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.PaginatedLDAPSourcePropertyMappingListFromJSON = PaginatedLDAPSourcePropertyMappingListFromJSON;
|
33
|
+
function PaginatedLDAPSourcePropertyMappingListFromJSONTyped(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(LDAPSourcePropertyMapping_1.LDAPSourcePropertyMappingFromJSON)),
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.PaginatedLDAPSourcePropertyMappingListFromJSONTyped = PaginatedLDAPSourcePropertyMappingListFromJSONTyped;
|
43
|
+
function PaginatedLDAPSourcePropertyMappingListToJSON(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(LDAPSourcePropertyMapping_1.LDAPSourcePropertyMappingToJSON)),
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.PaginatedLDAPSourcePropertyMappingListToJSON = PaginatedLDAPSourcePropertyMappingListToJSON;
|
@@ -0,0 +1,43 @@
|
|
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 PatchedLDAPSourcePropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedLDAPSourcePropertyMappingRequest {
|
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 PatchedLDAPSourcePropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedLDAPSourcePropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedLDAPSourcePropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedLDAPSourcePropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedLDAPSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function PatchedLDAPSourcePropertyMappingRequestFromJSON(json: any): PatchedLDAPSourcePropertyMappingRequest;
|
42
|
+
export declare function PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPSourcePropertyMappingRequest;
|
43
|
+
export declare function PatchedLDAPSourcePropertyMappingRequestToJSON(value?: PatchedLDAPSourcePropertyMappingRequest | null): any;
|
@@ -0,0 +1,54 @@
|
|
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.PatchedLDAPSourcePropertyMappingRequestToJSON = exports.PatchedLDAPSourcePropertyMappingRequestFromJSONTyped = exports.PatchedLDAPSourcePropertyMappingRequestFromJSON = exports.instanceOfPatchedLDAPSourcePropertyMappingRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the PatchedLDAPSourcePropertyMappingRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfPatchedLDAPSourcePropertyMappingRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfPatchedLDAPSourcePropertyMappingRequest = instanceOfPatchedLDAPSourcePropertyMappingRequest;
|
26
|
+
function PatchedLDAPSourcePropertyMappingRequestFromJSON(json) {
|
27
|
+
return PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.PatchedLDAPSourcePropertyMappingRequestFromJSON = PatchedLDAPSourcePropertyMappingRequestFromJSON;
|
30
|
+
function PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(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.PatchedLDAPSourcePropertyMappingRequestFromJSONTyped = PatchedLDAPSourcePropertyMappingRequestFromJSONTyped;
|
41
|
+
function PatchedLDAPSourcePropertyMappingRequestToJSON(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.PatchedLDAPSourcePropertyMappingRequestToJSON = PatchedLDAPSourcePropertyMappingRequestToJSON;
|
@@ -15,12 +15,6 @@
|
|
15
15
|
* @interface PatchedUserOAuthSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserOAuthSourceConnectionRequest {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {number}
|
21
|
-
* @memberof PatchedUserOAuthSourceConnectionRequest
|
22
|
-
*/
|
23
|
-
user?: number;
|
24
18
|
/**
|
25
19
|
*
|
26
20
|
* @type {string}
|
@@ -32,7 +32,6 @@ function PatchedUserOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscri
|
|
32
32
|
return json;
|
33
33
|
}
|
34
34
|
return {
|
35
|
-
'user': !(0, runtime_1.exists)(json, 'user') ? undefined : json['user'],
|
36
35
|
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
37
36
|
'accessToken': !(0, runtime_1.exists)(json, 'access_token') ? undefined : json['access_token'],
|
38
37
|
};
|
@@ -46,7 +45,6 @@ function PatchedUserOAuthSourceConnectionRequestToJSON(value) {
|
|
46
45
|
return null;
|
47
46
|
}
|
48
47
|
return {
|
49
|
-
'user': value.user,
|
50
48
|
'identifier': value.identifier,
|
51
49
|
'access_token': value.accessToken,
|
52
50
|
};
|
@@ -15,12 +15,6 @@
|
|
15
15
|
* @interface PatchedUserSAMLSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserSAMLSourceConnectionRequest {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {number}
|
21
|
-
* @memberof PatchedUserSAMLSourceConnectionRequest
|
22
|
-
*/
|
23
|
-
user?: number;
|
24
18
|
/**
|
25
19
|
*
|
26
20
|
* @type {string}
|
@@ -32,7 +32,6 @@ function PatchedUserSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscrim
|
|
32
32
|
return json;
|
33
33
|
}
|
34
34
|
return {
|
35
|
-
'user': !(0, runtime_1.exists)(json, 'user') ? undefined : json['user'],
|
36
35
|
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
37
36
|
};
|
38
37
|
}
|
@@ -45,7 +44,6 @@ function PatchedUserSAMLSourceConnectionRequestToJSON(value) {
|
|
45
44
|
return null;
|
46
45
|
}
|
47
46
|
return {
|
48
|
-
'user': value.user,
|
49
47
|
'identifier': value.identifier,
|
50
48
|
};
|
51
49
|
}
|
@@ -36,16 +36,16 @@ export interface PlexSourceConnection {
|
|
36
36
|
readonly source: Source;
|
37
37
|
/**
|
38
38
|
*
|
39
|
-
* @type {
|
39
|
+
* @type {Date}
|
40
40
|
* @memberof PlexSourceConnection
|
41
41
|
*/
|
42
|
-
|
42
|
+
readonly created: Date;
|
43
43
|
/**
|
44
44
|
*
|
45
45
|
* @type {string}
|
46
46
|
* @memberof PlexSourceConnection
|
47
47
|
*/
|
48
|
-
|
48
|
+
identifier: string;
|
49
49
|
}
|
50
50
|
/**
|
51
51
|
* Check if a given object implements the PlexSourceConnection interface.
|
@@ -23,8 +23,8 @@ function instanceOfPlexSourceConnection(value) {
|
|
23
23
|
isInstance = isInstance && "pk" in value;
|
24
24
|
isInstance = isInstance && "user" in value;
|
25
25
|
isInstance = isInstance && "source" in value;
|
26
|
+
isInstance = isInstance && "created" in value;
|
26
27
|
isInstance = isInstance && "identifier" in value;
|
27
|
-
isInstance = isInstance && "plexToken" in value;
|
28
28
|
return isInstance;
|
29
29
|
}
|
30
30
|
exports.instanceOfPlexSourceConnection = instanceOfPlexSourceConnection;
|
@@ -40,8 +40,8 @@ function PlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
40
|
'pk': json['pk'],
|
41
41
|
'user': json['user'],
|
42
42
|
'source': (0, Source_1.SourceFromJSON)(json['source']),
|
43
|
+
'created': (new Date(json['created'])),
|
43
44
|
'identifier': json['identifier'],
|
44
|
-
'plexToken': json['plex_token'],
|
45
45
|
};
|
46
46
|
}
|
47
47
|
exports.PlexSourceConnectionFromJSONTyped = PlexSourceConnectionFromJSONTyped;
|
@@ -54,7 +54,6 @@ function PlexSourceConnectionToJSON(value) {
|
|
54
54
|
}
|
55
55
|
return {
|
56
56
|
'identifier': value.identifier,
|
57
|
-
'plex_token': value.plexToken,
|
58
57
|
};
|
59
58
|
}
|
60
59
|
exports.PlexSourceConnectionToJSON = PlexSourceConnectionToJSON;
|