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