@emilgroup/payment-sdk 1.0.0 → 1.3.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 +565 -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 +460 -0
- package/api/tenant-bank-account-api.ts +651 -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 +539 -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 +441 -0
- package/dist/api/tenant-bank-account-api.d.ts +361 -0
- package/dist/api/tenant-bank-account-api.js +616 -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-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/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/git_push.sh +1 -1
- package/models/bank-transaction-response-class.ts +128 -0
- 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/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 -2
- package/api/payment-service-providers-api.ts +0 -161
- package/dist/api/payment-service-providers-api.d.ts +0 -93
- package/dist/api/payment-service-providers-api.js +0 -220
- /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@1.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.3.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.3.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -81,7 +81,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
81
81
|
* 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.
|
|
82
82
|
* @summary List bank accounts
|
|
83
83
|
* @param {string} [authorization] Bearer Token
|
|
84
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
84
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
85
85
|
* @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.
|
|
86
86
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
87
87
|
* @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.
|
|
@@ -174,7 +174,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
174
174
|
* 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.
|
|
175
175
|
* @summary List bank accounts
|
|
176
176
|
* @param {string} [authorization] Bearer Token
|
|
177
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
177
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
178
178
|
* @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.
|
|
179
179
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
180
180
|
* @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.
|
|
@@ -212,7 +212,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
212
212
|
* 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.
|
|
213
213
|
* @summary List bank accounts
|
|
214
214
|
* @param {string} [authorization] Bearer Token
|
|
215
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
215
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
216
216
|
* @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.
|
|
217
217
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
218
218
|
* @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.
|
|
@@ -262,7 +262,7 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
262
262
|
readonly authorization?: string
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
265
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
266
266
|
* @type {any}
|
|
267
267
|
* @memberof BankAccountsApiListBankAccounts
|
|
268
268
|
*/
|