...
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
Define Bizum in
MAP_GQL_CART_PAYMENT_TO_COMMON
Define Bizum in
MAP_GQL_CART_PAYMENT_TO_RBI_COMMON
Task 2: Added Bizum payment to Paycomet
...