@lucianpacurar/iso20022.js 0.2.12 → 0.2.14
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/dist/index.d.ts +2 -2
- package/dist/index.js +1044 -720
- package/dist/index.mjs +1044 -720
- package/dist/src/pain/001/sepa-multi-credit-payment-initiation.d.ts +2 -1
- package/dist/src/pain/008/sepa-direct-debit-payment-initiation.d.ts +0 -1
- package/dist/src/parseUtils.d.ts +1 -1
- package/dist/src/utils/format.d.ts +1 -0
- package/package.json +2 -2
|
@@ -15,6 +15,8 @@ export interface SEPAMultiCreditPaymentInstructionGroup {
|
|
|
15
15
|
payments: AtLeastOne<SEPACreditPaymentInstruction>;
|
|
16
16
|
/** Optional category purpose code for this payment information block. */
|
|
17
17
|
categoryPurpose?: ExternalCategoryPurpose;
|
|
18
|
+
/** Indicates whether transactions should be booked in batch. Defaults to false. */
|
|
19
|
+
batchBooking?: boolean;
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
22
|
* Configuration for SEPA Multi Credit Payment Initiation.
|
|
@@ -64,7 +66,6 @@ export declare class SEPAMultiCreditPaymentInitiation extends PaymentInitiation
|
|
|
64
66
|
messageId: string;
|
|
65
67
|
creationDate: Date;
|
|
66
68
|
paymentInstructions: AtLeastOne<SEPAMultiCreditPaymentInstructionGroup>;
|
|
67
|
-
paymentInformationIdBase: string;
|
|
68
69
|
private formattedPaymentSum;
|
|
69
70
|
private totalTransactionCount;
|
|
70
71
|
/**
|
|
@@ -78,7 +78,6 @@ export declare class SEPADirectDebitPaymentInitiation extends PaymentInitiation
|
|
|
78
78
|
messageId: string;
|
|
79
79
|
creationDate: Date;
|
|
80
80
|
paymentInstructions: AtLeastOne<SEPADirectDebitPaymentInstructionGroup>;
|
|
81
|
-
paymentInformationIdBase: string;
|
|
82
81
|
private formattedPaymentSum;
|
|
83
82
|
private totalTransactionCount;
|
|
84
83
|
/**
|
package/dist/src/parseUtils.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const parseAccountIdentification: (accountId: any) => AccountIden
|
|
|
6
6
|
export declare const exportAccountIdentification: (accountId: AccountIdentification) => any;
|
|
7
7
|
export declare const parseAgent: (agent: any) => Agent;
|
|
8
8
|
export declare const exportAgent: (agent: Agent) => any;
|
|
9
|
-
export declare const parseAmountToMinorUnits: (rawAmount: number, currency?: Currency) => number;
|
|
9
|
+
export declare const parseAmountToMinorUnits: (rawAmount: number | string, currency?: Currency) => number;
|
|
10
10
|
export declare const exportAmountToString: (amount: number, currency?: Currency) => string;
|
|
11
11
|
export declare const parseDate: (dateElement: any) => Date;
|
|
12
12
|
export declare const parseParty: (party: any) => Party;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucianpacurar/iso20022.js",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"readme": "README.md",
|
|
5
5
|
"description": "Library to create payment messages.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"decimal.js": "^10.6.0",
|
|
78
78
|
"dinero.js": "^1.9.1",
|
|
79
|
-
"fast-xml-parser": "^
|
|
79
|
+
"fast-xml-parser": "^5.3.7",
|
|
80
80
|
"uuid": "^10.0.0"
|
|
81
81
|
}
|
|
82
82
|
}
|