@feedmepos/mf-inventory-portal 0.0.20-dev.1 → 0.0.21-dev.1

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 (58) hide show
  1. package/dist/{ApprovalView-CF-RhtHH.js → ApprovalView-DW0_5glj.js} +5 -5
  2. package/dist/{BindingsDialog-0_fCmf7t.js → BindingsDialog-Czx4IaxD.js} +1 -1
  3. package/dist/{BindingsPicker-CT-56t-W.js → BindingsPicker-C25wyJ5c.js} +1 -1
  4. package/dist/BindingsTable-DypE3NR_.js +145 -0
  5. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CHNBnuDM.js} +1 -1
  6. package/dist/IngredientsView-B-Hwi7zE.js +1751 -0
  7. package/dist/{IntegrationView-D7hqf0P5.js → IntegrationView-BrsjpHwN.js} +2 -2
  8. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DZOs6wE2.js} +1 -1
  9. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Y3A-wRZm.js} +1 -1
  10. package/dist/{PurchaseOrderPrintPreview-C92PdleC.js → PurchaseOrderPrintPreview-BYxCDtxN.js} +1 -1
  11. package/dist/{ReceiveRequestView-BaxEQWOD.js → ReceiveRequestView-Da81c19A.js} +7 -7
  12. package/dist/{RecipeView-CDgZpLPk.js → RecipeView-21VHawYH.js} +4 -4
  13. package/dist/{StockView-B77CrARl.js → StockView-BRxg62Jk.js} +499 -487
  14. package/dist/{SupplierView-DQ3hB7q2.js → SupplierView-BR7mmuKe.js} +4 -4
  15. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js → TransferDetails.vue_vue_type_script_setup_true_lang-BixtDHmX.js} +88 -87
  16. package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js → TransferDialog.vue_vue_type_script_setup_true_lang-q75hFaSf.js} +473 -475
  17. package/dist/TransferTemplateView-BXNj1QDe.js +1381 -0
  18. package/dist/{UnitView-DlmlVNOx.js → UnitView-bO2BhUFj.js} +5 -5
  19. package/dist/{WarehouseView-DXWls5vv.js → WarehouseView-CmB2drN4.js} +3 -3
  20. package/dist/api/inventory.d.ts +104 -5
  21. package/dist/api/stock.d.ts +8 -0
  22. package/dist/{app-P7rGzGsF.js → app-CmxCdDLB.js} +5169 -5113
  23. package/dist/app.d.ts +6 -0
  24. package/dist/app.js +3 -3
  25. package/dist/components/FmUnitInputProps.d.ts +1 -0
  26. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  27. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  28. package/dist/{decimal-4ONRlhOO.js → decimal-jg7WewgV.js} +1 -1
  29. package/dist/{id-to-date-D8Ey2CVj.js → id-to-date-5ySGvt_H.js} +1 -1
  30. package/dist/{layout-D-zXtsSp.js → layout-DTjCHRyt.js} +6 -6
  31. package/dist/purchase-order-transaction-type-B9KguKXt.js +723 -0
  32. package/dist/stores/inventory.d.ts +4 -4
  33. package/dist/stores/location.d.ts +308 -1612
  34. package/dist/style.css +1 -1
  35. package/dist/{supplier-DsUIjl-L.js → supplier-D1iKgl2Z.js} +1 -1
  36. package/dist/tsconfig.app.tsbuildinfo +1 -1
  37. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  38. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  39. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +5 -5
  40. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  41. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  42. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +12 -12
  43. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +12 -12
  44. package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +9 -0
  45. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  46. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +2 -2
  47. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +1 -1
  48. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +109 -0
  49. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -2
  50. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1461 -249
  51. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +926 -118
  52. package/dist/{xlsx-zfERRe6K.js → xlsx-DE-wX-rr.js} +1 -1
  53. package/dist/{xlsx.util-DnbiJzsk.js → xlsx.util-ktlEcFIy.js} +2 -2
  54. package/package.json +3 -3
  55. package/dist/BindingsTable-DEftAnTN.js +0 -120
  56. package/dist/IngredientsView-Au6oRwF2.js +0 -1663
  57. package/dist/TransferTemplateView-Dt04xMCK.js +0 -1290
  58. package/dist/format-unit-display-DJpElzu_.js +0 -707
@@ -1,955 +1,69 @@
1
- import type { FdoRestaurant } from '@feedmepos/core/entity';
2
- export declare enum InventoryLocationType {
3
- restaurant = "restaurant",
4
- warehouse = "warehouse"
5
- }
6
- export interface InventoryLocation {
7
- name: string;
8
- type: InventoryLocationType;
9
- acceptRequest: boolean;
10
- dbName: string;
11
- doc: FdoWarehouse | FdoRestaurant;
12
- }
1
+ /**
2
+ * @deprecated use enum from FdoInventoryLocationType
3
+ */
4
+ export declare const InventoryLocationType: {
5
+ restaurant: "restaurant";
6
+ warehouse: "warehouse";
7
+ };
8
+ export type InventoryLocation = FdoInventoryLocation;
13
9
  export declare function useLocationStore(): {
14
- _currentLocation: InventoryLocation | null;
15
- _locations: InventoryLocation[] | null;
16
- readonly state: {
17
- _currentLocation: {
18
- name: string;
19
- type: InventoryLocationType;
20
- acceptRequest: boolean;
21
- dbName: string;
22
- doc: {
23
- pf_business?: {
24
- internal?: boolean | null | undefined;
25
- url?: string | null | undefined;
26
- expiredAt?: string | null | undefined;
27
- agentId?: string | null | undefined;
28
- restaurantTagGroups?: {
29
- name: string;
30
- id: string;
31
- tags: {
32
- name: string;
33
- id: string;
34
- }[];
35
- }[] | null | undefined;
36
- pf_agent?: {
37
- clickupId?: string | null | undefined;
38
- members?: {
39
- pf_user?: {
40
- email?: string | null | undefined;
41
- phoneNumber?: string | null | undefined;
42
- birthday?: string | null | undefined;
43
- gender?: "MALE" | "FEMALE" | null | undefined;
44
- addresses?: {
45
- name: string;
46
- address: string;
47
- coordinates: number[];
48
- }[] | null | undefined;
49
- photoURL?: string | null | undefined;
50
- displayName?: string | null | undefined;
51
- imported?: {
52
- raw: Record<string, any>;
53
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
54
- } | null | undefined;
55
- _id: string;
56
- } | null | undefined;
57
- role: "ADMIN";
58
- userId: string;
59
- }[] | null | undefined;
60
- code: string;
61
- name: string;
62
- _id: string;
63
- isReseller: boolean;
64
- } | null | undefined;
65
- thumbnail?: string | null | undefined;
66
- billingInfos?: {
67
- _id?: string | null | undefined;
68
- name: string;
69
- address: {
70
- coordinates?: number[] | null | undefined;
71
- line2?: string | null | undefined;
72
- state: string;
73
- country: string;
74
- line1: string;
75
- city: string;
76
- postcode: string;
77
- };
78
- email: string;
79
- companyName: string;
80
- contact: string;
81
- }[] | null | undefined;
82
- customerDisplayImages?: {
83
- url: string;
84
- restaurantIds: string[];
85
- }[] | null | undefined;
86
- name: string;
87
- _id: string;
88
- ownerId: string;
89
- restaurantQuota: number;
90
- warehouseQuota: number;
91
- menuVersion: string;
92
- } | null | undefined;
93
- _id: string;
94
- businessId: string;
95
- profile: {
96
- email?: string | null | undefined;
97
- phoneNo?: string | null | undefined;
98
- name: string;
99
- address: {
100
- coordinates?: number[] | null | undefined;
101
- line2?: string | null | undefined;
102
- state: string;
103
- country: string;
104
- line1: string;
105
- city: string;
106
- postcode: string;
107
- };
108
- regNo: string;
109
- };
110
- } | {
111
- channel?: string | null | undefined;
112
- machineId?: string | null | undefined;
113
- catalogId?: string | null | undefined;
114
- takeaway?: {
115
- catalogId?: string | null | undefined;
116
- } | null | undefined;
117
- inHouseDelivery?: {
118
- taxes?: Record<string, {
119
- inclusive: boolean;
120
- taxCode: string;
121
- systemCode: string;
122
- }> | null | undefined;
123
- autoAccept?: boolean | null | undefined;
124
- deliveryTime?: {
125
- time?: string[] | null | undefined;
126
- custom?: {
127
- 0: {
128
- hours: {
129
- end: string;
130
- start: string;
131
- }[];
132
- enable: boolean;
133
- };
134
- 2: {
135
- hours: {
136
- end: string;
137
- start: string;
138
- }[];
139
- enable: boolean;
140
- };
141
- 1: {
142
- hours: {
143
- end: string;
144
- start: string;
145
- }[];
146
- enable: boolean;
147
- };
148
- 3: {
149
- hours: {
150
- end: string;
151
- start: string;
152
- }[];
153
- enable: boolean;
154
- };
155
- 4: {
156
- hours: {
157
- end: string;
158
- start: string;
159
- }[];
160
- enable: boolean;
161
- };
162
- 5: {
163
- hours: {
164
- end: string;
165
- start: string;
166
- }[];
167
- enable: boolean;
168
- };
169
- 6: {
170
- hours: {
171
- end: string;
172
- start: string;
173
- }[];
174
- enable: boolean;
175
- };
176
- } | null | undefined;
177
- day: {
178
- max: number;
179
- min: number;
180
- };
181
- } | null | undefined;
182
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
183
- offlinePaymentTypes?: {
184
- name: string;
185
- instruction: string;
186
- }[] | null | undefined;
187
- autoAcceptPaidOnly?: boolean | null | undefined;
188
- ignoreStock?: boolean | null | undefined;
189
- catalogId: string | null;
190
- enable: boolean;
191
- areas: {
192
- minPurchase?: {
193
- 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";
194
- amount: number;
195
- precision: number;
196
- } | null | undefined;
197
- freeAfterTotal?: {
198
- 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";
199
- amount: number;
200
- precision: number;
201
- } | null | undefined;
202
- polygon: number[][];
203
- deliveryFee: {
204
- 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";
205
- amount: number;
206
- precision: number;
207
- };
208
- }[];
209
- term: string;
210
- } | null | undefined;
211
- pickup?: {
212
- catalogId?: string | null | undefined;
213
- autoAccept?: boolean | null | undefined;
214
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
215
- offlinePaymentTypes?: {
216
- name: string;
217
- instruction: string;
218
- }[] | null | undefined;
219
- autoAcceptPaidOnly?: boolean | null | undefined;
220
- ignoreStock?: boolean | null | undefined;
221
- pickupTime?: {
222
- day: {
223
- max: number;
224
- min: number;
225
- };
226
- } | null | undefined;
227
- pickupPointConfig?: {
228
- restaurantEnable: boolean;
229
- points: {
230
- name: string;
231
- address: string;
232
- coordinates: number[];
233
- }[];
234
- } | null | undefined;
235
- } | null | undefined;
236
- dineIn?: {
237
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
238
- offlinePaymentTypes?: {
239
- name: string;
240
- instruction: string;
241
- }[] | null | undefined;
242
- ignoreStock?: boolean | null | undefined;
243
- staticQr?: boolean | null | undefined;
244
- disableItemRemark?: boolean | null | undefined;
245
- acceptQueue?: boolean | null | undefined;
246
- anonymousOrder: boolean;
247
- } | null | undefined;
248
- tags?: Record<string, string> | null | undefined;
249
- features?: string[] | null | undefined;
250
- machineOtp?: string | null | undefined;
251
- machineOtpExpiredAt?: string | null | undefined;
252
- posVersion?: string | null | undefined;
253
- posHeartbeat?: string | null | undefined;
254
- posVersionHistory?: Record<string, string> | null | undefined;
255
- additionalCatalogs?: string[] | null | undefined;
256
- feedmeDelivery?: {
257
- instruction?: string | null | undefined;
258
- catalogId?: string | null | undefined;
259
- autoAccept?: boolean | null | undefined;
260
- term?: string | null | undefined;
261
- ignoreStock?: boolean | null | undefined;
262
- enable: boolean;
263
- } | null | undefined;
264
- foodpandaDelivery?: {
265
- _id?: string | undefined;
266
- ignoreDiscount?: boolean | null | undefined;
267
- catalogId?: string | null | undefined;
268
- commissionRate?: number | null | undefined;
269
- lastSynchronize?: string | null | undefined;
270
- showProductAddon?: boolean | null | undefined;
271
- autoAccept?: boolean | null | undefined;
272
- reportConfig?: {
273
- commissionRate: number;
274
- discountCampaigns: {
275
- name: string;
276
- date: {
277
- end: string;
278
- start: string;
279
- };
280
- vendorBearPercentage: number;
281
- }[];
282
- } | null | undefined;
283
- hasSst?: boolean | null | undefined;
284
- enable: boolean;
285
- remoteId: string;
286
- autoCloseBill: boolean;
287
- } | null | undefined;
288
- grabfoodDelivery?: {
289
- _id?: string | undefined;
290
- catalogId?: string | null | undefined;
291
- lastSynchronize?: string | null | undefined;
292
- showProductAddon?: boolean | null | undefined;
293
- enable: boolean;
294
- commissionRate: number;
295
- autoCloseBill: boolean;
296
- merchantID: string;
297
- } | null | undefined;
298
- shopeefoodDelivery?: {
299
- _id?: string | undefined;
300
- catalogId?: string | null | undefined;
301
- lastSynchronize?: string | null | undefined;
302
- showProductAddon?: boolean | null | undefined;
303
- enable: boolean;
304
- autoCloseBill: boolean;
305
- reportConfig: {
306
- commissionRate: number;
307
- discountCampaigns: {
308
- name: string;
309
- date: {
310
- end: string;
311
- start: string;
312
- };
313
- vendorBearPercentage: number;
314
- }[];
315
- };
316
- storeID: string;
317
- } | null | undefined;
318
- couchDbPassword?: string | null | undefined;
319
- apiToken?: string | null | undefined;
320
- remoteSupports?: {
321
- anydeskId?: string | null | undefined;
322
- anydeskPassword?: string | null | undefined;
323
- deviceName: string;
324
- }[] | null | undefined;
325
- payoutAccount?: Record<string, any> | null | undefined;
326
- clearCount?: number | null | undefined;
327
- queueSetting?: {
328
- duration?: number | null | undefined;
329
- enableOrder: boolean;
330
- initialNumber: number;
331
- endNumber: number;
332
- currentNumber: number;
333
- autoCalledLimit: number;
334
- } | null | undefined;
335
- tableMappingSetting?: {
336
- enable?: boolean | null | undefined;
337
- showSeat?: boolean | null | undefined;
338
- mapBorderColor?: number | null | undefined;
339
- mapLineColor?: number | null | undefined;
340
- } | null | undefined;
341
- _id: string;
342
- expiredAt: string;
343
- pf_business: {
344
- internal?: boolean | null | undefined;
345
- url?: string | null | undefined;
346
- expiredAt?: string | null | undefined;
347
- agentId?: string | null | undefined;
348
- restaurantTagGroups?: {
349
- name: string;
350
- id: string;
351
- tags: {
352
- name: string;
353
- id: string;
354
- }[];
355
- }[] | null | undefined;
356
- pf_agent?: {
357
- clickupId?: string | null | undefined;
358
- members?: {
359
- pf_user?: {
360
- email?: string | null | undefined;
361
- phoneNumber?: string | null | undefined;
362
- birthday?: string | null | undefined;
363
- gender?: "MALE" | "FEMALE" | null | undefined;
364
- addresses?: {
365
- name: string;
366
- address: string;
367
- coordinates: number[];
368
- }[] | null | undefined;
369
- photoURL?: string | null | undefined;
370
- displayName?: string | null | undefined;
371
- imported?: {
372
- raw: Record<string, any>;
373
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
374
- } | null | undefined;
375
- _id: string;
376
- } | null | undefined;
377
- role: "ADMIN";
378
- userId: string;
379
- }[] | null | undefined;
380
- code: string;
381
- name: string;
382
- _id: string;
383
- isReseller: boolean;
384
- } | null | undefined;
385
- thumbnail?: string | null | undefined;
386
- billingInfos?: {
387
- _id?: string | null | undefined;
388
- name: string;
389
- address: {
390
- coordinates?: number[] | null | undefined;
391
- line2?: string | null | undefined;
392
- state: string;
393
- country: string;
394
- line1: string;
395
- city: string;
396
- postcode: string;
397
- };
398
- email: string;
399
- companyName: string;
400
- contact: string;
401
- }[] | null | undefined;
402
- customerDisplayImages?: {
403
- url: string;
404
- restaurantIds: string[];
405
- }[] | null | undefined;
406
- name: string;
407
- _id: string;
408
- ownerId: string;
409
- restaurantQuota: number;
410
- warehouseQuota: number;
411
- menuVersion: string;
412
- };
413
- businessId: string;
414
- profile: {
415
- code?: string | null | undefined;
416
- url?: string | null | undefined;
417
- description?: string | null | undefined;
418
- _id?: string | null | undefined;
419
- tags?: string[] | null | undefined;
420
- legalName?: string | null | undefined;
421
- sstRegNo?: string | null | undefined;
422
- discovery?: boolean | null | undefined;
423
- coverPhoto?: string | null | undefined;
424
- thumbnailPhoto?: string | null | undefined;
425
- photos?: string[] | null | undefined;
426
- operatingHours?: {
427
- 0: {
428
- hours: {
429
- end: string;
430
- start: string;
431
- }[];
432
- enable: boolean;
433
- };
434
- 2: {
435
- hours: {
436
- end: string;
437
- start: string;
438
- }[];
439
- enable: boolean;
440
- };
441
- 1: {
442
- hours: {
443
- end: string;
444
- start: string;
445
- }[];
446
- enable: boolean;
447
- };
448
- 3: {
449
- hours: {
450
- end: string;
451
- start: string;
452
- }[];
453
- enable: boolean;
454
- };
455
- 4: {
456
- hours: {
457
- end: string;
458
- start: string;
459
- }[];
460
- enable: boolean;
461
- };
462
- 5: {
463
- hours: {
464
- end: string;
465
- start: string;
466
- }[];
467
- enable: boolean;
468
- };
469
- 6: {
470
- hours: {
471
- end: string;
472
- start: string;
473
- }[];
474
- enable: boolean;
475
- };
476
- } | null | undefined;
477
- name: string;
478
- address: {
479
- coordinates?: number[] | null | undefined;
480
- line2?: string | null | undefined;
481
- state: string;
482
- country: string;
483
- line1: string;
484
- city: string;
485
- postcode: string;
486
- };
487
- email: string;
488
- phoneNo: string;
489
- regNo: string;
490
- };
491
- };
492
- } | null;
493
- _locations: {
494
- name: string;
495
- type: InventoryLocationType;
496
- acceptRequest: boolean;
497
- dbName: string;
498
- doc: {
499
- pf_business?: {
500
- internal?: boolean | null | undefined;
501
- url?: string | null | undefined;
502
- expiredAt?: string | null | undefined;
503
- agentId?: string | null | undefined;
504
- restaurantTagGroups?: {
505
- name: string;
506
- id: string;
507
- tags: {
508
- name: string;
509
- id: string;
510
- }[];
511
- }[] | null | undefined;
512
- pf_agent?: {
513
- clickupId?: string | null | undefined;
514
- members?: {
515
- pf_user?: {
516
- email?: string | null | undefined;
517
- phoneNumber?: string | null | undefined;
518
- birthday?: string | null | undefined;
519
- gender?: "MALE" | "FEMALE" | null | undefined;
520
- addresses?: {
521
- name: string;
522
- address: string;
523
- coordinates: number[];
524
- }[] | null | undefined;
525
- photoURL?: string | null | undefined;
526
- displayName?: string | null | undefined;
527
- imported?: {
528
- raw: Record<string, any>;
529
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
530
- } | null | undefined;
531
- _id: string;
532
- } | null | undefined;
533
- role: "ADMIN";
534
- userId: string;
535
- }[] | null | undefined;
536
- code: string;
537
- name: string;
538
- _id: string;
539
- isReseller: boolean;
540
- } | null | undefined;
541
- thumbnail?: string | null | undefined;
542
- billingInfos?: {
543
- _id?: string | null | undefined;
544
- name: string;
545
- address: {
546
- coordinates?: number[] | null | undefined;
547
- line2?: string | null | undefined;
548
- state: string;
549
- country: string;
550
- line1: string;
551
- city: string;
552
- postcode: string;
553
- };
554
- email: string;
555
- companyName: string;
556
- contact: string;
557
- }[] | null | undefined;
558
- customerDisplayImages?: {
559
- url: string;
560
- restaurantIds: string[];
561
- }[] | null | undefined;
562
- name: string;
563
- _id: string;
564
- ownerId: string;
565
- restaurantQuota: number;
566
- warehouseQuota: number;
567
- menuVersion: string;
568
- } | null | undefined;
569
- _id: string;
570
- businessId: string;
571
- profile: {
572
- email?: string | null | undefined;
573
- phoneNo?: string | null | undefined;
574
- name: string;
575
- address: {
576
- coordinates?: number[] | null | undefined;
577
- line2?: string | null | undefined;
578
- state: string;
579
- country: string;
580
- line1: string;
581
- city: string;
582
- postcode: string;
583
- };
584
- regNo: string;
585
- };
586
- } | {
587
- channel?: string | null | undefined;
588
- machineId?: string | null | undefined;
589
- catalogId?: string | null | undefined;
590
- takeaway?: {
591
- catalogId?: string | null | undefined;
592
- } | null | undefined;
593
- inHouseDelivery?: {
594
- taxes?: Record<string, {
595
- inclusive: boolean;
596
- taxCode: string;
597
- systemCode: string;
598
- }> | null | undefined;
599
- autoAccept?: boolean | null | undefined;
600
- deliveryTime?: {
601
- time?: string[] | null | undefined;
602
- custom?: {
603
- 0: {
604
- hours: {
605
- end: string;
606
- start: string;
607
- }[];
608
- enable: boolean;
609
- };
610
- 2: {
611
- hours: {
612
- end: string;
613
- start: string;
614
- }[];
615
- enable: boolean;
616
- };
617
- 1: {
618
- hours: {
619
- end: string;
620
- start: string;
621
- }[];
622
- enable: boolean;
623
- };
624
- 3: {
625
- hours: {
626
- end: string;
627
- start: string;
628
- }[];
629
- enable: boolean;
630
- };
631
- 4: {
632
- hours: {
633
- end: string;
634
- start: string;
635
- }[];
636
- enable: boolean;
637
- };
638
- 5: {
639
- hours: {
640
- end: string;
641
- start: string;
642
- }[];
643
- enable: boolean;
644
- };
645
- 6: {
646
- hours: {
647
- end: string;
648
- start: string;
649
- }[];
650
- enable: boolean;
651
- };
652
- } | null | undefined;
653
- day: {
654
- max: number;
655
- min: number;
656
- };
657
- } | null | undefined;
658
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
659
- offlinePaymentTypes?: {
660
- name: string;
661
- instruction: string;
662
- }[] | null | undefined;
663
- autoAcceptPaidOnly?: boolean | null | undefined;
664
- ignoreStock?: boolean | null | undefined;
665
- catalogId: string | null;
666
- enable: boolean;
667
- areas: {
668
- minPurchase?: {
669
- 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";
670
- amount: number;
671
- precision: number;
672
- } | null | undefined;
673
- freeAfterTotal?: {
674
- 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";
675
- amount: number;
676
- precision: number;
677
- } | null | undefined;
678
- polygon: number[][];
679
- deliveryFee: {
680
- 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";
681
- amount: number;
682
- precision: number;
683
- };
684
- }[];
685
- term: string;
686
- } | null | undefined;
687
- pickup?: {
688
- catalogId?: string | null | undefined;
689
- autoAccept?: boolean | null | undefined;
690
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
691
- offlinePaymentTypes?: {
692
- name: string;
693
- instruction: string;
694
- }[] | null | undefined;
695
- autoAcceptPaidOnly?: boolean | null | undefined;
696
- ignoreStock?: boolean | null | undefined;
697
- pickupTime?: {
698
- day: {
699
- max: number;
700
- min: number;
701
- };
702
- } | null | undefined;
703
- pickupPointConfig?: {
704
- restaurantEnable: boolean;
705
- points: {
706
- name: string;
707
- address: string;
708
- coordinates: number[];
709
- }[];
710
- } | null | undefined;
711
- } | null | undefined;
712
- dineIn?: {
713
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
714
- offlinePaymentTypes?: {
715
- name: string;
716
- instruction: string;
717
- }[] | null | undefined;
718
- ignoreStock?: boolean | null | undefined;
719
- staticQr?: boolean | null | undefined;
720
- disableItemRemark?: boolean | null | undefined;
721
- acceptQueue?: boolean | null | undefined;
722
- anonymousOrder: boolean;
723
- } | null | undefined;
724
- tags?: Record<string, string> | null | undefined;
725
- features?: string[] | null | undefined;
726
- machineOtp?: string | null | undefined;
727
- machineOtpExpiredAt?: string | null | undefined;
728
- posVersion?: string | null | undefined;
729
- posHeartbeat?: string | null | undefined;
730
- posVersionHistory?: Record<string, string> | null | undefined;
731
- additionalCatalogs?: string[] | null | undefined;
732
- feedmeDelivery?: {
733
- instruction?: string | null | undefined;
734
- catalogId?: string | null | undefined;
735
- autoAccept?: boolean | null | undefined;
736
- term?: string | null | undefined;
737
- ignoreStock?: boolean | null | undefined;
738
- enable: boolean;
739
- } | null | undefined;
740
- foodpandaDelivery?: {
741
- _id?: string | undefined;
742
- ignoreDiscount?: boolean | null | undefined;
743
- catalogId?: string | null | undefined;
744
- commissionRate?: number | null | undefined;
745
- lastSynchronize?: string | null | undefined;
746
- showProductAddon?: boolean | null | undefined;
747
- autoAccept?: boolean | null | undefined;
748
- reportConfig?: {
749
- commissionRate: number;
750
- discountCampaigns: {
751
- name: string;
752
- date: {
753
- end: string;
754
- start: string;
755
- };
756
- vendorBearPercentage: number;
757
- }[];
758
- } | null | undefined;
759
- hasSst?: boolean | null | undefined;
760
- enable: boolean;
761
- remoteId: string;
762
- autoCloseBill: boolean;
763
- } | null | undefined;
764
- grabfoodDelivery?: {
765
- _id?: string | undefined;
766
- catalogId?: string | null | undefined;
767
- lastSynchronize?: string | null | undefined;
768
- showProductAddon?: boolean | null | undefined;
769
- enable: boolean;
770
- commissionRate: number;
771
- autoCloseBill: boolean;
772
- merchantID: string;
773
- } | null | undefined;
774
- shopeefoodDelivery?: {
775
- _id?: string | undefined;
776
- catalogId?: string | null | undefined;
777
- lastSynchronize?: string | null | undefined;
778
- showProductAddon?: boolean | null | undefined;
779
- enable: boolean;
780
- autoCloseBill: boolean;
781
- reportConfig: {
782
- commissionRate: number;
783
- discountCampaigns: {
784
- name: string;
785
- date: {
786
- end: string;
787
- start: string;
788
- };
789
- vendorBearPercentage: number;
790
- }[];
791
- };
792
- storeID: string;
793
- } | null | undefined;
794
- couchDbPassword?: string | null | undefined;
795
- apiToken?: string | null | undefined;
796
- remoteSupports?: {
797
- anydeskId?: string | null | undefined;
798
- anydeskPassword?: string | null | undefined;
799
- deviceName: string;
800
- }[] | null | undefined;
801
- payoutAccount?: Record<string, any> | null | undefined;
802
- clearCount?: number | null | undefined;
803
- queueSetting?: {
804
- duration?: number | null | undefined;
805
- enableOrder: boolean;
806
- initialNumber: number;
807
- endNumber: number;
808
- currentNumber: number;
809
- autoCalledLimit: number;
810
- } | null | undefined;
811
- tableMappingSetting?: {
812
- enable?: boolean | null | undefined;
813
- showSeat?: boolean | null | undefined;
814
- mapBorderColor?: number | null | undefined;
815
- mapLineColor?: number | null | undefined;
816
- } | null | undefined;
817
- _id: string;
818
- expiredAt: string;
819
- pf_business: {
820
- internal?: boolean | null | undefined;
821
- url?: string | null | undefined;
822
- expiredAt?: string | null | undefined;
823
- agentId?: string | null | undefined;
824
- restaurantTagGroups?: {
10
+ _currentLocation: {
11
+ doc?: any;
12
+ type: "restaurant";
13
+ name: string;
14
+ acceptRequest: boolean;
15
+ dbName: string;
16
+ } | {
17
+ type: "warehouse";
18
+ name: string;
19
+ acceptRequest: boolean;
20
+ dbName: string;
21
+ doc: {
22
+ pf_business?: {
23
+ internal?: boolean | null | undefined;
24
+ url?: string | null | undefined;
25
+ expiredAt?: string | null | undefined;
26
+ agentId?: string | null | undefined;
27
+ restaurantTagGroups?: {
28
+ name: string;
29
+ id: string;
30
+ tags: {
825
31
  name: string;
826
32
  id: string;
827
- tags: {
828
- name: string;
829
- id: string;
830
- }[];
831
- }[] | null | undefined;
832
- pf_agent?: {
833
- clickupId?: string | null | undefined;
834
- members?: {
835
- pf_user?: {
836
- email?: string | null | undefined;
837
- phoneNumber?: string | null | undefined;
838
- birthday?: string | null | undefined;
839
- gender?: "MALE" | "FEMALE" | null | undefined;
840
- addresses?: {
841
- name: string;
842
- address: string;
843
- coordinates: number[];
844
- }[] | null | undefined;
845
- photoURL?: string | null | undefined;
846
- displayName?: string | null | undefined;
847
- imported?: {
848
- raw: Record<string, any>;
849
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
850
- } | null | undefined;
851
- _id: string;
33
+ }[];
34
+ }[] | null | undefined;
35
+ pf_agent?: {
36
+ clickupId?: string | null | undefined;
37
+ members?: {
38
+ pf_user?: {
39
+ email?: string | null | undefined;
40
+ phoneNumber?: string | null | undefined;
41
+ birthday?: string | null | undefined;
42
+ gender?: "MALE" | "FEMALE" | null | undefined;
43
+ addresses?: {
44
+ name: string;
45
+ address: string;
46
+ coordinates: number[];
47
+ }[] | null | undefined;
48
+ photoURL?: string | null | undefined;
49
+ displayName?: string | null | undefined;
50
+ imported?: {
51
+ raw: Record<string, any>;
52
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
852
53
  } | null | undefined;
853
- role: "ADMIN";
854
- userId: string;
855
- }[] | null | undefined;
856
- code: string;
857
- name: string;
858
- _id: string;
859
- isReseller: boolean;
860
- } | null | undefined;
861
- thumbnail?: string | null | undefined;
862
- billingInfos?: {
863
- _id?: string | null | undefined;
864
- name: string;
865
- address: {
866
- coordinates?: number[] | null | undefined;
867
- line2?: string | null | undefined;
868
- state: string;
869
- country: string;
870
- line1: string;
871
- city: string;
872
- postcode: string;
873
- };
874
- email: string;
875
- companyName: string;
876
- contact: string;
877
- }[] | null | undefined;
878
- customerDisplayImages?: {
879
- url: string;
880
- restaurantIds: string[];
54
+ _id: string;
55
+ } | null | undefined;
56
+ role: "ADMIN";
57
+ userId: string;
881
58
  }[] | null | undefined;
59
+ code: string;
882
60
  name: string;
883
61
  _id: string;
884
- ownerId: string;
885
- restaurantQuota: number;
886
- warehouseQuota: number;
887
- menuVersion: string;
888
- };
889
- businessId: string;
890
- profile: {
891
- code?: string | null | undefined;
892
- url?: string | null | undefined;
893
- description?: string | null | undefined;
62
+ isReseller: boolean;
63
+ } | null | undefined;
64
+ thumbnail?: string | null | undefined;
65
+ billingInfos?: {
894
66
  _id?: string | null | undefined;
895
- tags?: string[] | null | undefined;
896
- legalName?: string | null | undefined;
897
- sstRegNo?: string | null | undefined;
898
- discovery?: boolean | null | undefined;
899
- coverPhoto?: string | null | undefined;
900
- thumbnailPhoto?: string | null | undefined;
901
- photos?: string[] | null | undefined;
902
- operatingHours?: {
903
- 0: {
904
- hours: {
905
- end: string;
906
- start: string;
907
- }[];
908
- enable: boolean;
909
- };
910
- 2: {
911
- hours: {
912
- end: string;
913
- start: string;
914
- }[];
915
- enable: boolean;
916
- };
917
- 1: {
918
- hours: {
919
- end: string;
920
- start: string;
921
- }[];
922
- enable: boolean;
923
- };
924
- 3: {
925
- hours: {
926
- end: string;
927
- start: string;
928
- }[];
929
- enable: boolean;
930
- };
931
- 4: {
932
- hours: {
933
- end: string;
934
- start: string;
935
- }[];
936
- enable: boolean;
937
- };
938
- 5: {
939
- hours: {
940
- end: string;
941
- start: string;
942
- }[];
943
- enable: boolean;
944
- };
945
- 6: {
946
- hours: {
947
- end: string;
948
- start: string;
949
- }[];
950
- enable: boolean;
951
- };
952
- } | null | undefined;
953
67
  name: string;
954
68
  address: {
955
69
  coordinates?: number[] | null | undefined;
@@ -961,15 +75,48 @@ export declare function useLocationStore(): {
961
75
  postcode: string;
962
76
  };
963
77
  email: string;
964
- phoneNo: string;
965
- regNo: string;
78
+ companyName: string;
79
+ contact: string;
80
+ }[] | null | undefined;
81
+ customerDisplayImages?: {
82
+ url: string;
83
+ restaurantIds: string[];
84
+ }[] | null | undefined;
85
+ name: string;
86
+ _id: string;
87
+ ownerId: string;
88
+ restaurantQuota: number;
89
+ warehouseQuota: number;
90
+ menuVersion: string;
91
+ } | null | undefined;
92
+ _id: string;
93
+ businessId: string;
94
+ profile: {
95
+ email?: string | null | undefined;
96
+ phoneNo?: string | null | undefined;
97
+ name: string;
98
+ address: {
99
+ coordinates?: number[] | null | undefined;
100
+ line2?: string | null | undefined;
101
+ state: string;
102
+ country: string;
103
+ line1: string;
104
+ city: string;
105
+ postcode: string;
966
106
  };
107
+ regNo: string;
967
108
  };
968
- }[] | null;
969
- };
970
- readonly currentLocation: {
109
+ };
110
+ } | null;
111
+ _locations: ({
112
+ doc?: any;
113
+ type: "restaurant";
114
+ name: string;
115
+ acceptRequest: boolean;
116
+ dbName: string;
117
+ } | {
118
+ type: "warehouse";
971
119
  name: string;
972
- type: InventoryLocationType;
973
120
  acceptRequest: boolean;
974
121
  dbName: string;
975
122
  doc: {
@@ -1060,284 +207,197 @@ export declare function useLocationStore(): {
1060
207
  };
1061
208
  regNo: string;
1062
209
  };
210
+ };
211
+ })[] | null;
212
+ readonly state: {
213
+ _currentLocation: {
214
+ doc?: any;
215
+ type: "restaurant";
216
+ name: string;
217
+ acceptRequest: boolean;
218
+ dbName: string;
1063
219
  } | {
1064
- channel?: string | null | undefined;
1065
- machineId?: string | null | undefined;
1066
- catalogId?: string | null | undefined;
1067
- takeaway?: {
1068
- catalogId?: string | null | undefined;
1069
- } | null | undefined;
1070
- inHouseDelivery?: {
1071
- taxes?: Record<string, {
1072
- inclusive: boolean;
1073
- taxCode: string;
1074
- systemCode: string;
1075
- }> | null | undefined;
1076
- autoAccept?: boolean | null | undefined;
1077
- deliveryTime?: {
1078
- time?: string[] | null | undefined;
1079
- custom?: {
1080
- 0: {
1081
- hours: {
1082
- end: string;
1083
- start: string;
1084
- }[];
1085
- enable: boolean;
1086
- };
1087
- 2: {
1088
- hours: {
1089
- end: string;
1090
- start: string;
1091
- }[];
1092
- enable: boolean;
1093
- };
1094
- 1: {
1095
- hours: {
1096
- end: string;
1097
- start: string;
1098
- }[];
1099
- enable: boolean;
1100
- };
1101
- 3: {
1102
- hours: {
1103
- end: string;
1104
- start: string;
1105
- }[];
1106
- enable: boolean;
1107
- };
1108
- 4: {
1109
- hours: {
1110
- end: string;
1111
- start: string;
1112
- }[];
1113
- enable: boolean;
1114
- };
1115
- 5: {
1116
- hours: {
1117
- end: string;
1118
- start: string;
1119
- }[];
1120
- enable: boolean;
1121
- };
1122
- 6: {
1123
- hours: {
1124
- end: string;
1125
- start: string;
1126
- }[];
1127
- enable: boolean;
1128
- };
1129
- } | null | undefined;
1130
- day: {
1131
- max: number;
1132
- min: number;
1133
- };
1134
- } | null | undefined;
1135
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1136
- offlinePaymentTypes?: {
1137
- name: string;
1138
- instruction: string;
1139
- }[] | null | undefined;
1140
- autoAcceptPaidOnly?: boolean | null | undefined;
1141
- ignoreStock?: boolean | null | undefined;
1142
- catalogId: string | null;
1143
- enable: boolean;
1144
- areas: {
1145
- minPurchase?: {
1146
- 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";
1147
- amount: number;
1148
- precision: number;
1149
- } | null | undefined;
1150
- freeAfterTotal?: {
1151
- 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";
1152
- amount: number;
1153
- precision: number;
1154
- } | null | undefined;
1155
- polygon: number[][];
1156
- deliveryFee: {
1157
- 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";
1158
- amount: number;
1159
- precision: number;
1160
- };
1161
- }[];
1162
- term: string;
1163
- } | null | undefined;
1164
- pickup?: {
1165
- catalogId?: string | null | undefined;
1166
- autoAccept?: boolean | null | undefined;
1167
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1168
- offlinePaymentTypes?: {
1169
- name: string;
1170
- instruction: string;
1171
- }[] | null | undefined;
1172
- autoAcceptPaidOnly?: boolean | null | undefined;
1173
- ignoreStock?: boolean | null | undefined;
1174
- pickupTime?: {
1175
- day: {
1176
- max: number;
1177
- min: number;
1178
- };
1179
- } | null | undefined;
1180
- pickupPointConfig?: {
1181
- restaurantEnable: boolean;
1182
- points: {
220
+ type: "warehouse";
221
+ name: string;
222
+ acceptRequest: boolean;
223
+ dbName: string;
224
+ doc: {
225
+ pf_business?: {
226
+ internal?: boolean | null | undefined;
227
+ url?: string | null | undefined;
228
+ expiredAt?: string | null | undefined;
229
+ agentId?: string | null | undefined;
230
+ restaurantTagGroups?: {
1183
231
  name: string;
1184
- address: string;
1185
- coordinates: number[];
1186
- }[];
1187
- } | null | undefined;
1188
- } | null | undefined;
1189
- dineIn?: {
1190
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1191
- offlinePaymentTypes?: {
1192
- name: string;
1193
- instruction: string;
1194
- }[] | null | undefined;
1195
- ignoreStock?: boolean | null | undefined;
1196
- staticQr?: boolean | null | undefined;
1197
- disableItemRemark?: boolean | null | undefined;
1198
- acceptQueue?: boolean | null | undefined;
1199
- anonymousOrder: boolean;
1200
- } | null | undefined;
1201
- tags?: Record<string, string> | null | undefined;
1202
- features?: string[] | null | undefined;
1203
- machineOtp?: string | null | undefined;
1204
- machineOtpExpiredAt?: string | null | undefined;
1205
- posVersion?: string | null | undefined;
1206
- posHeartbeat?: string | null | undefined;
1207
- posVersionHistory?: Record<string, string> | null | undefined;
1208
- additionalCatalogs?: string[] | null | undefined;
1209
- feedmeDelivery?: {
1210
- instruction?: string | null | undefined;
1211
- catalogId?: string | null | undefined;
1212
- autoAccept?: boolean | null | undefined;
1213
- term?: string | null | undefined;
1214
- ignoreStock?: boolean | null | undefined;
1215
- enable: boolean;
1216
- } | null | undefined;
1217
- foodpandaDelivery?: {
1218
- _id?: string | undefined;
1219
- ignoreDiscount?: boolean | null | undefined;
1220
- catalogId?: string | null | undefined;
1221
- commissionRate?: number | null | undefined;
1222
- lastSynchronize?: string | null | undefined;
1223
- showProductAddon?: boolean | null | undefined;
1224
- autoAccept?: boolean | null | undefined;
1225
- reportConfig?: {
1226
- commissionRate: number;
1227
- discountCampaigns: {
232
+ id: string;
233
+ tags: {
234
+ name: string;
235
+ id: string;
236
+ }[];
237
+ }[] | null | undefined;
238
+ pf_agent?: {
239
+ clickupId?: string | null | undefined;
240
+ members?: {
241
+ pf_user?: {
242
+ email?: string | null | undefined;
243
+ phoneNumber?: string | null | undefined;
244
+ birthday?: string | null | undefined;
245
+ gender?: "MALE" | "FEMALE" | null | undefined;
246
+ addresses?: {
247
+ name: string;
248
+ address: string;
249
+ coordinates: number[];
250
+ }[] | null | undefined;
251
+ photoURL?: string | null | undefined;
252
+ displayName?: string | null | undefined;
253
+ imported?: {
254
+ raw: Record<string, any>;
255
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
256
+ } | null | undefined;
257
+ _id: string;
258
+ } | null | undefined;
259
+ role: "ADMIN";
260
+ userId: string;
261
+ }[] | null | undefined;
262
+ code: string;
1228
263
  name: string;
1229
- date: {
1230
- end: string;
1231
- start: string;
1232
- };
1233
- vendorBearPercentage: number;
1234
- }[];
1235
- } | null | undefined;
1236
- hasSst?: boolean | null | undefined;
1237
- enable: boolean;
1238
- remoteId: string;
1239
- autoCloseBill: boolean;
1240
- } | null | undefined;
1241
- grabfoodDelivery?: {
1242
- _id?: string | undefined;
1243
- catalogId?: string | null | undefined;
1244
- lastSynchronize?: string | null | undefined;
1245
- showProductAddon?: boolean | null | undefined;
1246
- enable: boolean;
1247
- commissionRate: number;
1248
- autoCloseBill: boolean;
1249
- merchantID: string;
1250
- } | null | undefined;
1251
- shopeefoodDelivery?: {
1252
- _id?: string | undefined;
1253
- catalogId?: string | null | undefined;
1254
- lastSynchronize?: string | null | undefined;
1255
- showProductAddon?: boolean | null | undefined;
1256
- enable: boolean;
1257
- autoCloseBill: boolean;
1258
- reportConfig: {
1259
- commissionRate: number;
1260
- discountCampaigns: {
264
+ _id: string;
265
+ isReseller: boolean;
266
+ } | null | undefined;
267
+ thumbnail?: string | null | undefined;
268
+ billingInfos?: {
269
+ _id?: string | null | undefined;
1261
270
  name: string;
1262
- date: {
1263
- end: string;
1264
- start: string;
271
+ address: {
272
+ coordinates?: number[] | null | undefined;
273
+ line2?: string | null | undefined;
274
+ state: string;
275
+ country: string;
276
+ line1: string;
277
+ city: string;
278
+ postcode: string;
1265
279
  };
1266
- vendorBearPercentage: number;
1267
- }[];
1268
- };
1269
- storeID: string;
1270
- } | null | undefined;
1271
- couchDbPassword?: string | null | undefined;
1272
- apiToken?: string | null | undefined;
1273
- remoteSupports?: {
1274
- anydeskId?: string | null | undefined;
1275
- anydeskPassword?: string | null | undefined;
1276
- deviceName: string;
1277
- }[] | null | undefined;
1278
- payoutAccount?: Record<string, any> | null | undefined;
1279
- clearCount?: number | null | undefined;
1280
- queueSetting?: {
1281
- duration?: number | null | undefined;
1282
- enableOrder: boolean;
1283
- initialNumber: number;
1284
- endNumber: number;
1285
- currentNumber: number;
1286
- autoCalledLimit: number;
1287
- } | null | undefined;
1288
- tableMappingSetting?: {
1289
- enable?: boolean | null | undefined;
1290
- showSeat?: boolean | null | undefined;
1291
- mapBorderColor?: number | null | undefined;
1292
- mapLineColor?: number | null | undefined;
1293
- } | null | undefined;
1294
- _id: string;
1295
- expiredAt: string;
1296
- pf_business: {
1297
- internal?: boolean | null | undefined;
1298
- url?: string | null | undefined;
1299
- expiredAt?: string | null | undefined;
1300
- agentId?: string | null | undefined;
1301
- restaurantTagGroups?: {
280
+ email: string;
281
+ companyName: string;
282
+ contact: string;
283
+ }[] | null | undefined;
284
+ customerDisplayImages?: {
285
+ url: string;
286
+ restaurantIds: string[];
287
+ }[] | null | undefined;
288
+ name: string;
289
+ _id: string;
290
+ ownerId: string;
291
+ restaurantQuota: number;
292
+ warehouseQuota: number;
293
+ menuVersion: string;
294
+ } | null | undefined;
295
+ _id: string;
296
+ businessId: string;
297
+ profile: {
298
+ email?: string | null | undefined;
299
+ phoneNo?: string | null | undefined;
1302
300
  name: string;
1303
- id: string;
1304
- tags: {
301
+ address: {
302
+ coordinates?: number[] | null | undefined;
303
+ line2?: string | null | undefined;
304
+ state: string;
305
+ country: string;
306
+ line1: string;
307
+ city: string;
308
+ postcode: string;
309
+ };
310
+ regNo: string;
311
+ };
312
+ };
313
+ } | null;
314
+ _locations: ({
315
+ doc?: any;
316
+ type: "restaurant";
317
+ name: string;
318
+ acceptRequest: boolean;
319
+ dbName: string;
320
+ } | {
321
+ type: "warehouse";
322
+ name: string;
323
+ acceptRequest: boolean;
324
+ dbName: string;
325
+ doc: {
326
+ pf_business?: {
327
+ internal?: boolean | null | undefined;
328
+ url?: string | null | undefined;
329
+ expiredAt?: string | null | undefined;
330
+ agentId?: string | null | undefined;
331
+ restaurantTagGroups?: {
1305
332
  name: string;
1306
333
  id: string;
1307
- }[];
1308
- }[] | null | undefined;
1309
- pf_agent?: {
1310
- clickupId?: string | null | undefined;
1311
- members?: {
1312
- pf_user?: {
1313
- email?: string | null | undefined;
1314
- phoneNumber?: string | null | undefined;
1315
- birthday?: string | null | undefined;
1316
- gender?: "MALE" | "FEMALE" | null | undefined;
1317
- addresses?: {
1318
- name: string;
1319
- address: string;
1320
- coordinates: number[];
1321
- }[] | null | undefined;
1322
- photoURL?: string | null | undefined;
1323
- displayName?: string | null | undefined;
1324
- imported?: {
1325
- raw: Record<string, any>;
1326
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
334
+ tags: {
335
+ name: string;
336
+ id: string;
337
+ }[];
338
+ }[] | null | undefined;
339
+ pf_agent?: {
340
+ clickupId?: string | null | undefined;
341
+ members?: {
342
+ pf_user?: {
343
+ email?: string | null | undefined;
344
+ phoneNumber?: string | null | undefined;
345
+ birthday?: string | null | undefined;
346
+ gender?: "MALE" | "FEMALE" | null | undefined;
347
+ addresses?: {
348
+ name: string;
349
+ address: string;
350
+ coordinates: number[];
351
+ }[] | null | undefined;
352
+ photoURL?: string | null | undefined;
353
+ displayName?: string | null | undefined;
354
+ imported?: {
355
+ raw: Record<string, any>;
356
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
357
+ } | null | undefined;
358
+ _id: string;
1327
359
  } | null | undefined;
1328
- _id: string;
1329
- } | null | undefined;
1330
- role: "ADMIN";
1331
- userId: string;
360
+ role: "ADMIN";
361
+ userId: string;
362
+ }[] | null | undefined;
363
+ code: string;
364
+ name: string;
365
+ _id: string;
366
+ isReseller: boolean;
367
+ } | null | undefined;
368
+ thumbnail?: string | null | undefined;
369
+ billingInfos?: {
370
+ _id?: string | null | undefined;
371
+ name: string;
372
+ address: {
373
+ coordinates?: number[] | null | undefined;
374
+ line2?: string | null | undefined;
375
+ state: string;
376
+ country: string;
377
+ line1: string;
378
+ city: string;
379
+ postcode: string;
380
+ };
381
+ email: string;
382
+ companyName: string;
383
+ contact: string;
384
+ }[] | null | undefined;
385
+ customerDisplayImages?: {
386
+ url: string;
387
+ restaurantIds: string[];
1332
388
  }[] | null | undefined;
1333
- code: string;
1334
389
  name: string;
1335
390
  _id: string;
1336
- isReseller: boolean;
391
+ ownerId: string;
392
+ restaurantQuota: number;
393
+ warehouseQuota: number;
394
+ menuVersion: string;
1337
395
  } | null | undefined;
1338
- thumbnail?: string | null | undefined;
1339
- billingInfos?: {
1340
- _id?: string | null | undefined;
396
+ _id: string;
397
+ businessId: string;
398
+ profile: {
399
+ email?: string | null | undefined;
400
+ phoneNo?: string | null | undefined;
1341
401
  name: string;
1342
402
  address: {
1343
403
  coordinates?: number[] | null | undefined;
@@ -1348,107 +408,20 @@ export declare function useLocationStore(): {
1348
408
  city: string;
1349
409
  postcode: string;
1350
410
  };
1351
- email: string;
1352
- companyName: string;
1353
- contact: string;
1354
- }[] | null | undefined;
1355
- customerDisplayImages?: {
1356
- url: string;
1357
- restaurantIds: string[];
1358
- }[] | null | undefined;
1359
- name: string;
1360
- _id: string;
1361
- ownerId: string;
1362
- restaurantQuota: number;
1363
- warehouseQuota: number;
1364
- menuVersion: string;
1365
- };
1366
- businessId: string;
1367
- profile: {
1368
- code?: string | null | undefined;
1369
- url?: string | null | undefined;
1370
- description?: string | null | undefined;
1371
- _id?: string | null | undefined;
1372
- tags?: string[] | null | undefined;
1373
- legalName?: string | null | undefined;
1374
- sstRegNo?: string | null | undefined;
1375
- discovery?: boolean | null | undefined;
1376
- coverPhoto?: string | null | undefined;
1377
- thumbnailPhoto?: string | null | undefined;
1378
- photos?: string[] | null | undefined;
1379
- operatingHours?: {
1380
- 0: {
1381
- hours: {
1382
- end: string;
1383
- start: string;
1384
- }[];
1385
- enable: boolean;
1386
- };
1387
- 2: {
1388
- hours: {
1389
- end: string;
1390
- start: string;
1391
- }[];
1392
- enable: boolean;
1393
- };
1394
- 1: {
1395
- hours: {
1396
- end: string;
1397
- start: string;
1398
- }[];
1399
- enable: boolean;
1400
- };
1401
- 3: {
1402
- hours: {
1403
- end: string;
1404
- start: string;
1405
- }[];
1406
- enable: boolean;
1407
- };
1408
- 4: {
1409
- hours: {
1410
- end: string;
1411
- start: string;
1412
- }[];
1413
- enable: boolean;
1414
- };
1415
- 5: {
1416
- hours: {
1417
- end: string;
1418
- start: string;
1419
- }[];
1420
- enable: boolean;
1421
- };
1422
- 6: {
1423
- hours: {
1424
- end: string;
1425
- start: string;
1426
- }[];
1427
- enable: boolean;
1428
- };
1429
- } | null | undefined;
1430
- name: string;
1431
- address: {
1432
- coordinates?: number[] | null | undefined;
1433
- line2?: string | null | undefined;
1434
- state: string;
1435
- country: string;
1436
- line1: string;
1437
- city: string;
1438
- postcode: string;
411
+ regNo: string;
1439
412
  };
1440
- email: string;
1441
- phoneNo: string;
1442
- regNo: string;
1443
413
  };
1444
- };
414
+ })[] | null;
1445
415
  };
1446
- /** prefixed with restaurant_ or warehouse_ */
1447
- readonly currentLocationDBName: string;
1448
- readonly currentLocationId: any;
1449
- readonly locations: {
416
+ readonly currentLocation: {
417
+ doc?: any;
418
+ type: "restaurant";
419
+ name: string;
420
+ acceptRequest: boolean;
421
+ dbName: string;
422
+ } | {
423
+ type: "warehouse";
1450
424
  name: string;
1451
- type: InventoryLocationType;
1452
425
  acceptRequest: boolean;
1453
426
  dbName: string;
1454
427
  doc: {
@@ -1539,240 +512,24 @@ export declare function useLocationStore(): {
1539
512
  };
1540
513
  regNo: string;
1541
514
  };
1542
- } | {
1543
- channel?: string | null | undefined;
1544
- machineId?: string | null | undefined;
1545
- catalogId?: string | null | undefined;
1546
- takeaway?: {
1547
- catalogId?: string | null | undefined;
1548
- } | null | undefined;
1549
- inHouseDelivery?: {
1550
- taxes?: Record<string, {
1551
- inclusive: boolean;
1552
- taxCode: string;
1553
- systemCode: string;
1554
- }> | null | undefined;
1555
- autoAccept?: boolean | null | undefined;
1556
- deliveryTime?: {
1557
- time?: string[] | null | undefined;
1558
- custom?: {
1559
- 0: {
1560
- hours: {
1561
- end: string;
1562
- start: string;
1563
- }[];
1564
- enable: boolean;
1565
- };
1566
- 2: {
1567
- hours: {
1568
- end: string;
1569
- start: string;
1570
- }[];
1571
- enable: boolean;
1572
- };
1573
- 1: {
1574
- hours: {
1575
- end: string;
1576
- start: string;
1577
- }[];
1578
- enable: boolean;
1579
- };
1580
- 3: {
1581
- hours: {
1582
- end: string;
1583
- start: string;
1584
- }[];
1585
- enable: boolean;
1586
- };
1587
- 4: {
1588
- hours: {
1589
- end: string;
1590
- start: string;
1591
- }[];
1592
- enable: boolean;
1593
- };
1594
- 5: {
1595
- hours: {
1596
- end: string;
1597
- start: string;
1598
- }[];
1599
- enable: boolean;
1600
- };
1601
- 6: {
1602
- hours: {
1603
- end: string;
1604
- start: string;
1605
- }[];
1606
- enable: boolean;
1607
- };
1608
- } | null | undefined;
1609
- day: {
1610
- max: number;
1611
- min: number;
1612
- };
1613
- } | null | undefined;
1614
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1615
- offlinePaymentTypes?: {
1616
- name: string;
1617
- instruction: string;
1618
- }[] | null | undefined;
1619
- autoAcceptPaidOnly?: boolean | null | undefined;
1620
- ignoreStock?: boolean | null | undefined;
1621
- catalogId: string | null;
1622
- enable: boolean;
1623
- areas: {
1624
- minPurchase?: {
1625
- 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";
1626
- amount: number;
1627
- precision: number;
1628
- } | null | undefined;
1629
- freeAfterTotal?: {
1630
- 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";
1631
- amount: number;
1632
- precision: number;
1633
- } | null | undefined;
1634
- polygon: number[][];
1635
- deliveryFee: {
1636
- 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";
1637
- amount: number;
1638
- precision: number;
1639
- };
1640
- }[];
1641
- term: string;
1642
- } | null | undefined;
1643
- pickup?: {
1644
- catalogId?: string | null | undefined;
1645
- autoAccept?: boolean | null | undefined;
1646
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1647
- offlinePaymentTypes?: {
1648
- name: string;
1649
- instruction: string;
1650
- }[] | null | undefined;
1651
- autoAcceptPaidOnly?: boolean | null | undefined;
1652
- ignoreStock?: boolean | null | undefined;
1653
- pickupTime?: {
1654
- day: {
1655
- max: number;
1656
- min: number;
1657
- };
1658
- } | null | undefined;
1659
- pickupPointConfig?: {
1660
- restaurantEnable: boolean;
1661
- points: {
1662
- name: string;
1663
- address: string;
1664
- coordinates: number[];
1665
- }[];
1666
- } | null | undefined;
1667
- } | null | undefined;
1668
- dineIn?: {
1669
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1670
- offlinePaymentTypes?: {
1671
- name: string;
1672
- instruction: string;
1673
- }[] | null | undefined;
1674
- ignoreStock?: boolean | null | undefined;
1675
- staticQr?: boolean | null | undefined;
1676
- disableItemRemark?: boolean | null | undefined;
1677
- acceptQueue?: boolean | null | undefined;
1678
- anonymousOrder: boolean;
1679
- } | null | undefined;
1680
- tags?: Record<string, string> | null | undefined;
1681
- features?: string[] | null | undefined;
1682
- machineOtp?: string | null | undefined;
1683
- machineOtpExpiredAt?: string | null | undefined;
1684
- posVersion?: string | null | undefined;
1685
- posHeartbeat?: string | null | undefined;
1686
- posVersionHistory?: Record<string, string> | null | undefined;
1687
- additionalCatalogs?: string[] | null | undefined;
1688
- feedmeDelivery?: {
1689
- instruction?: string | null | undefined;
1690
- catalogId?: string | null | undefined;
1691
- autoAccept?: boolean | null | undefined;
1692
- term?: string | null | undefined;
1693
- ignoreStock?: boolean | null | undefined;
1694
- enable: boolean;
1695
- } | null | undefined;
1696
- foodpandaDelivery?: {
1697
- _id?: string | undefined;
1698
- ignoreDiscount?: boolean | null | undefined;
1699
- catalogId?: string | null | undefined;
1700
- commissionRate?: number | null | undefined;
1701
- lastSynchronize?: string | null | undefined;
1702
- showProductAddon?: boolean | null | undefined;
1703
- autoAccept?: boolean | null | undefined;
1704
- reportConfig?: {
1705
- commissionRate: number;
1706
- discountCampaigns: {
1707
- name: string;
1708
- date: {
1709
- end: string;
1710
- start: string;
1711
- };
1712
- vendorBearPercentage: number;
1713
- }[];
1714
- } | null | undefined;
1715
- hasSst?: boolean | null | undefined;
1716
- enable: boolean;
1717
- remoteId: string;
1718
- autoCloseBill: boolean;
1719
- } | null | undefined;
1720
- grabfoodDelivery?: {
1721
- _id?: string | undefined;
1722
- catalogId?: string | null | undefined;
1723
- lastSynchronize?: string | null | undefined;
1724
- showProductAddon?: boolean | null | undefined;
1725
- enable: boolean;
1726
- commissionRate: number;
1727
- autoCloseBill: boolean;
1728
- merchantID: string;
1729
- } | null | undefined;
1730
- shopeefoodDelivery?: {
1731
- _id?: string | undefined;
1732
- catalogId?: string | null | undefined;
1733
- lastSynchronize?: string | null | undefined;
1734
- showProductAddon?: boolean | null | undefined;
1735
- enable: boolean;
1736
- autoCloseBill: boolean;
1737
- reportConfig: {
1738
- commissionRate: number;
1739
- discountCampaigns: {
1740
- name: string;
1741
- date: {
1742
- end: string;
1743
- start: string;
1744
- };
1745
- vendorBearPercentage: number;
1746
- }[];
1747
- };
1748
- storeID: string;
1749
- } | null | undefined;
1750
- couchDbPassword?: string | null | undefined;
1751
- apiToken?: string | null | undefined;
1752
- remoteSupports?: {
1753
- anydeskId?: string | null | undefined;
1754
- anydeskPassword?: string | null | undefined;
1755
- deviceName: string;
1756
- }[] | null | undefined;
1757
- payoutAccount?: Record<string, any> | null | undefined;
1758
- clearCount?: number | null | undefined;
1759
- queueSetting?: {
1760
- duration?: number | null | undefined;
1761
- enableOrder: boolean;
1762
- initialNumber: number;
1763
- endNumber: number;
1764
- currentNumber: number;
1765
- autoCalledLimit: number;
1766
- } | null | undefined;
1767
- tableMappingSetting?: {
1768
- enable?: boolean | null | undefined;
1769
- showSeat?: boolean | null | undefined;
1770
- mapBorderColor?: number | null | undefined;
1771
- mapLineColor?: number | null | undefined;
1772
- } | null | undefined;
1773
- _id: string;
1774
- expiredAt: string;
1775
- pf_business: {
515
+ };
516
+ };
517
+ /** prefixed with restaurant_ or warehouse_ */
518
+ readonly currentLocationDBName: string;
519
+ readonly currentLocationId: any;
520
+ readonly locations: ({
521
+ doc?: any;
522
+ type: "restaurant";
523
+ name: string;
524
+ acceptRequest: boolean;
525
+ dbName: string;
526
+ } | {
527
+ type: "warehouse";
528
+ name: string;
529
+ acceptRequest: boolean;
530
+ dbName: string;
531
+ doc: {
532
+ pf_business?: {
1776
533
  internal?: boolean | null | undefined;
1777
534
  url?: string | null | undefined;
1778
535
  expiredAt?: string | null | undefined;
@@ -1841,71 +598,12 @@ export declare function useLocationStore(): {
1841
598
  restaurantQuota: number;
1842
599
  warehouseQuota: number;
1843
600
  menuVersion: string;
1844
- };
601
+ } | null | undefined;
602
+ _id: string;
1845
603
  businessId: string;
1846
604
  profile: {
1847
- code?: string | null | undefined;
1848
- url?: string | null | undefined;
1849
- description?: string | null | undefined;
1850
- _id?: string | null | undefined;
1851
- tags?: string[] | null | undefined;
1852
- legalName?: string | null | undefined;
1853
- sstRegNo?: string | null | undefined;
1854
- discovery?: boolean | null | undefined;
1855
- coverPhoto?: string | null | undefined;
1856
- thumbnailPhoto?: string | null | undefined;
1857
- photos?: string[] | null | undefined;
1858
- operatingHours?: {
1859
- 0: {
1860
- hours: {
1861
- end: string;
1862
- start: string;
1863
- }[];
1864
- enable: boolean;
1865
- };
1866
- 2: {
1867
- hours: {
1868
- end: string;
1869
- start: string;
1870
- }[];
1871
- enable: boolean;
1872
- };
1873
- 1: {
1874
- hours: {
1875
- end: string;
1876
- start: string;
1877
- }[];
1878
- enable: boolean;
1879
- };
1880
- 3: {
1881
- hours: {
1882
- end: string;
1883
- start: string;
1884
- }[];
1885
- enable: boolean;
1886
- };
1887
- 4: {
1888
- hours: {
1889
- end: string;
1890
- start: string;
1891
- }[];
1892
- enable: boolean;
1893
- };
1894
- 5: {
1895
- hours: {
1896
- end: string;
1897
- start: string;
1898
- }[];
1899
- enable: boolean;
1900
- };
1901
- 6: {
1902
- hours: {
1903
- end: string;
1904
- start: string;
1905
- }[];
1906
- enable: boolean;
1907
- };
1908
- } | null | undefined;
605
+ email?: string | null | undefined;
606
+ phoneNo?: string | null | undefined;
1909
607
  name: string;
1910
608
  address: {
1911
609
  coordinates?: number[] | null | undefined;
@@ -1916,12 +614,10 @@ export declare function useLocationStore(): {
1916
614
  city: string;
1917
615
  postcode: string;
1918
616
  };
1919
- email: string;
1920
- phoneNo: string;
1921
617
  regNo: string;
1922
618
  };
1923
619
  };
1924
- }[];
620
+ })[];
1925
621
  businessLevel: boolean;
1926
622
  watchLocation(callback: (location?: InventoryLocation | null) => Promise<void>): void;
1927
623
  readLocations(): Promise<void>;