@emilgroup/payment-sdk-node 1.23.1-beta.69 → 1.23.1-beta.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk-node@1.23.1-beta.69 --save
20
+ npm install @emilgroup/payment-sdk-node@1.23.1-beta.71 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.23.1-beta.69
24
+ yarn add @emilgroup/payment-sdk-node@1.23.1-beta.71
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -192,11 +192,11 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
192
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
193
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
194
194
  * @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.
195
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
196
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
195
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
196
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
197
197
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
198
198
  * @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/> <i>Allowed values: paymentReceipts<i>
199
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
199
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
200
200
  * @param {*} [options] Override http request option.
201
201
  * @throws {RequiredError}
202
202
  */
@@ -366,11 +366,11 @@ export const PaymentRequestsApiFp = function(configuration?: Configuration) {
366
366
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
367
367
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
368
  * @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.
369
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
370
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
369
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
370
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
371
371
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
372
372
  * @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/> <i>Allowed values: paymentReceipts<i>
373
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
373
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
374
374
  * @param {*} [options] Override http request option.
375
375
  * @throws {RequiredError}
376
376
  */
@@ -441,11 +441,11 @@ export const PaymentRequestsApiFactory = function (configuration?: Configuration
441
441
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
442
442
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
443
443
  * @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.
444
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
445
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
444
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
445
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
446
446
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
447
447
  * @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/> <i>Allowed values: paymentReceipts<i>
448
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
448
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
449
449
  * @param {*} [options] Override http request option.
450
450
  * @throws {RequiredError}
451
451
  */
@@ -565,14 +565,14 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
565
565
  readonly pageToken?: string
566
566
 
567
567
  /**
568
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
568
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
569
569
  * @type {string}
570
570
  * @memberof PaymentRequestsApiListPaymentRequests
571
571
  */
572
572
  readonly filter?: string
573
573
 
574
574
  /**
575
- * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
575
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
576
576
  * @type {string}
577
577
  * @memberof PaymentRequestsApiListPaymentRequests
578
578
  */
@@ -593,7 +593,7 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
593
593
  readonly expand?: string
594
594
 
595
595
  /**
596
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
596
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
597
597
  * @type {string}
598
598
  * @memberof PaymentRequestsApiListPaymentRequests
599
599
  */
@@ -35,66 +35,20 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
35
35
  * @summary Handle the webhook from PSP
36
36
  * @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
37
37
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
38
+ * @param {string} productSlug
38
39
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
39
40
  * @param {*} [options] Override http request option.
40
41
  * @throws {RequiredError}
41
42
  */
42
- postWebhook: async (pspType: string, tenantSlug: string, body: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
+ postWebhook: async (pspType: string, tenantSlug: string, productSlug: string, body: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
44
  // verify required parameter 'pspType' is not null or undefined
44
45
  assertParamExists('postWebhook', 'pspType', pspType)
45
46
  // verify required parameter 'tenantSlug' is not null or undefined
46
47
  assertParamExists('postWebhook', 'tenantSlug', tenantSlug)
47
- // verify required parameter 'body' is not null or undefined
48
- assertParamExists('postWebhook', 'body', body)
49
- const localVarPath = `/paymentservice/v1/webhooks/{pspType}/{tenantSlug}`
50
- .replace(`{${"pspType"}}`, encodeURIComponent(String(pspType)))
51
- .replace(`{${"tenantSlug"}}`, encodeURIComponent(String(tenantSlug)));
52
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
53
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
54
- let baseOptions;
55
- let baseAccessToken;
56
- if (configuration) {
57
- baseOptions = configuration.baseOptions;
58
- baseAccessToken = configuration.accessToken;
59
- }
60
-
61
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
62
- const localVarHeaderParameter = {} as any;
63
- const localVarQueryParameter = {} as any;
64
-
65
-
66
-
67
- localVarHeaderParameter['Content-Type'] = 'application/json';
68
-
69
- setSearchParams(localVarUrlObj, localVarQueryParameter);
70
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
71
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
72
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
73
-
74
- return {
75
- url: toPathString(localVarUrlObj),
76
- options: localVarRequestOptions,
77
- };
78
- },
79
- /**
80
- * This will processes the webhook from external payment service provider. **Required Permissions** none
81
- * @summary Handle the webhook from PSP
82
- * @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;
83
- * @param {string} tenantSlug Unique slug identifier representing a tenant.
84
- * @param {string} productSlug Optional product slug associated with the webhook.
85
- * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
86
- * @param {*} [options] Override http request option.
87
- * @throws {RequiredError}
88
- */
89
- postWebhookWithProductSlug: async (pspType: string, tenantSlug: string, productSlug: string, body: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
90
- // verify required parameter 'pspType' is not null or undefined
91
- assertParamExists('postWebhookWithProductSlug', 'pspType', pspType)
92
- // verify required parameter 'tenantSlug' is not null or undefined
93
- assertParamExists('postWebhookWithProductSlug', 'tenantSlug', tenantSlug)
94
48
  // verify required parameter 'productSlug' is not null or undefined
95
- assertParamExists('postWebhookWithProductSlug', 'productSlug', productSlug)
49
+ assertParamExists('postWebhook', 'productSlug', productSlug)
96
50
  // verify required parameter 'body' is not null or undefined
97
- assertParamExists('postWebhookWithProductSlug', 'body', body)
51
+ assertParamExists('postWebhook', 'body', body)
98
52
  const localVarPath = `/paymentservice/v1/webhooks/{pspType}/{tenantSlug}/{productSlug}`
99
53
  .replace(`{${"pspType"}}`, encodeURIComponent(String(pspType)))
100
54
  .replace(`{${"tenantSlug"}}`, encodeURIComponent(String(tenantSlug)))
@@ -141,26 +95,13 @@ export const WebhooksApiFp = function(configuration?: Configuration) {
141
95
  * @summary Handle the webhook from PSP
142
96
  * @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;
143
97
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
98
+ * @param {string} productSlug
144
99
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
145
100
  * @param {*} [options] Override http request option.
146
101
  * @throws {RequiredError}
147
102
  */
148
- async postWebhook(pspType: string, tenantSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
149
- const localVarAxiosArgs = await localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, body, options);
150
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
151
- },
152
- /**
153
- * This will processes the webhook from external payment service provider. **Required Permissions** none
154
- * @summary Handle the webhook from PSP
155
- * @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;
156
- * @param {string} tenantSlug Unique slug identifier representing a tenant.
157
- * @param {string} productSlug Optional product slug associated with the webhook.
158
- * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
159
- * @param {*} [options] Override http request option.
160
- * @throws {RequiredError}
161
- */
162
- async postWebhookWithProductSlug(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
163
- const localVarAxiosArgs = await localVarAxiosParamCreator.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options);
103
+ async postWebhook(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
104
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, productSlug, body, options);
164
105
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
165
106
  },
166
107
  }
@@ -178,25 +119,13 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
178
119
  * @summary Handle the webhook from PSP
179
120
  * @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;
180
121
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
122
+ * @param {string} productSlug
181
123
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
182
124
  * @param {*} [options] Override http request option.
183
125
  * @throws {RequiredError}
184
126
  */
185
- postWebhook(pspType: string, tenantSlug: string, body: object, options?: any): AxiosPromise<void> {
186
- return localVarFp.postWebhook(pspType, tenantSlug, body, options).then((request) => request(axios, basePath));
187
- },
188
- /**
189
- * This will processes the webhook from external payment service provider. **Required Permissions** none
190
- * @summary Handle the webhook from PSP
191
- * @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;
192
- * @param {string} tenantSlug Unique slug identifier representing a tenant.
193
- * @param {string} productSlug Optional product slug associated with the webhook.
194
- * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
195
- * @param {*} [options] Override http request option.
196
- * @throws {RequiredError}
197
- */
198
- postWebhookWithProductSlug(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void> {
199
- return localVarFp.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options).then((request) => request(axios, basePath));
127
+ postWebhook(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void> {
128
+ return localVarFp.postWebhook(pspType, tenantSlug, productSlug, body, options).then((request) => request(axios, basePath));
200
129
  },
201
130
  };
202
131
  };
@@ -222,44 +151,16 @@ export interface WebhooksApiPostWebhookRequest {
222
151
  readonly tenantSlug: string
223
152
 
224
153
  /**
225
- * Accepts a webhook payload. The structure may vary depending on the payment service provider.
226
- * @type {object}
227
- * @memberof WebhooksApiPostWebhook
228
- */
229
- readonly body: object
230
- }
231
-
232
- /**
233
- * Request parameters for postWebhookWithProductSlug operation in WebhooksApi.
234
- * @export
235
- * @interface WebhooksApiPostWebhookWithProductSlugRequest
236
- */
237
- export interface WebhooksApiPostWebhookWithProductSlugRequest {
238
- /**
239
- * 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;
240
- * @type {string}
241
- * @memberof WebhooksApiPostWebhookWithProductSlug
242
- */
243
- readonly pspType: string
244
-
245
- /**
246
- * Unique slug identifier representing a tenant.
247
- * @type {string}
248
- * @memberof WebhooksApiPostWebhookWithProductSlug
249
- */
250
- readonly tenantSlug: string
251
-
252
- /**
253
- * Optional product slug associated with the webhook.
154
+ *
254
155
  * @type {string}
255
- * @memberof WebhooksApiPostWebhookWithProductSlug
156
+ * @memberof WebhooksApiPostWebhook
256
157
  */
257
158
  readonly productSlug: string
258
159
 
259
160
  /**
260
161
  * Accepts a webhook payload. The structure may vary depending on the payment service provider.
261
162
  * @type {object}
262
- * @memberof WebhooksApiPostWebhookWithProductSlug
163
+ * @memberof WebhooksApiPostWebhook
263
164
  */
264
165
  readonly body: object
265
166
  }
@@ -280,18 +181,6 @@ export class WebhooksApi extends BaseAPI {
280
181
  * @memberof WebhooksApi
281
182
  */
282
183
  public postWebhook(requestParameters: WebhooksApiPostWebhookRequest, options?: AxiosRequestConfig) {
283
- return WebhooksApiFp(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
284
- }
285
-
286
- /**
287
- * This will processes the webhook from external payment service provider. **Required Permissions** none
288
- * @summary Handle the webhook from PSP
289
- * @param {WebhooksApiPostWebhookWithProductSlugRequest} requestParameters Request parameters.
290
- * @param {*} [options] Override http request option.
291
- * @throws {RequiredError}
292
- * @memberof WebhooksApi
293
- */
294
- public postWebhookWithProductSlug(requestParameters: WebhooksApiPostWebhookWithProductSlugRequest, options?: AxiosRequestConfig) {
295
- return WebhooksApiFp(this.configuration).postWebhookWithProductSlug(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
184
+ return WebhooksApiFp(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
296
185
  }
297
186
  }
@@ -57,11 +57,11 @@ export declare const PaymentRequestsApiAxiosParamCreator: (configuration?: Confi
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
59
  * @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;
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&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&lt;/i&gt;
62
62
  * @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
63
  * @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;
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&lt;/i&gt;
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
67
  */
@@ -116,11 +116,11 @@ export declare const PaymentRequestsApiFp: (configuration?: Configuration) => {
116
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
117
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
118
  * @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;
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&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&lt;/i&gt;
121
121
  * @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
122
  * @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;
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&lt;/i&gt;
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
126
126
  */
@@ -175,11 +175,11 @@ export declare const PaymentRequestsApiFactory: (configuration?: Configuration,
175
175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
176
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
177
  * @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;
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&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&lt;/i&gt;
180
180
  * @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
181
  * @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;
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&lt;/i&gt;
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
185
185
  */
@@ -283,13 +283,13 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
283
283
  */
284
284
  readonly pageToken?: string;
285
285
  /**
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;
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&lt;/i&gt;
287
287
  * @type {string}
288
288
  * @memberof PaymentRequestsApiListPaymentRequests
289
289
  */
290
290
  readonly filter?: string;
291
291
  /**
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;
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&lt;/i&gt;
293
293
  * @type {string}
294
294
  * @memberof PaymentRequestsApiListPaymentRequests
295
295
  */
@@ -307,7 +307,7 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
307
307
  */
308
308
  readonly expand?: string;
309
309
  /**
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;
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&lt;/i&gt;
311
311
  * @type {string}
312
312
  * @memberof PaymentRequestsApiListPaymentRequests
313
313
  */
@@ -253,11 +253,11 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
254
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
255
255
  * @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;
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&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&lt;/i&gt;
258
258
  * @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
259
  * @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;
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&lt;/i&gt;
261
261
  * @param {*} [options] Override http request option.
262
262
  * @throws {RequiredError}
263
263
  */
@@ -452,11 +452,11 @@ var PaymentRequestsApiFp = function (configuration) {
452
452
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
453
453
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
454
454
  * @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;
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&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&lt;/i&gt;
457
457
  * @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
458
  * @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;
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&lt;/i&gt;
460
460
  * @param {*} [options] Override http request option.
461
461
  * @throws {RequiredError}
462
462
  */
@@ -545,11 +545,11 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
545
545
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
546
546
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
547
547
  * @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;
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&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&lt;/i&gt;
550
550
  * @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
551
  * @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;
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&lt;/i&gt;
553
553
  * @param {*} [options] Override http request option.
554
554
  * @throws {RequiredError}
555
555
  */
@@ -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
  }
@@ -101,11 +101,12 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
101
101
  * @summary Handle the webhook from PSP
102
102
  * @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;
103
103
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
104
+ * @param {string} productSlug
104
105
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
105
106
  * @param {*} [options] Override http request option.
106
107
  * @throws {RequiredError}
107
108
  */
108
- postWebhook: function (pspType, tenantSlug, body, options) {
109
+ postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
109
110
  if (options === void 0) { options = {}; }
110
111
  return __awaiter(_this, void 0, void 0, function () {
111
112
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -114,54 +115,10 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
114
115
  (0, common_1.assertParamExists)('postWebhook', 'pspType', pspType);
115
116
  // verify required parameter 'tenantSlug' is not null or undefined
116
117
  (0, common_1.assertParamExists)('postWebhook', 'tenantSlug', tenantSlug);
117
- // verify required parameter 'body' is not null or undefined
118
- (0, common_1.assertParamExists)('postWebhook', 'body', body);
119
- localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}"
120
- .replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
121
- .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)));
122
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
123
- if (configuration) {
124
- baseOptions = configuration.baseOptions;
125
- baseAccessToken = configuration.accessToken;
126
- }
127
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
128
- localVarHeaderParameter = {};
129
- localVarQueryParameter = {};
130
- localVarHeaderParameter['Content-Type'] = 'application/json';
131
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
132
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
134
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
135
- return [2 /*return*/, {
136
- url: (0, common_1.toPathString)(localVarUrlObj),
137
- options: localVarRequestOptions,
138
- }];
139
- });
140
- });
141
- },
142
- /**
143
- * This will processes the webhook from external payment service provider. **Required Permissions** none
144
- * @summary Handle the webhook from PSP
145
- * @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;
146
- * @param {string} tenantSlug Unique slug identifier representing a tenant.
147
- * @param {string} productSlug Optional product slug associated with the webhook.
148
- * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, 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
- // verify required parameter 'pspType' is not null or undefined
158
- (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'pspType', pspType);
159
- // verify required parameter 'tenantSlug' is not null or undefined
160
- (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'tenantSlug', tenantSlug);
161
118
  // verify required parameter 'productSlug' is not null or undefined
162
- (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'productSlug', productSlug);
119
+ (0, common_1.assertParamExists)('postWebhook', 'productSlug', productSlug);
163
120
  // verify required parameter 'body' is not null or undefined
164
- (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'body', body);
121
+ (0, common_1.assertParamExists)('postWebhook', 'body', body);
165
122
  localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}/{productSlug}"
166
123
  .replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
167
124
  .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
@@ -201,39 +158,17 @@ var WebhooksApiFp = function (configuration) {
201
158
  * @summary Handle the webhook from PSP
202
159
  * @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;
203
160
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
161
+ * @param {string} productSlug
204
162
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
205
163
  * @param {*} [options] Override http request option.
206
164
  * @throws {RequiredError}
207
165
  */
208
- postWebhook: function (pspType, tenantSlug, body, options) {
166
+ postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
209
167
  return __awaiter(this, void 0, void 0, function () {
210
168
  var localVarAxiosArgs;
211
169
  return __generator(this, function (_a) {
212
170
  switch (_a.label) {
213
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, body, options)];
214
- case 1:
215
- localVarAxiosArgs = _a.sent();
216
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
217
- }
218
- });
219
- });
220
- },
221
- /**
222
- * This will processes the webhook from external payment service provider. **Required Permissions** none
223
- * @summary Handle the webhook from PSP
224
- * @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;
225
- * @param {string} tenantSlug Unique slug identifier representing a tenant.
226
- * @param {string} productSlug Optional product slug associated with the webhook.
227
- * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
228
- * @param {*} [options] Override http request option.
229
- * @throws {RequiredError}
230
- */
231
- postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
232
- return __awaiter(this, void 0, void 0, function () {
233
- var localVarAxiosArgs;
234
- return __generator(this, function (_a) {
235
- switch (_a.label) {
236
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options)];
171
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, productSlug, body, options)];
237
172
  case 1:
238
173
  localVarAxiosArgs = _a.sent();
239
174
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -256,25 +191,13 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
256
191
  * @summary Handle the webhook from PSP
257
192
  * @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;
258
193
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
194
+ * @param {string} productSlug
259
195
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
260
196
  * @param {*} [options] Override http request option.
261
197
  * @throws {RequiredError}
262
198
  */
263
- postWebhook: function (pspType, tenantSlug, body, options) {
264
- return localVarFp.postWebhook(pspType, tenantSlug, body, options).then(function (request) { return request(axios, basePath); });
265
- },
266
- /**
267
- * This will processes the webhook from external payment service provider. **Required Permissions** none
268
- * @summary Handle the webhook from PSP
269
- * @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;
270
- * @param {string} tenantSlug Unique slug identifier representing a tenant.
271
- * @param {string} productSlug Optional product slug associated with the webhook.
272
- * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
273
- * @param {*} [options] Override http request option.
274
- * @throws {RequiredError}
275
- */
276
- postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
277
- return localVarFp.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
199
+ postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
200
+ return localVarFp.postWebhook(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
278
201
  },
279
202
  };
280
203
  };
@@ -300,19 +223,7 @@ var WebhooksApi = /** @class */ (function (_super) {
300
223
  */
301
224
  WebhooksApi.prototype.postWebhook = function (requestParameters, options) {
302
225
  var _this = this;
303
- return (0, exports.WebhooksApiFp)(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
304
- };
305
- /**
306
- * This will processes the webhook from external payment service provider. **Required Permissions** none
307
- * @summary Handle the webhook from PSP
308
- * @param {WebhooksApiPostWebhookWithProductSlugRequest} requestParameters Request parameters.
309
- * @param {*} [options] Override http request option.
310
- * @throws {RequiredError}
311
- * @memberof WebhooksApi
312
- */
313
- WebhooksApi.prototype.postWebhookWithProductSlug = function (requestParameters, options) {
314
- var _this = this;
315
- return (0, exports.WebhooksApiFp)(this.configuration).postWebhookWithProductSlug(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
226
+ return (0, exports.WebhooksApiFp)(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
316
227
  };
317
228
  return WebhooksApi;
318
229
  }(base_1.BaseAPI));
@@ -69,12 +69,6 @@ export interface CreatePaymentRequestRequestDto {
69
69
  * @memberof CreatePaymentRequestRequestDto
70
70
  */
71
71
  'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
72
- /**
73
- * Code of the settlement the payment request was created for.
74
- * @type {string}
75
- * @memberof CreatePaymentRequestRequestDto
76
- */
77
- 'settlementCode'?: string;
78
72
  /**
79
73
  * Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
80
74
  * @type {string}
@@ -83,12 +77,10 @@ export interface CreatePaymentRequestRequestDto {
83
77
  'paymentMethodCode'?: string;
84
78
  /**
85
79
  * Optional field containing extra information about the payment request.
86
- * @type {{ [key: string]: object; }}
80
+ * @type {object}
87
81
  * @memberof CreatePaymentRequestRequestDto
88
82
  */
89
- 'metadata'?: {
90
- [key: string]: object;
91
- };
83
+ 'metadata'?: object;
92
84
  }
93
85
  export declare const CreatePaymentRequestRequestDtoDirectionEnum: {
94
86
  readonly Collect: "collect";
@@ -94,12 +94,6 @@ export interface PaymentRequestClass {
94
94
  * @memberof PaymentRequestClass
95
95
  */
96
96
  'status': PaymentRequestClassStatusEnum;
97
- /**
98
- * Code of the settlement the payment request was created for.
99
- * @type {string}
100
- * @memberof PaymentRequestClass
101
- */
102
- 'settlementCode'?: string;
103
97
  /**
104
98
  * Code of the payment method used for this payment request.
105
99
  * @type {string}
@@ -120,12 +114,10 @@ export interface PaymentRequestClass {
120
114
  'paymentMethodPsp'?: string;
121
115
  /**
122
116
  * Optional field containing extra information about the payment request.
123
- * @type {{ [key: string]: object; }}
117
+ * @type {object}
124
118
  * @memberof PaymentRequestClass
125
119
  */
126
- 'metadata'?: {
127
- [key: string]: object;
128
- };
120
+ 'metadata'?: object;
129
121
  /**
130
122
  * The list of payment receipts.
131
123
  * @type {Array<PaymentReceiptClass>}
@@ -74,12 +74,6 @@ export interface CreatePaymentRequestRequestDto {
74
74
  * @memberof CreatePaymentRequestRequestDto
75
75
  */
76
76
  'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
77
- /**
78
- * Code of the settlement the payment request was created for.
79
- * @type {string}
80
- * @memberof CreatePaymentRequestRequestDto
81
- */
82
- 'settlementCode'?: string;
83
77
  /**
84
78
  * Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
85
79
  * @type {string}
@@ -88,10 +82,10 @@ export interface CreatePaymentRequestRequestDto {
88
82
  'paymentMethodCode'?: string;
89
83
  /**
90
84
  * Optional field containing extra information about the payment request.
91
- * @type {{ [key: string]: object; }}
85
+ * @type {object}
92
86
  * @memberof CreatePaymentRequestRequestDto
93
87
  */
94
- 'metadata'?: { [key: string]: object; };
88
+ 'metadata'?: object;
95
89
  }
96
90
 
97
91
  export const CreatePaymentRequestRequestDtoDirectionEnum = {
@@ -99,12 +99,6 @@ export interface PaymentRequestClass {
99
99
  * @memberof PaymentRequestClass
100
100
  */
101
101
  'status': PaymentRequestClassStatusEnum;
102
- /**
103
- * Code of the settlement the payment request was created for.
104
- * @type {string}
105
- * @memberof PaymentRequestClass
106
- */
107
- 'settlementCode'?: string;
108
102
  /**
109
103
  * Code of the payment method used for this payment request.
110
104
  * @type {string}
@@ -125,10 +119,10 @@ export interface PaymentRequestClass {
125
119
  'paymentMethodPsp'?: string;
126
120
  /**
127
121
  * Optional field containing extra information about the payment request.
128
- * @type {{ [key: string]: object; }}
122
+ * @type {object}
129
123
  * @memberof PaymentRequestClass
130
124
  */
131
- 'metadata'?: { [key: string]: object; };
125
+ 'metadata'?: object;
132
126
  /**
133
127
  * The list of payment receipts.
134
128
  * @type {Array<PaymentReceiptClass>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk-node",
3
- "version": "1.23.1-beta.69",
3
+ "version": "1.23.1-beta.71",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [