@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.
@@ -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
  /**
@@ -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;
@@ -1 +1,2 @@
1
1
  export declare const sanitize: (value: string, length: 35) => string;
2
+ export declare const generateId: () => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucianpacurar/iso20022.js",
3
- "version": "0.2.12",
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": "^4.4.1",
79
+ "fast-xml-parser": "^5.3.7",
80
80
  "uuid": "^10.0.0"
81
81
  }
82
82
  }