@feedmepos/mf-inventory-portal 0.0.22-dev.34 → 0.0.22-dev.37
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.
- package/dist/{ApprovalView-2pX2IV1F.js → ApprovalView-Dco0PkEf.js} +8 -8
- package/dist/{BindingsDialog-EyImpE9g.js → BindingsDialog-DrCU_kIA.js} +9 -9
- package/dist/{BindingsPicker-CbBNBcWW.js → BindingsPicker-BMIIrlG6.js} +17 -17
- package/dist/{BindingsTable-CJeV7Dd2.js → BindingsTable-BHRmkL1P.js} +1 -1
- package/dist/{ClosingTemplateView-BDEooji1.js → ClosingTemplateView-kiej8Nah.js} +15 -15
- package/dist/FmDroppableField-Bl7A98it.js +152 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZtc5R4Z.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DQw4pBwH.js} +25 -25
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-z-BBBTkh.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DBh79EM_.js} +20 -20
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-3OkJNtvH.js +51 -0
- package/dist/IngredientsView-m44wAwSR.js +1611 -0
- package/dist/{IntegrationView-1lXCciJp.js → IntegrationView-B4gCx21K.js} +71 -71
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bgd922-L.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D1frNXtV.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Bexig132.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dbs29jm_.js} +16 -16
- package/dist/{PurchaseOrderPrintPreview-036mLqRD.js → PurchaseOrderPrintPreview-lKu0y_xw.js} +7 -7
- package/dist/ReceiveRequestView-DflWKxgq.js +4053 -0
- package/dist/{RecipeView-BuiA-2uY.js → RecipeView-DfsXdlPn.js} +30 -29
- package/dist/StockView-BSeSpxkV.js +7762 -0
- package/dist/{SupplierView-Ck5hH5gT.js → SupplierView-DPWh1si_.js} +11 -11
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DFDc3P3S.js → TransferDetails.vue_vue_type_script_setup_true_lang-Dt1lRW3W.js} +260 -262
- package/dist/TransferTemplateView-DGOT4oZN.js +2054 -0
- package/dist/{UnitView-DB2hQFMC.js → UnitView-X9bCqAWe.js} +16 -16
- package/dist/{WarehouseView-CFJiuhpx.js → WarehouseView-BphA-Peq.js} +20 -20
- package/dist/api/bill.d.ts +84 -238
- package/dist/api/purchase-order-template.d.ts +4 -2
- package/dist/{app-Z9P39kGh.js → app-DZiCiBV7.js} +18175 -18188
- package/dist/app.js +2 -2
- package/dist/{decimal-DIe_fFDH.js → decimal-Bx1Y3uW1.js} +1 -1
- package/dist/defineDeepModel-4XZbatJF.js +13 -0
- package/dist/format-time-from-id-CFJvgP70.js +15 -0
- package/dist/helper/xlsx.util.d.ts +7 -0
- package/dist/purchase-order-transaction-type-Ds7YRAAp.js +348 -0
- package/dist/stores/inventory.d.ts +63 -0
- package/dist/stores/location.d.ts +89 -0
- package/dist/stores/netsuite.d.ts +1 -0
- package/dist/stores/supplier.d.ts +120 -3
- package/dist/stores/warehouse.d.ts +7 -4
- package/dist/supplier-BhJT8KOX.js +70 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-CeSeHnX0.js → use-template-enabled-locations-2-BrEPVOpT.js} +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +2 -2
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +2 -2
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +44 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +42 -34
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +75 -51
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +75 -51
- package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
- package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +10 -6
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1850 -5
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -230
- package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +14 -8
- package/dist/{xlsx-DrDljHnF.js → xlsx-B9lpxKgq.js} +651 -651
- package/dist/xlsx.util-DP5wVnRT.js +78 -0
- package/package.json +1 -1
- package/dist/IngredientsView-BvKaI0nb.js +0 -1755
- package/dist/ReceiveRequestView-BGlxEJkh.js +0 -1626
- package/dist/StockView-BKX6NX-g.js +0 -1909
- package/dist/TransferTemplateView-ByYEje9E.js +0 -1237
- package/dist/defineDeepModel-DH8vhBpR.js +0 -13
- package/dist/format-time-from-id-CAjL4U2X.js +0 -15
- package/dist/purchase-order-transaction-type-BJDnbhdk.js +0 -338
- package/dist/supplier-wJJ7ATk2.js +0 -69
- package/dist/xlsx.util-BwF0vRjF.js +0 -109
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ColumnDef } from '@feedmepos/ui-library';
|
|
2
|
-
|
|
2
|
+
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
|
|
3
|
+
export declare const useTransferTemplateTable: import("pinia").StoreDefinition<"transferTemplateTable", import("pinia")._UnwrapAll<Pick<{
|
|
3
4
|
columnDefs: ColumnDef<{
|
|
4
5
|
_rev?: string | null | undefined;
|
|
5
6
|
locations?: {
|
|
@@ -231,6 +232,1620 @@ export declare function useTransferTemplateTable(): {
|
|
|
231
232
|
};
|
|
232
233
|
}>[];
|
|
233
234
|
templates: import("vue").Ref<{
|
|
235
|
+
_rev: string;
|
|
236
|
+
locations?: {
|
|
237
|
+
type: "restaurant" | "warehouse";
|
|
238
|
+
name: string;
|
|
239
|
+
acceptRequest: boolean;
|
|
240
|
+
dbName: string;
|
|
241
|
+
doc: {
|
|
242
|
+
_id: string;
|
|
243
|
+
businessId: string;
|
|
244
|
+
profile: {
|
|
245
|
+
code?: string | null | undefined;
|
|
246
|
+
_id?: string | null | undefined;
|
|
247
|
+
name?: string | undefined;
|
|
248
|
+
address?: {
|
|
249
|
+
coordinates?: number[] | null | undefined;
|
|
250
|
+
line2?: string | null | undefined;
|
|
251
|
+
state: string;
|
|
252
|
+
country: string;
|
|
253
|
+
line1: string;
|
|
254
|
+
city: string;
|
|
255
|
+
postcode: string;
|
|
256
|
+
} | undefined;
|
|
257
|
+
email?: string | undefined;
|
|
258
|
+
regNo?: string | undefined;
|
|
259
|
+
sstRegNo?: string | null | undefined;
|
|
260
|
+
phoneNo?: string | undefined;
|
|
261
|
+
legalName?: string | null | undefined;
|
|
262
|
+
discovery?: boolean | null | undefined;
|
|
263
|
+
coverPhoto?: string | null | undefined;
|
|
264
|
+
thumbnailPhoto?: string | null | undefined;
|
|
265
|
+
description?: string | null | undefined;
|
|
266
|
+
photos?: string[] | null | undefined;
|
|
267
|
+
operatingHours?: {
|
|
268
|
+
0: {
|
|
269
|
+
hours: {
|
|
270
|
+
end: string;
|
|
271
|
+
start: string;
|
|
272
|
+
}[];
|
|
273
|
+
enable: boolean;
|
|
274
|
+
};
|
|
275
|
+
2: {
|
|
276
|
+
hours: {
|
|
277
|
+
end: string;
|
|
278
|
+
start: string;
|
|
279
|
+
}[];
|
|
280
|
+
enable: boolean;
|
|
281
|
+
};
|
|
282
|
+
1: {
|
|
283
|
+
hours: {
|
|
284
|
+
end: string;
|
|
285
|
+
start: string;
|
|
286
|
+
}[];
|
|
287
|
+
enable: boolean;
|
|
288
|
+
};
|
|
289
|
+
3: {
|
|
290
|
+
hours: {
|
|
291
|
+
end: string;
|
|
292
|
+
start: string;
|
|
293
|
+
}[];
|
|
294
|
+
enable: boolean;
|
|
295
|
+
};
|
|
296
|
+
4: {
|
|
297
|
+
hours: {
|
|
298
|
+
end: string;
|
|
299
|
+
start: string;
|
|
300
|
+
}[];
|
|
301
|
+
enable: boolean;
|
|
302
|
+
};
|
|
303
|
+
5: {
|
|
304
|
+
hours: {
|
|
305
|
+
end: string;
|
|
306
|
+
start: string;
|
|
307
|
+
}[];
|
|
308
|
+
enable: boolean;
|
|
309
|
+
};
|
|
310
|
+
6: {
|
|
311
|
+
hours: {
|
|
312
|
+
end: string;
|
|
313
|
+
start: string;
|
|
314
|
+
}[];
|
|
315
|
+
enable: boolean;
|
|
316
|
+
};
|
|
317
|
+
} | null | undefined;
|
|
318
|
+
tags?: string[] | null | undefined;
|
|
319
|
+
url?: string | null | undefined;
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
}[] | null | undefined;
|
|
323
|
+
_id: string;
|
|
324
|
+
name: string;
|
|
325
|
+
purchaseOrder: {
|
|
326
|
+
remark?: string | null | undefined;
|
|
327
|
+
ref?: string | null | undefined;
|
|
328
|
+
items: {
|
|
329
|
+
measurement?: {
|
|
330
|
+
id: string;
|
|
331
|
+
name: string;
|
|
332
|
+
abbrev: string;
|
|
333
|
+
conversion: {
|
|
334
|
+
amount: number;
|
|
335
|
+
precision: number;
|
|
336
|
+
};
|
|
337
|
+
} | null | undefined;
|
|
338
|
+
totalCost?: {
|
|
339
|
+
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";
|
|
340
|
+
amount: number;
|
|
341
|
+
precision: number;
|
|
342
|
+
} | null | undefined;
|
|
343
|
+
sku: {
|
|
344
|
+
trackingMeasurement?: string | null | undefined;
|
|
345
|
+
convert?: {
|
|
346
|
+
measurement?: string | null | undefined;
|
|
347
|
+
inventoryBindings?: {
|
|
348
|
+
measurement?: {
|
|
349
|
+
id: string;
|
|
350
|
+
name: string;
|
|
351
|
+
abbrev: string;
|
|
352
|
+
conversion: {
|
|
353
|
+
amount: number;
|
|
354
|
+
precision: number;
|
|
355
|
+
};
|
|
356
|
+
} | null | undefined;
|
|
357
|
+
type: "RECIPE" | "SKU";
|
|
358
|
+
amount: {
|
|
359
|
+
amount: number;
|
|
360
|
+
precision: number;
|
|
361
|
+
};
|
|
362
|
+
id: string;
|
|
363
|
+
}[] | null | undefined;
|
|
364
|
+
} | null | undefined;
|
|
365
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
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
|
+
} | null | undefined;
|
|
382
|
+
thresholds?: {
|
|
383
|
+
low: number;
|
|
384
|
+
mid: number;
|
|
385
|
+
} | null | undefined;
|
|
386
|
+
operationalGroup?: string | null | undefined;
|
|
387
|
+
unit: {
|
|
388
|
+
_id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
abbrev: string;
|
|
391
|
+
precision: number;
|
|
392
|
+
measurements: {
|
|
393
|
+
id: string;
|
|
394
|
+
name: string;
|
|
395
|
+
abbrev: string;
|
|
396
|
+
conversion: {
|
|
397
|
+
amount: number;
|
|
398
|
+
precision: number;
|
|
399
|
+
};
|
|
400
|
+
}[];
|
|
401
|
+
};
|
|
402
|
+
code: string;
|
|
403
|
+
_id: string;
|
|
404
|
+
name: string;
|
|
405
|
+
};
|
|
406
|
+
code: string;
|
|
407
|
+
name: string;
|
|
408
|
+
quantity: {
|
|
409
|
+
amount: number;
|
|
410
|
+
precision: number;
|
|
411
|
+
};
|
|
412
|
+
quantityStep: {
|
|
413
|
+
amount: number;
|
|
414
|
+
precision: number;
|
|
415
|
+
};
|
|
416
|
+
minimumQuantity: {
|
|
417
|
+
amount: number;
|
|
418
|
+
precision: number;
|
|
419
|
+
};
|
|
420
|
+
maximumQuantity: {
|
|
421
|
+
amount: number;
|
|
422
|
+
precision: number;
|
|
423
|
+
};
|
|
424
|
+
}[];
|
|
425
|
+
supplier: {
|
|
426
|
+
phoneNumber?: string | null | undefined;
|
|
427
|
+
email?: string | null | undefined;
|
|
428
|
+
_rev?: string | null | undefined;
|
|
429
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
430
|
+
contactName?: string | null | undefined;
|
|
431
|
+
registrationNumber?: string | undefined;
|
|
432
|
+
supplyItems?: {
|
|
433
|
+
defaultCost: {
|
|
434
|
+
measurement?: {
|
|
435
|
+
id: string;
|
|
436
|
+
name: string;
|
|
437
|
+
abbrev: string;
|
|
438
|
+
conversion: {
|
|
439
|
+
amount: number;
|
|
440
|
+
precision: number;
|
|
441
|
+
};
|
|
442
|
+
} | null | undefined;
|
|
443
|
+
costPerUnit: {
|
|
444
|
+
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";
|
|
445
|
+
amount: number;
|
|
446
|
+
precision: number;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
skuId: string;
|
|
450
|
+
}[] | null | undefined;
|
|
451
|
+
_id: string;
|
|
452
|
+
name: string;
|
|
453
|
+
address: {
|
|
454
|
+
line2?: string | null | undefined;
|
|
455
|
+
line1: string;
|
|
456
|
+
state: string;
|
|
457
|
+
city: string;
|
|
458
|
+
postcode: string;
|
|
459
|
+
country: string;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
}[], ({
|
|
464
|
+
_rev?: string | null | undefined;
|
|
465
|
+
locations?: {
|
|
466
|
+
type: "restaurant" | "warehouse";
|
|
467
|
+
name: string;
|
|
468
|
+
acceptRequest: boolean;
|
|
469
|
+
dbName: string;
|
|
470
|
+
doc: {
|
|
471
|
+
_id: string;
|
|
472
|
+
businessId: string;
|
|
473
|
+
profile: {
|
|
474
|
+
code?: string | null | undefined;
|
|
475
|
+
_id?: string | null | undefined;
|
|
476
|
+
name?: string | undefined;
|
|
477
|
+
address?: {
|
|
478
|
+
coordinates?: number[] | null | undefined;
|
|
479
|
+
line2?: string | null | undefined;
|
|
480
|
+
state: string;
|
|
481
|
+
country: string;
|
|
482
|
+
line1: string;
|
|
483
|
+
city: string;
|
|
484
|
+
postcode: string;
|
|
485
|
+
} | undefined;
|
|
486
|
+
email?: string | undefined;
|
|
487
|
+
regNo?: string | undefined;
|
|
488
|
+
sstRegNo?: string | null | undefined;
|
|
489
|
+
phoneNo?: string | undefined;
|
|
490
|
+
legalName?: string | null | undefined;
|
|
491
|
+
discovery?: boolean | null | undefined;
|
|
492
|
+
coverPhoto?: string | null | undefined;
|
|
493
|
+
thumbnailPhoto?: string | null | undefined;
|
|
494
|
+
description?: string | null | undefined;
|
|
495
|
+
photos?: string[] | null | undefined;
|
|
496
|
+
operatingHours?: {
|
|
497
|
+
0: {
|
|
498
|
+
hours: {
|
|
499
|
+
end: string;
|
|
500
|
+
start: string;
|
|
501
|
+
}[];
|
|
502
|
+
enable: boolean;
|
|
503
|
+
};
|
|
504
|
+
2: {
|
|
505
|
+
hours: {
|
|
506
|
+
end: string;
|
|
507
|
+
start: string;
|
|
508
|
+
}[];
|
|
509
|
+
enable: boolean;
|
|
510
|
+
};
|
|
511
|
+
1: {
|
|
512
|
+
hours: {
|
|
513
|
+
end: string;
|
|
514
|
+
start: string;
|
|
515
|
+
}[];
|
|
516
|
+
enable: boolean;
|
|
517
|
+
};
|
|
518
|
+
3: {
|
|
519
|
+
hours: {
|
|
520
|
+
end: string;
|
|
521
|
+
start: string;
|
|
522
|
+
}[];
|
|
523
|
+
enable: boolean;
|
|
524
|
+
};
|
|
525
|
+
4: {
|
|
526
|
+
hours: {
|
|
527
|
+
end: string;
|
|
528
|
+
start: string;
|
|
529
|
+
}[];
|
|
530
|
+
enable: boolean;
|
|
531
|
+
};
|
|
532
|
+
5: {
|
|
533
|
+
hours: {
|
|
534
|
+
end: string;
|
|
535
|
+
start: string;
|
|
536
|
+
}[];
|
|
537
|
+
enable: boolean;
|
|
538
|
+
};
|
|
539
|
+
6: {
|
|
540
|
+
hours: {
|
|
541
|
+
end: string;
|
|
542
|
+
start: string;
|
|
543
|
+
}[];
|
|
544
|
+
enable: boolean;
|
|
545
|
+
};
|
|
546
|
+
} | null | undefined;
|
|
547
|
+
tags?: string[] | null | undefined;
|
|
548
|
+
url?: string | null | undefined;
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
}[] | null | undefined;
|
|
552
|
+
_id: string;
|
|
553
|
+
name: string;
|
|
554
|
+
purchaseOrder: {
|
|
555
|
+
remark?: string | null | undefined;
|
|
556
|
+
ref?: string | null | undefined;
|
|
557
|
+
items: {
|
|
558
|
+
measurement?: {
|
|
559
|
+
id: string;
|
|
560
|
+
name: string;
|
|
561
|
+
abbrev: string;
|
|
562
|
+
conversion: {
|
|
563
|
+
amount: number;
|
|
564
|
+
precision: number;
|
|
565
|
+
};
|
|
566
|
+
} | null | undefined;
|
|
567
|
+
totalCost?: {
|
|
568
|
+
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";
|
|
569
|
+
amount: number;
|
|
570
|
+
precision: number;
|
|
571
|
+
} | null | undefined;
|
|
572
|
+
sku: {
|
|
573
|
+
trackingMeasurement?: string | null | undefined;
|
|
574
|
+
convert?: {
|
|
575
|
+
measurement?: string | null | undefined;
|
|
576
|
+
inventoryBindings?: {
|
|
577
|
+
measurement?: {
|
|
578
|
+
id: string;
|
|
579
|
+
name: string;
|
|
580
|
+
abbrev: string;
|
|
581
|
+
conversion: {
|
|
582
|
+
amount: number;
|
|
583
|
+
precision: number;
|
|
584
|
+
};
|
|
585
|
+
} | null | undefined;
|
|
586
|
+
type: "RECIPE" | "SKU";
|
|
587
|
+
amount: {
|
|
588
|
+
amount: number;
|
|
589
|
+
precision: number;
|
|
590
|
+
};
|
|
591
|
+
id: string;
|
|
592
|
+
}[] | null | undefined;
|
|
593
|
+
} | null | undefined;
|
|
594
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
595
|
+
defaultCost?: {
|
|
596
|
+
measurement?: {
|
|
597
|
+
id: string;
|
|
598
|
+
name: string;
|
|
599
|
+
abbrev: string;
|
|
600
|
+
conversion: {
|
|
601
|
+
amount: number;
|
|
602
|
+
precision: number;
|
|
603
|
+
};
|
|
604
|
+
} | null | undefined;
|
|
605
|
+
costPerUnit: {
|
|
606
|
+
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";
|
|
607
|
+
amount: number;
|
|
608
|
+
precision: number;
|
|
609
|
+
};
|
|
610
|
+
} | null | undefined;
|
|
611
|
+
thresholds?: {
|
|
612
|
+
low: number;
|
|
613
|
+
mid: number;
|
|
614
|
+
} | null | undefined;
|
|
615
|
+
operationalGroup?: string | null | undefined;
|
|
616
|
+
unit: {
|
|
617
|
+
_id: string;
|
|
618
|
+
name: string;
|
|
619
|
+
abbrev: string;
|
|
620
|
+
precision: number;
|
|
621
|
+
measurements: {
|
|
622
|
+
id: string;
|
|
623
|
+
name: string;
|
|
624
|
+
abbrev: string;
|
|
625
|
+
conversion: {
|
|
626
|
+
amount: number;
|
|
627
|
+
precision: number;
|
|
628
|
+
};
|
|
629
|
+
}[];
|
|
630
|
+
};
|
|
631
|
+
code: string;
|
|
632
|
+
_id: string;
|
|
633
|
+
name: string;
|
|
634
|
+
};
|
|
635
|
+
code: string;
|
|
636
|
+
name: string;
|
|
637
|
+
quantity: {
|
|
638
|
+
amount: number;
|
|
639
|
+
precision: number;
|
|
640
|
+
};
|
|
641
|
+
quantityStep: {
|
|
642
|
+
amount: number;
|
|
643
|
+
precision: number;
|
|
644
|
+
};
|
|
645
|
+
minimumQuantity: {
|
|
646
|
+
amount: number;
|
|
647
|
+
precision: number;
|
|
648
|
+
};
|
|
649
|
+
maximumQuantity: {
|
|
650
|
+
amount: number;
|
|
651
|
+
precision: number;
|
|
652
|
+
};
|
|
653
|
+
}[];
|
|
654
|
+
supplier: {
|
|
655
|
+
phoneNumber?: string | null | undefined;
|
|
656
|
+
email?: string | null | undefined;
|
|
657
|
+
_rev?: string | null | undefined;
|
|
658
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
659
|
+
contactName?: string | null | undefined;
|
|
660
|
+
registrationNumber?: string | undefined;
|
|
661
|
+
supplyItems?: {
|
|
662
|
+
defaultCost: {
|
|
663
|
+
measurement?: {
|
|
664
|
+
id: string;
|
|
665
|
+
name: string;
|
|
666
|
+
abbrev: string;
|
|
667
|
+
conversion: {
|
|
668
|
+
amount: number;
|
|
669
|
+
precision: number;
|
|
670
|
+
};
|
|
671
|
+
} | null | undefined;
|
|
672
|
+
costPerUnit: {
|
|
673
|
+
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";
|
|
674
|
+
amount: number;
|
|
675
|
+
precision: number;
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
skuId: string;
|
|
679
|
+
}[] | null | undefined;
|
|
680
|
+
_id: string;
|
|
681
|
+
name: string;
|
|
682
|
+
address: {
|
|
683
|
+
line2?: string | null | undefined;
|
|
684
|
+
line1: string;
|
|
685
|
+
state: string;
|
|
686
|
+
city: string;
|
|
687
|
+
postcode: string;
|
|
688
|
+
country: string;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
} & RevisionIdMeta)[] | {
|
|
693
|
+
_rev: string;
|
|
694
|
+
locations?: {
|
|
695
|
+
type: "restaurant" | "warehouse";
|
|
696
|
+
name: string;
|
|
697
|
+
acceptRequest: boolean;
|
|
698
|
+
dbName: string;
|
|
699
|
+
doc: {
|
|
700
|
+
_id: string;
|
|
701
|
+
businessId: string;
|
|
702
|
+
profile: {
|
|
703
|
+
code?: string | null | undefined;
|
|
704
|
+
_id?: string | null | undefined;
|
|
705
|
+
name?: string | undefined;
|
|
706
|
+
address?: {
|
|
707
|
+
coordinates?: number[] | null | undefined;
|
|
708
|
+
line2?: string | null | undefined;
|
|
709
|
+
state: string;
|
|
710
|
+
country: string;
|
|
711
|
+
line1: string;
|
|
712
|
+
city: string;
|
|
713
|
+
postcode: string;
|
|
714
|
+
} | undefined;
|
|
715
|
+
email?: string | undefined;
|
|
716
|
+
regNo?: string | undefined;
|
|
717
|
+
sstRegNo?: string | null | undefined;
|
|
718
|
+
phoneNo?: string | undefined;
|
|
719
|
+
legalName?: string | null | undefined;
|
|
720
|
+
discovery?: boolean | null | undefined;
|
|
721
|
+
coverPhoto?: string | null | undefined;
|
|
722
|
+
thumbnailPhoto?: string | null | undefined;
|
|
723
|
+
description?: string | null | undefined;
|
|
724
|
+
photos?: string[] | null | undefined;
|
|
725
|
+
operatingHours?: {
|
|
726
|
+
0: {
|
|
727
|
+
hours: {
|
|
728
|
+
end: string;
|
|
729
|
+
start: string;
|
|
730
|
+
}[];
|
|
731
|
+
enable: boolean;
|
|
732
|
+
};
|
|
733
|
+
2: {
|
|
734
|
+
hours: {
|
|
735
|
+
end: string;
|
|
736
|
+
start: string;
|
|
737
|
+
}[];
|
|
738
|
+
enable: boolean;
|
|
739
|
+
};
|
|
740
|
+
1: {
|
|
741
|
+
hours: {
|
|
742
|
+
end: string;
|
|
743
|
+
start: string;
|
|
744
|
+
}[];
|
|
745
|
+
enable: boolean;
|
|
746
|
+
};
|
|
747
|
+
3: {
|
|
748
|
+
hours: {
|
|
749
|
+
end: string;
|
|
750
|
+
start: string;
|
|
751
|
+
}[];
|
|
752
|
+
enable: boolean;
|
|
753
|
+
};
|
|
754
|
+
4: {
|
|
755
|
+
hours: {
|
|
756
|
+
end: string;
|
|
757
|
+
start: string;
|
|
758
|
+
}[];
|
|
759
|
+
enable: boolean;
|
|
760
|
+
};
|
|
761
|
+
5: {
|
|
762
|
+
hours: {
|
|
763
|
+
end: string;
|
|
764
|
+
start: string;
|
|
765
|
+
}[];
|
|
766
|
+
enable: boolean;
|
|
767
|
+
};
|
|
768
|
+
6: {
|
|
769
|
+
hours: {
|
|
770
|
+
end: string;
|
|
771
|
+
start: string;
|
|
772
|
+
}[];
|
|
773
|
+
enable: boolean;
|
|
774
|
+
};
|
|
775
|
+
} | null | undefined;
|
|
776
|
+
tags?: string[] | null | undefined;
|
|
777
|
+
url?: string | null | undefined;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
}[] | null | undefined;
|
|
781
|
+
_id: string;
|
|
782
|
+
name: string;
|
|
783
|
+
purchaseOrder: {
|
|
784
|
+
remark?: string | null | undefined;
|
|
785
|
+
ref?: string | null | undefined;
|
|
786
|
+
items: {
|
|
787
|
+
measurement?: {
|
|
788
|
+
id: string;
|
|
789
|
+
name: string;
|
|
790
|
+
abbrev: string;
|
|
791
|
+
conversion: {
|
|
792
|
+
amount: number;
|
|
793
|
+
precision: number;
|
|
794
|
+
};
|
|
795
|
+
} | null | undefined;
|
|
796
|
+
totalCost?: {
|
|
797
|
+
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";
|
|
798
|
+
amount: number;
|
|
799
|
+
precision: number;
|
|
800
|
+
} | null | undefined;
|
|
801
|
+
sku: {
|
|
802
|
+
trackingMeasurement?: string | null | undefined;
|
|
803
|
+
convert?: {
|
|
804
|
+
measurement?: string | null | undefined;
|
|
805
|
+
inventoryBindings?: {
|
|
806
|
+
measurement?: {
|
|
807
|
+
id: string;
|
|
808
|
+
name: string;
|
|
809
|
+
abbrev: string;
|
|
810
|
+
conversion: {
|
|
811
|
+
amount: number;
|
|
812
|
+
precision: number;
|
|
813
|
+
};
|
|
814
|
+
} | null | undefined;
|
|
815
|
+
type: "RECIPE" | "SKU";
|
|
816
|
+
amount: {
|
|
817
|
+
amount: number;
|
|
818
|
+
precision: number;
|
|
819
|
+
};
|
|
820
|
+
id: string;
|
|
821
|
+
}[] | null | undefined;
|
|
822
|
+
} | null | undefined;
|
|
823
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
824
|
+
defaultCost?: {
|
|
825
|
+
measurement?: {
|
|
826
|
+
id: string;
|
|
827
|
+
name: string;
|
|
828
|
+
abbrev: string;
|
|
829
|
+
conversion: {
|
|
830
|
+
amount: number;
|
|
831
|
+
precision: number;
|
|
832
|
+
};
|
|
833
|
+
} | null | undefined;
|
|
834
|
+
costPerUnit: {
|
|
835
|
+
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";
|
|
836
|
+
amount: number;
|
|
837
|
+
precision: number;
|
|
838
|
+
};
|
|
839
|
+
} | null | undefined;
|
|
840
|
+
thresholds?: {
|
|
841
|
+
low: number;
|
|
842
|
+
mid: number;
|
|
843
|
+
} | null | undefined;
|
|
844
|
+
operationalGroup?: string | null | undefined;
|
|
845
|
+
unit: {
|
|
846
|
+
_id: string;
|
|
847
|
+
name: string;
|
|
848
|
+
abbrev: string;
|
|
849
|
+
precision: number;
|
|
850
|
+
measurements: {
|
|
851
|
+
id: string;
|
|
852
|
+
name: string;
|
|
853
|
+
abbrev: string;
|
|
854
|
+
conversion: {
|
|
855
|
+
amount: number;
|
|
856
|
+
precision: number;
|
|
857
|
+
};
|
|
858
|
+
}[];
|
|
859
|
+
};
|
|
860
|
+
code: string;
|
|
861
|
+
_id: string;
|
|
862
|
+
name: string;
|
|
863
|
+
};
|
|
864
|
+
code: string;
|
|
865
|
+
name: string;
|
|
866
|
+
quantity: {
|
|
867
|
+
amount: number;
|
|
868
|
+
precision: number;
|
|
869
|
+
};
|
|
870
|
+
quantityStep: {
|
|
871
|
+
amount: number;
|
|
872
|
+
precision: number;
|
|
873
|
+
};
|
|
874
|
+
minimumQuantity: {
|
|
875
|
+
amount: number;
|
|
876
|
+
precision: number;
|
|
877
|
+
};
|
|
878
|
+
maximumQuantity: {
|
|
879
|
+
amount: number;
|
|
880
|
+
precision: number;
|
|
881
|
+
};
|
|
882
|
+
}[];
|
|
883
|
+
supplier: {
|
|
884
|
+
phoneNumber?: string | null | undefined;
|
|
885
|
+
email?: string | null | undefined;
|
|
886
|
+
_rev?: string | null | undefined;
|
|
887
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
888
|
+
contactName?: string | null | undefined;
|
|
889
|
+
registrationNumber?: string | undefined;
|
|
890
|
+
supplyItems?: {
|
|
891
|
+
defaultCost: {
|
|
892
|
+
measurement?: {
|
|
893
|
+
id: string;
|
|
894
|
+
name: string;
|
|
895
|
+
abbrev: string;
|
|
896
|
+
conversion: {
|
|
897
|
+
amount: number;
|
|
898
|
+
precision: number;
|
|
899
|
+
};
|
|
900
|
+
} | null | undefined;
|
|
901
|
+
costPerUnit: {
|
|
902
|
+
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";
|
|
903
|
+
amount: number;
|
|
904
|
+
precision: number;
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
skuId: string;
|
|
908
|
+
}[] | null | undefined;
|
|
909
|
+
_id: string;
|
|
910
|
+
name: string;
|
|
911
|
+
address: {
|
|
912
|
+
line2?: string | null | undefined;
|
|
913
|
+
line1: string;
|
|
914
|
+
state: string;
|
|
915
|
+
city: string;
|
|
916
|
+
postcode: string;
|
|
917
|
+
country: string;
|
|
918
|
+
};
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
}[]>;
|
|
922
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
923
|
+
fetchTemplates: () => Promise<void>;
|
|
924
|
+
loadTemplate: (templateId: string) => Promise<void>;
|
|
925
|
+
}, "loading" | "columnDefs" | "templates">>, Pick<{
|
|
926
|
+
columnDefs: ColumnDef<{
|
|
927
|
+
_rev?: string | null | undefined;
|
|
928
|
+
locations?: {
|
|
929
|
+
type: "restaurant" | "warehouse";
|
|
930
|
+
name: string;
|
|
931
|
+
acceptRequest: boolean;
|
|
932
|
+
dbName: string;
|
|
933
|
+
doc: {
|
|
934
|
+
_id: string;
|
|
935
|
+
businessId: string;
|
|
936
|
+
profile: {
|
|
937
|
+
code?: string | null | undefined;
|
|
938
|
+
_id?: string | null | undefined;
|
|
939
|
+
name?: string | undefined;
|
|
940
|
+
address?: {
|
|
941
|
+
coordinates?: number[] | null | undefined;
|
|
942
|
+
line2?: string | null | undefined;
|
|
943
|
+
state: string;
|
|
944
|
+
country: string;
|
|
945
|
+
line1: string;
|
|
946
|
+
city: string;
|
|
947
|
+
postcode: string;
|
|
948
|
+
} | undefined;
|
|
949
|
+
email?: string | undefined;
|
|
950
|
+
regNo?: string | undefined;
|
|
951
|
+
sstRegNo?: string | null | undefined;
|
|
952
|
+
phoneNo?: string | undefined;
|
|
953
|
+
legalName?: string | null | undefined;
|
|
954
|
+
discovery?: boolean | null | undefined;
|
|
955
|
+
coverPhoto?: string | null | undefined;
|
|
956
|
+
thumbnailPhoto?: string | null | undefined;
|
|
957
|
+
description?: string | null | undefined;
|
|
958
|
+
photos?: string[] | null | undefined;
|
|
959
|
+
operatingHours?: {
|
|
960
|
+
0: {
|
|
961
|
+
hours: {
|
|
962
|
+
end: string;
|
|
963
|
+
start: string;
|
|
964
|
+
}[];
|
|
965
|
+
enable: boolean;
|
|
966
|
+
};
|
|
967
|
+
2: {
|
|
968
|
+
hours: {
|
|
969
|
+
end: string;
|
|
970
|
+
start: string;
|
|
971
|
+
}[];
|
|
972
|
+
enable: boolean;
|
|
973
|
+
};
|
|
974
|
+
1: {
|
|
975
|
+
hours: {
|
|
976
|
+
end: string;
|
|
977
|
+
start: string;
|
|
978
|
+
}[];
|
|
979
|
+
enable: boolean;
|
|
980
|
+
};
|
|
981
|
+
3: {
|
|
982
|
+
hours: {
|
|
983
|
+
end: string;
|
|
984
|
+
start: string;
|
|
985
|
+
}[];
|
|
986
|
+
enable: boolean;
|
|
987
|
+
};
|
|
988
|
+
4: {
|
|
989
|
+
hours: {
|
|
990
|
+
end: string;
|
|
991
|
+
start: string;
|
|
992
|
+
}[];
|
|
993
|
+
enable: boolean;
|
|
994
|
+
};
|
|
995
|
+
5: {
|
|
996
|
+
hours: {
|
|
997
|
+
end: string;
|
|
998
|
+
start: string;
|
|
999
|
+
}[];
|
|
1000
|
+
enable: boolean;
|
|
1001
|
+
};
|
|
1002
|
+
6: {
|
|
1003
|
+
hours: {
|
|
1004
|
+
end: string;
|
|
1005
|
+
start: string;
|
|
1006
|
+
}[];
|
|
1007
|
+
enable: boolean;
|
|
1008
|
+
};
|
|
1009
|
+
} | null | undefined;
|
|
1010
|
+
tags?: string[] | null | undefined;
|
|
1011
|
+
url?: string | null | undefined;
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
}[] | null | undefined;
|
|
1015
|
+
_id: string;
|
|
1016
|
+
name: string;
|
|
1017
|
+
purchaseOrder: {
|
|
1018
|
+
remark?: string | null | undefined;
|
|
1019
|
+
ref?: string | null | undefined;
|
|
1020
|
+
items: {
|
|
1021
|
+
measurement?: {
|
|
1022
|
+
id: string;
|
|
1023
|
+
name: string;
|
|
1024
|
+
abbrev: string;
|
|
1025
|
+
conversion: {
|
|
1026
|
+
amount: number;
|
|
1027
|
+
precision: number;
|
|
1028
|
+
};
|
|
1029
|
+
} | null | undefined;
|
|
1030
|
+
totalCost?: {
|
|
1031
|
+
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";
|
|
1032
|
+
amount: number;
|
|
1033
|
+
precision: number;
|
|
1034
|
+
} | null | undefined;
|
|
1035
|
+
sku: {
|
|
1036
|
+
trackingMeasurement?: string | null | undefined;
|
|
1037
|
+
convert?: {
|
|
1038
|
+
measurement?: string | null | undefined;
|
|
1039
|
+
inventoryBindings?: {
|
|
1040
|
+
measurement?: {
|
|
1041
|
+
id: string;
|
|
1042
|
+
name: string;
|
|
1043
|
+
abbrev: string;
|
|
1044
|
+
conversion: {
|
|
1045
|
+
amount: number;
|
|
1046
|
+
precision: number;
|
|
1047
|
+
};
|
|
1048
|
+
} | null | undefined;
|
|
1049
|
+
type: "RECIPE" | "SKU";
|
|
1050
|
+
amount: {
|
|
1051
|
+
amount: number;
|
|
1052
|
+
precision: number;
|
|
1053
|
+
};
|
|
1054
|
+
id: string;
|
|
1055
|
+
}[] | null | undefined;
|
|
1056
|
+
} | null | undefined;
|
|
1057
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1058
|
+
defaultCost?: {
|
|
1059
|
+
measurement?: {
|
|
1060
|
+
id: string;
|
|
1061
|
+
name: string;
|
|
1062
|
+
abbrev: string;
|
|
1063
|
+
conversion: {
|
|
1064
|
+
amount: number;
|
|
1065
|
+
precision: number;
|
|
1066
|
+
};
|
|
1067
|
+
} | null | undefined;
|
|
1068
|
+
costPerUnit: {
|
|
1069
|
+
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";
|
|
1070
|
+
amount: number;
|
|
1071
|
+
precision: number;
|
|
1072
|
+
};
|
|
1073
|
+
} | null | undefined;
|
|
1074
|
+
thresholds?: {
|
|
1075
|
+
low: number;
|
|
1076
|
+
mid: number;
|
|
1077
|
+
} | null | undefined;
|
|
1078
|
+
operationalGroup?: string | null | undefined;
|
|
1079
|
+
unit: {
|
|
1080
|
+
_id: string;
|
|
1081
|
+
name: string;
|
|
1082
|
+
abbrev: string;
|
|
1083
|
+
precision: number;
|
|
1084
|
+
measurements: {
|
|
1085
|
+
id: string;
|
|
1086
|
+
name: string;
|
|
1087
|
+
abbrev: string;
|
|
1088
|
+
conversion: {
|
|
1089
|
+
amount: number;
|
|
1090
|
+
precision: number;
|
|
1091
|
+
};
|
|
1092
|
+
}[];
|
|
1093
|
+
};
|
|
1094
|
+
code: string;
|
|
1095
|
+
_id: string;
|
|
1096
|
+
name: string;
|
|
1097
|
+
};
|
|
1098
|
+
code: string;
|
|
1099
|
+
name: string;
|
|
1100
|
+
quantity: {
|
|
1101
|
+
amount: number;
|
|
1102
|
+
precision: number;
|
|
1103
|
+
};
|
|
1104
|
+
quantityStep: {
|
|
1105
|
+
amount: number;
|
|
1106
|
+
precision: number;
|
|
1107
|
+
};
|
|
1108
|
+
minimumQuantity: {
|
|
1109
|
+
amount: number;
|
|
1110
|
+
precision: number;
|
|
1111
|
+
};
|
|
1112
|
+
maximumQuantity: {
|
|
1113
|
+
amount: number;
|
|
1114
|
+
precision: number;
|
|
1115
|
+
};
|
|
1116
|
+
}[];
|
|
1117
|
+
supplier: {
|
|
1118
|
+
phoneNumber?: string | null | undefined;
|
|
1119
|
+
email?: string | null | undefined;
|
|
1120
|
+
_rev?: string | null | undefined;
|
|
1121
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1122
|
+
contactName?: string | null | undefined;
|
|
1123
|
+
registrationNumber?: string | undefined;
|
|
1124
|
+
supplyItems?: {
|
|
1125
|
+
defaultCost: {
|
|
1126
|
+
measurement?: {
|
|
1127
|
+
id: string;
|
|
1128
|
+
name: string;
|
|
1129
|
+
abbrev: string;
|
|
1130
|
+
conversion: {
|
|
1131
|
+
amount: number;
|
|
1132
|
+
precision: number;
|
|
1133
|
+
};
|
|
1134
|
+
} | null | undefined;
|
|
1135
|
+
costPerUnit: {
|
|
1136
|
+
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";
|
|
1137
|
+
amount: number;
|
|
1138
|
+
precision: number;
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
skuId: string;
|
|
1142
|
+
}[] | null | undefined;
|
|
1143
|
+
_id: string;
|
|
1144
|
+
name: string;
|
|
1145
|
+
address: {
|
|
1146
|
+
line2?: string | null | undefined;
|
|
1147
|
+
line1: string;
|
|
1148
|
+
state: string;
|
|
1149
|
+
city: string;
|
|
1150
|
+
postcode: string;
|
|
1151
|
+
country: string;
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
}>[];
|
|
1156
|
+
templates: import("vue").Ref<{
|
|
1157
|
+
_rev: string;
|
|
1158
|
+
locations?: {
|
|
1159
|
+
type: "restaurant" | "warehouse";
|
|
1160
|
+
name: string;
|
|
1161
|
+
acceptRequest: boolean;
|
|
1162
|
+
dbName: string;
|
|
1163
|
+
doc: {
|
|
1164
|
+
_id: string;
|
|
1165
|
+
businessId: string;
|
|
1166
|
+
profile: {
|
|
1167
|
+
code?: string | null | undefined;
|
|
1168
|
+
_id?: string | null | undefined;
|
|
1169
|
+
name?: string | undefined;
|
|
1170
|
+
address?: {
|
|
1171
|
+
coordinates?: number[] | null | undefined;
|
|
1172
|
+
line2?: string | null | undefined;
|
|
1173
|
+
state: string;
|
|
1174
|
+
country: string;
|
|
1175
|
+
line1: string;
|
|
1176
|
+
city: string;
|
|
1177
|
+
postcode: string;
|
|
1178
|
+
} | undefined;
|
|
1179
|
+
email?: string | undefined;
|
|
1180
|
+
regNo?: string | undefined;
|
|
1181
|
+
sstRegNo?: string | null | undefined;
|
|
1182
|
+
phoneNo?: string | undefined;
|
|
1183
|
+
legalName?: string | null | undefined;
|
|
1184
|
+
discovery?: boolean | null | undefined;
|
|
1185
|
+
coverPhoto?: string | null | undefined;
|
|
1186
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1187
|
+
description?: string | null | undefined;
|
|
1188
|
+
photos?: string[] | null | undefined;
|
|
1189
|
+
operatingHours?: {
|
|
1190
|
+
0: {
|
|
1191
|
+
hours: {
|
|
1192
|
+
end: string;
|
|
1193
|
+
start: string;
|
|
1194
|
+
}[];
|
|
1195
|
+
enable: boolean;
|
|
1196
|
+
};
|
|
1197
|
+
2: {
|
|
1198
|
+
hours: {
|
|
1199
|
+
end: string;
|
|
1200
|
+
start: string;
|
|
1201
|
+
}[];
|
|
1202
|
+
enable: boolean;
|
|
1203
|
+
};
|
|
1204
|
+
1: {
|
|
1205
|
+
hours: {
|
|
1206
|
+
end: string;
|
|
1207
|
+
start: string;
|
|
1208
|
+
}[];
|
|
1209
|
+
enable: boolean;
|
|
1210
|
+
};
|
|
1211
|
+
3: {
|
|
1212
|
+
hours: {
|
|
1213
|
+
end: string;
|
|
1214
|
+
start: string;
|
|
1215
|
+
}[];
|
|
1216
|
+
enable: boolean;
|
|
1217
|
+
};
|
|
1218
|
+
4: {
|
|
1219
|
+
hours: {
|
|
1220
|
+
end: string;
|
|
1221
|
+
start: string;
|
|
1222
|
+
}[];
|
|
1223
|
+
enable: boolean;
|
|
1224
|
+
};
|
|
1225
|
+
5: {
|
|
1226
|
+
hours: {
|
|
1227
|
+
end: string;
|
|
1228
|
+
start: string;
|
|
1229
|
+
}[];
|
|
1230
|
+
enable: boolean;
|
|
1231
|
+
};
|
|
1232
|
+
6: {
|
|
1233
|
+
hours: {
|
|
1234
|
+
end: string;
|
|
1235
|
+
start: string;
|
|
1236
|
+
}[];
|
|
1237
|
+
enable: boolean;
|
|
1238
|
+
};
|
|
1239
|
+
} | null | undefined;
|
|
1240
|
+
tags?: string[] | null | undefined;
|
|
1241
|
+
url?: string | null | undefined;
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
}[] | null | undefined;
|
|
1245
|
+
_id: string;
|
|
1246
|
+
name: string;
|
|
1247
|
+
purchaseOrder: {
|
|
1248
|
+
remark?: string | null | undefined;
|
|
1249
|
+
ref?: string | null | undefined;
|
|
1250
|
+
items: {
|
|
1251
|
+
measurement?: {
|
|
1252
|
+
id: string;
|
|
1253
|
+
name: string;
|
|
1254
|
+
abbrev: string;
|
|
1255
|
+
conversion: {
|
|
1256
|
+
amount: number;
|
|
1257
|
+
precision: number;
|
|
1258
|
+
};
|
|
1259
|
+
} | null | undefined;
|
|
1260
|
+
totalCost?: {
|
|
1261
|
+
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";
|
|
1262
|
+
amount: number;
|
|
1263
|
+
precision: number;
|
|
1264
|
+
} | null | undefined;
|
|
1265
|
+
sku: {
|
|
1266
|
+
trackingMeasurement?: string | null | undefined;
|
|
1267
|
+
convert?: {
|
|
1268
|
+
measurement?: string | null | undefined;
|
|
1269
|
+
inventoryBindings?: {
|
|
1270
|
+
measurement?: {
|
|
1271
|
+
id: string;
|
|
1272
|
+
name: string;
|
|
1273
|
+
abbrev: string;
|
|
1274
|
+
conversion: {
|
|
1275
|
+
amount: number;
|
|
1276
|
+
precision: number;
|
|
1277
|
+
};
|
|
1278
|
+
} | null | undefined;
|
|
1279
|
+
type: "RECIPE" | "SKU";
|
|
1280
|
+
amount: {
|
|
1281
|
+
amount: number;
|
|
1282
|
+
precision: number;
|
|
1283
|
+
};
|
|
1284
|
+
id: string;
|
|
1285
|
+
}[] | null | undefined;
|
|
1286
|
+
} | null | undefined;
|
|
1287
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1288
|
+
defaultCost?: {
|
|
1289
|
+
measurement?: {
|
|
1290
|
+
id: string;
|
|
1291
|
+
name: string;
|
|
1292
|
+
abbrev: string;
|
|
1293
|
+
conversion: {
|
|
1294
|
+
amount: number;
|
|
1295
|
+
precision: number;
|
|
1296
|
+
};
|
|
1297
|
+
} | null | undefined;
|
|
1298
|
+
costPerUnit: {
|
|
1299
|
+
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";
|
|
1300
|
+
amount: number;
|
|
1301
|
+
precision: number;
|
|
1302
|
+
};
|
|
1303
|
+
} | null | undefined;
|
|
1304
|
+
thresholds?: {
|
|
1305
|
+
low: number;
|
|
1306
|
+
mid: number;
|
|
1307
|
+
} | null | undefined;
|
|
1308
|
+
operationalGroup?: string | null | undefined;
|
|
1309
|
+
unit: {
|
|
1310
|
+
_id: string;
|
|
1311
|
+
name: string;
|
|
1312
|
+
abbrev: string;
|
|
1313
|
+
precision: number;
|
|
1314
|
+
measurements: {
|
|
1315
|
+
id: string;
|
|
1316
|
+
name: string;
|
|
1317
|
+
abbrev: string;
|
|
1318
|
+
conversion: {
|
|
1319
|
+
amount: number;
|
|
1320
|
+
precision: number;
|
|
1321
|
+
};
|
|
1322
|
+
}[];
|
|
1323
|
+
};
|
|
1324
|
+
code: string;
|
|
1325
|
+
_id: string;
|
|
1326
|
+
name: string;
|
|
1327
|
+
};
|
|
1328
|
+
code: string;
|
|
1329
|
+
name: string;
|
|
1330
|
+
quantity: {
|
|
1331
|
+
amount: number;
|
|
1332
|
+
precision: number;
|
|
1333
|
+
};
|
|
1334
|
+
quantityStep: {
|
|
1335
|
+
amount: number;
|
|
1336
|
+
precision: number;
|
|
1337
|
+
};
|
|
1338
|
+
minimumQuantity: {
|
|
1339
|
+
amount: number;
|
|
1340
|
+
precision: number;
|
|
1341
|
+
};
|
|
1342
|
+
maximumQuantity: {
|
|
1343
|
+
amount: number;
|
|
1344
|
+
precision: number;
|
|
1345
|
+
};
|
|
1346
|
+
}[];
|
|
1347
|
+
supplier: {
|
|
1348
|
+
phoneNumber?: string | null | undefined;
|
|
1349
|
+
email?: string | null | undefined;
|
|
1350
|
+
_rev?: string | null | undefined;
|
|
1351
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1352
|
+
contactName?: string | null | undefined;
|
|
1353
|
+
registrationNumber?: string | undefined;
|
|
1354
|
+
supplyItems?: {
|
|
1355
|
+
defaultCost: {
|
|
1356
|
+
measurement?: {
|
|
1357
|
+
id: string;
|
|
1358
|
+
name: string;
|
|
1359
|
+
abbrev: string;
|
|
1360
|
+
conversion: {
|
|
1361
|
+
amount: number;
|
|
1362
|
+
precision: number;
|
|
1363
|
+
};
|
|
1364
|
+
} | null | undefined;
|
|
1365
|
+
costPerUnit: {
|
|
1366
|
+
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";
|
|
1367
|
+
amount: number;
|
|
1368
|
+
precision: number;
|
|
1369
|
+
};
|
|
1370
|
+
};
|
|
1371
|
+
skuId: string;
|
|
1372
|
+
}[] | null | undefined;
|
|
1373
|
+
_id: string;
|
|
1374
|
+
name: string;
|
|
1375
|
+
address: {
|
|
1376
|
+
line2?: string | null | undefined;
|
|
1377
|
+
line1: string;
|
|
1378
|
+
state: string;
|
|
1379
|
+
city: string;
|
|
1380
|
+
postcode: string;
|
|
1381
|
+
country: string;
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
}[], ({
|
|
1386
|
+
_rev?: string | null | undefined;
|
|
1387
|
+
locations?: {
|
|
1388
|
+
type: "restaurant" | "warehouse";
|
|
1389
|
+
name: string;
|
|
1390
|
+
acceptRequest: boolean;
|
|
1391
|
+
dbName: string;
|
|
1392
|
+
doc: {
|
|
1393
|
+
_id: string;
|
|
1394
|
+
businessId: string;
|
|
1395
|
+
profile: {
|
|
1396
|
+
code?: string | null | undefined;
|
|
1397
|
+
_id?: string | null | undefined;
|
|
1398
|
+
name?: string | undefined;
|
|
1399
|
+
address?: {
|
|
1400
|
+
coordinates?: number[] | null | undefined;
|
|
1401
|
+
line2?: string | null | undefined;
|
|
1402
|
+
state: string;
|
|
1403
|
+
country: string;
|
|
1404
|
+
line1: string;
|
|
1405
|
+
city: string;
|
|
1406
|
+
postcode: string;
|
|
1407
|
+
} | undefined;
|
|
1408
|
+
email?: string | undefined;
|
|
1409
|
+
regNo?: string | undefined;
|
|
1410
|
+
sstRegNo?: string | null | undefined;
|
|
1411
|
+
phoneNo?: string | undefined;
|
|
1412
|
+
legalName?: string | null | undefined;
|
|
1413
|
+
discovery?: boolean | null | undefined;
|
|
1414
|
+
coverPhoto?: string | null | undefined;
|
|
1415
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1416
|
+
description?: string | null | undefined;
|
|
1417
|
+
photos?: string[] | null | undefined;
|
|
1418
|
+
operatingHours?: {
|
|
1419
|
+
0: {
|
|
1420
|
+
hours: {
|
|
1421
|
+
end: string;
|
|
1422
|
+
start: string;
|
|
1423
|
+
}[];
|
|
1424
|
+
enable: boolean;
|
|
1425
|
+
};
|
|
1426
|
+
2: {
|
|
1427
|
+
hours: {
|
|
1428
|
+
end: string;
|
|
1429
|
+
start: string;
|
|
1430
|
+
}[];
|
|
1431
|
+
enable: boolean;
|
|
1432
|
+
};
|
|
1433
|
+
1: {
|
|
1434
|
+
hours: {
|
|
1435
|
+
end: string;
|
|
1436
|
+
start: string;
|
|
1437
|
+
}[];
|
|
1438
|
+
enable: boolean;
|
|
1439
|
+
};
|
|
1440
|
+
3: {
|
|
1441
|
+
hours: {
|
|
1442
|
+
end: string;
|
|
1443
|
+
start: string;
|
|
1444
|
+
}[];
|
|
1445
|
+
enable: boolean;
|
|
1446
|
+
};
|
|
1447
|
+
4: {
|
|
1448
|
+
hours: {
|
|
1449
|
+
end: string;
|
|
1450
|
+
start: string;
|
|
1451
|
+
}[];
|
|
1452
|
+
enable: boolean;
|
|
1453
|
+
};
|
|
1454
|
+
5: {
|
|
1455
|
+
hours: {
|
|
1456
|
+
end: string;
|
|
1457
|
+
start: string;
|
|
1458
|
+
}[];
|
|
1459
|
+
enable: boolean;
|
|
1460
|
+
};
|
|
1461
|
+
6: {
|
|
1462
|
+
hours: {
|
|
1463
|
+
end: string;
|
|
1464
|
+
start: string;
|
|
1465
|
+
}[];
|
|
1466
|
+
enable: boolean;
|
|
1467
|
+
};
|
|
1468
|
+
} | null | undefined;
|
|
1469
|
+
tags?: string[] | null | undefined;
|
|
1470
|
+
url?: string | null | undefined;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
}[] | null | undefined;
|
|
1474
|
+
_id: string;
|
|
1475
|
+
name: string;
|
|
1476
|
+
purchaseOrder: {
|
|
1477
|
+
remark?: string | null | undefined;
|
|
1478
|
+
ref?: string | null | undefined;
|
|
1479
|
+
items: {
|
|
1480
|
+
measurement?: {
|
|
1481
|
+
id: string;
|
|
1482
|
+
name: string;
|
|
1483
|
+
abbrev: string;
|
|
1484
|
+
conversion: {
|
|
1485
|
+
amount: number;
|
|
1486
|
+
precision: number;
|
|
1487
|
+
};
|
|
1488
|
+
} | null | undefined;
|
|
1489
|
+
totalCost?: {
|
|
1490
|
+
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";
|
|
1491
|
+
amount: number;
|
|
1492
|
+
precision: number;
|
|
1493
|
+
} | null | undefined;
|
|
1494
|
+
sku: {
|
|
1495
|
+
trackingMeasurement?: string | null | undefined;
|
|
1496
|
+
convert?: {
|
|
1497
|
+
measurement?: string | null | undefined;
|
|
1498
|
+
inventoryBindings?: {
|
|
1499
|
+
measurement?: {
|
|
1500
|
+
id: string;
|
|
1501
|
+
name: string;
|
|
1502
|
+
abbrev: string;
|
|
1503
|
+
conversion: {
|
|
1504
|
+
amount: number;
|
|
1505
|
+
precision: number;
|
|
1506
|
+
};
|
|
1507
|
+
} | null | undefined;
|
|
1508
|
+
type: "RECIPE" | "SKU";
|
|
1509
|
+
amount: {
|
|
1510
|
+
amount: number;
|
|
1511
|
+
precision: number;
|
|
1512
|
+
};
|
|
1513
|
+
id: string;
|
|
1514
|
+
}[] | null | undefined;
|
|
1515
|
+
} | null | undefined;
|
|
1516
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1517
|
+
defaultCost?: {
|
|
1518
|
+
measurement?: {
|
|
1519
|
+
id: string;
|
|
1520
|
+
name: string;
|
|
1521
|
+
abbrev: string;
|
|
1522
|
+
conversion: {
|
|
1523
|
+
amount: number;
|
|
1524
|
+
precision: number;
|
|
1525
|
+
};
|
|
1526
|
+
} | null | undefined;
|
|
1527
|
+
costPerUnit: {
|
|
1528
|
+
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";
|
|
1529
|
+
amount: number;
|
|
1530
|
+
precision: number;
|
|
1531
|
+
};
|
|
1532
|
+
} | null | undefined;
|
|
1533
|
+
thresholds?: {
|
|
1534
|
+
low: number;
|
|
1535
|
+
mid: number;
|
|
1536
|
+
} | null | undefined;
|
|
1537
|
+
operationalGroup?: string | null | undefined;
|
|
1538
|
+
unit: {
|
|
1539
|
+
_id: string;
|
|
1540
|
+
name: string;
|
|
1541
|
+
abbrev: string;
|
|
1542
|
+
precision: number;
|
|
1543
|
+
measurements: {
|
|
1544
|
+
id: string;
|
|
1545
|
+
name: string;
|
|
1546
|
+
abbrev: string;
|
|
1547
|
+
conversion: {
|
|
1548
|
+
amount: number;
|
|
1549
|
+
precision: number;
|
|
1550
|
+
};
|
|
1551
|
+
}[];
|
|
1552
|
+
};
|
|
1553
|
+
code: string;
|
|
1554
|
+
_id: string;
|
|
1555
|
+
name: string;
|
|
1556
|
+
};
|
|
1557
|
+
code: string;
|
|
1558
|
+
name: string;
|
|
1559
|
+
quantity: {
|
|
1560
|
+
amount: number;
|
|
1561
|
+
precision: number;
|
|
1562
|
+
};
|
|
1563
|
+
quantityStep: {
|
|
1564
|
+
amount: number;
|
|
1565
|
+
precision: number;
|
|
1566
|
+
};
|
|
1567
|
+
minimumQuantity: {
|
|
1568
|
+
amount: number;
|
|
1569
|
+
precision: number;
|
|
1570
|
+
};
|
|
1571
|
+
maximumQuantity: {
|
|
1572
|
+
amount: number;
|
|
1573
|
+
precision: number;
|
|
1574
|
+
};
|
|
1575
|
+
}[];
|
|
1576
|
+
supplier: {
|
|
1577
|
+
phoneNumber?: string | null | undefined;
|
|
1578
|
+
email?: string | null | undefined;
|
|
1579
|
+
_rev?: string | null | undefined;
|
|
1580
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1581
|
+
contactName?: string | null | undefined;
|
|
1582
|
+
registrationNumber?: string | undefined;
|
|
1583
|
+
supplyItems?: {
|
|
1584
|
+
defaultCost: {
|
|
1585
|
+
measurement?: {
|
|
1586
|
+
id: string;
|
|
1587
|
+
name: string;
|
|
1588
|
+
abbrev: string;
|
|
1589
|
+
conversion: {
|
|
1590
|
+
amount: number;
|
|
1591
|
+
precision: number;
|
|
1592
|
+
};
|
|
1593
|
+
} | null | undefined;
|
|
1594
|
+
costPerUnit: {
|
|
1595
|
+
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";
|
|
1596
|
+
amount: number;
|
|
1597
|
+
precision: number;
|
|
1598
|
+
};
|
|
1599
|
+
};
|
|
1600
|
+
skuId: string;
|
|
1601
|
+
}[] | null | undefined;
|
|
1602
|
+
_id: string;
|
|
1603
|
+
name: string;
|
|
1604
|
+
address: {
|
|
1605
|
+
line2?: string | null | undefined;
|
|
1606
|
+
line1: string;
|
|
1607
|
+
state: string;
|
|
1608
|
+
city: string;
|
|
1609
|
+
postcode: string;
|
|
1610
|
+
country: string;
|
|
1611
|
+
};
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
} & RevisionIdMeta)[] | {
|
|
1615
|
+
_rev: string;
|
|
1616
|
+
locations?: {
|
|
1617
|
+
type: "restaurant" | "warehouse";
|
|
1618
|
+
name: string;
|
|
1619
|
+
acceptRequest: boolean;
|
|
1620
|
+
dbName: string;
|
|
1621
|
+
doc: {
|
|
1622
|
+
_id: string;
|
|
1623
|
+
businessId: string;
|
|
1624
|
+
profile: {
|
|
1625
|
+
code?: string | null | undefined;
|
|
1626
|
+
_id?: string | null | undefined;
|
|
1627
|
+
name?: string | undefined;
|
|
1628
|
+
address?: {
|
|
1629
|
+
coordinates?: number[] | null | undefined;
|
|
1630
|
+
line2?: string | null | undefined;
|
|
1631
|
+
state: string;
|
|
1632
|
+
country: string;
|
|
1633
|
+
line1: string;
|
|
1634
|
+
city: string;
|
|
1635
|
+
postcode: string;
|
|
1636
|
+
} | undefined;
|
|
1637
|
+
email?: string | undefined;
|
|
1638
|
+
regNo?: string | undefined;
|
|
1639
|
+
sstRegNo?: string | null | undefined;
|
|
1640
|
+
phoneNo?: string | undefined;
|
|
1641
|
+
legalName?: string | null | undefined;
|
|
1642
|
+
discovery?: boolean | null | undefined;
|
|
1643
|
+
coverPhoto?: string | null | undefined;
|
|
1644
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1645
|
+
description?: string | null | undefined;
|
|
1646
|
+
photos?: string[] | null | undefined;
|
|
1647
|
+
operatingHours?: {
|
|
1648
|
+
0: {
|
|
1649
|
+
hours: {
|
|
1650
|
+
end: string;
|
|
1651
|
+
start: string;
|
|
1652
|
+
}[];
|
|
1653
|
+
enable: boolean;
|
|
1654
|
+
};
|
|
1655
|
+
2: {
|
|
1656
|
+
hours: {
|
|
1657
|
+
end: string;
|
|
1658
|
+
start: string;
|
|
1659
|
+
}[];
|
|
1660
|
+
enable: boolean;
|
|
1661
|
+
};
|
|
1662
|
+
1: {
|
|
1663
|
+
hours: {
|
|
1664
|
+
end: string;
|
|
1665
|
+
start: string;
|
|
1666
|
+
}[];
|
|
1667
|
+
enable: boolean;
|
|
1668
|
+
};
|
|
1669
|
+
3: {
|
|
1670
|
+
hours: {
|
|
1671
|
+
end: string;
|
|
1672
|
+
start: string;
|
|
1673
|
+
}[];
|
|
1674
|
+
enable: boolean;
|
|
1675
|
+
};
|
|
1676
|
+
4: {
|
|
1677
|
+
hours: {
|
|
1678
|
+
end: string;
|
|
1679
|
+
start: string;
|
|
1680
|
+
}[];
|
|
1681
|
+
enable: boolean;
|
|
1682
|
+
};
|
|
1683
|
+
5: {
|
|
1684
|
+
hours: {
|
|
1685
|
+
end: string;
|
|
1686
|
+
start: string;
|
|
1687
|
+
}[];
|
|
1688
|
+
enable: boolean;
|
|
1689
|
+
};
|
|
1690
|
+
6: {
|
|
1691
|
+
hours: {
|
|
1692
|
+
end: string;
|
|
1693
|
+
start: string;
|
|
1694
|
+
}[];
|
|
1695
|
+
enable: boolean;
|
|
1696
|
+
};
|
|
1697
|
+
} | null | undefined;
|
|
1698
|
+
tags?: string[] | null | undefined;
|
|
1699
|
+
url?: string | null | undefined;
|
|
1700
|
+
};
|
|
1701
|
+
};
|
|
1702
|
+
}[] | null | undefined;
|
|
1703
|
+
_id: string;
|
|
1704
|
+
name: string;
|
|
1705
|
+
purchaseOrder: {
|
|
1706
|
+
remark?: string | null | undefined;
|
|
1707
|
+
ref?: string | null | undefined;
|
|
1708
|
+
items: {
|
|
1709
|
+
measurement?: {
|
|
1710
|
+
id: string;
|
|
1711
|
+
name: string;
|
|
1712
|
+
abbrev: string;
|
|
1713
|
+
conversion: {
|
|
1714
|
+
amount: number;
|
|
1715
|
+
precision: number;
|
|
1716
|
+
};
|
|
1717
|
+
} | null | undefined;
|
|
1718
|
+
totalCost?: {
|
|
1719
|
+
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";
|
|
1720
|
+
amount: number;
|
|
1721
|
+
precision: number;
|
|
1722
|
+
} | null | undefined;
|
|
1723
|
+
sku: {
|
|
1724
|
+
trackingMeasurement?: string | null | undefined;
|
|
1725
|
+
convert?: {
|
|
1726
|
+
measurement?: string | null | undefined;
|
|
1727
|
+
inventoryBindings?: {
|
|
1728
|
+
measurement?: {
|
|
1729
|
+
id: string;
|
|
1730
|
+
name: string;
|
|
1731
|
+
abbrev: string;
|
|
1732
|
+
conversion: {
|
|
1733
|
+
amount: number;
|
|
1734
|
+
precision: number;
|
|
1735
|
+
};
|
|
1736
|
+
} | null | undefined;
|
|
1737
|
+
type: "RECIPE" | "SKU";
|
|
1738
|
+
amount: {
|
|
1739
|
+
amount: number;
|
|
1740
|
+
precision: number;
|
|
1741
|
+
};
|
|
1742
|
+
id: string;
|
|
1743
|
+
}[] | null | undefined;
|
|
1744
|
+
} | null | undefined;
|
|
1745
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1746
|
+
defaultCost?: {
|
|
1747
|
+
measurement?: {
|
|
1748
|
+
id: string;
|
|
1749
|
+
name: string;
|
|
1750
|
+
abbrev: string;
|
|
1751
|
+
conversion: {
|
|
1752
|
+
amount: number;
|
|
1753
|
+
precision: number;
|
|
1754
|
+
};
|
|
1755
|
+
} | null | undefined;
|
|
1756
|
+
costPerUnit: {
|
|
1757
|
+
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";
|
|
1758
|
+
amount: number;
|
|
1759
|
+
precision: number;
|
|
1760
|
+
};
|
|
1761
|
+
} | null | undefined;
|
|
1762
|
+
thresholds?: {
|
|
1763
|
+
low: number;
|
|
1764
|
+
mid: number;
|
|
1765
|
+
} | null | undefined;
|
|
1766
|
+
operationalGroup?: string | null | undefined;
|
|
1767
|
+
unit: {
|
|
1768
|
+
_id: string;
|
|
1769
|
+
name: string;
|
|
1770
|
+
abbrev: string;
|
|
1771
|
+
precision: number;
|
|
1772
|
+
measurements: {
|
|
1773
|
+
id: string;
|
|
1774
|
+
name: string;
|
|
1775
|
+
abbrev: string;
|
|
1776
|
+
conversion: {
|
|
1777
|
+
amount: number;
|
|
1778
|
+
precision: number;
|
|
1779
|
+
};
|
|
1780
|
+
}[];
|
|
1781
|
+
};
|
|
1782
|
+
code: string;
|
|
1783
|
+
_id: string;
|
|
1784
|
+
name: string;
|
|
1785
|
+
};
|
|
1786
|
+
code: string;
|
|
1787
|
+
name: string;
|
|
1788
|
+
quantity: {
|
|
1789
|
+
amount: number;
|
|
1790
|
+
precision: number;
|
|
1791
|
+
};
|
|
1792
|
+
quantityStep: {
|
|
1793
|
+
amount: number;
|
|
1794
|
+
precision: number;
|
|
1795
|
+
};
|
|
1796
|
+
minimumQuantity: {
|
|
1797
|
+
amount: number;
|
|
1798
|
+
precision: number;
|
|
1799
|
+
};
|
|
1800
|
+
maximumQuantity: {
|
|
1801
|
+
amount: number;
|
|
1802
|
+
precision: number;
|
|
1803
|
+
};
|
|
1804
|
+
}[];
|
|
1805
|
+
supplier: {
|
|
1806
|
+
phoneNumber?: string | null | undefined;
|
|
1807
|
+
email?: string | null | undefined;
|
|
1808
|
+
_rev?: string | null | undefined;
|
|
1809
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1810
|
+
contactName?: string | null | undefined;
|
|
1811
|
+
registrationNumber?: string | undefined;
|
|
1812
|
+
supplyItems?: {
|
|
1813
|
+
defaultCost: {
|
|
1814
|
+
measurement?: {
|
|
1815
|
+
id: string;
|
|
1816
|
+
name: string;
|
|
1817
|
+
abbrev: string;
|
|
1818
|
+
conversion: {
|
|
1819
|
+
amount: number;
|
|
1820
|
+
precision: number;
|
|
1821
|
+
};
|
|
1822
|
+
} | null | undefined;
|
|
1823
|
+
costPerUnit: {
|
|
1824
|
+
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";
|
|
1825
|
+
amount: number;
|
|
1826
|
+
precision: number;
|
|
1827
|
+
};
|
|
1828
|
+
};
|
|
1829
|
+
skuId: string;
|
|
1830
|
+
}[] | null | undefined;
|
|
1831
|
+
_id: string;
|
|
1832
|
+
name: string;
|
|
1833
|
+
address: {
|
|
1834
|
+
line2?: string | null | undefined;
|
|
1835
|
+
line1: string;
|
|
1836
|
+
state: string;
|
|
1837
|
+
city: string;
|
|
1838
|
+
postcode: string;
|
|
1839
|
+
country: string;
|
|
1840
|
+
};
|
|
1841
|
+
};
|
|
1842
|
+
};
|
|
1843
|
+
}[]>;
|
|
1844
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
1845
|
+
fetchTemplates: () => Promise<void>;
|
|
1846
|
+
loadTemplate: (templateId: string) => Promise<void>;
|
|
1847
|
+
}, never>, Pick<{
|
|
1848
|
+
columnDefs: ColumnDef<{
|
|
234
1849
|
_rev?: string | null | undefined;
|
|
235
1850
|
locations?: {
|
|
236
1851
|
type: "restaurant" | "warehouse";
|
|
@@ -459,8 +2074,9 @@ export declare function useTransferTemplateTable(): {
|
|
|
459
2074
|
};
|
|
460
2075
|
};
|
|
461
2076
|
};
|
|
462
|
-
}[]
|
|
463
|
-
|
|
2077
|
+
}>[];
|
|
2078
|
+
templates: import("vue").Ref<{
|
|
2079
|
+
_rev: string;
|
|
464
2080
|
locations?: {
|
|
465
2081
|
type: "restaurant" | "warehouse";
|
|
466
2082
|
name: string;
|
|
@@ -688,7 +2304,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
688
2304
|
};
|
|
689
2305
|
};
|
|
690
2306
|
};
|
|
691
|
-
}[]
|
|
2307
|
+
}[], ({
|
|
692
2308
|
_rev?: string | null | undefined;
|
|
693
2309
|
locations?: {
|
|
694
2310
|
type: "restaurant" | "warehouse";
|
|
@@ -917,8 +2533,237 @@ export declare function useTransferTemplateTable(): {
|
|
|
917
2533
|
};
|
|
918
2534
|
};
|
|
919
2535
|
};
|
|
2536
|
+
} & RevisionIdMeta)[] | {
|
|
2537
|
+
_rev: string;
|
|
2538
|
+
locations?: {
|
|
2539
|
+
type: "restaurant" | "warehouse";
|
|
2540
|
+
name: string;
|
|
2541
|
+
acceptRequest: boolean;
|
|
2542
|
+
dbName: string;
|
|
2543
|
+
doc: {
|
|
2544
|
+
_id: string;
|
|
2545
|
+
businessId: string;
|
|
2546
|
+
profile: {
|
|
2547
|
+
code?: string | null | undefined;
|
|
2548
|
+
_id?: string | null | undefined;
|
|
2549
|
+
name?: string | undefined;
|
|
2550
|
+
address?: {
|
|
2551
|
+
coordinates?: number[] | null | undefined;
|
|
2552
|
+
line2?: string | null | undefined;
|
|
2553
|
+
state: string;
|
|
2554
|
+
country: string;
|
|
2555
|
+
line1: string;
|
|
2556
|
+
city: string;
|
|
2557
|
+
postcode: string;
|
|
2558
|
+
} | undefined;
|
|
2559
|
+
email?: string | undefined;
|
|
2560
|
+
regNo?: string | undefined;
|
|
2561
|
+
sstRegNo?: string | null | undefined;
|
|
2562
|
+
phoneNo?: string | undefined;
|
|
2563
|
+
legalName?: string | null | undefined;
|
|
2564
|
+
discovery?: boolean | null | undefined;
|
|
2565
|
+
coverPhoto?: string | null | undefined;
|
|
2566
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2567
|
+
description?: string | null | undefined;
|
|
2568
|
+
photos?: string[] | null | undefined;
|
|
2569
|
+
operatingHours?: {
|
|
2570
|
+
0: {
|
|
2571
|
+
hours: {
|
|
2572
|
+
end: string;
|
|
2573
|
+
start: string;
|
|
2574
|
+
}[];
|
|
2575
|
+
enable: boolean;
|
|
2576
|
+
};
|
|
2577
|
+
2: {
|
|
2578
|
+
hours: {
|
|
2579
|
+
end: string;
|
|
2580
|
+
start: string;
|
|
2581
|
+
}[];
|
|
2582
|
+
enable: boolean;
|
|
2583
|
+
};
|
|
2584
|
+
1: {
|
|
2585
|
+
hours: {
|
|
2586
|
+
end: string;
|
|
2587
|
+
start: string;
|
|
2588
|
+
}[];
|
|
2589
|
+
enable: boolean;
|
|
2590
|
+
};
|
|
2591
|
+
3: {
|
|
2592
|
+
hours: {
|
|
2593
|
+
end: string;
|
|
2594
|
+
start: string;
|
|
2595
|
+
}[];
|
|
2596
|
+
enable: boolean;
|
|
2597
|
+
};
|
|
2598
|
+
4: {
|
|
2599
|
+
hours: {
|
|
2600
|
+
end: string;
|
|
2601
|
+
start: string;
|
|
2602
|
+
}[];
|
|
2603
|
+
enable: boolean;
|
|
2604
|
+
};
|
|
2605
|
+
5: {
|
|
2606
|
+
hours: {
|
|
2607
|
+
end: string;
|
|
2608
|
+
start: string;
|
|
2609
|
+
}[];
|
|
2610
|
+
enable: boolean;
|
|
2611
|
+
};
|
|
2612
|
+
6: {
|
|
2613
|
+
hours: {
|
|
2614
|
+
end: string;
|
|
2615
|
+
start: string;
|
|
2616
|
+
}[];
|
|
2617
|
+
enable: boolean;
|
|
2618
|
+
};
|
|
2619
|
+
} | null | undefined;
|
|
2620
|
+
tags?: string[] | null | undefined;
|
|
2621
|
+
url?: string | null | undefined;
|
|
2622
|
+
};
|
|
2623
|
+
};
|
|
2624
|
+
}[] | null | undefined;
|
|
2625
|
+
_id: string;
|
|
2626
|
+
name: string;
|
|
2627
|
+
purchaseOrder: {
|
|
2628
|
+
remark?: string | null | undefined;
|
|
2629
|
+
ref?: string | null | undefined;
|
|
2630
|
+
items: {
|
|
2631
|
+
measurement?: {
|
|
2632
|
+
id: string;
|
|
2633
|
+
name: string;
|
|
2634
|
+
abbrev: string;
|
|
2635
|
+
conversion: {
|
|
2636
|
+
amount: number;
|
|
2637
|
+
precision: number;
|
|
2638
|
+
};
|
|
2639
|
+
} | null | undefined;
|
|
2640
|
+
totalCost?: {
|
|
2641
|
+
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";
|
|
2642
|
+
amount: number;
|
|
2643
|
+
precision: number;
|
|
2644
|
+
} | null | undefined;
|
|
2645
|
+
sku: {
|
|
2646
|
+
trackingMeasurement?: string | null | undefined;
|
|
2647
|
+
convert?: {
|
|
2648
|
+
measurement?: string | null | undefined;
|
|
2649
|
+
inventoryBindings?: {
|
|
2650
|
+
measurement?: {
|
|
2651
|
+
id: string;
|
|
2652
|
+
name: string;
|
|
2653
|
+
abbrev: string;
|
|
2654
|
+
conversion: {
|
|
2655
|
+
amount: number;
|
|
2656
|
+
precision: number;
|
|
2657
|
+
};
|
|
2658
|
+
} | null | undefined;
|
|
2659
|
+
type: "RECIPE" | "SKU";
|
|
2660
|
+
amount: {
|
|
2661
|
+
amount: number;
|
|
2662
|
+
precision: number;
|
|
2663
|
+
};
|
|
2664
|
+
id: string;
|
|
2665
|
+
}[] | null | undefined;
|
|
2666
|
+
} | null | undefined;
|
|
2667
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2668
|
+
defaultCost?: {
|
|
2669
|
+
measurement?: {
|
|
2670
|
+
id: string;
|
|
2671
|
+
name: string;
|
|
2672
|
+
abbrev: string;
|
|
2673
|
+
conversion: {
|
|
2674
|
+
amount: number;
|
|
2675
|
+
precision: number;
|
|
2676
|
+
};
|
|
2677
|
+
} | null | undefined;
|
|
2678
|
+
costPerUnit: {
|
|
2679
|
+
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";
|
|
2680
|
+
amount: number;
|
|
2681
|
+
precision: number;
|
|
2682
|
+
};
|
|
2683
|
+
} | null | undefined;
|
|
2684
|
+
thresholds?: {
|
|
2685
|
+
low: number;
|
|
2686
|
+
mid: number;
|
|
2687
|
+
} | null | undefined;
|
|
2688
|
+
operationalGroup?: string | null | undefined;
|
|
2689
|
+
unit: {
|
|
2690
|
+
_id: string;
|
|
2691
|
+
name: string;
|
|
2692
|
+
abbrev: string;
|
|
2693
|
+
precision: number;
|
|
2694
|
+
measurements: {
|
|
2695
|
+
id: string;
|
|
2696
|
+
name: string;
|
|
2697
|
+
abbrev: string;
|
|
2698
|
+
conversion: {
|
|
2699
|
+
amount: number;
|
|
2700
|
+
precision: number;
|
|
2701
|
+
};
|
|
2702
|
+
}[];
|
|
2703
|
+
};
|
|
2704
|
+
code: string;
|
|
2705
|
+
_id: string;
|
|
2706
|
+
name: string;
|
|
2707
|
+
};
|
|
2708
|
+
code: string;
|
|
2709
|
+
name: string;
|
|
2710
|
+
quantity: {
|
|
2711
|
+
amount: number;
|
|
2712
|
+
precision: number;
|
|
2713
|
+
};
|
|
2714
|
+
quantityStep: {
|
|
2715
|
+
amount: number;
|
|
2716
|
+
precision: number;
|
|
2717
|
+
};
|
|
2718
|
+
minimumQuantity: {
|
|
2719
|
+
amount: number;
|
|
2720
|
+
precision: number;
|
|
2721
|
+
};
|
|
2722
|
+
maximumQuantity: {
|
|
2723
|
+
amount: number;
|
|
2724
|
+
precision: number;
|
|
2725
|
+
};
|
|
2726
|
+
}[];
|
|
2727
|
+
supplier: {
|
|
2728
|
+
phoneNumber?: string | null | undefined;
|
|
2729
|
+
email?: string | null | undefined;
|
|
2730
|
+
_rev?: string | null | undefined;
|
|
2731
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2732
|
+
contactName?: string | null | undefined;
|
|
2733
|
+
registrationNumber?: string | undefined;
|
|
2734
|
+
supplyItems?: {
|
|
2735
|
+
defaultCost: {
|
|
2736
|
+
measurement?: {
|
|
2737
|
+
id: string;
|
|
2738
|
+
name: string;
|
|
2739
|
+
abbrev: string;
|
|
2740
|
+
conversion: {
|
|
2741
|
+
amount: number;
|
|
2742
|
+
precision: number;
|
|
2743
|
+
};
|
|
2744
|
+
} | null | undefined;
|
|
2745
|
+
costPerUnit: {
|
|
2746
|
+
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";
|
|
2747
|
+
amount: number;
|
|
2748
|
+
precision: number;
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2751
|
+
skuId: string;
|
|
2752
|
+
}[] | null | undefined;
|
|
2753
|
+
_id: string;
|
|
2754
|
+
name: string;
|
|
2755
|
+
address: {
|
|
2756
|
+
line2?: string | null | undefined;
|
|
2757
|
+
line1: string;
|
|
2758
|
+
state: string;
|
|
2759
|
+
city: string;
|
|
2760
|
+
postcode: string;
|
|
2761
|
+
country: string;
|
|
2762
|
+
};
|
|
2763
|
+
};
|
|
2764
|
+
};
|
|
920
2765
|
}[]>;
|
|
921
2766
|
loading: import("vue").Ref<boolean, boolean>;
|
|
922
2767
|
fetchTemplates: () => Promise<void>;
|
|
923
2768
|
loadTemplate: (templateId: string) => Promise<void>;
|
|
924
|
-
}
|
|
2769
|
+
}, "fetchTemplates" | "loadTemplate">>;
|