@emilgroup/payment-sdk-node 1.23.1-beta.98 → 1.26.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
@@ -252,11 +252,11 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
252
252
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
253
253
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
254
254
  * @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.
255
- * @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>
255
+ * @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>
256
256
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
257
- * @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>
257
+ * @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>
258
258
  * @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/>
259
- * @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>
259
+ * @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>
260
260
  * @param {*} [options] Override http request option.
261
261
  * @throws {RequiredError}
262
262
  */
@@ -398,11 +398,11 @@ var PaymentRemindersApiFp = function (configuration) {
398
398
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
399
399
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
400
400
  * @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.
401
- * @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>
401
+ * @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>
402
402
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
403
- * @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>
403
+ * @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>
404
404
  * @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/>
405
- * @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>
405
+ * @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>
406
406
  * @param {*} [options] Override http request option.
407
407
  * @throws {RequiredError}
408
408
  */
@@ -469,11 +469,11 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
469
469
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
470
470
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
471
471
  * @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.
472
- * @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>
472
+ * @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>
473
473
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
474
- * @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>
474
+ * @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>
475
475
  * @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/>
476
- * @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>
476
+ * @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>
477
477
  * @param {*} [options] Override http request option.
478
478
  * @throws {RequiredError}
479
479
  */
@@ -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
@@ -145,54 +145,6 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
145
145
  });
146
146
  });
147
147
  },
148
- /**
149
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
150
- * @summary Delete the payment request
151
- * @param {string} code Unique identifier for the object.
152
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
- * @param {*} [options] Override http request option.
154
- * @throws {RequiredError}
155
- */
156
- deletePaymentRequest: function (code, authorization, options) {
157
- if (options === void 0) { options = {}; }
158
- return __awaiter(_this, void 0, void 0, function () {
159
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
- return __generator(this, function (_a) {
161
- switch (_a.label) {
162
- case 0:
163
- // verify required parameter 'code' is not null or undefined
164
- (0, common_1.assertParamExists)('deletePaymentRequest', 'code', code);
165
- localVarPath = "/paymentservice/v1/payment-requests/{code}"
166
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
168
- if (configuration) {
169
- baseOptions = configuration.baseOptions;
170
- baseAccessToken = configuration.accessToken;
171
- }
172
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
173
- localVarHeaderParameter = {};
174
- localVarQueryParameter = {};
175
- // authentication bearer required
176
- // http bearer authentication required
177
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
178
- case 1:
179
- // authentication bearer required
180
- // http bearer authentication required
181
- _a.sent();
182
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
183
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
184
- }
185
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
- return [2 /*return*/, {
189
- url: (0, common_1.toPathString)(localVarUrlObj),
190
- options: localVarRequestOptions,
191
- }];
192
- }
193
- });
194
- });
195
- },
196
148
  /**
197
149
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
198
150
  * @summary Retrieve the payment request
@@ -253,11 +205,11 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
253
205
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
206
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
255
207
  * @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.
256
- * @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;
257
- * @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;
208
+ * @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;
209
+ * @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;
258
210
  * @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;
259
211
  * @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;
260
- * @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;
212
+ * @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;
261
213
  * @param {*} [options] Override http request option.
262
214
  * @throws {RequiredError}
263
215
  */
@@ -403,27 +355,6 @@ var PaymentRequestsApiFp = function (configuration) {
403
355
  });
404
356
  });
405
357
  },
406
- /**
407
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
408
- * @summary Delete the payment request
409
- * @param {string} code Unique identifier for the object.
410
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
411
- * @param {*} [options] Override http request option.
412
- * @throws {RequiredError}
413
- */
414
- deletePaymentRequest: function (code, authorization, options) {
415
- return __awaiter(this, void 0, void 0, function () {
416
- var localVarAxiosArgs;
417
- return __generator(this, function (_a) {
418
- switch (_a.label) {
419
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deletePaymentRequest(code, authorization, options)];
420
- case 1:
421
- localVarAxiosArgs = _a.sent();
422
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
423
- }
424
- });
425
- });
426
- },
427
358
  /**
428
359
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
429
360
  * @summary Retrieve the payment request
@@ -452,11 +383,11 @@ var PaymentRequestsApiFp = function (configuration) {
452
383
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
453
384
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
454
385
  * @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.
455
- * @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;
456
- * @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;
386
+ * @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;
387
+ * @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;
457
388
  * @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;
458
389
  * @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;
459
- * @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;
390
+ * @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;
460
391
  * @param {*} [options] Override http request option.
461
392
  * @throws {RequiredError}
462
393
  */
@@ -516,17 +447,6 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
516
447
  createPaymentRequest: function (createPaymentRequestRequestDto, authorization, options) {
517
448
  return localVarFp.createPaymentRequest(createPaymentRequestRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
518
449
  },
519
- /**
520
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
521
- * @summary Delete the payment request
522
- * @param {string} code Unique identifier for the object.
523
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
524
- * @param {*} [options] Override http request option.
525
- * @throws {RequiredError}
526
- */
527
- deletePaymentRequest: function (code, authorization, options) {
528
- return localVarFp.deletePaymentRequest(code, authorization, options).then(function (request) { return request(axios, basePath); });
529
- },
530
450
  /**
531
451
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
532
452
  * @summary Retrieve the payment request
@@ -545,11 +465,11 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
545
465
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
546
466
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
547
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
548
- * @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;
549
- * @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;
468
+ * @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;
469
+ * @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;
550
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
551
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: paymentReceipts&lt;i&gt;
552
- * @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;
472
+ * @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;
553
473
  * @param {*} [options] Override http request option.
554
474
  * @throws {RequiredError}
555
475
  */
@@ -594,18 +514,6 @@ var PaymentRequestsApi = /** @class */ (function (_super) {
594
514
  var _this = this;
595
515
  return (0, exports.PaymentRequestsApiFp)(this.configuration).createPaymentRequest(requestParameters.createPaymentRequestRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
596
516
  };
597
- /**
598
- * This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
599
- * @summary Delete the payment request
600
- * @param {PaymentRequestsApiDeletePaymentRequestRequest} requestParameters Request parameters.
601
- * @param {*} [options] Override http request option.
602
- * @throws {RequiredError}
603
- * @memberof PaymentRequestsApi
604
- */
605
- PaymentRequestsApi.prototype.deletePaymentRequest = function (requestParameters, options) {
606
- var _this = this;
607
- return (0, exports.PaymentRequestsApiFp)(this.configuration).deletePaymentRequest(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
608
- };
609
517
  /**
610
518
  * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
611
519
  * @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
  }