@feedmepos/mf-payment 1.5.77 → 1.5.79-dev

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