@emilgroup/payment-sdk-node 1.23.1-beta.89 → 1.23.1-beta.91
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/bank-transaction-entity.d.ts +4 -2
- package/dist/models/create-payment-order-dto.d.ts +4 -2
- package/dist/models/create-payment-order-request-dto.d.ts +4 -2
- package/dist/models/create-payment-request-dto.d.ts +4 -2
- package/dist/models/invoice-match-suggestion-entity.d.ts +4 -2
- package/dist/models/payment-entity.d.ts +4 -2
- package/dist/models/validate-pspconfig-request-dto.d.ts +4 -2
- package/models/bank-transaction-entity.ts +2 -2
- package/models/create-payment-order-dto.ts +2 -2
- package/models/create-payment-order-request-dto.ts +2 -2
- package/models/create-payment-request-dto.ts +2 -2
- package/models/invoice-match-suggestion-entity.ts +2 -2
- package/models/payment-entity.ts +2 -2
- package/models/validate-pspconfig-request-dto.ts +2 -2
- 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.91 --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.91
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -95,10 +95,12 @@ export interface BankTransactionEntity {
|
|
|
95
95
|
'transactionReference': string;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
|
-
* @type {object}
|
|
98
|
+
* @type {{ [key: string]: object; }}
|
|
99
99
|
* @memberof BankTransactionEntity
|
|
100
100
|
*/
|
|
101
|
-
'metadata'?:
|
|
101
|
+
'metadata'?: {
|
|
102
|
+
[key: string]: object;
|
|
103
|
+
};
|
|
102
104
|
/**
|
|
103
105
|
*
|
|
104
106
|
* @type {string}
|
|
@@ -41,8 +41,10 @@ export interface CreatePaymentOrderDto {
|
|
|
41
41
|
'referenceNumber'?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Optional field contain extra information.
|
|
44
|
-
* @type {
|
|
44
|
+
* @type {{ [key: string]: string; }}
|
|
45
45
|
* @memberof CreatePaymentOrderDto
|
|
46
46
|
*/
|
|
47
|
-
'metadata':
|
|
47
|
+
'metadata': {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
48
50
|
}
|
|
@@ -41,8 +41,10 @@ export interface CreatePaymentOrderRequestDto {
|
|
|
41
41
|
'referenceNumber'?: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {
|
|
44
|
+
* @type {{ [key: string]: string; }}
|
|
45
45
|
* @memberof CreatePaymentOrderRequestDto
|
|
46
46
|
*/
|
|
47
|
-
'metadata':
|
|
47
|
+
'metadata': {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
48
50
|
}
|
|
@@ -47,10 +47,12 @@ export interface CreatePaymentRequestDto {
|
|
|
47
47
|
'invoiceIds': Array<number>;
|
|
48
48
|
/**
|
|
49
49
|
* Optional field contain extra information.
|
|
50
|
-
* @type {
|
|
50
|
+
* @type {{ [key: string]: string; }}
|
|
51
51
|
* @memberof CreatePaymentRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'metadata':
|
|
53
|
+
'metadata': {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
};
|
|
54
56
|
/**
|
|
55
57
|
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
56
58
|
* @type {string}
|
|
@@ -54,10 +54,12 @@ export interface InvoiceMatchSuggestionEntity {
|
|
|
54
54
|
'confidenceScore': number;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
|
-
* @type {object}
|
|
57
|
+
* @type {{ [key: string]: object; }}
|
|
58
58
|
* @memberof InvoiceMatchSuggestionEntity
|
|
59
59
|
*/
|
|
60
|
-
'matchCriteria'?:
|
|
60
|
+
'matchCriteria'?: {
|
|
61
|
+
[key: string]: object;
|
|
62
|
+
};
|
|
61
63
|
/**
|
|
62
64
|
*
|
|
63
65
|
* @type {string}
|
|
@@ -84,10 +84,12 @@ export interface PaymentEntity {
|
|
|
84
84
|
'transactions': Array<TransactionEntity>;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
|
-
* @type {
|
|
87
|
+
* @type {{ [key: string]: string; }}
|
|
88
88
|
* @memberof PaymentEntity
|
|
89
89
|
*/
|
|
90
|
-
'metadata':
|
|
90
|
+
'metadata': {
|
|
91
|
+
[key: string]: string;
|
|
92
|
+
};
|
|
91
93
|
/**
|
|
92
94
|
*
|
|
93
95
|
* @type {string}
|
|
@@ -23,10 +23,12 @@ export interface ValidatePSPConfigRequestDto {
|
|
|
23
23
|
'type': ValidatePSPConfigRequestDtoTypeEnum;
|
|
24
24
|
/**
|
|
25
25
|
* Map containing various necessary keys to properly use the payment service provider. In the form of <api key name, api key value>.
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
27
|
* @memberof ValidatePSPConfigRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'apiKeys':
|
|
29
|
+
'apiKeys': {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
30
32
|
/**
|
|
31
33
|
* List of payment methods that should be accepted by the payment service provider.
|
|
32
34
|
* @type {Array<string>}
|
|
@@ -100,10 +100,10 @@ export interface BankTransactionEntity {
|
|
|
100
100
|
'transactionReference': string;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
|
-
* @type {object}
|
|
103
|
+
* @type {{ [key: string]: object; }}
|
|
104
104
|
* @memberof BankTransactionEntity
|
|
105
105
|
*/
|
|
106
|
-
'metadata'?: object;
|
|
106
|
+
'metadata'?: { [key: string]: object; };
|
|
107
107
|
/**
|
|
108
108
|
*
|
|
109
109
|
* @type {string}
|
|
@@ -46,9 +46,9 @@ export interface CreatePaymentOrderDto {
|
|
|
46
46
|
'referenceNumber'?: string;
|
|
47
47
|
/**
|
|
48
48
|
* Optional field contain extra information.
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {{ [key: string]: string; }}
|
|
50
50
|
* @memberof CreatePaymentOrderDto
|
|
51
51
|
*/
|
|
52
|
-
'metadata':
|
|
52
|
+
'metadata': { [key: string]: string; };
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -46,9 +46,9 @@ export interface CreatePaymentOrderRequestDto {
|
|
|
46
46
|
'referenceNumber'?: string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {{ [key: string]: string; }}
|
|
50
50
|
* @memberof CreatePaymentOrderRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'metadata':
|
|
52
|
+
'metadata': { [key: string]: string; };
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -52,10 +52,10 @@ export interface CreatePaymentRequestDto {
|
|
|
52
52
|
'invoiceIds': Array<number>;
|
|
53
53
|
/**
|
|
54
54
|
* Optional field contain extra information.
|
|
55
|
-
* @type {
|
|
55
|
+
* @type {{ [key: string]: string; }}
|
|
56
56
|
* @memberof CreatePaymentRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'metadata':
|
|
58
|
+
'metadata': { [key: string]: string; };
|
|
59
59
|
/**
|
|
60
60
|
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
61
61
|
* @type {string}
|
|
@@ -59,10 +59,10 @@ export interface InvoiceMatchSuggestionEntity {
|
|
|
59
59
|
'confidenceScore': number;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
* @type {object}
|
|
62
|
+
* @type {{ [key: string]: object; }}
|
|
63
63
|
* @memberof InvoiceMatchSuggestionEntity
|
|
64
64
|
*/
|
|
65
|
-
'matchCriteria'?: object;
|
|
65
|
+
'matchCriteria'?: { [key: string]: object; };
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {string}
|
package/models/payment-entity.ts
CHANGED
|
@@ -89,10 +89,10 @@ export interface PaymentEntity {
|
|
|
89
89
|
'transactions': Array<TransactionEntity>;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
|
-
* @type {
|
|
92
|
+
* @type {{ [key: string]: string; }}
|
|
93
93
|
* @memberof PaymentEntity
|
|
94
94
|
*/
|
|
95
|
-
'metadata':
|
|
95
|
+
'metadata': { [key: string]: string; };
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
98
|
* @type {string}
|
|
@@ -28,10 +28,10 @@ export interface ValidatePSPConfigRequestDto {
|
|
|
28
28
|
'type': ValidatePSPConfigRequestDtoTypeEnum;
|
|
29
29
|
/**
|
|
30
30
|
* Map containing various necessary keys to properly use the payment service provider. In the form of <api key name, api key value>.
|
|
31
|
-
* @type {
|
|
31
|
+
* @type {{ [key: string]: string; }}
|
|
32
32
|
* @memberof ValidatePSPConfigRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'apiKeys':
|
|
34
|
+
'apiKeys': { [key: string]: string; };
|
|
35
35
|
/**
|
|
36
36
|
* List of payment methods that should be accepted by the payment service provider.
|
|
37
37
|
* @type {Array<string>}
|