@emilgroup/payment-sdk-node 1.23.1-beta.88 → 1.23.1-beta.90
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
|
*/
|
|
@@ -253,11 +253,11 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
253
253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
254
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
255
255
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
256
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
257
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
256
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
|
|
257
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
|
|
258
258
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
259
259
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
260
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
260
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
|
|
261
261
|
* @param {*} [options] Override http request option.
|
|
262
262
|
* @throws {RequiredError}
|
|
263
263
|
*/
|
|
@@ -452,11 +452,11 @@ var PaymentRequestsApiFp = function (configuration) {
|
|
|
452
452
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
453
453
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
454
454
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
455
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
456
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
455
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
|
|
456
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
|
|
457
457
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
458
458
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
459
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
459
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
|
|
460
460
|
* @param {*} [options] Override http request option.
|
|
461
461
|
* @throws {RequiredError}
|
|
462
462
|
*/
|
|
@@ -545,11 +545,11 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
|
|
|
545
545
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
546
546
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
547
547
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
548
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
549
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
548
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
|
|
549
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
|
|
550
550
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
551
551
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
552
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
552
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
|
|
553
553
|
* @param {*} [options] Override http request option.
|
|
554
554
|
* @throws {RequiredError}
|
|
555
555
|
*/
|
|
@@ -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
|
@@ -101,28 +101,24 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
* @summary Handle the webhook from PSP
|
|
102
102
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
103
103
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
104
|
-
* @param {string} productSlug
|
|
105
104
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
106
105
|
* @param {*} [options] Override http request option.
|
|
107
106
|
* @throws {RequiredError}
|
|
108
107
|
*/
|
|
109
|
-
|
|
108
|
+
postWebhook: function (pspType, tenantSlug, body, options) {
|
|
110
109
|
if (options === void 0) { options = {}; }
|
|
111
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
112
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
113
112
|
return __generator(this, function (_a) {
|
|
114
113
|
// verify required parameter 'pspType' is not null or undefined
|
|
115
|
-
(0, common_1.assertParamExists)('
|
|
114
|
+
(0, common_1.assertParamExists)('postWebhook', 'pspType', pspType);
|
|
116
115
|
// verify required parameter 'tenantSlug' is not null or undefined
|
|
117
|
-
(0, common_1.assertParamExists)('
|
|
118
|
-
// verify required parameter 'productSlug' is not null or undefined
|
|
119
|
-
(0, common_1.assertParamExists)('postWebhook0', 'productSlug', productSlug);
|
|
116
|
+
(0, common_1.assertParamExists)('postWebhook', 'tenantSlug', tenantSlug);
|
|
120
117
|
// verify required parameter 'body' is not null or undefined
|
|
121
|
-
(0, common_1.assertParamExists)('
|
|
118
|
+
(0, common_1.assertParamExists)('postWebhook', 'body', body);
|
|
122
119
|
localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}"
|
|
123
120
|
.replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
|
|
124
|
-
.replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
|
|
125
|
-
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
121
|
+
.replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)));
|
|
126
122
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
127
123
|
if (configuration) {
|
|
128
124
|
baseOptions = configuration.baseOptions;
|
|
@@ -148,24 +144,24 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
148
144
|
* @summary Handle the webhook from PSP
|
|
149
145
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
150
146
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
151
|
-
* @param {string} productSlug
|
|
147
|
+
* @param {string} productSlug Optional product slug associated with the webhook.
|
|
152
148
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
153
149
|
* @param {*} [options] Override http request option.
|
|
154
150
|
* @throws {RequiredError}
|
|
155
151
|
*/
|
|
156
|
-
|
|
152
|
+
postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
|
|
157
153
|
if (options === void 0) { options = {}; }
|
|
158
154
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
156
|
return __generator(this, function (_a) {
|
|
161
157
|
// verify required parameter 'pspType' is not null or undefined
|
|
162
|
-
(0, common_1.assertParamExists)('
|
|
158
|
+
(0, common_1.assertParamExists)('postWebhookWithProductSlug', 'pspType', pspType);
|
|
163
159
|
// verify required parameter 'tenantSlug' is not null or undefined
|
|
164
|
-
(0, common_1.assertParamExists)('
|
|
160
|
+
(0, common_1.assertParamExists)('postWebhookWithProductSlug', 'tenantSlug', tenantSlug);
|
|
165
161
|
// verify required parameter 'productSlug' is not null or undefined
|
|
166
|
-
(0, common_1.assertParamExists)('
|
|
162
|
+
(0, common_1.assertParamExists)('postWebhookWithProductSlug', 'productSlug', productSlug);
|
|
167
163
|
// verify required parameter 'body' is not null or undefined
|
|
168
|
-
(0, common_1.assertParamExists)('
|
|
164
|
+
(0, common_1.assertParamExists)('postWebhookWithProductSlug', 'body', body);
|
|
169
165
|
localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}/{productSlug}"
|
|
170
166
|
.replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
|
|
171
167
|
.replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
|
|
@@ -205,17 +201,16 @@ var WebhooksApiFp = function (configuration) {
|
|
|
205
201
|
* @summary Handle the webhook from PSP
|
|
206
202
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
207
203
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
208
|
-
* @param {string} productSlug
|
|
209
204
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
210
205
|
* @param {*} [options] Override http request option.
|
|
211
206
|
* @throws {RequiredError}
|
|
212
207
|
*/
|
|
213
|
-
|
|
208
|
+
postWebhook: function (pspType, tenantSlug, body, options) {
|
|
214
209
|
return __awaiter(this, void 0, void 0, function () {
|
|
215
210
|
var localVarAxiosArgs;
|
|
216
211
|
return __generator(this, function (_a) {
|
|
217
212
|
switch (_a.label) {
|
|
218
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
213
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, body, options)];
|
|
219
214
|
case 1:
|
|
220
215
|
localVarAxiosArgs = _a.sent();
|
|
221
216
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -228,17 +223,17 @@ var WebhooksApiFp = function (configuration) {
|
|
|
228
223
|
* @summary Handle the webhook from PSP
|
|
229
224
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
230
225
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
231
|
-
* @param {string} productSlug
|
|
226
|
+
* @param {string} productSlug Optional product slug associated with the webhook.
|
|
232
227
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
233
228
|
* @param {*} [options] Override http request option.
|
|
234
229
|
* @throws {RequiredError}
|
|
235
230
|
*/
|
|
236
|
-
|
|
231
|
+
postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
|
|
237
232
|
return __awaiter(this, void 0, void 0, function () {
|
|
238
233
|
var localVarAxiosArgs;
|
|
239
234
|
return __generator(this, function (_a) {
|
|
240
235
|
switch (_a.label) {
|
|
241
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
236
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options)];
|
|
242
237
|
case 1:
|
|
243
238
|
localVarAxiosArgs = _a.sent();
|
|
244
239
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -261,26 +256,25 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
261
256
|
* @summary Handle the webhook from PSP
|
|
262
257
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
263
258
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
264
|
-
* @param {string} productSlug
|
|
265
259
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
266
260
|
* @param {*} [options] Override http request option.
|
|
267
261
|
* @throws {RequiredError}
|
|
268
262
|
*/
|
|
269
|
-
|
|
270
|
-
return localVarFp.
|
|
263
|
+
postWebhook: function (pspType, tenantSlug, body, options) {
|
|
264
|
+
return localVarFp.postWebhook(pspType, tenantSlug, body, options).then(function (request) { return request(axios, basePath); });
|
|
271
265
|
},
|
|
272
266
|
/**
|
|
273
267
|
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
274
268
|
* @summary Handle the webhook from PSP
|
|
275
269
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
276
270
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
277
|
-
* @param {string} productSlug
|
|
271
|
+
* @param {string} productSlug Optional product slug associated with the webhook.
|
|
278
272
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
279
273
|
* @param {*} [options] Override http request option.
|
|
280
274
|
* @throws {RequiredError}
|
|
281
275
|
*/
|
|
282
|
-
|
|
283
|
-
return localVarFp.
|
|
276
|
+
postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
|
|
277
|
+
return localVarFp.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
|
|
284
278
|
},
|
|
285
279
|
};
|
|
286
280
|
};
|
|
@@ -299,26 +293,26 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
299
293
|
/**
|
|
300
294
|
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
301
295
|
* @summary Handle the webhook from PSP
|
|
302
|
-
* @param {
|
|
296
|
+
* @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
|
|
303
297
|
* @param {*} [options] Override http request option.
|
|
304
298
|
* @throws {RequiredError}
|
|
305
299
|
* @memberof WebhooksApi
|
|
306
300
|
*/
|
|
307
|
-
WebhooksApi.prototype.
|
|
301
|
+
WebhooksApi.prototype.postWebhook = function (requestParameters, options) {
|
|
308
302
|
var _this = this;
|
|
309
|
-
return (0, exports.WebhooksApiFp)(this.configuration).
|
|
303
|
+
return (0, exports.WebhooksApiFp)(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
310
304
|
};
|
|
311
305
|
/**
|
|
312
306
|
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
313
307
|
* @summary Handle the webhook from PSP
|
|
314
|
-
* @param {
|
|
308
|
+
* @param {WebhooksApiPostWebhookWithProductSlugRequest} requestParameters Request parameters.
|
|
315
309
|
* @param {*} [options] Override http request option.
|
|
316
310
|
* @throws {RequiredError}
|
|
317
311
|
* @memberof WebhooksApi
|
|
318
312
|
*/
|
|
319
|
-
WebhooksApi.prototype.
|
|
313
|
+
WebhooksApi.prototype.postWebhookWithProductSlug = function (requestParameters, options) {
|
|
320
314
|
var _this = this;
|
|
321
|
-
return (0, exports.WebhooksApiFp)(this.configuration).
|
|
315
|
+
return (0, exports.WebhooksApiFp)(this.configuration).postWebhookWithProductSlug(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
322
316
|
};
|
|
323
317
|
return WebhooksApi;
|
|
324
318
|
}(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
|
@@ -132,6 +132,7 @@ var Environment;
|
|
|
132
132
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
133
133
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
134
134
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
135
|
+
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
135
136
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
136
137
|
var _retry_count = 0;
|
|
137
138
|
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
|
}
|