Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Packages: https://github.com/rbilabs/intl-packages

Loyalty: https://github.com/rbilabs/intl-loyalty

Fulfillment: https://github.com/rbilabs/intl-fulfillment-service

PSP Paycomet Service:https://github.com/rbilabs/intl-psp-paycomet-service

...

*Consider only changes to ENUM and Types in POC

Task 3: Update Loyalty (WIP)

Repo: intl-loyalty

Code Block
Kristoforus Odang

MdwRBIPaymentCard is really just RBIPaymentCard defined here with the Mdw prefix added when generating type for the Loyalty Middleware (the openapi generator config defined here).
schemata.ts
<https://github.com/rbilabs/intl-packages|rbilabs/intl-packages>rbilabs/intl-packages | Added by GitHub

openapitools.json
<https://github.com/rbilabs/intl-loyalty|rbilabs/intl-loyalty>rbilabs/intl-loyalty | Added by GitHub

So, create it what you need to do is:
 1 - Add BIZUM in RBIPaymentCard defined in @rbilabs/intl-payments
 2 - Bump the new version of @rbilabs/intl-payments in intl-loyalty/loyalty-middleware
 3 - Build the loyalty middleware: yarn install && yarn build
 4 -Generate the loyalty middleware sdk: yarn sdk:generate . This creates loyalty middleware SDK with MdwRBIPaymentCard
 5- Then, finally, in WL-GQL you can load this latest version of intl-loyalty-middleware-sdk

Task 3: Fulfillment (WIP)

Repo: intl-fulfillment-service

  • Update Packages

  • Define Bizum in CARD_TYPE_TO_MDW

    image-20240119-112137.pngImage Added

  • Define Bizum in MAP_GQL_CART_PAYMENT_TO_COMMON

    image-20240119-112240.pngImage Added

  • Define Bizum in MAP_GQL_CART_PAYMENT_TO_RBI_COMMON

    image-20240119-112335.pngImage Added

Task 2: Added Bizum payment to Paycomet

...