@emilgroup/payment-sdk-node 1.23.1-beta.35 → 1.23.1-beta.37
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 +7 -0
- package/README.md +2 -2
- package/api/payment-receipts-api.ts +680 -0
- package/api.ts +2 -0
- package/dist/api/payment-receipts-api.d.ts +383 -0
- package/dist/api/payment-receipts-api.js +641 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-payment-receipt-request-dto.d.ts +54 -0
- package/dist/models/create-payment-receipt-request-dto.js +15 -0
- package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/create-payment-receipt-response-class.js +15 -0
- package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/get-payment-receipt-response-class.js +15 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
- package/dist/models/list-payment-receipts-response-class.js +15 -0
- package/dist/models/payment-receipt-class.d.ts +90 -0
- package/dist/models/payment-receipt-class.js +15 -0
- package/dist/models/payment-request-class.d.ts +7 -0
- package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/update-payment-receipt-response-class.js +15 -0
- package/models/create-payment-receipt-request-dto.ts +60 -0
- package/models/create-payment-receipt-response-class.ts +31 -0
- package/models/get-payment-receipt-response-class.ts +31 -0
- package/models/index.ts +6 -0
- package/models/list-payment-receipts-response-class.ts +49 -0
- package/models/payment-receipt-class.ts +96 -0
- package/models/payment-request-class.ts +7 -0
- package/models/update-payment-receipt-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPaymentReceiptsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPaymentReceiptsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of payment receipts.
|
|
26
|
+
* @type {Array<PaymentReceiptClass>}
|
|
27
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PaymentReceiptClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total amount of items.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
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 PaymentReceiptClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PaymentReceiptClass {
|
|
23
|
+
/**
|
|
24
|
+
* id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PaymentReceiptClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* code
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PaymentReceiptClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* amount in cents.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PaymentReceiptClass
|
|
39
|
+
*/
|
|
40
|
+
'amount': number;
|
|
41
|
+
/**
|
|
42
|
+
* currency
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PaymentReceiptClass
|
|
45
|
+
*/
|
|
46
|
+
'currency': string;
|
|
47
|
+
/**
|
|
48
|
+
* The receipt direction. Collect for incoming payments, Disburse for outgoing payments.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PaymentReceiptClass
|
|
51
|
+
*/
|
|
52
|
+
'direction': string;
|
|
53
|
+
/**
|
|
54
|
+
* The code of the payment request associated with the payment receipt.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PaymentReceiptClass
|
|
57
|
+
*/
|
|
58
|
+
'paymentRequestCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The payment service provider that produced the payment receipt.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PaymentReceiptClass
|
|
63
|
+
*/
|
|
64
|
+
'psp'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* An optional comment associated with the payment receipt.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PaymentReceiptClass
|
|
69
|
+
*/
|
|
70
|
+
'comment'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Time at which the object was created.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PaymentReceiptClass
|
|
75
|
+
*/
|
|
76
|
+
'createdAt': string;
|
|
77
|
+
/**
|
|
78
|
+
* Time at which the object was updated.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PaymentReceiptClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedAt': string;
|
|
83
|
+
/**
|
|
84
|
+
* Identifier of the user who created the record.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PaymentReceiptClass
|
|
87
|
+
*/
|
|
88
|
+
'createdBy': string;
|
|
89
|
+
/**
|
|
90
|
+
* Identifier of the user who last updated the record.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PaymentReceiptClass
|
|
93
|
+
*/
|
|
94
|
+
'updatedBy': string;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { PaymentReceiptClass } from './payment-receipt-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -122,6 +123,12 @@ export interface PaymentRequestClass {
|
|
|
122
123
|
* @memberof PaymentRequestClass
|
|
123
124
|
*/
|
|
124
125
|
'metadata'?: object;
|
|
126
|
+
/**
|
|
127
|
+
* The list of payment receipts.
|
|
128
|
+
* @type {Array<PaymentReceiptClass>}
|
|
129
|
+
* @memberof PaymentRequestClass
|
|
130
|
+
*/
|
|
131
|
+
'paymentReceipts': Array<PaymentReceiptClass>;
|
|
125
132
|
}
|
|
126
133
|
|
|
127
134
|
export const PaymentRequestClassDirectionEnum = {
|
|
@@ -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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdatePaymentReceiptResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdatePaymentReceiptResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The updated payment receipt.
|
|
26
|
+
* @type {PaymentReceiptClass}
|
|
27
|
+
* @memberof UpdatePaymentReceiptResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
30
|
+
}
|
|
31
|
+
|