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

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,15 +19,14 @@ 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
- * @param {string} tenantSlug
25
- * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
24
+ * @param {string} code The webhook code (e.g., iwh_3g_5yaneKw)
26
25
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
27
26
  * @param {*} [options] Override http request option.
28
27
  * @throws {RequiredError}
29
28
  */
30
- triggerIncomingWebhook: (tenantSlug: string, slugAndCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
29
+ triggerIncomingWebhook: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
30
  };
32
31
  /**
33
32
  * TriggerInboundWebhooksApi - functional programming interface
@@ -35,15 +34,14 @@ export declare const TriggerInboundWebhooksApiAxiosParamCreator: (configuration?
35
34
  */
36
35
  export declare const TriggerInboundWebhooksApiFp: (configuration?: Configuration) => {
37
36
  /**
38
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
37
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
39
38
  * @summary Execute incoming webhook
40
- * @param {string} tenantSlug
41
- * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
39
+ * @param {string} code The webhook code (e.g., iwh_3g_5yaneKw)
42
40
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
43
41
  * @param {*} [options] Override http request option.
44
42
  * @throws {RequiredError}
45
43
  */
46
- triggerIncomingWebhook(tenantSlug: string, slugAndCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TriggerInboundWebhookResponseClass>>;
44
+ triggerIncomingWebhook(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TriggerInboundWebhookResponseClass>>;
47
45
  };
48
46
  /**
49
47
  * TriggerInboundWebhooksApi - factory interface
@@ -51,15 +49,14 @@ export declare const TriggerInboundWebhooksApiFp: (configuration?: Configuration
51
49
  */
52
50
  export declare const TriggerInboundWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
53
51
  /**
54
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
52
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
55
53
  * @summary Execute incoming webhook
56
- * @param {string} tenantSlug
57
- * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
54
+ * @param {string} code The webhook code (e.g., iwh_3g_5yaneKw)
58
55
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
56
  * @param {*} [options] Override http request option.
60
57
  * @throws {RequiredError}
61
58
  */
62
- triggerIncomingWebhook(tenantSlug: string, slugAndCode: string, authorization?: string, options?: any): AxiosPromise<TriggerInboundWebhookResponseClass>;
59
+ triggerIncomingWebhook(code: string, authorization?: string, options?: any): AxiosPromise<TriggerInboundWebhookResponseClass>;
63
60
  };
64
61
  /**
65
62
  * Request parameters for triggerIncomingWebhook operation in TriggerInboundWebhooksApi.
@@ -68,17 +65,11 @@ export declare const TriggerInboundWebhooksApiFactory: (configuration?: Configur
68
65
  */
69
66
  export interface TriggerInboundWebhooksApiTriggerIncomingWebhookRequest {
70
67
  /**
71
- *
68
+ * The webhook code (e.g., iwh_3g_5yaneKw)
72
69
  * @type {string}
73
70
  * @memberof TriggerInboundWebhooksApiTriggerIncomingWebhook
74
71
  */
75
- readonly tenantSlug: string;
76
- /**
77
- * The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
78
- * @type {string}
79
- * @memberof TriggerInboundWebhooksApiTriggerIncomingWebhook
80
- */
81
- readonly slugAndCode: string;
72
+ readonly code: string;
82
73
  /**
83
74
  * Bearer Token: provided by the login endpoint under the name accessToken.
84
75
  * @type {string}
@@ -94,7 +85,7 @@ export interface TriggerInboundWebhooksApiTriggerIncomingWebhookRequest {
94
85
  */
95
86
  export declare class TriggerInboundWebhooksApi extends BaseAPI {
96
87
  /**
97
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
88
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
98
89
  * @summary Execute incoming webhook
99
90
  * @param {TriggerInboundWebhooksApiTriggerIncomingWebhookRequest} requestParameters Request parameters.
100
91
  * @param {*} [options] Override http request option.
@@ -97,28 +97,24 @@ 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
- * @param {string} tenantSlug
103
- * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
102
+ * @param {string} code The webhook code (e.g., iwh_3g_5yaneKw)
104
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
104
  * @param {*} [options] Override http request option.
106
105
  * @throws {RequiredError}
107
106
  */
108
- triggerIncomingWebhook: function (tenantSlug, slugAndCode, authorization, options) {
107
+ triggerIncomingWebhook: function (code, authorization, options) {
109
108
  if (options === void 0) { options = {}; }
110
109
  return __awaiter(_this, void 0, void 0, function () {
111
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
112
111
  return __generator(this, function (_a) {
113
112
  switch (_a.label) {
114
113
  case 0:
115
- // verify required parameter 'tenantSlug' is not null or undefined
116
- (0, common_1.assertParamExists)('triggerIncomingWebhook', 'tenantSlug', tenantSlug);
117
- // verify required parameter 'slugAndCode' is not null or undefined
118
- (0, common_1.assertParamExists)('triggerIncomingWebhook', 'slugAndCode', slugAndCode);
119
- localVarPath = "/webhookservice/v1/in/{tenantSlug}/{slugAndCode}"
120
- .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
121
- .replace("{".concat("slugAndCode", "}"), encodeURIComponent(String(slugAndCode)));
114
+ // verify required parameter 'code' is not null or undefined
115
+ (0, common_1.assertParamExists)('triggerIncomingWebhook', 'code', code);
116
+ localVarPath = "/webhookservice/v1/in/{code}"
117
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
122
118
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
123
119
  if (configuration) {
124
120
  baseOptions = configuration.baseOptions;
@@ -159,20 +155,19 @@ var TriggerInboundWebhooksApiFp = function (configuration) {
159
155
  var localVarAxiosParamCreator = (0, exports.TriggerInboundWebhooksApiAxiosParamCreator)(configuration);
160
156
  return {
161
157
  /**
162
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
158
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
163
159
  * @summary Execute incoming webhook
164
- * @param {string} tenantSlug
165
- * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
160
+ * @param {string} code The webhook code (e.g., iwh_3g_5yaneKw)
166
161
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
167
162
  * @param {*} [options] Override http request option.
168
163
  * @throws {RequiredError}
169
164
  */
170
- triggerIncomingWebhook: function (tenantSlug, slugAndCode, authorization, options) {
165
+ triggerIncomingWebhook: function (code, authorization, options) {
171
166
  return __awaiter(this, void 0, void 0, function () {
172
167
  var localVarAxiosArgs;
173
168
  return __generator(this, function (_a) {
174
169
  switch (_a.label) {
175
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.triggerIncomingWebhook(tenantSlug, slugAndCode, authorization, options)];
170
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.triggerIncomingWebhook(code, authorization, options)];
176
171
  case 1:
177
172
  localVarAxiosArgs = _a.sent();
178
173
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -191,16 +186,15 @@ var TriggerInboundWebhooksApiFactory = function (configuration, basePath, axios)
191
186
  var localVarFp = (0, exports.TriggerInboundWebhooksApiFp)(configuration);
192
187
  return {
193
188
  /**
194
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
189
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
195
190
  * @summary Execute incoming webhook
196
- * @param {string} tenantSlug
197
- * @param {string} slugAndCode The webhook slug and code combined with a hyphen (e.g., claim.deleted-iwh_eN2uxBbOz)
191
+ * @param {string} code The webhook code (e.g., iwh_3g_5yaneKw)
198
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
199
193
  * @param {*} [options] Override http request option.
200
194
  * @throws {RequiredError}
201
195
  */
202
- triggerIncomingWebhook: function (tenantSlug, slugAndCode, authorization, options) {
203
- return localVarFp.triggerIncomingWebhook(tenantSlug, slugAndCode, authorization, options).then(function (request) { return request(axios, basePath); });
196
+ triggerIncomingWebhook: function (code, authorization, options) {
197
+ return localVarFp.triggerIncomingWebhook(code, authorization, options).then(function (request) { return request(axios, basePath); });
204
198
  },
205
199
  };
206
200
  };
@@ -217,7 +211,7 @@ var TriggerInboundWebhooksApi = /** @class */ (function (_super) {
217
211
  return _super !== null && _super.apply(this, arguments) || this;
218
212
  }
219
213
  /**
220
- * Receives and processes incoming webhook requests from external systems **Required Permissions** none
214
+ * Receives and processes incoming webhook requests from external systems **Required Permissions** \"webhook-management.webhooks.run\"
221
215
  * @summary Execute incoming webhook
222
216
  * @param {TriggerInboundWebhooksApiTriggerIncomingWebhookRequest} requestParameters Request parameters.
223
217
  * @param {*} [options] Override http request option.
@@ -226,7 +220,7 @@ var TriggerInboundWebhooksApi = /** @class */ (function (_super) {
226
220
  */
227
221
  TriggerInboundWebhooksApi.prototype.triggerIncomingWebhook = function (requestParameters, options) {
228
222
  var _this = this;
229
- return (0, exports.TriggerInboundWebhooksApiFp)(this.configuration).triggerIncomingWebhook(requestParameters.tenantSlug, requestParameters.slugAndCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
223
+ return (0, exports.TriggerInboundWebhooksApiFp)(this.configuration).triggerIncomingWebhook(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
230
224
  };
231
225
  return TriggerInboundWebhooksApi;
232
226
  }(base_1.BaseAPI));