orderiom-api-package 0.5.1 → 0.5.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orderiom-api-package",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "This package will install all necessary API calls for every orderiom restaurant",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -582,6 +582,7 @@ const actions = {
582
582
  qrCode: data.payfix_qrcode,
583
583
  pin: data.payfix_pin,
584
584
  }),
585
+ ...(data.paymentType === "wallee" && { Payment_type_method: data.walleePaymentOption}),
585
586
  tablePaymentId: data.tablePaymentId ? data.tablePaymentId : null,
586
587
  externalBasketItems: data.externalBasketItems ? data.externalBasketItems : null
587
588
  }).then(res => {