@feedmepos/mf-inventory-portal 1.0.7 → 1.0.8-dev.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-DF14rGlK.js → App-VjopKXRf.js} +50 -49
- package/dist/{ApprovalView-C_xhq-_c.js → ApprovalView-Bc8OqfVg.js} +24 -24
- package/dist/{BindingsDialog-CCY1fDj8.js → BindingsDialog-zWAOfSXc.js} +4 -4
- package/dist/{BindingsPicker-CnXbK5O3.js → BindingsPicker-Bf5LuJiL.js} +6 -6
- package/dist/{BindingsTable-cQIUUuVv.js → BindingsTable-D2N-3mnJ.js} +8 -8
- package/dist/{ClosingDraftView-DUZ31x3s.js → ClosingDraftView-BwbzajJY.js} +464 -463
- package/dist/{ClosingTemplateView-6ysEDEcV.js → ClosingTemplateView-CsAIbfui.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-BGjFS8h7.js → DeliveryOrderPrintPreview-CjylpaJj.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CanJ2fzb.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C_xdzdLD.js} +32 -32
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BcKtJQMt.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DhgHX4S_.js} +86 -86
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bb9xMoX-.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DPa8Pto8.js} +1 -1
- package/dist/{IngredientGroupView-i08KHlW7.js → IngredientGroupView-D6YzbWdd.js} +11 -11
- package/dist/{IngredientsView-D0tBukwK.js → IngredientsView-g-73afqm.js} +15 -14
- package/dist/{IntegrationView-BqCrKL13.js → IntegrationView-CEML0dP4.js} +86 -85
- package/dist/{InventoryBindingForm-BJwIFQVS.js → InventoryBindingForm-E0wJOA8L.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DU9j1Q8M.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DFXmypAs.js} +27 -27
- package/dist/{InventoryBindingSummary-B2M3Th8T.js → InventoryBindingSummary-sBQvAPBw.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BH4A_Lc5.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DOeDgymo.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CdxCyEBi.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DIqYY1-C.js} +10 -10
- package/dist/{PublishView-B9x92vDM.js → PublishView-D_psCmiQ.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-MbGDNmgh.js → PurchaseOrderPrintPreview-5QqjPwWN.js} +4 -4
- package/dist/{ReceiveRequestView-CTNycYUr.js → ReceiveRequestView-CBGxqac6.js} +53 -52
- package/dist/{RecipeView-sHTcJgzP.js → RecipeView-BAjHNWST.js} +32 -32
- package/dist/{StockView-CUv4dcGJ.js → StockView-Bc62jbCV.js} +73 -72
- package/dist/{SupplierView-hu6OhDss.js → SupplierView-Cyucz_US.js} +159 -159
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CljJoB4v.js +1895 -0
- package/dist/{TransferTemplateView-DMSkUc0D.js → TransferTemplateView-BWURlmou.js} +291 -290
- package/dist/{UnitView-B5q7IVbT.js → UnitView-cjLpKfoN.js} +23 -23
- package/dist/{WarehouseView-Ds6z4Vz6.js → WarehouseView-CUtg5Aiw.js} +26 -26
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +44 -44
- package/dist/api/netsuite.d.ts +3 -3
- package/dist/api/purchase-order.d.ts +5 -1
- package/dist/{app-BmsY87Mv.js → app-Dgg5mqsW.js} +17155 -17625
- package/dist/app.d.ts +7 -7
- package/dist/app.js +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +8 -8
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +5 -5
- package/dist/composable/usePromise.d.ts +41 -0
- package/dist/{decimal-Baw9w4_A.js → decimal-DcqP_fAm.js} +1 -1
- package/dist/feature-C4mZ_d2m.js +17352 -0
- package/dist/{format-unit-display-D0_KiU3j.js → format-unit-display-D2Uk9Ze_.js} +60 -60
- package/dist/{index-CDydl7WA.js → index-YuTB_T1B.js} +1 -1
- package/dist/{index-C_GU5Tc8.js → index-peSGn9vg.js} +7 -6
- package/dist/{stock-C-hm8Kdq.js → stock-CDP8ZqBZ.js} +1 -1
- package/dist/stores/feature.d.ts +3 -20
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +7 -7
- package/dist/stores/inventory.d.ts +44 -44
- package/dist/stores/location.d.ts +137 -137
- package/dist/{supplier-RX_yr24c.js → supplier-C5GbDMxT.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BZhczMUl.js → use-ingredient-select-dialog-nH01sayt.js} +1 -1
- package/dist/{use-inventory-binding-dialog-dV-92pLe.js → use-inventory-binding-dialog-CJe6QdGb.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +228 -228
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
- package/dist/views/adjustment-template/wastage-template/table.d.ts +234 -234
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +68 -68
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +408 -408
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +4 -4
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +252 -252
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +252 -252
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -12
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -8
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +3 -3
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +4 -4
- 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/AddLocationDialog.vue.d.ts +204 -204
- package/dist/views/integration/components/netsuite/LocationConfigurationDialog.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +665 -637
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +22 -22
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +44 -44
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +11 -11
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +614 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1190 -1142
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1192 -1144
- package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +6 -0
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +14 -14
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +22 -22
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +17 -17
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +11 -11
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +805 -805
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +805 -805
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
- package/dist/{vue-i18n-sbHu6D5a.js → vue-i18n-NNRWZURD.js} +284 -284
- package/package.json +5 -3
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CCKlQGMf.js +0 -1746
|
@@ -81,12 +81,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
81
81
|
precision: number;
|
|
82
82
|
};
|
|
83
83
|
} | null | undefined;
|
|
84
|
+
id: string;
|
|
84
85
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
85
86
|
amount: {
|
|
86
87
|
amount: number;
|
|
87
88
|
precision: number;
|
|
88
89
|
};
|
|
89
|
-
id: string;
|
|
90
90
|
}[] | null | undefined;
|
|
91
91
|
} | null | undefined;
|
|
92
92
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -112,6 +112,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
112
112
|
mid: number;
|
|
113
113
|
} | null | undefined;
|
|
114
114
|
customAttributes?: Record<string, any> | null | undefined;
|
|
115
|
+
_id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
code: string;
|
|
115
118
|
unit: {
|
|
116
119
|
_id: string;
|
|
117
120
|
name: string;
|
|
@@ -127,15 +130,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
127
130
|
};
|
|
128
131
|
}[];
|
|
129
132
|
};
|
|
130
|
-
code: string;
|
|
131
|
-
_id: string;
|
|
132
|
-
name: string;
|
|
133
133
|
};
|
|
134
134
|
baseAmount: {
|
|
135
135
|
amount: number;
|
|
136
136
|
precision: number;
|
|
137
137
|
};
|
|
138
138
|
measurementsAmounts: {
|
|
139
|
+
amount: {
|
|
140
|
+
amount: number;
|
|
141
|
+
precision: number;
|
|
142
|
+
};
|
|
139
143
|
measurement: {
|
|
140
144
|
id: string;
|
|
141
145
|
name: string;
|
|
@@ -145,14 +149,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
145
149
|
precision: number;
|
|
146
150
|
};
|
|
147
151
|
};
|
|
148
|
-
amount: {
|
|
149
|
-
amount: number;
|
|
150
|
-
precision: number;
|
|
151
|
-
};
|
|
152
152
|
}[];
|
|
153
153
|
}[] | null | undefined;
|
|
154
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
155
154
|
_id: string;
|
|
155
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
156
156
|
items: {
|
|
157
157
|
remark?: string | null | undefined;
|
|
158
158
|
sku: {
|
|
@@ -169,12 +169,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
169
169
|
precision: number;
|
|
170
170
|
};
|
|
171
171
|
} | null | undefined;
|
|
172
|
+
id: string;
|
|
172
173
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
173
174
|
amount: {
|
|
174
175
|
amount: number;
|
|
175
176
|
precision: number;
|
|
176
177
|
};
|
|
177
|
-
id: string;
|
|
178
178
|
}[] | null | undefined;
|
|
179
179
|
} | null | undefined;
|
|
180
180
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -200,6 +200,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
200
200
|
mid: number;
|
|
201
201
|
} | null | undefined;
|
|
202
202
|
customAttributes?: Record<string, any> | null | undefined;
|
|
203
|
+
_id: string;
|
|
204
|
+
name: string;
|
|
205
|
+
code: string;
|
|
203
206
|
unit: {
|
|
204
207
|
_id: string;
|
|
205
208
|
name: string;
|
|
@@ -215,15 +218,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
215
218
|
};
|
|
216
219
|
}[];
|
|
217
220
|
};
|
|
218
|
-
code: string;
|
|
219
|
-
_id: string;
|
|
220
|
-
name: string;
|
|
221
221
|
};
|
|
222
222
|
baseAmount: {
|
|
223
223
|
amount: number;
|
|
224
224
|
precision: number;
|
|
225
225
|
};
|
|
226
226
|
measurementsAmounts: {
|
|
227
|
+
amount: {
|
|
228
|
+
amount: number;
|
|
229
|
+
precision: number;
|
|
230
|
+
};
|
|
227
231
|
measurement: {
|
|
228
232
|
id: string;
|
|
229
233
|
name: string;
|
|
@@ -233,10 +237,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
233
237
|
precision: number;
|
|
234
238
|
};
|
|
235
239
|
};
|
|
236
|
-
amount: {
|
|
237
|
-
amount: number;
|
|
238
|
-
precision: number;
|
|
239
|
-
};
|
|
240
240
|
}[];
|
|
241
241
|
}[];
|
|
242
242
|
createdBy: {
|
|
@@ -254,8 +254,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
254
254
|
_id: string;
|
|
255
255
|
updatedAt: string;
|
|
256
256
|
} | null | undefined;
|
|
257
|
-
type: "restaurant" | "warehouse";
|
|
258
257
|
name: string;
|
|
258
|
+
type: "restaurant" | "warehouse";
|
|
259
259
|
acceptRequest: boolean;
|
|
260
260
|
dbName: string;
|
|
261
261
|
doc: {
|
|
@@ -263,26 +263,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
263
263
|
businessId: string;
|
|
264
264
|
profile: {
|
|
265
265
|
code?: string | null | undefined;
|
|
266
|
+
url?: string | null | undefined;
|
|
267
|
+
description?: string | null | undefined;
|
|
266
268
|
_id?: string | null | undefined;
|
|
267
|
-
name?: string | undefined;
|
|
268
|
-
address?: {
|
|
269
|
-
coordinates?: number[] | null | undefined;
|
|
270
|
-
line2?: string | null | undefined;
|
|
271
|
-
state: string;
|
|
272
|
-
country: string;
|
|
273
|
-
line1: string;
|
|
274
|
-
city: string;
|
|
275
|
-
postcode: string;
|
|
276
|
-
} | undefined;
|
|
277
|
-
email?: string | undefined;
|
|
278
|
-
regNo?: string | undefined;
|
|
279
|
-
sstRegNo?: string | null | undefined;
|
|
280
|
-
phoneNo?: string | undefined;
|
|
281
269
|
legalName?: string | null | undefined;
|
|
270
|
+
sstRegNo?: string | null | undefined;
|
|
282
271
|
discovery?: boolean | null | undefined;
|
|
283
272
|
coverPhoto?: string | null | undefined;
|
|
284
273
|
thumbnailPhoto?: string | null | undefined;
|
|
285
|
-
description?: string | null | undefined;
|
|
286
274
|
photos?: string[] | null | undefined;
|
|
287
275
|
operatingHours?: {
|
|
288
276
|
0: {
|
|
@@ -336,7 +324,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
336
324
|
};
|
|
337
325
|
} | null | undefined;
|
|
338
326
|
tags?: string[] | null | undefined;
|
|
339
|
-
|
|
327
|
+
name: string;
|
|
328
|
+
address: {
|
|
329
|
+
coordinates?: number[] | null | undefined;
|
|
330
|
+
line2?: string | null | undefined;
|
|
331
|
+
state: string;
|
|
332
|
+
country: string;
|
|
333
|
+
line1: string;
|
|
334
|
+
city: string;
|
|
335
|
+
postcode: string;
|
|
336
|
+
};
|
|
337
|
+
email: string;
|
|
338
|
+
phoneNo: string;
|
|
339
|
+
regNo: string;
|
|
340
340
|
};
|
|
341
341
|
};
|
|
342
342
|
}[] | null | undefined;
|
|
@@ -432,12 +432,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
432
432
|
precision: number;
|
|
433
433
|
};
|
|
434
434
|
} | null | undefined;
|
|
435
|
+
id: string;
|
|
435
436
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
436
437
|
amount: {
|
|
437
438
|
amount: number;
|
|
438
439
|
precision: number;
|
|
439
440
|
};
|
|
440
|
-
id: string;
|
|
441
441
|
}[] | null | undefined;
|
|
442
442
|
} | null | undefined;
|
|
443
443
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -463,6 +463,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
463
463
|
mid: number;
|
|
464
464
|
} | null | undefined;
|
|
465
465
|
customAttributes?: Record<string, any> | null | undefined;
|
|
466
|
+
_id: string;
|
|
467
|
+
name: string;
|
|
468
|
+
code: string;
|
|
466
469
|
unit: {
|
|
467
470
|
_id: string;
|
|
468
471
|
name: string;
|
|
@@ -478,15 +481,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
478
481
|
};
|
|
479
482
|
}[];
|
|
480
483
|
};
|
|
481
|
-
code: string;
|
|
482
|
-
_id: string;
|
|
483
|
-
name: string;
|
|
484
484
|
};
|
|
485
485
|
baseAmount: {
|
|
486
486
|
amount: number;
|
|
487
487
|
precision: number;
|
|
488
488
|
};
|
|
489
489
|
measurementsAmounts: {
|
|
490
|
+
amount: {
|
|
491
|
+
amount: number;
|
|
492
|
+
precision: number;
|
|
493
|
+
};
|
|
490
494
|
measurement: {
|
|
491
495
|
id: string;
|
|
492
496
|
name: string;
|
|
@@ -496,14 +500,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
496
500
|
precision: number;
|
|
497
501
|
};
|
|
498
502
|
};
|
|
499
|
-
amount: {
|
|
500
|
-
amount: number;
|
|
501
|
-
precision: number;
|
|
502
|
-
};
|
|
503
503
|
}[];
|
|
504
504
|
}[] | null | undefined;
|
|
505
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
506
505
|
_id: string;
|
|
506
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
507
507
|
items: {
|
|
508
508
|
remark?: string | null | undefined;
|
|
509
509
|
sku: {
|
|
@@ -520,12 +520,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
520
520
|
precision: number;
|
|
521
521
|
};
|
|
522
522
|
} | null | undefined;
|
|
523
|
+
id: string;
|
|
523
524
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
524
525
|
amount: {
|
|
525
526
|
amount: number;
|
|
526
527
|
precision: number;
|
|
527
528
|
};
|
|
528
|
-
id: string;
|
|
529
529
|
}[] | null | undefined;
|
|
530
530
|
} | null | undefined;
|
|
531
531
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -551,6 +551,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
551
551
|
mid: number;
|
|
552
552
|
} | null | undefined;
|
|
553
553
|
customAttributes?: Record<string, any> | null | undefined;
|
|
554
|
+
_id: string;
|
|
555
|
+
name: string;
|
|
556
|
+
code: string;
|
|
554
557
|
unit: {
|
|
555
558
|
_id: string;
|
|
556
559
|
name: string;
|
|
@@ -566,15 +569,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
566
569
|
};
|
|
567
570
|
}[];
|
|
568
571
|
};
|
|
569
|
-
code: string;
|
|
570
|
-
_id: string;
|
|
571
|
-
name: string;
|
|
572
572
|
};
|
|
573
573
|
baseAmount: {
|
|
574
574
|
amount: number;
|
|
575
575
|
precision: number;
|
|
576
576
|
};
|
|
577
577
|
measurementsAmounts: {
|
|
578
|
+
amount: {
|
|
579
|
+
amount: number;
|
|
580
|
+
precision: number;
|
|
581
|
+
};
|
|
578
582
|
measurement: {
|
|
579
583
|
id: string;
|
|
580
584
|
name: string;
|
|
@@ -584,10 +588,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
584
588
|
precision: number;
|
|
585
589
|
};
|
|
586
590
|
};
|
|
587
|
-
amount: {
|
|
588
|
-
amount: number;
|
|
589
|
-
precision: number;
|
|
590
|
-
};
|
|
591
591
|
}[];
|
|
592
592
|
}[];
|
|
593
593
|
createdBy: {
|
|
@@ -605,8 +605,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
605
605
|
_id: string;
|
|
606
606
|
updatedAt: string;
|
|
607
607
|
} | null | undefined;
|
|
608
|
-
type: "restaurant" | "warehouse";
|
|
609
608
|
name: string;
|
|
609
|
+
type: "restaurant" | "warehouse";
|
|
610
610
|
acceptRequest: boolean;
|
|
611
611
|
dbName: string;
|
|
612
612
|
doc: {
|
|
@@ -614,26 +614,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
614
614
|
businessId: string;
|
|
615
615
|
profile: {
|
|
616
616
|
code?: string | null | undefined;
|
|
617
|
+
url?: string | null | undefined;
|
|
618
|
+
description?: string | null | undefined;
|
|
617
619
|
_id?: string | null | undefined;
|
|
618
|
-
name?: string | undefined;
|
|
619
|
-
address?: {
|
|
620
|
-
coordinates?: number[] | null | undefined;
|
|
621
|
-
line2?: string | null | undefined;
|
|
622
|
-
state: string;
|
|
623
|
-
country: string;
|
|
624
|
-
line1: string;
|
|
625
|
-
city: string;
|
|
626
|
-
postcode: string;
|
|
627
|
-
} | undefined;
|
|
628
|
-
email?: string | undefined;
|
|
629
|
-
regNo?: string | undefined;
|
|
630
|
-
sstRegNo?: string | null | undefined;
|
|
631
|
-
phoneNo?: string | undefined;
|
|
632
620
|
legalName?: string | null | undefined;
|
|
621
|
+
sstRegNo?: string | null | undefined;
|
|
633
622
|
discovery?: boolean | null | undefined;
|
|
634
623
|
coverPhoto?: string | null | undefined;
|
|
635
624
|
thumbnailPhoto?: string | null | undefined;
|
|
636
|
-
description?: string | null | undefined;
|
|
637
625
|
photos?: string[] | null | undefined;
|
|
638
626
|
operatingHours?: {
|
|
639
627
|
0: {
|
|
@@ -687,7 +675,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
687
675
|
};
|
|
688
676
|
} | null | undefined;
|
|
689
677
|
tags?: string[] | null | undefined;
|
|
690
|
-
|
|
678
|
+
name: string;
|
|
679
|
+
address: {
|
|
680
|
+
coordinates?: number[] | null | undefined;
|
|
681
|
+
line2?: string | null | undefined;
|
|
682
|
+
state: string;
|
|
683
|
+
country: string;
|
|
684
|
+
line1: string;
|
|
685
|
+
city: string;
|
|
686
|
+
postcode: string;
|
|
687
|
+
};
|
|
688
|
+
email: string;
|
|
689
|
+
phoneNo: string;
|
|
690
|
+
regNo: string;
|
|
691
691
|
};
|
|
692
692
|
};
|
|
693
693
|
}[] | null | undefined;
|
|
@@ -782,12 +782,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
782
782
|
precision: number;
|
|
783
783
|
};
|
|
784
784
|
} | null | undefined;
|
|
785
|
+
id: string;
|
|
785
786
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
786
787
|
amount: {
|
|
787
788
|
amount: number;
|
|
788
789
|
precision: number;
|
|
789
790
|
};
|
|
790
|
-
id: string;
|
|
791
791
|
}[] | null | undefined;
|
|
792
792
|
} | null | undefined;
|
|
793
793
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -813,6 +813,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
813
813
|
mid: number;
|
|
814
814
|
} | null | undefined;
|
|
815
815
|
customAttributes?: Record<string, any> | null | undefined;
|
|
816
|
+
_id: string;
|
|
817
|
+
name: string;
|
|
818
|
+
code: string;
|
|
816
819
|
unit: {
|
|
817
820
|
_id: string;
|
|
818
821
|
name: string;
|
|
@@ -828,15 +831,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
828
831
|
};
|
|
829
832
|
}[];
|
|
830
833
|
};
|
|
831
|
-
code: string;
|
|
832
|
-
_id: string;
|
|
833
|
-
name: string;
|
|
834
834
|
};
|
|
835
835
|
baseAmount: {
|
|
836
836
|
amount: number;
|
|
837
837
|
precision: number;
|
|
838
838
|
};
|
|
839
839
|
measurementsAmounts: {
|
|
840
|
+
amount: {
|
|
841
|
+
amount: number;
|
|
842
|
+
precision: number;
|
|
843
|
+
};
|
|
840
844
|
measurement: {
|
|
841
845
|
id: string;
|
|
842
846
|
name: string;
|
|
@@ -846,14 +850,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
846
850
|
precision: number;
|
|
847
851
|
};
|
|
848
852
|
};
|
|
849
|
-
amount: {
|
|
850
|
-
amount: number;
|
|
851
|
-
precision: number;
|
|
852
|
-
};
|
|
853
853
|
}[];
|
|
854
854
|
}[] | null | undefined;
|
|
855
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
856
855
|
_id: string;
|
|
856
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
857
857
|
items: {
|
|
858
858
|
remark?: string | null | undefined;
|
|
859
859
|
sku: {
|
|
@@ -870,12 +870,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
870
870
|
precision: number;
|
|
871
871
|
};
|
|
872
872
|
} | null | undefined;
|
|
873
|
+
id: string;
|
|
873
874
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
874
875
|
amount: {
|
|
875
876
|
amount: number;
|
|
876
877
|
precision: number;
|
|
877
878
|
};
|
|
878
|
-
id: string;
|
|
879
879
|
}[] | null | undefined;
|
|
880
880
|
} | null | undefined;
|
|
881
881
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -901,6 +901,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
901
901
|
mid: number;
|
|
902
902
|
} | null | undefined;
|
|
903
903
|
customAttributes?: Record<string, any> | null | undefined;
|
|
904
|
+
_id: string;
|
|
905
|
+
name: string;
|
|
906
|
+
code: string;
|
|
904
907
|
unit: {
|
|
905
908
|
_id: string;
|
|
906
909
|
name: string;
|
|
@@ -916,15 +919,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
916
919
|
};
|
|
917
920
|
}[];
|
|
918
921
|
};
|
|
919
|
-
code: string;
|
|
920
|
-
_id: string;
|
|
921
|
-
name: string;
|
|
922
922
|
};
|
|
923
923
|
baseAmount: {
|
|
924
924
|
amount: number;
|
|
925
925
|
precision: number;
|
|
926
926
|
};
|
|
927
927
|
measurementsAmounts: {
|
|
928
|
+
amount: {
|
|
929
|
+
amount: number;
|
|
930
|
+
precision: number;
|
|
931
|
+
};
|
|
928
932
|
measurement: {
|
|
929
933
|
id: string;
|
|
930
934
|
name: string;
|
|
@@ -934,10 +938,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
934
938
|
precision: number;
|
|
935
939
|
};
|
|
936
940
|
};
|
|
937
|
-
amount: {
|
|
938
|
-
amount: number;
|
|
939
|
-
precision: number;
|
|
940
|
-
};
|
|
941
941
|
}[];
|
|
942
942
|
}[];
|
|
943
943
|
createdBy: {
|
|
@@ -955,8 +955,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
955
955
|
_id: string;
|
|
956
956
|
updatedAt: string;
|
|
957
957
|
} | null | undefined;
|
|
958
|
-
type: "restaurant" | "warehouse";
|
|
959
958
|
name: string;
|
|
959
|
+
type: "restaurant" | "warehouse";
|
|
960
960
|
acceptRequest: boolean;
|
|
961
961
|
dbName: string;
|
|
962
962
|
doc: {
|
|
@@ -964,26 +964,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
964
964
|
businessId: string;
|
|
965
965
|
profile: {
|
|
966
966
|
code?: string | null | undefined;
|
|
967
|
+
url?: string | null | undefined;
|
|
968
|
+
description?: string | null | undefined;
|
|
967
969
|
_id?: string | null | undefined;
|
|
968
|
-
name?: string | undefined;
|
|
969
|
-
address?: {
|
|
970
|
-
coordinates?: number[] | null | undefined;
|
|
971
|
-
line2?: string | null | undefined;
|
|
972
|
-
state: string;
|
|
973
|
-
country: string;
|
|
974
|
-
line1: string;
|
|
975
|
-
city: string;
|
|
976
|
-
postcode: string;
|
|
977
|
-
} | undefined;
|
|
978
|
-
email?: string | undefined;
|
|
979
|
-
regNo?: string | undefined;
|
|
980
|
-
sstRegNo?: string | null | undefined;
|
|
981
|
-
phoneNo?: string | undefined;
|
|
982
970
|
legalName?: string | null | undefined;
|
|
971
|
+
sstRegNo?: string | null | undefined;
|
|
983
972
|
discovery?: boolean | null | undefined;
|
|
984
973
|
coverPhoto?: string | null | undefined;
|
|
985
974
|
thumbnailPhoto?: string | null | undefined;
|
|
986
|
-
description?: string | null | undefined;
|
|
987
975
|
photos?: string[] | null | undefined;
|
|
988
976
|
operatingHours?: {
|
|
989
977
|
0: {
|
|
@@ -1037,7 +1025,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1037
1025
|
};
|
|
1038
1026
|
} | null | undefined;
|
|
1039
1027
|
tags?: string[] | null | undefined;
|
|
1040
|
-
|
|
1028
|
+
name: string;
|
|
1029
|
+
address: {
|
|
1030
|
+
coordinates?: number[] | null | undefined;
|
|
1031
|
+
line2?: string | null | undefined;
|
|
1032
|
+
state: string;
|
|
1033
|
+
country: string;
|
|
1034
|
+
line1: string;
|
|
1035
|
+
city: string;
|
|
1036
|
+
postcode: string;
|
|
1037
|
+
};
|
|
1038
|
+
email: string;
|
|
1039
|
+
phoneNo: string;
|
|
1040
|
+
regNo: string;
|
|
1041
1041
|
};
|
|
1042
1042
|
};
|
|
1043
1043
|
}[] | null | undefined;
|
|
@@ -1132,12 +1132,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1132
1132
|
precision: number;
|
|
1133
1133
|
};
|
|
1134
1134
|
} | null | undefined;
|
|
1135
|
+
id: string;
|
|
1135
1136
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1136
1137
|
amount: {
|
|
1137
1138
|
amount: number;
|
|
1138
1139
|
precision: number;
|
|
1139
1140
|
};
|
|
1140
|
-
id: string;
|
|
1141
1141
|
}[] | null | undefined;
|
|
1142
1142
|
} | null | undefined;
|
|
1143
1143
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1163,6 +1163,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1163
1163
|
mid: number;
|
|
1164
1164
|
} | null | undefined;
|
|
1165
1165
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1166
|
+
_id: string;
|
|
1167
|
+
name: string;
|
|
1168
|
+
code: string;
|
|
1166
1169
|
unit: {
|
|
1167
1170
|
_id: string;
|
|
1168
1171
|
name: string;
|
|
@@ -1178,15 +1181,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1178
1181
|
};
|
|
1179
1182
|
}[];
|
|
1180
1183
|
};
|
|
1181
|
-
code: string;
|
|
1182
|
-
_id: string;
|
|
1183
|
-
name: string;
|
|
1184
1184
|
};
|
|
1185
1185
|
baseAmount: {
|
|
1186
1186
|
amount: number;
|
|
1187
1187
|
precision: number;
|
|
1188
1188
|
};
|
|
1189
1189
|
measurementsAmounts: {
|
|
1190
|
+
amount: {
|
|
1191
|
+
amount: number;
|
|
1192
|
+
precision: number;
|
|
1193
|
+
};
|
|
1190
1194
|
measurement: {
|
|
1191
1195
|
id: string;
|
|
1192
1196
|
name: string;
|
|
@@ -1196,14 +1200,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1196
1200
|
precision: number;
|
|
1197
1201
|
};
|
|
1198
1202
|
};
|
|
1199
|
-
amount: {
|
|
1200
|
-
amount: number;
|
|
1201
|
-
precision: number;
|
|
1202
|
-
};
|
|
1203
1203
|
}[];
|
|
1204
1204
|
}[] | null | undefined;
|
|
1205
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1206
1205
|
_id: string;
|
|
1206
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
1207
1207
|
items: {
|
|
1208
1208
|
remark?: string | null | undefined;
|
|
1209
1209
|
sku: {
|
|
@@ -1220,12 +1220,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1220
1220
|
precision: number;
|
|
1221
1221
|
};
|
|
1222
1222
|
} | null | undefined;
|
|
1223
|
+
id: string;
|
|
1223
1224
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1224
1225
|
amount: {
|
|
1225
1226
|
amount: number;
|
|
1226
1227
|
precision: number;
|
|
1227
1228
|
};
|
|
1228
|
-
id: string;
|
|
1229
1229
|
}[] | null | undefined;
|
|
1230
1230
|
} | null | undefined;
|
|
1231
1231
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1251,6 +1251,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1251
1251
|
mid: number;
|
|
1252
1252
|
} | null | undefined;
|
|
1253
1253
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1254
|
+
_id: string;
|
|
1255
|
+
name: string;
|
|
1256
|
+
code: string;
|
|
1254
1257
|
unit: {
|
|
1255
1258
|
_id: string;
|
|
1256
1259
|
name: string;
|
|
@@ -1266,15 +1269,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1266
1269
|
};
|
|
1267
1270
|
}[];
|
|
1268
1271
|
};
|
|
1269
|
-
code: string;
|
|
1270
|
-
_id: string;
|
|
1271
|
-
name: string;
|
|
1272
1272
|
};
|
|
1273
1273
|
baseAmount: {
|
|
1274
1274
|
amount: number;
|
|
1275
1275
|
precision: number;
|
|
1276
1276
|
};
|
|
1277
1277
|
measurementsAmounts: {
|
|
1278
|
+
amount: {
|
|
1279
|
+
amount: number;
|
|
1280
|
+
precision: number;
|
|
1281
|
+
};
|
|
1278
1282
|
measurement: {
|
|
1279
1283
|
id: string;
|
|
1280
1284
|
name: string;
|
|
@@ -1284,10 +1288,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1284
1288
|
precision: number;
|
|
1285
1289
|
};
|
|
1286
1290
|
};
|
|
1287
|
-
amount: {
|
|
1288
|
-
amount: number;
|
|
1289
|
-
precision: number;
|
|
1290
|
-
};
|
|
1291
1291
|
}[];
|
|
1292
1292
|
}[];
|
|
1293
1293
|
createdBy: {
|
|
@@ -1305,8 +1305,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1305
1305
|
_id: string;
|
|
1306
1306
|
updatedAt: string;
|
|
1307
1307
|
} | null | undefined;
|
|
1308
|
-
type: "restaurant" | "warehouse";
|
|
1309
1308
|
name: string;
|
|
1309
|
+
type: "restaurant" | "warehouse";
|
|
1310
1310
|
acceptRequest: boolean;
|
|
1311
1311
|
dbName: string;
|
|
1312
1312
|
doc: {
|
|
@@ -1314,26 +1314,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1314
1314
|
businessId: string;
|
|
1315
1315
|
profile: {
|
|
1316
1316
|
code?: string | null | undefined;
|
|
1317
|
+
url?: string | null | undefined;
|
|
1318
|
+
description?: string | null | undefined;
|
|
1317
1319
|
_id?: string | null | undefined;
|
|
1318
|
-
name?: string | undefined;
|
|
1319
|
-
address?: {
|
|
1320
|
-
coordinates?: number[] | null | undefined;
|
|
1321
|
-
line2?: string | null | undefined;
|
|
1322
|
-
state: string;
|
|
1323
|
-
country: string;
|
|
1324
|
-
line1: string;
|
|
1325
|
-
city: string;
|
|
1326
|
-
postcode: string;
|
|
1327
|
-
} | undefined;
|
|
1328
|
-
email?: string | undefined;
|
|
1329
|
-
regNo?: string | undefined;
|
|
1330
|
-
sstRegNo?: string | null | undefined;
|
|
1331
|
-
phoneNo?: string | undefined;
|
|
1332
1320
|
legalName?: string | null | undefined;
|
|
1321
|
+
sstRegNo?: string | null | undefined;
|
|
1333
1322
|
discovery?: boolean | null | undefined;
|
|
1334
1323
|
coverPhoto?: string | null | undefined;
|
|
1335
1324
|
thumbnailPhoto?: string | null | undefined;
|
|
1336
|
-
description?: string | null | undefined;
|
|
1337
1325
|
photos?: string[] | null | undefined;
|
|
1338
1326
|
operatingHours?: {
|
|
1339
1327
|
0: {
|
|
@@ -1387,7 +1375,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1387
1375
|
};
|
|
1388
1376
|
} | null | undefined;
|
|
1389
1377
|
tags?: string[] | null | undefined;
|
|
1390
|
-
|
|
1378
|
+
name: string;
|
|
1379
|
+
address: {
|
|
1380
|
+
coordinates?: number[] | null | undefined;
|
|
1381
|
+
line2?: string | null | undefined;
|
|
1382
|
+
state: string;
|
|
1383
|
+
country: string;
|
|
1384
|
+
line1: string;
|
|
1385
|
+
city: string;
|
|
1386
|
+
postcode: string;
|
|
1387
|
+
};
|
|
1388
|
+
email: string;
|
|
1389
|
+
phoneNo: string;
|
|
1390
|
+
regNo: string;
|
|
1391
1391
|
};
|
|
1392
1392
|
};
|
|
1393
1393
|
}[] | null | undefined;
|
|
@@ -1487,12 +1487,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1487
1487
|
precision: number;
|
|
1488
1488
|
};
|
|
1489
1489
|
} | null | undefined;
|
|
1490
|
+
id: string;
|
|
1490
1491
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1491
1492
|
amount: {
|
|
1492
1493
|
amount: number;
|
|
1493
1494
|
precision: number;
|
|
1494
1495
|
};
|
|
1495
|
-
id: string;
|
|
1496
1496
|
}[] | null | undefined;
|
|
1497
1497
|
} | null | undefined;
|
|
1498
1498
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1518,6 +1518,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1518
1518
|
mid: number;
|
|
1519
1519
|
} | null | undefined;
|
|
1520
1520
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1521
|
+
_id: string;
|
|
1522
|
+
name: string;
|
|
1523
|
+
code: string;
|
|
1521
1524
|
unit: {
|
|
1522
1525
|
_id: string;
|
|
1523
1526
|
name: string;
|
|
@@ -1533,15 +1536,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1533
1536
|
};
|
|
1534
1537
|
}[];
|
|
1535
1538
|
};
|
|
1536
|
-
code: string;
|
|
1537
|
-
_id: string;
|
|
1538
|
-
name: string;
|
|
1539
1539
|
};
|
|
1540
1540
|
baseAmount: {
|
|
1541
1541
|
amount: number;
|
|
1542
1542
|
precision: number;
|
|
1543
1543
|
};
|
|
1544
1544
|
measurementsAmounts: {
|
|
1545
|
+
amount: {
|
|
1546
|
+
amount: number;
|
|
1547
|
+
precision: number;
|
|
1548
|
+
};
|
|
1545
1549
|
measurement: {
|
|
1546
1550
|
id: string;
|
|
1547
1551
|
name: string;
|
|
@@ -1551,14 +1555,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1551
1555
|
precision: number;
|
|
1552
1556
|
};
|
|
1553
1557
|
};
|
|
1554
|
-
amount: {
|
|
1555
|
-
amount: number;
|
|
1556
|
-
precision: number;
|
|
1557
|
-
};
|
|
1558
1558
|
}[];
|
|
1559
1559
|
}[] | null | undefined;
|
|
1560
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1561
1560
|
_id: string;
|
|
1561
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
1562
1562
|
items: {
|
|
1563
1563
|
remark?: string | null | undefined;
|
|
1564
1564
|
sku: {
|
|
@@ -1575,12 +1575,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1575
1575
|
precision: number;
|
|
1576
1576
|
};
|
|
1577
1577
|
} | null | undefined;
|
|
1578
|
+
id: string;
|
|
1578
1579
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1579
1580
|
amount: {
|
|
1580
1581
|
amount: number;
|
|
1581
1582
|
precision: number;
|
|
1582
1583
|
};
|
|
1583
|
-
id: string;
|
|
1584
1584
|
}[] | null | undefined;
|
|
1585
1585
|
} | null | undefined;
|
|
1586
1586
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1606,6 +1606,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1606
1606
|
mid: number;
|
|
1607
1607
|
} | null | undefined;
|
|
1608
1608
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1609
|
+
_id: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
code: string;
|
|
1609
1612
|
unit: {
|
|
1610
1613
|
_id: string;
|
|
1611
1614
|
name: string;
|
|
@@ -1621,15 +1624,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1621
1624
|
};
|
|
1622
1625
|
}[];
|
|
1623
1626
|
};
|
|
1624
|
-
code: string;
|
|
1625
|
-
_id: string;
|
|
1626
|
-
name: string;
|
|
1627
1627
|
};
|
|
1628
1628
|
baseAmount: {
|
|
1629
1629
|
amount: number;
|
|
1630
1630
|
precision: number;
|
|
1631
1631
|
};
|
|
1632
1632
|
measurementsAmounts: {
|
|
1633
|
+
amount: {
|
|
1634
|
+
amount: number;
|
|
1635
|
+
precision: number;
|
|
1636
|
+
};
|
|
1633
1637
|
measurement: {
|
|
1634
1638
|
id: string;
|
|
1635
1639
|
name: string;
|
|
@@ -1639,10 +1643,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1639
1643
|
precision: number;
|
|
1640
1644
|
};
|
|
1641
1645
|
};
|
|
1642
|
-
amount: {
|
|
1643
|
-
amount: number;
|
|
1644
|
-
precision: number;
|
|
1645
|
-
};
|
|
1646
1646
|
}[];
|
|
1647
1647
|
}[];
|
|
1648
1648
|
createdBy: {
|
|
@@ -1660,8 +1660,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1660
1660
|
_id: string;
|
|
1661
1661
|
updatedAt: string;
|
|
1662
1662
|
} | null | undefined;
|
|
1663
|
-
type: "restaurant" | "warehouse";
|
|
1664
1663
|
name: string;
|
|
1664
|
+
type: "restaurant" | "warehouse";
|
|
1665
1665
|
acceptRequest: boolean;
|
|
1666
1666
|
dbName: string;
|
|
1667
1667
|
doc: {
|
|
@@ -1669,26 +1669,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1669
1669
|
businessId: string;
|
|
1670
1670
|
profile: {
|
|
1671
1671
|
code?: string | null | undefined;
|
|
1672
|
+
url?: string | null | undefined;
|
|
1673
|
+
description?: string | null | undefined;
|
|
1672
1674
|
_id?: string | null | undefined;
|
|
1673
|
-
name?: string | undefined;
|
|
1674
|
-
address?: {
|
|
1675
|
-
coordinates?: number[] | null | undefined;
|
|
1676
|
-
line2?: string | null | undefined;
|
|
1677
|
-
state: string;
|
|
1678
|
-
country: string;
|
|
1679
|
-
line1: string;
|
|
1680
|
-
city: string;
|
|
1681
|
-
postcode: string;
|
|
1682
|
-
} | undefined;
|
|
1683
|
-
email?: string | undefined;
|
|
1684
|
-
regNo?: string | undefined;
|
|
1685
|
-
sstRegNo?: string | null | undefined;
|
|
1686
|
-
phoneNo?: string | undefined;
|
|
1687
1675
|
legalName?: string | null | undefined;
|
|
1676
|
+
sstRegNo?: string | null | undefined;
|
|
1688
1677
|
discovery?: boolean | null | undefined;
|
|
1689
1678
|
coverPhoto?: string | null | undefined;
|
|
1690
1679
|
thumbnailPhoto?: string | null | undefined;
|
|
1691
|
-
description?: string | null | undefined;
|
|
1692
1680
|
photos?: string[] | null | undefined;
|
|
1693
1681
|
operatingHours?: {
|
|
1694
1682
|
0: {
|
|
@@ -1742,7 +1730,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1742
1730
|
};
|
|
1743
1731
|
} | null | undefined;
|
|
1744
1732
|
tags?: string[] | null | undefined;
|
|
1745
|
-
|
|
1733
|
+
name: string;
|
|
1734
|
+
address: {
|
|
1735
|
+
coordinates?: number[] | null | undefined;
|
|
1736
|
+
line2?: string | null | undefined;
|
|
1737
|
+
state: string;
|
|
1738
|
+
country: string;
|
|
1739
|
+
line1: string;
|
|
1740
|
+
city: string;
|
|
1741
|
+
postcode: string;
|
|
1742
|
+
};
|
|
1743
|
+
email: string;
|
|
1744
|
+
phoneNo: string;
|
|
1745
|
+
regNo: string;
|
|
1746
1746
|
};
|
|
1747
1747
|
};
|
|
1748
1748
|
}[] | null | undefined;
|
|
@@ -1838,12 +1838,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1838
1838
|
precision: number;
|
|
1839
1839
|
};
|
|
1840
1840
|
} | null | undefined;
|
|
1841
|
+
id: string;
|
|
1841
1842
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1842
1843
|
amount: {
|
|
1843
1844
|
amount: number;
|
|
1844
1845
|
precision: number;
|
|
1845
1846
|
};
|
|
1846
|
-
id: string;
|
|
1847
1847
|
}[] | null | undefined;
|
|
1848
1848
|
} | null | undefined;
|
|
1849
1849
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1869,6 +1869,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1869
1869
|
mid: number;
|
|
1870
1870
|
} | null | undefined;
|
|
1871
1871
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1872
|
+
_id: string;
|
|
1873
|
+
name: string;
|
|
1874
|
+
code: string;
|
|
1872
1875
|
unit: {
|
|
1873
1876
|
_id: string;
|
|
1874
1877
|
name: string;
|
|
@@ -1884,15 +1887,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1884
1887
|
};
|
|
1885
1888
|
}[];
|
|
1886
1889
|
};
|
|
1887
|
-
code: string;
|
|
1888
|
-
_id: string;
|
|
1889
|
-
name: string;
|
|
1890
1890
|
};
|
|
1891
1891
|
baseAmount: {
|
|
1892
1892
|
amount: number;
|
|
1893
1893
|
precision: number;
|
|
1894
1894
|
};
|
|
1895
1895
|
measurementsAmounts: {
|
|
1896
|
+
amount: {
|
|
1897
|
+
amount: number;
|
|
1898
|
+
precision: number;
|
|
1899
|
+
};
|
|
1896
1900
|
measurement: {
|
|
1897
1901
|
id: string;
|
|
1898
1902
|
name: string;
|
|
@@ -1902,14 +1906,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1902
1906
|
precision: number;
|
|
1903
1907
|
};
|
|
1904
1908
|
};
|
|
1905
|
-
amount: {
|
|
1906
|
-
amount: number;
|
|
1907
|
-
precision: number;
|
|
1908
|
-
};
|
|
1909
1909
|
}[];
|
|
1910
1910
|
}[] | null | undefined;
|
|
1911
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1912
1911
|
_id: string;
|
|
1912
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
1913
1913
|
items: {
|
|
1914
1914
|
remark?: string | null | undefined;
|
|
1915
1915
|
sku: {
|
|
@@ -1926,12 +1926,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1926
1926
|
precision: number;
|
|
1927
1927
|
};
|
|
1928
1928
|
} | null | undefined;
|
|
1929
|
+
id: string;
|
|
1929
1930
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1930
1931
|
amount: {
|
|
1931
1932
|
amount: number;
|
|
1932
1933
|
precision: number;
|
|
1933
1934
|
};
|
|
1934
|
-
id: string;
|
|
1935
1935
|
}[] | null | undefined;
|
|
1936
1936
|
} | null | undefined;
|
|
1937
1937
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1957,6 +1957,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1957
1957
|
mid: number;
|
|
1958
1958
|
} | null | undefined;
|
|
1959
1959
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1960
|
+
_id: string;
|
|
1961
|
+
name: string;
|
|
1962
|
+
code: string;
|
|
1960
1963
|
unit: {
|
|
1961
1964
|
_id: string;
|
|
1962
1965
|
name: string;
|
|
@@ -1972,15 +1975,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1972
1975
|
};
|
|
1973
1976
|
}[];
|
|
1974
1977
|
};
|
|
1975
|
-
code: string;
|
|
1976
|
-
_id: string;
|
|
1977
|
-
name: string;
|
|
1978
1978
|
};
|
|
1979
1979
|
baseAmount: {
|
|
1980
1980
|
amount: number;
|
|
1981
1981
|
precision: number;
|
|
1982
1982
|
};
|
|
1983
1983
|
measurementsAmounts: {
|
|
1984
|
+
amount: {
|
|
1985
|
+
amount: number;
|
|
1986
|
+
precision: number;
|
|
1987
|
+
};
|
|
1984
1988
|
measurement: {
|
|
1985
1989
|
id: string;
|
|
1986
1990
|
name: string;
|
|
@@ -1990,10 +1994,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1990
1994
|
precision: number;
|
|
1991
1995
|
};
|
|
1992
1996
|
};
|
|
1993
|
-
amount: {
|
|
1994
|
-
amount: number;
|
|
1995
|
-
precision: number;
|
|
1996
|
-
};
|
|
1997
1997
|
}[];
|
|
1998
1998
|
}[];
|
|
1999
1999
|
createdBy: {
|
|
@@ -2011,8 +2011,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2011
2011
|
_id: string;
|
|
2012
2012
|
updatedAt: string;
|
|
2013
2013
|
} | null | undefined;
|
|
2014
|
-
type: "restaurant" | "warehouse";
|
|
2015
2014
|
name: string;
|
|
2015
|
+
type: "restaurant" | "warehouse";
|
|
2016
2016
|
acceptRequest: boolean;
|
|
2017
2017
|
dbName: string;
|
|
2018
2018
|
doc: {
|
|
@@ -2020,26 +2020,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2020
2020
|
businessId: string;
|
|
2021
2021
|
profile: {
|
|
2022
2022
|
code?: string | null | undefined;
|
|
2023
|
+
url?: string | null | undefined;
|
|
2024
|
+
description?: string | null | undefined;
|
|
2023
2025
|
_id?: string | null | undefined;
|
|
2024
|
-
name?: string | undefined;
|
|
2025
|
-
address?: {
|
|
2026
|
-
coordinates?: number[] | null | undefined;
|
|
2027
|
-
line2?: string | null | undefined;
|
|
2028
|
-
state: string;
|
|
2029
|
-
country: string;
|
|
2030
|
-
line1: string;
|
|
2031
|
-
city: string;
|
|
2032
|
-
postcode: string;
|
|
2033
|
-
} | undefined;
|
|
2034
|
-
email?: string | undefined;
|
|
2035
|
-
regNo?: string | undefined;
|
|
2036
|
-
sstRegNo?: string | null | undefined;
|
|
2037
|
-
phoneNo?: string | undefined;
|
|
2038
2026
|
legalName?: string | null | undefined;
|
|
2027
|
+
sstRegNo?: string | null | undefined;
|
|
2039
2028
|
discovery?: boolean | null | undefined;
|
|
2040
2029
|
coverPhoto?: string | null | undefined;
|
|
2041
2030
|
thumbnailPhoto?: string | null | undefined;
|
|
2042
|
-
description?: string | null | undefined;
|
|
2043
2031
|
photos?: string[] | null | undefined;
|
|
2044
2032
|
operatingHours?: {
|
|
2045
2033
|
0: {
|
|
@@ -2093,7 +2081,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2093
2081
|
};
|
|
2094
2082
|
} | null | undefined;
|
|
2095
2083
|
tags?: string[] | null | undefined;
|
|
2096
|
-
|
|
2084
|
+
name: string;
|
|
2085
|
+
address: {
|
|
2086
|
+
coordinates?: number[] | null | undefined;
|
|
2087
|
+
line2?: string | null | undefined;
|
|
2088
|
+
state: string;
|
|
2089
|
+
country: string;
|
|
2090
|
+
line1: string;
|
|
2091
|
+
city: string;
|
|
2092
|
+
postcode: string;
|
|
2093
|
+
};
|
|
2094
|
+
email: string;
|
|
2095
|
+
phoneNo: string;
|
|
2096
|
+
regNo: string;
|
|
2097
2097
|
};
|
|
2098
2098
|
};
|
|
2099
2099
|
}[] | null | undefined;
|
|
@@ -2188,12 +2188,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2188
2188
|
precision: number;
|
|
2189
2189
|
};
|
|
2190
2190
|
} | null | undefined;
|
|
2191
|
+
id: string;
|
|
2191
2192
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2192
2193
|
amount: {
|
|
2193
2194
|
amount: number;
|
|
2194
2195
|
precision: number;
|
|
2195
2196
|
};
|
|
2196
|
-
id: string;
|
|
2197
2197
|
}[] | null | undefined;
|
|
2198
2198
|
} | null | undefined;
|
|
2199
2199
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2219,6 +2219,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2219
2219
|
mid: number;
|
|
2220
2220
|
} | null | undefined;
|
|
2221
2221
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2222
|
+
_id: string;
|
|
2223
|
+
name: string;
|
|
2224
|
+
code: string;
|
|
2222
2225
|
unit: {
|
|
2223
2226
|
_id: string;
|
|
2224
2227
|
name: string;
|
|
@@ -2234,15 +2237,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2234
2237
|
};
|
|
2235
2238
|
}[];
|
|
2236
2239
|
};
|
|
2237
|
-
code: string;
|
|
2238
|
-
_id: string;
|
|
2239
|
-
name: string;
|
|
2240
2240
|
};
|
|
2241
2241
|
baseAmount: {
|
|
2242
2242
|
amount: number;
|
|
2243
2243
|
precision: number;
|
|
2244
2244
|
};
|
|
2245
2245
|
measurementsAmounts: {
|
|
2246
|
+
amount: {
|
|
2247
|
+
amount: number;
|
|
2248
|
+
precision: number;
|
|
2249
|
+
};
|
|
2246
2250
|
measurement: {
|
|
2247
2251
|
id: string;
|
|
2248
2252
|
name: string;
|
|
@@ -2252,14 +2256,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2252
2256
|
precision: number;
|
|
2253
2257
|
};
|
|
2254
2258
|
};
|
|
2255
|
-
amount: {
|
|
2256
|
-
amount: number;
|
|
2257
|
-
precision: number;
|
|
2258
|
-
};
|
|
2259
2259
|
}[];
|
|
2260
2260
|
}[] | null | undefined;
|
|
2261
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2262
2261
|
_id: string;
|
|
2262
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
2263
2263
|
items: {
|
|
2264
2264
|
remark?: string | null | undefined;
|
|
2265
2265
|
sku: {
|
|
@@ -2276,12 +2276,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2276
2276
|
precision: number;
|
|
2277
2277
|
};
|
|
2278
2278
|
} | null | undefined;
|
|
2279
|
+
id: string;
|
|
2279
2280
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2280
2281
|
amount: {
|
|
2281
2282
|
amount: number;
|
|
2282
2283
|
precision: number;
|
|
2283
2284
|
};
|
|
2284
|
-
id: string;
|
|
2285
2285
|
}[] | null | undefined;
|
|
2286
2286
|
} | null | undefined;
|
|
2287
2287
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2307,6 +2307,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2307
2307
|
mid: number;
|
|
2308
2308
|
} | null | undefined;
|
|
2309
2309
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2310
|
+
_id: string;
|
|
2311
|
+
name: string;
|
|
2312
|
+
code: string;
|
|
2310
2313
|
unit: {
|
|
2311
2314
|
_id: string;
|
|
2312
2315
|
name: string;
|
|
@@ -2322,15 +2325,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2322
2325
|
};
|
|
2323
2326
|
}[];
|
|
2324
2327
|
};
|
|
2325
|
-
code: string;
|
|
2326
|
-
_id: string;
|
|
2327
|
-
name: string;
|
|
2328
2328
|
};
|
|
2329
2329
|
baseAmount: {
|
|
2330
2330
|
amount: number;
|
|
2331
2331
|
precision: number;
|
|
2332
2332
|
};
|
|
2333
2333
|
measurementsAmounts: {
|
|
2334
|
+
amount: {
|
|
2335
|
+
amount: number;
|
|
2336
|
+
precision: number;
|
|
2337
|
+
};
|
|
2334
2338
|
measurement: {
|
|
2335
2339
|
id: string;
|
|
2336
2340
|
name: string;
|
|
@@ -2340,10 +2344,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2340
2344
|
precision: number;
|
|
2341
2345
|
};
|
|
2342
2346
|
};
|
|
2343
|
-
amount: {
|
|
2344
|
-
amount: number;
|
|
2345
|
-
precision: number;
|
|
2346
|
-
};
|
|
2347
2347
|
}[];
|
|
2348
2348
|
}[];
|
|
2349
2349
|
createdBy: {
|
|
@@ -2361,8 +2361,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2361
2361
|
_id: string;
|
|
2362
2362
|
updatedAt: string;
|
|
2363
2363
|
} | null | undefined;
|
|
2364
|
-
type: "restaurant" | "warehouse";
|
|
2365
2364
|
name: string;
|
|
2365
|
+
type: "restaurant" | "warehouse";
|
|
2366
2366
|
acceptRequest: boolean;
|
|
2367
2367
|
dbName: string;
|
|
2368
2368
|
doc: {
|
|
@@ -2370,26 +2370,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2370
2370
|
businessId: string;
|
|
2371
2371
|
profile: {
|
|
2372
2372
|
code?: string | null | undefined;
|
|
2373
|
+
url?: string | null | undefined;
|
|
2374
|
+
description?: string | null | undefined;
|
|
2373
2375
|
_id?: string | null | undefined;
|
|
2374
|
-
name?: string | undefined;
|
|
2375
|
-
address?: {
|
|
2376
|
-
coordinates?: number[] | null | undefined;
|
|
2377
|
-
line2?: string | null | undefined;
|
|
2378
|
-
state: string;
|
|
2379
|
-
country: string;
|
|
2380
|
-
line1: string;
|
|
2381
|
-
city: string;
|
|
2382
|
-
postcode: string;
|
|
2383
|
-
} | undefined;
|
|
2384
|
-
email?: string | undefined;
|
|
2385
|
-
regNo?: string | undefined;
|
|
2386
|
-
sstRegNo?: string | null | undefined;
|
|
2387
|
-
phoneNo?: string | undefined;
|
|
2388
2376
|
legalName?: string | null | undefined;
|
|
2377
|
+
sstRegNo?: string | null | undefined;
|
|
2389
2378
|
discovery?: boolean | null | undefined;
|
|
2390
2379
|
coverPhoto?: string | null | undefined;
|
|
2391
2380
|
thumbnailPhoto?: string | null | undefined;
|
|
2392
|
-
description?: string | null | undefined;
|
|
2393
2381
|
photos?: string[] | null | undefined;
|
|
2394
2382
|
operatingHours?: {
|
|
2395
2383
|
0: {
|
|
@@ -2443,7 +2431,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2443
2431
|
};
|
|
2444
2432
|
} | null | undefined;
|
|
2445
2433
|
tags?: string[] | null | undefined;
|
|
2446
|
-
|
|
2434
|
+
name: string;
|
|
2435
|
+
address: {
|
|
2436
|
+
coordinates?: number[] | null | undefined;
|
|
2437
|
+
line2?: string | null | undefined;
|
|
2438
|
+
state: string;
|
|
2439
|
+
country: string;
|
|
2440
|
+
line1: string;
|
|
2441
|
+
city: string;
|
|
2442
|
+
postcode: string;
|
|
2443
|
+
};
|
|
2444
|
+
email: string;
|
|
2445
|
+
phoneNo: string;
|
|
2446
|
+
regNo: string;
|
|
2447
2447
|
};
|
|
2448
2448
|
};
|
|
2449
2449
|
}[] | null | undefined;
|
|
@@ -2538,12 +2538,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2538
2538
|
precision: number;
|
|
2539
2539
|
};
|
|
2540
2540
|
} | null | undefined;
|
|
2541
|
+
id: string;
|
|
2541
2542
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2542
2543
|
amount: {
|
|
2543
2544
|
amount: number;
|
|
2544
2545
|
precision: number;
|
|
2545
2546
|
};
|
|
2546
|
-
id: string;
|
|
2547
2547
|
}[] | null | undefined;
|
|
2548
2548
|
} | null | undefined;
|
|
2549
2549
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2569,6 +2569,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2569
2569
|
mid: number;
|
|
2570
2570
|
} | null | undefined;
|
|
2571
2571
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2572
|
+
_id: string;
|
|
2573
|
+
name: string;
|
|
2574
|
+
code: string;
|
|
2572
2575
|
unit: {
|
|
2573
2576
|
_id: string;
|
|
2574
2577
|
name: string;
|
|
@@ -2584,15 +2587,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2584
2587
|
};
|
|
2585
2588
|
}[];
|
|
2586
2589
|
};
|
|
2587
|
-
code: string;
|
|
2588
|
-
_id: string;
|
|
2589
|
-
name: string;
|
|
2590
2590
|
};
|
|
2591
2591
|
baseAmount: {
|
|
2592
2592
|
amount: number;
|
|
2593
2593
|
precision: number;
|
|
2594
2594
|
};
|
|
2595
2595
|
measurementsAmounts: {
|
|
2596
|
+
amount: {
|
|
2597
|
+
amount: number;
|
|
2598
|
+
precision: number;
|
|
2599
|
+
};
|
|
2596
2600
|
measurement: {
|
|
2597
2601
|
id: string;
|
|
2598
2602
|
name: string;
|
|
@@ -2602,14 +2606,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2602
2606
|
precision: number;
|
|
2603
2607
|
};
|
|
2604
2608
|
};
|
|
2605
|
-
amount: {
|
|
2606
|
-
amount: number;
|
|
2607
|
-
precision: number;
|
|
2608
|
-
};
|
|
2609
2609
|
}[];
|
|
2610
2610
|
}[] | null | undefined;
|
|
2611
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2612
2611
|
_id: string;
|
|
2612
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
2613
2613
|
items: {
|
|
2614
2614
|
remark?: string | null | undefined;
|
|
2615
2615
|
sku: {
|
|
@@ -2626,12 +2626,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2626
2626
|
precision: number;
|
|
2627
2627
|
};
|
|
2628
2628
|
} | null | undefined;
|
|
2629
|
+
id: string;
|
|
2629
2630
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2630
2631
|
amount: {
|
|
2631
2632
|
amount: number;
|
|
2632
2633
|
precision: number;
|
|
2633
2634
|
};
|
|
2634
|
-
id: string;
|
|
2635
2635
|
}[] | null | undefined;
|
|
2636
2636
|
} | null | undefined;
|
|
2637
2637
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2657,6 +2657,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2657
2657
|
mid: number;
|
|
2658
2658
|
} | null | undefined;
|
|
2659
2659
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2660
|
+
_id: string;
|
|
2661
|
+
name: string;
|
|
2662
|
+
code: string;
|
|
2660
2663
|
unit: {
|
|
2661
2664
|
_id: string;
|
|
2662
2665
|
name: string;
|
|
@@ -2672,15 +2675,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2672
2675
|
};
|
|
2673
2676
|
}[];
|
|
2674
2677
|
};
|
|
2675
|
-
code: string;
|
|
2676
|
-
_id: string;
|
|
2677
|
-
name: string;
|
|
2678
2678
|
};
|
|
2679
2679
|
baseAmount: {
|
|
2680
2680
|
amount: number;
|
|
2681
2681
|
precision: number;
|
|
2682
2682
|
};
|
|
2683
2683
|
measurementsAmounts: {
|
|
2684
|
+
amount: {
|
|
2685
|
+
amount: number;
|
|
2686
|
+
precision: number;
|
|
2687
|
+
};
|
|
2684
2688
|
measurement: {
|
|
2685
2689
|
id: string;
|
|
2686
2690
|
name: string;
|
|
@@ -2690,10 +2694,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2690
2694
|
precision: number;
|
|
2691
2695
|
};
|
|
2692
2696
|
};
|
|
2693
|
-
amount: {
|
|
2694
|
-
amount: number;
|
|
2695
|
-
precision: number;
|
|
2696
|
-
};
|
|
2697
2697
|
}[];
|
|
2698
2698
|
}[];
|
|
2699
2699
|
createdBy: {
|
|
@@ -2711,8 +2711,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2711
2711
|
_id: string;
|
|
2712
2712
|
updatedAt: string;
|
|
2713
2713
|
} | null | undefined;
|
|
2714
|
-
type: "restaurant" | "warehouse";
|
|
2715
2714
|
name: string;
|
|
2715
|
+
type: "restaurant" | "warehouse";
|
|
2716
2716
|
acceptRequest: boolean;
|
|
2717
2717
|
dbName: string;
|
|
2718
2718
|
doc: {
|
|
@@ -2720,26 +2720,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2720
2720
|
businessId: string;
|
|
2721
2721
|
profile: {
|
|
2722
2722
|
code?: string | null | undefined;
|
|
2723
|
+
url?: string | null | undefined;
|
|
2724
|
+
description?: string | null | undefined;
|
|
2723
2725
|
_id?: string | null | undefined;
|
|
2724
|
-
name?: string | undefined;
|
|
2725
|
-
address?: {
|
|
2726
|
-
coordinates?: number[] | null | undefined;
|
|
2727
|
-
line2?: string | null | undefined;
|
|
2728
|
-
state: string;
|
|
2729
|
-
country: string;
|
|
2730
|
-
line1: string;
|
|
2731
|
-
city: string;
|
|
2732
|
-
postcode: string;
|
|
2733
|
-
} | undefined;
|
|
2734
|
-
email?: string | undefined;
|
|
2735
|
-
regNo?: string | undefined;
|
|
2736
|
-
sstRegNo?: string | null | undefined;
|
|
2737
|
-
phoneNo?: string | undefined;
|
|
2738
2726
|
legalName?: string | null | undefined;
|
|
2727
|
+
sstRegNo?: string | null | undefined;
|
|
2739
2728
|
discovery?: boolean | null | undefined;
|
|
2740
2729
|
coverPhoto?: string | null | undefined;
|
|
2741
2730
|
thumbnailPhoto?: string | null | undefined;
|
|
2742
|
-
description?: string | null | undefined;
|
|
2743
2731
|
photos?: string[] | null | undefined;
|
|
2744
2732
|
operatingHours?: {
|
|
2745
2733
|
0: {
|
|
@@ -2793,7 +2781,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2793
2781
|
};
|
|
2794
2782
|
} | null | undefined;
|
|
2795
2783
|
tags?: string[] | null | undefined;
|
|
2796
|
-
|
|
2784
|
+
name: string;
|
|
2785
|
+
address: {
|
|
2786
|
+
coordinates?: number[] | null | undefined;
|
|
2787
|
+
line2?: string | null | undefined;
|
|
2788
|
+
state: string;
|
|
2789
|
+
country: string;
|
|
2790
|
+
line1: string;
|
|
2791
|
+
city: string;
|
|
2792
|
+
postcode: string;
|
|
2793
|
+
};
|
|
2794
|
+
email: string;
|
|
2795
|
+
phoneNo: string;
|
|
2796
|
+
regNo: string;
|
|
2797
2797
|
};
|
|
2798
2798
|
};
|
|
2799
2799
|
}[] | null | undefined;
|
|
@@ -2893,12 +2893,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2893
2893
|
precision: number;
|
|
2894
2894
|
};
|
|
2895
2895
|
} | null | undefined;
|
|
2896
|
+
id: string;
|
|
2896
2897
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2897
2898
|
amount: {
|
|
2898
2899
|
amount: number;
|
|
2899
2900
|
precision: number;
|
|
2900
2901
|
};
|
|
2901
|
-
id: string;
|
|
2902
2902
|
}[] | null | undefined;
|
|
2903
2903
|
} | null | undefined;
|
|
2904
2904
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2924,6 +2924,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2924
2924
|
mid: number;
|
|
2925
2925
|
} | null | undefined;
|
|
2926
2926
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2927
|
+
_id: string;
|
|
2928
|
+
name: string;
|
|
2929
|
+
code: string;
|
|
2927
2930
|
unit: {
|
|
2928
2931
|
_id: string;
|
|
2929
2932
|
name: string;
|
|
@@ -2939,15 +2942,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2939
2942
|
};
|
|
2940
2943
|
}[];
|
|
2941
2944
|
};
|
|
2942
|
-
code: string;
|
|
2943
|
-
_id: string;
|
|
2944
|
-
name: string;
|
|
2945
2945
|
};
|
|
2946
2946
|
baseAmount: {
|
|
2947
2947
|
amount: number;
|
|
2948
2948
|
precision: number;
|
|
2949
2949
|
};
|
|
2950
2950
|
measurementsAmounts: {
|
|
2951
|
+
amount: {
|
|
2952
|
+
amount: number;
|
|
2953
|
+
precision: number;
|
|
2954
|
+
};
|
|
2951
2955
|
measurement: {
|
|
2952
2956
|
id: string;
|
|
2953
2957
|
name: string;
|
|
@@ -2957,14 +2961,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2957
2961
|
precision: number;
|
|
2958
2962
|
};
|
|
2959
2963
|
};
|
|
2960
|
-
amount: {
|
|
2961
|
-
amount: number;
|
|
2962
|
-
precision: number;
|
|
2963
|
-
};
|
|
2964
2964
|
}[];
|
|
2965
2965
|
}[] | null | undefined;
|
|
2966
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2967
2966
|
_id: string;
|
|
2967
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
2968
2968
|
items: {
|
|
2969
2969
|
remark?: string | null | undefined;
|
|
2970
2970
|
sku: {
|
|
@@ -2981,12 +2981,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2981
2981
|
precision: number;
|
|
2982
2982
|
};
|
|
2983
2983
|
} | null | undefined;
|
|
2984
|
+
id: string;
|
|
2984
2985
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2985
2986
|
amount: {
|
|
2986
2987
|
amount: number;
|
|
2987
2988
|
precision: number;
|
|
2988
2989
|
};
|
|
2989
|
-
id: string;
|
|
2990
2990
|
}[] | null | undefined;
|
|
2991
2991
|
} | null | undefined;
|
|
2992
2992
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3012,6 +3012,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3012
3012
|
mid: number;
|
|
3013
3013
|
} | null | undefined;
|
|
3014
3014
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3015
|
+
_id: string;
|
|
3016
|
+
name: string;
|
|
3017
|
+
code: string;
|
|
3015
3018
|
unit: {
|
|
3016
3019
|
_id: string;
|
|
3017
3020
|
name: string;
|
|
@@ -3027,15 +3030,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3027
3030
|
};
|
|
3028
3031
|
}[];
|
|
3029
3032
|
};
|
|
3030
|
-
code: string;
|
|
3031
|
-
_id: string;
|
|
3032
|
-
name: string;
|
|
3033
3033
|
};
|
|
3034
3034
|
baseAmount: {
|
|
3035
3035
|
amount: number;
|
|
3036
3036
|
precision: number;
|
|
3037
3037
|
};
|
|
3038
3038
|
measurementsAmounts: {
|
|
3039
|
+
amount: {
|
|
3040
|
+
amount: number;
|
|
3041
|
+
precision: number;
|
|
3042
|
+
};
|
|
3039
3043
|
measurement: {
|
|
3040
3044
|
id: string;
|
|
3041
3045
|
name: string;
|
|
@@ -3045,10 +3049,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3045
3049
|
precision: number;
|
|
3046
3050
|
};
|
|
3047
3051
|
};
|
|
3048
|
-
amount: {
|
|
3049
|
-
amount: number;
|
|
3050
|
-
precision: number;
|
|
3051
|
-
};
|
|
3052
3052
|
}[];
|
|
3053
3053
|
}[];
|
|
3054
3054
|
createdBy: {
|
|
@@ -3066,8 +3066,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3066
3066
|
_id: string;
|
|
3067
3067
|
updatedAt: string;
|
|
3068
3068
|
} | null | undefined;
|
|
3069
|
-
type: "restaurant" | "warehouse";
|
|
3070
3069
|
name: string;
|
|
3070
|
+
type: "restaurant" | "warehouse";
|
|
3071
3071
|
acceptRequest: boolean;
|
|
3072
3072
|
dbName: string;
|
|
3073
3073
|
doc: {
|
|
@@ -3075,26 +3075,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3075
3075
|
businessId: string;
|
|
3076
3076
|
profile: {
|
|
3077
3077
|
code?: string | null | undefined;
|
|
3078
|
+
url?: string | null | undefined;
|
|
3079
|
+
description?: string | null | undefined;
|
|
3078
3080
|
_id?: string | null | undefined;
|
|
3079
|
-
name?: string | undefined;
|
|
3080
|
-
address?: {
|
|
3081
|
-
coordinates?: number[] | null | undefined;
|
|
3082
|
-
line2?: string | null | undefined;
|
|
3083
|
-
state: string;
|
|
3084
|
-
country: string;
|
|
3085
|
-
line1: string;
|
|
3086
|
-
city: string;
|
|
3087
|
-
postcode: string;
|
|
3088
|
-
} | undefined;
|
|
3089
|
-
email?: string | undefined;
|
|
3090
|
-
regNo?: string | undefined;
|
|
3091
|
-
sstRegNo?: string | null | undefined;
|
|
3092
|
-
phoneNo?: string | undefined;
|
|
3093
3081
|
legalName?: string | null | undefined;
|
|
3082
|
+
sstRegNo?: string | null | undefined;
|
|
3094
3083
|
discovery?: boolean | null | undefined;
|
|
3095
3084
|
coverPhoto?: string | null | undefined;
|
|
3096
3085
|
thumbnailPhoto?: string | null | undefined;
|
|
3097
|
-
description?: string | null | undefined;
|
|
3098
3086
|
photos?: string[] | null | undefined;
|
|
3099
3087
|
operatingHours?: {
|
|
3100
3088
|
0: {
|
|
@@ -3148,7 +3136,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3148
3136
|
};
|
|
3149
3137
|
} | null | undefined;
|
|
3150
3138
|
tags?: string[] | null | undefined;
|
|
3151
|
-
|
|
3139
|
+
name: string;
|
|
3140
|
+
address: {
|
|
3141
|
+
coordinates?: number[] | null | undefined;
|
|
3142
|
+
line2?: string | null | undefined;
|
|
3143
|
+
state: string;
|
|
3144
|
+
country: string;
|
|
3145
|
+
line1: string;
|
|
3146
|
+
city: string;
|
|
3147
|
+
postcode: string;
|
|
3148
|
+
};
|
|
3149
|
+
email: string;
|
|
3150
|
+
phoneNo: string;
|
|
3151
|
+
regNo: string;
|
|
3152
3152
|
};
|
|
3153
3153
|
};
|
|
3154
3154
|
}[] | null | undefined;
|
|
@@ -3244,12 +3244,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3244
3244
|
precision: number;
|
|
3245
3245
|
};
|
|
3246
3246
|
} | null | undefined;
|
|
3247
|
+
id: string;
|
|
3247
3248
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3248
3249
|
amount: {
|
|
3249
3250
|
amount: number;
|
|
3250
3251
|
precision: number;
|
|
3251
3252
|
};
|
|
3252
|
-
id: string;
|
|
3253
3253
|
}[] | null | undefined;
|
|
3254
3254
|
} | null | undefined;
|
|
3255
3255
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3275,6 +3275,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3275
3275
|
mid: number;
|
|
3276
3276
|
} | null | undefined;
|
|
3277
3277
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3278
|
+
_id: string;
|
|
3279
|
+
name: string;
|
|
3280
|
+
code: string;
|
|
3278
3281
|
unit: {
|
|
3279
3282
|
_id: string;
|
|
3280
3283
|
name: string;
|
|
@@ -3290,15 +3293,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3290
3293
|
};
|
|
3291
3294
|
}[];
|
|
3292
3295
|
};
|
|
3293
|
-
code: string;
|
|
3294
|
-
_id: string;
|
|
3295
|
-
name: string;
|
|
3296
3296
|
};
|
|
3297
3297
|
baseAmount: {
|
|
3298
3298
|
amount: number;
|
|
3299
3299
|
precision: number;
|
|
3300
3300
|
};
|
|
3301
3301
|
measurementsAmounts: {
|
|
3302
|
+
amount: {
|
|
3303
|
+
amount: number;
|
|
3304
|
+
precision: number;
|
|
3305
|
+
};
|
|
3302
3306
|
measurement: {
|
|
3303
3307
|
id: string;
|
|
3304
3308
|
name: string;
|
|
@@ -3308,14 +3312,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3308
3312
|
precision: number;
|
|
3309
3313
|
};
|
|
3310
3314
|
};
|
|
3311
|
-
amount: {
|
|
3312
|
-
amount: number;
|
|
3313
|
-
precision: number;
|
|
3314
|
-
};
|
|
3315
3315
|
}[];
|
|
3316
3316
|
}[] | null | undefined;
|
|
3317
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
3318
3317
|
_id: string;
|
|
3318
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
3319
3319
|
items: {
|
|
3320
3320
|
remark?: string | null | undefined;
|
|
3321
3321
|
sku: {
|
|
@@ -3332,12 +3332,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3332
3332
|
precision: number;
|
|
3333
3333
|
};
|
|
3334
3334
|
} | null | undefined;
|
|
3335
|
+
id: string;
|
|
3335
3336
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3336
3337
|
amount: {
|
|
3337
3338
|
amount: number;
|
|
3338
3339
|
precision: number;
|
|
3339
3340
|
};
|
|
3340
|
-
id: string;
|
|
3341
3341
|
}[] | null | undefined;
|
|
3342
3342
|
} | null | undefined;
|
|
3343
3343
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3363,6 +3363,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3363
3363
|
mid: number;
|
|
3364
3364
|
} | null | undefined;
|
|
3365
3365
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3366
|
+
_id: string;
|
|
3367
|
+
name: string;
|
|
3368
|
+
code: string;
|
|
3366
3369
|
unit: {
|
|
3367
3370
|
_id: string;
|
|
3368
3371
|
name: string;
|
|
@@ -3378,15 +3381,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3378
3381
|
};
|
|
3379
3382
|
}[];
|
|
3380
3383
|
};
|
|
3381
|
-
code: string;
|
|
3382
|
-
_id: string;
|
|
3383
|
-
name: string;
|
|
3384
3384
|
};
|
|
3385
3385
|
baseAmount: {
|
|
3386
3386
|
amount: number;
|
|
3387
3387
|
precision: number;
|
|
3388
3388
|
};
|
|
3389
3389
|
measurementsAmounts: {
|
|
3390
|
+
amount: {
|
|
3391
|
+
amount: number;
|
|
3392
|
+
precision: number;
|
|
3393
|
+
};
|
|
3390
3394
|
measurement: {
|
|
3391
3395
|
id: string;
|
|
3392
3396
|
name: string;
|
|
@@ -3396,10 +3400,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3396
3400
|
precision: number;
|
|
3397
3401
|
};
|
|
3398
3402
|
};
|
|
3399
|
-
amount: {
|
|
3400
|
-
amount: number;
|
|
3401
|
-
precision: number;
|
|
3402
|
-
};
|
|
3403
3403
|
}[];
|
|
3404
3404
|
}[];
|
|
3405
3405
|
createdBy: {
|
|
@@ -3417,8 +3417,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3417
3417
|
_id: string;
|
|
3418
3418
|
updatedAt: string;
|
|
3419
3419
|
} | null | undefined;
|
|
3420
|
-
type: "restaurant" | "warehouse";
|
|
3421
3420
|
name: string;
|
|
3421
|
+
type: "restaurant" | "warehouse";
|
|
3422
3422
|
acceptRequest: boolean;
|
|
3423
3423
|
dbName: string;
|
|
3424
3424
|
doc: {
|
|
@@ -3426,26 +3426,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3426
3426
|
businessId: string;
|
|
3427
3427
|
profile: {
|
|
3428
3428
|
code?: string | null | undefined;
|
|
3429
|
+
url?: string | null | undefined;
|
|
3430
|
+
description?: string | null | undefined;
|
|
3429
3431
|
_id?: string | null | undefined;
|
|
3430
|
-
name?: string | undefined;
|
|
3431
|
-
address?: {
|
|
3432
|
-
coordinates?: number[] | null | undefined;
|
|
3433
|
-
line2?: string | null | undefined;
|
|
3434
|
-
state: string;
|
|
3435
|
-
country: string;
|
|
3436
|
-
line1: string;
|
|
3437
|
-
city: string;
|
|
3438
|
-
postcode: string;
|
|
3439
|
-
} | undefined;
|
|
3440
|
-
email?: string | undefined;
|
|
3441
|
-
regNo?: string | undefined;
|
|
3442
|
-
sstRegNo?: string | null | undefined;
|
|
3443
|
-
phoneNo?: string | undefined;
|
|
3444
3432
|
legalName?: string | null | undefined;
|
|
3433
|
+
sstRegNo?: string | null | undefined;
|
|
3445
3434
|
discovery?: boolean | null | undefined;
|
|
3446
3435
|
coverPhoto?: string | null | undefined;
|
|
3447
3436
|
thumbnailPhoto?: string | null | undefined;
|
|
3448
|
-
description?: string | null | undefined;
|
|
3449
3437
|
photos?: string[] | null | undefined;
|
|
3450
3438
|
operatingHours?: {
|
|
3451
3439
|
0: {
|
|
@@ -3499,7 +3487,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3499
3487
|
};
|
|
3500
3488
|
} | null | undefined;
|
|
3501
3489
|
tags?: string[] | null | undefined;
|
|
3502
|
-
|
|
3490
|
+
name: string;
|
|
3491
|
+
address: {
|
|
3492
|
+
coordinates?: number[] | null | undefined;
|
|
3493
|
+
line2?: string | null | undefined;
|
|
3494
|
+
state: string;
|
|
3495
|
+
country: string;
|
|
3496
|
+
line1: string;
|
|
3497
|
+
city: string;
|
|
3498
|
+
postcode: string;
|
|
3499
|
+
};
|
|
3500
|
+
email: string;
|
|
3501
|
+
phoneNo: string;
|
|
3502
|
+
regNo: string;
|
|
3503
3503
|
};
|
|
3504
3504
|
};
|
|
3505
3505
|
}[] | null | undefined;
|
|
@@ -3594,12 +3594,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3594
3594
|
precision: number;
|
|
3595
3595
|
};
|
|
3596
3596
|
} | null | undefined;
|
|
3597
|
+
id: string;
|
|
3597
3598
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3598
3599
|
amount: {
|
|
3599
3600
|
amount: number;
|
|
3600
3601
|
precision: number;
|
|
3601
3602
|
};
|
|
3602
|
-
id: string;
|
|
3603
3603
|
}[] | null | undefined;
|
|
3604
3604
|
} | null | undefined;
|
|
3605
3605
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3625,6 +3625,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3625
3625
|
mid: number;
|
|
3626
3626
|
} | null | undefined;
|
|
3627
3627
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3628
|
+
_id: string;
|
|
3629
|
+
name: string;
|
|
3630
|
+
code: string;
|
|
3628
3631
|
unit: {
|
|
3629
3632
|
_id: string;
|
|
3630
3633
|
name: string;
|
|
@@ -3640,15 +3643,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3640
3643
|
};
|
|
3641
3644
|
}[];
|
|
3642
3645
|
};
|
|
3643
|
-
code: string;
|
|
3644
|
-
_id: string;
|
|
3645
|
-
name: string;
|
|
3646
3646
|
};
|
|
3647
3647
|
baseAmount: {
|
|
3648
3648
|
amount: number;
|
|
3649
3649
|
precision: number;
|
|
3650
3650
|
};
|
|
3651
3651
|
measurementsAmounts: {
|
|
3652
|
+
amount: {
|
|
3653
|
+
amount: number;
|
|
3654
|
+
precision: number;
|
|
3655
|
+
};
|
|
3652
3656
|
measurement: {
|
|
3653
3657
|
id: string;
|
|
3654
3658
|
name: string;
|
|
@@ -3658,14 +3662,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3658
3662
|
precision: number;
|
|
3659
3663
|
};
|
|
3660
3664
|
};
|
|
3661
|
-
amount: {
|
|
3662
|
-
amount: number;
|
|
3663
|
-
precision: number;
|
|
3664
|
-
};
|
|
3665
3665
|
}[];
|
|
3666
3666
|
}[] | null | undefined;
|
|
3667
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
3668
3667
|
_id: string;
|
|
3668
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
3669
3669
|
items: {
|
|
3670
3670
|
remark?: string | null | undefined;
|
|
3671
3671
|
sku: {
|
|
@@ -3682,12 +3682,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3682
3682
|
precision: number;
|
|
3683
3683
|
};
|
|
3684
3684
|
} | null | undefined;
|
|
3685
|
+
id: string;
|
|
3685
3686
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3686
3687
|
amount: {
|
|
3687
3688
|
amount: number;
|
|
3688
3689
|
precision: number;
|
|
3689
3690
|
};
|
|
3690
|
-
id: string;
|
|
3691
3691
|
}[] | null | undefined;
|
|
3692
3692
|
} | null | undefined;
|
|
3693
3693
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3713,6 +3713,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3713
3713
|
mid: number;
|
|
3714
3714
|
} | null | undefined;
|
|
3715
3715
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3716
|
+
_id: string;
|
|
3717
|
+
name: string;
|
|
3718
|
+
code: string;
|
|
3716
3719
|
unit: {
|
|
3717
3720
|
_id: string;
|
|
3718
3721
|
name: string;
|
|
@@ -3728,15 +3731,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3728
3731
|
};
|
|
3729
3732
|
}[];
|
|
3730
3733
|
};
|
|
3731
|
-
code: string;
|
|
3732
|
-
_id: string;
|
|
3733
|
-
name: string;
|
|
3734
3734
|
};
|
|
3735
3735
|
baseAmount: {
|
|
3736
3736
|
amount: number;
|
|
3737
3737
|
precision: number;
|
|
3738
3738
|
};
|
|
3739
3739
|
measurementsAmounts: {
|
|
3740
|
+
amount: {
|
|
3741
|
+
amount: number;
|
|
3742
|
+
precision: number;
|
|
3743
|
+
};
|
|
3740
3744
|
measurement: {
|
|
3741
3745
|
id: string;
|
|
3742
3746
|
name: string;
|
|
@@ -3746,10 +3750,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3746
3750
|
precision: number;
|
|
3747
3751
|
};
|
|
3748
3752
|
};
|
|
3749
|
-
amount: {
|
|
3750
|
-
amount: number;
|
|
3751
|
-
precision: number;
|
|
3752
|
-
};
|
|
3753
3753
|
}[];
|
|
3754
3754
|
}[];
|
|
3755
3755
|
createdBy: {
|
|
@@ -3767,8 +3767,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3767
3767
|
_id: string;
|
|
3768
3768
|
updatedAt: string;
|
|
3769
3769
|
} | null | undefined;
|
|
3770
|
-
type: "restaurant" | "warehouse";
|
|
3771
3770
|
name: string;
|
|
3771
|
+
type: "restaurant" | "warehouse";
|
|
3772
3772
|
acceptRequest: boolean;
|
|
3773
3773
|
dbName: string;
|
|
3774
3774
|
doc: {
|
|
@@ -3776,26 +3776,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3776
3776
|
businessId: string;
|
|
3777
3777
|
profile: {
|
|
3778
3778
|
code?: string | null | undefined;
|
|
3779
|
+
url?: string | null | undefined;
|
|
3780
|
+
description?: string | null | undefined;
|
|
3779
3781
|
_id?: string | null | undefined;
|
|
3780
|
-
name?: string | undefined;
|
|
3781
|
-
address?: {
|
|
3782
|
-
coordinates?: number[] | null | undefined;
|
|
3783
|
-
line2?: string | null | undefined;
|
|
3784
|
-
state: string;
|
|
3785
|
-
country: string;
|
|
3786
|
-
line1: string;
|
|
3787
|
-
city: string;
|
|
3788
|
-
postcode: string;
|
|
3789
|
-
} | undefined;
|
|
3790
|
-
email?: string | undefined;
|
|
3791
|
-
regNo?: string | undefined;
|
|
3792
|
-
sstRegNo?: string | null | undefined;
|
|
3793
|
-
phoneNo?: string | undefined;
|
|
3794
3782
|
legalName?: string | null | undefined;
|
|
3783
|
+
sstRegNo?: string | null | undefined;
|
|
3795
3784
|
discovery?: boolean | null | undefined;
|
|
3796
3785
|
coverPhoto?: string | null | undefined;
|
|
3797
3786
|
thumbnailPhoto?: string | null | undefined;
|
|
3798
|
-
description?: string | null | undefined;
|
|
3799
3787
|
photos?: string[] | null | undefined;
|
|
3800
3788
|
operatingHours?: {
|
|
3801
3789
|
0: {
|
|
@@ -3849,7 +3837,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3849
3837
|
};
|
|
3850
3838
|
} | null | undefined;
|
|
3851
3839
|
tags?: string[] | null | undefined;
|
|
3852
|
-
|
|
3840
|
+
name: string;
|
|
3841
|
+
address: {
|
|
3842
|
+
coordinates?: number[] | null | undefined;
|
|
3843
|
+
line2?: string | null | undefined;
|
|
3844
|
+
state: string;
|
|
3845
|
+
country: string;
|
|
3846
|
+
line1: string;
|
|
3847
|
+
city: string;
|
|
3848
|
+
postcode: string;
|
|
3849
|
+
};
|
|
3850
|
+
email: string;
|
|
3851
|
+
phoneNo: string;
|
|
3852
|
+
regNo: string;
|
|
3853
3853
|
};
|
|
3854
3854
|
};
|
|
3855
3855
|
}[] | null | undefined;
|
|
@@ -3944,12 +3944,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3944
3944
|
precision: number;
|
|
3945
3945
|
};
|
|
3946
3946
|
} | null | undefined;
|
|
3947
|
+
id: string;
|
|
3947
3948
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3948
3949
|
amount: {
|
|
3949
3950
|
amount: number;
|
|
3950
3951
|
precision: number;
|
|
3951
3952
|
};
|
|
3952
|
-
id: string;
|
|
3953
3953
|
}[] | null | undefined;
|
|
3954
3954
|
} | null | undefined;
|
|
3955
3955
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3975,6 +3975,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3975
3975
|
mid: number;
|
|
3976
3976
|
} | null | undefined;
|
|
3977
3977
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3978
|
+
_id: string;
|
|
3979
|
+
name: string;
|
|
3980
|
+
code: string;
|
|
3978
3981
|
unit: {
|
|
3979
3982
|
_id: string;
|
|
3980
3983
|
name: string;
|
|
@@ -3990,15 +3993,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3990
3993
|
};
|
|
3991
3994
|
}[];
|
|
3992
3995
|
};
|
|
3993
|
-
code: string;
|
|
3994
|
-
_id: string;
|
|
3995
|
-
name: string;
|
|
3996
3996
|
};
|
|
3997
3997
|
baseAmount: {
|
|
3998
3998
|
amount: number;
|
|
3999
3999
|
precision: number;
|
|
4000
4000
|
};
|
|
4001
4001
|
measurementsAmounts: {
|
|
4002
|
+
amount: {
|
|
4003
|
+
amount: number;
|
|
4004
|
+
precision: number;
|
|
4005
|
+
};
|
|
4002
4006
|
measurement: {
|
|
4003
4007
|
id: string;
|
|
4004
4008
|
name: string;
|
|
@@ -4008,14 +4012,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4008
4012
|
precision: number;
|
|
4009
4013
|
};
|
|
4010
4014
|
};
|
|
4011
|
-
amount: {
|
|
4012
|
-
amount: number;
|
|
4013
|
-
precision: number;
|
|
4014
|
-
};
|
|
4015
4015
|
}[];
|
|
4016
4016
|
}[] | null | undefined;
|
|
4017
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
4018
4017
|
_id: string;
|
|
4018
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
4019
4019
|
items: {
|
|
4020
4020
|
remark?: string | null | undefined;
|
|
4021
4021
|
sku: {
|
|
@@ -4032,12 +4032,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4032
4032
|
precision: number;
|
|
4033
4033
|
};
|
|
4034
4034
|
} | null | undefined;
|
|
4035
|
+
id: string;
|
|
4035
4036
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
4036
4037
|
amount: {
|
|
4037
4038
|
amount: number;
|
|
4038
4039
|
precision: number;
|
|
4039
4040
|
};
|
|
4040
|
-
id: string;
|
|
4041
4041
|
}[] | null | undefined;
|
|
4042
4042
|
} | null | undefined;
|
|
4043
4043
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -4063,6 +4063,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4063
4063
|
mid: number;
|
|
4064
4064
|
} | null | undefined;
|
|
4065
4065
|
customAttributes?: Record<string, any> | null | undefined;
|
|
4066
|
+
_id: string;
|
|
4067
|
+
name: string;
|
|
4068
|
+
code: string;
|
|
4066
4069
|
unit: {
|
|
4067
4070
|
_id: string;
|
|
4068
4071
|
name: string;
|
|
@@ -4078,15 +4081,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4078
4081
|
};
|
|
4079
4082
|
}[];
|
|
4080
4083
|
};
|
|
4081
|
-
code: string;
|
|
4082
|
-
_id: string;
|
|
4083
|
-
name: string;
|
|
4084
4084
|
};
|
|
4085
4085
|
baseAmount: {
|
|
4086
4086
|
amount: number;
|
|
4087
4087
|
precision: number;
|
|
4088
4088
|
};
|
|
4089
4089
|
measurementsAmounts: {
|
|
4090
|
+
amount: {
|
|
4091
|
+
amount: number;
|
|
4092
|
+
precision: number;
|
|
4093
|
+
};
|
|
4090
4094
|
measurement: {
|
|
4091
4095
|
id: string;
|
|
4092
4096
|
name: string;
|
|
@@ -4096,10 +4100,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4096
4100
|
precision: number;
|
|
4097
4101
|
};
|
|
4098
4102
|
};
|
|
4099
|
-
amount: {
|
|
4100
|
-
amount: number;
|
|
4101
|
-
precision: number;
|
|
4102
|
-
};
|
|
4103
4103
|
}[];
|
|
4104
4104
|
}[];
|
|
4105
4105
|
createdBy: {
|
|
@@ -4117,8 +4117,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4117
4117
|
_id: string;
|
|
4118
4118
|
updatedAt: string;
|
|
4119
4119
|
} | null | undefined;
|
|
4120
|
-
type: "restaurant" | "warehouse";
|
|
4121
4120
|
name: string;
|
|
4121
|
+
type: "restaurant" | "warehouse";
|
|
4122
4122
|
acceptRequest: boolean;
|
|
4123
4123
|
dbName: string;
|
|
4124
4124
|
doc: {
|
|
@@ -4126,26 +4126,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4126
4126
|
businessId: string;
|
|
4127
4127
|
profile: {
|
|
4128
4128
|
code?: string | null | undefined;
|
|
4129
|
+
url?: string | null | undefined;
|
|
4130
|
+
description?: string | null | undefined;
|
|
4129
4131
|
_id?: string | null | undefined;
|
|
4130
|
-
name?: string | undefined;
|
|
4131
|
-
address?: {
|
|
4132
|
-
coordinates?: number[] | null | undefined;
|
|
4133
|
-
line2?: string | null | undefined;
|
|
4134
|
-
state: string;
|
|
4135
|
-
country: string;
|
|
4136
|
-
line1: string;
|
|
4137
|
-
city: string;
|
|
4138
|
-
postcode: string;
|
|
4139
|
-
} | undefined;
|
|
4140
|
-
email?: string | undefined;
|
|
4141
|
-
regNo?: string | undefined;
|
|
4142
|
-
sstRegNo?: string | null | undefined;
|
|
4143
|
-
phoneNo?: string | undefined;
|
|
4144
4132
|
legalName?: string | null | undefined;
|
|
4133
|
+
sstRegNo?: string | null | undefined;
|
|
4145
4134
|
discovery?: boolean | null | undefined;
|
|
4146
4135
|
coverPhoto?: string | null | undefined;
|
|
4147
4136
|
thumbnailPhoto?: string | null | undefined;
|
|
4148
|
-
description?: string | null | undefined;
|
|
4149
4137
|
photos?: string[] | null | undefined;
|
|
4150
4138
|
operatingHours?: {
|
|
4151
4139
|
0: {
|
|
@@ -4199,7 +4187,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4199
4187
|
};
|
|
4200
4188
|
} | null | undefined;
|
|
4201
4189
|
tags?: string[] | null | undefined;
|
|
4202
|
-
|
|
4190
|
+
name: string;
|
|
4191
|
+
address: {
|
|
4192
|
+
coordinates?: number[] | null | undefined;
|
|
4193
|
+
line2?: string | null | undefined;
|
|
4194
|
+
state: string;
|
|
4195
|
+
country: string;
|
|
4196
|
+
line1: string;
|
|
4197
|
+
city: string;
|
|
4198
|
+
postcode: string;
|
|
4199
|
+
};
|
|
4200
|
+
email: string;
|
|
4201
|
+
phoneNo: string;
|
|
4202
|
+
regNo: string;
|
|
4203
4203
|
};
|
|
4204
4204
|
};
|
|
4205
4205
|
}[] | null | undefined;
|