@goauthentik/api 2023.10.6-1705072854 → 2023.10.6-1706016512

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.
Files changed (165) hide show
  1. package/.openapi-generator/FILES +16 -1
  2. package/dist/apis/AdminApi.d.ts +31 -1
  3. package/dist/apis/AdminApi.js +88 -0
  4. package/dist/apis/CoreApi.d.ts +104 -105
  5. package/dist/apis/CoreApi.js +228 -231
  6. package/dist/apis/EventsApi.d.ts +2 -2
  7. package/dist/apis/EventsApi.js +6 -6
  8. package/dist/apis/PropertymappingsApi.d.ts +1 -1
  9. package/dist/apis/PropertymappingsApi.js +1 -1
  10. package/dist/apis/RbacApi.d.ts +4 -2
  11. package/dist/apis/RbacApi.js +4 -2
  12. package/dist/apis/TenantsApi.d.ts +184 -0
  13. package/dist/apis/TenantsApi.js +468 -0
  14. package/dist/apis/index.d.ts +1 -0
  15. package/dist/apis/index.js +1 -0
  16. package/dist/esm/apis/AdminApi.d.ts +31 -1
  17. package/dist/esm/apis/AdminApi.js +89 -1
  18. package/dist/esm/apis/CoreApi.d.ts +104 -105
  19. package/dist/esm/apis/CoreApi.js +229 -232
  20. package/dist/esm/apis/EventsApi.d.ts +2 -2
  21. package/dist/esm/apis/EventsApi.js +6 -6
  22. package/dist/esm/apis/PropertymappingsApi.d.ts +1 -1
  23. package/dist/esm/apis/PropertymappingsApi.js +1 -1
  24. package/dist/esm/apis/RbacApi.d.ts +4 -2
  25. package/dist/esm/apis/RbacApi.js +4 -2
  26. package/dist/esm/apis/TenantsApi.d.ts +184 -0
  27. package/dist/esm/apis/TenantsApi.js +464 -0
  28. package/dist/esm/apis/index.d.ts +1 -0
  29. package/dist/esm/apis/index.js +1 -0
  30. package/dist/esm/models/AppEnum.d.ts +4 -2
  31. package/dist/esm/models/AppEnum.js +4 -2
  32. package/dist/esm/models/Brand.d.ts +109 -0
  33. package/dist/esm/models/Brand.js +70 -0
  34. package/dist/esm/models/BrandRequest.d.ts +103 -0
  35. package/dist/esm/models/BrandRequest.js +68 -0
  36. package/dist/esm/models/{CurrentTenant.d.ts → CurrentBrand.d.ts} +21 -21
  37. package/dist/esm/models/{CurrentTenant.js → CurrentBrand.js} +6 -6
  38. package/dist/esm/models/Domain.d.ts +49 -0
  39. package/dist/esm/models/Domain.js +51 -0
  40. package/dist/esm/models/DomainRequest.d.ts +43 -0
  41. package/dist/esm/models/DomainRequest.js +49 -0
  42. package/dist/esm/models/Event.d.ts +1 -1
  43. package/dist/esm/models/Event.js +2 -2
  44. package/dist/esm/models/EventRequest.d.ts +1 -1
  45. package/dist/esm/models/EventRequest.js +2 -2
  46. package/dist/esm/models/ModelEnum.d.ts +4 -2
  47. package/dist/esm/models/ModelEnum.js +4 -2
  48. package/dist/esm/models/PaginatedBrandList.d.ts +39 -0
  49. package/dist/esm/models/PaginatedBrandList.js +48 -0
  50. package/dist/esm/models/PaginatedDomainList.d.ts +39 -0
  51. package/dist/esm/models/PaginatedDomainList.js +48 -0
  52. package/dist/esm/models/PatchedBrandRequest.d.ts +103 -0
  53. package/dist/esm/models/PatchedBrandRequest.js +67 -0
  54. package/dist/esm/models/PatchedDomainRequest.d.ts +43 -0
  55. package/dist/esm/models/PatchedDomainRequest.js +47 -0
  56. package/dist/esm/models/PatchedEventRequest.d.ts +1 -1
  57. package/dist/esm/models/PatchedEventRequest.js +2 -2
  58. package/dist/esm/models/PatchedSettingsRequest.d.ts +73 -0
  59. package/dist/esm/models/PatchedSettingsRequest.js +57 -0
  60. package/dist/esm/models/PatchedTenantRequest.d.ts +4 -70
  61. package/dist/esm/models/PatchedTenantRequest.js +6 -28
  62. package/dist/esm/models/Settings.d.ts +73 -0
  63. package/dist/esm/models/Settings.js +57 -0
  64. package/dist/esm/models/SettingsRequest.d.ts +73 -0
  65. package/dist/esm/models/SettingsRequest.js +57 -0
  66. package/dist/esm/models/SystemInfo.d.ts +8 -2
  67. package/dist/esm/models/SystemInfo.js +4 -2
  68. package/dist/esm/models/Tenant.d.ts +4 -70
  69. package/dist/esm/models/Tenant.js +8 -29
  70. package/dist/esm/models/TenantAdminGroupRequestRequest.d.ts +31 -0
  71. package/dist/esm/models/TenantAdminGroupRequestRequest.js +43 -0
  72. package/dist/esm/models/TenantRecoveryKeyRequestRequest.d.ts +37 -0
  73. package/dist/esm/models/TenantRecoveryKeyRequestRequest.js +46 -0
  74. package/dist/esm/models/TenantRecoveryKeyResponse.d.ts +37 -0
  75. package/dist/esm/models/TenantRecoveryKeyResponse.js +46 -0
  76. package/dist/esm/models/TenantRequest.d.ts +4 -70
  77. package/dist/esm/models/TenantRequest.js +8 -29
  78. package/dist/esm/models/UserSelf.d.ts +1 -1
  79. package/dist/esm/models/index.d.ts +15 -1
  80. package/dist/esm/models/index.js +15 -1
  81. package/dist/models/AppEnum.d.ts +4 -2
  82. package/dist/models/AppEnum.js +4 -2
  83. package/dist/models/Brand.d.ts +109 -0
  84. package/dist/models/Brand.js +77 -0
  85. package/dist/models/BrandRequest.d.ts +103 -0
  86. package/dist/models/BrandRequest.js +75 -0
  87. package/dist/models/{CurrentTenant.d.ts → CurrentBrand.d.ts} +21 -21
  88. package/dist/models/{CurrentTenant.js → CurrentBrand.js} +11 -11
  89. package/dist/models/Domain.d.ts +49 -0
  90. package/dist/models/Domain.js +58 -0
  91. package/dist/models/DomainRequest.d.ts +43 -0
  92. package/dist/models/DomainRequest.js +56 -0
  93. package/dist/models/Event.d.ts +1 -1
  94. package/dist/models/Event.js +2 -2
  95. package/dist/models/EventRequest.d.ts +1 -1
  96. package/dist/models/EventRequest.js +2 -2
  97. package/dist/models/ModelEnum.d.ts +4 -2
  98. package/dist/models/ModelEnum.js +4 -2
  99. package/dist/models/PaginatedBrandList.d.ts +39 -0
  100. package/dist/models/PaginatedBrandList.js +55 -0
  101. package/dist/models/PaginatedDomainList.d.ts +39 -0
  102. package/dist/models/PaginatedDomainList.js +55 -0
  103. package/dist/models/PatchedBrandRequest.d.ts +103 -0
  104. package/dist/models/PatchedBrandRequest.js +74 -0
  105. package/dist/models/PatchedDomainRequest.d.ts +43 -0
  106. package/dist/models/PatchedDomainRequest.js +54 -0
  107. package/dist/models/PatchedEventRequest.d.ts +1 -1
  108. package/dist/models/PatchedEventRequest.js +2 -2
  109. package/dist/models/PatchedSettingsRequest.d.ts +73 -0
  110. package/dist/models/PatchedSettingsRequest.js +64 -0
  111. package/dist/models/PatchedTenantRequest.d.ts +4 -70
  112. package/dist/models/PatchedTenantRequest.js +6 -28
  113. package/dist/models/Settings.d.ts +73 -0
  114. package/dist/models/Settings.js +64 -0
  115. package/dist/models/SettingsRequest.d.ts +73 -0
  116. package/dist/models/SettingsRequest.js +64 -0
  117. package/dist/models/SystemInfo.d.ts +8 -2
  118. package/dist/models/SystemInfo.js +4 -2
  119. package/dist/models/Tenant.d.ts +4 -70
  120. package/dist/models/Tenant.js +8 -29
  121. package/dist/models/TenantAdminGroupRequestRequest.d.ts +31 -0
  122. package/dist/models/TenantAdminGroupRequestRequest.js +50 -0
  123. package/dist/models/TenantRecoveryKeyRequestRequest.d.ts +37 -0
  124. package/dist/models/TenantRecoveryKeyRequestRequest.js +53 -0
  125. package/dist/models/TenantRecoveryKeyResponse.d.ts +37 -0
  126. package/dist/models/TenantRecoveryKeyResponse.js +53 -0
  127. package/dist/models/TenantRequest.d.ts +4 -70
  128. package/dist/models/TenantRequest.js +8 -29
  129. package/dist/models/UserSelf.d.ts +1 -1
  130. package/dist/models/index.d.ts +15 -1
  131. package/dist/models/index.js +15 -1
  132. package/package.json +1 -1
  133. package/src/apis/AdminApi.ts +113 -0
  134. package/src/apis/CoreApi.ts +304 -309
  135. package/src/apis/EventsApi.ts +10 -10
  136. package/src/apis/PropertymappingsApi.ts +2 -2
  137. package/src/apis/RbacApi.ts +4 -2
  138. package/src/apis/TenantsApi.ts +615 -0
  139. package/src/apis/index.ts +1 -0
  140. package/src/models/AppEnum.ts +4 -2
  141. package/src/models/Brand.ts +170 -0
  142. package/src/models/BrandRequest.ts +162 -0
  143. package/src/models/{CurrentTenant.ts → CurrentBrand.ts} +22 -22
  144. package/src/models/Domain.ts +91 -0
  145. package/src/models/DomainRequest.ts +83 -0
  146. package/src/models/Event.ts +3 -3
  147. package/src/models/EventRequest.ts +3 -3
  148. package/src/models/ModelEnum.ts +4 -2
  149. package/src/models/PaginatedBrandList.ts +88 -0
  150. package/src/models/PaginatedDomainList.ts +88 -0
  151. package/src/models/PatchedBrandRequest.ts +161 -0
  152. package/src/models/PatchedDomainRequest.ts +81 -0
  153. package/src/models/PatchedEventRequest.ts +3 -3
  154. package/src/models/PatchedSettingsRequest.ts +121 -0
  155. package/src/models/PatchedTenantRequest.ts +10 -98
  156. package/src/models/Settings.ts +121 -0
  157. package/src/models/SettingsRequest.ts +121 -0
  158. package/src/models/SystemInfo.ts +12 -4
  159. package/src/models/Tenant.ts +12 -99
  160. package/src/models/TenantAdminGroupRequestRequest.ts +66 -0
  161. package/src/models/TenantRecoveryKeyRequestRequest.ts +75 -0
  162. package/src/models/TenantRecoveryKeyResponse.ts +75 -0
  163. package/src/models/TenantRequest.ts +12 -99
  164. package/src/models/UserSelf.ts +1 -1
  165. package/src/models/index.ts +15 -1
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
+ * * `authentik_tenants.domain` - Domain
15
16
  * * `authentik_crypto.certificatekeypair` - Certificate-Key Pair
16
17
  * * `authentik_events.event` - Event
17
18
  * * `authentik_events.notificationtransport` - Notification Transport
@@ -79,7 +80,7 @@
79
80
  * * `authentik_stages_user_login.userloginstage` - User Login Stage
80
81
  * * `authentik_stages_user_logout.userlogoutstage` - User Logout Stage
81
82
  * * `authentik_stages_user_write.userwritestage` - User Write Stage
82
- * * `authentik_tenants.tenant` - Tenant
83
+ * * `authentik_brands.brand` - Brand
83
84
  * * `authentik_blueprints.blueprintinstance` - Blueprint Instance
84
85
  * * `authentik_core.group` - Group
85
86
  * * `authentik_core.user` - User
@@ -92,6 +93,7 @@
92
93
  * @export
93
94
  */
94
95
  export const ModelEnum = {
96
+ TenantsDomain: 'authentik_tenants.domain',
95
97
  CryptoCertificatekeypair: 'authentik_crypto.certificatekeypair',
96
98
  EventsEvent: 'authentik_events.event',
97
99
  EventsNotificationtransport: 'authentik_events.notificationtransport',
@@ -159,7 +161,7 @@ export const ModelEnum = {
159
161
  StagesUserLoginUserloginstage: 'authentik_stages_user_login.userloginstage',
160
162
  StagesUserLogoutUserlogoutstage: 'authentik_stages_user_logout.userlogoutstage',
161
163
  StagesUserWriteUserwritestage: 'authentik_stages_user_write.userwritestage',
162
- TenantsTenant: 'authentik_tenants.tenant',
164
+ BrandsBrand: 'authentik_brands.brand',
163
165
  BlueprintsBlueprintinstance: 'authentik_blueprints.blueprintinstance',
164
166
  CoreGroup: 'authentik_core.group',
165
167
  CoreUser: 'authentik_core.user',
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.6
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 { Brand } from './Brand';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedBrandList
18
+ */
19
+ export interface PaginatedBrandList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedBrandList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<Brand>}
29
+ * @memberof PaginatedBrandList
30
+ */
31
+ results: Array<Brand>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedBrandList interface.
35
+ */
36
+ export declare function instanceOfPaginatedBrandList(value: object): boolean;
37
+ export declare function PaginatedBrandListFromJSON(json: any): PaginatedBrandList;
38
+ export declare function PaginatedBrandListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedBrandList;
39
+ export declare function PaginatedBrandListToJSON(value?: PaginatedBrandList | null): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.10.6
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 { BrandFromJSON, BrandToJSON, } from './Brand';
15
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
16
+ /**
17
+ * Check if a given object implements the PaginatedBrandList interface.
18
+ */
19
+ export function instanceOfPaginatedBrandList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedBrandListFromJSON(json) {
26
+ return PaginatedBrandListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedBrandListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(BrandFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedBrandListToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'pagination': PaginationToJSON(value.pagination),
46
+ 'results': (value.results.map(BrandToJSON)),
47
+ };
48
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.6
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 { Domain } from './Domain';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedDomainList
18
+ */
19
+ export interface PaginatedDomainList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedDomainList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<Domain>}
29
+ * @memberof PaginatedDomainList
30
+ */
31
+ results: Array<Domain>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedDomainList interface.
35
+ */
36
+ export declare function instanceOfPaginatedDomainList(value: object): boolean;
37
+ export declare function PaginatedDomainListFromJSON(json: any): PaginatedDomainList;
38
+ export declare function PaginatedDomainListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDomainList;
39
+ export declare function PaginatedDomainListToJSON(value?: PaginatedDomainList | null): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.10.6
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 { DomainFromJSON, DomainToJSON, } from './Domain';
15
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
16
+ /**
17
+ * Check if a given object implements the PaginatedDomainList interface.
18
+ */
19
+ export function instanceOfPaginatedDomainList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedDomainListFromJSON(json) {
26
+ return PaginatedDomainListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedDomainListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(DomainFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedDomainListToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'pagination': PaginationToJSON(value.pagination),
46
+ 'results': (value.results.map(DomainToJSON)),
47
+ };
48
+ }
@@ -0,0 +1,103 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.6
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
+ * Brand Serializer
14
+ * @export
15
+ * @interface PatchedBrandRequest
16
+ */
17
+ export interface PatchedBrandRequest {
18
+ /**
19
+ * Domain that activates this brand. Can be a superset, i.e. `a.b` for `aa.b` and `ba.b`
20
+ * @type {string}
21
+ * @memberof PatchedBrandRequest
22
+ */
23
+ domain?: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof PatchedBrandRequest
28
+ */
29
+ _default?: boolean;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedBrandRequest
34
+ */
35
+ brandingTitle?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PatchedBrandRequest
40
+ */
41
+ brandingLogo?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PatchedBrandRequest
46
+ */
47
+ brandingFavicon?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof PatchedBrandRequest
52
+ */
53
+ flowAuthentication?: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof PatchedBrandRequest
58
+ */
59
+ flowInvalidation?: string | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof PatchedBrandRequest
64
+ */
65
+ flowRecovery?: string | null;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof PatchedBrandRequest
70
+ */
71
+ flowUnenrollment?: string | null;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof PatchedBrandRequest
76
+ */
77
+ flowUserSettings?: string | null;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof PatchedBrandRequest
82
+ */
83
+ flowDeviceCode?: string | null;
84
+ /**
85
+ * Web Certificate used by the authentik Core webserver.
86
+ * @type {string}
87
+ * @memberof PatchedBrandRequest
88
+ */
89
+ webCertificate?: string | null;
90
+ /**
91
+ *
92
+ * @type {any}
93
+ * @memberof PatchedBrandRequest
94
+ */
95
+ attributes?: any | null;
96
+ }
97
+ /**
98
+ * Check if a given object implements the PatchedBrandRequest interface.
99
+ */
100
+ export declare function instanceOfPatchedBrandRequest(value: object): boolean;
101
+ export declare function PatchedBrandRequestFromJSON(json: any): PatchedBrandRequest;
102
+ export declare function PatchedBrandRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedBrandRequest;
103
+ export declare function PatchedBrandRequestToJSON(value?: PatchedBrandRequest | null): any;
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.10.6
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 PatchedBrandRequest interface.
17
+ */
18
+ export function instanceOfPatchedBrandRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedBrandRequestFromJSON(json) {
23
+ return PatchedBrandRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'domain': !exists(json, 'domain') ? undefined : json['domain'],
31
+ '_default': !exists(json, 'default') ? undefined : json['default'],
32
+ 'brandingTitle': !exists(json, 'branding_title') ? undefined : json['branding_title'],
33
+ 'brandingLogo': !exists(json, 'branding_logo') ? undefined : json['branding_logo'],
34
+ 'brandingFavicon': !exists(json, 'branding_favicon') ? undefined : json['branding_favicon'],
35
+ 'flowAuthentication': !exists(json, 'flow_authentication') ? undefined : json['flow_authentication'],
36
+ 'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
37
+ 'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
38
+ 'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
39
+ 'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
40
+ 'flowDeviceCode': !exists(json, 'flow_device_code') ? undefined : json['flow_device_code'],
41
+ 'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
42
+ 'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
43
+ };
44
+ }
45
+ export function PatchedBrandRequestToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'domain': value.domain,
54
+ 'default': value._default,
55
+ 'branding_title': value.brandingTitle,
56
+ 'branding_logo': value.brandingLogo,
57
+ 'branding_favicon': value.brandingFavicon,
58
+ 'flow_authentication': value.flowAuthentication,
59
+ 'flow_invalidation': value.flowInvalidation,
60
+ 'flow_recovery': value.flowRecovery,
61
+ 'flow_unenrollment': value.flowUnenrollment,
62
+ 'flow_user_settings': value.flowUserSettings,
63
+ 'flow_device_code': value.flowDeviceCode,
64
+ 'web_certificate': value.webCertificate,
65
+ 'attributes': value.attributes,
66
+ };
67
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.6
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
+ * Domain Serializer
14
+ * @export
15
+ * @interface PatchedDomainRequest
16
+ */
17
+ export interface PatchedDomainRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchedDomainRequest
22
+ */
23
+ domain?: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof PatchedDomainRequest
28
+ */
29
+ isPrimary?: boolean;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedDomainRequest
34
+ */
35
+ tenant?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedDomainRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedDomainRequest(value: object): boolean;
41
+ export declare function PatchedDomainRequestFromJSON(json: any): PatchedDomainRequest;
42
+ export declare function PatchedDomainRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedDomainRequest;
43
+ export declare function PatchedDomainRequestToJSON(value?: PatchedDomainRequest | null): any;
@@ -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: 2023.10.6
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 PatchedDomainRequest interface.
17
+ */
18
+ export function instanceOfPatchedDomainRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedDomainRequestFromJSON(json) {
23
+ return PatchedDomainRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedDomainRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'domain': !exists(json, 'domain') ? undefined : json['domain'],
31
+ 'isPrimary': !exists(json, 'is_primary') ? undefined : json['is_primary'],
32
+ 'tenant': !exists(json, 'tenant') ? undefined : json['tenant'],
33
+ };
34
+ }
35
+ export function PatchedDomainRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'domain': value.domain,
44
+ 'is_primary': value.isPrimary,
45
+ 'tenant': value.tenant,
46
+ };
47
+ }
@@ -57,7 +57,7 @@ export interface PatchedEventRequest {
57
57
  * @type {any}
58
58
  * @memberof PatchedEventRequest
59
59
  */
60
- tenant?: any | null;
60
+ brand?: any | null;
61
61
  }
62
62
  /**
63
63
  * Check if a given object implements the PatchedEventRequest interface.
@@ -34,7 +34,7 @@ export function PatchedEventRequestFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'context': !exists(json, 'context') ? undefined : json['context'],
35
35
  'clientIp': !exists(json, 'client_ip') ? undefined : json['client_ip'],
36
36
  'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
37
- 'tenant': !exists(json, 'tenant') ? undefined : json['tenant'],
37
+ 'brand': !exists(json, 'brand') ? undefined : json['brand'],
38
38
  };
39
39
  }
40
40
  export function PatchedEventRequestToJSON(value) {
@@ -51,6 +51,6 @@ export function PatchedEventRequestToJSON(value) {
51
51
  'context': value.context,
52
52
  'client_ip': value.clientIp,
53
53
  'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
54
- 'tenant': value.tenant,
54
+ 'brand': value.brand,
55
55
  };
56
56
  }
@@ -0,0 +1,73 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.6
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
+ * Settings Serializer
14
+ * @export
15
+ * @interface PatchedSettingsRequest
16
+ */
17
+ export interface PatchedSettingsRequest {
18
+ /**
19
+ * Configure how authentik should show avatars for users.
20
+ * @type {string}
21
+ * @memberof PatchedSettingsRequest
22
+ */
23
+ avatars?: string;
24
+ /**
25
+ * Enable the ability for users to change their name.
26
+ * @type {boolean}
27
+ * @memberof PatchedSettingsRequest
28
+ */
29
+ defaultUserChangeName?: boolean;
30
+ /**
31
+ * Enable the ability for users to change their email address.
32
+ * @type {boolean}
33
+ * @memberof PatchedSettingsRequest
34
+ */
35
+ defaultUserChangeEmail?: boolean;
36
+ /**
37
+ * Enable the ability for users to change their username.
38
+ * @type {boolean}
39
+ * @memberof PatchedSettingsRequest
40
+ */
41
+ defaultUserChangeUsername?: boolean;
42
+ /**
43
+ * Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2).
44
+ * @type {string}
45
+ * @memberof PatchedSettingsRequest
46
+ */
47
+ eventRetention?: string;
48
+ /**
49
+ * The option configures the footer links on the flow executor pages.
50
+ * @type {any}
51
+ * @memberof PatchedSettingsRequest
52
+ */
53
+ footerLinks?: any | null;
54
+ /**
55
+ * When enabled, all the events caused by a user will be deleted upon the user's deletion.
56
+ * @type {boolean}
57
+ * @memberof PatchedSettingsRequest
58
+ */
59
+ gdprCompliance?: boolean;
60
+ /**
61
+ * Globally enable/disable impersonation.
62
+ * @type {boolean}
63
+ * @memberof PatchedSettingsRequest
64
+ */
65
+ impersonation?: boolean;
66
+ }
67
+ /**
68
+ * Check if a given object implements the PatchedSettingsRequest interface.
69
+ */
70
+ export declare function instanceOfPatchedSettingsRequest(value: object): boolean;
71
+ export declare function PatchedSettingsRequestFromJSON(json: any): PatchedSettingsRequest;
72
+ export declare function PatchedSettingsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSettingsRequest;
73
+ export declare function PatchedSettingsRequestToJSON(value?: PatchedSettingsRequest | null): any;
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.10.6
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 PatchedSettingsRequest interface.
17
+ */
18
+ export function instanceOfPatchedSettingsRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedSettingsRequestFromJSON(json) {
23
+ return PatchedSettingsRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedSettingsRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'avatars': !exists(json, 'avatars') ? undefined : json['avatars'],
31
+ 'defaultUserChangeName': !exists(json, 'default_user_change_name') ? undefined : json['default_user_change_name'],
32
+ 'defaultUserChangeEmail': !exists(json, 'default_user_change_email') ? undefined : json['default_user_change_email'],
33
+ 'defaultUserChangeUsername': !exists(json, 'default_user_change_username') ? undefined : json['default_user_change_username'],
34
+ 'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
35
+ 'footerLinks': !exists(json, 'footer_links') ? undefined : json['footer_links'],
36
+ 'gdprCompliance': !exists(json, 'gdpr_compliance') ? undefined : json['gdpr_compliance'],
37
+ 'impersonation': !exists(json, 'impersonation') ? undefined : json['impersonation'],
38
+ };
39
+ }
40
+ export function PatchedSettingsRequestToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'avatars': value.avatars,
49
+ 'default_user_change_name': value.defaultUserChangeName,
50
+ 'default_user_change_email': value.defaultUserChangeEmail,
51
+ 'default_user_change_username': value.defaultUserChangeUsername,
52
+ 'event_retention': value.eventRetention,
53
+ 'footer_links': value.footerLinks,
54
+ 'gdpr_compliance': value.gdprCompliance,
55
+ 'impersonation': value.impersonation,
56
+ };
57
+ }