diff --git a/package-lock.json b/package-lock.json index 079545ac..f5522357 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@mojaloop/event-sdk": "14.1.1", "@mojaloop/inter-scheme-proxy-cache-lib": "2.3.0", "@mojaloop/ml-number": "11.2.4", - "@mojaloop/ml-schema-transformer-lib": "2.1.0", + "@mojaloop/ml-schema-transformer-lib": "2.3.4", "@mojaloop/sdk-standard-components": "18.1.0", "ajv": "8.17.1", "ajv-keywords": "5.1.0", @@ -2035,9 +2035,9 @@ } }, "node_modules/@mojaloop/ml-schema-transformer-lib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@mojaloop/ml-schema-transformer-lib/-/ml-schema-transformer-lib-2.1.0.tgz", - "integrity": "sha512-4QDndamYO3dM17O90y4E4T4Ah3h1qCNjtcq0mEbrEbn0wE+sQVfVSi0DttUJB5URmxfxY0bdd+kmpXVzR2dPqg==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@mojaloop/ml-schema-transformer-lib/-/ml-schema-transformer-lib-2.3.4.tgz", + "integrity": "sha512-ficIupSFyrSRsrRVqVqxaFT6xDbyGCaZKIWX5x4aKU/bH4VoJQ5fpYxeDLPg+HTyvm4qYpj3KDUVKyCc7mMKlQ==", "dependencies": { "@mojaloop/central-services-error-handling": "^13.0.2", "@mojaloop/central-services-logger": "^11.5.1", @@ -2049,7 +2049,7 @@ "node": ">=18.x" }, "optionalDependencies": { - "@rollup/rollup-linux-x64-musl": "4.24.2" + "@rollup/rollup-linux-x64-musl": "4.24.3" } }, "node_modules/@mojaloop/ml-schema-transformer-lib/node_modules/@hapi/boom": { @@ -2227,9 +2227,9 @@ "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.24.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.2.tgz", - "integrity": "sha512-XAo7cJec80NWx9LlZFEJQxqKOMz/lX3geWs2iNT5CHIERLFfd90f3RYLLjiCBm1IMaQ4VOX/lTC9lWfzzQm14Q==", + "version": "4.24.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.3.tgz", + "integrity": "sha512-rMTzawBPimBQkG9NKpNHvquIUTQPzrnPxPbCY1Xt+mFkW7pshvyIS5kYgcf74goxXOQk0CP3EoOC1zcEezKXhw==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index a18f7374..8dabd8d8 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,7 @@ "@mojaloop/event-sdk": "14.1.1", "@mojaloop/inter-scheme-proxy-cache-lib": "2.3.0", "@mojaloop/ml-number": "11.2.4", - "@mojaloop/ml-schema-transformer-lib": "2.1.0", + "@mojaloop/ml-schema-transformer-lib": "2.3.4", "@mojaloop/sdk-standard-components": "18.1.0", "ajv": "8.17.1", "ajv-keywords": "5.1.0", diff --git a/src/interface/fspiop-rest-v2.0-ISO20022_quotes.yaml b/src/interface/fspiop-rest-v2.0-ISO20022_quotes.yaml index c57df188..e3212612 100644 --- a/src/interface/fspiop-rest-v2.0-ISO20022_quotes.yaml +++ b/src/interface/fspiop-rest-v2.0-ISO20022_quotes.yaml @@ -1930,8 +1930,8 @@ components: Dbtr: true Cdtr: true Tax: Cdtr - CreditTransferTransaction68: - title: CreditTransferTransaction68 + CreditTransferTransaction68_FX_Quotes: + title: CreditTransferTransaction68_FX_Quotes description: > Provides further details specific to the individual transaction(s) included in the message. @@ -2005,142 +2005,7 @@ components: Account to which a credit entry is made. InstrForCdtrAgt: allOf: - - $ref: "#/components/schemas/InstructionForCreditorAgent3" - - description: > - InstructionForCreditorAgent - - Set of elements used to provide information on the remittance - advice. - Purp: - allOf: - - $ref: "#/components/schemas/Purpose2Choice" - - description: | - Purpose - Underlying reason for the payment transaction. - VrfctnOfTerms: - allOf: - - $ref: "#/components/schemas/CryptographicLockChoice" - - description: > - VerificationOfTerms - - Set of elements used to provide information on the underlying - terms of the transaction. - required: - - PmtId - - IntrBkSttlmAmt - - Dbtr - - Cdtr - example: - PmtId: - InstrId: INSTRID - EndToEndId: ENDTOENDID - PmtTpInf: - LclInstrm: - Cd: CHQB - Prtry: PROPRIETARY - IntrBkSttlmAmt: - Amount: 123.45 - Ccy: EUR - Dbtr: - Nm: Debtor Name - DbtrAcct: - Id: - IBAN: IBAN - DbtrAgt: - FinInstnId: - BICFI: BICFI - CdtrAgt: - FinInstnId: - BICFI: BICFI - Cdtr: - Nm: Creditor Name - CdtrAcct: - Id: - IBAN: IBAN - InstrForCdtrAgt: - Cd: INSTRUCTION - Purp: - Cd: CHAR - VrfctnOfTerms: - Cntt: CONTENT - CnttTp: PROPRIETARY - CreditTransferTransaction68_Put_FX_Quotes_ID: - title: CreditTransferTransaction68_Put_FX_Quotes_ID - description: > - Provides further details specific to the individual transaction(s) - included in the message. - type: object - properties: - PmtId: - allOf: - - $ref: "#/components/schemas/PaymentIdentification13" - - description: | - PaymentIdentification - Set of elements used to reference a payment instruction. - PmtTpInf: - allOf: - - $ref: "#/components/schemas/PaymentTypeInformation28" - - description: | - PaymentTypeInformation - Set of elements used to further specify the type of transaction. - UndrlygCstmrCdtTrf: - allOf: - - $ref: "#/components/schemas/UnderlyingCustomerCreditTransfer" - - description: | - Underlying Customer Credit Transfer - TBD - IntrBkSttlmAmt: - allOf: - - $ref: "#/components/schemas/ActiveCurrencyAndAmount" - - description: > - InterbankSettlementAmount - - Amount of money moved between the instructing agent and the - instructed agent. - Dbtr: - allOf: - - $ref: >- - #/components/schemas/BranchAndFinancialInstitutionIdentification8 - - description: | - Debtor - Party that owes an amount of money to the (ultimate) creditor. - DbtrAcct: - allOf: - - $ref: "#/components/schemas/CashAccount40" - - description: | - DebtorAccount - Account used to process a payment. - DbtrAgt: - allOf: - - $ref: >- - #/components/schemas/BranchAndFinancialInstitutionIdentification8 - - description: | - DebtorAgent - Financial institution servicing an account for the debtor. - CdtrAgt: - allOf: - - $ref: >- - #/components/schemas/BranchAndFinancialInstitutionIdentification8 - - description: | - CreditorAgent - Financial institution servicing an account for the creditor. - Cdtr: - allOf: - - $ref: >- - #/components/schemas/BranchAndFinancialInstitutionIdentification8 - - description: | - Creditor - Party to which an amount of money is due. - CdtrAcct: - allOf: - - $ref: "#/components/schemas/CashAccount40" - - description: | - CreditorAccount - Account to which a credit entry is made. - InstrForCdtrAgt: - allOf: - - $ref: >- - #/components/schemas/InstructionForCreditorAgent3_Put_FX_Quotes_ID + - $ref: "#/components/schemas/InstructionForCreditorAgent3_FX_Quotes" - description: > InstructionForCreditorAgent @@ -2670,7 +2535,7 @@ components: included in the message. CdtTrfTxInf: allOf: - - $ref: "#/components/schemas/CreditTransferTransaction68" + - $ref: "#/components/schemas/CreditTransferTransaction68_FX_Quotes" - description: | Credit Transfer Transaction Information required: @@ -2770,10 +2635,9 @@ components: included in the message. CdtTrfTxInf: allOf: - - $ref: >- - #/components/schemas/CreditTransferTransaction68_Put_FX_Quotes_ID + - $ref: "#/components/schemas/CreditTransferTransaction68_FX_Quotes" - description: > - CreditTransferTransaction68_Put_FX_Quotes_ID + CreditTransferTransaction68_FX_Quotes Set of elements providing information specific to the individual credit transfer(s). @@ -3299,7 +3163,7 @@ components: example: Cd: PHOA InstrInf: Please advise/contact next agent by phone. - InstructionForCreditorAgent3_Put_FX_Quotes_ID: + InstructionForCreditorAgent3_FX_Quotes: title: InstructionForCreditorAgent3_Put_FX_Quotes_ID description: > Further information related to the processing of the payment