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