@goauthentik/api 2024.10.5-1734524927 → 2024.10.5-1734636687

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/dist/apis/CoreApi.d.ts +86 -1
  3. package/dist/apis/CoreApi.js +271 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/esm/apis/CoreApi.d.ts +86 -1
  7. package/dist/esm/apis/CoreApi.js +272 -1
  8. package/dist/esm/apis/RbacApi.d.ts +2 -0
  9. package/dist/esm/apis/RbacApi.js +2 -0
  10. package/dist/esm/models/ApplicationEntitlement.d.ts +49 -0
  11. package/dist/esm/models/ApplicationEntitlement.js +51 -0
  12. package/dist/esm/models/ApplicationEntitlementRequest.d.ts +43 -0
  13. package/dist/esm/models/ApplicationEntitlementRequest.js +49 -0
  14. package/dist/esm/models/IdentificationChallenge.d.ts +1 -1
  15. package/dist/esm/models/ModelEnum.d.ts +1 -0
  16. package/dist/esm/models/ModelEnum.js +1 -0
  17. package/dist/esm/models/PaginatedApplicationEntitlementList.d.ts +39 -0
  18. package/dist/esm/models/PaginatedApplicationEntitlementList.js +48 -0
  19. package/dist/esm/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
  20. package/dist/esm/models/PatchedApplicationEntitlementRequest.js +47 -0
  21. package/dist/esm/models/index.d.ts +4 -0
  22. package/dist/esm/models/index.js +4 -0
  23. package/dist/models/ApplicationEntitlement.d.ts +49 -0
  24. package/dist/models/ApplicationEntitlement.js +58 -0
  25. package/dist/models/ApplicationEntitlementRequest.d.ts +43 -0
  26. package/dist/models/ApplicationEntitlementRequest.js +56 -0
  27. package/dist/models/IdentificationChallenge.d.ts +1 -1
  28. package/dist/models/ModelEnum.d.ts +1 -0
  29. package/dist/models/ModelEnum.js +1 -0
  30. package/dist/models/PaginatedApplicationEntitlementList.d.ts +39 -0
  31. package/dist/models/PaginatedApplicationEntitlementList.js +55 -0
  32. package/dist/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
  33. package/dist/models/PatchedApplicationEntitlementRequest.js +54 -0
  34. package/dist/models/index.d.ts +4 -0
  35. package/dist/models/index.js +4 -0
  36. package/package.json +1 -1
  37. package/src/apis/CoreApi.ts +350 -0
  38. package/src/apis/RbacApi.ts +2 -0
  39. package/src/models/ApplicationEntitlement.ts +91 -0
  40. package/src/models/ApplicationEntitlementRequest.ts +83 -0
  41. package/src/models/IdentificationChallenge.ts +1 -1
  42. package/src/models/ModelEnum.ts +1 -0
  43. package/src/models/PaginatedApplicationEntitlementList.ts +88 -0
  44. package/src/models/PatchedApplicationEntitlementRequest.ts +81 -0
  45. package/src/models/index.ts +4 -0
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
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 PatchedApplicationEntitlementRequest interface.
17
+ */
18
+ export function instanceOfPatchedApplicationEntitlementRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedApplicationEntitlementRequestFromJSON(json) {
23
+ return PatchedApplicationEntitlementRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedApplicationEntitlementRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'name': !exists(json, 'name') ? undefined : json['name'],
31
+ 'app': !exists(json, 'app') ? undefined : json['app'],
32
+ 'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
33
+ };
34
+ }
35
+ export function PatchedApplicationEntitlementRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'name': value.name,
44
+ 'app': value.app,
45
+ 'attributes': value.attributes,
46
+ };
47
+ }
@@ -5,6 +5,8 @@ export * from './AppEnum';
5
5
  export * from './AppleChallengeResponseRequest';
6
6
  export * from './AppleLoginChallenge';
7
7
  export * from './Application';
8
+ export * from './ApplicationEntitlement';
9
+ export * from './ApplicationEntitlementRequest';
8
10
  export * from './ApplicationRequest';
9
11
  export * from './AuthModeEnum';
10
12
  export * from './AuthTypeEnum';
@@ -259,6 +261,7 @@ export * from './OutpostDefaultConfig';
259
261
  export * from './OutpostHealth';
260
262
  export * from './OutpostRequest';
261
263
  export * from './OutpostTypeEnum';
264
+ export * from './PaginatedApplicationEntitlementList';
262
265
  export * from './PaginatedApplicationList';
263
266
  export * from './PaginatedAuthenticatedSessionList';
264
267
  export * from './PaginatedAuthenticatorDuoStageList';
@@ -395,6 +398,7 @@ export * from './PasswordPolicy';
395
398
  export * from './PasswordPolicyRequest';
396
399
  export * from './PasswordStage';
397
400
  export * from './PasswordStageRequest';
401
+ export * from './PatchedApplicationEntitlementRequest';
398
402
  export * from './PatchedApplicationRequest';
399
403
  export * from './PatchedAuthenticatorDuoStageRequest';
400
404
  export * from './PatchedAuthenticatorEndpointGDTCStageRequest';
@@ -7,6 +7,8 @@ export * from './AppEnum';
7
7
  export * from './AppleChallengeResponseRequest';
8
8
  export * from './AppleLoginChallenge';
9
9
  export * from './Application';
10
+ export * from './ApplicationEntitlement';
11
+ export * from './ApplicationEntitlementRequest';
10
12
  export * from './ApplicationRequest';
11
13
  export * from './AuthModeEnum';
12
14
  export * from './AuthTypeEnum';
@@ -261,6 +263,7 @@ export * from './OutpostDefaultConfig';
261
263
  export * from './OutpostHealth';
262
264
  export * from './OutpostRequest';
263
265
  export * from './OutpostTypeEnum';
266
+ export * from './PaginatedApplicationEntitlementList';
264
267
  export * from './PaginatedApplicationList';
265
268
  export * from './PaginatedAuthenticatedSessionList';
266
269
  export * from './PaginatedAuthenticatorDuoStageList';
@@ -397,6 +400,7 @@ export * from './PasswordPolicy';
397
400
  export * from './PasswordPolicyRequest';
398
401
  export * from './PasswordStage';
399
402
  export * from './PasswordStageRequest';
403
+ export * from './PatchedApplicationEntitlementRequest';
400
404
  export * from './PatchedApplicationRequest';
401
405
  export * from './PatchedAuthenticatorDuoStageRequest';
402
406
  export * from './PatchedAuthenticatorEndpointGDTCStageRequest';
@@ -0,0 +1,49 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.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
+ * ApplicationEntitlement Serializer
14
+ * @export
15
+ * @interface ApplicationEntitlement
16
+ */
17
+ export interface ApplicationEntitlement {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApplicationEntitlement
22
+ */
23
+ readonly pbmUuid: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApplicationEntitlement
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ApplicationEntitlement
34
+ */
35
+ app: string;
36
+ /**
37
+ *
38
+ * @type {any}
39
+ * @memberof ApplicationEntitlement
40
+ */
41
+ attributes?: any | null;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ApplicationEntitlement interface.
45
+ */
46
+ export declare function instanceOfApplicationEntitlement(value: object): boolean;
47
+ export declare function ApplicationEntitlementFromJSON(json: any): ApplicationEntitlement;
48
+ export declare function ApplicationEntitlementFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationEntitlement;
49
+ export declare function ApplicationEntitlementToJSON(value?: ApplicationEntitlement | 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: 2024.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.ApplicationEntitlementToJSON = exports.ApplicationEntitlementFromJSONTyped = exports.ApplicationEntitlementFromJSON = exports.instanceOfApplicationEntitlement = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the ApplicationEntitlement interface.
20
+ */
21
+ function instanceOfApplicationEntitlement(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "pbmUuid" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "app" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfApplicationEntitlement = instanceOfApplicationEntitlement;
29
+ function ApplicationEntitlementFromJSON(json) {
30
+ return ApplicationEntitlementFromJSONTyped(json, false);
31
+ }
32
+ exports.ApplicationEntitlementFromJSON = ApplicationEntitlementFromJSON;
33
+ function ApplicationEntitlementFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pbmUuid': json['pbm_uuid'],
39
+ 'name': json['name'],
40
+ 'app': json['app'],
41
+ 'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
42
+ };
43
+ }
44
+ exports.ApplicationEntitlementFromJSONTyped = ApplicationEntitlementFromJSONTyped;
45
+ function ApplicationEntitlementToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'name': value.name,
54
+ 'app': value.app,
55
+ 'attributes': value.attributes,
56
+ };
57
+ }
58
+ exports.ApplicationEntitlementToJSON = ApplicationEntitlementToJSON;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.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
+ * ApplicationEntitlement Serializer
14
+ * @export
15
+ * @interface ApplicationEntitlementRequest
16
+ */
17
+ export interface ApplicationEntitlementRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApplicationEntitlementRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApplicationEntitlementRequest
28
+ */
29
+ app: string;
30
+ /**
31
+ *
32
+ * @type {any}
33
+ * @memberof ApplicationEntitlementRequest
34
+ */
35
+ attributes?: any | null;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ApplicationEntitlementRequest interface.
39
+ */
40
+ export declare function instanceOfApplicationEntitlementRequest(value: object): boolean;
41
+ export declare function ApplicationEntitlementRequestFromJSON(json: any): ApplicationEntitlementRequest;
42
+ export declare function ApplicationEntitlementRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationEntitlementRequest;
43
+ export declare function ApplicationEntitlementRequestToJSON(value?: ApplicationEntitlementRequest | null): any;
@@ -0,0 +1,56 @@
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.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.ApplicationEntitlementRequestToJSON = exports.ApplicationEntitlementRequestFromJSONTyped = exports.ApplicationEntitlementRequestFromJSON = exports.instanceOfApplicationEntitlementRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the ApplicationEntitlementRequest interface.
20
+ */
21
+ function instanceOfApplicationEntitlementRequest(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "app" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfApplicationEntitlementRequest = instanceOfApplicationEntitlementRequest;
28
+ function ApplicationEntitlementRequestFromJSON(json) {
29
+ return ApplicationEntitlementRequestFromJSONTyped(json, false);
30
+ }
31
+ exports.ApplicationEntitlementRequestFromJSON = ApplicationEntitlementRequestFromJSON;
32
+ function ApplicationEntitlementRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ 'app': json['app'],
39
+ 'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
40
+ };
41
+ }
42
+ exports.ApplicationEntitlementRequestFromJSONTyped = ApplicationEntitlementRequestFromJSONTyped;
43
+ function ApplicationEntitlementRequestToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'name': value.name,
52
+ 'app': value.app,
53
+ 'attributes': value.attributes,
54
+ };
55
+ }
56
+ exports.ApplicationEntitlementRequestToJSON = ApplicationEntitlementRequestToJSON;
@@ -75,7 +75,7 @@ export interface IdentificationChallenge {
75
75
  * @type {CaptchaChallenge}
76
76
  * @memberof IdentificationChallenge
77
77
  */
78
- captchaStage?: CaptchaChallenge;
78
+ captchaStage?: CaptchaChallenge | null;
79
79
  /**
80
80
  *
81
81
  * @type {string}
@@ -93,6 +93,7 @@ export declare const ModelEnum: {
93
93
  readonly CoreGroup: "authentik_core.group";
94
94
  readonly CoreUser: "authentik_core.user";
95
95
  readonly CoreApplication: "authentik_core.application";
96
+ readonly CoreApplicationentitlement: "authentik_core.applicationentitlement";
96
97
  readonly CoreToken: "authentik_core.token";
97
98
  readonly EnterpriseLicense: "authentik_enterprise.license";
98
99
  readonly ProvidersGoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
@@ -98,6 +98,7 @@ exports.ModelEnum = {
98
98
  CoreGroup: 'authentik_core.group',
99
99
  CoreUser: 'authentik_core.user',
100
100
  CoreApplication: 'authentik_core.application',
101
+ CoreApplicationentitlement: 'authentik_core.applicationentitlement',
101
102
  CoreToken: 'authentik_core.token',
102
103
  EnterpriseLicense: 'authentik_enterprise.license',
103
104
  ProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.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
+ import type { ApplicationEntitlement } from './ApplicationEntitlement';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedApplicationEntitlementList
18
+ */
19
+ export interface PaginatedApplicationEntitlementList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedApplicationEntitlementList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<ApplicationEntitlement>}
29
+ * @memberof PaginatedApplicationEntitlementList
30
+ */
31
+ results: Array<ApplicationEntitlement>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedApplicationEntitlementList interface.
35
+ */
36
+ export declare function instanceOfPaginatedApplicationEntitlementList(value: object): boolean;
37
+ export declare function PaginatedApplicationEntitlementListFromJSON(json: any): PaginatedApplicationEntitlementList;
38
+ export declare function PaginatedApplicationEntitlementListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedApplicationEntitlementList;
39
+ export declare function PaginatedApplicationEntitlementListToJSON(value?: PaginatedApplicationEntitlementList | 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: 2024.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.PaginatedApplicationEntitlementListToJSON = exports.PaginatedApplicationEntitlementListFromJSONTyped = exports.PaginatedApplicationEntitlementListFromJSON = exports.instanceOfPaginatedApplicationEntitlementList = void 0;
17
+ const ApplicationEntitlement_1 = require("./ApplicationEntitlement");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedApplicationEntitlementList interface.
21
+ */
22
+ function instanceOfPaginatedApplicationEntitlementList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedApplicationEntitlementList = instanceOfPaginatedApplicationEntitlementList;
29
+ function PaginatedApplicationEntitlementListFromJSON(json) {
30
+ return PaginatedApplicationEntitlementListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedApplicationEntitlementListFromJSON = PaginatedApplicationEntitlementListFromJSON;
33
+ function PaginatedApplicationEntitlementListFromJSONTyped(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(ApplicationEntitlement_1.ApplicationEntitlementFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedApplicationEntitlementListFromJSONTyped = PaginatedApplicationEntitlementListFromJSONTyped;
43
+ function PaginatedApplicationEntitlementListToJSON(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(ApplicationEntitlement_1.ApplicationEntitlementToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedApplicationEntitlementListToJSON = PaginatedApplicationEntitlementListToJSON;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.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
+ * ApplicationEntitlement Serializer
14
+ * @export
15
+ * @interface PatchedApplicationEntitlementRequest
16
+ */
17
+ export interface PatchedApplicationEntitlementRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchedApplicationEntitlementRequest
22
+ */
23
+ name?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedApplicationEntitlementRequest
28
+ */
29
+ app?: string;
30
+ /**
31
+ *
32
+ * @type {any}
33
+ * @memberof PatchedApplicationEntitlementRequest
34
+ */
35
+ attributes?: any | null;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedApplicationEntitlementRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedApplicationEntitlementRequest(value: object): boolean;
41
+ export declare function PatchedApplicationEntitlementRequestFromJSON(json: any): PatchedApplicationEntitlementRequest;
42
+ export declare function PatchedApplicationEntitlementRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedApplicationEntitlementRequest;
43
+ export declare function PatchedApplicationEntitlementRequestToJSON(value?: PatchedApplicationEntitlementRequest | null): any;
@@ -0,0 +1,54 @@
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.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.PatchedApplicationEntitlementRequestToJSON = exports.PatchedApplicationEntitlementRequestFromJSONTyped = exports.PatchedApplicationEntitlementRequestFromJSON = exports.instanceOfPatchedApplicationEntitlementRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PatchedApplicationEntitlementRequest interface.
20
+ */
21
+ function instanceOfPatchedApplicationEntitlementRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfPatchedApplicationEntitlementRequest = instanceOfPatchedApplicationEntitlementRequest;
26
+ function PatchedApplicationEntitlementRequestFromJSON(json) {
27
+ return PatchedApplicationEntitlementRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.PatchedApplicationEntitlementRequestFromJSON = PatchedApplicationEntitlementRequestFromJSON;
30
+ function PatchedApplicationEntitlementRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
36
+ 'app': !(0, runtime_1.exists)(json, 'app') ? undefined : json['app'],
37
+ 'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
38
+ };
39
+ }
40
+ exports.PatchedApplicationEntitlementRequestFromJSONTyped = PatchedApplicationEntitlementRequestFromJSONTyped;
41
+ function PatchedApplicationEntitlementRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'name': value.name,
50
+ 'app': value.app,
51
+ 'attributes': value.attributes,
52
+ };
53
+ }
54
+ exports.PatchedApplicationEntitlementRequestToJSON = PatchedApplicationEntitlementRequestToJSON;
@@ -5,6 +5,8 @@ export * from './AppEnum';
5
5
  export * from './AppleChallengeResponseRequest';
6
6
  export * from './AppleLoginChallenge';
7
7
  export * from './Application';
8
+ export * from './ApplicationEntitlement';
9
+ export * from './ApplicationEntitlementRequest';
8
10
  export * from './ApplicationRequest';
9
11
  export * from './AuthModeEnum';
10
12
  export * from './AuthTypeEnum';
@@ -259,6 +261,7 @@ export * from './OutpostDefaultConfig';
259
261
  export * from './OutpostHealth';
260
262
  export * from './OutpostRequest';
261
263
  export * from './OutpostTypeEnum';
264
+ export * from './PaginatedApplicationEntitlementList';
262
265
  export * from './PaginatedApplicationList';
263
266
  export * from './PaginatedAuthenticatedSessionList';
264
267
  export * from './PaginatedAuthenticatorDuoStageList';
@@ -395,6 +398,7 @@ export * from './PasswordPolicy';
395
398
  export * from './PasswordPolicyRequest';
396
399
  export * from './PasswordStage';
397
400
  export * from './PasswordStageRequest';
401
+ export * from './PatchedApplicationEntitlementRequest';
398
402
  export * from './PatchedApplicationRequest';
399
403
  export * from './PatchedAuthenticatorDuoStageRequest';
400
404
  export * from './PatchedAuthenticatorEndpointGDTCStageRequest';
@@ -23,6 +23,8 @@ __exportStar(require("./AppEnum"), exports);
23
23
  __exportStar(require("./AppleChallengeResponseRequest"), exports);
24
24
  __exportStar(require("./AppleLoginChallenge"), exports);
25
25
  __exportStar(require("./Application"), exports);
26
+ __exportStar(require("./ApplicationEntitlement"), exports);
27
+ __exportStar(require("./ApplicationEntitlementRequest"), exports);
26
28
  __exportStar(require("./ApplicationRequest"), exports);
27
29
  __exportStar(require("./AuthModeEnum"), exports);
28
30
  __exportStar(require("./AuthTypeEnum"), exports);
@@ -277,6 +279,7 @@ __exportStar(require("./OutpostDefaultConfig"), exports);
277
279
  __exportStar(require("./OutpostHealth"), exports);
278
280
  __exportStar(require("./OutpostRequest"), exports);
279
281
  __exportStar(require("./OutpostTypeEnum"), exports);
282
+ __exportStar(require("./PaginatedApplicationEntitlementList"), exports);
280
283
  __exportStar(require("./PaginatedApplicationList"), exports);
281
284
  __exportStar(require("./PaginatedAuthenticatedSessionList"), exports);
282
285
  __exportStar(require("./PaginatedAuthenticatorDuoStageList"), exports);
@@ -413,6 +416,7 @@ __exportStar(require("./PasswordPolicy"), exports);
413
416
  __exportStar(require("./PasswordPolicyRequest"), exports);
414
417
  __exportStar(require("./PasswordStage"), exports);
415
418
  __exportStar(require("./PasswordStageRequest"), exports);
419
+ __exportStar(require("./PatchedApplicationEntitlementRequest"), exports);
416
420
  __exportStar(require("./PatchedApplicationRequest"), exports);
417
421
  __exportStar(require("./PatchedAuthenticatorDuoStageRequest"), exports);
418
422
  __exportStar(require("./PatchedAuthenticatorEndpointGDTCStageRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.10.5-1734524927",
3
+ "version": "2024.10.5-1734636687",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {