@emilgroup/payment-sdk-node 1.8.2 → 1.12.1
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/.openapi-generator/FILES +17 -2
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +4 -4
- package/api/bank-transaction-api.ts +569 -0
- package/api/payment-methods-api.ts +4 -4
- package/api/payment-reminders-api.ts +12 -10
- package/api/payments-api.ts +4 -4
- package/api/refunds-api.ts +464 -0
- package/api/tenant-bank-account-api.ts +655 -0
- package/api.ts +6 -2
- package/dist/api/bank-accounts-api.d.ts +4 -4
- package/dist/api/bank-accounts-api.js +3 -3
- package/dist/api/bank-transaction-api.d.ts +318 -0
- package/dist/api/bank-transaction-api.js +543 -0
- package/dist/api/payment-methods-api.d.ts +4 -4
- package/dist/api/payment-methods-api.js +3 -3
- package/dist/api/payment-reminders-api.d.ts +12 -11
- package/dist/api/payment-reminders-api.js +7 -7
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +3 -3
- package/dist/api/refunds-api.d.ts +260 -0
- package/dist/api/refunds-api.js +445 -0
- package/dist/api/tenant-bank-account-api.d.ts +361 -0
- package/dist/api/tenant-bank-account-api.js +620 -0
- package/dist/api.d.ts +3 -1
- package/dist/api.js +3 -1
- package/dist/models/bank-transaction-response-class.d.ts +122 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +2 -0
- package/dist/models/create-payment-reminder-request-dto.js +3 -1
- package/dist/models/create-payment-request-dto.d.ts +3 -3
- package/dist/models/create-refund-request-dto.d.ts +24 -0
- package/dist/models/create-refund-request-dto.js +15 -0
- package/dist/models/create-refund-response-class.d.ts +25 -0
- package/dist/models/create-refund-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +42 -0
- package/dist/models/create-tenant-bank-account-request-dto.js +15 -0
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
- package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
- package/dist/models/get-bank-transactions-response-class.d.ts +25 -0
- package/dist/models/get-bank-transactions-response-class.js +15 -0
- package/dist/models/{validate-pspconfig-response-class.d.ts → get-refund-response-class.d.ts} +7 -6
- package/dist/models/get-refund-response-class.js +15 -0
- package/dist/models/get-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/get-tenant-bank-account-response-class.js +15 -0
- package/dist/models/index.d.ts +14 -1
- package/dist/models/index.js +14 -1
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/link-bank-transaction-request-dto.d.ts +30 -0
- package/dist/models/link-bank-transaction-request-dto.js +15 -0
- package/dist/models/list-bank-transactions-response-class.d.ts +31 -0
- package/dist/models/list-bank-transactions-response-class.js +15 -0
- package/dist/models/list-refunds-response-class.d.ts +31 -0
- package/dist/models/list-refunds-response-class.js +15 -0
- package/dist/models/payment-class.d.ts +1 -1
- package/dist/models/payment-method-class.d.ts +8 -2
- package/dist/models/payment-reminder-class.d.ts +4 -0
- package/dist/models/payment-reminder-class.js +6 -2
- package/dist/models/refund-class.d.ts +104 -0
- package/dist/models/refund-class.js +28 -0
- package/dist/models/tenant-bank-account-response-class.d.ts +66 -0
- package/dist/models/tenant-bank-account-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +36 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +15 -0
- package/models/bank-transaction-response-class.ts +128 -0
- package/models/create-payment-reminder-request-dto.ts +3 -1
- package/models/create-payment-request-dto.ts +3 -3
- package/models/create-refund-request-dto.ts +30 -0
- package/models/create-refund-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +48 -0
- package/models/deactivate-payment-reminder-response-class.ts +31 -0
- package/models/get-bank-transactions-response-class.ts +31 -0
- package/models/{validate-pspconfig-response-class.ts → get-refund-response-class.ts} +7 -6
- package/models/get-tenant-bank-account-response-class.ts +31 -0
- package/models/index.ts +14 -1
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/link-bank-transaction-request-dto.ts +36 -0
- package/models/list-bank-transactions-response-class.ts +37 -0
- package/models/list-refunds-response-class.ts +37 -0
- package/models/payment-class.ts +1 -1
- package/models/payment-method-class.ts +8 -2
- package/models/payment-reminder-class.ts +6 -2
- package/models/refund-class.ts +114 -0
- package/models/tenant-bank-account-response-class.ts +72 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +42 -0
- package/package.json +1 -1
- package/api/payment-service-providers-api.ts +0 -165
- package/dist/api/payment-service-providers-api.d.ts +0 -93
- package/dist/api/payment-service-providers-api.js +0 -224
- /package/dist/models/{validate-pspconfig-response-class.js → bank-transaction-response-class.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
README.md
|
|
5
5
|
api.ts
|
|
6
6
|
api/bank-accounts-api.ts
|
|
7
|
+
api/bank-transaction-api.ts
|
|
7
8
|
api/default-api.ts
|
|
8
9
|
api/payment-methods-api.ts
|
|
9
10
|
api/payment-reminders-api.ts
|
|
10
|
-
api/payment-service-providers-api.ts
|
|
11
11
|
api/payment-setup-api.ts
|
|
12
12
|
api/payments-api.ts
|
|
13
|
+
api/refunds-api.ts
|
|
14
|
+
api/tenant-bank-account-api.ts
|
|
13
15
|
api/webhooks-api.ts
|
|
14
16
|
base.ts
|
|
15
17
|
common.ts
|
|
@@ -17,6 +19,7 @@ configuration.ts
|
|
|
17
19
|
git_push.sh
|
|
18
20
|
index.ts
|
|
19
21
|
models/bank-account-class.ts
|
|
22
|
+
models/bank-transaction-response-class.ts
|
|
20
23
|
models/billing-profile-dto.ts
|
|
21
24
|
models/billing-profile-limited-response-dto.ts
|
|
22
25
|
models/complete-braintree-payment-setup-request-dto.ts
|
|
@@ -29,10 +32,17 @@ models/create-payment-reminder-request-dto.ts
|
|
|
29
32
|
models/create-payment-request-dto.ts
|
|
30
33
|
models/create-payment-response-class.ts
|
|
31
34
|
models/create-psp-payment-method-request-dto.ts
|
|
35
|
+
models/create-refund-request-dto.ts
|
|
36
|
+
models/create-refund-response-class.ts
|
|
37
|
+
models/create-tenant-bank-account-request-dto.ts
|
|
32
38
|
models/deactivate-payment-reminder-request-dto.ts
|
|
39
|
+
models/deactivate-payment-reminder-response-class.ts
|
|
40
|
+
models/get-bank-transactions-response-class.ts
|
|
33
41
|
models/get-payment-method-response-class.ts
|
|
34
42
|
models/get-payment-response-class.ts
|
|
43
|
+
models/get-refund-response-class.ts
|
|
35
44
|
models/get-request-dto.ts
|
|
45
|
+
models/get-tenant-bank-account-response-class.ts
|
|
36
46
|
models/index.ts
|
|
37
47
|
models/initiate-braintree-payment-setup-request-dto.ts
|
|
38
48
|
models/initiate-braintree-payment-setup-response-class.ts
|
|
@@ -42,17 +52,22 @@ models/initiate-stripe-payment-setup-request-dto.ts
|
|
|
42
52
|
models/initiate-stripe-payment-setup-response-class.ts
|
|
43
53
|
models/inline-response200.ts
|
|
44
54
|
models/inline-response503.ts
|
|
55
|
+
models/link-bank-transaction-request-dto.ts
|
|
45
56
|
models/list-bank-accounts-response-class.ts
|
|
57
|
+
models/list-bank-transactions-response-class.ts
|
|
46
58
|
models/list-payment-methods-response-class.ts
|
|
47
59
|
models/list-payment-reminders-response-class.ts
|
|
48
60
|
models/list-payments-response-class.ts
|
|
61
|
+
models/list-refunds-response-class.ts
|
|
49
62
|
models/payment-class.ts
|
|
50
63
|
models/payment-method-class.ts
|
|
51
64
|
models/payment-reminder-class.ts
|
|
65
|
+
models/refund-class.ts
|
|
52
66
|
models/sepa-direct-dto.ts
|
|
53
67
|
models/symphony-profile-limited-response-dto.ts
|
|
68
|
+
models/tenant-bank-account-response-class.ts
|
|
54
69
|
models/transaction-class.ts
|
|
70
|
+
models/update-tenant-bank-account-rest-request-dto.ts
|
|
55
71
|
models/validate-pspconfig-request-dto.ts
|
|
56
|
-
models/validate-pspconfig-response-class.ts
|
|
57
72
|
package.json
|
|
58
73
|
tsconfig.json
|
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.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.12.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.12.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -85,7 +85,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
85
85
|
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
86
86
|
* @summary List bank accounts
|
|
87
87
|
* @param {string} [authorization] Bearer Token
|
|
88
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
88
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
89
89
|
* @param {any} [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.
|
|
90
90
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
91
91
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
@@ -178,7 +178,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
178
178
|
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
179
179
|
* @summary List bank accounts
|
|
180
180
|
* @param {string} [authorization] Bearer Token
|
|
181
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
181
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
182
182
|
* @param {any} [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.
|
|
183
183
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
184
184
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
@@ -216,7 +216,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
216
216
|
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
217
217
|
* @summary List bank accounts
|
|
218
218
|
* @param {string} [authorization] Bearer Token
|
|
219
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
219
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
220
220
|
* @param {any} [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.
|
|
221
221
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
222
222
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
@@ -266,7 +266,7 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
266
266
|
readonly authorization?: string
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
269
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
270
270
|
* @type {any}
|
|
271
271
|
* @memberof BankAccountsApiListBankAccounts
|
|
272
272
|
*/
|