@goauthentik/api 2024.6.3-1723206419 → 2024.6.3-1723468407
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 +1 -0
- package/dist/apis/PropertymappingsApi.d.ts +105 -105
- package/dist/apis/PropertymappingsApi.js +175 -175
- package/dist/esm/apis/PropertymappingsApi.d.ts +105 -105
- package/dist/esm/apis/PropertymappingsApi.js +175 -175
- package/dist/esm/models/LicenseFlagsEnum.d.ts +24 -0
- package/dist/esm/models/LicenseFlagsEnum.js +31 -0
- package/dist/esm/models/LicenseSummary.d.ts +7 -0
- package/dist/esm/models/LicenseSummary.js +4 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/LicenseFlagsEnum.d.ts +24 -0
- package/dist/models/LicenseFlagsEnum.js +37 -0
- package/dist/models/LicenseSummary.d.ts +7 -0
- package/dist/models/LicenseSummary.js +4 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +210 -210
- package/src/models/LicenseFlagsEnum.ts +39 -0
- package/src/models/LicenseSummary.ts +15 -0
- package/src/models/index.ts +1 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.6.3
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const LicenseFlagsEnum = {
|
|
21
|
+
Trial: 'trial',
|
|
22
|
+
NonProduction: 'non_production',
|
|
23
|
+
UnknownDefaultOpenApi: '11184809'
|
|
24
|
+
} as const;
|
|
25
|
+
export type LicenseFlagsEnum = typeof LicenseFlagsEnum[keyof typeof LicenseFlagsEnum];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function LicenseFlagsEnumFromJSON(json: any): LicenseFlagsEnum {
|
|
29
|
+
return LicenseFlagsEnumFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function LicenseFlagsEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenseFlagsEnum {
|
|
33
|
+
return json as LicenseFlagsEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function LicenseFlagsEnumToJSON(value?: LicenseFlagsEnum | null): any {
|
|
37
|
+
return value as any;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LicenseFlagsEnum } from './LicenseFlagsEnum';
|
|
17
|
+
import {
|
|
18
|
+
LicenseFlagsEnumFromJSON,
|
|
19
|
+
LicenseFlagsEnumFromJSONTyped,
|
|
20
|
+
LicenseFlagsEnumToJSON,
|
|
21
|
+
} from './LicenseFlagsEnum';
|
|
16
22
|
import type { LicenseSummaryStatusEnum } from './LicenseSummaryStatusEnum';
|
|
17
23
|
import {
|
|
18
24
|
LicenseSummaryStatusEnumFromJSON,
|
|
@@ -50,6 +56,12 @@ export interface LicenseSummary {
|
|
|
50
56
|
* @memberof LicenseSummary
|
|
51
57
|
*/
|
|
52
58
|
latestValid: Date;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Array<LicenseFlagsEnum>}
|
|
62
|
+
* @memberof LicenseSummary
|
|
63
|
+
*/
|
|
64
|
+
licenseFlags: Array<LicenseFlagsEnum>;
|
|
53
65
|
}
|
|
54
66
|
|
|
55
67
|
/**
|
|
@@ -61,6 +73,7 @@ export function instanceOfLicenseSummary(value: object): boolean {
|
|
|
61
73
|
isInstance = isInstance && "externalUsers" in value;
|
|
62
74
|
isInstance = isInstance && "status" in value;
|
|
63
75
|
isInstance = isInstance && "latestValid" in value;
|
|
76
|
+
isInstance = isInstance && "licenseFlags" in value;
|
|
64
77
|
|
|
65
78
|
return isInstance;
|
|
66
79
|
}
|
|
@@ -79,6 +92,7 @@ export function LicenseSummaryFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
79
92
|
'externalUsers': json['external_users'],
|
|
80
93
|
'status': LicenseSummaryStatusEnumFromJSON(json['status']),
|
|
81
94
|
'latestValid': (new Date(json['latest_valid'])),
|
|
95
|
+
'licenseFlags': ((json['license_flags'] as Array<any>).map(LicenseFlagsEnumFromJSON)),
|
|
82
96
|
};
|
|
83
97
|
}
|
|
84
98
|
|
|
@@ -95,6 +109,7 @@ export function LicenseSummaryToJSON(value?: LicenseSummary | null): any {
|
|
|
95
109
|
'external_users': value.externalUsers,
|
|
96
110
|
'status': LicenseSummaryStatusEnumToJSON(value.status),
|
|
97
111
|
'latest_valid': (value.latestValid.toISOString()),
|
|
112
|
+
'license_flags': ((value.licenseFlags as Array<any>).map(LicenseFlagsEnumToJSON)),
|
|
98
113
|
};
|
|
99
114
|
}
|
|
100
115
|
|
package/src/models/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export * from './LDAPSourcePropertyMapping';
|
|
|
188
188
|
export * from './LDAPSourcePropertyMappingRequest';
|
|
189
189
|
export * from './LDAPSourceRequest';
|
|
190
190
|
export * from './License';
|
|
191
|
+
export * from './LicenseFlagsEnum';
|
|
191
192
|
export * from './LicenseForecast';
|
|
192
193
|
export * from './LicenseRequest';
|
|
193
194
|
export * from './LicenseSummary';
|