@emilgroup/webhook-sdk-node 1.0.1-beta.1 → 1.0.1-beta.11
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.
- package/.openapi-generator/FILES +6 -1
- package/README.md +2 -2
- package/api/{health-api.ts → health-checks-api.ts} +45 -19
- package/api/inbound-webhooks-api.ts +409 -0
- package/api/trigger-inbound-webhooks-api.ts +178 -0
- package/api.ts +4 -2
- package/dist/api/{health-api.d.ts → health-checks-api.d.ts} +31 -14
- package/dist/api/{health-api.js → health-checks-api.js} +60 -42
- package/dist/api/inbound-webhooks-api.d.ts +231 -0
- package/dist/api/inbound-webhooks-api.js +320 -0
- package/dist/api/trigger-inbound-webhooks-api.d.ts +105 -0
- package/dist/api/trigger-inbound-webhooks-api.js +233 -0
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/models/create-inbound-webhook-request-dto.d.ts +0 -6
- package/dist/models/inbound-webhook-class.d.ts +6 -6
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/list-inbound-webhook-response-class.d.ts +43 -0
- package/dist/models/list-inbound-webhook-response-class.js +15 -0
- package/dist/models/trigger-inbound-webhook-response-class.d.ts +42 -0
- package/dist/models/trigger-inbound-webhook-response-class.js +15 -0
- package/dist/models/update-inbound-webhook-request-dto.d.ts +54 -0
- package/dist/models/update-inbound-webhook-request-dto.js +21 -0
- package/dist/models/update-inbound-webhook-response-class.d.ts +25 -0
- package/dist/models/update-inbound-webhook-response-class.js +15 -0
- package/models/create-inbound-webhook-request-dto.ts +0 -6
- package/models/inbound-webhook-class.ts +6 -6
- package/models/index.ts +4 -0
- package/models/list-inbound-webhook-response-class.ts +49 -0
- package/models/trigger-inbound-webhook-response-class.ts +48 -0
- package/models/update-inbound-webhook-request-dto.ts +63 -0
- package/models/update-inbound-webhook-response-class.ts +31 -0
- package/package.json +2 -2
|
@@ -15,6 +15,9 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CreateInboundWebhookRequestDto } from '../models';
|
|
16
16
|
import { CreateInboundWebhookResponseClass } from '../models';
|
|
17
17
|
import { GetInboundWebhookResponseClass } from '../models';
|
|
18
|
+
import { ListInboundWebhookResponseClass } from '../models';
|
|
19
|
+
import { UpdateInboundWebhookRequestDto } from '../models';
|
|
20
|
+
import { UpdateInboundWebhookResponseClass } from '../models';
|
|
18
21
|
/**
|
|
19
22
|
* InboundWebhooksApi - axios parameter creator
|
|
20
23
|
* @export
|
|
@@ -29,6 +32,15 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
29
32
|
* @throws {RequiredError}
|
|
30
33
|
*/
|
|
31
34
|
createInboundWebhook: (createInboundWebhookRequestDto: CreateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
37
|
+
* @summary Delete the inbound webhook
|
|
38
|
+
* @param {string} code Unique identifier code for the inbound webhook
|
|
39
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteInboundWebhook: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
44
|
/**
|
|
33
45
|
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
34
46
|
* @summary Retrieve the inbound webhook
|
|
@@ -38,6 +50,31 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
38
50
|
* @throws {RequiredError}
|
|
39
51
|
*/
|
|
40
52
|
getInboundWebhook: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
* Lists all inbound webhooks with optional filters **Required Permissions** none
|
|
55
|
+
* @summary List inbound webhooks
|
|
56
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
58
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
59
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
60
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
61
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
62
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
63
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
listInboundWebhooks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
* Updates an existing inbound webhook configuration **Required Permissions** none
|
|
70
|
+
* @summary Update the inbound webhook
|
|
71
|
+
* @param {string} code Unique identifier code for the inbound webhook
|
|
72
|
+
* @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
|
|
73
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
updateInboundWebhook: (code: string, updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
78
|
};
|
|
42
79
|
/**
|
|
43
80
|
* InboundWebhooksApi - functional programming interface
|
|
@@ -53,6 +90,15 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
53
90
|
* @throws {RequiredError}
|
|
54
91
|
*/
|
|
55
92
|
createInboundWebhook(createInboundWebhookRequestDto: CreateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInboundWebhookResponseClass>>;
|
|
93
|
+
/**
|
|
94
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
95
|
+
* @summary Delete the inbound webhook
|
|
96
|
+
* @param {string} code Unique identifier code for the inbound webhook
|
|
97
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
deleteInboundWebhook(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
56
102
|
/**
|
|
57
103
|
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
58
104
|
* @summary Retrieve the inbound webhook
|
|
@@ -62,6 +108,31 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
62
108
|
* @throws {RequiredError}
|
|
63
109
|
*/
|
|
64
110
|
getInboundWebhook(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInboundWebhookResponseClass>>;
|
|
111
|
+
/**
|
|
112
|
+
* Lists all inbound webhooks with optional filters **Required Permissions** none
|
|
113
|
+
* @summary List inbound webhooks
|
|
114
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
116
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
117
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
118
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
119
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
120
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
121
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
listInboundWebhooks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInboundWebhookResponseClass>>;
|
|
126
|
+
/**
|
|
127
|
+
* Updates an existing inbound webhook configuration **Required Permissions** none
|
|
128
|
+
* @summary Update the inbound webhook
|
|
129
|
+
* @param {string} code Unique identifier code for the inbound webhook
|
|
130
|
+
* @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
|
|
131
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
updateInboundWebhook(code: string, updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateInboundWebhookResponseClass>>;
|
|
65
136
|
};
|
|
66
137
|
/**
|
|
67
138
|
* InboundWebhooksApi - factory interface
|
|
@@ -77,6 +148,15 @@ export declare const InboundWebhooksApiFactory: (configuration?: Configuration,
|
|
|
77
148
|
* @throws {RequiredError}
|
|
78
149
|
*/
|
|
79
150
|
createInboundWebhook(createInboundWebhookRequestDto: CreateInboundWebhookRequestDto, authorization?: string, options?: any): AxiosPromise<CreateInboundWebhookResponseClass>;
|
|
151
|
+
/**
|
|
152
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
153
|
+
* @summary Delete the inbound webhook
|
|
154
|
+
* @param {string} code Unique identifier code for the inbound webhook
|
|
155
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
deleteInboundWebhook(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
80
160
|
/**
|
|
81
161
|
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
82
162
|
* @summary Retrieve the inbound webhook
|
|
@@ -86,6 +166,31 @@ export declare const InboundWebhooksApiFactory: (configuration?: Configuration,
|
|
|
86
166
|
* @throws {RequiredError}
|
|
87
167
|
*/
|
|
88
168
|
getInboundWebhook(code: string, authorization?: string, options?: any): AxiosPromise<GetInboundWebhookResponseClass>;
|
|
169
|
+
/**
|
|
170
|
+
* Lists all inbound webhooks with optional filters **Required Permissions** none
|
|
171
|
+
* @summary List inbound webhooks
|
|
172
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
173
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
174
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
175
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
176
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
177
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
178
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
179
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
listInboundWebhooks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInboundWebhookResponseClass>;
|
|
184
|
+
/**
|
|
185
|
+
* Updates an existing inbound webhook configuration **Required Permissions** none
|
|
186
|
+
* @summary Update the inbound webhook
|
|
187
|
+
* @param {string} code Unique identifier code for the inbound webhook
|
|
188
|
+
* @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
|
|
189
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
updateInboundWebhook(code: string, updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateInboundWebhookResponseClass>;
|
|
89
194
|
};
|
|
90
195
|
/**
|
|
91
196
|
* Request parameters for createInboundWebhook operation in InboundWebhooksApi.
|
|
@@ -106,6 +211,25 @@ export interface InboundWebhooksApiCreateInboundWebhookRequest {
|
|
|
106
211
|
*/
|
|
107
212
|
readonly authorization?: string;
|
|
108
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Request parameters for deleteInboundWebhook operation in InboundWebhooksApi.
|
|
216
|
+
* @export
|
|
217
|
+
* @interface InboundWebhooksApiDeleteInboundWebhookRequest
|
|
218
|
+
*/
|
|
219
|
+
export interface InboundWebhooksApiDeleteInboundWebhookRequest {
|
|
220
|
+
/**
|
|
221
|
+
* Unique identifier code for the inbound webhook
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof InboundWebhooksApiDeleteInboundWebhook
|
|
224
|
+
*/
|
|
225
|
+
readonly code: string;
|
|
226
|
+
/**
|
|
227
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof InboundWebhooksApiDeleteInboundWebhook
|
|
230
|
+
*/
|
|
231
|
+
readonly authorization?: string;
|
|
232
|
+
}
|
|
109
233
|
/**
|
|
110
234
|
* Request parameters for getInboundWebhook operation in InboundWebhooksApi.
|
|
111
235
|
* @export
|
|
@@ -125,6 +249,86 @@ export interface InboundWebhooksApiGetInboundWebhookRequest {
|
|
|
125
249
|
*/
|
|
126
250
|
readonly authorization?: string;
|
|
127
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* Request parameters for listInboundWebhooks operation in InboundWebhooksApi.
|
|
254
|
+
* @export
|
|
255
|
+
* @interface InboundWebhooksApiListInboundWebhooksRequest
|
|
256
|
+
*/
|
|
257
|
+
export interface InboundWebhooksApiListInboundWebhooksRequest {
|
|
258
|
+
/**
|
|
259
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
|
+
* @type {string}
|
|
261
|
+
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
262
|
+
*/
|
|
263
|
+
readonly authorization?: string;
|
|
264
|
+
/**
|
|
265
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
266
|
+
* @type {number}
|
|
267
|
+
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
268
|
+
*/
|
|
269
|
+
readonly pageSize?: number;
|
|
270
|
+
/**
|
|
271
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
272
|
+
* @type {string}
|
|
273
|
+
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
274
|
+
*/
|
|
275
|
+
readonly pageToken?: string;
|
|
276
|
+
/**
|
|
277
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
280
|
+
*/
|
|
281
|
+
readonly filter?: string;
|
|
282
|
+
/**
|
|
283
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
286
|
+
*/
|
|
287
|
+
readonly search?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
292
|
+
*/
|
|
293
|
+
readonly order?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
298
|
+
*/
|
|
299
|
+
readonly expand?: string;
|
|
300
|
+
/**
|
|
301
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
304
|
+
*/
|
|
305
|
+
readonly filters?: string;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Request parameters for updateInboundWebhook operation in InboundWebhooksApi.
|
|
309
|
+
* @export
|
|
310
|
+
* @interface InboundWebhooksApiUpdateInboundWebhookRequest
|
|
311
|
+
*/
|
|
312
|
+
export interface InboundWebhooksApiUpdateInboundWebhookRequest {
|
|
313
|
+
/**
|
|
314
|
+
* Unique identifier code for the inbound webhook
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof InboundWebhooksApiUpdateInboundWebhook
|
|
317
|
+
*/
|
|
318
|
+
readonly code: string;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {UpdateInboundWebhookRequestDto}
|
|
322
|
+
* @memberof InboundWebhooksApiUpdateInboundWebhook
|
|
323
|
+
*/
|
|
324
|
+
readonly updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto;
|
|
325
|
+
/**
|
|
326
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @memberof InboundWebhooksApiUpdateInboundWebhook
|
|
329
|
+
*/
|
|
330
|
+
readonly authorization?: string;
|
|
331
|
+
}
|
|
128
332
|
/**
|
|
129
333
|
* InboundWebhooksApi - object-oriented interface
|
|
130
334
|
* @export
|
|
@@ -141,6 +345,15 @@ export declare class InboundWebhooksApi extends BaseAPI {
|
|
|
141
345
|
* @memberof InboundWebhooksApi
|
|
142
346
|
*/
|
|
143
347
|
createInboundWebhook(requestParameters: InboundWebhooksApiCreateInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInboundWebhookResponseClass, any, {}>>;
|
|
348
|
+
/**
|
|
349
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
350
|
+
* @summary Delete the inbound webhook
|
|
351
|
+
* @param {InboundWebhooksApiDeleteInboundWebhookRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof InboundWebhooksApi
|
|
355
|
+
*/
|
|
356
|
+
deleteInboundWebhook(requestParameters: InboundWebhooksApiDeleteInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
144
357
|
/**
|
|
145
358
|
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
146
359
|
* @summary Retrieve the inbound webhook
|
|
@@ -150,4 +363,22 @@ export declare class InboundWebhooksApi extends BaseAPI {
|
|
|
150
363
|
* @memberof InboundWebhooksApi
|
|
151
364
|
*/
|
|
152
365
|
getInboundWebhook(requestParameters: InboundWebhooksApiGetInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInboundWebhookResponseClass, any, {}>>;
|
|
366
|
+
/**
|
|
367
|
+
* Lists all inbound webhooks with optional filters **Required Permissions** none
|
|
368
|
+
* @summary List inbound webhooks
|
|
369
|
+
* @param {InboundWebhooksApiListInboundWebhooksRequest} requestParameters Request parameters.
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
* @memberof InboundWebhooksApi
|
|
373
|
+
*/
|
|
374
|
+
listInboundWebhooks(requestParameters?: InboundWebhooksApiListInboundWebhooksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInboundWebhookResponseClass, any, {}>>;
|
|
375
|
+
/**
|
|
376
|
+
* Updates an existing inbound webhook configuration **Required Permissions** none
|
|
377
|
+
* @summary Update the inbound webhook
|
|
378
|
+
* @param {InboundWebhooksApiUpdateInboundWebhookRequest} requestParameters Request parameters.
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
* @memberof InboundWebhooksApi
|
|
382
|
+
*/
|
|
383
|
+
updateInboundWebhook(requestParameters: InboundWebhooksApiUpdateInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateInboundWebhookResponseClass, any, {}>>;
|
|
153
384
|
}
|