@goauthentik/api 2025.2.2-1742424775 → 2025.2.2-1742585853

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 (36) hide show
  1. package/dist/apis/CoreApi.d.ts +1 -0
  2. package/dist/apis/CoreApi.js +3 -0
  3. package/dist/esm/apis/CoreApi.d.ts +1 -0
  4. package/dist/esm/apis/CoreApi.js +3 -0
  5. package/dist/esm/models/Brand.d.ts +6 -0
  6. package/dist/esm/models/Brand.js +2 -0
  7. package/dist/esm/models/BrandRequest.d.ts +6 -0
  8. package/dist/esm/models/BrandRequest.js +2 -0
  9. package/dist/esm/models/NotificationTransport.d.ts +8 -2
  10. package/dist/esm/models/NotificationTransport.js +4 -2
  11. package/dist/esm/models/NotificationTransportRequest.d.ts +8 -2
  12. package/dist/esm/models/NotificationTransportRequest.js +4 -2
  13. package/dist/esm/models/PatchedBrandRequest.d.ts +6 -0
  14. package/dist/esm/models/PatchedBrandRequest.js +2 -0
  15. package/dist/esm/models/PatchedNotificationTransportRequest.d.ts +8 -2
  16. package/dist/esm/models/PatchedNotificationTransportRequest.js +4 -2
  17. package/dist/models/Brand.d.ts +6 -0
  18. package/dist/models/Brand.js +2 -0
  19. package/dist/models/BrandRequest.d.ts +6 -0
  20. package/dist/models/BrandRequest.js +2 -0
  21. package/dist/models/NotificationTransport.d.ts +8 -2
  22. package/dist/models/NotificationTransport.js +4 -2
  23. package/dist/models/NotificationTransportRequest.d.ts +8 -2
  24. package/dist/models/NotificationTransportRequest.js +4 -2
  25. package/dist/models/PatchedBrandRequest.d.ts +6 -0
  26. package/dist/models/PatchedBrandRequest.js +2 -0
  27. package/dist/models/PatchedNotificationTransportRequest.d.ts +8 -2
  28. package/dist/models/PatchedNotificationTransportRequest.js +4 -2
  29. package/package.json +1 -1
  30. package/src/apis/CoreApi.ts +5 -0
  31. package/src/models/Brand.ts +8 -0
  32. package/src/models/BrandRequest.ts +8 -0
  33. package/src/models/NotificationTransport.ts +12 -4
  34. package/src/models/NotificationTransportRequest.ts +12 -4
  35. package/src/models/PatchedBrandRequest.ts +8 -0
  36. package/src/models/PatchedNotificationTransportRequest.ts +12 -4
@@ -117,6 +117,7 @@ export interface CoreBrandsDestroyRequest {
117
117
  }
118
118
  export interface CoreBrandsListRequest {
119
119
  brandUuid?: string;
120
+ brandingDefaultFlowBackground?: string;
120
121
  brandingFavicon?: string;
121
122
  brandingLogo?: string;
122
123
  brandingTitle?: string;
@@ -1026,6 +1026,9 @@ class CoreApi extends runtime.BaseAPI {
1026
1026
  if (requestParameters['brandUuid'] != null) {
1027
1027
  queryParameters['brand_uuid'] = requestParameters['brandUuid'];
1028
1028
  }
1029
+ if (requestParameters['brandingDefaultFlowBackground'] != null) {
1030
+ queryParameters['branding_default_flow_background'] = requestParameters['brandingDefaultFlowBackground'];
1031
+ }
1029
1032
  if (requestParameters['brandingFavicon'] != null) {
1030
1033
  queryParameters['branding_favicon'] = requestParameters['brandingFavicon'];
1031
1034
  }
@@ -117,6 +117,7 @@ export interface CoreBrandsDestroyRequest {
117
117
  }
118
118
  export interface CoreBrandsListRequest {
119
119
  brandUuid?: string;
120
+ brandingDefaultFlowBackground?: string;
120
121
  brandingFavicon?: string;
121
122
  brandingLogo?: string;
122
123
  brandingTitle?: string;
@@ -1023,6 +1023,9 @@ export class CoreApi extends runtime.BaseAPI {
1023
1023
  if (requestParameters['brandUuid'] != null) {
1024
1024
  queryParameters['brand_uuid'] = requestParameters['brandUuid'];
1025
1025
  }
1026
+ if (requestParameters['brandingDefaultFlowBackground'] != null) {
1027
+ queryParameters['branding_default_flow_background'] = requestParameters['brandingDefaultFlowBackground'];
1028
+ }
1026
1029
  if (requestParameters['brandingFavicon'] != null) {
1027
1030
  queryParameters['branding_favicon'] = requestParameters['brandingFavicon'];
1028
1031
  }
@@ -57,6 +57,12 @@ export interface Brand {
57
57
  * @memberof Brand
58
58
  */
59
59
  brandingCustomCss?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof Brand
64
+ */
65
+ brandingDefaultFlowBackground?: string;
60
66
  /**
61
67
  *
62
68
  * @type {string}
@@ -36,6 +36,7 @@ export function BrandFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
37
37
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
38
38
  'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
39
+ 'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
39
40
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
40
41
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
41
42
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -61,6 +62,7 @@ export function BrandToJSONTyped(value, ignoreDiscriminator = false) {
61
62
  'branding_logo': value['brandingLogo'],
62
63
  'branding_favicon': value['brandingFavicon'],
63
64
  'branding_custom_css': value['brandingCustomCss'],
65
+ 'branding_default_flow_background': value['brandingDefaultFlowBackground'],
64
66
  'flow_authentication': value['flowAuthentication'],
65
67
  'flow_invalidation': value['flowInvalidation'],
66
68
  'flow_recovery': value['flowRecovery'],
@@ -51,6 +51,12 @@ export interface BrandRequest {
51
51
  * @memberof BrandRequest
52
52
  */
53
53
  brandingCustomCss?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof BrandRequest
58
+ */
59
+ brandingDefaultFlowBackground?: string;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -33,6 +33,7 @@ export function BrandRequestFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
34
34
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
35
35
  'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
36
+ 'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
36
37
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
37
38
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
38
39
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -58,6 +59,7 @@ export function BrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
58
59
  'branding_logo': value['brandingLogo'],
59
60
  'branding_favicon': value['brandingFavicon'],
60
61
  'branding_custom_css': value['brandingCustomCss'],
62
+ 'branding_default_flow_background': value['brandingDefaultFlowBackground'],
61
63
  'flow_authentication': value['flowAuthentication'],
62
64
  'flow_invalidation': value['flowInvalidation'],
63
65
  'flow_recovery': value['flowRecovery'],
@@ -47,11 +47,17 @@ export interface NotificationTransport {
47
47
  */
48
48
  webhookUrl?: string;
49
49
  /**
50
- *
50
+ * Customize the body of the request. Mapping should return data that is JSON-serializable.
51
+ * @type {string}
52
+ * @memberof NotificationTransport
53
+ */
54
+ webhookMappingBody?: string | null;
55
+ /**
56
+ * Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
51
57
  * @type {string}
52
58
  * @memberof NotificationTransport
53
59
  */
54
- webhookMapping?: string | null;
60
+ webhookMappingHeaders?: string | null;
55
61
  /**
56
62
  * Only send notification once, for example when sending a webhook into a chat channel.
57
63
  * @type {boolean}
@@ -37,7 +37,8 @@ export function NotificationTransportFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'mode': json['mode'] == null ? undefined : NotificationTransportModeEnumFromJSON(json['mode']),
38
38
  'modeVerbose': json['mode_verbose'],
39
39
  'webhookUrl': json['webhook_url'] == null ? undefined : json['webhook_url'],
40
- 'webhookMapping': json['webhook_mapping'] == null ? undefined : json['webhook_mapping'],
40
+ 'webhookMappingBody': json['webhook_mapping_body'] == null ? undefined : json['webhook_mapping_body'],
41
+ 'webhookMappingHeaders': json['webhook_mapping_headers'] == null ? undefined : json['webhook_mapping_headers'],
41
42
  'sendOnce': json['send_once'] == null ? undefined : json['send_once'],
42
43
  };
43
44
  }
@@ -52,7 +53,8 @@ export function NotificationTransportToJSONTyped(value, ignoreDiscriminator = fa
52
53
  'name': value['name'],
53
54
  'mode': NotificationTransportModeEnumToJSON(value['mode']),
54
55
  'webhook_url': value['webhookUrl'],
55
- 'webhook_mapping': value['webhookMapping'],
56
+ 'webhook_mapping_body': value['webhookMappingBody'],
57
+ 'webhook_mapping_headers': value['webhookMappingHeaders'],
56
58
  'send_once': value['sendOnce'],
57
59
  };
58
60
  }
@@ -35,11 +35,17 @@ export interface NotificationTransportRequest {
35
35
  */
36
36
  webhookUrl?: string;
37
37
  /**
38
- *
38
+ * Customize the body of the request. Mapping should return data that is JSON-serializable.
39
+ * @type {string}
40
+ * @memberof NotificationTransportRequest
41
+ */
42
+ webhookMappingBody?: string | null;
43
+ /**
44
+ * Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
39
45
  * @type {string}
40
46
  * @memberof NotificationTransportRequest
41
47
  */
42
- webhookMapping?: string | null;
48
+ webhookMappingHeaders?: string | null;
43
49
  /**
44
50
  * Only send notification once, for example when sending a webhook into a chat channel.
45
51
  * @type {boolean}
@@ -31,7 +31,8 @@ export function NotificationTransportRequestFromJSONTyped(json, ignoreDiscrimina
31
31
  'name': json['name'],
32
32
  'mode': json['mode'] == null ? undefined : NotificationTransportModeEnumFromJSON(json['mode']),
33
33
  'webhookUrl': json['webhook_url'] == null ? undefined : json['webhook_url'],
34
- 'webhookMapping': json['webhook_mapping'] == null ? undefined : json['webhook_mapping'],
34
+ 'webhookMappingBody': json['webhook_mapping_body'] == null ? undefined : json['webhook_mapping_body'],
35
+ 'webhookMappingHeaders': json['webhook_mapping_headers'] == null ? undefined : json['webhook_mapping_headers'],
35
36
  'sendOnce': json['send_once'] == null ? undefined : json['send_once'],
36
37
  };
37
38
  }
@@ -46,7 +47,8 @@ export function NotificationTransportRequestToJSONTyped(value, ignoreDiscriminat
46
47
  'name': value['name'],
47
48
  'mode': NotificationTransportModeEnumToJSON(value['mode']),
48
49
  'webhook_url': value['webhookUrl'],
49
- 'webhook_mapping': value['webhookMapping'],
50
+ 'webhook_mapping_body': value['webhookMappingBody'],
51
+ 'webhook_mapping_headers': value['webhookMappingHeaders'],
50
52
  'send_once': value['sendOnce'],
51
53
  };
52
54
  }
@@ -51,6 +51,12 @@ export interface PatchedBrandRequest {
51
51
  * @memberof PatchedBrandRequest
52
52
  */
53
53
  brandingCustomCss?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof PatchedBrandRequest
58
+ */
59
+ brandingDefaultFlowBackground?: string;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -31,6 +31,7 @@ export function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
31
31
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
32
32
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
33
33
  'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
34
+ 'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
34
35
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
35
36
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
36
37
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -56,6 +57,7 @@ export function PatchedBrandRequestToJSONTyped(value, ignoreDiscriminator = fals
56
57
  'branding_logo': value['brandingLogo'],
57
58
  'branding_favicon': value['brandingFavicon'],
58
59
  'branding_custom_css': value['brandingCustomCss'],
60
+ 'branding_default_flow_background': value['brandingDefaultFlowBackground'],
59
61
  'flow_authentication': value['flowAuthentication'],
60
62
  'flow_invalidation': value['flowInvalidation'],
61
63
  'flow_recovery': value['flowRecovery'],
@@ -35,11 +35,17 @@ export interface PatchedNotificationTransportRequest {
35
35
  */
36
36
  webhookUrl?: string;
37
37
  /**
38
- *
38
+ * Customize the body of the request. Mapping should return data that is JSON-serializable.
39
+ * @type {string}
40
+ * @memberof PatchedNotificationTransportRequest
41
+ */
42
+ webhookMappingBody?: string | null;
43
+ /**
44
+ * Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
39
45
  * @type {string}
40
46
  * @memberof PatchedNotificationTransportRequest
41
47
  */
42
- webhookMapping?: string | null;
48
+ webhookMappingHeaders?: string | null;
43
49
  /**
44
50
  * Only send notification once, for example when sending a webhook into a chat channel.
45
51
  * @type {boolean}
@@ -29,7 +29,8 @@ export function PatchedNotificationTransportRequestFromJSONTyped(json, ignoreDis
29
29
  'name': json['name'] == null ? undefined : json['name'],
30
30
  'mode': json['mode'] == null ? undefined : NotificationTransportModeEnumFromJSON(json['mode']),
31
31
  'webhookUrl': json['webhook_url'] == null ? undefined : json['webhook_url'],
32
- 'webhookMapping': json['webhook_mapping'] == null ? undefined : json['webhook_mapping'],
32
+ 'webhookMappingBody': json['webhook_mapping_body'] == null ? undefined : json['webhook_mapping_body'],
33
+ 'webhookMappingHeaders': json['webhook_mapping_headers'] == null ? undefined : json['webhook_mapping_headers'],
33
34
  'sendOnce': json['send_once'] == null ? undefined : json['send_once'],
34
35
  };
35
36
  }
@@ -44,7 +45,8 @@ export function PatchedNotificationTransportRequestToJSONTyped(value, ignoreDisc
44
45
  'name': value['name'],
45
46
  'mode': NotificationTransportModeEnumToJSON(value['mode']),
46
47
  'webhook_url': value['webhookUrl'],
47
- 'webhook_mapping': value['webhookMapping'],
48
+ 'webhook_mapping_body': value['webhookMappingBody'],
49
+ 'webhook_mapping_headers': value['webhookMappingHeaders'],
48
50
  'send_once': value['sendOnce'],
49
51
  };
50
52
  }
@@ -57,6 +57,12 @@ export interface Brand {
57
57
  * @memberof Brand
58
58
  */
59
59
  brandingCustomCss?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof Brand
64
+ */
65
+ brandingDefaultFlowBackground?: string;
60
66
  /**
61
67
  *
62
68
  * @type {string}
@@ -43,6 +43,7 @@ function BrandFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
44
44
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
45
45
  'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
46
+ 'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
46
47
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
47
48
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
48
49
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -68,6 +69,7 @@ function BrandToJSONTyped(value, ignoreDiscriminator = false) {
68
69
  'branding_logo': value['brandingLogo'],
69
70
  'branding_favicon': value['brandingFavicon'],
70
71
  'branding_custom_css': value['brandingCustomCss'],
72
+ 'branding_default_flow_background': value['brandingDefaultFlowBackground'],
71
73
  'flow_authentication': value['flowAuthentication'],
72
74
  'flow_invalidation': value['flowInvalidation'],
73
75
  'flow_recovery': value['flowRecovery'],
@@ -51,6 +51,12 @@ export interface BrandRequest {
51
51
  * @memberof BrandRequest
52
52
  */
53
53
  brandingCustomCss?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof BrandRequest
58
+ */
59
+ brandingDefaultFlowBackground?: string;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -40,6 +40,7 @@ function BrandRequestFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
41
41
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
42
42
  'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
43
+ 'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
43
44
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
44
45
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
45
46
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -65,6 +66,7 @@ function BrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
65
66
  'branding_logo': value['brandingLogo'],
66
67
  'branding_favicon': value['brandingFavicon'],
67
68
  'branding_custom_css': value['brandingCustomCss'],
69
+ 'branding_default_flow_background': value['brandingDefaultFlowBackground'],
68
70
  'flow_authentication': value['flowAuthentication'],
69
71
  'flow_invalidation': value['flowInvalidation'],
70
72
  'flow_recovery': value['flowRecovery'],
@@ -47,11 +47,17 @@ export interface NotificationTransport {
47
47
  */
48
48
  webhookUrl?: string;
49
49
  /**
50
- *
50
+ * Customize the body of the request. Mapping should return data that is JSON-serializable.
51
+ * @type {string}
52
+ * @memberof NotificationTransport
53
+ */
54
+ webhookMappingBody?: string | null;
55
+ /**
56
+ * Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
51
57
  * @type {string}
52
58
  * @memberof NotificationTransport
53
59
  */
54
- webhookMapping?: string | null;
60
+ webhookMappingHeaders?: string | null;
55
61
  /**
56
62
  * Only send notification once, for example when sending a webhook into a chat channel.
57
63
  * @type {boolean}
@@ -44,7 +44,8 @@ function NotificationTransportFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'mode': json['mode'] == null ? undefined : (0, NotificationTransportModeEnum_1.NotificationTransportModeEnumFromJSON)(json['mode']),
45
45
  'modeVerbose': json['mode_verbose'],
46
46
  'webhookUrl': json['webhook_url'] == null ? undefined : json['webhook_url'],
47
- 'webhookMapping': json['webhook_mapping'] == null ? undefined : json['webhook_mapping'],
47
+ 'webhookMappingBody': json['webhook_mapping_body'] == null ? undefined : json['webhook_mapping_body'],
48
+ 'webhookMappingHeaders': json['webhook_mapping_headers'] == null ? undefined : json['webhook_mapping_headers'],
48
49
  'sendOnce': json['send_once'] == null ? undefined : json['send_once'],
49
50
  };
50
51
  }
@@ -59,7 +60,8 @@ function NotificationTransportToJSONTyped(value, ignoreDiscriminator = false) {
59
60
  'name': value['name'],
60
61
  'mode': (0, NotificationTransportModeEnum_1.NotificationTransportModeEnumToJSON)(value['mode']),
61
62
  'webhook_url': value['webhookUrl'],
62
- 'webhook_mapping': value['webhookMapping'],
63
+ 'webhook_mapping_body': value['webhookMappingBody'],
64
+ 'webhook_mapping_headers': value['webhookMappingHeaders'],
63
65
  'send_once': value['sendOnce'],
64
66
  };
65
67
  }
@@ -35,11 +35,17 @@ export interface NotificationTransportRequest {
35
35
  */
36
36
  webhookUrl?: string;
37
37
  /**
38
- *
38
+ * Customize the body of the request. Mapping should return data that is JSON-serializable.
39
+ * @type {string}
40
+ * @memberof NotificationTransportRequest
41
+ */
42
+ webhookMappingBody?: string | null;
43
+ /**
44
+ * Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
39
45
  * @type {string}
40
46
  * @memberof NotificationTransportRequest
41
47
  */
42
- webhookMapping?: string | null;
48
+ webhookMappingHeaders?: string | null;
43
49
  /**
44
50
  * Only send notification once, for example when sending a webhook into a chat channel.
45
51
  * @type {boolean}
@@ -38,7 +38,8 @@ function NotificationTransportRequestFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'name': json['name'],
39
39
  'mode': json['mode'] == null ? undefined : (0, NotificationTransportModeEnum_1.NotificationTransportModeEnumFromJSON)(json['mode']),
40
40
  'webhookUrl': json['webhook_url'] == null ? undefined : json['webhook_url'],
41
- 'webhookMapping': json['webhook_mapping'] == null ? undefined : json['webhook_mapping'],
41
+ 'webhookMappingBody': json['webhook_mapping_body'] == null ? undefined : json['webhook_mapping_body'],
42
+ 'webhookMappingHeaders': json['webhook_mapping_headers'] == null ? undefined : json['webhook_mapping_headers'],
42
43
  'sendOnce': json['send_once'] == null ? undefined : json['send_once'],
43
44
  };
44
45
  }
@@ -53,7 +54,8 @@ function NotificationTransportRequestToJSONTyped(value, ignoreDiscriminator = fa
53
54
  'name': value['name'],
54
55
  'mode': (0, NotificationTransportModeEnum_1.NotificationTransportModeEnumToJSON)(value['mode']),
55
56
  'webhook_url': value['webhookUrl'],
56
- 'webhook_mapping': value['webhookMapping'],
57
+ 'webhook_mapping_body': value['webhookMappingBody'],
58
+ 'webhook_mapping_headers': value['webhookMappingHeaders'],
57
59
  'send_once': value['sendOnce'],
58
60
  };
59
61
  }
@@ -51,6 +51,12 @@ export interface PatchedBrandRequest {
51
51
  * @memberof PatchedBrandRequest
52
52
  */
53
53
  brandingCustomCss?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof PatchedBrandRequest
58
+ */
59
+ brandingDefaultFlowBackground?: string;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -38,6 +38,7 @@ function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
39
39
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
40
40
  'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
41
+ 'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
41
42
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
42
43
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
43
44
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -63,6 +64,7 @@ function PatchedBrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
63
64
  'branding_logo': value['brandingLogo'],
64
65
  'branding_favicon': value['brandingFavicon'],
65
66
  'branding_custom_css': value['brandingCustomCss'],
67
+ 'branding_default_flow_background': value['brandingDefaultFlowBackground'],
66
68
  'flow_authentication': value['flowAuthentication'],
67
69
  'flow_invalidation': value['flowInvalidation'],
68
70
  'flow_recovery': value['flowRecovery'],
@@ -35,11 +35,17 @@ export interface PatchedNotificationTransportRequest {
35
35
  */
36
36
  webhookUrl?: string;
37
37
  /**
38
- *
38
+ * Customize the body of the request. Mapping should return data that is JSON-serializable.
39
+ * @type {string}
40
+ * @memberof PatchedNotificationTransportRequest
41
+ */
42
+ webhookMappingBody?: string | null;
43
+ /**
44
+ * Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
39
45
  * @type {string}
40
46
  * @memberof PatchedNotificationTransportRequest
41
47
  */
42
- webhookMapping?: string | null;
48
+ webhookMappingHeaders?: string | null;
43
49
  /**
44
50
  * Only send notification once, for example when sending a webhook into a chat channel.
45
51
  * @type {boolean}
@@ -36,7 +36,8 @@ function PatchedNotificationTransportRequestFromJSONTyped(json, ignoreDiscrimina
36
36
  'name': json['name'] == null ? undefined : json['name'],
37
37
  'mode': json['mode'] == null ? undefined : (0, NotificationTransportModeEnum_1.NotificationTransportModeEnumFromJSON)(json['mode']),
38
38
  'webhookUrl': json['webhook_url'] == null ? undefined : json['webhook_url'],
39
- 'webhookMapping': json['webhook_mapping'] == null ? undefined : json['webhook_mapping'],
39
+ 'webhookMappingBody': json['webhook_mapping_body'] == null ? undefined : json['webhook_mapping_body'],
40
+ 'webhookMappingHeaders': json['webhook_mapping_headers'] == null ? undefined : json['webhook_mapping_headers'],
40
41
  'sendOnce': json['send_once'] == null ? undefined : json['send_once'],
41
42
  };
42
43
  }
@@ -51,7 +52,8 @@ function PatchedNotificationTransportRequestToJSONTyped(value, ignoreDiscriminat
51
52
  'name': value['name'],
52
53
  'mode': (0, NotificationTransportModeEnum_1.NotificationTransportModeEnumToJSON)(value['mode']),
53
54
  'webhook_url': value['webhookUrl'],
54
- 'webhook_mapping': value['webhookMapping'],
55
+ 'webhook_mapping_body': value['webhookMappingBody'],
56
+ 'webhook_mapping_headers': value['webhookMappingHeaders'],
55
57
  'send_once': value['sendOnce'],
56
58
  };
57
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2025.2.2-1742424775",
3
+ "version": "2025.2.2-1742585853",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -293,6 +293,7 @@ export interface CoreBrandsDestroyRequest {
293
293
 
294
294
  export interface CoreBrandsListRequest {
295
295
  brandUuid?: string;
296
+ brandingDefaultFlowBackground?: string;
296
297
  brandingFavicon?: string;
297
298
  brandingLogo?: string;
298
299
  brandingTitle?: string;
@@ -1718,6 +1719,10 @@ export class CoreApi extends runtime.BaseAPI {
1718
1719
  queryParameters['brand_uuid'] = requestParameters['brandUuid'];
1719
1720
  }
1720
1721
 
1722
+ if (requestParameters['brandingDefaultFlowBackground'] != null) {
1723
+ queryParameters['branding_default_flow_background'] = requestParameters['brandingDefaultFlowBackground'];
1724
+ }
1725
+
1721
1726
  if (requestParameters['brandingFavicon'] != null) {
1722
1727
  queryParameters['branding_favicon'] = requestParameters['brandingFavicon'];
1723
1728
  }
@@ -61,6 +61,12 @@ export interface Brand {
61
61
  * @memberof Brand
62
62
  */
63
63
  brandingCustomCss?: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof Brand
68
+ */
69
+ brandingDefaultFlowBackground?: string;
64
70
  /**
65
71
  *
66
72
  * @type {string}
@@ -143,6 +149,7 @@ export function BrandFromJSONTyped(json: any, ignoreDiscriminator: boolean): Bra
143
149
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
144
150
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
145
151
  'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
152
+ 'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
146
153
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
147
154
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
148
155
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -172,6 +179,7 @@ export function BrandToJSONTyped(value?: Omit<Brand, 'brand_uuid'> | null, ignor
172
179
  'branding_logo': value['brandingLogo'],
173
180
  'branding_favicon': value['brandingFavicon'],
174
181
  'branding_custom_css': value['brandingCustomCss'],
182
+ 'branding_default_flow_background': value['brandingDefaultFlowBackground'],
175
183
  'flow_authentication': value['flowAuthentication'],
176
184
  'flow_invalidation': value['flowInvalidation'],
177
185
  'flow_recovery': value['flowRecovery'],
@@ -55,6 +55,12 @@ export interface BrandRequest {
55
55
  * @memberof BrandRequest
56
56
  */
57
57
  brandingCustomCss?: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof BrandRequest
62
+ */
63
+ brandingDefaultFlowBackground?: string;
58
64
  /**
59
65
  *
60
66
  * @type {string}
@@ -135,6 +141,7 @@ export function BrandRequestFromJSONTyped(json: any, ignoreDiscriminator: boolea
135
141
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
136
142
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
137
143
  'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
144
+ 'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
138
145
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
139
146
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
140
147
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -164,6 +171,7 @@ export function BrandRequestToJSONTyped(value?: BrandRequest | null, ignoreDiscr
164
171
  'branding_logo': value['brandingLogo'],
165
172
  'branding_favicon': value['brandingFavicon'],
166
173
  'branding_custom_css': value['brandingCustomCss'],
174
+ 'branding_default_flow_background': value['brandingDefaultFlowBackground'],
167
175
  'flow_authentication': value['flowAuthentication'],
168
176
  'flow_invalidation': value['flowInvalidation'],
169
177
  'flow_recovery': value['flowRecovery'],
@@ -58,11 +58,17 @@ export interface NotificationTransport {
58
58
  */
59
59
  webhookUrl?: string;
60
60
  /**
61
- *
61
+ * Customize the body of the request. Mapping should return data that is JSON-serializable.
62
+ * @type {string}
63
+ * @memberof NotificationTransport
64
+ */
65
+ webhookMappingBody?: string | null;
66
+ /**
67
+ * Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
62
68
  * @type {string}
63
69
  * @memberof NotificationTransport
64
70
  */
65
- webhookMapping?: string | null;
71
+ webhookMappingHeaders?: string | null;
66
72
  /**
67
73
  * Only send notification once, for example when sending a webhook into a chat channel.
68
74
  * @type {boolean}
@@ -98,7 +104,8 @@ export function NotificationTransportFromJSONTyped(json: any, ignoreDiscriminato
98
104
  'mode': json['mode'] == null ? undefined : NotificationTransportModeEnumFromJSON(json['mode']),
99
105
  'modeVerbose': json['mode_verbose'],
100
106
  'webhookUrl': json['webhook_url'] == null ? undefined : json['webhook_url'],
101
- 'webhookMapping': json['webhook_mapping'] == null ? undefined : json['webhook_mapping'],
107
+ 'webhookMappingBody': json['webhook_mapping_body'] == null ? undefined : json['webhook_mapping_body'],
108
+ 'webhookMappingHeaders': json['webhook_mapping_headers'] == null ? undefined : json['webhook_mapping_headers'],
102
109
  'sendOnce': json['send_once'] == null ? undefined : json['send_once'],
103
110
  };
104
111
  }
@@ -117,7 +124,8 @@ export function NotificationTransportToJSONTyped(value?: Omit<NotificationTransp
117
124
  'name': value['name'],
118
125
  'mode': NotificationTransportModeEnumToJSON(value['mode']),
119
126
  'webhook_url': value['webhookUrl'],
120
- 'webhook_mapping': value['webhookMapping'],
127
+ 'webhook_mapping_body': value['webhookMappingBody'],
128
+ 'webhook_mapping_headers': value['webhookMappingHeaders'],
121
129
  'send_once': value['sendOnce'],
122
130
  };
123
131
  }
@@ -46,11 +46,17 @@ export interface NotificationTransportRequest {
46
46
  */
47
47
  webhookUrl?: string;
48
48
  /**
49
- *
49
+ * Customize the body of the request. Mapping should return data that is JSON-serializable.
50
+ * @type {string}
51
+ * @memberof NotificationTransportRequest
52
+ */
53
+ webhookMappingBody?: string | null;
54
+ /**
55
+ * Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
50
56
  * @type {string}
51
57
  * @memberof NotificationTransportRequest
52
58
  */
53
- webhookMapping?: string | null;
59
+ webhookMappingHeaders?: string | null;
54
60
  /**
55
61
  * Only send notification once, for example when sending a webhook into a chat channel.
56
62
  * @type {boolean}
@@ -82,7 +88,8 @@ export function NotificationTransportRequestFromJSONTyped(json: any, ignoreDiscr
82
88
  'name': json['name'],
83
89
  'mode': json['mode'] == null ? undefined : NotificationTransportModeEnumFromJSON(json['mode']),
84
90
  'webhookUrl': json['webhook_url'] == null ? undefined : json['webhook_url'],
85
- 'webhookMapping': json['webhook_mapping'] == null ? undefined : json['webhook_mapping'],
91
+ 'webhookMappingBody': json['webhook_mapping_body'] == null ? undefined : json['webhook_mapping_body'],
92
+ 'webhookMappingHeaders': json['webhook_mapping_headers'] == null ? undefined : json['webhook_mapping_headers'],
86
93
  'sendOnce': json['send_once'] == null ? undefined : json['send_once'],
87
94
  };
88
95
  }
@@ -101,7 +108,8 @@ export function NotificationTransportRequestToJSONTyped(value?: NotificationTran
101
108
  'name': value['name'],
102
109
  'mode': NotificationTransportModeEnumToJSON(value['mode']),
103
110
  'webhook_url': value['webhookUrl'],
104
- 'webhook_mapping': value['webhookMapping'],
111
+ 'webhook_mapping_body': value['webhookMappingBody'],
112
+ 'webhook_mapping_headers': value['webhookMappingHeaders'],
105
113
  'send_once': value['sendOnce'],
106
114
  };
107
115
  }
@@ -55,6 +55,12 @@ export interface PatchedBrandRequest {
55
55
  * @memberof PatchedBrandRequest
56
56
  */
57
57
  brandingCustomCss?: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof PatchedBrandRequest
62
+ */
63
+ brandingDefaultFlowBackground?: string;
58
64
  /**
59
65
  *
60
66
  * @type {string}
@@ -134,6 +140,7 @@ export function PatchedBrandRequestFromJSONTyped(json: any, ignoreDiscriminator:
134
140
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
135
141
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
136
142
  'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
143
+ 'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
137
144
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
138
145
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
139
146
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -163,6 +170,7 @@ export function PatchedBrandRequestToJSONTyped(value?: PatchedBrandRequest | nul
163
170
  'branding_logo': value['brandingLogo'],
164
171
  'branding_favicon': value['brandingFavicon'],
165
172
  'branding_custom_css': value['brandingCustomCss'],
173
+ 'branding_default_flow_background': value['brandingDefaultFlowBackground'],
166
174
  'flow_authentication': value['flowAuthentication'],
167
175
  'flow_invalidation': value['flowInvalidation'],
168
176
  'flow_recovery': value['flowRecovery'],
@@ -46,11 +46,17 @@ export interface PatchedNotificationTransportRequest {
46
46
  */
47
47
  webhookUrl?: string;
48
48
  /**
49
- *
49
+ * Customize the body of the request. Mapping should return data that is JSON-serializable.
50
+ * @type {string}
51
+ * @memberof PatchedNotificationTransportRequest
52
+ */
53
+ webhookMappingBody?: string | null;
54
+ /**
55
+ * Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
50
56
  * @type {string}
51
57
  * @memberof PatchedNotificationTransportRequest
52
58
  */
53
- webhookMapping?: string | null;
59
+ webhookMappingHeaders?: string | null;
54
60
  /**
55
61
  * Only send notification once, for example when sending a webhook into a chat channel.
56
62
  * @type {boolean}
@@ -81,7 +87,8 @@ export function PatchedNotificationTransportRequestFromJSONTyped(json: any, igno
81
87
  'name': json['name'] == null ? undefined : json['name'],
82
88
  'mode': json['mode'] == null ? undefined : NotificationTransportModeEnumFromJSON(json['mode']),
83
89
  'webhookUrl': json['webhook_url'] == null ? undefined : json['webhook_url'],
84
- 'webhookMapping': json['webhook_mapping'] == null ? undefined : json['webhook_mapping'],
90
+ 'webhookMappingBody': json['webhook_mapping_body'] == null ? undefined : json['webhook_mapping_body'],
91
+ 'webhookMappingHeaders': json['webhook_mapping_headers'] == null ? undefined : json['webhook_mapping_headers'],
85
92
  'sendOnce': json['send_once'] == null ? undefined : json['send_once'],
86
93
  };
87
94
  }
@@ -100,7 +107,8 @@ export function PatchedNotificationTransportRequestToJSONTyped(value?: PatchedNo
100
107
  'name': value['name'],
101
108
  'mode': NotificationTransportModeEnumToJSON(value['mode']),
102
109
  'webhook_url': value['webhookUrl'],
103
- 'webhook_mapping': value['webhookMapping'],
110
+ 'webhook_mapping_body': value['webhookMappingBody'],
111
+ 'webhook_mapping_headers': value['webhookMappingHeaders'],
104
112
  'send_once': value['sendOnce'],
105
113
  };
106
114
  }