@emilgroup/payment-sdk 1.16.1-beta.98 → 1.19.0

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.
Files changed (37) hide show
  1. package/README.md +2 -2
  2. package/api/payment-reminders-api.ts +12 -12
  3. package/api/payment-requests-api.ts +12 -113
  4. package/api/webhooks-api.ts +14 -125
  5. package/dist/api/payment-reminders-api.d.ts +12 -12
  6. package/dist/api/payment-reminders-api.js +9 -9
  7. package/dist/api/payment-requests-api.d.ts +12 -67
  8. package/dist/api/payment-requests-api.js +9 -101
  9. package/dist/api/webhooks-api.d.ts +9 -73
  10. package/dist/api/webhooks-api.js +11 -100
  11. package/dist/models/bank-transaction-entity.d.ts +2 -4
  12. package/dist/models/create-payment-order-dto.d.ts +2 -4
  13. package/dist/models/create-payment-order-request-dto.d.ts +2 -4
  14. package/dist/models/create-payment-request-dto.d.ts +2 -4
  15. package/dist/models/create-payment-request-request-dto.d.ts +2 -16
  16. package/dist/models/credit-allocation-class.d.ts +0 -6
  17. package/dist/models/credit-allocation-entity.d.ts +0 -6
  18. package/dist/models/invoice-match-suggestion-entity.d.ts +2 -4
  19. package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
  20. package/dist/models/payment-class.d.ts +1 -1
  21. package/dist/models/payment-entity.d.ts +3 -5
  22. package/dist/models/payment-request-class.d.ts +2 -16
  23. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -4
  24. package/models/bank-transaction-entity.ts +2 -2
  25. package/models/create-payment-order-dto.ts +2 -2
  26. package/models/create-payment-order-request-dto.ts +2 -2
  27. package/models/create-payment-request-dto.ts +2 -2
  28. package/models/create-payment-request-request-dto.ts +2 -14
  29. package/models/credit-allocation-class.ts +0 -6
  30. package/models/credit-allocation-entity.ts +0 -6
  31. package/models/invoice-match-suggestion-entity.ts +2 -2
  32. package/models/payment-class-without-expand-properties.ts +1 -1
  33. package/models/payment-class.ts +1 -1
  34. package/models/payment-entity.ts +3 -3
  35. package/models/payment-request-class.ts +2 -14
  36. package/models/validate-pspconfig-request-dto.ts +2 -2
  37. package/package.json +1 -1
@@ -248,11 +248,11 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
248
248
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
249
249
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
250
250
  * @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.
251
- * @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: code, id, policyCode, nextReminderDate, isActive</i>
251
+ * @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: code, id, policyCode, nextReminderDate</i>
252
252
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
253
- * @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, createdAt, updatedAt, isActive</i>
253
+ * @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, createdAt, updatedAt</i>
254
254
  * @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/>
255
- * @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: code, id, policyCode, nextReminderDate, isActive</i>
255
+ * @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: code, id, policyCode, nextReminderDate</i>
256
256
  * @param {*} [options] Override http request option.
257
257
  * @throws {RequiredError}
258
258
  */
@@ -394,11 +394,11 @@ var PaymentRemindersApiFp = function (configuration) {
394
394
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
395
395
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
396
396
  * @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.
397
- * @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: code, id, policyCode, nextReminderDate, isActive</i>
397
+ * @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: code, id, policyCode, nextReminderDate</i>
398
398
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
399
- * @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, createdAt, updatedAt, isActive</i>
399
+ * @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, createdAt, updatedAt</i>
400
400
  * @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/>
401
- * @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: code, id, policyCode, nextReminderDate, isActive</i>
401
+ * @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: code, id, policyCode, nextReminderDate</i>
402
402
  * @param {*} [options] Override http request option.
403
403
  * @throws {RequiredError}
404
404
  */
@@ -465,11 +465,11 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
465
465
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
466
466
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
467
467
  * @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.
468
- * @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: code, id, policyCode, nextReminderDate, isActive</i>
468
+ * @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: code, id, policyCode, nextReminderDate</i>
469
469
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
470
- * @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, createdAt, updatedAt, isActive</i>
470
+ * @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, createdAt, updatedAt</i>
471
471
  * @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/>
472
- * @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: code, id, policyCode, nextReminderDate, isActive</i>
472
+ * @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: code, id, policyCode, nextReminderDate</i>
473
473
  * @param {*} [options] Override http request option.
474
474
  * @throws {RequiredError}
475
475
  */
@@ -32,15 +32,6 @@ export declare const PaymentRequestsApiAxiosParamCreator: (configuration?: Confi
32
32
  * @throws {RequiredError}
33
33
  */
34
34
  createPaymentRequest: (createPaymentRequestRequestDto: CreatePaymentRequestRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
- /**
36
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
37
- * @summary Delete the payment request
38
- * @param {string} code Unique identifier for the object.
39
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
40
- * @param {*} [options] Override http request option.
41
- * @throws {RequiredError}
42
- */
43
- deletePaymentRequest: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
35
  /**
45
36
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
46
37
  * @summary Retrieve the payment request
@@ -57,11 +48,11 @@ export declare const PaymentRequestsApiAxiosParamCreator: (configuration?: Confi
57
48
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
49
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
50
  * @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.
60
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
61
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
51
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
52
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
62
53
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
63
54
  * @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; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
64
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
55
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
65
56
  * @param {*} [options] Override http request option.
66
57
  * @throws {RequiredError}
67
58
  */
@@ -91,15 +82,6 @@ export declare const PaymentRequestsApiFp: (configuration?: Configuration) => {
91
82
  * @throws {RequiredError}
92
83
  */
93
84
  createPaymentRequest(createPaymentRequestRequestDto: CreatePaymentRequestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentRequestResponseClass>>;
94
- /**
95
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
96
- * @summary Delete the payment request
97
- * @param {string} code Unique identifier for the object.
98
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
- * @param {*} [options] Override http request option.
100
- * @throws {RequiredError}
101
- */
102
- deletePaymentRequest(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
103
85
  /**
104
86
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
105
87
  * @summary Retrieve the payment request
@@ -116,11 +98,11 @@ export declare const PaymentRequestsApiFp: (configuration?: Configuration) => {
116
98
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
99
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
100
  * @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.
119
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
120
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
101
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
102
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
121
103
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
122
104
  * @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; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
123
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
105
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
124
106
  * @param {*} [options] Override http request option.
125
107
  * @throws {RequiredError}
126
108
  */
@@ -150,15 +132,6 @@ export declare const PaymentRequestsApiFactory: (configuration?: Configuration,
150
132
  * @throws {RequiredError}
151
133
  */
152
134
  createPaymentRequest(createPaymentRequestRequestDto: CreatePaymentRequestRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentRequestResponseClass>;
153
- /**
154
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
155
- * @summary Delete the payment request
156
- * @param {string} code Unique identifier for the object.
157
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
158
- * @param {*} [options] Override http request option.
159
- * @throws {RequiredError}
160
- */
161
- deletePaymentRequest(code: string, authorization?: string, options?: any): AxiosPromise<object>;
162
135
  /**
163
136
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
164
137
  * @summary Retrieve the payment request
@@ -175,11 +148,11 @@ export declare const PaymentRequestsApiFactory: (configuration?: Configuration,
175
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
149
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
150
  * @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.
178
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
179
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
151
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
152
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
180
153
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
181
154
  * @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; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
182
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
155
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
183
156
  * @param {*} [options] Override http request option.
184
157
  * @throws {RequiredError}
185
158
  */
@@ -214,25 +187,6 @@ export interface PaymentRequestsApiCreatePaymentRequestRequest {
214
187
  */
215
188
  readonly authorization?: string;
216
189
  }
217
- /**
218
- * Request parameters for deletePaymentRequest operation in PaymentRequestsApi.
219
- * @export
220
- * @interface PaymentRequestsApiDeletePaymentRequestRequest
221
- */
222
- export interface PaymentRequestsApiDeletePaymentRequestRequest {
223
- /**
224
- * Unique identifier for the object.
225
- * @type {string}
226
- * @memberof PaymentRequestsApiDeletePaymentRequest
227
- */
228
- readonly code: string;
229
- /**
230
- * Bearer Token: provided by the login endpoint under the name accessToken.
231
- * @type {string}
232
- * @memberof PaymentRequestsApiDeletePaymentRequest
233
- */
234
- readonly authorization?: string;
235
- }
236
190
  /**
237
191
  * Request parameters for getPaymentRequest operation in PaymentRequestsApi.
238
192
  * @export
@@ -283,13 +237,13 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
283
237
  */
284
238
  readonly pageToken?: string;
285
239
  /**
286
- * 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
240
+ * 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
287
241
  * @type {string}
288
242
  * @memberof PaymentRequestsApiListPaymentRequests
289
243
  */
290
244
  readonly filter?: string;
291
245
  /**
292
- * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
246
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
293
247
  * @type {string}
294
248
  * @memberof PaymentRequestsApiListPaymentRequests
295
249
  */
@@ -307,7 +261,7 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
307
261
  */
308
262
  readonly expand?: string;
309
263
  /**
310
- * 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
264
+ * 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
311
265
  * @type {string}
312
266
  * @memberof PaymentRequestsApiListPaymentRequests
313
267
  */
@@ -354,15 +308,6 @@ export declare class PaymentRequestsApi extends BaseAPI {
354
308
  * @memberof PaymentRequestsApi
355
309
  */
356
310
  createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentRequestResponseClass, any, {}>>;
357
- /**
358
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
359
- * @summary Delete the payment request
360
- * @param {PaymentRequestsApiDeletePaymentRequestRequest} requestParameters Request parameters.
361
- * @param {*} [options] Override http request option.
362
- * @throws {RequiredError}
363
- * @memberof PaymentRequestsApi
364
- */
365
- deletePaymentRequest(requestParameters: PaymentRequestsApiDeletePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
366
311
  /**
367
312
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
368
313
  * @summary Retrieve the payment request
@@ -141,54 +141,6 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
141
141
  });
142
142
  });
143
143
  },
144
- /**
145
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
146
- * @summary Delete the payment request
147
- * @param {string} code Unique identifier for the object.
148
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- deletePaymentRequest: function (code, authorization, options) {
153
- if (options === void 0) { options = {}; }
154
- return __awaiter(_this, void 0, void 0, function () {
155
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
- return __generator(this, function (_a) {
157
- switch (_a.label) {
158
- case 0:
159
- // verify required parameter 'code' is not null or undefined
160
- (0, common_1.assertParamExists)('deletePaymentRequest', 'code', code);
161
- localVarPath = "/paymentservice/v1/payment-requests/{code}"
162
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
163
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
164
- if (configuration) {
165
- baseOptions = configuration.baseOptions;
166
- baseAccessToken = configuration.accessToken;
167
- }
168
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
169
- localVarHeaderParameter = {};
170
- localVarQueryParameter = {};
171
- // authentication bearer required
172
- // http bearer authentication required
173
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
174
- case 1:
175
- // authentication bearer required
176
- // http bearer authentication required
177
- _a.sent();
178
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
180
- }
181
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
- return [2 /*return*/, {
185
- url: (0, common_1.toPathString)(localVarUrlObj),
186
- options: localVarRequestOptions,
187
- }];
188
- }
189
- });
190
- });
191
- },
192
144
  /**
193
145
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
194
146
  * @summary Retrieve the payment request
@@ -249,11 +201,11 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
249
201
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
202
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
203
  * @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.
252
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
253
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
204
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
205
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
254
206
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
255
207
  * @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; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
256
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
208
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
257
209
  * @param {*} [options] Override http request option.
258
210
  * @throws {RequiredError}
259
211
  */
@@ -399,27 +351,6 @@ var PaymentRequestsApiFp = function (configuration) {
399
351
  });
400
352
  });
401
353
  },
402
- /**
403
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
404
- * @summary Delete the payment request
405
- * @param {string} code Unique identifier for the object.
406
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
407
- * @param {*} [options] Override http request option.
408
- * @throws {RequiredError}
409
- */
410
- deletePaymentRequest: function (code, authorization, options) {
411
- return __awaiter(this, void 0, void 0, function () {
412
- var localVarAxiosArgs;
413
- return __generator(this, function (_a) {
414
- switch (_a.label) {
415
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deletePaymentRequest(code, authorization, options)];
416
- case 1:
417
- localVarAxiosArgs = _a.sent();
418
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
419
- }
420
- });
421
- });
422
- },
423
354
  /**
424
355
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
425
356
  * @summary Retrieve the payment request
@@ -448,11 +379,11 @@ var PaymentRequestsApiFp = function (configuration) {
448
379
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
449
380
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
450
381
  * @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.
451
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
452
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
382
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
383
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
453
384
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
454
385
  * @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; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
455
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
386
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
456
387
  * @param {*} [options] Override http request option.
457
388
  * @throws {RequiredError}
458
389
  */
@@ -512,17 +443,6 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
512
443
  createPaymentRequest: function (createPaymentRequestRequestDto, authorization, options) {
513
444
  return localVarFp.createPaymentRequest(createPaymentRequestRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
514
445
  },
515
- /**
516
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
517
- * @summary Delete the payment request
518
- * @param {string} code Unique identifier for the object.
519
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
520
- * @param {*} [options] Override http request option.
521
- * @throws {RequiredError}
522
- */
523
- deletePaymentRequest: function (code, authorization, options) {
524
- return localVarFp.deletePaymentRequest(code, authorization, options).then(function (request) { return request(axios, basePath); });
525
- },
526
446
  /**
527
447
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
528
448
  * @summary Retrieve the payment request
@@ -541,11 +461,11 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
541
461
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
542
462
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
543
463
  * @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.
544
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
545
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
464
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
465
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
546
466
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
547
467
  * @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; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
548
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
468
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
549
469
  * @param {*} [options] Override http request option.
550
470
  * @throws {RequiredError}
551
471
  */
@@ -590,18 +510,6 @@ var PaymentRequestsApi = /** @class */ (function (_super) {
590
510
  var _this = this;
591
511
  return (0, exports.PaymentRequestsApiFp)(this.configuration).createPaymentRequest(requestParameters.createPaymentRequestRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
592
512
  };
593
- /**
594
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
595
- * @summary Delete the payment request
596
- * @param {PaymentRequestsApiDeletePaymentRequestRequest} requestParameters Request parameters.
597
- * @param {*} [options] Override http request option.
598
- * @throws {RequiredError}
599
- * @memberof PaymentRequestsApi
600
- */
601
- PaymentRequestsApi.prototype.deletePaymentRequest = function (requestParameters, options) {
602
- var _this = this;
603
- return (0, exports.PaymentRequestsApiFp)(this.configuration).deletePaymentRequest(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
604
- };
605
513
  /**
606
514
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
607
515
  * @summary Retrieve the payment request
@@ -22,22 +22,12 @@ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuratio
22
22
  * @summary Handle the webhook from PSP
23
23
  * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
24
24
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
25
+ * @param {string} productSlug
25
26
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
26
27
  * @param {*} [options] Override http request option.
27
28
  * @throws {RequiredError}
28
29
  */
29
- postWebhook: (pspType: string, tenantSlug: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
- /**
31
- * This will processes the webhook from external payment service provider. **Required Permissions** none
32
- * @summary Handle the webhook from PSP
33
- * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
34
- * @param {string} tenantSlug Unique slug identifier representing a tenant.
35
- * @param {string} productSlug Optional product slug associated with the webhook.
36
- * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
37
- * @param {*} [options] Override http request option.
38
- * @throws {RequiredError}
39
- */
40
- postWebhookWithProductSlug: (pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
+ postWebhook: (pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
31
  };
42
32
  /**
43
33
  * WebhooksApi - functional programming interface
@@ -49,22 +39,12 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
49
39
  * @summary Handle the webhook from PSP
50
40
  * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
51
41
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
42
+ * @param {string} productSlug
52
43
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
53
44
  * @param {*} [options] Override http request option.
54
45
  * @throws {RequiredError}
55
46
  */
56
- postWebhook(pspType: string, tenantSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
57
- /**
58
- * This will processes the webhook from external payment service provider. **Required Permissions** none
59
- * @summary Handle the webhook from PSP
60
- * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
61
- * @param {string} tenantSlug Unique slug identifier representing a tenant.
62
- * @param {string} productSlug Optional product slug associated with the webhook.
63
- * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
64
- * @param {*} [options] Override http request option.
65
- * @throws {RequiredError}
66
- */
67
- postWebhookWithProductSlug(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
47
+ postWebhook(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
68
48
  };
69
49
  /**
70
50
  * WebhooksApi - factory interface
@@ -76,22 +56,12 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
76
56
  * @summary Handle the webhook from PSP
77
57
  * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
78
58
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
59
+ * @param {string} productSlug
79
60
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
80
61
  * @param {*} [options] Override http request option.
81
62
  * @throws {RequiredError}
82
63
  */
83
- postWebhook(pspType: string, tenantSlug: string, body: object, options?: any): AxiosPromise<void>;
84
- /**
85
- * This will processes the webhook from external payment service provider. **Required Permissions** none
86
- * @summary Handle the webhook from PSP
87
- * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
88
- * @param {string} tenantSlug Unique slug identifier representing a tenant.
89
- * @param {string} productSlug Optional product slug associated with the webhook.
90
- * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
91
- * @param {*} [options] Override http request option.
92
- * @throws {RequiredError}
93
- */
94
- postWebhookWithProductSlug(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void>;
64
+ postWebhook(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void>;
95
65
  };
96
66
  /**
97
67
  * Request parameters for postWebhook operation in WebhooksApi.
@@ -112,40 +82,15 @@ export interface WebhooksApiPostWebhookRequest {
112
82
  */
113
83
  readonly tenantSlug: string;
114
84
  /**
115
- * Accepts a webhook payload. The structure may vary depending on the payment service provider.
116
- * @type {object}
117
- * @memberof WebhooksApiPostWebhook
118
- */
119
- readonly body: object;
120
- }
121
- /**
122
- * Request parameters for postWebhookWithProductSlug operation in WebhooksApi.
123
- * @export
124
- * @interface WebhooksApiPostWebhookWithProductSlugRequest
125
- */
126
- export interface WebhooksApiPostWebhookWithProductSlugRequest {
127
- /**
128
- * The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
129
- * @type {string}
130
- * @memberof WebhooksApiPostWebhookWithProductSlug
131
- */
132
- readonly pspType: string;
133
- /**
134
- * Unique slug identifier representing a tenant.
135
- * @type {string}
136
- * @memberof WebhooksApiPostWebhookWithProductSlug
137
- */
138
- readonly tenantSlug: string;
139
- /**
140
- * Optional product slug associated with the webhook.
85
+ *
141
86
  * @type {string}
142
- * @memberof WebhooksApiPostWebhookWithProductSlug
87
+ * @memberof WebhooksApiPostWebhook
143
88
  */
144
89
  readonly productSlug: string;
145
90
  /**
146
91
  * Accepts a webhook payload. The structure may vary depending on the payment service provider.
147
92
  * @type {object}
148
- * @memberof WebhooksApiPostWebhookWithProductSlug
93
+ * @memberof WebhooksApiPostWebhook
149
94
  */
150
95
  readonly body: object;
151
96
  }
@@ -165,13 +110,4 @@ export declare class WebhooksApi extends BaseAPI {
165
110
  * @memberof WebhooksApi
166
111
  */
167
112
  postWebhook(requestParameters: WebhooksApiPostWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
168
- /**
169
- * This will processes the webhook from external payment service provider. **Required Permissions** none
170
- * @summary Handle the webhook from PSP
171
- * @param {WebhooksApiPostWebhookWithProductSlugRequest} requestParameters Request parameters.
172
- * @param {*} [options] Override http request option.
173
- * @throws {RequiredError}
174
- * @memberof WebhooksApi
175
- */
176
- postWebhookWithProductSlug(requestParameters: WebhooksApiPostWebhookWithProductSlugRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
177
113
  }