@feedmepos/mf-payment 1.11.22-dev → 1.12.0
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/dist/Actions.vue_vue_type_script_setup_true_lang-DEkSpYbw.js +118 -0
- package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-DlTlaRr0.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-CZeyS_-_.js} +3 -3
- package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-CqFT58M_.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-BGU64S5Z.js} +3 -3
- package/dist/{Chargeback-D71IAGTk.js → Chargeback-DwXllRT4.js} +9 -9
- package/dist/{DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js → DateRangePicker.vue_vue_type_script_setup_true_lang-5ZaLjKl_.js} +2 -2
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-Dj3fMKVr.js → DocumentViewer.vue_vue_type_script_setup_true_lang-saQlwl6a.js} +857 -857
- package/dist/{ExternalTerminal-Cc9qwfN3.js → ExternalTerminal-DWnv8BaM.js} +31 -31
- package/dist/{OnboardForm-oAWTQnVu.js → OnboardForm--to1SX2z.js} +631 -694
- package/dist/{OnboardForm-DQ44zTWg.js → OnboardForm-BWIWimOG.js} +8 -8
- package/dist/OnboardSubmission-BtiI1ewF.js +449 -0
- package/dist/{OnboardSubmission-CSDvUix8.js → OnboardSubmission-DFhK_eus.js} +7 -7
- package/dist/{PaymentCheckout-oHQmbYkX.js → PaymentCheckout-CsDfQl6k.js} +4 -4
- package/dist/{mascot-side-BE_abER6.js → PayoutAccount-DtUHIt8d.js} +598 -206
- package/dist/{PayoutAccount-Dx8OtJxp.js → PayoutAccount-DxC8i69H.js} +9 -9
- package/dist/{PayoutAccountSetting-DoCZVhn3.js → PayoutAccountSetting-z-TySDXR.js} +10 -10
- package/dist/{Restaurant-Ct9aQWSp.js → Restaurant-3NdsiWwv.js} +5 -5
- package/dist/{RestaurantSetting-D7Yuuw47.js → RestaurantSetting-Cyn1i8dn.js} +9 -23
- package/dist/Settlement--SIL-7He.js +625 -0
- package/dist/{Settlement-gUV3TF4A.js → Settlement-CiKtgAZ4.js} +5 -5
- package/dist/{SettlementTransactions-BY3T-dG3.js → SettlementTransactions-C52wiVAb.js} +6 -6
- package/dist/{SettlementTransactions-DIkkrW6-.js → SettlementTransactions-CI2SHJB3.js} +97 -106
- package/dist/{Status.vue_vue_type_script_setup_true_lang-CQlT9Qj_.js → Status.vue_vue_type_script_setup_true_lang-DgqA7PhV.js} +1 -1
- package/dist/{Terminal-CPoxr6Ga.js → Terminal-Cx-X-ik5.js} +19 -19
- package/dist/{TerminalSetting-hmswppko.js → TerminalSetting-DY0EYdD-.js} +650 -776
- package/dist/{TerminalTemplate-B3zOtzmP.js → TerminalTemplate-BORrJdEH.js} +7 -7
- package/dist/{TerminalTemplateSetting-2R_LV6YP.js → TerminalTemplateSetting-CYaaQ5jC.js} +6 -6
- package/dist/{TextInputDialog.vue_vue_type_script_setup_true_lang-C3AeZqwO.js → TextInputDialog.vue_vue_type_script_setup_true_lang-CJ29Mqtm.js} +1 -1
- package/dist/{Transaction-CE5Y7oSP.js → Transaction-Bj9ckoKD.js} +19 -20
- package/dist/{Transaction-BV-_41-w.js → Transaction-D1W9J-YG.js} +54 -56
- package/dist/{TransactionOld-B2i6FWoP.js → TransactionOld-C-3Y9idi.js} +11 -12
- package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-D07Iu5dG.js → TransactionStatus.vue_vue_type_script_setup_true_lang-C6ybTX_E.js} +2 -2
- package/dist/api/document/index.d.ts +0 -2
- package/dist/api/onboard-submission/index.d.ts +1 -6
- package/dist/api/terminal/index.d.ts +1 -2
- package/dist/{app-Db-hwBve.js → app-C8rDUQ-r.js} +14579 -14132
- package/dist/app.js +1 -1
- package/dist/{assets-CB7rE-mh.js → assets-QZbz5BYj.js} +46 -47
- package/dist/components/CursorTable/index.vue.d.ts +21 -3
- package/dist/components/PagingTable/index.vue.d.ts +9 -3
- package/dist/{grafana-5eWxG5r8.js → grafana-CHfYDJ1b.js} +4 -4
- package/dist/{index-rGzBv5-u.js → index-4KwdYYMe.js} +2 -2
- package/dist/{index-X_UgwLJS.js → index-7ofYlGzn.js} +1 -1
- package/dist/index-BgS9t01N.js +62 -0
- package/dist/{index-bczomY2M.js → index-Bgh4RGim.js} +2 -2
- package/dist/{index-DWU5m3QZ.js → index-CX2hs-UQ.js} +1 -1
- package/dist/{index-BNEwsJyD.js → index-CX9xj_f6.js} +1 -6
- package/dist/index-CdIL37va.js +33692 -0
- package/dist/{index-DWVs6h52.js → index-DVsHI6PR.js} +29 -52
- package/dist/{index-BCnQ-hAJ.js → index-Yt_qv8lG.js} +5 -39
- package/dist/index-mU9AofgQ.js +137 -0
- package/dist/{index-BmV1RaRw.js → index-x-AN2d5y.js} +2 -2
- package/dist/{index-DxQ3wF-X.js → index-yTZ7Gd-r.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CSeS9lVS.js → index.vue_vue_type_script_setup_true_lang-CtE5UAGa.js} +1 -1
- package/dist/mf-payment.css +1 -0
- package/dist/model/onboard-submission.d.ts +5 -5
- package/dist/model/payout-account.d.ts +2 -3
- package/dist/{moment-h96o7c8I.js → moment-FRs5-R1e.js} +1194 -1067
- package/dist/{onboard-submission-BTnbIwsJ.js → onboard-submission-BdIQCrc0.js} +7 -8
- package/dist/package.json +76 -18
- package/dist/payout-account-CKYWpyP9.js +466 -0
- package/dist/router/index.d.ts +1 -3
- package/dist/stores/payoutAccount.d.ts +38 -40
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{teya-UA6TM323.js → tyro-BovmsorS.js} +2 -3
- package/dist/{useQuery-BJX-S-uW.js → useQuery-CkPLx8V5.js} +1 -1
- package/dist/{validator-CTlVogBQ.js → validator-Bz2eU53Y.js} +6 -6
- package/dist/views/admin/external-terminal/ExternalTerminalPairDialog.vue.d.ts +8 -8
- package/dist/views/admin/external-terminal/ExternalTerminalSideSheet.vue.d.ts +14 -14
- package/dist/views/admin/external-terminal/pair/BRITerminal.vue.d.ts +8 -8
- package/dist/views/admin/external-terminal/pair/BeamTerminal.vue.d.ts +8 -8
- package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +24 -24
- package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +24 -24
- package/dist/views/admin/onboard-submission/forms/TyroSubmission.vue.d.ts +24 -24
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +38 -40
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +60 -62
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +60 -62
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +38 -40
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +38 -40
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +60 -62
- package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/BeamGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/DigioGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/TyroGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +8 -32
- package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/BeamGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/MaybankGateway.vue.d.ts +4 -10
- package/dist/views/admin/restaurant/tabs/gateway/MonetapayGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -6
- package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +4 -6
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +4 -4
- package/dist/views/admin/terminal/TerminalSideSheet.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/PaymentCheckout.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/BeamGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/BriGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/PbbGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/RevenueGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +22 -38
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +22 -38
- package/dist/views/admin/terminal-template/TerminalTemplateSideSheet.vue.d.ts +30 -30
- package/dist/views/admin/terminal-template/tabs/EcrGateways.vue.d.ts +18 -18
- package/dist/views/admin/terminal-template/tabs/Information.vue.d.ts +18 -18
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +76 -80
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +28 -28
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +14 -14
- package/dist/views/settlement/SettlementTable.vue.d.ts +5 -15
- package/dist/views/settlement/SettlementTransactions.vue.d.ts +1 -11
- package/package.json +16 -17
- package/dist/Actions.vue_vue_type_script_setup_true_lang-COGP4bH0.js +0 -64
- package/dist/FoodCourtPayoutAccount-58TARaq6.js +0 -187
- package/dist/FoodCourtSettlement-BGgvu91A.js +0 -68
- package/dist/FoodCourtTransaction-B1rZHqE_.js +0 -212
- package/dist/Method.vue_vue_type_script_setup_true_lang-B8Vq5gSl.js +0 -58
- package/dist/OnboardSubmission-ncq-dkfF.js +0 -733
- package/dist/PayoutAccount-4ZI4Ik2p.js +0 -405
- package/dist/Settlement-BPaaEj_X.js +0 -510
- package/dist/SettlementTable.vue_vue_type_script_setup_true_lang-BsGmww2X.js +0 -132
- package/dist/api/food-court/index.d.ts +0 -31
- package/dist/index-B-xGomR7.js +0 -131
- package/dist/index-B6SmnK1g.js +0 -32927
- package/dist/index-CazeCsOR.js +0 -13
- package/dist/index-DXIvYLMm.js +0 -75
- package/dist/index-j-zqgMuS.js +0 -52
- package/dist/payout-account-BRzRptNv.js +0 -474
- package/dist/router/context-guard.d.ts +0 -3
- package/dist/router/food-court.d.ts +0 -3
- package/dist/style.css +0 -1
- package/dist/utils/food-court.d.ts +0 -2
- package/dist/views/admin/onboard-submission/forms/TeyaSubmission.vue.d.ts +0 -117
- package/dist/views/admin/terminal/tabs/ecr/TeyaGateway.vue.d.ts +0 -212
- package/dist/views/food-court/FoodCourtPayoutAccount.vue.d.ts +0 -2
- package/dist/views/food-court/FoodCourtSettlement.vue.d.ts +0 -2
- package/dist/views/food-court/FoodCourtTransaction.vue.d.ts +0 -2
- package/dist/views/onboard-submission/useTeyaConnect.d.ts +0 -71
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as D, resolveComponent as d, openBlock as g, createElementBlock as U, createVNode as m, createElementVNode as x, useModel as Y, ref as p, watch as N, createBlock as F, withCtx as E, unref as r, createCommentVNode as K, mergeModels as $, isRef as j, h as I } from "vue";
|
|
2
|
-
import { h as z } from "./moment-
|
|
2
|
+
import { h as z } from "./moment-FRs5-R1e.js";
|
|
3
3
|
import { useRouter as P } from "vue-router";
|
|
4
|
-
import { u as q } from "./index-
|
|
5
|
-
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as q } from "./index-mU9AofgQ.js";
|
|
5
|
+
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-CtE5UAGa.js";
|
|
6
6
|
import { _ as O } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
7
7
|
import { useDialog as L, useSnackbar as Q } from "@feedmepos/ui-library";
|
|
8
|
-
import { t as S } from "./index-
|
|
9
|
-
import { z as A, a as C } from "./validator-
|
|
10
|
-
import { _ as G } from "./AdminBusinessSelector.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { p as J } from "./index-
|
|
8
|
+
import { t as S } from "./index-yTZ7Gd-r.js";
|
|
9
|
+
import { z as A, a as C } from "./validator-Bz2eU53Y.js";
|
|
10
|
+
import { _ as G } from "./AdminBusinessSelector.vue_vue_type_script_setup_true_lang-CZeyS_-_.js";
|
|
11
|
+
import { p as J } from "./index-CdIL37va.js";
|
|
12
12
|
import { u as M } from "./error-K1CakhA9.js";
|
|
13
13
|
import { w as W } from "./Modal-DB8M9o1T.js";
|
|
14
14
|
const X = { class: "flex items-center justify-center" }, Z = /* @__PURE__ */ D({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as G, openBlock as b, createElementBlock as F, Fragment as H, createElementVNode as l, createTextVNode as f, toDisplayString as v, computed as T, ref as L, watch as j, onMounted as $, resolveComponent as O, renderList as q, unref as y, createVNode as B, createBlock as D, withCtx as K, isRef as z, resolveDynamicComponent as Q, normalizeProps as W, mergeProps as J, createCommentVNode as X } from "vue";
|
|
2
2
|
import { useRouter as Z } from "vue-router";
|
|
3
|
-
import { t as x } from "./index-
|
|
4
|
-
import { u as ee } from "./index-
|
|
3
|
+
import { t as x } from "./index-yTZ7Gd-r.js";
|
|
4
|
+
import { u as ee } from "./index-CdIL37va.js";
|
|
5
5
|
import { _ as te } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
6
|
-
import { u as ne } from "./index-
|
|
6
|
+
import { u as ne } from "./index-mU9AofgQ.js";
|
|
7
7
|
import { useSnackbar as ae } from "@feedmepos/ui-library";
|
|
8
8
|
import { useCoreStore as le, useI18n as re } from "@feedmepos/mf-common";
|
|
9
9
|
import { u as oe } from "./error-K1CakhA9.js";
|
|
10
|
-
import { e as n } from "./app-
|
|
11
|
-
import { g as se } from "./assets-
|
|
12
|
-
import { P as ie } from "./PaymentCheckout-
|
|
10
|
+
import { e as n } from "./app-C8rDUQ-r.js";
|
|
11
|
+
import { g as se } from "./assets-QZbz5BYj.js";
|
|
12
|
+
import { P as ie } from "./PaymentCheckout-CsDfQl6k.js";
|
|
13
13
|
const ue = /* @__PURE__ */ G({
|
|
14
14
|
__name: "Information",
|
|
15
15
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as k, ref as V, computed as c, resolveComponent as s, openBlock as m, createBlock as i, withCtx as B, unref as d, createCommentVNode as F, createElementVNode as O, createVNode as P } from "vue";
|
|
2
2
|
import { useDialogChild as D } from "@feedmepos/ui-library";
|
|
3
|
-
import { s as f, z as S } from "./validator-
|
|
3
|
+
import { s as f, z as S } from "./validator-Bz2eU53Y.js";
|
|
4
4
|
const E = { class: "flex justify-end mb-2" }, z = /* @__PURE__ */ k({
|
|
5
5
|
__name: "TextInputDialog",
|
|
6
6
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { reactive as ue, computed as A, watch as O, defineComponent as $, useModel as ce, toRef as ye, ref as ne, resolveComponent as b, openBlock as v, createBlock as V, withCtx as D, createVNode as f, createElementVNode as S, unref as T, createElementBlock as M, Fragment as de, renderList as me, toDisplayString as H, createCommentVNode as pe, withModifiers as fe, mergeModels as oe, createTextVNode as ge, onBeforeUnmount as ve, isRef as z, h as k } from "vue";
|
|
2
|
-
import { t as U } from "./index-
|
|
3
|
-
import { h as J } from "./moment-
|
|
4
|
-
import { p as N } from "./index-
|
|
5
|
-
import { t as be, _ as he, a as Q } from "./TransactionStatus.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { u as _e } from "./index-
|
|
2
|
+
import { t as U } from "./index-x-AN2d5y.js";
|
|
3
|
+
import { h as J } from "./moment-FRs5-R1e.js";
|
|
4
|
+
import { p as N } from "./index-CdIL37va.js";
|
|
5
|
+
import { t as be, _ as he, a as Q } from "./TransactionStatus.vue_vue_type_script_setup_true_lang-C6ybTX_E.js";
|
|
6
|
+
import { u as _e } from "./index-mU9AofgQ.js";
|
|
7
7
|
import { useRoute as Fe, useRouter as Te } from "vue-router";
|
|
8
8
|
import { _ as Ae } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
9
9
|
import { _ as Se } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
|
@@ -11,21 +11,20 @@ import { _ as Ie } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdo
|
|
|
11
11
|
import { useSnackbar as we, useDialog as De } from "@feedmepos/ui-library";
|
|
12
12
|
import { w as se } from "./Modal-DB8M9o1T.js";
|
|
13
13
|
import { u as G } from "./error-K1CakhA9.js";
|
|
14
|
-
import { _ as xe } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as Pe } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as Ve } from "./AdminBusinessSelector.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { p as ee } from "./index-
|
|
14
|
+
import { _ as xe } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-5ZaLjKl_.js";
|
|
15
|
+
import { _ as Pe } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-BGU64S5Z.js";
|
|
16
|
+
import { _ as Ve } from "./AdminBusinessSelector.vue_vue_type_script_setup_true_lang-CZeyS_-_.js";
|
|
17
|
+
import { p as ee } from "./index-CX2hs-UQ.js";
|
|
18
18
|
import { useI18n as Ne, useCoreStore as ke } from "@feedmepos/mf-common";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { g as Ee } from "./grafana-
|
|
22
|
-
import { _ as Me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
23
|
-
import { g as $e, a as Ue } from "./assets-
|
|
19
|
+
import { k as Ce, h as re } from "./app-C8rDUQ-r.js";
|
|
20
|
+
import { u as te } from "./useQuery-CkPLx8V5.js";
|
|
21
|
+
import { g as Ee } from "./grafana-CHfYDJ1b.js";
|
|
22
|
+
import { _ as Me } from "./index.vue_vue_type_script_setup_true_lang-CtE5UAGa.js";
|
|
23
|
+
import { g as $e, a as Ue } from "./assets-QZbz5BYj.js";
|
|
24
24
|
import { _ as Oe } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
|
|
25
|
-
import { _ as le } from "./TextInputDialog.vue_vue_type_script_setup_true_lang-
|
|
26
|
-
import { u as qe } from "./index-
|
|
27
|
-
import {
|
|
28
|
-
import { s as ie } from "./validator-CTlVogBQ.js";
|
|
25
|
+
import { _ as le } from "./TextInputDialog.vue_vue_type_script_setup_true_lang-CJ29Mqtm.js";
|
|
26
|
+
import { u as qe, a as Re } from "./index-BgS9t01N.js";
|
|
27
|
+
import { s as ie } from "./validator-Bz2eU53Y.js";
|
|
29
28
|
const W = {
|
|
30
29
|
businessFilter: "",
|
|
31
30
|
restaurantFilter: "",
|
|
@@ -501,7 +500,7 @@ const Ge = { class: "inline-flex rounded-md items-center gap-4 justify-center h-
|
|
|
501
500
|
]);
|
|
502
501
|
};
|
|
503
502
|
}
|
|
504
|
-
}), it = { class: "flex flex-row justify-between items-end mb-6" }, ut = { class: "flex flex-col" }, ct = { class: "flex items-start mb-2 gap-3" }, dt = { class: "flex gap-3" },
|
|
503
|
+
}), it = { class: "flex flex-row justify-between items-end mb-6" }, ut = { class: "flex flex-col" }, ct = { class: "flex items-start mb-2 gap-3" }, dt = { class: "flex gap-3" }, qt = /* @__PURE__ */ $({
|
|
505
504
|
__name: "Transaction",
|
|
506
505
|
setup(o) {
|
|
507
506
|
const a = ne(), { filter: n, activeCount: y, hasActiveFilters: g, reset: i, apply: I } = Be(), { dateRange: c, searchKey: w, status: h } = _e({
|
|
@@ -1009,5 +1008,5 @@ ID: ${t.row.original.transactionId}`), k(Oe, { data: t.getValue(), extra: e });
|
|
|
1009
1008
|
}
|
|
1010
1009
|
});
|
|
1011
1010
|
export {
|
|
1012
|
-
|
|
1011
|
+
qt as default
|
|
1013
1012
|
};
|
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
import { defineComponent as w, ref as x, watch as k, onMounted as Q, resolveComponent as h, unref as n, openBlock as R, createBlock as O, createElementBlock as Y, createVNode as d, withCtx as M, createElementVNode as N, Fragment as H, renderList as W, createTextVNode as X, toDisplayString as Z, onBeforeUnmount as ee, isRef as F, h as I } from "vue";
|
|
2
|
-
import { t as P } from "./index-
|
|
3
|
-
import { h as G } from "./moment-
|
|
2
|
+
import { t as P } from "./index-x-AN2d5y.js";
|
|
3
|
+
import { h as G } from "./moment-FRs5-R1e.js";
|
|
4
4
|
import { useI18n as j, useCoreStore as J } from "@feedmepos/mf-common";
|
|
5
5
|
import { _ as te } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
6
|
-
import { t as ae, a as ne, _ as re } from "./TransactionStatus.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
6
|
+
import { t as ae, a as ne, _ as re } from "./TransactionStatus.vue_vue_type_script_setup_true_lang-C6ybTX_E.js";
|
|
7
|
+
import { u as se } from "./index-mU9AofgQ.js";
|
|
8
|
+
import { _ as oe } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
|
9
9
|
import { _ as le } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js";
|
|
10
|
-
import { _ as ie } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { p as ce } from "./index-
|
|
12
|
-
import { t as ue } from "./index-
|
|
13
|
-
import { u as me, p as D } from "./index-
|
|
10
|
+
import { _ as ie } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-5ZaLjKl_.js";
|
|
11
|
+
import { p as ce } from "./index-CX2hs-UQ.js";
|
|
12
|
+
import { t as ue } from "./index-CX9xj_f6.js";
|
|
13
|
+
import { u as me, p as D } from "./index-CdIL37va.js";
|
|
14
14
|
import { useSnackbar as de, useDialog as pe } from "@feedmepos/ui-library";
|
|
15
|
-
import { _ as ye, a as fe } from "./
|
|
16
|
-
import {
|
|
17
|
-
import { g as ge } from "./grafana-5eWxG5r8.js";
|
|
15
|
+
import { _ as ye, a as fe, b as _e } from "./Actions.vue_vue_type_script_setup_true_lang-DEkSpYbw.js";
|
|
16
|
+
import { g as ge } from "./grafana-CHfYDJ1b.js";
|
|
18
17
|
import { w as z } from "./Modal-DB8M9o1T.js";
|
|
19
18
|
import { u as L } from "./error-K1CakhA9.js";
|
|
20
|
-
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-
|
|
21
|
-
import { u as Te } from "./index-
|
|
22
|
-
import {
|
|
23
|
-
import { h as q } from "./app-Db-hwBve.js";
|
|
19
|
+
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-CtE5UAGa.js";
|
|
20
|
+
import { u as Te, a as ve } from "./index-BgS9t01N.js";
|
|
21
|
+
import { h as q } from "./app-C8rDUQ-r.js";
|
|
24
22
|
const he = {
|
|
25
23
|
key: 1,
|
|
26
24
|
class: "inline-flex"
|
|
@@ -42,14 +40,14 @@ const he = {
|
|
|
42
40
|
k(p, async () => {
|
|
43
41
|
A && clearTimeout(A), A = setTimeout(() => {
|
|
44
42
|
var l = new RegExp(p.value, "i");
|
|
45
|
-
v.value = m.value.filter((
|
|
46
|
-
const a = JSON.stringify(
|
|
43
|
+
v.value = m.value.filter((s) => {
|
|
44
|
+
const a = JSON.stringify(s);
|
|
47
45
|
return l.test(a);
|
|
48
46
|
});
|
|
49
47
|
}, 700);
|
|
50
48
|
}), k(c, () => {
|
|
51
|
-
var l,
|
|
52
|
-
b("update:id", (l = c.value) == null ? void 0 : l.value), b("update:by", (
|
|
49
|
+
var l, s;
|
|
50
|
+
b("update:id", (l = c.value) == null ? void 0 : l.value), b("update:by", (s = c.value) == null ? void 0 : s.by);
|
|
53
51
|
});
|
|
54
52
|
async function B() {
|
|
55
53
|
return g(async () => {
|
|
@@ -75,9 +73,9 @@ const he = {
|
|
|
75
73
|
u.value = !0;
|
|
76
74
|
const l = [];
|
|
77
75
|
if (!_.excludePayoutAccount) {
|
|
78
|
-
let
|
|
79
|
-
_.excludeMarketingPayoutAccount && (
|
|
80
|
-
...(
|
|
76
|
+
let s = await B();
|
|
77
|
+
_.excludeMarketingPayoutAccount && (s = s == null ? void 0 : s.filter((a) => a.store.event !== "MARKETING")), _.excludeOrderingPayoutAccount && (s = s == null ? void 0 : s.filter((a) => a.store.event !== "ORDERING")), l.push(
|
|
78
|
+
...(s || []).map((a) => {
|
|
81
79
|
var E, S, t, e;
|
|
82
80
|
return {
|
|
83
81
|
by: "PAYOUT_ACCOUNT",
|
|
@@ -91,9 +89,9 @@ const he = {
|
|
|
91
89
|
);
|
|
92
90
|
}
|
|
93
91
|
if (!_.excludeRestaurant) {
|
|
94
|
-
const
|
|
92
|
+
const s = await T();
|
|
95
93
|
l.push(
|
|
96
|
-
...(
|
|
94
|
+
...(s || []).filter((a) => a.managable).map((a) => ({
|
|
97
95
|
by: "RESTAURANT",
|
|
98
96
|
value: a._id,
|
|
99
97
|
prefix: r("payment.components.restaurant"),
|
|
@@ -104,9 +102,9 @@ const he = {
|
|
|
104
102
|
);
|
|
105
103
|
}
|
|
106
104
|
if (!_.excludeDevice) {
|
|
107
|
-
const
|
|
105
|
+
const s = await K();
|
|
108
106
|
l.push(
|
|
109
|
-
...(
|
|
107
|
+
...(s || []).map((a) => ({
|
|
110
108
|
by: "DEVICE",
|
|
111
109
|
value: a._id,
|
|
112
110
|
prefix: r("payment.components.device"),
|
|
@@ -118,7 +116,7 @@ const he = {
|
|
|
118
116
|
}
|
|
119
117
|
m.value = l, v.value = m.value, u.value = !1;
|
|
120
118
|
}
|
|
121
|
-
return Q(C), k($, C), (l,
|
|
119
|
+
return Q(C), k($, C), (l, s) => {
|
|
122
120
|
const a = h("FmCircularProgress"), E = h("FmChip"), S = h("FmSearch"), t = h("FmMenuItem"), e = h("FmMenu");
|
|
123
121
|
return n(u) ? (R(), O(a, {
|
|
124
122
|
key: 0,
|
|
@@ -126,13 +124,13 @@ const he = {
|
|
|
126
124
|
})) : (R(), Y("div", he, [
|
|
127
125
|
d(e, { "close-on-click": !0 }, {
|
|
128
126
|
"menu-button": M(() => {
|
|
129
|
-
var
|
|
127
|
+
var o;
|
|
130
128
|
return [
|
|
131
129
|
d(E, {
|
|
132
130
|
icon: "account_box",
|
|
133
|
-
label: ((
|
|
131
|
+
label: ((o = c.value) == null ? void 0 : o.chipLabel) ?? n(r)("payment.components.select"),
|
|
134
132
|
removable: !!c.value,
|
|
135
|
-
onChipClosed:
|
|
133
|
+
onChipClosed: s[0] || (s[0] = (y) => c.value = void 0)
|
|
136
134
|
}, null, 8, ["label", "removable"])
|
|
137
135
|
];
|
|
138
136
|
}),
|
|
@@ -141,16 +139,16 @@ const he = {
|
|
|
141
139
|
N("div", Se, [
|
|
142
140
|
d(S, {
|
|
143
141
|
"model-value": p.value,
|
|
144
|
-
"onUpdate:modelValue":
|
|
142
|
+
"onUpdate:modelValue": s[1] || (s[1] = (o) => p.value = o),
|
|
145
143
|
placeholder: n(r)("payment.components.select")
|
|
146
144
|
}, null, 8, ["model-value", "placeholder"])
|
|
147
145
|
]),
|
|
148
146
|
N("div", null, [
|
|
149
|
-
(R(!0), Y(H, null, W(v.value, (
|
|
150
|
-
key:
|
|
151
|
-
label:
|
|
152
|
-
sublabel:
|
|
153
|
-
onClick: () => c.value =
|
|
147
|
+
(R(!0), Y(H, null, W(v.value, (o) => (R(), O(t, {
|
|
148
|
+
key: o.value,
|
|
149
|
+
label: o.label,
|
|
150
|
+
sublabel: o.type,
|
|
151
|
+
onClick: () => c.value = o
|
|
154
152
|
}, null, 8, ["label", "sublabel", "onClick"]))), 128))
|
|
155
153
|
])
|
|
156
154
|
])
|
|
@@ -179,10 +177,10 @@ const he = {
|
|
|
179
177
|
]);
|
|
180
178
|
};
|
|
181
179
|
}
|
|
182
|
-
}), Ie = { class: "flex justify-between mb-6 items-center" }, De = { class: "flex space-x-8 items-start" }, xe = { class: "flex space-x-4 self-center" }, Re = { class: "flex space-x-12 mb-6" },
|
|
180
|
+
}), Ie = { class: "flex justify-between mb-6 items-center" }, De = { class: "flex space-x-8 items-start" }, xe = { class: "flex space-x-4 self-center" }, Re = { class: "flex space-x-12 mb-6" }, Xe = /* @__PURE__ */ w({
|
|
183
181
|
__name: "Transaction",
|
|
184
182
|
setup(U) {
|
|
185
|
-
const f = de(), _ = pe(), { sessionUser: b } = J(), { t: r } = j(), { getBillLink: $ } = Te(), T = x(), { dateRange: u, searchKey: g, status: m, id: c, by: p } =
|
|
183
|
+
const f = de(), _ = pe(), { sessionUser: b } = J(), { t: r } = j(), { getBillLink: $ } = Te(), T = x(), { dateRange: u, searchKey: g, status: m, id: c, by: p } = se({
|
|
186
184
|
by: "",
|
|
187
185
|
id: "",
|
|
188
186
|
searchKey: "",
|
|
@@ -237,12 +235,12 @@ const he = {
|
|
|
237
235
|
}
|
|
238
236
|
];
|
|
239
237
|
async function l(t, e) {
|
|
240
|
-
var
|
|
238
|
+
var o;
|
|
241
239
|
try {
|
|
242
240
|
const y = await P.refetchTransaction({
|
|
243
241
|
transactionId: t.id
|
|
244
242
|
});
|
|
245
|
-
(
|
|
243
|
+
(o = T.value) == null || o.replaceData(e, y), f.open({
|
|
246
244
|
type: "success",
|
|
247
245
|
title: "Transaction queried and updated successfully."
|
|
248
246
|
});
|
|
@@ -254,20 +252,20 @@ const he = {
|
|
|
254
252
|
});
|
|
255
253
|
}
|
|
256
254
|
}
|
|
257
|
-
async function
|
|
255
|
+
async function s(t, e) {
|
|
258
256
|
z(
|
|
259
257
|
_,
|
|
260
258
|
"Refund Transaction",
|
|
261
259
|
"Are you sure to refund transaction? This action cannot be revert!",
|
|
262
260
|
async () => {
|
|
263
|
-
var
|
|
261
|
+
var o;
|
|
264
262
|
try {
|
|
265
263
|
const y = await P.refundTransaction({
|
|
266
264
|
transactionId: t.id,
|
|
267
265
|
reason: "portal transaction refund",
|
|
268
266
|
amount: t.fdoAmount
|
|
269
267
|
});
|
|
270
|
-
(
|
|
268
|
+
(o = T.value) == null || o.replaceData(e, y), f.open({
|
|
271
269
|
type: "success",
|
|
272
270
|
title: "Transaction refund request initiated."
|
|
273
271
|
});
|
|
@@ -292,18 +290,18 @@ const he = {
|
|
|
292
290
|
type: "success",
|
|
293
291
|
title: "Transaction notify successfully."
|
|
294
292
|
});
|
|
295
|
-
} catch (
|
|
293
|
+
} catch (o) {
|
|
296
294
|
f.open({
|
|
297
295
|
type: "error",
|
|
298
296
|
title: "Fail to notify transaction.",
|
|
299
|
-
message: L(
|
|
297
|
+
message: L(o)
|
|
300
298
|
});
|
|
301
299
|
}
|
|
302
300
|
}
|
|
303
301
|
);
|
|
304
302
|
}
|
|
305
303
|
async function E(t, e) {
|
|
306
|
-
const
|
|
304
|
+
const o = ge(
|
|
307
305
|
[
|
|
308
306
|
{
|
|
309
307
|
type: "span",
|
|
@@ -313,7 +311,7 @@ const he = {
|
|
|
313
311
|
],
|
|
314
312
|
t.transactionAt
|
|
315
313
|
);
|
|
316
|
-
window.open(
|
|
314
|
+
window.open(o, "_blank");
|
|
317
315
|
}
|
|
318
316
|
x("");
|
|
319
317
|
const S = [
|
|
@@ -327,11 +325,11 @@ ID: ` + e.original.transactionId : e.original.id
|
|
|
327
325
|
header: () => r("payment.transactions.table.pay_id"),
|
|
328
326
|
accessorKey: "payId",
|
|
329
327
|
cell: ({ cell: t, row: e }) => {
|
|
330
|
-
const
|
|
331
|
-
return
|
|
328
|
+
const o = $(e.original);
|
|
329
|
+
return o ? I(
|
|
332
330
|
"a",
|
|
333
331
|
{
|
|
334
|
-
href:
|
|
332
|
+
href: o,
|
|
335
333
|
class: "text-blue-600 underline"
|
|
336
334
|
},
|
|
337
335
|
t.getValue()
|
|
@@ -410,14 +408,14 @@ ID: ` + e.original.transactionId : e.original.id
|
|
|
410
408
|
case "query":
|
|
411
409
|
return l(t.original, t.index);
|
|
412
410
|
case "refund":
|
|
413
|
-
return
|
|
411
|
+
return s(t.original, t.index);
|
|
414
412
|
case "history":
|
|
415
413
|
return E(t.original, t.index);
|
|
416
414
|
}
|
|
417
415
|
}
|
|
418
416
|
})
|
|
419
417
|
}), (t, e) => {
|
|
420
|
-
const
|
|
418
|
+
const o = h("FmSearch"), y = h("FmSelect");
|
|
421
419
|
return R(), O(te, {
|
|
422
420
|
title: n(r)("payment.transactions.title"),
|
|
423
421
|
description: n(r)("payment.transactions.description"),
|
|
@@ -426,7 +424,7 @@ ID: ` + e.original.transactionId : e.original.id
|
|
|
426
424
|
default: M(() => [
|
|
427
425
|
N("div", Ie, [
|
|
428
426
|
N("div", De, [
|
|
429
|
-
d(
|
|
427
|
+
d(o, {
|
|
430
428
|
"model-value": n(g),
|
|
431
429
|
"onUpdate:modelValue": e[0] || (e[0] = (i) => F(g) ? g.value = i : null),
|
|
432
430
|
class: "mr-8",
|
|
@@ -453,7 +451,7 @@ ID: ` + e.original.transactionId : e.original.id
|
|
|
453
451
|
}, 8, ["modelValue", "label"])
|
|
454
452
|
]),
|
|
455
453
|
N("div", xe, [
|
|
456
|
-
d(
|
|
454
|
+
d(oe, {
|
|
457
455
|
button: {
|
|
458
456
|
appendIcon: "file_download",
|
|
459
457
|
variant: "primary",
|
|
@@ -505,5 +503,5 @@ ID: ` + e.original.transactionId : e.original.id
|
|
|
505
503
|
}
|
|
506
504
|
});
|
|
507
505
|
export {
|
|
508
|
-
|
|
506
|
+
Xe as default
|
|
509
507
|
};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { defineComponent as I, ref as x, watch as T, resolveComponent as F, openBlock as Y, createBlock as C, h as v, onMounted as M, unref as s, withCtx as O, createElementVNode as b, createVNode as f, isRef as q } from "vue";
|
|
2
|
-
import { t as g } from "./index-
|
|
3
|
-
import { u as S } from "./index-
|
|
2
|
+
import { t as g } from "./index-x-AN2d5y.js";
|
|
3
|
+
import { u as S } from "./index-CdIL37va.js";
|
|
4
4
|
import { useSnackbar as U, useDialog as L } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as P, a as R, t as B } from "./TransactionStatus.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as J, a as j } from "./
|
|
7
|
-
import {
|
|
8
|
-
import { g as Q } from "./grafana-5eWxG5r8.js";
|
|
5
|
+
import { _ as P, a as R, t as B } from "./TransactionStatus.vue_vue_type_script_setup_true_lang-C6ybTX_E.js";
|
|
6
|
+
import { _ as J, a as j, b as G } from "./Actions.vue_vue_type_script_setup_true_lang-DEkSpYbw.js";
|
|
7
|
+
import { g as Q } from "./grafana-CHfYDJ1b.js";
|
|
9
8
|
import { w as $ } from "./Modal-DB8M9o1T.js";
|
|
10
9
|
import { u as K } from "./error-K1CakhA9.js";
|
|
11
10
|
import { useCoreStore as N, useI18n as E } from "@feedmepos/mf-common";
|
|
12
|
-
import { h as D } from "./app-
|
|
13
|
-
import { h as k } from "./moment-
|
|
11
|
+
import { h as D } from "./app-C8rDUQ-r.js";
|
|
12
|
+
import { h as k } from "./moment-FRs5-R1e.js";
|
|
14
13
|
import { _ as z } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
15
|
-
import { u as H } from "./index-
|
|
14
|
+
import { u as H } from "./index-mU9AofgQ.js";
|
|
16
15
|
import { _ as W } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
|
17
16
|
import { _ as X } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-D08ykrWf.js";
|
|
18
|
-
import { _ as Z } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { _ as Z } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-5ZaLjKl_.js";
|
|
19
18
|
const aa = /* @__PURE__ */ I({
|
|
20
19
|
__name: "TransactionTable",
|
|
21
20
|
props: {
|
|
@@ -220,7 +219,7 @@ ID: ` + a.original.transactionId : a.original.id
|
|
|
220
219
|
}, null, 8, ["modelValue", "row-data", "loading"]);
|
|
221
220
|
};
|
|
222
221
|
}
|
|
223
|
-
}), ea = { class: "flex justify-between mb-6 items-center" }, ta = { class: "flex space-x-8" }, na = { class: "flex space-x-4 self-center" }, ra = { class: "flex gap-8 mb-6" },
|
|
222
|
+
}), ea = { class: "flex justify-between mb-6 items-center" }, ta = { class: "flex space-x-8" }, na = { class: "flex space-x-4 self-center" }, ra = { class: "flex gap-8 mb-6" }, xa = /* @__PURE__ */ I({
|
|
224
223
|
__name: "TransactionOld",
|
|
225
224
|
setup(V) {
|
|
226
225
|
const { dateRange: l, searchKey: n } = H({
|
|
@@ -310,5 +309,5 @@ ID: ` + a.original.transactionId : a.original.id
|
|
|
310
309
|
}
|
|
311
310
|
});
|
|
312
311
|
export {
|
|
313
|
-
|
|
312
|
+
xa as default
|
|
314
313
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as t } from "./index-
|
|
1
|
+
import { p as t } from "./index-CdIL37va.js";
|
|
2
2
|
import { d as o } from "./dinero-CIVmXLL-.js";
|
|
3
|
-
import { h as m } from "./moment-
|
|
3
|
+
import { h as m } from "./moment-FRs5-R1e.js";
|
|
4
4
|
import { defineComponent as c, resolveComponent as i, openBlock as l, createBlock as p, normalizeClass as A, withCtx as T, createElementVNode as y, toDisplayString as f } from "vue";
|
|
5
5
|
function E(e) {
|
|
6
6
|
var s, u;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export declare const documentApi: {
|
|
2
2
|
upload(file: string, blob: File, restaurantId?: string): Promise<string>;
|
|
3
3
|
adminUpload(file: string, blob: File, businessId: string, restaurantId?: string): Promise<string>;
|
|
4
|
-
foodCourtUpload(file: string, blob: File): Promise<string>;
|
|
5
|
-
foodCourtView(file: string): Promise<string>;
|
|
6
4
|
view(file: string, restaurantId?: string | null): Promise<string>;
|
|
7
5
|
adminView(file: string, businessId: string, restaurantId?: string | null): Promise<string>;
|
|
8
6
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FdoOnboardSubmissionTyroAuthResponse, FdoOnboardSubmissionTyroBindLocationRequest, FdoOnboardSubmissionTyroLocationResponse, FdoOnboardStatus, FdoOnboardSubmission, FdoOnboardSubmissionReviewRequest, FdoOnboardSubmissionUpdateRequest, FdoOnboardType, FdtoPortalOnboardSubmission, PaginatedResult } from "@feedmepos/payment-entity";
|
|
2
2
|
export declare const onboardSubmissionApi: {
|
|
3
3
|
read(payload: {
|
|
4
4
|
type: FdoOnboardType;
|
|
@@ -17,11 +17,6 @@ export declare const onboardSubmissionApi: {
|
|
|
17
17
|
getOnboardSubmissionTyroAuthUrl(restaurantId: string): Promise<FdoOnboardSubmissionTyroAuthResponse>;
|
|
18
18
|
getTyroLocations(restaurantId: string): Promise<FdoOnboardSubmissionTyroLocationResponse>;
|
|
19
19
|
bindTyroLocation(restaurantId: string, req: FdoOnboardSubmissionTyroBindLocationRequest): Promise<FdoOnboardSubmission>;
|
|
20
|
-
startTeyaDeviceAuth(restaurantId: string): Promise<FdoOnboardSubmissionTeyaDeviceAuthResponse>;
|
|
21
|
-
pollTeyaDeviceAuth(restaurantId: string, sessionId: string): Promise<FdoOnboardSubmissionTeyaDeviceAuthPollResponse>;
|
|
22
|
-
getTeyaStores(restaurantId: string): Promise<FdoOnboardSubmissionTeyaStoreResponse>;
|
|
23
|
-
bindTeyaStore(restaurantId: string, req: FdoOnboardSubmissionTeyaBindStoreRequest): Promise<FdoOnboardSubmission | null>;
|
|
24
|
-
disconnectTeya(restaurantId: string): Promise<void>;
|
|
25
20
|
uploadDocument(restaurantId: string, type: string, file: File): Promise<string>;
|
|
26
21
|
updateSubmission(req: FdoOnboardSubmissionUpdateRequest): Promise<FdoOnboardSubmission[]>;
|
|
27
22
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FdoPortalTerminal, FdoTerminalDeviceType,
|
|
1
|
+
import { FdoPortalTerminal, FdoTerminalDeviceType, UpdateTerminalByIdDto, type PaginatedResult } from "@feedmepos/payment-entity";
|
|
2
2
|
export declare const temrinalApi: {
|
|
3
3
|
create(payload: {
|
|
4
4
|
name: string;
|
|
@@ -21,7 +21,6 @@ export declare const temrinalApi: {
|
|
|
21
21
|
enable: boolean;
|
|
22
22
|
password?: string;
|
|
23
23
|
}): Promise<string>;
|
|
24
|
-
getTeyaTerminals(id: string): Promise<FdoTeyaTerminalResponse>;
|
|
25
24
|
syncTyroReader(id: string): Promise<void>;
|
|
26
25
|
applyTemplate(id: string, templateId: string): Promise<FdoPortalTerminal>;
|
|
27
26
|
};
|