@feedmepos/mf-transaction 0.0.1-beta

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 (82) hide show
  1. package/README.md +31 -0
  2. package/dist/app-BOlyScCe.js +141127 -0
  3. package/dist/app.js +5 -0
  4. package/dist/favicon.ico +0 -0
  5. package/dist/html2canvas.esm-DgRhIRvu.js +4870 -0
  6. package/dist/index.es-6a79NHf-.js +5618 -0
  7. package/dist/purify.es-CFivMm59.js +471 -0
  8. package/dist/src/App.vue.d.ts +2 -0
  9. package/dist/src/Entry.vue.d.ts +2 -0
  10. package/dist/src/api/bill/index.d.ts +3 -0
  11. package/dist/src/api/employee/index.d.ts +13 -0
  12. package/dist/src/api/index.d.ts +4 -0
  13. package/dist/src/api/inventory/index.d.ts +5 -0
  14. package/dist/src/api/payment/index.d.ts +3 -0
  15. package/dist/src/api/role/index.d.ts +9 -0
  16. package/dist/src/api/team/index.d.ts +9 -0
  17. package/dist/src/api/timesheet/index.d.ts +6 -0
  18. package/dist/src/api/transaction/index.d.ts +32 -0
  19. package/dist/src/api/user/index.d.ts +6 -0
  20. package/dist/src/app.d.ts +2 -0
  21. package/dist/src/components/AppForm.vue.d.ts +41 -0
  22. package/dist/src/components/CheckboxInput.vue.d.ts +140 -0
  23. package/dist/src/components/FilterDialog.vue.d.ts +13 -0
  24. package/dist/src/components/Navigator.vue.d.ts +2 -0
  25. package/dist/src/components/RestaurantSelector.vue.d.ts +6 -0
  26. package/dist/src/composables/dateRange.d.ts +17 -0
  27. package/dist/src/composables/message.d.ts +4 -0
  28. package/dist/src/helpers/component.d.ts +12 -0
  29. package/dist/src/helpers/createComponent.d.ts +7 -0
  30. package/dist/src/helpers/createForm.d.ts +2 -0
  31. package/dist/src/helpers/export.d.ts +12 -0
  32. package/dist/src/helpers/idToDate.d.ts +1 -0
  33. package/dist/src/helpers/iteration.d.ts +10 -0
  34. package/dist/src/helpers/random.d.ts +3 -0
  35. package/dist/src/helpers/rule.d.ts +29 -0
  36. package/dist/src/helpers/string.d.ts +5 -0
  37. package/dist/src/helpers/time.d.ts +7 -0
  38. package/dist/src/helpers/utils.d.ts +5 -0
  39. package/dist/src/main.d.ts +2 -0
  40. package/dist/src/router/index.d.ts +2 -0
  41. package/dist/src/router/shared.d.ts +4 -0
  42. package/dist/src/stores/employee.d.ts +539 -0
  43. package/dist/src/stores/role.d.ts +205 -0
  44. package/dist/src/stores/timesheet.d.ts +253 -0
  45. package/dist/src/types/employee.d.ts +29 -0
  46. package/dist/src/types/permission.d.ts +68 -0
  47. package/dist/src/types/restaurant.d.ts +18 -0
  48. package/dist/src/types/role.d.ts +37 -0
  49. package/dist/src/types/team.d.ts +47 -0
  50. package/dist/src/types/timesheet.d.ts +16 -0
  51. package/dist/src/types/transaction.d.ts +6 -0
  52. package/dist/src/views/online/OnlineTransaction.vue.d.ts +2 -0
  53. package/dist/src/views/online/PaymentTable.vue.d.ts +112 -0
  54. package/dist/src/views/online/SettlementTable.vue.d.ts +66 -0
  55. package/dist/src/views/online/detail/FmSettlement.vue.d.ts +32 -0
  56. package/dist/src/views/online/detail/RmsSettlement.vue.d.ts +22 -0
  57. package/dist/src/views/online/detail/SettlementDetail.vue.d.ts +5 -0
  58. package/dist/src/views/online/settlement.d.ts +52 -0
  59. package/dist/src/views/receipt/ExportReceipt.vue.d.ts +36 -0
  60. package/dist/src/views/receipt/Receipt.vue.d.ts +2 -0
  61. package/dist/src/views/receipt/detail/ReceiptDetail.vue.d.ts +26 -0
  62. package/dist/src/views/receipt/detail/activity/ReceiptActivities.vue.d.ts +14 -0
  63. package/dist/src/views/receipt/detail/info/InfoBasic.vue.d.ts +20 -0
  64. package/dist/src/views/receipt/detail/info/InfoRow.vue.d.ts +30 -0
  65. package/dist/src/views/receipt/detail/info/ReceiptInfo.vue.d.ts +14 -0
  66. package/dist/src/views/receipt/detail/info/ReceiptItem.vue.d.ts +14 -0
  67. package/dist/src/views/receipt/detail/info/ReceiptPreview.vue.d.ts +14 -0
  68. package/dist/src/views/receipt/detail/info/ReceiptSubItem.vue.d.ts +24 -0
  69. package/dist/src/views/receipt/detail/item/ReceiptGroupItem.vue.d.ts +14 -0
  70. package/dist/src/views/receipt/form.d.ts +3 -0
  71. package/dist/src/views/receipt/receipt.d.ts +118 -0
  72. package/dist/src/views/team/TeamMemberList.vue.d.ts +2 -0
  73. package/dist/src/views/team/components/AddMemberForm.vue.d.ts +40 -0
  74. package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +38 -0
  75. package/dist/src/views/team/components/PortalUserSearcher.vue.d.ts +40 -0
  76. package/dist/src/views/team/components/TeamMemberBasePermission.vue.d.ts +36 -0
  77. package/dist/src/views/team/components/TeamMemberConditionPermission.vue.d.ts +50 -0
  78. package/dist/src/views/team/components/TeamMemberMasterUser.vue.d.ts +836 -0
  79. package/dist/src/views/team/components/TeamMemberRolePermission.vue.d.ts +46 -0
  80. package/dist/style.css +1 -0
  81. package/dist/tsconfig.app.tsbuildinfo +1 -0
  82. package/package.json +79 -0
@@ -0,0 +1,836 @@
1
+ import type { CheckboxOption } from "@/components/CheckboxInput.vue";
2
+ import type { IFdtoPermissionPosUser } from "@/types/team";
3
+ import { type PropType } from "vue";
4
+ declare const _default: import("vue").DefineComponent<{
5
+ modelValue: {
6
+ type: PropType<IFdtoPermissionPosUser>;
7
+ default: undefined;
8
+ };
9
+ fallbackPasscode: {
10
+ type: StringConstructor;
11
+ default: undefined;
12
+ };
13
+ restaurants: {
14
+ type: PropType<{
15
+ channel?: string | null | undefined;
16
+ machineId?: string | null | undefined;
17
+ catalogId?: string | null | undefined;
18
+ takeaway?: {
19
+ catalogId?: string | null | undefined;
20
+ } | null | undefined;
21
+ inHouseDelivery?: {
22
+ taxes?: Record<string, {
23
+ inclusive: boolean;
24
+ taxCode: string;
25
+ systemCode: string;
26
+ }> | null | undefined;
27
+ autoAccept?: boolean | null | undefined;
28
+ deliveryTime?: {
29
+ time?: string[] | null | undefined;
30
+ custom?: {
31
+ 0: {
32
+ hours: {
33
+ end: string;
34
+ start: string;
35
+ }[];
36
+ enable: boolean;
37
+ };
38
+ 2: {
39
+ hours: {
40
+ end: string;
41
+ start: string;
42
+ }[];
43
+ enable: boolean;
44
+ };
45
+ 1: {
46
+ hours: {
47
+ end: string;
48
+ start: string;
49
+ }[];
50
+ enable: boolean;
51
+ };
52
+ 3: {
53
+ hours: {
54
+ end: string;
55
+ start: string;
56
+ }[];
57
+ enable: boolean;
58
+ };
59
+ 4: {
60
+ hours: {
61
+ end: string;
62
+ start: string;
63
+ }[];
64
+ enable: boolean;
65
+ };
66
+ 5: {
67
+ hours: {
68
+ end: string;
69
+ start: string;
70
+ }[];
71
+ enable: boolean;
72
+ };
73
+ 6: {
74
+ hours: {
75
+ end: string;
76
+ start: string;
77
+ }[];
78
+ enable: boolean;
79
+ };
80
+ } | null | undefined;
81
+ day: {
82
+ max: number;
83
+ min: number;
84
+ };
85
+ } | null | undefined;
86
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
87
+ offlinePaymentTypes?: {
88
+ name: string;
89
+ instruction: string;
90
+ }[] | null | undefined;
91
+ autoAcceptPaidOnly?: boolean | null | undefined;
92
+ ignoreStock?: boolean | null | undefined;
93
+ catalogId: string | null;
94
+ enable: boolean;
95
+ areas: {
96
+ minPurchase?: {
97
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
98
+ amount: number;
99
+ precision: number;
100
+ } | null | undefined;
101
+ freeAfterTotal?: {
102
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
103
+ amount: number;
104
+ precision: number;
105
+ } | null | undefined;
106
+ polygon: number[][];
107
+ deliveryFee: {
108
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
109
+ amount: number;
110
+ precision: number;
111
+ };
112
+ }[];
113
+ term: string;
114
+ } | null | undefined;
115
+ pickup?: {
116
+ catalogId?: string | null | undefined;
117
+ autoAccept?: boolean | null | undefined;
118
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
119
+ offlinePaymentTypes?: {
120
+ name: string;
121
+ instruction: string;
122
+ }[] | null | undefined;
123
+ autoAcceptPaidOnly?: boolean | null | undefined;
124
+ ignoreStock?: boolean | null | undefined;
125
+ pickupTime?: {
126
+ day: {
127
+ max: number;
128
+ min: number;
129
+ };
130
+ } | null | undefined;
131
+ pickupPointConfig?: {
132
+ restaurantEnable: boolean;
133
+ points: {
134
+ name: string;
135
+ address: string;
136
+ coordinates: number[];
137
+ }[];
138
+ } | null | undefined;
139
+ } | null | undefined;
140
+ dineIn?: {
141
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
142
+ offlinePaymentTypes?: {
143
+ name: string;
144
+ instruction: string;
145
+ }[] | null | undefined;
146
+ ignoreStock?: boolean | null | undefined;
147
+ staticQr?: boolean | null | undefined;
148
+ disableItemRemark?: boolean | null | undefined;
149
+ acceptQueue?: boolean | null | undefined;
150
+ anonymousOrder: boolean;
151
+ } | null | undefined;
152
+ features?: string[] | null | undefined;
153
+ machineOtp?: string | null | undefined;
154
+ machineOtpExpiredAt?: string | null | undefined;
155
+ posVersion?: string | null | undefined;
156
+ posHeartbeat?: string | null | undefined;
157
+ posVersionHistory?: Record<string, string> | null | undefined;
158
+ additionalCatalogs?: string[] | null | undefined;
159
+ feedmeDelivery?: {
160
+ instruction?: string | null | undefined;
161
+ catalogId?: string | null | undefined;
162
+ autoAccept?: boolean | null | undefined;
163
+ term?: string | null | undefined;
164
+ enable: boolean;
165
+ } | null | undefined;
166
+ foodpandaDelivery?: {
167
+ _id?: string | undefined;
168
+ ignoreDiscount?: boolean | null | undefined;
169
+ catalogId?: string | null | undefined;
170
+ commissionRate?: number | null | undefined;
171
+ lastSynchronize?: string | null | undefined;
172
+ showProductAddon?: boolean | null | undefined;
173
+ autoAccept?: boolean | null | undefined;
174
+ reportConfig?: {
175
+ commissionRate: number;
176
+ discountCampaigns: {
177
+ name: string;
178
+ date: {
179
+ end: string;
180
+ start: string;
181
+ };
182
+ vendorBearPercentage: number;
183
+ }[];
184
+ } | null | undefined;
185
+ hasSst?: boolean | null | undefined;
186
+ enable: boolean;
187
+ remoteId: string;
188
+ autoCloseBill: boolean;
189
+ } | null | undefined;
190
+ grabfoodDelivery?: {
191
+ _id?: string | undefined;
192
+ catalogId?: string | null | undefined;
193
+ lastSynchronize?: string | null | undefined;
194
+ showProductAddon?: boolean | null | undefined;
195
+ enable: boolean;
196
+ commissionRate: number;
197
+ autoCloseBill: boolean;
198
+ merchantID: string;
199
+ } | null | undefined;
200
+ shopeefoodDelivery?: {
201
+ _id?: string | undefined;
202
+ catalogId?: string | null | undefined;
203
+ lastSynchronize?: string | null | undefined;
204
+ showProductAddon?: boolean | null | undefined;
205
+ enable: boolean;
206
+ autoCloseBill: boolean;
207
+ reportConfig: {
208
+ commissionRate: number;
209
+ discountCampaigns: {
210
+ name: string;
211
+ date: {
212
+ end: string;
213
+ start: string;
214
+ };
215
+ vendorBearPercentage: number;
216
+ }[];
217
+ };
218
+ storeID: string;
219
+ } | null | undefined;
220
+ couchDbPassword?: string | null | undefined;
221
+ apiToken?: string | null | undefined;
222
+ remoteSupports?: {
223
+ anydeskId?: string | null | undefined;
224
+ anydeskPassword?: string | null | undefined;
225
+ deviceName: string;
226
+ }[] | null | undefined;
227
+ payoutAccount?: {
228
+ bank?: {
229
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
230
+ accountNumber?: string | null | undefined;
231
+ holderName?: string | null | undefined;
232
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
233
+ } | null | undefined;
234
+ ssm?: string | null | undefined;
235
+ bankStatement?: string | null | undefined;
236
+ exteriorPhoto?: string | null | undefined;
237
+ keyPerson?: string | null | undefined;
238
+ keyPersonPhone?: string | null | undefined;
239
+ keyPersonEmail?: string | null | undefined;
240
+ status: "NEW" | "PENDING" | "APPROVED";
241
+ enable: boolean;
242
+ methods: {
243
+ variant: string;
244
+ issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
245
+ rate: {
246
+ amount: number;
247
+ precision: number;
248
+ };
249
+ tPlus: number;
250
+ }[];
251
+ } | null | undefined;
252
+ clearCount?: number | null | undefined;
253
+ queueSetting?: {
254
+ duration?: number | null | undefined;
255
+ enableOrder: boolean;
256
+ initialNumber: number;
257
+ endNumber: number;
258
+ currentNumber: number;
259
+ autoCalledLimit: number;
260
+ } | null | undefined;
261
+ tableMappingSetting?: {
262
+ enable?: boolean | null | undefined;
263
+ showSeat?: boolean | null | undefined;
264
+ mapBorderColor?: number | null | undefined;
265
+ mapLineColor?: number | null | undefined;
266
+ } | null | undefined;
267
+ _id: string;
268
+ expiredAt: string;
269
+ pf_business: {
270
+ internal?: boolean | null | undefined;
271
+ url?: string | null | undefined;
272
+ expiredAt?: string | null | undefined;
273
+ agentId?: string | null | undefined;
274
+ pf_agent?: {
275
+ clickupId?: string | null | undefined;
276
+ members?: {
277
+ pf_user?: {
278
+ email?: string | null | undefined;
279
+ phoneNumber?: string | null | undefined;
280
+ birthday?: string | null | undefined;
281
+ gender?: "MALE" | "FEMALE" | null | undefined;
282
+ addresses?: {
283
+ name: string;
284
+ address: string;
285
+ coordinates: number[];
286
+ }[] | null | undefined;
287
+ photoURL?: string | null | undefined;
288
+ displayName?: string | null | undefined;
289
+ imported?: {
290
+ raw: Record<string, any>;
291
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
292
+ } | null | undefined;
293
+ _id: string;
294
+ } | null | undefined;
295
+ role: "ADMIN";
296
+ userId: string;
297
+ }[] | null | undefined;
298
+ code: string;
299
+ name: string;
300
+ _id: string;
301
+ isReseller: boolean;
302
+ } | null | undefined;
303
+ thumbnail?: string | null | undefined;
304
+ billingInfos?: {
305
+ _id?: string | null | undefined;
306
+ name: string;
307
+ address: {
308
+ coordinates?: number[] | null | undefined;
309
+ line2?: string | null | undefined;
310
+ state: string;
311
+ country: string;
312
+ line1: string;
313
+ city: string;
314
+ postcode: string;
315
+ };
316
+ email: string;
317
+ companyName: string;
318
+ contact: string;
319
+ }[] | null | undefined;
320
+ customerDisplayImages?: {
321
+ url: string;
322
+ restaurantIds: string[];
323
+ }[] | null | undefined;
324
+ name: string;
325
+ _id: string;
326
+ ownerId: string;
327
+ restaurantQuota: number;
328
+ warehouseQuota: number;
329
+ menuVersion: string;
330
+ };
331
+ businessId: string;
332
+ profile: {
333
+ code?: string | null | undefined;
334
+ url?: string | null | undefined;
335
+ description?: string | null | undefined;
336
+ _id?: string | null | undefined;
337
+ legalName?: string | null | undefined;
338
+ sstRegNo?: string | null | undefined;
339
+ discovery?: boolean | null | undefined;
340
+ coverPhoto?: string | null | undefined;
341
+ thumbnailPhoto?: string | null | undefined;
342
+ photos?: string[] | null | undefined;
343
+ operatingHours?: {
344
+ 0: {
345
+ hours: {
346
+ end: string;
347
+ start: string;
348
+ }[];
349
+ enable: boolean;
350
+ };
351
+ 2: {
352
+ hours: {
353
+ end: string;
354
+ start: string;
355
+ }[];
356
+ enable: boolean;
357
+ };
358
+ 1: {
359
+ hours: {
360
+ end: string;
361
+ start: string;
362
+ }[];
363
+ enable: boolean;
364
+ };
365
+ 3: {
366
+ hours: {
367
+ end: string;
368
+ start: string;
369
+ }[];
370
+ enable: boolean;
371
+ };
372
+ 4: {
373
+ hours: {
374
+ end: string;
375
+ start: string;
376
+ }[];
377
+ enable: boolean;
378
+ };
379
+ 5: {
380
+ hours: {
381
+ end: string;
382
+ start: string;
383
+ }[];
384
+ enable: boolean;
385
+ };
386
+ 6: {
387
+ hours: {
388
+ end: string;
389
+ start: string;
390
+ }[];
391
+ enable: boolean;
392
+ };
393
+ } | null | undefined;
394
+ tags?: string[] | null | undefined;
395
+ name: string;
396
+ address: {
397
+ coordinates?: number[] | null | undefined;
398
+ line2?: string | null | undefined;
399
+ state: string;
400
+ country: string;
401
+ line1: string;
402
+ city: string;
403
+ postcode: string;
404
+ };
405
+ email: string;
406
+ phoneNo: string;
407
+ regNo: string;
408
+ };
409
+ }[]>;
410
+ required: true;
411
+ };
412
+ roles: {
413
+ type: PropType<CheckboxOption[]>;
414
+ required: true;
415
+ };
416
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
417
+ "update:model-value": (user: IFdtoPermissionPosUser | undefined) => void;
418
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
419
+ modelValue: {
420
+ type: PropType<IFdtoPermissionPosUser>;
421
+ default: undefined;
422
+ };
423
+ fallbackPasscode: {
424
+ type: StringConstructor;
425
+ default: undefined;
426
+ };
427
+ restaurants: {
428
+ type: PropType<{
429
+ channel?: string | null | undefined;
430
+ machineId?: string | null | undefined;
431
+ catalogId?: string | null | undefined;
432
+ takeaway?: {
433
+ catalogId?: string | null | undefined;
434
+ } | null | undefined;
435
+ inHouseDelivery?: {
436
+ taxes?: Record<string, {
437
+ inclusive: boolean;
438
+ taxCode: string;
439
+ systemCode: string;
440
+ }> | null | undefined;
441
+ autoAccept?: boolean | null | undefined;
442
+ deliveryTime?: {
443
+ time?: string[] | null | undefined;
444
+ custom?: {
445
+ 0: {
446
+ hours: {
447
+ end: string;
448
+ start: string;
449
+ }[];
450
+ enable: boolean;
451
+ };
452
+ 2: {
453
+ hours: {
454
+ end: string;
455
+ start: string;
456
+ }[];
457
+ enable: boolean;
458
+ };
459
+ 1: {
460
+ hours: {
461
+ end: string;
462
+ start: string;
463
+ }[];
464
+ enable: boolean;
465
+ };
466
+ 3: {
467
+ hours: {
468
+ end: string;
469
+ start: string;
470
+ }[];
471
+ enable: boolean;
472
+ };
473
+ 4: {
474
+ hours: {
475
+ end: string;
476
+ start: string;
477
+ }[];
478
+ enable: boolean;
479
+ };
480
+ 5: {
481
+ hours: {
482
+ end: string;
483
+ start: string;
484
+ }[];
485
+ enable: boolean;
486
+ };
487
+ 6: {
488
+ hours: {
489
+ end: string;
490
+ start: string;
491
+ }[];
492
+ enable: boolean;
493
+ };
494
+ } | null | undefined;
495
+ day: {
496
+ max: number;
497
+ min: number;
498
+ };
499
+ } | null | undefined;
500
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
501
+ offlinePaymentTypes?: {
502
+ name: string;
503
+ instruction: string;
504
+ }[] | null | undefined;
505
+ autoAcceptPaidOnly?: boolean | null | undefined;
506
+ ignoreStock?: boolean | null | undefined;
507
+ catalogId: string | null;
508
+ enable: boolean;
509
+ areas: {
510
+ minPurchase?: {
511
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
512
+ amount: number;
513
+ precision: number;
514
+ } | null | undefined;
515
+ freeAfterTotal?: {
516
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
517
+ amount: number;
518
+ precision: number;
519
+ } | null | undefined;
520
+ polygon: number[][];
521
+ deliveryFee: {
522
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
523
+ amount: number;
524
+ precision: number;
525
+ };
526
+ }[];
527
+ term: string;
528
+ } | null | undefined;
529
+ pickup?: {
530
+ catalogId?: string | null | undefined;
531
+ autoAccept?: boolean | null | undefined;
532
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
533
+ offlinePaymentTypes?: {
534
+ name: string;
535
+ instruction: string;
536
+ }[] | null | undefined;
537
+ autoAcceptPaidOnly?: boolean | null | undefined;
538
+ ignoreStock?: boolean | null | undefined;
539
+ pickupTime?: {
540
+ day: {
541
+ max: number;
542
+ min: number;
543
+ };
544
+ } | null | undefined;
545
+ pickupPointConfig?: {
546
+ restaurantEnable: boolean;
547
+ points: {
548
+ name: string;
549
+ address: string;
550
+ coordinates: number[];
551
+ }[];
552
+ } | null | undefined;
553
+ } | null | undefined;
554
+ dineIn?: {
555
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
556
+ offlinePaymentTypes?: {
557
+ name: string;
558
+ instruction: string;
559
+ }[] | null | undefined;
560
+ ignoreStock?: boolean | null | undefined;
561
+ staticQr?: boolean | null | undefined;
562
+ disableItemRemark?: boolean | null | undefined;
563
+ acceptQueue?: boolean | null | undefined;
564
+ anonymousOrder: boolean;
565
+ } | null | undefined;
566
+ features?: string[] | null | undefined;
567
+ machineOtp?: string | null | undefined;
568
+ machineOtpExpiredAt?: string | null | undefined;
569
+ posVersion?: string | null | undefined;
570
+ posHeartbeat?: string | null | undefined;
571
+ posVersionHistory?: Record<string, string> | null | undefined;
572
+ additionalCatalogs?: string[] | null | undefined;
573
+ feedmeDelivery?: {
574
+ instruction?: string | null | undefined;
575
+ catalogId?: string | null | undefined;
576
+ autoAccept?: boolean | null | undefined;
577
+ term?: string | null | undefined;
578
+ enable: boolean;
579
+ } | null | undefined;
580
+ foodpandaDelivery?: {
581
+ _id?: string | undefined;
582
+ ignoreDiscount?: boolean | null | undefined;
583
+ catalogId?: string | null | undefined;
584
+ commissionRate?: number | null | undefined;
585
+ lastSynchronize?: string | null | undefined;
586
+ showProductAddon?: boolean | null | undefined;
587
+ autoAccept?: boolean | null | undefined;
588
+ reportConfig?: {
589
+ commissionRate: number;
590
+ discountCampaigns: {
591
+ name: string;
592
+ date: {
593
+ end: string;
594
+ start: string;
595
+ };
596
+ vendorBearPercentage: number;
597
+ }[];
598
+ } | null | undefined;
599
+ hasSst?: boolean | null | undefined;
600
+ enable: boolean;
601
+ remoteId: string;
602
+ autoCloseBill: boolean;
603
+ } | null | undefined;
604
+ grabfoodDelivery?: {
605
+ _id?: string | undefined;
606
+ catalogId?: string | null | undefined;
607
+ lastSynchronize?: string | null | undefined;
608
+ showProductAddon?: boolean | null | undefined;
609
+ enable: boolean;
610
+ commissionRate: number;
611
+ autoCloseBill: boolean;
612
+ merchantID: string;
613
+ } | null | undefined;
614
+ shopeefoodDelivery?: {
615
+ _id?: string | undefined;
616
+ catalogId?: string | null | undefined;
617
+ lastSynchronize?: string | null | undefined;
618
+ showProductAddon?: boolean | null | undefined;
619
+ enable: boolean;
620
+ autoCloseBill: boolean;
621
+ reportConfig: {
622
+ commissionRate: number;
623
+ discountCampaigns: {
624
+ name: string;
625
+ date: {
626
+ end: string;
627
+ start: string;
628
+ };
629
+ vendorBearPercentage: number;
630
+ }[];
631
+ };
632
+ storeID: string;
633
+ } | null | undefined;
634
+ couchDbPassword?: string | null | undefined;
635
+ apiToken?: string | null | undefined;
636
+ remoteSupports?: {
637
+ anydeskId?: string | null | undefined;
638
+ anydeskPassword?: string | null | undefined;
639
+ deviceName: string;
640
+ }[] | null | undefined;
641
+ payoutAccount?: {
642
+ bank?: {
643
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
644
+ accountNumber?: string | null | undefined;
645
+ holderName?: string | null | undefined;
646
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
647
+ } | null | undefined;
648
+ ssm?: string | null | undefined;
649
+ bankStatement?: string | null | undefined;
650
+ exteriorPhoto?: string | null | undefined;
651
+ keyPerson?: string | null | undefined;
652
+ keyPersonPhone?: string | null | undefined;
653
+ keyPersonEmail?: string | null | undefined;
654
+ status: "NEW" | "PENDING" | "APPROVED";
655
+ enable: boolean;
656
+ methods: {
657
+ variant: string;
658
+ issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
659
+ rate: {
660
+ amount: number;
661
+ precision: number;
662
+ };
663
+ tPlus: number;
664
+ }[];
665
+ } | null | undefined;
666
+ clearCount?: number | null | undefined;
667
+ queueSetting?: {
668
+ duration?: number | null | undefined;
669
+ enableOrder: boolean;
670
+ initialNumber: number;
671
+ endNumber: number;
672
+ currentNumber: number;
673
+ autoCalledLimit: number;
674
+ } | null | undefined;
675
+ tableMappingSetting?: {
676
+ enable?: boolean | null | undefined;
677
+ showSeat?: boolean | null | undefined;
678
+ mapBorderColor?: number | null | undefined;
679
+ mapLineColor?: number | null | undefined;
680
+ } | null | undefined;
681
+ _id: string;
682
+ expiredAt: string;
683
+ pf_business: {
684
+ internal?: boolean | null | undefined;
685
+ url?: string | null | undefined;
686
+ expiredAt?: string | null | undefined;
687
+ agentId?: string | null | undefined;
688
+ pf_agent?: {
689
+ clickupId?: string | null | undefined;
690
+ members?: {
691
+ pf_user?: {
692
+ email?: string | null | undefined;
693
+ phoneNumber?: string | null | undefined;
694
+ birthday?: string | null | undefined;
695
+ gender?: "MALE" | "FEMALE" | null | undefined;
696
+ addresses?: {
697
+ name: string;
698
+ address: string;
699
+ coordinates: number[];
700
+ }[] | null | undefined;
701
+ photoURL?: string | null | undefined;
702
+ displayName?: string | null | undefined;
703
+ imported?: {
704
+ raw: Record<string, any>;
705
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
706
+ } | null | undefined;
707
+ _id: string;
708
+ } | null | undefined;
709
+ role: "ADMIN";
710
+ userId: string;
711
+ }[] | null | undefined;
712
+ code: string;
713
+ name: string;
714
+ _id: string;
715
+ isReseller: boolean;
716
+ } | null | undefined;
717
+ thumbnail?: string | null | undefined;
718
+ billingInfos?: {
719
+ _id?: string | null | undefined;
720
+ name: string;
721
+ address: {
722
+ coordinates?: number[] | null | undefined;
723
+ line2?: string | null | undefined;
724
+ state: string;
725
+ country: string;
726
+ line1: string;
727
+ city: string;
728
+ postcode: string;
729
+ };
730
+ email: string;
731
+ companyName: string;
732
+ contact: string;
733
+ }[] | null | undefined;
734
+ customerDisplayImages?: {
735
+ url: string;
736
+ restaurantIds: string[];
737
+ }[] | null | undefined;
738
+ name: string;
739
+ _id: string;
740
+ ownerId: string;
741
+ restaurantQuota: number;
742
+ warehouseQuota: number;
743
+ menuVersion: string;
744
+ };
745
+ businessId: string;
746
+ profile: {
747
+ code?: string | null | undefined;
748
+ url?: string | null | undefined;
749
+ description?: string | null | undefined;
750
+ _id?: string | null | undefined;
751
+ legalName?: string | null | undefined;
752
+ sstRegNo?: string | null | undefined;
753
+ discovery?: boolean | null | undefined;
754
+ coverPhoto?: string | null | undefined;
755
+ thumbnailPhoto?: string | null | undefined;
756
+ photos?: string[] | null | undefined;
757
+ operatingHours?: {
758
+ 0: {
759
+ hours: {
760
+ end: string;
761
+ start: string;
762
+ }[];
763
+ enable: boolean;
764
+ };
765
+ 2: {
766
+ hours: {
767
+ end: string;
768
+ start: string;
769
+ }[];
770
+ enable: boolean;
771
+ };
772
+ 1: {
773
+ hours: {
774
+ end: string;
775
+ start: string;
776
+ }[];
777
+ enable: boolean;
778
+ };
779
+ 3: {
780
+ hours: {
781
+ end: string;
782
+ start: string;
783
+ }[];
784
+ enable: boolean;
785
+ };
786
+ 4: {
787
+ hours: {
788
+ end: string;
789
+ start: string;
790
+ }[];
791
+ enable: boolean;
792
+ };
793
+ 5: {
794
+ hours: {
795
+ end: string;
796
+ start: string;
797
+ }[];
798
+ enable: boolean;
799
+ };
800
+ 6: {
801
+ hours: {
802
+ end: string;
803
+ start: string;
804
+ }[];
805
+ enable: boolean;
806
+ };
807
+ } | null | undefined;
808
+ tags?: string[] | null | undefined;
809
+ name: string;
810
+ address: {
811
+ coordinates?: number[] | null | undefined;
812
+ line2?: string | null | undefined;
813
+ state: string;
814
+ country: string;
815
+ line1: string;
816
+ city: string;
817
+ postcode: string;
818
+ };
819
+ email: string;
820
+ phoneNo: string;
821
+ regNo: string;
822
+ };
823
+ }[]>;
824
+ required: true;
825
+ };
826
+ roles: {
827
+ type: PropType<CheckboxOption[]>;
828
+ required: true;
829
+ };
830
+ }>> & {
831
+ "onUpdate:model-value"?: ((user: IFdtoPermissionPosUser | undefined) => any) | undefined;
832
+ }, {
833
+ modelValue: IFdtoPermissionPosUser;
834
+ fallbackPasscode: string;
835
+ }, {}>;
836
+ export default _default;