@goauthentik/api 2023.10.7-1707321538 → 2023.10.7-1707933453
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 +4 -0
- package/dist/apis/RacApi.d.ts +75 -1
- package/dist/apis/RacApi.js +210 -0
- package/dist/esm/apis/RacApi.d.ts +75 -1
- package/dist/esm/apis/RacApi.js +211 -1
- package/dist/esm/models/AppEnum.d.ts +2 -2
- package/dist/esm/models/AppEnum.js +2 -2
- package/dist/esm/models/ConnectionToken.d.ts +64 -0
- package/dist/esm/models/ConnectionToken.js +56 -0
- package/dist/esm/models/ConnectionTokenRequest.d.ts +31 -0
- package/dist/esm/models/ConnectionTokenRequest.js +43 -0
- package/dist/esm/models/ModelEnum.d.ts +10 -10
- package/dist/esm/models/ModelEnum.js +10 -10
- package/dist/esm/models/PaginatedConnectionTokenList.d.ts +39 -0
- package/dist/esm/models/PaginatedConnectionTokenList.js +48 -0
- package/dist/esm/models/PatchedConnectionTokenRequest.d.ts +31 -0
- package/dist/esm/models/PatchedConnectionTokenRequest.js +43 -0
- package/dist/esm/models/PatchedRACProviderRequest.d.ts +6 -0
- package/dist/esm/models/PatchedRACProviderRequest.js +2 -0
- package/dist/esm/models/RACProvider.d.ts +6 -0
- package/dist/esm/models/RACProvider.js +2 -0
- package/dist/esm/models/RACProviderRequest.d.ts +6 -0
- package/dist/esm/models/RACProviderRequest.js +2 -0
- package/dist/esm/models/UserConsent.d.ts +6 -0
- package/dist/esm/models/UserConsent.js +2 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/AppEnum.d.ts +2 -2
- package/dist/models/AppEnum.js +2 -2
- package/dist/models/ConnectionToken.d.ts +64 -0
- package/dist/models/ConnectionToken.js +63 -0
- package/dist/models/ConnectionTokenRequest.d.ts +31 -0
- package/dist/models/ConnectionTokenRequest.js +50 -0
- package/dist/models/ModelEnum.d.ts +10 -10
- package/dist/models/ModelEnum.js +10 -10
- package/dist/models/PaginatedConnectionTokenList.d.ts +39 -0
- package/dist/models/PaginatedConnectionTokenList.js +55 -0
- package/dist/models/PatchedConnectionTokenRequest.d.ts +31 -0
- package/dist/models/PatchedConnectionTokenRequest.js +50 -0
- package/dist/models/PatchedRACProviderRequest.d.ts +6 -0
- package/dist/models/PatchedRACProviderRequest.js +2 -0
- package/dist/models/RACProvider.d.ts +6 -0
- package/dist/models/RACProvider.js +2 -0
- package/dist/models/RACProviderRequest.d.ts +6 -0
- package/dist/models/RACProviderRequest.js +2 -0
- package/dist/models/UserConsent.d.ts +6 -0
- package/dist/models/UserConsent.js +2 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/RacApi.ts +281 -0
- package/src/models/AppEnum.ts +2 -2
- package/src/models/ConnectionToken.ts +125 -0
- package/src/models/ConnectionTokenRequest.ts +66 -0
- package/src/models/ModelEnum.ts +10 -10
- package/src/models/PaginatedConnectionTokenList.ts +88 -0
- package/src/models/PatchedConnectionTokenRequest.ts +65 -0
- package/src/models/PatchedRACProviderRequest.ts +8 -0
- package/src/models/RACProvider.ts +8 -0
- package/src/models/RACProviderRequest.ts +8 -0
- package/src/models/UserConsent.ts +8 -0
- package/src/models/index.ts +4 -0
package/dist/esm/models/index.js
CHANGED
|
@@ -68,6 +68,8 @@ export * from './ChallengeChoices';
|
|
|
68
68
|
export * from './ChallengeTypes';
|
|
69
69
|
export * from './ClientTypeEnum';
|
|
70
70
|
export * from './Config';
|
|
71
|
+
export * from './ConnectionToken';
|
|
72
|
+
export * from './ConnectionTokenRequest';
|
|
71
73
|
export * from './ConsentChallenge';
|
|
72
74
|
export * from './ConsentChallengeResponseRequest';
|
|
73
75
|
export * from './ConsentPermission';
|
|
@@ -217,6 +219,7 @@ export * from './PaginatedBlueprintInstanceList';
|
|
|
217
219
|
export * from './PaginatedBrandList';
|
|
218
220
|
export * from './PaginatedCaptchaStageList';
|
|
219
221
|
export * from './PaginatedCertificateKeyPairList';
|
|
222
|
+
export * from './PaginatedConnectionTokenList';
|
|
220
223
|
export * from './PaginatedConsentStageList';
|
|
221
224
|
export * from './PaginatedDenyStageList';
|
|
222
225
|
export * from './PaginatedDockerServiceConnectionList';
|
|
@@ -320,6 +323,7 @@ export * from './PatchedBlueprintInstanceRequest';
|
|
|
320
323
|
export * from './PatchedBrandRequest';
|
|
321
324
|
export * from './PatchedCaptchaStageRequest';
|
|
322
325
|
export * from './PatchedCertificateKeyPairRequest';
|
|
326
|
+
export * from './PatchedConnectionTokenRequest';
|
|
323
327
|
export * from './PatchedConsentStageRequest';
|
|
324
328
|
export * from './PatchedDenyStageRequest';
|
|
325
329
|
export * from './PatchedDockerServiceConnectionRequest';
|
package/dist/models/AppEnum.d.ts
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* * `authentik.admin` - authentik Admin
|
|
15
15
|
* * `authentik.api` - authentik API
|
|
16
16
|
* * `authentik.crypto` - authentik Crypto
|
|
17
|
-
* * `authentik.events` - authentik Events
|
|
18
17
|
* * `authentik.flows` - authentik Flows
|
|
19
18
|
* * `authentik.outposts` - authentik Outpost
|
|
20
19
|
* * `authentik.policies.dummy` - authentik Policies.Dummy
|
|
@@ -62,6 +61,7 @@
|
|
|
62
61
|
* * `authentik.enterprise` - authentik Enterprise
|
|
63
62
|
* * `authentik.enterprise.audit` - authentik Enterprise.Audit
|
|
64
63
|
* * `authentik.enterprise.providers.rac` - authentik Enterprise.Providers.RAC
|
|
64
|
+
* * `authentik.events` - authentik Events
|
|
65
65
|
* @export
|
|
66
66
|
*/
|
|
67
67
|
export declare const AppEnum: {
|
|
@@ -69,7 +69,6 @@ export declare const AppEnum: {
|
|
|
69
69
|
readonly Admin: "authentik.admin";
|
|
70
70
|
readonly Api: "authentik.api";
|
|
71
71
|
readonly Crypto: "authentik.crypto";
|
|
72
|
-
readonly Events: "authentik.events";
|
|
73
72
|
readonly Flows: "authentik.flows";
|
|
74
73
|
readonly Outposts: "authentik.outposts";
|
|
75
74
|
readonly PoliciesDummy: "authentik.policies.dummy";
|
|
@@ -117,6 +116,7 @@ export declare const AppEnum: {
|
|
|
117
116
|
readonly Enterprise: "authentik.enterprise";
|
|
118
117
|
readonly EnterpriseAudit: "authentik.enterprise.audit";
|
|
119
118
|
readonly EnterpriseProvidersRac: "authentik.enterprise.providers.rac";
|
|
119
|
+
readonly Events: "authentik.events";
|
|
120
120
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
121
121
|
};
|
|
122
122
|
export type AppEnum = typeof AppEnum[keyof typeof AppEnum];
|
package/dist/models/AppEnum.js
CHANGED
|
@@ -19,7 +19,6 @@ exports.AppEnumToJSON = exports.AppEnumFromJSONTyped = exports.AppEnumFromJSON =
|
|
|
19
19
|
* * `authentik.admin` - authentik Admin
|
|
20
20
|
* * `authentik.api` - authentik API
|
|
21
21
|
* * `authentik.crypto` - authentik Crypto
|
|
22
|
-
* * `authentik.events` - authentik Events
|
|
23
22
|
* * `authentik.flows` - authentik Flows
|
|
24
23
|
* * `authentik.outposts` - authentik Outpost
|
|
25
24
|
* * `authentik.policies.dummy` - authentik Policies.Dummy
|
|
@@ -67,6 +66,7 @@ exports.AppEnumToJSON = exports.AppEnumFromJSONTyped = exports.AppEnumFromJSON =
|
|
|
67
66
|
* * `authentik.enterprise` - authentik Enterprise
|
|
68
67
|
* * `authentik.enterprise.audit` - authentik Enterprise.Audit
|
|
69
68
|
* * `authentik.enterprise.providers.rac` - authentik Enterprise.Providers.RAC
|
|
69
|
+
* * `authentik.events` - authentik Events
|
|
70
70
|
* @export
|
|
71
71
|
*/
|
|
72
72
|
exports.AppEnum = {
|
|
@@ -74,7 +74,6 @@ exports.AppEnum = {
|
|
|
74
74
|
Admin: 'authentik.admin',
|
|
75
75
|
Api: 'authentik.api',
|
|
76
76
|
Crypto: 'authentik.crypto',
|
|
77
|
-
Events: 'authentik.events',
|
|
78
77
|
Flows: 'authentik.flows',
|
|
79
78
|
Outposts: 'authentik.outposts',
|
|
80
79
|
PoliciesDummy: 'authentik.policies.dummy',
|
|
@@ -122,6 +121,7 @@ exports.AppEnum = {
|
|
|
122
121
|
Enterprise: 'authentik.enterprise',
|
|
123
122
|
EnterpriseAudit: 'authentik.enterprise.audit',
|
|
124
123
|
EnterpriseProvidersRac: 'authentik.enterprise.providers.rac',
|
|
124
|
+
Events: 'authentik.events',
|
|
125
125
|
UnknownDefaultOpenApi: '11184809'
|
|
126
126
|
};
|
|
127
127
|
function AppEnumFromJSON(json) {
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.7
|
|
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 { Endpoint } from './Endpoint';
|
|
13
|
+
import type { GroupMember } from './GroupMember';
|
|
14
|
+
import type { RACProvider } from './RACProvider';
|
|
15
|
+
/**
|
|
16
|
+
* ConnectionToken Serializer
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ConnectionToken
|
|
19
|
+
*/
|
|
20
|
+
export interface ConnectionToken {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ConnectionToken
|
|
25
|
+
*/
|
|
26
|
+
readonly pk: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof ConnectionToken
|
|
31
|
+
*/
|
|
32
|
+
provider: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {RACProvider}
|
|
36
|
+
* @memberof ConnectionToken
|
|
37
|
+
*/
|
|
38
|
+
readonly providerObj: RACProvider;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof ConnectionToken
|
|
43
|
+
*/
|
|
44
|
+
readonly endpoint: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Endpoint}
|
|
48
|
+
* @memberof ConnectionToken
|
|
49
|
+
*/
|
|
50
|
+
readonly endpointObj: Endpoint;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {GroupMember}
|
|
54
|
+
* @memberof ConnectionToken
|
|
55
|
+
*/
|
|
56
|
+
readonly user: GroupMember;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the ConnectionToken interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfConnectionToken(value: object): boolean;
|
|
62
|
+
export declare function ConnectionTokenFromJSON(json: any): ConnectionToken;
|
|
63
|
+
export declare function ConnectionTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectionToken;
|
|
64
|
+
export declare function ConnectionTokenToJSON(value?: ConnectionToken | null): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.7
|
|
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.ConnectionTokenToJSON = exports.ConnectionTokenFromJSONTyped = exports.ConnectionTokenFromJSON = exports.instanceOfConnectionToken = void 0;
|
|
17
|
+
const Endpoint_1 = require("./Endpoint");
|
|
18
|
+
const GroupMember_1 = require("./GroupMember");
|
|
19
|
+
const RACProvider_1 = require("./RACProvider");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ConnectionToken interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfConnectionToken(value) {
|
|
24
|
+
let isInstance = true;
|
|
25
|
+
isInstance = isInstance && "pk" in value;
|
|
26
|
+
isInstance = isInstance && "provider" in value;
|
|
27
|
+
isInstance = isInstance && "providerObj" in value;
|
|
28
|
+
isInstance = isInstance && "endpoint" in value;
|
|
29
|
+
isInstance = isInstance && "endpointObj" in value;
|
|
30
|
+
isInstance = isInstance && "user" in value;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfConnectionToken = instanceOfConnectionToken;
|
|
34
|
+
function ConnectionTokenFromJSON(json) {
|
|
35
|
+
return ConnectionTokenFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.ConnectionTokenFromJSON = ConnectionTokenFromJSON;
|
|
38
|
+
function ConnectionTokenFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'pk': json['pk'],
|
|
44
|
+
'provider': json['provider'],
|
|
45
|
+
'providerObj': (0, RACProvider_1.RACProviderFromJSON)(json['provider_obj']),
|
|
46
|
+
'endpoint': json['endpoint'],
|
|
47
|
+
'endpointObj': (0, Endpoint_1.EndpointFromJSON)(json['endpoint_obj']),
|
|
48
|
+
'user': (0, GroupMember_1.GroupMemberFromJSON)(json['user']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.ConnectionTokenFromJSONTyped = ConnectionTokenFromJSONTyped;
|
|
52
|
+
function ConnectionTokenToJSON(value) {
|
|
53
|
+
if (value === undefined) {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
if (value === null) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'provider': value.provider,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.ConnectionTokenToJSON = ConnectionTokenToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.7
|
|
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
|
+
* ConnectionToken Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ConnectionTokenRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ConnectionTokenRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ConnectionTokenRequest
|
|
22
|
+
*/
|
|
23
|
+
provider: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ConnectionTokenRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfConnectionTokenRequest(value: object): boolean;
|
|
29
|
+
export declare function ConnectionTokenRequestFromJSON(json: any): ConnectionTokenRequest;
|
|
30
|
+
export declare function ConnectionTokenRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectionTokenRequest;
|
|
31
|
+
export declare function ConnectionTokenRequestToJSON(value?: ConnectionTokenRequest | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.7
|
|
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.ConnectionTokenRequestToJSON = exports.ConnectionTokenRequestFromJSONTyped = exports.ConnectionTokenRequestFromJSON = exports.instanceOfConnectionTokenRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ConnectionTokenRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfConnectionTokenRequest(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "provider" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfConnectionTokenRequest = instanceOfConnectionTokenRequest;
|
|
26
|
+
function ConnectionTokenRequestFromJSON(json) {
|
|
27
|
+
return ConnectionTokenRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ConnectionTokenRequestFromJSON = ConnectionTokenRequestFromJSON;
|
|
30
|
+
function ConnectionTokenRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'provider': json['provider'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ConnectionTokenRequestFromJSONTyped = ConnectionTokenRequestFromJSONTyped;
|
|
39
|
+
function ConnectionTokenRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'provider': value.provider,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.ConnectionTokenRequestToJSON = ConnectionTokenRequestToJSON;
|
|
@@ -12,11 +12,6 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* * `authentik_tenants.domain` - Domain
|
|
14
14
|
* * `authentik_crypto.certificatekeypair` - Certificate-Key Pair
|
|
15
|
-
* * `authentik_events.event` - Event
|
|
16
|
-
* * `authentik_events.notificationtransport` - Notification Transport
|
|
17
|
-
* * `authentik_events.notification` - Notification
|
|
18
|
-
* * `authentik_events.notificationrule` - Notification Rule
|
|
19
|
-
* * `authentik_events.notificationwebhookmapping` - Webhook Mapping
|
|
20
15
|
* * `authentik_flows.flow` - Flow
|
|
21
16
|
* * `authentik_flows.flowstagebinding` - Flow Stage Binding
|
|
22
17
|
* * `authentik_outposts.dockerserviceconnection` - Docker Service-Connection
|
|
@@ -84,16 +79,16 @@
|
|
|
84
79
|
* * `authentik_providers_rac.racprovider` - RAC Provider
|
|
85
80
|
* * `authentik_providers_rac.endpoint` - RAC Endpoint
|
|
86
81
|
* * `authentik_providers_rac.racpropertymapping` - RAC Property Mapping
|
|
82
|
+
* * `authentik_events.event` - Event
|
|
83
|
+
* * `authentik_events.notificationtransport` - Notification Transport
|
|
84
|
+
* * `authentik_events.notification` - Notification
|
|
85
|
+
* * `authentik_events.notificationrule` - Notification Rule
|
|
86
|
+
* * `authentik_events.notificationwebhookmapping` - Webhook Mapping
|
|
87
87
|
* @export
|
|
88
88
|
*/
|
|
89
89
|
export declare const ModelEnum: {
|
|
90
90
|
readonly TenantsDomain: "authentik_tenants.domain";
|
|
91
91
|
readonly CryptoCertificatekeypair: "authentik_crypto.certificatekeypair";
|
|
92
|
-
readonly EventsEvent: "authentik_events.event";
|
|
93
|
-
readonly EventsNotificationtransport: "authentik_events.notificationtransport";
|
|
94
|
-
readonly EventsNotification: "authentik_events.notification";
|
|
95
|
-
readonly EventsNotificationrule: "authentik_events.notificationrule";
|
|
96
|
-
readonly EventsNotificationwebhookmapping: "authentik_events.notificationwebhookmapping";
|
|
97
92
|
readonly FlowsFlow: "authentik_flows.flow";
|
|
98
93
|
readonly FlowsFlowstagebinding: "authentik_flows.flowstagebinding";
|
|
99
94
|
readonly OutpostsDockerserviceconnection: "authentik_outposts.dockerserviceconnection";
|
|
@@ -161,6 +156,11 @@ export declare const ModelEnum: {
|
|
|
161
156
|
readonly ProvidersRacRacprovider: "authentik_providers_rac.racprovider";
|
|
162
157
|
readonly ProvidersRacEndpoint: "authentik_providers_rac.endpoint";
|
|
163
158
|
readonly ProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
|
|
159
|
+
readonly EventsEvent: "authentik_events.event";
|
|
160
|
+
readonly EventsNotificationtransport: "authentik_events.notificationtransport";
|
|
161
|
+
readonly EventsNotification: "authentik_events.notification";
|
|
162
|
+
readonly EventsNotificationrule: "authentik_events.notificationrule";
|
|
163
|
+
readonly EventsNotificationwebhookmapping: "authentik_events.notificationwebhookmapping";
|
|
164
164
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
165
165
|
};
|
|
166
166
|
export type ModelEnum = typeof ModelEnum[keyof typeof ModelEnum];
|
package/dist/models/ModelEnum.js
CHANGED
|
@@ -17,11 +17,6 @@ exports.ModelEnumToJSON = exports.ModelEnumFromJSONTyped = exports.ModelEnumFrom
|
|
|
17
17
|
/**
|
|
18
18
|
* * `authentik_tenants.domain` - Domain
|
|
19
19
|
* * `authentik_crypto.certificatekeypair` - Certificate-Key Pair
|
|
20
|
-
* * `authentik_events.event` - Event
|
|
21
|
-
* * `authentik_events.notificationtransport` - Notification Transport
|
|
22
|
-
* * `authentik_events.notification` - Notification
|
|
23
|
-
* * `authentik_events.notificationrule` - Notification Rule
|
|
24
|
-
* * `authentik_events.notificationwebhookmapping` - Webhook Mapping
|
|
25
20
|
* * `authentik_flows.flow` - Flow
|
|
26
21
|
* * `authentik_flows.flowstagebinding` - Flow Stage Binding
|
|
27
22
|
* * `authentik_outposts.dockerserviceconnection` - Docker Service-Connection
|
|
@@ -89,16 +84,16 @@ exports.ModelEnumToJSON = exports.ModelEnumFromJSONTyped = exports.ModelEnumFrom
|
|
|
89
84
|
* * `authentik_providers_rac.racprovider` - RAC Provider
|
|
90
85
|
* * `authentik_providers_rac.endpoint` - RAC Endpoint
|
|
91
86
|
* * `authentik_providers_rac.racpropertymapping` - RAC Property Mapping
|
|
87
|
+
* * `authentik_events.event` - Event
|
|
88
|
+
* * `authentik_events.notificationtransport` - Notification Transport
|
|
89
|
+
* * `authentik_events.notification` - Notification
|
|
90
|
+
* * `authentik_events.notificationrule` - Notification Rule
|
|
91
|
+
* * `authentik_events.notificationwebhookmapping` - Webhook Mapping
|
|
92
92
|
* @export
|
|
93
93
|
*/
|
|
94
94
|
exports.ModelEnum = {
|
|
95
95
|
TenantsDomain: 'authentik_tenants.domain',
|
|
96
96
|
CryptoCertificatekeypair: 'authentik_crypto.certificatekeypair',
|
|
97
|
-
EventsEvent: 'authentik_events.event',
|
|
98
|
-
EventsNotificationtransport: 'authentik_events.notificationtransport',
|
|
99
|
-
EventsNotification: 'authentik_events.notification',
|
|
100
|
-
EventsNotificationrule: 'authentik_events.notificationrule',
|
|
101
|
-
EventsNotificationwebhookmapping: 'authentik_events.notificationwebhookmapping',
|
|
102
97
|
FlowsFlow: 'authentik_flows.flow',
|
|
103
98
|
FlowsFlowstagebinding: 'authentik_flows.flowstagebinding',
|
|
104
99
|
OutpostsDockerserviceconnection: 'authentik_outposts.dockerserviceconnection',
|
|
@@ -166,6 +161,11 @@ exports.ModelEnum = {
|
|
|
166
161
|
ProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
|
|
167
162
|
ProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
|
|
168
163
|
ProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
|
|
164
|
+
EventsEvent: 'authentik_events.event',
|
|
165
|
+
EventsNotificationtransport: 'authentik_events.notificationtransport',
|
|
166
|
+
EventsNotification: 'authentik_events.notification',
|
|
167
|
+
EventsNotificationrule: 'authentik_events.notificationrule',
|
|
168
|
+
EventsNotificationwebhookmapping: 'authentik_events.notificationwebhookmapping',
|
|
169
169
|
UnknownDefaultOpenApi: '11184809'
|
|
170
170
|
};
|
|
171
171
|
function ModelEnumFromJSON(json) {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.7
|
|
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 { ConnectionToken } from './ConnectionToken';
|
|
13
|
+
import type { Pagination } from './Pagination';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedConnectionTokenList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedConnectionTokenList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedConnectionTokenList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ConnectionToken>}
|
|
29
|
+
* @memberof PaginatedConnectionTokenList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<ConnectionToken>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedConnectionTokenList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedConnectionTokenList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedConnectionTokenListFromJSON(json: any): PaginatedConnectionTokenList;
|
|
38
|
+
export declare function PaginatedConnectionTokenListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedConnectionTokenList;
|
|
39
|
+
export declare function PaginatedConnectionTokenListToJSON(value?: PaginatedConnectionTokenList | 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: 2023.10.7
|
|
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.PaginatedConnectionTokenListToJSON = exports.PaginatedConnectionTokenListFromJSONTyped = exports.PaginatedConnectionTokenListFromJSON = exports.instanceOfPaginatedConnectionTokenList = void 0;
|
|
17
|
+
const ConnectionToken_1 = require("./ConnectionToken");
|
|
18
|
+
const Pagination_1 = require("./Pagination");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the PaginatedConnectionTokenList interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfPaginatedConnectionTokenList(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "pagination" in value;
|
|
25
|
+
isInstance = isInstance && "results" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfPaginatedConnectionTokenList = instanceOfPaginatedConnectionTokenList;
|
|
29
|
+
function PaginatedConnectionTokenListFromJSON(json) {
|
|
30
|
+
return PaginatedConnectionTokenListFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.PaginatedConnectionTokenListFromJSON = PaginatedConnectionTokenListFromJSON;
|
|
33
|
+
function PaginatedConnectionTokenListFromJSONTyped(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(ConnectionToken_1.ConnectionTokenFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.PaginatedConnectionTokenListFromJSONTyped = PaginatedConnectionTokenListFromJSONTyped;
|
|
43
|
+
function PaginatedConnectionTokenListToJSON(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(ConnectionToken_1.ConnectionTokenToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.PaginatedConnectionTokenListToJSON = PaginatedConnectionTokenListToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.7
|
|
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
|
+
* ConnectionToken Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedConnectionTokenRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedConnectionTokenRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PatchedConnectionTokenRequest
|
|
22
|
+
*/
|
|
23
|
+
provider?: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PatchedConnectionTokenRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPatchedConnectionTokenRequest(value: object): boolean;
|
|
29
|
+
export declare function PatchedConnectionTokenRequestFromJSON(json: any): PatchedConnectionTokenRequest;
|
|
30
|
+
export declare function PatchedConnectionTokenRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedConnectionTokenRequest;
|
|
31
|
+
export declare function PatchedConnectionTokenRequestToJSON(value?: PatchedConnectionTokenRequest | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.7
|
|
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.PatchedConnectionTokenRequestToJSON = exports.PatchedConnectionTokenRequestFromJSONTyped = exports.PatchedConnectionTokenRequestFromJSON = exports.instanceOfPatchedConnectionTokenRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PatchedConnectionTokenRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPatchedConnectionTokenRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPatchedConnectionTokenRequest = instanceOfPatchedConnectionTokenRequest;
|
|
26
|
+
function PatchedConnectionTokenRequestFromJSON(json) {
|
|
27
|
+
return PatchedConnectionTokenRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.PatchedConnectionTokenRequestFromJSON = PatchedConnectionTokenRequestFromJSON;
|
|
30
|
+
function PatchedConnectionTokenRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.PatchedConnectionTokenRequestFromJSONTyped = PatchedConnectionTokenRequestFromJSONTyped;
|
|
39
|
+
function PatchedConnectionTokenRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'provider': value.provider,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.PatchedConnectionTokenRequestToJSON = PatchedConnectionTokenRequestToJSON;
|
|
@@ -51,6 +51,12 @@ export interface PatchedRACProviderRequest {
|
|
|
51
51
|
* @memberof PatchedRACProviderRequest
|
|
52
52
|
*/
|
|
53
53
|
connectionExpiry?: string;
|
|
54
|
+
/**
|
|
55
|
+
* When set to true, connection tokens will be deleted upon disconnect.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof PatchedRACProviderRequest
|
|
58
|
+
*/
|
|
59
|
+
deleteTokenOnDisconnect?: boolean;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
62
|
* Check if a given object implements the PatchedRACProviderRequest interface.
|
|
@@ -38,6 +38,7 @@ function PatchedRACProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
39
39
|
'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
|
|
40
40
|
'connectionExpiry': !(0, runtime_1.exists)(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
|
41
|
+
'deleteTokenOnDisconnect': !(0, runtime_1.exists)(json, 'delete_token_on_disconnect') ? undefined : json['delete_token_on_disconnect'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.PatchedRACProviderRequestFromJSONTyped = PatchedRACProviderRequestFromJSONTyped;
|
|
@@ -55,6 +56,7 @@ function PatchedRACProviderRequestToJSON(value) {
|
|
|
55
56
|
'property_mappings': value.propertyMappings,
|
|
56
57
|
'settings': value.settings,
|
|
57
58
|
'connection_expiry': value.connectionExpiry,
|
|
59
|
+
'delete_token_on_disconnect': value.deleteTokenOnDisconnect,
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
62
|
exports.PatchedRACProviderRequestToJSON = PatchedRACProviderRequestToJSON;
|
|
@@ -111,6 +111,12 @@ export interface RACProvider {
|
|
|
111
111
|
* @memberof RACProvider
|
|
112
112
|
*/
|
|
113
113
|
connectionExpiry?: string;
|
|
114
|
+
/**
|
|
115
|
+
* When set to true, connection tokens will be deleted upon disconnect.
|
|
116
|
+
* @type {boolean}
|
|
117
|
+
* @memberof RACProvider
|
|
118
|
+
*/
|
|
119
|
+
deleteTokenOnDisconnect?: boolean;
|
|
114
120
|
}
|
|
115
121
|
/**
|
|
116
122
|
* Check if a given object implements the RACProvider interface.
|
|
@@ -60,6 +60,7 @@ function RACProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
|
|
61
61
|
'outpostSet': json['outpost_set'],
|
|
62
62
|
'connectionExpiry': !(0, runtime_1.exists)(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
|
63
|
+
'deleteTokenOnDisconnect': !(0, runtime_1.exists)(json, 'delete_token_on_disconnect') ? undefined : json['delete_token_on_disconnect'],
|
|
63
64
|
};
|
|
64
65
|
}
|
|
65
66
|
exports.RACProviderFromJSONTyped = RACProviderFromJSONTyped;
|
|
@@ -77,6 +78,7 @@ function RACProviderToJSON(value) {
|
|
|
77
78
|
'property_mappings': value.propertyMappings,
|
|
78
79
|
'settings': value.settings,
|
|
79
80
|
'connection_expiry': value.connectionExpiry,
|
|
81
|
+
'delete_token_on_disconnect': value.deleteTokenOnDisconnect,
|
|
80
82
|
};
|
|
81
83
|
}
|
|
82
84
|
exports.RACProviderToJSON = RACProviderToJSON;
|
|
@@ -51,6 +51,12 @@ export interface RACProviderRequest {
|
|
|
51
51
|
* @memberof RACProviderRequest
|
|
52
52
|
*/
|
|
53
53
|
connectionExpiry?: string;
|
|
54
|
+
/**
|
|
55
|
+
* When set to true, connection tokens will be deleted upon disconnect.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof RACProviderRequest
|
|
58
|
+
*/
|
|
59
|
+
deleteTokenOnDisconnect?: boolean;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
62
|
* Check if a given object implements the RACProviderRequest interface.
|
|
@@ -40,6 +40,7 @@ function RACProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
41
41
|
'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
|
|
42
42
|
'connectionExpiry': !(0, runtime_1.exists)(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
|
43
|
+
'deleteTokenOnDisconnect': !(0, runtime_1.exists)(json, 'delete_token_on_disconnect') ? undefined : json['delete_token_on_disconnect'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
exports.RACProviderRequestFromJSONTyped = RACProviderRequestFromJSONTyped;
|
|
@@ -57,6 +58,7 @@ function RACProviderRequestToJSON(value) {
|
|
|
57
58
|
'property_mappings': value.propertyMappings,
|
|
58
59
|
'settings': value.settings,
|
|
59
60
|
'connection_expiry': value.connectionExpiry,
|
|
61
|
+
'delete_token_on_disconnect': value.deleteTokenOnDisconnect,
|
|
60
62
|
};
|
|
61
63
|
}
|
|
62
64
|
exports.RACProviderRequestToJSON = RACProviderRequestToJSON;
|