@emilgroup/webhook-sdk-node 1.0.1-beta.11 → 1.0.1-beta.12

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.
@@ -24,7 +24,7 @@ import { UpdateInboundWebhookResponseClass } from '../models';
24
24
  */
25
25
  export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
26
26
  /**
27
- * Creates a new inbound webhook configuration **Required Permissions** none
27
+ * Creates a new inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.create\"
28
28
  * @summary Create the inbound webhook
29
29
  * @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
30
30
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -33,7 +33,7 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
33
33
  */
34
34
  createInboundWebhook: (createInboundWebhookRequestDto: CreateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * Deletes an inbound webhook by its code **Required Permissions** none
36
+ * Deletes an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.delete\"
37
37
  * @summary Delete the inbound webhook
38
38
  * @param {string} code Unique identifier code for the inbound webhook
39
39
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -42,7 +42,7 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
42
42
  */
43
43
  deleteInboundWebhook: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * Retrieves an inbound webhook by its code **Required Permissions** none
45
+ * Retrieves an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.view\"
46
46
  * @summary Retrieve the inbound webhook
47
47
  * @param {string} code Unique identifier code for the inbound webhook
48
48
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -51,7 +51,7 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
51
51
  */
52
52
  getInboundWebhook: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
53
  /**
54
- * Lists all inbound webhooks with optional filters **Required Permissions** none
54
+ * Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
55
55
  * @summary List inbound webhooks
56
56
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
57
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -66,7 +66,7 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
66
66
  */
67
67
  listInboundWebhooks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
68
  /**
69
- * Updates an existing inbound webhook configuration **Required Permissions** none
69
+ * Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
70
70
  * @summary Update the inbound webhook
71
71
  * @param {string} code Unique identifier code for the inbound webhook
72
72
  * @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
@@ -82,7 +82,7 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
82
82
  */
83
83
  export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
84
84
  /**
85
- * Creates a new inbound webhook configuration **Required Permissions** none
85
+ * Creates a new inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.create\"
86
86
  * @summary Create the inbound webhook
87
87
  * @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
88
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -91,7 +91,7 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
91
91
  */
92
92
  createInboundWebhook(createInboundWebhookRequestDto: CreateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInboundWebhookResponseClass>>;
93
93
  /**
94
- * Deletes an inbound webhook by its code **Required Permissions** none
94
+ * Deletes an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.delete\"
95
95
  * @summary Delete the inbound webhook
96
96
  * @param {string} code Unique identifier code for the inbound webhook
97
97
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -100,7 +100,7 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
100
100
  */
101
101
  deleteInboundWebhook(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
102
102
  /**
103
- * Retrieves an inbound webhook by its code **Required Permissions** none
103
+ * Retrieves an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.view\"
104
104
  * @summary Retrieve the inbound webhook
105
105
  * @param {string} code Unique identifier code for the inbound webhook
106
106
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -109,7 +109,7 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
109
109
  */
110
110
  getInboundWebhook(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInboundWebhookResponseClass>>;
111
111
  /**
112
- * Lists all inbound webhooks with optional filters **Required Permissions** none
112
+ * Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
113
113
  * @summary List inbound webhooks
114
114
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
115
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -124,7 +124,7 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
124
124
  */
125
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
126
  /**
127
- * Updates an existing inbound webhook configuration **Required Permissions** none
127
+ * Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
128
128
  * @summary Update the inbound webhook
129
129
  * @param {string} code Unique identifier code for the inbound webhook
130
130
  * @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
@@ -140,7 +140,7 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
140
140
  */
141
141
  export declare const InboundWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
142
142
  /**
143
- * Creates a new inbound webhook configuration **Required Permissions** none
143
+ * Creates a new inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.create\"
144
144
  * @summary Create the inbound webhook
145
145
  * @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
146
146
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -149,7 +149,7 @@ export declare const InboundWebhooksApiFactory: (configuration?: Configuration,
149
149
  */
150
150
  createInboundWebhook(createInboundWebhookRequestDto: CreateInboundWebhookRequestDto, authorization?: string, options?: any): AxiosPromise<CreateInboundWebhookResponseClass>;
151
151
  /**
152
- * Deletes an inbound webhook by its code **Required Permissions** none
152
+ * Deletes an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.delete\"
153
153
  * @summary Delete the inbound webhook
154
154
  * @param {string} code Unique identifier code for the inbound webhook
155
155
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -158,7 +158,7 @@ export declare const InboundWebhooksApiFactory: (configuration?: Configuration,
158
158
  */
159
159
  deleteInboundWebhook(code: string, authorization?: string, options?: any): AxiosPromise<void>;
160
160
  /**
161
- * Retrieves an inbound webhook by its code **Required Permissions** none
161
+ * Retrieves an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.view\"
162
162
  * @summary Retrieve the inbound webhook
163
163
  * @param {string} code Unique identifier code for the inbound webhook
164
164
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -167,7 +167,7 @@ export declare const InboundWebhooksApiFactory: (configuration?: Configuration,
167
167
  */
168
168
  getInboundWebhook(code: string, authorization?: string, options?: any): AxiosPromise<GetInboundWebhookResponseClass>;
169
169
  /**
170
- * Lists all inbound webhooks with optional filters **Required Permissions** none
170
+ * Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
171
171
  * @summary List inbound webhooks
172
172
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
173
173
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -182,7 +182,7 @@ export declare const InboundWebhooksApiFactory: (configuration?: Configuration,
182
182
  */
183
183
  listInboundWebhooks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInboundWebhookResponseClass>;
184
184
  /**
185
- * Updates an existing inbound webhook configuration **Required Permissions** none
185
+ * Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
186
186
  * @summary Update the inbound webhook
187
187
  * @param {string} code Unique identifier code for the inbound webhook
188
188
  * @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
@@ -337,7 +337,7 @@ export interface InboundWebhooksApiUpdateInboundWebhookRequest {
337
337
  */
338
338
  export declare class InboundWebhooksApi extends BaseAPI {
339
339
  /**
340
- * Creates a new inbound webhook configuration **Required Permissions** none
340
+ * Creates a new inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.create\"
341
341
  * @summary Create the inbound webhook
342
342
  * @param {InboundWebhooksApiCreateInboundWebhookRequest} requestParameters Request parameters.
343
343
  * @param {*} [options] Override http request option.
@@ -346,7 +346,7 @@ export declare class InboundWebhooksApi extends BaseAPI {
346
346
  */
347
347
  createInboundWebhook(requestParameters: InboundWebhooksApiCreateInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInboundWebhookResponseClass, any, {}>>;
348
348
  /**
349
- * Deletes an inbound webhook by its code **Required Permissions** none
349
+ * Deletes an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.delete\"
350
350
  * @summary Delete the inbound webhook
351
351
  * @param {InboundWebhooksApiDeleteInboundWebhookRequest} requestParameters Request parameters.
352
352
  * @param {*} [options] Override http request option.
@@ -355,7 +355,7 @@ export declare class InboundWebhooksApi extends BaseAPI {
355
355
  */
356
356
  deleteInboundWebhook(requestParameters: InboundWebhooksApiDeleteInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
357
357
  /**
358
- * Retrieves an inbound webhook by its code **Required Permissions** none
358
+ * Retrieves an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.view\"
359
359
  * @summary Retrieve the inbound webhook
360
360
  * @param {InboundWebhooksApiGetInboundWebhookRequest} requestParameters Request parameters.
361
361
  * @param {*} [options] Override http request option.
@@ -364,7 +364,7 @@ export declare class InboundWebhooksApi extends BaseAPI {
364
364
  */
365
365
  getInboundWebhook(requestParameters: InboundWebhooksApiGetInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInboundWebhookResponseClass, any, {}>>;
366
366
  /**
367
- * Lists all inbound webhooks with optional filters **Required Permissions** none
367
+ * Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
368
368
  * @summary List inbound webhooks
369
369
  * @param {InboundWebhooksApiListInboundWebhooksRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.
@@ -373,7 +373,7 @@ export declare class InboundWebhooksApi extends BaseAPI {
373
373
  */
374
374
  listInboundWebhooks(requestParameters?: InboundWebhooksApiListInboundWebhooksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInboundWebhookResponseClass, any, {}>>;
375
375
  /**
376
- * Updates an existing inbound webhook configuration **Required Permissions** none
376
+ * Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
377
377
  * @summary Update the inbound webhook
378
378
  * @param {InboundWebhooksApiUpdateInboundWebhookRequest} requestParameters Request parameters.
379
379
  * @param {*} [options] Override http request option.
@@ -97,7 +97,7 @@ var InboundWebhooksApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * Creates a new inbound webhook configuration **Required Permissions** none
100
+ * Creates a new inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.create\"
101
101
  * @summary Create the inbound webhook
102
102
  * @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ var InboundWebhooksApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Deletes an inbound webhook by its code **Required Permissions** none
149
+ * Deletes an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.delete\"
150
150
  * @summary Delete the inbound webhook
151
151
  * @param {string} code Unique identifier code for the inbound webhook
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -194,7 +194,7 @@ var InboundWebhooksApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Retrieves an inbound webhook by its code **Required Permissions** none
197
+ * Retrieves an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.view\"
198
198
  * @summary Retrieve the inbound webhook
199
199
  * @param {string} code Unique identifier code for the inbound webhook
200
200
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -242,7 +242,7 @@ var InboundWebhooksApiAxiosParamCreator = function (configuration) {
242
242
  });
243
243
  },
244
244
  /**
245
- * Lists all inbound webhooks with optional filters **Required Permissions** none
245
+ * Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
246
246
  * @summary List inbound webhooks
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
248
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -314,7 +314,7 @@ var InboundWebhooksApiAxiosParamCreator = function (configuration) {
314
314
  });
315
315
  },
316
316
  /**
317
- * Updates an existing inbound webhook configuration **Required Permissions** none
317
+ * Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
318
318
  * @summary Update the inbound webhook
319
319
  * @param {string} code Unique identifier code for the inbound webhook
320
320
  * @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
@@ -377,7 +377,7 @@ var InboundWebhooksApiFp = function (configuration) {
377
377
  var localVarAxiosParamCreator = (0, exports.InboundWebhooksApiAxiosParamCreator)(configuration);
378
378
  return {
379
379
  /**
380
- * Creates a new inbound webhook configuration **Required Permissions** none
380
+ * Creates a new inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.create\"
381
381
  * @summary Create the inbound webhook
382
382
  * @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
383
383
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -398,7 +398,7 @@ var InboundWebhooksApiFp = function (configuration) {
398
398
  });
399
399
  },
400
400
  /**
401
- * Deletes an inbound webhook by its code **Required Permissions** none
401
+ * Deletes an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.delete\"
402
402
  * @summary Delete the inbound webhook
403
403
  * @param {string} code Unique identifier code for the inbound webhook
404
404
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -419,7 +419,7 @@ var InboundWebhooksApiFp = function (configuration) {
419
419
  });
420
420
  },
421
421
  /**
422
- * Retrieves an inbound webhook by its code **Required Permissions** none
422
+ * Retrieves an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.view\"
423
423
  * @summary Retrieve the inbound webhook
424
424
  * @param {string} code Unique identifier code for the inbound webhook
425
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -440,7 +440,7 @@ var InboundWebhooksApiFp = function (configuration) {
440
440
  });
441
441
  },
442
442
  /**
443
- * Lists all inbound webhooks with optional filters **Required Permissions** none
443
+ * Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
444
444
  * @summary List inbound webhooks
445
445
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
446
446
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -467,7 +467,7 @@ var InboundWebhooksApiFp = function (configuration) {
467
467
  });
468
468
  },
469
469
  /**
470
- * Updates an existing inbound webhook configuration **Required Permissions** none
470
+ * Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
471
471
  * @summary Update the inbound webhook
472
472
  * @param {string} code Unique identifier code for the inbound webhook
473
473
  * @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
@@ -499,7 +499,7 @@ var InboundWebhooksApiFactory = function (configuration, basePath, axios) {
499
499
  var localVarFp = (0, exports.InboundWebhooksApiFp)(configuration);
500
500
  return {
501
501
  /**
502
- * Creates a new inbound webhook configuration **Required Permissions** none
502
+ * Creates a new inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.create\"
503
503
  * @summary Create the inbound webhook
504
504
  * @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
505
505
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -510,7 +510,7 @@ var InboundWebhooksApiFactory = function (configuration, basePath, axios) {
510
510
  return localVarFp.createInboundWebhook(createInboundWebhookRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
511
511
  },
512
512
  /**
513
- * Deletes an inbound webhook by its code **Required Permissions** none
513
+ * Deletes an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.delete\"
514
514
  * @summary Delete the inbound webhook
515
515
  * @param {string} code Unique identifier code for the inbound webhook
516
516
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -521,7 +521,7 @@ var InboundWebhooksApiFactory = function (configuration, basePath, axios) {
521
521
  return localVarFp.deleteInboundWebhook(code, authorization, options).then(function (request) { return request(axios, basePath); });
522
522
  },
523
523
  /**
524
- * Retrieves an inbound webhook by its code **Required Permissions** none
524
+ * Retrieves an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.view\"
525
525
  * @summary Retrieve the inbound webhook
526
526
  * @param {string} code Unique identifier code for the inbound webhook
527
527
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -532,7 +532,7 @@ var InboundWebhooksApiFactory = function (configuration, basePath, axios) {
532
532
  return localVarFp.getInboundWebhook(code, authorization, options).then(function (request) { return request(axios, basePath); });
533
533
  },
534
534
  /**
535
- * Lists all inbound webhooks with optional filters **Required Permissions** none
535
+ * Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
536
536
  * @summary List inbound webhooks
537
537
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
538
538
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -549,7 +549,7 @@ var InboundWebhooksApiFactory = function (configuration, basePath, axios) {
549
549
  return localVarFp.listInboundWebhooks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
550
550
  },
551
551
  /**
552
- * Updates an existing inbound webhook configuration **Required Permissions** none
552
+ * Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
553
553
  * @summary Update the inbound webhook
554
554
  * @param {string} code Unique identifier code for the inbound webhook
555
555
  * @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
@@ -575,7 +575,7 @@ var InboundWebhooksApi = /** @class */ (function (_super) {
575
575
  return _super !== null && _super.apply(this, arguments) || this;
576
576
  }
577
577
  /**
578
- * Creates a new inbound webhook configuration **Required Permissions** none
578
+ * Creates a new inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.create\"
579
579
  * @summary Create the inbound webhook
580
580
  * @param {InboundWebhooksApiCreateInboundWebhookRequest} requestParameters Request parameters.
581
581
  * @param {*} [options] Override http request option.
@@ -587,7 +587,7 @@ var InboundWebhooksApi = /** @class */ (function (_super) {
587
587
  return (0, exports.InboundWebhooksApiFp)(this.configuration).createInboundWebhook(requestParameters.createInboundWebhookRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
588
588
  };
589
589
  /**
590
- * Deletes an inbound webhook by its code **Required Permissions** none
590
+ * Deletes an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.delete\"
591
591
  * @summary Delete the inbound webhook
592
592
  * @param {InboundWebhooksApiDeleteInboundWebhookRequest} requestParameters Request parameters.
593
593
  * @param {*} [options] Override http request option.
@@ -599,7 +599,7 @@ var InboundWebhooksApi = /** @class */ (function (_super) {
599
599
  return (0, exports.InboundWebhooksApiFp)(this.configuration).deleteInboundWebhook(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
600
600
  };
601
601
  /**
602
- * Retrieves an inbound webhook by its code **Required Permissions** none
602
+ * Retrieves an inbound webhook by its code **Required Permissions** \"webhook-management.webhooks.view\"
603
603
  * @summary Retrieve the inbound webhook
604
604
  * @param {InboundWebhooksApiGetInboundWebhookRequest} requestParameters Request parameters.
605
605
  * @param {*} [options] Override http request option.
@@ -611,7 +611,7 @@ var InboundWebhooksApi = /** @class */ (function (_super) {
611
611
  return (0, exports.InboundWebhooksApiFp)(this.configuration).getInboundWebhook(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
612
612
  };
613
613
  /**
614
- * Lists all inbound webhooks with optional filters **Required Permissions** none
614
+ * Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
615
615
  * @summary List inbound webhooks
616
616
  * @param {InboundWebhooksApiListInboundWebhooksRequest} requestParameters Request parameters.
617
617
  * @param {*} [options] Override http request option.
@@ -624,7 +624,7 @@ var InboundWebhooksApi = /** @class */ (function (_super) {
624
624
  return (0, exports.InboundWebhooksApiFp)(this.configuration).listInboundWebhooks(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
625
625
  };
626
626
  /**
627
- * Updates an existing inbound webhook configuration **Required Permissions** none
627
+ * Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
628
628
  * @summary Update the inbound webhook
629
629
  * @param {InboundWebhooksApiUpdateInboundWebhookRequest} requestParameters Request parameters.
630
630
  * @param {*} [options] Override http request option.
@@ -19,7 +19,7 @@ import { TriggerInboundWebhookResponseClass } from '../models';
19
19
  */
20
20
  export declare const TriggerInboundWebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
22
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
23
23
  * @summary Execute incoming webhook
24
24
  * @param {string} tenantSlug
25
25
  * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
@@ -35,7 +35,7 @@ export declare const TriggerInboundWebhooksApiAxiosParamCreator: (configuration?
35
35
  */
36
36
  export declare const TriggerInboundWebhooksApiFp: (configuration?: Configuration) => {
37
37
  /**
38
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
38
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
39
39
  * @summary Execute incoming webhook
40
40
  * @param {string} tenantSlug
41
41
  * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
@@ -51,7 +51,7 @@ export declare const TriggerInboundWebhooksApiFp: (configuration?: Configuration
51
51
  */
52
52
  export declare const TriggerInboundWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
53
53
  /**
54
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
54
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
55
55
  * @summary Execute incoming webhook
56
56
  * @param {string} tenantSlug
57
57
  * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
@@ -94,7 +94,7 @@ export interface TriggerInboundWebhooksApiTriggerIncomingWebhookRequest {
94
94
  */
95
95
  export declare class TriggerInboundWebhooksApi extends BaseAPI {
96
96
  /**
97
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
97
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
98
98
  * @summary Execute incoming webhook
99
99
  * @param {TriggerInboundWebhooksApiTriggerIncomingWebhookRequest} requestParameters Request parameters.
100
100
  * @param {*} [options] Override http request option.
@@ -97,7 +97,7 @@ var TriggerInboundWebhooksApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
100
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
101
101
  * @summary Execute incoming webhook
102
102
  * @param {string} tenantSlug
103
103
  * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
@@ -159,7 +159,7 @@ var TriggerInboundWebhooksApiFp = function (configuration) {
159
159
  var localVarAxiosParamCreator = (0, exports.TriggerInboundWebhooksApiAxiosParamCreator)(configuration);
160
160
  return {
161
161
  /**
162
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
162
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
163
163
  * @summary Execute incoming webhook
164
164
  * @param {string} tenantSlug
165
165
  * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
@@ -191,7 +191,7 @@ var TriggerInboundWebhooksApiFactory = function (configuration, basePath, axios)
191
191
  var localVarFp = (0, exports.TriggerInboundWebhooksApiFp)(configuration);
192
192
  return {
193
193
  /**
194
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
194
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
195
195
  * @summary Execute incoming webhook
196
196
  * @param {string} tenantSlug
197
197
  * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
@@ -217,7 +217,7 @@ var TriggerInboundWebhooksApi = /** @class */ (function (_super) {
217
217
  return _super !== null && _super.apply(this, arguments) || this;
218
218
  }
219
219
  /**
220
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
220
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
221
221
  * @summary Execute incoming webhook
222
222
  * @param {TriggerInboundWebhooksApiTriggerIncomingWebhookRequest} requestParameters Request parameters.
223
223
  * @param {*} [options] Override http request option.
@@ -0,0 +1,150 @@
1
+ /**
2
+ * EMIL Webhookservice
3
+ * The EMIL Webhookservice API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { ListWebhookRequestsResponseClass } from '../models';
16
+ /**
17
+ * WebhookRequestsApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const WebhookRequestsApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * Lists all webhook requests with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
23
+ * @summary List webhook requests
24
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
25
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
26
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
27
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookId, inboundWebhookCode, requestMethod, status, externalRef, contentType, createdAt, updatedAt, processedAt, createdBy, updatedBy&lt;/i&gt;
28
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
29
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookCode, requestMethod, status, createdAt, updatedAt, processedAt&lt;/i&gt;
30
+ * @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.&lt;br/&gt; &lt;br/&gt;
31
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookId, inboundWebhookCode, requestMethod, status, externalRef, contentType, createdAt, updatedAt, processedAt, createdBy, updatedBy&lt;/i&gt;
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ listWebhookRequests: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ };
37
+ /**
38
+ * WebhookRequestsApi - functional programming interface
39
+ * @export
40
+ */
41
+ export declare const WebhookRequestsApiFp: (configuration?: Configuration) => {
42
+ /**
43
+ * Lists all webhook requests with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
44
+ * @summary List webhook requests
45
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
46
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
47
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
48
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookId, inboundWebhookCode, requestMethod, status, externalRef, contentType, createdAt, updatedAt, processedAt, createdBy, updatedBy&lt;/i&gt;
49
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
50
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookCode, requestMethod, status, createdAt, updatedAt, processedAt&lt;/i&gt;
51
+ * @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.&lt;br/&gt; &lt;br/&gt;
52
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookId, inboundWebhookCode, requestMethod, status, externalRef, contentType, createdAt, updatedAt, processedAt, createdBy, updatedBy&lt;/i&gt;
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ listWebhookRequests(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWebhookRequestsResponseClass>>;
57
+ };
58
+ /**
59
+ * WebhookRequestsApi - factory interface
60
+ * @export
61
+ */
62
+ export declare const WebhookRequestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
63
+ /**
64
+ * Lists all webhook requests with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
65
+ * @summary List webhook requests
66
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
67
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
68
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
69
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookId, inboundWebhookCode, requestMethod, status, externalRef, contentType, createdAt, updatedAt, processedAt, createdBy, updatedBy&lt;/i&gt;
70
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
71
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookCode, requestMethod, status, createdAt, updatedAt, processedAt&lt;/i&gt;
72
+ * @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.&lt;br/&gt; &lt;br/&gt;
73
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookId, inboundWebhookCode, requestMethod, status, externalRef, contentType, createdAt, updatedAt, processedAt, createdBy, updatedBy&lt;/i&gt;
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ listWebhookRequests(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListWebhookRequestsResponseClass>;
78
+ };
79
+ /**
80
+ * Request parameters for listWebhookRequests operation in WebhookRequestsApi.
81
+ * @export
82
+ * @interface WebhookRequestsApiListWebhookRequestsRequest
83
+ */
84
+ export interface WebhookRequestsApiListWebhookRequestsRequest {
85
+ /**
86
+ * Bearer Token: provided by the login endpoint under the name accessToken.
87
+ * @type {string}
88
+ * @memberof WebhookRequestsApiListWebhookRequests
89
+ */
90
+ readonly authorization?: string;
91
+ /**
92
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
93
+ * @type {number}
94
+ * @memberof WebhookRequestsApiListWebhookRequests
95
+ */
96
+ readonly pageSize?: number;
97
+ /**
98
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
99
+ * @type {string}
100
+ * @memberof WebhookRequestsApiListWebhookRequests
101
+ */
102
+ readonly pageToken?: string;
103
+ /**
104
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookId, inboundWebhookCode, requestMethod, status, externalRef, contentType, createdAt, updatedAt, processedAt, createdBy, updatedBy&lt;/i&gt;
105
+ * @type {string}
106
+ * @memberof WebhookRequestsApiListWebhookRequests
107
+ */
108
+ readonly filter?: string;
109
+ /**
110
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
111
+ * @type {string}
112
+ * @memberof WebhookRequestsApiListWebhookRequests
113
+ */
114
+ readonly search?: string;
115
+ /**
116
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookCode, requestMethod, status, createdAt, updatedAt, processedAt&lt;/i&gt;
117
+ * @type {string}
118
+ * @memberof WebhookRequestsApiListWebhookRequests
119
+ */
120
+ readonly order?: string;
121
+ /**
122
+ * 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.&lt;br/&gt; &lt;br/&gt;
123
+ * @type {string}
124
+ * @memberof WebhookRequestsApiListWebhookRequests
125
+ */
126
+ readonly expand?: string;
127
+ /**
128
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, inboundWebhookId, inboundWebhookCode, requestMethod, status, externalRef, contentType, createdAt, updatedAt, processedAt, createdBy, updatedBy&lt;/i&gt;
129
+ * @type {string}
130
+ * @memberof WebhookRequestsApiListWebhookRequests
131
+ */
132
+ readonly filters?: string;
133
+ }
134
+ /**
135
+ * WebhookRequestsApi - object-oriented interface
136
+ * @export
137
+ * @class WebhookRequestsApi
138
+ * @extends {BaseAPI}
139
+ */
140
+ export declare class WebhookRequestsApi extends BaseAPI {
141
+ /**
142
+ * Lists all webhook requests with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
143
+ * @summary List webhook requests
144
+ * @param {WebhookRequestsApiListWebhookRequestsRequest} requestParameters Request parameters.
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ * @memberof WebhookRequestsApi
148
+ */
149
+ listWebhookRequests(requestParameters?: WebhookRequestsApiListWebhookRequestsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListWebhookRequestsResponseClass, any, {}>>;
150
+ }