@goauthentik/api 2025.10.0-rc1-1759934735 → 2025.10.0-rc1-1759955726
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 +0 -6
- package/dist/esm/models/PatchedPromptRequest.d.ts +0 -7
- package/dist/esm/models/PatchedPromptRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedPromptRequest.js +0 -3
- package/dist/esm/models/PatchedPromptRequest.js.map +1 -1
- package/dist/esm/models/Prompt.d.ts +4 -4
- package/dist/esm/models/Prompt.d.ts.map +1 -1
- package/dist/esm/models/Prompt.js +4 -3
- package/dist/esm/models/Prompt.js.map +1 -1
- package/dist/esm/models/PromptRequest.d.ts +0 -7
- package/dist/esm/models/PromptRequest.d.ts.map +1 -1
- package/dist/esm/models/PromptRequest.js +0 -3
- package/dist/esm/models/PromptRequest.js.map +1 -1
- package/dist/esm/models/index.d.ts +0 -6
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +0 -6
- package/dist/esm/models/index.js.map +1 -1
- package/dist/models/PatchedPromptRequest.d.ts +0 -7
- package/dist/models/PatchedPromptRequest.d.ts.map +1 -1
- package/dist/models/PatchedPromptRequest.js +0 -3
- package/dist/models/PatchedPromptRequest.js.map +1 -1
- package/dist/models/Prompt.d.ts +4 -4
- package/dist/models/Prompt.d.ts.map +1 -1
- package/dist/models/Prompt.js +4 -3
- package/dist/models/Prompt.js.map +1 -1
- package/dist/models/PromptRequest.d.ts +0 -7
- package/dist/models/PromptRequest.d.ts.map +1 -1
- package/dist/models/PromptRequest.js +0 -3
- package/dist/models/PromptRequest.js.map +1 -1
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +0 -6
- package/dist/models/index.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/models/PatchedPromptRequest.ts +0 -15
- package/src/models/Prompt.ts +12 -12
- package/src/models/PromptRequest.ts +0 -15
- package/src/models/index.ts +0 -6
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/models/PermissionRequest.d.ts +0 -39
- package/dist/esm/models/PermissionRequest.d.ts.map +0 -1
- package/dist/esm/models/PermissionRequest.js +0 -55
- package/dist/esm/models/PermissionRequest.js.map +0 -1
- package/dist/esm/models/PolicyRequest.d.ts +0 -39
- package/dist/esm/models/PolicyRequest.d.ts.map +0 -1
- package/dist/esm/models/PolicyRequest.js +0 -53
- package/dist/esm/models/PolicyRequest.js.map +0 -1
- package/dist/esm/models/ProviderRequest.d.ts +0 -57
- package/dist/esm/models/ProviderRequest.d.ts.map +0 -1
- package/dist/esm/models/ProviderRequest.js +0 -63
- package/dist/esm/models/ProviderRequest.js.map +0 -1
- package/dist/esm/models/ServiceConnectionRequest.d.ts +0 -39
- package/dist/esm/models/ServiceConnectionRequest.d.ts.map +0 -1
- package/dist/esm/models/ServiceConnectionRequest.js +0 -53
- package/dist/esm/models/ServiceConnectionRequest.js.map +0 -1
- package/dist/esm/models/SourceRequest.d.ts +0 -89
- package/dist/esm/models/SourceRequest.d.ts.map +0 -1
- package/dist/esm/models/SourceRequest.js +0 -73
- package/dist/esm/models/SourceRequest.js.map +0 -1
- package/dist/esm/models/StageRequest.d.ts +0 -40
- package/dist/esm/models/StageRequest.d.ts.map +0 -1
- package/dist/esm/models/StageRequest.js +0 -54
- package/dist/esm/models/StageRequest.js.map +0 -1
- package/dist/models/PermissionRequest.d.ts +0 -39
- package/dist/models/PermissionRequest.d.ts.map +0 -1
- package/dist/models/PermissionRequest.js +0 -55
- package/dist/models/PermissionRequest.js.map +0 -1
- package/dist/models/PolicyRequest.d.ts +0 -39
- package/dist/models/PolicyRequest.d.ts.map +0 -1
- package/dist/models/PolicyRequest.js +0 -53
- package/dist/models/PolicyRequest.js.map +0 -1
- package/dist/models/ProviderRequest.d.ts +0 -57
- package/dist/models/ProviderRequest.d.ts.map +0 -1
- package/dist/models/ProviderRequest.js +0 -63
- package/dist/models/ProviderRequest.js.map +0 -1
- package/dist/models/ServiceConnectionRequest.d.ts +0 -39
- package/dist/models/ServiceConnectionRequest.d.ts.map +0 -1
- package/dist/models/ServiceConnectionRequest.js +0 -53
- package/dist/models/ServiceConnectionRequest.js.map +0 -1
- package/dist/models/SourceRequest.d.ts +0 -89
- package/dist/models/SourceRequest.d.ts.map +0 -1
- package/dist/models/SourceRequest.js +0 -73
- package/dist/models/SourceRequest.js.map +0 -1
- package/dist/models/StageRequest.d.ts +0 -40
- package/dist/models/StageRequest.d.ts.map +0 -1
- package/dist/models/StageRequest.js +0 -54
- package/dist/models/StageRequest.js.map +0 -1
- package/src/models/PermissionRequest.ts +0 -75
- package/src/models/PolicyRequest.ts +0 -74
- package/src/models/ProviderRequest.ts +0 -100
- package/src/models/ServiceConnectionRequest.ts +0 -74
- package/src/models/SourceRequest.ts +0 -156
- package/src/models/StageRequest.ts +0 -82
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* authentik
|
|
6
|
-
* Making authentication simple.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
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.instanceOfSourceRequest = instanceOfSourceRequest;
|
|
17
|
-
exports.SourceRequestFromJSON = SourceRequestFromJSON;
|
|
18
|
-
exports.SourceRequestFromJSONTyped = SourceRequestFromJSONTyped;
|
|
19
|
-
exports.SourceRequestToJSON = SourceRequestToJSON;
|
|
20
|
-
exports.SourceRequestToJSONTyped = SourceRequestToJSONTyped;
|
|
21
|
-
const PolicyEngineMode_1 = require("./PolicyEngineMode");
|
|
22
|
-
const UserMatchingModeEnum_1 = require("./UserMatchingModeEnum");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the SourceRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfSourceRequest(value) {
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function SourceRequestFromJSON(json) {
|
|
34
|
-
return SourceRequestFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function SourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'name': json['name'],
|
|
42
|
-
'slug': json['slug'],
|
|
43
|
-
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
44
|
-
'authenticationFlow': json['authentication_flow'] == null ? undefined : json['authentication_flow'],
|
|
45
|
-
'enrollmentFlow': json['enrollment_flow'] == null ? undefined : json['enrollment_flow'],
|
|
46
|
-
'userPropertyMappings': json['user_property_mappings'] == null ? undefined : json['user_property_mappings'],
|
|
47
|
-
'groupPropertyMappings': json['group_property_mappings'] == null ? undefined : json['group_property_mappings'],
|
|
48
|
-
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
49
|
-
'userMatchingMode': json['user_matching_mode'] == null ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
50
|
-
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
function SourceRequestToJSON(json) {
|
|
54
|
-
return SourceRequestToJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
function SourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
'name': value['name'],
|
|
62
|
-
'slug': value['slug'],
|
|
63
|
-
'enabled': value['enabled'],
|
|
64
|
-
'authentication_flow': value['authenticationFlow'],
|
|
65
|
-
'enrollment_flow': value['enrollmentFlow'],
|
|
66
|
-
'user_property_mappings': value['userPropertyMappings'],
|
|
67
|
-
'group_property_mappings': value['groupPropertyMappings'],
|
|
68
|
-
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value['policyEngineMode']),
|
|
69
|
-
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value['userMatchingMode']),
|
|
70
|
-
'user_path_template': value['userPathTemplate'],
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
//# sourceMappingURL=SourceRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SourceRequest.js","sourceRoot":"","sources":["../../src/models/SourceRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* authentik
|
|
3
|
-
* Making authentication simple.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
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 { FlowSetRequest } from './FlowSetRequest';
|
|
13
|
-
/**
|
|
14
|
-
* Stage Serializer
|
|
15
|
-
* @export
|
|
16
|
-
* @interface StageRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface StageRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof StageRequest
|
|
23
|
-
*/
|
|
24
|
-
name: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<FlowSetRequest>}
|
|
28
|
-
* @memberof StageRequest
|
|
29
|
-
*/
|
|
30
|
-
flowSet?: Array<FlowSetRequest>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the StageRequest interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfStageRequest(value: object): value is StageRequest;
|
|
36
|
-
export declare function StageRequestFromJSON(json: any): StageRequest;
|
|
37
|
-
export declare function StageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StageRequest;
|
|
38
|
-
export declare function StageRequestToJSON(json: any): StageRequest;
|
|
39
|
-
export declare function StageRequestToJSONTyped(value?: StageRequest | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
-
//# sourceMappingURL=StageRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StageRequest.d.ts","sourceRoot":"","sources":["../../src/models/StageRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQvD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAG3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAS/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9G"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* authentik
|
|
6
|
-
* Making authentication simple.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
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.instanceOfStageRequest = instanceOfStageRequest;
|
|
17
|
-
exports.StageRequestFromJSON = StageRequestFromJSON;
|
|
18
|
-
exports.StageRequestFromJSONTyped = StageRequestFromJSONTyped;
|
|
19
|
-
exports.StageRequestToJSON = StageRequestToJSON;
|
|
20
|
-
exports.StageRequestToJSONTyped = StageRequestToJSONTyped;
|
|
21
|
-
const FlowSetRequest_1 = require("./FlowSetRequest");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the StageRequest interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfStageRequest(value) {
|
|
26
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function StageRequestFromJSON(json) {
|
|
31
|
-
return StageRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function StageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'name': json['name'],
|
|
39
|
-
'flowSet': json['flow_set'] == null ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function StageRequestToJSON(json) {
|
|
43
|
-
return StageRequestToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function StageRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'name': value['name'],
|
|
51
|
-
'flow_set': value['flowSet'] == null ? undefined : (value['flowSet'].map(FlowSetRequest_1.FlowSetRequestToJSON)),
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=StageRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StageRequest.js","sourceRoot":"","sources":["../../src/models/StageRequest.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkCH,wDAGC;AAED,oDAEC;AAED,8DASC;AAED,gDAEC;AAED,0DAUC;AAhED,qDAK0B;AAsB1B;;GAEG;AACH,SAAgB,sBAAsB,CAAC,KAAa;IAChD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,uCAAsB,CAAC,CAAC;KACnH,CAAC;AACN,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CAAC,KAA2B,EAAE,sBAA+B,KAAK;IACrG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,qCAAoB,CAAC,CAAC;KAClH,CAAC;AACN,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* authentik
|
|
5
|
-
* Making authentication simple.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
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 { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* Global permission
|
|
18
|
-
* @export
|
|
19
|
-
* @interface PermissionRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface PermissionRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PermissionRequest
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PermissionRequest
|
|
32
|
-
*/
|
|
33
|
-
codename: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the PermissionRequest interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfPermissionRequest(value: object): value is PermissionRequest {
|
|
40
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
-
if (!('codename' in value) || value['codename'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function PermissionRequestFromJSON(json: any): PermissionRequest {
|
|
46
|
-
return PermissionRequestFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function PermissionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionRequest {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'name': json['name'],
|
|
56
|
-
'codename': json['codename'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PermissionRequestToJSON(json: any): PermissionRequest {
|
|
61
|
-
return PermissionRequestToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PermissionRequestToJSONTyped(value?: PermissionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'name': value['name'],
|
|
72
|
-
'codename': value['codename'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* authentik
|
|
5
|
-
* Making authentication simple.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
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 { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* Policy Serializer
|
|
18
|
-
* @export
|
|
19
|
-
* @interface PolicyRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface PolicyRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PolicyRequest
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof PolicyRequest
|
|
32
|
-
*/
|
|
33
|
-
executionLogging?: boolean;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the PolicyRequest interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfPolicyRequest(value: object): value is PolicyRequest {
|
|
40
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function PolicyRequestFromJSON(json: any): PolicyRequest {
|
|
45
|
-
return PolicyRequestFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export function PolicyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyRequest {
|
|
49
|
-
if (json == null) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
|
|
54
|
-
'name': json['name'],
|
|
55
|
-
'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function PolicyRequestToJSON(json: any): PolicyRequest {
|
|
60
|
-
return PolicyRequestToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function PolicyRequestToJSONTyped(value?: PolicyRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'name': value['name'],
|
|
71
|
-
'execution_logging': value['executionLogging'],
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* authentik
|
|
5
|
-
* Making authentication simple.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
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 { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* Provider Serializer
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ProviderRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface ProviderRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ProviderRequest
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* Flow used for authentication when the associated application is accessed by an un-authenticated user.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ProviderRequest
|
|
32
|
-
*/
|
|
33
|
-
authenticationFlow?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
* Flow used when authorizing this provider.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ProviderRequest
|
|
38
|
-
*/
|
|
39
|
-
authorizationFlow: string;
|
|
40
|
-
/**
|
|
41
|
-
* Flow used ending the session from a provider.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof ProviderRequest
|
|
44
|
-
*/
|
|
45
|
-
invalidationFlow: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {Array<string>}
|
|
49
|
-
* @memberof ProviderRequest
|
|
50
|
-
*/
|
|
51
|
-
propertyMappings?: Array<string>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the ProviderRequest interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfProviderRequest(value: object): value is ProviderRequest {
|
|
58
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
59
|
-
if (!('authorizationFlow' in value) || value['authorizationFlow'] === undefined) return false;
|
|
60
|
-
if (!('invalidationFlow' in value) || value['invalidationFlow'] === undefined) return false;
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function ProviderRequestFromJSON(json: any): ProviderRequest {
|
|
65
|
-
return ProviderRequestFromJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function ProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderRequest {
|
|
69
|
-
if (json == null) {
|
|
70
|
-
return json;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'name': json['name'],
|
|
75
|
-
'authenticationFlow': json['authentication_flow'] == null ? undefined : json['authentication_flow'],
|
|
76
|
-
'authorizationFlow': json['authorization_flow'],
|
|
77
|
-
'invalidationFlow': json['invalidation_flow'],
|
|
78
|
-
'propertyMappings': json['property_mappings'] == null ? undefined : json['property_mappings'],
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function ProviderRequestToJSON(json: any): ProviderRequest {
|
|
83
|
-
return ProviderRequestToJSONTyped(json, false);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function ProviderRequestToJSONTyped(value?: ProviderRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
87
|
-
if (value == null) {
|
|
88
|
-
return value;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
return {
|
|
92
|
-
|
|
93
|
-
'name': value['name'],
|
|
94
|
-
'authentication_flow': value['authenticationFlow'],
|
|
95
|
-
'authorization_flow': value['authorizationFlow'],
|
|
96
|
-
'invalidation_flow': value['invalidationFlow'],
|
|
97
|
-
'property_mappings': value['propertyMappings'],
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* authentik
|
|
5
|
-
* Making authentication simple.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
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 { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* ServiceConnection Serializer
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ServiceConnectionRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface ServiceConnectionRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ServiceConnectionRequest
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* If enabled, use the local connection. Required Docker socket/Kubernetes Integration
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof ServiceConnectionRequest
|
|
32
|
-
*/
|
|
33
|
-
local?: boolean;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the ServiceConnectionRequest interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfServiceConnectionRequest(value: object): value is ServiceConnectionRequest {
|
|
40
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ServiceConnectionRequestFromJSON(json: any): ServiceConnectionRequest {
|
|
45
|
-
return ServiceConnectionRequestFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export function ServiceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceConnectionRequest {
|
|
49
|
-
if (json == null) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
|
|
54
|
-
'name': json['name'],
|
|
55
|
-
'local': json['local'] == null ? undefined : json['local'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ServiceConnectionRequestToJSON(json: any): ServiceConnectionRequest {
|
|
60
|
-
return ServiceConnectionRequestToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ServiceConnectionRequestToJSONTyped(value?: ServiceConnectionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'name': value['name'],
|
|
71
|
-
'local': value['local'],
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* authentik
|
|
5
|
-
* Making authentication simple.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
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 { mapValues } from '../runtime';
|
|
16
|
-
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
17
|
-
import {
|
|
18
|
-
PolicyEngineModeFromJSON,
|
|
19
|
-
PolicyEngineModeFromJSONTyped,
|
|
20
|
-
PolicyEngineModeToJSON,
|
|
21
|
-
PolicyEngineModeToJSONTyped,
|
|
22
|
-
} from './PolicyEngineMode';
|
|
23
|
-
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
24
|
-
import {
|
|
25
|
-
UserMatchingModeEnumFromJSON,
|
|
26
|
-
UserMatchingModeEnumFromJSONTyped,
|
|
27
|
-
UserMatchingModeEnumToJSON,
|
|
28
|
-
UserMatchingModeEnumToJSONTyped,
|
|
29
|
-
} from './UserMatchingModeEnum';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Source Serializer
|
|
33
|
-
* @export
|
|
34
|
-
* @interface SourceRequest
|
|
35
|
-
*/
|
|
36
|
-
export interface SourceRequest {
|
|
37
|
-
/**
|
|
38
|
-
* Source's display Name.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof SourceRequest
|
|
41
|
-
*/
|
|
42
|
-
name: string;
|
|
43
|
-
/**
|
|
44
|
-
* Internal source name, used in URLs.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof SourceRequest
|
|
47
|
-
*/
|
|
48
|
-
slug: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {boolean}
|
|
52
|
-
* @memberof SourceRequest
|
|
53
|
-
*/
|
|
54
|
-
enabled?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Flow to use when authenticating existing users.
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof SourceRequest
|
|
59
|
-
*/
|
|
60
|
-
authenticationFlow?: string | null;
|
|
61
|
-
/**
|
|
62
|
-
* Flow to use when enrolling new users.
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof SourceRequest
|
|
65
|
-
*/
|
|
66
|
-
enrollmentFlow?: string | null;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {Array<string>}
|
|
70
|
-
* @memberof SourceRequest
|
|
71
|
-
*/
|
|
72
|
-
userPropertyMappings?: Array<string>;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {Array<string>}
|
|
76
|
-
* @memberof SourceRequest
|
|
77
|
-
*/
|
|
78
|
-
groupPropertyMappings?: Array<string>;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {PolicyEngineMode}
|
|
82
|
-
* @memberof SourceRequest
|
|
83
|
-
*/
|
|
84
|
-
policyEngineMode?: PolicyEngineMode;
|
|
85
|
-
/**
|
|
86
|
-
* How the source determines if an existing user should be authenticated or a new user enrolled.
|
|
87
|
-
* @type {UserMatchingModeEnum}
|
|
88
|
-
* @memberof SourceRequest
|
|
89
|
-
*/
|
|
90
|
-
userMatchingMode?: UserMatchingModeEnum;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof SourceRequest
|
|
95
|
-
*/
|
|
96
|
-
userPathTemplate?: string;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Check if a given object implements the SourceRequest interface.
|
|
103
|
-
*/
|
|
104
|
-
export function instanceOfSourceRequest(value: object): value is SourceRequest {
|
|
105
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
106
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
107
|
-
return true;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export function SourceRequestFromJSON(json: any): SourceRequest {
|
|
111
|
-
return SourceRequestFromJSONTyped(json, false);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export function SourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceRequest {
|
|
115
|
-
if (json == null) {
|
|
116
|
-
return json;
|
|
117
|
-
}
|
|
118
|
-
return {
|
|
119
|
-
|
|
120
|
-
'name': json['name'],
|
|
121
|
-
'slug': json['slug'],
|
|
122
|
-
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
123
|
-
'authenticationFlow': json['authentication_flow'] == null ? undefined : json['authentication_flow'],
|
|
124
|
-
'enrollmentFlow': json['enrollment_flow'] == null ? undefined : json['enrollment_flow'],
|
|
125
|
-
'userPropertyMappings': json['user_property_mappings'] == null ? undefined : json['user_property_mappings'],
|
|
126
|
-
'groupPropertyMappings': json['group_property_mappings'] == null ? undefined : json['group_property_mappings'],
|
|
127
|
-
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
128
|
-
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
129
|
-
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export function SourceRequestToJSON(json: any): SourceRequest {
|
|
134
|
-
return SourceRequestToJSONTyped(json, false);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export function SourceRequestToJSONTyped(value?: SourceRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
138
|
-
if (value == null) {
|
|
139
|
-
return value;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
return {
|
|
143
|
-
|
|
144
|
-
'name': value['name'],
|
|
145
|
-
'slug': value['slug'],
|
|
146
|
-
'enabled': value['enabled'],
|
|
147
|
-
'authentication_flow': value['authenticationFlow'],
|
|
148
|
-
'enrollment_flow': value['enrollmentFlow'],
|
|
149
|
-
'user_property_mappings': value['userPropertyMappings'],
|
|
150
|
-
'group_property_mappings': value['groupPropertyMappings'],
|
|
151
|
-
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
152
|
-
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
153
|
-
'user_path_template': value['userPathTemplate'],
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
|