@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,88 @@
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
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { ApplicationEntitlement } from './ApplicationEntitlement';
17
+ import {
18
+ ApplicationEntitlementFromJSON,
19
+ ApplicationEntitlementFromJSONTyped,
20
+ ApplicationEntitlementToJSON,
21
+ } from './ApplicationEntitlement';
22
+ import type { Pagination } from './Pagination';
23
+ import {
24
+ PaginationFromJSON,
25
+ PaginationFromJSONTyped,
26
+ PaginationToJSON,
27
+ } from './Pagination';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PaginatedApplicationEntitlementList
33
+ */
34
+ export interface PaginatedApplicationEntitlementList {
35
+ /**
36
+ *
37
+ * @type {Pagination}
38
+ * @memberof PaginatedApplicationEntitlementList
39
+ */
40
+ pagination: Pagination;
41
+ /**
42
+ *
43
+ * @type {Array<ApplicationEntitlement>}
44
+ * @memberof PaginatedApplicationEntitlementList
45
+ */
46
+ results: Array<ApplicationEntitlement>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PaginatedApplicationEntitlementList interface.
51
+ */
52
+ export function instanceOfPaginatedApplicationEntitlementList(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "pagination" in value;
55
+ isInstance = isInstance && "results" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function PaginatedApplicationEntitlementListFromJSON(json: any): PaginatedApplicationEntitlementList {
61
+ return PaginatedApplicationEntitlementListFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedApplicationEntitlementListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedApplicationEntitlementList {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'pagination': PaginationFromJSON(json['pagination']),
71
+ 'results': ((json['results'] as Array<any>).map(ApplicationEntitlementFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function PaginatedApplicationEntitlementListToJSON(value?: PaginatedApplicationEntitlementList | null): any {
76
+ if (value === undefined) {
77
+ return undefined;
78
+ }
79
+ if (value === null) {
80
+ return null;
81
+ }
82
+ return {
83
+
84
+ 'pagination': PaginationToJSON(value.pagination),
85
+ 'results': ((value.results as Array<any>).map(ApplicationEntitlementToJSON)),
86
+ };
87
+ }
88
+
@@ -0,0 +1,81 @@
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
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * ApplicationEntitlement Serializer
18
+ * @export
19
+ * @interface PatchedApplicationEntitlementRequest
20
+ */
21
+ export interface PatchedApplicationEntitlementRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof PatchedApplicationEntitlementRequest
26
+ */
27
+ name?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof PatchedApplicationEntitlementRequest
32
+ */
33
+ app?: string;
34
+ /**
35
+ *
36
+ * @type {any}
37
+ * @memberof PatchedApplicationEntitlementRequest
38
+ */
39
+ attributes?: any | null;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the PatchedApplicationEntitlementRequest interface.
44
+ */
45
+ export function instanceOfPatchedApplicationEntitlementRequest(value: object): boolean {
46
+ let isInstance = true;
47
+
48
+ return isInstance;
49
+ }
50
+
51
+ export function PatchedApplicationEntitlementRequestFromJSON(json: any): PatchedApplicationEntitlementRequest {
52
+ return PatchedApplicationEntitlementRequestFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function PatchedApplicationEntitlementRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedApplicationEntitlementRequest {
56
+ if ((json === undefined) || (json === null)) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'name': !exists(json, 'name') ? undefined : json['name'],
62
+ 'app': !exists(json, 'app') ? undefined : json['app'],
63
+ 'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
64
+ };
65
+ }
66
+
67
+ export function PatchedApplicationEntitlementRequestToJSON(value?: PatchedApplicationEntitlementRequest | null): any {
68
+ if (value === undefined) {
69
+ return undefined;
70
+ }
71
+ if (value === null) {
72
+ return null;
73
+ }
74
+ return {
75
+
76
+ 'name': value.name,
77
+ 'app': value.app,
78
+ 'attributes': value.attributes,
79
+ };
80
+ }
81
+
@@ -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';