Skip to content

Commit 233f44f

Browse files
Update API Client
#### What's Changed --- ##### `GET` /events/transports/{uuid}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `webhook_mapping_body` (string) > Customize the body of the request. Mapping should return data that is JSON-serializable. * Added property `webhook_mapping_headers` (string) > Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs * Deleted property `webhook_mapping` (string) ##### `PUT` /events/transports/{uuid}/ ###### Request: Changed content type : `application/json` * Added property `webhook_mapping_body` (string) > Customize the body of the request. Mapping should return data that is JSON-serializable. * Added property `webhook_mapping_headers` (string) > Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs * Deleted property `webhook_mapping` (string) ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `webhook_mapping_body` (string) > Customize the body of the request. Mapping should return data that is JSON-serializable. * Added property `webhook_mapping_headers` (string) > Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs * Deleted property `webhook_mapping` (string) ##### `PATCH` /events/transports/{uuid}/ ###### Request: Changed content type : `application/json` * Added property `webhook_mapping_body` (string) > Customize the body of the request. Mapping should return data that is JSON-serializable. * Added property `webhook_mapping_headers` (string) > Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs * Deleted property `webhook_mapping` (string) ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `webhook_mapping_body` (string) > Customize the body of the request. Mapping should return data that is JSON-serializable. * Added property `webhook_mapping_headers` (string) > Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs * Deleted property `webhook_mapping` (string) ##### `POST` /events/transports/ ###### Request: Changed content type : `application/json` * Added property `webhook_mapping_body` (string) > Customize the body of the request. Mapping should return data that is JSON-serializable. * Added property `webhook_mapping_headers` (string) > Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs * Deleted property `webhook_mapping` (string) ###### Return Type: Changed response : **201 Created** * Changed content type : `application/json` * Added property `webhook_mapping_body` (string) > Customize the body of the request. Mapping should return data that is JSON-serializable. * Added property `webhook_mapping_headers` (string) > Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs * Deleted property `webhook_mapping` (string) ##### `GET` /events/transports/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > NotificationTransport Serializer * Added property `webhook_mapping_body` (string) > Customize the body of the request. Mapping should return data that is JSON-serializable. * Added property `webhook_mapping_headers` (string) > Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs * Deleted property `webhook_mapping` (string)
1 parent bbf37fb commit 233f44f

8 files changed

+450
-142
lines changed

api/openapi.yaml

+37-8
Original file line numberDiff line numberDiff line change
@@ -53557,12 +53557,13 @@ components:
5355753557
description: NotificationTransport Serializer
5355853558
example:
5355953559
mode: null
53560+
webhook_mapping_headers: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5356053561
webhook_url: https://openapi-generator.tech
5356153562
name: name
5356253563
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5356353564
mode_verbose: mode_verbose
53564-
webhook_mapping: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5356553565
send_once: true
53566+
webhook_mapping_body: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5356653567
properties:
5356753568
pk:
5356853569
format: uuid
@@ -53580,7 +53581,15 @@ components:
5358053581
webhook_url:
5358153582
format: uri
5358253583
type: string
53583-
webhook_mapping:
53584+
webhook_mapping_body:
53585+
description: Customize the body of the request. Mapping should return data
53586+
that is JSON-serializable.
53587+
format: uuid
53588+
nullable: true
53589+
type: string
53590+
webhook_mapping_headers:
53591+
description: Configure additional headers to be sent. Mapping should return
53592+
a dictionary of key-value pairs
5358453593
format: uuid
5358553594
nullable: true
5358653595
type: string
@@ -53604,10 +53613,11 @@ components:
5360453613
description: NotificationTransport Serializer
5360553614
example:
5360653615
mode: null
53616+
webhook_mapping_headers: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5360753617
webhook_url: https://openapi-generator.tech
5360853618
name: name
53609-
webhook_mapping: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5361053619
send_once: true
53620+
webhook_mapping_body: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5361153621
properties:
5361253622
name:
5361353623
minLength: 1
@@ -53617,7 +53627,15 @@ components:
5361753627
webhook_url:
5361853628
format: uri
5361953629
type: string
53620-
webhook_mapping:
53630+
webhook_mapping_body:
53631+
description: Customize the body of the request. Mapping should return data
53632+
that is JSON-serializable.
53633+
format: uuid
53634+
nullable: true
53635+
type: string
53636+
webhook_mapping_headers:
53637+
description: Configure additional headers to be sent. Mapping should return
53638+
a dictionary of key-value pairs
5362153639
format: uuid
5362253640
nullable: true
5362353641
type: string
@@ -58652,19 +58670,21 @@ components:
5865258670
total_pages: 5.637376656633329
5865358671
results:
5865458672
- mode: null
58673+
webhook_mapping_headers: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5865558674
webhook_url: https://openapi-generator.tech
5865658675
name: name
5865758676
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5865858677
mode_verbose: mode_verbose
58659-
webhook_mapping: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5866058678
send_once: true
58679+
webhook_mapping_body: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5866158680
- mode: null
58681+
webhook_mapping_headers: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5866258682
webhook_url: https://openapi-generator.tech
5866358683
name: name
5866458684
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5866558685
mode_verbose: mode_verbose
58666-
webhook_mapping: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5866758686
send_once: true
58687+
webhook_mapping_body: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
5866858688
properties:
5866958689
pagination:
5867058690
$ref: '#/components/schemas/Pagination'
@@ -65694,10 +65714,11 @@ components:
6569465714
description: NotificationTransport Serializer
6569565715
example:
6569665716
mode: null
65717+
webhook_mapping_headers: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
6569765718
webhook_url: https://openapi-generator.tech
6569865719
name: name
65699-
webhook_mapping: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
6570065720
send_once: true
65721+
webhook_mapping_body: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
6570165722
properties:
6570265723
name:
6570365724
minLength: 1
@@ -65707,7 +65728,15 @@ components:
6570765728
webhook_url:
6570865729
format: uri
6570965730
type: string
65710-
webhook_mapping:
65731+
webhook_mapping_body:
65732+
description: Customize the body of the request. Mapping should return data
65733+
that is JSON-serializable.
65734+
format: uuid
65735+
nullable: true
65736+
type: string
65737+
webhook_mapping_headers:
65738+
description: Configure additional headers to be sent. Mapping should return
65739+
a dictionary of key-value pairs
6571165740
format: uuid
6571265741
nullable: true
6571365742
type: string

docs/NotificationTransport.md

+55-19
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Name | Type | Description | Notes
99
**Mode** | Pointer to [**NotificationTransportModeEnum**](NotificationTransportModeEnum.md) | | [optional]
1010
**ModeVerbose** | **string** | Return selected mode with a UI Label | [readonly]
1111
**WebhookUrl** | Pointer to **string** | | [optional]
12-
**WebhookMapping** | Pointer to **NullableString** | | [optional]
12+
**WebhookMappingBody** | Pointer to **NullableString** | Customize the body of the request. Mapping should return data that is JSON-serializable. | [optional]
13+
**WebhookMappingHeaders** | Pointer to **NullableString** | Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs | [optional]
1314
**SendOnce** | Pointer to **bool** | Only send notification once, for example when sending a webhook into a chat channel. | [optional]
1415

1516
## Methods
@@ -141,41 +142,76 @@ SetWebhookUrl sets WebhookUrl field to given value.
141142

142143
HasWebhookUrl returns a boolean if a field has been set.
143144

144-
### GetWebhookMapping
145+
### GetWebhookMappingBody
145146

146-
`func (o *NotificationTransport) GetWebhookMapping() string`
147+
`func (o *NotificationTransport) GetWebhookMappingBody() string`
147148

148-
GetWebhookMapping returns the WebhookMapping field if non-nil, zero value otherwise.
149+
GetWebhookMappingBody returns the WebhookMappingBody field if non-nil, zero value otherwise.
149150

150-
### GetWebhookMappingOk
151+
### GetWebhookMappingBodyOk
151152

152-
`func (o *NotificationTransport) GetWebhookMappingOk() (*string, bool)`
153+
`func (o *NotificationTransport) GetWebhookMappingBodyOk() (*string, bool)`
153154

154-
GetWebhookMappingOk returns a tuple with the WebhookMapping field if it's non-nil, zero value otherwise
155+
GetWebhookMappingBodyOk returns a tuple with the WebhookMappingBody field if it's non-nil, zero value otherwise
155156
and a boolean to check if the value has been set.
156157

157-
### SetWebhookMapping
158+
### SetWebhookMappingBody
158159

159-
`func (o *NotificationTransport) SetWebhookMapping(v string)`
160+
`func (o *NotificationTransport) SetWebhookMappingBody(v string)`
160161

161-
SetWebhookMapping sets WebhookMapping field to given value.
162+
SetWebhookMappingBody sets WebhookMappingBody field to given value.
162163

163-
### HasWebhookMapping
164+
### HasWebhookMappingBody
164165

165-
`func (o *NotificationTransport) HasWebhookMapping() bool`
166+
`func (o *NotificationTransport) HasWebhookMappingBody() bool`
166167

167-
HasWebhookMapping returns a boolean if a field has been set.
168+
HasWebhookMappingBody returns a boolean if a field has been set.
168169

169-
### SetWebhookMappingNil
170+
### SetWebhookMappingBodyNil
170171

171-
`func (o *NotificationTransport) SetWebhookMappingNil(b bool)`
172+
`func (o *NotificationTransport) SetWebhookMappingBodyNil(b bool)`
172173

173-
SetWebhookMappingNil sets the value for WebhookMapping to be an explicit nil
174+
SetWebhookMappingBodyNil sets the value for WebhookMappingBody to be an explicit nil
174175

175-
### UnsetWebhookMapping
176-
`func (o *NotificationTransport) UnsetWebhookMapping()`
176+
### UnsetWebhookMappingBody
177+
`func (o *NotificationTransport) UnsetWebhookMappingBody()`
177178

178-
UnsetWebhookMapping ensures that no value is present for WebhookMapping, not even an explicit nil
179+
UnsetWebhookMappingBody ensures that no value is present for WebhookMappingBody, not even an explicit nil
180+
### GetWebhookMappingHeaders
181+
182+
`func (o *NotificationTransport) GetWebhookMappingHeaders() string`
183+
184+
GetWebhookMappingHeaders returns the WebhookMappingHeaders field if non-nil, zero value otherwise.
185+
186+
### GetWebhookMappingHeadersOk
187+
188+
`func (o *NotificationTransport) GetWebhookMappingHeadersOk() (*string, bool)`
189+
190+
GetWebhookMappingHeadersOk returns a tuple with the WebhookMappingHeaders field if it's non-nil, zero value otherwise
191+
and a boolean to check if the value has been set.
192+
193+
### SetWebhookMappingHeaders
194+
195+
`func (o *NotificationTransport) SetWebhookMappingHeaders(v string)`
196+
197+
SetWebhookMappingHeaders sets WebhookMappingHeaders field to given value.
198+
199+
### HasWebhookMappingHeaders
200+
201+
`func (o *NotificationTransport) HasWebhookMappingHeaders() bool`
202+
203+
HasWebhookMappingHeaders returns a boolean if a field has been set.
204+
205+
### SetWebhookMappingHeadersNil
206+
207+
`func (o *NotificationTransport) SetWebhookMappingHeadersNil(b bool)`
208+
209+
SetWebhookMappingHeadersNil sets the value for WebhookMappingHeaders to be an explicit nil
210+
211+
### UnsetWebhookMappingHeaders
212+
`func (o *NotificationTransport) UnsetWebhookMappingHeaders()`
213+
214+
UnsetWebhookMappingHeaders ensures that no value is present for WebhookMappingHeaders, not even an explicit nil
179215
### GetSendOnce
180216

181217
`func (o *NotificationTransport) GetSendOnce() bool`

docs/NotificationTransportRequest.md

+55-19
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Name | Type | Description | Notes
77
**Name** | **string** | |
88
**Mode** | Pointer to [**NotificationTransportModeEnum**](NotificationTransportModeEnum.md) | | [optional]
99
**WebhookUrl** | Pointer to **string** | | [optional]
10-
**WebhookMapping** | Pointer to **NullableString** | | [optional]
10+
**WebhookMappingBody** | Pointer to **NullableString** | Customize the body of the request. Mapping should return data that is JSON-serializable. | [optional]
11+
**WebhookMappingHeaders** | Pointer to **NullableString** | Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs | [optional]
1112
**SendOnce** | Pointer to **bool** | Only send notification once, for example when sending a webhook into a chat channel. | [optional]
1213

1314
## Methods
@@ -99,41 +100,76 @@ SetWebhookUrl sets WebhookUrl field to given value.
99100

100101
HasWebhookUrl returns a boolean if a field has been set.
101102

102-
### GetWebhookMapping
103+
### GetWebhookMappingBody
103104

104-
`func (o *NotificationTransportRequest) GetWebhookMapping() string`
105+
`func (o *NotificationTransportRequest) GetWebhookMappingBody() string`
105106

106-
GetWebhookMapping returns the WebhookMapping field if non-nil, zero value otherwise.
107+
GetWebhookMappingBody returns the WebhookMappingBody field if non-nil, zero value otherwise.
107108

108-
### GetWebhookMappingOk
109+
### GetWebhookMappingBodyOk
109110

110-
`func (o *NotificationTransportRequest) GetWebhookMappingOk() (*string, bool)`
111+
`func (o *NotificationTransportRequest) GetWebhookMappingBodyOk() (*string, bool)`
111112

112-
GetWebhookMappingOk returns a tuple with the WebhookMapping field if it's non-nil, zero value otherwise
113+
GetWebhookMappingBodyOk returns a tuple with the WebhookMappingBody field if it's non-nil, zero value otherwise
113114
and a boolean to check if the value has been set.
114115

115-
### SetWebhookMapping
116+
### SetWebhookMappingBody
116117

117-
`func (o *NotificationTransportRequest) SetWebhookMapping(v string)`
118+
`func (o *NotificationTransportRequest) SetWebhookMappingBody(v string)`
118119

119-
SetWebhookMapping sets WebhookMapping field to given value.
120+
SetWebhookMappingBody sets WebhookMappingBody field to given value.
120121

121-
### HasWebhookMapping
122+
### HasWebhookMappingBody
122123

123-
`func (o *NotificationTransportRequest) HasWebhookMapping() bool`
124+
`func (o *NotificationTransportRequest) HasWebhookMappingBody() bool`
124125

125-
HasWebhookMapping returns a boolean if a field has been set.
126+
HasWebhookMappingBody returns a boolean if a field has been set.
126127

127-
### SetWebhookMappingNil
128+
### SetWebhookMappingBodyNil
128129

129-
`func (o *NotificationTransportRequest) SetWebhookMappingNil(b bool)`
130+
`func (o *NotificationTransportRequest) SetWebhookMappingBodyNil(b bool)`
130131

131-
SetWebhookMappingNil sets the value for WebhookMapping to be an explicit nil
132+
SetWebhookMappingBodyNil sets the value for WebhookMappingBody to be an explicit nil
132133

133-
### UnsetWebhookMapping
134-
`func (o *NotificationTransportRequest) UnsetWebhookMapping()`
134+
### UnsetWebhookMappingBody
135+
`func (o *NotificationTransportRequest) UnsetWebhookMappingBody()`
135136

136-
UnsetWebhookMapping ensures that no value is present for WebhookMapping, not even an explicit nil
137+
UnsetWebhookMappingBody ensures that no value is present for WebhookMappingBody, not even an explicit nil
138+
### GetWebhookMappingHeaders
139+
140+
`func (o *NotificationTransportRequest) GetWebhookMappingHeaders() string`
141+
142+
GetWebhookMappingHeaders returns the WebhookMappingHeaders field if non-nil, zero value otherwise.
143+
144+
### GetWebhookMappingHeadersOk
145+
146+
`func (o *NotificationTransportRequest) GetWebhookMappingHeadersOk() (*string, bool)`
147+
148+
GetWebhookMappingHeadersOk returns a tuple with the WebhookMappingHeaders field if it's non-nil, zero value otherwise
149+
and a boolean to check if the value has been set.
150+
151+
### SetWebhookMappingHeaders
152+
153+
`func (o *NotificationTransportRequest) SetWebhookMappingHeaders(v string)`
154+
155+
SetWebhookMappingHeaders sets WebhookMappingHeaders field to given value.
156+
157+
### HasWebhookMappingHeaders
158+
159+
`func (o *NotificationTransportRequest) HasWebhookMappingHeaders() bool`
160+
161+
HasWebhookMappingHeaders returns a boolean if a field has been set.
162+
163+
### SetWebhookMappingHeadersNil
164+
165+
`func (o *NotificationTransportRequest) SetWebhookMappingHeadersNil(b bool)`
166+
167+
SetWebhookMappingHeadersNil sets the value for WebhookMappingHeaders to be an explicit nil
168+
169+
### UnsetWebhookMappingHeaders
170+
`func (o *NotificationTransportRequest) UnsetWebhookMappingHeaders()`
171+
172+
UnsetWebhookMappingHeaders ensures that no value is present for WebhookMappingHeaders, not even an explicit nil
137173
### GetSendOnce
138174

139175
`func (o *NotificationTransportRequest) GetSendOnce() bool`

0 commit comments

Comments
 (0)