@emilgroup/payment-sdk-node 1.21.1-beta.0 → 1.21.1-beta.2
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/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +9 -0
- 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/base.js +1 -1
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +6 -0
- package/dist/configuration.js +8 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +2 -8
- package/dist/models/bank-transaction-class.d.ts +2 -8
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +2 -8
- package/models/bank-transaction-class-without-expand-properties.ts +2 -8
- package/models/bank-transaction-class.ts +2 -8
- package/models/unlinked-bank-transaction-response-class.ts +2 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk-node@1.21.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.21.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.21.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.21.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -45,7 +45,7 @@ const FormData = require('form-data');
|
|
|
45
45
|
export const BankAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
46
46
|
return {
|
|
47
47
|
/**
|
|
48
|
-
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
48
|
+
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
49
49
|
* @summary Create the bank account
|
|
50
50
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
51
51
|
* @param {string} [authorization] Bearer Token
|
|
@@ -92,7 +92,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
92
92
|
};
|
|
93
93
|
},
|
|
94
94
|
/**
|
|
95
|
-
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
95
|
+
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
96
96
|
* @summary Delete the bank account
|
|
97
97
|
* @param {string} code Unique identifier for the object.
|
|
98
98
|
* @param {string} [authorization] Bearer Token
|
|
@@ -137,7 +137,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
137
137
|
};
|
|
138
138
|
},
|
|
139
139
|
/**
|
|
140
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
140
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
141
141
|
* @summary Retrieve the bank account
|
|
142
142
|
* @param {string} code
|
|
143
143
|
* @param {string} [authorization] Bearer Token
|
|
@@ -187,7 +187,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
187
187
|
};
|
|
188
188
|
},
|
|
189
189
|
/**
|
|
190
|
-
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
190
|
+
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
191
191
|
* @summary List bank accounts
|
|
192
192
|
* @param {string} [authorization] Bearer Token
|
|
193
193
|
* @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, accountCode, partnerCode</i>
|
|
@@ -248,7 +248,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
248
248
|
};
|
|
249
249
|
},
|
|
250
250
|
/**
|
|
251
|
-
* Set the primary bank account for the specified partner/account
|
|
251
|
+
* Set the primary bank account for the specified partner/account
|
|
252
252
|
* @summary Set primary bank account
|
|
253
253
|
* @param {string} code Code of the bank account to set primary
|
|
254
254
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
@@ -299,7 +299,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
299
299
|
};
|
|
300
300
|
},
|
|
301
301
|
/**
|
|
302
|
-
* Update a bank account by code
|
|
302
|
+
* Update a bank account by code
|
|
303
303
|
* @summary Update the bank account
|
|
304
304
|
* @param {string} code Unique identifier for the object.
|
|
305
305
|
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
@@ -360,7 +360,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
360
360
|
const localVarAxiosParamCreator = BankAccountsApiAxiosParamCreator(configuration)
|
|
361
361
|
return {
|
|
362
362
|
/**
|
|
363
|
-
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
363
|
+
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
364
364
|
* @summary Create the bank account
|
|
365
365
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
366
366
|
* @param {string} [authorization] Bearer Token
|
|
@@ -372,7 +372,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
372
372
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
373
373
|
},
|
|
374
374
|
/**
|
|
375
|
-
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
375
|
+
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
376
376
|
* @summary Delete the bank account
|
|
377
377
|
* @param {string} code Unique identifier for the object.
|
|
378
378
|
* @param {string} [authorization] Bearer Token
|
|
@@ -384,7 +384,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
384
384
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
385
385
|
},
|
|
386
386
|
/**
|
|
387
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
387
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
388
388
|
* @summary Retrieve the bank account
|
|
389
389
|
* @param {string} code
|
|
390
390
|
* @param {string} [authorization] Bearer Token
|
|
@@ -397,7 +397,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
397
397
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
398
398
|
},
|
|
399
399
|
/**
|
|
400
|
-
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
400
|
+
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
401
401
|
* @summary List bank accounts
|
|
402
402
|
* @param {string} [authorization] Bearer Token
|
|
403
403
|
* @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, accountCode, partnerCode</i>
|
|
@@ -412,7 +412,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
412
412
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
413
413
|
},
|
|
414
414
|
/**
|
|
415
|
-
* Set the primary bank account for the specified partner/account
|
|
415
|
+
* Set the primary bank account for the specified partner/account
|
|
416
416
|
* @summary Set primary bank account
|
|
417
417
|
* @param {string} code Code of the bank account to set primary
|
|
418
418
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
@@ -425,7 +425,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
425
425
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
426
426
|
},
|
|
427
427
|
/**
|
|
428
|
-
* Update a bank account by code
|
|
428
|
+
* Update a bank account by code
|
|
429
429
|
* @summary Update the bank account
|
|
430
430
|
* @param {string} code Unique identifier for the object.
|
|
431
431
|
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
@@ -448,7 +448,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
448
448
|
const localVarFp = BankAccountsApiFp(configuration)
|
|
449
449
|
return {
|
|
450
450
|
/**
|
|
451
|
-
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
451
|
+
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
452
452
|
* @summary Create the bank account
|
|
453
453
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
454
454
|
* @param {string} [authorization] Bearer Token
|
|
@@ -459,7 +459,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
459
459
|
return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
460
460
|
},
|
|
461
461
|
/**
|
|
462
|
-
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
462
|
+
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
463
463
|
* @summary Delete the bank account
|
|
464
464
|
* @param {string} code Unique identifier for the object.
|
|
465
465
|
* @param {string} [authorization] Bearer Token
|
|
@@ -470,7 +470,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
470
470
|
return localVarFp.deleteBankAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
471
471
|
},
|
|
472
472
|
/**
|
|
473
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
473
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
474
474
|
* @summary Retrieve the bank account
|
|
475
475
|
* @param {string} code
|
|
476
476
|
* @param {string} [authorization] Bearer Token
|
|
@@ -482,7 +482,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
482
482
|
return localVarFp.getBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
483
483
|
},
|
|
484
484
|
/**
|
|
485
|
-
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
485
|
+
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
486
486
|
* @summary List bank accounts
|
|
487
487
|
* @param {string} [authorization] Bearer Token
|
|
488
488
|
* @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, accountCode, partnerCode</i>
|
|
@@ -496,7 +496,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
496
496
|
return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
497
497
|
},
|
|
498
498
|
/**
|
|
499
|
-
* Set the primary bank account for the specified partner/account
|
|
499
|
+
* Set the primary bank account for the specified partner/account
|
|
500
500
|
* @summary Set primary bank account
|
|
501
501
|
* @param {string} code Code of the bank account to set primary
|
|
502
502
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
@@ -508,7 +508,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
508
508
|
return localVarFp.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
509
509
|
},
|
|
510
510
|
/**
|
|
511
|
-
* Update a bank account by code
|
|
511
|
+
* Update a bank account by code
|
|
512
512
|
* @summary Update the bank account
|
|
513
513
|
* @param {string} code Unique identifier for the object.
|
|
514
514
|
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
@@ -698,7 +698,7 @@ export interface BankAccountsApiUpdateBankAccountRequest {
|
|
|
698
698
|
*/
|
|
699
699
|
export class BankAccountsApi extends BaseAPI {
|
|
700
700
|
/**
|
|
701
|
-
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
701
|
+
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
702
702
|
* @summary Create the bank account
|
|
703
703
|
* @param {BankAccountsApiCreateBankAccountRequest} requestParameters Request parameters.
|
|
704
704
|
* @param {*} [options] Override http request option.
|
|
@@ -710,7 +710,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
710
710
|
}
|
|
711
711
|
|
|
712
712
|
/**
|
|
713
|
-
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
713
|
+
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
714
714
|
* @summary Delete the bank account
|
|
715
715
|
* @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
|
|
716
716
|
* @param {*} [options] Override http request option.
|
|
@@ -722,7 +722,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
722
722
|
}
|
|
723
723
|
|
|
724
724
|
/**
|
|
725
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
725
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
726
726
|
* @summary Retrieve the bank account
|
|
727
727
|
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
728
728
|
* @param {*} [options] Override http request option.
|
|
@@ -734,7 +734,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
734
734
|
}
|
|
735
735
|
|
|
736
736
|
/**
|
|
737
|
-
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
737
|
+
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
738
738
|
* @summary List bank accounts
|
|
739
739
|
* @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
|
|
740
740
|
* @param {*} [options] Override http request option.
|
|
@@ -746,7 +746,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
746
746
|
}
|
|
747
747
|
|
|
748
748
|
/**
|
|
749
|
-
* Set the primary bank account for the specified partner/account
|
|
749
|
+
* Set the primary bank account for the specified partner/account
|
|
750
750
|
* @summary Set primary bank account
|
|
751
751
|
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
752
752
|
* @param {*} [options] Override http request option.
|
|
@@ -758,7 +758,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
758
758
|
}
|
|
759
759
|
|
|
760
760
|
/**
|
|
761
|
-
* Update a bank account by code
|
|
761
|
+
* Update a bank account by code
|
|
762
762
|
* @summary Update the bank account
|
|
763
763
|
* @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
|
|
764
764
|
* @param {*} [options] Override http request option.
|
|
@@ -45,7 +45,7 @@ const FormData = require('form-data');
|
|
|
45
45
|
export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
46
46
|
return {
|
|
47
47
|
/**
|
|
48
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
48
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
49
49
|
* @summary Retrieve the bank transaction
|
|
50
50
|
* @param {string} code
|
|
51
51
|
* @param {string} [authorization] Bearer Token
|
|
@@ -95,7 +95,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
95
95
|
};
|
|
96
96
|
},
|
|
97
97
|
/**
|
|
98
|
-
* This will import bank transactions from a swift MT940 file
|
|
98
|
+
* This will import bank transactions from a swift MT940 file
|
|
99
99
|
* @summary Create the bank transactions
|
|
100
100
|
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
101
101
|
* @param {string} [authorization] Bearer Token
|
|
@@ -148,7 +148,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
148
148
|
};
|
|
149
149
|
},
|
|
150
150
|
/**
|
|
151
|
-
* Links a bank transaction with an invoice
|
|
151
|
+
* Links a bank transaction with an invoice
|
|
152
152
|
* @summary Link bank transaction
|
|
153
153
|
* @param {string} code Code of the bank transaction to link
|
|
154
154
|
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
@@ -199,7 +199,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
199
199
|
};
|
|
200
200
|
},
|
|
201
201
|
/**
|
|
202
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
202
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
203
203
|
* @summary List bank transactions
|
|
204
204
|
* @param {string} [authorization] Bearer Token
|
|
205
205
|
* @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
@@ -265,7 +265,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
265
265
|
};
|
|
266
266
|
},
|
|
267
267
|
/**
|
|
268
|
-
* Unlinks an already linked bank transaction
|
|
268
|
+
* Unlinks an already linked bank transaction
|
|
269
269
|
* @summary Unlink bank transaction
|
|
270
270
|
* @param {string} code Code of the bank transaction to unlink
|
|
271
271
|
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
@@ -326,7 +326,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
326
326
|
const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
|
|
327
327
|
return {
|
|
328
328
|
/**
|
|
329
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
329
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
330
330
|
* @summary Retrieve the bank transaction
|
|
331
331
|
* @param {string} code
|
|
332
332
|
* @param {string} [authorization] Bearer Token
|
|
@@ -339,7 +339,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
339
339
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
340
340
|
},
|
|
341
341
|
/**
|
|
342
|
-
* This will import bank transactions from a swift MT940 file
|
|
342
|
+
* This will import bank transactions from a swift MT940 file
|
|
343
343
|
* @summary Create the bank transactions
|
|
344
344
|
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
345
345
|
* @param {string} [authorization] Bearer Token
|
|
@@ -351,7 +351,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
351
351
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
352
352
|
},
|
|
353
353
|
/**
|
|
354
|
-
* Links a bank transaction with an invoice
|
|
354
|
+
* Links a bank transaction with an invoice
|
|
355
355
|
* @summary Link bank transaction
|
|
356
356
|
* @param {string} code Code of the bank transaction to link
|
|
357
357
|
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
@@ -364,7 +364,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
364
364
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
365
365
|
},
|
|
366
366
|
/**
|
|
367
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
367
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
368
368
|
* @summary List bank transactions
|
|
369
369
|
* @param {string} [authorization] Bearer Token
|
|
370
370
|
* @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
@@ -380,7 +380,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
380
380
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
381
381
|
},
|
|
382
382
|
/**
|
|
383
|
-
* Unlinks an already linked bank transaction
|
|
383
|
+
* Unlinks an already linked bank transaction
|
|
384
384
|
* @summary Unlink bank transaction
|
|
385
385
|
* @param {string} code Code of the bank transaction to unlink
|
|
386
386
|
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
@@ -403,7 +403,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
403
403
|
const localVarFp = BankTransactionApiFp(configuration)
|
|
404
404
|
return {
|
|
405
405
|
/**
|
|
406
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
406
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
407
407
|
* @summary Retrieve the bank transaction
|
|
408
408
|
* @param {string} code
|
|
409
409
|
* @param {string} [authorization] Bearer Token
|
|
@@ -415,7 +415,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
415
415
|
return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
416
416
|
},
|
|
417
417
|
/**
|
|
418
|
-
* This will import bank transactions from a swift MT940 file
|
|
418
|
+
* This will import bank transactions from a swift MT940 file
|
|
419
419
|
* @summary Create the bank transactions
|
|
420
420
|
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
421
421
|
* @param {string} [authorization] Bearer Token
|
|
@@ -426,7 +426,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
426
426
|
return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
|
|
427
427
|
},
|
|
428
428
|
/**
|
|
429
|
-
* Links a bank transaction with an invoice
|
|
429
|
+
* Links a bank transaction with an invoice
|
|
430
430
|
* @summary Link bank transaction
|
|
431
431
|
* @param {string} code Code of the bank transaction to link
|
|
432
432
|
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
@@ -438,7 +438,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
438
438
|
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
439
439
|
},
|
|
440
440
|
/**
|
|
441
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
441
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
442
442
|
* @summary List bank transactions
|
|
443
443
|
* @param {string} [authorization] Bearer Token
|
|
444
444
|
* @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
@@ -453,7 +453,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
453
453
|
return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
|
|
454
454
|
},
|
|
455
455
|
/**
|
|
456
|
-
* Unlinks an already linked bank transaction
|
|
456
|
+
* Unlinks an already linked bank transaction
|
|
457
457
|
* @summary Unlink bank transaction
|
|
458
458
|
* @param {string} code Code of the bank transaction to unlink
|
|
459
459
|
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
@@ -629,7 +629,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
629
629
|
*/
|
|
630
630
|
export class BankTransactionApi extends BaseAPI {
|
|
631
631
|
/**
|
|
632
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
632
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
633
633
|
* @summary Retrieve the bank transaction
|
|
634
634
|
* @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
|
|
635
635
|
* @param {*} [options] Override http request option.
|
|
@@ -641,7 +641,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
/**
|
|
644
|
-
* This will import bank transactions from a swift MT940 file
|
|
644
|
+
* This will import bank transactions from a swift MT940 file
|
|
645
645
|
* @summary Create the bank transactions
|
|
646
646
|
* @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
|
|
647
647
|
* @param {*} [options] Override http request option.
|
|
@@ -653,7 +653,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
/**
|
|
656
|
-
* Links a bank transaction with an invoice
|
|
656
|
+
* Links a bank transaction with an invoice
|
|
657
657
|
* @summary Link bank transaction
|
|
658
658
|
* @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
|
|
659
659
|
* @param {*} [options] Override http request option.
|
|
@@ -665,7 +665,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
665
665
|
}
|
|
666
666
|
|
|
667
667
|
/**
|
|
668
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
668
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
669
669
|
* @summary List bank transactions
|
|
670
670
|
* @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
|
|
671
671
|
* @param {*} [options] Override http request option.
|
|
@@ -677,7 +677,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
677
677
|
}
|
|
678
678
|
|
|
679
679
|
/**
|
|
680
|
-
* Unlinks an already linked bank transaction
|
|
680
|
+
* Unlinks an already linked bank transaction
|
|
681
681
|
* @summary Unlink bank transaction
|
|
682
682
|
* @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
|
|
683
683
|
* @param {*} [options] Override http request option.
|
|
@@ -39,7 +39,7 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
42
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
43
43
|
* @summary Create the payment method
|
|
44
44
|
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
45
45
|
* @param {string} [authorization] Bearer Token
|
|
@@ -86,7 +86,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
89
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
90
90
|
* @summary Retrieve the payment method
|
|
91
91
|
* @param {string} code
|
|
92
92
|
* @param {string} [authorization] Bearer Token
|
|
@@ -131,7 +131,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
134
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
135
135
|
* @summary List payment methods
|
|
136
136
|
* @param {string} [authorization] Bearer Token
|
|
137
137
|
* @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, pspCustomerId, psp, type, productSlug</i>
|
|
@@ -202,7 +202,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
202
202
|
const localVarAxiosParamCreator = PaymentMethodsApiAxiosParamCreator(configuration)
|
|
203
203
|
return {
|
|
204
204
|
/**
|
|
205
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
205
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
206
206
|
* @summary Create the payment method
|
|
207
207
|
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
208
208
|
* @param {string} [authorization] Bearer Token
|
|
@@ -214,7 +214,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
214
214
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
215
215
|
},
|
|
216
216
|
/**
|
|
217
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
217
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
218
218
|
* @summary Retrieve the payment method
|
|
219
219
|
* @param {string} code
|
|
220
220
|
* @param {string} [authorization] Bearer Token
|
|
@@ -226,7 +226,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
226
226
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
227
227
|
},
|
|
228
228
|
/**
|
|
229
|
-
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
229
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
230
230
|
* @summary List payment methods
|
|
231
231
|
* @param {string} [authorization] Bearer Token
|
|
232
232
|
* @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, pspCustomerId, psp, type, productSlug</i>
|
|
@@ -251,7 +251,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
251
251
|
const localVarFp = PaymentMethodsApiFp(configuration)
|
|
252
252
|
return {
|
|
253
253
|
/**
|
|
254
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
254
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
255
255
|
* @summary Create the payment method
|
|
256
256
|
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
257
257
|
* @param {string} [authorization] Bearer Token
|
|
@@ -262,7 +262,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
262
262
|
return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
263
263
|
},
|
|
264
264
|
/**
|
|
265
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
265
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
266
266
|
* @summary Retrieve the payment method
|
|
267
267
|
* @param {string} code
|
|
268
268
|
* @param {string} [authorization] Bearer Token
|
|
@@ -273,7 +273,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
273
273
|
return localVarFp.getPaymentMethod(code, authorization, options).then((request) => request(axios, basePath));
|
|
274
274
|
},
|
|
275
275
|
/**
|
|
276
|
-
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
276
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
277
277
|
* @summary List payment methods
|
|
278
278
|
* @param {string} [authorization] Bearer Token
|
|
279
279
|
* @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, pspCustomerId, psp, type, productSlug</i>
|
|
@@ -381,7 +381,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
381
381
|
*/
|
|
382
382
|
export class PaymentMethodsApi extends BaseAPI {
|
|
383
383
|
/**
|
|
384
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
384
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
385
385
|
* @summary Create the payment method
|
|
386
386
|
* @param {PaymentMethodsApiCreatePaymentMethodRequest} requestParameters Request parameters.
|
|
387
387
|
* @param {*} [options] Override http request option.
|
|
@@ -393,7 +393,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
396
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
397
397
|
* @summary Retrieve the payment method
|
|
398
398
|
* @param {PaymentMethodsApiGetPaymentMethodRequest} requestParameters Request parameters.
|
|
399
399
|
* @param {*} [options] Override http request option.
|
|
@@ -405,7 +405,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
/**
|
|
408
|
-
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
408
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
409
409
|
* @summary List payment methods
|
|
410
410
|
* @param {PaymentMethodsApiListPaymentMethodsRequest} requestParameters Request parameters.
|
|
411
411
|
* @param {*} [options] Override http request option.
|