@feedmepos/mf-inventory-portal 1.2.1 → 1.2.2-5.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.
- package/dist/App-DMkUg806.js +297 -0
- package/dist/{ApprovalView-DwRrbVDo.js → ApprovalView-DWJh2K6W.js} +65 -64
- package/dist/{BindingsDialog-DUVKv10-.js → BindingsDialog-EmHCvqJI.js} +2 -2
- package/dist/{BindingsPicker-Daib_iq4.js → BindingsPicker-h_9jm1s0.js} +3 -3
- package/dist/{BindingsTable-Bv9UmcJP.js → BindingsTable-BAVWGUoa.js} +1 -1
- package/dist/ClosingDraftView-Du4kOwIg.js +1899 -0
- package/dist/ClosingHistoryView-DuW2Vtrs.js +355 -0
- package/dist/ClosingTemplateView-CfPY8R5M.js +2001 -0
- package/dist/{DeliveryOrderPrintPreview-DZPcRAja.js → DeliveryOrderPrintPreview-C6Cj8mOp.js} +9 -9
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-WWIrybw_.js +230 -0
- package/dist/{FmMultiselectDialog-CZmwOkrb.js → FmMultiselectDialog-BzWrQOS4.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C-2V2bGc.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DwqVRUFz.js} +36 -36
- package/dist/ImportView-lKlYeLay.js +1291 -0
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BGnoF1Zz.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-_2WZMZU2.js} +5 -5
- package/dist/{IngredientGroupView-CAVYpEj3.js → IngredientGroupView-CrmwR2Xt.js} +34 -35
- package/dist/IngredientsView-1bAsyz-b.js +2254 -0
- package/dist/{IntegrationView-DdLFyZ4H.js → IntegrationView-D16qeEc_.js} +1773 -1635
- package/dist/{InventoryBindingForm-C7BdEDtM.js → InventoryBindingForm-BRwOXV_P.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B7DND2dQ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-NDbtbtqK.js} +28 -28
- package/dist/{InventoryBindingSummary-IZ7F-Lti.js → InventoryBindingSummary-DKM2gX8_.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-sgqVSlUB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CdaiYTdf.js} +4 -4
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DeF32bHu.js → PremiumBadge.vue_vue_type_script_setup_true_lang-B0OKeK5O.js} +7 -7
- package/dist/{PublishView-DkgfYneI.js → PublishView-D0NnU22l.js} +73 -63
- package/dist/{PurchaseOrderPrintPreview-CltLC4o4.js → PurchaseOrderPrintPreview-BmuwNbeL.js} +4 -4
- package/dist/{ReceiveRequestView-Dj7ji0DY.js → ReceiveRequestView-j79m7TKk.js} +343 -333
- package/dist/RecipeView-D_fNQQ-C.js +636 -0
- package/dist/StockView-DX_xeFBT.js +2385 -0
- package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bg49isUy.js +172 -0
- package/dist/{SupplierView-DE_M_9kd.js → SupplierView-DuFTqbOg.js} +1193 -1073
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-c428GXwc.js +3233 -0
- package/dist/{TransferTemplateView-gWGBCF3u.js → TransferTemplateView-Ccsfcetz.js} +104 -103
- package/dist/UnitView-BklpNsFN.js +674 -0
- package/dist/WarehouseView-BrURbU67.js +1066 -0
- package/dist/api/adjustment-template.d.ts +1 -0
- package/dist/api/bill.d.ts +140 -2
- package/dist/api/closing-template.d.ts +1 -0
- package/dist/api/closing.d.ts +1 -0
- package/dist/api/inventory.d.ts +405 -0
- package/dist/api/netsuite.d.ts +5 -1
- package/dist/api/purchase-order-template.d.ts +1 -0
- package/dist/api/purchase-order.d.ts +3 -0
- package/dist/api/shipment.d.ts +11 -0
- package/dist/api/stock.d.ts +2 -44
- package/dist/api/warehouse.d.ts +3 -1
- package/dist/{app-CruHLH1e.js → app-a9r50k3U.js} +68551 -67573
- package/dist/app.d.ts +643 -15
- package/dist/app.js +6 -6
- package/dist/components/FmAdminBadge.vue.d.ts +1 -4
- package/dist/components/FmEnhancedSelect.vue.d.ts +30 -0
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +16 -2
- package/dist/components/FmLockableField.vue.d.ts +3 -0
- package/dist/components/netsuite/ItemSubsidiaryTreeDialog.vue.d.ts +16 -0
- package/dist/components/netsuite/SubsidiaryTreeDialog.vue.d.ts +2 -0
- package/dist/composable/defineApi.d.ts +1 -1
- package/dist/composable/useIframe.d.ts +2 -2
- package/dist/{decimal-izbvCC1j.js → decimal-AusUnA1W.js} +1 -1
- package/dist/{format-unit-display-4SAdfyZB.js → format-unit-display-BqkHL-ph.js} +397 -429
- package/dist/helper/array.d.ts +1 -0
- package/dist/helper/core/country/utils.d.ts +3 -4
- package/dist/helper/country.d.ts +6 -255
- package/dist/helper/number.d.ts +1 -0
- package/dist/import-export.helper-PIyNeHfa.js +238 -0
- package/dist/{index-B6GGthLw.js → index-CjxirPvn.js} +283 -268
- package/dist/{index-CnQloOEo.js → index-Dj9-pdT9.js} +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +6 -3
- package/dist/purchase-order-template-CQikvY1p.js +41 -0
- package/dist/router/name.d.ts +2 -0
- package/dist/stock-CDZ2uWSF.js +83 -0
- package/dist/stock-Dw908dIC.js +74 -0
- package/dist/stores/feature.d.ts +12 -0
- package/dist/stores/integration/netsuite.d.ts +42 -0
- package/dist/stores/inventory.d.ts +28 -199
- package/dist/stores/location.d.ts +331 -1
- package/dist/stores/supplier.d.ts +96 -0
- package/dist/stores/warehouse.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-CTVE1lHO.js → supplier-BPPBUudN.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CM80TfX0.js → use-ingredient-select-dialog-C_fSKN3_.js} +5 -5
- package/dist/{use-inventory-binding-dialog-D_omdhgn.js → use-inventory-binding-dialog-ClAkJ864.js} +8 -8
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +60 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +56 -0
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +3 -3
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +468 -0
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +9 -2
- package/dist/views/closing-history/ClosingHistoryView.vue.d.ts +2 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +4 -1
- package/dist/views/closing-template/helpers/import-export.helper.d.ts +5 -0
- package/dist/views/import/ImportView.vue.d.ts +3 -0
- package/dist/views/import/components/ImportDialog.vue.d.ts +2 -0
- package/dist/views/import/helper/import-export.helper.d.ts +4 -0
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialogProps.d.ts +1 -1
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +181 -12
- package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +6 -0
- package/dist/views/ingredients/helper/import-export.helper.d.ts +4 -1
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +2 -0
- package/dist/views/receive-request/components/delivery-order-form/CreateForm.vue.d.ts +16 -0
- package/dist/views/receive-request/components/delivery-order-form/CreateFormProps.d.ts +4 -0
- package/dist/views/receive-request/components/delivery-order-form/EditForm.vue.d.ts +16 -0
- package/dist/views/receive-request/components/delivery-order-form/EditFormProps.d.ts +4 -0
- package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +21 -0
- package/dist/views/receive-request/components/netsuite/NetSuiteTransactionChangeLog.vue.d.ts +15 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +420 -2
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +99 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +644 -13
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +711 -14
- package/dist/views/recipe/RecipeView.vue.d.ts +1 -0
- package/dist/views/recipe/components/import-recipes/ImportRecipeItem.vue.d.ts +16 -0
- package/dist/views/recipe/components/import-recipes/ImportRecipes.vue.d.ts +2 -0
- package/dist/views/recipe/helper/import-recipe.d.ts +48 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +70 -1
- package/dist/views/stock/components/dialog/RecalculationDialog.vue.d.ts +11 -0
- package/dist/views/stock/components/dialog/RecalculationDialogProps.d.ts +3 -0
- package/dist/views/stock/components/dialog/StockAdjustmentSideSheet.vue.d.ts +20 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +8 -0
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -0
- package/dist/views/supplier/composables/use-supplier-table.d.ts +4 -0
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -0
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
- package/dist/views/unit/UnitView.vue.d.ts +1 -0
- package/dist/views/unit/components/import-units/ImportUnitItem.vue.d.ts +12 -0
- package/dist/views/unit/components/import-units/ImportUnitItemProps.d.ts +6 -0
- package/dist/views/unit/components/import-units/ImportUnits.vue.d.ts +9 -0
- package/dist/views/unit/components/import-units/ImportUnitsProps.d.ts +5 -0
- package/dist/views/unit/helper/import-export.helper.d.ts +40 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -0
- package/package.json +3 -3
- package/dist/App-BqaRC0Sb.js +0 -276
- package/dist/ClosingDraftView-sJ_zRPeo.js +0 -1687
- package/dist/ClosingTemplateView-cNgXHq1r.js +0 -1908
- package/dist/FmAdminBadge-oCnz8SW6.js +0 -34
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BKR8C4p_.js +0 -224
- package/dist/IngredientsView-CHHeAJH_.js +0 -1858
- package/dist/RecipeView-BukmKdVG.js +0 -621
- package/dist/StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js +0 -59
- package/dist/StockView-wxRCw_w-.js +0 -2087
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-eqUOnJoM.js +0 -2336
- package/dist/UnitView-BgwDmGZo.js +0 -667
- package/dist/WarehouseView-BdccenhO.js +0 -1034
- package/dist/array-Ca8T3f_G.js +0 -44
- package/dist/helper/core/country/codes.d.ts +0 -255
- package/dist/stock-BJP5BB5b.js +0 -146
|
@@ -5,13 +5,17 @@ export declare const InventoryLocationType: {
|
|
|
5
5
|
restaurant: "restaurant";
|
|
6
6
|
warehouse: "warehouse";
|
|
7
7
|
};
|
|
8
|
-
export type InventoryLocation =
|
|
8
|
+
export type InventoryLocation = FdtoInventoryLocationInfo;
|
|
9
9
|
export declare function useLocationStore(): {
|
|
10
10
|
_currentLocation: {
|
|
11
11
|
inventory?: {
|
|
12
12
|
_id: string;
|
|
13
13
|
updatedAt: string;
|
|
14
14
|
} | null | undefined;
|
|
15
|
+
preparationTime?: {
|
|
16
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
17
|
+
value: number;
|
|
18
|
+
} | null | undefined;
|
|
15
19
|
name: string;
|
|
16
20
|
type: "restaurant" | "warehouse";
|
|
17
21
|
acceptRequest: boolean;
|
|
@@ -103,6 +107,10 @@ export declare function useLocationStore(): {
|
|
|
103
107
|
_id: string;
|
|
104
108
|
updatedAt: string;
|
|
105
109
|
} | null | undefined;
|
|
110
|
+
preparationTime?: {
|
|
111
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
112
|
+
value: number;
|
|
113
|
+
} | null | undefined;
|
|
106
114
|
name: string;
|
|
107
115
|
type: "restaurant" | "warehouse";
|
|
108
116
|
acceptRequest: boolean;
|
|
@@ -194,6 +202,105 @@ export declare function useLocationStore(): {
|
|
|
194
202
|
_id: string;
|
|
195
203
|
updatedAt: string;
|
|
196
204
|
} | null | undefined;
|
|
205
|
+
preparationTime?: {
|
|
206
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
207
|
+
value: number;
|
|
208
|
+
} | null | undefined;
|
|
209
|
+
name: string;
|
|
210
|
+
type: "restaurant" | "warehouse";
|
|
211
|
+
acceptRequest: boolean;
|
|
212
|
+
dbName: string;
|
|
213
|
+
doc: {
|
|
214
|
+
_id: string;
|
|
215
|
+
businessId: string;
|
|
216
|
+
profile: {
|
|
217
|
+
code?: string | null | undefined;
|
|
218
|
+
url?: string | null | undefined;
|
|
219
|
+
description?: string | null | undefined;
|
|
220
|
+
_id?: string | null | undefined;
|
|
221
|
+
legalName?: string | null | undefined;
|
|
222
|
+
sstRegNo?: string | null | undefined;
|
|
223
|
+
discovery?: boolean | null | undefined;
|
|
224
|
+
coverPhoto?: string | null | undefined;
|
|
225
|
+
thumbnailPhoto?: string | null | undefined;
|
|
226
|
+
photos?: string[] | null | undefined;
|
|
227
|
+
operatingHours?: {
|
|
228
|
+
0: {
|
|
229
|
+
hours: {
|
|
230
|
+
end: string;
|
|
231
|
+
start: string;
|
|
232
|
+
}[];
|
|
233
|
+
enable: boolean;
|
|
234
|
+
};
|
|
235
|
+
2: {
|
|
236
|
+
hours: {
|
|
237
|
+
end: string;
|
|
238
|
+
start: string;
|
|
239
|
+
}[];
|
|
240
|
+
enable: boolean;
|
|
241
|
+
};
|
|
242
|
+
1: {
|
|
243
|
+
hours: {
|
|
244
|
+
end: string;
|
|
245
|
+
start: string;
|
|
246
|
+
}[];
|
|
247
|
+
enable: boolean;
|
|
248
|
+
};
|
|
249
|
+
3: {
|
|
250
|
+
hours: {
|
|
251
|
+
end: string;
|
|
252
|
+
start: string;
|
|
253
|
+
}[];
|
|
254
|
+
enable: boolean;
|
|
255
|
+
};
|
|
256
|
+
4: {
|
|
257
|
+
hours: {
|
|
258
|
+
end: string;
|
|
259
|
+
start: string;
|
|
260
|
+
}[];
|
|
261
|
+
enable: boolean;
|
|
262
|
+
};
|
|
263
|
+
5: {
|
|
264
|
+
hours: {
|
|
265
|
+
end: string;
|
|
266
|
+
start: string;
|
|
267
|
+
}[];
|
|
268
|
+
enable: boolean;
|
|
269
|
+
};
|
|
270
|
+
6: {
|
|
271
|
+
hours: {
|
|
272
|
+
end: string;
|
|
273
|
+
start: string;
|
|
274
|
+
}[];
|
|
275
|
+
enable: boolean;
|
|
276
|
+
};
|
|
277
|
+
} | null | undefined;
|
|
278
|
+
tags?: string[] | null | undefined;
|
|
279
|
+
name: string;
|
|
280
|
+
address: {
|
|
281
|
+
coordinates?: number[] | null | undefined;
|
|
282
|
+
line2?: string | null | undefined;
|
|
283
|
+
state: string;
|
|
284
|
+
country: string;
|
|
285
|
+
line1: string;
|
|
286
|
+
city: string;
|
|
287
|
+
postcode: string;
|
|
288
|
+
};
|
|
289
|
+
email: string;
|
|
290
|
+
phoneNo: string;
|
|
291
|
+
regNo: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
}[] | null;
|
|
295
|
+
_locationWithInventory: {
|
|
296
|
+
inventory?: {
|
|
297
|
+
_id: string;
|
|
298
|
+
updatedAt: string;
|
|
299
|
+
} | null | undefined;
|
|
300
|
+
preparationTime?: {
|
|
301
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
302
|
+
value: number;
|
|
303
|
+
} | null | undefined;
|
|
197
304
|
name: string;
|
|
198
305
|
type: "restaurant" | "warehouse";
|
|
199
306
|
acceptRequest: boolean;
|
|
@@ -286,6 +393,10 @@ export declare function useLocationStore(): {
|
|
|
286
393
|
_id: string;
|
|
287
394
|
updatedAt: string;
|
|
288
395
|
} | null | undefined;
|
|
396
|
+
preparationTime?: {
|
|
397
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
398
|
+
value: number;
|
|
399
|
+
} | null | undefined;
|
|
289
400
|
name: string;
|
|
290
401
|
type: "restaurant" | "warehouse";
|
|
291
402
|
acceptRequest: boolean;
|
|
@@ -377,6 +488,10 @@ export declare function useLocationStore(): {
|
|
|
377
488
|
_id: string;
|
|
378
489
|
updatedAt: string;
|
|
379
490
|
} | null | undefined;
|
|
491
|
+
preparationTime?: {
|
|
492
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
493
|
+
value: number;
|
|
494
|
+
} | null | undefined;
|
|
380
495
|
name: string;
|
|
381
496
|
type: "restaurant" | "warehouse";
|
|
382
497
|
acceptRequest: boolean;
|
|
@@ -468,6 +583,105 @@ export declare function useLocationStore(): {
|
|
|
468
583
|
_id: string;
|
|
469
584
|
updatedAt: string;
|
|
470
585
|
} | null | undefined;
|
|
586
|
+
preparationTime?: {
|
|
587
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
588
|
+
value: number;
|
|
589
|
+
} | null | undefined;
|
|
590
|
+
name: string;
|
|
591
|
+
type: "restaurant" | "warehouse";
|
|
592
|
+
acceptRequest: boolean;
|
|
593
|
+
dbName: string;
|
|
594
|
+
doc: {
|
|
595
|
+
_id: string;
|
|
596
|
+
businessId: string;
|
|
597
|
+
profile: {
|
|
598
|
+
code?: string | null | undefined;
|
|
599
|
+
url?: string | null | undefined;
|
|
600
|
+
description?: string | null | undefined;
|
|
601
|
+
_id?: string | null | undefined;
|
|
602
|
+
legalName?: string | null | undefined;
|
|
603
|
+
sstRegNo?: string | null | undefined;
|
|
604
|
+
discovery?: boolean | null | undefined;
|
|
605
|
+
coverPhoto?: string | null | undefined;
|
|
606
|
+
thumbnailPhoto?: string | null | undefined;
|
|
607
|
+
photos?: string[] | null | undefined;
|
|
608
|
+
operatingHours?: {
|
|
609
|
+
0: {
|
|
610
|
+
hours: {
|
|
611
|
+
end: string;
|
|
612
|
+
start: string;
|
|
613
|
+
}[];
|
|
614
|
+
enable: boolean;
|
|
615
|
+
};
|
|
616
|
+
2: {
|
|
617
|
+
hours: {
|
|
618
|
+
end: string;
|
|
619
|
+
start: string;
|
|
620
|
+
}[];
|
|
621
|
+
enable: boolean;
|
|
622
|
+
};
|
|
623
|
+
1: {
|
|
624
|
+
hours: {
|
|
625
|
+
end: string;
|
|
626
|
+
start: string;
|
|
627
|
+
}[];
|
|
628
|
+
enable: boolean;
|
|
629
|
+
};
|
|
630
|
+
3: {
|
|
631
|
+
hours: {
|
|
632
|
+
end: string;
|
|
633
|
+
start: string;
|
|
634
|
+
}[];
|
|
635
|
+
enable: boolean;
|
|
636
|
+
};
|
|
637
|
+
4: {
|
|
638
|
+
hours: {
|
|
639
|
+
end: string;
|
|
640
|
+
start: string;
|
|
641
|
+
}[];
|
|
642
|
+
enable: boolean;
|
|
643
|
+
};
|
|
644
|
+
5: {
|
|
645
|
+
hours: {
|
|
646
|
+
end: string;
|
|
647
|
+
start: string;
|
|
648
|
+
}[];
|
|
649
|
+
enable: boolean;
|
|
650
|
+
};
|
|
651
|
+
6: {
|
|
652
|
+
hours: {
|
|
653
|
+
end: string;
|
|
654
|
+
start: string;
|
|
655
|
+
}[];
|
|
656
|
+
enable: boolean;
|
|
657
|
+
};
|
|
658
|
+
} | null | undefined;
|
|
659
|
+
tags?: string[] | null | undefined;
|
|
660
|
+
name: string;
|
|
661
|
+
address: {
|
|
662
|
+
coordinates?: number[] | null | undefined;
|
|
663
|
+
line2?: string | null | undefined;
|
|
664
|
+
state: string;
|
|
665
|
+
country: string;
|
|
666
|
+
line1: string;
|
|
667
|
+
city: string;
|
|
668
|
+
postcode: string;
|
|
669
|
+
};
|
|
670
|
+
email: string;
|
|
671
|
+
phoneNo: string;
|
|
672
|
+
regNo: string;
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
}[] | null;
|
|
676
|
+
_locationWithInventory: {
|
|
677
|
+
inventory?: {
|
|
678
|
+
_id: string;
|
|
679
|
+
updatedAt: string;
|
|
680
|
+
} | null | undefined;
|
|
681
|
+
preparationTime?: {
|
|
682
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
683
|
+
value: number;
|
|
684
|
+
} | null | undefined;
|
|
471
685
|
name: string;
|
|
472
686
|
type: "restaurant" | "warehouse";
|
|
473
687
|
acceptRequest: boolean;
|
|
@@ -560,6 +774,10 @@ export declare function useLocationStore(): {
|
|
|
560
774
|
_id: string;
|
|
561
775
|
updatedAt: string;
|
|
562
776
|
} | null | undefined;
|
|
777
|
+
preparationTime?: {
|
|
778
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
779
|
+
value: number;
|
|
780
|
+
} | null | undefined;
|
|
563
781
|
name: string;
|
|
564
782
|
type: "restaurant" | "warehouse";
|
|
565
783
|
acceptRequest: boolean;
|
|
@@ -651,6 +869,10 @@ export declare function useLocationStore(): {
|
|
|
651
869
|
_id: string;
|
|
652
870
|
updatedAt: string;
|
|
653
871
|
} | null | undefined;
|
|
872
|
+
preparationTime?: {
|
|
873
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
874
|
+
value: number;
|
|
875
|
+
} | null | undefined;
|
|
654
876
|
name: string;
|
|
655
877
|
type: "restaurant" | "warehouse";
|
|
656
878
|
acceptRequest: boolean;
|
|
@@ -745,6 +967,10 @@ export declare function useLocationStore(): {
|
|
|
745
967
|
_id: string;
|
|
746
968
|
updatedAt: string;
|
|
747
969
|
} | null | undefined;
|
|
970
|
+
preparationTime?: {
|
|
971
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
972
|
+
value: number;
|
|
973
|
+
} | null | undefined;
|
|
748
974
|
name: string;
|
|
749
975
|
type: "restaurant" | "warehouse";
|
|
750
976
|
acceptRequest: boolean;
|
|
@@ -836,6 +1062,105 @@ export declare function useLocationStore(): {
|
|
|
836
1062
|
_id: string;
|
|
837
1063
|
updatedAt: string;
|
|
838
1064
|
} | null | undefined;
|
|
1065
|
+
preparationTime?: {
|
|
1066
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1067
|
+
value: number;
|
|
1068
|
+
} | null | undefined;
|
|
1069
|
+
name: string;
|
|
1070
|
+
type: "restaurant" | "warehouse";
|
|
1071
|
+
acceptRequest: boolean;
|
|
1072
|
+
dbName: string;
|
|
1073
|
+
doc: {
|
|
1074
|
+
_id: string;
|
|
1075
|
+
businessId: string;
|
|
1076
|
+
profile: {
|
|
1077
|
+
code?: string | null | undefined;
|
|
1078
|
+
url?: string | null | undefined;
|
|
1079
|
+
description?: string | null | undefined;
|
|
1080
|
+
_id?: string | null | undefined;
|
|
1081
|
+
legalName?: string | null | undefined;
|
|
1082
|
+
sstRegNo?: string | null | undefined;
|
|
1083
|
+
discovery?: boolean | null | undefined;
|
|
1084
|
+
coverPhoto?: string | null | undefined;
|
|
1085
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1086
|
+
photos?: string[] | null | undefined;
|
|
1087
|
+
operatingHours?: {
|
|
1088
|
+
0: {
|
|
1089
|
+
hours: {
|
|
1090
|
+
end: string;
|
|
1091
|
+
start: string;
|
|
1092
|
+
}[];
|
|
1093
|
+
enable: boolean;
|
|
1094
|
+
};
|
|
1095
|
+
2: {
|
|
1096
|
+
hours: {
|
|
1097
|
+
end: string;
|
|
1098
|
+
start: string;
|
|
1099
|
+
}[];
|
|
1100
|
+
enable: boolean;
|
|
1101
|
+
};
|
|
1102
|
+
1: {
|
|
1103
|
+
hours: {
|
|
1104
|
+
end: string;
|
|
1105
|
+
start: string;
|
|
1106
|
+
}[];
|
|
1107
|
+
enable: boolean;
|
|
1108
|
+
};
|
|
1109
|
+
3: {
|
|
1110
|
+
hours: {
|
|
1111
|
+
end: string;
|
|
1112
|
+
start: string;
|
|
1113
|
+
}[];
|
|
1114
|
+
enable: boolean;
|
|
1115
|
+
};
|
|
1116
|
+
4: {
|
|
1117
|
+
hours: {
|
|
1118
|
+
end: string;
|
|
1119
|
+
start: string;
|
|
1120
|
+
}[];
|
|
1121
|
+
enable: boolean;
|
|
1122
|
+
};
|
|
1123
|
+
5: {
|
|
1124
|
+
hours: {
|
|
1125
|
+
end: string;
|
|
1126
|
+
start: string;
|
|
1127
|
+
}[];
|
|
1128
|
+
enable: boolean;
|
|
1129
|
+
};
|
|
1130
|
+
6: {
|
|
1131
|
+
hours: {
|
|
1132
|
+
end: string;
|
|
1133
|
+
start: string;
|
|
1134
|
+
}[];
|
|
1135
|
+
enable: boolean;
|
|
1136
|
+
};
|
|
1137
|
+
} | null | undefined;
|
|
1138
|
+
tags?: string[] | null | undefined;
|
|
1139
|
+
name: string;
|
|
1140
|
+
address: {
|
|
1141
|
+
coordinates?: number[] | null | undefined;
|
|
1142
|
+
line2?: string | null | undefined;
|
|
1143
|
+
state: string;
|
|
1144
|
+
country: string;
|
|
1145
|
+
line1: string;
|
|
1146
|
+
city: string;
|
|
1147
|
+
postcode: string;
|
|
1148
|
+
};
|
|
1149
|
+
email: string;
|
|
1150
|
+
phoneNo: string;
|
|
1151
|
+
regNo: string;
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
}[];
|
|
1155
|
+
readonly locationsWithInventory: {
|
|
1156
|
+
inventory?: {
|
|
1157
|
+
_id: string;
|
|
1158
|
+
updatedAt: string;
|
|
1159
|
+
} | null | undefined;
|
|
1160
|
+
preparationTime?: {
|
|
1161
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1162
|
+
value: number;
|
|
1163
|
+
} | null | undefined;
|
|
839
1164
|
name: string;
|
|
840
1165
|
type: "restaurant" | "warehouse";
|
|
841
1166
|
acceptRequest: boolean;
|
|
@@ -928,6 +1253,10 @@ export declare function useLocationStore(): {
|
|
|
928
1253
|
_id: string;
|
|
929
1254
|
updatedAt: string;
|
|
930
1255
|
} | null | undefined;
|
|
1256
|
+
preparationTime?: {
|
|
1257
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1258
|
+
value: number;
|
|
1259
|
+
} | null | undefined;
|
|
931
1260
|
name: string;
|
|
932
1261
|
type: "restaurant" | "warehouse";
|
|
933
1262
|
acceptRequest: boolean;
|
|
@@ -1018,6 +1347,7 @@ export declare function useLocationStore(): {
|
|
|
1018
1347
|
businessLevel: boolean;
|
|
1019
1348
|
watchLocation(callback: (location?: InventoryLocation | null) => Promise<void>, persistentKey?: string): void;
|
|
1020
1349
|
readLocations(): Promise<void>;
|
|
1350
|
+
readLocationsWithInventory(): Promise<void>;
|
|
1021
1351
|
setLocations(resp: InventoryLocation[]): void;
|
|
1022
1352
|
selectLocation(location?: InventoryLocation, skipStorage?: boolean): void;
|
|
1023
1353
|
init(): Promise<void>;
|
|
@@ -31,6 +31,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
31
31
|
};
|
|
32
32
|
skuId: string;
|
|
33
33
|
}[] | null | undefined;
|
|
34
|
+
preparationTime?: {
|
|
35
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
36
|
+
value: number;
|
|
37
|
+
} | null | undefined;
|
|
34
38
|
_id: string;
|
|
35
39
|
name: string;
|
|
36
40
|
address: {
|
|
@@ -68,6 +72,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
68
72
|
};
|
|
69
73
|
skuId: string;
|
|
70
74
|
}[] | null | undefined;
|
|
75
|
+
preparationTime?: {
|
|
76
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
77
|
+
value: number;
|
|
78
|
+
} | null | undefined;
|
|
71
79
|
_id: string;
|
|
72
80
|
name: string;
|
|
73
81
|
address: {
|
|
@@ -104,6 +112,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
104
112
|
};
|
|
105
113
|
skuId: string;
|
|
106
114
|
}[] | null | undefined;
|
|
115
|
+
preparationTime?: {
|
|
116
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
117
|
+
value: number;
|
|
118
|
+
} | null | undefined;
|
|
107
119
|
_id: string;
|
|
108
120
|
name: string;
|
|
109
121
|
address: {
|
|
@@ -140,6 +152,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
140
152
|
};
|
|
141
153
|
skuId: string;
|
|
142
154
|
}[] | null | undefined;
|
|
155
|
+
preparationTime?: {
|
|
156
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
157
|
+
value: number;
|
|
158
|
+
} | null | undefined;
|
|
143
159
|
_id: string;
|
|
144
160
|
name: string;
|
|
145
161
|
address: {
|
|
@@ -177,6 +193,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
177
193
|
};
|
|
178
194
|
skuId: string;
|
|
179
195
|
}[] | null | undefined;
|
|
196
|
+
preparationTime?: {
|
|
197
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
198
|
+
value: number;
|
|
199
|
+
} | null | undefined;
|
|
180
200
|
_id: string;
|
|
181
201
|
name: string;
|
|
182
202
|
address: {
|
|
@@ -213,6 +233,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
213
233
|
};
|
|
214
234
|
skuId: string;
|
|
215
235
|
}[] | null | undefined;
|
|
236
|
+
preparationTime?: {
|
|
237
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
238
|
+
value: number;
|
|
239
|
+
} | null | undefined;
|
|
216
240
|
_id: string;
|
|
217
241
|
name: string;
|
|
218
242
|
address: {
|
|
@@ -249,6 +273,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
249
273
|
};
|
|
250
274
|
skuId: string;
|
|
251
275
|
}[] | null | undefined;
|
|
276
|
+
preparationTime?: {
|
|
277
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
278
|
+
value: number;
|
|
279
|
+
} | null | undefined;
|
|
252
280
|
_id: string;
|
|
253
281
|
name: string;
|
|
254
282
|
address: {
|
|
@@ -287,6 +315,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
287
315
|
};
|
|
288
316
|
skuId: string;
|
|
289
317
|
}[] | null | undefined;
|
|
318
|
+
preparationTime?: {
|
|
319
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
320
|
+
value: number;
|
|
321
|
+
} | null | undefined;
|
|
290
322
|
_id: string;
|
|
291
323
|
name: string;
|
|
292
324
|
address: {
|
|
@@ -332,6 +364,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
332
364
|
};
|
|
333
365
|
skuId: string;
|
|
334
366
|
}[] | null | undefined;
|
|
367
|
+
preparationTime?: {
|
|
368
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
369
|
+
value: number;
|
|
370
|
+
} | null | undefined;
|
|
335
371
|
_id: string;
|
|
336
372
|
name: string;
|
|
337
373
|
address: {
|
|
@@ -369,6 +405,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
369
405
|
};
|
|
370
406
|
skuId: string;
|
|
371
407
|
}[] | null | undefined;
|
|
408
|
+
preparationTime?: {
|
|
409
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
410
|
+
value: number;
|
|
411
|
+
} | null | undefined;
|
|
372
412
|
_id: string;
|
|
373
413
|
name: string;
|
|
374
414
|
address: {
|
|
@@ -405,6 +445,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
405
445
|
};
|
|
406
446
|
skuId: string;
|
|
407
447
|
}[] | null | undefined;
|
|
448
|
+
preparationTime?: {
|
|
449
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
450
|
+
value: number;
|
|
451
|
+
} | null | undefined;
|
|
408
452
|
_id: string;
|
|
409
453
|
name: string;
|
|
410
454
|
address: {
|
|
@@ -441,6 +485,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
441
485
|
};
|
|
442
486
|
skuId: string;
|
|
443
487
|
}[] | null | undefined;
|
|
488
|
+
preparationTime?: {
|
|
489
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
490
|
+
value: number;
|
|
491
|
+
} | null | undefined;
|
|
444
492
|
_id: string;
|
|
445
493
|
name: string;
|
|
446
494
|
address: {
|
|
@@ -478,6 +526,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
478
526
|
};
|
|
479
527
|
skuId: string;
|
|
480
528
|
}[] | null | undefined;
|
|
529
|
+
preparationTime?: {
|
|
530
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
531
|
+
value: number;
|
|
532
|
+
} | null | undefined;
|
|
481
533
|
_id: string;
|
|
482
534
|
name: string;
|
|
483
535
|
address: {
|
|
@@ -514,6 +566,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
514
566
|
};
|
|
515
567
|
skuId: string;
|
|
516
568
|
}[] | null | undefined;
|
|
569
|
+
preparationTime?: {
|
|
570
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
571
|
+
value: number;
|
|
572
|
+
} | null | undefined;
|
|
517
573
|
_id: string;
|
|
518
574
|
name: string;
|
|
519
575
|
address: {
|
|
@@ -550,6 +606,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
550
606
|
};
|
|
551
607
|
skuId: string;
|
|
552
608
|
}[] | null | undefined;
|
|
609
|
+
preparationTime?: {
|
|
610
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
611
|
+
value: number;
|
|
612
|
+
} | null | undefined;
|
|
553
613
|
_id: string;
|
|
554
614
|
name: string;
|
|
555
615
|
address: {
|
|
@@ -588,6 +648,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
588
648
|
};
|
|
589
649
|
skuId: string;
|
|
590
650
|
}[] | null | undefined;
|
|
651
|
+
preparationTime?: {
|
|
652
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
653
|
+
value: number;
|
|
654
|
+
} | null | undefined;
|
|
591
655
|
_id: string;
|
|
592
656
|
name: string;
|
|
593
657
|
address: {
|
|
@@ -633,6 +697,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
633
697
|
};
|
|
634
698
|
skuId: string;
|
|
635
699
|
}[] | null | undefined;
|
|
700
|
+
preparationTime?: {
|
|
701
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
702
|
+
value: number;
|
|
703
|
+
} | null | undefined;
|
|
636
704
|
_id: string;
|
|
637
705
|
name: string;
|
|
638
706
|
address: {
|
|
@@ -670,6 +738,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
670
738
|
};
|
|
671
739
|
skuId: string;
|
|
672
740
|
}[] | null | undefined;
|
|
741
|
+
preparationTime?: {
|
|
742
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
743
|
+
value: number;
|
|
744
|
+
} | null | undefined;
|
|
673
745
|
_id: string;
|
|
674
746
|
name: string;
|
|
675
747
|
address: {
|
|
@@ -706,6 +778,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
706
778
|
};
|
|
707
779
|
skuId: string;
|
|
708
780
|
}[] | null | undefined;
|
|
781
|
+
preparationTime?: {
|
|
782
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
783
|
+
value: number;
|
|
784
|
+
} | null | undefined;
|
|
709
785
|
_id: string;
|
|
710
786
|
name: string;
|
|
711
787
|
address: {
|
|
@@ -742,6 +818,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
742
818
|
};
|
|
743
819
|
skuId: string;
|
|
744
820
|
}[] | null | undefined;
|
|
821
|
+
preparationTime?: {
|
|
822
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
823
|
+
value: number;
|
|
824
|
+
} | null | undefined;
|
|
745
825
|
_id: string;
|
|
746
826
|
name: string;
|
|
747
827
|
address: {
|
|
@@ -779,6 +859,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
779
859
|
};
|
|
780
860
|
skuId: string;
|
|
781
861
|
}[] | null | undefined;
|
|
862
|
+
preparationTime?: {
|
|
863
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
864
|
+
value: number;
|
|
865
|
+
} | null | undefined;
|
|
782
866
|
_id: string;
|
|
783
867
|
name: string;
|
|
784
868
|
address: {
|
|
@@ -815,6 +899,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
815
899
|
};
|
|
816
900
|
skuId: string;
|
|
817
901
|
}[] | null | undefined;
|
|
902
|
+
preparationTime?: {
|
|
903
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
904
|
+
value: number;
|
|
905
|
+
} | null | undefined;
|
|
818
906
|
_id: string;
|
|
819
907
|
name: string;
|
|
820
908
|
address: {
|
|
@@ -851,6 +939,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
851
939
|
};
|
|
852
940
|
skuId: string;
|
|
853
941
|
}[] | null | undefined;
|
|
942
|
+
preparationTime?: {
|
|
943
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
944
|
+
value: number;
|
|
945
|
+
} | null | undefined;
|
|
854
946
|
_id: string;
|
|
855
947
|
name: string;
|
|
856
948
|
address: {
|
|
@@ -889,6 +981,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
889
981
|
};
|
|
890
982
|
skuId: string;
|
|
891
983
|
}[] | null | undefined;
|
|
984
|
+
preparationTime?: {
|
|
985
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
986
|
+
value: number;
|
|
987
|
+
} | null | undefined;
|
|
892
988
|
_id: string;
|
|
893
989
|
name: string;
|
|
894
990
|
address: {
|
|
@@ -72,6 +72,10 @@ export declare function useWarehouseStore(): {
|
|
|
72
72
|
menuVersion: string;
|
|
73
73
|
} | null | undefined;
|
|
74
74
|
customAttributes?: Record<string, any> | null | undefined;
|
|
75
|
+
preparationTime?: {
|
|
76
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
77
|
+
value: number;
|
|
78
|
+
} | null | undefined;
|
|
75
79
|
_id: string;
|
|
76
80
|
businessId: string;
|
|
77
81
|
profile: {
|