@feedmepos/mf-inventory-portal 0.0.22-dev.6 → 0.0.22-dev.8

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 (56) hide show
  1. package/dist/{ApprovalView-C3pfc3dI.js → ApprovalView-BNeTV3TV.js} +4 -4
  2. package/dist/{BindingsDialog-B5Wslo-f.js → BindingsDialog-pBelBtiH.js} +1 -1
  3. package/dist/{BindingsPicker-DvI3H5lb.js → BindingsPicker-VHr76FFM.js} +19 -19
  4. package/dist/{BindingsTable-B6yXjwVZ.js → BindingsTable-CgIp6DKB.js} +1 -1
  5. package/dist/ClosingTemplateView-FleQasJi.js +1065 -0
  6. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BTw7Szfi.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BYfojQsH.js} +1 -1
  7. package/dist/{IngredientsView-J-HwciIj.js → IngredientsView-BEW8_MJ0.js} +3 -3
  8. package/dist/{IntegrationView-CJgc6NQo.js → IntegrationView-NnpJ8nYO.js} +2 -2
  9. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CzCVf08r.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJMb1aR1.js} +1 -1
  10. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BJHZI0SZ.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DWSq3JsJ.js} +1 -1
  11. package/dist/{PurchaseOrderPrintPreview-DQlHM7ar.js → PurchaseOrderPrintPreview-BZ5uhyRy.js} +1 -1
  12. package/dist/{ReceiveRequestView-l-agN7yj.js → ReceiveRequestView-DN9u5HLn.js} +6 -6
  13. package/dist/{RecipeView-Bo85tc7w.js → RecipeView-DM20cOk3.js} +3 -3
  14. package/dist/{StockView-CqORznbJ.js → StockView-LppKR-nM.js} +6 -6
  15. package/dist/{SupplierView-BSc10_7O.js → SupplierView-DHh6MhoI.js} +37 -37
  16. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-KHwccWdi.js +754 -0
  17. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-2QZK3Iu5.js +1485 -0
  18. package/dist/TransferTemplateView-CUQSQR8U.js +1278 -0
  19. package/dist/{UnitView-C4Ynhnes.js → UnitView-D8XJca7H.js} +4 -4
  20. package/dist/{WarehouseView-CXhsdB6L.js → WarehouseView-DTnx3-Fi.js} +2 -2
  21. package/dist/api/inventory.d.ts +1 -0
  22. package/dist/api/netsuite.d.ts +40 -0
  23. package/dist/api/purchase-order-template.d.ts +0 -4
  24. package/dist/{app-CEx_CAFE.js → app-Cn0UYdAW.js} +8183 -7946
  25. package/dist/app.d.ts +6 -0
  26. package/dist/app.js +3 -3
  27. package/dist/{decimal-c4am8-9x.js → decimal-BiLgcnqq.js} +1 -1
  28. package/dist/{defineDeepModel-DstjIWV3.js → defineDeepModel-CXCb8GcR.js} +4 -4
  29. package/dist/{format-time-from-id-C7eIbCJx.js → format-time-from-id-5QzQNKlI.js} +1 -1
  30. package/dist/{id-to-date-BvvYzy9E.js → id-to-date-C-LYuoim.js} +1 -1
  31. package/dist/purchase-order-transaction-type-BV80Rx9h.js +676 -0
  32. package/dist/stores/api.d.ts +1 -0
  33. package/dist/stores/helper/core-store-proxy.d.ts +27 -0
  34. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  35. package/dist/stores/netsuite.d.ts +49 -0
  36. package/dist/style.css +1 -1
  37. package/dist/{supplier-Buou9AeW.js → supplier-Bg9MjX_y.js} +1 -1
  38. package/dist/tsconfig.app.tsbuildinfo +1 -1
  39. package/dist/use-template-enabled-locations-2-CzY-UFrc.js +85 -0
  40. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +14 -0
  41. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +42 -0
  42. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -0
  43. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  44. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
  45. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +84 -0
  46. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +28 -986
  47. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +7 -0
  48. package/dist/{xlsx-_u-mXW67.js → xlsx-BsdfXPiA.js} +1 -1
  49. package/dist/{xlsx.util-C_mH9WMn.js → xlsx.util-B_ynXZ3Q.js} +2 -2
  50. package/package.json +5 -5
  51. package/dist/ClosingTemplateView-YW5Sw9M5.js +0 -1030
  52. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-qfnlbLSa.js +0 -740
  53. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-CW4b6og_.js +0 -1409
  54. package/dist/TransferTemplateView-Djn47L76.js +0 -1230
  55. package/dist/purchase-order-transaction-type-DpJe0L78.js +0 -702
  56. package/dist/use-template-enabled-locations-BPap1ER6.js +0 -57
@@ -148,745 +148,13 @@ export declare function useTransferTemplateTable(): {
148
148
  template?: string | null | undefined;
149
149
  stockSnapshotId?: string | null | undefined;
150
150
  effectiveAt?: string | null | undefined;
151
- items: {
152
- measurement?: {
153
- id: string;
154
- name: string;
155
- abbrev: string;
156
- conversion: {
157
- amount: number;
158
- precision: number;
159
- };
160
- } | null | undefined;
161
- totalCost?: {
162
- 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";
163
- amount: number;
164
- precision: number;
165
- } | null | undefined;
166
- sku: {
167
- trackingMeasurement?: string | null | undefined;
168
- convert?: {
169
- measurement?: string | null | undefined;
170
- inventoryBindings?: {
171
- measurement?: {
172
- id: string;
173
- name: string;
174
- abbrev: string;
175
- conversion: {
176
- amount: number;
177
- precision: number;
178
- };
179
- } | null | undefined;
180
- type: "RECIPE" | "SKU";
181
- amount: {
182
- amount: number;
183
- precision: number;
184
- };
185
- id: string;
186
- }[] | null | undefined;
187
- } | null | undefined;
188
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
189
- defaultCost?: {
190
- measurement?: {
191
- id: string;
192
- name: string;
193
- abbrev: string;
194
- conversion: {
195
- amount: number;
196
- precision: number;
197
- };
198
- } | null | undefined;
199
- costPerUnit: {
200
- 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";
201
- amount: number;
202
- precision: number;
203
- };
204
- } | null | undefined;
205
- thresholds?: {
206
- low: number;
207
- mid: number;
208
- } | null | undefined;
209
- operationalGroup?: string | null | undefined;
210
- unit: {
211
- _id: string;
212
- name: string;
213
- abbrev: string;
214
- precision: number;
215
- measurements: {
216
- id: string;
217
- name: string;
218
- abbrev: string;
219
- conversion: {
220
- amount: number;
221
- precision: number;
222
- };
223
- }[];
224
- };
225
- code: string;
226
- _id: string;
227
- name: string;
228
- };
229
- code: string;
230
- name: string;
231
- quantity: {
232
- amount: number;
233
- precision: number;
234
- };
235
- quantityStep: {
236
- amount: number;
237
- precision: number;
238
- };
239
- minimumQuantity: {
240
- amount: number;
241
- precision: number;
242
- };
243
- maximumQuantity: {
244
- amount: number;
245
- precision: number;
246
- };
247
- }[];
248
- };
249
- }>[];
250
- locationTemplates: import("vue").Ref<{
251
- _rev?: string | null | undefined;
252
- locations?: ({
253
- doc?: any;
254
- type: "restaurant";
255
- name: string;
256
- acceptRequest: boolean;
257
- dbName: string;
258
- } | {
259
- type: "warehouse";
260
- name: string;
261
- acceptRequest: boolean;
262
- dbName: string;
263
- doc: {
264
- pf_business?: {
265
- internal?: boolean | null | undefined;
266
- url?: string | null | undefined;
267
- expiredAt?: string | null | undefined;
268
- agentId?: string | null | undefined;
269
- restaurantTagGroups?: {
270
- name: string;
271
- id: string;
272
- tags: {
273
- name: string;
274
- id: string;
275
- }[];
276
- }[] | null | undefined;
277
- pf_agent?: {
278
- clickupId?: string | null | undefined;
279
- members?: {
280
- pf_user?: {
281
- email?: string | null | undefined;
282
- phoneNumber?: string | null | undefined;
283
- birthday?: string | null | undefined;
284
- gender?: "MALE" | "FEMALE" | null | undefined;
285
- addresses?: {
286
- name: string;
287
- address: string;
288
- coordinates: number[];
289
- }[] | null | undefined;
290
- photoURL?: string | null | undefined;
291
- displayName?: string | null | undefined;
292
- imported?: {
293
- raw: Record<string, any>;
294
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
295
- } | null | undefined;
296
- _id: string;
297
- } | null | undefined;
298
- role: "ADMIN";
299
- userId: string;
300
- }[] | null | undefined;
301
- code: string;
302
- name: string;
303
- _id: string;
304
- isReseller: boolean;
305
- } | null | undefined;
306
- thumbnail?: string | null | undefined;
307
- billingInfos?: {
308
- _id?: string | null | undefined;
309
- name: string;
310
- address: {
311
- coordinates?: number[] | null | undefined;
312
- line2?: string | null | undefined;
313
- state: string;
314
- country: string;
315
- line1: string;
316
- city: string;
317
- postcode: string;
318
- };
319
- email: string;
320
- companyName: string;
321
- contact: string;
322
- }[] | null | undefined;
323
- customerDisplayImages?: {
324
- url: string;
325
- restaurantIds: string[];
326
- }[] | null | undefined;
327
- name: string;
328
- _id: string;
329
- ownerId: string;
330
- restaurantQuota: number;
331
- warehouseQuota: number;
332
- menuVersion: string;
333
- } | null | undefined;
334
- _id: string;
335
- businessId: string;
336
- profile: {
337
- email?: string | null | undefined;
338
- phoneNo?: string | null | undefined;
339
- name: string;
340
- address: {
341
- coordinates?: number[] | null | undefined;
342
- line2?: string | null | undefined;
343
- state: string;
344
- country: string;
345
- line1: string;
346
- city: string;
347
- postcode: string;
348
- };
349
- regNo: string;
350
- };
351
- };
352
- })[] | null | undefined;
353
- _id: string;
354
- name: string;
355
- purchaseOrder: {
356
- remark?: string | null | undefined;
357
- ref?: string | null | undefined;
358
- supplier?: {
359
- phoneNumber?: string | null | undefined;
360
- email?: string | null | undefined;
361
- _rev?: string | null | undefined;
362
- internal?: "restaurant" | "warehouse" | null | undefined;
363
- contactName?: string | null | undefined;
364
- registrationNumber?: string | undefined;
365
- supplyItems?: {
366
- defaultCost: {
367
- measurement?: {
368
- id: string;
369
- name: string;
370
- abbrev: string;
371
- conversion: {
372
- amount: number;
373
- precision: number;
374
- };
375
- } | null | undefined;
376
- costPerUnit: {
377
- 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";
378
- amount: number;
379
- precision: number;
380
- };
381
- };
382
- skuId: string;
383
- }[] | null | undefined;
384
- _id: string;
385
- name: string;
386
- address: {
387
- line2?: string | null | undefined;
388
- line1: string;
389
- state: string;
390
- city: string;
391
- postcode: string;
392
- country: string;
393
- };
394
- } | undefined;
395
- template?: string | null | undefined;
396
- stockSnapshotId?: string | null | undefined;
397
- effectiveAt?: string | null | undefined;
398
- items: {
399
- measurement?: {
400
- id: string;
401
- name: string;
402
- abbrev: string;
403
- conversion: {
404
- amount: number;
405
- precision: number;
406
- };
407
- } | null | undefined;
408
- totalCost?: {
409
- 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";
410
- amount: number;
411
- precision: number;
412
- } | null | undefined;
413
- sku: {
414
- trackingMeasurement?: string | null | undefined;
415
- convert?: {
416
- measurement?: string | null | undefined;
417
- inventoryBindings?: {
418
- measurement?: {
419
- id: string;
420
- name: string;
421
- abbrev: string;
422
- conversion: {
423
- amount: number;
424
- precision: number;
425
- };
426
- } | null | undefined;
427
- type: "RECIPE" | "SKU";
428
- amount: {
429
- amount: number;
430
- precision: number;
431
- };
432
- id: string;
433
- }[] | null | undefined;
434
- } | null | undefined;
435
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
436
- defaultCost?: {
437
- measurement?: {
438
- id: string;
439
- name: string;
440
- abbrev: string;
441
- conversion: {
442
- amount: number;
443
- precision: number;
444
- };
445
- } | null | undefined;
446
- costPerUnit: {
447
- 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";
448
- amount: number;
449
- precision: number;
450
- };
451
- } | null | undefined;
452
- thresholds?: {
453
- low: number;
454
- mid: number;
455
- } | null | undefined;
456
- operationalGroup?: string | null | undefined;
457
- unit: {
458
- _id: string;
459
- name: string;
460
- abbrev: string;
461
- precision: number;
462
- measurements: {
463
- id: string;
464
- name: string;
465
- abbrev: string;
466
- conversion: {
467
- amount: number;
468
- precision: number;
469
- };
470
- }[];
471
- };
472
- code: string;
473
- _id: string;
474
- name: string;
475
- };
476
- code: string;
477
- name: string;
478
- quantity: {
479
- amount: number;
480
- precision: number;
481
- };
482
- quantityStep: {
483
- amount: number;
484
- precision: number;
485
- };
486
- minimumQuantity: {
487
- amount: number;
488
- precision: number;
489
- };
490
- maximumQuantity: {
491
- amount: number;
492
- precision: number;
493
- };
494
- }[];
495
- };
496
- }[], {
497
- _rev?: string | null | undefined;
498
- locations?: ({
499
- doc?: any;
500
- type: "restaurant";
501
- name: string;
502
- acceptRequest: boolean;
503
- dbName: string;
504
- } | {
505
- type: "warehouse";
506
- name: string;
507
- acceptRequest: boolean;
508
- dbName: string;
509
- doc: {
510
- pf_business?: {
511
- internal?: boolean | null | undefined;
512
- url?: string | null | undefined;
513
- expiredAt?: string | null | undefined;
514
- agentId?: string | null | undefined;
515
- restaurantTagGroups?: {
516
- name: string;
517
- id: string;
518
- tags: {
519
- name: string;
520
- id: string;
521
- }[];
522
- }[] | null | undefined;
523
- pf_agent?: {
524
- clickupId?: string | null | undefined;
525
- members?: {
526
- pf_user?: {
527
- email?: string | null | undefined;
528
- phoneNumber?: string | null | undefined;
529
- birthday?: string | null | undefined;
530
- gender?: "MALE" | "FEMALE" | null | undefined;
531
- addresses?: {
532
- name: string;
533
- address: string;
534
- coordinates: number[];
535
- }[] | null | undefined;
536
- photoURL?: string | null | undefined;
537
- displayName?: string | null | undefined;
538
- imported?: {
539
- raw: Record<string, any>;
540
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
541
- } | null | undefined;
542
- _id: string;
543
- } | null | undefined;
544
- role: "ADMIN";
545
- userId: string;
546
- }[] | null | undefined;
547
- code: string;
548
- name: string;
549
- _id: string;
550
- isReseller: boolean;
551
- } | null | undefined;
552
- thumbnail?: string | null | undefined;
553
- billingInfos?: {
554
- _id?: string | null | undefined;
555
- name: string;
556
- address: {
557
- coordinates?: number[] | null | undefined;
558
- line2?: string | null | undefined;
559
- state: string;
560
- country: string;
561
- line1: string;
562
- city: string;
563
- postcode: string;
564
- };
565
- email: string;
566
- companyName: string;
567
- contact: string;
568
- }[] | null | undefined;
569
- customerDisplayImages?: {
570
- url: string;
571
- restaurantIds: string[];
572
- }[] | null | undefined;
573
- name: string;
574
- _id: string;
575
- ownerId: string;
576
- restaurantQuota: number;
577
- warehouseQuota: number;
578
- menuVersion: string;
579
- } | null | undefined;
580
- _id: string;
581
- businessId: string;
582
- profile: {
583
- email?: string | null | undefined;
584
- phoneNo?: string | null | undefined;
585
- name: string;
586
- address: {
587
- coordinates?: number[] | null | undefined;
588
- line2?: string | null | undefined;
589
- state: string;
590
- country: string;
591
- line1: string;
592
- city: string;
593
- postcode: string;
594
- };
595
- regNo: string;
596
- };
597
- };
598
- })[] | null | undefined;
599
- _id: string;
600
- name: string;
601
- purchaseOrder: {
602
- remark?: string | null | undefined;
603
- ref?: string | null | undefined;
604
- supplier?: {
605
- phoneNumber?: string | null | undefined;
606
- email?: string | null | undefined;
607
- _rev?: string | null | undefined;
608
- internal?: "restaurant" | "warehouse" | null | undefined;
609
- contactName?: string | null | undefined;
610
- registrationNumber?: string | undefined;
611
- supplyItems?: {
612
- defaultCost: {
613
- measurement?: {
614
- id: string;
615
- name: string;
616
- abbrev: string;
617
- conversion: {
618
- amount: number;
619
- precision: number;
620
- };
621
- } | null | undefined;
622
- costPerUnit: {
623
- 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";
624
- amount: number;
625
- precision: number;
626
- };
627
- };
628
- skuId: string;
629
- }[] | null | undefined;
630
- _id: string;
631
- name: string;
632
- address: {
633
- line2?: string | null | undefined;
634
- line1: string;
635
- state: string;
636
- city: string;
637
- postcode: string;
638
- country: string;
639
- };
640
- } | undefined;
641
- template?: string | null | undefined;
642
- stockSnapshotId?: string | null | undefined;
643
- effectiveAt?: string | null | undefined;
644
- items: {
645
- measurement?: {
646
- id: string;
647
- name: string;
648
- abbrev: string;
649
- conversion: {
650
- amount: number;
651
- precision: number;
652
- };
653
- } | null | undefined;
654
- totalCost?: {
655
- 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";
656
- amount: number;
657
- precision: number;
658
- } | null | undefined;
659
- sku: {
660
- trackingMeasurement?: string | null | undefined;
661
- convert?: {
662
- measurement?: string | null | undefined;
663
- inventoryBindings?: {
664
- measurement?: {
665
- id: string;
666
- name: string;
667
- abbrev: string;
668
- conversion: {
669
- amount: number;
670
- precision: number;
671
- };
672
- } | null | undefined;
673
- type: "RECIPE" | "SKU";
674
- amount: {
675
- amount: number;
676
- precision: number;
677
- };
678
- id: string;
679
- }[] | null | undefined;
680
- } | null | undefined;
681
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
682
- defaultCost?: {
683
- measurement?: {
684
- id: string;
685
- name: string;
686
- abbrev: string;
687
- conversion: {
688
- amount: number;
689
- precision: number;
690
- };
691
- } | null | undefined;
692
- costPerUnit: {
693
- 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";
694
- amount: number;
695
- precision: number;
696
- };
697
- } | null | undefined;
698
- thresholds?: {
699
- low: number;
700
- mid: number;
701
- } | null | undefined;
702
- operationalGroup?: string | null | undefined;
703
- unit: {
704
- _id: string;
705
- name: string;
706
- abbrev: string;
707
- precision: number;
708
- measurements: {
709
- id: string;
710
- name: string;
711
- abbrev: string;
712
- conversion: {
713
- amount: number;
714
- precision: number;
715
- };
716
- }[];
717
- };
718
- code: string;
719
- _id: string;
720
- name: string;
721
- };
722
- code: string;
723
- name: string;
724
- quantity: {
725
- amount: number;
726
- precision: number;
727
- };
728
- quantityStep: {
729
- amount: number;
730
- precision: number;
731
- };
732
- minimumQuantity: {
733
- amount: number;
734
- precision: number;
735
- };
736
- maximumQuantity: {
737
- amount: number;
738
- precision: number;
739
- };
740
- }[];
741
- };
742
- }[] | {
743
- _rev?: string | null | undefined;
744
- locations?: ({
745
- doc?: any;
746
- type: "restaurant";
747
- name: string;
748
- acceptRequest: boolean;
749
- dbName: string;
750
- } | {
751
- type: "warehouse";
752
- name: string;
753
- acceptRequest: boolean;
754
- dbName: string;
755
- doc: {
756
- pf_business?: {
757
- internal?: boolean | null | undefined;
758
- url?: string | null | undefined;
759
- expiredAt?: string | null | undefined;
760
- agentId?: string | null | undefined;
761
- restaurantTagGroups?: {
762
- name: string;
763
- id: string;
764
- tags: {
765
- name: string;
766
- id: string;
767
- }[];
768
- }[] | null | undefined;
769
- pf_agent?: {
770
- clickupId?: string | null | undefined;
771
- members?: {
772
- pf_user?: {
773
- email?: string | null | undefined;
774
- phoneNumber?: string | null | undefined;
775
- birthday?: string | null | undefined;
776
- gender?: "MALE" | "FEMALE" | null | undefined;
777
- addresses?: {
778
- name: string;
779
- address: string;
780
- coordinates: number[];
781
- }[] | null | undefined;
782
- photoURL?: string | null | undefined;
783
- displayName?: string | null | undefined;
784
- imported?: {
785
- raw: Record<string, any>;
786
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
787
- } | null | undefined;
788
- _id: string;
789
- } | null | undefined;
790
- role: "ADMIN";
791
- userId: string;
792
- }[] | null | undefined;
793
- code: string;
794
- name: string;
795
- _id: string;
796
- isReseller: boolean;
797
- } | null | undefined;
798
- thumbnail?: string | null | undefined;
799
- billingInfos?: {
800
- _id?: string | null | undefined;
801
- name: string;
802
- address: {
803
- coordinates?: number[] | null | undefined;
804
- line2?: string | null | undefined;
805
- state: string;
806
- country: string;
807
- line1: string;
808
- city: string;
809
- postcode: string;
810
- };
811
- email: string;
812
- companyName: string;
813
- contact: string;
814
- }[] | null | undefined;
815
- customerDisplayImages?: {
816
- url: string;
817
- restaurantIds: string[];
818
- }[] | null | undefined;
819
- name: string;
820
- _id: string;
821
- ownerId: string;
822
- restaurantQuota: number;
823
- warehouseQuota: number;
824
- menuVersion: string;
825
- } | null | undefined;
826
- _id: string;
827
- businessId: string;
828
- profile: {
829
- email?: string | null | undefined;
830
- phoneNo?: string | null | undefined;
831
- name: string;
832
- address: {
833
- coordinates?: number[] | null | undefined;
834
- line2?: string | null | undefined;
835
- state: string;
836
- country: string;
837
- line1: string;
838
- city: string;
839
- postcode: string;
840
- };
841
- regNo: string;
842
- };
843
- };
844
- })[] | null | undefined;
845
- _id: string;
846
- name: string;
847
- purchaseOrder: {
848
- remark?: string | null | undefined;
849
- ref?: string | null | undefined;
850
- supplier?: {
851
- phoneNumber?: string | null | undefined;
852
- email?: string | null | undefined;
853
- _rev?: string | null | undefined;
854
- internal?: "restaurant" | "warehouse" | null | undefined;
855
- contactName?: string | null | undefined;
856
- registrationNumber?: string | undefined;
857
- supplyItems?: {
858
- defaultCost: {
859
- measurement?: {
860
- id: string;
861
- name: string;
862
- abbrev: string;
863
- conversion: {
864
- amount: number;
865
- precision: number;
866
- };
867
- } | null | undefined;
868
- costPerUnit: {
869
- 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";
870
- amount: number;
871
- precision: number;
872
- };
873
- };
874
- skuId: string;
875
- }[] | null | undefined;
876
- _id: string;
877
- name: string;
878
- address: {
879
- line2?: string | null | undefined;
880
- line1: string;
881
- state: string;
882
- city: string;
883
- postcode: string;
884
- country: string;
151
+ netSuite?: {
152
+ id?: string | null | undefined;
153
+ subsidiary: {
154
+ id?: string | null | undefined;
155
+ name?: string | null | undefined;
885
156
  };
886
- } | undefined;
887
- template?: string | null | undefined;
888
- stockSnapshotId?: string | null | undefined;
889
- effectiveAt?: string | null | undefined;
157
+ } | null | undefined;
890
158
  items: {
891
159
  measurement?: {
892
160
  id: string;
@@ -985,8 +253,8 @@ export declare function useTransferTemplateTable(): {
985
253
  };
986
254
  }[];
987
255
  };
988
- }[]>;
989
- businessTemplates: import("vue").Ref<{
256
+ }>[];
257
+ templates: import("vue").Ref<{
990
258
  _rev?: string | null | undefined;
991
259
  locations?: ({
992
260
  doc?: any;
@@ -1134,6 +402,13 @@ export declare function useTransferTemplateTable(): {
1134
402
  template?: string | null | undefined;
1135
403
  stockSnapshotId?: string | null | undefined;
1136
404
  effectiveAt?: string | null | undefined;
405
+ netSuite?: {
406
+ id?: string | null | undefined;
407
+ subsidiary: {
408
+ id?: string | null | undefined;
409
+ name?: string | null | undefined;
410
+ };
411
+ } | null | undefined;
1137
412
  items: {
1138
413
  measurement?: {
1139
414
  id: string;
@@ -1380,6 +655,13 @@ export declare function useTransferTemplateTable(): {
1380
655
  template?: string | null | undefined;
1381
656
  stockSnapshotId?: string | null | undefined;
1382
657
  effectiveAt?: string | null | undefined;
658
+ netSuite?: {
659
+ id?: string | null | undefined;
660
+ subsidiary: {
661
+ id?: string | null | undefined;
662
+ name?: string | null | undefined;
663
+ };
664
+ } | null | undefined;
1383
665
  items: {
1384
666
  measurement?: {
1385
667
  id: string;
@@ -1626,253 +908,13 @@ export declare function useTransferTemplateTable(): {
1626
908
  template?: string | null | undefined;
1627
909
  stockSnapshotId?: string | null | undefined;
1628
910
  effectiveAt?: string | null | undefined;
1629
- items: {
1630
- measurement?: {
1631
- id: string;
1632
- name: string;
1633
- abbrev: string;
1634
- conversion: {
1635
- amount: number;
1636
- precision: number;
1637
- };
1638
- } | null | undefined;
1639
- totalCost?: {
1640
- 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";
1641
- amount: number;
1642
- precision: number;
1643
- } | null | undefined;
1644
- sku: {
1645
- trackingMeasurement?: string | null | undefined;
1646
- convert?: {
1647
- measurement?: string | null | undefined;
1648
- inventoryBindings?: {
1649
- measurement?: {
1650
- id: string;
1651
- name: string;
1652
- abbrev: string;
1653
- conversion: {
1654
- amount: number;
1655
- precision: number;
1656
- };
1657
- } | null | undefined;
1658
- type: "RECIPE" | "SKU";
1659
- amount: {
1660
- amount: number;
1661
- precision: number;
1662
- };
1663
- id: string;
1664
- }[] | null | undefined;
1665
- } | null | undefined;
1666
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1667
- defaultCost?: {
1668
- measurement?: {
1669
- id: string;
1670
- name: string;
1671
- abbrev: string;
1672
- conversion: {
1673
- amount: number;
1674
- precision: number;
1675
- };
1676
- } | null | undefined;
1677
- costPerUnit: {
1678
- 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";
1679
- amount: number;
1680
- precision: number;
1681
- };
1682
- } | null | undefined;
1683
- thresholds?: {
1684
- low: number;
1685
- mid: number;
1686
- } | null | undefined;
1687
- operationalGroup?: string | null | undefined;
1688
- unit: {
1689
- _id: string;
1690
- name: string;
1691
- abbrev: string;
1692
- precision: number;
1693
- measurements: {
1694
- id: string;
1695
- name: string;
1696
- abbrev: string;
1697
- conversion: {
1698
- amount: number;
1699
- precision: number;
1700
- };
1701
- }[];
1702
- };
1703
- code: string;
1704
- _id: string;
1705
- name: string;
1706
- };
1707
- code: string;
1708
- name: string;
1709
- quantity: {
1710
- amount: number;
1711
- precision: number;
1712
- };
1713
- quantityStep: {
1714
- amount: number;
1715
- precision: number;
1716
- };
1717
- minimumQuantity: {
1718
- amount: number;
1719
- precision: number;
1720
- };
1721
- maximumQuantity: {
1722
- amount: number;
1723
- precision: number;
1724
- };
1725
- }[];
1726
- };
1727
- }[]>;
1728
- templates: import("vue").ComputedRef<{
1729
- _rev?: string | null | undefined;
1730
- locations?: ({
1731
- doc?: any;
1732
- type: "restaurant";
1733
- name: string;
1734
- acceptRequest: boolean;
1735
- dbName: string;
1736
- } | {
1737
- type: "warehouse";
1738
- name: string;
1739
- acceptRequest: boolean;
1740
- dbName: string;
1741
- doc: {
1742
- pf_business?: {
1743
- internal?: boolean | null | undefined;
1744
- url?: string | null | undefined;
1745
- expiredAt?: string | null | undefined;
1746
- agentId?: string | null | undefined;
1747
- restaurantTagGroups?: {
1748
- name: string;
1749
- id: string;
1750
- tags: {
1751
- name: string;
1752
- id: string;
1753
- }[];
1754
- }[] | null | undefined;
1755
- pf_agent?: {
1756
- clickupId?: string | null | undefined;
1757
- members?: {
1758
- pf_user?: {
1759
- email?: string | null | undefined;
1760
- phoneNumber?: string | null | undefined;
1761
- birthday?: string | null | undefined;
1762
- gender?: "MALE" | "FEMALE" | null | undefined;
1763
- addresses?: {
1764
- name: string;
1765
- address: string;
1766
- coordinates: number[];
1767
- }[] | null | undefined;
1768
- photoURL?: string | null | undefined;
1769
- displayName?: string | null | undefined;
1770
- imported?: {
1771
- raw: Record<string, any>;
1772
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1773
- } | null | undefined;
1774
- _id: string;
1775
- } | null | undefined;
1776
- role: "ADMIN";
1777
- userId: string;
1778
- }[] | null | undefined;
1779
- code: string;
1780
- name: string;
1781
- _id: string;
1782
- isReseller: boolean;
1783
- } | null | undefined;
1784
- thumbnail?: string | null | undefined;
1785
- billingInfos?: {
1786
- _id?: string | null | undefined;
1787
- name: string;
1788
- address: {
1789
- coordinates?: number[] | null | undefined;
1790
- line2?: string | null | undefined;
1791
- state: string;
1792
- country: string;
1793
- line1: string;
1794
- city: string;
1795
- postcode: string;
1796
- };
1797
- email: string;
1798
- companyName: string;
1799
- contact: string;
1800
- }[] | null | undefined;
1801
- customerDisplayImages?: {
1802
- url: string;
1803
- restaurantIds: string[];
1804
- }[] | null | undefined;
1805
- name: string;
1806
- _id: string;
1807
- ownerId: string;
1808
- restaurantQuota: number;
1809
- warehouseQuota: number;
1810
- menuVersion: string;
1811
- } | null | undefined;
1812
- _id: string;
1813
- businessId: string;
1814
- profile: {
1815
- email?: string | null | undefined;
1816
- phoneNo?: string | null | undefined;
1817
- name: string;
1818
- address: {
1819
- coordinates?: number[] | null | undefined;
1820
- line2?: string | null | undefined;
1821
- state: string;
1822
- country: string;
1823
- line1: string;
1824
- city: string;
1825
- postcode: string;
1826
- };
1827
- regNo: string;
1828
- };
1829
- };
1830
- })[] | null | undefined;
1831
- _id: string;
1832
- name: string;
1833
- purchaseOrder: {
1834
- remark?: string | null | undefined;
1835
- ref?: string | null | undefined;
1836
- supplier?: {
1837
- phoneNumber?: string | null | undefined;
1838
- email?: string | null | undefined;
1839
- _rev?: string | null | undefined;
1840
- internal?: "restaurant" | "warehouse" | null | undefined;
1841
- contactName?: string | null | undefined;
1842
- registrationNumber?: string | undefined;
1843
- supplyItems?: {
1844
- defaultCost: {
1845
- measurement?: {
1846
- id: string;
1847
- name: string;
1848
- abbrev: string;
1849
- conversion: {
1850
- amount: number;
1851
- precision: number;
1852
- };
1853
- } | null | undefined;
1854
- costPerUnit: {
1855
- 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";
1856
- amount: number;
1857
- precision: number;
1858
- };
1859
- };
1860
- skuId: string;
1861
- }[] | null | undefined;
1862
- _id: string;
1863
- name: string;
1864
- address: {
1865
- line2?: string | null | undefined;
1866
- line1: string;
1867
- state: string;
1868
- city: string;
1869
- postcode: string;
1870
- country: string;
911
+ netSuite?: {
912
+ id?: string | null | undefined;
913
+ subsidiary: {
914
+ id?: string | null | undefined;
915
+ name?: string | null | undefined;
1871
916
  };
1872
- } | undefined;
1873
- template?: string | null | undefined;
1874
- stockSnapshotId?: string | null | undefined;
1875
- effectiveAt?: string | null | undefined;
917
+ } | null | undefined;
1876
918
  items: {
1877
919
  measurement?: {
1878
920
  id: string;