@emilgroup/payment-sdk-node 1.23.1-beta.87 → 1.23.1-beta.88

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 (40) 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 -12
  4. package/api/webhooks-api.ts +54 -41
  5. package/base.ts +0 -1
  6. package/dist/api/payment-reminders-api.d.ts +12 -12
  7. package/dist/api/payment-reminders-api.js +9 -9
  8. package/dist/api/payment-requests-api.d.ts +12 -12
  9. package/dist/api/payment-requests-api.js +9 -9
  10. package/dist/api/webhooks-api.d.ts +36 -27
  11. package/dist/api/webhooks-api.js +33 -27
  12. package/dist/base.d.ts +1 -2
  13. package/dist/base.js +0 -1
  14. package/dist/models/create-payment-request-request-dto.d.ts +0 -6
  15. package/dist/models/credit-allocation-class.d.ts +0 -6
  16. package/dist/models/credit-allocation-entity.d.ts +0 -6
  17. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  18. package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
  19. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  20. package/dist/models/list-payment-requests-response-class.d.ts +18 -6
  21. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  22. package/dist/models/list-refunds-response-class.d.ts +18 -6
  23. package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
  24. package/dist/models/payment-class.d.ts +1 -1
  25. package/dist/models/payment-entity.d.ts +1 -1
  26. package/dist/models/payment-request-class.d.ts +0 -12
  27. package/models/create-payment-request-request-dto.ts +0 -6
  28. package/models/credit-allocation-class.ts +0 -6
  29. package/models/credit-allocation-entity.ts +0 -6
  30. package/models/list-billing-addresses-response-class.ts +9 -9
  31. package/models/list-exceeding-credits-response-class.ts +18 -6
  32. package/models/list-payment-receipts-response-class.ts +9 -9
  33. package/models/list-payment-requests-response-class.ts +18 -6
  34. package/models/list-payout-methods-response-class.ts +9 -9
  35. package/models/list-refunds-response-class.ts +18 -6
  36. package/models/payment-class-without-expand-properties.ts +1 -1
  37. package/models/payment-class.ts +1 -1
  38. package/models/payment-entity.ts +1 -1
  39. package/models/payment-request-class.ts +0 -12
  40. package/package.json +2 -2
@@ -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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
61
- * @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>
60
+ * @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>
61
+ * @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>
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.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
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.<br/> <br/> <i>Allowed values: paymentReceipts<i>
64
- * @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>
64
+ * @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>
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
120
- * @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>
119
+ * @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>
120
+ * @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>
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.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
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.<br/> <br/> <i>Allowed values: paymentReceipts<i>
123
- * @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>
123
+ * @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>
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
179
- * @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>
178
+ * @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>
179
+ * @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>
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.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
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.<br/> <br/> <i>Allowed values: paymentReceipts<i>
182
- * @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>
182
+ * @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>
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.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
286
+ * 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>
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.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
292
+ * 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>
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.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
310
+ * 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>
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
257
- * @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>
256
+ * @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>
257
+ * @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>
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.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
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.<br/> <br/> <i>Allowed values: paymentReceipts<i>
260
- * @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>
260
+ * @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>
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
456
- * @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>
455
+ * @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>
456
+ * @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>
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.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
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.<br/> <br/> <i>Allowed values: paymentReceipts<i>
459
- * @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>
459
+ * @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>
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
549
- * @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>
548
+ * @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>
549
+ * @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>
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.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
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.<br/> <br/> <i>Allowed values: paymentReceipts<i>
552
- * @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>
552
+ * @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>
553
553
  * @param {*} [options] Override http request option.
554
554
  * @throws {RequiredError}
555
555
  */
@@ -22,22 +22,23 @@ 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).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
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
+ postWebhook0: (pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
31
  /**
31
32
  * This will processes the webhook from external payment service provider. **Required Permissions** none
32
33
  * @summary Handle the webhook from PSP
33
34
  * @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
35
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
35
- * @param {string} productSlug Optional product slug associated with the webhook.
36
+ * @param {string} productSlug
36
37
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
37
38
  * @param {*} [options] Override http request option.
38
39
  * @throws {RequiredError}
39
40
  */
40
- postWebhookWithProductSlug: (pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ postWebhook1: (pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
42
  };
42
43
  /**
43
44
  * WebhooksApi - functional programming interface
@@ -49,22 +50,23 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
49
50
  * @summary Handle the webhook from PSP
50
51
  * @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
52
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
53
+ * @param {string} productSlug
52
54
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
53
55
  * @param {*} [options] Override http request option.
54
56
  * @throws {RequiredError}
55
57
  */
56
- postWebhook(pspType: string, tenantSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
58
+ postWebhook0(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
57
59
  /**
58
60
  * This will processes the webhook from external payment service provider. **Required Permissions** none
59
61
  * @summary Handle the webhook from PSP
60
62
  * @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
63
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
62
- * @param {string} productSlug Optional product slug associated with the webhook.
64
+ * @param {string} productSlug
63
65
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
64
66
  * @param {*} [options] Override http request option.
65
67
  * @throws {RequiredError}
66
68
  */
67
- postWebhookWithProductSlug(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
69
+ postWebhook1(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
68
70
  };
69
71
  /**
70
72
  * WebhooksApi - factory interface
@@ -76,76 +78,83 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
76
78
  * @summary Handle the webhook from PSP
77
79
  * @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
80
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
81
+ * @param {string} productSlug
79
82
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
80
83
  * @param {*} [options] Override http request option.
81
84
  * @throws {RequiredError}
82
85
  */
83
- postWebhook(pspType: string, tenantSlug: string, body: object, options?: any): AxiosPromise<void>;
86
+ postWebhook0(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void>;
84
87
  /**
85
88
  * This will processes the webhook from external payment service provider. **Required Permissions** none
86
89
  * @summary Handle the webhook from PSP
87
90
  * @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
91
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
89
- * @param {string} productSlug Optional product slug associated with the webhook.
92
+ * @param {string} productSlug
90
93
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
91
94
  * @param {*} [options] Override http request option.
92
95
  * @throws {RequiredError}
93
96
  */
94
- postWebhookWithProductSlug(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void>;
97
+ postWebhook1(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void>;
95
98
  };
96
99
  /**
97
- * Request parameters for postWebhook operation in WebhooksApi.
100
+ * Request parameters for postWebhook0 operation in WebhooksApi.
98
101
  * @export
99
- * @interface WebhooksApiPostWebhookRequest
102
+ * @interface WebhooksApiPostWebhook0Request
100
103
  */
101
- export interface WebhooksApiPostWebhookRequest {
104
+ export interface WebhooksApiPostWebhook0Request {
102
105
  /**
103
106
  * 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;
104
107
  * @type {string}
105
- * @memberof WebhooksApiPostWebhook
108
+ * @memberof WebhooksApiPostWebhook0
106
109
  */
107
110
  readonly pspType: string;
108
111
  /**
109
112
  * Unique slug identifier representing a tenant.
110
113
  * @type {string}
111
- * @memberof WebhooksApiPostWebhook
114
+ * @memberof WebhooksApiPostWebhook0
112
115
  */
113
116
  readonly tenantSlug: string;
117
+ /**
118
+ *
119
+ * @type {string}
120
+ * @memberof WebhooksApiPostWebhook0
121
+ */
122
+ readonly productSlug: string;
114
123
  /**
115
124
  * Accepts a webhook payload. The structure may vary depending on the payment service provider.
116
125
  * @type {object}
117
- * @memberof WebhooksApiPostWebhook
126
+ * @memberof WebhooksApiPostWebhook0
118
127
  */
119
128
  readonly body: object;
120
129
  }
121
130
  /**
122
- * Request parameters for postWebhookWithProductSlug operation in WebhooksApi.
131
+ * Request parameters for postWebhook1 operation in WebhooksApi.
123
132
  * @export
124
- * @interface WebhooksApiPostWebhookWithProductSlugRequest
133
+ * @interface WebhooksApiPostWebhook1Request
125
134
  */
126
- export interface WebhooksApiPostWebhookWithProductSlugRequest {
135
+ export interface WebhooksApiPostWebhook1Request {
127
136
  /**
128
137
  * 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
138
  * @type {string}
130
- * @memberof WebhooksApiPostWebhookWithProductSlug
139
+ * @memberof WebhooksApiPostWebhook1
131
140
  */
132
141
  readonly pspType: string;
133
142
  /**
134
143
  * Unique slug identifier representing a tenant.
135
144
  * @type {string}
136
- * @memberof WebhooksApiPostWebhookWithProductSlug
145
+ * @memberof WebhooksApiPostWebhook1
137
146
  */
138
147
  readonly tenantSlug: string;
139
148
  /**
140
- * Optional product slug associated with the webhook.
149
+ *
141
150
  * @type {string}
142
- * @memberof WebhooksApiPostWebhookWithProductSlug
151
+ * @memberof WebhooksApiPostWebhook1
143
152
  */
144
153
  readonly productSlug: string;
145
154
  /**
146
155
  * Accepts a webhook payload. The structure may vary depending on the payment service provider.
147
156
  * @type {object}
148
- * @memberof WebhooksApiPostWebhookWithProductSlug
157
+ * @memberof WebhooksApiPostWebhook1
149
158
  */
150
159
  readonly body: object;
151
160
  }
@@ -159,19 +168,19 @@ export declare class WebhooksApi extends BaseAPI {
159
168
  /**
160
169
  * This will processes the webhook from external payment service provider. **Required Permissions** none
161
170
  * @summary Handle the webhook from PSP
162
- * @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
171
+ * @param {WebhooksApiPostWebhook0Request} requestParameters Request parameters.
163
172
  * @param {*} [options] Override http request option.
164
173
  * @throws {RequiredError}
165
174
  * @memberof WebhooksApi
166
175
  */
167
- postWebhook(requestParameters: WebhooksApiPostWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
176
+ postWebhook0(requestParameters: WebhooksApiPostWebhook0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
168
177
  /**
169
178
  * This will processes the webhook from external payment service provider. **Required Permissions** none
170
179
  * @summary Handle the webhook from PSP
171
- * @param {WebhooksApiPostWebhookWithProductSlugRequest} requestParameters Request parameters.
180
+ * @param {WebhooksApiPostWebhook1Request} requestParameters Request parameters.
172
181
  * @param {*} [options] Override http request option.
173
182
  * @throws {RequiredError}
174
183
  * @memberof WebhooksApi
175
184
  */
176
- postWebhookWithProductSlug(requestParameters: WebhooksApiPostWebhookWithProductSlugRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
185
+ postWebhook1(requestParameters: WebhooksApiPostWebhook1Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
177
186
  }
@@ -101,24 +101,28 @@ 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
+ postWebhook0: 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;
112
113
  return __generator(this, function (_a) {
113
114
  // verify required parameter 'pspType' is not null or undefined
114
- (0, common_1.assertParamExists)('postWebhook', 'pspType', pspType);
115
+ (0, common_1.assertParamExists)('postWebhook0', 'pspType', pspType);
115
116
  // verify required parameter 'tenantSlug' is not null or undefined
116
- (0, common_1.assertParamExists)('postWebhook', 'tenantSlug', tenantSlug);
117
+ (0, common_1.assertParamExists)('postWebhook0', 'tenantSlug', tenantSlug);
118
+ // verify required parameter 'productSlug' is not null or undefined
119
+ (0, common_1.assertParamExists)('postWebhook0', 'productSlug', productSlug);
117
120
  // verify required parameter 'body' is not null or undefined
118
- (0, common_1.assertParamExists)('postWebhook', 'body', body);
121
+ (0, common_1.assertParamExists)('postWebhook0', 'body', body);
119
122
  localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}"
120
123
  .replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
121
- .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)));
124
+ .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
125
+ .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
122
126
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
123
127
  if (configuration) {
124
128
  baseOptions = configuration.baseOptions;
@@ -144,24 +148,24 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
144
148
  * @summary Handle the webhook from PSP
145
149
  * @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
150
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
147
- * @param {string} productSlug Optional product slug associated with the webhook.
151
+ * @param {string} productSlug
148
152
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
149
153
  * @param {*} [options] Override http request option.
150
154
  * @throws {RequiredError}
151
155
  */
152
- postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
156
+ postWebhook1: function (pspType, tenantSlug, productSlug, body, options) {
153
157
  if (options === void 0) { options = {}; }
154
158
  return __awaiter(_this, void 0, void 0, function () {
155
159
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
160
  return __generator(this, function (_a) {
157
161
  // verify required parameter 'pspType' is not null or undefined
158
- (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'pspType', pspType);
162
+ (0, common_1.assertParamExists)('postWebhook1', 'pspType', pspType);
159
163
  // verify required parameter 'tenantSlug' is not null or undefined
160
- (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'tenantSlug', tenantSlug);
164
+ (0, common_1.assertParamExists)('postWebhook1', 'tenantSlug', tenantSlug);
161
165
  // verify required parameter 'productSlug' is not null or undefined
162
- (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'productSlug', productSlug);
166
+ (0, common_1.assertParamExists)('postWebhook1', 'productSlug', productSlug);
163
167
  // verify required parameter 'body' is not null or undefined
164
- (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'body', body);
168
+ (0, common_1.assertParamExists)('postWebhook1', 'body', body);
165
169
  localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}/{productSlug}"
166
170
  .replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
167
171
  .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
@@ -201,16 +205,17 @@ var WebhooksApiFp = function (configuration) {
201
205
  * @summary Handle the webhook from PSP
202
206
  * @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
207
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
208
+ * @param {string} productSlug
204
209
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
205
210
  * @param {*} [options] Override http request option.
206
211
  * @throws {RequiredError}
207
212
  */
208
- postWebhook: function (pspType, tenantSlug, body, options) {
213
+ postWebhook0: function (pspType, tenantSlug, productSlug, body, options) {
209
214
  return __awaiter(this, void 0, void 0, function () {
210
215
  var localVarAxiosArgs;
211
216
  return __generator(this, function (_a) {
212
217
  switch (_a.label) {
213
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, body, options)];
218
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook0(pspType, tenantSlug, productSlug, body, options)];
214
219
  case 1:
215
220
  localVarAxiosArgs = _a.sent();
216
221
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -223,17 +228,17 @@ var WebhooksApiFp = function (configuration) {
223
228
  * @summary Handle the webhook from PSP
224
229
  * @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
230
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
226
- * @param {string} productSlug Optional product slug associated with the webhook.
231
+ * @param {string} productSlug
227
232
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
228
233
  * @param {*} [options] Override http request option.
229
234
  * @throws {RequiredError}
230
235
  */
231
- postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
236
+ postWebhook1: function (pspType, tenantSlug, productSlug, body, options) {
232
237
  return __awaiter(this, void 0, void 0, function () {
233
238
  var localVarAxiosArgs;
234
239
  return __generator(this, function (_a) {
235
240
  switch (_a.label) {
236
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options)];
241
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook1(pspType, tenantSlug, productSlug, body, options)];
237
242
  case 1:
238
243
  localVarAxiosArgs = _a.sent();
239
244
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -256,25 +261,26 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
256
261
  * @summary Handle the webhook from PSP
257
262
  * @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
263
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
264
+ * @param {string} productSlug
259
265
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
260
266
  * @param {*} [options] Override http request option.
261
267
  * @throws {RequiredError}
262
268
  */
263
- postWebhook: function (pspType, tenantSlug, body, options) {
264
- return localVarFp.postWebhook(pspType, tenantSlug, body, options).then(function (request) { return request(axios, basePath); });
269
+ postWebhook0: function (pspType, tenantSlug, productSlug, body, options) {
270
+ return localVarFp.postWebhook0(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
265
271
  },
266
272
  /**
267
273
  * This will processes the webhook from external payment service provider. **Required Permissions** none
268
274
  * @summary Handle the webhook from PSP
269
275
  * @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
276
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
271
- * @param {string} productSlug Optional product slug associated with the webhook.
277
+ * @param {string} productSlug
272
278
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
273
279
  * @param {*} [options] Override http request option.
274
280
  * @throws {RequiredError}
275
281
  */
276
- postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
277
- return localVarFp.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
282
+ postWebhook1: function (pspType, tenantSlug, productSlug, body, options) {
283
+ return localVarFp.postWebhook1(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
278
284
  },
279
285
  };
280
286
  };
@@ -293,26 +299,26 @@ var WebhooksApi = /** @class */ (function (_super) {
293
299
  /**
294
300
  * This will processes the webhook from external payment service provider. **Required Permissions** none
295
301
  * @summary Handle the webhook from PSP
296
- * @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
302
+ * @param {WebhooksApiPostWebhook0Request} requestParameters Request parameters.
297
303
  * @param {*} [options] Override http request option.
298
304
  * @throws {RequiredError}
299
305
  * @memberof WebhooksApi
300
306
  */
301
- WebhooksApi.prototype.postWebhook = function (requestParameters, options) {
307
+ WebhooksApi.prototype.postWebhook0 = function (requestParameters, options) {
302
308
  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); });
309
+ return (0, exports.WebhooksApiFp)(this.configuration).postWebhook0(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
304
310
  };
305
311
  /**
306
312
  * This will processes the webhook from external payment service provider. **Required Permissions** none
307
313
  * @summary Handle the webhook from PSP
308
- * @param {WebhooksApiPostWebhookWithProductSlugRequest} requestParameters Request parameters.
314
+ * @param {WebhooksApiPostWebhook1Request} requestParameters Request parameters.
309
315
  * @param {*} [options] Override http request option.
310
316
  * @throws {RequiredError}
311
317
  * @memberof WebhooksApi
312
318
  */
313
- WebhooksApi.prototype.postWebhookWithProductSlug = function (requestParameters, options) {
319
+ WebhooksApi.prototype.postWebhook1 = function (requestParameters, options) {
314
320
  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); });
321
+ return (0, exports.WebhooksApiFp)(this.configuration).postWebhook1(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
316
322
  };
317
323
  return WebhooksApi;
318
324
  }(base_1.BaseAPI));
package/dist/base.d.ts CHANGED
@@ -39,8 +39,7 @@ export declare enum Environment {
39
39
  Test = "https://apiv2-test.emil.de",
40
40
  Staging = "https://apiv2-staging.emil.de",
41
41
  Development = "https://apiv2-dev.emil.de",
42
- ProductionZurich = "https://eu-central-2.apiv2.emil.de",
43
- StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
42
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de"
44
43
  }
45
44
  export declare function resetRetry(): void;
46
45
  /**
package/dist/base.js CHANGED
@@ -132,7 +132,6 @@ var Environment;
132
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
- Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
136
135
  })(Environment = exports.Environment || (exports.Environment = {}));
137
136
  var _retry_count = 0;
138
137
  var _retry = null;
@@ -75,12 +75,6 @@ export interface CreatePaymentRequestRequestDto {
75
75
  * @memberof CreatePaymentRequestRequestDto
76
76
  */
77
77
  'settlementCode'?: string;
78
- /**
79
- * Code of the partner the payment request was created for.
80
- * @type {string}
81
- * @memberof CreatePaymentRequestRequestDto
82
- */
83
- 'partnerCode': string;
84
78
  /**
85
79
  * Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
86
80
  * @type {string}
@@ -34,12 +34,6 @@ export interface CreditAllocationClass {
34
34
  * @memberof CreditAllocationClass
35
35
  */
36
36
  'exceedingCreditCodes': Array<string>;
37
- /**
38
- * Partner code derived from the policy related to the exceeding credits.
39
- * @type {string}
40
- * @memberof CreditAllocationClass
41
- */
42
- 'partnerCode': string;
43
37
  /**
44
38
  * Policy code associated with the credit.
45
39
  * @type {string}
@@ -28,12 +28,6 @@ export interface CreditAllocationEntity {
28
28
  * @memberof CreditAllocationEntity
29
29
  */
30
30
  'code': string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof CreditAllocationEntity
35
- */
36
- 'partnerCode': string;
37
31
  /**
38
32
  *
39
33
  * @type {string}
@@ -16,18 +16,18 @@ import { BillingAddressClass } from './billing-address-class';
16
16
  * @interface ListBillingAddressesResponseClass
17
17
  */
18
18
  export interface ListBillingAddressesResponseClass {
19
- /**
20
- * The billing addresses
21
- * @type {Array<BillingAddressClass>}
22
- * @memberof ListBillingAddressesResponseClass
23
- */
24
- 'items': Array<BillingAddressClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListBillingAddressesResponseClass
29
23
  */
30
24
  'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListBillingAddressesResponseClass
29
+ */
30
+ 'totalItems': number;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListBillingAddressesResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * Total amount of items.
39
- * @type {number}
38
+ * The billing addresses
39
+ * @type {Array<BillingAddressClass>}
40
40
  * @memberof ListBillingAddressesResponseClass
41
41
  */
42
- 'totalItems': number;
42
+ 'items': Array<BillingAddressClass>;
43
43
  }