@feedmepos/mf-inventory-portal 1.0.9 → 1.0.10-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.
Files changed (107) hide show
  1. package/dist/{App-RT4bBubX.js → App-COPx00z6.js} +50 -49
  2. package/dist/{ApprovalView-BgOWHNMD.js → ApprovalView-DEtUW_BD.js} +24 -24
  3. package/dist/{BindingsDialog-Dip74zuT.js → BindingsDialog-8WUk3Dv3.js} +2 -2
  4. package/dist/{BindingsPicker-DMQXwEn4.js → BindingsPicker-D8ABQZWj.js} +7 -7
  5. package/dist/{BindingsTable-Czz32F7d.js → BindingsTable-E4ObCYZW.js} +5 -5
  6. package/dist/{ClosingDraftView-Ps4DgRNG.js → ClosingDraftView-BuwTXzoD.js} +499 -498
  7. package/dist/{ClosingTemplateView-EjVLgUCH.js → ClosingTemplateView-Dwlu2WDi.js} +10 -10
  8. package/dist/{DeliveryOrderPrintPreview-C52aY34D.js → DeliveryOrderPrintPreview-CZQP0ZBf.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-MSqPw_6t.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CIpktJ_p.js} +32 -32
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DbN_e9U8.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BAsfttD3.js} +51 -51
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DHuB4hRb.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BtLdE9Qw.js} +1 -1
  12. package/dist/{IngredientGroupView-CRTjNc-p.js → IngredientGroupView-DKncarkj.js} +11 -11
  13. package/dist/{IngredientsView-CuLOu_v9.js → IngredientsView-DJhR4pNL.js} +15 -14
  14. package/dist/IntegrationView-DbehNBiT.js +10361 -0
  15. package/dist/{InventoryBindingForm-C1NfSdOs.js → InventoryBindingForm-CakKTaAx.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BJ7h3Nr6.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-qrYebXqE.js} +94 -89
  17. package/dist/{InventoryBindingSummary-CFjSwhxA.js → InventoryBindingSummary-ax4kqODn.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B73N8AvB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BD8iRcNk.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-rve3vJhu.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D13DAIwe.js} +10 -10
  20. package/dist/{PublishView-Bj0JawUb.js → PublishView-BMQzmmkT.js} +12 -12
  21. package/dist/{PurchaseOrderPrintPreview-DCAZVrDM.js → PurchaseOrderPrintPreview-CdbxZWLq.js} +4 -4
  22. package/dist/{ReceiveRequestView-B_bWd1hC.js → ReceiveRequestView-Blxchs0k.js} +53 -52
  23. package/dist/RecipeView-Bnigp2lS.js +8493 -0
  24. package/dist/{StockView-CsZ2hfAY.js → StockView-B4p6XQPR.js} +73 -72
  25. package/dist/{SupplierView-BUaouKYm.js → SupplierView-ojORzTSY.js} +12 -11
  26. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-G478rFCP.js +1894 -0
  27. package/dist/{TransferTemplateView-Rq7N13OR.js → TransferTemplateView-DTN23wTJ.js} +291 -290
  28. package/dist/{UnitView-C9j2RjtY.js → UnitView-w-bUgjIw.js} +23 -23
  29. package/dist/{WarehouseView-Ct6TWKej.js → WarehouseView-cJ7u4vTr.js} +26 -26
  30. package/dist/api/bill.d.ts +2 -2
  31. package/dist/api/food-market-hub.d.ts +1 -1
  32. package/dist/api/inventory.d.ts +110 -44
  33. package/dist/api/netsuite.d.ts +191 -8
  34. package/dist/api/purchase-order.d.ts +5 -1
  35. package/dist/{app-Cryb1Kx8.js → app-DtLEhFCD.js} +19871 -19809
  36. package/dist/app.d.ts +7 -7
  37. package/dist/app.js +2 -2
  38. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +30 -8
  39. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  40. package/dist/components/shell/inventory/binding-ui.vue.d.ts +27 -5
  41. package/dist/composable/usePromise.d.ts +41 -0
  42. package/dist/{decimal-Ko0ukH7B.js → decimal-D0mDm48J.js} +1 -1
  43. package/dist/feature-GZEf4CLT.js +17427 -0
  44. package/dist/{format-unit-display-C1sTywhb.js → format-unit-display-Dl7kbJn1.js} +60 -60
  45. package/dist/{index-BAyyesj2.js → index-BglOiNaU.js} +7 -6
  46. package/dist/{index-WgH7CKAS.js → index-DKLr1Nm9.js} +1 -1
  47. package/dist/main.d.ts +1 -0
  48. package/dist/{stock-BVCXjojk.js → stock-V0Qm2pTD.js} +3 -3
  49. package/dist/stores/feature.d.ts +3 -20
  50. package/dist/stores/integration/foodmarkethub.d.ts +1 -1
  51. package/dist/stores/integration/netsuite.d.ts +22 -7
  52. package/dist/stores/inventory.d.ts +132 -44
  53. package/dist/stores/location.d.ts +137 -137
  54. package/dist/{supplier-Brxhm840.js → supplier-DK4PWcz4.js} +4 -4
  55. package/dist/tsconfig.app.tsbuildinfo +1 -1
  56. package/dist/{use-ingredient-select-dialog-DCAYNC6e.js → use-ingredient-select-dialog-BfJ-qHni.js} +1 -1
  57. package/dist/{use-inventory-binding-dialog-TYwx9mzF.js → use-inventory-binding-dialog-C5IYjwW5.js} +1 -1
  58. package/dist/views/adjustment-template/wastage-template/actions.d.ts +228 -228
  59. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
  60. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
  61. package/dist/views/adjustment-template/wastage-template/table.d.ts +234 -234
  62. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +140 -136
  63. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +420 -408
  64. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +4 -4
  65. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +252 -252
  66. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +252 -252
  67. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -12
  68. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  69. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -8
  70. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +3 -3
  71. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +4 -4
  72. package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
  73. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
  74. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
  75. package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +48 -0
  76. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +180 -0
  77. package/dist/views/integration/components/netsuite/NetSuiteSideSheet.vue.d.ts +24 -0
  78. package/dist/views/integration/components/netsuite/NetSuiteSideSheetProps.d.ts +8 -0
  79. package/dist/views/integration/components/netsuite/{AddLocationDialog.vue.d.ts → business/AddLocationDialog.vue.d.ts} +204 -204
  80. package/dist/views/integration/components/netsuite/{LocationConfigurationDialog.vue.d.ts → business/BusinessNetSuiteSideSheet.vue.d.ts} +3 -3
  81. package/dist/views/integration/components/netsuite/{LocationConfigurationDialogProps.d.ts → business/BusinessNetSuiteSideSheetProps.d.ts} +1 -5
  82. package/dist/views/integration/components/netsuite/{NetSuiteLocationField.vue.d.ts → business/NetSuiteLocationField.vue.d.ts} +11 -9
  83. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +665 -637
  84. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +22 -22
  85. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +44 -44
  86. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +11 -11
  87. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +614 -0
  88. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1190 -1142
  89. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1192 -1144
  90. package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +6 -0
  91. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +46 -2
  92. package/dist/views/recipe/components/recipe-override-form-field/RecipeOverrideFormField.vue.d.ts +61 -0
  93. package/dist/views/recipe/composables/use-recipe-overrides-form-field.d.ts +10 -0
  94. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  95. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +14 -14
  96. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +22 -22
  97. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +17 -17
  98. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +11 -11
  99. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +805 -805
  100. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +805 -805
  101. package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
  102. package/dist/vue-i18n-3LoKMrMa.js +2365 -0
  103. package/package.json +8 -5
  104. package/dist/IntegrationView-DXxwE0z8.js +0 -2148
  105. package/dist/RecipeView-m7aSOTrT.js +0 -616
  106. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DqImAdxA.js +0 -1746
  107. package/dist/vue-i18n-B-kKlljK.js +0 -2365
@@ -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
- url?: string | null | undefined;
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
- url?: string | null | undefined;
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
- url?: string | null | undefined;
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
- url?: string | null | undefined;
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;
@@ -1456,6 +1460,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1456
1460
  };
1457
1461
  id: string;
1458
1462
  }[] | null | undefined;
1463
+ stockSnapshotAt?: string | null | undefined;
1459
1464
  approvedAt?: string | null | undefined;
1460
1465
  approvedBy?: {
1461
1466
  name: string;
@@ -1488,12 +1493,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1488
1493
  precision: number;
1489
1494
  };
1490
1495
  } | null | undefined;
1496
+ id: string;
1491
1497
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1492
1498
  amount: {
1493
1499
  amount: number;
1494
1500
  precision: number;
1495
1501
  };
1496
- id: string;
1497
1502
  }[] | null | undefined;
1498
1503
  } | null | undefined;
1499
1504
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -1519,6 +1524,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1519
1524
  mid: number;
1520
1525
  } | null | undefined;
1521
1526
  customAttributes?: Record<string, any> | null | undefined;
1527
+ _id: string;
1528
+ name: string;
1529
+ code: string;
1522
1530
  unit: {
1523
1531
  _id: string;
1524
1532
  name: string;
@@ -1534,15 +1542,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1534
1542
  };
1535
1543
  }[];
1536
1544
  };
1537
- code: string;
1538
- _id: string;
1539
- name: string;
1540
1545
  };
1541
1546
  baseAmount: {
1542
1547
  amount: number;
1543
1548
  precision: number;
1544
1549
  };
1545
1550
  measurementsAmounts: {
1551
+ amount: {
1552
+ amount: number;
1553
+ precision: number;
1554
+ };
1546
1555
  measurement: {
1547
1556
  id: string;
1548
1557
  name: string;
@@ -1552,14 +1561,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1552
1561
  precision: number;
1553
1562
  };
1554
1563
  };
1555
- amount: {
1556
- amount: number;
1557
- precision: number;
1558
- };
1559
1564
  }[];
1560
1565
  }[] | null | undefined;
1561
- status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
1562
1566
  _id: string;
1567
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
1563
1568
  items: {
1564
1569
  remark?: string | null | undefined;
1565
1570
  sku: {
@@ -1576,12 +1581,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1576
1581
  precision: number;
1577
1582
  };
1578
1583
  } | null | undefined;
1584
+ id: string;
1579
1585
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1580
1586
  amount: {
1581
1587
  amount: number;
1582
1588
  precision: number;
1583
1589
  };
1584
- id: string;
1585
1590
  }[] | null | undefined;
1586
1591
  } | null | undefined;
1587
1592
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -1607,6 +1612,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1607
1612
  mid: number;
1608
1613
  } | null | undefined;
1609
1614
  customAttributes?: Record<string, any> | null | undefined;
1615
+ _id: string;
1616
+ name: string;
1617
+ code: string;
1610
1618
  unit: {
1611
1619
  _id: string;
1612
1620
  name: string;
@@ -1622,15 +1630,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1622
1630
  };
1623
1631
  }[];
1624
1632
  };
1625
- code: string;
1626
- _id: string;
1627
- name: string;
1628
1633
  };
1629
1634
  baseAmount: {
1630
1635
  amount: number;
1631
1636
  precision: number;
1632
1637
  };
1633
1638
  measurementsAmounts: {
1639
+ amount: {
1640
+ amount: number;
1641
+ precision: number;
1642
+ };
1634
1643
  measurement: {
1635
1644
  id: string;
1636
1645
  name: string;
@@ -1640,10 +1649,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1640
1649
  precision: number;
1641
1650
  };
1642
1651
  };
1643
- amount: {
1644
- amount: number;
1645
- precision: number;
1646
- };
1647
1652
  }[];
1648
1653
  }[];
1649
1654
  createdBy: {
@@ -1661,8 +1666,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1661
1666
  _id: string;
1662
1667
  updatedAt: string;
1663
1668
  } | null | undefined;
1664
- type: "restaurant" | "warehouse";
1665
1669
  name: string;
1670
+ type: "restaurant" | "warehouse";
1666
1671
  acceptRequest: boolean;
1667
1672
  dbName: string;
1668
1673
  doc: {
@@ -1670,26 +1675,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1670
1675
  businessId: string;
1671
1676
  profile: {
1672
1677
  code?: string | null | undefined;
1678
+ url?: string | null | undefined;
1679
+ description?: string | null | undefined;
1673
1680
  _id?: string | null | undefined;
1674
- name?: string | undefined;
1675
- address?: {
1676
- coordinates?: number[] | null | undefined;
1677
- line2?: string | null | undefined;
1678
- state: string;
1679
- country: string;
1680
- line1: string;
1681
- city: string;
1682
- postcode: string;
1683
- } | undefined;
1684
- email?: string | undefined;
1685
- regNo?: string | undefined;
1686
- sstRegNo?: string | null | undefined;
1687
- phoneNo?: string | undefined;
1688
1681
  legalName?: string | null | undefined;
1682
+ sstRegNo?: string | null | undefined;
1689
1683
  discovery?: boolean | null | undefined;
1690
1684
  coverPhoto?: string | null | undefined;
1691
1685
  thumbnailPhoto?: string | null | undefined;
1692
- description?: string | null | undefined;
1693
1686
  photos?: string[] | null | undefined;
1694
1687
  operatingHours?: {
1695
1688
  0: {
@@ -1743,7 +1736,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1743
1736
  };
1744
1737
  } | null | undefined;
1745
1738
  tags?: string[] | null | undefined;
1746
- url?: string | null | undefined;
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;
1747
1752
  };
1748
1753
  };
1749
1754
  }[] | null | undefined;
@@ -1807,6 +1812,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1807
1812
  };
1808
1813
  id: string;
1809
1814
  }[] | null | undefined;
1815
+ stockSnapshotAt?: string | null | undefined;
1810
1816
  approvedAt?: string | null | undefined;
1811
1817
  approvedBy?: {
1812
1818
  name: string;
@@ -1839,12 +1845,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1839
1845
  precision: number;
1840
1846
  };
1841
1847
  } | null | undefined;
1848
+ id: string;
1842
1849
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1843
1850
  amount: {
1844
1851
  amount: number;
1845
1852
  precision: number;
1846
1853
  };
1847
- id: string;
1848
1854
  }[] | null | undefined;
1849
1855
  } | null | undefined;
1850
1856
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -1870,6 +1876,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1870
1876
  mid: number;
1871
1877
  } | null | undefined;
1872
1878
  customAttributes?: Record<string, any> | null | undefined;
1879
+ _id: string;
1880
+ name: string;
1881
+ code: string;
1873
1882
  unit: {
1874
1883
  _id: string;
1875
1884
  name: string;
@@ -1885,15 +1894,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1885
1894
  };
1886
1895
  }[];
1887
1896
  };
1888
- code: string;
1889
- _id: string;
1890
- name: string;
1891
1897
  };
1892
1898
  baseAmount: {
1893
1899
  amount: number;
1894
1900
  precision: number;
1895
1901
  };
1896
1902
  measurementsAmounts: {
1903
+ amount: {
1904
+ amount: number;
1905
+ precision: number;
1906
+ };
1897
1907
  measurement: {
1898
1908
  id: string;
1899
1909
  name: string;
@@ -1903,14 +1913,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1903
1913
  precision: number;
1904
1914
  };
1905
1915
  };
1906
- amount: {
1907
- amount: number;
1908
- precision: number;
1909
- };
1910
1916
  }[];
1911
1917
  }[] | null | undefined;
1912
- status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
1913
1918
  _id: string;
1919
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
1914
1920
  items: {
1915
1921
  remark?: string | null | undefined;
1916
1922
  sku: {
@@ -1927,12 +1933,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1927
1933
  precision: number;
1928
1934
  };
1929
1935
  } | null | undefined;
1936
+ id: string;
1930
1937
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1931
1938
  amount: {
1932
1939
  amount: number;
1933
1940
  precision: number;
1934
1941
  };
1935
- id: string;
1936
1942
  }[] | null | undefined;
1937
1943
  } | null | undefined;
1938
1944
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -1958,6 +1964,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1958
1964
  mid: number;
1959
1965
  } | null | undefined;
1960
1966
  customAttributes?: Record<string, any> | null | undefined;
1967
+ _id: string;
1968
+ name: string;
1969
+ code: string;
1961
1970
  unit: {
1962
1971
  _id: string;
1963
1972
  name: string;
@@ -1973,15 +1982,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1973
1982
  };
1974
1983
  }[];
1975
1984
  };
1976
- code: string;
1977
- _id: string;
1978
- name: string;
1979
1985
  };
1980
1986
  baseAmount: {
1981
1987
  amount: number;
1982
1988
  precision: number;
1983
1989
  };
1984
1990
  measurementsAmounts: {
1991
+ amount: {
1992
+ amount: number;
1993
+ precision: number;
1994
+ };
1985
1995
  measurement: {
1986
1996
  id: string;
1987
1997
  name: string;
@@ -1991,10 +2001,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1991
2001
  precision: number;
1992
2002
  };
1993
2003
  };
1994
- amount: {
1995
- amount: number;
1996
- precision: number;
1997
- };
1998
2004
  }[];
1999
2005
  }[];
2000
2006
  createdBy: {
@@ -2012,8 +2018,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2012
2018
  _id: string;
2013
2019
  updatedAt: string;
2014
2020
  } | null | undefined;
2015
- type: "restaurant" | "warehouse";
2016
2021
  name: string;
2022
+ type: "restaurant" | "warehouse";
2017
2023
  acceptRequest: boolean;
2018
2024
  dbName: string;
2019
2025
  doc: {
@@ -2021,26 +2027,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2021
2027
  businessId: string;
2022
2028
  profile: {
2023
2029
  code?: string | null | undefined;
2030
+ url?: string | null | undefined;
2031
+ description?: string | null | undefined;
2024
2032
  _id?: string | null | undefined;
2025
- name?: string | undefined;
2026
- address?: {
2027
- coordinates?: number[] | null | undefined;
2028
- line2?: string | null | undefined;
2029
- state: string;
2030
- country: string;
2031
- line1: string;
2032
- city: string;
2033
- postcode: string;
2034
- } | undefined;
2035
- email?: string | undefined;
2036
- regNo?: string | undefined;
2037
- sstRegNo?: string | null | undefined;
2038
- phoneNo?: string | undefined;
2039
2033
  legalName?: string | null | undefined;
2034
+ sstRegNo?: string | null | undefined;
2040
2035
  discovery?: boolean | null | undefined;
2041
2036
  coverPhoto?: string | null | undefined;
2042
2037
  thumbnailPhoto?: string | null | undefined;
2043
- description?: string | null | undefined;
2044
2038
  photos?: string[] | null | undefined;
2045
2039
  operatingHours?: {
2046
2040
  0: {
@@ -2094,7 +2088,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2094
2088
  };
2095
2089
  } | null | undefined;
2096
2090
  tags?: string[] | null | undefined;
2097
- url?: string | null | undefined;
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;
2098
2104
  };
2099
2105
  };
2100
2106
  }[] | null | undefined;
@@ -2157,6 +2163,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2157
2163
  };
2158
2164
  id: string;
2159
2165
  }[] | null | undefined;
2166
+ stockSnapshotAt?: string | null | undefined;
2160
2167
  approvedAt?: string | null | undefined;
2161
2168
  approvedBy?: {
2162
2169
  name: string;
@@ -2189,12 +2196,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2189
2196
  precision: number;
2190
2197
  };
2191
2198
  } | null | undefined;
2199
+ id: string;
2192
2200
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2193
2201
  amount: {
2194
2202
  amount: number;
2195
2203
  precision: number;
2196
2204
  };
2197
- id: string;
2198
2205
  }[] | null | undefined;
2199
2206
  } | null | undefined;
2200
2207
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -2220,6 +2227,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2220
2227
  mid: number;
2221
2228
  } | null | undefined;
2222
2229
  customAttributes?: Record<string, any> | null | undefined;
2230
+ _id: string;
2231
+ name: string;
2232
+ code: string;
2223
2233
  unit: {
2224
2234
  _id: string;
2225
2235
  name: string;
@@ -2235,15 +2245,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2235
2245
  };
2236
2246
  }[];
2237
2247
  };
2238
- code: string;
2239
- _id: string;
2240
- name: string;
2241
2248
  };
2242
2249
  baseAmount: {
2243
2250
  amount: number;
2244
2251
  precision: number;
2245
2252
  };
2246
2253
  measurementsAmounts: {
2254
+ amount: {
2255
+ amount: number;
2256
+ precision: number;
2257
+ };
2247
2258
  measurement: {
2248
2259
  id: string;
2249
2260
  name: string;
@@ -2253,14 +2264,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2253
2264
  precision: number;
2254
2265
  };
2255
2266
  };
2256
- amount: {
2257
- amount: number;
2258
- precision: number;
2259
- };
2260
2267
  }[];
2261
2268
  }[] | null | undefined;
2262
- status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
2263
2269
  _id: string;
2270
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
2264
2271
  items: {
2265
2272
  remark?: string | null | undefined;
2266
2273
  sku: {
@@ -2277,12 +2284,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2277
2284
  precision: number;
2278
2285
  };
2279
2286
  } | null | undefined;
2287
+ id: string;
2280
2288
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2281
2289
  amount: {
2282
2290
  amount: number;
2283
2291
  precision: number;
2284
2292
  };
2285
- id: string;
2286
2293
  }[] | null | undefined;
2287
2294
  } | null | undefined;
2288
2295
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -2308,6 +2315,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2308
2315
  mid: number;
2309
2316
  } | null | undefined;
2310
2317
  customAttributes?: Record<string, any> | null | undefined;
2318
+ _id: string;
2319
+ name: string;
2320
+ code: string;
2311
2321
  unit: {
2312
2322
  _id: string;
2313
2323
  name: string;
@@ -2323,15 +2333,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2323
2333
  };
2324
2334
  }[];
2325
2335
  };
2326
- code: string;
2327
- _id: string;
2328
- name: string;
2329
2336
  };
2330
2337
  baseAmount: {
2331
2338
  amount: number;
2332
2339
  precision: number;
2333
2340
  };
2334
2341
  measurementsAmounts: {
2342
+ amount: {
2343
+ amount: number;
2344
+ precision: number;
2345
+ };
2335
2346
  measurement: {
2336
2347
  id: string;
2337
2348
  name: string;
@@ -2341,10 +2352,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2341
2352
  precision: number;
2342
2353
  };
2343
2354
  };
2344
- amount: {
2345
- amount: number;
2346
- precision: number;
2347
- };
2348
2355
  }[];
2349
2356
  }[];
2350
2357
  createdBy: {
@@ -2362,8 +2369,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2362
2369
  _id: string;
2363
2370
  updatedAt: string;
2364
2371
  } | null | undefined;
2365
- type: "restaurant" | "warehouse";
2366
2372
  name: string;
2373
+ type: "restaurant" | "warehouse";
2367
2374
  acceptRequest: boolean;
2368
2375
  dbName: string;
2369
2376
  doc: {
@@ -2371,26 +2378,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2371
2378
  businessId: string;
2372
2379
  profile: {
2373
2380
  code?: string | null | undefined;
2381
+ url?: string | null | undefined;
2382
+ description?: string | null | undefined;
2374
2383
  _id?: string | null | undefined;
2375
- name?: string | undefined;
2376
- address?: {
2377
- coordinates?: number[] | null | undefined;
2378
- line2?: string | null | undefined;
2379
- state: string;
2380
- country: string;
2381
- line1: string;
2382
- city: string;
2383
- postcode: string;
2384
- } | undefined;
2385
- email?: string | undefined;
2386
- regNo?: string | undefined;
2387
- sstRegNo?: string | null | undefined;
2388
- phoneNo?: string | undefined;
2389
2384
  legalName?: string | null | undefined;
2385
+ sstRegNo?: string | null | undefined;
2390
2386
  discovery?: boolean | null | undefined;
2391
2387
  coverPhoto?: string | null | undefined;
2392
2388
  thumbnailPhoto?: string | null | undefined;
2393
- description?: string | null | undefined;
2394
2389
  photos?: string[] | null | undefined;
2395
2390
  operatingHours?: {
2396
2391
  0: {
@@ -2444,7 +2439,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2444
2439
  };
2445
2440
  } | null | undefined;
2446
2441
  tags?: string[] | null | undefined;
2447
- url?: string | null | undefined;
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;
2448
2455
  };
2449
2456
  };
2450
2457
  }[] | null | undefined;
@@ -2507,6 +2514,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2507
2514
  };
2508
2515
  id: string;
2509
2516
  }[] | null | undefined;
2517
+ stockSnapshotAt?: string | null | undefined;
2510
2518
  approvedAt?: string | null | undefined;
2511
2519
  approvedBy?: {
2512
2520
  name: string;
@@ -2539,12 +2547,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2539
2547
  precision: number;
2540
2548
  };
2541
2549
  } | null | undefined;
2550
+ id: string;
2542
2551
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2543
2552
  amount: {
2544
2553
  amount: number;
2545
2554
  precision: number;
2546
2555
  };
2547
- id: string;
2548
2556
  }[] | null | undefined;
2549
2557
  } | null | undefined;
2550
2558
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -2570,6 +2578,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2570
2578
  mid: number;
2571
2579
  } | null | undefined;
2572
2580
  customAttributes?: Record<string, any> | null | undefined;
2581
+ _id: string;
2582
+ name: string;
2583
+ code: string;
2573
2584
  unit: {
2574
2585
  _id: string;
2575
2586
  name: string;
@@ -2585,15 +2596,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2585
2596
  };
2586
2597
  }[];
2587
2598
  };
2588
- code: string;
2589
- _id: string;
2590
- name: string;
2591
2599
  };
2592
2600
  baseAmount: {
2593
2601
  amount: number;
2594
2602
  precision: number;
2595
2603
  };
2596
2604
  measurementsAmounts: {
2605
+ amount: {
2606
+ amount: number;
2607
+ precision: number;
2608
+ };
2597
2609
  measurement: {
2598
2610
  id: string;
2599
2611
  name: string;
@@ -2603,14 +2615,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2603
2615
  precision: number;
2604
2616
  };
2605
2617
  };
2606
- amount: {
2607
- amount: number;
2608
- precision: number;
2609
- };
2610
2618
  }[];
2611
2619
  }[] | null | undefined;
2612
- status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
2613
2620
  _id: string;
2621
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
2614
2622
  items: {
2615
2623
  remark?: string | null | undefined;
2616
2624
  sku: {
@@ -2627,12 +2635,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2627
2635
  precision: number;
2628
2636
  };
2629
2637
  } | null | undefined;
2638
+ id: string;
2630
2639
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2631
2640
  amount: {
2632
2641
  amount: number;
2633
2642
  precision: number;
2634
2643
  };
2635
- id: string;
2636
2644
  }[] | null | undefined;
2637
2645
  } | null | undefined;
2638
2646
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -2658,6 +2666,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2658
2666
  mid: number;
2659
2667
  } | null | undefined;
2660
2668
  customAttributes?: Record<string, any> | null | undefined;
2669
+ _id: string;
2670
+ name: string;
2671
+ code: string;
2661
2672
  unit: {
2662
2673
  _id: string;
2663
2674
  name: string;
@@ -2673,15 +2684,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2673
2684
  };
2674
2685
  }[];
2675
2686
  };
2676
- code: string;
2677
- _id: string;
2678
- name: string;
2679
2687
  };
2680
2688
  baseAmount: {
2681
2689
  amount: number;
2682
2690
  precision: number;
2683
2691
  };
2684
2692
  measurementsAmounts: {
2693
+ amount: {
2694
+ amount: number;
2695
+ precision: number;
2696
+ };
2685
2697
  measurement: {
2686
2698
  id: string;
2687
2699
  name: string;
@@ -2691,10 +2703,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2691
2703
  precision: number;
2692
2704
  };
2693
2705
  };
2694
- amount: {
2695
- amount: number;
2696
- precision: number;
2697
- };
2698
2706
  }[];
2699
2707
  }[];
2700
2708
  createdBy: {
@@ -2712,8 +2720,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2712
2720
  _id: string;
2713
2721
  updatedAt: string;
2714
2722
  } | null | undefined;
2715
- type: "restaurant" | "warehouse";
2716
2723
  name: string;
2724
+ type: "restaurant" | "warehouse";
2717
2725
  acceptRequest: boolean;
2718
2726
  dbName: string;
2719
2727
  doc: {
@@ -2721,26 +2729,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2721
2729
  businessId: string;
2722
2730
  profile: {
2723
2731
  code?: string | null | undefined;
2732
+ url?: string | null | undefined;
2733
+ description?: string | null | undefined;
2724
2734
  _id?: string | null | undefined;
2725
- name?: string | undefined;
2726
- address?: {
2727
- coordinates?: number[] | null | undefined;
2728
- line2?: string | null | undefined;
2729
- state: string;
2730
- country: string;
2731
- line1: string;
2732
- city: string;
2733
- postcode: string;
2734
- } | undefined;
2735
- email?: string | undefined;
2736
- regNo?: string | undefined;
2737
- sstRegNo?: string | null | undefined;
2738
- phoneNo?: string | undefined;
2739
2735
  legalName?: string | null | undefined;
2736
+ sstRegNo?: string | null | undefined;
2740
2737
  discovery?: boolean | null | undefined;
2741
2738
  coverPhoto?: string | null | undefined;
2742
2739
  thumbnailPhoto?: string | null | undefined;
2743
- description?: string | null | undefined;
2744
2740
  photos?: string[] | null | undefined;
2745
2741
  operatingHours?: {
2746
2742
  0: {
@@ -2794,7 +2790,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2794
2790
  };
2795
2791
  } | null | undefined;
2796
2792
  tags?: string[] | null | undefined;
2797
- url?: string | null | undefined;
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;
2798
2806
  };
2799
2807
  };
2800
2808
  }[] | null | undefined;
@@ -2863,6 +2871,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2863
2871
  };
2864
2872
  id: string;
2865
2873
  }[] | null | undefined;
2874
+ stockSnapshotAt?: string | null | undefined;
2866
2875
  approvedAt?: string | null | undefined;
2867
2876
  approvedBy?: {
2868
2877
  name: string;
@@ -2895,12 +2904,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2895
2904
  precision: number;
2896
2905
  };
2897
2906
  } | null | undefined;
2907
+ id: string;
2898
2908
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2899
2909
  amount: {
2900
2910
  amount: number;
2901
2911
  precision: number;
2902
2912
  };
2903
- id: string;
2904
2913
  }[] | null | undefined;
2905
2914
  } | null | undefined;
2906
2915
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -2926,6 +2935,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2926
2935
  mid: number;
2927
2936
  } | null | undefined;
2928
2937
  customAttributes?: Record<string, any> | null | undefined;
2938
+ _id: string;
2939
+ name: string;
2940
+ code: string;
2929
2941
  unit: {
2930
2942
  _id: string;
2931
2943
  name: string;
@@ -2941,15 +2953,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2941
2953
  };
2942
2954
  }[];
2943
2955
  };
2944
- code: string;
2945
- _id: string;
2946
- name: string;
2947
2956
  };
2948
2957
  baseAmount: {
2949
2958
  amount: number;
2950
2959
  precision: number;
2951
2960
  };
2952
2961
  measurementsAmounts: {
2962
+ amount: {
2963
+ amount: number;
2964
+ precision: number;
2965
+ };
2953
2966
  measurement: {
2954
2967
  id: string;
2955
2968
  name: string;
@@ -2959,14 +2972,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2959
2972
  precision: number;
2960
2973
  };
2961
2974
  };
2962
- amount: {
2963
- amount: number;
2964
- precision: number;
2965
- };
2966
2975
  }[];
2967
2976
  }[] | null | undefined;
2968
- status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
2969
2977
  _id: string;
2978
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
2970
2979
  items: {
2971
2980
  remark?: string | null | undefined;
2972
2981
  sku: {
@@ -2983,12 +2992,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2983
2992
  precision: number;
2984
2993
  };
2985
2994
  } | null | undefined;
2995
+ id: string;
2986
2996
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2987
2997
  amount: {
2988
2998
  amount: number;
2989
2999
  precision: number;
2990
3000
  };
2991
- id: string;
2992
3001
  }[] | null | undefined;
2993
3002
  } | null | undefined;
2994
3003
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -3014,6 +3023,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3014
3023
  mid: number;
3015
3024
  } | null | undefined;
3016
3025
  customAttributes?: Record<string, any> | null | undefined;
3026
+ _id: string;
3027
+ name: string;
3028
+ code: string;
3017
3029
  unit: {
3018
3030
  _id: string;
3019
3031
  name: string;
@@ -3029,15 +3041,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3029
3041
  };
3030
3042
  }[];
3031
3043
  };
3032
- code: string;
3033
- _id: string;
3034
- name: string;
3035
3044
  };
3036
3045
  baseAmount: {
3037
3046
  amount: number;
3038
3047
  precision: number;
3039
3048
  };
3040
3049
  measurementsAmounts: {
3050
+ amount: {
3051
+ amount: number;
3052
+ precision: number;
3053
+ };
3041
3054
  measurement: {
3042
3055
  id: string;
3043
3056
  name: string;
@@ -3047,10 +3060,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3047
3060
  precision: number;
3048
3061
  };
3049
3062
  };
3050
- amount: {
3051
- amount: number;
3052
- precision: number;
3053
- };
3054
3063
  }[];
3055
3064
  }[];
3056
3065
  createdBy: {
@@ -3068,8 +3077,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3068
3077
  _id: string;
3069
3078
  updatedAt: string;
3070
3079
  } | null | undefined;
3071
- type: "restaurant" | "warehouse";
3072
3080
  name: string;
3081
+ type: "restaurant" | "warehouse";
3073
3082
  acceptRequest: boolean;
3074
3083
  dbName: string;
3075
3084
  doc: {
@@ -3077,26 +3086,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3077
3086
  businessId: string;
3078
3087
  profile: {
3079
3088
  code?: string | null | undefined;
3089
+ url?: string | null | undefined;
3090
+ description?: string | null | undefined;
3080
3091
  _id?: string | null | undefined;
3081
- name?: string | undefined;
3082
- address?: {
3083
- coordinates?: number[] | null | undefined;
3084
- line2?: string | null | undefined;
3085
- state: string;
3086
- country: string;
3087
- line1: string;
3088
- city: string;
3089
- postcode: string;
3090
- } | undefined;
3091
- email?: string | undefined;
3092
- regNo?: string | undefined;
3093
- sstRegNo?: string | null | undefined;
3094
- phoneNo?: string | undefined;
3095
3092
  legalName?: string | null | undefined;
3093
+ sstRegNo?: string | null | undefined;
3096
3094
  discovery?: boolean | null | undefined;
3097
3095
  coverPhoto?: string | null | undefined;
3098
3096
  thumbnailPhoto?: string | null | undefined;
3099
- description?: string | null | undefined;
3100
3097
  photos?: string[] | null | undefined;
3101
3098
  operatingHours?: {
3102
3099
  0: {
@@ -3150,7 +3147,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3150
3147
  };
3151
3148
  } | null | undefined;
3152
3149
  tags?: string[] | null | undefined;
3153
- url?: string | null | undefined;
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;
3154
3163
  };
3155
3164
  };
3156
3165
  }[] | null | undefined;
@@ -3214,6 +3223,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3214
3223
  };
3215
3224
  id: string;
3216
3225
  }[] | null | undefined;
3226
+ stockSnapshotAt?: string | null | undefined;
3217
3227
  approvedAt?: string | null | undefined;
3218
3228
  approvedBy?: {
3219
3229
  name: string;
@@ -3246,12 +3256,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3246
3256
  precision: number;
3247
3257
  };
3248
3258
  } | null | undefined;
3259
+ id: string;
3249
3260
  type: "RECIPE" | "SKU" | "SKU_GROUP";
3250
3261
  amount: {
3251
3262
  amount: number;
3252
3263
  precision: number;
3253
3264
  };
3254
- id: string;
3255
3265
  }[] | null | undefined;
3256
3266
  } | null | undefined;
3257
3267
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -3277,6 +3287,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3277
3287
  mid: number;
3278
3288
  } | null | undefined;
3279
3289
  customAttributes?: Record<string, any> | null | undefined;
3290
+ _id: string;
3291
+ name: string;
3292
+ code: string;
3280
3293
  unit: {
3281
3294
  _id: string;
3282
3295
  name: string;
@@ -3292,15 +3305,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3292
3305
  };
3293
3306
  }[];
3294
3307
  };
3295
- code: string;
3296
- _id: string;
3297
- name: string;
3298
3308
  };
3299
3309
  baseAmount: {
3300
3310
  amount: number;
3301
3311
  precision: number;
3302
3312
  };
3303
3313
  measurementsAmounts: {
3314
+ amount: {
3315
+ amount: number;
3316
+ precision: number;
3317
+ };
3304
3318
  measurement: {
3305
3319
  id: string;
3306
3320
  name: string;
@@ -3310,14 +3324,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3310
3324
  precision: number;
3311
3325
  };
3312
3326
  };
3313
- amount: {
3314
- amount: number;
3315
- precision: number;
3316
- };
3317
3327
  }[];
3318
3328
  }[] | null | undefined;
3319
- status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
3320
3329
  _id: string;
3330
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
3321
3331
  items: {
3322
3332
  remark?: string | null | undefined;
3323
3333
  sku: {
@@ -3334,12 +3344,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3334
3344
  precision: number;
3335
3345
  };
3336
3346
  } | null | undefined;
3347
+ id: string;
3337
3348
  type: "RECIPE" | "SKU" | "SKU_GROUP";
3338
3349
  amount: {
3339
3350
  amount: number;
3340
3351
  precision: number;
3341
3352
  };
3342
- id: string;
3343
3353
  }[] | null | undefined;
3344
3354
  } | null | undefined;
3345
3355
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -3365,6 +3375,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3365
3375
  mid: number;
3366
3376
  } | null | undefined;
3367
3377
  customAttributes?: Record<string, any> | null | undefined;
3378
+ _id: string;
3379
+ name: string;
3380
+ code: string;
3368
3381
  unit: {
3369
3382
  _id: string;
3370
3383
  name: string;
@@ -3380,15 +3393,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3380
3393
  };
3381
3394
  }[];
3382
3395
  };
3383
- code: string;
3384
- _id: string;
3385
- name: string;
3386
3396
  };
3387
3397
  baseAmount: {
3388
3398
  amount: number;
3389
3399
  precision: number;
3390
3400
  };
3391
3401
  measurementsAmounts: {
3402
+ amount: {
3403
+ amount: number;
3404
+ precision: number;
3405
+ };
3392
3406
  measurement: {
3393
3407
  id: string;
3394
3408
  name: string;
@@ -3398,10 +3412,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3398
3412
  precision: number;
3399
3413
  };
3400
3414
  };
3401
- amount: {
3402
- amount: number;
3403
- precision: number;
3404
- };
3405
3415
  }[];
3406
3416
  }[];
3407
3417
  createdBy: {
@@ -3419,8 +3429,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3419
3429
  _id: string;
3420
3430
  updatedAt: string;
3421
3431
  } | null | undefined;
3422
- type: "restaurant" | "warehouse";
3423
3432
  name: string;
3433
+ type: "restaurant" | "warehouse";
3424
3434
  acceptRequest: boolean;
3425
3435
  dbName: string;
3426
3436
  doc: {
@@ -3428,26 +3438,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3428
3438
  businessId: string;
3429
3439
  profile: {
3430
3440
  code?: string | null | undefined;
3441
+ url?: string | null | undefined;
3442
+ description?: string | null | undefined;
3431
3443
  _id?: string | null | undefined;
3432
- name?: string | undefined;
3433
- address?: {
3434
- coordinates?: number[] | null | undefined;
3435
- line2?: string | null | undefined;
3436
- state: string;
3437
- country: string;
3438
- line1: string;
3439
- city: string;
3440
- postcode: string;
3441
- } | undefined;
3442
- email?: string | undefined;
3443
- regNo?: string | undefined;
3444
- sstRegNo?: string | null | undefined;
3445
- phoneNo?: string | undefined;
3446
3444
  legalName?: string | null | undefined;
3445
+ sstRegNo?: string | null | undefined;
3447
3446
  discovery?: boolean | null | undefined;
3448
3447
  coverPhoto?: string | null | undefined;
3449
3448
  thumbnailPhoto?: string | null | undefined;
3450
- description?: string | null | undefined;
3451
3449
  photos?: string[] | null | undefined;
3452
3450
  operatingHours?: {
3453
3451
  0: {
@@ -3501,7 +3499,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3501
3499
  };
3502
3500
  } | null | undefined;
3503
3501
  tags?: string[] | null | undefined;
3504
- url?: string | null | undefined;
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;
3505
3515
  };
3506
3516
  };
3507
3517
  }[] | null | undefined;
@@ -3564,6 +3574,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3564
3574
  };
3565
3575
  id: string;
3566
3576
  }[] | null | undefined;
3577
+ stockSnapshotAt?: string | null | undefined;
3567
3578
  approvedAt?: string | null | undefined;
3568
3579
  approvedBy?: {
3569
3580
  name: string;
@@ -3596,12 +3607,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3596
3607
  precision: number;
3597
3608
  };
3598
3609
  } | null | undefined;
3610
+ id: string;
3599
3611
  type: "RECIPE" | "SKU" | "SKU_GROUP";
3600
3612
  amount: {
3601
3613
  amount: number;
3602
3614
  precision: number;
3603
3615
  };
3604
- id: string;
3605
3616
  }[] | null | undefined;
3606
3617
  } | null | undefined;
3607
3618
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -3627,6 +3638,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3627
3638
  mid: number;
3628
3639
  } | null | undefined;
3629
3640
  customAttributes?: Record<string, any> | null | undefined;
3641
+ _id: string;
3642
+ name: string;
3643
+ code: string;
3630
3644
  unit: {
3631
3645
  _id: string;
3632
3646
  name: string;
@@ -3642,15 +3656,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3642
3656
  };
3643
3657
  }[];
3644
3658
  };
3645
- code: string;
3646
- _id: string;
3647
- name: string;
3648
3659
  };
3649
3660
  baseAmount: {
3650
3661
  amount: number;
3651
3662
  precision: number;
3652
3663
  };
3653
3664
  measurementsAmounts: {
3665
+ amount: {
3666
+ amount: number;
3667
+ precision: number;
3668
+ };
3654
3669
  measurement: {
3655
3670
  id: string;
3656
3671
  name: string;
@@ -3660,14 +3675,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3660
3675
  precision: number;
3661
3676
  };
3662
3677
  };
3663
- amount: {
3664
- amount: number;
3665
- precision: number;
3666
- };
3667
3678
  }[];
3668
3679
  }[] | null | undefined;
3669
- status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
3670
3680
  _id: string;
3681
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
3671
3682
  items: {
3672
3683
  remark?: string | null | undefined;
3673
3684
  sku: {
@@ -3684,12 +3695,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3684
3695
  precision: number;
3685
3696
  };
3686
3697
  } | null | undefined;
3698
+ id: string;
3687
3699
  type: "RECIPE" | "SKU" | "SKU_GROUP";
3688
3700
  amount: {
3689
3701
  amount: number;
3690
3702
  precision: number;
3691
3703
  };
3692
- id: string;
3693
3704
  }[] | null | undefined;
3694
3705
  } | null | undefined;
3695
3706
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -3715,6 +3726,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3715
3726
  mid: number;
3716
3727
  } | null | undefined;
3717
3728
  customAttributes?: Record<string, any> | null | undefined;
3729
+ _id: string;
3730
+ name: string;
3731
+ code: string;
3718
3732
  unit: {
3719
3733
  _id: string;
3720
3734
  name: string;
@@ -3730,15 +3744,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3730
3744
  };
3731
3745
  }[];
3732
3746
  };
3733
- code: string;
3734
- _id: string;
3735
- name: string;
3736
3747
  };
3737
3748
  baseAmount: {
3738
3749
  amount: number;
3739
3750
  precision: number;
3740
3751
  };
3741
3752
  measurementsAmounts: {
3753
+ amount: {
3754
+ amount: number;
3755
+ precision: number;
3756
+ };
3742
3757
  measurement: {
3743
3758
  id: string;
3744
3759
  name: string;
@@ -3748,10 +3763,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3748
3763
  precision: number;
3749
3764
  };
3750
3765
  };
3751
- amount: {
3752
- amount: number;
3753
- precision: number;
3754
- };
3755
3766
  }[];
3756
3767
  }[];
3757
3768
  createdBy: {
@@ -3769,8 +3780,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3769
3780
  _id: string;
3770
3781
  updatedAt: string;
3771
3782
  } | null | undefined;
3772
- type: "restaurant" | "warehouse";
3773
3783
  name: string;
3784
+ type: "restaurant" | "warehouse";
3774
3785
  acceptRequest: boolean;
3775
3786
  dbName: string;
3776
3787
  doc: {
@@ -3778,26 +3789,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3778
3789
  businessId: string;
3779
3790
  profile: {
3780
3791
  code?: string | null | undefined;
3792
+ url?: string | null | undefined;
3793
+ description?: string | null | undefined;
3781
3794
  _id?: string | null | undefined;
3782
- name?: string | undefined;
3783
- address?: {
3784
- coordinates?: number[] | null | undefined;
3785
- line2?: string | null | undefined;
3786
- state: string;
3787
- country: string;
3788
- line1: string;
3789
- city: string;
3790
- postcode: string;
3791
- } | undefined;
3792
- email?: string | undefined;
3793
- regNo?: string | undefined;
3794
- sstRegNo?: string | null | undefined;
3795
- phoneNo?: string | undefined;
3796
3795
  legalName?: string | null | undefined;
3796
+ sstRegNo?: string | null | undefined;
3797
3797
  discovery?: boolean | null | undefined;
3798
3798
  coverPhoto?: string | null | undefined;
3799
3799
  thumbnailPhoto?: string | null | undefined;
3800
- description?: string | null | undefined;
3801
3800
  photos?: string[] | null | undefined;
3802
3801
  operatingHours?: {
3803
3802
  0: {
@@ -3851,7 +3850,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3851
3850
  };
3852
3851
  } | null | undefined;
3853
3852
  tags?: string[] | null | undefined;
3854
- url?: string | null | undefined;
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;
3855
3866
  };
3856
3867
  };
3857
3868
  }[] | null | undefined;
@@ -3914,6 +3925,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3914
3925
  };
3915
3926
  id: string;
3916
3927
  }[] | null | undefined;
3928
+ stockSnapshotAt?: string | null | undefined;
3917
3929
  approvedAt?: string | null | undefined;
3918
3930
  approvedBy?: {
3919
3931
  name: string;
@@ -3946,12 +3958,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3946
3958
  precision: number;
3947
3959
  };
3948
3960
  } | null | undefined;
3961
+ id: string;
3949
3962
  type: "RECIPE" | "SKU" | "SKU_GROUP";
3950
3963
  amount: {
3951
3964
  amount: number;
3952
3965
  precision: number;
3953
3966
  };
3954
- id: string;
3955
3967
  }[] | null | undefined;
3956
3968
  } | null | undefined;
3957
3969
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -3977,6 +3989,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3977
3989
  mid: number;
3978
3990
  } | null | undefined;
3979
3991
  customAttributes?: Record<string, any> | null | undefined;
3992
+ _id: string;
3993
+ name: string;
3994
+ code: string;
3980
3995
  unit: {
3981
3996
  _id: string;
3982
3997
  name: string;
@@ -3992,15 +4007,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
3992
4007
  };
3993
4008
  }[];
3994
4009
  };
3995
- code: string;
3996
- _id: string;
3997
- name: string;
3998
4010
  };
3999
4011
  baseAmount: {
4000
4012
  amount: number;
4001
4013
  precision: number;
4002
4014
  };
4003
4015
  measurementsAmounts: {
4016
+ amount: {
4017
+ amount: number;
4018
+ precision: number;
4019
+ };
4004
4020
  measurement: {
4005
4021
  id: string;
4006
4022
  name: string;
@@ -4010,14 +4026,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
4010
4026
  precision: number;
4011
4027
  };
4012
4028
  };
4013
- amount: {
4014
- amount: number;
4015
- precision: number;
4016
- };
4017
4029
  }[];
4018
4030
  }[] | null | undefined;
4019
- status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
4020
4031
  _id: string;
4032
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
4021
4033
  items: {
4022
4034
  remark?: string | null | undefined;
4023
4035
  sku: {
@@ -4034,12 +4046,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
4034
4046
  precision: number;
4035
4047
  };
4036
4048
  } | null | undefined;
4049
+ id: string;
4037
4050
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4038
4051
  amount: {
4039
4052
  amount: number;
4040
4053
  precision: number;
4041
4054
  };
4042
- id: string;
4043
4055
  }[] | null | undefined;
4044
4056
  } | null | undefined;
4045
4057
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
@@ -4065,6 +4077,9 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
4065
4077
  mid: number;
4066
4078
  } | null | undefined;
4067
4079
  customAttributes?: Record<string, any> | null | undefined;
4080
+ _id: string;
4081
+ name: string;
4082
+ code: string;
4068
4083
  unit: {
4069
4084
  _id: string;
4070
4085
  name: string;
@@ -4080,15 +4095,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
4080
4095
  };
4081
4096
  }[];
4082
4097
  };
4083
- code: string;
4084
- _id: string;
4085
- name: string;
4086
4098
  };
4087
4099
  baseAmount: {
4088
4100
  amount: number;
4089
4101
  precision: number;
4090
4102
  };
4091
4103
  measurementsAmounts: {
4104
+ amount: {
4105
+ amount: number;
4106
+ precision: number;
4107
+ };
4092
4108
  measurement: {
4093
4109
  id: string;
4094
4110
  name: string;
@@ -4098,10 +4114,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
4098
4114
  precision: number;
4099
4115
  };
4100
4116
  };
4101
- amount: {
4102
- amount: number;
4103
- precision: number;
4104
- };
4105
4117
  }[];
4106
4118
  }[];
4107
4119
  createdBy: {
@@ -4119,8 +4131,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
4119
4131
  _id: string;
4120
4132
  updatedAt: string;
4121
4133
  } | null | undefined;
4122
- type: "restaurant" | "warehouse";
4123
4134
  name: string;
4135
+ type: "restaurant" | "warehouse";
4124
4136
  acceptRequest: boolean;
4125
4137
  dbName: string;
4126
4138
  doc: {
@@ -4128,26 +4140,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
4128
4140
  businessId: string;
4129
4141
  profile: {
4130
4142
  code?: string | null | undefined;
4143
+ url?: string | null | undefined;
4144
+ description?: string | null | undefined;
4131
4145
  _id?: string | null | undefined;
4132
- name?: string | undefined;
4133
- address?: {
4134
- coordinates?: number[] | null | undefined;
4135
- line2?: string | null | undefined;
4136
- state: string;
4137
- country: string;
4138
- line1: string;
4139
- city: string;
4140
- postcode: string;
4141
- } | undefined;
4142
- email?: string | undefined;
4143
- regNo?: string | undefined;
4144
- sstRegNo?: string | null | undefined;
4145
- phoneNo?: string | undefined;
4146
4146
  legalName?: string | null | undefined;
4147
+ sstRegNo?: string | null | undefined;
4147
4148
  discovery?: boolean | null | undefined;
4148
4149
  coverPhoto?: string | null | undefined;
4149
4150
  thumbnailPhoto?: string | null | undefined;
4150
- description?: string | null | undefined;
4151
4151
  photos?: string[] | null | undefined;
4152
4152
  operatingHours?: {
4153
4153
  0: {
@@ -4201,7 +4201,19 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
4201
4201
  };
4202
4202
  } | null | undefined;
4203
4203
  tags?: string[] | null | undefined;
4204
- url?: string | null | undefined;
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;
4205
4217
  };
4206
4218
  };
4207
4219
  }[] | null | undefined;