Context
frms-coe-lib has been updated to 8.0.0-rc.3. The paysys team already updated logic.service.ts on the feat-paysys-poc branch to use isPacs002Transaction and isBaseMessageTransaction guards. This issue tracks porting those changes to dev with the updated library version.
Changes required
- Bump
@tazama-lf/frms-coe-lib to 8.0.0-rc.3
- Port
logic.service.ts changes from feat-paysys-poc (type guard pattern for transactionId derivation)
- Update
RuleRequest usage to RuleRequest<SupportedTransactionMessage> where applicable
- Build, test, publish rc, raise PR to
dev
Notes
The paysys branch already contains the correct pattern:
if (isPacs002Transaction(transaction)) {
transactionId = transaction.FIToFIPmtSts.GrpHdr.MsgId;
}
if (isBaseMessageTransaction(transaction)) {
transactionId = transaction.MsgId;
}
New guards isPacs008Transaction, isPain001Transaction, isPain013Transaction are also available in 8.0.0-rc.3 if needed.
Related
Part of the BaseMessage refactor chain. See base-message-refactor.md for full pipeline analysis.
Context
frms-coe-libhas been updated to8.0.0-rc.3. The paysys team already updatedlogic.service.tson thefeat-paysys-pocbranch to useisPacs002TransactionandisBaseMessageTransactionguards. This issue tracks porting those changes todevwith the updated library version.Changes required
@tazama-lf/frms-coe-libto8.0.0-rc.3logic.service.tschanges fromfeat-paysys-poc(type guard pattern fortransactionIdderivation)RuleRequestusage toRuleRequest<SupportedTransactionMessage>where applicabledevNotes
The paysys branch already contains the correct pattern:
New guards
isPacs008Transaction,isPain001Transaction,isPain013Transactionare also available in8.0.0-rc.3if needed.Related
Part of the BaseMessage refactor chain. See
base-message-refactor.mdfor full pipeline analysis.