@emilgroup/payment-sdk 1.13.1-beta.12 → 1.13.1-beta.14

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 (46) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +632 -0
  4. package/api.ts +2 -0
  5. package/dist/api/bank-accounts-api.js +20 -53
  6. package/dist/api/bank-orders-api.d.ts +356 -0
  7. package/dist/api/bank-orders-api.js +617 -0
  8. package/dist/api/bank-transaction-api.js +20 -53
  9. package/dist/api/health-check-api.js +5 -18
  10. package/dist/api/payment-methods-api.js +11 -32
  11. package/dist/api/payment-reminders-api.js +14 -39
  12. package/dist/api/payment-setup-api.js +8 -25
  13. package/dist/api/payments-api.js +11 -32
  14. package/dist/api/refunds-api.js +11 -32
  15. package/dist/api/tenant-bank-account-api.js +17 -46
  16. package/dist/api/webhooks-api.js +5 -18
  17. package/dist/api.d.ts +1 -0
  18. package/dist/api.js +1 -0
  19. package/dist/base.js +5 -5
  20. package/dist/common.d.ts +1 -1
  21. package/dist/common.js +2 -2
  22. package/dist/models/bank-order-class.d.ts +115 -0
  23. package/dist/models/bank-order-class.js +15 -0
  24. package/dist/models/create-bank-order-request-dto.d.ts +80 -0
  25. package/dist/models/create-bank-order-request-dto.js +28 -0
  26. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  27. package/dist/models/create-bank-order-response-class.js +15 -0
  28. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  29. package/dist/models/get-bank-order-response-class.js +15 -0
  30. package/dist/models/index.d.ts +7 -0
  31. package/dist/models/index.js +7 -0
  32. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  33. package/dist/models/list-bank-orders-response-class.js +15 -0
  34. package/dist/models/update-bank-order-request-dto.d.ts +68 -0
  35. package/dist/models/update-bank-order-request-dto.js +23 -0
  36. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  37. package/dist/models/update-bank-order-response-class.js +15 -0
  38. package/models/bank-order-class.ts +121 -0
  39. package/models/create-bank-order-request-dto.ts +90 -0
  40. package/models/create-bank-order-response-class.ts +31 -0
  41. package/models/get-bank-order-response-class.ts +31 -0
  42. package/models/index.ts +7 -0
  43. package/models/list-bank-orders-response-class.ts +37 -0
  44. package/models/update-bank-order-request-dto.ts +77 -0
  45. package/models/update-bank-order-response-class.ts +31 -0
  46. package/package.json +3 -3
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BankOrderClass } from './bank-order-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListBankOrdersResponseClass
17
+ */
18
+ export interface ListBankOrdersResponseClass {
19
+ /**
20
+ * The list of bank orders.
21
+ * @type {Array<BankOrderClass>}
22
+ * @memberof ListBankOrdersResponseClass
23
+ */
24
+ 'items': Array<BankOrderClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListBankOrdersResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -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,68 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateBankOrderRequestDto
16
+ */
17
+ export interface UpdateBankOrderRequestDto {
18
+ /**
19
+ * Unique identifier for the object.
20
+ * @type {string}
21
+ * @memberof UpdateBankOrderRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Amount for the bank order
26
+ * @type {number}
27
+ * @memberof UpdateBankOrderRequestDto
28
+ */
29
+ 'amount': number;
30
+ /**
31
+ * Bank order status
32
+ * @type {string}
33
+ * @memberof UpdateBankOrderRequestDto
34
+ */
35
+ 'status': UpdateBankOrderRequestDtoStatusEnum;
36
+ /**
37
+ * Bank order description.
38
+ * @type {string}
39
+ * @memberof UpdateBankOrderRequestDto
40
+ */
41
+ 'description'?: string;
42
+ /**
43
+ * List of invoice IDs associated with bank order.
44
+ * @type {Array<number>}
45
+ * @memberof UpdateBankOrderRequestDto
46
+ */
47
+ 'invoiceIds': Array<number>;
48
+ /**
49
+ * Day of execution of bank order.
50
+ * @type {string}
51
+ * @memberof UpdateBankOrderRequestDto
52
+ */
53
+ 'executionDate': string;
54
+ /**
55
+ * Latest due date.
56
+ * @type {string}
57
+ * @memberof UpdateBankOrderRequestDto
58
+ */
59
+ 'dueDate': string;
60
+ }
61
+ export declare const UpdateBankOrderRequestDtoStatusEnum: {
62
+ readonly Open: "open";
63
+ readonly Draft: "draft";
64
+ readonly Closed: "closed";
65
+ readonly Accepted: "accepted";
66
+ readonly Processing: "processing";
67
+ };
68
+ export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
@@ -0,0 +1,23 @@
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 });
16
+ exports.UpdateBankOrderRequestDtoStatusEnum = void 0;
17
+ exports.UpdateBankOrderRequestDtoStatusEnum = {
18
+ Open: 'open',
19
+ Draft: 'draft',
20
+ Closed: 'closed',
21
+ Accepted: 'accepted',
22
+ Processing: 'processing'
23
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BankOrderClass } from './bank-order-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateBankOrderResponseClass
17
+ */
18
+ export interface UpdateBankOrderResponseClass {
19
+ /**
20
+ * Bank order
21
+ * @type {BankOrderClass}
22
+ * @memberof UpdateBankOrderResponseClass
23
+ */
24
+ 'bankOrder': BankOrderClass;
25
+ }
@@ -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,121 @@
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 { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface BankOrderClass
22
+ */
23
+ export interface BankOrderClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof BankOrderClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof BankOrderClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * Bank order type.
38
+ * @type {string}
39
+ * @memberof BankOrderClass
40
+ */
41
+ 'type': string;
42
+ /**
43
+ * Amount associated with bank order.
44
+ * @type {number}
45
+ * @memberof BankOrderClass
46
+ */
47
+ 'amount': number;
48
+ /**
49
+ * Status associated with bank order.
50
+ * @type {string}
51
+ * @memberof BankOrderClass
52
+ */
53
+ 'status': string;
54
+ /**
55
+ * Number associated with bank order.
56
+ * @type {string}
57
+ * @memberof BankOrderClass
58
+ */
59
+ 'orderNumber': string;
60
+ /**
61
+ * Bank order description.
62
+ * @type {string}
63
+ * @memberof BankOrderClass
64
+ */
65
+ 'description'?: string;
66
+ /**
67
+ * Bank account identifier associated with the bank order.
68
+ * @type {number}
69
+ * @memberof BankOrderClass
70
+ */
71
+ 'bankAccountId': number;
72
+ /**
73
+ * List of invoice IDs associated with bank order.
74
+ * @type {Array<number>}
75
+ * @memberof BankOrderClass
76
+ */
77
+ 'invoiceIds': Array<number>;
78
+ /**
79
+ * Day of execution of bank order.
80
+ * @type {string}
81
+ * @memberof BankOrderClass
82
+ */
83
+ 'executionDate': string;
84
+ /**
85
+ * Latest due date.
86
+ * @type {string}
87
+ * @memberof BankOrderClass
88
+ */
89
+ 'dueDate': string;
90
+ /**
91
+ * Time at which the object was created.
92
+ * @type {string}
93
+ * @memberof BankOrderClass
94
+ */
95
+ 'createdAt': string;
96
+ /**
97
+ * Time at which the object was updated.
98
+ * @type {string}
99
+ * @memberof BankOrderClass
100
+ */
101
+ 'updatedAt': string;
102
+ /**
103
+ * Identifier of the user who created the record.
104
+ * @type {string}
105
+ * @memberof BankOrderClass
106
+ */
107
+ 'createdBy': string;
108
+ /**
109
+ * Identifier of the user who last updated the record.
110
+ * @type {string}
111
+ * @memberof BankOrderClass
112
+ */
113
+ 'updatedBy': string;
114
+ /**
115
+ * The bank account object that this bank order is belongs to
116
+ * @type {TenantBankAccountClassWithoutExpandProperties}
117
+ * @memberof BankOrderClass
118
+ */
119
+ 'bankAccount'?: TenantBankAccountClassWithoutExpandProperties;
120
+ }
121
+
@@ -0,0 +1,90 @@
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 CreateBankOrderRequestDto
21
+ */
22
+ export interface CreateBankOrderRequestDto {
23
+ /**
24
+ * Bank order type.
25
+ * @type {string}
26
+ * @memberof CreateBankOrderRequestDto
27
+ */
28
+ 'type': CreateBankOrderRequestDtoTypeEnum;
29
+ /**
30
+ * Amount associated with bank order.
31
+ * @type {number}
32
+ * @memberof CreateBankOrderRequestDto
33
+ */
34
+ 'amount': number;
35
+ /**
36
+ * Status associated with bank order.
37
+ * @type {string}
38
+ * @memberof CreateBankOrderRequestDto
39
+ */
40
+ 'status': CreateBankOrderRequestDtoStatusEnum;
41
+ /**
42
+ * Bank order description.
43
+ * @type {string}
44
+ * @memberof CreateBankOrderRequestDto
45
+ */
46
+ 'description'?: string;
47
+ /**
48
+ * Bank account identifier associated with the bank order.
49
+ * @type {number}
50
+ * @memberof CreateBankOrderRequestDto
51
+ */
52
+ 'bankAccountId': number;
53
+ /**
54
+ * List of invoice IDs associated with bank order.
55
+ * @type {Array<number>}
56
+ * @memberof CreateBankOrderRequestDto
57
+ */
58
+ 'invoiceIds': Array<number>;
59
+ /**
60
+ * Day of execution of bank order.
61
+ * @type {string}
62
+ * @memberof CreateBankOrderRequestDto
63
+ */
64
+ 'executionDate': string;
65
+ /**
66
+ * Latest due date.
67
+ * @type {string}
68
+ * @memberof CreateBankOrderRequestDto
69
+ */
70
+ 'dueDate': string;
71
+ }
72
+
73
+ export const CreateBankOrderRequestDtoTypeEnum = {
74
+ DirectDebit: 'direct_debit',
75
+ PremiumPayment: 'premium_payment',
76
+ ClaimPayment: 'claim_payment'
77
+ } as const;
78
+
79
+ export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
80
+ export const CreateBankOrderRequestDtoStatusEnum = {
81
+ Open: 'open',
82
+ Draft: 'draft',
83
+ Closed: 'closed',
84
+ Accepted: 'accepted',
85
+ Processing: 'processing'
86
+ } as const;
87
+
88
+ export type CreateBankOrderRequestDtoStatusEnum = typeof CreateBankOrderRequestDtoStatusEnum[keyof typeof CreateBankOrderRequestDtoStatusEnum];
89
+
90
+
@@ -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 { BankOrderClass } from './bank-order-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateBankOrderResponseClass
22
+ */
23
+ export interface CreateBankOrderResponseClass {
24
+ /**
25
+ * Bank order
26
+ * @type {BankOrderClass}
27
+ * @memberof CreateBankOrderResponseClass
28
+ */
29
+ 'bankOrder': BankOrderClass;
30
+ }
31
+
@@ -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 { BankOrderClass } from './bank-order-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetBankOrderResponseClass
22
+ */
23
+ export interface GetBankOrderResponseClass {
24
+ /**
25
+ * Bank order
26
+ * @type {BankOrderClass}
27
+ * @memberof GetBankOrderResponseClass
28
+ */
29
+ 'bankOrder': BankOrderClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './bank-account-class';
2
2
  export * from './bank-account-class-without-expand-properties';
3
+ export * from './bank-order-class';
3
4
  export * from './bank-transaction-class';
4
5
  export * from './bank-transaction-class-without-expand-properties';
5
6
  export * from './billing-profile-dto';
@@ -12,6 +13,8 @@ export * from './complete-payment-setup-response-class';
12
13
  export * from './complete-stripe-payment-setup-request-dto';
13
14
  export * from './create-bank-account-request-dto';
14
15
  export * from './create-bank-account-response-class';
16
+ export * from './create-bank-order-request-dto';
17
+ export * from './create-bank-order-response-class';
15
18
  export * from './create-payment-method-response-class';
16
19
  export * from './create-payment-reminder-request-dto';
17
20
  export * from './create-payment-reminder-response-class';
@@ -27,6 +30,7 @@ export * from './deactivate-payment-reminder-response-class';
27
30
  export * from './deactivated-payment-reminder-class';
28
31
  export * from './generate-invoice-match-suggestions-response-class';
29
32
  export * from './get-bank-account-response-class';
33
+ export * from './get-bank-order-response-class';
30
34
  export * from './get-bank-transactions-response-class';
31
35
  export * from './get-payment-method-response-class';
32
36
  export * from './get-payment-reminder-response-class';
@@ -48,6 +52,7 @@ export * from './invoice-match-suggestion-class';
48
52
  export * from './link-bank-transaction-request-dto-rest';
49
53
  export * from './link-bank-transactions-response-class';
50
54
  export * from './list-bank-accounts-response-class';
55
+ export * from './list-bank-orders-response-class';
51
56
  export * from './list-bank-transactions-response-class';
52
57
  export * from './list-payment-methods-response-class';
53
58
  export * from './list-payment-reminders-response-class';
@@ -74,6 +79,8 @@ export * from './unlinked-bank-transaction-response-class';
74
79
  export * from './update-bank-account-request-dto';
75
80
  export * from './update-bank-account-request-dto-rest';
76
81
  export * from './update-bank-account-response-class';
82
+ export * from './update-bank-order-request-dto';
83
+ export * from './update-bank-order-response-class';
77
84
  export * from './update-tenant-bank-account-response-class';
78
85
  export * from './update-tenant-bank-account-rest-request-dto';
79
86
  export * from './validate-pspconfig-request-dto';
@@ -0,0 +1,37 @@
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 { BankOrderClass } from './bank-order-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListBankOrdersResponseClass
22
+ */
23
+ export interface ListBankOrdersResponseClass {
24
+ /**
25
+ * The list of bank orders.
26
+ * @type {Array<BankOrderClass>}
27
+ * @memberof ListBankOrdersResponseClass
28
+ */
29
+ 'items': Array<BankOrderClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListBankOrdersResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,77 @@
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 UpdateBankOrderRequestDto
21
+ */
22
+ export interface UpdateBankOrderRequestDto {
23
+ /**
24
+ * Unique identifier for the object.
25
+ * @type {string}
26
+ * @memberof UpdateBankOrderRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ * Amount for the bank order
31
+ * @type {number}
32
+ * @memberof UpdateBankOrderRequestDto
33
+ */
34
+ 'amount': number;
35
+ /**
36
+ * Bank order status
37
+ * @type {string}
38
+ * @memberof UpdateBankOrderRequestDto
39
+ */
40
+ 'status': UpdateBankOrderRequestDtoStatusEnum;
41
+ /**
42
+ * Bank order description.
43
+ * @type {string}
44
+ * @memberof UpdateBankOrderRequestDto
45
+ */
46
+ 'description'?: string;
47
+ /**
48
+ * List of invoice IDs associated with bank order.
49
+ * @type {Array<number>}
50
+ * @memberof UpdateBankOrderRequestDto
51
+ */
52
+ 'invoiceIds': Array<number>;
53
+ /**
54
+ * Day of execution of bank order.
55
+ * @type {string}
56
+ * @memberof UpdateBankOrderRequestDto
57
+ */
58
+ 'executionDate': string;
59
+ /**
60
+ * Latest due date.
61
+ * @type {string}
62
+ * @memberof UpdateBankOrderRequestDto
63
+ */
64
+ 'dueDate': string;
65
+ }
66
+
67
+ export const UpdateBankOrderRequestDtoStatusEnum = {
68
+ Open: 'open',
69
+ Draft: 'draft',
70
+ Closed: 'closed',
71
+ Accepted: 'accepted',
72
+ Processing: 'processing'
73
+ } as const;
74
+
75
+ export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
76
+
77
+
@@ -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 { BankOrderClass } from './bank-order-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateBankOrderResponseClass
22
+ */
23
+ export interface UpdateBankOrderResponseClass {
24
+ /**
25
+ * Bank order
26
+ * @type {BankOrderClass}
27
+ * @memberof UpdateBankOrderResponseClass
28
+ */
29
+ 'bankOrder': BankOrderClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.13.1-beta.12",
3
+ "version": "1.13.1-beta.14",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,9 +18,9 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.9.0"
21
+ "axios": "^0.27.2"
22
22
  },
23
23
  "devDependencies": {
24
- "typescript": "^5.8"
24
+ "typescript": "^4.0"
25
25
  }
26
26
  }