@goauthentik/api 2023.10.6-1705263684 → 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 (160) 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/RbacApi.d.ts +4 -2
  9. package/dist/apis/RbacApi.js +4 -2
  10. package/dist/apis/TenantsApi.d.ts +184 -0
  11. package/dist/apis/TenantsApi.js +468 -0
  12. package/dist/apis/index.d.ts +1 -0
  13. package/dist/apis/index.js +1 -0
  14. package/dist/esm/apis/AdminApi.d.ts +31 -1
  15. package/dist/esm/apis/AdminApi.js +89 -1
  16. package/dist/esm/apis/CoreApi.d.ts +104 -105
  17. package/dist/esm/apis/CoreApi.js +229 -232
  18. package/dist/esm/apis/EventsApi.d.ts +2 -2
  19. package/dist/esm/apis/EventsApi.js +6 -6
  20. package/dist/esm/apis/RbacApi.d.ts +4 -2
  21. package/dist/esm/apis/RbacApi.js +4 -2
  22. package/dist/esm/apis/TenantsApi.d.ts +184 -0
  23. package/dist/esm/apis/TenantsApi.js +464 -0
  24. package/dist/esm/apis/index.d.ts +1 -0
  25. package/dist/esm/apis/index.js +1 -0
  26. package/dist/esm/models/AppEnum.d.ts +4 -2
  27. package/dist/esm/models/AppEnum.js +4 -2
  28. package/dist/esm/models/Brand.d.ts +109 -0
  29. package/dist/esm/models/Brand.js +70 -0
  30. package/dist/esm/models/BrandRequest.d.ts +103 -0
  31. package/dist/esm/models/BrandRequest.js +68 -0
  32. package/dist/esm/models/{CurrentTenant.d.ts → CurrentBrand.d.ts} +21 -21
  33. package/dist/esm/models/{CurrentTenant.js → CurrentBrand.js} +6 -6
  34. package/dist/esm/models/Domain.d.ts +49 -0
  35. package/dist/esm/models/Domain.js +51 -0
  36. package/dist/esm/models/DomainRequest.d.ts +43 -0
  37. package/dist/esm/models/DomainRequest.js +49 -0
  38. package/dist/esm/models/Event.d.ts +1 -1
  39. package/dist/esm/models/Event.js +2 -2
  40. package/dist/esm/models/EventRequest.d.ts +1 -1
  41. package/dist/esm/models/EventRequest.js +2 -2
  42. package/dist/esm/models/ModelEnum.d.ts +4 -2
  43. package/dist/esm/models/ModelEnum.js +4 -2
  44. package/dist/esm/models/PaginatedBrandList.d.ts +39 -0
  45. package/dist/esm/models/PaginatedBrandList.js +48 -0
  46. package/dist/esm/models/PaginatedDomainList.d.ts +39 -0
  47. package/dist/esm/models/PaginatedDomainList.js +48 -0
  48. package/dist/esm/models/PatchedBrandRequest.d.ts +103 -0
  49. package/dist/esm/models/PatchedBrandRequest.js +67 -0
  50. package/dist/esm/models/PatchedDomainRequest.d.ts +43 -0
  51. package/dist/esm/models/PatchedDomainRequest.js +47 -0
  52. package/dist/esm/models/PatchedEventRequest.d.ts +1 -1
  53. package/dist/esm/models/PatchedEventRequest.js +2 -2
  54. package/dist/esm/models/PatchedSettingsRequest.d.ts +73 -0
  55. package/dist/esm/models/PatchedSettingsRequest.js +57 -0
  56. package/dist/esm/models/PatchedTenantRequest.d.ts +4 -70
  57. package/dist/esm/models/PatchedTenantRequest.js +6 -28
  58. package/dist/esm/models/Settings.d.ts +73 -0
  59. package/dist/esm/models/Settings.js +57 -0
  60. package/dist/esm/models/SettingsRequest.d.ts +73 -0
  61. package/dist/esm/models/SettingsRequest.js +57 -0
  62. package/dist/esm/models/SystemInfo.d.ts +8 -2
  63. package/dist/esm/models/SystemInfo.js +4 -2
  64. package/dist/esm/models/Tenant.d.ts +4 -70
  65. package/dist/esm/models/Tenant.js +8 -29
  66. package/dist/esm/models/TenantAdminGroupRequestRequest.d.ts +31 -0
  67. package/dist/esm/models/TenantAdminGroupRequestRequest.js +43 -0
  68. package/dist/esm/models/TenantRecoveryKeyRequestRequest.d.ts +37 -0
  69. package/dist/esm/models/TenantRecoveryKeyRequestRequest.js +46 -0
  70. package/dist/esm/models/TenantRecoveryKeyResponse.d.ts +37 -0
  71. package/dist/esm/models/TenantRecoveryKeyResponse.js +46 -0
  72. package/dist/esm/models/TenantRequest.d.ts +4 -70
  73. package/dist/esm/models/TenantRequest.js +8 -29
  74. package/dist/esm/models/UserSelf.d.ts +1 -1
  75. package/dist/esm/models/index.d.ts +15 -1
  76. package/dist/esm/models/index.js +15 -1
  77. package/dist/models/AppEnum.d.ts +4 -2
  78. package/dist/models/AppEnum.js +4 -2
  79. package/dist/models/Brand.d.ts +109 -0
  80. package/dist/models/Brand.js +77 -0
  81. package/dist/models/BrandRequest.d.ts +103 -0
  82. package/dist/models/BrandRequest.js +75 -0
  83. package/dist/models/{CurrentTenant.d.ts → CurrentBrand.d.ts} +21 -21
  84. package/dist/models/{CurrentTenant.js → CurrentBrand.js} +11 -11
  85. package/dist/models/Domain.d.ts +49 -0
  86. package/dist/models/Domain.js +58 -0
  87. package/dist/models/DomainRequest.d.ts +43 -0
  88. package/dist/models/DomainRequest.js +56 -0
  89. package/dist/models/Event.d.ts +1 -1
  90. package/dist/models/Event.js +2 -2
  91. package/dist/models/EventRequest.d.ts +1 -1
  92. package/dist/models/EventRequest.js +2 -2
  93. package/dist/models/ModelEnum.d.ts +4 -2
  94. package/dist/models/ModelEnum.js +4 -2
  95. package/dist/models/PaginatedBrandList.d.ts +39 -0
  96. package/dist/models/PaginatedBrandList.js +55 -0
  97. package/dist/models/PaginatedDomainList.d.ts +39 -0
  98. package/dist/models/PaginatedDomainList.js +55 -0
  99. package/dist/models/PatchedBrandRequest.d.ts +103 -0
  100. package/dist/models/PatchedBrandRequest.js +74 -0
  101. package/dist/models/PatchedDomainRequest.d.ts +43 -0
  102. package/dist/models/PatchedDomainRequest.js +54 -0
  103. package/dist/models/PatchedEventRequest.d.ts +1 -1
  104. package/dist/models/PatchedEventRequest.js +2 -2
  105. package/dist/models/PatchedSettingsRequest.d.ts +73 -0
  106. package/dist/models/PatchedSettingsRequest.js +64 -0
  107. package/dist/models/PatchedTenantRequest.d.ts +4 -70
  108. package/dist/models/PatchedTenantRequest.js +6 -28
  109. package/dist/models/Settings.d.ts +73 -0
  110. package/dist/models/Settings.js +64 -0
  111. package/dist/models/SettingsRequest.d.ts +73 -0
  112. package/dist/models/SettingsRequest.js +64 -0
  113. package/dist/models/SystemInfo.d.ts +8 -2
  114. package/dist/models/SystemInfo.js +4 -2
  115. package/dist/models/Tenant.d.ts +4 -70
  116. package/dist/models/Tenant.js +8 -29
  117. package/dist/models/TenantAdminGroupRequestRequest.d.ts +31 -0
  118. package/dist/models/TenantAdminGroupRequestRequest.js +50 -0
  119. package/dist/models/TenantRecoveryKeyRequestRequest.d.ts +37 -0
  120. package/dist/models/TenantRecoveryKeyRequestRequest.js +53 -0
  121. package/dist/models/TenantRecoveryKeyResponse.d.ts +37 -0
  122. package/dist/models/TenantRecoveryKeyResponse.js +53 -0
  123. package/dist/models/TenantRequest.d.ts +4 -70
  124. package/dist/models/TenantRequest.js +8 -29
  125. package/dist/models/UserSelf.d.ts +1 -1
  126. package/dist/models/index.d.ts +15 -1
  127. package/dist/models/index.js +15 -1
  128. package/package.json +1 -1
  129. package/src/apis/AdminApi.ts +113 -0
  130. package/src/apis/CoreApi.ts +304 -309
  131. package/src/apis/EventsApi.ts +10 -10
  132. package/src/apis/RbacApi.ts +4 -2
  133. package/src/apis/TenantsApi.ts +615 -0
  134. package/src/apis/index.ts +1 -0
  135. package/src/models/AppEnum.ts +4 -2
  136. package/src/models/Brand.ts +170 -0
  137. package/src/models/BrandRequest.ts +162 -0
  138. package/src/models/{CurrentTenant.ts → CurrentBrand.ts} +22 -22
  139. package/src/models/Domain.ts +91 -0
  140. package/src/models/DomainRequest.ts +83 -0
  141. package/src/models/Event.ts +3 -3
  142. package/src/models/EventRequest.ts +3 -3
  143. package/src/models/ModelEnum.ts +4 -2
  144. package/src/models/PaginatedBrandList.ts +88 -0
  145. package/src/models/PaginatedDomainList.ts +88 -0
  146. package/src/models/PatchedBrandRequest.ts +161 -0
  147. package/src/models/PatchedDomainRequest.ts +81 -0
  148. package/src/models/PatchedEventRequest.ts +3 -3
  149. package/src/models/PatchedSettingsRequest.ts +121 -0
  150. package/src/models/PatchedTenantRequest.ts +10 -98
  151. package/src/models/Settings.ts +121 -0
  152. package/src/models/SettingsRequest.ts +121 -0
  153. package/src/models/SystemInfo.ts +12 -4
  154. package/src/models/Tenant.ts +12 -99
  155. package/src/models/TenantAdminGroupRequestRequest.ts +66 -0
  156. package/src/models/TenantRecoveryKeyRequestRequest.ts +75 -0
  157. package/src/models/TenantRecoveryKeyResponse.ts +75 -0
  158. package/src/models/TenantRequest.ts +12 -99
  159. package/src/models/UserSelf.ts +1 -1
  160. package/src/models/index.ts +15 -1
@@ -0,0 +1,37 @@
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
+ * Tenant recovery key creation request serializer
14
+ * @export
15
+ * @interface TenantRecoveryKeyRequestRequest
16
+ */
17
+ export interface TenantRecoveryKeyRequestRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TenantRecoveryKeyRequestRequest
22
+ */
23
+ user: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TenantRecoveryKeyRequestRequest
28
+ */
29
+ durationDays: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the TenantRecoveryKeyRequestRequest interface.
33
+ */
34
+ export declare function instanceOfTenantRecoveryKeyRequestRequest(value: object): boolean;
35
+ export declare function TenantRecoveryKeyRequestRequestFromJSON(json: any): TenantRecoveryKeyRequestRequest;
36
+ export declare function TenantRecoveryKeyRequestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantRecoveryKeyRequestRequest;
37
+ export declare function TenantRecoveryKeyRequestRequestToJSON(value?: TenantRecoveryKeyRequestRequest | null): any;
@@ -0,0 +1,46 @@
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
+ /**
15
+ * Check if a given object implements the TenantRecoveryKeyRequestRequest interface.
16
+ */
17
+ export function instanceOfTenantRecoveryKeyRequestRequest(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "user" in value;
20
+ isInstance = isInstance && "durationDays" in value;
21
+ return isInstance;
22
+ }
23
+ export function TenantRecoveryKeyRequestRequestFromJSON(json) {
24
+ return TenantRecoveryKeyRequestRequestFromJSONTyped(json, false);
25
+ }
26
+ export function TenantRecoveryKeyRequestRequestFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'user': json['user'],
32
+ 'durationDays': json['duration_days'],
33
+ };
34
+ }
35
+ export function TenantRecoveryKeyRequestRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'user': value.user,
44
+ 'duration_days': value.durationDays,
45
+ };
46
+ }
@@ -0,0 +1,37 @@
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
+ * Tenant recovery key creation response serializer
14
+ * @export
15
+ * @interface TenantRecoveryKeyResponse
16
+ */
17
+ export interface TenantRecoveryKeyResponse {
18
+ /**
19
+ *
20
+ * @type {Date}
21
+ * @memberof TenantRecoveryKeyResponse
22
+ */
23
+ expiry: Date;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TenantRecoveryKeyResponse
28
+ */
29
+ url: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the TenantRecoveryKeyResponse interface.
33
+ */
34
+ export declare function instanceOfTenantRecoveryKeyResponse(value: object): boolean;
35
+ export declare function TenantRecoveryKeyResponseFromJSON(json: any): TenantRecoveryKeyResponse;
36
+ export declare function TenantRecoveryKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantRecoveryKeyResponse;
37
+ export declare function TenantRecoveryKeyResponseToJSON(value?: TenantRecoveryKeyResponse | null): any;
@@ -0,0 +1,46 @@
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
+ /**
15
+ * Check if a given object implements the TenantRecoveryKeyResponse interface.
16
+ */
17
+ export function instanceOfTenantRecoveryKeyResponse(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "expiry" in value;
20
+ isInstance = isInstance && "url" in value;
21
+ return isInstance;
22
+ }
23
+ export function TenantRecoveryKeyResponseFromJSON(json) {
24
+ return TenantRecoveryKeyResponseFromJSONTyped(json, false);
25
+ }
26
+ export function TenantRecoveryKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'expiry': (new Date(json['expiry'])),
32
+ 'url': json['url'],
33
+ };
34
+ }
35
+ export function TenantRecoveryKeyResponseToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'expiry': (value.expiry.toISOString()),
44
+ 'url': value.url,
45
+ };
46
+ }
@@ -15,90 +15,24 @@
15
15
  * @interface TenantRequest
16
16
  */
17
17
  export interface TenantRequest {
18
- /**
19
- * Domain that activates this tenant. Can be a superset, i.e. `a.b` for `aa.b` and `ba.b`
20
- * @type {string}
21
- * @memberof TenantRequest
22
- */
23
- domain: string;
24
- /**
25
- *
26
- * @type {boolean}
27
- * @memberof TenantRequest
28
- */
29
- _default?: boolean;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof TenantRequest
34
- */
35
- brandingTitle?: string;
36
18
  /**
37
19
  *
38
20
  * @type {string}
39
21
  * @memberof TenantRequest
40
22
  */
41
- brandingLogo?: string;
23
+ schemaName: string;
42
24
  /**
43
25
  *
44
26
  * @type {string}
45
27
  * @memberof TenantRequest
46
28
  */
47
- brandingFavicon?: string;
29
+ name: string;
48
30
  /**
49
31
  *
50
- * @type {string}
51
- * @memberof TenantRequest
52
- */
53
- flowAuthentication?: string | null;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof TenantRequest
58
- */
59
- flowInvalidation?: string | null;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof TenantRequest
64
- */
65
- flowRecovery?: string | null;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof TenantRequest
70
- */
71
- flowUnenrollment?: string | null;
72
- /**
73
- *
74
- * @type {string}
75
- * @memberof TenantRequest
76
- */
77
- flowUserSettings?: string | null;
78
- /**
79
- *
80
- * @type {string}
81
- * @memberof TenantRequest
82
- */
83
- flowDeviceCode?: string | null;
84
- /**
85
- * Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2).
86
- * @type {string}
87
- * @memberof TenantRequest
88
- */
89
- eventRetention?: string;
90
- /**
91
- * Web Certificate used by the authentik Core webserver.
92
- * @type {string}
93
- * @memberof TenantRequest
94
- */
95
- webCertificate?: string | null;
96
- /**
97
- *
98
- * @type {any}
32
+ * @type {boolean}
99
33
  * @memberof TenantRequest
100
34
  */
101
- attributes?: any | null;
35
+ ready?: boolean;
102
36
  }
103
37
  /**
104
38
  * Check if a given object implements the TenantRequest interface.
@@ -17,7 +17,8 @@ import { exists } from '../runtime';
17
17
  */
18
18
  export function instanceOfTenantRequest(value) {
19
19
  let isInstance = true;
20
- isInstance = isInstance && "domain" in value;
20
+ isInstance = isInstance && "schemaName" in value;
21
+ isInstance = isInstance && "name" in value;
21
22
  return isInstance;
22
23
  }
23
24
  export function TenantRequestFromJSON(json) {
@@ -28,20 +29,9 @@ export function TenantRequestFromJSONTyped(json, ignoreDiscriminator) {
28
29
  return json;
29
30
  }
30
31
  return {
31
- 'domain': json['domain'],
32
- '_default': !exists(json, 'default') ? undefined : json['default'],
33
- 'brandingTitle': !exists(json, 'branding_title') ? undefined : json['branding_title'],
34
- 'brandingLogo': !exists(json, 'branding_logo') ? undefined : json['branding_logo'],
35
- 'brandingFavicon': !exists(json, 'branding_favicon') ? undefined : json['branding_favicon'],
36
- 'flowAuthentication': !exists(json, 'flow_authentication') ? undefined : json['flow_authentication'],
37
- 'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
38
- 'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
39
- 'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
40
- 'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
41
- 'flowDeviceCode': !exists(json, 'flow_device_code') ? undefined : json['flow_device_code'],
42
- 'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
43
- 'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
44
- 'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
32
+ 'schemaName': json['schema_name'],
33
+ 'name': json['name'],
34
+ 'ready': !exists(json, 'ready') ? undefined : json['ready'],
45
35
  };
46
36
  }
47
37
  export function TenantRequestToJSON(value) {
@@ -52,19 +42,8 @@ export function TenantRequestToJSON(value) {
52
42
  return null;
53
43
  }
54
44
  return {
55
- 'domain': value.domain,
56
- 'default': value._default,
57
- 'branding_title': value.brandingTitle,
58
- 'branding_logo': value.brandingLogo,
59
- 'branding_favicon': value.brandingFavicon,
60
- 'flow_authentication': value.flowAuthentication,
61
- 'flow_invalidation': value.flowInvalidation,
62
- 'flow_recovery': value.flowRecovery,
63
- 'flow_unenrollment': value.flowUnenrollment,
64
- 'flow_user_settings': value.flowUserSettings,
65
- 'flow_device_code': value.flowDeviceCode,
66
- 'event_retention': value.eventRetention,
67
- 'web_certificate': value.webCertificate,
68
- 'attributes': value.attributes,
45
+ 'schema_name': value.schemaName,
46
+ 'name': value.name,
47
+ 'ready': value.ready,
69
48
  };
70
49
  }
@@ -72,7 +72,7 @@ export interface UserSelf {
72
72
  */
73
73
  readonly uid: string;
74
74
  /**
75
- * Get user settings with tenant and group settings applied
75
+ * Get user settings with brand and group settings applied
76
76
  * @type {{ [key: string]: any; }}
77
77
  * @memberof UserSelf
78
78
  */
@@ -50,6 +50,8 @@ export * from './BlueprintFile';
50
50
  export * from './BlueprintInstance';
51
51
  export * from './BlueprintInstanceRequest';
52
52
  export * from './BlueprintInstanceStatusEnum';
53
+ export * from './Brand';
54
+ export * from './BrandRequest';
53
55
  export * from './Cache';
54
56
  export * from './CapabilitiesEnum';
55
57
  export * from './CaptchaChallenge';
@@ -73,7 +75,7 @@ export * from './ConsentStageRequest';
73
75
  export * from './ContextualFlowInfo';
74
76
  export * from './ContextualFlowInfoLayoutEnum';
75
77
  export * from './Coordinate';
76
- export * from './CurrentTenant';
78
+ export * from './CurrentBrand';
77
79
  export * from './DeniedActionEnum';
78
80
  export * from './DenyStage';
79
81
  export * from './DenyStageRequest';
@@ -85,6 +87,8 @@ export * from './DigestAlgorithmEnum';
85
87
  export * from './DigitsEnum';
86
88
  export * from './DockerServiceConnection';
87
89
  export * from './DockerServiceConnectionRequest';
90
+ export * from './Domain';
91
+ export * from './DomainRequest';
88
92
  export * from './DummyChallenge';
89
93
  export * from './DummyChallengeResponseRequest';
90
94
  export * from './DummyPolicy';
@@ -208,11 +212,13 @@ export * from './PaginatedAuthenticatorStaticStageList';
208
212
  export * from './PaginatedAuthenticatorTOTPStageList';
209
213
  export * from './PaginatedAuthenticatorValidateStageList';
210
214
  export * from './PaginatedBlueprintInstanceList';
215
+ export * from './PaginatedBrandList';
211
216
  export * from './PaginatedCaptchaStageList';
212
217
  export * from './PaginatedCertificateKeyPairList';
213
218
  export * from './PaginatedConsentStageList';
214
219
  export * from './PaginatedDenyStageList';
215
220
  export * from './PaginatedDockerServiceConnectionList';
221
+ export * from './PaginatedDomainList';
216
222
  export * from './PaginatedDummyPolicyList';
217
223
  export * from './PaginatedDummyStageList';
218
224
  export * from './PaginatedDuoDeviceList';
@@ -308,11 +314,13 @@ export * from './PatchedAuthenticatorStaticStageRequest';
308
314
  export * from './PatchedAuthenticatorTOTPStageRequest';
309
315
  export * from './PatchedAuthenticatorValidateStageRequest';
310
316
  export * from './PatchedBlueprintInstanceRequest';
317
+ export * from './PatchedBrandRequest';
311
318
  export * from './PatchedCaptchaStageRequest';
312
319
  export * from './PatchedCertificateKeyPairRequest';
313
320
  export * from './PatchedConsentStageRequest';
314
321
  export * from './PatchedDenyStageRequest';
315
322
  export * from './PatchedDockerServiceConnectionRequest';
323
+ export * from './PatchedDomainRequest';
316
324
  export * from './PatchedDummyPolicyRequest';
317
325
  export * from './PatchedDummyStageRequest';
318
326
  export * from './PatchedDuoDeviceRequest';
@@ -361,6 +369,7 @@ export * from './PatchedSCIMMappingRequest';
361
369
  export * from './PatchedSCIMProviderRequest';
362
370
  export * from './PatchedSMSDeviceRequest';
363
371
  export * from './PatchedScopeMappingRequest';
372
+ export * from './PatchedSettingsRequest';
364
373
  export * from './PatchedStaticDeviceRequest';
365
374
  export * from './PatchedTOTPDeviceRequest';
366
375
  export * from './PatchedTenantRequest';
@@ -446,6 +455,8 @@ export * from './ServiceConnection';
446
455
  export * from './ServiceConnectionRequest';
447
456
  export * from './ServiceConnectionState';
448
457
  export * from './SessionUser';
458
+ export * from './Settings';
459
+ export * from './SettingsRequest';
449
460
  export * from './SeverityEnum';
450
461
  export * from './ShellChallenge';
451
462
  export * from './SignatureAlgorithmEnum';
@@ -468,6 +479,9 @@ export * from './TOTPDeviceRequest';
468
479
  export * from './Task';
469
480
  export * from './TaskStatusEnum';
470
481
  export * from './Tenant';
482
+ export * from './TenantAdminGroupRequestRequest';
483
+ export * from './TenantRecoveryKeyRequestRequest';
484
+ export * from './TenantRecoveryKeyResponse';
471
485
  export * from './TenantRequest';
472
486
  export * from './Token';
473
487
  export * from './TokenModel';
@@ -52,6 +52,8 @@ export * from './BlueprintFile';
52
52
  export * from './BlueprintInstance';
53
53
  export * from './BlueprintInstanceRequest';
54
54
  export * from './BlueprintInstanceStatusEnum';
55
+ export * from './Brand';
56
+ export * from './BrandRequest';
55
57
  export * from './Cache';
56
58
  export * from './CapabilitiesEnum';
57
59
  export * from './CaptchaChallenge';
@@ -75,7 +77,7 @@ export * from './ConsentStageRequest';
75
77
  export * from './ContextualFlowInfo';
76
78
  export * from './ContextualFlowInfoLayoutEnum';
77
79
  export * from './Coordinate';
78
- export * from './CurrentTenant';
80
+ export * from './CurrentBrand';
79
81
  export * from './DeniedActionEnum';
80
82
  export * from './DenyStage';
81
83
  export * from './DenyStageRequest';
@@ -87,6 +89,8 @@ export * from './DigestAlgorithmEnum';
87
89
  export * from './DigitsEnum';
88
90
  export * from './DockerServiceConnection';
89
91
  export * from './DockerServiceConnectionRequest';
92
+ export * from './Domain';
93
+ export * from './DomainRequest';
90
94
  export * from './DummyChallenge';
91
95
  export * from './DummyChallengeResponseRequest';
92
96
  export * from './DummyPolicy';
@@ -210,11 +214,13 @@ export * from './PaginatedAuthenticatorStaticStageList';
210
214
  export * from './PaginatedAuthenticatorTOTPStageList';
211
215
  export * from './PaginatedAuthenticatorValidateStageList';
212
216
  export * from './PaginatedBlueprintInstanceList';
217
+ export * from './PaginatedBrandList';
213
218
  export * from './PaginatedCaptchaStageList';
214
219
  export * from './PaginatedCertificateKeyPairList';
215
220
  export * from './PaginatedConsentStageList';
216
221
  export * from './PaginatedDenyStageList';
217
222
  export * from './PaginatedDockerServiceConnectionList';
223
+ export * from './PaginatedDomainList';
218
224
  export * from './PaginatedDummyPolicyList';
219
225
  export * from './PaginatedDummyStageList';
220
226
  export * from './PaginatedDuoDeviceList';
@@ -310,11 +316,13 @@ export * from './PatchedAuthenticatorStaticStageRequest';
310
316
  export * from './PatchedAuthenticatorTOTPStageRequest';
311
317
  export * from './PatchedAuthenticatorValidateStageRequest';
312
318
  export * from './PatchedBlueprintInstanceRequest';
319
+ export * from './PatchedBrandRequest';
313
320
  export * from './PatchedCaptchaStageRequest';
314
321
  export * from './PatchedCertificateKeyPairRequest';
315
322
  export * from './PatchedConsentStageRequest';
316
323
  export * from './PatchedDenyStageRequest';
317
324
  export * from './PatchedDockerServiceConnectionRequest';
325
+ export * from './PatchedDomainRequest';
318
326
  export * from './PatchedDummyPolicyRequest';
319
327
  export * from './PatchedDummyStageRequest';
320
328
  export * from './PatchedDuoDeviceRequest';
@@ -363,6 +371,7 @@ export * from './PatchedSCIMMappingRequest';
363
371
  export * from './PatchedSCIMProviderRequest';
364
372
  export * from './PatchedSMSDeviceRequest';
365
373
  export * from './PatchedScopeMappingRequest';
374
+ export * from './PatchedSettingsRequest';
366
375
  export * from './PatchedStaticDeviceRequest';
367
376
  export * from './PatchedTOTPDeviceRequest';
368
377
  export * from './PatchedTenantRequest';
@@ -448,6 +457,8 @@ export * from './ServiceConnection';
448
457
  export * from './ServiceConnectionRequest';
449
458
  export * from './ServiceConnectionState';
450
459
  export * from './SessionUser';
460
+ export * from './Settings';
461
+ export * from './SettingsRequest';
451
462
  export * from './SeverityEnum';
452
463
  export * from './ShellChallenge';
453
464
  export * from './SignatureAlgorithmEnum';
@@ -470,6 +481,9 @@ export * from './TOTPDeviceRequest';
470
481
  export * from './Task';
471
482
  export * from './TaskStatusEnum';
472
483
  export * from './Tenant';
484
+ export * from './TenantAdminGroupRequestRequest';
485
+ export * from './TenantRecoveryKeyRequestRequest';
486
+ export * from './TenantRecoveryKeyResponse';
473
487
  export * from './TenantRequest';
474
488
  export * from './Token';
475
489
  export * from './TokenModel';
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
+ * * `authentik.tenants` - authentik Tenants
13
14
  * * `authentik.admin` - authentik Admin
14
15
  * * `authentik.api` - authentik API
15
16
  * * `authentik.crypto` - authentik Crypto
@@ -55,7 +56,7 @@
55
56
  * * `authentik.stages.user_login` - authentik Stages.User Login
56
57
  * * `authentik.stages.user_logout` - authentik Stages.User Logout
57
58
  * * `authentik.stages.user_write` - authentik Stages.User Write
58
- * * `authentik.tenants` - authentik Tenants
59
+ * * `authentik.brands` - authentik Brands
59
60
  * * `authentik.blueprints` - authentik Blueprints
60
61
  * * `authentik.core` - authentik Core
61
62
  * * `authentik.enterprise` - authentik Enterprise
@@ -63,6 +64,7 @@
63
64
  * @export
64
65
  */
65
66
  export declare const AppEnum: {
67
+ readonly Tenants: "authentik.tenants";
66
68
  readonly Admin: "authentik.admin";
67
69
  readonly Api: "authentik.api";
68
70
  readonly Crypto: "authentik.crypto";
@@ -108,7 +110,7 @@ export declare const AppEnum: {
108
110
  readonly StagesUserLogin: "authentik.stages.user_login";
109
111
  readonly StagesUserLogout: "authentik.stages.user_logout";
110
112
  readonly StagesUserWrite: "authentik.stages.user_write";
111
- readonly Tenants: "authentik.tenants";
113
+ readonly Brands: "authentik.brands";
112
114
  readonly Blueprints: "authentik.blueprints";
113
115
  readonly Core: "authentik.core";
114
116
  readonly Enterprise: "authentik.enterprise";
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AppEnumToJSON = exports.AppEnumFromJSONTyped = exports.AppEnumFromJSON = exports.AppEnum = void 0;
17
17
  /**
18
+ * * `authentik.tenants` - authentik Tenants
18
19
  * * `authentik.admin` - authentik Admin
19
20
  * * `authentik.api` - authentik API
20
21
  * * `authentik.crypto` - authentik Crypto
@@ -60,7 +61,7 @@ exports.AppEnumToJSON = exports.AppEnumFromJSONTyped = exports.AppEnumFromJSON =
60
61
  * * `authentik.stages.user_login` - authentik Stages.User Login
61
62
  * * `authentik.stages.user_logout` - authentik Stages.User Logout
62
63
  * * `authentik.stages.user_write` - authentik Stages.User Write
63
- * * `authentik.tenants` - authentik Tenants
64
+ * * `authentik.brands` - authentik Brands
64
65
  * * `authentik.blueprints` - authentik Blueprints
65
66
  * * `authentik.core` - authentik Core
66
67
  * * `authentik.enterprise` - authentik Enterprise
@@ -68,6 +69,7 @@ exports.AppEnumToJSON = exports.AppEnumFromJSONTyped = exports.AppEnumFromJSON =
68
69
  * @export
69
70
  */
70
71
  exports.AppEnum = {
72
+ Tenants: 'authentik.tenants',
71
73
  Admin: 'authentik.admin',
72
74
  Api: 'authentik.api',
73
75
  Crypto: 'authentik.crypto',
@@ -113,7 +115,7 @@ exports.AppEnum = {
113
115
  StagesUserLogin: 'authentik.stages.user_login',
114
116
  StagesUserLogout: 'authentik.stages.user_logout',
115
117
  StagesUserWrite: 'authentik.stages.user_write',
116
- Tenants: 'authentik.tenants',
118
+ Brands: 'authentik.brands',
117
119
  Blueprints: 'authentik.blueprints',
118
120
  Core: 'authentik.core',
119
121
  Enterprise: 'authentik.enterprise',
@@ -0,0 +1,109 @@
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 Brand
16
+ */
17
+ export interface Brand {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Brand
22
+ */
23
+ readonly brandUuid: string;
24
+ /**
25
+ * Domain that activates this brand. Can be a superset, i.e. `a.b` for `aa.b` and `ba.b`
26
+ * @type {string}
27
+ * @memberof Brand
28
+ */
29
+ domain: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof Brand
34
+ */
35
+ _default?: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Brand
40
+ */
41
+ brandingTitle?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof Brand
46
+ */
47
+ brandingLogo?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof Brand
52
+ */
53
+ brandingFavicon?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof Brand
58
+ */
59
+ flowAuthentication?: string | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof Brand
64
+ */
65
+ flowInvalidation?: string | null;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof Brand
70
+ */
71
+ flowRecovery?: string | null;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof Brand
76
+ */
77
+ flowUnenrollment?: string | null;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof Brand
82
+ */
83
+ flowUserSettings?: string | null;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof Brand
88
+ */
89
+ flowDeviceCode?: string | null;
90
+ /**
91
+ * Web Certificate used by the authentik Core webserver.
92
+ * @type {string}
93
+ * @memberof Brand
94
+ */
95
+ webCertificate?: string | null;
96
+ /**
97
+ *
98
+ * @type {any}
99
+ * @memberof Brand
100
+ */
101
+ attributes?: any | null;
102
+ }
103
+ /**
104
+ * Check if a given object implements the Brand interface.
105
+ */
106
+ export declare function instanceOfBrand(value: object): boolean;
107
+ export declare function BrandFromJSON(json: any): Brand;
108
+ export declare function BrandFromJSONTyped(json: any, ignoreDiscriminator: boolean): Brand;
109
+ export declare function BrandToJSON(value?: Brand | null): any;