@goauthentik/api 2025.2.2-1742432843 → 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.
@@ -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
  }
@@ -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
  }
@@ -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
  }
@@ -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-1742432843",
3
+ "version": "2025.2.2-1742585853",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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
  }
@@ -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
  }