@feedmepos/mf-inventory-portal 0.0.22-dev.1 → 0.0.22-dev.10

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 (76) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/{ApprovalView-CtH8I01g.js → ApprovalView-FwJEAzkU.js} +19 -19
  3. package/dist/{BindingsDialog-DFrk_fyd.js → BindingsDialog-DFLnNDpl.js} +1 -1
  4. package/dist/{BindingsPicker-400gISaV.js → BindingsPicker-Dsd2wQUR.js} +19 -19
  5. package/dist/{BindingsTable-CnFKI6iP.js → BindingsTable-CTvUEEjT.js} +1 -1
  6. package/dist/ClosingTemplateView-CPbDZmei.js +1066 -0
  7. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B9RU_arW.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-MW-Ni07p.js} +13 -15
  8. package/dist/{IngredientsView-CRTAgKJz.js → IngredientsView-C07TvvCQ.js} +5 -6
  9. package/dist/{IntegrationView-CNFTKqjk.js → IntegrationView-BAnrTgio.js} +2 -2
  10. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-VkiVLx1K.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-YAjDfJ_v.js} +1 -1
  11. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DkZrgqyr.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CvzA5XrI.js} +1 -1
  12. package/dist/{PurchaseOrderPrintPreview-CJli-_Vn.js → PurchaseOrderPrintPreview-FiOxyAL2.js} +1 -1
  13. package/dist/{ReceiveRequestView-DV_GDzJG.js → ReceiveRequestView-BTZ_99LY.js} +15 -16
  14. package/dist/{RecipeView-CTm_7oNG.js → RecipeView-BTRlXuIp.js} +3 -3
  15. package/dist/{StockView-DtHT2ulM.js → StockView-B50nZjP-.js} +8 -9
  16. package/dist/{SupplierView-B9A5R2Vm.js → SupplierView-CYEdoZ7g.js} +37 -37
  17. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CMMMgbwA.js +762 -0
  18. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-BKmp6Emq.js +1505 -0
  19. package/dist/TransferTemplateView-DJYoQWDE.js +1277 -0
  20. package/dist/{UnitView-BL-jtVuZ.js → UnitView-Cg9lop9G.js} +4 -4
  21. package/dist/WarehouseView-DQKq_W8l.js +1017 -0
  22. package/dist/api/closing-template.d.ts +14 -0
  23. package/dist/api/inventory.d.ts +5 -7
  24. package/dist/api/netsuite.d.ts +46 -0
  25. package/dist/api/purchase-order-template.d.ts +0 -4
  26. package/dist/{app-C-z1MfF6.js → app-CRbOk4dN.js} +15759 -15399
  27. package/dist/app.d.ts +6 -0
  28. package/dist/app.js +2 -2
  29. package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
  30. package/dist/components/VirtualScroll.vue.d.ts +47 -0
  31. package/dist/{decimal-DZz-_lgE.js → decimal-BrFW4i9P.js} +1 -1
  32. package/dist/{defineDeepModel-7VQajdPt.js → defineDeepModel-Dihj57Tu.js} +4 -4
  33. package/dist/extensions/promises.d.ts +14 -0
  34. package/dist/{format-time-from-id-9XFszs1J.js → format-time-from-id-CAMmsTAi.js} +1 -1
  35. package/dist/helper/date2.d.ts +1 -0
  36. package/dist/{id-to-date-Bkue77uI.js → id-to-date-CLOPCZAL.js} +1 -1
  37. package/dist/purchase-order-transaction-type-C6B_s24N.js +676 -0
  38. package/dist/stores/api.d.ts +1 -0
  39. package/dist/stores/feature.d.ts +0 -1
  40. package/dist/stores/helper/core-store-proxy.d.ts +3 -0
  41. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  42. package/dist/stores/inventory.d.ts +7 -0
  43. package/dist/stores/location.d.ts +24 -42
  44. package/dist/stores/netsuite.d.ts +56 -0
  45. package/dist/stores/route.d.ts +0 -5
  46. package/dist/stores/warehouse.d.ts +4 -7
  47. package/dist/style.css +1 -1
  48. package/dist/{supplier-C6YWXF2Y.js → supplier-CQ57ob8j.js} +1 -1
  49. package/dist/tsconfig.app.tsbuildinfo +1 -1
  50. package/dist/use-template-enabled-locations-2-D5I1uMwS.js +85 -0
  51. package/dist/views/closing-template/components/closing-template-publish/ClosingTemplatePublish.vue.d.ts +6 -0
  52. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +276 -84
  53. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +341 -85
  54. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +14 -0
  55. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +42 -0
  56. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -0
  57. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  58. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -7
  59. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
  60. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +132 -84
  61. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +44 -1014
  62. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +251 -0
  63. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
  64. package/dist/{xlsx-Dl6dAHFx.js → xlsx-WWSZpgZu.js} +1 -1
  65. package/dist/{xlsx.util-C1tUhDb8.js → xlsx.util-DjCdSP8D.js} +2 -2
  66. package/package.json +5 -5
  67. package/dist/ClosingTemplateView--8m8cua_.js +0 -919
  68. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-mUNCQTNw.js +0 -740
  69. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-BwkUuXqj.js +0 -1428
  70. package/dist/TransferTemplateView-DnyenkGu.js +0 -1349
  71. package/dist/WarehouseView-BkUv1792.js +0 -1056
  72. package/dist/array-ClJzD_Lt.js +0 -30
  73. package/dist/layout/InventoryLayout.vue.d.ts +0 -2
  74. package/dist/layout/layout-routes.d.ts +0 -6
  75. package/dist/purchase-order-transaction-type-DHzMBgFs.js +0 -712
  76. package/dist/use-template-enabled-locations-CFCfbaOd.js +0 -57
@@ -1,4 +1,18 @@
1
+ export interface RecentPublish {
2
+ recentJob?: PublishingJob | null;
3
+ publishedRevs?: FdoClosingTemplatePublish['publishedRev'] | null;
4
+ }
5
+ export interface PublishingJob {
6
+ id: string;
7
+ businessId: string;
8
+ outlets: string[];
9
+ completed: string[];
10
+ createdAt: string;
11
+ updatedAt: string;
12
+ }
1
13
  export declare const useClosingTemplateApi: () => {
14
+ getRecentPublishingJob(): Promise<RecentPublish>;
15
+ startNewPublish(): Promise<PublishingJob>;
2
16
  getTemplate(id: string): Promise<FdoClosingTemplate>;
3
17
  readTemplates(): Promise<FdoClosingTemplate[]>;
4
18
  createTemplate(template: Omit<FdoClosingTemplate, '_id'>): Promise<FdoClosingTemplate>;
@@ -17,13 +17,10 @@ export declare const useInventoryApi: () => {
17
17
  url?: string | null | undefined;
18
18
  expiredAt?: string | null | undefined;
19
19
  agentId?: string | null | undefined;
20
- restaurantTagGroups?: {
21
- name: string;
22
- id: string;
23
- tags: {
24
- name: string;
25
- id: string;
26
- }[];
20
+ attributeSettings?: {
21
+ type: "string" | "number" | "boolean" | "date";
22
+ key: string;
23
+ entity: "restaurant" | "item";
27
24
  }[] | null | undefined;
28
25
  pf_agent?: {
29
26
  clickupId?: string | null | undefined;
@@ -412,6 +409,7 @@ export declare const useInventoryApi: () => {
412
409
  }>>;
413
410
  urls: {
414
411
  portalBackendUrl: string;
412
+ netSuiteBackendUrl: string;
415
413
  businessesBackendUrl: string;
416
414
  inventoryBackendUrl: string;
417
415
  foodMarketHubUrl: string;
@@ -0,0 +1,46 @@
1
+ export declare const useNetSuiteApi: () => {
2
+ readSetting(): Promise<{
3
+ accessToken?: string | null | undefined;
4
+ syncedAt?: string | null | undefined;
5
+ _id: string;
6
+ items: {
7
+ id: string;
8
+ netSuiteId: string;
9
+ unitTypeId: string;
10
+ unitOfMeasureId: string;
11
+ subsidiaryIds: string[];
12
+ }[];
13
+ enable: boolean;
14
+ locations: {
15
+ type: "restaurant" | "warehouse";
16
+ id: string;
17
+ name: string;
18
+ netSuiteId: string;
19
+ }[];
20
+ units: {
21
+ id: string;
22
+ measurements: {
23
+ id: string;
24
+ netSuiteId: string;
25
+ }[];
26
+ netSuiteId: string;
27
+ }[];
28
+ subsidiaries: {
29
+ parentId?: string | undefined;
30
+ id: string;
31
+ name: string;
32
+ country: string;
33
+ currency: string;
34
+ }[];
35
+ realm: string;
36
+ }>;
37
+ urls: {
38
+ portalBackendUrl: string;
39
+ netSuiteBackendUrl: string;
40
+ businessesBackendUrl: string;
41
+ inventoryBackendUrl: string;
42
+ foodMarketHubUrl: string;
43
+ menuV4BackendUrl: string;
44
+ dataBackendUrl: string;
45
+ };
46
+ };
@@ -1,10 +1,6 @@
1
1
  export declare const usePurchaseOrderTemplateApi: () => {
2
2
  getTemplate(id: string): Promise<FdoPurchaseOrderTemplate>;
3
- getLocationTemplate(id: string): Promise<FdoPurchaseOrderTemplate>;
4
- getBusinessTemplate(id: string): Promise<FdoPurchaseOrderTemplate>;
5
3
  readTemplates(): Promise<FdoPurchaseOrderTemplate[]>;
6
- readLocationTemplates(): Promise<FdoPurchaseOrderTemplate[]>;
7
- readBusinessTemplates(): Promise<FdoPurchaseOrderTemplate[]>;
8
4
  createTemplate(template: Omit<FdoPurchaseOrderTemplate, '_id'>): Promise<FdoPurchaseOrderTemplate>;
9
5
  updateTemplate(template: FdoPurchaseOrderTemplate): Promise<FdoPurchaseOrderTemplate>;
10
6
  deleteTemplate(template: FdoPurchaseOrderTemplate): Promise<any>;