@feedmepos/mf-inventory-portal 1.0.8 → 1.0.9-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-DeBNx7kq.js → App-DfxhucPn.js} +50 -49
- package/dist/{ApprovalView-CYgDG4X-.js → ApprovalView-BUYgTb8S.js} +24 -24
- package/dist/{BindingsDialog-Bojdsd9h.js → BindingsDialog-Cbs9aVch.js} +2 -2
- package/dist/{BindingsPicker-TkiARkrC.js → BindingsPicker-BH9bil6g.js} +3 -3
- package/dist/{BindingsTable-BWYaPoFt.js → BindingsTable-DBsS_9yb.js} +1 -1
- package/dist/ClosingDraftView-CcQssDLY.js +1415 -0
- package/dist/{ClosingTemplateView-CUjkAFjw.js → ClosingTemplateView-BHPqi-bL.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-BOEKl7zP.js → DeliveryOrderPrintPreview-DlTLtZ1f.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bve5cng3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CtJSPDCo.js} +32 -32
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-1-G4gmCj.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B-erI7fq.js} +51 -51
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bl526zYj.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DT4nyE8i.js} +1 -1
- package/dist/{IngredientGroupView-stli1Xiv.js → IngredientGroupView-DE15kdqH.js} +11 -11
- package/dist/{IngredientsView-jmDSRSkr.js → IngredientsView-BCEznLxB.js} +15 -14
- package/dist/{IntegrationView-BQZtDqlR.js → IntegrationView-COSJuqnB.js} +146 -145
- package/dist/{InventoryBindingForm-hHgB20dI.js → InventoryBindingForm-B3C8gktf.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BK36mlQE.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bn2X1jxB.js} +20 -20
- package/dist/{InventoryBindingSummary-JsAhd0Jm.js → InventoryBindingSummary-BF1OtGum.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4A6bDPB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BMTXHa4I.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C6bND0mn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CZR7wF6-.js} +10 -10
- package/dist/{PublishView-BK7WwXeV.js → PublishView-Cp5tpVb0.js} +12 -12
- package/dist/{PurchaseOrderPrintPreview-CMnaZkzc.js → PurchaseOrderPrintPreview-DWOcxCH8.js} +4 -4
- package/dist/{ReceiveRequestView-Bb6RQyJ8.js → ReceiveRequestView-CRuhm8r1.js} +53 -52
- package/dist/{RecipeView-CZnElbJ8.js → RecipeView-BTS1LBKZ.js} +29 -29
- package/dist/{StockView-CDAHrTyi.js → StockView-CuK8s5rt.js} +73 -72
- package/dist/{SupplierView-WTgrwbJ_.js → SupplierView-Bwpe9RoM.js} +12 -11
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DDAZMTzq.js +1897 -0
- package/dist/{TransferTemplateView-26w6orAY.js → TransferTemplateView-BlluEiV-.js} +291 -290
- package/dist/{UnitView-DAl0OS01.js → UnitView-BWGQHOWP.js} +23 -23
- package/dist/{WarehouseView-Db2wXza_.js → WarehouseView-dOCu22dg.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/api/stock.d.ts +1 -0
- package/dist/{app-Ch3IXeOL.js → app-BkIAyhP-.js} +16504 -16961
- 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-BFWsfQmw.js → decimal-BiC7uGww.js} +1 -1
- package/dist/feature-CCDDWpq8.js +17319 -0
- package/dist/{format-unit-display-CyBzA_Ye.js → format-unit-display-CLa0op_h.js} +60 -60
- package/dist/{index-CKB7R0y2.js → index-BbFvsU1Z.js} +7 -6
- package/dist/{index-CSjhH3PC.js → index-UgbyiGok.js} +1 -1
- package/dist/{stock-BjY9UvKO.js → stock-SxO4bxTm.js} +29 -25
- package/dist/stores/feature.d.ts +5 -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-8x-ZFcOk.js → supplier-BVdCk7nI.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CxZAaSGc.js → use-ingredient-select-dialog-CDeGXhur.js} +1 -1
- package/dist/{use-inventory-binding-dialog-Kmg24YiM.js → use-inventory-binding-dialog-CeRKqMy7.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 +780 -74
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +424 -409
- 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-CXd9SF_G.js → vue-i18n-3Mh8tKq8.js} +341 -341
- package/package.json +3 -1
- package/dist/ClosingDraftView-C0ECZ9zi.js +0 -1394
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-mHNmxBuV.js +0 -1746
|
@@ -49,6 +49,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
49
49
|
};
|
|
50
50
|
id: string;
|
|
51
51
|
}[] | null | undefined;
|
|
52
|
+
stockSnapshotAt?: string | null | undefined;
|
|
52
53
|
approvedAt?: string | null | undefined;
|
|
53
54
|
approvedBy?: {
|
|
54
55
|
name: string;
|
|
@@ -81,12 +82,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
81
82
|
precision: number;
|
|
82
83
|
};
|
|
83
84
|
} | null | undefined;
|
|
85
|
+
id: string;
|
|
84
86
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
85
87
|
amount: {
|
|
86
88
|
amount: number;
|
|
87
89
|
precision: number;
|
|
88
90
|
};
|
|
89
|
-
id: string;
|
|
90
91
|
}[] | null | undefined;
|
|
91
92
|
} | null | undefined;
|
|
92
93
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -112,6 +113,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
112
113
|
mid: number;
|
|
113
114
|
} | null | undefined;
|
|
114
115
|
customAttributes?: Record<string, any> | null | undefined;
|
|
116
|
+
_id: string;
|
|
117
|
+
name: string;
|
|
118
|
+
code: string;
|
|
115
119
|
unit: {
|
|
116
120
|
_id: string;
|
|
117
121
|
name: string;
|
|
@@ -127,15 +131,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
127
131
|
};
|
|
128
132
|
}[];
|
|
129
133
|
};
|
|
130
|
-
code: string;
|
|
131
|
-
_id: string;
|
|
132
|
-
name: string;
|
|
133
134
|
};
|
|
134
135
|
baseAmount: {
|
|
135
136
|
amount: number;
|
|
136
137
|
precision: number;
|
|
137
138
|
};
|
|
138
139
|
measurementsAmounts: {
|
|
140
|
+
amount: {
|
|
141
|
+
amount: number;
|
|
142
|
+
precision: number;
|
|
143
|
+
};
|
|
139
144
|
measurement: {
|
|
140
145
|
id: string;
|
|
141
146
|
name: string;
|
|
@@ -145,14 +150,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
145
150
|
precision: number;
|
|
146
151
|
};
|
|
147
152
|
};
|
|
148
|
-
amount: {
|
|
149
|
-
amount: number;
|
|
150
|
-
precision: number;
|
|
151
|
-
};
|
|
152
153
|
}[];
|
|
153
154
|
}[] | null | undefined;
|
|
154
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
155
155
|
_id: string;
|
|
156
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
156
157
|
items: {
|
|
157
158
|
remark?: string | null | undefined;
|
|
158
159
|
sku: {
|
|
@@ -169,12 +170,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
169
170
|
precision: number;
|
|
170
171
|
};
|
|
171
172
|
} | null | undefined;
|
|
173
|
+
id: string;
|
|
172
174
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
173
175
|
amount: {
|
|
174
176
|
amount: number;
|
|
175
177
|
precision: number;
|
|
176
178
|
};
|
|
177
|
-
id: string;
|
|
178
179
|
}[] | null | undefined;
|
|
179
180
|
} | null | undefined;
|
|
180
181
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -200,6 +201,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
200
201
|
mid: number;
|
|
201
202
|
} | null | undefined;
|
|
202
203
|
customAttributes?: Record<string, any> | null | undefined;
|
|
204
|
+
_id: string;
|
|
205
|
+
name: string;
|
|
206
|
+
code: string;
|
|
203
207
|
unit: {
|
|
204
208
|
_id: string;
|
|
205
209
|
name: string;
|
|
@@ -215,15 +219,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
215
219
|
};
|
|
216
220
|
}[];
|
|
217
221
|
};
|
|
218
|
-
code: string;
|
|
219
|
-
_id: string;
|
|
220
|
-
name: string;
|
|
221
222
|
};
|
|
222
223
|
baseAmount: {
|
|
223
224
|
amount: number;
|
|
224
225
|
precision: number;
|
|
225
226
|
};
|
|
226
227
|
measurementsAmounts: {
|
|
228
|
+
amount: {
|
|
229
|
+
amount: number;
|
|
230
|
+
precision: number;
|
|
231
|
+
};
|
|
227
232
|
measurement: {
|
|
228
233
|
id: string;
|
|
229
234
|
name: string;
|
|
@@ -233,10 +238,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
233
238
|
precision: number;
|
|
234
239
|
};
|
|
235
240
|
};
|
|
236
|
-
amount: {
|
|
237
|
-
amount: number;
|
|
238
|
-
precision: number;
|
|
239
|
-
};
|
|
240
241
|
}[];
|
|
241
242
|
}[];
|
|
242
243
|
createdBy: {
|
|
@@ -254,8 +255,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
254
255
|
_id: string;
|
|
255
256
|
updatedAt: string;
|
|
256
257
|
} | null | undefined;
|
|
257
|
-
type: "restaurant" | "warehouse";
|
|
258
258
|
name: string;
|
|
259
|
+
type: "restaurant" | "warehouse";
|
|
259
260
|
acceptRequest: boolean;
|
|
260
261
|
dbName: string;
|
|
261
262
|
doc: {
|
|
@@ -263,26 +264,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
263
264
|
businessId: string;
|
|
264
265
|
profile: {
|
|
265
266
|
code?: string | null | undefined;
|
|
267
|
+
url?: string | null | undefined;
|
|
268
|
+
description?: string | null | undefined;
|
|
266
269
|
_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
270
|
legalName?: string | null | undefined;
|
|
271
|
+
sstRegNo?: string | null | undefined;
|
|
282
272
|
discovery?: boolean | null | undefined;
|
|
283
273
|
coverPhoto?: string | null | undefined;
|
|
284
274
|
thumbnailPhoto?: string | null | undefined;
|
|
285
|
-
description?: string | null | undefined;
|
|
286
275
|
photos?: string[] | null | undefined;
|
|
287
276
|
operatingHours?: {
|
|
288
277
|
0: {
|
|
@@ -336,7 +325,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
336
325
|
};
|
|
337
326
|
} | null | undefined;
|
|
338
327
|
tags?: string[] | null | undefined;
|
|
339
|
-
|
|
328
|
+
name: string;
|
|
329
|
+
address: {
|
|
330
|
+
coordinates?: number[] | null | undefined;
|
|
331
|
+
line2?: string | null | undefined;
|
|
332
|
+
state: string;
|
|
333
|
+
country: string;
|
|
334
|
+
line1: string;
|
|
335
|
+
city: string;
|
|
336
|
+
postcode: string;
|
|
337
|
+
};
|
|
338
|
+
email: string;
|
|
339
|
+
phoneNo: string;
|
|
340
|
+
regNo: string;
|
|
340
341
|
};
|
|
341
342
|
};
|
|
342
343
|
}[] | null | undefined;
|
|
@@ -400,6 +401,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
400
401
|
};
|
|
401
402
|
id: string;
|
|
402
403
|
}[] | null | undefined;
|
|
404
|
+
stockSnapshotAt?: string | null | undefined;
|
|
403
405
|
approvedAt?: string | null | undefined;
|
|
404
406
|
approvedBy?: {
|
|
405
407
|
name: string;
|
|
@@ -432,12 +434,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
432
434
|
precision: number;
|
|
433
435
|
};
|
|
434
436
|
} | null | undefined;
|
|
437
|
+
id: string;
|
|
435
438
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
436
439
|
amount: {
|
|
437
440
|
amount: number;
|
|
438
441
|
precision: number;
|
|
439
442
|
};
|
|
440
|
-
id: string;
|
|
441
443
|
}[] | null | undefined;
|
|
442
444
|
} | null | undefined;
|
|
443
445
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -463,6 +465,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
463
465
|
mid: number;
|
|
464
466
|
} | null | undefined;
|
|
465
467
|
customAttributes?: Record<string, any> | null | undefined;
|
|
468
|
+
_id: string;
|
|
469
|
+
name: string;
|
|
470
|
+
code: string;
|
|
466
471
|
unit: {
|
|
467
472
|
_id: string;
|
|
468
473
|
name: string;
|
|
@@ -478,15 +483,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
478
483
|
};
|
|
479
484
|
}[];
|
|
480
485
|
};
|
|
481
|
-
code: string;
|
|
482
|
-
_id: string;
|
|
483
|
-
name: string;
|
|
484
486
|
};
|
|
485
487
|
baseAmount: {
|
|
486
488
|
amount: number;
|
|
487
489
|
precision: number;
|
|
488
490
|
};
|
|
489
491
|
measurementsAmounts: {
|
|
492
|
+
amount: {
|
|
493
|
+
amount: number;
|
|
494
|
+
precision: number;
|
|
495
|
+
};
|
|
490
496
|
measurement: {
|
|
491
497
|
id: string;
|
|
492
498
|
name: string;
|
|
@@ -496,14 +502,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
496
502
|
precision: number;
|
|
497
503
|
};
|
|
498
504
|
};
|
|
499
|
-
amount: {
|
|
500
|
-
amount: number;
|
|
501
|
-
precision: number;
|
|
502
|
-
};
|
|
503
505
|
}[];
|
|
504
506
|
}[] | null | undefined;
|
|
505
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
506
507
|
_id: string;
|
|
508
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
507
509
|
items: {
|
|
508
510
|
remark?: string | null | undefined;
|
|
509
511
|
sku: {
|
|
@@ -520,12 +522,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
520
522
|
precision: number;
|
|
521
523
|
};
|
|
522
524
|
} | null | undefined;
|
|
525
|
+
id: string;
|
|
523
526
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
524
527
|
amount: {
|
|
525
528
|
amount: number;
|
|
526
529
|
precision: number;
|
|
527
530
|
};
|
|
528
|
-
id: string;
|
|
529
531
|
}[] | null | undefined;
|
|
530
532
|
} | null | undefined;
|
|
531
533
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -551,6 +553,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
551
553
|
mid: number;
|
|
552
554
|
} | null | undefined;
|
|
553
555
|
customAttributes?: Record<string, any> | null | undefined;
|
|
556
|
+
_id: string;
|
|
557
|
+
name: string;
|
|
558
|
+
code: string;
|
|
554
559
|
unit: {
|
|
555
560
|
_id: string;
|
|
556
561
|
name: string;
|
|
@@ -566,15 +571,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
566
571
|
};
|
|
567
572
|
}[];
|
|
568
573
|
};
|
|
569
|
-
code: string;
|
|
570
|
-
_id: string;
|
|
571
|
-
name: string;
|
|
572
574
|
};
|
|
573
575
|
baseAmount: {
|
|
574
576
|
amount: number;
|
|
575
577
|
precision: number;
|
|
576
578
|
};
|
|
577
579
|
measurementsAmounts: {
|
|
580
|
+
amount: {
|
|
581
|
+
amount: number;
|
|
582
|
+
precision: number;
|
|
583
|
+
};
|
|
578
584
|
measurement: {
|
|
579
585
|
id: string;
|
|
580
586
|
name: string;
|
|
@@ -584,10 +590,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
584
590
|
precision: number;
|
|
585
591
|
};
|
|
586
592
|
};
|
|
587
|
-
amount: {
|
|
588
|
-
amount: number;
|
|
589
|
-
precision: number;
|
|
590
|
-
};
|
|
591
593
|
}[];
|
|
592
594
|
}[];
|
|
593
595
|
createdBy: {
|
|
@@ -605,8 +607,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
605
607
|
_id: string;
|
|
606
608
|
updatedAt: string;
|
|
607
609
|
} | null | undefined;
|
|
608
|
-
type: "restaurant" | "warehouse";
|
|
609
610
|
name: string;
|
|
611
|
+
type: "restaurant" | "warehouse";
|
|
610
612
|
acceptRequest: boolean;
|
|
611
613
|
dbName: string;
|
|
612
614
|
doc: {
|
|
@@ -614,26 +616,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
614
616
|
businessId: string;
|
|
615
617
|
profile: {
|
|
616
618
|
code?: string | null | undefined;
|
|
619
|
+
url?: string | null | undefined;
|
|
620
|
+
description?: string | null | undefined;
|
|
617
621
|
_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
622
|
legalName?: string | null | undefined;
|
|
623
|
+
sstRegNo?: string | null | undefined;
|
|
633
624
|
discovery?: boolean | null | undefined;
|
|
634
625
|
coverPhoto?: string | null | undefined;
|
|
635
626
|
thumbnailPhoto?: string | null | undefined;
|
|
636
|
-
description?: string | null | undefined;
|
|
637
627
|
photos?: string[] | null | undefined;
|
|
638
628
|
operatingHours?: {
|
|
639
629
|
0: {
|
|
@@ -687,7 +677,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
687
677
|
};
|
|
688
678
|
} | null | undefined;
|
|
689
679
|
tags?: string[] | null | undefined;
|
|
690
|
-
|
|
680
|
+
name: string;
|
|
681
|
+
address: {
|
|
682
|
+
coordinates?: number[] | null | undefined;
|
|
683
|
+
line2?: string | null | undefined;
|
|
684
|
+
state: string;
|
|
685
|
+
country: string;
|
|
686
|
+
line1: string;
|
|
687
|
+
city: string;
|
|
688
|
+
postcode: string;
|
|
689
|
+
};
|
|
690
|
+
email: string;
|
|
691
|
+
phoneNo: string;
|
|
692
|
+
regNo: string;
|
|
691
693
|
};
|
|
692
694
|
};
|
|
693
695
|
}[] | null | undefined;
|
|
@@ -750,6 +752,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
750
752
|
};
|
|
751
753
|
id: string;
|
|
752
754
|
}[] | null | undefined;
|
|
755
|
+
stockSnapshotAt?: string | null | undefined;
|
|
753
756
|
approvedAt?: string | null | undefined;
|
|
754
757
|
approvedBy?: {
|
|
755
758
|
name: string;
|
|
@@ -782,12 +785,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
782
785
|
precision: number;
|
|
783
786
|
};
|
|
784
787
|
} | null | undefined;
|
|
788
|
+
id: string;
|
|
785
789
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
786
790
|
amount: {
|
|
787
791
|
amount: number;
|
|
788
792
|
precision: number;
|
|
789
793
|
};
|
|
790
|
-
id: string;
|
|
791
794
|
}[] | null | undefined;
|
|
792
795
|
} | null | undefined;
|
|
793
796
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -813,6 +816,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
813
816
|
mid: number;
|
|
814
817
|
} | null | undefined;
|
|
815
818
|
customAttributes?: Record<string, any> | null | undefined;
|
|
819
|
+
_id: string;
|
|
820
|
+
name: string;
|
|
821
|
+
code: string;
|
|
816
822
|
unit: {
|
|
817
823
|
_id: string;
|
|
818
824
|
name: string;
|
|
@@ -828,15 +834,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
828
834
|
};
|
|
829
835
|
}[];
|
|
830
836
|
};
|
|
831
|
-
code: string;
|
|
832
|
-
_id: string;
|
|
833
|
-
name: string;
|
|
834
837
|
};
|
|
835
838
|
baseAmount: {
|
|
836
839
|
amount: number;
|
|
837
840
|
precision: number;
|
|
838
841
|
};
|
|
839
842
|
measurementsAmounts: {
|
|
843
|
+
amount: {
|
|
844
|
+
amount: number;
|
|
845
|
+
precision: number;
|
|
846
|
+
};
|
|
840
847
|
measurement: {
|
|
841
848
|
id: string;
|
|
842
849
|
name: string;
|
|
@@ -846,14 +853,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
846
853
|
precision: number;
|
|
847
854
|
};
|
|
848
855
|
};
|
|
849
|
-
amount: {
|
|
850
|
-
amount: number;
|
|
851
|
-
precision: number;
|
|
852
|
-
};
|
|
853
856
|
}[];
|
|
854
857
|
}[] | null | undefined;
|
|
855
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
856
858
|
_id: string;
|
|
859
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
857
860
|
items: {
|
|
858
861
|
remark?: string | null | undefined;
|
|
859
862
|
sku: {
|
|
@@ -870,12 +873,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
870
873
|
precision: number;
|
|
871
874
|
};
|
|
872
875
|
} | null | undefined;
|
|
876
|
+
id: string;
|
|
873
877
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
874
878
|
amount: {
|
|
875
879
|
amount: number;
|
|
876
880
|
precision: number;
|
|
877
881
|
};
|
|
878
|
-
id: string;
|
|
879
882
|
}[] | null | undefined;
|
|
880
883
|
} | null | undefined;
|
|
881
884
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -901,6 +904,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
901
904
|
mid: number;
|
|
902
905
|
} | null | undefined;
|
|
903
906
|
customAttributes?: Record<string, any> | null | undefined;
|
|
907
|
+
_id: string;
|
|
908
|
+
name: string;
|
|
909
|
+
code: string;
|
|
904
910
|
unit: {
|
|
905
911
|
_id: string;
|
|
906
912
|
name: string;
|
|
@@ -916,15 +922,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
916
922
|
};
|
|
917
923
|
}[];
|
|
918
924
|
};
|
|
919
|
-
code: string;
|
|
920
|
-
_id: string;
|
|
921
|
-
name: string;
|
|
922
925
|
};
|
|
923
926
|
baseAmount: {
|
|
924
927
|
amount: number;
|
|
925
928
|
precision: number;
|
|
926
929
|
};
|
|
927
930
|
measurementsAmounts: {
|
|
931
|
+
amount: {
|
|
932
|
+
amount: number;
|
|
933
|
+
precision: number;
|
|
934
|
+
};
|
|
928
935
|
measurement: {
|
|
929
936
|
id: string;
|
|
930
937
|
name: string;
|
|
@@ -934,10 +941,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
934
941
|
precision: number;
|
|
935
942
|
};
|
|
936
943
|
};
|
|
937
|
-
amount: {
|
|
938
|
-
amount: number;
|
|
939
|
-
precision: number;
|
|
940
|
-
};
|
|
941
944
|
}[];
|
|
942
945
|
}[];
|
|
943
946
|
createdBy: {
|
|
@@ -955,8 +958,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
955
958
|
_id: string;
|
|
956
959
|
updatedAt: string;
|
|
957
960
|
} | null | undefined;
|
|
958
|
-
type: "restaurant" | "warehouse";
|
|
959
961
|
name: string;
|
|
962
|
+
type: "restaurant" | "warehouse";
|
|
960
963
|
acceptRequest: boolean;
|
|
961
964
|
dbName: string;
|
|
962
965
|
doc: {
|
|
@@ -964,26 +967,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
964
967
|
businessId: string;
|
|
965
968
|
profile: {
|
|
966
969
|
code?: string | null | undefined;
|
|
970
|
+
url?: string | null | undefined;
|
|
971
|
+
description?: string | null | undefined;
|
|
967
972
|
_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
973
|
legalName?: string | null | undefined;
|
|
974
|
+
sstRegNo?: string | null | undefined;
|
|
983
975
|
discovery?: boolean | null | undefined;
|
|
984
976
|
coverPhoto?: string | null | undefined;
|
|
985
977
|
thumbnailPhoto?: string | null | undefined;
|
|
986
|
-
description?: string | null | undefined;
|
|
987
978
|
photos?: string[] | null | undefined;
|
|
988
979
|
operatingHours?: {
|
|
989
980
|
0: {
|
|
@@ -1037,7 +1028,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1037
1028
|
};
|
|
1038
1029
|
} | null | undefined;
|
|
1039
1030
|
tags?: string[] | null | undefined;
|
|
1040
|
-
|
|
1031
|
+
name: string;
|
|
1032
|
+
address: {
|
|
1033
|
+
coordinates?: number[] | null | undefined;
|
|
1034
|
+
line2?: string | null | undefined;
|
|
1035
|
+
state: string;
|
|
1036
|
+
country: string;
|
|
1037
|
+
line1: string;
|
|
1038
|
+
city: string;
|
|
1039
|
+
postcode: string;
|
|
1040
|
+
};
|
|
1041
|
+
email: string;
|
|
1042
|
+
phoneNo: string;
|
|
1043
|
+
regNo: string;
|
|
1041
1044
|
};
|
|
1042
1045
|
};
|
|
1043
1046
|
}[] | null | undefined;
|
|
@@ -1100,6 +1103,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1100
1103
|
};
|
|
1101
1104
|
id: string;
|
|
1102
1105
|
}[] | null | undefined;
|
|
1106
|
+
stockSnapshotAt?: string | null | undefined;
|
|
1103
1107
|
approvedAt?: string | null | undefined;
|
|
1104
1108
|
approvedBy?: {
|
|
1105
1109
|
name: string;
|
|
@@ -1132,12 +1136,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1132
1136
|
precision: number;
|
|
1133
1137
|
};
|
|
1134
1138
|
} | null | undefined;
|
|
1139
|
+
id: string;
|
|
1135
1140
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1136
1141
|
amount: {
|
|
1137
1142
|
amount: number;
|
|
1138
1143
|
precision: number;
|
|
1139
1144
|
};
|
|
1140
|
-
id: string;
|
|
1141
1145
|
}[] | null | undefined;
|
|
1142
1146
|
} | null | undefined;
|
|
1143
1147
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1163,6 +1167,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1163
1167
|
mid: number;
|
|
1164
1168
|
} | null | undefined;
|
|
1165
1169
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1170
|
+
_id: string;
|
|
1171
|
+
name: string;
|
|
1172
|
+
code: string;
|
|
1166
1173
|
unit: {
|
|
1167
1174
|
_id: string;
|
|
1168
1175
|
name: string;
|
|
@@ -1178,15 +1185,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1178
1185
|
};
|
|
1179
1186
|
}[];
|
|
1180
1187
|
};
|
|
1181
|
-
code: string;
|
|
1182
|
-
_id: string;
|
|
1183
|
-
name: string;
|
|
1184
1188
|
};
|
|
1185
1189
|
baseAmount: {
|
|
1186
1190
|
amount: number;
|
|
1187
1191
|
precision: number;
|
|
1188
1192
|
};
|
|
1189
1193
|
measurementsAmounts: {
|
|
1194
|
+
amount: {
|
|
1195
|
+
amount: number;
|
|
1196
|
+
precision: number;
|
|
1197
|
+
};
|
|
1190
1198
|
measurement: {
|
|
1191
1199
|
id: string;
|
|
1192
1200
|
name: string;
|
|
@@ -1196,14 +1204,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1196
1204
|
precision: number;
|
|
1197
1205
|
};
|
|
1198
1206
|
};
|
|
1199
|
-
amount: {
|
|
1200
|
-
amount: number;
|
|
1201
|
-
precision: number;
|
|
1202
|
-
};
|
|
1203
1207
|
}[];
|
|
1204
1208
|
}[] | null | undefined;
|
|
1205
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1206
1209
|
_id: string;
|
|
1210
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
1207
1211
|
items: {
|
|
1208
1212
|
remark?: string | null | undefined;
|
|
1209
1213
|
sku: {
|
|
@@ -1220,12 +1224,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1220
1224
|
precision: number;
|
|
1221
1225
|
};
|
|
1222
1226
|
} | null | undefined;
|
|
1227
|
+
id: string;
|
|
1223
1228
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1224
1229
|
amount: {
|
|
1225
1230
|
amount: number;
|
|
1226
1231
|
precision: number;
|
|
1227
1232
|
};
|
|
1228
|
-
id: string;
|
|
1229
1233
|
}[] | null | undefined;
|
|
1230
1234
|
} | null | undefined;
|
|
1231
1235
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1251,6 +1255,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1251
1255
|
mid: number;
|
|
1252
1256
|
} | null | undefined;
|
|
1253
1257
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1258
|
+
_id: string;
|
|
1259
|
+
name: string;
|
|
1260
|
+
code: string;
|
|
1254
1261
|
unit: {
|
|
1255
1262
|
_id: string;
|
|
1256
1263
|
name: string;
|
|
@@ -1266,15 +1273,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1266
1273
|
};
|
|
1267
1274
|
}[];
|
|
1268
1275
|
};
|
|
1269
|
-
code: string;
|
|
1270
|
-
_id: string;
|
|
1271
|
-
name: string;
|
|
1272
1276
|
};
|
|
1273
1277
|
baseAmount: {
|
|
1274
1278
|
amount: number;
|
|
1275
1279
|
precision: number;
|
|
1276
1280
|
};
|
|
1277
1281
|
measurementsAmounts: {
|
|
1282
|
+
amount: {
|
|
1283
|
+
amount: number;
|
|
1284
|
+
precision: number;
|
|
1285
|
+
};
|
|
1278
1286
|
measurement: {
|
|
1279
1287
|
id: string;
|
|
1280
1288
|
name: string;
|
|
@@ -1284,10 +1292,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1284
1292
|
precision: number;
|
|
1285
1293
|
};
|
|
1286
1294
|
};
|
|
1287
|
-
amount: {
|
|
1288
|
-
amount: number;
|
|
1289
|
-
precision: number;
|
|
1290
|
-
};
|
|
1291
1295
|
}[];
|
|
1292
1296
|
}[];
|
|
1293
1297
|
createdBy: {
|
|
@@ -1305,8 +1309,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1305
1309
|
_id: string;
|
|
1306
1310
|
updatedAt: string;
|
|
1307
1311
|
} | null | undefined;
|
|
1308
|
-
type: "restaurant" | "warehouse";
|
|
1309
1312
|
name: string;
|
|
1313
|
+
type: "restaurant" | "warehouse";
|
|
1310
1314
|
acceptRequest: boolean;
|
|
1311
1315
|
dbName: string;
|
|
1312
1316
|
doc: {
|
|
@@ -1314,26 +1318,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1314
1318
|
businessId: string;
|
|
1315
1319
|
profile: {
|
|
1316
1320
|
code?: string | null | undefined;
|
|
1321
|
+
url?: string | null | undefined;
|
|
1322
|
+
description?: string | null | undefined;
|
|
1317
1323
|
_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
1324
|
legalName?: string | null | undefined;
|
|
1325
|
+
sstRegNo?: string | null | undefined;
|
|
1333
1326
|
discovery?: boolean | null | undefined;
|
|
1334
1327
|
coverPhoto?: string | null | undefined;
|
|
1335
1328
|
thumbnailPhoto?: string | null | undefined;
|
|
1336
|
-
description?: string | null | undefined;
|
|
1337
1329
|
photos?: string[] | null | undefined;
|
|
1338
1330
|
operatingHours?: {
|
|
1339
1331
|
0: {
|
|
@@ -1387,7 +1379,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1387
1379
|
};
|
|
1388
1380
|
} | null | undefined;
|
|
1389
1381
|
tags?: string[] | null | undefined;
|
|
1390
|
-
|
|
1382
|
+
name: string;
|
|
1383
|
+
address: {
|
|
1384
|
+
coordinates?: number[] | null | undefined;
|
|
1385
|
+
line2?: string | null | undefined;
|
|
1386
|
+
state: string;
|
|
1387
|
+
country: string;
|
|
1388
|
+
line1: string;
|
|
1389
|
+
city: string;
|
|
1390
|
+
postcode: string;
|
|
1391
|
+
};
|
|
1392
|
+
email: string;
|
|
1393
|
+
phoneNo: string;
|
|
1394
|
+
regNo: string;
|
|
1391
1395
|
};
|
|
1392
1396
|
};
|
|
1393
1397
|
}[] | null | undefined;
|
|
@@ -1406,6 +1410,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1406
1410
|
loading: import("vue").Ref<boolean, boolean>;
|
|
1407
1411
|
fetchDrafts: () => Promise<void>;
|
|
1408
1412
|
loadDraft: (draftId: string) => Promise<void>;
|
|
1413
|
+
updateDraftRef: (draft: FdoClosingDraft) => void;
|
|
1409
1414
|
}, "loading" | "columnDefs" | "drafts">>, Pick<{
|
|
1410
1415
|
columnDefs: ColumnDef<{
|
|
1411
1416
|
remark?: string | null | undefined;
|
|
@@ -1455,6 +1460,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1455
1460
|
};
|
|
1456
1461
|
id: string;
|
|
1457
1462
|
}[] | null | undefined;
|
|
1463
|
+
stockSnapshotAt?: string | null | undefined;
|
|
1458
1464
|
approvedAt?: string | null | undefined;
|
|
1459
1465
|
approvedBy?: {
|
|
1460
1466
|
name: string;
|
|
@@ -1487,12 +1493,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1487
1493
|
precision: number;
|
|
1488
1494
|
};
|
|
1489
1495
|
} | null | undefined;
|
|
1496
|
+
id: string;
|
|
1490
1497
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1491
1498
|
amount: {
|
|
1492
1499
|
amount: number;
|
|
1493
1500
|
precision: number;
|
|
1494
1501
|
};
|
|
1495
|
-
id: string;
|
|
1496
1502
|
}[] | null | undefined;
|
|
1497
1503
|
} | null | undefined;
|
|
1498
1504
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1518,6 +1524,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1518
1524
|
mid: number;
|
|
1519
1525
|
} | null | undefined;
|
|
1520
1526
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1527
|
+
_id: string;
|
|
1528
|
+
name: string;
|
|
1529
|
+
code: string;
|
|
1521
1530
|
unit: {
|
|
1522
1531
|
_id: string;
|
|
1523
1532
|
name: string;
|
|
@@ -1533,15 +1542,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1533
1542
|
};
|
|
1534
1543
|
}[];
|
|
1535
1544
|
};
|
|
1536
|
-
code: string;
|
|
1537
|
-
_id: string;
|
|
1538
|
-
name: string;
|
|
1539
1545
|
};
|
|
1540
1546
|
baseAmount: {
|
|
1541
1547
|
amount: number;
|
|
1542
1548
|
precision: number;
|
|
1543
1549
|
};
|
|
1544
1550
|
measurementsAmounts: {
|
|
1551
|
+
amount: {
|
|
1552
|
+
amount: number;
|
|
1553
|
+
precision: number;
|
|
1554
|
+
};
|
|
1545
1555
|
measurement: {
|
|
1546
1556
|
id: string;
|
|
1547
1557
|
name: string;
|
|
@@ -1551,14 +1561,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1551
1561
|
precision: number;
|
|
1552
1562
|
};
|
|
1553
1563
|
};
|
|
1554
|
-
amount: {
|
|
1555
|
-
amount: number;
|
|
1556
|
-
precision: number;
|
|
1557
|
-
};
|
|
1558
1564
|
}[];
|
|
1559
1565
|
}[] | null | undefined;
|
|
1560
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1561
1566
|
_id: string;
|
|
1567
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
1562
1568
|
items: {
|
|
1563
1569
|
remark?: string | null | undefined;
|
|
1564
1570
|
sku: {
|
|
@@ -1575,12 +1581,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1575
1581
|
precision: number;
|
|
1576
1582
|
};
|
|
1577
1583
|
} | null | undefined;
|
|
1584
|
+
id: string;
|
|
1578
1585
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1579
1586
|
amount: {
|
|
1580
1587
|
amount: number;
|
|
1581
1588
|
precision: number;
|
|
1582
1589
|
};
|
|
1583
|
-
id: string;
|
|
1584
1590
|
}[] | null | undefined;
|
|
1585
1591
|
} | null | undefined;
|
|
1586
1592
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1606,6 +1612,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1606
1612
|
mid: number;
|
|
1607
1613
|
} | null | undefined;
|
|
1608
1614
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1615
|
+
_id: string;
|
|
1616
|
+
name: string;
|
|
1617
|
+
code: string;
|
|
1609
1618
|
unit: {
|
|
1610
1619
|
_id: string;
|
|
1611
1620
|
name: string;
|
|
@@ -1621,15 +1630,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1621
1630
|
};
|
|
1622
1631
|
}[];
|
|
1623
1632
|
};
|
|
1624
|
-
code: string;
|
|
1625
|
-
_id: string;
|
|
1626
|
-
name: string;
|
|
1627
1633
|
};
|
|
1628
1634
|
baseAmount: {
|
|
1629
1635
|
amount: number;
|
|
1630
1636
|
precision: number;
|
|
1631
1637
|
};
|
|
1632
1638
|
measurementsAmounts: {
|
|
1639
|
+
amount: {
|
|
1640
|
+
amount: number;
|
|
1641
|
+
precision: number;
|
|
1642
|
+
};
|
|
1633
1643
|
measurement: {
|
|
1634
1644
|
id: string;
|
|
1635
1645
|
name: string;
|
|
@@ -1639,10 +1649,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1639
1649
|
precision: number;
|
|
1640
1650
|
};
|
|
1641
1651
|
};
|
|
1642
|
-
amount: {
|
|
1643
|
-
amount: number;
|
|
1644
|
-
precision: number;
|
|
1645
|
-
};
|
|
1646
1652
|
}[];
|
|
1647
1653
|
}[];
|
|
1648
1654
|
createdBy: {
|
|
@@ -1660,8 +1666,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1660
1666
|
_id: string;
|
|
1661
1667
|
updatedAt: string;
|
|
1662
1668
|
} | null | undefined;
|
|
1663
|
-
type: "restaurant" | "warehouse";
|
|
1664
1669
|
name: string;
|
|
1670
|
+
type: "restaurant" | "warehouse";
|
|
1665
1671
|
acceptRequest: boolean;
|
|
1666
1672
|
dbName: string;
|
|
1667
1673
|
doc: {
|
|
@@ -1669,26 +1675,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1669
1675
|
businessId: string;
|
|
1670
1676
|
profile: {
|
|
1671
1677
|
code?: string | null | undefined;
|
|
1678
|
+
url?: string | null | undefined;
|
|
1679
|
+
description?: string | null | undefined;
|
|
1672
1680
|
_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
1681
|
legalName?: string | null | undefined;
|
|
1682
|
+
sstRegNo?: string | null | undefined;
|
|
1688
1683
|
discovery?: boolean | null | undefined;
|
|
1689
1684
|
coverPhoto?: string | null | undefined;
|
|
1690
1685
|
thumbnailPhoto?: string | null | undefined;
|
|
1691
|
-
description?: string | null | undefined;
|
|
1692
1686
|
photos?: string[] | null | undefined;
|
|
1693
1687
|
operatingHours?: {
|
|
1694
1688
|
0: {
|
|
@@ -1742,7 +1736,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1742
1736
|
};
|
|
1743
1737
|
} | null | undefined;
|
|
1744
1738
|
tags?: string[] | null | undefined;
|
|
1745
|
-
|
|
1739
|
+
name: string;
|
|
1740
|
+
address: {
|
|
1741
|
+
coordinates?: number[] | null | undefined;
|
|
1742
|
+
line2?: string | null | undefined;
|
|
1743
|
+
state: string;
|
|
1744
|
+
country: string;
|
|
1745
|
+
line1: string;
|
|
1746
|
+
city: string;
|
|
1747
|
+
postcode: string;
|
|
1748
|
+
};
|
|
1749
|
+
email: string;
|
|
1750
|
+
phoneNo: string;
|
|
1751
|
+
regNo: string;
|
|
1746
1752
|
};
|
|
1747
1753
|
};
|
|
1748
1754
|
}[] | null | undefined;
|
|
@@ -1806,6 +1812,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1806
1812
|
};
|
|
1807
1813
|
id: string;
|
|
1808
1814
|
}[] | null | undefined;
|
|
1815
|
+
stockSnapshotAt?: string | null | undefined;
|
|
1809
1816
|
approvedAt?: string | null | undefined;
|
|
1810
1817
|
approvedBy?: {
|
|
1811
1818
|
name: string;
|
|
@@ -1838,12 +1845,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1838
1845
|
precision: number;
|
|
1839
1846
|
};
|
|
1840
1847
|
} | null | undefined;
|
|
1848
|
+
id: string;
|
|
1841
1849
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1842
1850
|
amount: {
|
|
1843
1851
|
amount: number;
|
|
1844
1852
|
precision: number;
|
|
1845
1853
|
};
|
|
1846
|
-
id: string;
|
|
1847
1854
|
}[] | null | undefined;
|
|
1848
1855
|
} | null | undefined;
|
|
1849
1856
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1869,6 +1876,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1869
1876
|
mid: number;
|
|
1870
1877
|
} | null | undefined;
|
|
1871
1878
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1879
|
+
_id: string;
|
|
1880
|
+
name: string;
|
|
1881
|
+
code: string;
|
|
1872
1882
|
unit: {
|
|
1873
1883
|
_id: string;
|
|
1874
1884
|
name: string;
|
|
@@ -1884,15 +1894,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1884
1894
|
};
|
|
1885
1895
|
}[];
|
|
1886
1896
|
};
|
|
1887
|
-
code: string;
|
|
1888
|
-
_id: string;
|
|
1889
|
-
name: string;
|
|
1890
1897
|
};
|
|
1891
1898
|
baseAmount: {
|
|
1892
1899
|
amount: number;
|
|
1893
1900
|
precision: number;
|
|
1894
1901
|
};
|
|
1895
1902
|
measurementsAmounts: {
|
|
1903
|
+
amount: {
|
|
1904
|
+
amount: number;
|
|
1905
|
+
precision: number;
|
|
1906
|
+
};
|
|
1896
1907
|
measurement: {
|
|
1897
1908
|
id: string;
|
|
1898
1909
|
name: string;
|
|
@@ -1902,14 +1913,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1902
1913
|
precision: number;
|
|
1903
1914
|
};
|
|
1904
1915
|
};
|
|
1905
|
-
amount: {
|
|
1906
|
-
amount: number;
|
|
1907
|
-
precision: number;
|
|
1908
|
-
};
|
|
1909
1916
|
}[];
|
|
1910
1917
|
}[] | null | undefined;
|
|
1911
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1912
1918
|
_id: string;
|
|
1919
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
1913
1920
|
items: {
|
|
1914
1921
|
remark?: string | null | undefined;
|
|
1915
1922
|
sku: {
|
|
@@ -1926,12 +1933,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1926
1933
|
precision: number;
|
|
1927
1934
|
};
|
|
1928
1935
|
} | null | undefined;
|
|
1936
|
+
id: string;
|
|
1929
1937
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1930
1938
|
amount: {
|
|
1931
1939
|
amount: number;
|
|
1932
1940
|
precision: number;
|
|
1933
1941
|
};
|
|
1934
|
-
id: string;
|
|
1935
1942
|
}[] | null | undefined;
|
|
1936
1943
|
} | null | undefined;
|
|
1937
1944
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1957,6 +1964,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1957
1964
|
mid: number;
|
|
1958
1965
|
} | null | undefined;
|
|
1959
1966
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1967
|
+
_id: string;
|
|
1968
|
+
name: string;
|
|
1969
|
+
code: string;
|
|
1960
1970
|
unit: {
|
|
1961
1971
|
_id: string;
|
|
1962
1972
|
name: string;
|
|
@@ -1972,15 +1982,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1972
1982
|
};
|
|
1973
1983
|
}[];
|
|
1974
1984
|
};
|
|
1975
|
-
code: string;
|
|
1976
|
-
_id: string;
|
|
1977
|
-
name: string;
|
|
1978
1985
|
};
|
|
1979
1986
|
baseAmount: {
|
|
1980
1987
|
amount: number;
|
|
1981
1988
|
precision: number;
|
|
1982
1989
|
};
|
|
1983
1990
|
measurementsAmounts: {
|
|
1991
|
+
amount: {
|
|
1992
|
+
amount: number;
|
|
1993
|
+
precision: number;
|
|
1994
|
+
};
|
|
1984
1995
|
measurement: {
|
|
1985
1996
|
id: string;
|
|
1986
1997
|
name: string;
|
|
@@ -1990,10 +2001,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1990
2001
|
precision: number;
|
|
1991
2002
|
};
|
|
1992
2003
|
};
|
|
1993
|
-
amount: {
|
|
1994
|
-
amount: number;
|
|
1995
|
-
precision: number;
|
|
1996
|
-
};
|
|
1997
2004
|
}[];
|
|
1998
2005
|
}[];
|
|
1999
2006
|
createdBy: {
|
|
@@ -2011,8 +2018,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2011
2018
|
_id: string;
|
|
2012
2019
|
updatedAt: string;
|
|
2013
2020
|
} | null | undefined;
|
|
2014
|
-
type: "restaurant" | "warehouse";
|
|
2015
2021
|
name: string;
|
|
2022
|
+
type: "restaurant" | "warehouse";
|
|
2016
2023
|
acceptRequest: boolean;
|
|
2017
2024
|
dbName: string;
|
|
2018
2025
|
doc: {
|
|
@@ -2020,26 +2027,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2020
2027
|
businessId: string;
|
|
2021
2028
|
profile: {
|
|
2022
2029
|
code?: string | null | undefined;
|
|
2030
|
+
url?: string | null | undefined;
|
|
2031
|
+
description?: string | null | undefined;
|
|
2023
2032
|
_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
2033
|
legalName?: string | null | undefined;
|
|
2034
|
+
sstRegNo?: string | null | undefined;
|
|
2039
2035
|
discovery?: boolean | null | undefined;
|
|
2040
2036
|
coverPhoto?: string | null | undefined;
|
|
2041
2037
|
thumbnailPhoto?: string | null | undefined;
|
|
2042
|
-
description?: string | null | undefined;
|
|
2043
2038
|
photos?: string[] | null | undefined;
|
|
2044
2039
|
operatingHours?: {
|
|
2045
2040
|
0: {
|
|
@@ -2093,7 +2088,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2093
2088
|
};
|
|
2094
2089
|
} | null | undefined;
|
|
2095
2090
|
tags?: string[] | null | undefined;
|
|
2096
|
-
|
|
2091
|
+
name: string;
|
|
2092
|
+
address: {
|
|
2093
|
+
coordinates?: number[] | null | undefined;
|
|
2094
|
+
line2?: string | null | undefined;
|
|
2095
|
+
state: string;
|
|
2096
|
+
country: string;
|
|
2097
|
+
line1: string;
|
|
2098
|
+
city: string;
|
|
2099
|
+
postcode: string;
|
|
2100
|
+
};
|
|
2101
|
+
email: string;
|
|
2102
|
+
phoneNo: string;
|
|
2103
|
+
regNo: string;
|
|
2097
2104
|
};
|
|
2098
2105
|
};
|
|
2099
2106
|
}[] | null | undefined;
|
|
@@ -2156,6 +2163,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2156
2163
|
};
|
|
2157
2164
|
id: string;
|
|
2158
2165
|
}[] | null | undefined;
|
|
2166
|
+
stockSnapshotAt?: string | null | undefined;
|
|
2159
2167
|
approvedAt?: string | null | undefined;
|
|
2160
2168
|
approvedBy?: {
|
|
2161
2169
|
name: string;
|
|
@@ -2188,12 +2196,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2188
2196
|
precision: number;
|
|
2189
2197
|
};
|
|
2190
2198
|
} | null | undefined;
|
|
2199
|
+
id: string;
|
|
2191
2200
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2192
2201
|
amount: {
|
|
2193
2202
|
amount: number;
|
|
2194
2203
|
precision: number;
|
|
2195
2204
|
};
|
|
2196
|
-
id: string;
|
|
2197
2205
|
}[] | null | undefined;
|
|
2198
2206
|
} | null | undefined;
|
|
2199
2207
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2219,6 +2227,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2219
2227
|
mid: number;
|
|
2220
2228
|
} | null | undefined;
|
|
2221
2229
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2230
|
+
_id: string;
|
|
2231
|
+
name: string;
|
|
2232
|
+
code: string;
|
|
2222
2233
|
unit: {
|
|
2223
2234
|
_id: string;
|
|
2224
2235
|
name: string;
|
|
@@ -2234,15 +2245,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2234
2245
|
};
|
|
2235
2246
|
}[];
|
|
2236
2247
|
};
|
|
2237
|
-
code: string;
|
|
2238
|
-
_id: string;
|
|
2239
|
-
name: string;
|
|
2240
2248
|
};
|
|
2241
2249
|
baseAmount: {
|
|
2242
2250
|
amount: number;
|
|
2243
2251
|
precision: number;
|
|
2244
2252
|
};
|
|
2245
2253
|
measurementsAmounts: {
|
|
2254
|
+
amount: {
|
|
2255
|
+
amount: number;
|
|
2256
|
+
precision: number;
|
|
2257
|
+
};
|
|
2246
2258
|
measurement: {
|
|
2247
2259
|
id: string;
|
|
2248
2260
|
name: string;
|
|
@@ -2252,14 +2264,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2252
2264
|
precision: number;
|
|
2253
2265
|
};
|
|
2254
2266
|
};
|
|
2255
|
-
amount: {
|
|
2256
|
-
amount: number;
|
|
2257
|
-
precision: number;
|
|
2258
|
-
};
|
|
2259
2267
|
}[];
|
|
2260
2268
|
}[] | null | undefined;
|
|
2261
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2262
2269
|
_id: string;
|
|
2270
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
2263
2271
|
items: {
|
|
2264
2272
|
remark?: string | null | undefined;
|
|
2265
2273
|
sku: {
|
|
@@ -2276,12 +2284,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2276
2284
|
precision: number;
|
|
2277
2285
|
};
|
|
2278
2286
|
} | null | undefined;
|
|
2287
|
+
id: string;
|
|
2279
2288
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2280
2289
|
amount: {
|
|
2281
2290
|
amount: number;
|
|
2282
2291
|
precision: number;
|
|
2283
2292
|
};
|
|
2284
|
-
id: string;
|
|
2285
2293
|
}[] | null | undefined;
|
|
2286
2294
|
} | null | undefined;
|
|
2287
2295
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2307,6 +2315,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2307
2315
|
mid: number;
|
|
2308
2316
|
} | null | undefined;
|
|
2309
2317
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2318
|
+
_id: string;
|
|
2319
|
+
name: string;
|
|
2320
|
+
code: string;
|
|
2310
2321
|
unit: {
|
|
2311
2322
|
_id: string;
|
|
2312
2323
|
name: string;
|
|
@@ -2322,15 +2333,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2322
2333
|
};
|
|
2323
2334
|
}[];
|
|
2324
2335
|
};
|
|
2325
|
-
code: string;
|
|
2326
|
-
_id: string;
|
|
2327
|
-
name: string;
|
|
2328
2336
|
};
|
|
2329
2337
|
baseAmount: {
|
|
2330
2338
|
amount: number;
|
|
2331
2339
|
precision: number;
|
|
2332
2340
|
};
|
|
2333
2341
|
measurementsAmounts: {
|
|
2342
|
+
amount: {
|
|
2343
|
+
amount: number;
|
|
2344
|
+
precision: number;
|
|
2345
|
+
};
|
|
2334
2346
|
measurement: {
|
|
2335
2347
|
id: string;
|
|
2336
2348
|
name: string;
|
|
@@ -2340,10 +2352,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2340
2352
|
precision: number;
|
|
2341
2353
|
};
|
|
2342
2354
|
};
|
|
2343
|
-
amount: {
|
|
2344
|
-
amount: number;
|
|
2345
|
-
precision: number;
|
|
2346
|
-
};
|
|
2347
2355
|
}[];
|
|
2348
2356
|
}[];
|
|
2349
2357
|
createdBy: {
|
|
@@ -2361,8 +2369,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2361
2369
|
_id: string;
|
|
2362
2370
|
updatedAt: string;
|
|
2363
2371
|
} | null | undefined;
|
|
2364
|
-
type: "restaurant" | "warehouse";
|
|
2365
2372
|
name: string;
|
|
2373
|
+
type: "restaurant" | "warehouse";
|
|
2366
2374
|
acceptRequest: boolean;
|
|
2367
2375
|
dbName: string;
|
|
2368
2376
|
doc: {
|
|
@@ -2370,26 +2378,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2370
2378
|
businessId: string;
|
|
2371
2379
|
profile: {
|
|
2372
2380
|
code?: string | null | undefined;
|
|
2381
|
+
url?: string | null | undefined;
|
|
2382
|
+
description?: string | null | undefined;
|
|
2373
2383
|
_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
2384
|
legalName?: string | null | undefined;
|
|
2385
|
+
sstRegNo?: string | null | undefined;
|
|
2389
2386
|
discovery?: boolean | null | undefined;
|
|
2390
2387
|
coverPhoto?: string | null | undefined;
|
|
2391
2388
|
thumbnailPhoto?: string | null | undefined;
|
|
2392
|
-
description?: string | null | undefined;
|
|
2393
2389
|
photos?: string[] | null | undefined;
|
|
2394
2390
|
operatingHours?: {
|
|
2395
2391
|
0: {
|
|
@@ -2443,7 +2439,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2443
2439
|
};
|
|
2444
2440
|
} | null | undefined;
|
|
2445
2441
|
tags?: string[] | null | undefined;
|
|
2446
|
-
|
|
2442
|
+
name: string;
|
|
2443
|
+
address: {
|
|
2444
|
+
coordinates?: number[] | null | undefined;
|
|
2445
|
+
line2?: string | null | undefined;
|
|
2446
|
+
state: string;
|
|
2447
|
+
country: string;
|
|
2448
|
+
line1: string;
|
|
2449
|
+
city: string;
|
|
2450
|
+
postcode: string;
|
|
2451
|
+
};
|
|
2452
|
+
email: string;
|
|
2453
|
+
phoneNo: string;
|
|
2454
|
+
regNo: string;
|
|
2447
2455
|
};
|
|
2448
2456
|
};
|
|
2449
2457
|
}[] | null | undefined;
|
|
@@ -2506,6 +2514,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2506
2514
|
};
|
|
2507
2515
|
id: string;
|
|
2508
2516
|
}[] | null | undefined;
|
|
2517
|
+
stockSnapshotAt?: string | null | undefined;
|
|
2509
2518
|
approvedAt?: string | null | undefined;
|
|
2510
2519
|
approvedBy?: {
|
|
2511
2520
|
name: string;
|
|
@@ -2538,12 +2547,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2538
2547
|
precision: number;
|
|
2539
2548
|
};
|
|
2540
2549
|
} | null | undefined;
|
|
2550
|
+
id: string;
|
|
2541
2551
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2542
2552
|
amount: {
|
|
2543
2553
|
amount: number;
|
|
2544
2554
|
precision: number;
|
|
2545
2555
|
};
|
|
2546
|
-
id: string;
|
|
2547
2556
|
}[] | null | undefined;
|
|
2548
2557
|
} | null | undefined;
|
|
2549
2558
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2569,6 +2578,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2569
2578
|
mid: number;
|
|
2570
2579
|
} | null | undefined;
|
|
2571
2580
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2581
|
+
_id: string;
|
|
2582
|
+
name: string;
|
|
2583
|
+
code: string;
|
|
2572
2584
|
unit: {
|
|
2573
2585
|
_id: string;
|
|
2574
2586
|
name: string;
|
|
@@ -2584,15 +2596,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2584
2596
|
};
|
|
2585
2597
|
}[];
|
|
2586
2598
|
};
|
|
2587
|
-
code: string;
|
|
2588
|
-
_id: string;
|
|
2589
|
-
name: string;
|
|
2590
2599
|
};
|
|
2591
2600
|
baseAmount: {
|
|
2592
2601
|
amount: number;
|
|
2593
2602
|
precision: number;
|
|
2594
2603
|
};
|
|
2595
2604
|
measurementsAmounts: {
|
|
2605
|
+
amount: {
|
|
2606
|
+
amount: number;
|
|
2607
|
+
precision: number;
|
|
2608
|
+
};
|
|
2596
2609
|
measurement: {
|
|
2597
2610
|
id: string;
|
|
2598
2611
|
name: string;
|
|
@@ -2602,14 +2615,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2602
2615
|
precision: number;
|
|
2603
2616
|
};
|
|
2604
2617
|
};
|
|
2605
|
-
amount: {
|
|
2606
|
-
amount: number;
|
|
2607
|
-
precision: number;
|
|
2608
|
-
};
|
|
2609
2618
|
}[];
|
|
2610
2619
|
}[] | null | undefined;
|
|
2611
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2612
2620
|
_id: string;
|
|
2621
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
2613
2622
|
items: {
|
|
2614
2623
|
remark?: string | null | undefined;
|
|
2615
2624
|
sku: {
|
|
@@ -2626,12 +2635,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2626
2635
|
precision: number;
|
|
2627
2636
|
};
|
|
2628
2637
|
} | null | undefined;
|
|
2638
|
+
id: string;
|
|
2629
2639
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2630
2640
|
amount: {
|
|
2631
2641
|
amount: number;
|
|
2632
2642
|
precision: number;
|
|
2633
2643
|
};
|
|
2634
|
-
id: string;
|
|
2635
2644
|
}[] | null | undefined;
|
|
2636
2645
|
} | null | undefined;
|
|
2637
2646
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2657,6 +2666,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2657
2666
|
mid: number;
|
|
2658
2667
|
} | null | undefined;
|
|
2659
2668
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2669
|
+
_id: string;
|
|
2670
|
+
name: string;
|
|
2671
|
+
code: string;
|
|
2660
2672
|
unit: {
|
|
2661
2673
|
_id: string;
|
|
2662
2674
|
name: string;
|
|
@@ -2672,15 +2684,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2672
2684
|
};
|
|
2673
2685
|
}[];
|
|
2674
2686
|
};
|
|
2675
|
-
code: string;
|
|
2676
|
-
_id: string;
|
|
2677
|
-
name: string;
|
|
2678
2687
|
};
|
|
2679
2688
|
baseAmount: {
|
|
2680
2689
|
amount: number;
|
|
2681
2690
|
precision: number;
|
|
2682
2691
|
};
|
|
2683
2692
|
measurementsAmounts: {
|
|
2693
|
+
amount: {
|
|
2694
|
+
amount: number;
|
|
2695
|
+
precision: number;
|
|
2696
|
+
};
|
|
2684
2697
|
measurement: {
|
|
2685
2698
|
id: string;
|
|
2686
2699
|
name: string;
|
|
@@ -2690,10 +2703,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2690
2703
|
precision: number;
|
|
2691
2704
|
};
|
|
2692
2705
|
};
|
|
2693
|
-
amount: {
|
|
2694
|
-
amount: number;
|
|
2695
|
-
precision: number;
|
|
2696
|
-
};
|
|
2697
2706
|
}[];
|
|
2698
2707
|
}[];
|
|
2699
2708
|
createdBy: {
|
|
@@ -2711,8 +2720,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2711
2720
|
_id: string;
|
|
2712
2721
|
updatedAt: string;
|
|
2713
2722
|
} | null | undefined;
|
|
2714
|
-
type: "restaurant" | "warehouse";
|
|
2715
2723
|
name: string;
|
|
2724
|
+
type: "restaurant" | "warehouse";
|
|
2716
2725
|
acceptRequest: boolean;
|
|
2717
2726
|
dbName: string;
|
|
2718
2727
|
doc: {
|
|
@@ -2720,26 +2729,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2720
2729
|
businessId: string;
|
|
2721
2730
|
profile: {
|
|
2722
2731
|
code?: string | null | undefined;
|
|
2732
|
+
url?: string | null | undefined;
|
|
2733
|
+
description?: string | null | undefined;
|
|
2723
2734
|
_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
2735
|
legalName?: string | null | undefined;
|
|
2736
|
+
sstRegNo?: string | null | undefined;
|
|
2739
2737
|
discovery?: boolean | null | undefined;
|
|
2740
2738
|
coverPhoto?: string | null | undefined;
|
|
2741
2739
|
thumbnailPhoto?: string | null | undefined;
|
|
2742
|
-
description?: string | null | undefined;
|
|
2743
2740
|
photos?: string[] | null | undefined;
|
|
2744
2741
|
operatingHours?: {
|
|
2745
2742
|
0: {
|
|
@@ -2793,7 +2790,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2793
2790
|
};
|
|
2794
2791
|
} | null | undefined;
|
|
2795
2792
|
tags?: string[] | null | undefined;
|
|
2796
|
-
|
|
2793
|
+
name: string;
|
|
2794
|
+
address: {
|
|
2795
|
+
coordinates?: number[] | null | undefined;
|
|
2796
|
+
line2?: string | null | undefined;
|
|
2797
|
+
state: string;
|
|
2798
|
+
country: string;
|
|
2799
|
+
line1: string;
|
|
2800
|
+
city: string;
|
|
2801
|
+
postcode: string;
|
|
2802
|
+
};
|
|
2803
|
+
email: string;
|
|
2804
|
+
phoneNo: string;
|
|
2805
|
+
regNo: string;
|
|
2797
2806
|
};
|
|
2798
2807
|
};
|
|
2799
2808
|
}[] | null | undefined;
|
|
@@ -2812,6 +2821,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2812
2821
|
loading: import("vue").Ref<boolean, boolean>;
|
|
2813
2822
|
fetchDrafts: () => Promise<void>;
|
|
2814
2823
|
loadDraft: (draftId: string) => Promise<void>;
|
|
2824
|
+
updateDraftRef: (draft: FdoClosingDraft) => void;
|
|
2815
2825
|
}, never>, Pick<{
|
|
2816
2826
|
columnDefs: ColumnDef<{
|
|
2817
2827
|
remark?: string | null | undefined;
|
|
@@ -2861,6 +2871,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2861
2871
|
};
|
|
2862
2872
|
id: string;
|
|
2863
2873
|
}[] | null | undefined;
|
|
2874
|
+
stockSnapshotAt?: string | null | undefined;
|
|
2864
2875
|
approvedAt?: string | null | undefined;
|
|
2865
2876
|
approvedBy?: {
|
|
2866
2877
|
name: string;
|
|
@@ -2893,12 +2904,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2893
2904
|
precision: number;
|
|
2894
2905
|
};
|
|
2895
2906
|
} | null | undefined;
|
|
2907
|
+
id: string;
|
|
2896
2908
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2897
2909
|
amount: {
|
|
2898
2910
|
amount: number;
|
|
2899
2911
|
precision: number;
|
|
2900
2912
|
};
|
|
2901
|
-
id: string;
|
|
2902
2913
|
}[] | null | undefined;
|
|
2903
2914
|
} | null | undefined;
|
|
2904
2915
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2924,6 +2935,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2924
2935
|
mid: number;
|
|
2925
2936
|
} | null | undefined;
|
|
2926
2937
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2938
|
+
_id: string;
|
|
2939
|
+
name: string;
|
|
2940
|
+
code: string;
|
|
2927
2941
|
unit: {
|
|
2928
2942
|
_id: string;
|
|
2929
2943
|
name: string;
|
|
@@ -2939,15 +2953,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2939
2953
|
};
|
|
2940
2954
|
}[];
|
|
2941
2955
|
};
|
|
2942
|
-
code: string;
|
|
2943
|
-
_id: string;
|
|
2944
|
-
name: string;
|
|
2945
2956
|
};
|
|
2946
2957
|
baseAmount: {
|
|
2947
2958
|
amount: number;
|
|
2948
2959
|
precision: number;
|
|
2949
2960
|
};
|
|
2950
2961
|
measurementsAmounts: {
|
|
2962
|
+
amount: {
|
|
2963
|
+
amount: number;
|
|
2964
|
+
precision: number;
|
|
2965
|
+
};
|
|
2951
2966
|
measurement: {
|
|
2952
2967
|
id: string;
|
|
2953
2968
|
name: string;
|
|
@@ -2957,14 +2972,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2957
2972
|
precision: number;
|
|
2958
2973
|
};
|
|
2959
2974
|
};
|
|
2960
|
-
amount: {
|
|
2961
|
-
amount: number;
|
|
2962
|
-
precision: number;
|
|
2963
|
-
};
|
|
2964
2975
|
}[];
|
|
2965
2976
|
}[] | null | undefined;
|
|
2966
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2967
2977
|
_id: string;
|
|
2978
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
2968
2979
|
items: {
|
|
2969
2980
|
remark?: string | null | undefined;
|
|
2970
2981
|
sku: {
|
|
@@ -2981,12 +2992,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2981
2992
|
precision: number;
|
|
2982
2993
|
};
|
|
2983
2994
|
} | null | undefined;
|
|
2995
|
+
id: string;
|
|
2984
2996
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2985
2997
|
amount: {
|
|
2986
2998
|
amount: number;
|
|
2987
2999
|
precision: number;
|
|
2988
3000
|
};
|
|
2989
|
-
id: string;
|
|
2990
3001
|
}[] | null | undefined;
|
|
2991
3002
|
} | null | undefined;
|
|
2992
3003
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3012,6 +3023,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3012
3023
|
mid: number;
|
|
3013
3024
|
} | null | undefined;
|
|
3014
3025
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3026
|
+
_id: string;
|
|
3027
|
+
name: string;
|
|
3028
|
+
code: string;
|
|
3015
3029
|
unit: {
|
|
3016
3030
|
_id: string;
|
|
3017
3031
|
name: string;
|
|
@@ -3027,15 +3041,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3027
3041
|
};
|
|
3028
3042
|
}[];
|
|
3029
3043
|
};
|
|
3030
|
-
code: string;
|
|
3031
|
-
_id: string;
|
|
3032
|
-
name: string;
|
|
3033
3044
|
};
|
|
3034
3045
|
baseAmount: {
|
|
3035
3046
|
amount: number;
|
|
3036
3047
|
precision: number;
|
|
3037
3048
|
};
|
|
3038
3049
|
measurementsAmounts: {
|
|
3050
|
+
amount: {
|
|
3051
|
+
amount: number;
|
|
3052
|
+
precision: number;
|
|
3053
|
+
};
|
|
3039
3054
|
measurement: {
|
|
3040
3055
|
id: string;
|
|
3041
3056
|
name: string;
|
|
@@ -3045,10 +3060,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3045
3060
|
precision: number;
|
|
3046
3061
|
};
|
|
3047
3062
|
};
|
|
3048
|
-
amount: {
|
|
3049
|
-
amount: number;
|
|
3050
|
-
precision: number;
|
|
3051
|
-
};
|
|
3052
3063
|
}[];
|
|
3053
3064
|
}[];
|
|
3054
3065
|
createdBy: {
|
|
@@ -3066,8 +3077,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3066
3077
|
_id: string;
|
|
3067
3078
|
updatedAt: string;
|
|
3068
3079
|
} | null | undefined;
|
|
3069
|
-
type: "restaurant" | "warehouse";
|
|
3070
3080
|
name: string;
|
|
3081
|
+
type: "restaurant" | "warehouse";
|
|
3071
3082
|
acceptRequest: boolean;
|
|
3072
3083
|
dbName: string;
|
|
3073
3084
|
doc: {
|
|
@@ -3075,26 +3086,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3075
3086
|
businessId: string;
|
|
3076
3087
|
profile: {
|
|
3077
3088
|
code?: string | null | undefined;
|
|
3089
|
+
url?: string | null | undefined;
|
|
3090
|
+
description?: string | null | undefined;
|
|
3078
3091
|
_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
3092
|
legalName?: string | null | undefined;
|
|
3093
|
+
sstRegNo?: string | null | undefined;
|
|
3094
3094
|
discovery?: boolean | null | undefined;
|
|
3095
3095
|
coverPhoto?: string | null | undefined;
|
|
3096
3096
|
thumbnailPhoto?: string | null | undefined;
|
|
3097
|
-
description?: string | null | undefined;
|
|
3098
3097
|
photos?: string[] | null | undefined;
|
|
3099
3098
|
operatingHours?: {
|
|
3100
3099
|
0: {
|
|
@@ -3148,7 +3147,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3148
3147
|
};
|
|
3149
3148
|
} | null | undefined;
|
|
3150
3149
|
tags?: string[] | null | undefined;
|
|
3151
|
-
|
|
3150
|
+
name: string;
|
|
3151
|
+
address: {
|
|
3152
|
+
coordinates?: number[] | null | undefined;
|
|
3153
|
+
line2?: string | null | undefined;
|
|
3154
|
+
state: string;
|
|
3155
|
+
country: string;
|
|
3156
|
+
line1: string;
|
|
3157
|
+
city: string;
|
|
3158
|
+
postcode: string;
|
|
3159
|
+
};
|
|
3160
|
+
email: string;
|
|
3161
|
+
phoneNo: string;
|
|
3162
|
+
regNo: string;
|
|
3152
3163
|
};
|
|
3153
3164
|
};
|
|
3154
3165
|
}[] | null | undefined;
|
|
@@ -3212,6 +3223,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3212
3223
|
};
|
|
3213
3224
|
id: string;
|
|
3214
3225
|
}[] | null | undefined;
|
|
3226
|
+
stockSnapshotAt?: string | null | undefined;
|
|
3215
3227
|
approvedAt?: string | null | undefined;
|
|
3216
3228
|
approvedBy?: {
|
|
3217
3229
|
name: string;
|
|
@@ -3244,12 +3256,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3244
3256
|
precision: number;
|
|
3245
3257
|
};
|
|
3246
3258
|
} | null | undefined;
|
|
3259
|
+
id: string;
|
|
3247
3260
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3248
3261
|
amount: {
|
|
3249
3262
|
amount: number;
|
|
3250
3263
|
precision: number;
|
|
3251
3264
|
};
|
|
3252
|
-
id: string;
|
|
3253
3265
|
}[] | null | undefined;
|
|
3254
3266
|
} | null | undefined;
|
|
3255
3267
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3275,6 +3287,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3275
3287
|
mid: number;
|
|
3276
3288
|
} | null | undefined;
|
|
3277
3289
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3290
|
+
_id: string;
|
|
3291
|
+
name: string;
|
|
3292
|
+
code: string;
|
|
3278
3293
|
unit: {
|
|
3279
3294
|
_id: string;
|
|
3280
3295
|
name: string;
|
|
@@ -3290,15 +3305,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3290
3305
|
};
|
|
3291
3306
|
}[];
|
|
3292
3307
|
};
|
|
3293
|
-
code: string;
|
|
3294
|
-
_id: string;
|
|
3295
|
-
name: string;
|
|
3296
3308
|
};
|
|
3297
3309
|
baseAmount: {
|
|
3298
3310
|
amount: number;
|
|
3299
3311
|
precision: number;
|
|
3300
3312
|
};
|
|
3301
3313
|
measurementsAmounts: {
|
|
3314
|
+
amount: {
|
|
3315
|
+
amount: number;
|
|
3316
|
+
precision: number;
|
|
3317
|
+
};
|
|
3302
3318
|
measurement: {
|
|
3303
3319
|
id: string;
|
|
3304
3320
|
name: string;
|
|
@@ -3308,14 +3324,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3308
3324
|
precision: number;
|
|
3309
3325
|
};
|
|
3310
3326
|
};
|
|
3311
|
-
amount: {
|
|
3312
|
-
amount: number;
|
|
3313
|
-
precision: number;
|
|
3314
|
-
};
|
|
3315
3327
|
}[];
|
|
3316
3328
|
}[] | null | undefined;
|
|
3317
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
3318
3329
|
_id: string;
|
|
3330
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
3319
3331
|
items: {
|
|
3320
3332
|
remark?: string | null | undefined;
|
|
3321
3333
|
sku: {
|
|
@@ -3332,12 +3344,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3332
3344
|
precision: number;
|
|
3333
3345
|
};
|
|
3334
3346
|
} | null | undefined;
|
|
3347
|
+
id: string;
|
|
3335
3348
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3336
3349
|
amount: {
|
|
3337
3350
|
amount: number;
|
|
3338
3351
|
precision: number;
|
|
3339
3352
|
};
|
|
3340
|
-
id: string;
|
|
3341
3353
|
}[] | null | undefined;
|
|
3342
3354
|
} | null | undefined;
|
|
3343
3355
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3363,6 +3375,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3363
3375
|
mid: number;
|
|
3364
3376
|
} | null | undefined;
|
|
3365
3377
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3378
|
+
_id: string;
|
|
3379
|
+
name: string;
|
|
3380
|
+
code: string;
|
|
3366
3381
|
unit: {
|
|
3367
3382
|
_id: string;
|
|
3368
3383
|
name: string;
|
|
@@ -3378,15 +3393,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3378
3393
|
};
|
|
3379
3394
|
}[];
|
|
3380
3395
|
};
|
|
3381
|
-
code: string;
|
|
3382
|
-
_id: string;
|
|
3383
|
-
name: string;
|
|
3384
3396
|
};
|
|
3385
3397
|
baseAmount: {
|
|
3386
3398
|
amount: number;
|
|
3387
3399
|
precision: number;
|
|
3388
3400
|
};
|
|
3389
3401
|
measurementsAmounts: {
|
|
3402
|
+
amount: {
|
|
3403
|
+
amount: number;
|
|
3404
|
+
precision: number;
|
|
3405
|
+
};
|
|
3390
3406
|
measurement: {
|
|
3391
3407
|
id: string;
|
|
3392
3408
|
name: string;
|
|
@@ -3396,10 +3412,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3396
3412
|
precision: number;
|
|
3397
3413
|
};
|
|
3398
3414
|
};
|
|
3399
|
-
amount: {
|
|
3400
|
-
amount: number;
|
|
3401
|
-
precision: number;
|
|
3402
|
-
};
|
|
3403
3415
|
}[];
|
|
3404
3416
|
}[];
|
|
3405
3417
|
createdBy: {
|
|
@@ -3417,8 +3429,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3417
3429
|
_id: string;
|
|
3418
3430
|
updatedAt: string;
|
|
3419
3431
|
} | null | undefined;
|
|
3420
|
-
type: "restaurant" | "warehouse";
|
|
3421
3432
|
name: string;
|
|
3433
|
+
type: "restaurant" | "warehouse";
|
|
3422
3434
|
acceptRequest: boolean;
|
|
3423
3435
|
dbName: string;
|
|
3424
3436
|
doc: {
|
|
@@ -3426,26 +3438,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3426
3438
|
businessId: string;
|
|
3427
3439
|
profile: {
|
|
3428
3440
|
code?: string | null | undefined;
|
|
3441
|
+
url?: string | null | undefined;
|
|
3442
|
+
description?: string | null | undefined;
|
|
3429
3443
|
_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
3444
|
legalName?: string | null | undefined;
|
|
3445
|
+
sstRegNo?: string | null | undefined;
|
|
3445
3446
|
discovery?: boolean | null | undefined;
|
|
3446
3447
|
coverPhoto?: string | null | undefined;
|
|
3447
3448
|
thumbnailPhoto?: string | null | undefined;
|
|
3448
|
-
description?: string | null | undefined;
|
|
3449
3449
|
photos?: string[] | null | undefined;
|
|
3450
3450
|
operatingHours?: {
|
|
3451
3451
|
0: {
|
|
@@ -3499,7 +3499,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3499
3499
|
};
|
|
3500
3500
|
} | null | undefined;
|
|
3501
3501
|
tags?: string[] | null | undefined;
|
|
3502
|
-
|
|
3502
|
+
name: string;
|
|
3503
|
+
address: {
|
|
3504
|
+
coordinates?: number[] | null | undefined;
|
|
3505
|
+
line2?: string | null | undefined;
|
|
3506
|
+
state: string;
|
|
3507
|
+
country: string;
|
|
3508
|
+
line1: string;
|
|
3509
|
+
city: string;
|
|
3510
|
+
postcode: string;
|
|
3511
|
+
};
|
|
3512
|
+
email: string;
|
|
3513
|
+
phoneNo: string;
|
|
3514
|
+
regNo: string;
|
|
3503
3515
|
};
|
|
3504
3516
|
};
|
|
3505
3517
|
}[] | null | undefined;
|
|
@@ -3562,6 +3574,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3562
3574
|
};
|
|
3563
3575
|
id: string;
|
|
3564
3576
|
}[] | null | undefined;
|
|
3577
|
+
stockSnapshotAt?: string | null | undefined;
|
|
3565
3578
|
approvedAt?: string | null | undefined;
|
|
3566
3579
|
approvedBy?: {
|
|
3567
3580
|
name: string;
|
|
@@ -3594,12 +3607,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3594
3607
|
precision: number;
|
|
3595
3608
|
};
|
|
3596
3609
|
} | null | undefined;
|
|
3610
|
+
id: string;
|
|
3597
3611
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3598
3612
|
amount: {
|
|
3599
3613
|
amount: number;
|
|
3600
3614
|
precision: number;
|
|
3601
3615
|
};
|
|
3602
|
-
id: string;
|
|
3603
3616
|
}[] | null | undefined;
|
|
3604
3617
|
} | null | undefined;
|
|
3605
3618
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3625,6 +3638,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3625
3638
|
mid: number;
|
|
3626
3639
|
} | null | undefined;
|
|
3627
3640
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3641
|
+
_id: string;
|
|
3642
|
+
name: string;
|
|
3643
|
+
code: string;
|
|
3628
3644
|
unit: {
|
|
3629
3645
|
_id: string;
|
|
3630
3646
|
name: string;
|
|
@@ -3640,15 +3656,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3640
3656
|
};
|
|
3641
3657
|
}[];
|
|
3642
3658
|
};
|
|
3643
|
-
code: string;
|
|
3644
|
-
_id: string;
|
|
3645
|
-
name: string;
|
|
3646
3659
|
};
|
|
3647
3660
|
baseAmount: {
|
|
3648
3661
|
amount: number;
|
|
3649
3662
|
precision: number;
|
|
3650
3663
|
};
|
|
3651
3664
|
measurementsAmounts: {
|
|
3665
|
+
amount: {
|
|
3666
|
+
amount: number;
|
|
3667
|
+
precision: number;
|
|
3668
|
+
};
|
|
3652
3669
|
measurement: {
|
|
3653
3670
|
id: string;
|
|
3654
3671
|
name: string;
|
|
@@ -3658,14 +3675,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3658
3675
|
precision: number;
|
|
3659
3676
|
};
|
|
3660
3677
|
};
|
|
3661
|
-
amount: {
|
|
3662
|
-
amount: number;
|
|
3663
|
-
precision: number;
|
|
3664
|
-
};
|
|
3665
3678
|
}[];
|
|
3666
3679
|
}[] | null | undefined;
|
|
3667
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
3668
3680
|
_id: string;
|
|
3681
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
3669
3682
|
items: {
|
|
3670
3683
|
remark?: string | null | undefined;
|
|
3671
3684
|
sku: {
|
|
@@ -3682,12 +3695,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3682
3695
|
precision: number;
|
|
3683
3696
|
};
|
|
3684
3697
|
} | null | undefined;
|
|
3698
|
+
id: string;
|
|
3685
3699
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3686
3700
|
amount: {
|
|
3687
3701
|
amount: number;
|
|
3688
3702
|
precision: number;
|
|
3689
3703
|
};
|
|
3690
|
-
id: string;
|
|
3691
3704
|
}[] | null | undefined;
|
|
3692
3705
|
} | null | undefined;
|
|
3693
3706
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3713,6 +3726,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3713
3726
|
mid: number;
|
|
3714
3727
|
} | null | undefined;
|
|
3715
3728
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3729
|
+
_id: string;
|
|
3730
|
+
name: string;
|
|
3731
|
+
code: string;
|
|
3716
3732
|
unit: {
|
|
3717
3733
|
_id: string;
|
|
3718
3734
|
name: string;
|
|
@@ -3728,15 +3744,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3728
3744
|
};
|
|
3729
3745
|
}[];
|
|
3730
3746
|
};
|
|
3731
|
-
code: string;
|
|
3732
|
-
_id: string;
|
|
3733
|
-
name: string;
|
|
3734
3747
|
};
|
|
3735
3748
|
baseAmount: {
|
|
3736
3749
|
amount: number;
|
|
3737
3750
|
precision: number;
|
|
3738
3751
|
};
|
|
3739
3752
|
measurementsAmounts: {
|
|
3753
|
+
amount: {
|
|
3754
|
+
amount: number;
|
|
3755
|
+
precision: number;
|
|
3756
|
+
};
|
|
3740
3757
|
measurement: {
|
|
3741
3758
|
id: string;
|
|
3742
3759
|
name: string;
|
|
@@ -3746,10 +3763,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3746
3763
|
precision: number;
|
|
3747
3764
|
};
|
|
3748
3765
|
};
|
|
3749
|
-
amount: {
|
|
3750
|
-
amount: number;
|
|
3751
|
-
precision: number;
|
|
3752
|
-
};
|
|
3753
3766
|
}[];
|
|
3754
3767
|
}[];
|
|
3755
3768
|
createdBy: {
|
|
@@ -3767,8 +3780,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3767
3780
|
_id: string;
|
|
3768
3781
|
updatedAt: string;
|
|
3769
3782
|
} | null | undefined;
|
|
3770
|
-
type: "restaurant" | "warehouse";
|
|
3771
3783
|
name: string;
|
|
3784
|
+
type: "restaurant" | "warehouse";
|
|
3772
3785
|
acceptRequest: boolean;
|
|
3773
3786
|
dbName: string;
|
|
3774
3787
|
doc: {
|
|
@@ -3776,26 +3789,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3776
3789
|
businessId: string;
|
|
3777
3790
|
profile: {
|
|
3778
3791
|
code?: string | null | undefined;
|
|
3792
|
+
url?: string | null | undefined;
|
|
3793
|
+
description?: string | null | undefined;
|
|
3779
3794
|
_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
3795
|
legalName?: string | null | undefined;
|
|
3796
|
+
sstRegNo?: string | null | undefined;
|
|
3795
3797
|
discovery?: boolean | null | undefined;
|
|
3796
3798
|
coverPhoto?: string | null | undefined;
|
|
3797
3799
|
thumbnailPhoto?: string | null | undefined;
|
|
3798
|
-
description?: string | null | undefined;
|
|
3799
3800
|
photos?: string[] | null | undefined;
|
|
3800
3801
|
operatingHours?: {
|
|
3801
3802
|
0: {
|
|
@@ -3849,7 +3850,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3849
3850
|
};
|
|
3850
3851
|
} | null | undefined;
|
|
3851
3852
|
tags?: string[] | null | undefined;
|
|
3852
|
-
|
|
3853
|
+
name: string;
|
|
3854
|
+
address: {
|
|
3855
|
+
coordinates?: number[] | null | undefined;
|
|
3856
|
+
line2?: string | null | undefined;
|
|
3857
|
+
state: string;
|
|
3858
|
+
country: string;
|
|
3859
|
+
line1: string;
|
|
3860
|
+
city: string;
|
|
3861
|
+
postcode: string;
|
|
3862
|
+
};
|
|
3863
|
+
email: string;
|
|
3864
|
+
phoneNo: string;
|
|
3865
|
+
regNo: string;
|
|
3853
3866
|
};
|
|
3854
3867
|
};
|
|
3855
3868
|
}[] | null | undefined;
|
|
@@ -3912,6 +3925,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3912
3925
|
};
|
|
3913
3926
|
id: string;
|
|
3914
3927
|
}[] | null | undefined;
|
|
3928
|
+
stockSnapshotAt?: string | null | undefined;
|
|
3915
3929
|
approvedAt?: string | null | undefined;
|
|
3916
3930
|
approvedBy?: {
|
|
3917
3931
|
name: string;
|
|
@@ -3944,12 +3958,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3944
3958
|
precision: number;
|
|
3945
3959
|
};
|
|
3946
3960
|
} | null | undefined;
|
|
3961
|
+
id: string;
|
|
3947
3962
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3948
3963
|
amount: {
|
|
3949
3964
|
amount: number;
|
|
3950
3965
|
precision: number;
|
|
3951
3966
|
};
|
|
3952
|
-
id: string;
|
|
3953
3967
|
}[] | null | undefined;
|
|
3954
3968
|
} | null | undefined;
|
|
3955
3969
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3975,6 +3989,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3975
3989
|
mid: number;
|
|
3976
3990
|
} | null | undefined;
|
|
3977
3991
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3992
|
+
_id: string;
|
|
3993
|
+
name: string;
|
|
3994
|
+
code: string;
|
|
3978
3995
|
unit: {
|
|
3979
3996
|
_id: string;
|
|
3980
3997
|
name: string;
|
|
@@ -3990,15 +4007,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
3990
4007
|
};
|
|
3991
4008
|
}[];
|
|
3992
4009
|
};
|
|
3993
|
-
code: string;
|
|
3994
|
-
_id: string;
|
|
3995
|
-
name: string;
|
|
3996
4010
|
};
|
|
3997
4011
|
baseAmount: {
|
|
3998
4012
|
amount: number;
|
|
3999
4013
|
precision: number;
|
|
4000
4014
|
};
|
|
4001
4015
|
measurementsAmounts: {
|
|
4016
|
+
amount: {
|
|
4017
|
+
amount: number;
|
|
4018
|
+
precision: number;
|
|
4019
|
+
};
|
|
4002
4020
|
measurement: {
|
|
4003
4021
|
id: string;
|
|
4004
4022
|
name: string;
|
|
@@ -4008,14 +4026,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4008
4026
|
precision: number;
|
|
4009
4027
|
};
|
|
4010
4028
|
};
|
|
4011
|
-
amount: {
|
|
4012
|
-
amount: number;
|
|
4013
|
-
precision: number;
|
|
4014
|
-
};
|
|
4015
4029
|
}[];
|
|
4016
4030
|
}[] | null | undefined;
|
|
4017
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
4018
4031
|
_id: string;
|
|
4032
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
4019
4033
|
items: {
|
|
4020
4034
|
remark?: string | null | undefined;
|
|
4021
4035
|
sku: {
|
|
@@ -4032,12 +4046,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4032
4046
|
precision: number;
|
|
4033
4047
|
};
|
|
4034
4048
|
} | null | undefined;
|
|
4049
|
+
id: string;
|
|
4035
4050
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
4036
4051
|
amount: {
|
|
4037
4052
|
amount: number;
|
|
4038
4053
|
precision: number;
|
|
4039
4054
|
};
|
|
4040
|
-
id: string;
|
|
4041
4055
|
}[] | null | undefined;
|
|
4042
4056
|
} | null | undefined;
|
|
4043
4057
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -4063,6 +4077,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4063
4077
|
mid: number;
|
|
4064
4078
|
} | null | undefined;
|
|
4065
4079
|
customAttributes?: Record<string, any> | null | undefined;
|
|
4080
|
+
_id: string;
|
|
4081
|
+
name: string;
|
|
4082
|
+
code: string;
|
|
4066
4083
|
unit: {
|
|
4067
4084
|
_id: string;
|
|
4068
4085
|
name: string;
|
|
@@ -4078,15 +4095,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4078
4095
|
};
|
|
4079
4096
|
}[];
|
|
4080
4097
|
};
|
|
4081
|
-
code: string;
|
|
4082
|
-
_id: string;
|
|
4083
|
-
name: string;
|
|
4084
4098
|
};
|
|
4085
4099
|
baseAmount: {
|
|
4086
4100
|
amount: number;
|
|
4087
4101
|
precision: number;
|
|
4088
4102
|
};
|
|
4089
4103
|
measurementsAmounts: {
|
|
4104
|
+
amount: {
|
|
4105
|
+
amount: number;
|
|
4106
|
+
precision: number;
|
|
4107
|
+
};
|
|
4090
4108
|
measurement: {
|
|
4091
4109
|
id: string;
|
|
4092
4110
|
name: string;
|
|
@@ -4096,10 +4114,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4096
4114
|
precision: number;
|
|
4097
4115
|
};
|
|
4098
4116
|
};
|
|
4099
|
-
amount: {
|
|
4100
|
-
amount: number;
|
|
4101
|
-
precision: number;
|
|
4102
|
-
};
|
|
4103
4117
|
}[];
|
|
4104
4118
|
}[];
|
|
4105
4119
|
createdBy: {
|
|
@@ -4117,8 +4131,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4117
4131
|
_id: string;
|
|
4118
4132
|
updatedAt: string;
|
|
4119
4133
|
} | null | undefined;
|
|
4120
|
-
type: "restaurant" | "warehouse";
|
|
4121
4134
|
name: string;
|
|
4135
|
+
type: "restaurant" | "warehouse";
|
|
4122
4136
|
acceptRequest: boolean;
|
|
4123
4137
|
dbName: string;
|
|
4124
4138
|
doc: {
|
|
@@ -4126,26 +4140,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4126
4140
|
businessId: string;
|
|
4127
4141
|
profile: {
|
|
4128
4142
|
code?: string | null | undefined;
|
|
4143
|
+
url?: string | null | undefined;
|
|
4144
|
+
description?: string | null | undefined;
|
|
4129
4145
|
_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
4146
|
legalName?: string | null | undefined;
|
|
4147
|
+
sstRegNo?: string | null | undefined;
|
|
4145
4148
|
discovery?: boolean | null | undefined;
|
|
4146
4149
|
coverPhoto?: string | null | undefined;
|
|
4147
4150
|
thumbnailPhoto?: string | null | undefined;
|
|
4148
|
-
description?: string | null | undefined;
|
|
4149
4151
|
photos?: string[] | null | undefined;
|
|
4150
4152
|
operatingHours?: {
|
|
4151
4153
|
0: {
|
|
@@ -4199,7 +4201,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4199
4201
|
};
|
|
4200
4202
|
} | null | undefined;
|
|
4201
4203
|
tags?: string[] | null | undefined;
|
|
4202
|
-
|
|
4204
|
+
name: string;
|
|
4205
|
+
address: {
|
|
4206
|
+
coordinates?: number[] | null | undefined;
|
|
4207
|
+
line2?: string | null | undefined;
|
|
4208
|
+
state: string;
|
|
4209
|
+
country: string;
|
|
4210
|
+
line1: string;
|
|
4211
|
+
city: string;
|
|
4212
|
+
postcode: string;
|
|
4213
|
+
};
|
|
4214
|
+
email: string;
|
|
4215
|
+
phoneNo: string;
|
|
4216
|
+
regNo: string;
|
|
4203
4217
|
};
|
|
4204
4218
|
};
|
|
4205
4219
|
}[] | null | undefined;
|
|
@@ -4218,4 +4232,5 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
4218
4232
|
loading: import("vue").Ref<boolean, boolean>;
|
|
4219
4233
|
fetchDrafts: () => Promise<void>;
|
|
4220
4234
|
loadDraft: (draftId: string) => Promise<void>;
|
|
4221
|
-
|
|
4235
|
+
updateDraftRef: (draft: FdoClosingDraft) => void;
|
|
4236
|
+
}, "fetchDrafts" | "loadDraft" | "updateDraftRef">>;
|