@goauthentik/api 2024.6.1-1721909829 → 2024.6.1-1721916595
Sign up to get free protection for your applications and to get access to all the features.
- 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/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/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/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/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/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/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
@@ -1,88 +0,0 @@
|
|
1
|
-
/* tslint:disable */
|
2
|
-
/* eslint-disable */
|
3
|
-
/**
|
4
|
-
* authentik
|
5
|
-
* Making authentication simple.
|
6
|
-
*
|
7
|
-
* The version of the OpenAPI document: 2024.6.1
|
8
|
-
* Contact: hello@goauthentik.io
|
9
|
-
*
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
-
* https://openapi-generator.tech
|
12
|
-
* Do not edit the class manually.
|
13
|
-
*/
|
14
|
-
|
15
|
-
import { exists, mapValues } from '../runtime';
|
16
|
-
import type { LDAPPropertyMapping } from './LDAPPropertyMapping';
|
17
|
-
import {
|
18
|
-
LDAPPropertyMappingFromJSON,
|
19
|
-
LDAPPropertyMappingFromJSONTyped,
|
20
|
-
LDAPPropertyMappingToJSON,
|
21
|
-
} from './LDAPPropertyMapping';
|
22
|
-
import type { Pagination } from './Pagination';
|
23
|
-
import {
|
24
|
-
PaginationFromJSON,
|
25
|
-
PaginationFromJSONTyped,
|
26
|
-
PaginationToJSON,
|
27
|
-
} from './Pagination';
|
28
|
-
|
29
|
-
/**
|
30
|
-
*
|
31
|
-
* @export
|
32
|
-
* @interface PaginatedLDAPPropertyMappingList
|
33
|
-
*/
|
34
|
-
export interface PaginatedLDAPPropertyMappingList {
|
35
|
-
/**
|
36
|
-
*
|
37
|
-
* @type {Pagination}
|
38
|
-
* @memberof PaginatedLDAPPropertyMappingList
|
39
|
-
*/
|
40
|
-
pagination: Pagination;
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {Array<LDAPPropertyMapping>}
|
44
|
-
* @memberof PaginatedLDAPPropertyMappingList
|
45
|
-
*/
|
46
|
-
results: Array<LDAPPropertyMapping>;
|
47
|
-
}
|
48
|
-
|
49
|
-
/**
|
50
|
-
* Check if a given object implements the PaginatedLDAPPropertyMappingList interface.
|
51
|
-
*/
|
52
|
-
export function instanceOfPaginatedLDAPPropertyMappingList(value: object): boolean {
|
53
|
-
let isInstance = true;
|
54
|
-
isInstance = isInstance && "pagination" in value;
|
55
|
-
isInstance = isInstance && "results" in value;
|
56
|
-
|
57
|
-
return isInstance;
|
58
|
-
}
|
59
|
-
|
60
|
-
export function PaginatedLDAPPropertyMappingListFromJSON(json: any): PaginatedLDAPPropertyMappingList {
|
61
|
-
return PaginatedLDAPPropertyMappingListFromJSONTyped(json, false);
|
62
|
-
}
|
63
|
-
|
64
|
-
export function PaginatedLDAPPropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedLDAPPropertyMappingList {
|
65
|
-
if ((json === undefined) || (json === null)) {
|
66
|
-
return json;
|
67
|
-
}
|
68
|
-
return {
|
69
|
-
|
70
|
-
'pagination': PaginationFromJSON(json['pagination']),
|
71
|
-
'results': ((json['results'] as Array<any>).map(LDAPPropertyMappingFromJSON)),
|
72
|
-
};
|
73
|
-
}
|
74
|
-
|
75
|
-
export function PaginatedLDAPPropertyMappingListToJSON(value?: PaginatedLDAPPropertyMappingList | null): any {
|
76
|
-
if (value === undefined) {
|
77
|
-
return undefined;
|
78
|
-
}
|
79
|
-
if (value === null) {
|
80
|
-
return null;
|
81
|
-
}
|
82
|
-
return {
|
83
|
-
|
84
|
-
'pagination': PaginationToJSON(value.pagination),
|
85
|
-
'results': ((value.results as Array<any>).map(LDAPPropertyMappingToJSON)),
|
86
|
-
};
|
87
|
-
}
|
88
|
-
|