@emilgroup/webhook-sdk-node 1.0.1-beta.24 → 1.0.1-beta.3
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 +1 -10
- package/README.md +2 -2
- package/api/{health-checks-api.ts → health-api.ts} +19 -45
- package/api/inbound-webhooks-api.ts +12 -320
- package/api.ts +2 -6
- package/dist/api/{health-checks-api.d.ts → health-api.d.ts} +14 -31
- package/dist/api/{health-checks-api.js → health-api.js} +42 -60
- package/dist/api/inbound-webhooks-api.d.ts +12 -188
- package/dist/api/inbound-webhooks-api.js +12 -240
- package/dist/api.d.ts +1 -3
- package/dist/api.js +1 -3
- package/dist/models/create-inbound-webhook-request-dto.d.ts +6 -0
- package/dist/models/inbound-webhook-class.d.ts +6 -6
- package/dist/models/index.d.ts +0 -7
- package/dist/models/index.js +0 -7
- package/models/create-inbound-webhook-request-dto.ts +6 -0
- package/models/inbound-webhook-class.ts +6 -6
- package/models/index.ts +0 -7
- package/package.json +2 -2
- package/api/trigger-inbound-webhooks-api.ts +0 -167
- package/api/webhook-requests-api.ts +0 -250
- package/dist/api/trigger-inbound-webhooks-api.d.ts +0 -96
- package/dist/api/trigger-inbound-webhooks-api.js +0 -227
- package/dist/api/webhook-requests-api.d.ts +0 -150
- package/dist/api/webhook-requests-api.js +0 -264
- package/dist/models/list-inbound-webhook-response-class.d.ts +0 -43
- package/dist/models/list-inbound-webhook-response-class.js +0 -15
- package/dist/models/list-webhook-requests-response-class.d.ts +0 -43
- package/dist/models/list-webhook-requests-response-class.js +0 -15
- package/dist/models/trigger-inbound-webhook-accepted-response-class.d.ts +0 -36
- package/dist/models/trigger-inbound-webhook-accepted-response-class.js +0 -15
- package/dist/models/trigger-inbound-webhook-rejected-response-class.d.ts +0 -42
- package/dist/models/trigger-inbound-webhook-rejected-response-class.js +0 -15
- package/dist/models/update-inbound-webhook-request-dto.d.ts +0 -54
- package/dist/models/update-inbound-webhook-request-dto.js +0 -21
- package/dist/models/update-inbound-webhook-response-class.d.ts +0 -25
- package/dist/models/update-inbound-webhook-response-class.js +0 -15
- package/dist/models/webhook-request-class.d.ts +0 -146
- package/dist/models/webhook-request-class.js +0 -23
- package/models/list-inbound-webhook-response-class.ts +0 -49
- package/models/list-webhook-requests-response-class.ts +0 -49
- package/models/trigger-inbound-webhook-accepted-response-class.ts +0 -42
- package/models/trigger-inbound-webhook-rejected-response-class.ts +0 -48
- package/models/update-inbound-webhook-request-dto.ts +0 -63
- package/models/update-inbound-webhook-response-class.ts +0 -31
- package/models/webhook-request-class.ts +0 -155
package/.openapi-generator/FILES
CHANGED
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
5
|
api.ts
|
|
6
|
-
api/health-
|
|
6
|
+
api/health-api.ts
|
|
7
7
|
api/inbound-webhooks-api.ts
|
|
8
|
-
api/trigger-inbound-webhooks-api.ts
|
|
9
|
-
api/webhook-requests-api.ts
|
|
10
8
|
base.ts
|
|
11
9
|
common.ts
|
|
12
10
|
configuration.ts
|
|
@@ -19,12 +17,5 @@ models/inbound-webhook-class.ts
|
|
|
19
17
|
models/index.ts
|
|
20
18
|
models/inline-response200.ts
|
|
21
19
|
models/inline-response503.ts
|
|
22
|
-
models/list-inbound-webhook-response-class.ts
|
|
23
|
-
models/list-webhook-requests-response-class.ts
|
|
24
|
-
models/trigger-inbound-webhook-accepted-response-class.ts
|
|
25
|
-
models/trigger-inbound-webhook-rejected-response-class.ts
|
|
26
|
-
models/update-inbound-webhook-request-dto.ts
|
|
27
|
-
models/update-inbound-webhook-response-class.ts
|
|
28
|
-
models/webhook-request-class.ts
|
|
29
20
|
package.json
|
|
30
21
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/webhook-sdk-node@1.0.1-beta.
|
|
20
|
+
npm install @emilgroup/webhook-sdk-node@1.0.1-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/webhook-sdk-node@1.0.1-beta.
|
|
24
|
+
yarn add @emilgroup/webhook-sdk-node@1.0.1-beta.3
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -29,19 +29,18 @@ import { InlineResponse503 } from '../models';
|
|
|
29
29
|
import { URL, URLSearchParams } from 'url';
|
|
30
30
|
const FormData = require('form-data');
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* HealthApi - axios parameter creator
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export const
|
|
35
|
+
export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
39
39
|
* @summary Health Check
|
|
40
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
40
|
* @param {*} [options] Override http request option.
|
|
42
41
|
* @throws {RequiredError}
|
|
43
42
|
*/
|
|
44
|
-
check: async (
|
|
43
|
+
check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
44
|
const localVarPath = `/webhookservice/health`;
|
|
46
45
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
46
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -56,14 +55,6 @@ export const HealthChecksApiAxiosParamCreator = function (configuration?: Config
|
|
|
56
55
|
const localVarHeaderParameter = {} as any;
|
|
57
56
|
const localVarQueryParameter = {} as any;
|
|
58
57
|
|
|
59
|
-
// authentication bearer required
|
|
60
|
-
// http bearer authentication required
|
|
61
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
62
|
-
|
|
63
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
64
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
58
|
|
|
68
59
|
|
|
69
60
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -79,76 +70,59 @@ export const HealthChecksApiAxiosParamCreator = function (configuration?: Config
|
|
|
79
70
|
};
|
|
80
71
|
|
|
81
72
|
/**
|
|
82
|
-
*
|
|
73
|
+
* HealthApi - functional programming interface
|
|
83
74
|
* @export
|
|
84
75
|
*/
|
|
85
|
-
export const
|
|
86
|
-
const localVarAxiosParamCreator =
|
|
76
|
+
export const HealthApiFp = function(configuration?: Configuration) {
|
|
77
|
+
const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
|
|
87
78
|
return {
|
|
88
79
|
/**
|
|
89
80
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
90
81
|
* @summary Health Check
|
|
91
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
92
82
|
* @param {*} [options] Override http request option.
|
|
93
83
|
* @throws {RequiredError}
|
|
94
84
|
*/
|
|
95
|
-
async check(
|
|
96
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.check(
|
|
85
|
+
async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
86
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
|
|
97
87
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
98
88
|
},
|
|
99
89
|
}
|
|
100
90
|
};
|
|
101
91
|
|
|
102
92
|
/**
|
|
103
|
-
*
|
|
93
|
+
* HealthApi - factory interface
|
|
104
94
|
* @export
|
|
105
95
|
*/
|
|
106
|
-
export const
|
|
107
|
-
const localVarFp =
|
|
96
|
+
export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
97
|
+
const localVarFp = HealthApiFp(configuration)
|
|
108
98
|
return {
|
|
109
99
|
/**
|
|
110
100
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
111
101
|
* @summary Health Check
|
|
112
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
113
102
|
* @param {*} [options] Override http request option.
|
|
114
103
|
* @throws {RequiredError}
|
|
115
104
|
*/
|
|
116
|
-
check(
|
|
117
|
-
return localVarFp.check(
|
|
105
|
+
check(options?: any): AxiosPromise<InlineResponse200> {
|
|
106
|
+
return localVarFp.check(options).then((request) => request(axios, basePath));
|
|
118
107
|
},
|
|
119
108
|
};
|
|
120
109
|
};
|
|
121
110
|
|
|
122
111
|
/**
|
|
123
|
-
*
|
|
124
|
-
* @export
|
|
125
|
-
* @interface HealthChecksApiCheckRequest
|
|
126
|
-
*/
|
|
127
|
-
export interface HealthChecksApiCheckRequest {
|
|
128
|
-
/**
|
|
129
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
130
|
-
* @type {string}
|
|
131
|
-
* @memberof HealthChecksApiCheck
|
|
132
|
-
*/
|
|
133
|
-
readonly authorization?: string
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* HealthChecksApi - object-oriented interface
|
|
112
|
+
* HealthApi - object-oriented interface
|
|
138
113
|
* @export
|
|
139
|
-
* @class
|
|
114
|
+
* @class HealthApi
|
|
140
115
|
* @extends {BaseAPI}
|
|
141
116
|
*/
|
|
142
|
-
export class
|
|
117
|
+
export class HealthApi extends BaseAPI {
|
|
143
118
|
/**
|
|
144
119
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
145
120
|
* @summary Health Check
|
|
146
|
-
* @param {HealthChecksApiCheckRequest} requestParameters Request parameters.
|
|
147
121
|
* @param {*} [options] Override http request option.
|
|
148
122
|
* @throws {RequiredError}
|
|
149
|
-
* @memberof
|
|
123
|
+
* @memberof HealthApi
|
|
150
124
|
*/
|
|
151
|
-
public check(
|
|
152
|
-
return
|
|
125
|
+
public check(options?: AxiosRequestConfig) {
|
|
126
|
+
return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
153
127
|
}
|
|
154
128
|
}
|
|
@@ -26,12 +26,6 @@ import { CreateInboundWebhookRequestDto } from '../models';
|
|
|
26
26
|
import { CreateInboundWebhookResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { GetInboundWebhookResponseClass } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { ListInboundWebhookResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { UpdateInboundWebhookRequestDto } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { UpdateInboundWebhookResponseClass } from '../models';
|
|
35
29
|
// URLSearchParams not necessarily used
|
|
36
30
|
// @ts-ignore
|
|
37
31
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -43,7 +37,7 @@ const FormData = require('form-data');
|
|
|
43
37
|
export const InboundWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
38
|
return {
|
|
45
39
|
/**
|
|
46
|
-
* Creates a new inbound webhook configuration **Required Permissions**
|
|
40
|
+
* Creates a new inbound webhook configuration **Required Permissions** none
|
|
47
41
|
* @summary Create the inbound webhook
|
|
48
42
|
* @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
|
|
49
43
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -90,7 +84,7 @@ export const InboundWebhooksApiAxiosParamCreator = function (configuration?: Con
|
|
|
90
84
|
};
|
|
91
85
|
},
|
|
92
86
|
/**
|
|
93
|
-
* Deletes an inbound webhook by its code **Required Permissions**
|
|
87
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
94
88
|
* @summary Delete the inbound webhook
|
|
95
89
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
96
90
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -135,7 +129,7 @@ export const InboundWebhooksApiAxiosParamCreator = function (configuration?: Con
|
|
|
135
129
|
};
|
|
136
130
|
},
|
|
137
131
|
/**
|
|
138
|
-
* Retrieves an inbound webhook by its code **Required Permissions**
|
|
132
|
+
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
139
133
|
* @summary Retrieve the inbound webhook
|
|
140
134
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
141
135
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -174,133 +168,6 @@ export const InboundWebhooksApiAxiosParamCreator = function (configuration?: Con
|
|
|
174
168
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
175
169
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
176
170
|
|
|
177
|
-
return {
|
|
178
|
-
url: toPathString(localVarUrlObj),
|
|
179
|
-
options: localVarRequestOptions,
|
|
180
|
-
};
|
|
181
|
-
},
|
|
182
|
-
/**
|
|
183
|
-
* Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
|
|
184
|
-
* @summary List inbound webhooks
|
|
185
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
187
|
-
* @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.
|
|
188
|
-
* @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>
|
|
189
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
190
|
-
* @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>
|
|
191
|
-
* @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/>
|
|
192
|
-
* @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>
|
|
193
|
-
* @param {*} [options] Override http request option.
|
|
194
|
-
* @throws {RequiredError}
|
|
195
|
-
*/
|
|
196
|
-
listInboundWebhooks: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
|
-
const localVarPath = `/webhookservice/v1/inbound-webhooks`;
|
|
198
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
200
|
-
let baseOptions;
|
|
201
|
-
let baseAccessToken;
|
|
202
|
-
if (configuration) {
|
|
203
|
-
baseOptions = configuration.baseOptions;
|
|
204
|
-
baseAccessToken = configuration.accessToken;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
208
|
-
const localVarHeaderParameter = {} as any;
|
|
209
|
-
const localVarQueryParameter = {} as any;
|
|
210
|
-
|
|
211
|
-
// authentication bearer required
|
|
212
|
-
// http bearer authentication required
|
|
213
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
214
|
-
|
|
215
|
-
if (pageSize !== undefined) {
|
|
216
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
if (pageToken !== undefined) {
|
|
220
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
if (filter !== undefined) {
|
|
224
|
-
localVarQueryParameter['filter'] = filter;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
if (search !== undefined) {
|
|
228
|
-
localVarQueryParameter['search'] = search;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
if (order !== undefined) {
|
|
232
|
-
localVarQueryParameter['order'] = order;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
if (expand !== undefined) {
|
|
236
|
-
localVarQueryParameter['expand'] = expand;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
if (filters !== undefined) {
|
|
240
|
-
localVarQueryParameter['filters'] = filters;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
244
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
250
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
251
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
252
|
-
|
|
253
|
-
return {
|
|
254
|
-
url: toPathString(localVarUrlObj),
|
|
255
|
-
options: localVarRequestOptions,
|
|
256
|
-
};
|
|
257
|
-
},
|
|
258
|
-
/**
|
|
259
|
-
* Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
|
|
260
|
-
* @summary Update the inbound webhook
|
|
261
|
-
* @param {string} code Unique identifier code for the inbound webhook
|
|
262
|
-
* @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
|
|
263
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
264
|
-
* @param {*} [options] Override http request option.
|
|
265
|
-
* @throws {RequiredError}
|
|
266
|
-
*/
|
|
267
|
-
updateInboundWebhook: async (code: string, updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
268
|
-
// verify required parameter 'code' is not null or undefined
|
|
269
|
-
assertParamExists('updateInboundWebhook', 'code', code)
|
|
270
|
-
// verify required parameter 'updateInboundWebhookRequestDto' is not null or undefined
|
|
271
|
-
assertParamExists('updateInboundWebhook', 'updateInboundWebhookRequestDto', updateInboundWebhookRequestDto)
|
|
272
|
-
const localVarPath = `/webhookservice/v1/inbound-webhooks/{code}`
|
|
273
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
274
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
275
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
276
|
-
let baseOptions;
|
|
277
|
-
let baseAccessToken;
|
|
278
|
-
if (configuration) {
|
|
279
|
-
baseOptions = configuration.baseOptions;
|
|
280
|
-
baseAccessToken = configuration.accessToken;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
284
|
-
const localVarHeaderParameter = {} as any;
|
|
285
|
-
const localVarQueryParameter = {} as any;
|
|
286
|
-
|
|
287
|
-
// authentication bearer required
|
|
288
|
-
// http bearer authentication required
|
|
289
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
290
|
-
|
|
291
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
292
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
298
|
-
|
|
299
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
300
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
301
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
302
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateInboundWebhookRequestDto, localVarRequestOptions, configuration)
|
|
303
|
-
|
|
304
171
|
return {
|
|
305
172
|
url: toPathString(localVarUrlObj),
|
|
306
173
|
options: localVarRequestOptions,
|
|
@@ -317,7 +184,7 @@ export const InboundWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
317
184
|
const localVarAxiosParamCreator = InboundWebhooksApiAxiosParamCreator(configuration)
|
|
318
185
|
return {
|
|
319
186
|
/**
|
|
320
|
-
* Creates a new inbound webhook configuration **Required Permissions**
|
|
187
|
+
* Creates a new inbound webhook configuration **Required Permissions** none
|
|
321
188
|
* @summary Create the inbound webhook
|
|
322
189
|
* @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
|
|
323
190
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -329,7 +196,7 @@ export const InboundWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
329
196
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
330
197
|
},
|
|
331
198
|
/**
|
|
332
|
-
* Deletes an inbound webhook by its code **Required Permissions**
|
|
199
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
333
200
|
* @summary Delete the inbound webhook
|
|
334
201
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
335
202
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -341,7 +208,7 @@ export const InboundWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
341
208
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
342
209
|
},
|
|
343
210
|
/**
|
|
344
|
-
* Retrieves an inbound webhook by its code **Required Permissions**
|
|
211
|
+
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
345
212
|
* @summary Retrieve the inbound webhook
|
|
346
213
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
347
214
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -352,37 +219,6 @@ export const InboundWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
352
219
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInboundWebhook(code, authorization, options);
|
|
353
220
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
354
221
|
},
|
|
355
|
-
/**
|
|
356
|
-
* Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
|
|
357
|
-
* @summary List inbound webhooks
|
|
358
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
359
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
360
|
-
* @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.
|
|
361
|
-
* @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>
|
|
362
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
363
|
-
* @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>
|
|
364
|
-
* @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/>
|
|
365
|
-
* @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>
|
|
366
|
-
* @param {*} [options] Override http request option.
|
|
367
|
-
* @throws {RequiredError}
|
|
368
|
-
*/
|
|
369
|
-
async 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>> {
|
|
370
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listInboundWebhooks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
371
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
372
|
-
},
|
|
373
|
-
/**
|
|
374
|
-
* Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
|
|
375
|
-
* @summary Update the inbound webhook
|
|
376
|
-
* @param {string} code Unique identifier code for the inbound webhook
|
|
377
|
-
* @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
|
|
378
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
379
|
-
* @param {*} [options] Override http request option.
|
|
380
|
-
* @throws {RequiredError}
|
|
381
|
-
*/
|
|
382
|
-
async updateInboundWebhook(code: string, updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateInboundWebhookResponseClass>> {
|
|
383
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateInboundWebhook(code, updateInboundWebhookRequestDto, authorization, options);
|
|
384
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
385
|
-
},
|
|
386
222
|
}
|
|
387
223
|
};
|
|
388
224
|
|
|
@@ -394,7 +230,7 @@ export const InboundWebhooksApiFactory = function (configuration?: Configuration
|
|
|
394
230
|
const localVarFp = InboundWebhooksApiFp(configuration)
|
|
395
231
|
return {
|
|
396
232
|
/**
|
|
397
|
-
* Creates a new inbound webhook configuration **Required Permissions**
|
|
233
|
+
* Creates a new inbound webhook configuration **Required Permissions** none
|
|
398
234
|
* @summary Create the inbound webhook
|
|
399
235
|
* @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
|
|
400
236
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -405,7 +241,7 @@ export const InboundWebhooksApiFactory = function (configuration?: Configuration
|
|
|
405
241
|
return localVarFp.createInboundWebhook(createInboundWebhookRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
406
242
|
},
|
|
407
243
|
/**
|
|
408
|
-
* Deletes an inbound webhook by its code **Required Permissions**
|
|
244
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
409
245
|
* @summary Delete the inbound webhook
|
|
410
246
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
411
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -416,7 +252,7 @@ export const InboundWebhooksApiFactory = function (configuration?: Configuration
|
|
|
416
252
|
return localVarFp.deleteInboundWebhook(code, authorization, options).then((request) => request(axios, basePath));
|
|
417
253
|
},
|
|
418
254
|
/**
|
|
419
|
-
* Retrieves an inbound webhook by its code **Required Permissions**
|
|
255
|
+
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
420
256
|
* @summary Retrieve the inbound webhook
|
|
421
257
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
422
258
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -426,35 +262,6 @@ export const InboundWebhooksApiFactory = function (configuration?: Configuration
|
|
|
426
262
|
getInboundWebhook(code: string, authorization?: string, options?: any): AxiosPromise<GetInboundWebhookResponseClass> {
|
|
427
263
|
return localVarFp.getInboundWebhook(code, authorization, options).then((request) => request(axios, basePath));
|
|
428
264
|
},
|
|
429
|
-
/**
|
|
430
|
-
* Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
|
|
431
|
-
* @summary List inbound webhooks
|
|
432
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
433
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
434
|
-
* @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.
|
|
435
|
-
* @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>
|
|
436
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
437
|
-
* @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>
|
|
438
|
-
* @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/>
|
|
439
|
-
* @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>
|
|
440
|
-
* @param {*} [options] Override http request option.
|
|
441
|
-
* @throws {RequiredError}
|
|
442
|
-
*/
|
|
443
|
-
listInboundWebhooks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInboundWebhookResponseClass> {
|
|
444
|
-
return localVarFp.listInboundWebhooks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
445
|
-
},
|
|
446
|
-
/**
|
|
447
|
-
* Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
|
|
448
|
-
* @summary Update the inbound webhook
|
|
449
|
-
* @param {string} code Unique identifier code for the inbound webhook
|
|
450
|
-
* @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
|
|
451
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
452
|
-
* @param {*} [options] Override http request option.
|
|
453
|
-
* @throws {RequiredError}
|
|
454
|
-
*/
|
|
455
|
-
updateInboundWebhook(code: string, updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateInboundWebhookResponseClass> {
|
|
456
|
-
return localVarFp.updateInboundWebhook(code, updateInboundWebhookRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
457
|
-
},
|
|
458
265
|
};
|
|
459
266
|
};
|
|
460
267
|
|
|
@@ -521,97 +328,6 @@ export interface InboundWebhooksApiGetInboundWebhookRequest {
|
|
|
521
328
|
readonly authorization?: string
|
|
522
329
|
}
|
|
523
330
|
|
|
524
|
-
/**
|
|
525
|
-
* Request parameters for listInboundWebhooks operation in InboundWebhooksApi.
|
|
526
|
-
* @export
|
|
527
|
-
* @interface InboundWebhooksApiListInboundWebhooksRequest
|
|
528
|
-
*/
|
|
529
|
-
export interface InboundWebhooksApiListInboundWebhooksRequest {
|
|
530
|
-
/**
|
|
531
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
532
|
-
* @type {string}
|
|
533
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
534
|
-
*/
|
|
535
|
-
readonly authorization?: string
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
539
|
-
* @type {number}
|
|
540
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
541
|
-
*/
|
|
542
|
-
readonly pageSize?: number
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* 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.
|
|
546
|
-
* @type {string}
|
|
547
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
548
|
-
*/
|
|
549
|
-
readonly pageToken?: string
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* 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>
|
|
553
|
-
* @type {string}
|
|
554
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
555
|
-
*/
|
|
556
|
-
readonly filter?: string
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* To search the list by any field, pass search=xxx to fetch the result.
|
|
560
|
-
* @type {string}
|
|
561
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
562
|
-
*/
|
|
563
|
-
readonly search?: string
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* 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>
|
|
567
|
-
* @type {string}
|
|
568
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
569
|
-
*/
|
|
570
|
-
readonly order?: string
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* 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/>
|
|
574
|
-
* @type {string}
|
|
575
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
576
|
-
*/
|
|
577
|
-
readonly expand?: string
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* 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>
|
|
581
|
-
* @type {string}
|
|
582
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
583
|
-
*/
|
|
584
|
-
readonly filters?: string
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* Request parameters for updateInboundWebhook operation in InboundWebhooksApi.
|
|
589
|
-
* @export
|
|
590
|
-
* @interface InboundWebhooksApiUpdateInboundWebhookRequest
|
|
591
|
-
*/
|
|
592
|
-
export interface InboundWebhooksApiUpdateInboundWebhookRequest {
|
|
593
|
-
/**
|
|
594
|
-
* Unique identifier code for the inbound webhook
|
|
595
|
-
* @type {string}
|
|
596
|
-
* @memberof InboundWebhooksApiUpdateInboundWebhook
|
|
597
|
-
*/
|
|
598
|
-
readonly code: string
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
*
|
|
602
|
-
* @type {UpdateInboundWebhookRequestDto}
|
|
603
|
-
* @memberof InboundWebhooksApiUpdateInboundWebhook
|
|
604
|
-
*/
|
|
605
|
-
readonly updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
609
|
-
* @type {string}
|
|
610
|
-
* @memberof InboundWebhooksApiUpdateInboundWebhook
|
|
611
|
-
*/
|
|
612
|
-
readonly authorization?: string
|
|
613
|
-
}
|
|
614
|
-
|
|
615
331
|
/**
|
|
616
332
|
* InboundWebhooksApi - object-oriented interface
|
|
617
333
|
* @export
|
|
@@ -620,7 +336,7 @@ export interface InboundWebhooksApiUpdateInboundWebhookRequest {
|
|
|
620
336
|
*/
|
|
621
337
|
export class InboundWebhooksApi extends BaseAPI {
|
|
622
338
|
/**
|
|
623
|
-
* Creates a new inbound webhook configuration **Required Permissions**
|
|
339
|
+
* Creates a new inbound webhook configuration **Required Permissions** none
|
|
624
340
|
* @summary Create the inbound webhook
|
|
625
341
|
* @param {InboundWebhooksApiCreateInboundWebhookRequest} requestParameters Request parameters.
|
|
626
342
|
* @param {*} [options] Override http request option.
|
|
@@ -632,7 +348,7 @@ export class InboundWebhooksApi extends BaseAPI {
|
|
|
632
348
|
}
|
|
633
349
|
|
|
634
350
|
/**
|
|
635
|
-
* Deletes an inbound webhook by its code **Required Permissions**
|
|
351
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
636
352
|
* @summary Delete the inbound webhook
|
|
637
353
|
* @param {InboundWebhooksApiDeleteInboundWebhookRequest} requestParameters Request parameters.
|
|
638
354
|
* @param {*} [options] Override http request option.
|
|
@@ -644,7 +360,7 @@ export class InboundWebhooksApi extends BaseAPI {
|
|
|
644
360
|
}
|
|
645
361
|
|
|
646
362
|
/**
|
|
647
|
-
* Retrieves an inbound webhook by its code **Required Permissions**
|
|
363
|
+
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
648
364
|
* @summary Retrieve the inbound webhook
|
|
649
365
|
* @param {InboundWebhooksApiGetInboundWebhookRequest} requestParameters Request parameters.
|
|
650
366
|
* @param {*} [options] Override http request option.
|
|
@@ -654,28 +370,4 @@ export class InboundWebhooksApi extends BaseAPI {
|
|
|
654
370
|
public getInboundWebhook(requestParameters: InboundWebhooksApiGetInboundWebhookRequest, options?: AxiosRequestConfig) {
|
|
655
371
|
return InboundWebhooksApiFp(this.configuration).getInboundWebhook(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
656
372
|
}
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
|
|
660
|
-
* @summary List inbound webhooks
|
|
661
|
-
* @param {InboundWebhooksApiListInboundWebhooksRequest} requestParameters Request parameters.
|
|
662
|
-
* @param {*} [options] Override http request option.
|
|
663
|
-
* @throws {RequiredError}
|
|
664
|
-
* @memberof InboundWebhooksApi
|
|
665
|
-
*/
|
|
666
|
-
public listInboundWebhooks(requestParameters: InboundWebhooksApiListInboundWebhooksRequest = {}, options?: AxiosRequestConfig) {
|
|
667
|
-
return InboundWebhooksApiFp(this.configuration).listInboundWebhooks(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
|
|
672
|
-
* @summary Update the inbound webhook
|
|
673
|
-
* @param {InboundWebhooksApiUpdateInboundWebhookRequest} requestParameters Request parameters.
|
|
674
|
-
* @param {*} [options] Override http request option.
|
|
675
|
-
* @throws {RequiredError}
|
|
676
|
-
* @memberof InboundWebhooksApi
|
|
677
|
-
*/
|
|
678
|
-
public updateInboundWebhook(requestParameters: InboundWebhooksApiUpdateInboundWebhookRequest, options?: AxiosRequestConfig) {
|
|
679
|
-
return InboundWebhooksApiFp(this.configuration).updateInboundWebhook(requestParameters.code, requestParameters.updateInboundWebhookRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
680
|
-
}
|
|
681
373
|
}
|
package/api.ts
CHANGED
|
@@ -24,14 +24,10 @@ import FormData from 'form-data'
|
|
|
24
24
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
27
|
-
import {
|
|
27
|
+
import { HealthApi } from './api';
|
|
28
28
|
import { InboundWebhooksApi } from './api';
|
|
29
|
-
import { TriggerInboundWebhooksApi } from './api';
|
|
30
|
-
import { WebhookRequestsApi } from './api';
|
|
31
29
|
|
|
32
30
|
|
|
33
|
-
export * from './api/health-
|
|
31
|
+
export * from './api/health-api';
|
|
34
32
|
export * from './api/inbound-webhooks-api';
|
|
35
|
-
export * from './api/trigger-inbound-webhooks-api';
|
|
36
|
-
export * from './api/webhook-requests-api';
|
|
37
33
|
|