@feedmepos/mf-inventory-portal 1.4.1-dev.1 → 1.4.2
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-ChJEzu4r.js → App-D8p5pMar.js} +5 -5
- package/dist/{ApprovalView-DE7cizNA.js → ApprovalView-B6WmrP3R.js} +7 -7
- package/dist/{BindingsDialog-BsMtvOJG.js → BindingsDialog-DAG2toHR.js} +2 -2
- package/dist/{BindingsPicker-Cqm2FCk4.js → BindingsPicker-CPbNuwFq.js} +2 -2
- package/dist/{BindingsTable-DnmlqSXV.js → BindingsTable-Hkkel0vq.js} +3 -3
- package/dist/{ClosingDraftView-DCo7R5X_.js → ClosingDraftView-JCtS2MZa.js} +15 -15
- package/dist/{ClosingHistoryView-B8pvoz_L.js → ClosingHistoryView-D7GacAqj.js} +5 -5
- package/dist/{ClosingTemplateView-BhWMZskM.js → ClosingTemplateView-DqpbjHK2.js} +14 -14
- package/dist/{DefaultView-7L4zg3pD.js → DefaultView-BSm6fE5w.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BJUAI20p.js → DeliveryOrderPrintPreview-DFj56iJk.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZz44xPT.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CaVUl6v3.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D2xaJ_fT.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-FunJ5ZX5.js} +2 -2
- package/dist/{FmMultiselectDialog-CSlbhVxn.js → FmMultiselectDialog-BE2Tqm4H.js} +1 -1
- package/dist/{FmMultiselectDialog-CPt0eMqz.js → FmMultiselectDialog-DpekFj8a.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DeFbqEt_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bt_kCIFn.js} +4 -4
- package/dist/{ImportView-DDq7-EqO.js → ImportView-CAcUO9Pv.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-TLC_uZ1L.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-0Abq7FDN.js} +1 -1
- package/dist/{IngredientGroupView-BOPm59h1.js → IngredientGroupView-CeUfykez.js} +5 -5
- package/dist/{IngredientsView-Drxqdl5C.js → IngredientsView-Cdhgw3Tw.js} +15 -15
- package/dist/{IntegrationExplorerView-ClolIlZJ.js → IntegrationExplorerView-BioiObpU.js} +5 -5
- package/dist/{IntegrationView-BhsxOMny.js → IntegrationView-BHjOvMpX.js} +13 -13
- package/dist/{InventoryBindingForm-DSmmb2Re.js → InventoryBindingForm-D892WEqV.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bs1WRSC4.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BMfmKcz8.js} +5 -5
- package/dist/{InventoryBindingSummary-DwmmGqLA.js → InventoryBindingSummary-DOGWF0fo.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cBTXwRyT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B-dhMJ0F.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-WgbXX2to.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CKuIWTXZ.js} +1 -1
- package/dist/{PublishView-CjIwzQ1D.js → PublishView-Dh6OiaG1.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D14UaMbm.js → PurchaseOrderPrintPreview-Cpme08gm.js} +2 -2
- package/dist/{ReceiveRequestView-C5s6H1ly.js → ReceiveRequestView-Dldwu3-H.js} +25 -25
- package/dist/{RecipeView-BWlgNjqM.js → RecipeView-gkZuFdCP.js} +17 -17
- package/dist/{SettingsView-BiaJS0Qs.js → SettingsView-wOy_OATI.js} +4 -4
- package/dist/{StockView-DzdW3saV.js → StockView-DeLcyQrC.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CziwNGpm.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C2Jax3tb.js} +1 -1
- package/dist/{SupplierView-CEH1mh4O.js → SupplierView-Bf2AW8JH.js} +12 -12
- package/dist/{SurchargeView-DLL1vb1m.js → SurchargeView-CJtg87ol.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyzJFEM1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bfzqxalj.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-riu5GB0x.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CEz3Yc2Z.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CdPx9jtv.js → TransferDetails.vue_vue_type_script_setup_true_lang-CcpH12aM.js} +20 -20
- package/dist/{TransferTemplateView-B1hOOEld.js → TransferTemplateView-DpWFExzQ.js} +18 -18
- package/dist/{UnitCostHistoryView-CfVLgSsg.js → UnitCostHistoryView-PEexDaAO.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D_5MeWML.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-i8HZEphD.js} +4 -4
- package/dist/{UnitView-CNEW1ZyC.js → UnitView-BPyyMHKE.js} +7 -7
- package/dist/{WarehouseView-BAEddBqH.js → WarehouseView-BmCech19.js} +5 -5
- package/dist/{WastageTemplateView-BDDcGlH1.js → WastageTemplateView-DJOBAWKd.js} +14 -14
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +92 -92
- package/dist/api/netsuite.d.ts +67 -67
- package/dist/api/surcharge.d.ts +2 -2
- package/dist/{app-8jckOqPv.js → app-D4P-koOR.js} +31824 -31795
- package/dist/app.d.ts +24 -24
- package/dist/app.js +1 -1
- package/dist/{closing-template-DI_wHTs-.js → closing-template-CCvXzoLm.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +20 -20
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +6 -6
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +11 -11
- package/dist/{date2-R--GWp3h.js → date2-XHYHbI0K.js} +1 -1
- package/dist/{dayjs.min-BLMwzZoP.js → dayjs.min-pkE_kmHZ.js} +1 -1
- package/dist/{decimal-C1gVMYNr.js → decimal-CQ7SlCe0.js} +2 -2
- package/dist/{defineDeepModel-v4CSJ0KR.js → defineDeepModel-CZDkmNol.js} +1 -1
- package/dist/{duplicate-template-B2FyWucr.js → duplicate-template-BQ0bF_MO.js} +1 -1
- package/dist/export-CDIp6ydU.js +26 -0
- package/dist/{feature-D5wDntDA.js → feature-C4zPjstX.js} +2 -2
- package/dist/{format-time-from-id-iIaeuVUR.js → format-time-from-id-D_USijTz.js} +1 -1
- package/dist/{format-unit-display-DoXOol_B.js → format-unit-display-CF6-yU7v.js} +11 -11
- package/dist/helper/xlsx.util.d.ts +9 -0
- package/dist/{import-export.helper-CRZm_4kx.js → import-export.helper-iVXMr9yw.js} +6 -6
- package/dist/{index-DvydJuBP.js → index-BIG8c4oA.js} +3 -3
- package/dist/{index-Dctf0kPG.js → index-CTNLpvtM.js} +1 -1
- package/dist/{index-BlCcDs_t.js → index-EoaZ_eFV.js} +1 -1
- package/dist/{inventory-core-dart.default-BGNoRNOu.js → inventory-core-dart.default-D6cCA8tk.js} +1 -1
- package/dist/{lodash-BGLr9-Z4.js → lodash-DR7t9CsC.js} +1 -1
- package/dist/{lz-string-BXxSHhql.js → lz-string-DgqLqrsO.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +3 -3
- package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +6 -6
- package/dist/modules/print-template/store/print-template.d.ts +36 -36
- package/dist/{netsuite-QrjgLCzF.js → netsuite-ByBZj6uf.js} +55 -44
- package/dist/{number-BW3CMNw8.js → number-f4J4YlZT.js} +3 -3
- package/dist/{predefined-templates-BAl0dgvF.js → predefined-templates-BlmLhRsh.js} +1 -1
- package/dist/{purchase-order-template-BXiI76-R.js → purchase-order-template-BS94QDpg.js} +1 -1
- package/dist/{recalculationUtils-DryzcsyX.js → recalculationUtils-D0wl-tgM.js} +1 -1
- package/dist/{rules-uhOTzvDT.js → rules-Cpi5Vduo.js} +2 -2
- package/dist/{stock-DIzLmqOG.js → stock-BynB5KIH.js} +1 -1
- package/dist/{stock-CFigyCpv.js → stock-GYUDrBUF.js} +3 -3
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +22 -22
- package/dist/stores/inventory.d.ts +91 -91
- package/dist/stores/location.d.ts +28 -28
- package/dist/stores/stock.d.ts +3 -3
- package/dist/stores/supplier.d.ts +120 -120
- package/dist/stores/surcharge.d.ts +1 -1
- package/dist/stores/warehouse.d.ts +5 -5
- package/dist/{supplier-DnHSGzUP.js → supplier-BDpzWHvm.js} +2 -2
- package/dist/{surcharge-NTU0Whsq.js → surcharge-ztZ3mUE2.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BTeCOYD1.js → use-ingredient-select-dialog-xx_W7OyU.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C5dSHkMZ.js → use-inventory-binding-dialog-B_OV8CCL.js} +2 -2
- package/dist/{use-template-enabled-locations-Ba9BFrFN.js → use-template-enabled-locations-ByOi4t2R.js} +2 -2
- package/dist/{use-transfer-locations-D__VLxA7.js → use-transfer-locations-BOR-wq8s.js} +2 -2
- package/dist/{useHrmPermission-DMlbCSlp.js → useHrmPermission-BtXw89bp.js} +1 -1
- package/dist/{useNavigationMenu-jtnBmp0t.js → useNavigationMenu-Ds6IBfYX.js} +2 -2
- package/dist/{useSseClient-D8q23tYV.js → useSseClient-q5d7Qjrq.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -60
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/table.d.ts +66 -66
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +156 -156
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +55 -55
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +234 -234
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -8
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +132 -132
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +132 -132
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +2 -2
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +1 -1
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +9 -9
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +6 -6
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -32
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +4 -4
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +1 -1
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -8
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +32 -32
- package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +12 -12
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +60 -60
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +4 -4
- package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +152 -152
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +32 -32
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +64 -64
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +16 -16
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +221 -221
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1503 -1503
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1758 -1758
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +6 -6
- package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +90 -90
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +26 -26
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
- package/dist/views/supplier/composables/use-supplier-table.d.ts +5 -5
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +122 -122
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +18 -18
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +32 -32
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -16
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +16 -16
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +757 -757
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +755 -755
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
- package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +3 -3
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -10
- package/dist/{vue-i18n-8-OMxHzQ.js → vue-i18n-C35dl24s.js} +302 -302
- package/dist/{xlsx-BFjtlsJV.js → xlsx-CzLrFB_A.js} +1 -1
- package/dist/xlsx.util-osyDkxYO.js +101 -0
- package/package.json +5 -5
- package/dist/export-rvaYes9_.js +0 -25
- package/dist/xlsx.util-0LMGvDYM.js +0 -78
|
@@ -7,17 +7,17 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
7
7
|
importSuppliers(suppliers: (FdoSupplier | CreateType<FdoSupplier>)[]): Promise<void>;
|
|
8
8
|
init(): Promise<void>;
|
|
9
9
|
suppliers: import("vue").ComputedRef<{
|
|
10
|
-
phoneNumber?: string | null | undefined;
|
|
11
|
-
email?: string | null | undefined;
|
|
12
10
|
_rev?: string | null | undefined;
|
|
13
11
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
14
12
|
contactName?: string | null | undefined;
|
|
13
|
+
email?: string | null | undefined;
|
|
14
|
+
phoneNumber?: string | null | undefined;
|
|
15
15
|
supplyItems?: {
|
|
16
16
|
skuId: string;
|
|
17
17
|
defaultCost: {
|
|
18
18
|
measurement?: {
|
|
19
|
-
id: string;
|
|
20
19
|
name: string;
|
|
20
|
+
id: string;
|
|
21
21
|
abbrev: string;
|
|
22
22
|
conversion: {
|
|
23
23
|
amount: number;
|
|
@@ -32,11 +32,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
32
32
|
};
|
|
33
33
|
}[] | null | undefined;
|
|
34
34
|
preparationTime?: {
|
|
35
|
-
unit: "
|
|
35
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
36
36
|
value: number;
|
|
37
37
|
} | null | undefined;
|
|
38
38
|
_id: string;
|
|
39
39
|
name: string;
|
|
40
|
+
registrationNumber: string;
|
|
40
41
|
address: {
|
|
41
42
|
line2?: string | null | undefined;
|
|
42
43
|
line1: string;
|
|
@@ -45,20 +46,19 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
45
46
|
postcode: string;
|
|
46
47
|
country: string;
|
|
47
48
|
};
|
|
48
|
-
registrationNumber: string;
|
|
49
49
|
}[]>;
|
|
50
50
|
locationSuppliers: import("vue").Ref<{
|
|
51
|
-
phoneNumber?: string | null | undefined;
|
|
52
|
-
email?: string | null | undefined;
|
|
53
51
|
_rev?: string | null | undefined;
|
|
54
52
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
55
53
|
contactName?: string | null | undefined;
|
|
54
|
+
email?: string | null | undefined;
|
|
55
|
+
phoneNumber?: string | null | undefined;
|
|
56
56
|
supplyItems?: {
|
|
57
57
|
skuId: string;
|
|
58
58
|
defaultCost: {
|
|
59
59
|
measurement?: {
|
|
60
|
-
id: string;
|
|
61
60
|
name: string;
|
|
61
|
+
id: string;
|
|
62
62
|
abbrev: string;
|
|
63
63
|
conversion: {
|
|
64
64
|
amount: number;
|
|
@@ -73,11 +73,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
73
73
|
};
|
|
74
74
|
}[] | null | undefined;
|
|
75
75
|
preparationTime?: {
|
|
76
|
-
unit: "
|
|
76
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
77
77
|
value: number;
|
|
78
78
|
} | null | undefined;
|
|
79
79
|
_id: string;
|
|
80
80
|
name: string;
|
|
81
|
+
registrationNumber: string;
|
|
81
82
|
address: {
|
|
82
83
|
line2?: string | null | undefined;
|
|
83
84
|
line1: string;
|
|
@@ -86,19 +87,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
86
87
|
postcode: string;
|
|
87
88
|
country: string;
|
|
88
89
|
};
|
|
89
|
-
registrationNumber: string;
|
|
90
90
|
}[], {
|
|
91
|
-
phoneNumber?: string | null | undefined;
|
|
92
|
-
email?: string | null | undefined;
|
|
93
91
|
_rev?: string | null | undefined;
|
|
94
92
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
95
93
|
contactName?: string | null | undefined;
|
|
94
|
+
email?: string | null | undefined;
|
|
95
|
+
phoneNumber?: string | null | undefined;
|
|
96
96
|
supplyItems?: {
|
|
97
97
|
skuId: string;
|
|
98
98
|
defaultCost: {
|
|
99
99
|
measurement?: {
|
|
100
|
-
id: string;
|
|
101
100
|
name: string;
|
|
101
|
+
id: string;
|
|
102
102
|
abbrev: string;
|
|
103
103
|
conversion: {
|
|
104
104
|
amount: number;
|
|
@@ -113,11 +113,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
113
113
|
};
|
|
114
114
|
}[] | null | undefined;
|
|
115
115
|
preparationTime?: {
|
|
116
|
-
unit: "
|
|
116
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
117
117
|
value: number;
|
|
118
118
|
} | null | undefined;
|
|
119
119
|
_id: string;
|
|
120
120
|
name: string;
|
|
121
|
+
registrationNumber: string;
|
|
121
122
|
address: {
|
|
122
123
|
line2?: string | null | undefined;
|
|
123
124
|
line1: string;
|
|
@@ -126,19 +127,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
126
127
|
postcode: string;
|
|
127
128
|
country: string;
|
|
128
129
|
};
|
|
129
|
-
registrationNumber: string;
|
|
130
130
|
}[] | {
|
|
131
|
-
phoneNumber?: string | null | undefined;
|
|
132
|
-
email?: string | null | undefined;
|
|
133
131
|
_rev?: string | null | undefined;
|
|
134
132
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
135
133
|
contactName?: string | null | undefined;
|
|
134
|
+
email?: string | null | undefined;
|
|
135
|
+
phoneNumber?: string | null | undefined;
|
|
136
136
|
supplyItems?: {
|
|
137
137
|
skuId: string;
|
|
138
138
|
defaultCost: {
|
|
139
139
|
measurement?: {
|
|
140
|
-
id: string;
|
|
141
140
|
name: string;
|
|
141
|
+
id: string;
|
|
142
142
|
abbrev: string;
|
|
143
143
|
conversion: {
|
|
144
144
|
amount: number;
|
|
@@ -153,11 +153,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
153
153
|
};
|
|
154
154
|
}[] | null | undefined;
|
|
155
155
|
preparationTime?: {
|
|
156
|
-
unit: "
|
|
156
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
157
157
|
value: number;
|
|
158
158
|
} | null | undefined;
|
|
159
159
|
_id: string;
|
|
160
160
|
name: string;
|
|
161
|
+
registrationNumber: string;
|
|
161
162
|
address: {
|
|
162
163
|
line2?: string | null | undefined;
|
|
163
164
|
line1: string;
|
|
@@ -166,20 +167,19 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
166
167
|
postcode: string;
|
|
167
168
|
country: string;
|
|
168
169
|
};
|
|
169
|
-
registrationNumber: string;
|
|
170
170
|
}[]>;
|
|
171
171
|
businessSuppliers: import("vue").Ref<{
|
|
172
|
-
phoneNumber?: string | null | undefined;
|
|
173
|
-
email?: string | null | undefined;
|
|
174
172
|
_rev?: string | null | undefined;
|
|
175
173
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
176
174
|
contactName?: string | null | undefined;
|
|
175
|
+
email?: string | null | undefined;
|
|
176
|
+
phoneNumber?: string | null | undefined;
|
|
177
177
|
supplyItems?: {
|
|
178
178
|
skuId: string;
|
|
179
179
|
defaultCost: {
|
|
180
180
|
measurement?: {
|
|
181
|
-
id: string;
|
|
182
181
|
name: string;
|
|
182
|
+
id: string;
|
|
183
183
|
abbrev: string;
|
|
184
184
|
conversion: {
|
|
185
185
|
amount: number;
|
|
@@ -194,11 +194,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
194
194
|
};
|
|
195
195
|
}[] | null | undefined;
|
|
196
196
|
preparationTime?: {
|
|
197
|
-
unit: "
|
|
197
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
198
198
|
value: number;
|
|
199
199
|
} | null | undefined;
|
|
200
200
|
_id: string;
|
|
201
201
|
name: string;
|
|
202
|
+
registrationNumber: string;
|
|
202
203
|
address: {
|
|
203
204
|
line2?: string | null | undefined;
|
|
204
205
|
line1: string;
|
|
@@ -207,19 +208,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
207
208
|
postcode: string;
|
|
208
209
|
country: string;
|
|
209
210
|
};
|
|
210
|
-
registrationNumber: string;
|
|
211
211
|
}[], {
|
|
212
|
-
phoneNumber?: string | null | undefined;
|
|
213
|
-
email?: string | null | undefined;
|
|
214
212
|
_rev?: string | null | undefined;
|
|
215
213
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
216
214
|
contactName?: string | null | undefined;
|
|
215
|
+
email?: string | null | undefined;
|
|
216
|
+
phoneNumber?: string | null | undefined;
|
|
217
217
|
supplyItems?: {
|
|
218
218
|
skuId: string;
|
|
219
219
|
defaultCost: {
|
|
220
220
|
measurement?: {
|
|
221
|
-
id: string;
|
|
222
221
|
name: string;
|
|
222
|
+
id: string;
|
|
223
223
|
abbrev: string;
|
|
224
224
|
conversion: {
|
|
225
225
|
amount: number;
|
|
@@ -234,11 +234,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
234
234
|
};
|
|
235
235
|
}[] | null | undefined;
|
|
236
236
|
preparationTime?: {
|
|
237
|
-
unit: "
|
|
237
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
238
238
|
value: number;
|
|
239
239
|
} | null | undefined;
|
|
240
240
|
_id: string;
|
|
241
241
|
name: string;
|
|
242
|
+
registrationNumber: string;
|
|
242
243
|
address: {
|
|
243
244
|
line2?: string | null | undefined;
|
|
244
245
|
line1: string;
|
|
@@ -247,19 +248,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
247
248
|
postcode: string;
|
|
248
249
|
country: string;
|
|
249
250
|
};
|
|
250
|
-
registrationNumber: string;
|
|
251
251
|
}[] | {
|
|
252
|
-
phoneNumber?: string | null | undefined;
|
|
253
|
-
email?: string | null | undefined;
|
|
254
252
|
_rev?: string | null | undefined;
|
|
255
253
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
256
254
|
contactName?: string | null | undefined;
|
|
255
|
+
email?: string | null | undefined;
|
|
256
|
+
phoneNumber?: string | null | undefined;
|
|
257
257
|
supplyItems?: {
|
|
258
258
|
skuId: string;
|
|
259
259
|
defaultCost: {
|
|
260
260
|
measurement?: {
|
|
261
|
-
id: string;
|
|
262
261
|
name: string;
|
|
262
|
+
id: string;
|
|
263
263
|
abbrev: string;
|
|
264
264
|
conversion: {
|
|
265
265
|
amount: number;
|
|
@@ -274,11 +274,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
274
274
|
};
|
|
275
275
|
}[] | null | undefined;
|
|
276
276
|
preparationTime?: {
|
|
277
|
-
unit: "
|
|
277
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
278
278
|
value: number;
|
|
279
279
|
} | null | undefined;
|
|
280
280
|
_id: string;
|
|
281
281
|
name: string;
|
|
282
|
+
registrationNumber: string;
|
|
282
283
|
address: {
|
|
283
284
|
line2?: string | null | undefined;
|
|
284
285
|
line1: string;
|
|
@@ -287,21 +288,20 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
287
288
|
postcode: string;
|
|
288
289
|
country: string;
|
|
289
290
|
};
|
|
290
|
-
registrationNumber: string;
|
|
291
291
|
}[]>;
|
|
292
292
|
supplierById: import("vue").ComputedRef<{
|
|
293
293
|
[key: string]: {
|
|
294
|
-
phoneNumber?: string | null | undefined;
|
|
295
|
-
email?: string | null | undefined;
|
|
296
294
|
_rev?: string | null | undefined;
|
|
297
295
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
298
296
|
contactName?: string | null | undefined;
|
|
297
|
+
email?: string | null | undefined;
|
|
298
|
+
phoneNumber?: string | null | undefined;
|
|
299
299
|
supplyItems?: {
|
|
300
300
|
skuId: string;
|
|
301
301
|
defaultCost: {
|
|
302
302
|
measurement?: {
|
|
303
|
-
id: string;
|
|
304
303
|
name: string;
|
|
304
|
+
id: string;
|
|
305
305
|
abbrev: string;
|
|
306
306
|
conversion: {
|
|
307
307
|
amount: number;
|
|
@@ -316,11 +316,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
316
316
|
};
|
|
317
317
|
}[] | null | undefined;
|
|
318
318
|
preparationTime?: {
|
|
319
|
-
unit: "
|
|
319
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
320
320
|
value: number;
|
|
321
321
|
} | null | undefined;
|
|
322
322
|
_id: string;
|
|
323
323
|
name: string;
|
|
324
|
+
registrationNumber: string;
|
|
324
325
|
address: {
|
|
325
326
|
line2?: string | null | undefined;
|
|
326
327
|
line1: string;
|
|
@@ -329,7 +330,6 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
329
330
|
postcode: string;
|
|
330
331
|
country: string;
|
|
331
332
|
};
|
|
332
|
-
registrationNumber: string;
|
|
333
333
|
};
|
|
334
334
|
}>;
|
|
335
335
|
}, "locationSuppliers" | "businessSuppliers">>, Pick<{
|
|
@@ -340,17 +340,17 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
340
340
|
importSuppliers(suppliers: (FdoSupplier | CreateType<FdoSupplier>)[]): Promise<void>;
|
|
341
341
|
init(): Promise<void>;
|
|
342
342
|
suppliers: import("vue").ComputedRef<{
|
|
343
|
-
phoneNumber?: string | null | undefined;
|
|
344
|
-
email?: string | null | undefined;
|
|
345
343
|
_rev?: string | null | undefined;
|
|
346
344
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
347
345
|
contactName?: string | null | undefined;
|
|
346
|
+
email?: string | null | undefined;
|
|
347
|
+
phoneNumber?: string | null | undefined;
|
|
348
348
|
supplyItems?: {
|
|
349
349
|
skuId: string;
|
|
350
350
|
defaultCost: {
|
|
351
351
|
measurement?: {
|
|
352
|
-
id: string;
|
|
353
352
|
name: string;
|
|
353
|
+
id: string;
|
|
354
354
|
abbrev: string;
|
|
355
355
|
conversion: {
|
|
356
356
|
amount: number;
|
|
@@ -365,11 +365,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
365
365
|
};
|
|
366
366
|
}[] | null | undefined;
|
|
367
367
|
preparationTime?: {
|
|
368
|
-
unit: "
|
|
368
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
369
369
|
value: number;
|
|
370
370
|
} | null | undefined;
|
|
371
371
|
_id: string;
|
|
372
372
|
name: string;
|
|
373
|
+
registrationNumber: string;
|
|
373
374
|
address: {
|
|
374
375
|
line2?: string | null | undefined;
|
|
375
376
|
line1: string;
|
|
@@ -378,20 +379,19 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
378
379
|
postcode: string;
|
|
379
380
|
country: string;
|
|
380
381
|
};
|
|
381
|
-
registrationNumber: string;
|
|
382
382
|
}[]>;
|
|
383
383
|
locationSuppliers: import("vue").Ref<{
|
|
384
|
-
phoneNumber?: string | null | undefined;
|
|
385
|
-
email?: string | null | undefined;
|
|
386
384
|
_rev?: string | null | undefined;
|
|
387
385
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
388
386
|
contactName?: string | null | undefined;
|
|
387
|
+
email?: string | null | undefined;
|
|
388
|
+
phoneNumber?: string | null | undefined;
|
|
389
389
|
supplyItems?: {
|
|
390
390
|
skuId: string;
|
|
391
391
|
defaultCost: {
|
|
392
392
|
measurement?: {
|
|
393
|
-
id: string;
|
|
394
393
|
name: string;
|
|
394
|
+
id: string;
|
|
395
395
|
abbrev: string;
|
|
396
396
|
conversion: {
|
|
397
397
|
amount: number;
|
|
@@ -406,11 +406,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
406
406
|
};
|
|
407
407
|
}[] | null | undefined;
|
|
408
408
|
preparationTime?: {
|
|
409
|
-
unit: "
|
|
409
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
410
410
|
value: number;
|
|
411
411
|
} | null | undefined;
|
|
412
412
|
_id: string;
|
|
413
413
|
name: string;
|
|
414
|
+
registrationNumber: string;
|
|
414
415
|
address: {
|
|
415
416
|
line2?: string | null | undefined;
|
|
416
417
|
line1: string;
|
|
@@ -419,19 +420,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
419
420
|
postcode: string;
|
|
420
421
|
country: string;
|
|
421
422
|
};
|
|
422
|
-
registrationNumber: string;
|
|
423
423
|
}[], {
|
|
424
|
-
phoneNumber?: string | null | undefined;
|
|
425
|
-
email?: string | null | undefined;
|
|
426
424
|
_rev?: string | null | undefined;
|
|
427
425
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
428
426
|
contactName?: string | null | undefined;
|
|
427
|
+
email?: string | null | undefined;
|
|
428
|
+
phoneNumber?: string | null | undefined;
|
|
429
429
|
supplyItems?: {
|
|
430
430
|
skuId: string;
|
|
431
431
|
defaultCost: {
|
|
432
432
|
measurement?: {
|
|
433
|
-
id: string;
|
|
434
433
|
name: string;
|
|
434
|
+
id: string;
|
|
435
435
|
abbrev: string;
|
|
436
436
|
conversion: {
|
|
437
437
|
amount: number;
|
|
@@ -446,11 +446,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
446
446
|
};
|
|
447
447
|
}[] | null | undefined;
|
|
448
448
|
preparationTime?: {
|
|
449
|
-
unit: "
|
|
449
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
450
450
|
value: number;
|
|
451
451
|
} | null | undefined;
|
|
452
452
|
_id: string;
|
|
453
453
|
name: string;
|
|
454
|
+
registrationNumber: string;
|
|
454
455
|
address: {
|
|
455
456
|
line2?: string | null | undefined;
|
|
456
457
|
line1: string;
|
|
@@ -459,19 +460,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
459
460
|
postcode: string;
|
|
460
461
|
country: string;
|
|
461
462
|
};
|
|
462
|
-
registrationNumber: string;
|
|
463
463
|
}[] | {
|
|
464
|
-
phoneNumber?: string | null | undefined;
|
|
465
|
-
email?: string | null | undefined;
|
|
466
464
|
_rev?: string | null | undefined;
|
|
467
465
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
468
466
|
contactName?: string | null | undefined;
|
|
467
|
+
email?: string | null | undefined;
|
|
468
|
+
phoneNumber?: string | null | undefined;
|
|
469
469
|
supplyItems?: {
|
|
470
470
|
skuId: string;
|
|
471
471
|
defaultCost: {
|
|
472
472
|
measurement?: {
|
|
473
|
-
id: string;
|
|
474
473
|
name: string;
|
|
474
|
+
id: string;
|
|
475
475
|
abbrev: string;
|
|
476
476
|
conversion: {
|
|
477
477
|
amount: number;
|
|
@@ -486,11 +486,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
486
486
|
};
|
|
487
487
|
}[] | null | undefined;
|
|
488
488
|
preparationTime?: {
|
|
489
|
-
unit: "
|
|
489
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
490
490
|
value: number;
|
|
491
491
|
} | null | undefined;
|
|
492
492
|
_id: string;
|
|
493
493
|
name: string;
|
|
494
|
+
registrationNumber: string;
|
|
494
495
|
address: {
|
|
495
496
|
line2?: string | null | undefined;
|
|
496
497
|
line1: string;
|
|
@@ -499,20 +500,19 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
499
500
|
postcode: string;
|
|
500
501
|
country: string;
|
|
501
502
|
};
|
|
502
|
-
registrationNumber: string;
|
|
503
503
|
}[]>;
|
|
504
504
|
businessSuppliers: import("vue").Ref<{
|
|
505
|
-
phoneNumber?: string | null | undefined;
|
|
506
|
-
email?: string | null | undefined;
|
|
507
505
|
_rev?: string | null | undefined;
|
|
508
506
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
509
507
|
contactName?: string | null | undefined;
|
|
508
|
+
email?: string | null | undefined;
|
|
509
|
+
phoneNumber?: string | null | undefined;
|
|
510
510
|
supplyItems?: {
|
|
511
511
|
skuId: string;
|
|
512
512
|
defaultCost: {
|
|
513
513
|
measurement?: {
|
|
514
|
-
id: string;
|
|
515
514
|
name: string;
|
|
515
|
+
id: string;
|
|
516
516
|
abbrev: string;
|
|
517
517
|
conversion: {
|
|
518
518
|
amount: number;
|
|
@@ -527,11 +527,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
527
527
|
};
|
|
528
528
|
}[] | null | undefined;
|
|
529
529
|
preparationTime?: {
|
|
530
|
-
unit: "
|
|
530
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
531
531
|
value: number;
|
|
532
532
|
} | null | undefined;
|
|
533
533
|
_id: string;
|
|
534
534
|
name: string;
|
|
535
|
+
registrationNumber: string;
|
|
535
536
|
address: {
|
|
536
537
|
line2?: string | null | undefined;
|
|
537
538
|
line1: string;
|
|
@@ -540,19 +541,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
540
541
|
postcode: string;
|
|
541
542
|
country: string;
|
|
542
543
|
};
|
|
543
|
-
registrationNumber: string;
|
|
544
544
|
}[], {
|
|
545
|
-
phoneNumber?: string | null | undefined;
|
|
546
|
-
email?: string | null | undefined;
|
|
547
545
|
_rev?: string | null | undefined;
|
|
548
546
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
549
547
|
contactName?: string | null | undefined;
|
|
548
|
+
email?: string | null | undefined;
|
|
549
|
+
phoneNumber?: string | null | undefined;
|
|
550
550
|
supplyItems?: {
|
|
551
551
|
skuId: string;
|
|
552
552
|
defaultCost: {
|
|
553
553
|
measurement?: {
|
|
554
|
-
id: string;
|
|
555
554
|
name: string;
|
|
555
|
+
id: string;
|
|
556
556
|
abbrev: string;
|
|
557
557
|
conversion: {
|
|
558
558
|
amount: number;
|
|
@@ -567,11 +567,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
567
567
|
};
|
|
568
568
|
}[] | null | undefined;
|
|
569
569
|
preparationTime?: {
|
|
570
|
-
unit: "
|
|
570
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
571
571
|
value: number;
|
|
572
572
|
} | null | undefined;
|
|
573
573
|
_id: string;
|
|
574
574
|
name: string;
|
|
575
|
+
registrationNumber: string;
|
|
575
576
|
address: {
|
|
576
577
|
line2?: string | null | undefined;
|
|
577
578
|
line1: string;
|
|
@@ -580,19 +581,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
580
581
|
postcode: string;
|
|
581
582
|
country: string;
|
|
582
583
|
};
|
|
583
|
-
registrationNumber: string;
|
|
584
584
|
}[] | {
|
|
585
|
-
phoneNumber?: string | null | undefined;
|
|
586
|
-
email?: string | null | undefined;
|
|
587
585
|
_rev?: string | null | undefined;
|
|
588
586
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
589
587
|
contactName?: string | null | undefined;
|
|
588
|
+
email?: string | null | undefined;
|
|
589
|
+
phoneNumber?: string | null | undefined;
|
|
590
590
|
supplyItems?: {
|
|
591
591
|
skuId: string;
|
|
592
592
|
defaultCost: {
|
|
593
593
|
measurement?: {
|
|
594
|
-
id: string;
|
|
595
594
|
name: string;
|
|
595
|
+
id: string;
|
|
596
596
|
abbrev: string;
|
|
597
597
|
conversion: {
|
|
598
598
|
amount: number;
|
|
@@ -607,11 +607,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
607
607
|
};
|
|
608
608
|
}[] | null | undefined;
|
|
609
609
|
preparationTime?: {
|
|
610
|
-
unit: "
|
|
610
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
611
611
|
value: number;
|
|
612
612
|
} | null | undefined;
|
|
613
613
|
_id: string;
|
|
614
614
|
name: string;
|
|
615
|
+
registrationNumber: string;
|
|
615
616
|
address: {
|
|
616
617
|
line2?: string | null | undefined;
|
|
617
618
|
line1: string;
|
|
@@ -620,21 +621,20 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
620
621
|
postcode: string;
|
|
621
622
|
country: string;
|
|
622
623
|
};
|
|
623
|
-
registrationNumber: string;
|
|
624
624
|
}[]>;
|
|
625
625
|
supplierById: import("vue").ComputedRef<{
|
|
626
626
|
[key: string]: {
|
|
627
|
-
phoneNumber?: string | null | undefined;
|
|
628
|
-
email?: string | null | undefined;
|
|
629
627
|
_rev?: string | null | undefined;
|
|
630
628
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
631
629
|
contactName?: string | null | undefined;
|
|
630
|
+
email?: string | null | undefined;
|
|
631
|
+
phoneNumber?: string | null | undefined;
|
|
632
632
|
supplyItems?: {
|
|
633
633
|
skuId: string;
|
|
634
634
|
defaultCost: {
|
|
635
635
|
measurement?: {
|
|
636
|
-
id: string;
|
|
637
636
|
name: string;
|
|
637
|
+
id: string;
|
|
638
638
|
abbrev: string;
|
|
639
639
|
conversion: {
|
|
640
640
|
amount: number;
|
|
@@ -649,11 +649,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
649
649
|
};
|
|
650
650
|
}[] | null | undefined;
|
|
651
651
|
preparationTime?: {
|
|
652
|
-
unit: "
|
|
652
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
653
653
|
value: number;
|
|
654
654
|
} | null | undefined;
|
|
655
655
|
_id: string;
|
|
656
656
|
name: string;
|
|
657
|
+
registrationNumber: string;
|
|
657
658
|
address: {
|
|
658
659
|
line2?: string | null | undefined;
|
|
659
660
|
line1: string;
|
|
@@ -662,7 +663,6 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
662
663
|
postcode: string;
|
|
663
664
|
country: string;
|
|
664
665
|
};
|
|
665
|
-
registrationNumber: string;
|
|
666
666
|
};
|
|
667
667
|
}>;
|
|
668
668
|
}, "suppliers" | "supplierById">, Pick<{
|
|
@@ -673,17 +673,17 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
673
673
|
importSuppliers(suppliers: (FdoSupplier | CreateType<FdoSupplier>)[]): Promise<void>;
|
|
674
674
|
init(): Promise<void>;
|
|
675
675
|
suppliers: import("vue").ComputedRef<{
|
|
676
|
-
phoneNumber?: string | null | undefined;
|
|
677
|
-
email?: string | null | undefined;
|
|
678
676
|
_rev?: string | null | undefined;
|
|
679
677
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
680
678
|
contactName?: string | null | undefined;
|
|
679
|
+
email?: string | null | undefined;
|
|
680
|
+
phoneNumber?: string | null | undefined;
|
|
681
681
|
supplyItems?: {
|
|
682
682
|
skuId: string;
|
|
683
683
|
defaultCost: {
|
|
684
684
|
measurement?: {
|
|
685
|
-
id: string;
|
|
686
685
|
name: string;
|
|
686
|
+
id: string;
|
|
687
687
|
abbrev: string;
|
|
688
688
|
conversion: {
|
|
689
689
|
amount: number;
|
|
@@ -698,11 +698,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
698
698
|
};
|
|
699
699
|
}[] | null | undefined;
|
|
700
700
|
preparationTime?: {
|
|
701
|
-
unit: "
|
|
701
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
702
702
|
value: number;
|
|
703
703
|
} | null | undefined;
|
|
704
704
|
_id: string;
|
|
705
705
|
name: string;
|
|
706
|
+
registrationNumber: string;
|
|
706
707
|
address: {
|
|
707
708
|
line2?: string | null | undefined;
|
|
708
709
|
line1: string;
|
|
@@ -711,20 +712,19 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
711
712
|
postcode: string;
|
|
712
713
|
country: string;
|
|
713
714
|
};
|
|
714
|
-
registrationNumber: string;
|
|
715
715
|
}[]>;
|
|
716
716
|
locationSuppliers: import("vue").Ref<{
|
|
717
|
-
phoneNumber?: string | null | undefined;
|
|
718
|
-
email?: string | null | undefined;
|
|
719
717
|
_rev?: string | null | undefined;
|
|
720
718
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
721
719
|
contactName?: string | null | undefined;
|
|
720
|
+
email?: string | null | undefined;
|
|
721
|
+
phoneNumber?: string | null | undefined;
|
|
722
722
|
supplyItems?: {
|
|
723
723
|
skuId: string;
|
|
724
724
|
defaultCost: {
|
|
725
725
|
measurement?: {
|
|
726
|
-
id: string;
|
|
727
726
|
name: string;
|
|
727
|
+
id: string;
|
|
728
728
|
abbrev: string;
|
|
729
729
|
conversion: {
|
|
730
730
|
amount: number;
|
|
@@ -739,11 +739,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
739
739
|
};
|
|
740
740
|
}[] | null | undefined;
|
|
741
741
|
preparationTime?: {
|
|
742
|
-
unit: "
|
|
742
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
743
743
|
value: number;
|
|
744
744
|
} | null | undefined;
|
|
745
745
|
_id: string;
|
|
746
746
|
name: string;
|
|
747
|
+
registrationNumber: string;
|
|
747
748
|
address: {
|
|
748
749
|
line2?: string | null | undefined;
|
|
749
750
|
line1: string;
|
|
@@ -752,19 +753,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
752
753
|
postcode: string;
|
|
753
754
|
country: string;
|
|
754
755
|
};
|
|
755
|
-
registrationNumber: string;
|
|
756
756
|
}[], {
|
|
757
|
-
phoneNumber?: string | null | undefined;
|
|
758
|
-
email?: string | null | undefined;
|
|
759
757
|
_rev?: string | null | undefined;
|
|
760
758
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
761
759
|
contactName?: string | null | undefined;
|
|
760
|
+
email?: string | null | undefined;
|
|
761
|
+
phoneNumber?: string | null | undefined;
|
|
762
762
|
supplyItems?: {
|
|
763
763
|
skuId: string;
|
|
764
764
|
defaultCost: {
|
|
765
765
|
measurement?: {
|
|
766
|
-
id: string;
|
|
767
766
|
name: string;
|
|
767
|
+
id: string;
|
|
768
768
|
abbrev: string;
|
|
769
769
|
conversion: {
|
|
770
770
|
amount: number;
|
|
@@ -779,11 +779,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
779
779
|
};
|
|
780
780
|
}[] | null | undefined;
|
|
781
781
|
preparationTime?: {
|
|
782
|
-
unit: "
|
|
782
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
783
783
|
value: number;
|
|
784
784
|
} | null | undefined;
|
|
785
785
|
_id: string;
|
|
786
786
|
name: string;
|
|
787
|
+
registrationNumber: string;
|
|
787
788
|
address: {
|
|
788
789
|
line2?: string | null | undefined;
|
|
789
790
|
line1: string;
|
|
@@ -792,19 +793,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
792
793
|
postcode: string;
|
|
793
794
|
country: string;
|
|
794
795
|
};
|
|
795
|
-
registrationNumber: string;
|
|
796
796
|
}[] | {
|
|
797
|
-
phoneNumber?: string | null | undefined;
|
|
798
|
-
email?: string | null | undefined;
|
|
799
797
|
_rev?: string | null | undefined;
|
|
800
798
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
801
799
|
contactName?: string | null | undefined;
|
|
800
|
+
email?: string | null | undefined;
|
|
801
|
+
phoneNumber?: string | null | undefined;
|
|
802
802
|
supplyItems?: {
|
|
803
803
|
skuId: string;
|
|
804
804
|
defaultCost: {
|
|
805
805
|
measurement?: {
|
|
806
|
-
id: string;
|
|
807
806
|
name: string;
|
|
807
|
+
id: string;
|
|
808
808
|
abbrev: string;
|
|
809
809
|
conversion: {
|
|
810
810
|
amount: number;
|
|
@@ -819,11 +819,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
819
819
|
};
|
|
820
820
|
}[] | null | undefined;
|
|
821
821
|
preparationTime?: {
|
|
822
|
-
unit: "
|
|
822
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
823
823
|
value: number;
|
|
824
824
|
} | null | undefined;
|
|
825
825
|
_id: string;
|
|
826
826
|
name: string;
|
|
827
|
+
registrationNumber: string;
|
|
827
828
|
address: {
|
|
828
829
|
line2?: string | null | undefined;
|
|
829
830
|
line1: string;
|
|
@@ -832,20 +833,19 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
832
833
|
postcode: string;
|
|
833
834
|
country: string;
|
|
834
835
|
};
|
|
835
|
-
registrationNumber: string;
|
|
836
836
|
}[]>;
|
|
837
837
|
businessSuppliers: import("vue").Ref<{
|
|
838
|
-
phoneNumber?: string | null | undefined;
|
|
839
|
-
email?: string | null | undefined;
|
|
840
838
|
_rev?: string | null | undefined;
|
|
841
839
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
842
840
|
contactName?: string | null | undefined;
|
|
841
|
+
email?: string | null | undefined;
|
|
842
|
+
phoneNumber?: string | null | undefined;
|
|
843
843
|
supplyItems?: {
|
|
844
844
|
skuId: string;
|
|
845
845
|
defaultCost: {
|
|
846
846
|
measurement?: {
|
|
847
|
-
id: string;
|
|
848
847
|
name: string;
|
|
848
|
+
id: string;
|
|
849
849
|
abbrev: string;
|
|
850
850
|
conversion: {
|
|
851
851
|
amount: number;
|
|
@@ -860,11 +860,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
860
860
|
};
|
|
861
861
|
}[] | null | undefined;
|
|
862
862
|
preparationTime?: {
|
|
863
|
-
unit: "
|
|
863
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
864
864
|
value: number;
|
|
865
865
|
} | null | undefined;
|
|
866
866
|
_id: string;
|
|
867
867
|
name: string;
|
|
868
|
+
registrationNumber: string;
|
|
868
869
|
address: {
|
|
869
870
|
line2?: string | null | undefined;
|
|
870
871
|
line1: string;
|
|
@@ -873,19 +874,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
873
874
|
postcode: string;
|
|
874
875
|
country: string;
|
|
875
876
|
};
|
|
876
|
-
registrationNumber: string;
|
|
877
877
|
}[], {
|
|
878
|
-
phoneNumber?: string | null | undefined;
|
|
879
|
-
email?: string | null | undefined;
|
|
880
878
|
_rev?: string | null | undefined;
|
|
881
879
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
882
880
|
contactName?: string | null | undefined;
|
|
881
|
+
email?: string | null | undefined;
|
|
882
|
+
phoneNumber?: string | null | undefined;
|
|
883
883
|
supplyItems?: {
|
|
884
884
|
skuId: string;
|
|
885
885
|
defaultCost: {
|
|
886
886
|
measurement?: {
|
|
887
|
-
id: string;
|
|
888
887
|
name: string;
|
|
888
|
+
id: string;
|
|
889
889
|
abbrev: string;
|
|
890
890
|
conversion: {
|
|
891
891
|
amount: number;
|
|
@@ -900,11 +900,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
900
900
|
};
|
|
901
901
|
}[] | null | undefined;
|
|
902
902
|
preparationTime?: {
|
|
903
|
-
unit: "
|
|
903
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
904
904
|
value: number;
|
|
905
905
|
} | null | undefined;
|
|
906
906
|
_id: string;
|
|
907
907
|
name: string;
|
|
908
|
+
registrationNumber: string;
|
|
908
909
|
address: {
|
|
909
910
|
line2?: string | null | undefined;
|
|
910
911
|
line1: string;
|
|
@@ -913,19 +914,18 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
913
914
|
postcode: string;
|
|
914
915
|
country: string;
|
|
915
916
|
};
|
|
916
|
-
registrationNumber: string;
|
|
917
917
|
}[] | {
|
|
918
|
-
phoneNumber?: string | null | undefined;
|
|
919
|
-
email?: string | null | undefined;
|
|
920
918
|
_rev?: string | null | undefined;
|
|
921
919
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
922
920
|
contactName?: string | null | undefined;
|
|
921
|
+
email?: string | null | undefined;
|
|
922
|
+
phoneNumber?: string | null | undefined;
|
|
923
923
|
supplyItems?: {
|
|
924
924
|
skuId: string;
|
|
925
925
|
defaultCost: {
|
|
926
926
|
measurement?: {
|
|
927
|
-
id: string;
|
|
928
927
|
name: string;
|
|
928
|
+
id: string;
|
|
929
929
|
abbrev: string;
|
|
930
930
|
conversion: {
|
|
931
931
|
amount: number;
|
|
@@ -940,11 +940,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
940
940
|
};
|
|
941
941
|
}[] | null | undefined;
|
|
942
942
|
preparationTime?: {
|
|
943
|
-
unit: "
|
|
943
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
944
944
|
value: number;
|
|
945
945
|
} | null | undefined;
|
|
946
946
|
_id: string;
|
|
947
947
|
name: string;
|
|
948
|
+
registrationNumber: string;
|
|
948
949
|
address: {
|
|
949
950
|
line2?: string | null | undefined;
|
|
950
951
|
line1: string;
|
|
@@ -953,21 +954,20 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
953
954
|
postcode: string;
|
|
954
955
|
country: string;
|
|
955
956
|
};
|
|
956
|
-
registrationNumber: string;
|
|
957
957
|
}[]>;
|
|
958
958
|
supplierById: import("vue").ComputedRef<{
|
|
959
959
|
[key: string]: {
|
|
960
|
-
phoneNumber?: string | null | undefined;
|
|
961
|
-
email?: string | null | undefined;
|
|
962
960
|
_rev?: string | null | undefined;
|
|
963
961
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
964
962
|
contactName?: string | null | undefined;
|
|
963
|
+
email?: string | null | undefined;
|
|
964
|
+
phoneNumber?: string | null | undefined;
|
|
965
965
|
supplyItems?: {
|
|
966
966
|
skuId: string;
|
|
967
967
|
defaultCost: {
|
|
968
968
|
measurement?: {
|
|
969
|
-
id: string;
|
|
970
969
|
name: string;
|
|
970
|
+
id: string;
|
|
971
971
|
abbrev: string;
|
|
972
972
|
conversion: {
|
|
973
973
|
amount: number;
|
|
@@ -982,11 +982,12 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
982
982
|
};
|
|
983
983
|
}[] | null | undefined;
|
|
984
984
|
preparationTime?: {
|
|
985
|
-
unit: "
|
|
985
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
986
986
|
value: number;
|
|
987
987
|
} | null | undefined;
|
|
988
988
|
_id: string;
|
|
989
989
|
name: string;
|
|
990
|
+
registrationNumber: string;
|
|
990
991
|
address: {
|
|
991
992
|
line2?: string | null | undefined;
|
|
992
993
|
line1: string;
|
|
@@ -995,7 +996,6 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
995
996
|
postcode: string;
|
|
996
997
|
country: string;
|
|
997
998
|
};
|
|
998
|
-
registrationNumber: string;
|
|
999
999
|
};
|
|
1000
1000
|
}>;
|
|
1001
1001
|
}, "init" | "readSuppliers" | "createSupplier" | "updateSupplier" | "deleteSupplier" | "importSuppliers">>;
|