@emilgroup/payment-sdk 1.13.1-beta.5 → 1.13.1-beta.51
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 +11 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +691 -0
- package/api/bank-transaction-api.ts +72 -44
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +59 -17
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +2 -0
- package/base.ts +52 -3
- package/dist/api/bank-accounts-api.d.ts +35 -8
- package/dist/api/bank-accounts-api.js +29 -11
- package/dist/api/bank-orders-api.d.ts +393 -0
- package/dist/api/bank-orders-api.js +642 -0
- package/dist/api/bank-transaction-api.d.ts +55 -37
- package/dist/api/bank-transaction-api.js +47 -35
- package/dist/api/payment-methods-api.d.ts +39 -12
- package/dist/api/payment-methods-api.js +32 -14
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +39 -12
- package/dist/api/payments-api.js +32 -14
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +10 -1
- package/dist/base.js +46 -2
- package/dist/models/bank-order-class.d.ts +115 -0
- package/dist/models/bank-order-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -14
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +18 -0
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
- package/dist/models/create-bank-order-request-dto.d.ts +74 -0
- package/dist/models/create-bank-order-request-dto.js +28 -0
- package/dist/models/create-bank-order-response-class.d.ts +25 -0
- package/dist/models/create-bank-order-response-class.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
- package/dist/models/create-psp-payment-method-request-dto.js +2 -1
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/get-bank-order-response-class.d.ts +25 -0
- package/dist/models/get-bank-order-response-class.js +15 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/list-bank-orders-response-class.d.ts +31 -0
- package/dist/models/list-bank-orders-response-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-method-class.d.ts +6 -0
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -14
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +56 -0
- package/dist/models/update-bank-order-request-dto.js +23 -0
- package/dist/models/update-bank-order-response-class.d.ts +25 -0
- package/dist/models/update-bank-order-response-class.js +15 -0
- package/models/bank-order-class.ts +121 -0
- package/models/bank-transaction-class-without-expand-properties.ts +21 -14
- package/models/bank-transaction-class.ts +21 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
- package/models/create-bank-order-request-dto.ts +84 -0
- package/models/create-bank-order-response-class.ts +31 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-psp-payment-method-request-dto.ts +15 -2
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/financial-account-class.ts +120 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/index.ts +10 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
- package/models/initiate-payment-setup-request-dto.ts +3 -2
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/list-bank-orders-response-class.ts +37 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-method-class.ts +6 -0
- package/models/payment-reminder-class.ts +7 -1
- package/models/refund-class.ts +7 -1
- package/models/unlinked-bank-transaction-response-class.ts +21 -14
- package/models/update-bank-order-request-dto.ts +65 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
17
|
-
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
16
|
+
import { BankOrderClass } from './bank-order-class';
|
|
18
17
|
|
|
19
18
|
/**
|
|
20
19
|
*
|
|
@@ -52,6 +51,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
52
51
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
53
52
|
*/
|
|
54
53
|
'messageReference'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Label of the transaction
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
58
|
+
*/
|
|
59
|
+
'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
|
|
55
60
|
/**
|
|
56
61
|
* Currency of the transaction.
|
|
57
62
|
* @type {string}
|
|
@@ -94,6 +99,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
94
99
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
95
100
|
*/
|
|
96
101
|
'isLinked': boolean;
|
|
102
|
+
/**
|
|
103
|
+
* The linked bank order object
|
|
104
|
+
* @type {BankOrderClass}
|
|
105
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
106
|
+
*/
|
|
107
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
97
108
|
/**
|
|
98
109
|
* The file format of the bank transaction
|
|
99
110
|
* @type {string}
|
|
@@ -118,17 +129,13 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
118
129
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
119
130
|
*/
|
|
120
131
|
'updatedBy': string;
|
|
121
|
-
/**
|
|
122
|
-
* The match suggestions for invoices
|
|
123
|
-
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
124
|
-
* @memberof UnlinkedBankTransactionResponseClass
|
|
125
|
-
*/
|
|
126
|
-
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
127
|
-
/**
|
|
128
|
-
* The progress of the suggestion generation
|
|
129
|
-
* @type {SuggestionGenerationProgressClass}
|
|
130
|
-
* @memberof UnlinkedBankTransactionResponseClass
|
|
131
|
-
*/
|
|
132
|
-
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
133
132
|
}
|
|
134
133
|
|
|
134
|
+
export const UnlinkedBankTransactionResponseClassLabelEnum = {
|
|
135
|
+
Automated: 'automated',
|
|
136
|
+
Manual: 'manual'
|
|
137
|
+
} as const;
|
|
138
|
+
|
|
139
|
+
export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
|
|
140
|
+
|
|
141
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
* Bank order status
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateBankOrderRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'status': UpdateBankOrderRequestDtoStatusEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Bank order description.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateBankOrderRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'description'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* List of invoice IDs associated with bank order.
|
|
37
|
+
* @type {Array<number>}
|
|
38
|
+
* @memberof UpdateBankOrderRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'invoiceIds': Array<number>;
|
|
41
|
+
/**
|
|
42
|
+
* Day of execution of bank order.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateBankOrderRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'executionDate': string;
|
|
47
|
+
/**
|
|
48
|
+
* Latest due date.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpdateBankOrderRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'dueDate': string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const UpdateBankOrderRequestDtoStatusEnum = {
|
|
56
|
+
Open: 'open',
|
|
57
|
+
Draft: 'draft',
|
|
58
|
+
Closed: 'closed',
|
|
59
|
+
Accepted: 'accepted',
|
|
60
|
+
Processing: 'processing'
|
|
61
|
+
} as const;
|
|
62
|
+
|
|
63
|
+
export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
|
|
64
|
+
|
|
65
|
+
|
|
@@ -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