@emilgroup/payment-sdk-node 1.23.1-beta.2 → 1.23.1-beta.20
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 +12 -0
- package/README.md +2 -2
- package/api/ibanvalidator-api.ts +169 -0
- package/api/payment-requests-api.ts +697 -0
- package/api.ts +4 -0
- package/dist/api/ibanvalidator-api.d.ts +97 -0
- package/dist/api/ibanvalidator-api.js +228 -0
- package/dist/api/payment-requests-api.d.ts +393 -0
- package/dist/api/payment-requests-api.js +648 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/bank-data-class.d.ts +36 -0
- package/dist/models/bank-data-class.js +15 -0
- package/dist/models/create-payment-request-request-dto.d.ts +103 -0
- package/dist/models/create-payment-request-request-dto.js +32 -0
- package/dist/models/create-payment-request-response-class.d.ts +25 -0
- package/dist/models/create-payment-request-response-class.js +15 -0
- package/dist/models/get-payment-request-response-class.d.ts +25 -0
- package/dist/models/get-payment-request-response-class.js +15 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/list-payment-requests-response-class.d.ts +31 -0
- package/dist/models/list-payment-requests-response-class.js +15 -0
- package/dist/models/payment-request-class.d.ts +148 -0
- package/dist/models/payment-request-class.js +40 -0
- package/dist/models/update-payment-request-request-dto.d.ts +39 -0
- package/dist/models/update-payment-request-request-dto.js +24 -0
- package/dist/models/update-payment-request-response-class.d.ts +25 -0
- package/dist/models/update-payment-request-response-class.js +15 -0
- package/dist/models/validate-iban-request-dto.d.ts +24 -0
- package/dist/models/validate-iban-request-dto.js +15 -0
- package/dist/models/validate-iban-response-class.d.ts +31 -0
- package/dist/models/validate-iban-response-class.js +15 -0
- package/models/bank-data-class.ts +42 -0
- package/models/create-payment-request-request-dto.ts +114 -0
- package/models/create-payment-request-response-class.ts +31 -0
- package/models/get-payment-request-response-class.ts +31 -0
- package/models/index.ts +10 -0
- package/models/list-payment-requests-response-class.ts +37 -0
- package/models/payment-request-class.ts +160 -0
- package/models/update-payment-request-request-dto.ts +48 -0
- package/models/update-payment-request-response-class.ts +31 -0
- package/models/validate-iban-request-dto.ts +30 -0
- package/models/validate-iban-response-class.ts +37 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -16,8 +16,10 @@ export * from './api/billing-addresses-api';
|
|
|
16
16
|
export * from './api/credit-allocation-api';
|
|
17
17
|
export * from './api/exceeding-credits-api';
|
|
18
18
|
export * from './api/health-check-api';
|
|
19
|
+
export * from './api/ibanvalidator-api';
|
|
19
20
|
export * from './api/payment-methods-api';
|
|
20
21
|
export * from './api/payment-reminders-api';
|
|
22
|
+
export * from './api/payment-requests-api';
|
|
21
23
|
export * from './api/payment-setup-api';
|
|
22
24
|
export * from './api/payments-api';
|
|
23
25
|
export * from './api/payout-methods-api';
|
package/dist/api.js
CHANGED
|
@@ -34,8 +34,10 @@ __exportStar(require("./api/billing-addresses-api"), exports);
|
|
|
34
34
|
__exportStar(require("./api/credit-allocation-api"), exports);
|
|
35
35
|
__exportStar(require("./api/exceeding-credits-api"), exports);
|
|
36
36
|
__exportStar(require("./api/health-check-api"), exports);
|
|
37
|
+
__exportStar(require("./api/ibanvalidator-api"), exports);
|
|
37
38
|
__exportStar(require("./api/payment-methods-api"), exports);
|
|
38
39
|
__exportStar(require("./api/payment-reminders-api"), exports);
|
|
40
|
+
__exportStar(require("./api/payment-requests-api"), exports);
|
|
39
41
|
__exportStar(require("./api/payment-setup-api"), exports);
|
|
40
42
|
__exportStar(require("./api/payments-api"), exports);
|
|
41
43
|
__exportStar(require("./api/payout-methods-api"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
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 BankDataClass
|
|
16
|
+
*/
|
|
17
|
+
export interface BankDataClass {
|
|
18
|
+
/**
|
|
19
|
+
* BIC
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BankDataClass
|
|
22
|
+
*/
|
|
23
|
+
'bic': string;
|
|
24
|
+
/**
|
|
25
|
+
* Bank name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BankDataClass
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
* Bank code
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BankDataClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
}
|
|
@@ -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,103 @@
|
|
|
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 CreatePaymentRequestRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentRequestRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Payment amount in cents. 100 to charge 1€.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* Currency code for the payment request (ISO 4217 format).
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'currency': string;
|
|
30
|
+
/**
|
|
31
|
+
* Direction of the payment request. Collect for incoming payments, Disburse for outgoing payments.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'direction': CreatePaymentRequestRequestDtoDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Code of the financial entity (e.g., invoice code, claim adjustment code) that this payment request is associated with.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'financialEntityCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Number of the financial entity (e.g., invoice number, claim adjustment number).
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'financialEntityNumber': string;
|
|
48
|
+
/**
|
|
49
|
+
* Type of the financial entity (e.g., invoice, claim_adjustment).
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'financialEntityType': CreatePaymentRequestRequestDtoFinancialEntityTypeEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Code of the domain entity (e.g., policy code, claim code) that this payment request is associated with.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'domainEntityCode': string;
|
|
60
|
+
/**
|
|
61
|
+
* Number of the domain entity (e.g., policy number, claim number).
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'domainEntityNumber': string;
|
|
66
|
+
/**
|
|
67
|
+
* Type of the domain entity (e.g., policy, claim).
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'paymentMethodCode'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Optional field containing extra information about the payment request.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'metadata'?: object;
|
|
84
|
+
}
|
|
85
|
+
export declare const CreatePaymentRequestRequestDtoDirectionEnum: {
|
|
86
|
+
readonly Collect: "collect";
|
|
87
|
+
readonly Disburse: "disburse";
|
|
88
|
+
};
|
|
89
|
+
export type CreatePaymentRequestRequestDtoDirectionEnum = typeof CreatePaymentRequestRequestDtoDirectionEnum[keyof typeof CreatePaymentRequestRequestDtoDirectionEnum];
|
|
90
|
+
export declare const CreatePaymentRequestRequestDtoFinancialEntityTypeEnum: {
|
|
91
|
+
readonly ClaimAdjustment: "claim_adjustment";
|
|
92
|
+
readonly CommissionSettlement: "commission_settlement";
|
|
93
|
+
readonly Invoice: "invoice";
|
|
94
|
+
readonly Other: "other";
|
|
95
|
+
};
|
|
96
|
+
export type CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = typeof CreatePaymentRequestRequestDtoFinancialEntityTypeEnum[keyof typeof CreatePaymentRequestRequestDtoFinancialEntityTypeEnum];
|
|
97
|
+
export declare const CreatePaymentRequestRequestDtoDomainEntityTypeEnum: {
|
|
98
|
+
readonly Other: "other";
|
|
99
|
+
readonly Claim: "claim";
|
|
100
|
+
readonly Premium: "premium";
|
|
101
|
+
readonly Commission: "commission";
|
|
102
|
+
};
|
|
103
|
+
export type CreatePaymentRequestRequestDtoDomainEntityTypeEnum = typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum[keyof typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum];
|
|
@@ -0,0 +1,32 @@
|
|
|
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.CreatePaymentRequestRequestDtoDomainEntityTypeEnum = exports.CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = exports.CreatePaymentRequestRequestDtoDirectionEnum = void 0;
|
|
17
|
+
exports.CreatePaymentRequestRequestDtoDirectionEnum = {
|
|
18
|
+
Collect: 'collect',
|
|
19
|
+
Disburse: 'disburse'
|
|
20
|
+
};
|
|
21
|
+
exports.CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = {
|
|
22
|
+
ClaimAdjustment: 'claim_adjustment',
|
|
23
|
+
CommissionSettlement: 'commission_settlement',
|
|
24
|
+
Invoice: 'invoice',
|
|
25
|
+
Other: 'other'
|
|
26
|
+
};
|
|
27
|
+
exports.CreatePaymentRequestRequestDtoDomainEntityTypeEnum = {
|
|
28
|
+
Other: 'other',
|
|
29
|
+
Claim: 'claim',
|
|
30
|
+
Premium: 'premium',
|
|
31
|
+
Commission: 'commission'
|
|
32
|
+
};
|
|
@@ -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 { PaymentRequestClass } from './payment-request-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePaymentRequestResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePaymentRequestResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created payment request with all its details.
|
|
21
|
+
* @type {PaymentRequestClass}
|
|
22
|
+
* @memberof CreatePaymentRequestResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentRequest': PaymentRequestClass;
|
|
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,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 { PaymentRequestClass } from './payment-request-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetPaymentRequestResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPaymentRequestResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The payment request retrieved by its code.
|
|
21
|
+
* @type {PaymentRequestClass}
|
|
22
|
+
* @memberof GetPaymentRequestResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentRequest': PaymentRequestClass;
|
|
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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './activate-policy-payment-method-request-dto';
|
|
2
2
|
export * from './bank-account-class';
|
|
3
3
|
export * from './bank-account-class-without-expand-properties';
|
|
4
|
+
export * from './bank-data-class';
|
|
4
5
|
export * from './bank-order-class';
|
|
5
6
|
export * from './bank-order-entity';
|
|
6
7
|
export * from './bank-order-xml-file-class';
|
|
@@ -36,6 +37,8 @@ export * from './create-payment-order-request-dto';
|
|
|
36
37
|
export * from './create-payment-reminder-request-dto';
|
|
37
38
|
export * from './create-payment-reminder-response-class';
|
|
38
39
|
export * from './create-payment-request-dto';
|
|
40
|
+
export * from './create-payment-request-request-dto';
|
|
41
|
+
export * from './create-payment-request-response-class';
|
|
39
42
|
export * from './create-payment-response-class';
|
|
40
43
|
export * from './create-payout-method-request-dto';
|
|
41
44
|
export * from './create-payout-method-response-class';
|
|
@@ -63,6 +66,7 @@ export * from './get-credit-allocation-response-class';
|
|
|
63
66
|
export * from './get-exceeding-credit-response-class';
|
|
64
67
|
export * from './get-payment-method-response-class';
|
|
65
68
|
export * from './get-payment-reminder-response-class';
|
|
69
|
+
export * from './get-payment-request-response-class';
|
|
66
70
|
export * from './get-payment-response-class';
|
|
67
71
|
export * from './get-payout-method-response-class';
|
|
68
72
|
export * from './get-refund-response-class';
|
|
@@ -92,6 +96,7 @@ export * from './list-credit-allocations-response-class';
|
|
|
92
96
|
export * from './list-exceeding-credits-response-class';
|
|
93
97
|
export * from './list-payment-methods-response-class';
|
|
94
98
|
export * from './list-payment-reminders-response-class';
|
|
99
|
+
export * from './list-payment-requests-response-class';
|
|
95
100
|
export * from './list-payments-response-class';
|
|
96
101
|
export * from './list-payout-methods-response-class';
|
|
97
102
|
export * from './list-policy-payment-methods-response-class';
|
|
@@ -105,6 +110,7 @@ export * from './payment-class-without-expand-properties';
|
|
|
105
110
|
export * from './payment-entity';
|
|
106
111
|
export * from './payment-method-class';
|
|
107
112
|
export * from './payment-reminder-class';
|
|
113
|
+
export * from './payment-request-class';
|
|
108
114
|
export * from './payout-method-class';
|
|
109
115
|
export * from './policy-payment-method-class';
|
|
110
116
|
export * from './primary-bank-account-response-class';
|
|
@@ -129,6 +135,10 @@ export * from './update-bank-order-request-dto';
|
|
|
129
135
|
export * from './update-bank-order-response-class';
|
|
130
136
|
export * from './update-billing-address-request-dto';
|
|
131
137
|
export * from './update-billing-address-response-class';
|
|
138
|
+
export * from './update-payment-request-request-dto';
|
|
139
|
+
export * from './update-payment-request-response-class';
|
|
132
140
|
export * from './update-tenant-bank-account-response-class';
|
|
133
141
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
142
|
+
export * from './validate-iban-request-dto';
|
|
143
|
+
export * from './validate-iban-response-class';
|
|
134
144
|
export * from './validate-pspconfig-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./activate-policy-payment-method-request-dto"), exports);
|
|
18
18
|
__exportStar(require("./bank-account-class"), exports);
|
|
19
19
|
__exportStar(require("./bank-account-class-without-expand-properties"), exports);
|
|
20
|
+
__exportStar(require("./bank-data-class"), exports);
|
|
20
21
|
__exportStar(require("./bank-order-class"), exports);
|
|
21
22
|
__exportStar(require("./bank-order-entity"), exports);
|
|
22
23
|
__exportStar(require("./bank-order-xml-file-class"), exports);
|
|
@@ -52,6 +53,8 @@ __exportStar(require("./create-payment-order-request-dto"), exports);
|
|
|
52
53
|
__exportStar(require("./create-payment-reminder-request-dto"), exports);
|
|
53
54
|
__exportStar(require("./create-payment-reminder-response-class"), exports);
|
|
54
55
|
__exportStar(require("./create-payment-request-dto"), exports);
|
|
56
|
+
__exportStar(require("./create-payment-request-request-dto"), exports);
|
|
57
|
+
__exportStar(require("./create-payment-request-response-class"), exports);
|
|
55
58
|
__exportStar(require("./create-payment-response-class"), exports);
|
|
56
59
|
__exportStar(require("./create-payout-method-request-dto"), exports);
|
|
57
60
|
__exportStar(require("./create-payout-method-response-class"), exports);
|
|
@@ -79,6 +82,7 @@ __exportStar(require("./get-credit-allocation-response-class"), exports);
|
|
|
79
82
|
__exportStar(require("./get-exceeding-credit-response-class"), exports);
|
|
80
83
|
__exportStar(require("./get-payment-method-response-class"), exports);
|
|
81
84
|
__exportStar(require("./get-payment-reminder-response-class"), exports);
|
|
85
|
+
__exportStar(require("./get-payment-request-response-class"), exports);
|
|
82
86
|
__exportStar(require("./get-payment-response-class"), exports);
|
|
83
87
|
__exportStar(require("./get-payout-method-response-class"), exports);
|
|
84
88
|
__exportStar(require("./get-refund-response-class"), exports);
|
|
@@ -108,6 +112,7 @@ __exportStar(require("./list-credit-allocations-response-class"), exports);
|
|
|
108
112
|
__exportStar(require("./list-exceeding-credits-response-class"), exports);
|
|
109
113
|
__exportStar(require("./list-payment-methods-response-class"), exports);
|
|
110
114
|
__exportStar(require("./list-payment-reminders-response-class"), exports);
|
|
115
|
+
__exportStar(require("./list-payment-requests-response-class"), exports);
|
|
111
116
|
__exportStar(require("./list-payments-response-class"), exports);
|
|
112
117
|
__exportStar(require("./list-payout-methods-response-class"), exports);
|
|
113
118
|
__exportStar(require("./list-policy-payment-methods-response-class"), exports);
|
|
@@ -121,6 +126,7 @@ __exportStar(require("./payment-class-without-expand-properties"), exports);
|
|
|
121
126
|
__exportStar(require("./payment-entity"), exports);
|
|
122
127
|
__exportStar(require("./payment-method-class"), exports);
|
|
123
128
|
__exportStar(require("./payment-reminder-class"), exports);
|
|
129
|
+
__exportStar(require("./payment-request-class"), exports);
|
|
124
130
|
__exportStar(require("./payout-method-class"), exports);
|
|
125
131
|
__exportStar(require("./policy-payment-method-class"), exports);
|
|
126
132
|
__exportStar(require("./primary-bank-account-response-class"), exports);
|
|
@@ -145,6 +151,10 @@ __exportStar(require("./update-bank-order-request-dto"), exports);
|
|
|
145
151
|
__exportStar(require("./update-bank-order-response-class"), exports);
|
|
146
152
|
__exportStar(require("./update-billing-address-request-dto"), exports);
|
|
147
153
|
__exportStar(require("./update-billing-address-response-class"), exports);
|
|
154
|
+
__exportStar(require("./update-payment-request-request-dto"), exports);
|
|
155
|
+
__exportStar(require("./update-payment-request-response-class"), exports);
|
|
148
156
|
__exportStar(require("./update-tenant-bank-account-response-class"), exports);
|
|
149
157
|
__exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
|
|
158
|
+
__exportStar(require("./validate-iban-request-dto"), exports);
|
|
159
|
+
__exportStar(require("./validate-iban-response-class"), exports);
|
|
150
160
|
__exportStar(require("./validate-pspconfig-request-dto"), exports);
|
|
@@ -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 { PaymentRequestClass } from './payment-request-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPaymentRequestsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPaymentRequestsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of payment requests.
|
|
21
|
+
* @type {Array<PaymentRequestClass>}
|
|
22
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<PaymentRequestClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
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,148 @@
|
|
|
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 PaymentRequestClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentRequestClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PaymentRequestClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PaymentRequestClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Payment request number.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PaymentRequestClass
|
|
34
|
+
*/
|
|
35
|
+
'paymentRequestNumber': string;
|
|
36
|
+
/**
|
|
37
|
+
* Payment amount in cents. 100 represents 1€.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PaymentRequestClass
|
|
40
|
+
*/
|
|
41
|
+
'amount': number;
|
|
42
|
+
/**
|
|
43
|
+
* Currency code for the payment request.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentRequestClass
|
|
46
|
+
*/
|
|
47
|
+
'currency': string;
|
|
48
|
+
/**
|
|
49
|
+
* Direction of the payment request. Collect for incoming payments, Disburse for outgoing payments.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentRequestClass
|
|
52
|
+
*/
|
|
53
|
+
'direction': PaymentRequestClassDirectionEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Code of the financial entity (e.g., invoice code, claim adjustment code) that this payment request is associated with.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PaymentRequestClass
|
|
58
|
+
*/
|
|
59
|
+
'financialEntityCode': string;
|
|
60
|
+
/**
|
|
61
|
+
* Number of the financial entity (e.g., invoice number, claim adjustment number).
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentRequestClass
|
|
64
|
+
*/
|
|
65
|
+
'financialEntityNumber': string;
|
|
66
|
+
/**
|
|
67
|
+
* Type of the financial entity (e.g., invoice, claim_adjustment).
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PaymentRequestClass
|
|
70
|
+
*/
|
|
71
|
+
'financialEntityType': PaymentRequestClassFinancialEntityTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Code of the domain entity (e.g., policy code, claim code) that this payment request is associated with.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentRequestClass
|
|
76
|
+
*/
|
|
77
|
+
'domainEntityCode': string;
|
|
78
|
+
/**
|
|
79
|
+
* Number of the domain entity (e.g., policy number, claim number).
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PaymentRequestClass
|
|
82
|
+
*/
|
|
83
|
+
'domainEntityNumber': string;
|
|
84
|
+
/**
|
|
85
|
+
* Type of the domain entity (e.g., policy, claim).
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PaymentRequestClass
|
|
88
|
+
*/
|
|
89
|
+
'domainEntityType': PaymentRequestClassDomainEntityTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
* Current status of the payment request. Valid statuses: open, approved, pending, succeeded, failed, withdrawn.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof PaymentRequestClass
|
|
94
|
+
*/
|
|
95
|
+
'status': PaymentRequestClassStatusEnum;
|
|
96
|
+
/**
|
|
97
|
+
* Code of the payment method used for this payment request.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PaymentRequestClass
|
|
100
|
+
*/
|
|
101
|
+
'paymentMethodCode'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Type of the payment method (e.g., sepa_debit, credit_card, bank_transfer).
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PaymentRequestClass
|
|
106
|
+
*/
|
|
107
|
+
'paymentMethodType'?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Payment Service Provider (PSP) used for processing the payment (e.g., stripe, braintree, adyen, eis).
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PaymentRequestClass
|
|
112
|
+
*/
|
|
113
|
+
'paymentMethodPsp'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Optional field containing extra information about the payment request.
|
|
116
|
+
* @type {object}
|
|
117
|
+
* @memberof PaymentRequestClass
|
|
118
|
+
*/
|
|
119
|
+
'metadata'?: object;
|
|
120
|
+
}
|
|
121
|
+
export declare const PaymentRequestClassDirectionEnum: {
|
|
122
|
+
readonly Collect: "collect";
|
|
123
|
+
readonly Disburse: "disburse";
|
|
124
|
+
};
|
|
125
|
+
export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirectionEnum[keyof typeof PaymentRequestClassDirectionEnum];
|
|
126
|
+
export declare const PaymentRequestClassFinancialEntityTypeEnum: {
|
|
127
|
+
readonly ClaimAdjustment: "claim_adjustment";
|
|
128
|
+
readonly CommissionSettlement: "commission_settlement";
|
|
129
|
+
readonly Invoice: "invoice";
|
|
130
|
+
readonly Other: "other";
|
|
131
|
+
};
|
|
132
|
+
export type PaymentRequestClassFinancialEntityTypeEnum = typeof PaymentRequestClassFinancialEntityTypeEnum[keyof typeof PaymentRequestClassFinancialEntityTypeEnum];
|
|
133
|
+
export declare const PaymentRequestClassDomainEntityTypeEnum: {
|
|
134
|
+
readonly Other: "other";
|
|
135
|
+
readonly Claim: "claim";
|
|
136
|
+
readonly Premium: "premium";
|
|
137
|
+
readonly Commission: "commission";
|
|
138
|
+
};
|
|
139
|
+
export type PaymentRequestClassDomainEntityTypeEnum = typeof PaymentRequestClassDomainEntityTypeEnum[keyof typeof PaymentRequestClassDomainEntityTypeEnum];
|
|
140
|
+
export declare const PaymentRequestClassStatusEnum: {
|
|
141
|
+
readonly Open: "open";
|
|
142
|
+
readonly Approved: "approved";
|
|
143
|
+
readonly Pending: "pending";
|
|
144
|
+
readonly Succeeded: "succeeded";
|
|
145
|
+
readonly Failed: "failed";
|
|
146
|
+
readonly Withdrawn: "withdrawn";
|
|
147
|
+
};
|
|
148
|
+
export type PaymentRequestClassStatusEnum = typeof PaymentRequestClassStatusEnum[keyof typeof PaymentRequestClassStatusEnum];
|
|
@@ -0,0 +1,40 @@
|
|
|
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.PaymentRequestClassStatusEnum = exports.PaymentRequestClassDomainEntityTypeEnum = exports.PaymentRequestClassFinancialEntityTypeEnum = exports.PaymentRequestClassDirectionEnum = void 0;
|
|
17
|
+
exports.PaymentRequestClassDirectionEnum = {
|
|
18
|
+
Collect: 'collect',
|
|
19
|
+
Disburse: 'disburse'
|
|
20
|
+
};
|
|
21
|
+
exports.PaymentRequestClassFinancialEntityTypeEnum = {
|
|
22
|
+
ClaimAdjustment: 'claim_adjustment',
|
|
23
|
+
CommissionSettlement: 'commission_settlement',
|
|
24
|
+
Invoice: 'invoice',
|
|
25
|
+
Other: 'other'
|
|
26
|
+
};
|
|
27
|
+
exports.PaymentRequestClassDomainEntityTypeEnum = {
|
|
28
|
+
Other: 'other',
|
|
29
|
+
Claim: 'claim',
|
|
30
|
+
Premium: 'premium',
|
|
31
|
+
Commission: 'commission'
|
|
32
|
+
};
|
|
33
|
+
exports.PaymentRequestClassStatusEnum = {
|
|
34
|
+
Open: 'open',
|
|
35
|
+
Approved: 'approved',
|
|
36
|
+
Pending: 'pending',
|
|
37
|
+
Succeeded: 'succeeded',
|
|
38
|
+
Failed: 'failed',
|
|
39
|
+
Withdrawn: 'withdrawn'
|
|
40
|
+
};
|