@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.
Files changed (42) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +346 -22
  4. package/api/bank-transaction-api.ts +4 -4
  5. package/api/payment-methods-api.ts +4 -4
  6. package/api/payment-reminders-api.ts +4 -4
  7. package/api/payments-api.ts +4 -4
  8. package/api/refunds-api.ts +4 -4
  9. package/api/tenant-bank-account-api.ts +4 -4
  10. package/dist/api/bank-accounts-api.d.ts +193 -16
  11. package/dist/api/bank-accounts-api.js +302 -19
  12. package/dist/api/bank-transaction-api.d.ts +4 -4
  13. package/dist/api/bank-transaction-api.js +3 -3
  14. package/dist/api/payment-methods-api.d.ts +4 -4
  15. package/dist/api/payment-methods-api.js +3 -3
  16. package/dist/api/payment-reminders-api.d.ts +4 -4
  17. package/dist/api/payment-reminders-api.js +3 -3
  18. package/dist/api/payments-api.d.ts +4 -4
  19. package/dist/api/payments-api.js +3 -3
  20. package/dist/api/refunds-api.d.ts +4 -4
  21. package/dist/api/refunds-api.js +3 -3
  22. package/dist/api/tenant-bank-account-api.d.ts +4 -4
  23. package/dist/api/tenant-bank-account-api.js +3 -3
  24. package/dist/models/bank-account-class.d.ts +67 -0
  25. package/dist/models/bank-account-class.js +15 -0
  26. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  27. package/dist/models/create-bank-account-request-dto.js +15 -0
  28. package/dist/models/get-bank-account-response-class.d.ts +25 -0
  29. package/dist/models/get-bank-account-response-class.js +15 -0
  30. package/dist/models/index.d.ts +5 -0
  31. package/dist/models/index.js +5 -0
  32. package/dist/models/primary-bank-account-response-class.d.ts +42 -0
  33. package/dist/models/primary-bank-account-response-class.js +15 -0
  34. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
  35. package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
  36. package/models/bank-account-class.ts +73 -0
  37. package/models/create-bank-account-request-dto.ts +36 -0
  38. package/models/get-bank-account-response-class.ts +31 -0
  39. package/models/index.ts +5 -0
  40. package/models/primary-bank-account-response-class.ts +48 -0
  41. package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
  42. 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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.4.1-beta.16",
3
+ "version": "1.4.1-beta.17",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [