@feedmepos/mf-payment 1.5.75-dev → 1.5.77

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.
Files changed (119) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-Clq0gK8F.js → Actions.vue_vue_type_script_setup_true_lang-D_PoXVbz.js} +1 -1
  2. package/dist/{Chargeback-B0NVPvX4.js → Chargeback-CzwL8PJv.js} +7 -7
  3. package/dist/{DateRangePicker.vue_vue_type_script_setup_true_lang-BNVnvrVY.js → DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js} +1 -1
  4. package/dist/DocumentViewer.vue_vue_type_script_setup_true_lang-KebV8Zws.js +94 -0
  5. package/dist/Forbidden-1aaq-Ilm.js +38 -0
  6. package/dist/{OnboardForm--EzInjiZ.js → OnboardForm-C6LuVVyr.js} +6 -6
  7. package/dist/{OnboardForm-CLixHoAD.js → OnboardForm-DZeWRzRD.js} +482 -554
  8. package/dist/{OnboardSubmission-C13NgJ_c.js → OnboardSubmission-C2BYK2p1.js} +27 -27
  9. package/dist/OnboardSubmission-DvWwQFy6.js +222 -0
  10. package/dist/{PayoutAccount-D8-JYW4l.js → PayoutAccount-BMQZ5bOZ.js} +5 -5
  11. package/dist/{PayoutAccount-C_NgECbv.js → PayoutAccount-VbRd7cmv.js} +102 -101
  12. package/dist/PayoutAccountSetting-DzzABgzs.js +1765 -0
  13. package/dist/{Restaurant-CeLGtOhN.js → Restaurant-4cO60aVP.js} +4 -4
  14. package/dist/{RestaurantSetting-CokkKQf1.js → RestaurantSetting-Bvk0dnCI.js} +243 -325
  15. package/dist/{Settlement-BaVdCbhk.js → Settlement-CklF8pz7.js} +4 -4
  16. package/dist/{Settlement-IzzxWS1Y.js → Settlement-Cme1wMB-.js} +5 -5
  17. package/dist/{SettlementTransactions-ClWROLAZ.js → SettlementTransactions-3F4EOoyz.js} +4 -4
  18. package/dist/{SettlementTransactions-BBiA4hjd.js → SettlementTransactions-DD285bSJ.js} +4 -4
  19. package/dist/{Status.vue_vue_type_script_setup_true_lang-CMK3yXwC.js → Status.vue_vue_type_script_setup_true_lang-CUnCf_fx.js} +1 -1
  20. package/dist/{Terminal-BFi2UmMt.js → Terminal-CK6ULW6U.js} +6 -6
  21. package/dist/{TerminalSetting-AMhDLMFF.js → TerminalSetting-CEQG3OV6.js} +712 -887
  22. package/dist/{TextInputDialog.vue_vue_type_script_setup_true_lang-D8W8_SO2.js → TextInputDialog.vue_vue_type_script_setup_true_lang-BvGYVca0.js} +1 -1
  23. package/dist/Transaction-D-Z3zRd7.js +517 -0
  24. package/dist/{Transaction-6wkXIJe6.js → Transaction-DjzWqLtN.js} +102 -99
  25. package/dist/TransactionOld-BXjA15Dd.js +314 -0
  26. package/dist/api/onboard-submission/index.d.ts +1 -3
  27. package/dist/api/terminal/index.d.ts +0 -1
  28. package/dist/app-CEy5Ojtg.js +7661 -0
  29. package/dist/app.d.ts +1 -91
  30. package/dist/app.js +4 -5
  31. package/dist/{assets-DPrEWC9w.js → assets-DIbq1BVX.js} +79 -81
  32. package/dist/{grafana-C0ylC9Dp.js → grafana-B0iQmK6j.js} +1 -1
  33. package/dist/{index-Bd57_1iM.js → index-B0L21J1j.js} +1 -1
  34. package/dist/{index-B9ASzUdx.js → index-BHCs_NnD.js} +1 -1
  35. package/dist/{index-BTy0uOXW.js → index-BkQ7t3F6.js} +1 -1
  36. package/dist/{index-HHaDD7PZ.js → index-C80a7-Ks.js} +1 -1
  37. package/dist/{index-Co2hdn_t.js → index-C_Y5Sfc9.js} +1 -1
  38. package/dist/{index-YMOHOygz.js → index-CnN_MV2-.js} +9 -24
  39. package/dist/{index-Bm1sygad.js → index-CxnWUe_K.js} +3 -3
  40. package/dist/{index-Cj2vufH8.js → index-D0j1LZAB.js} +9264 -9427
  41. package/dist/index-XTdSN6CV.js +60 -0
  42. package/dist/{index.vue_vue_type_script_setup_true_lang-Dtwo4sVt.js → index.vue_vue_type_script_setup_true_lang-BksGFeSf.js} +1 -1
  43. package/dist/main.d.ts +0 -1
  44. package/dist/model/payout-account.d.ts +2 -2
  45. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DzWdVh1k.js → no-data-BRmo6XOO.js} +2 -92
  46. package/dist/package.json +3 -4
  47. package/dist/{payout-account-sqOaU3lp.js → payout-account-B7OikYn5.js} +37 -37
  48. package/dist/softspace-D9cEyOQT.js +4 -0
  49. package/dist/stores/payoutAccount.d.ts +34 -44
  50. package/dist/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/{validator-DzjyJnvv.js → validator-CTlVogBQ.js} +1 -0
  52. package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +16 -16
  53. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +16 -16
  54. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +34 -44
  55. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +54 -64
  56. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +54 -64
  57. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +34 -44
  58. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +43 -44
  59. package/dist/views/admin/payout-account/tabs/SettlementEditDialog.vue.d.ts +56 -0
  60. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +54 -64
  61. package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +2 -2
  62. package/dist/views/admin/payout-account/tabs/gateway/DigioGateway.vue.d.ts +2 -2
  63. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +2 -2
  64. package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +4 -4
  65. package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +2 -2
  66. package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
  67. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  68. package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
  69. package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +4 -4
  70. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  71. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +4 -4
  72. package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +4 -4
  73. package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +6 -6
  74. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
  75. package/dist/views/admin/restaurant/tabs/gateway/MaybankGateway.vue.d.ts +6 -6
  76. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
  77. package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +4 -6
  78. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +24 -24
  79. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +2 -2
  80. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +2 -2
  81. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +2 -2
  82. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +2 -2
  83. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +2 -2
  84. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +4 -4
  85. package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +2 -2
  86. package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +2 -2
  87. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +2 -2
  88. package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +2 -2
  89. package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +2 -2
  90. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +2 -2
  91. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +2 -2
  92. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +2 -2
  93. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +2 -2
  94. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +2 -2
  95. package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +2 -2
  96. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +2 -2
  97. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +2 -2
  98. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +2 -2
  99. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +68 -88
  100. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +84 -84
  101. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +42 -42
  102. package/dist/views/settlement/SettlementTable.vue.d.ts +24 -24
  103. package/dist/views/transaction/TransactionTable.vue.d.ts +2 -2
  104. package/package.json +3 -4
  105. package/dist/OnboardSubmission-Vrq1v0BQ.js +0 -446
  106. package/dist/PayoutAccountSetting-uv82IM9I.js +0 -1502
  107. package/dist/Transaction-ajQzNDfS.js +0 -507
  108. package/dist/TransactionOld--JDqFNem.js +0 -313
  109. package/dist/app-BWWQuKIi.js +0 -9153
  110. package/dist/composable/async-poller/index.d.ts +0 -22
  111. package/dist/index-BbyGIYO2.js +0 -63
  112. package/dist/index-MdV54cWO.js +0 -58
  113. package/dist/tyro-BovmsorS.js +0 -5
  114. package/dist/utils/permission.d.ts +0 -1
  115. package/dist/views/admin/onboard-submission/forms/TyroSubmission.vue.d.ts +0 -81
  116. package/dist/views/admin/payout-account/tabs/gateway/TyroGateway.vue.d.ts +0 -39
  117. package/dist/views/admin/restaurant/tabs/gateway/MonetapayGateway.vue.d.ts +0 -48
  118. package/dist/views/admin/terminal/tabs/useTyroSoftposGateway.d.ts +0 -12
  119. package/dist/views/onboard-submission/tyro-submission-polling.d.ts +0 -27
@@ -0,0 +1,314 @@
1
+ import { defineComponent as S, ref as K, watch as x, resolveComponent as F, openBlock as Y, createBlock as C, h as A, onMounted as M, unref as i, withCtx as O, createElementVNode as w, createVNode as _, isRef as R } from "vue";
2
+ import { t as v } from "./index-BHCs_NnD.js";
3
+ import { u as U } from "./index-D0j1LZAB.js";
4
+ import { useSnackbar as L, useDialog as P } from "@feedmepos/ui-library";
5
+ import { _ as B, b as $, t as J } from "./assets-DIbq1BVX.js";
6
+ import { _ as j, a as G, b as Q } from "./Actions.vue_vue_type_script_setup_true_lang-D_PoXVbz.js";
7
+ import { g as z } from "./grafana-B0iQmK6j.js";
8
+ import { w as k } from "./Modal-DB8M9o1T.js";
9
+ import { u as V } from "./error-K1CakhA9.js";
10
+ import { useCoreStore as N, useI18n as E } from "@feedmepos/mf-common";
11
+ import { h as I } from "./moment-h96o7c8I.js";
12
+ import { _ as H } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
13
+ import { u as W } from "./index-BkQ7t3F6.js";
14
+ import { _ as X } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
15
+ import { _ as Z } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-DG3iyjkK.js";
16
+ import { _ as aa } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js";
17
+ const ea = /* @__PURE__ */ S({
18
+ __name: "TransactionTable",
19
+ props: {
20
+ data: {
21
+ type: Array,
22
+ required: !0
23
+ },
24
+ loading: {
25
+ type: Boolean,
26
+ required: !0
27
+ }
28
+ },
29
+ emits: ["row-click"],
30
+ setup(q, { emit: d }) {
31
+ var f, T;
32
+ const o = q, l = K([...o.data]);
33
+ x(
34
+ () => o.data,
35
+ (e) => {
36
+ l.value = [...e];
37
+ },
38
+ { deep: !0, immediate: !0 }
39
+ );
40
+ const D = d, c = L(), m = P(), { sessionUser: r } = N(), { t } = E();
41
+ async function h(e) {
42
+ try {
43
+ const a = await v.refetchTransaction({ transactionId: e.id });
44
+ l.value = l.value.map((n) => n.id === a._id ? $(a) : n), c.open({
45
+ type: "success",
46
+ title: "Transaction queried and updated successfully."
47
+ });
48
+ } catch (a) {
49
+ c.open({
50
+ type: "error",
51
+ title: "Fail to query transaction.",
52
+ message: V(a)
53
+ });
54
+ }
55
+ }
56
+ async function b(e) {
57
+ k(
58
+ m,
59
+ "Refund Transaction",
60
+ "Are you sure to refund transaction? This action cannot be revert!",
61
+ async () => {
62
+ try {
63
+ const a = await v.refundTransaction({
64
+ transactionId: e.id,
65
+ reason: "portal transaction refund",
66
+ amount: e.fdoAmount
67
+ });
68
+ l.value = l.value.map((n) => n.id === a._id ? $(a) : n), c.open({
69
+ type: "success",
70
+ title: "Transaction refund request initiated."
71
+ });
72
+ } catch (a) {
73
+ c.open({
74
+ type: "error",
75
+ title: "Fail to request refund transaction.",
76
+ message: V(a)
77
+ });
78
+ }
79
+ }
80
+ );
81
+ }
82
+ async function g(e) {
83
+ k(
84
+ m,
85
+ "Notify Transaction",
86
+ "Are you sure to perform notify transaction?",
87
+ async () => {
88
+ try {
89
+ await v.renotifyTransaction(e.id), c.open({
90
+ type: "success",
91
+ title: "Transaction notify successfully."
92
+ });
93
+ } catch (a) {
94
+ c.open({
95
+ type: "error",
96
+ title: "Fail to notify transaction.",
97
+ message: V(a)
98
+ });
99
+ }
100
+ }
101
+ );
102
+ }
103
+ async function y(e) {
104
+ const a = z([
105
+ {
106
+ type: "span",
107
+ queryKey: "transaction.id",
108
+ queryValue: e.id
109
+ }
110
+ ], e.transactionAt);
111
+ window.open(a, "_blank");
112
+ }
113
+ const s = K(""), p = [
114
+ {
115
+ header: () => t("payment.transactions.table.id"),
116
+ accessorKey: "id",
117
+ cell: ({ cell: e, row: a }) => {
118
+ var n, u;
119
+ return ((n = r.value) != null && n.role.isStaff || (u = r.value) != null && u.role.isAdmin) && a.original.transactionId ? a.original.id + `
120
+ ID: ` + a.original.transactionId : a.original.id;
121
+ }
122
+ },
123
+ {
124
+ header: () => t("payment.transactions.table.pay_id"),
125
+ accessorKey: "payId"
126
+ },
127
+ {
128
+ header: () => t("payment.transactions.table.gateway_id"),
129
+ accessorKey: "gatewayTransactionId"
130
+ },
131
+ {
132
+ header: () => t("payment.transactions.table.bill_seq"),
133
+ accessorKey: "seqNumber"
134
+ },
135
+ {
136
+ header: () => t("payment.transactions.table.gateway"),
137
+ accessorKey: "gateway",
138
+ meta: {
139
+ textAlign: "center"
140
+ },
141
+ cell: ({ cell: e, row: a }) => a.original.gateway ? A(j, { row: a, data: e.getValue() }) : ""
142
+ },
143
+ {
144
+ header: () => t("payment.transactions.table.method"),
145
+ accessorKey: "method",
146
+ meta: {
147
+ textAlign: "center"
148
+ },
149
+ cell: ({ cell: e, row: a }) => a.original.method ? A(G, { row: a, data: e.getValue() }) : ""
150
+ },
151
+ {
152
+ header: () => t("payment.transactions.table.type"),
153
+ accessorKey: "payFor",
154
+ meta: {
155
+ textAlign: "center"
156
+ }
157
+ },
158
+ {
159
+ header: () => t("payment.transactions.table.status"),
160
+ accessorKey: "status",
161
+ cell: ({ cell: e }) => A(B, { data: e.getValue() })
162
+ },
163
+ {
164
+ header: () => t("payment.transactions.table.restaurant"),
165
+ accessorKey: "restaurantId"
166
+ },
167
+ {
168
+ header: () => t("payment.transactions.table.source"),
169
+ accessorKey: "source",
170
+ cell: ({ cell: e, row: a }) => `(${a.original.sourceType}) ${a.original.source}`
171
+ },
172
+ {
173
+ header: () => t("payment.transactions.table.transaction_at"),
174
+ accessorKey: "transactionAt",
175
+ meta: {
176
+ width: "180px"
177
+ },
178
+ cell: ({ cell: e, row: a }) => a.original.status === "REFUNDED" ? a.original.refundedAt : a.original.transactionAt
179
+ },
180
+ {
181
+ header: () => t("payment.transactions.table.sales_amount"),
182
+ accessorKey: "amount",
183
+ cell: ({ cell: e, row: a }) => {
184
+ var n, u;
185
+ return ((n = r.value) != null && n.role.isStaff || (u = r.value) != null && u.role.isAdmin) && a.original.flags.isDelivery ? a.original.amount + "( " + a.original.gatewayAmount + ")" : a.original.amount;
186
+ }
187
+ }
188
+ ];
189
+ return ((f = r.value) != null && f.role.isStaff || (T = r.value) != null && T.role.isAdmin) && p.push({
190
+ header: () => t("payment.transactions.table.actions"),
191
+ accessorKey: "actions",
192
+ cell: ({ row: e }) => A(Q, {
193
+ transaction: e.original,
194
+ onAction: (a) => {
195
+ var n;
196
+ switch (a) {
197
+ case "notify":
198
+ return g(e.original);
199
+ case "query":
200
+ return h(e.original);
201
+ case "refund":
202
+ return (n = r.value) != null && n.role.isStaff ? c.open({
203
+ type: "error",
204
+ title: "You are not allowed to refund transaction."
205
+ }) : b(e.original);
206
+ case "history":
207
+ return y(e.original);
208
+ }
209
+ }
210
+ })
211
+ }), (e, a) => {
212
+ const n = F("FmTable");
213
+ return Y(), C(n, {
214
+ modelValue: s.value,
215
+ "onUpdate:modelValue": a[0] || (a[0] = (u) => s.value = u),
216
+ "column-defs": p,
217
+ "row-data": l.value,
218
+ loading: o.loading,
219
+ onRowClick: a[1] || (a[1] = (u) => D("row-click", l.value.at(u.index)))
220
+ }, null, 8, ["modelValue", "row-data", "loading"]);
221
+ };
222
+ }
223
+ }), ta = { class: "flex justify-between mb-6 items-center" }, na = { class: "flex space-x-8" }, ra = { class: "flex space-x-4 self-center" }, oa = { class: "flex gap-8 mb-6" }, Aa = /* @__PURE__ */ S({
224
+ __name: "TransactionOld",
225
+ setup(q) {
226
+ const { dateRange: d, searchKey: o } = W({
227
+ searchKey: "",
228
+ dateRange: {
229
+ startDate: I().startOf("day").format("YYYY-MM-DD"),
230
+ endDate: I().endOf("day").format("YYYY-MM-DD")
231
+ }
232
+ }), { isLoading: l, startAsyncCall: D } = U(!0), { currentRestaurant: c } = N(), { t: m } = E(), r = K([]), t = K([]);
233
+ async function h() {
234
+ await D(async () => {
235
+ const { startDate: y, endDate: s } = d.value, p = await v.readRestaurantTransactions({
236
+ start: y,
237
+ end: s
238
+ });
239
+ if (r.value = J(p), t.value = r.value, o.value > "") {
240
+ var f = new RegExp(o.value, "i");
241
+ t.value = r.value.filter((T) => {
242
+ const e = JSON.stringify(T);
243
+ return f.test(e);
244
+ });
245
+ }
246
+ });
247
+ }
248
+ function b() {
249
+ h();
250
+ }
251
+ M(b), x(c, b), x(d, h);
252
+ let g;
253
+ return x(o, async () => {
254
+ g && clearTimeout(g), g = setTimeout(() => {
255
+ var y = new RegExp(o.value, "i");
256
+ t.value = r.value.filter((s) => {
257
+ const p = JSON.stringify(s);
258
+ return y.test(p);
259
+ });
260
+ }, 700);
261
+ }), (y, s) => {
262
+ const p = F("FmSearch");
263
+ return Y(), C(H, {
264
+ title: i(m)("payment.transactions.title"),
265
+ description: i(m)("payment.transactions.description"),
266
+ loading: i(l)
267
+ }, {
268
+ default: O(() => [
269
+ w("div", ta, [
270
+ w("div", na, [
271
+ _(p, {
272
+ "model-value": i(o),
273
+ "onUpdate:modelValue": s[0] || (s[0] = (f) => R(o) ? o.value = f : null),
274
+ label: i(m)("payment.transactions.search.title"),
275
+ placeholder: i(m)("payment.transactions.search.placeholder")
276
+ }, null, 8, ["model-value", "label", "placeholder"])
277
+ ]),
278
+ w("div", ra, [
279
+ _(X, {
280
+ button: {
281
+ appendIcon: "file_download",
282
+ variant: "primary",
283
+ label: i(m)("payment.transactions.button.export")
284
+ },
285
+ handler: async () => {
286
+ await i(v).downloadPortalTransactionReport(
287
+ i(d),
288
+ r.value,
289
+ !0
290
+ );
291
+ }
292
+ }, null, 8, ["button", "handler"])
293
+ ])
294
+ ]),
295
+ w("div", oa, [
296
+ _(Z),
297
+ _(aa, {
298
+ modelValue: i(d),
299
+ "onUpdate:modelValue": s[1] || (s[1] = (f) => R(d) ? d.value = f : null)
300
+ }, null, 8, ["modelValue"])
301
+ ]),
302
+ _(ea, {
303
+ loading: i(l),
304
+ data: t.value
305
+ }, null, 8, ["loading", "data"])
306
+ ]),
307
+ _: 1
308
+ }, 8, ["title", "description", "loading"]);
309
+ };
310
+ }
311
+ });
312
+ export {
313
+ Aa as default
314
+ };
@@ -1,4 +1,4 @@
1
- import type { FdoOnboardSubmissionTyroAuthResponse, FdoOnboardSubmissionTyroBindLocationRequest, FdoOnboardSubmissionTyroLocationResponse, FdoOnboardStatus, FdoOnboardSubmission, FdoOnboardSubmissionReviewRequest, FdoOnboardSubmissionUpdateRequest, FdoOnboardType, FdtoPortalOnboardSubmission, PaginatedResult } from "@feedmepos/payment-entity";
1
+ import type { FdoOnboardSubmissionTyroAuthResponse, 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;
@@ -14,8 +14,6 @@ export declare const onboardSubmissionApi: {
14
14
  getById(id: string, restaurantId: string): Promise<FdoOnboardSubmission>;
15
15
  getByRestaurant(restaurantId: string): Promise<FdoOnboardSubmission[]>;
16
16
  getOnboardSubmissionTyroAuthUrl(restaurantId: string): Promise<FdoOnboardSubmissionTyroAuthResponse>;
17
- getTyroLocations(restaurantId: string): Promise<FdoOnboardSubmissionTyroLocationResponse>;
18
- bindTyroLocation(restaurantId: string, req: FdoOnboardSubmissionTyroBindLocationRequest): Promise<FdoOnboardSubmission>;
19
17
  uploadDocument(restaurantId: string, type: string, file: File): Promise<string>;
20
18
  updateSubmission(req: FdoOnboardSubmissionUpdateRequest): Promise<FdoOnboardSubmission[]>;
21
19
  };
@@ -21,5 +21,4 @@ export declare const temrinalApi: {
21
21
  enable: boolean;
22
22
  password?: string;
23
23
  }): Promise<string>;
24
- syncTyroReader(id: string): Promise<void>;
25
24
  };