@feedmepos/mf-inventory-portal 0.0.22-dev.4 → 0.0.22-dev.5

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 (40) hide show
  1. package/dist/{ApprovalView-xF73Z1jN.js → ApprovalView-BdaNwUBc.js} +4 -4
  2. package/dist/{BindingsDialog-CCSAxGT4.js → BindingsDialog-DQJhC3Mo.js} +1 -1
  3. package/dist/{BindingsPicker-ErFH0uEQ.js → BindingsPicker-YfbPb_dG.js} +1 -1
  4. package/dist/{BindingsTable-D8ffJgIJ.js → BindingsTable-D3MVcHXZ.js} +1 -1
  5. package/dist/{ClosingTemplateView-DdZlX1ug.js → ClosingTemplateView-BpErgepi.js} +5 -5
  6. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ZYtBNoaE.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D3B7kOlU.js} +1 -1
  7. package/dist/{IngredientsView-DnwwQJTN.js → IngredientsView-GqrkpCm5.js} +3 -3
  8. package/dist/{IntegrationView-54yz2EqS.js → IntegrationView-7c3MpUzS.js} +2 -2
  9. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKvKlCk-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-wsBLYBpB.js} +1 -1
  10. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Bom_KvXW.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BIwdObb1.js} +1 -1
  11. package/dist/{PurchaseOrderPrintPreview-pcpWSfl4.js → PurchaseOrderPrintPreview-BcAmgmD8.js} +1 -1
  12. package/dist/{ReceiveRequestView-D5HXMY4Z.js → ReceiveRequestView-BAuXvzQW.js} +6 -6
  13. package/dist/{RecipeView-BHkTgm5H.js → RecipeView-C6tZPQ-K.js} +3 -3
  14. package/dist/{StockView-iczCFYxn.js → StockView-4uXHYz4E.js} +6 -6
  15. package/dist/{SupplierView-TYCkPXan.js → SupplierView-CuWvKCWY.js} +3 -3
  16. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-EN3JgHKF.js → TransferDetails.vue_vue_type_script_setup_true_lang-CTQ9HIqf.js} +4 -4
  17. package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-DC0Ss5hi.js → TransferDialog.vue_vue_type_script_setup_true_lang--6JoXOLD.js} +5 -5
  18. package/dist/{TransferTemplateView-Bbvpuys7.js → TransferTemplateView-D1Lfi3aW.js} +9 -9
  19. package/dist/{UnitView-B9yE4-rc.js → UnitView-B95q8Xrj.js} +4 -4
  20. package/dist/{WarehouseView-DUtVLTjb.js → WarehouseView-CHGXvyeS.js} +2 -2
  21. package/dist/{app-w8TOQVZc.js → app-CfXF4jdF.js} +5005 -5134
  22. package/dist/app.js +1 -1
  23. package/dist/{decimal-C4q7UMfr.js → decimal-BZ7tX47r.js} +1 -1
  24. package/dist/{defineDeepModel-BOApqV24.js → defineDeepModel-BKAs9qN6.js} +1 -1
  25. package/dist/{format-time-from-id-Cafjo8fn.js → format-time-from-id-B7ZE4sdX.js} +1 -1
  26. package/dist/{id-to-date-CtSHSVJF.js → id-to-date-D1lOqIir.js} +1 -1
  27. package/dist/{purchase-order-transaction-type-CIC5h-6x.js → purchase-order-transaction-type-tZ7cj1dz.js} +208 -218
  28. package/dist/stores/inventory.d.ts +7 -0
  29. package/dist/stores/route.d.ts +0 -5
  30. package/dist/{supplier-CM-vZ4bQ.js → supplier-BIDBk5S6.js} +1 -1
  31. package/dist/tsconfig.app.tsbuildinfo +1 -1
  32. package/dist/{use-template-enabled-locations-Bm00vEzC.js → use-template-enabled-locations-DlMnS9WJ.js} +1 -1
  33. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +228 -0
  34. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +228 -0
  35. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +247 -0
  36. package/dist/{xlsx-BggStaH1.js → xlsx-BtP1Qjj6.js} +1 -1
  37. package/dist/{xlsx.util-CqlYZLKW.js → xlsx.util-BKFiH-ig.js} +2 -2
  38. package/package.json +1 -1
  39. package/dist/layout/InventoryLayout.vue.d.ts +0 -2
  40. package/dist/layout/layout-routes.d.ts +0 -6
@@ -4,6 +4,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
4
4
  columnDefs: ColumnDef<{
5
5
  ref?: string | null | undefined;
6
6
  _rev?: string | null | undefined;
7
+ updatedAt?: Date | null | undefined;
7
8
  locations?: ({
8
9
  doc?: any;
9
10
  type: "restaurant";
@@ -105,6 +106,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
105
106
  };
106
107
  };
107
108
  })[] | null | undefined;
109
+ updatedBy?: {
110
+ email?: string | null | undefined;
111
+ phoneNumber?: string | null | undefined;
112
+ birthday?: string | null | undefined;
113
+ gender?: "MALE" | "FEMALE" | null | undefined;
114
+ addresses?: {
115
+ name: string;
116
+ address: string;
117
+ coordinates: number[];
118
+ }[] | null | undefined;
119
+ photoURL?: string | null | undefined;
120
+ displayName?: string | null | undefined;
121
+ imported?: {
122
+ raw: Record<string, any>;
123
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
124
+ } | null | undefined;
125
+ _id: string;
126
+ } | null | undefined;
108
127
  _id: string;
109
128
  items: {
110
129
  disabledMeasurements?: string[] | null | undefined;
@@ -198,6 +217,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
198
217
  templates: import("vue").Ref<{
199
218
  ref?: string | null | undefined;
200
219
  _rev?: string | null | undefined;
220
+ updatedAt?: Date | null | undefined;
201
221
  locations?: ({
202
222
  doc?: any;
203
223
  type: "restaurant";
@@ -299,6 +319,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
299
319
  };
300
320
  };
301
321
  })[] | null | undefined;
322
+ updatedBy?: {
323
+ email?: string | null | undefined;
324
+ phoneNumber?: string | null | undefined;
325
+ birthday?: string | null | undefined;
326
+ gender?: "MALE" | "FEMALE" | null | undefined;
327
+ addresses?: {
328
+ name: string;
329
+ address: string;
330
+ coordinates: number[];
331
+ }[] | null | undefined;
332
+ photoURL?: string | null | undefined;
333
+ displayName?: string | null | undefined;
334
+ imported?: {
335
+ raw: Record<string, any>;
336
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
337
+ } | null | undefined;
338
+ _id: string;
339
+ } | null | undefined;
302
340
  _id: string;
303
341
  items: {
304
342
  disabledMeasurements?: string[] | null | undefined;
@@ -370,6 +408,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
370
408
  }[], {
371
409
  ref?: string | null | undefined;
372
410
  _rev?: string | null | undefined;
411
+ updatedAt?: Date | null | undefined;
373
412
  locations?: ({
374
413
  doc?: any;
375
414
  type: "restaurant";
@@ -471,6 +510,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
471
510
  };
472
511
  };
473
512
  })[] | null | undefined;
513
+ updatedBy?: {
514
+ email?: string | null | undefined;
515
+ phoneNumber?: string | null | undefined;
516
+ birthday?: string | null | undefined;
517
+ gender?: "MALE" | "FEMALE" | null | undefined;
518
+ addresses?: {
519
+ name: string;
520
+ address: string;
521
+ coordinates: number[];
522
+ }[] | null | undefined;
523
+ photoURL?: string | null | undefined;
524
+ displayName?: string | null | undefined;
525
+ imported?: {
526
+ raw: Record<string, any>;
527
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
528
+ } | null | undefined;
529
+ _id: string;
530
+ } | null | undefined;
474
531
  _id: string;
475
532
  items: {
476
533
  disabledMeasurements?: string[] | null | undefined;
@@ -542,6 +599,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
542
599
  }[] | {
543
600
  ref?: string | null | undefined;
544
601
  _rev?: string | null | undefined;
602
+ updatedAt?: Date | null | undefined;
545
603
  locations?: ({
546
604
  doc?: any;
547
605
  type: "restaurant";
@@ -643,6 +701,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
643
701
  };
644
702
  };
645
703
  })[] | null | undefined;
704
+ updatedBy?: {
705
+ email?: string | null | undefined;
706
+ phoneNumber?: string | null | undefined;
707
+ birthday?: string | null | undefined;
708
+ gender?: "MALE" | "FEMALE" | null | undefined;
709
+ addresses?: {
710
+ name: string;
711
+ address: string;
712
+ coordinates: number[];
713
+ }[] | null | undefined;
714
+ photoURL?: string | null | undefined;
715
+ displayName?: string | null | undefined;
716
+ imported?: {
717
+ raw: Record<string, any>;
718
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
719
+ } | null | undefined;
720
+ _id: string;
721
+ } | null | undefined;
646
722
  _id: string;
647
723
  items: {
648
724
  disabledMeasurements?: string[] | null | undefined;
@@ -719,6 +795,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
719
795
  columnDefs: ColumnDef<{
720
796
  ref?: string | null | undefined;
721
797
  _rev?: string | null | undefined;
798
+ updatedAt?: Date | null | undefined;
722
799
  locations?: ({
723
800
  doc?: any;
724
801
  type: "restaurant";
@@ -820,6 +897,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
820
897
  };
821
898
  };
822
899
  })[] | null | undefined;
900
+ updatedBy?: {
901
+ email?: string | null | undefined;
902
+ phoneNumber?: string | null | undefined;
903
+ birthday?: string | null | undefined;
904
+ gender?: "MALE" | "FEMALE" | null | undefined;
905
+ addresses?: {
906
+ name: string;
907
+ address: string;
908
+ coordinates: number[];
909
+ }[] | null | undefined;
910
+ photoURL?: string | null | undefined;
911
+ displayName?: string | null | undefined;
912
+ imported?: {
913
+ raw: Record<string, any>;
914
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
915
+ } | null | undefined;
916
+ _id: string;
917
+ } | null | undefined;
823
918
  _id: string;
824
919
  items: {
825
920
  disabledMeasurements?: string[] | null | undefined;
@@ -913,6 +1008,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
913
1008
  templates: import("vue").Ref<{
914
1009
  ref?: string | null | undefined;
915
1010
  _rev?: string | null | undefined;
1011
+ updatedAt?: Date | null | undefined;
916
1012
  locations?: ({
917
1013
  doc?: any;
918
1014
  type: "restaurant";
@@ -1014,6 +1110,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1014
1110
  };
1015
1111
  };
1016
1112
  })[] | null | undefined;
1113
+ updatedBy?: {
1114
+ email?: string | null | undefined;
1115
+ phoneNumber?: string | null | undefined;
1116
+ birthday?: string | null | undefined;
1117
+ gender?: "MALE" | "FEMALE" | null | undefined;
1118
+ addresses?: {
1119
+ name: string;
1120
+ address: string;
1121
+ coordinates: number[];
1122
+ }[] | null | undefined;
1123
+ photoURL?: string | null | undefined;
1124
+ displayName?: string | null | undefined;
1125
+ imported?: {
1126
+ raw: Record<string, any>;
1127
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1128
+ } | null | undefined;
1129
+ _id: string;
1130
+ } | null | undefined;
1017
1131
  _id: string;
1018
1132
  items: {
1019
1133
  disabledMeasurements?: string[] | null | undefined;
@@ -1085,6 +1199,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1085
1199
  }[], {
1086
1200
  ref?: string | null | undefined;
1087
1201
  _rev?: string | null | undefined;
1202
+ updatedAt?: Date | null | undefined;
1088
1203
  locations?: ({
1089
1204
  doc?: any;
1090
1205
  type: "restaurant";
@@ -1186,6 +1301,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1186
1301
  };
1187
1302
  };
1188
1303
  })[] | null | undefined;
1304
+ updatedBy?: {
1305
+ email?: string | null | undefined;
1306
+ phoneNumber?: string | null | undefined;
1307
+ birthday?: string | null | undefined;
1308
+ gender?: "MALE" | "FEMALE" | null | undefined;
1309
+ addresses?: {
1310
+ name: string;
1311
+ address: string;
1312
+ coordinates: number[];
1313
+ }[] | null | undefined;
1314
+ photoURL?: string | null | undefined;
1315
+ displayName?: string | null | undefined;
1316
+ imported?: {
1317
+ raw: Record<string, any>;
1318
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1319
+ } | null | undefined;
1320
+ _id: string;
1321
+ } | null | undefined;
1189
1322
  _id: string;
1190
1323
  items: {
1191
1324
  disabledMeasurements?: string[] | null | undefined;
@@ -1257,6 +1390,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1257
1390
  }[] | {
1258
1391
  ref?: string | null | undefined;
1259
1392
  _rev?: string | null | undefined;
1393
+ updatedAt?: Date | null | undefined;
1260
1394
  locations?: ({
1261
1395
  doc?: any;
1262
1396
  type: "restaurant";
@@ -1358,6 +1492,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1358
1492
  };
1359
1493
  };
1360
1494
  })[] | null | undefined;
1495
+ updatedBy?: {
1496
+ email?: string | null | undefined;
1497
+ phoneNumber?: string | null | undefined;
1498
+ birthday?: string | null | undefined;
1499
+ gender?: "MALE" | "FEMALE" | null | undefined;
1500
+ addresses?: {
1501
+ name: string;
1502
+ address: string;
1503
+ coordinates: number[];
1504
+ }[] | null | undefined;
1505
+ photoURL?: string | null | undefined;
1506
+ displayName?: string | null | undefined;
1507
+ imported?: {
1508
+ raw: Record<string, any>;
1509
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1510
+ } | null | undefined;
1511
+ _id: string;
1512
+ } | null | undefined;
1361
1513
  _id: string;
1362
1514
  items: {
1363
1515
  disabledMeasurements?: string[] | null | undefined;
@@ -1434,6 +1586,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1434
1586
  columnDefs: ColumnDef<{
1435
1587
  ref?: string | null | undefined;
1436
1588
  _rev?: string | null | undefined;
1589
+ updatedAt?: Date | null | undefined;
1437
1590
  locations?: ({
1438
1591
  doc?: any;
1439
1592
  type: "restaurant";
@@ -1535,6 +1688,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1535
1688
  };
1536
1689
  };
1537
1690
  })[] | null | undefined;
1691
+ updatedBy?: {
1692
+ email?: string | null | undefined;
1693
+ phoneNumber?: string | null | undefined;
1694
+ birthday?: string | null | undefined;
1695
+ gender?: "MALE" | "FEMALE" | null | undefined;
1696
+ addresses?: {
1697
+ name: string;
1698
+ address: string;
1699
+ coordinates: number[];
1700
+ }[] | null | undefined;
1701
+ photoURL?: string | null | undefined;
1702
+ displayName?: string | null | undefined;
1703
+ imported?: {
1704
+ raw: Record<string, any>;
1705
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1706
+ } | null | undefined;
1707
+ _id: string;
1708
+ } | null | undefined;
1538
1709
  _id: string;
1539
1710
  items: {
1540
1711
  disabledMeasurements?: string[] | null | undefined;
@@ -1628,6 +1799,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1628
1799
  templates: import("vue").Ref<{
1629
1800
  ref?: string | null | undefined;
1630
1801
  _rev?: string | null | undefined;
1802
+ updatedAt?: Date | null | undefined;
1631
1803
  locations?: ({
1632
1804
  doc?: any;
1633
1805
  type: "restaurant";
@@ -1729,6 +1901,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1729
1901
  };
1730
1902
  };
1731
1903
  })[] | null | undefined;
1904
+ updatedBy?: {
1905
+ email?: string | null | undefined;
1906
+ phoneNumber?: string | null | undefined;
1907
+ birthday?: string | null | undefined;
1908
+ gender?: "MALE" | "FEMALE" | null | undefined;
1909
+ addresses?: {
1910
+ name: string;
1911
+ address: string;
1912
+ coordinates: number[];
1913
+ }[] | null | undefined;
1914
+ photoURL?: string | null | undefined;
1915
+ displayName?: string | null | undefined;
1916
+ imported?: {
1917
+ raw: Record<string, any>;
1918
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1919
+ } | null | undefined;
1920
+ _id: string;
1921
+ } | null | undefined;
1732
1922
  _id: string;
1733
1923
  items: {
1734
1924
  disabledMeasurements?: string[] | null | undefined;
@@ -1800,6 +1990,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1800
1990
  }[], {
1801
1991
  ref?: string | null | undefined;
1802
1992
  _rev?: string | null | undefined;
1993
+ updatedAt?: Date | null | undefined;
1803
1994
  locations?: ({
1804
1995
  doc?: any;
1805
1996
  type: "restaurant";
@@ -1901,6 +2092,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1901
2092
  };
1902
2093
  };
1903
2094
  })[] | null | undefined;
2095
+ updatedBy?: {
2096
+ email?: string | null | undefined;
2097
+ phoneNumber?: string | null | undefined;
2098
+ birthday?: string | null | undefined;
2099
+ gender?: "MALE" | "FEMALE" | null | undefined;
2100
+ addresses?: {
2101
+ name: string;
2102
+ address: string;
2103
+ coordinates: number[];
2104
+ }[] | null | undefined;
2105
+ photoURL?: string | null | undefined;
2106
+ displayName?: string | null | undefined;
2107
+ imported?: {
2108
+ raw: Record<string, any>;
2109
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2110
+ } | null | undefined;
2111
+ _id: string;
2112
+ } | null | undefined;
1904
2113
  _id: string;
1905
2114
  items: {
1906
2115
  disabledMeasurements?: string[] | null | undefined;
@@ -1972,6 +2181,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1972
2181
  }[] | {
1973
2182
  ref?: string | null | undefined;
1974
2183
  _rev?: string | null | undefined;
2184
+ updatedAt?: Date | null | undefined;
1975
2185
  locations?: ({
1976
2186
  doc?: any;
1977
2187
  type: "restaurant";
@@ -2073,6 +2283,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2073
2283
  };
2074
2284
  };
2075
2285
  })[] | null | undefined;
2286
+ updatedBy?: {
2287
+ email?: string | null | undefined;
2288
+ phoneNumber?: string | null | undefined;
2289
+ birthday?: string | null | undefined;
2290
+ gender?: "MALE" | "FEMALE" | null | undefined;
2291
+ addresses?: {
2292
+ name: string;
2293
+ address: string;
2294
+ coordinates: number[];
2295
+ }[] | null | undefined;
2296
+ photoURL?: string | null | undefined;
2297
+ displayName?: string | null | undefined;
2298
+ imported?: {
2299
+ raw: Record<string, any>;
2300
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2301
+ } | null | undefined;
2302
+ _id: string;
2303
+ } | null | undefined;
2076
2304
  _id: string;
2077
2305
  items: {
2078
2306
  disabledMeasurements?: string[] | null | undefined;
@@ -0,0 +1,247 @@
1
+ export declare function removeDeletedSkus(template: FdoPurchaseOrderTemplate): {
2
+ _rev?: string | null | undefined;
3
+ locations?: ({
4
+ doc?: any;
5
+ type: "restaurant";
6
+ name: string;
7
+ acceptRequest: boolean;
8
+ dbName: string;
9
+ } | {
10
+ type: "warehouse";
11
+ name: string;
12
+ acceptRequest: boolean;
13
+ dbName: string;
14
+ doc: {
15
+ pf_business?: {
16
+ internal?: boolean | null | undefined;
17
+ url?: string | null | undefined;
18
+ expiredAt?: string | null | undefined;
19
+ agentId?: string | null | undefined;
20
+ restaurantTagGroups?: {
21
+ name: string;
22
+ id: string;
23
+ tags: {
24
+ name: string;
25
+ id: string;
26
+ }[];
27
+ }[] | null | undefined;
28
+ pf_agent?: {
29
+ clickupId?: string | null | undefined;
30
+ members?: {
31
+ pf_user?: {
32
+ email?: string | null | undefined;
33
+ phoneNumber?: string | null | undefined;
34
+ birthday?: string | null | undefined;
35
+ gender?: "MALE" | "FEMALE" | null | undefined;
36
+ addresses?: {
37
+ name: string;
38
+ address: string;
39
+ coordinates: number[];
40
+ }[] | null | undefined;
41
+ photoURL?: string | null | undefined;
42
+ displayName?: string | null | undefined;
43
+ imported?: {
44
+ raw: Record<string, any>;
45
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
46
+ } | null | undefined;
47
+ _id: string;
48
+ } | null | undefined;
49
+ role: "ADMIN";
50
+ userId: string;
51
+ }[] | null | undefined;
52
+ code: string;
53
+ name: string;
54
+ _id: string;
55
+ isReseller: boolean;
56
+ } | null | undefined;
57
+ thumbnail?: string | null | undefined;
58
+ billingInfos?: {
59
+ _id?: string | null | undefined;
60
+ name: string;
61
+ address: {
62
+ coordinates?: number[] | null | undefined;
63
+ line2?: string | null | undefined;
64
+ state: string;
65
+ country: string;
66
+ line1: string;
67
+ city: string;
68
+ postcode: string;
69
+ };
70
+ email: string;
71
+ companyName: string;
72
+ contact: string;
73
+ }[] | null | undefined;
74
+ customerDisplayImages?: {
75
+ url: string;
76
+ restaurantIds: string[];
77
+ }[] | null | undefined;
78
+ name: string;
79
+ _id: string;
80
+ ownerId: string;
81
+ restaurantQuota: number;
82
+ warehouseQuota: number;
83
+ menuVersion: string;
84
+ } | null | undefined;
85
+ _id: string;
86
+ businessId: string;
87
+ profile: {
88
+ email?: string | null | undefined;
89
+ phoneNo?: string | null | undefined;
90
+ name: string;
91
+ address: {
92
+ coordinates?: number[] | null | undefined;
93
+ line2?: string | null | undefined;
94
+ state: string;
95
+ country: string;
96
+ line1: string;
97
+ city: string;
98
+ postcode: string;
99
+ };
100
+ regNo: string;
101
+ };
102
+ };
103
+ })[] | null | undefined;
104
+ _id: string;
105
+ name: string;
106
+ purchaseOrder: {
107
+ remark?: string | null | undefined;
108
+ ref?: string | null | undefined;
109
+ supplier?: {
110
+ phoneNumber?: string | null | undefined;
111
+ email?: string | null | undefined;
112
+ _rev?: string | null | undefined;
113
+ internal?: "restaurant" | "warehouse" | null | undefined;
114
+ contactName?: string | null | undefined;
115
+ registrationNumber?: string | undefined;
116
+ supplyItems?: {
117
+ defaultCost: {
118
+ measurement?: {
119
+ id: string;
120
+ name: string;
121
+ abbrev: string;
122
+ conversion: {
123
+ amount: number;
124
+ precision: number;
125
+ };
126
+ } | null | undefined;
127
+ costPerUnit: {
128
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
129
+ amount: number;
130
+ precision: number;
131
+ };
132
+ };
133
+ skuId: string;
134
+ }[] | null | undefined;
135
+ _id: string;
136
+ name: string;
137
+ address: {
138
+ line2?: string | null | undefined;
139
+ line1: string;
140
+ state: string;
141
+ city: string;
142
+ postcode: string;
143
+ country: string;
144
+ };
145
+ } | undefined;
146
+ template?: string | null | undefined;
147
+ stockSnapshotId?: string | null | undefined;
148
+ effectiveAt?: string | null | undefined;
149
+ items: {
150
+ measurement?: {
151
+ id: string;
152
+ name: string;
153
+ abbrev: string;
154
+ conversion: {
155
+ amount: number;
156
+ precision: number;
157
+ };
158
+ } | null | undefined;
159
+ totalCost?: {
160
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
161
+ amount: number;
162
+ precision: number;
163
+ } | null | undefined;
164
+ sku: {
165
+ trackingMeasurement?: string | null | undefined;
166
+ convert?: {
167
+ measurement?: string | null | undefined;
168
+ inventoryBindings?: {
169
+ measurement?: {
170
+ id: string;
171
+ name: string;
172
+ abbrev: string;
173
+ conversion: {
174
+ amount: number;
175
+ precision: number;
176
+ };
177
+ } | null | undefined;
178
+ type: "RECIPE" | "SKU";
179
+ amount: {
180
+ amount: number;
181
+ precision: number;
182
+ };
183
+ id: string;
184
+ }[] | null | undefined;
185
+ } | null | undefined;
186
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
187
+ defaultCost?: {
188
+ measurement?: {
189
+ id: string;
190
+ name: string;
191
+ abbrev: string;
192
+ conversion: {
193
+ amount: number;
194
+ precision: number;
195
+ };
196
+ } | null | undefined;
197
+ costPerUnit: {
198
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
199
+ amount: number;
200
+ precision: number;
201
+ };
202
+ } | null | undefined;
203
+ thresholds?: {
204
+ low: number;
205
+ mid: number;
206
+ } | null | undefined;
207
+ operationalGroup?: string | null | undefined;
208
+ unit: {
209
+ _id: string;
210
+ name: string;
211
+ abbrev: string;
212
+ precision: number;
213
+ measurements: {
214
+ id: string;
215
+ name: string;
216
+ abbrev: string;
217
+ conversion: {
218
+ amount: number;
219
+ precision: number;
220
+ };
221
+ }[];
222
+ };
223
+ code: string;
224
+ _id: string;
225
+ name: string;
226
+ };
227
+ code: string;
228
+ name: string;
229
+ quantity: {
230
+ amount: number;
231
+ precision: number;
232
+ };
233
+ quantityStep: {
234
+ amount: number;
235
+ precision: number;
236
+ };
237
+ minimumQuantity: {
238
+ amount: number;
239
+ precision: number;
240
+ };
241
+ maximumQuantity: {
242
+ amount: number;
243
+ precision: number;
244
+ };
245
+ }[];
246
+ };
247
+ };