@emilgroup/payment-sdk 1.16.1-beta.83 → 1.16.1-beta.85
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 +2 -2
- package/api/payment-reminders-api.ts +12 -12
- package/api/payment-requests-api.ts +12 -12
- package/api/webhooks-api.ts +54 -41
- package/base.ts +0 -1
- package/dist/api/payment-reminders-api.d.ts +12 -12
- package/dist/api/payment-reminders-api.js +9 -9
- package/dist/api/payment-requests-api.d.ts +12 -12
- package/dist/api/payment-requests-api.js +9 -9
- package/dist/api/webhooks-api.d.ts +36 -27
- package/dist/api/webhooks-api.js +33 -27
- package/dist/base.d.ts +1 -2
- package/dist/base.js +0 -1
- package/dist/models/create-payment-request-request-dto.d.ts +0 -6
- package/dist/models/credit-allocation-class.d.ts +0 -6
- package/dist/models/credit-allocation-entity.d.ts +0 -6
- package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
- package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
- package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
- package/dist/models/list-payment-requests-response-class.d.ts +18 -6
- package/dist/models/list-payout-methods-response-class.d.ts +9 -9
- package/dist/models/list-refunds-response-class.d.ts +18 -6
- package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
- package/dist/models/payment-class.d.ts +1 -1
- package/dist/models/payment-entity.d.ts +1 -1
- package/dist/models/payment-request-class.d.ts +0 -12
- package/models/create-payment-request-request-dto.ts +0 -6
- package/models/credit-allocation-class.ts +0 -6
- package/models/credit-allocation-entity.ts +0 -6
- package/models/list-billing-addresses-response-class.ts +9 -9
- package/models/list-exceeding-credits-response-class.ts +18 -6
- package/models/list-payment-receipts-response-class.ts +9 -9
- package/models/list-payment-requests-response-class.ts +18 -6
- package/models/list-payout-methods-response-class.ts +9 -9
- package/models/list-refunds-response-class.ts +18 -6
- package/models/payment-class-without-expand-properties.ts +1 -1
- package/models/payment-class.ts +1 -1
- package/models/payment-entity.ts +1 -1
- package/models/payment-request-class.ts +0 -12
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
*/
|
|
@@ -249,11 +249,11 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
250
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
251
|
* @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.
|
|
252
|
-
* @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
|
|
253
|
-
* @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
|
|
252
|
+
* @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>
|
|
253
|
+
* @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>
|
|
254
254
|
* @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>
|
|
255
255
|
* @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>
|
|
256
|
-
* @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
|
|
256
|
+
* @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>
|
|
257
257
|
* @param {*} [options] Override http request option.
|
|
258
258
|
* @throws {RequiredError}
|
|
259
259
|
*/
|
|
@@ -448,11 +448,11 @@ var PaymentRequestsApiFp = function (configuration) {
|
|
|
448
448
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
449
449
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
450
450
|
* @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.
|
|
451
|
-
* @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
|
|
452
|
-
* @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
|
|
451
|
+
* @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>
|
|
452
|
+
* @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>
|
|
453
453
|
* @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>
|
|
454
454
|
* @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>
|
|
455
|
-
* @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
|
|
455
|
+
* @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>
|
|
456
456
|
* @param {*} [options] Override http request option.
|
|
457
457
|
* @throws {RequiredError}
|
|
458
458
|
*/
|
|
@@ -541,11 +541,11 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
|
|
|
541
541
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
542
542
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
543
543
|
* @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.
|
|
544
|
-
* @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
|
|
545
|
-
* @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
|
|
544
|
+
* @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>
|
|
545
|
+
* @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>
|
|
546
546
|
* @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>
|
|
547
547
|
* @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>
|
|
548
|
-
* @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
|
|
548
|
+
* @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>
|
|
549
549
|
* @param {*} [options] Override http request option.
|
|
550
550
|
* @throws {RequiredError}
|
|
551
551
|
*/
|
|
@@ -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
|
-
|
|
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).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
34
35
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
35
|
-
* @param {string} productSlug
|
|
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
|
-
|
|
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).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
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
|
-
|
|
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).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
61
63
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
62
|
-
* @param {string} productSlug
|
|
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
|
-
|
|
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).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
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
|
-
|
|
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).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
88
91
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
89
|
-
* @param {string} productSlug
|
|
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
|
-
|
|
97
|
+
postWebhook1(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void>;
|
|
95
98
|
};
|
|
96
99
|
/**
|
|
97
|
-
* Request parameters for
|
|
100
|
+
* Request parameters for postWebhook0 operation in WebhooksApi.
|
|
98
101
|
* @export
|
|
99
|
-
* @interface
|
|
102
|
+
* @interface WebhooksApiPostWebhook0Request
|
|
100
103
|
*/
|
|
101
|
-
export interface
|
|
104
|
+
export interface WebhooksApiPostWebhook0Request {
|
|
102
105
|
/**
|
|
103
106
|
* The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
104
107
|
* @type {string}
|
|
105
|
-
* @memberof
|
|
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
|
|
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
|
|
126
|
+
* @memberof WebhooksApiPostWebhook0
|
|
118
127
|
*/
|
|
119
128
|
readonly body: object;
|
|
120
129
|
}
|
|
121
130
|
/**
|
|
122
|
-
* Request parameters for
|
|
131
|
+
* Request parameters for postWebhook1 operation in WebhooksApi.
|
|
123
132
|
* @export
|
|
124
|
-
* @interface
|
|
133
|
+
* @interface WebhooksApiPostWebhook1Request
|
|
125
134
|
*/
|
|
126
|
-
export interface
|
|
135
|
+
export interface WebhooksApiPostWebhook1Request {
|
|
127
136
|
/**
|
|
128
137
|
* The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
129
138
|
* @type {string}
|
|
130
|
-
* @memberof
|
|
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
|
|
145
|
+
* @memberof WebhooksApiPostWebhook1
|
|
137
146
|
*/
|
|
138
147
|
readonly tenantSlug: string;
|
|
139
148
|
/**
|
|
140
|
-
*
|
|
149
|
+
*
|
|
141
150
|
* @type {string}
|
|
142
|
-
* @memberof
|
|
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
|
|
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 {
|
|
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
|
-
|
|
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 {
|
|
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
|
-
|
|
185
|
+
postWebhook1(requestParameters: WebhooksApiPostWebhook1Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
177
186
|
}
|
package/dist/api/webhooks-api.js
CHANGED
|
@@ -97,24 +97,28 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
* @summary Handle the webhook from PSP
|
|
98
98
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
99
99
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
100
|
+
* @param {string} productSlug
|
|
100
101
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
101
102
|
* @param {*} [options] Override http request option.
|
|
102
103
|
* @throws {RequiredError}
|
|
103
104
|
*/
|
|
104
|
-
|
|
105
|
+
postWebhook0: function (pspType, tenantSlug, productSlug, body, options) {
|
|
105
106
|
if (options === void 0) { options = {}; }
|
|
106
107
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
108
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
109
|
return __generator(this, function (_a) {
|
|
109
110
|
// verify required parameter 'pspType' is not null or undefined
|
|
110
|
-
(0, common_1.assertParamExists)('
|
|
111
|
+
(0, common_1.assertParamExists)('postWebhook0', 'pspType', pspType);
|
|
111
112
|
// verify required parameter 'tenantSlug' is not null or undefined
|
|
112
|
-
(0, common_1.assertParamExists)('
|
|
113
|
+
(0, common_1.assertParamExists)('postWebhook0', 'tenantSlug', tenantSlug);
|
|
114
|
+
// verify required parameter 'productSlug' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('postWebhook0', 'productSlug', productSlug);
|
|
113
116
|
// verify required parameter 'body' is not null or undefined
|
|
114
|
-
(0, common_1.assertParamExists)('
|
|
117
|
+
(0, common_1.assertParamExists)('postWebhook0', 'body', body);
|
|
115
118
|
localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}"
|
|
116
119
|
.replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
|
|
117
|
-
.replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
|
|
120
|
+
.replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
|
|
121
|
+
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
118
122
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
119
123
|
if (configuration) {
|
|
120
124
|
baseOptions = configuration.baseOptions;
|
|
@@ -140,24 +144,24 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
140
144
|
* @summary Handle the webhook from PSP
|
|
141
145
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
142
146
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
143
|
-
* @param {string} productSlug
|
|
147
|
+
* @param {string} productSlug
|
|
144
148
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
145
149
|
* @param {*} [options] Override http request option.
|
|
146
150
|
* @throws {RequiredError}
|
|
147
151
|
*/
|
|
148
|
-
|
|
152
|
+
postWebhook1: function (pspType, tenantSlug, productSlug, body, options) {
|
|
149
153
|
if (options === void 0) { options = {}; }
|
|
150
154
|
return __awaiter(_this, void 0, void 0, function () {
|
|
151
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
152
156
|
return __generator(this, function (_a) {
|
|
153
157
|
// verify required parameter 'pspType' is not null or undefined
|
|
154
|
-
(0, common_1.assertParamExists)('
|
|
158
|
+
(0, common_1.assertParamExists)('postWebhook1', 'pspType', pspType);
|
|
155
159
|
// verify required parameter 'tenantSlug' is not null or undefined
|
|
156
|
-
(0, common_1.assertParamExists)('
|
|
160
|
+
(0, common_1.assertParamExists)('postWebhook1', 'tenantSlug', tenantSlug);
|
|
157
161
|
// verify required parameter 'productSlug' is not null or undefined
|
|
158
|
-
(0, common_1.assertParamExists)('
|
|
162
|
+
(0, common_1.assertParamExists)('postWebhook1', 'productSlug', productSlug);
|
|
159
163
|
// verify required parameter 'body' is not null or undefined
|
|
160
|
-
(0, common_1.assertParamExists)('
|
|
164
|
+
(0, common_1.assertParamExists)('postWebhook1', 'body', body);
|
|
161
165
|
localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}/{productSlug}"
|
|
162
166
|
.replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
|
|
163
167
|
.replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
|
|
@@ -197,16 +201,17 @@ var WebhooksApiFp = function (configuration) {
|
|
|
197
201
|
* @summary Handle the webhook from PSP
|
|
198
202
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
199
203
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
204
|
+
* @param {string} productSlug
|
|
200
205
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
201
206
|
* @param {*} [options] Override http request option.
|
|
202
207
|
* @throws {RequiredError}
|
|
203
208
|
*/
|
|
204
|
-
|
|
209
|
+
postWebhook0: function (pspType, tenantSlug, productSlug, body, options) {
|
|
205
210
|
return __awaiter(this, void 0, void 0, function () {
|
|
206
211
|
var localVarAxiosArgs;
|
|
207
212
|
return __generator(this, function (_a) {
|
|
208
213
|
switch (_a.label) {
|
|
209
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
214
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook0(pspType, tenantSlug, productSlug, body, options)];
|
|
210
215
|
case 1:
|
|
211
216
|
localVarAxiosArgs = _a.sent();
|
|
212
217
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -219,17 +224,17 @@ var WebhooksApiFp = function (configuration) {
|
|
|
219
224
|
* @summary Handle the webhook from PSP
|
|
220
225
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
221
226
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
222
|
-
* @param {string} productSlug
|
|
227
|
+
* @param {string} productSlug
|
|
223
228
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
224
229
|
* @param {*} [options] Override http request option.
|
|
225
230
|
* @throws {RequiredError}
|
|
226
231
|
*/
|
|
227
|
-
|
|
232
|
+
postWebhook1: function (pspType, tenantSlug, productSlug, body, options) {
|
|
228
233
|
return __awaiter(this, void 0, void 0, function () {
|
|
229
234
|
var localVarAxiosArgs;
|
|
230
235
|
return __generator(this, function (_a) {
|
|
231
236
|
switch (_a.label) {
|
|
232
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
237
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook1(pspType, tenantSlug, productSlug, body, options)];
|
|
233
238
|
case 1:
|
|
234
239
|
localVarAxiosArgs = _a.sent();
|
|
235
240
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -252,25 +257,26 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
252
257
|
* @summary Handle the webhook from PSP
|
|
253
258
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
254
259
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
260
|
+
* @param {string} productSlug
|
|
255
261
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
256
262
|
* @param {*} [options] Override http request option.
|
|
257
263
|
* @throws {RequiredError}
|
|
258
264
|
*/
|
|
259
|
-
|
|
260
|
-
return localVarFp.
|
|
265
|
+
postWebhook0: function (pspType, tenantSlug, productSlug, body, options) {
|
|
266
|
+
return localVarFp.postWebhook0(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
|
|
261
267
|
},
|
|
262
268
|
/**
|
|
263
269
|
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
264
270
|
* @summary Handle the webhook from PSP
|
|
265
271
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
266
272
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
267
|
-
* @param {string} productSlug
|
|
273
|
+
* @param {string} productSlug
|
|
268
274
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
269
275
|
* @param {*} [options] Override http request option.
|
|
270
276
|
* @throws {RequiredError}
|
|
271
277
|
*/
|
|
272
|
-
|
|
273
|
-
return localVarFp.
|
|
278
|
+
postWebhook1: function (pspType, tenantSlug, productSlug, body, options) {
|
|
279
|
+
return localVarFp.postWebhook1(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
|
|
274
280
|
},
|
|
275
281
|
};
|
|
276
282
|
};
|
|
@@ -289,26 +295,26 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
289
295
|
/**
|
|
290
296
|
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
291
297
|
* @summary Handle the webhook from PSP
|
|
292
|
-
* @param {
|
|
298
|
+
* @param {WebhooksApiPostWebhook0Request} requestParameters Request parameters.
|
|
293
299
|
* @param {*} [options] Override http request option.
|
|
294
300
|
* @throws {RequiredError}
|
|
295
301
|
* @memberof WebhooksApi
|
|
296
302
|
*/
|
|
297
|
-
WebhooksApi.prototype.
|
|
303
|
+
WebhooksApi.prototype.postWebhook0 = function (requestParameters, options) {
|
|
298
304
|
var _this = this;
|
|
299
|
-
return (0, exports.WebhooksApiFp)(this.configuration).
|
|
305
|
+
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); });
|
|
300
306
|
};
|
|
301
307
|
/**
|
|
302
308
|
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
303
309
|
* @summary Handle the webhook from PSP
|
|
304
|
-
* @param {
|
|
310
|
+
* @param {WebhooksApiPostWebhook1Request} requestParameters Request parameters.
|
|
305
311
|
* @param {*} [options] Override http request option.
|
|
306
312
|
* @throws {RequiredError}
|
|
307
313
|
* @memberof WebhooksApi
|
|
308
314
|
*/
|
|
309
|
-
WebhooksApi.prototype.
|
|
315
|
+
WebhooksApi.prototype.postWebhook1 = function (requestParameters, options) {
|
|
310
316
|
var _this = this;
|
|
311
|
-
return (0, exports.WebhooksApiFp)(this.configuration).
|
|
317
|
+
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); });
|
|
312
318
|
};
|
|
313
319
|
return WebhooksApi;
|
|
314
320
|
}(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
|
@@ -102,7 +102,6 @@ var Environment;
|
|
|
102
102
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
103
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
104
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
105
|
-
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
106
105
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
107
106
|
var _retry_count = 0;
|
|
108
107
|
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}
|
|
@@ -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
|
-
*
|
|
39
|
-
* @type {
|
|
38
|
+
* The billing addresses
|
|
39
|
+
* @type {Array<BillingAddressClass>}
|
|
40
40
|
* @memberof ListBillingAddressesResponseClass
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
42
|
+
'items': Array<BillingAddressClass>;
|
|
43
43
|
}
|