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

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 (163) hide show
  1. package/dist/App-Y3Ez8Rjf.js +255 -0
  2. package/dist/ApprovalView-BUU1G4Q2.js +141 -0
  3. package/dist/{BindingsDialog-GzX9Bo2g.js → BindingsDialog-8wc4Q0JQ.js} +13 -12
  4. package/dist/{BindingsPicker-SbOetc0-.js → BindingsPicker-DGWN1LQc.js} +19 -18
  5. package/dist/{BindingsTable-CAcE5y8U.js → BindingsTable-7NJP2jT6.js} +20 -16
  6. package/dist/ClosingTemplateView-9s7vmwaT.js +1833 -0
  7. package/dist/FmDroppableField-8RzKjEdL.js +154 -0
  8. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B4DDh9-a.js +267 -0
  9. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-5DINn0ZB.js +436 -0
  10. package/dist/FmMultiselectDialog-7hok9sJP.js +411 -0
  11. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-CxR1FCft.js +326 -0
  12. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-FQ0HjuL3.js +51 -0
  13. package/dist/IngredientGroupView-C3maHTCg.js +610 -0
  14. package/dist/IngredientsView-DCR3IBkR.js +1613 -0
  15. package/dist/IntegrationView-gO4h89Wj.js +1227 -0
  16. package/dist/InventoryBindingForm-dh3GeyG-.js +4 -0
  17. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CJuo3i7W.js +278 -0
  18. package/dist/InventoryBindingSummary-BPoPcEoe.js +75 -0
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-1FCwvO8A.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-olm8sZKt.js} +1 -1
  20. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BezTV43V.js +116 -0
  21. package/dist/{PurchaseOrderPrintPreview-5HIWHR_f.js → PurchaseOrderPrintPreview-Dix_fIoo.js} +14 -13
  22. package/dist/ReceiveRequestView-DdPiYb2P.js +4082 -0
  23. package/dist/RecipeView-C4-a4IEW.js +597 -0
  24. package/dist/Standalone.vue.d.ts +2 -0
  25. package/dist/StockView-Du2txrIP.js +7778 -0
  26. package/dist/SupplierView-D_09FbQh.js +1474 -0
  27. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9MOos--.js +1144 -0
  28. package/dist/TransferTemplateView-j3CRy6Lc.js +1262 -0
  29. package/dist/{UnitView-BpU0Yk7X.js → UnitView-BXw2Vwq1.js} +30 -29
  30. package/dist/{WarehouseView-DqxWgogc.js → WarehouseView-CKamiETC.js} +205 -202
  31. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  32. package/dist/api/bill.d.ts +86 -240
  33. package/dist/api/closing-template.d.ts +6 -4
  34. package/dist/api/inventory.d.ts +281 -88
  35. package/dist/api/netsuite.d.ts +32 -1
  36. package/dist/api/purchase-order-template.d.ts +4 -2
  37. package/dist/api/supplier.d.ts +1 -0
  38. package/dist/app-GUbzqEtW.js +33456 -0
  39. package/dist/app.d.ts +259 -6
  40. package/dist/app.js +8 -7
  41. package/dist/array-hChJVZLE.js +43 -0
  42. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  43. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  44. package/dist/components/FmMultiselectDialog.vue.d.ts +3 -9
  45. package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
  46. package/dist/components/FmUnitInputRules.d.ts +2 -0
  47. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
  48. package/dist/components/map/GoogleMap.vue.d.ts +4 -4
  49. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  50. package/dist/components/shell/inventory/binding-ui.vue.d.ts +2 -2
  51. package/dist/date2-CLE9fB2R.js +117 -0
  52. package/dist/dayjs.min-CY1d38w7.js +282 -0
  53. package/dist/{decimal-DWbwRn_v.js → decimal-SIjO6Mjw.js} +1 -1
  54. package/dist/defineDeepModel-l40rX7kr.js +13 -0
  55. package/dist/extensions/array.d.ts +1 -0
  56. package/dist/feature-BXruKUhX.js +78 -0
  57. package/dist/{format-time-from-id-BnmaRuab.js → format-time-from-id-CcFsBXmk.js} +1 -1
  58. package/dist/format-unit-display-DEKg8cJm.js +1198 -0
  59. package/dist/fuzzy-CVOV9zJc.js +41 -0
  60. package/dist/googlemap-Dm8ERVai.js +97 -0
  61. package/dist/helper/rules.d.ts +7 -0
  62. package/dist/helper/rules.spec.d.ts +1 -0
  63. package/dist/helper/xlsx.util.d.ts +7 -0
  64. package/dist/index-BX5KZXhI.js +22279 -0
  65. package/dist/index-CVsyOEb1.js +10545 -0
  66. package/dist/index-m9e9nYfl.js +45 -0
  67. package/dist/netsuite-DAKRv7zr.js +146 -0
  68. package/dist/normalizeArguments-DP7Hrren.js +1552 -0
  69. package/dist/router/name.d.ts +1 -0
  70. package/dist/rules-DlnN8IP3.js +198 -0
  71. package/dist/stores/integration/foodmarkethub.d.ts +391 -0
  72. package/dist/stores/integration/index.d.ts +7 -0
  73. package/dist/stores/integration/netsuite.d.ts +102 -0
  74. package/dist/stores/inventory.d.ts +295 -9
  75. package/dist/stores/location.d.ts +508 -485
  76. package/dist/stores/supplier.d.ts +124 -4
  77. package/dist/stores/warehouse.d.ts +7 -4
  78. package/dist/style.css +1 -1
  79. package/dist/supplier-B21WlSAM.js +77 -0
  80. package/dist/tsconfig.app.tsbuildinfo +1 -1
  81. package/dist/use-inventory-binding-dialog-D3x6xj2O.js +95 -0
  82. package/dist/{use-template-enabled-locations-2-ClBq9FjN.js → use-template-enabled-locations-2-z-b-UXef.js} +9 -8
  83. package/dist/useTabStorage-BkIVScW_.js +25 -0
  84. package/dist/views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts +2 -0
  85. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
  86. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
  87. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  88. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +877 -1002
  89. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +882 -1013
  90. package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
  91. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
  92. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
  93. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
  94. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
  95. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
  96. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
  97. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
  98. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  99. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  100. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
  101. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
  102. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  103. package/dist/views/integration/FoodMarketHub.vue.d.ts +2 -0
  104. package/dist/views/integration/NetSuite.vue.d.ts +2 -0
  105. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +7 -7
  106. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +7 -7
  107. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  108. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +49 -0
  109. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1913 -53
  110. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  111. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  112. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  113. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2370 -327
  114. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2304 -261
  115. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  116. package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
  117. package/dist/views/stock/components/StockRecordCard.vue.d.ts +43 -120
  118. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +34 -4
  119. package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
  120. package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
  121. package/dist/views/supplier/components/supplier-import/SupplierImport.vue.d.ts +2 -0
  122. package/dist/views/supplier/components/supplier-import/SupplierImportItem.vue.d.ts +12 -0
  123. package/dist/views/supplier/components/supplier-import/SupplierImportItemProps.d.ts +6 -0
  124. package/dist/views/supplier/composables/use-supplier-actions.d.ts +10 -0
  125. package/dist/views/supplier/helpers/import-export.helper.d.ts +50 -0
  126. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
  127. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
  128. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -82
  129. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +38 -1
  130. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
  131. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
  132. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
  133. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
  134. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1279 -1528
  135. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +2207 -446
  136. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
  137. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -251
  138. package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
  139. package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
  140. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +14 -8
  141. package/dist/{xlsx-DiOKvJ6l.js → xlsx-6mM1eNiL.js} +1525 -1525
  142. package/dist/xlsx.util-BLftcF4q.js +78 -0
  143. package/package.json +7 -4
  144. package/dist/ApprovalView-BPsScR5_.js +0 -129
  145. package/dist/ClosingTemplateView-DECwEnlK.js +0 -1066
  146. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnogYrRE.js +0 -372
  147. package/dist/IngredientsView-8fT1Ljd5.js +0 -1758
  148. package/dist/IntegrationView-CjGLRM78.js +0 -1141
  149. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-DlhNc8Vk.js +0 -88
  150. package/dist/ReceiveRequestView-CXZv8g5U.js +0 -215
  151. package/dist/RecipeView-sB0Lgmob.js +0 -581
  152. package/dist/StockView-CY2kNohB.js +0 -1892
  153. package/dist/SupplierView-DTqeZPts.js +0 -827
  154. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BBby29tW.js +0 -762
  155. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-ByNQap9n.js +0 -1498
  156. package/dist/TransferTemplateView-DkRVfAox.js +0 -1277
  157. package/dist/app-BuyAj4kw.js +0 -69068
  158. package/dist/defineDeepModel-DuVmbMwq.js +0 -13
  159. package/dist/id-to-date-CI5Vv0Ji.js +0 -30
  160. package/dist/purchase-order-transaction-type-DrFJFvtK.js +0 -676
  161. package/dist/stores/netsuite.d.ts +0 -49
  162. package/dist/supplier-BQyK2eSZ.js +0 -69
  163. package/dist/xlsx.util-CZ7zYxdP.js +0 -109
@@ -12,102 +12,31 @@ type TransferTemplateDetailsPropsWithEventBinding = TransferTemplateDetailsProps
12
12
  'onAction:use'?(locationId: string): void;
13
13
  'onAction:edit'?(): void;
14
14
  };
15
- export declare const useTransferTemplateActions: import("pinia").StoreDefinition<"transferTemplateActions", Pick<{
15
+ export declare const useTransferTemplateActions: import("pinia").StoreDefinition<"transferTemplateActions", import("pinia")._UnwrapAll<Pick<{
16
16
  createTemplate: () => void;
17
17
  viewTemplate: (template: POTemplate) => void;
18
18
  updateTemplate: (template: POTemplate) => void;
19
19
  deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
20
- useTemplate: (template: POTemplate) => void;
20
+ getTemplateId: () => Promise<string | undefined>;
21
+ importTemplates: () => void;
22
+ exportTemplates: () => void;
21
23
  templateDialogProps: Ref<{
22
24
  mode?: FormMode | undefined;
23
25
  modelValue?: {
24
26
  _rev?: string | null | undefined;
25
- locations?: ({
26
- doc?: any;
27
- type: "restaurant";
28
- name: string;
29
- acceptRequest: boolean;
30
- dbName: string;
31
- } | {
32
- type: "warehouse";
27
+ locations?: {
28
+ type: "restaurant" | "warehouse";
33
29
  name: string;
34
30
  acceptRequest: boolean;
35
31
  dbName: string;
36
32
  doc: {
37
- pf_business?: {
38
- internal?: boolean | null | undefined;
39
- url?: string | null | undefined;
40
- expiredAt?: string | null | undefined;
41
- agentId?: string | null | undefined;
42
- attributeSettings?: {
43
- type: "string" | "number" | "boolean" | "date";
44
- key: string;
45
- entity: "restaurant" | "item";
46
- }[] | null | undefined;
47
- pf_agent?: {
48
- clickupId?: string | null | undefined;
49
- members?: {
50
- pf_user?: {
51
- email?: string | null | undefined;
52
- phoneNumber?: string | null | undefined;
53
- birthday?: string | null | undefined;
54
- gender?: "MALE" | "FEMALE" | null | undefined;
55
- addresses?: {
56
- name: string;
57
- address: string;
58
- coordinates: number[];
59
- }[] | null | undefined;
60
- photoURL?: string | null | undefined;
61
- displayName?: string | null | undefined;
62
- imported?: {
63
- raw: Record<string, any>;
64
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
65
- } | null | undefined;
66
- _id: string;
67
- } | null | undefined;
68
- role: "ADMIN";
69
- userId: string;
70
- }[] | null | undefined;
71
- code: string;
72
- name: string;
73
- _id: string;
74
- isReseller: boolean;
75
- } | null | undefined;
76
- thumbnail?: string | null | undefined;
77
- billingInfos?: {
78
- _id?: string | null | undefined;
79
- name: string;
80
- address: {
81
- coordinates?: number[] | null | undefined;
82
- line2?: string | null | undefined;
83
- state: string;
84
- country: string;
85
- line1: string;
86
- city: string;
87
- postcode: string;
88
- };
89
- email: string;
90
- companyName: string;
91
- contact: string;
92
- }[] | null | undefined;
93
- customerDisplayImages?: {
94
- url: string;
95
- restaurantIds: string[];
96
- }[] | null | undefined;
97
- name: string;
98
- _id: string;
99
- ownerId: string;
100
- restaurantQuota: number;
101
- warehouseQuota: number;
102
- menuVersion: string;
103
- } | null | undefined;
104
33
  _id: string;
105
34
  businessId: string;
106
35
  profile: {
107
- email?: string | null | undefined;
108
- phoneNo?: string | null | undefined;
109
- name: string;
110
- address: {
36
+ code?: string | null | undefined;
37
+ _id?: string | null | undefined;
38
+ name?: string | undefined;
39
+ address?: {
111
40
  coordinates?: number[] | null | undefined;
112
41
  line2?: string | null | undefined;
113
42
  state: string;
@@ -115,63 +44,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
115
44
  line1: string;
116
45
  city: string;
117
46
  postcode: string;
118
- };
119
- regNo: string;
47
+ } | undefined;
48
+ email?: string | undefined;
49
+ regNo?: string | undefined;
50
+ sstRegNo?: string | null | undefined;
51
+ phoneNo?: string | undefined;
52
+ legalName?: string | null | undefined;
53
+ discovery?: boolean | null | undefined;
54
+ coverPhoto?: string | null | undefined;
55
+ thumbnailPhoto?: string | null | undefined;
56
+ description?: string | null | undefined;
57
+ photos?: string[] | null | undefined;
58
+ operatingHours?: {
59
+ 0: {
60
+ hours: {
61
+ end: string;
62
+ start: string;
63
+ }[];
64
+ enable: boolean;
65
+ };
66
+ 2: {
67
+ hours: {
68
+ end: string;
69
+ start: string;
70
+ }[];
71
+ enable: boolean;
72
+ };
73
+ 1: {
74
+ hours: {
75
+ end: string;
76
+ start: string;
77
+ }[];
78
+ enable: boolean;
79
+ };
80
+ 3: {
81
+ hours: {
82
+ end: string;
83
+ start: string;
84
+ }[];
85
+ enable: boolean;
86
+ };
87
+ 4: {
88
+ hours: {
89
+ end: string;
90
+ start: string;
91
+ }[];
92
+ enable: boolean;
93
+ };
94
+ 5: {
95
+ hours: {
96
+ end: string;
97
+ start: string;
98
+ }[];
99
+ enable: boolean;
100
+ };
101
+ 6: {
102
+ hours: {
103
+ end: string;
104
+ start: string;
105
+ }[];
106
+ enable: boolean;
107
+ };
108
+ } | null | undefined;
109
+ tags?: string[] | null | undefined;
110
+ url?: string | null | undefined;
120
111
  };
121
112
  };
122
- })[] | null | undefined;
113
+ }[] | null | undefined;
123
114
  _id: string;
124
115
  name: string;
125
116
  purchaseOrder: {
126
117
  remark?: string | null | undefined;
127
118
  ref?: string | null | undefined;
128
- supplier?: {
129
- phoneNumber?: string | null | undefined;
130
- email?: string | null | undefined;
131
- _rev?: string | null | undefined;
132
- internal?: "restaurant" | "warehouse" | null | undefined;
133
- contactName?: string | null | undefined;
134
- registrationNumber?: string | undefined;
135
- supplyItems?: {
136
- defaultCost: {
137
- measurement?: {
138
- id: string;
139
- name: string;
140
- abbrev: string;
141
- conversion: {
142
- amount: number;
143
- precision: number;
144
- };
145
- } | null | undefined;
146
- costPerUnit: {
147
- 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";
148
- amount: number;
149
- precision: number;
150
- };
151
- };
152
- skuId: string;
153
- }[] | null | undefined;
154
- _id: string;
155
- name: string;
156
- address: {
157
- line2?: string | null | undefined;
158
- line1: string;
159
- state: string;
160
- city: string;
161
- postcode: string;
162
- country: string;
163
- };
164
- } | undefined;
165
- template?: string | null | undefined;
166
- stockSnapshotId?: string | null | undefined;
167
- effectiveAt?: string | null | undefined;
168
- netSuite?: {
169
- id?: string | null | undefined;
170
- subsidiary: {
171
- id?: string | null | undefined;
172
- name?: string | null | undefined;
173
- };
174
- } | null | undefined;
175
119
  items: {
176
120
  measurement?: {
177
121
  id: string;
@@ -201,7 +145,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
201
145
  precision: number;
202
146
  };
203
147
  } | null | undefined;
204
- type: "RECIPE" | "SKU";
148
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
205
149
  amount: {
206
150
  amount: number;
207
151
  precision: number;
@@ -269,119 +213,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
269
213
  precision: number;
270
214
  };
271
215
  }[];
272
- };
273
- } | undefined;
274
- show?: boolean | undefined;
275
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
276
- onSubmitted?: (() => void) | undefined;
277
- }, TransferTemplateDialogPropsWithEventBinding | {
278
- mode?: FormMode | undefined;
279
- modelValue?: {
280
- _rev?: string | null | undefined;
281
- locations?: ({
282
- doc?: any;
283
- type: "restaurant";
284
- name: string;
285
- acceptRequest: boolean;
286
- dbName: string;
287
- } | {
288
- type: "warehouse";
289
- name: string;
290
- acceptRequest: boolean;
291
- dbName: string;
292
- doc: {
293
- pf_business?: {
294
- internal?: boolean | null | undefined;
295
- url?: string | null | undefined;
296
- expiredAt?: string | null | undefined;
297
- agentId?: string | null | undefined;
298
- attributeSettings?: {
299
- type: "string" | "number" | "boolean" | "date";
300
- key: string;
301
- entity: "restaurant" | "item";
302
- }[] | null | undefined;
303
- pf_agent?: {
304
- clickupId?: string | null | undefined;
305
- members?: {
306
- pf_user?: {
307
- email?: string | null | undefined;
308
- phoneNumber?: string | null | undefined;
309
- birthday?: string | null | undefined;
310
- gender?: "MALE" | "FEMALE" | null | undefined;
311
- addresses?: {
312
- name: string;
313
- address: string;
314
- coordinates: number[];
315
- }[] | null | undefined;
316
- photoURL?: string | null | undefined;
317
- displayName?: string | null | undefined;
318
- imported?: {
319
- raw: Record<string, any>;
320
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
321
- } | null | undefined;
322
- _id: string;
323
- } | null | undefined;
324
- role: "ADMIN";
325
- userId: string;
326
- }[] | null | undefined;
327
- code: string;
328
- name: string;
329
- _id: string;
330
- isReseller: boolean;
331
- } | null | undefined;
332
- thumbnail?: string | null | undefined;
333
- billingInfos?: {
334
- _id?: string | null | undefined;
335
- name: string;
336
- address: {
337
- coordinates?: number[] | null | undefined;
338
- line2?: string | null | undefined;
339
- state: string;
340
- country: string;
341
- line1: string;
342
- city: string;
343
- postcode: string;
344
- };
345
- email: string;
346
- companyName: string;
347
- contact: string;
348
- }[] | null | undefined;
349
- customerDisplayImages?: {
350
- url: string;
351
- restaurantIds: string[];
352
- }[] | null | undefined;
353
- name: string;
354
- _id: string;
355
- ownerId: string;
356
- restaurantQuota: number;
357
- warehouseQuota: number;
358
- menuVersion: string;
359
- } | null | undefined;
360
- _id: string;
361
- businessId: string;
362
- profile: {
363
- email?: string | null | undefined;
364
- phoneNo?: string | null | undefined;
365
- name: string;
366
- address: {
367
- coordinates?: number[] | null | undefined;
368
- line2?: string | null | undefined;
369
- state: string;
370
- country: string;
371
- line1: string;
372
- city: string;
373
- postcode: string;
374
- };
375
- regNo: string;
376
- };
377
- };
378
- })[] | null | undefined;
379
- _id: string;
380
- name: string;
381
- purchaseOrder: {
382
- remark?: string | null | undefined;
383
- ref?: string | null | undefined;
384
- supplier?: {
216
+ supplier: {
385
217
  phoneNumber?: string | null | undefined;
386
218
  email?: string | null | undefined;
387
219
  _rev?: string | null | undefined;
@@ -417,17 +249,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
417
249
  postcode: string;
418
250
  country: string;
419
251
  };
420
- } | undefined;
421
- template?: string | null | undefined;
422
- stockSnapshotId?: string | null | undefined;
423
- effectiveAt?: string | null | undefined;
424
- netSuite?: {
425
- id?: string | null | undefined;
426
- subsidiary: {
427
- id?: string | null | undefined;
428
- name?: string | null | undefined;
429
- };
430
- } | null | undefined;
252
+ };
253
+ };
254
+ } | undefined;
255
+ show?: boolean | undefined;
256
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
257
+ onSubmitted?: (() => void) | undefined;
258
+ }, TransferTemplateDialogPropsWithEventBinding | {
259
+ mode?: FormMode | undefined;
260
+ modelValue?: {
261
+ _rev?: string | null | undefined;
262
+ locations?: {
263
+ type: "restaurant" | "warehouse";
264
+ name: string;
265
+ acceptRequest: boolean;
266
+ dbName: string;
267
+ doc: {
268
+ _id: string;
269
+ businessId: string;
270
+ profile: {
271
+ code?: string | null | undefined;
272
+ _id?: string | null | undefined;
273
+ name?: string | undefined;
274
+ address?: {
275
+ coordinates?: number[] | null | undefined;
276
+ line2?: string | null | undefined;
277
+ state: string;
278
+ country: string;
279
+ line1: string;
280
+ city: string;
281
+ postcode: string;
282
+ } | undefined;
283
+ email?: string | undefined;
284
+ regNo?: string | undefined;
285
+ sstRegNo?: string | null | undefined;
286
+ phoneNo?: string | undefined;
287
+ legalName?: string | null | undefined;
288
+ discovery?: boolean | null | undefined;
289
+ coverPhoto?: string | null | undefined;
290
+ thumbnailPhoto?: string | null | undefined;
291
+ description?: string | null | undefined;
292
+ photos?: string[] | null | undefined;
293
+ operatingHours?: {
294
+ 0: {
295
+ hours: {
296
+ end: string;
297
+ start: string;
298
+ }[];
299
+ enable: boolean;
300
+ };
301
+ 2: {
302
+ hours: {
303
+ end: string;
304
+ start: string;
305
+ }[];
306
+ enable: boolean;
307
+ };
308
+ 1: {
309
+ hours: {
310
+ end: string;
311
+ start: string;
312
+ }[];
313
+ enable: boolean;
314
+ };
315
+ 3: {
316
+ hours: {
317
+ end: string;
318
+ start: string;
319
+ }[];
320
+ enable: boolean;
321
+ };
322
+ 4: {
323
+ hours: {
324
+ end: string;
325
+ start: string;
326
+ }[];
327
+ enable: boolean;
328
+ };
329
+ 5: {
330
+ hours: {
331
+ end: string;
332
+ start: string;
333
+ }[];
334
+ enable: boolean;
335
+ };
336
+ 6: {
337
+ hours: {
338
+ end: string;
339
+ start: string;
340
+ }[];
341
+ enable: boolean;
342
+ };
343
+ } | null | undefined;
344
+ tags?: string[] | null | undefined;
345
+ url?: string | null | undefined;
346
+ };
347
+ };
348
+ }[] | null | undefined;
349
+ _id: string;
350
+ name: string;
351
+ purchaseOrder: {
352
+ remark?: string | null | undefined;
353
+ ref?: string | null | undefined;
431
354
  items: {
432
355
  measurement?: {
433
356
  id: string;
@@ -457,7 +380,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
457
380
  precision: number;
458
381
  };
459
382
  } | null | undefined;
460
- type: "RECIPE" | "SKU";
383
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
461
384
  amount: {
462
385
  amount: number;
463
386
  precision: number;
@@ -525,119 +448,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
525
448
  precision: number;
526
449
  };
527
450
  }[];
528
- };
529
- } | undefined;
530
- show?: boolean | undefined;
531
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
532
- onSubmitted?: (() => void) | undefined;
533
- }>;
534
- templateDetailsProps: Ref<{
535
- template?: {
536
- _rev?: string | null | undefined;
537
- locations?: ({
538
- doc?: any;
539
- type: "restaurant";
540
- name: string;
541
- acceptRequest: boolean;
542
- dbName: string;
543
- } | {
544
- type: "warehouse";
545
- name: string;
546
- acceptRequest: boolean;
547
- dbName: string;
548
- doc: {
549
- pf_business?: {
550
- internal?: boolean | null | undefined;
551
- url?: string | null | undefined;
552
- expiredAt?: string | null | undefined;
553
- agentId?: string | null | undefined;
554
- attributeSettings?: {
555
- type: "string" | "number" | "boolean" | "date";
556
- key: string;
557
- entity: "restaurant" | "item";
558
- }[] | null | undefined;
559
- pf_agent?: {
560
- clickupId?: string | null | undefined;
561
- members?: {
562
- pf_user?: {
563
- email?: string | null | undefined;
564
- phoneNumber?: string | null | undefined;
565
- birthday?: string | null | undefined;
566
- gender?: "MALE" | "FEMALE" | null | undefined;
567
- addresses?: {
568
- name: string;
569
- address: string;
570
- coordinates: number[];
571
- }[] | null | undefined;
572
- photoURL?: string | null | undefined;
573
- displayName?: string | null | undefined;
574
- imported?: {
575
- raw: Record<string, any>;
576
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
577
- } | null | undefined;
578
- _id: string;
579
- } | null | undefined;
580
- role: "ADMIN";
581
- userId: string;
582
- }[] | null | undefined;
583
- code: string;
584
- name: string;
585
- _id: string;
586
- isReseller: boolean;
587
- } | null | undefined;
588
- thumbnail?: string | null | undefined;
589
- billingInfos?: {
590
- _id?: string | null | undefined;
591
- name: string;
592
- address: {
593
- coordinates?: number[] | null | undefined;
594
- line2?: string | null | undefined;
595
- state: string;
596
- country: string;
597
- line1: string;
598
- city: string;
599
- postcode: string;
600
- };
601
- email: string;
602
- companyName: string;
603
- contact: string;
604
- }[] | null | undefined;
605
- customerDisplayImages?: {
606
- url: string;
607
- restaurantIds: string[];
608
- }[] | null | undefined;
609
- name: string;
610
- _id: string;
611
- ownerId: string;
612
- restaurantQuota: number;
613
- warehouseQuota: number;
614
- menuVersion: string;
615
- } | null | undefined;
616
- _id: string;
617
- businessId: string;
618
- profile: {
619
- email?: string | null | undefined;
620
- phoneNo?: string | null | undefined;
621
- name: string;
622
- address: {
623
- coordinates?: number[] | null | undefined;
624
- line2?: string | null | undefined;
625
- state: string;
626
- country: string;
627
- line1: string;
628
- city: string;
629
- postcode: string;
630
- };
631
- regNo: string;
632
- };
633
- };
634
- })[] | null | undefined;
635
- _id: string;
636
- name: string;
637
- purchaseOrder: {
638
- remark?: string | null | undefined;
639
- ref?: string | null | undefined;
640
- supplier?: {
451
+ supplier: {
641
452
  phoneNumber?: string | null | undefined;
642
453
  email?: string | null | undefined;
643
454
  _rev?: string | null | undefined;
@@ -673,17 +484,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
673
484
  postcode: string;
674
485
  country: string;
675
486
  };
676
- } | undefined;
677
- template?: string | null | undefined;
678
- stockSnapshotId?: string | null | undefined;
679
- effectiveAt?: string | null | undefined;
680
- netSuite?: {
681
- id?: string | null | undefined;
682
- subsidiary: {
683
- id?: string | null | undefined;
684
- name?: string | null | undefined;
685
- };
686
- } | null | undefined;
487
+ };
488
+ };
489
+ } | undefined;
490
+ show?: boolean | undefined;
491
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
492
+ onSubmitted?: (() => void) | undefined;
493
+ }>;
494
+ templateDetailsProps: Ref<{
495
+ template?: {
496
+ _rev?: string | null | undefined;
497
+ locations?: {
498
+ type: "restaurant" | "warehouse";
499
+ name: string;
500
+ acceptRequest: boolean;
501
+ dbName: string;
502
+ doc: {
503
+ _id: string;
504
+ businessId: string;
505
+ profile: {
506
+ code?: string | null | undefined;
507
+ _id?: string | null | undefined;
508
+ name?: string | undefined;
509
+ address?: {
510
+ coordinates?: number[] | null | undefined;
511
+ line2?: string | null | undefined;
512
+ state: string;
513
+ country: string;
514
+ line1: string;
515
+ city: string;
516
+ postcode: string;
517
+ } | undefined;
518
+ email?: string | undefined;
519
+ regNo?: string | undefined;
520
+ sstRegNo?: string | null | undefined;
521
+ phoneNo?: string | undefined;
522
+ legalName?: string | null | undefined;
523
+ discovery?: boolean | null | undefined;
524
+ coverPhoto?: string | null | undefined;
525
+ thumbnailPhoto?: string | null | undefined;
526
+ description?: string | null | undefined;
527
+ photos?: string[] | null | undefined;
528
+ operatingHours?: {
529
+ 0: {
530
+ hours: {
531
+ end: string;
532
+ start: string;
533
+ }[];
534
+ enable: boolean;
535
+ };
536
+ 2: {
537
+ hours: {
538
+ end: string;
539
+ start: string;
540
+ }[];
541
+ enable: boolean;
542
+ };
543
+ 1: {
544
+ hours: {
545
+ end: string;
546
+ start: string;
547
+ }[];
548
+ enable: boolean;
549
+ };
550
+ 3: {
551
+ hours: {
552
+ end: string;
553
+ start: string;
554
+ }[];
555
+ enable: boolean;
556
+ };
557
+ 4: {
558
+ hours: {
559
+ end: string;
560
+ start: string;
561
+ }[];
562
+ enable: boolean;
563
+ };
564
+ 5: {
565
+ hours: {
566
+ end: string;
567
+ start: string;
568
+ }[];
569
+ enable: boolean;
570
+ };
571
+ 6: {
572
+ hours: {
573
+ end: string;
574
+ start: string;
575
+ }[];
576
+ enable: boolean;
577
+ };
578
+ } | null | undefined;
579
+ tags?: string[] | null | undefined;
580
+ url?: string | null | undefined;
581
+ };
582
+ };
583
+ }[] | null | undefined;
584
+ _id: string;
585
+ name: string;
586
+ purchaseOrder: {
587
+ remark?: string | null | undefined;
588
+ ref?: string | null | undefined;
687
589
  items: {
688
590
  measurement?: {
689
591
  id: string;
@@ -713,7 +615,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
713
615
  precision: number;
714
616
  };
715
617
  } | null | undefined;
716
- type: "RECIPE" | "SKU";
618
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
717
619
  amount: {
718
620
  amount: number;
719
621
  precision: number;
@@ -781,119 +683,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
781
683
  precision: number;
782
684
  };
783
685
  }[];
784
- };
785
- } | undefined;
786
- show?: boolean | undefined;
787
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
788
- 'onAction:use'?: ((locationId: string) => void) | undefined;
789
- 'onAction:edit'?: (() => void) | undefined;
790
- }, TransferTemplateDetailsPropsWithEventBinding | {
791
- template?: {
792
- _rev?: string | null | undefined;
793
- locations?: ({
794
- doc?: any;
795
- type: "restaurant";
796
- name: string;
797
- acceptRequest: boolean;
798
- dbName: string;
799
- } | {
800
- type: "warehouse";
801
- name: string;
802
- acceptRequest: boolean;
803
- dbName: string;
804
- doc: {
805
- pf_business?: {
806
- internal?: boolean | null | undefined;
807
- url?: string | null | undefined;
808
- expiredAt?: string | null | undefined;
809
- agentId?: string | null | undefined;
810
- attributeSettings?: {
811
- type: "string" | "number" | "boolean" | "date";
812
- key: string;
813
- entity: "restaurant" | "item";
814
- }[] | null | undefined;
815
- pf_agent?: {
816
- clickupId?: string | null | undefined;
817
- members?: {
818
- pf_user?: {
819
- email?: string | null | undefined;
820
- phoneNumber?: string | null | undefined;
821
- birthday?: string | null | undefined;
822
- gender?: "MALE" | "FEMALE" | null | undefined;
823
- addresses?: {
824
- name: string;
825
- address: string;
826
- coordinates: number[];
827
- }[] | null | undefined;
828
- photoURL?: string | null | undefined;
829
- displayName?: string | null | undefined;
830
- imported?: {
831
- raw: Record<string, any>;
832
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
833
- } | null | undefined;
834
- _id: string;
835
- } | null | undefined;
836
- role: "ADMIN";
837
- userId: string;
838
- }[] | null | undefined;
839
- code: string;
840
- name: string;
841
- _id: string;
842
- isReseller: boolean;
843
- } | null | undefined;
844
- thumbnail?: string | null | undefined;
845
- billingInfos?: {
846
- _id?: string | null | undefined;
847
- name: string;
848
- address: {
849
- coordinates?: number[] | null | undefined;
850
- line2?: string | null | undefined;
851
- state: string;
852
- country: string;
853
- line1: string;
854
- city: string;
855
- postcode: string;
856
- };
857
- email: string;
858
- companyName: string;
859
- contact: string;
860
- }[] | null | undefined;
861
- customerDisplayImages?: {
862
- url: string;
863
- restaurantIds: string[];
864
- }[] | null | undefined;
865
- name: string;
866
- _id: string;
867
- ownerId: string;
868
- restaurantQuota: number;
869
- warehouseQuota: number;
870
- menuVersion: string;
871
- } | null | undefined;
872
- _id: string;
873
- businessId: string;
874
- profile: {
875
- email?: string | null | undefined;
876
- phoneNo?: string | null | undefined;
877
- name: string;
878
- address: {
879
- coordinates?: number[] | null | undefined;
880
- line2?: string | null | undefined;
881
- state: string;
882
- country: string;
883
- line1: string;
884
- city: string;
885
- postcode: string;
886
- };
887
- regNo: string;
888
- };
889
- };
890
- })[] | null | undefined;
891
- _id: string;
892
- name: string;
893
- purchaseOrder: {
894
- remark?: string | null | undefined;
895
- ref?: string | null | undefined;
896
- supplier?: {
686
+ supplier: {
897
687
  phoneNumber?: string | null | undefined;
898
688
  email?: string | null | undefined;
899
689
  _rev?: string | null | undefined;
@@ -929,17 +719,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
929
719
  postcode: string;
930
720
  country: string;
931
721
  };
932
- } | undefined;
933
- template?: string | null | undefined;
934
- stockSnapshotId?: string | null | undefined;
935
- effectiveAt?: string | null | undefined;
936
- netSuite?: {
937
- id?: string | null | undefined;
938
- subsidiary: {
939
- id?: string | null | undefined;
940
- name?: string | null | undefined;
941
- };
942
- } | null | undefined;
722
+ };
723
+ };
724
+ } | undefined;
725
+ show?: boolean | undefined;
726
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
727
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
728
+ 'onAction:edit'?: (() => void) | undefined;
729
+ }, TransferTemplateDetailsPropsWithEventBinding | {
730
+ template?: {
731
+ _rev?: string | null | undefined;
732
+ locations?: {
733
+ type: "restaurant" | "warehouse";
734
+ name: string;
735
+ acceptRequest: boolean;
736
+ dbName: string;
737
+ doc: {
738
+ _id: string;
739
+ businessId: string;
740
+ profile: {
741
+ code?: string | null | undefined;
742
+ _id?: string | null | undefined;
743
+ name?: string | undefined;
744
+ address?: {
745
+ coordinates?: number[] | null | undefined;
746
+ line2?: string | null | undefined;
747
+ state: string;
748
+ country: string;
749
+ line1: string;
750
+ city: string;
751
+ postcode: string;
752
+ } | undefined;
753
+ email?: string | undefined;
754
+ regNo?: string | undefined;
755
+ sstRegNo?: string | null | undefined;
756
+ phoneNo?: string | undefined;
757
+ legalName?: string | null | undefined;
758
+ discovery?: boolean | null | undefined;
759
+ coverPhoto?: string | null | undefined;
760
+ thumbnailPhoto?: string | null | undefined;
761
+ description?: string | null | undefined;
762
+ photos?: string[] | null | undefined;
763
+ operatingHours?: {
764
+ 0: {
765
+ hours: {
766
+ end: string;
767
+ start: string;
768
+ }[];
769
+ enable: boolean;
770
+ };
771
+ 2: {
772
+ hours: {
773
+ end: string;
774
+ start: string;
775
+ }[];
776
+ enable: boolean;
777
+ };
778
+ 1: {
779
+ hours: {
780
+ end: string;
781
+ start: string;
782
+ }[];
783
+ enable: boolean;
784
+ };
785
+ 3: {
786
+ hours: {
787
+ end: string;
788
+ start: string;
789
+ }[];
790
+ enable: boolean;
791
+ };
792
+ 4: {
793
+ hours: {
794
+ end: string;
795
+ start: string;
796
+ }[];
797
+ enable: boolean;
798
+ };
799
+ 5: {
800
+ hours: {
801
+ end: string;
802
+ start: string;
803
+ }[];
804
+ enable: boolean;
805
+ };
806
+ 6: {
807
+ hours: {
808
+ end: string;
809
+ start: string;
810
+ }[];
811
+ enable: boolean;
812
+ };
813
+ } | null | undefined;
814
+ tags?: string[] | null | undefined;
815
+ url?: string | null | undefined;
816
+ };
817
+ };
818
+ }[] | null | undefined;
819
+ _id: string;
820
+ name: string;
821
+ purchaseOrder: {
822
+ remark?: string | null | undefined;
823
+ ref?: string | null | undefined;
943
824
  items: {
944
825
  measurement?: {
945
826
  id: string;
@@ -969,7 +850,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
969
850
  precision: number;
970
851
  };
971
852
  } | null | undefined;
972
- type: "RECIPE" | "SKU";
853
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
973
854
  amount: {
974
855
  amount: number;
975
856
  precision: number;
@@ -1037,6 +918,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1037
918
  precision: number;
1038
919
  };
1039
920
  }[];
921
+ supplier: {
922
+ phoneNumber?: string | null | undefined;
923
+ email?: string | null | undefined;
924
+ _rev?: string | null | undefined;
925
+ internal?: "restaurant" | "warehouse" | null | undefined;
926
+ contactName?: string | null | undefined;
927
+ registrationNumber?: string | undefined;
928
+ supplyItems?: {
929
+ defaultCost: {
930
+ measurement?: {
931
+ id: string;
932
+ name: string;
933
+ abbrev: string;
934
+ conversion: {
935
+ amount: number;
936
+ precision: number;
937
+ };
938
+ } | null | undefined;
939
+ costPerUnit: {
940
+ 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";
941
+ amount: number;
942
+ precision: number;
943
+ };
944
+ };
945
+ skuId: string;
946
+ }[] | null | undefined;
947
+ _id: string;
948
+ name: string;
949
+ address: {
950
+ line2?: string | null | undefined;
951
+ line1: string;
952
+ state: string;
953
+ city: string;
954
+ postcode: string;
955
+ country: string;
956
+ };
957
+ };
1040
958
  };
1041
959
  } | undefined;
1042
960
  show?: boolean | undefined;
@@ -1044,103 +962,31 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1044
962
  'onAction:use'?: ((locationId: string) => void) | undefined;
1045
963
  'onAction:edit'?: (() => void) | undefined;
1046
964
  }>;
1047
- transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
1048
- }, "templateDialogProps" | "templateDetailsProps" | "transferFormDialogProps">, Pick<{
965
+ }, "templateDialogProps" | "templateDetailsProps">>, Pick<{
1049
966
  createTemplate: () => void;
1050
967
  viewTemplate: (template: POTemplate) => void;
1051
968
  updateTemplate: (template: POTemplate) => void;
1052
969
  deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
1053
- useTemplate: (template: POTemplate) => void;
970
+ getTemplateId: () => Promise<string | undefined>;
971
+ importTemplates: () => void;
972
+ exportTemplates: () => void;
1054
973
  templateDialogProps: Ref<{
1055
974
  mode?: FormMode | undefined;
1056
975
  modelValue?: {
1057
976
  _rev?: string | null | undefined;
1058
- locations?: ({
1059
- doc?: any;
1060
- type: "restaurant";
1061
- name: string;
1062
- acceptRequest: boolean;
1063
- dbName: string;
1064
- } | {
1065
- type: "warehouse";
977
+ locations?: {
978
+ type: "restaurant" | "warehouse";
1066
979
  name: string;
1067
980
  acceptRequest: boolean;
1068
981
  dbName: string;
1069
982
  doc: {
1070
- pf_business?: {
1071
- internal?: boolean | null | undefined;
1072
- url?: string | null | undefined;
1073
- expiredAt?: string | null | undefined;
1074
- agentId?: string | null | undefined;
1075
- attributeSettings?: {
1076
- type: "string" | "number" | "boolean" | "date";
1077
- key: string;
1078
- entity: "restaurant" | "item";
1079
- }[] | null | undefined;
1080
- pf_agent?: {
1081
- clickupId?: string | null | undefined;
1082
- members?: {
1083
- pf_user?: {
1084
- email?: string | null | undefined;
1085
- phoneNumber?: string | null | undefined;
1086
- birthday?: string | null | undefined;
1087
- gender?: "MALE" | "FEMALE" | null | undefined;
1088
- addresses?: {
1089
- name: string;
1090
- address: string;
1091
- coordinates: number[];
1092
- }[] | null | undefined;
1093
- photoURL?: string | null | undefined;
1094
- displayName?: string | null | undefined;
1095
- imported?: {
1096
- raw: Record<string, any>;
1097
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1098
- } | null | undefined;
1099
- _id: string;
1100
- } | null | undefined;
1101
- role: "ADMIN";
1102
- userId: string;
1103
- }[] | null | undefined;
1104
- code: string;
1105
- name: string;
1106
- _id: string;
1107
- isReseller: boolean;
1108
- } | null | undefined;
1109
- thumbnail?: string | null | undefined;
1110
- billingInfos?: {
1111
- _id?: string | null | undefined;
1112
- name: string;
1113
- address: {
1114
- coordinates?: number[] | null | undefined;
1115
- line2?: string | null | undefined;
1116
- state: string;
1117
- country: string;
1118
- line1: string;
1119
- city: string;
1120
- postcode: string;
1121
- };
1122
- email: string;
1123
- companyName: string;
1124
- contact: string;
1125
- }[] | null | undefined;
1126
- customerDisplayImages?: {
1127
- url: string;
1128
- restaurantIds: string[];
1129
- }[] | null | undefined;
1130
- name: string;
1131
- _id: string;
1132
- ownerId: string;
1133
- restaurantQuota: number;
1134
- warehouseQuota: number;
1135
- menuVersion: string;
1136
- } | null | undefined;
1137
983
  _id: string;
1138
984
  businessId: string;
1139
985
  profile: {
1140
- email?: string | null | undefined;
1141
- phoneNo?: string | null | undefined;
1142
- name: string;
1143
- address: {
986
+ code?: string | null | undefined;
987
+ _id?: string | null | undefined;
988
+ name?: string | undefined;
989
+ address?: {
1144
990
  coordinates?: number[] | null | undefined;
1145
991
  line2?: string | null | undefined;
1146
992
  state: string;
@@ -1148,63 +994,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1148
994
  line1: string;
1149
995
  city: string;
1150
996
  postcode: string;
1151
- };
1152
- regNo: string;
997
+ } | undefined;
998
+ email?: string | undefined;
999
+ regNo?: string | undefined;
1000
+ sstRegNo?: string | null | undefined;
1001
+ phoneNo?: string | undefined;
1002
+ legalName?: string | null | undefined;
1003
+ discovery?: boolean | null | undefined;
1004
+ coverPhoto?: string | null | undefined;
1005
+ thumbnailPhoto?: string | null | undefined;
1006
+ description?: string | null | undefined;
1007
+ photos?: string[] | null | undefined;
1008
+ operatingHours?: {
1009
+ 0: {
1010
+ hours: {
1011
+ end: string;
1012
+ start: string;
1013
+ }[];
1014
+ enable: boolean;
1015
+ };
1016
+ 2: {
1017
+ hours: {
1018
+ end: string;
1019
+ start: string;
1020
+ }[];
1021
+ enable: boolean;
1022
+ };
1023
+ 1: {
1024
+ hours: {
1025
+ end: string;
1026
+ start: string;
1027
+ }[];
1028
+ enable: boolean;
1029
+ };
1030
+ 3: {
1031
+ hours: {
1032
+ end: string;
1033
+ start: string;
1034
+ }[];
1035
+ enable: boolean;
1036
+ };
1037
+ 4: {
1038
+ hours: {
1039
+ end: string;
1040
+ start: string;
1041
+ }[];
1042
+ enable: boolean;
1043
+ };
1044
+ 5: {
1045
+ hours: {
1046
+ end: string;
1047
+ start: string;
1048
+ }[];
1049
+ enable: boolean;
1050
+ };
1051
+ 6: {
1052
+ hours: {
1053
+ end: string;
1054
+ start: string;
1055
+ }[];
1056
+ enable: boolean;
1057
+ };
1058
+ } | null | undefined;
1059
+ tags?: string[] | null | undefined;
1060
+ url?: string | null | undefined;
1153
1061
  };
1154
1062
  };
1155
- })[] | null | undefined;
1063
+ }[] | null | undefined;
1156
1064
  _id: string;
1157
1065
  name: string;
1158
1066
  purchaseOrder: {
1159
1067
  remark?: string | null | undefined;
1160
1068
  ref?: string | null | undefined;
1161
- supplier?: {
1162
- phoneNumber?: string | null | undefined;
1163
- email?: string | null | undefined;
1164
- _rev?: string | null | undefined;
1165
- internal?: "restaurant" | "warehouse" | null | undefined;
1166
- contactName?: string | null | undefined;
1167
- registrationNumber?: string | undefined;
1168
- supplyItems?: {
1169
- defaultCost: {
1170
- measurement?: {
1171
- id: string;
1172
- name: string;
1173
- abbrev: string;
1174
- conversion: {
1175
- amount: number;
1176
- precision: number;
1177
- };
1178
- } | null | undefined;
1179
- costPerUnit: {
1180
- 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";
1181
- amount: number;
1182
- precision: number;
1183
- };
1184
- };
1185
- skuId: string;
1186
- }[] | null | undefined;
1187
- _id: string;
1188
- name: string;
1189
- address: {
1190
- line2?: string | null | undefined;
1191
- line1: string;
1192
- state: string;
1193
- city: string;
1194
- postcode: string;
1195
- country: string;
1196
- };
1197
- } | undefined;
1198
- template?: string | null | undefined;
1199
- stockSnapshotId?: string | null | undefined;
1200
- effectiveAt?: string | null | undefined;
1201
- netSuite?: {
1202
- id?: string | null | undefined;
1203
- subsidiary: {
1204
- id?: string | null | undefined;
1205
- name?: string | null | undefined;
1206
- };
1207
- } | null | undefined;
1208
1069
  items: {
1209
1070
  measurement?: {
1210
1071
  id: string;
@@ -1234,7 +1095,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1234
1095
  precision: number;
1235
1096
  };
1236
1097
  } | null | undefined;
1237
- type: "RECIPE" | "SKU";
1098
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1238
1099
  amount: {
1239
1100
  amount: number;
1240
1101
  precision: number;
@@ -1302,119 +1163,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1302
1163
  precision: number;
1303
1164
  };
1304
1165
  }[];
1305
- };
1306
- } | undefined;
1307
- show?: boolean | undefined;
1308
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1309
- onSubmitted?: (() => void) | undefined;
1310
- }, TransferTemplateDialogPropsWithEventBinding | {
1311
- mode?: FormMode | undefined;
1312
- modelValue?: {
1313
- _rev?: string | null | undefined;
1314
- locations?: ({
1315
- doc?: any;
1316
- type: "restaurant";
1317
- name: string;
1318
- acceptRequest: boolean;
1319
- dbName: string;
1320
- } | {
1321
- type: "warehouse";
1322
- name: string;
1323
- acceptRequest: boolean;
1324
- dbName: string;
1325
- doc: {
1326
- pf_business?: {
1327
- internal?: boolean | null | undefined;
1328
- url?: string | null | undefined;
1329
- expiredAt?: string | null | undefined;
1330
- agentId?: string | null | undefined;
1331
- attributeSettings?: {
1332
- type: "string" | "number" | "boolean" | "date";
1333
- key: string;
1334
- entity: "restaurant" | "item";
1335
- }[] | null | undefined;
1336
- pf_agent?: {
1337
- clickupId?: string | null | undefined;
1338
- members?: {
1339
- pf_user?: {
1340
- email?: string | null | undefined;
1341
- phoneNumber?: string | null | undefined;
1342
- birthday?: string | null | undefined;
1343
- gender?: "MALE" | "FEMALE" | null | undefined;
1344
- addresses?: {
1345
- name: string;
1346
- address: string;
1347
- coordinates: number[];
1348
- }[] | null | undefined;
1349
- photoURL?: string | null | undefined;
1350
- displayName?: string | null | undefined;
1351
- imported?: {
1352
- raw: Record<string, any>;
1353
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1354
- } | null | undefined;
1355
- _id: string;
1356
- } | null | undefined;
1357
- role: "ADMIN";
1358
- userId: string;
1359
- }[] | null | undefined;
1360
- code: string;
1361
- name: string;
1362
- _id: string;
1363
- isReseller: boolean;
1364
- } | null | undefined;
1365
- thumbnail?: string | null | undefined;
1366
- billingInfos?: {
1367
- _id?: string | null | undefined;
1368
- name: string;
1369
- address: {
1370
- coordinates?: number[] | null | undefined;
1371
- line2?: string | null | undefined;
1372
- state: string;
1373
- country: string;
1374
- line1: string;
1375
- city: string;
1376
- postcode: string;
1377
- };
1378
- email: string;
1379
- companyName: string;
1380
- contact: string;
1381
- }[] | null | undefined;
1382
- customerDisplayImages?: {
1383
- url: string;
1384
- restaurantIds: string[];
1385
- }[] | null | undefined;
1386
- name: string;
1387
- _id: string;
1388
- ownerId: string;
1389
- restaurantQuota: number;
1390
- warehouseQuota: number;
1391
- menuVersion: string;
1392
- } | null | undefined;
1393
- _id: string;
1394
- businessId: string;
1395
- profile: {
1396
- email?: string | null | undefined;
1397
- phoneNo?: string | null | undefined;
1398
- name: string;
1399
- address: {
1400
- coordinates?: number[] | null | undefined;
1401
- line2?: string | null | undefined;
1402
- state: string;
1403
- country: string;
1404
- line1: string;
1405
- city: string;
1406
- postcode: string;
1407
- };
1408
- regNo: string;
1409
- };
1410
- };
1411
- })[] | null | undefined;
1412
- _id: string;
1413
- name: string;
1414
- purchaseOrder: {
1415
- remark?: string | null | undefined;
1416
- ref?: string | null | undefined;
1417
- supplier?: {
1166
+ supplier: {
1418
1167
  phoneNumber?: string | null | undefined;
1419
1168
  email?: string | null | undefined;
1420
1169
  _rev?: string | null | undefined;
@@ -1450,17 +1199,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1450
1199
  postcode: string;
1451
1200
  country: string;
1452
1201
  };
1453
- } | undefined;
1454
- template?: string | null | undefined;
1455
- stockSnapshotId?: string | null | undefined;
1456
- effectiveAt?: string | null | undefined;
1457
- netSuite?: {
1458
- id?: string | null | undefined;
1459
- subsidiary: {
1460
- id?: string | null | undefined;
1461
- name?: string | null | undefined;
1462
- };
1463
- } | null | undefined;
1202
+ };
1203
+ };
1204
+ } | undefined;
1205
+ show?: boolean | undefined;
1206
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1207
+ onSubmitted?: (() => void) | undefined;
1208
+ }, TransferTemplateDialogPropsWithEventBinding | {
1209
+ mode?: FormMode | undefined;
1210
+ modelValue?: {
1211
+ _rev?: string | null | undefined;
1212
+ locations?: {
1213
+ type: "restaurant" | "warehouse";
1214
+ name: string;
1215
+ acceptRequest: boolean;
1216
+ dbName: string;
1217
+ doc: {
1218
+ _id: string;
1219
+ businessId: string;
1220
+ profile: {
1221
+ code?: string | null | undefined;
1222
+ _id?: string | null | undefined;
1223
+ name?: string | undefined;
1224
+ address?: {
1225
+ coordinates?: number[] | null | undefined;
1226
+ line2?: string | null | undefined;
1227
+ state: string;
1228
+ country: string;
1229
+ line1: string;
1230
+ city: string;
1231
+ postcode: string;
1232
+ } | undefined;
1233
+ email?: string | undefined;
1234
+ regNo?: string | undefined;
1235
+ sstRegNo?: string | null | undefined;
1236
+ phoneNo?: string | undefined;
1237
+ legalName?: string | null | undefined;
1238
+ discovery?: boolean | null | undefined;
1239
+ coverPhoto?: string | null | undefined;
1240
+ thumbnailPhoto?: string | null | undefined;
1241
+ description?: string | null | undefined;
1242
+ photos?: string[] | null | undefined;
1243
+ operatingHours?: {
1244
+ 0: {
1245
+ hours: {
1246
+ end: string;
1247
+ start: string;
1248
+ }[];
1249
+ enable: boolean;
1250
+ };
1251
+ 2: {
1252
+ hours: {
1253
+ end: string;
1254
+ start: string;
1255
+ }[];
1256
+ enable: boolean;
1257
+ };
1258
+ 1: {
1259
+ hours: {
1260
+ end: string;
1261
+ start: string;
1262
+ }[];
1263
+ enable: boolean;
1264
+ };
1265
+ 3: {
1266
+ hours: {
1267
+ end: string;
1268
+ start: string;
1269
+ }[];
1270
+ enable: boolean;
1271
+ };
1272
+ 4: {
1273
+ hours: {
1274
+ end: string;
1275
+ start: string;
1276
+ }[];
1277
+ enable: boolean;
1278
+ };
1279
+ 5: {
1280
+ hours: {
1281
+ end: string;
1282
+ start: string;
1283
+ }[];
1284
+ enable: boolean;
1285
+ };
1286
+ 6: {
1287
+ hours: {
1288
+ end: string;
1289
+ start: string;
1290
+ }[];
1291
+ enable: boolean;
1292
+ };
1293
+ } | null | undefined;
1294
+ tags?: string[] | null | undefined;
1295
+ url?: string | null | undefined;
1296
+ };
1297
+ };
1298
+ }[] | null | undefined;
1299
+ _id: string;
1300
+ name: string;
1301
+ purchaseOrder: {
1302
+ remark?: string | null | undefined;
1303
+ ref?: string | null | undefined;
1464
1304
  items: {
1465
1305
  measurement?: {
1466
1306
  id: string;
@@ -1490,7 +1330,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1490
1330
  precision: number;
1491
1331
  };
1492
1332
  } | null | undefined;
1493
- type: "RECIPE" | "SKU";
1333
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1494
1334
  amount: {
1495
1335
  amount: number;
1496
1336
  precision: number;
@@ -1558,119 +1398,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1558
1398
  precision: number;
1559
1399
  };
1560
1400
  }[];
1561
- };
1562
- } | undefined;
1563
- show?: boolean | undefined;
1564
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1565
- onSubmitted?: (() => void) | undefined;
1566
- }>;
1567
- templateDetailsProps: Ref<{
1568
- template?: {
1569
- _rev?: string | null | undefined;
1570
- locations?: ({
1571
- doc?: any;
1572
- type: "restaurant";
1573
- name: string;
1574
- acceptRequest: boolean;
1575
- dbName: string;
1576
- } | {
1577
- type: "warehouse";
1578
- name: string;
1579
- acceptRequest: boolean;
1580
- dbName: string;
1581
- doc: {
1582
- pf_business?: {
1583
- internal?: boolean | null | undefined;
1584
- url?: string | null | undefined;
1585
- expiredAt?: string | null | undefined;
1586
- agentId?: string | null | undefined;
1587
- attributeSettings?: {
1588
- type: "string" | "number" | "boolean" | "date";
1589
- key: string;
1590
- entity: "restaurant" | "item";
1591
- }[] | null | undefined;
1592
- pf_agent?: {
1593
- clickupId?: string | null | undefined;
1594
- members?: {
1595
- pf_user?: {
1596
- email?: string | null | undefined;
1597
- phoneNumber?: string | null | undefined;
1598
- birthday?: string | null | undefined;
1599
- gender?: "MALE" | "FEMALE" | null | undefined;
1600
- addresses?: {
1601
- name: string;
1602
- address: string;
1603
- coordinates: number[];
1604
- }[] | null | undefined;
1605
- photoURL?: string | null | undefined;
1606
- displayName?: string | null | undefined;
1607
- imported?: {
1608
- raw: Record<string, any>;
1609
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1610
- } | null | undefined;
1611
- _id: string;
1612
- } | null | undefined;
1613
- role: "ADMIN";
1614
- userId: string;
1615
- }[] | null | undefined;
1616
- code: string;
1617
- name: string;
1618
- _id: string;
1619
- isReseller: boolean;
1620
- } | null | undefined;
1621
- thumbnail?: string | null | undefined;
1622
- billingInfos?: {
1623
- _id?: string | null | undefined;
1624
- name: string;
1625
- address: {
1626
- coordinates?: number[] | null | undefined;
1627
- line2?: string | null | undefined;
1628
- state: string;
1629
- country: string;
1630
- line1: string;
1631
- city: string;
1632
- postcode: string;
1633
- };
1634
- email: string;
1635
- companyName: string;
1636
- contact: string;
1637
- }[] | null | undefined;
1638
- customerDisplayImages?: {
1639
- url: string;
1640
- restaurantIds: string[];
1641
- }[] | null | undefined;
1642
- name: string;
1643
- _id: string;
1644
- ownerId: string;
1645
- restaurantQuota: number;
1646
- warehouseQuota: number;
1647
- menuVersion: string;
1648
- } | null | undefined;
1649
- _id: string;
1650
- businessId: string;
1651
- profile: {
1652
- email?: string | null | undefined;
1653
- phoneNo?: string | null | undefined;
1654
- name: string;
1655
- address: {
1656
- coordinates?: number[] | null | undefined;
1657
- line2?: string | null | undefined;
1658
- state: string;
1659
- country: string;
1660
- line1: string;
1661
- city: string;
1662
- postcode: string;
1663
- };
1664
- regNo: string;
1665
- };
1666
- };
1667
- })[] | null | undefined;
1668
- _id: string;
1669
- name: string;
1670
- purchaseOrder: {
1671
- remark?: string | null | undefined;
1672
- ref?: string | null | undefined;
1673
- supplier?: {
1401
+ supplier: {
1674
1402
  phoneNumber?: string | null | undefined;
1675
1403
  email?: string | null | undefined;
1676
1404
  _rev?: string | null | undefined;
@@ -1706,17 +1434,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1706
1434
  postcode: string;
1707
1435
  country: string;
1708
1436
  };
1709
- } | undefined;
1710
- template?: string | null | undefined;
1711
- stockSnapshotId?: string | null | undefined;
1712
- effectiveAt?: string | null | undefined;
1713
- netSuite?: {
1714
- id?: string | null | undefined;
1715
- subsidiary: {
1716
- id?: string | null | undefined;
1717
- name?: string | null | undefined;
1718
- };
1719
- } | null | undefined;
1437
+ };
1438
+ };
1439
+ } | undefined;
1440
+ show?: boolean | undefined;
1441
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1442
+ onSubmitted?: (() => void) | undefined;
1443
+ }>;
1444
+ templateDetailsProps: Ref<{
1445
+ template?: {
1446
+ _rev?: string | null | undefined;
1447
+ locations?: {
1448
+ type: "restaurant" | "warehouse";
1449
+ name: string;
1450
+ acceptRequest: boolean;
1451
+ dbName: string;
1452
+ doc: {
1453
+ _id: string;
1454
+ businessId: string;
1455
+ profile: {
1456
+ code?: string | null | undefined;
1457
+ _id?: string | null | undefined;
1458
+ name?: string | undefined;
1459
+ address?: {
1460
+ coordinates?: number[] | null | undefined;
1461
+ line2?: string | null | undefined;
1462
+ state: string;
1463
+ country: string;
1464
+ line1: string;
1465
+ city: string;
1466
+ postcode: string;
1467
+ } | undefined;
1468
+ email?: string | undefined;
1469
+ regNo?: string | undefined;
1470
+ sstRegNo?: string | null | undefined;
1471
+ phoneNo?: string | undefined;
1472
+ legalName?: string | null | undefined;
1473
+ discovery?: boolean | null | undefined;
1474
+ coverPhoto?: string | null | undefined;
1475
+ thumbnailPhoto?: string | null | undefined;
1476
+ description?: string | null | undefined;
1477
+ photos?: string[] | null | undefined;
1478
+ operatingHours?: {
1479
+ 0: {
1480
+ hours: {
1481
+ end: string;
1482
+ start: string;
1483
+ }[];
1484
+ enable: boolean;
1485
+ };
1486
+ 2: {
1487
+ hours: {
1488
+ end: string;
1489
+ start: string;
1490
+ }[];
1491
+ enable: boolean;
1492
+ };
1493
+ 1: {
1494
+ hours: {
1495
+ end: string;
1496
+ start: string;
1497
+ }[];
1498
+ enable: boolean;
1499
+ };
1500
+ 3: {
1501
+ hours: {
1502
+ end: string;
1503
+ start: string;
1504
+ }[];
1505
+ enable: boolean;
1506
+ };
1507
+ 4: {
1508
+ hours: {
1509
+ end: string;
1510
+ start: string;
1511
+ }[];
1512
+ enable: boolean;
1513
+ };
1514
+ 5: {
1515
+ hours: {
1516
+ end: string;
1517
+ start: string;
1518
+ }[];
1519
+ enable: boolean;
1520
+ };
1521
+ 6: {
1522
+ hours: {
1523
+ end: string;
1524
+ start: string;
1525
+ }[];
1526
+ enable: boolean;
1527
+ };
1528
+ } | null | undefined;
1529
+ tags?: string[] | null | undefined;
1530
+ url?: string | null | undefined;
1531
+ };
1532
+ };
1533
+ }[] | null | undefined;
1534
+ _id: string;
1535
+ name: string;
1536
+ purchaseOrder: {
1537
+ remark?: string | null | undefined;
1538
+ ref?: string | null | undefined;
1720
1539
  items: {
1721
1540
  measurement?: {
1722
1541
  id: string;
@@ -1746,7 +1565,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1746
1565
  precision: number;
1747
1566
  };
1748
1567
  } | null | undefined;
1749
- type: "RECIPE" | "SKU";
1568
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1750
1569
  amount: {
1751
1570
  amount: number;
1752
1571
  precision: number;
@@ -1814,119 +1633,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1814
1633
  precision: number;
1815
1634
  };
1816
1635
  }[];
1817
- };
1818
- } | undefined;
1819
- show?: boolean | undefined;
1820
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1821
- 'onAction:use'?: ((locationId: string) => void) | undefined;
1822
- 'onAction:edit'?: (() => void) | undefined;
1823
- }, TransferTemplateDetailsPropsWithEventBinding | {
1824
- template?: {
1825
- _rev?: string | null | undefined;
1826
- locations?: ({
1827
- doc?: any;
1828
- type: "restaurant";
1829
- name: string;
1830
- acceptRequest: boolean;
1831
- dbName: string;
1832
- } | {
1833
- type: "warehouse";
1834
- name: string;
1835
- acceptRequest: boolean;
1836
- dbName: string;
1837
- doc: {
1838
- pf_business?: {
1839
- internal?: boolean | null | undefined;
1840
- url?: string | null | undefined;
1841
- expiredAt?: string | null | undefined;
1842
- agentId?: string | null | undefined;
1843
- attributeSettings?: {
1844
- type: "string" | "number" | "boolean" | "date";
1845
- key: string;
1846
- entity: "restaurant" | "item";
1847
- }[] | null | undefined;
1848
- pf_agent?: {
1849
- clickupId?: string | null | undefined;
1850
- members?: {
1851
- pf_user?: {
1852
- email?: string | null | undefined;
1853
- phoneNumber?: string | null | undefined;
1854
- birthday?: string | null | undefined;
1855
- gender?: "MALE" | "FEMALE" | null | undefined;
1856
- addresses?: {
1857
- name: string;
1858
- address: string;
1859
- coordinates: number[];
1860
- }[] | null | undefined;
1861
- photoURL?: string | null | undefined;
1862
- displayName?: string | null | undefined;
1863
- imported?: {
1864
- raw: Record<string, any>;
1865
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1866
- } | null | undefined;
1867
- _id: string;
1868
- } | null | undefined;
1869
- role: "ADMIN";
1870
- userId: string;
1871
- }[] | null | undefined;
1872
- code: string;
1873
- name: string;
1874
- _id: string;
1875
- isReseller: boolean;
1876
- } | null | undefined;
1877
- thumbnail?: string | null | undefined;
1878
- billingInfos?: {
1879
- _id?: string | null | undefined;
1880
- name: string;
1881
- address: {
1882
- coordinates?: number[] | null | undefined;
1883
- line2?: string | null | undefined;
1884
- state: string;
1885
- country: string;
1886
- line1: string;
1887
- city: string;
1888
- postcode: string;
1889
- };
1890
- email: string;
1891
- companyName: string;
1892
- contact: string;
1893
- }[] | null | undefined;
1894
- customerDisplayImages?: {
1895
- url: string;
1896
- restaurantIds: string[];
1897
- }[] | null | undefined;
1898
- name: string;
1899
- _id: string;
1900
- ownerId: string;
1901
- restaurantQuota: number;
1902
- warehouseQuota: number;
1903
- menuVersion: string;
1904
- } | null | undefined;
1905
- _id: string;
1906
- businessId: string;
1907
- profile: {
1908
- email?: string | null | undefined;
1909
- phoneNo?: string | null | undefined;
1910
- name: string;
1911
- address: {
1912
- coordinates?: number[] | null | undefined;
1913
- line2?: string | null | undefined;
1914
- state: string;
1915
- country: string;
1916
- line1: string;
1917
- city: string;
1918
- postcode: string;
1919
- };
1920
- regNo: string;
1921
- };
1922
- };
1923
- })[] | null | undefined;
1924
- _id: string;
1925
- name: string;
1926
- purchaseOrder: {
1927
- remark?: string | null | undefined;
1928
- ref?: string | null | undefined;
1929
- supplier?: {
1636
+ supplier: {
1930
1637
  phoneNumber?: string | null | undefined;
1931
1638
  email?: string | null | undefined;
1932
1639
  _rev?: string | null | undefined;
@@ -1962,17 +1669,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1962
1669
  postcode: string;
1963
1670
  country: string;
1964
1671
  };
1965
- } | undefined;
1966
- template?: string | null | undefined;
1967
- stockSnapshotId?: string | null | undefined;
1968
- effectiveAt?: string | null | undefined;
1969
- netSuite?: {
1970
- id?: string | null | undefined;
1971
- subsidiary: {
1972
- id?: string | null | undefined;
1973
- name?: string | null | undefined;
1974
- };
1975
- } | null | undefined;
1672
+ };
1673
+ };
1674
+ } | undefined;
1675
+ show?: boolean | undefined;
1676
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1677
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
1678
+ 'onAction:edit'?: (() => void) | undefined;
1679
+ }, TransferTemplateDetailsPropsWithEventBinding | {
1680
+ template?: {
1681
+ _rev?: string | null | undefined;
1682
+ locations?: {
1683
+ type: "restaurant" | "warehouse";
1684
+ name: string;
1685
+ acceptRequest: boolean;
1686
+ dbName: string;
1687
+ doc: {
1688
+ _id: string;
1689
+ businessId: string;
1690
+ profile: {
1691
+ code?: string | null | undefined;
1692
+ _id?: string | null | undefined;
1693
+ name?: string | undefined;
1694
+ address?: {
1695
+ coordinates?: number[] | null | undefined;
1696
+ line2?: string | null | undefined;
1697
+ state: string;
1698
+ country: string;
1699
+ line1: string;
1700
+ city: string;
1701
+ postcode: string;
1702
+ } | undefined;
1703
+ email?: string | undefined;
1704
+ regNo?: string | undefined;
1705
+ sstRegNo?: string | null | undefined;
1706
+ phoneNo?: string | undefined;
1707
+ legalName?: string | null | undefined;
1708
+ discovery?: boolean | null | undefined;
1709
+ coverPhoto?: string | null | undefined;
1710
+ thumbnailPhoto?: string | null | undefined;
1711
+ description?: string | null | undefined;
1712
+ photos?: string[] | null | undefined;
1713
+ operatingHours?: {
1714
+ 0: {
1715
+ hours: {
1716
+ end: string;
1717
+ start: string;
1718
+ }[];
1719
+ enable: boolean;
1720
+ };
1721
+ 2: {
1722
+ hours: {
1723
+ end: string;
1724
+ start: string;
1725
+ }[];
1726
+ enable: boolean;
1727
+ };
1728
+ 1: {
1729
+ hours: {
1730
+ end: string;
1731
+ start: string;
1732
+ }[];
1733
+ enable: boolean;
1734
+ };
1735
+ 3: {
1736
+ hours: {
1737
+ end: string;
1738
+ start: string;
1739
+ }[];
1740
+ enable: boolean;
1741
+ };
1742
+ 4: {
1743
+ hours: {
1744
+ end: string;
1745
+ start: string;
1746
+ }[];
1747
+ enable: boolean;
1748
+ };
1749
+ 5: {
1750
+ hours: {
1751
+ end: string;
1752
+ start: string;
1753
+ }[];
1754
+ enable: boolean;
1755
+ };
1756
+ 6: {
1757
+ hours: {
1758
+ end: string;
1759
+ start: string;
1760
+ }[];
1761
+ enable: boolean;
1762
+ };
1763
+ } | null | undefined;
1764
+ tags?: string[] | null | undefined;
1765
+ url?: string | null | undefined;
1766
+ };
1767
+ };
1768
+ }[] | null | undefined;
1769
+ _id: string;
1770
+ name: string;
1771
+ purchaseOrder: {
1772
+ remark?: string | null | undefined;
1773
+ ref?: string | null | undefined;
1976
1774
  items: {
1977
1775
  measurement?: {
1978
1776
  id: string;
@@ -2002,7 +1800,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2002
1800
  precision: number;
2003
1801
  };
2004
1802
  } | null | undefined;
2005
- type: "RECIPE" | "SKU";
1803
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2006
1804
  amount: {
2007
1805
  amount: number;
2008
1806
  precision: number;
@@ -2070,6 +1868,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2070
1868
  precision: number;
2071
1869
  };
2072
1870
  }[];
1871
+ supplier: {
1872
+ phoneNumber?: string | null | undefined;
1873
+ email?: string | null | undefined;
1874
+ _rev?: string | null | undefined;
1875
+ internal?: "restaurant" | "warehouse" | null | undefined;
1876
+ contactName?: string | null | undefined;
1877
+ registrationNumber?: string | undefined;
1878
+ supplyItems?: {
1879
+ defaultCost: {
1880
+ measurement?: {
1881
+ id: string;
1882
+ name: string;
1883
+ abbrev: string;
1884
+ conversion: {
1885
+ amount: number;
1886
+ precision: number;
1887
+ };
1888
+ } | null | undefined;
1889
+ costPerUnit: {
1890
+ 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";
1891
+ amount: number;
1892
+ precision: number;
1893
+ };
1894
+ };
1895
+ skuId: string;
1896
+ }[] | null | undefined;
1897
+ _id: string;
1898
+ name: string;
1899
+ address: {
1900
+ line2?: string | null | undefined;
1901
+ line1: string;
1902
+ state: string;
1903
+ city: string;
1904
+ postcode: string;
1905
+ country: string;
1906
+ };
1907
+ };
2073
1908
  };
2074
1909
  } | undefined;
2075
1910
  show?: boolean | undefined;
@@ -2077,103 +1912,31 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2077
1912
  'onAction:use'?: ((locationId: string) => void) | undefined;
2078
1913
  'onAction:edit'?: (() => void) | undefined;
2079
1914
  }>;
2080
- transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
2081
1915
  }, never>, Pick<{
2082
1916
  createTemplate: () => void;
2083
1917
  viewTemplate: (template: POTemplate) => void;
2084
1918
  updateTemplate: (template: POTemplate) => void;
2085
1919
  deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
2086
- useTemplate: (template: POTemplate) => void;
1920
+ getTemplateId: () => Promise<string | undefined>;
1921
+ importTemplates: () => void;
1922
+ exportTemplates: () => void;
2087
1923
  templateDialogProps: Ref<{
2088
1924
  mode?: FormMode | undefined;
2089
1925
  modelValue?: {
2090
1926
  _rev?: string | null | undefined;
2091
- locations?: ({
2092
- doc?: any;
2093
- type: "restaurant";
2094
- name: string;
2095
- acceptRequest: boolean;
2096
- dbName: string;
2097
- } | {
2098
- type: "warehouse";
1927
+ locations?: {
1928
+ type: "restaurant" | "warehouse";
2099
1929
  name: string;
2100
1930
  acceptRequest: boolean;
2101
1931
  dbName: string;
2102
1932
  doc: {
2103
- pf_business?: {
2104
- internal?: boolean | null | undefined;
2105
- url?: string | null | undefined;
2106
- expiredAt?: string | null | undefined;
2107
- agentId?: string | null | undefined;
2108
- attributeSettings?: {
2109
- type: "string" | "number" | "boolean" | "date";
2110
- key: string;
2111
- entity: "restaurant" | "item";
2112
- }[] | null | undefined;
2113
- pf_agent?: {
2114
- clickupId?: string | null | undefined;
2115
- members?: {
2116
- pf_user?: {
2117
- email?: string | null | undefined;
2118
- phoneNumber?: string | null | undefined;
2119
- birthday?: string | null | undefined;
2120
- gender?: "MALE" | "FEMALE" | null | undefined;
2121
- addresses?: {
2122
- name: string;
2123
- address: string;
2124
- coordinates: number[];
2125
- }[] | null | undefined;
2126
- photoURL?: string | null | undefined;
2127
- displayName?: string | null | undefined;
2128
- imported?: {
2129
- raw: Record<string, any>;
2130
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2131
- } | null | undefined;
2132
- _id: string;
2133
- } | null | undefined;
2134
- role: "ADMIN";
2135
- userId: string;
2136
- }[] | null | undefined;
2137
- code: string;
2138
- name: string;
2139
- _id: string;
2140
- isReseller: boolean;
2141
- } | null | undefined;
2142
- thumbnail?: string | null | undefined;
2143
- billingInfos?: {
2144
- _id?: string | null | undefined;
2145
- name: string;
2146
- address: {
2147
- coordinates?: number[] | null | undefined;
2148
- line2?: string | null | undefined;
2149
- state: string;
2150
- country: string;
2151
- line1: string;
2152
- city: string;
2153
- postcode: string;
2154
- };
2155
- email: string;
2156
- companyName: string;
2157
- contact: string;
2158
- }[] | null | undefined;
2159
- customerDisplayImages?: {
2160
- url: string;
2161
- restaurantIds: string[];
2162
- }[] | null | undefined;
2163
- name: string;
2164
- _id: string;
2165
- ownerId: string;
2166
- restaurantQuota: number;
2167
- warehouseQuota: number;
2168
- menuVersion: string;
2169
- } | null | undefined;
2170
1933
  _id: string;
2171
1934
  businessId: string;
2172
1935
  profile: {
2173
- email?: string | null | undefined;
2174
- phoneNo?: string | null | undefined;
2175
- name: string;
2176
- address: {
1936
+ code?: string | null | undefined;
1937
+ _id?: string | null | undefined;
1938
+ name?: string | undefined;
1939
+ address?: {
2177
1940
  coordinates?: number[] | null | undefined;
2178
1941
  line2?: string | null | undefined;
2179
1942
  state: string;
@@ -2181,63 +1944,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2181
1944
  line1: string;
2182
1945
  city: string;
2183
1946
  postcode: string;
2184
- };
2185
- regNo: string;
1947
+ } | undefined;
1948
+ email?: string | undefined;
1949
+ regNo?: string | undefined;
1950
+ sstRegNo?: string | null | undefined;
1951
+ phoneNo?: string | undefined;
1952
+ legalName?: string | null | undefined;
1953
+ discovery?: boolean | null | undefined;
1954
+ coverPhoto?: string | null | undefined;
1955
+ thumbnailPhoto?: string | null | undefined;
1956
+ description?: string | null | undefined;
1957
+ photos?: string[] | null | undefined;
1958
+ operatingHours?: {
1959
+ 0: {
1960
+ hours: {
1961
+ end: string;
1962
+ start: string;
1963
+ }[];
1964
+ enable: boolean;
1965
+ };
1966
+ 2: {
1967
+ hours: {
1968
+ end: string;
1969
+ start: string;
1970
+ }[];
1971
+ enable: boolean;
1972
+ };
1973
+ 1: {
1974
+ hours: {
1975
+ end: string;
1976
+ start: string;
1977
+ }[];
1978
+ enable: boolean;
1979
+ };
1980
+ 3: {
1981
+ hours: {
1982
+ end: string;
1983
+ start: string;
1984
+ }[];
1985
+ enable: boolean;
1986
+ };
1987
+ 4: {
1988
+ hours: {
1989
+ end: string;
1990
+ start: string;
1991
+ }[];
1992
+ enable: boolean;
1993
+ };
1994
+ 5: {
1995
+ hours: {
1996
+ end: string;
1997
+ start: string;
1998
+ }[];
1999
+ enable: boolean;
2000
+ };
2001
+ 6: {
2002
+ hours: {
2003
+ end: string;
2004
+ start: string;
2005
+ }[];
2006
+ enable: boolean;
2007
+ };
2008
+ } | null | undefined;
2009
+ tags?: string[] | null | undefined;
2010
+ url?: string | null | undefined;
2186
2011
  };
2187
2012
  };
2188
- })[] | null | undefined;
2013
+ }[] | null | undefined;
2189
2014
  _id: string;
2190
2015
  name: string;
2191
2016
  purchaseOrder: {
2192
2017
  remark?: string | null | undefined;
2193
2018
  ref?: string | null | undefined;
2194
- supplier?: {
2195
- phoneNumber?: string | null | undefined;
2196
- email?: string | null | undefined;
2197
- _rev?: string | null | undefined;
2198
- internal?: "restaurant" | "warehouse" | null | undefined;
2199
- contactName?: string | null | undefined;
2200
- registrationNumber?: string | undefined;
2201
- supplyItems?: {
2202
- defaultCost: {
2203
- measurement?: {
2204
- id: string;
2205
- name: string;
2206
- abbrev: string;
2207
- conversion: {
2208
- amount: number;
2209
- precision: number;
2210
- };
2211
- } | null | undefined;
2212
- costPerUnit: {
2213
- 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";
2214
- amount: number;
2215
- precision: number;
2216
- };
2217
- };
2218
- skuId: string;
2219
- }[] | null | undefined;
2220
- _id: string;
2221
- name: string;
2222
- address: {
2223
- line2?: string | null | undefined;
2224
- line1: string;
2225
- state: string;
2226
- city: string;
2227
- postcode: string;
2228
- country: string;
2229
- };
2230
- } | undefined;
2231
- template?: string | null | undefined;
2232
- stockSnapshotId?: string | null | undefined;
2233
- effectiveAt?: string | null | undefined;
2234
- netSuite?: {
2235
- id?: string | null | undefined;
2236
- subsidiary: {
2237
- id?: string | null | undefined;
2238
- name?: string | null | undefined;
2239
- };
2240
- } | null | undefined;
2241
2019
  items: {
2242
2020
  measurement?: {
2243
2021
  id: string;
@@ -2267,7 +2045,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2267
2045
  precision: number;
2268
2046
  };
2269
2047
  } | null | undefined;
2270
- type: "RECIPE" | "SKU";
2048
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2271
2049
  amount: {
2272
2050
  amount: number;
2273
2051
  precision: number;
@@ -2330,124 +2108,12 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2330
2108
  amount: number;
2331
2109
  precision: number;
2332
2110
  };
2333
- maximumQuantity: {
2334
- amount: number;
2335
- precision: number;
2336
- };
2337
- }[];
2338
- };
2339
- } | undefined;
2340
- show?: boolean | undefined;
2341
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2342
- onSubmitted?: (() => void) | undefined;
2343
- }, TransferTemplateDialogPropsWithEventBinding | {
2344
- mode?: FormMode | undefined;
2345
- modelValue?: {
2346
- _rev?: string | null | undefined;
2347
- locations?: ({
2348
- doc?: any;
2349
- type: "restaurant";
2350
- name: string;
2351
- acceptRequest: boolean;
2352
- dbName: string;
2353
- } | {
2354
- type: "warehouse";
2355
- name: string;
2356
- acceptRequest: boolean;
2357
- dbName: string;
2358
- doc: {
2359
- pf_business?: {
2360
- internal?: boolean | null | undefined;
2361
- url?: string | null | undefined;
2362
- expiredAt?: string | null | undefined;
2363
- agentId?: string | null | undefined;
2364
- attributeSettings?: {
2365
- type: "string" | "number" | "boolean" | "date";
2366
- key: string;
2367
- entity: "restaurant" | "item";
2368
- }[] | null | undefined;
2369
- pf_agent?: {
2370
- clickupId?: string | null | undefined;
2371
- members?: {
2372
- pf_user?: {
2373
- email?: string | null | undefined;
2374
- phoneNumber?: string | null | undefined;
2375
- birthday?: string | null | undefined;
2376
- gender?: "MALE" | "FEMALE" | null | undefined;
2377
- addresses?: {
2378
- name: string;
2379
- address: string;
2380
- coordinates: number[];
2381
- }[] | null | undefined;
2382
- photoURL?: string | null | undefined;
2383
- displayName?: string | null | undefined;
2384
- imported?: {
2385
- raw: Record<string, any>;
2386
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2387
- } | null | undefined;
2388
- _id: string;
2389
- } | null | undefined;
2390
- role: "ADMIN";
2391
- userId: string;
2392
- }[] | null | undefined;
2393
- code: string;
2394
- name: string;
2395
- _id: string;
2396
- isReseller: boolean;
2397
- } | null | undefined;
2398
- thumbnail?: string | null | undefined;
2399
- billingInfos?: {
2400
- _id?: string | null | undefined;
2401
- name: string;
2402
- address: {
2403
- coordinates?: number[] | null | undefined;
2404
- line2?: string | null | undefined;
2405
- state: string;
2406
- country: string;
2407
- line1: string;
2408
- city: string;
2409
- postcode: string;
2410
- };
2411
- email: string;
2412
- companyName: string;
2413
- contact: string;
2414
- }[] | null | undefined;
2415
- customerDisplayImages?: {
2416
- url: string;
2417
- restaurantIds: string[];
2418
- }[] | null | undefined;
2419
- name: string;
2420
- _id: string;
2421
- ownerId: string;
2422
- restaurantQuota: number;
2423
- warehouseQuota: number;
2424
- menuVersion: string;
2425
- } | null | undefined;
2426
- _id: string;
2427
- businessId: string;
2428
- profile: {
2429
- email?: string | null | undefined;
2430
- phoneNo?: string | null | undefined;
2431
- name: string;
2432
- address: {
2433
- coordinates?: number[] | null | undefined;
2434
- line2?: string | null | undefined;
2435
- state: string;
2436
- country: string;
2437
- line1: string;
2438
- city: string;
2439
- postcode: string;
2440
- };
2441
- regNo: string;
2111
+ maximumQuantity: {
2112
+ amount: number;
2113
+ precision: number;
2442
2114
  };
2443
- };
2444
- })[] | null | undefined;
2445
- _id: string;
2446
- name: string;
2447
- purchaseOrder: {
2448
- remark?: string | null | undefined;
2449
- ref?: string | null | undefined;
2450
- supplier?: {
2115
+ }[];
2116
+ supplier: {
2451
2117
  phoneNumber?: string | null | undefined;
2452
2118
  email?: string | null | undefined;
2453
2119
  _rev?: string | null | undefined;
@@ -2483,17 +2149,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2483
2149
  postcode: string;
2484
2150
  country: string;
2485
2151
  };
2486
- } | undefined;
2487
- template?: string | null | undefined;
2488
- stockSnapshotId?: string | null | undefined;
2489
- effectiveAt?: string | null | undefined;
2490
- netSuite?: {
2491
- id?: string | null | undefined;
2492
- subsidiary: {
2493
- id?: string | null | undefined;
2494
- name?: string | null | undefined;
2495
- };
2496
- } | null | undefined;
2152
+ };
2153
+ };
2154
+ } | undefined;
2155
+ show?: boolean | undefined;
2156
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2157
+ onSubmitted?: (() => void) | undefined;
2158
+ }, TransferTemplateDialogPropsWithEventBinding | {
2159
+ mode?: FormMode | undefined;
2160
+ modelValue?: {
2161
+ _rev?: string | null | undefined;
2162
+ locations?: {
2163
+ type: "restaurant" | "warehouse";
2164
+ name: string;
2165
+ acceptRequest: boolean;
2166
+ dbName: string;
2167
+ doc: {
2168
+ _id: string;
2169
+ businessId: string;
2170
+ profile: {
2171
+ code?: string | null | undefined;
2172
+ _id?: string | null | undefined;
2173
+ name?: string | undefined;
2174
+ address?: {
2175
+ coordinates?: number[] | null | undefined;
2176
+ line2?: string | null | undefined;
2177
+ state: string;
2178
+ country: string;
2179
+ line1: string;
2180
+ city: string;
2181
+ postcode: string;
2182
+ } | undefined;
2183
+ email?: string | undefined;
2184
+ regNo?: string | undefined;
2185
+ sstRegNo?: string | null | undefined;
2186
+ phoneNo?: string | undefined;
2187
+ legalName?: string | null | undefined;
2188
+ discovery?: boolean | null | undefined;
2189
+ coverPhoto?: string | null | undefined;
2190
+ thumbnailPhoto?: string | null | undefined;
2191
+ description?: string | null | undefined;
2192
+ photos?: string[] | null | undefined;
2193
+ operatingHours?: {
2194
+ 0: {
2195
+ hours: {
2196
+ end: string;
2197
+ start: string;
2198
+ }[];
2199
+ enable: boolean;
2200
+ };
2201
+ 2: {
2202
+ hours: {
2203
+ end: string;
2204
+ start: string;
2205
+ }[];
2206
+ enable: boolean;
2207
+ };
2208
+ 1: {
2209
+ hours: {
2210
+ end: string;
2211
+ start: string;
2212
+ }[];
2213
+ enable: boolean;
2214
+ };
2215
+ 3: {
2216
+ hours: {
2217
+ end: string;
2218
+ start: string;
2219
+ }[];
2220
+ enable: boolean;
2221
+ };
2222
+ 4: {
2223
+ hours: {
2224
+ end: string;
2225
+ start: string;
2226
+ }[];
2227
+ enable: boolean;
2228
+ };
2229
+ 5: {
2230
+ hours: {
2231
+ end: string;
2232
+ start: string;
2233
+ }[];
2234
+ enable: boolean;
2235
+ };
2236
+ 6: {
2237
+ hours: {
2238
+ end: string;
2239
+ start: string;
2240
+ }[];
2241
+ enable: boolean;
2242
+ };
2243
+ } | null | undefined;
2244
+ tags?: string[] | null | undefined;
2245
+ url?: string | null | undefined;
2246
+ };
2247
+ };
2248
+ }[] | null | undefined;
2249
+ _id: string;
2250
+ name: string;
2251
+ purchaseOrder: {
2252
+ remark?: string | null | undefined;
2253
+ ref?: string | null | undefined;
2497
2254
  items: {
2498
2255
  measurement?: {
2499
2256
  id: string;
@@ -2523,7 +2280,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2523
2280
  precision: number;
2524
2281
  };
2525
2282
  } | null | undefined;
2526
- type: "RECIPE" | "SKU";
2283
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2527
2284
  amount: {
2528
2285
  amount: number;
2529
2286
  precision: number;
@@ -2591,119 +2348,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2591
2348
  precision: number;
2592
2349
  };
2593
2350
  }[];
2594
- };
2595
- } | undefined;
2596
- show?: boolean | undefined;
2597
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2598
- onSubmitted?: (() => void) | undefined;
2599
- }>;
2600
- templateDetailsProps: Ref<{
2601
- template?: {
2602
- _rev?: string | null | undefined;
2603
- locations?: ({
2604
- doc?: any;
2605
- type: "restaurant";
2606
- name: string;
2607
- acceptRequest: boolean;
2608
- dbName: string;
2609
- } | {
2610
- type: "warehouse";
2611
- name: string;
2612
- acceptRequest: boolean;
2613
- dbName: string;
2614
- doc: {
2615
- pf_business?: {
2616
- internal?: boolean | null | undefined;
2617
- url?: string | null | undefined;
2618
- expiredAt?: string | null | undefined;
2619
- agentId?: string | null | undefined;
2620
- attributeSettings?: {
2621
- type: "string" | "number" | "boolean" | "date";
2622
- key: string;
2623
- entity: "restaurant" | "item";
2624
- }[] | null | undefined;
2625
- pf_agent?: {
2626
- clickupId?: string | null | undefined;
2627
- members?: {
2628
- pf_user?: {
2629
- email?: string | null | undefined;
2630
- phoneNumber?: string | null | undefined;
2631
- birthday?: string | null | undefined;
2632
- gender?: "MALE" | "FEMALE" | null | undefined;
2633
- addresses?: {
2634
- name: string;
2635
- address: string;
2636
- coordinates: number[];
2637
- }[] | null | undefined;
2638
- photoURL?: string | null | undefined;
2639
- displayName?: string | null | undefined;
2640
- imported?: {
2641
- raw: Record<string, any>;
2642
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2643
- } | null | undefined;
2644
- _id: string;
2645
- } | null | undefined;
2646
- role: "ADMIN";
2647
- userId: string;
2648
- }[] | null | undefined;
2649
- code: string;
2650
- name: string;
2651
- _id: string;
2652
- isReseller: boolean;
2653
- } | null | undefined;
2654
- thumbnail?: string | null | undefined;
2655
- billingInfos?: {
2656
- _id?: string | null | undefined;
2657
- name: string;
2658
- address: {
2659
- coordinates?: number[] | null | undefined;
2660
- line2?: string | null | undefined;
2661
- state: string;
2662
- country: string;
2663
- line1: string;
2664
- city: string;
2665
- postcode: string;
2666
- };
2667
- email: string;
2668
- companyName: string;
2669
- contact: string;
2670
- }[] | null | undefined;
2671
- customerDisplayImages?: {
2672
- url: string;
2673
- restaurantIds: string[];
2674
- }[] | null | undefined;
2675
- name: string;
2676
- _id: string;
2677
- ownerId: string;
2678
- restaurantQuota: number;
2679
- warehouseQuota: number;
2680
- menuVersion: string;
2681
- } | null | undefined;
2682
- _id: string;
2683
- businessId: string;
2684
- profile: {
2685
- email?: string | null | undefined;
2686
- phoneNo?: string | null | undefined;
2687
- name: string;
2688
- address: {
2689
- coordinates?: number[] | null | undefined;
2690
- line2?: string | null | undefined;
2691
- state: string;
2692
- country: string;
2693
- line1: string;
2694
- city: string;
2695
- postcode: string;
2696
- };
2697
- regNo: string;
2698
- };
2699
- };
2700
- })[] | null | undefined;
2701
- _id: string;
2702
- name: string;
2703
- purchaseOrder: {
2704
- remark?: string | null | undefined;
2705
- ref?: string | null | undefined;
2706
- supplier?: {
2351
+ supplier: {
2707
2352
  phoneNumber?: string | null | undefined;
2708
2353
  email?: string | null | undefined;
2709
2354
  _rev?: string | null | undefined;
@@ -2739,17 +2384,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2739
2384
  postcode: string;
2740
2385
  country: string;
2741
2386
  };
2742
- } | undefined;
2743
- template?: string | null | undefined;
2744
- stockSnapshotId?: string | null | undefined;
2745
- effectiveAt?: string | null | undefined;
2746
- netSuite?: {
2747
- id?: string | null | undefined;
2748
- subsidiary: {
2749
- id?: string | null | undefined;
2750
- name?: string | null | undefined;
2751
- };
2752
- } | null | undefined;
2387
+ };
2388
+ };
2389
+ } | undefined;
2390
+ show?: boolean | undefined;
2391
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2392
+ onSubmitted?: (() => void) | undefined;
2393
+ }>;
2394
+ templateDetailsProps: Ref<{
2395
+ template?: {
2396
+ _rev?: string | null | undefined;
2397
+ locations?: {
2398
+ type: "restaurant" | "warehouse";
2399
+ name: string;
2400
+ acceptRequest: boolean;
2401
+ dbName: string;
2402
+ doc: {
2403
+ _id: string;
2404
+ businessId: string;
2405
+ profile: {
2406
+ code?: string | null | undefined;
2407
+ _id?: string | null | undefined;
2408
+ name?: string | undefined;
2409
+ address?: {
2410
+ coordinates?: number[] | null | undefined;
2411
+ line2?: string | null | undefined;
2412
+ state: string;
2413
+ country: string;
2414
+ line1: string;
2415
+ city: string;
2416
+ postcode: string;
2417
+ } | undefined;
2418
+ email?: string | undefined;
2419
+ regNo?: string | undefined;
2420
+ sstRegNo?: string | null | undefined;
2421
+ phoneNo?: string | undefined;
2422
+ legalName?: string | null | undefined;
2423
+ discovery?: boolean | null | undefined;
2424
+ coverPhoto?: string | null | undefined;
2425
+ thumbnailPhoto?: string | null | undefined;
2426
+ description?: string | null | undefined;
2427
+ photos?: string[] | null | undefined;
2428
+ operatingHours?: {
2429
+ 0: {
2430
+ hours: {
2431
+ end: string;
2432
+ start: string;
2433
+ }[];
2434
+ enable: boolean;
2435
+ };
2436
+ 2: {
2437
+ hours: {
2438
+ end: string;
2439
+ start: string;
2440
+ }[];
2441
+ enable: boolean;
2442
+ };
2443
+ 1: {
2444
+ hours: {
2445
+ end: string;
2446
+ start: string;
2447
+ }[];
2448
+ enable: boolean;
2449
+ };
2450
+ 3: {
2451
+ hours: {
2452
+ end: string;
2453
+ start: string;
2454
+ }[];
2455
+ enable: boolean;
2456
+ };
2457
+ 4: {
2458
+ hours: {
2459
+ end: string;
2460
+ start: string;
2461
+ }[];
2462
+ enable: boolean;
2463
+ };
2464
+ 5: {
2465
+ hours: {
2466
+ end: string;
2467
+ start: string;
2468
+ }[];
2469
+ enable: boolean;
2470
+ };
2471
+ 6: {
2472
+ hours: {
2473
+ end: string;
2474
+ start: string;
2475
+ }[];
2476
+ enable: boolean;
2477
+ };
2478
+ } | null | undefined;
2479
+ tags?: string[] | null | undefined;
2480
+ url?: string | null | undefined;
2481
+ };
2482
+ };
2483
+ }[] | null | undefined;
2484
+ _id: string;
2485
+ name: string;
2486
+ purchaseOrder: {
2487
+ remark?: string | null | undefined;
2488
+ ref?: string | null | undefined;
2753
2489
  items: {
2754
2490
  measurement?: {
2755
2491
  id: string;
@@ -2779,7 +2515,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2779
2515
  precision: number;
2780
2516
  };
2781
2517
  } | null | undefined;
2782
- type: "RECIPE" | "SKU";
2518
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2783
2519
  amount: {
2784
2520
  amount: number;
2785
2521
  precision: number;
@@ -2847,119 +2583,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2847
2583
  precision: number;
2848
2584
  };
2849
2585
  }[];
2850
- };
2851
- } | undefined;
2852
- show?: boolean | undefined;
2853
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2854
- 'onAction:use'?: ((locationId: string) => void) | undefined;
2855
- 'onAction:edit'?: (() => void) | undefined;
2856
- }, TransferTemplateDetailsPropsWithEventBinding | {
2857
- template?: {
2858
- _rev?: string | null | undefined;
2859
- locations?: ({
2860
- doc?: any;
2861
- type: "restaurant";
2862
- name: string;
2863
- acceptRequest: boolean;
2864
- dbName: string;
2865
- } | {
2866
- type: "warehouse";
2867
- name: string;
2868
- acceptRequest: boolean;
2869
- dbName: string;
2870
- doc: {
2871
- pf_business?: {
2872
- internal?: boolean | null | undefined;
2873
- url?: string | null | undefined;
2874
- expiredAt?: string | null | undefined;
2875
- agentId?: string | null | undefined;
2876
- attributeSettings?: {
2877
- type: "string" | "number" | "boolean" | "date";
2878
- key: string;
2879
- entity: "restaurant" | "item";
2880
- }[] | null | undefined;
2881
- pf_agent?: {
2882
- clickupId?: string | null | undefined;
2883
- members?: {
2884
- pf_user?: {
2885
- email?: string | null | undefined;
2886
- phoneNumber?: string | null | undefined;
2887
- birthday?: string | null | undefined;
2888
- gender?: "MALE" | "FEMALE" | null | undefined;
2889
- addresses?: {
2890
- name: string;
2891
- address: string;
2892
- coordinates: number[];
2893
- }[] | null | undefined;
2894
- photoURL?: string | null | undefined;
2895
- displayName?: string | null | undefined;
2896
- imported?: {
2897
- raw: Record<string, any>;
2898
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2899
- } | null | undefined;
2900
- _id: string;
2901
- } | null | undefined;
2902
- role: "ADMIN";
2903
- userId: string;
2904
- }[] | null | undefined;
2905
- code: string;
2906
- name: string;
2907
- _id: string;
2908
- isReseller: boolean;
2909
- } | null | undefined;
2910
- thumbnail?: string | null | undefined;
2911
- billingInfos?: {
2912
- _id?: string | null | undefined;
2913
- name: string;
2914
- address: {
2915
- coordinates?: number[] | null | undefined;
2916
- line2?: string | null | undefined;
2917
- state: string;
2918
- country: string;
2919
- line1: string;
2920
- city: string;
2921
- postcode: string;
2922
- };
2923
- email: string;
2924
- companyName: string;
2925
- contact: string;
2926
- }[] | null | undefined;
2927
- customerDisplayImages?: {
2928
- url: string;
2929
- restaurantIds: string[];
2930
- }[] | null | undefined;
2931
- name: string;
2932
- _id: string;
2933
- ownerId: string;
2934
- restaurantQuota: number;
2935
- warehouseQuota: number;
2936
- menuVersion: string;
2937
- } | null | undefined;
2938
- _id: string;
2939
- businessId: string;
2940
- profile: {
2941
- email?: string | null | undefined;
2942
- phoneNo?: string | null | undefined;
2943
- name: string;
2944
- address: {
2945
- coordinates?: number[] | null | undefined;
2946
- line2?: string | null | undefined;
2947
- state: string;
2948
- country: string;
2949
- line1: string;
2950
- city: string;
2951
- postcode: string;
2952
- };
2953
- regNo: string;
2954
- };
2955
- };
2956
- })[] | null | undefined;
2957
- _id: string;
2958
- name: string;
2959
- purchaseOrder: {
2960
- remark?: string | null | undefined;
2961
- ref?: string | null | undefined;
2962
- supplier?: {
2586
+ supplier: {
2963
2587
  phoneNumber?: string | null | undefined;
2964
2588
  email?: string | null | undefined;
2965
2589
  _rev?: string | null | undefined;
@@ -2995,17 +2619,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2995
2619
  postcode: string;
2996
2620
  country: string;
2997
2621
  };
2998
- } | undefined;
2999
- template?: string | null | undefined;
3000
- stockSnapshotId?: string | null | undefined;
3001
- effectiveAt?: string | null | undefined;
3002
- netSuite?: {
3003
- id?: string | null | undefined;
3004
- subsidiary: {
3005
- id?: string | null | undefined;
3006
- name?: string | null | undefined;
3007
- };
3008
- } | null | undefined;
2622
+ };
2623
+ };
2624
+ } | undefined;
2625
+ show?: boolean | undefined;
2626
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2627
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
2628
+ 'onAction:edit'?: (() => void) | undefined;
2629
+ }, TransferTemplateDetailsPropsWithEventBinding | {
2630
+ template?: {
2631
+ _rev?: string | null | undefined;
2632
+ locations?: {
2633
+ type: "restaurant" | "warehouse";
2634
+ name: string;
2635
+ acceptRequest: boolean;
2636
+ dbName: string;
2637
+ doc: {
2638
+ _id: string;
2639
+ businessId: string;
2640
+ profile: {
2641
+ code?: string | null | undefined;
2642
+ _id?: string | null | undefined;
2643
+ name?: string | undefined;
2644
+ address?: {
2645
+ coordinates?: number[] | null | undefined;
2646
+ line2?: string | null | undefined;
2647
+ state: string;
2648
+ country: string;
2649
+ line1: string;
2650
+ city: string;
2651
+ postcode: string;
2652
+ } | undefined;
2653
+ email?: string | undefined;
2654
+ regNo?: string | undefined;
2655
+ sstRegNo?: string | null | undefined;
2656
+ phoneNo?: string | undefined;
2657
+ legalName?: string | null | undefined;
2658
+ discovery?: boolean | null | undefined;
2659
+ coverPhoto?: string | null | undefined;
2660
+ thumbnailPhoto?: string | null | undefined;
2661
+ description?: string | null | undefined;
2662
+ photos?: string[] | null | undefined;
2663
+ operatingHours?: {
2664
+ 0: {
2665
+ hours: {
2666
+ end: string;
2667
+ start: string;
2668
+ }[];
2669
+ enable: boolean;
2670
+ };
2671
+ 2: {
2672
+ hours: {
2673
+ end: string;
2674
+ start: string;
2675
+ }[];
2676
+ enable: boolean;
2677
+ };
2678
+ 1: {
2679
+ hours: {
2680
+ end: string;
2681
+ start: string;
2682
+ }[];
2683
+ enable: boolean;
2684
+ };
2685
+ 3: {
2686
+ hours: {
2687
+ end: string;
2688
+ start: string;
2689
+ }[];
2690
+ enable: boolean;
2691
+ };
2692
+ 4: {
2693
+ hours: {
2694
+ end: string;
2695
+ start: string;
2696
+ }[];
2697
+ enable: boolean;
2698
+ };
2699
+ 5: {
2700
+ hours: {
2701
+ end: string;
2702
+ start: string;
2703
+ }[];
2704
+ enable: boolean;
2705
+ };
2706
+ 6: {
2707
+ hours: {
2708
+ end: string;
2709
+ start: string;
2710
+ }[];
2711
+ enable: boolean;
2712
+ };
2713
+ } | null | undefined;
2714
+ tags?: string[] | null | undefined;
2715
+ url?: string | null | undefined;
2716
+ };
2717
+ };
2718
+ }[] | null | undefined;
2719
+ _id: string;
2720
+ name: string;
2721
+ purchaseOrder: {
2722
+ remark?: string | null | undefined;
2723
+ ref?: string | null | undefined;
3009
2724
  items: {
3010
2725
  measurement?: {
3011
2726
  id: string;
@@ -3035,7 +2750,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
3035
2750
  precision: number;
3036
2751
  };
3037
2752
  } | null | undefined;
3038
- type: "RECIPE" | "SKU";
2753
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
3039
2754
  amount: {
3040
2755
  amount: number;
3041
2756
  precision: number;
@@ -3103,6 +2818,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
3103
2818
  precision: number;
3104
2819
  };
3105
2820
  }[];
2821
+ supplier: {
2822
+ phoneNumber?: string | null | undefined;
2823
+ email?: string | null | undefined;
2824
+ _rev?: string | null | undefined;
2825
+ internal?: "restaurant" | "warehouse" | null | undefined;
2826
+ contactName?: string | null | undefined;
2827
+ registrationNumber?: string | undefined;
2828
+ supplyItems?: {
2829
+ defaultCost: {
2830
+ measurement?: {
2831
+ id: string;
2832
+ name: string;
2833
+ abbrev: string;
2834
+ conversion: {
2835
+ amount: number;
2836
+ precision: number;
2837
+ };
2838
+ } | null | undefined;
2839
+ costPerUnit: {
2840
+ 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";
2841
+ amount: number;
2842
+ precision: number;
2843
+ };
2844
+ };
2845
+ skuId: string;
2846
+ }[] | null | undefined;
2847
+ _id: string;
2848
+ name: string;
2849
+ address: {
2850
+ line2?: string | null | undefined;
2851
+ line1: string;
2852
+ state: string;
2853
+ city: string;
2854
+ postcode: string;
2855
+ country: string;
2856
+ };
2857
+ };
3106
2858
  };
3107
2859
  } | undefined;
3108
2860
  show?: boolean | undefined;
@@ -3110,6 +2862,5 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
3110
2862
  'onAction:use'?: ((locationId: string) => void) | undefined;
3111
2863
  'onAction:edit'?: (() => void) | undefined;
3112
2864
  }>;
3113
- transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
3114
- }, "createTemplate" | "viewTemplate" | "updateTemplate" | "deleteTemplate" | "useTemplate">>;
2865
+ }, "createTemplate" | "viewTemplate" | "updateTemplate" | "deleteTemplate" | "exportTemplates" | "importTemplates" | "getTemplateId">>;
3115
2866
  export {};