@goauthentik/api 2024.2.2-1712833826 → 2024.2.2-1713180481
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 -1
- package/dist/apis/AdminApi.js +60 -20
- package/dist/apis/AuthenticatorsApi.js +372 -124
- package/dist/apis/CoreApi.d.ts +2 -0
- package/dist/apis/CoreApi.js +378 -124
- package/dist/apis/CryptoApi.js +60 -20
- package/dist/apis/EnterpriseApi.js +60 -20
- package/dist/apis/EventsApi.js +210 -70
- package/dist/apis/FlowsApi.js +150 -50
- package/dist/apis/ManagedApi.js +54 -18
- package/dist/apis/Oauth2Api.js +72 -24
- package/dist/apis/OutpostsApi.js +210 -70
- package/dist/apis/PoliciesApi.js +366 -122
- package/dist/apis/PropertymappingsApi.js +288 -96
- package/dist/apis/ProvidersApi.js +360 -120
- package/dist/apis/RacApi.js +78 -26
- package/dist/apis/RbacApi.js +102 -34
- package/dist/apis/RootApi.js +6 -2
- package/dist/apis/SchemaApi.js +6 -2
- package/dist/apis/SourcesApi.js +414 -138
- package/dist/apis/StagesApi.js +1002 -334
- package/dist/esm/apis/AdminApi.js +60 -20
- package/dist/esm/apis/AuthenticatorsApi.js +372 -124
- package/dist/esm/apis/CoreApi.d.ts +2 -0
- package/dist/esm/apis/CoreApi.js +378 -124
- package/dist/esm/apis/CryptoApi.js +60 -20
- package/dist/esm/apis/EnterpriseApi.js +60 -20
- package/dist/esm/apis/EventsApi.js +210 -70
- package/dist/esm/apis/FlowsApi.js +150 -50
- package/dist/esm/apis/ManagedApi.js +54 -18
- package/dist/esm/apis/Oauth2Api.js +72 -24
- package/dist/esm/apis/OutpostsApi.js +210 -70
- package/dist/esm/apis/PoliciesApi.js +366 -122
- package/dist/esm/apis/PropertymappingsApi.js +288 -96
- package/dist/esm/apis/ProvidersApi.js +360 -120
- package/dist/esm/apis/RacApi.js +78 -26
- package/dist/esm/apis/RbacApi.js +102 -34
- package/dist/esm/apis/RootApi.js +6 -2
- package/dist/esm/apis/SchemaApi.js +6 -2
- package/dist/esm/apis/SourcesApi.js +414 -138
- package/dist/esm/apis/StagesApi.js +1002 -334
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +70 -30
- package/src/apis/AuthenticatorsApi.ts +434 -186
- package/src/apis/CoreApi.ts +444 -186
- package/src/apis/CryptoApi.ts +70 -30
- package/src/apis/EnterpriseApi.ts +70 -30
- package/src/apis/EventsApi.ts +245 -105
- package/src/apis/FlowsApi.ts +175 -75
- package/src/apis/ManagedApi.ts +63 -27
- package/src/apis/Oauth2Api.ts +84 -36
- package/src/apis/OutpostsApi.ts +245 -105
- package/src/apis/PoliciesApi.ts +427 -183
- package/src/apis/PropertymappingsApi.ts +336 -144
- package/src/apis/ProvidersApi.ts +420 -180
- package/src/apis/RacApi.ts +91 -39
- package/src/apis/RbacApi.ts +119 -51
- package/src/apis/RootApi.ts +7 -3
- package/src/apis/SchemaApi.ts +7 -3
- package/src/apis/SourcesApi.ts +483 -207
- package/src/apis/StagesApi.ts +1169 -501
- package/src/models/index.ts +0 -1
- package/dist/esm/models/UserGroupRequest.d.ts +0 -51
- package/dist/esm/models/UserGroupRequest.js +0 -50
- package/dist/models/UserGroupRequest.d.ts +0 -51
- package/dist/models/UserGroupRequest.js +0 -57
- package/src/models/UserGroupRequest.ts +0 -90
package/src/models/index.ts
CHANGED
|
@@ -517,7 +517,6 @@ export * from './UserDeleteStage';
|
|
|
517
517
|
export * from './UserDeleteStageRequest';
|
|
518
518
|
export * from './UserFieldsEnum';
|
|
519
519
|
export * from './UserGroup';
|
|
520
|
-
export * from './UserGroupRequest';
|
|
521
520
|
export * from './UserLoginChallenge';
|
|
522
521
|
export * from './UserLoginChallengeResponseRequest';
|
|
523
522
|
export * from './UserLoginStage';
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* authentik
|
|
3
|
-
* Making authentication simple.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
-
* Simplified Group Serializer for user's groups
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UserGroupRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface UserGroupRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserGroupRequest
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* Users added to this group will be superusers.
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof UserGroupRequest
|
|
28
|
-
*/
|
|
29
|
-
isSuperuser?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UserGroupRequest
|
|
34
|
-
*/
|
|
35
|
-
parent?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {{ [key: string]: any; }}
|
|
39
|
-
* @memberof UserGroupRequest
|
|
40
|
-
*/
|
|
41
|
-
attributes?: {
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the UserGroupRequest interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfUserGroupRequest(value: object): boolean;
|
|
49
|
-
export declare function UserGroupRequestFromJSON(json: any): UserGroupRequest;
|
|
50
|
-
export declare function UserGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserGroupRequest;
|
|
51
|
-
export declare function UserGroupRequestToJSON(value?: UserGroupRequest | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* authentik
|
|
5
|
-
* Making authentication simple.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
-
import { exists } from '../runtime';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the UserGroupRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfUserGroupRequest(value) {
|
|
19
|
-
let isInstance = true;
|
|
20
|
-
isInstance = isInstance && "name" in value;
|
|
21
|
-
return isInstance;
|
|
22
|
-
}
|
|
23
|
-
export function UserGroupRequestFromJSON(json) {
|
|
24
|
-
return UserGroupRequestFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function UserGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if ((json === undefined) || (json === null)) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'name': json['name'],
|
|
32
|
-
'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
33
|
-
'parent': !exists(json, 'parent') ? undefined : json['parent'],
|
|
34
|
-
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function UserGroupRequestToJSON(value) {
|
|
38
|
-
if (value === undefined) {
|
|
39
|
-
return undefined;
|
|
40
|
-
}
|
|
41
|
-
if (value === null) {
|
|
42
|
-
return null;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'name': value.name,
|
|
46
|
-
'is_superuser': value.isSuperuser,
|
|
47
|
-
'parent': value.parent,
|
|
48
|
-
'attributes': value.attributes,
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* authentik
|
|
3
|
-
* Making authentication simple.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
-
* Simplified Group Serializer for user's groups
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UserGroupRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface UserGroupRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserGroupRequest
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* Users added to this group will be superusers.
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof UserGroupRequest
|
|
28
|
-
*/
|
|
29
|
-
isSuperuser?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UserGroupRequest
|
|
34
|
-
*/
|
|
35
|
-
parent?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {{ [key: string]: any; }}
|
|
39
|
-
* @memberof UserGroupRequest
|
|
40
|
-
*/
|
|
41
|
-
attributes?: {
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the UserGroupRequest interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfUserGroupRequest(value: object): boolean;
|
|
49
|
-
export declare function UserGroupRequestFromJSON(json: any): UserGroupRequest;
|
|
50
|
-
export declare function UserGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserGroupRequest;
|
|
51
|
-
export declare function UserGroupRequestToJSON(value?: UserGroupRequest | null): any;
|
|
@@ -1,57 +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: 2024.2.2
|
|
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.UserGroupRequestToJSON = exports.UserGroupRequestFromJSONTyped = exports.UserGroupRequestFromJSON = exports.instanceOfUserGroupRequest = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the UserGroupRequest interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfUserGroupRequest(value) {
|
|
22
|
-
let isInstance = true;
|
|
23
|
-
isInstance = isInstance && "name" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfUserGroupRequest = instanceOfUserGroupRequest;
|
|
27
|
-
function UserGroupRequestFromJSON(json) {
|
|
28
|
-
return UserGroupRequestFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.UserGroupRequestFromJSON = UserGroupRequestFromJSON;
|
|
31
|
-
function UserGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'name': json['name'],
|
|
37
|
-
'isSuperuser': !(0, runtime_1.exists)(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
38
|
-
'parent': !(0, runtime_1.exists)(json, 'parent') ? undefined : json['parent'],
|
|
39
|
-
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.UserGroupRequestFromJSONTyped = UserGroupRequestFromJSONTyped;
|
|
43
|
-
function UserGroupRequestToJSON(value) {
|
|
44
|
-
if (value === undefined) {
|
|
45
|
-
return undefined;
|
|
46
|
-
}
|
|
47
|
-
if (value === null) {
|
|
48
|
-
return null;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'name': value.name,
|
|
52
|
-
'is_superuser': value.isSuperuser,
|
|
53
|
-
'parent': value.parent,
|
|
54
|
-
'attributes': value.attributes,
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
exports.UserGroupRequestToJSON = UserGroupRequestToJSON;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* authentik
|
|
5
|
-
* Making authentication simple.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2024.2.2
|
|
8
|
-
* Contact: hello@goauthentik.io
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* Simplified Group Serializer for user's groups
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UserGroupRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface UserGroupRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof UserGroupRequest
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* Users added to this group will be superusers.
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof UserGroupRequest
|
|
32
|
-
*/
|
|
33
|
-
isSuperuser?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof UserGroupRequest
|
|
38
|
-
*/
|
|
39
|
-
parent?: string | null;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {{ [key: string]: any; }}
|
|
43
|
-
* @memberof UserGroupRequest
|
|
44
|
-
*/
|
|
45
|
-
attributes?: { [key: string]: any; };
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the UserGroupRequest interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfUserGroupRequest(value: object): boolean {
|
|
52
|
-
let isInstance = true;
|
|
53
|
-
isInstance = isInstance && "name" in value;
|
|
54
|
-
|
|
55
|
-
return isInstance;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function UserGroupRequestFromJSON(json: any): UserGroupRequest {
|
|
59
|
-
return UserGroupRequestFromJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function UserGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserGroupRequest {
|
|
63
|
-
if ((json === undefined) || (json === null)) {
|
|
64
|
-
return json;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
|
|
68
|
-
'name': json['name'],
|
|
69
|
-
'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
70
|
-
'parent': !exists(json, 'parent') ? undefined : json['parent'],
|
|
71
|
-
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function UserGroupRequestToJSON(value?: UserGroupRequest | null): any {
|
|
76
|
-
if (value === undefined) {
|
|
77
|
-
return undefined;
|
|
78
|
-
}
|
|
79
|
-
if (value === null) {
|
|
80
|
-
return null;
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
|
|
84
|
-
'name': value.name,
|
|
85
|
-
'is_superuser': value.isSuperuser,
|
|
86
|
-
'parent': value.parent,
|
|
87
|
-
'attributes': value.attributes,
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|