@emilgroup/payment-sdk-node 1.21.1-beta.2 → 1.21.1-beta.4
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/bank-accounts-api.ts +24 -24
- package/api/bank-transaction-api.ts +20 -20
- package/api/payment-methods-api.ts +12 -12
- package/api/payment-reminders-api.ts +30 -30
- package/api/payment-setup-api.ts +8 -8
- package/api/payments-api.ts +12 -12
- package/api/refunds-api.ts +12 -12
- package/api/webhooks-api.ts +4 -4
- package/dist/api/bank-accounts-api.d.ts +24 -24
- package/dist/api/bank-accounts-api.js +24 -24
- package/dist/api/bank-transaction-api.d.ts +20 -20
- package/dist/api/bank-transaction-api.js +20 -20
- package/dist/api/payment-methods-api.d.ts +12 -12
- package/dist/api/payment-methods-api.js +12 -12
- package/dist/api/payment-reminders-api.d.ts +26 -26
- package/dist/api/payment-reminders-api.js +25 -25
- package/dist/api/payment-setup-api.d.ts +8 -8
- package/dist/api/payment-setup-api.js +8 -8
- package/dist/api/payments-api.d.ts +12 -12
- package/dist/api/payments-api.js +12 -12
- package/dist/api/refunds-api.d.ts +12 -12
- package/dist/api/refunds-api.js +12 -12
- package/dist/api/webhooks-api.d.ts +4 -4
- package/dist/api/webhooks-api.js +4 -4
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +8 -2
- package/dist/models/bank-transaction-class.d.ts +8 -2
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +8 -2
- package/models/bank-transaction-class-without-expand-properties.ts +8 -2
- package/models/bank-transaction-class.ts +8 -2
- package/models/unlinked-bank-transaction-response-class.ts +8 -2
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ import { ListRefundsResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* This will create a refund in the database.
|
|
25
|
+
* This will create a refund in the database. **Required Permissions** \"payment-management.payments.create\"
|
|
26
26
|
* @summary Create the refund
|
|
27
27
|
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
28
28
|
* @param {string} [authorization] Bearer Token
|
|
@@ -31,7 +31,7 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
31
31
|
*/
|
|
32
32
|
createRefund: (createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
34
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
|
|
35
35
|
* @summary Retrieve the refund
|
|
36
36
|
* @param {string} code
|
|
37
37
|
* @param {string} [authorization] Bearer Token
|
|
@@ -41,7 +41,7 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
41
41
|
*/
|
|
42
42
|
getRefund: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
|
-
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
44
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
45
45
|
* @summary List refunds
|
|
46
46
|
* @param {string} [authorization] Bearer Token
|
|
47
47
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
@@ -60,7 +60,7 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
60
60
|
*/
|
|
61
61
|
export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
62
62
|
/**
|
|
63
|
-
* This will create a refund in the database.
|
|
63
|
+
* This will create a refund in the database. **Required Permissions** \"payment-management.payments.create\"
|
|
64
64
|
* @summary Create the refund
|
|
65
65
|
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
66
66
|
* @param {string} [authorization] Bearer Token
|
|
@@ -69,7 +69,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
69
69
|
*/
|
|
70
70
|
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRefundResponseClass>>;
|
|
71
71
|
/**
|
|
72
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
72
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
|
|
73
73
|
* @summary Retrieve the refund
|
|
74
74
|
* @param {string} code
|
|
75
75
|
* @param {string} [authorization] Bearer Token
|
|
@@ -79,7 +79,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
79
79
|
*/
|
|
80
80
|
getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>>;
|
|
81
81
|
/**
|
|
82
|
-
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
82
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
83
83
|
* @summary List refunds
|
|
84
84
|
* @param {string} [authorization] Bearer Token
|
|
85
85
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
@@ -98,7 +98,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
98
98
|
*/
|
|
99
99
|
export declare const RefundsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
100
100
|
/**
|
|
101
|
-
* This will create a refund in the database.
|
|
101
|
+
* This will create a refund in the database. **Required Permissions** \"payment-management.payments.create\"
|
|
102
102
|
* @summary Create the refund
|
|
103
103
|
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
104
104
|
* @param {string} [authorization] Bearer Token
|
|
@@ -107,7 +107,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
107
107
|
*/
|
|
108
108
|
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<CreateRefundResponseClass>;
|
|
109
109
|
/**
|
|
110
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
110
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
|
|
111
111
|
* @summary Retrieve the refund
|
|
112
112
|
* @param {string} code
|
|
113
113
|
* @param {string} [authorization] Bearer Token
|
|
@@ -117,7 +117,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
117
117
|
*/
|
|
118
118
|
getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass>;
|
|
119
119
|
/**
|
|
120
|
-
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
120
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
121
121
|
* @summary List refunds
|
|
122
122
|
* @param {string} [authorization] Bearer Token
|
|
123
123
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
@@ -225,7 +225,7 @@ export interface RefundsApiListRefundsRequest {
|
|
|
225
225
|
*/
|
|
226
226
|
export declare class RefundsApi extends BaseAPI {
|
|
227
227
|
/**
|
|
228
|
-
* This will create a refund in the database.
|
|
228
|
+
* This will create a refund in the database. **Required Permissions** \"payment-management.payments.create\"
|
|
229
229
|
* @summary Create the refund
|
|
230
230
|
* @param {RefundsApiCreateRefundRequest} requestParameters Request parameters.
|
|
231
231
|
* @param {*} [options] Override http request option.
|
|
@@ -234,7 +234,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
234
234
|
*/
|
|
235
235
|
createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRefundResponseClass, any>>;
|
|
236
236
|
/**
|
|
237
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
237
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
|
|
238
238
|
* @summary Retrieve the refund
|
|
239
239
|
* @param {RefundsApiGetRefundRequest} requestParameters Request parameters.
|
|
240
240
|
* @param {*} [options] Override http request option.
|
|
@@ -243,7 +243,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
243
243
|
*/
|
|
244
244
|
getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRefundResponseClass, any>>;
|
|
245
245
|
/**
|
|
246
|
-
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
246
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
247
247
|
* @summary List refunds
|
|
248
248
|
* @param {RefundsApiListRefundsRequest} requestParameters Request parameters.
|
|
249
249
|
* @param {*} [options] Override http request option.
|
package/dist/api/refunds-api.js
CHANGED
|
@@ -97,7 +97,7 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create a refund in the database.
|
|
100
|
+
* This will create a refund in the database. **Required Permissions** \"payment-management.payments.create\"
|
|
101
101
|
* @summary Create the refund
|
|
102
102
|
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
@@ -146,7 +146,7 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
149
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
|
|
150
150
|
* @summary Retrieve the refund
|
|
151
151
|
* @param {string} code
|
|
152
152
|
* @param {string} [authorization] Bearer Token
|
|
@@ -198,7 +198,7 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
});
|
|
199
199
|
},
|
|
200
200
|
/**
|
|
201
|
-
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
201
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
202
202
|
* @summary List refunds
|
|
203
203
|
* @param {string} [authorization] Bearer Token
|
|
204
204
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
@@ -272,7 +272,7 @@ var RefundsApiFp = function (configuration) {
|
|
|
272
272
|
var localVarAxiosParamCreator = (0, exports.RefundsApiAxiosParamCreator)(configuration);
|
|
273
273
|
return {
|
|
274
274
|
/**
|
|
275
|
-
* This will create a refund in the database.
|
|
275
|
+
* This will create a refund in the database. **Required Permissions** \"payment-management.payments.create\"
|
|
276
276
|
* @summary Create the refund
|
|
277
277
|
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
278
278
|
* @param {string} [authorization] Bearer Token
|
|
@@ -293,7 +293,7 @@ var RefundsApiFp = function (configuration) {
|
|
|
293
293
|
});
|
|
294
294
|
},
|
|
295
295
|
/**
|
|
296
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
296
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
|
|
297
297
|
* @summary Retrieve the refund
|
|
298
298
|
* @param {string} code
|
|
299
299
|
* @param {string} [authorization] Bearer Token
|
|
@@ -315,7 +315,7 @@ var RefundsApiFp = function (configuration) {
|
|
|
315
315
|
});
|
|
316
316
|
},
|
|
317
317
|
/**
|
|
318
|
-
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
318
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
319
319
|
* @summary List refunds
|
|
320
320
|
* @param {string} [authorization] Bearer Token
|
|
321
321
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
@@ -350,7 +350,7 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
|
|
|
350
350
|
var localVarFp = (0, exports.RefundsApiFp)(configuration);
|
|
351
351
|
return {
|
|
352
352
|
/**
|
|
353
|
-
* This will create a refund in the database.
|
|
353
|
+
* This will create a refund in the database. **Required Permissions** \"payment-management.payments.create\"
|
|
354
354
|
* @summary Create the refund
|
|
355
355
|
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
356
356
|
* @param {string} [authorization] Bearer Token
|
|
@@ -361,7 +361,7 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
|
|
|
361
361
|
return localVarFp.createRefund(createRefundRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
362
362
|
},
|
|
363
363
|
/**
|
|
364
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
364
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
|
|
365
365
|
* @summary Retrieve the refund
|
|
366
366
|
* @param {string} code
|
|
367
367
|
* @param {string} [authorization] Bearer Token
|
|
@@ -373,7 +373,7 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
|
|
|
373
373
|
return localVarFp.getRefund(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
374
374
|
},
|
|
375
375
|
/**
|
|
376
|
-
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
376
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
377
377
|
* @summary List refunds
|
|
378
378
|
* @param {string} [authorization] Bearer Token
|
|
379
379
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
@@ -402,7 +402,7 @@ var RefundsApi = /** @class */ (function (_super) {
|
|
|
402
402
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
|
-
* This will create a refund in the database.
|
|
405
|
+
* This will create a refund in the database. **Required Permissions** \"payment-management.payments.create\"
|
|
406
406
|
* @summary Create the refund
|
|
407
407
|
* @param {RefundsApiCreateRefundRequest} requestParameters Request parameters.
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
@@ -414,7 +414,7 @@ var RefundsApi = /** @class */ (function (_super) {
|
|
|
414
414
|
return (0, exports.RefundsApiFp)(this.configuration).createRefund(requestParameters.createRefundRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
415
415
|
};
|
|
416
416
|
/**
|
|
417
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
417
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
|
|
418
418
|
* @summary Retrieve the refund
|
|
419
419
|
* @param {RefundsApiGetRefundRequest} requestParameters Request parameters.
|
|
420
420
|
* @param {*} [options] Override http request option.
|
|
@@ -426,7 +426,7 @@ var RefundsApi = /** @class */ (function (_super) {
|
|
|
426
426
|
return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
427
427
|
};
|
|
428
428
|
/**
|
|
429
|
-
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
429
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
430
430
|
* @summary List refunds
|
|
431
431
|
* @param {RefundsApiListRefundsRequest} requestParameters Request parameters.
|
|
432
432
|
* @param {*} [options] Override http request option.
|
|
@@ -18,7 +18,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
20
|
/**
|
|
21
|
-
* This will processes the webhook from external payment service provider.
|
|
21
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
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.
|
|
@@ -35,7 +35,7 @@ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
35
35
|
*/
|
|
36
36
|
export declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
37
37
|
/**
|
|
38
|
-
* This will processes the webhook from external payment service provider.
|
|
38
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
39
39
|
* @summary Handle the webhook from PSP
|
|
40
40
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
41
41
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -52,7 +52,7 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
|
52
52
|
*/
|
|
53
53
|
export declare const WebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
54
54
|
/**
|
|
55
|
-
* This will processes the webhook from external payment service provider.
|
|
55
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
56
56
|
* @summary Handle the webhook from PSP
|
|
57
57
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
58
58
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -102,7 +102,7 @@ export interface WebhooksApiPostWebhookRequest {
|
|
|
102
102
|
*/
|
|
103
103
|
export declare class WebhooksApi extends BaseAPI {
|
|
104
104
|
/**
|
|
105
|
-
* This will processes the webhook from external payment service provider.
|
|
105
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
106
106
|
* @summary Handle the webhook from PSP
|
|
107
107
|
* @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
|
|
108
108
|
* @param {*} [options] Override http request option.
|
package/dist/api/webhooks-api.js
CHANGED
|
@@ -97,7 +97,7 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will processes the webhook from external payment service provider.
|
|
100
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
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.
|
|
@@ -154,7 +154,7 @@ var WebhooksApiFp = function (configuration) {
|
|
|
154
154
|
var localVarAxiosParamCreator = (0, exports.WebhooksApiAxiosParamCreator)(configuration);
|
|
155
155
|
return {
|
|
156
156
|
/**
|
|
157
|
-
* This will processes the webhook from external payment service provider.
|
|
157
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
158
158
|
* @summary Handle the webhook from PSP
|
|
159
159
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
160
160
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -187,7 +187,7 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
187
187
|
var localVarFp = (0, exports.WebhooksApiFp)(configuration);
|
|
188
188
|
return {
|
|
189
189
|
/**
|
|
190
|
-
* This will processes the webhook from external payment service provider.
|
|
190
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
191
191
|
* @summary Handle the webhook from PSP
|
|
192
192
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
193
193
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
@@ -214,7 +214,7 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
214
214
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
|
-
* This will processes the webhook from external payment service provider.
|
|
217
|
+
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
218
218
|
* @summary Handle the webhook from PSP
|
|
219
219
|
* @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
|
|
220
220
|
* @param {*} [options] Override http request option.
|
|
@@ -40,11 +40,11 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
40
40
|
*/
|
|
41
41
|
'bankAccountNumber': string;
|
|
42
42
|
/**
|
|
43
|
-
* Reference number derived from the MT940
|
|
43
|
+
* Reference number derived from the MT940 or CAMT file
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'messageReference'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Currency of the transaction.
|
|
50
50
|
* @type {string}
|
|
@@ -105,6 +105,12 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
105
105
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
106
106
|
*/
|
|
107
107
|
'isLinked': boolean;
|
|
108
|
+
/**
|
|
109
|
+
* The file format of the bank transaction
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
112
|
+
*/
|
|
113
|
+
'importedFrom': string;
|
|
108
114
|
/**
|
|
109
115
|
* Time at which the object was created.
|
|
110
116
|
* @type {string}
|
|
@@ -42,11 +42,11 @@ export interface BankTransactionClass {
|
|
|
42
42
|
*/
|
|
43
43
|
'bankAccountNumber': string;
|
|
44
44
|
/**
|
|
45
|
-
* Reference number derived from the MT940
|
|
45
|
+
* Reference number derived from the MT940 or CAMT file
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof BankTransactionClass
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'messageReference'?: string;
|
|
50
50
|
/**
|
|
51
51
|
* Currency of the transaction.
|
|
52
52
|
* @type {string}
|
|
@@ -119,6 +119,12 @@ export interface BankTransactionClass {
|
|
|
119
119
|
* @memberof BankTransactionClass
|
|
120
120
|
*/
|
|
121
121
|
'linkedTransaction'?: SharedTransactionClass;
|
|
122
|
+
/**
|
|
123
|
+
* The file format of the bank transaction
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof BankTransactionClass
|
|
126
|
+
*/
|
|
127
|
+
'importedFrom': string;
|
|
122
128
|
/**
|
|
123
129
|
* Time at which the object was created.
|
|
124
130
|
* @type {string}
|
|
@@ -40,11 +40,11 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
40
40
|
*/
|
|
41
41
|
'bankAccountNumber': string;
|
|
42
42
|
/**
|
|
43
|
-
* Reference number derived from the MT940
|
|
43
|
+
* Reference number derived from the MT940 or CAMT file
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'messageReference'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Currency of the transaction.
|
|
50
50
|
* @type {string}
|
|
@@ -87,6 +87,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
87
87
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
88
88
|
*/
|
|
89
89
|
'isLinked': boolean;
|
|
90
|
+
/**
|
|
91
|
+
* The file format of the bank transaction
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
94
|
+
*/
|
|
95
|
+
'importedFrom': string;
|
|
90
96
|
/**
|
|
91
97
|
* Time at which the object was created.
|
|
92
98
|
* @type {string}
|
|
@@ -45,11 +45,11 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
45
45
|
*/
|
|
46
46
|
'bankAccountNumber': string;
|
|
47
47
|
/**
|
|
48
|
-
* Reference number derived from the MT940
|
|
48
|
+
* Reference number derived from the MT940 or CAMT file
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'messageReference'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* Currency of the transaction.
|
|
55
55
|
* @type {string}
|
|
@@ -110,6 +110,12 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
110
110
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
111
111
|
*/
|
|
112
112
|
'isLinked': boolean;
|
|
113
|
+
/**
|
|
114
|
+
* The file format of the bank transaction
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
117
|
+
*/
|
|
118
|
+
'importedFrom': string;
|
|
113
119
|
/**
|
|
114
120
|
* Time at which the object was created.
|
|
115
121
|
* @type {string}
|
|
@@ -47,11 +47,11 @@ export interface BankTransactionClass {
|
|
|
47
47
|
*/
|
|
48
48
|
'bankAccountNumber': string;
|
|
49
49
|
/**
|
|
50
|
-
* Reference number derived from the MT940
|
|
50
|
+
* Reference number derived from the MT940 or CAMT file
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof BankTransactionClass
|
|
53
53
|
*/
|
|
54
|
-
'
|
|
54
|
+
'messageReference'?: string;
|
|
55
55
|
/**
|
|
56
56
|
* Currency of the transaction.
|
|
57
57
|
* @type {string}
|
|
@@ -124,6 +124,12 @@ export interface BankTransactionClass {
|
|
|
124
124
|
* @memberof BankTransactionClass
|
|
125
125
|
*/
|
|
126
126
|
'linkedTransaction'?: SharedTransactionClass;
|
|
127
|
+
/**
|
|
128
|
+
* The file format of the bank transaction
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof BankTransactionClass
|
|
131
|
+
*/
|
|
132
|
+
'importedFrom': string;
|
|
127
133
|
/**
|
|
128
134
|
* Time at which the object was created.
|
|
129
135
|
* @type {string}
|
|
@@ -45,11 +45,11 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
45
45
|
*/
|
|
46
46
|
'bankAccountNumber': string;
|
|
47
47
|
/**
|
|
48
|
-
* Reference number derived from the MT940
|
|
48
|
+
* Reference number derived from the MT940 or CAMT file
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'messageReference'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* Currency of the transaction.
|
|
55
55
|
* @type {string}
|
|
@@ -92,6 +92,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
92
92
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
93
93
|
*/
|
|
94
94
|
'isLinked': boolean;
|
|
95
|
+
/**
|
|
96
|
+
* The file format of the bank transaction
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
99
|
+
*/
|
|
100
|
+
'importedFrom': string;
|
|
95
101
|
/**
|
|
96
102
|
* Time at which the object was created.
|
|
97
103
|
* @type {string}
|