@goauthentik/api 2023.10.5-1703290840 → 2023.10.5-1704381512
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 +15 -0
- package/dist/apis/PropertymappingsApi.d.ts +85 -1
- package/dist/apis/PropertymappingsApi.js +240 -0
- package/dist/apis/ProvidersApi.d.ts +85 -1
- package/dist/apis/ProvidersApi.js +240 -0
- package/dist/apis/RacApi.d.ts +103 -0
- package/dist/apis/RacApi.js +276 -0
- package/dist/apis/RbacApi.d.ts +6 -0
- package/dist/apis/RbacApi.js +6 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts +85 -1
- package/dist/esm/apis/PropertymappingsApi.js +241 -1
- package/dist/esm/apis/ProvidersApi.d.ts +85 -1
- package/dist/esm/apis/ProvidersApi.js +241 -1
- package/dist/esm/apis/RacApi.d.ts +103 -0
- package/dist/esm/apis/RacApi.js +272 -0
- package/dist/esm/apis/RbacApi.d.ts +6 -0
- package/dist/esm/apis/RbacApi.js +6 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AppEnum.d.ts +2 -0
- package/dist/esm/models/AppEnum.js +2 -0
- package/dist/esm/models/AuthModeEnum.d.ts +25 -0
- package/dist/esm/models/AuthModeEnum.js +32 -0
- package/dist/esm/models/Endpoint.d.ts +89 -0
- package/dist/esm/models/Endpoint.js +69 -0
- package/dist/esm/models/EndpointRequest.d.ts +69 -0
- package/dist/esm/models/EndpointRequest.js +62 -0
- package/dist/esm/models/ModelEnum.d.ts +6 -0
- package/dist/esm/models/ModelEnum.js +6 -0
- package/dist/esm/models/ModelRequest.d.ts +3 -0
- package/dist/esm/models/ModelRequest.js +5 -0
- package/dist/esm/models/OutpostTypeEnum.d.ts +2 -0
- package/dist/esm/models/OutpostTypeEnum.js +2 -0
- package/dist/esm/models/PaginatedEndpointList.d.ts +39 -0
- package/dist/esm/models/PaginatedEndpointList.js +48 -0
- package/dist/esm/models/PaginatedRACPropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedRACPropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedRACProviderList.d.ts +39 -0
- package/dist/esm/models/PaginatedRACProviderList.js +48 -0
- package/dist/esm/models/PatchedEndpointRequest.d.ts +69 -0
- package/dist/esm/models/PatchedEndpointRequest.js +57 -0
- package/dist/esm/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
- package/dist/esm/models/PatchedRACPropertyMappingRequest.js +49 -0
- package/dist/esm/models/PatchedRACProviderRequest.d.ts +61 -0
- package/dist/esm/models/PatchedRACProviderRequest.js +53 -0
- package/dist/esm/models/ProtocolEnum.d.ts +27 -0
- package/dist/esm/models/ProtocolEnum.js +34 -0
- package/dist/esm/models/ProviderModelEnum.d.ts +2 -0
- package/dist/esm/models/ProviderModelEnum.js +2 -0
- package/dist/esm/models/RACPropertyMapping.d.ts +81 -0
- package/dist/esm/models/RACPropertyMapping.js +61 -0
- package/dist/esm/models/RACPropertyMappingRequest.d.ts +51 -0
- package/dist/esm/models/RACPropertyMappingRequest.js +51 -0
- package/dist/esm/models/RACProvider.d.ts +121 -0
- package/dist/esm/models/RACProvider.js +75 -0
- package/dist/esm/models/RACProviderRequest.d.ts +61 -0
- package/dist/esm/models/RACProviderRequest.js +55 -0
- package/dist/esm/models/TypeCreate.d.ts +6 -0
- package/dist/esm/models/TypeCreate.js +3 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/AppEnum.d.ts +2 -0
- package/dist/models/AppEnum.js +2 -0
- package/dist/models/AuthModeEnum.d.ts +25 -0
- package/dist/models/AuthModeEnum.js +38 -0
- package/dist/models/Endpoint.d.ts +89 -0
- package/dist/models/Endpoint.js +76 -0
- package/dist/models/EndpointRequest.d.ts +69 -0
- package/dist/models/EndpointRequest.js +69 -0
- package/dist/models/ModelEnum.d.ts +6 -0
- package/dist/models/ModelEnum.js +6 -0
- package/dist/models/ModelRequest.d.ts +3 -0
- package/dist/models/ModelRequest.js +5 -0
- package/dist/models/OutpostTypeEnum.d.ts +2 -0
- package/dist/models/OutpostTypeEnum.js +2 -0
- package/dist/models/PaginatedEndpointList.d.ts +39 -0
- package/dist/models/PaginatedEndpointList.js +55 -0
- package/dist/models/PaginatedRACPropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedRACPropertyMappingList.js +55 -0
- package/dist/models/PaginatedRACProviderList.d.ts +39 -0
- package/dist/models/PaginatedRACProviderList.js +55 -0
- package/dist/models/PatchedEndpointRequest.d.ts +69 -0
- package/dist/models/PatchedEndpointRequest.js +64 -0
- package/dist/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
- package/dist/models/PatchedRACPropertyMappingRequest.js +56 -0
- package/dist/models/PatchedRACProviderRequest.d.ts +61 -0
- package/dist/models/PatchedRACProviderRequest.js +60 -0
- package/dist/models/ProtocolEnum.d.ts +27 -0
- package/dist/models/ProtocolEnum.js +40 -0
- package/dist/models/ProviderModelEnum.d.ts +2 -0
- package/dist/models/ProviderModelEnum.js +2 -0
- package/dist/models/RACPropertyMapping.d.ts +81 -0
- package/dist/models/RACPropertyMapping.js +68 -0
- package/dist/models/RACPropertyMappingRequest.d.ts +51 -0
- package/dist/models/RACPropertyMappingRequest.js +58 -0
- package/dist/models/RACProvider.d.ts +121 -0
- package/dist/models/RACProvider.js +82 -0
- package/dist/models/RACProviderRequest.d.ts +61 -0
- package/dist/models/RACProviderRequest.js +62 -0
- package/dist/models/TypeCreate.d.ts +6 -0
- package/dist/models/TypeCreate.js +3 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +317 -0
- package/src/apis/ProvidersApi.ts +317 -0
- package/src/apis/RacApi.ts +358 -0
- package/src/apis/RbacApi.ts +6 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AppEnum.ts +2 -0
- package/src/models/AuthModeEnum.ts +40 -0
- package/src/models/Endpoint.ts +162 -0
- package/src/models/EndpointRequest.ts +131 -0
- package/src/models/ModelEnum.ts +6 -0
- package/src/models/ModelRequest.ts +12 -1
- package/src/models/OutpostTypeEnum.ts +2 -0
- package/src/models/PaginatedEndpointList.ts +88 -0
- package/src/models/PaginatedRACPropertyMappingList.ts +88 -0
- package/src/models/PaginatedRACProviderList.ts +88 -0
- package/src/models/PatchedEndpointRequest.ts +126 -0
- package/src/models/PatchedRACPropertyMappingRequest.ts +89 -0
- package/src/models/PatchedRACProviderRequest.ts +105 -0
- package/src/models/ProtocolEnum.ts +42 -0
- package/src/models/ProviderModelEnum.ts +2 -0
- package/src/models/RACPropertyMapping.ts +131 -0
- package/src/models/RACPropertyMappingRequest.ts +91 -0
- package/src/models/RACProvider.ts +187 -0
- package/src/models/RACProviderRequest.ts +107 -0
- package/src/models/TypeCreate.ts +8 -0
- package/src/models/index.ts +14 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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
|
+
* RACPropertyMapping Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RACPropertyMapping
|
|
16
|
+
*/
|
|
17
|
+
export interface RACPropertyMapping {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RACPropertyMapping
|
|
22
|
+
*/
|
|
23
|
+
readonly pk: string;
|
|
24
|
+
/**
|
|
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
|
+
* @type {string}
|
|
27
|
+
* @memberof RACPropertyMapping
|
|
28
|
+
*/
|
|
29
|
+
managed?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RACPropertyMapping
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RACPropertyMapping
|
|
40
|
+
*/
|
|
41
|
+
expression?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Get object's component so that we know how to edit the object
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RACPropertyMapping
|
|
46
|
+
*/
|
|
47
|
+
readonly component: string;
|
|
48
|
+
/**
|
|
49
|
+
* Return object's verbose_name
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RACPropertyMapping
|
|
52
|
+
*/
|
|
53
|
+
readonly verboseName: string;
|
|
54
|
+
/**
|
|
55
|
+
* Return object's plural verbose_name
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RACPropertyMapping
|
|
58
|
+
*/
|
|
59
|
+
readonly verboseNamePlural: string;
|
|
60
|
+
/**
|
|
61
|
+
* Return internal model name
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof RACPropertyMapping
|
|
64
|
+
*/
|
|
65
|
+
readonly metaModelName: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {{ [key: string]: any; }}
|
|
69
|
+
* @memberof RACPropertyMapping
|
|
70
|
+
*/
|
|
71
|
+
staticSettings: {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the RACPropertyMapping interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfRACPropertyMapping(value: object): boolean;
|
|
79
|
+
export declare function RACPropertyMappingFromJSON(json: any): RACPropertyMapping;
|
|
80
|
+
export declare function RACPropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACPropertyMapping;
|
|
81
|
+
export declare function RACPropertyMappingToJSON(value?: RACPropertyMapping | null): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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.RACPropertyMappingToJSON = exports.RACPropertyMappingFromJSONTyped = exports.RACPropertyMappingFromJSON = exports.instanceOfRACPropertyMapping = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the RACPropertyMapping interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfRACPropertyMapping(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "pk" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "component" in value;
|
|
26
|
+
isInstance = isInstance && "verboseName" in value;
|
|
27
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
|
28
|
+
isInstance = isInstance && "metaModelName" in value;
|
|
29
|
+
isInstance = isInstance && "staticSettings" in value;
|
|
30
|
+
return isInstance;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfRACPropertyMapping = instanceOfRACPropertyMapping;
|
|
33
|
+
function RACPropertyMappingFromJSON(json) {
|
|
34
|
+
return RACPropertyMappingFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.RACPropertyMappingFromJSON = RACPropertyMappingFromJSON;
|
|
37
|
+
function RACPropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'pk': json['pk'],
|
|
43
|
+
'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
|
|
44
|
+
'name': json['name'],
|
|
45
|
+
'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
|
|
46
|
+
'component': json['component'],
|
|
47
|
+
'verboseName': json['verbose_name'],
|
|
48
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
49
|
+
'metaModelName': json['meta_model_name'],
|
|
50
|
+
'staticSettings': json['static_settings'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.RACPropertyMappingFromJSONTyped = RACPropertyMappingFromJSONTyped;
|
|
54
|
+
function RACPropertyMappingToJSON(value) {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'managed': value.managed,
|
|
63
|
+
'name': value.name,
|
|
64
|
+
'expression': value.expression,
|
|
65
|
+
'static_settings': value.staticSettings,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
exports.RACPropertyMappingToJSON = RACPropertyMappingToJSON;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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
|
+
* RACPropertyMapping Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RACPropertyMappingRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RACPropertyMappingRequest {
|
|
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 RACPropertyMappingRequest
|
|
22
|
+
*/
|
|
23
|
+
managed?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RACPropertyMappingRequest
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RACPropertyMappingRequest
|
|
34
|
+
*/
|
|
35
|
+
expression?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {{ [key: string]: any; }}
|
|
39
|
+
* @memberof RACPropertyMappingRequest
|
|
40
|
+
*/
|
|
41
|
+
staticSettings: {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the RACPropertyMappingRequest interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfRACPropertyMappingRequest(value: object): boolean;
|
|
49
|
+
export declare function RACPropertyMappingRequestFromJSON(json: any): RACPropertyMappingRequest;
|
|
50
|
+
export declare function RACPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACPropertyMappingRequest;
|
|
51
|
+
export declare function RACPropertyMappingRequestToJSON(value?: RACPropertyMappingRequest | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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.RACPropertyMappingRequestToJSON = exports.RACPropertyMappingRequestFromJSONTyped = exports.RACPropertyMappingRequestFromJSON = exports.instanceOfRACPropertyMappingRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the RACPropertyMappingRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfRACPropertyMappingRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "staticSettings" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfRACPropertyMappingRequest = instanceOfRACPropertyMappingRequest;
|
|
28
|
+
function RACPropertyMappingRequestFromJSON(json) {
|
|
29
|
+
return RACPropertyMappingRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.RACPropertyMappingRequestFromJSON = RACPropertyMappingRequestFromJSON;
|
|
32
|
+
function RACPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
|
|
40
|
+
'staticSettings': json['static_settings'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.RACPropertyMappingRequestFromJSONTyped = RACPropertyMappingRequestFromJSONTyped;
|
|
44
|
+
function RACPropertyMappingRequestToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'managed': value.managed,
|
|
53
|
+
'name': value.name,
|
|
54
|
+
'expression': value.expression,
|
|
55
|
+
'static_settings': value.staticSettings,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.RACPropertyMappingRequestToJSON = RACPropertyMappingRequestToJSON;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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
|
+
* RACProvider Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RACProvider
|
|
16
|
+
*/
|
|
17
|
+
export interface RACProvider {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RACProvider
|
|
22
|
+
*/
|
|
23
|
+
readonly pk: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RACProvider
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Flow used for authentication when the associated application is accessed by an un-authenticated user.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RACProvider
|
|
34
|
+
*/
|
|
35
|
+
authenticationFlow?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Flow used when authorizing this provider.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RACProvider
|
|
40
|
+
*/
|
|
41
|
+
authorizationFlow: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof RACProvider
|
|
46
|
+
*/
|
|
47
|
+
propertyMappings?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Get object component so that we know how to edit the object
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RACProvider
|
|
52
|
+
*/
|
|
53
|
+
readonly component: string;
|
|
54
|
+
/**
|
|
55
|
+
* Internal application name, used in URLs.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RACProvider
|
|
58
|
+
*/
|
|
59
|
+
readonly assignedApplicationSlug: string;
|
|
60
|
+
/**
|
|
61
|
+
* Application's display Name.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof RACProvider
|
|
64
|
+
*/
|
|
65
|
+
readonly assignedApplicationName: string;
|
|
66
|
+
/**
|
|
67
|
+
* Internal application name, used in URLs.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof RACProvider
|
|
70
|
+
*/
|
|
71
|
+
readonly assignedBackchannelApplicationSlug: string;
|
|
72
|
+
/**
|
|
73
|
+
* Application's display Name.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof RACProvider
|
|
76
|
+
*/
|
|
77
|
+
readonly assignedBackchannelApplicationName: string;
|
|
78
|
+
/**
|
|
79
|
+
* Return object's verbose_name
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof RACProvider
|
|
82
|
+
*/
|
|
83
|
+
readonly verboseName: string;
|
|
84
|
+
/**
|
|
85
|
+
* Return object's plural verbose_name
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof RACProvider
|
|
88
|
+
*/
|
|
89
|
+
readonly verboseNamePlural: string;
|
|
90
|
+
/**
|
|
91
|
+
* Return internal model name
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof RACProvider
|
|
94
|
+
*/
|
|
95
|
+
readonly metaModelName: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {any}
|
|
99
|
+
* @memberof RACProvider
|
|
100
|
+
*/
|
|
101
|
+
settings?: any | null;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {Array<string>}
|
|
105
|
+
* @memberof RACProvider
|
|
106
|
+
*/
|
|
107
|
+
readonly outpostSet: Array<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof RACProvider
|
|
112
|
+
*/
|
|
113
|
+
connectionExpiry?: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the RACProvider interface.
|
|
117
|
+
*/
|
|
118
|
+
export declare function instanceOfRACProvider(value: object): boolean;
|
|
119
|
+
export declare function RACProviderFromJSON(json: any): RACProvider;
|
|
120
|
+
export declare function RACProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACProvider;
|
|
121
|
+
export declare function RACProviderToJSON(value?: RACProvider | null): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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.RACProviderToJSON = exports.RACProviderFromJSONTyped = exports.RACProviderFromJSON = exports.instanceOfRACProvider = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the RACProvider interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfRACProvider(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "pk" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "authorizationFlow" in value;
|
|
26
|
+
isInstance = isInstance && "component" in value;
|
|
27
|
+
isInstance = isInstance && "assignedApplicationSlug" in value;
|
|
28
|
+
isInstance = isInstance && "assignedApplicationName" in value;
|
|
29
|
+
isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
|
|
30
|
+
isInstance = isInstance && "assignedBackchannelApplicationName" in value;
|
|
31
|
+
isInstance = isInstance && "verboseName" in value;
|
|
32
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
|
33
|
+
isInstance = isInstance && "metaModelName" in value;
|
|
34
|
+
isInstance = isInstance && "outpostSet" in value;
|
|
35
|
+
return isInstance;
|
|
36
|
+
}
|
|
37
|
+
exports.instanceOfRACProvider = instanceOfRACProvider;
|
|
38
|
+
function RACProviderFromJSON(json) {
|
|
39
|
+
return RACProviderFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
exports.RACProviderFromJSON = RACProviderFromJSON;
|
|
42
|
+
function RACProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if ((json === undefined) || (json === null)) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'pk': json['pk'],
|
|
48
|
+
'name': json['name'],
|
|
49
|
+
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
50
|
+
'authorizationFlow': json['authorization_flow'],
|
|
51
|
+
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
52
|
+
'component': json['component'],
|
|
53
|
+
'assignedApplicationSlug': json['assigned_application_slug'],
|
|
54
|
+
'assignedApplicationName': json['assigned_application_name'],
|
|
55
|
+
'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
|
|
56
|
+
'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
|
|
57
|
+
'verboseName': json['verbose_name'],
|
|
58
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
59
|
+
'metaModelName': json['meta_model_name'],
|
|
60
|
+
'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
|
|
61
|
+
'outpostSet': json['outpost_set'],
|
|
62
|
+
'connectionExpiry': !(0, runtime_1.exists)(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
exports.RACProviderFromJSONTyped = RACProviderFromJSONTyped;
|
|
66
|
+
function RACProviderToJSON(value) {
|
|
67
|
+
if (value === undefined) {
|
|
68
|
+
return undefined;
|
|
69
|
+
}
|
|
70
|
+
if (value === null) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'name': value.name,
|
|
75
|
+
'authentication_flow': value.authenticationFlow,
|
|
76
|
+
'authorization_flow': value.authorizationFlow,
|
|
77
|
+
'property_mappings': value.propertyMappings,
|
|
78
|
+
'settings': value.settings,
|
|
79
|
+
'connection_expiry': value.connectionExpiry,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
exports.RACProviderToJSON = RACProviderToJSON;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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
|
+
* RACProvider Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RACProviderRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RACProviderRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RACProviderRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Flow used for authentication when the associated application is accessed by an un-authenticated user.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RACProviderRequest
|
|
28
|
+
*/
|
|
29
|
+
authenticationFlow?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Flow used when authorizing this provider.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RACProviderRequest
|
|
34
|
+
*/
|
|
35
|
+
authorizationFlow: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof RACProviderRequest
|
|
40
|
+
*/
|
|
41
|
+
propertyMappings?: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {any}
|
|
45
|
+
* @memberof RACProviderRequest
|
|
46
|
+
*/
|
|
47
|
+
settings?: any | null;
|
|
48
|
+
/**
|
|
49
|
+
* Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RACProviderRequest
|
|
52
|
+
*/
|
|
53
|
+
connectionExpiry?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the RACProviderRequest interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfRACProviderRequest(value: object): boolean;
|
|
59
|
+
export declare function RACProviderRequestFromJSON(json: any): RACProviderRequest;
|
|
60
|
+
export declare function RACProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACProviderRequest;
|
|
61
|
+
export declare function RACProviderRequestToJSON(value?: RACProviderRequest | null): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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.RACProviderRequestToJSON = exports.RACProviderRequestFromJSONTyped = exports.RACProviderRequestFromJSON = exports.instanceOfRACProviderRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the RACProviderRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfRACProviderRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "authorizationFlow" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfRACProviderRequest = instanceOfRACProviderRequest;
|
|
28
|
+
function RACProviderRequestFromJSON(json) {
|
|
29
|
+
return RACProviderRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.RACProviderRequestFromJSON = RACProviderRequestFromJSON;
|
|
32
|
+
function RACProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
39
|
+
'authorizationFlow': json['authorization_flow'],
|
|
40
|
+
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
41
|
+
'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
|
|
42
|
+
'connectionExpiry': !(0, runtime_1.exists)(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.RACProviderRequestFromJSONTyped = RACProviderRequestFromJSONTyped;
|
|
46
|
+
function RACProviderRequestToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'name': value.name,
|
|
55
|
+
'authentication_flow': value.authenticationFlow,
|
|
56
|
+
'authorization_flow': value.authorizationFlow,
|
|
57
|
+
'property_mappings': value.propertyMappings,
|
|
58
|
+
'settings': value.settings,
|
|
59
|
+
'connection_expiry': value.connectionExpiry,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.RACProviderRequestToJSON = RACProviderRequestToJSON;
|
|
@@ -39,6 +39,12 @@ export interface TypeCreate {
|
|
|
39
39
|
* @memberof TypeCreate
|
|
40
40
|
*/
|
|
41
41
|
modelName: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof TypeCreate
|
|
46
|
+
*/
|
|
47
|
+
requiresEnterprise?: boolean;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* Check if a given object implements the TypeCreate interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.TypeCreateToJSON = exports.TypeCreateFromJSONTyped = exports.TypeCreateFromJSON = exports.instanceOfTypeCreate = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the TypeCreate interface.
|
|
19
20
|
*/
|
|
@@ -39,6 +40,7 @@ function TypeCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
'description': json['description'],
|
|
40
41
|
'component': json['component'],
|
|
41
42
|
'modelName': json['model_name'],
|
|
43
|
+
'requiresEnterprise': !(0, runtime_1.exists)(json, 'requires_enterprise') ? undefined : json['requires_enterprise'],
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
46
|
exports.TypeCreateFromJSONTyped = TypeCreateFromJSONTyped;
|
|
@@ -54,6 +56,7 @@ function TypeCreateToJSON(value) {
|
|
|
54
56
|
'description': value.description,
|
|
55
57
|
'component': value.component,
|
|
56
58
|
'model_name': value.modelName,
|
|
59
|
+
'requires_enterprise': value.requiresEnterprise,
|
|
57
60
|
};
|
|
58
61
|
}
|
|
59
62
|
exports.TypeCreateToJSON = TypeCreateToJSON;
|