@feedmepos/mf-inventory-portal 0.0.22-dev.29 → 0.0.22-dev.30

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 (50) hide show
  1. package/dist/{ApprovalView-Ba-tUg0r.js → ApprovalView-BowcCo8d.js} +4 -4
  2. package/dist/{BindingsDialog-BzE7RozX.js → BindingsDialog-CmmLVQTN.js} +1 -1
  3. package/dist/{BindingsPicker-21frBXLS.js → BindingsPicker-BErHbcxb.js} +1 -1
  4. package/dist/{BindingsTable-b5C-I-cP.js → BindingsTable-hrfbN6tX.js} +1 -1
  5. package/dist/{ClosingTemplateView-DMBAODHP.js → ClosingTemplateView-BVefCGpC.js} +374 -370
  6. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DeX65Yyd.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CXHh_Bti.js} +1 -1
  7. package/dist/IngredientsView-BqnUckSv.js +1817 -0
  8. package/dist/{IntegrationView-BMrUQaFT.js → IntegrationView-BEdAKS1I.js} +120 -120
  9. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0Yw7F_u.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-pr7Sb7Om.js} +1 -1
  10. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-IS1pDkV9.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DsYwNO5N.js} +1 -1
  11. package/dist/{PurchaseOrderPrintPreview-CdOwEm2W.js → PurchaseOrderPrintPreview-DzaS_c8R.js} +1 -1
  12. package/dist/{ReceiveRequestView-B86diRXc.js → ReceiveRequestView-CU-bhIjl.js} +6 -6
  13. package/dist/{RecipeView-7zB4lKdK.js → RecipeView-CmETsz5e.js} +3 -3
  14. package/dist/{StockView-zoWR3C4k.js → StockView-BgmjwPbh.js} +6 -6
  15. package/dist/{SupplierView-C-1jW5ON.js → SupplierView-CDm5q1th.js} +3 -3
  16. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BWItuAd0.js → TransferDetails.vue_vue_type_script_setup_true_lang-BZJyhJu4.js} +4 -4
  17. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-lybenWiw.js +1678 -0
  18. package/dist/TransferTemplateView-CSQ2XxFU.js +1232 -0
  19. package/dist/{UnitView-yFNEgTl_.js → UnitView-D7bcDkOX.js} +4 -4
  20. package/dist/{WarehouseView-CregM24b.js → WarehouseView-BJAKVdRs.js} +2 -2
  21. package/dist/api/inventory.d.ts +71 -82
  22. package/dist/{app-BsDFpmXX.js → app-A8ykBdGf.js} +12514 -12256
  23. package/dist/app.js +1 -1
  24. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  25. package/dist/{decimal-B4_Y3KEm.js → decimal-BC4EGBAX.js} +1 -1
  26. package/dist/{defineDeepModel-BYWYdjn7.js → defineDeepModel-Ckfkwau_.js} +3 -3
  27. package/dist/{format-time-from-id-xHkyagtQ.js → format-time-from-id-o1plVFRH.js} +3 -3
  28. package/dist/{id-to-date-BZG9rZhi.js → id-to-date-DyPIToei.js} +1 -1
  29. package/dist/{purchase-order-transaction-type-B2Vf-MS0.js → purchase-order-transaction-type-skN4AmEj.js} +3 -3
  30. package/dist/stores/inventory.d.ts +15 -0
  31. package/dist/stores/location.d.ts +420 -486
  32. package/dist/stores/netsuite.d.ts +1 -1
  33. package/dist/{supplier-B9WHfMl-.js → supplier-DV3Tg4TT.js} +1 -1
  34. package/dist/tsconfig.app.tsbuildinfo +1 -1
  35. package/dist/{use-template-enabled-locations-2-DMyd7rbX.js → use-template-enabled-locations-2-u_kejm-N.js} +1 -1
  36. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +852 -984
  37. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +852 -984
  38. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +996 -58
  39. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1511 -104
  40. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1417 -10
  41. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -82
  42. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1272 -2652
  43. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +399 -859
  44. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +108 -223
  45. package/dist/{xlsx-BFdyFL_3.js → xlsx-CrHTSBmd.js} +1 -1
  46. package/dist/{xlsx.util-UUCw3Kgc.js → xlsx.util-hjzkZFnf.js} +2 -2
  47. package/package.json +1 -1
  48. package/dist/IngredientsView-C6Lxkg-R.js +0 -1758
  49. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-5u4NM7G5.js +0 -1522
  50. package/dist/TransferTemplateView-DnKSCXki.js +0 -1210
@@ -2,92 +2,19 @@ import { type ColumnDef } from '@feedmepos/ui-library';
2
2
  export declare function useTransferTemplateTable(): {
3
3
  columnDefs: ColumnDef<{
4
4
  _rev?: string | null | undefined;
5
- locations?: ({
6
- doc?: any;
7
- type: "restaurant";
8
- name: string;
9
- acceptRequest: boolean;
10
- dbName: string;
11
- } | {
12
- type: "warehouse";
5
+ locations?: {
6
+ type: "restaurant" | "warehouse";
13
7
  name: string;
14
8
  acceptRequest: boolean;
15
9
  dbName: string;
16
10
  doc: {
17
- pf_business?: {
18
- internal?: boolean | null | undefined;
19
- url?: string | null | undefined;
20
- expiredAt?: string | null | undefined;
21
- agentId?: string | null | undefined;
22
- attributeSettings?: {
23
- type: "string" | "number" | "boolean" | "date";
24
- key: string;
25
- entity: "restaurant" | "item";
26
- }[] | null | undefined;
27
- pf_agent?: {
28
- clickupId?: string | null | undefined;
29
- members?: {
30
- pf_user?: {
31
- email?: string | null | undefined;
32
- phoneNumber?: string | null | undefined;
33
- birthday?: string | null | undefined;
34
- gender?: "MALE" | "FEMALE" | null | undefined;
35
- addresses?: {
36
- name: string;
37
- address: string;
38
- coordinates: number[];
39
- }[] | null | undefined;
40
- photoURL?: string | null | undefined;
41
- displayName?: string | null | undefined;
42
- imported?: {
43
- raw: Record<string, any>;
44
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
45
- } | null | undefined;
46
- _id: string;
47
- } | null | undefined;
48
- role: "ADMIN";
49
- userId: string;
50
- }[] | null | undefined;
51
- code: string;
52
- name: string;
53
- _id: string;
54
- isReseller: boolean;
55
- } | null | undefined;
56
- thumbnail?: string | null | undefined;
57
- billingInfos?: {
58
- _id?: string | null | undefined;
59
- name: string;
60
- address: {
61
- coordinates?: number[] | null | undefined;
62
- line2?: string | null | undefined;
63
- state: string;
64
- country: string;
65
- line1: string;
66
- city: string;
67
- postcode: string;
68
- };
69
- email: string;
70
- companyName: string;
71
- contact: string;
72
- }[] | null | undefined;
73
- customerDisplayImages?: {
74
- url: string;
75
- restaurantIds: string[];
76
- }[] | null | undefined;
77
- name: string;
78
- _id: string;
79
- ownerId: string;
80
- restaurantQuota: number;
81
- warehouseQuota: number;
82
- menuVersion: string;
83
- } | null | undefined;
84
11
  _id: string;
85
12
  businessId: string;
86
13
  profile: {
87
- email?: string | null | undefined;
88
- phoneNo?: string | null | undefined;
89
- name: string;
90
- address: {
14
+ code?: string | null | undefined;
15
+ _id?: string | null | undefined;
16
+ name?: string | undefined;
17
+ address?: {
91
18
  coordinates?: number[] | null | undefined;
92
19
  line2?: string | null | undefined;
93
20
  state: string;
@@ -95,157 +22,78 @@ export declare function useTransferTemplateTable(): {
95
22
  line1: string;
96
23
  city: string;
97
24
  postcode: string;
98
- };
99
- regNo: string;
25
+ } | undefined;
26
+ email?: string | undefined;
27
+ regNo?: string | undefined;
28
+ sstRegNo?: string | null | undefined;
29
+ phoneNo?: string | undefined;
30
+ legalName?: string | null | undefined;
31
+ discovery?: boolean | null | undefined;
32
+ coverPhoto?: string | null | undefined;
33
+ thumbnailPhoto?: string | null | undefined;
34
+ description?: string | null | undefined;
35
+ photos?: string[] | null | undefined;
36
+ operatingHours?: {
37
+ 0: {
38
+ hours: {
39
+ end: string;
40
+ start: string;
41
+ }[];
42
+ enable: boolean;
43
+ };
44
+ 2: {
45
+ hours: {
46
+ end: string;
47
+ start: string;
48
+ }[];
49
+ enable: boolean;
50
+ };
51
+ 1: {
52
+ hours: {
53
+ end: string;
54
+ start: string;
55
+ }[];
56
+ enable: boolean;
57
+ };
58
+ 3: {
59
+ hours: {
60
+ end: string;
61
+ start: string;
62
+ }[];
63
+ enable: boolean;
64
+ };
65
+ 4: {
66
+ hours: {
67
+ end: string;
68
+ start: string;
69
+ }[];
70
+ enable: boolean;
71
+ };
72
+ 5: {
73
+ hours: {
74
+ end: string;
75
+ start: string;
76
+ }[];
77
+ enable: boolean;
78
+ };
79
+ 6: {
80
+ hours: {
81
+ end: string;
82
+ start: string;
83
+ }[];
84
+ enable: boolean;
85
+ };
86
+ } | null | undefined;
87
+ tags?: string[] | null | undefined;
88
+ url?: string | null | undefined;
100
89
  };
101
90
  };
102
- })[] | null | undefined;
91
+ }[] | null | undefined;
103
92
  _id: string;
104
93
  name: string;
105
94
  purchaseOrder: {
106
95
  remark?: string | null | undefined;
107
96
  ref?: string | null | undefined;
108
- supplier?: {
109
- phoneNumber?: string | null | undefined;
110
- email?: string | null | undefined;
111
- _rev?: string | null | undefined;
112
- internal?: "restaurant" | "warehouse" | null | undefined;
113
- contactName?: string | null | undefined;
114
- registrationNumber?: string | undefined;
115
- supplyItems?: {
116
- defaultCost: {
117
- measurement?: {
118
- id: string;
119
- name: string;
120
- abbrev: string;
121
- conversion: {
122
- amount: number;
123
- precision: number;
124
- };
125
- } | null | undefined;
126
- costPerUnit: {
127
- 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";
128
- amount: number;
129
- precision: number;
130
- };
131
- };
132
- skuId: string;
133
- }[] | null | undefined;
134
- _id: string;
135
- name: string;
136
- address: {
137
- line2?: string | null | undefined;
138
- line1: string;
139
- state: string;
140
- city: string;
141
- postcode: string;
142
- country: string;
143
- };
144
- } | undefined;
145
- netSuite?: {
146
- id?: string | null | undefined;
147
- errors?: string[] | null | undefined;
148
- subsidiary: {
149
- id?: string | null | undefined;
150
- name?: string | null | undefined;
151
- };
152
- } | null | undefined;
153
- template?: string | null | undefined;
154
- stockSnapshotId?: string | null | undefined;
155
- effectiveAt?: string | null | undefined;
156
- deliveryFullfillment?: {
157
- remark?: string | null | undefined;
158
- adjustment?: string | null | undefined;
159
- netSuite?: {
160
- id?: string | null | undefined;
161
- refNo?: string | null | undefined;
162
- } | null | undefined;
163
- items: {
164
- cost?: {
165
- 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";
166
- amount: number;
167
- precision: number;
168
- } | null | undefined;
169
- measurement?: {
170
- id: string;
171
- name: string;
172
- abbrev: string;
173
- conversion: {
174
- amount: number;
175
- precision: number;
176
- };
177
- } | null | undefined;
178
- sku: {
179
- trackingMeasurement?: string | null | undefined;
180
- convert?: {
181
- measurement?: string | null | undefined;
182
- inventoryBindings?: {
183
- measurement?: {
184
- id: string;
185
- name: string;
186
- abbrev: string;
187
- conversion: {
188
- amount: number;
189
- precision: number;
190
- };
191
- } | null | undefined;
192
- type: "RECIPE" | "SKU";
193
- amount: {
194
- amount: number;
195
- precision: number;
196
- };
197
- id: string;
198
- }[] | null | undefined;
199
- } | null | undefined;
200
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
201
- defaultCost?: {
202
- measurement?: {
203
- id: string;
204
- name: string;
205
- abbrev: string;
206
- conversion: {
207
- amount: number;
208
- precision: number;
209
- };
210
- } | null | undefined;
211
- costPerUnit: {
212
- 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";
213
- amount: number;
214
- precision: number;
215
- };
216
- } | null | undefined;
217
- thresholds?: {
218
- low: number;
219
- mid: number;
220
- } | null | undefined;
221
- operationalGroup?: string | null | undefined;
222
- unit: {
223
- _id: string;
224
- name: string;
225
- abbrev: string;
226
- precision: number;
227
- measurements: {
228
- id: string;
229
- name: string;
230
- abbrev: string;
231
- conversion: {
232
- amount: number;
233
- precision: number;
234
- };
235
- }[];
236
- };
237
- code: string;
238
- _id: string;
239
- name: string;
240
- };
241
- amount: {
242
- amount: number;
243
- precision: number;
244
- };
245
- }[];
246
- id: string;
247
- createdAt: string;
248
- }[] | null | undefined;
249
97
  items: {
250
98
  measurement?: {
251
99
  id: string;
@@ -343,114 +191,7 @@ export declare function useTransferTemplateTable(): {
343
191
  precision: number;
344
192
  };
345
193
  }[];
346
- };
347
- }>[];
348
- templates: import("vue").Ref<{
349
- _rev?: string | null | undefined;
350
- locations?: ({
351
- doc?: any;
352
- type: "restaurant";
353
- name: string;
354
- acceptRequest: boolean;
355
- dbName: string;
356
- } | {
357
- type: "warehouse";
358
- name: string;
359
- acceptRequest: boolean;
360
- dbName: string;
361
- doc: {
362
- pf_business?: {
363
- internal?: boolean | null | undefined;
364
- url?: string | null | undefined;
365
- expiredAt?: string | null | undefined;
366
- agentId?: string | null | undefined;
367
- attributeSettings?: {
368
- type: "string" | "number" | "boolean" | "date";
369
- key: string;
370
- entity: "restaurant" | "item";
371
- }[] | null | undefined;
372
- pf_agent?: {
373
- clickupId?: string | null | undefined;
374
- members?: {
375
- pf_user?: {
376
- email?: string | null | undefined;
377
- phoneNumber?: string | null | undefined;
378
- birthday?: string | null | undefined;
379
- gender?: "MALE" | "FEMALE" | null | undefined;
380
- addresses?: {
381
- name: string;
382
- address: string;
383
- coordinates: number[];
384
- }[] | null | undefined;
385
- photoURL?: string | null | undefined;
386
- displayName?: string | null | undefined;
387
- imported?: {
388
- raw: Record<string, any>;
389
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
390
- } | null | undefined;
391
- _id: string;
392
- } | null | undefined;
393
- role: "ADMIN";
394
- userId: string;
395
- }[] | null | undefined;
396
- code: string;
397
- name: string;
398
- _id: string;
399
- isReseller: boolean;
400
- } | null | undefined;
401
- thumbnail?: string | null | undefined;
402
- billingInfos?: {
403
- _id?: string | null | undefined;
404
- name: string;
405
- address: {
406
- coordinates?: number[] | null | undefined;
407
- line2?: string | null | undefined;
408
- state: string;
409
- country: string;
410
- line1: string;
411
- city: string;
412
- postcode: string;
413
- };
414
- email: string;
415
- companyName: string;
416
- contact: string;
417
- }[] | null | undefined;
418
- customerDisplayImages?: {
419
- url: string;
420
- restaurantIds: string[];
421
- }[] | null | undefined;
422
- name: string;
423
- _id: string;
424
- ownerId: string;
425
- restaurantQuota: number;
426
- warehouseQuota: number;
427
- menuVersion: string;
428
- } | null | undefined;
429
- _id: string;
430
- businessId: string;
431
- profile: {
432
- email?: string | null | undefined;
433
- phoneNo?: string | null | undefined;
434
- name: string;
435
- address: {
436
- coordinates?: number[] | null | undefined;
437
- line2?: string | null | undefined;
438
- state: string;
439
- country: string;
440
- line1: string;
441
- city: string;
442
- postcode: string;
443
- };
444
- regNo: string;
445
- };
446
- };
447
- })[] | null | undefined;
448
- _id: string;
449
- name: string;
450
- purchaseOrder: {
451
- remark?: string | null | undefined;
452
- ref?: string | null | undefined;
453
- supplier?: {
194
+ supplier: {
454
195
  phoneNumber?: string | null | undefined;
455
196
  email?: string | null | undefined;
456
197
  _rev?: string | null | undefined;
@@ -486,111 +227,103 @@ export declare function useTransferTemplateTable(): {
486
227
  postcode: string;
487
228
  country: string;
488
229
  };
489
- } | undefined;
490
- netSuite?: {
491
- id?: string | null | undefined;
492
- errors?: string[] | null | undefined;
493
- subsidiary: {
494
- id?: string | null | undefined;
495
- name?: string | null | undefined;
496
- };
497
- } | null | undefined;
498
- template?: string | null | undefined;
499
- stockSnapshotId?: string | null | undefined;
500
- effectiveAt?: string | null | undefined;
501
- deliveryFullfillment?: {
502
- remark?: string | null | undefined;
503
- adjustment?: string | null | undefined;
504
- netSuite?: {
505
- id?: string | null | undefined;
506
- refNo?: string | null | undefined;
507
- } | null | undefined;
508
- items: {
509
- cost?: {
510
- 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";
511
- amount: number;
512
- precision: number;
513
- } | null | undefined;
514
- measurement?: {
515
- id: string;
516
- name: string;
517
- abbrev: string;
518
- conversion: {
519
- amount: number;
520
- precision: number;
230
+ };
231
+ };
232
+ }>[];
233
+ templates: import("vue").Ref<{
234
+ _rev?: string | null | undefined;
235
+ locations?: {
236
+ type: "restaurant" | "warehouse";
237
+ name: string;
238
+ acceptRequest: boolean;
239
+ dbName: string;
240
+ doc: {
241
+ _id: string;
242
+ businessId: string;
243
+ profile: {
244
+ code?: string | null | undefined;
245
+ _id?: string | null | undefined;
246
+ name?: string | undefined;
247
+ address?: {
248
+ coordinates?: number[] | null | undefined;
249
+ line2?: string | null | undefined;
250
+ state: string;
251
+ country: string;
252
+ line1: string;
253
+ city: string;
254
+ postcode: string;
255
+ } | undefined;
256
+ email?: string | undefined;
257
+ regNo?: string | undefined;
258
+ sstRegNo?: string | null | undefined;
259
+ phoneNo?: string | undefined;
260
+ legalName?: string | null | undefined;
261
+ discovery?: boolean | null | undefined;
262
+ coverPhoto?: string | null | undefined;
263
+ thumbnailPhoto?: string | null | undefined;
264
+ description?: string | null | undefined;
265
+ photos?: string[] | null | undefined;
266
+ operatingHours?: {
267
+ 0: {
268
+ hours: {
269
+ end: string;
270
+ start: string;
271
+ }[];
272
+ enable: boolean;
521
273
  };
522
- } | null | undefined;
523
- sku: {
524
- trackingMeasurement?: string | null | undefined;
525
- convert?: {
526
- measurement?: string | null | undefined;
527
- inventoryBindings?: {
528
- measurement?: {
529
- id: string;
530
- name: string;
531
- abbrev: string;
532
- conversion: {
533
- amount: number;
534
- precision: number;
535
- };
536
- } | null | undefined;
537
- type: "RECIPE" | "SKU";
538
- amount: {
539
- amount: number;
540
- precision: number;
541
- };
542
- id: string;
543
- }[] | null | undefined;
544
- } | null | undefined;
545
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
546
- defaultCost?: {
547
- measurement?: {
548
- id: string;
549
- name: string;
550
- abbrev: string;
551
- conversion: {
552
- amount: number;
553
- precision: number;
554
- };
555
- } | null | undefined;
556
- costPerUnit: {
557
- 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";
558
- amount: number;
559
- precision: number;
560
- };
561
- } | null | undefined;
562
- thresholds?: {
563
- low: number;
564
- mid: number;
565
- } | null | undefined;
566
- operationalGroup?: string | null | undefined;
567
- unit: {
568
- _id: string;
569
- name: string;
570
- abbrev: string;
571
- precision: number;
572
- measurements: {
573
- id: string;
574
- name: string;
575
- abbrev: string;
576
- conversion: {
577
- amount: number;
578
- precision: number;
579
- };
274
+ 2: {
275
+ hours: {
276
+ end: string;
277
+ start: string;
580
278
  }[];
279
+ enable: boolean;
581
280
  };
582
- code: string;
583
- _id: string;
584
- name: string;
585
- };
586
- amount: {
587
- amount: number;
588
- precision: number;
589
- };
590
- }[];
591
- id: string;
592
- createdAt: string;
593
- }[] | null | undefined;
281
+ 1: {
282
+ hours: {
283
+ end: string;
284
+ start: string;
285
+ }[];
286
+ enable: boolean;
287
+ };
288
+ 3: {
289
+ hours: {
290
+ end: string;
291
+ start: string;
292
+ }[];
293
+ enable: boolean;
294
+ };
295
+ 4: {
296
+ hours: {
297
+ end: string;
298
+ start: string;
299
+ }[];
300
+ enable: boolean;
301
+ };
302
+ 5: {
303
+ hours: {
304
+ end: string;
305
+ start: string;
306
+ }[];
307
+ enable: boolean;
308
+ };
309
+ 6: {
310
+ hours: {
311
+ end: string;
312
+ start: string;
313
+ }[];
314
+ enable: boolean;
315
+ };
316
+ } | null | undefined;
317
+ tags?: string[] | null | undefined;
318
+ url?: string | null | undefined;
319
+ };
320
+ };
321
+ }[] | null | undefined;
322
+ _id: string;
323
+ name: string;
324
+ purchaseOrder: {
325
+ remark?: string | null | undefined;
326
+ ref?: string | null | undefined;
594
327
  items: {
595
328
  measurement?: {
596
329
  id: string;
@@ -679,122 +412,16 @@ export declare function useTransferTemplateTable(): {
679
412
  amount: number;
680
413
  precision: number;
681
414
  };
682
- minimumQuantity: {
683
- amount: number;
684
- precision: number;
685
- };
686
- maximumQuantity: {
687
- amount: number;
688
- precision: number;
689
- };
690
- }[];
691
- };
692
- }[], {
693
- _rev?: string | null | undefined;
694
- locations?: ({
695
- doc?: any;
696
- type: "restaurant";
697
- name: string;
698
- acceptRequest: boolean;
699
- dbName: string;
700
- } | {
701
- type: "warehouse";
702
- name: string;
703
- acceptRequest: boolean;
704
- dbName: string;
705
- doc: {
706
- pf_business?: {
707
- internal?: boolean | null | undefined;
708
- url?: string | null | undefined;
709
- expiredAt?: string | null | undefined;
710
- agentId?: string | null | undefined;
711
- attributeSettings?: {
712
- type: "string" | "number" | "boolean" | "date";
713
- key: string;
714
- entity: "restaurant" | "item";
715
- }[] | null | undefined;
716
- pf_agent?: {
717
- clickupId?: string | null | undefined;
718
- members?: {
719
- pf_user?: {
720
- email?: string | null | undefined;
721
- phoneNumber?: string | null | undefined;
722
- birthday?: string | null | undefined;
723
- gender?: "MALE" | "FEMALE" | null | undefined;
724
- addresses?: {
725
- name: string;
726
- address: string;
727
- coordinates: number[];
728
- }[] | null | undefined;
729
- photoURL?: string | null | undefined;
730
- displayName?: string | null | undefined;
731
- imported?: {
732
- raw: Record<string, any>;
733
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
734
- } | null | undefined;
735
- _id: string;
736
- } | null | undefined;
737
- role: "ADMIN";
738
- userId: string;
739
- }[] | null | undefined;
740
- code: string;
741
- name: string;
742
- _id: string;
743
- isReseller: boolean;
744
- } | null | undefined;
745
- thumbnail?: string | null | undefined;
746
- billingInfos?: {
747
- _id?: string | null | undefined;
748
- name: string;
749
- address: {
750
- coordinates?: number[] | null | undefined;
751
- line2?: string | null | undefined;
752
- state: string;
753
- country: string;
754
- line1: string;
755
- city: string;
756
- postcode: string;
757
- };
758
- email: string;
759
- companyName: string;
760
- contact: string;
761
- }[] | null | undefined;
762
- customerDisplayImages?: {
763
- url: string;
764
- restaurantIds: string[];
765
- }[] | null | undefined;
766
- name: string;
767
- _id: string;
768
- ownerId: string;
769
- restaurantQuota: number;
770
- warehouseQuota: number;
771
- menuVersion: string;
772
- } | null | undefined;
773
- _id: string;
774
- businessId: string;
775
- profile: {
776
- email?: string | null | undefined;
777
- phoneNo?: string | null | undefined;
778
- name: string;
779
- address: {
780
- coordinates?: number[] | null | undefined;
781
- line2?: string | null | undefined;
782
- state: string;
783
- country: string;
784
- line1: string;
785
- city: string;
786
- postcode: string;
787
- };
788
- regNo: string;
415
+ minimumQuantity: {
416
+ amount: number;
417
+ precision: number;
789
418
  };
790
- };
791
- })[] | null | undefined;
792
- _id: string;
793
- name: string;
794
- purchaseOrder: {
795
- remark?: string | null | undefined;
796
- ref?: string | null | undefined;
797
- supplier?: {
419
+ maximumQuantity: {
420
+ amount: number;
421
+ precision: number;
422
+ };
423
+ }[];
424
+ supplier: {
798
425
  phoneNumber?: string | null | undefined;
799
426
  email?: string | null | undefined;
800
427
  _rev?: string | null | undefined;
@@ -830,111 +457,102 @@ export declare function useTransferTemplateTable(): {
830
457
  postcode: string;
831
458
  country: string;
832
459
  };
833
- } | undefined;
834
- netSuite?: {
835
- id?: string | null | undefined;
836
- errors?: string[] | null | undefined;
837
- subsidiary: {
838
- id?: string | null | undefined;
839
- name?: string | null | undefined;
840
- };
841
- } | null | undefined;
842
- template?: string | null | undefined;
843
- stockSnapshotId?: string | null | undefined;
844
- effectiveAt?: string | null | undefined;
845
- deliveryFullfillment?: {
846
- remark?: string | null | undefined;
847
- adjustment?: string | null | undefined;
848
- netSuite?: {
849
- id?: string | null | undefined;
850
- refNo?: string | null | undefined;
851
- } | null | undefined;
852
- items: {
853
- cost?: {
854
- 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";
855
- amount: number;
856
- precision: number;
857
- } | null | undefined;
858
- measurement?: {
859
- id: string;
860
- name: string;
861
- abbrev: string;
862
- conversion: {
863
- amount: number;
864
- precision: number;
460
+ };
461
+ };
462
+ }[], {
463
+ _rev?: string | null | undefined;
464
+ locations?: {
465
+ type: "restaurant" | "warehouse";
466
+ name: string;
467
+ acceptRequest: boolean;
468
+ dbName: string;
469
+ doc: {
470
+ _id: string;
471
+ businessId: string;
472
+ profile: {
473
+ code?: string | null | undefined;
474
+ _id?: string | null | undefined;
475
+ name?: string | undefined;
476
+ address?: {
477
+ coordinates?: number[] | null | undefined;
478
+ line2?: string | null | undefined;
479
+ state: string;
480
+ country: string;
481
+ line1: string;
482
+ city: string;
483
+ postcode: string;
484
+ } | undefined;
485
+ email?: string | undefined;
486
+ regNo?: string | undefined;
487
+ sstRegNo?: string | null | undefined;
488
+ phoneNo?: string | undefined;
489
+ legalName?: string | null | undefined;
490
+ discovery?: boolean | null | undefined;
491
+ coverPhoto?: string | null | undefined;
492
+ thumbnailPhoto?: string | null | undefined;
493
+ description?: string | null | undefined;
494
+ photos?: string[] | null | undefined;
495
+ operatingHours?: {
496
+ 0: {
497
+ hours: {
498
+ end: string;
499
+ start: string;
500
+ }[];
501
+ enable: boolean;
865
502
  };
866
- } | null | undefined;
867
- sku: {
868
- trackingMeasurement?: string | null | undefined;
869
- convert?: {
870
- measurement?: string | null | undefined;
871
- inventoryBindings?: {
872
- measurement?: {
873
- id: string;
874
- name: string;
875
- abbrev: string;
876
- conversion: {
877
- amount: number;
878
- precision: number;
879
- };
880
- } | null | undefined;
881
- type: "RECIPE" | "SKU";
882
- amount: {
883
- amount: number;
884
- precision: number;
885
- };
886
- id: string;
887
- }[] | null | undefined;
888
- } | null | undefined;
889
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
890
- defaultCost?: {
891
- measurement?: {
892
- id: string;
893
- name: string;
894
- abbrev: string;
895
- conversion: {
896
- amount: number;
897
- precision: number;
898
- };
899
- } | null | undefined;
900
- costPerUnit: {
901
- 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";
902
- amount: number;
903
- precision: number;
904
- };
905
- } | null | undefined;
906
- thresholds?: {
907
- low: number;
908
- mid: number;
909
- } | null | undefined;
910
- operationalGroup?: string | null | undefined;
911
- unit: {
912
- _id: string;
913
- name: string;
914
- abbrev: string;
915
- precision: number;
916
- measurements: {
917
- id: string;
918
- name: string;
919
- abbrev: string;
920
- conversion: {
921
- amount: number;
922
- precision: number;
923
- };
503
+ 2: {
504
+ hours: {
505
+ end: string;
506
+ start: string;
924
507
  }[];
508
+ enable: boolean;
925
509
  };
926
- code: string;
927
- _id: string;
928
- name: string;
929
- };
930
- amount: {
931
- amount: number;
932
- precision: number;
933
- };
934
- }[];
935
- id: string;
936
- createdAt: string;
937
- }[] | null | undefined;
510
+ 1: {
511
+ hours: {
512
+ end: string;
513
+ start: string;
514
+ }[];
515
+ enable: boolean;
516
+ };
517
+ 3: {
518
+ hours: {
519
+ end: string;
520
+ start: string;
521
+ }[];
522
+ enable: boolean;
523
+ };
524
+ 4: {
525
+ hours: {
526
+ end: string;
527
+ start: string;
528
+ }[];
529
+ enable: boolean;
530
+ };
531
+ 5: {
532
+ hours: {
533
+ end: string;
534
+ start: string;
535
+ }[];
536
+ enable: boolean;
537
+ };
538
+ 6: {
539
+ hours: {
540
+ end: string;
541
+ start: string;
542
+ }[];
543
+ enable: boolean;
544
+ };
545
+ } | null | undefined;
546
+ tags?: string[] | null | undefined;
547
+ url?: string | null | undefined;
548
+ };
549
+ };
550
+ }[] | null | undefined;
551
+ _id: string;
552
+ name: string;
553
+ purchaseOrder: {
554
+ remark?: string | null | undefined;
555
+ ref?: string | null | undefined;
938
556
  items: {
939
557
  measurement?: {
940
558
  id: string;
@@ -1032,113 +650,7 @@ export declare function useTransferTemplateTable(): {
1032
650
  precision: number;
1033
651
  };
1034
652
  }[];
1035
- };
1036
- }[] | {
1037
- _rev?: string | null | undefined;
1038
- locations?: ({
1039
- doc?: any;
1040
- type: "restaurant";
1041
- name: string;
1042
- acceptRequest: boolean;
1043
- dbName: string;
1044
- } | {
1045
- type: "warehouse";
1046
- name: string;
1047
- acceptRequest: boolean;
1048
- dbName: string;
1049
- doc: {
1050
- pf_business?: {
1051
- internal?: boolean | null | undefined;
1052
- url?: string | null | undefined;
1053
- expiredAt?: string | null | undefined;
1054
- agentId?: string | null | undefined;
1055
- attributeSettings?: {
1056
- type: "string" | "number" | "boolean" | "date";
1057
- key: string;
1058
- entity: "restaurant" | "item";
1059
- }[] | null | undefined;
1060
- pf_agent?: {
1061
- clickupId?: string | null | undefined;
1062
- members?: {
1063
- pf_user?: {
1064
- email?: string | null | undefined;
1065
- phoneNumber?: string | null | undefined;
1066
- birthday?: string | null | undefined;
1067
- gender?: "MALE" | "FEMALE" | null | undefined;
1068
- addresses?: {
1069
- name: string;
1070
- address: string;
1071
- coordinates: number[];
1072
- }[] | null | undefined;
1073
- photoURL?: string | null | undefined;
1074
- displayName?: string | null | undefined;
1075
- imported?: {
1076
- raw: Record<string, any>;
1077
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1078
- } | null | undefined;
1079
- _id: string;
1080
- } | null | undefined;
1081
- role: "ADMIN";
1082
- userId: string;
1083
- }[] | null | undefined;
1084
- code: string;
1085
- name: string;
1086
- _id: string;
1087
- isReseller: boolean;
1088
- } | null | undefined;
1089
- thumbnail?: string | null | undefined;
1090
- billingInfos?: {
1091
- _id?: string | null | undefined;
1092
- name: string;
1093
- address: {
1094
- coordinates?: number[] | null | undefined;
1095
- line2?: string | null | undefined;
1096
- state: string;
1097
- country: string;
1098
- line1: string;
1099
- city: string;
1100
- postcode: string;
1101
- };
1102
- email: string;
1103
- companyName: string;
1104
- contact: string;
1105
- }[] | null | undefined;
1106
- customerDisplayImages?: {
1107
- url: string;
1108
- restaurantIds: string[];
1109
- }[] | null | undefined;
1110
- name: string;
1111
- _id: string;
1112
- ownerId: string;
1113
- restaurantQuota: number;
1114
- warehouseQuota: number;
1115
- menuVersion: string;
1116
- } | null | undefined;
1117
- _id: string;
1118
- businessId: string;
1119
- profile: {
1120
- email?: string | null | undefined;
1121
- phoneNo?: string | null | undefined;
1122
- name: string;
1123
- address: {
1124
- coordinates?: number[] | null | undefined;
1125
- line2?: string | null | undefined;
1126
- state: string;
1127
- country: string;
1128
- line1: string;
1129
- city: string;
1130
- postcode: string;
1131
- };
1132
- regNo: string;
1133
- };
1134
- };
1135
- })[] | null | undefined;
1136
- _id: string;
1137
- name: string;
1138
- purchaseOrder: {
1139
- remark?: string | null | undefined;
1140
- ref?: string | null | undefined;
1141
- supplier?: {
653
+ supplier: {
1142
654
  phoneNumber?: string | null | undefined;
1143
655
  email?: string | null | undefined;
1144
656
  _rev?: string | null | undefined;
@@ -1174,111 +686,102 @@ export declare function useTransferTemplateTable(): {
1174
686
  postcode: string;
1175
687
  country: string;
1176
688
  };
1177
- } | undefined;
1178
- netSuite?: {
1179
- id?: string | null | undefined;
1180
- errors?: string[] | null | undefined;
1181
- subsidiary: {
1182
- id?: string | null | undefined;
1183
- name?: string | null | undefined;
1184
- };
1185
- } | null | undefined;
1186
- template?: string | null | undefined;
1187
- stockSnapshotId?: string | null | undefined;
1188
- effectiveAt?: string | null | undefined;
1189
- deliveryFullfillment?: {
1190
- remark?: string | null | undefined;
1191
- adjustment?: string | null | undefined;
1192
- netSuite?: {
1193
- id?: string | null | undefined;
1194
- refNo?: string | null | undefined;
1195
- } | null | undefined;
1196
- items: {
1197
- cost?: {
1198
- 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";
1199
- amount: number;
1200
- precision: number;
1201
- } | null | undefined;
1202
- measurement?: {
1203
- id: string;
1204
- name: string;
1205
- abbrev: string;
1206
- conversion: {
1207
- amount: number;
1208
- precision: number;
689
+ };
690
+ };
691
+ }[] | {
692
+ _rev?: string | null | undefined;
693
+ locations?: {
694
+ type: "restaurant" | "warehouse";
695
+ name: string;
696
+ acceptRequest: boolean;
697
+ dbName: string;
698
+ doc: {
699
+ _id: string;
700
+ businessId: string;
701
+ profile: {
702
+ code?: string | null | undefined;
703
+ _id?: string | null | undefined;
704
+ name?: string | undefined;
705
+ address?: {
706
+ coordinates?: number[] | null | undefined;
707
+ line2?: string | null | undefined;
708
+ state: string;
709
+ country: string;
710
+ line1: string;
711
+ city: string;
712
+ postcode: string;
713
+ } | undefined;
714
+ email?: string | undefined;
715
+ regNo?: string | undefined;
716
+ sstRegNo?: string | null | undefined;
717
+ phoneNo?: string | undefined;
718
+ legalName?: string | null | undefined;
719
+ discovery?: boolean | null | undefined;
720
+ coverPhoto?: string | null | undefined;
721
+ thumbnailPhoto?: string | null | undefined;
722
+ description?: string | null | undefined;
723
+ photos?: string[] | null | undefined;
724
+ operatingHours?: {
725
+ 0: {
726
+ hours: {
727
+ end: string;
728
+ start: string;
729
+ }[];
730
+ enable: boolean;
1209
731
  };
1210
- } | null | undefined;
1211
- sku: {
1212
- trackingMeasurement?: string | null | undefined;
1213
- convert?: {
1214
- measurement?: string | null | undefined;
1215
- inventoryBindings?: {
1216
- measurement?: {
1217
- id: string;
1218
- name: string;
1219
- abbrev: string;
1220
- conversion: {
1221
- amount: number;
1222
- precision: number;
1223
- };
1224
- } | null | undefined;
1225
- type: "RECIPE" | "SKU";
1226
- amount: {
1227
- amount: number;
1228
- precision: number;
1229
- };
1230
- id: string;
1231
- }[] | null | undefined;
1232
- } | null | undefined;
1233
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1234
- defaultCost?: {
1235
- measurement?: {
1236
- id: string;
1237
- name: string;
1238
- abbrev: string;
1239
- conversion: {
1240
- amount: number;
1241
- precision: number;
1242
- };
1243
- } | null | undefined;
1244
- costPerUnit: {
1245
- 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";
1246
- amount: number;
1247
- precision: number;
1248
- };
1249
- } | null | undefined;
1250
- thresholds?: {
1251
- low: number;
1252
- mid: number;
1253
- } | null | undefined;
1254
- operationalGroup?: string | null | undefined;
1255
- unit: {
1256
- _id: string;
1257
- name: string;
1258
- abbrev: string;
1259
- precision: number;
1260
- measurements: {
1261
- id: string;
1262
- name: string;
1263
- abbrev: string;
1264
- conversion: {
1265
- amount: number;
1266
- precision: number;
1267
- };
732
+ 2: {
733
+ hours: {
734
+ end: string;
735
+ start: string;
1268
736
  }[];
737
+ enable: boolean;
1269
738
  };
1270
- code: string;
1271
- _id: string;
1272
- name: string;
1273
- };
1274
- amount: {
1275
- amount: number;
1276
- precision: number;
1277
- };
1278
- }[];
1279
- id: string;
1280
- createdAt: string;
1281
- }[] | null | undefined;
739
+ 1: {
740
+ hours: {
741
+ end: string;
742
+ start: string;
743
+ }[];
744
+ enable: boolean;
745
+ };
746
+ 3: {
747
+ hours: {
748
+ end: string;
749
+ start: string;
750
+ }[];
751
+ enable: boolean;
752
+ };
753
+ 4: {
754
+ hours: {
755
+ end: string;
756
+ start: string;
757
+ }[];
758
+ enable: boolean;
759
+ };
760
+ 5: {
761
+ hours: {
762
+ end: string;
763
+ start: string;
764
+ }[];
765
+ enable: boolean;
766
+ };
767
+ 6: {
768
+ hours: {
769
+ end: string;
770
+ start: string;
771
+ }[];
772
+ enable: boolean;
773
+ };
774
+ } | null | undefined;
775
+ tags?: string[] | null | undefined;
776
+ url?: string | null | undefined;
777
+ };
778
+ };
779
+ }[] | null | undefined;
780
+ _id: string;
781
+ name: string;
782
+ purchaseOrder: {
783
+ remark?: string | null | undefined;
784
+ ref?: string | null | undefined;
1282
785
  items: {
1283
786
  measurement?: {
1284
787
  id: string;
@@ -1376,6 +879,43 @@ export declare function useTransferTemplateTable(): {
1376
879
  precision: number;
1377
880
  };
1378
881
  }[];
882
+ supplier: {
883
+ phoneNumber?: string | null | undefined;
884
+ email?: string | null | undefined;
885
+ _rev?: string | null | undefined;
886
+ internal?: "restaurant" | "warehouse" | null | undefined;
887
+ contactName?: string | null | undefined;
888
+ registrationNumber?: string | undefined;
889
+ supplyItems?: {
890
+ defaultCost: {
891
+ measurement?: {
892
+ id: string;
893
+ name: string;
894
+ abbrev: string;
895
+ conversion: {
896
+ amount: number;
897
+ precision: number;
898
+ };
899
+ } | null | undefined;
900
+ costPerUnit: {
901
+ 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";
902
+ amount: number;
903
+ precision: number;
904
+ };
905
+ };
906
+ skuId: string;
907
+ }[] | null | undefined;
908
+ _id: string;
909
+ name: string;
910
+ address: {
911
+ line2?: string | null | undefined;
912
+ line1: string;
913
+ state: string;
914
+ city: string;
915
+ postcode: string;
916
+ country: string;
917
+ };
918
+ };
1379
919
  };
1380
920
  }[]>;
1381
921
  loading: import("vue").Ref<boolean, boolean>;