@emilgroup/payment-sdk-node 1.23.1-beta.43 → 1.23.1-beta.48
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/README.md +2 -2
- package/dist/models/create-payment-receipt-request-dto.d.ts +13 -2
- package/dist/models/create-payment-receipt-request-dto.js +5 -0
- package/dist/models/payment-receipt-class.d.ts +12 -1
- package/dist/models/payment-receipt-class.js +5 -0
- package/models/create-payment-receipt-request-dto.ts +16 -2
- package/models/payment-receipt-class.ts +15 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk-node@1.23.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.23.1-beta.48 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.23.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.23.1-beta.48
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -28,11 +28,17 @@ export interface CreatePaymentReceiptRequestDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'currency': string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The flow of the payment: disburse or collect
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePaymentReceiptRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'direction':
|
|
35
|
+
'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Date the payment was confirmed
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'dateOfPayment': string;
|
|
36
42
|
/**
|
|
37
43
|
* paymentRequestCode
|
|
38
44
|
* @type {string}
|
|
@@ -52,3 +58,8 @@ export interface CreatePaymentReceiptRequestDto {
|
|
|
52
58
|
*/
|
|
53
59
|
'comment'?: string;
|
|
54
60
|
}
|
|
61
|
+
export declare const CreatePaymentReceiptRequestDtoDirectionEnum: {
|
|
62
|
+
readonly Collect: "collect";
|
|
63
|
+
readonly Disburse: "disburse";
|
|
64
|
+
};
|
|
65
|
+
export type CreatePaymentReceiptRequestDtoDirectionEnum = typeof CreatePaymentReceiptRequestDtoDirectionEnum[keyof typeof CreatePaymentReceiptRequestDtoDirectionEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreatePaymentReceiptRequestDtoDirectionEnum = void 0;
|
|
17
|
+
exports.CreatePaymentReceiptRequestDtoDirectionEnum = {
|
|
18
|
+
Collect: 'collect',
|
|
19
|
+
Disburse: 'disburse'
|
|
20
|
+
};
|
|
@@ -44,7 +44,13 @@ export interface PaymentReceiptClass {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PaymentReceiptClass
|
|
46
46
|
*/
|
|
47
|
-
'direction':
|
|
47
|
+
'direction': PaymentReceiptClassDirectionEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Date the payment was confirmed
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentReceiptClass
|
|
52
|
+
*/
|
|
53
|
+
'dateOfPayment': string;
|
|
48
54
|
/**
|
|
49
55
|
* The code of the payment request associated with the payment receipt.
|
|
50
56
|
* @type {string}
|
|
@@ -88,3 +94,8 @@ export interface PaymentReceiptClass {
|
|
|
88
94
|
*/
|
|
89
95
|
'updatedBy': string;
|
|
90
96
|
}
|
|
97
|
+
export declare const PaymentReceiptClassDirectionEnum: {
|
|
98
|
+
readonly Collect: "collect";
|
|
99
|
+
readonly Disburse: "disburse";
|
|
100
|
+
};
|
|
101
|
+
export type PaymentReceiptClassDirectionEnum = typeof PaymentReceiptClassDirectionEnum[keyof typeof PaymentReceiptClassDirectionEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PaymentReceiptClassDirectionEnum = void 0;
|
|
17
|
+
exports.PaymentReceiptClassDirectionEnum = {
|
|
18
|
+
Collect: 'collect',
|
|
19
|
+
Disburse: 'disburse'
|
|
20
|
+
};
|
|
@@ -33,11 +33,17 @@ export interface CreatePaymentReceiptRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'currency': string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* The flow of the payment: disburse or collect
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreatePaymentReceiptRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'direction':
|
|
40
|
+
'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Date the payment was confirmed
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'dateOfPayment': string;
|
|
41
47
|
/**
|
|
42
48
|
* paymentRequestCode
|
|
43
49
|
* @type {string}
|
|
@@ -58,3 +64,11 @@ export interface CreatePaymentReceiptRequestDto {
|
|
|
58
64
|
'comment'?: string;
|
|
59
65
|
}
|
|
60
66
|
|
|
67
|
+
export const CreatePaymentReceiptRequestDtoDirectionEnum = {
|
|
68
|
+
Collect: 'collect',
|
|
69
|
+
Disburse: 'disburse'
|
|
70
|
+
} as const;
|
|
71
|
+
|
|
72
|
+
export type CreatePaymentReceiptRequestDtoDirectionEnum = typeof CreatePaymentReceiptRequestDtoDirectionEnum[keyof typeof CreatePaymentReceiptRequestDtoDirectionEnum];
|
|
73
|
+
|
|
74
|
+
|
|
@@ -49,7 +49,13 @@ export interface PaymentReceiptClass {
|
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof PaymentReceiptClass
|
|
51
51
|
*/
|
|
52
|
-
'direction':
|
|
52
|
+
'direction': PaymentReceiptClassDirectionEnum;
|
|
53
|
+
/**
|
|
54
|
+
* Date the payment was confirmed
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PaymentReceiptClass
|
|
57
|
+
*/
|
|
58
|
+
'dateOfPayment': string;
|
|
53
59
|
/**
|
|
54
60
|
* The code of the payment request associated with the payment receipt.
|
|
55
61
|
* @type {string}
|
|
@@ -94,3 +100,11 @@ export interface PaymentReceiptClass {
|
|
|
94
100
|
'updatedBy': string;
|
|
95
101
|
}
|
|
96
102
|
|
|
103
|
+
export const PaymentReceiptClassDirectionEnum = {
|
|
104
|
+
Collect: 'collect',
|
|
105
|
+
Disburse: 'disburse'
|
|
106
|
+
} as const;
|
|
107
|
+
|
|
108
|
+
export type PaymentReceiptClassDirectionEnum = typeof PaymentReceiptClassDirectionEnum[keyof typeof PaymentReceiptClassDirectionEnum];
|
|
109
|
+
|
|
110
|
+
|