@emilgroup/payment-sdk 1.4.1-beta.16 → 1.4.1-beta.17
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 +5 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +346 -22
- package/api/bank-transaction-api.ts +4 -4
- package/api/payment-methods-api.ts +4 -4
- package/api/payment-reminders-api.ts +4 -4
- package/api/payments-api.ts +4 -4
- package/api/refunds-api.ts +4 -4
- package/api/tenant-bank-account-api.ts +4 -4
- package/dist/api/bank-accounts-api.d.ts +193 -16
- package/dist/api/bank-accounts-api.js +302 -19
- package/dist/api/bank-transaction-api.d.ts +4 -4
- package/dist/api/bank-transaction-api.js +3 -3
- 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 +4 -4
- package/dist/api/payment-reminders-api.js +3 -3
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +3 -3
- package/dist/api/refunds-api.d.ts +4 -4
- package/dist/api/refunds-api.js +3 -3
- package/dist/api/tenant-bank-account-api.d.ts +4 -4
- package/dist/api/tenant-bank-account-api.js +3 -3
- package/dist/models/bank-account-class.d.ts +67 -0
- package/dist/models/bank-account-class.js +15 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/get-bank-account-response-class.d.ts +25 -0
- package/dist/models/get-bank-account-response-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/primary-bank-account-response-class.d.ts +42 -0
- package/dist/models/primary-bank-account-response-class.js +15 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
- package/models/bank-account-class.ts +73 -0
- package/models/create-bank-account-request-dto.ts +36 -0
- package/models/get-bank-account-response-class.ts +31 -0
- package/models/index.ts +5 -0
- package/models/primary-bank-account-response-class.ts +48 -0
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PrimaryBankAccountResponseClass } from './primary-bank-account-response-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface BankAccountClass
|
|
22
|
+
*/
|
|
23
|
+
export interface BankAccountClass {
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for bank account.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BankAccountClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BankAccountClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* User account code associated to bank account.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BankAccountClass
|
|
40
|
+
*/
|
|
41
|
+
'accountCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* International bank account number with witch the bank account is created
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BankAccountClass
|
|
46
|
+
*/
|
|
47
|
+
'iban': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BankAccountClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was updated.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BankAccountClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Partner code associated to bank account.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BankAccountClass
|
|
64
|
+
*/
|
|
65
|
+
'partnerCode': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {PrimaryBankAccountResponseClass}
|
|
69
|
+
* @memberof BankAccountClass
|
|
70
|
+
*/
|
|
71
|
+
'primaryBankAccount': PrimaryBankAccountResponseClass;
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateBankAccountRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBankAccountRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* User account code associated to bank account.
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof CreateBankAccountRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'accountCode': object;
|
|
29
|
+
/**
|
|
30
|
+
* Partner code associated to bank account.
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof CreateBankAccountRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'partnerCode': object;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { BankAccountClass } from './bank-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetBankAccountResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBankAccountResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Bank Account
|
|
26
|
+
* @type {BankAccountClass}
|
|
27
|
+
* @memberof GetBankAccountResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'bankAccount': BankAccountClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export * from './bank-account-class';
|
|
1
2
|
export * from './bank-transaction-response-class';
|
|
3
|
+
export * from './create-bank-account-request-dto';
|
|
2
4
|
export * from './create-payment-reminder-request-dto';
|
|
3
5
|
export * from './create-payment-request-dto';
|
|
4
6
|
export * from './create-refund-request-dto';
|
|
@@ -6,6 +8,7 @@ export * from './create-refund-response-class';
|
|
|
6
8
|
export * from './create-tenant-bank-account-request-dto';
|
|
7
9
|
export * from './create-tenant-bank-account-response-class';
|
|
8
10
|
export * from './deactivate-payment-reminder-request-dto';
|
|
11
|
+
export * from './get-bank-account-response-class';
|
|
9
12
|
export * from './get-bank-transactions-response-class';
|
|
10
13
|
export * from './get-refund-response-class';
|
|
11
14
|
export * from './get-request-dto';
|
|
@@ -16,7 +19,9 @@ export * from './link-bank-transaction-request-dto-rest';
|
|
|
16
19
|
export * from './list-bank-transactions-response-class';
|
|
17
20
|
export * from './list-refunds-response-class';
|
|
18
21
|
export * from './list-tenant-bank-account-response-class';
|
|
22
|
+
export * from './primary-bank-account-response-class';
|
|
19
23
|
export * from './refund-class';
|
|
24
|
+
export * from './set-primary-bank-account-request-dto-rest';
|
|
20
25
|
export * from './tenant-bank-account-response-class';
|
|
21
26
|
export * from './transaction-class';
|
|
22
27
|
export * from './unlink-bank-transaction-request-dto-rest';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PrimaryBankAccountResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PrimaryBankAccountResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Partner code associated to primary bank account.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PrimaryBankAccountResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'entityCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* Primary bank account id
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof PrimaryBankAccountResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'bankAccountId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Time at which the object was created.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PrimaryBankAccountResponseClass
|
|
39
|
+
*/
|
|
40
|
+
'createdAt': string;
|
|
41
|
+
/**
|
|
42
|
+
* Time at which the object was updated.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PrimaryBankAccountResponseClass
|
|
45
|
+
*/
|
|
46
|
+
'updatedAt': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SetPrimaryBankAccountRequestDtoRest
|
|
21
|
+
*/
|
|
22
|
+
export interface SetPrimaryBankAccountRequestDtoRest {
|
|
23
|
+
/**
|
|
24
|
+
* The code of the entity that the primary bank account will be set to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SetPrimaryBankAccountRequestDtoRest
|
|
27
|
+
*/
|
|
28
|
+
'entityCode': string;
|
|
29
|
+
}
|
|
30
|
+
|