@emilgroup/payment-sdk-node 1.28.1-beta.26 → 1.28.1-beta.27
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 +0 -2
- package/README.md +2 -2
- package/api/exceeding-credits-api.ts +0 -107
- package/api/payment-requests-api.ts +12 -12
- package/dist/api/exceeding-credits-api.d.ts +0 -57
- package/dist/api/exceeding-credits-api.js +0 -93
- package/dist/api/payment-requests-api.d.ts +12 -12
- package/dist/api/payment-requests-api.js +9 -9
- package/dist/models/create-payment-request-request-dto.d.ts +0 -12
- package/dist/models/credit-allocation-class.d.ts +0 -6
- package/dist/models/credit-allocation-entity.d.ts +0 -6
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
- package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
- package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
- package/dist/models/list-payment-requests-response-class.d.ts +18 -6
- package/dist/models/list-payout-methods-response-class.d.ts +9 -9
- package/dist/models/list-refunds-response-class.d.ts +18 -6
- package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
- package/dist/models/payment-class.d.ts +1 -1
- package/dist/models/payment-entity.d.ts +1 -1
- package/dist/models/payment-request-class.d.ts +0 -12
- package/dist/models/shared-transaction-class.d.ts +0 -6
- package/dist/models/transaction-entity.d.ts +0 -6
- package/models/create-payment-request-request-dto.ts +0 -12
- package/models/credit-allocation-class.ts +0 -6
- package/models/credit-allocation-entity.ts +0 -6
- package/models/index.ts +0 -2
- package/models/list-billing-addresses-response-class.ts +9 -9
- package/models/list-exceeding-credits-response-class.ts +18 -6
- package/models/list-payment-receipts-response-class.ts +9 -9
- package/models/list-payment-requests-response-class.ts +18 -6
- package/models/list-payout-methods-response-class.ts +9 -9
- package/models/list-refunds-response-class.ts +18 -6
- package/models/payment-class-without-expand-properties.ts +1 -1
- package/models/payment-class.ts +1 -1
- package/models/payment-entity.ts +1 -1
- package/models/payment-request-class.ts +0 -12
- package/models/shared-transaction-class.ts +0 -6
- package/models/transaction-entity.ts +0 -6
- package/package.json +1 -1
- package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
- package/dist/models/create-exceeding-credit-request-dto.js +0 -15
- package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
- package/dist/models/create-exceeding-credit-response-class.js +0 -15
- package/models/create-exceeding-credit-request-dto.ts +0 -54
- package/models/create-exceeding-credit-response-class.ts +0 -31
|
@@ -21,18 +21,18 @@ import { PayoutMethodClass } from './payout-method-class';
|
|
|
21
21
|
* @interface ListPayoutMethodsResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListPayoutMethodsResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The payout methods
|
|
26
|
-
* @type {Array<PayoutMethodClass>}
|
|
27
|
-
* @memberof ListPayoutMethodsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<PayoutMethodClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListPayoutMethodsResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
36
|
/**
|
|
37
37
|
* Items per page.
|
|
38
38
|
* @type {number}
|
|
@@ -40,10 +40,10 @@ export interface ListPayoutMethodsResponseClass {
|
|
|
40
40
|
*/
|
|
41
41
|
'itemsPerPage': number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
43
|
+
* The payout methods
|
|
44
|
+
* @type {Array<PayoutMethodClass>}
|
|
45
45
|
* @memberof ListPayoutMethodsResponseClass
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'items': Array<PayoutMethodClass>;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -21,17 +21,29 @@ import { RefundClass } from './refund-class';
|
|
|
21
21
|
* @interface ListRefundsResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListRefundsResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The list of refunds.
|
|
26
|
-
* @type {Array<RefundClass>}
|
|
27
|
-
* @memberof ListRefundsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<RefundClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListRefundsResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListRefundsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListRefundsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* The list of refunds.
|
|
44
|
+
* @type {Array<RefundClass>}
|
|
45
|
+
* @memberof ListRefundsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<RefundClass>;
|
|
36
48
|
}
|
|
37
49
|
|
|
@@ -49,7 +49,7 @@ export interface PaymentClassWithoutExpandProperties {
|
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof PaymentClassWithoutExpandProperties
|
|
51
51
|
*/
|
|
52
|
-
'partnerCode'
|
|
52
|
+
'partnerCode'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
55
55
|
* @type {number}
|
package/models/payment-class.ts
CHANGED
package/models/payment-entity.ts
CHANGED
|
@@ -99,18 +99,6 @@ export interface PaymentRequestClass {
|
|
|
99
99
|
* @memberof PaymentRequestClass
|
|
100
100
|
*/
|
|
101
101
|
'status': PaymentRequestClassStatusEnum;
|
|
102
|
-
/**
|
|
103
|
-
* Code of the settlement the payment request was created for.
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof PaymentRequestClass
|
|
106
|
-
*/
|
|
107
|
-
'settlementCode'?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Code of the partner the payment request was created for.
|
|
110
|
-
* @type {string}
|
|
111
|
-
* @memberof PaymentRequestClass
|
|
112
|
-
*/
|
|
113
|
-
'partnerCode': string;
|
|
114
102
|
/**
|
|
115
103
|
* Code of the payment method used for this payment request.
|
|
116
104
|
* @type {string}
|
|
@@ -74,11 +74,5 @@ export interface SharedTransactionClass {
|
|
|
74
74
|
* @memberof SharedTransactionClass
|
|
75
75
|
*/
|
|
76
76
|
'updatedBy': string;
|
|
77
|
-
/**
|
|
78
|
-
* Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof SharedTransactionClass
|
|
81
|
-
*/
|
|
82
|
-
'bankTransactionCode'?: string;
|
|
83
77
|
}
|
|
84
78
|
|
package/package.json
CHANGED
|
@@ -1,48 +0,0 @@
|
|
|
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 CreateExceedingCreditRequestDto
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateExceedingCreditRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* The amount of the credit
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'amount': number;
|
|
24
|
-
/**
|
|
25
|
-
* The description of the credit
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'description'?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The policy code of the credit
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'policyCode': string;
|
|
36
|
-
/**
|
|
37
|
-
* The transaction code of the credit
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'bankTransactionCode': string;
|
|
42
|
-
/**
|
|
43
|
-
* The invoice code of the credit
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
46
|
-
*/
|
|
47
|
-
'invoiceCode': string;
|
|
48
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,25 +0,0 @@
|
|
|
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 { ExceedingCreditClass } from './exceeding-credit-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CreateExceedingCreditResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface CreateExceedingCreditResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* Exceeding credit
|
|
21
|
-
* @type {ExceedingCreditClass}
|
|
22
|
-
* @memberof CreateExceedingCreditResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'exceedingCredit': ExceedingCreditClass;
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,54 +0,0 @@
|
|
|
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 CreateExceedingCreditRequestDto
|
|
21
|
-
*/
|
|
22
|
-
export interface CreateExceedingCreditRequestDto {
|
|
23
|
-
/**
|
|
24
|
-
* The amount of the credit
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'amount': number;
|
|
29
|
-
/**
|
|
30
|
-
* The description of the credit
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
33
|
-
*/
|
|
34
|
-
'description'?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The policy code of the credit
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
39
|
-
*/
|
|
40
|
-
'policyCode': string;
|
|
41
|
-
/**
|
|
42
|
-
* The transaction code of the credit
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
45
|
-
*/
|
|
46
|
-
'bankTransactionCode': string;
|
|
47
|
-
/**
|
|
48
|
-
* The invoice code of the credit
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof CreateExceedingCreditRequestDto
|
|
51
|
-
*/
|
|
52
|
-
'invoiceCode': string;
|
|
53
|
-
}
|
|
54
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
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 { ExceedingCreditClass } from './exceeding-credit-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface CreateExceedingCreditResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface CreateExceedingCreditResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* Exceeding credit
|
|
26
|
-
* @type {ExceedingCreditClass}
|
|
27
|
-
* @memberof CreateExceedingCreditResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'exceedingCredit': ExceedingCreditClass;
|
|
30
|
-
}
|
|
31
|
-
|