@feedmepos/mf-inventory-portal 0.0.22-dev.2 → 0.0.22-dev.21
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/App.vue.d.ts +2 -0
- package/dist/{ApprovalView-D7WEr35k.js → ApprovalView-CCYykhrK.js} +14 -14
- package/dist/{BindingsDialog-C-3uO6pD.js → BindingsDialog-33VV_AST.js} +1 -1
- package/dist/{BindingsPicker-B3tGisCE.js → BindingsPicker-BKu4vN8J.js} +8 -8
- package/dist/{BindingsTable-CPtiH3vj.js → BindingsTable-Dd0h5gDf.js} +1 -1
- package/dist/ClosingTemplateView-BhevjTLl.js +1067 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ohHZLOuR.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-3gp56NNJ.js} +14 -16
- package/dist/{IngredientsView-D-EKGLq9.js → IngredientsView-DckIH9eR.js} +5 -6
- package/dist/{IntegrationView-BVAO_vch.js → IntegrationView-BqQ4jRIp.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJYmB7Ct.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Vi0q_bDz.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BxkM-SOw.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BIL8LWRz.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-CP-mK62z.js → PurchaseOrderPrintPreview-Ct7daTTa.js} +1 -1
- package/dist/{ReceiveRequestView-x8WTvuDk.js → ReceiveRequestView-B4wHTogG.js} +25 -26
- package/dist/RecipeView-DuE4cXLz.js +590 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/{StockView-SyWxT4Ee.js → StockView-Bn9v2Ix8.js} +602 -585
- package/dist/{SupplierView-a0HAZJau.js → SupplierView-C8rqHSOV.js} +37 -37
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CStnY5Zh.js +851 -0
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DRKiv_t8.js +1511 -0
- package/dist/TransferTemplateView-RM6Y-WL4.js +1209 -0
- package/dist/{UnitView-B3c7W5lw.js → UnitView-BXISVrop.js} +4 -4
- package/dist/{WarehouseView-DDV-yslF.js → WarehouseView-B055eB90.js} +18 -18
- package/dist/api/closing-template.d.ts +14 -0
- package/dist/api/inventory.d.ts +5 -7
- package/dist/api/netsuite.d.ts +46 -0
- package/dist/api/purchase-order-template.d.ts +0 -4
- package/dist/{app-DURkcZal.js → app-9algzyce.js} +16045 -15403
- package/dist/app.d.ts +6 -0
- package/dist/app.js +2 -2
- package/dist/components/FmMinMaxInputRules.d.ts +2 -0
- package/dist/components/FmUnitInputRules.d.ts +2 -0
- package/dist/{decimal-BGJlFDm8.js → decimal-CMuMGm4y.js} +1 -1
- package/dist/{defineDeepModel-pATZSiCT.js → defineDeepModel-CjPowyho.js} +1 -1
- package/dist/extensions/promises.d.ts +14 -0
- package/dist/{format-time-from-id-BCAuJEq2.js → format-time-from-id-DNKcbBFm.js} +1 -1
- package/dist/helper/date2.d.ts +1 -0
- package/dist/helper/rules.d.ts +7 -0
- package/dist/helper/rules.spec.d.ts +1 -0
- package/dist/{id-to-date-CVHmTOJk.js → id-to-date-C6W4aVdr.js} +1 -1
- package/dist/purchase-order-transaction-type-CscRvNAR.js +680 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/helper/core-store-proxy.d.ts +3 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/inventory.d.ts +7 -0
- package/dist/stores/location.d.ts +24 -42
- package/dist/stores/netsuite.d.ts +56 -0
- package/dist/stores/route.d.ts +0 -5
- package/dist/stores/warehouse.d.ts +4 -7
- package/dist/style.css +1 -1
- package/dist/{supplier-DmBbGAwf.js → supplier-BiCX3dpL.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-Dtg2qOTm.js +85 -0
- package/dist/views/closing-template/components/closing-template-publish/ClosingTemplatePublish.vue.d.ts +6 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +276 -84
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +341 -85
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +916 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +788 -152
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +800 -164
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -7
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1285 -109
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +399 -993
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +345 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
- package/dist/{xlsx-1DLm6bBD.js → xlsx-fKJqx2Qc.js} +1 -1
- package/dist/{xlsx.util-DLtch7r5.js → xlsx.util-LOnzE3KS.js} +2 -2
- package/package.json +5 -5
- package/dist/ClosingTemplateView-Df0lgpjS.js +0 -928
- package/dist/RecipeView-BysIWI1W.js +0 -581
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-ckp8gcT_.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-BSvpuWY9.js +0 -1409
- package/dist/TransferTemplateView-BGi6zd6d.js +0 -1350
- package/dist/array-ClJzD_Lt.js +0 -30
- package/dist/layout/InventoryLayout.vue.d.ts +0 -2
- package/dist/layout/layout-routes.d.ts +0 -6
- package/dist/purchase-order-transaction-type-DvSpCSXr.js +0 -712
- package/dist/use-template-enabled-locations-BiuOdu1M.js +0 -57
|
@@ -19,13 +19,10 @@ export declare function useTransferTemplateTable(): {
|
|
|
19
19
|
url?: string | null | undefined;
|
|
20
20
|
expiredAt?: string | null | undefined;
|
|
21
21
|
agentId?: string | null | undefined;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
name: string;
|
|
27
|
-
id: string;
|
|
28
|
-
}[];
|
|
22
|
+
attributeSettings?: {
|
|
23
|
+
type: "string" | "number" | "boolean" | "date";
|
|
24
|
+
key: string;
|
|
25
|
+
entity: "restaurant" | "item";
|
|
29
26
|
}[] | null | undefined;
|
|
30
27
|
pf_agent?: {
|
|
31
28
|
clickupId?: string | null | undefined;
|
|
@@ -145,9 +142,110 @@ export declare function useTransferTemplateTable(): {
|
|
|
145
142
|
country: string;
|
|
146
143
|
};
|
|
147
144
|
} | undefined;
|
|
145
|
+
netSuite?: {
|
|
146
|
+
id?: string | null | undefined;
|
|
147
|
+
errors?: string[] | null | undefined;
|
|
148
|
+
subsidiary: {
|
|
149
|
+
id?: string | null | undefined;
|
|
150
|
+
name?: string | null | undefined;
|
|
151
|
+
};
|
|
152
|
+
} | null | undefined;
|
|
148
153
|
template?: string | null | undefined;
|
|
149
154
|
stockSnapshotId?: string | null | undefined;
|
|
150
155
|
effectiveAt?: string | null | undefined;
|
|
156
|
+
deliveryFullfillment?: {
|
|
157
|
+
remark?: string | null | undefined;
|
|
158
|
+
adjustment?: string | null | undefined;
|
|
159
|
+
netSuite?: {
|
|
160
|
+
id?: string | null | undefined;
|
|
161
|
+
refNo?: string | null | undefined;
|
|
162
|
+
} | null | undefined;
|
|
163
|
+
items: {
|
|
164
|
+
cost?: {
|
|
165
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
166
|
+
amount: number;
|
|
167
|
+
precision: number;
|
|
168
|
+
} | null | undefined;
|
|
169
|
+
measurement?: {
|
|
170
|
+
id: string;
|
|
171
|
+
name: string;
|
|
172
|
+
abbrev: string;
|
|
173
|
+
conversion: {
|
|
174
|
+
amount: number;
|
|
175
|
+
precision: number;
|
|
176
|
+
};
|
|
177
|
+
} | null | undefined;
|
|
178
|
+
sku: {
|
|
179
|
+
trackingMeasurement?: string | null | undefined;
|
|
180
|
+
convert?: {
|
|
181
|
+
measurement?: string | null | undefined;
|
|
182
|
+
inventoryBindings?: {
|
|
183
|
+
measurement?: {
|
|
184
|
+
id: string;
|
|
185
|
+
name: string;
|
|
186
|
+
abbrev: string;
|
|
187
|
+
conversion: {
|
|
188
|
+
amount: number;
|
|
189
|
+
precision: number;
|
|
190
|
+
};
|
|
191
|
+
} | null | undefined;
|
|
192
|
+
type: "RECIPE" | "SKU";
|
|
193
|
+
amount: {
|
|
194
|
+
amount: number;
|
|
195
|
+
precision: number;
|
|
196
|
+
};
|
|
197
|
+
id: string;
|
|
198
|
+
}[] | null | undefined;
|
|
199
|
+
} | null | undefined;
|
|
200
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
201
|
+
defaultCost?: {
|
|
202
|
+
measurement?: {
|
|
203
|
+
id: string;
|
|
204
|
+
name: string;
|
|
205
|
+
abbrev: string;
|
|
206
|
+
conversion: {
|
|
207
|
+
amount: number;
|
|
208
|
+
precision: number;
|
|
209
|
+
};
|
|
210
|
+
} | null | undefined;
|
|
211
|
+
costPerUnit: {
|
|
212
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
213
|
+
amount: number;
|
|
214
|
+
precision: number;
|
|
215
|
+
};
|
|
216
|
+
} | null | undefined;
|
|
217
|
+
thresholds?: {
|
|
218
|
+
low: number;
|
|
219
|
+
mid: number;
|
|
220
|
+
} | null | undefined;
|
|
221
|
+
operationalGroup?: string | null | undefined;
|
|
222
|
+
unit: {
|
|
223
|
+
_id: string;
|
|
224
|
+
name: string;
|
|
225
|
+
abbrev: string;
|
|
226
|
+
precision: number;
|
|
227
|
+
measurements: {
|
|
228
|
+
id: string;
|
|
229
|
+
name: string;
|
|
230
|
+
abbrev: string;
|
|
231
|
+
conversion: {
|
|
232
|
+
amount: number;
|
|
233
|
+
precision: number;
|
|
234
|
+
};
|
|
235
|
+
}[];
|
|
236
|
+
};
|
|
237
|
+
code: string;
|
|
238
|
+
_id: string;
|
|
239
|
+
name: string;
|
|
240
|
+
};
|
|
241
|
+
amount: {
|
|
242
|
+
amount: number;
|
|
243
|
+
precision: number;
|
|
244
|
+
};
|
|
245
|
+
}[];
|
|
246
|
+
id: string;
|
|
247
|
+
createdAt: string;
|
|
248
|
+
}[] | null | undefined;
|
|
151
249
|
items: {
|
|
152
250
|
measurement?: {
|
|
153
251
|
id: string;
|
|
@@ -247,7 +345,7 @@ export declare function useTransferTemplateTable(): {
|
|
|
247
345
|
}[];
|
|
248
346
|
};
|
|
249
347
|
}>[];
|
|
250
|
-
|
|
348
|
+
templates: import("vue").Ref<{
|
|
251
349
|
_rev?: string | null | undefined;
|
|
252
350
|
locations?: ({
|
|
253
351
|
doc?: any;
|
|
@@ -266,13 +364,10 @@ export declare function useTransferTemplateTable(): {
|
|
|
266
364
|
url?: string | null | undefined;
|
|
267
365
|
expiredAt?: string | null | undefined;
|
|
268
366
|
agentId?: string | null | undefined;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
name: string;
|
|
274
|
-
id: string;
|
|
275
|
-
}[];
|
|
367
|
+
attributeSettings?: {
|
|
368
|
+
type: "string" | "number" | "boolean" | "date";
|
|
369
|
+
key: string;
|
|
370
|
+
entity: "restaurant" | "item";
|
|
276
371
|
}[] | null | undefined;
|
|
277
372
|
pf_agent?: {
|
|
278
373
|
clickupId?: string | null | undefined;
|
|
@@ -392,9 +487,110 @@ export declare function useTransferTemplateTable(): {
|
|
|
392
487
|
country: string;
|
|
393
488
|
};
|
|
394
489
|
} | undefined;
|
|
490
|
+
netSuite?: {
|
|
491
|
+
id?: string | null | undefined;
|
|
492
|
+
errors?: string[] | null | undefined;
|
|
493
|
+
subsidiary: {
|
|
494
|
+
id?: string | null | undefined;
|
|
495
|
+
name?: string | null | undefined;
|
|
496
|
+
};
|
|
497
|
+
} | null | undefined;
|
|
395
498
|
template?: string | null | undefined;
|
|
396
499
|
stockSnapshotId?: string | null | undefined;
|
|
397
500
|
effectiveAt?: string | null | undefined;
|
|
501
|
+
deliveryFullfillment?: {
|
|
502
|
+
remark?: string | null | undefined;
|
|
503
|
+
adjustment?: string | null | undefined;
|
|
504
|
+
netSuite?: {
|
|
505
|
+
id?: string | null | undefined;
|
|
506
|
+
refNo?: string | null | undefined;
|
|
507
|
+
} | null | undefined;
|
|
508
|
+
items: {
|
|
509
|
+
cost?: {
|
|
510
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
511
|
+
amount: number;
|
|
512
|
+
precision: number;
|
|
513
|
+
} | null | undefined;
|
|
514
|
+
measurement?: {
|
|
515
|
+
id: string;
|
|
516
|
+
name: string;
|
|
517
|
+
abbrev: string;
|
|
518
|
+
conversion: {
|
|
519
|
+
amount: number;
|
|
520
|
+
precision: number;
|
|
521
|
+
};
|
|
522
|
+
} | null | undefined;
|
|
523
|
+
sku: {
|
|
524
|
+
trackingMeasurement?: string | null | undefined;
|
|
525
|
+
convert?: {
|
|
526
|
+
measurement?: string | null | undefined;
|
|
527
|
+
inventoryBindings?: {
|
|
528
|
+
measurement?: {
|
|
529
|
+
id: string;
|
|
530
|
+
name: string;
|
|
531
|
+
abbrev: string;
|
|
532
|
+
conversion: {
|
|
533
|
+
amount: number;
|
|
534
|
+
precision: number;
|
|
535
|
+
};
|
|
536
|
+
} | null | undefined;
|
|
537
|
+
type: "RECIPE" | "SKU";
|
|
538
|
+
amount: {
|
|
539
|
+
amount: number;
|
|
540
|
+
precision: number;
|
|
541
|
+
};
|
|
542
|
+
id: string;
|
|
543
|
+
}[] | null | undefined;
|
|
544
|
+
} | null | undefined;
|
|
545
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
546
|
+
defaultCost?: {
|
|
547
|
+
measurement?: {
|
|
548
|
+
id: string;
|
|
549
|
+
name: string;
|
|
550
|
+
abbrev: string;
|
|
551
|
+
conversion: {
|
|
552
|
+
amount: number;
|
|
553
|
+
precision: number;
|
|
554
|
+
};
|
|
555
|
+
} | null | undefined;
|
|
556
|
+
costPerUnit: {
|
|
557
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
558
|
+
amount: number;
|
|
559
|
+
precision: number;
|
|
560
|
+
};
|
|
561
|
+
} | null | undefined;
|
|
562
|
+
thresholds?: {
|
|
563
|
+
low: number;
|
|
564
|
+
mid: number;
|
|
565
|
+
} | null | undefined;
|
|
566
|
+
operationalGroup?: string | null | undefined;
|
|
567
|
+
unit: {
|
|
568
|
+
_id: string;
|
|
569
|
+
name: string;
|
|
570
|
+
abbrev: string;
|
|
571
|
+
precision: number;
|
|
572
|
+
measurements: {
|
|
573
|
+
id: string;
|
|
574
|
+
name: string;
|
|
575
|
+
abbrev: string;
|
|
576
|
+
conversion: {
|
|
577
|
+
amount: number;
|
|
578
|
+
precision: number;
|
|
579
|
+
};
|
|
580
|
+
}[];
|
|
581
|
+
};
|
|
582
|
+
code: string;
|
|
583
|
+
_id: string;
|
|
584
|
+
name: string;
|
|
585
|
+
};
|
|
586
|
+
amount: {
|
|
587
|
+
amount: number;
|
|
588
|
+
precision: number;
|
|
589
|
+
};
|
|
590
|
+
}[];
|
|
591
|
+
id: string;
|
|
592
|
+
createdAt: string;
|
|
593
|
+
}[] | null | undefined;
|
|
398
594
|
items: {
|
|
399
595
|
measurement?: {
|
|
400
596
|
id: string;
|
|
@@ -512,13 +708,10 @@ export declare function useTransferTemplateTable(): {
|
|
|
512
708
|
url?: string | null | undefined;
|
|
513
709
|
expiredAt?: string | null | undefined;
|
|
514
710
|
agentId?: string | null | undefined;
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
name: string;
|
|
520
|
-
id: string;
|
|
521
|
-
}[];
|
|
711
|
+
attributeSettings?: {
|
|
712
|
+
type: "string" | "number" | "boolean" | "date";
|
|
713
|
+
key: string;
|
|
714
|
+
entity: "restaurant" | "item";
|
|
522
715
|
}[] | null | undefined;
|
|
523
716
|
pf_agent?: {
|
|
524
717
|
clickupId?: string | null | undefined;
|
|
@@ -638,9 +831,110 @@ export declare function useTransferTemplateTable(): {
|
|
|
638
831
|
country: string;
|
|
639
832
|
};
|
|
640
833
|
} | undefined;
|
|
834
|
+
netSuite?: {
|
|
835
|
+
id?: string | null | undefined;
|
|
836
|
+
errors?: string[] | null | undefined;
|
|
837
|
+
subsidiary: {
|
|
838
|
+
id?: string | null | undefined;
|
|
839
|
+
name?: string | null | undefined;
|
|
840
|
+
};
|
|
841
|
+
} | null | undefined;
|
|
641
842
|
template?: string | null | undefined;
|
|
642
843
|
stockSnapshotId?: string | null | undefined;
|
|
643
844
|
effectiveAt?: string | null | undefined;
|
|
845
|
+
deliveryFullfillment?: {
|
|
846
|
+
remark?: string | null | undefined;
|
|
847
|
+
adjustment?: string | null | undefined;
|
|
848
|
+
netSuite?: {
|
|
849
|
+
id?: string | null | undefined;
|
|
850
|
+
refNo?: string | null | undefined;
|
|
851
|
+
} | null | undefined;
|
|
852
|
+
items: {
|
|
853
|
+
cost?: {
|
|
854
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
855
|
+
amount: number;
|
|
856
|
+
precision: number;
|
|
857
|
+
} | null | undefined;
|
|
858
|
+
measurement?: {
|
|
859
|
+
id: string;
|
|
860
|
+
name: string;
|
|
861
|
+
abbrev: string;
|
|
862
|
+
conversion: {
|
|
863
|
+
amount: number;
|
|
864
|
+
precision: number;
|
|
865
|
+
};
|
|
866
|
+
} | null | undefined;
|
|
867
|
+
sku: {
|
|
868
|
+
trackingMeasurement?: string | null | undefined;
|
|
869
|
+
convert?: {
|
|
870
|
+
measurement?: string | null | undefined;
|
|
871
|
+
inventoryBindings?: {
|
|
872
|
+
measurement?: {
|
|
873
|
+
id: string;
|
|
874
|
+
name: string;
|
|
875
|
+
abbrev: string;
|
|
876
|
+
conversion: {
|
|
877
|
+
amount: number;
|
|
878
|
+
precision: number;
|
|
879
|
+
};
|
|
880
|
+
} | null | undefined;
|
|
881
|
+
type: "RECIPE" | "SKU";
|
|
882
|
+
amount: {
|
|
883
|
+
amount: number;
|
|
884
|
+
precision: number;
|
|
885
|
+
};
|
|
886
|
+
id: string;
|
|
887
|
+
}[] | null | undefined;
|
|
888
|
+
} | null | undefined;
|
|
889
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
890
|
+
defaultCost?: {
|
|
891
|
+
measurement?: {
|
|
892
|
+
id: string;
|
|
893
|
+
name: string;
|
|
894
|
+
abbrev: string;
|
|
895
|
+
conversion: {
|
|
896
|
+
amount: number;
|
|
897
|
+
precision: number;
|
|
898
|
+
};
|
|
899
|
+
} | null | undefined;
|
|
900
|
+
costPerUnit: {
|
|
901
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
902
|
+
amount: number;
|
|
903
|
+
precision: number;
|
|
904
|
+
};
|
|
905
|
+
} | null | undefined;
|
|
906
|
+
thresholds?: {
|
|
907
|
+
low: number;
|
|
908
|
+
mid: number;
|
|
909
|
+
} | null | undefined;
|
|
910
|
+
operationalGroup?: string | null | undefined;
|
|
911
|
+
unit: {
|
|
912
|
+
_id: string;
|
|
913
|
+
name: string;
|
|
914
|
+
abbrev: string;
|
|
915
|
+
precision: number;
|
|
916
|
+
measurements: {
|
|
917
|
+
id: string;
|
|
918
|
+
name: string;
|
|
919
|
+
abbrev: string;
|
|
920
|
+
conversion: {
|
|
921
|
+
amount: number;
|
|
922
|
+
precision: number;
|
|
923
|
+
};
|
|
924
|
+
}[];
|
|
925
|
+
};
|
|
926
|
+
code: string;
|
|
927
|
+
_id: string;
|
|
928
|
+
name: string;
|
|
929
|
+
};
|
|
930
|
+
amount: {
|
|
931
|
+
amount: number;
|
|
932
|
+
precision: number;
|
|
933
|
+
};
|
|
934
|
+
}[];
|
|
935
|
+
id: string;
|
|
936
|
+
createdAt: string;
|
|
937
|
+
}[] | null | undefined;
|
|
644
938
|
items: {
|
|
645
939
|
measurement?: {
|
|
646
940
|
id: string;
|
|
@@ -758,13 +1052,10 @@ export declare function useTransferTemplateTable(): {
|
|
|
758
1052
|
url?: string | null | undefined;
|
|
759
1053
|
expiredAt?: string | null | undefined;
|
|
760
1054
|
agentId?: string | null | undefined;
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
name: string;
|
|
766
|
-
id: string;
|
|
767
|
-
}[];
|
|
1055
|
+
attributeSettings?: {
|
|
1056
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1057
|
+
key: string;
|
|
1058
|
+
entity: "restaurant" | "item";
|
|
768
1059
|
}[] | null | undefined;
|
|
769
1060
|
pf_agent?: {
|
|
770
1061
|
clickupId?: string | null | undefined;
|
|
@@ -884,29 +1175,63 @@ export declare function useTransferTemplateTable(): {
|
|
|
884
1175
|
country: string;
|
|
885
1176
|
};
|
|
886
1177
|
} | undefined;
|
|
1178
|
+
netSuite?: {
|
|
1179
|
+
id?: string | null | undefined;
|
|
1180
|
+
errors?: string[] | null | undefined;
|
|
1181
|
+
subsidiary: {
|
|
1182
|
+
id?: string | null | undefined;
|
|
1183
|
+
name?: string | null | undefined;
|
|
1184
|
+
};
|
|
1185
|
+
} | null | undefined;
|
|
887
1186
|
template?: string | null | undefined;
|
|
888
1187
|
stockSnapshotId?: string | null | undefined;
|
|
889
1188
|
effectiveAt?: string | null | undefined;
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
1189
|
+
deliveryFullfillment?: {
|
|
1190
|
+
remark?: string | null | undefined;
|
|
1191
|
+
adjustment?: string | null | undefined;
|
|
1192
|
+
netSuite?: {
|
|
1193
|
+
id?: string | null | undefined;
|
|
1194
|
+
refNo?: string | null | undefined;
|
|
1195
|
+
} | null | undefined;
|
|
1196
|
+
items: {
|
|
1197
|
+
cost?: {
|
|
1198
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
896
1199
|
amount: number;
|
|
897
1200
|
precision: number;
|
|
898
|
-
};
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
1201
|
+
} | null | undefined;
|
|
1202
|
+
measurement?: {
|
|
1203
|
+
id: string;
|
|
1204
|
+
name: string;
|
|
1205
|
+
abbrev: string;
|
|
1206
|
+
conversion: {
|
|
1207
|
+
amount: number;
|
|
1208
|
+
precision: number;
|
|
1209
|
+
};
|
|
1210
|
+
} | null | undefined;
|
|
1211
|
+
sku: {
|
|
1212
|
+
trackingMeasurement?: string | null | undefined;
|
|
1213
|
+
convert?: {
|
|
1214
|
+
measurement?: string | null | undefined;
|
|
1215
|
+
inventoryBindings?: {
|
|
1216
|
+
measurement?: {
|
|
1217
|
+
id: string;
|
|
1218
|
+
name: string;
|
|
1219
|
+
abbrev: string;
|
|
1220
|
+
conversion: {
|
|
1221
|
+
amount: number;
|
|
1222
|
+
precision: number;
|
|
1223
|
+
};
|
|
1224
|
+
} | null | undefined;
|
|
1225
|
+
type: "RECIPE" | "SKU";
|
|
1226
|
+
amount: {
|
|
1227
|
+
amount: number;
|
|
1228
|
+
precision: number;
|
|
1229
|
+
};
|
|
1230
|
+
id: string;
|
|
1231
|
+
}[] | null | undefined;
|
|
1232
|
+
} | null | undefined;
|
|
1233
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1234
|
+
defaultCost?: {
|
|
910
1235
|
measurement?: {
|
|
911
1236
|
id: string;
|
|
912
1237
|
name: string;
|
|
@@ -916,963 +1241,44 @@ export declare function useTransferTemplateTable(): {
|
|
|
916
1241
|
precision: number;
|
|
917
1242
|
};
|
|
918
1243
|
} | null | undefined;
|
|
919
|
-
|
|
920
|
-
|
|
1244
|
+
costPerUnit: {
|
|
1245
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
921
1246
|
amount: number;
|
|
922
1247
|
precision: number;
|
|
923
1248
|
};
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
1249
|
+
} | null | undefined;
|
|
1250
|
+
thresholds?: {
|
|
1251
|
+
low: number;
|
|
1252
|
+
mid: number;
|
|
1253
|
+
} | null | undefined;
|
|
1254
|
+
operationalGroup?: string | null | undefined;
|
|
1255
|
+
unit: {
|
|
1256
|
+
_id: string;
|
|
931
1257
|
name: string;
|
|
932
1258
|
abbrev: string;
|
|
933
|
-
conversion: {
|
|
934
|
-
amount: number;
|
|
935
|
-
precision: number;
|
|
936
|
-
};
|
|
937
|
-
} | null | undefined;
|
|
938
|
-
costPerUnit: {
|
|
939
|
-
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";
|
|
940
|
-
amount: number;
|
|
941
1259
|
precision: number;
|
|
1260
|
+
measurements: {
|
|
1261
|
+
id: string;
|
|
1262
|
+
name: string;
|
|
1263
|
+
abbrev: string;
|
|
1264
|
+
conversion: {
|
|
1265
|
+
amount: number;
|
|
1266
|
+
precision: number;
|
|
1267
|
+
};
|
|
1268
|
+
}[];
|
|
942
1269
|
};
|
|
943
|
-
|
|
944
|
-
thresholds?: {
|
|
945
|
-
low: number;
|
|
946
|
-
mid: number;
|
|
947
|
-
} | null | undefined;
|
|
948
|
-
operationalGroup?: string | null | undefined;
|
|
949
|
-
unit: {
|
|
1270
|
+
code: string;
|
|
950
1271
|
_id: string;
|
|
951
1272
|
name: string;
|
|
952
|
-
|
|
1273
|
+
};
|
|
1274
|
+
amount: {
|
|
1275
|
+
amount: number;
|
|
953
1276
|
precision: number;
|
|
954
|
-
measurements: {
|
|
955
|
-
id: string;
|
|
956
|
-
name: string;
|
|
957
|
-
abbrev: string;
|
|
958
|
-
conversion: {
|
|
959
|
-
amount: number;
|
|
960
|
-
precision: number;
|
|
961
|
-
};
|
|
962
|
-
}[];
|
|
963
1277
|
};
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
code: string;
|
|
969
|
-
name: string;
|
|
970
|
-
quantity: {
|
|
971
|
-
amount: number;
|
|
972
|
-
precision: number;
|
|
973
|
-
};
|
|
974
|
-
quantityStep: {
|
|
975
|
-
amount: number;
|
|
976
|
-
precision: number;
|
|
977
|
-
};
|
|
978
|
-
minimumQuantity: {
|
|
979
|
-
amount: number;
|
|
980
|
-
precision: number;
|
|
981
|
-
};
|
|
982
|
-
maximumQuantity: {
|
|
983
|
-
amount: number;
|
|
984
|
-
precision: number;
|
|
985
|
-
};
|
|
986
|
-
}[];
|
|
987
|
-
};
|
|
988
|
-
}[]>;
|
|
989
|
-
businessTemplates: import("vue").Ref<{
|
|
990
|
-
_rev?: string | null | undefined;
|
|
991
|
-
locations?: ({
|
|
992
|
-
doc?: any;
|
|
993
|
-
type: "restaurant";
|
|
994
|
-
name: string;
|
|
995
|
-
acceptRequest: boolean;
|
|
996
|
-
dbName: string;
|
|
997
|
-
} | {
|
|
998
|
-
type: "warehouse";
|
|
999
|
-
name: string;
|
|
1000
|
-
acceptRequest: boolean;
|
|
1001
|
-
dbName: string;
|
|
1002
|
-
doc: {
|
|
1003
|
-
pf_business?: {
|
|
1004
|
-
internal?: boolean | null | undefined;
|
|
1005
|
-
url?: string | null | undefined;
|
|
1006
|
-
expiredAt?: string | null | undefined;
|
|
1007
|
-
agentId?: string | null | undefined;
|
|
1008
|
-
restaurantTagGroups?: {
|
|
1009
|
-
name: string;
|
|
1010
|
-
id: string;
|
|
1011
|
-
tags: {
|
|
1012
|
-
name: string;
|
|
1013
|
-
id: string;
|
|
1014
|
-
}[];
|
|
1015
|
-
}[] | null | undefined;
|
|
1016
|
-
pf_agent?: {
|
|
1017
|
-
clickupId?: string | null | undefined;
|
|
1018
|
-
members?: {
|
|
1019
|
-
pf_user?: {
|
|
1020
|
-
email?: string | null | undefined;
|
|
1021
|
-
phoneNumber?: string | null | undefined;
|
|
1022
|
-
birthday?: string | null | undefined;
|
|
1023
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1024
|
-
addresses?: {
|
|
1025
|
-
name: string;
|
|
1026
|
-
address: string;
|
|
1027
|
-
coordinates: number[];
|
|
1028
|
-
}[] | null | undefined;
|
|
1029
|
-
photoURL?: string | null | undefined;
|
|
1030
|
-
displayName?: string | null | undefined;
|
|
1031
|
-
imported?: {
|
|
1032
|
-
raw: Record<string, any>;
|
|
1033
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1034
|
-
} | null | undefined;
|
|
1035
|
-
_id: string;
|
|
1036
|
-
} | null | undefined;
|
|
1037
|
-
role: "ADMIN";
|
|
1038
|
-
userId: string;
|
|
1039
|
-
}[] | null | undefined;
|
|
1040
|
-
code: string;
|
|
1041
|
-
name: string;
|
|
1042
|
-
_id: string;
|
|
1043
|
-
isReseller: boolean;
|
|
1044
|
-
} | null | undefined;
|
|
1045
|
-
thumbnail?: string | null | undefined;
|
|
1046
|
-
billingInfos?: {
|
|
1047
|
-
_id?: string | null | undefined;
|
|
1048
|
-
name: string;
|
|
1049
|
-
address: {
|
|
1050
|
-
coordinates?: number[] | null | undefined;
|
|
1051
|
-
line2?: string | null | undefined;
|
|
1052
|
-
state: string;
|
|
1053
|
-
country: string;
|
|
1054
|
-
line1: string;
|
|
1055
|
-
city: string;
|
|
1056
|
-
postcode: string;
|
|
1057
|
-
};
|
|
1058
|
-
email: string;
|
|
1059
|
-
companyName: string;
|
|
1060
|
-
contact: string;
|
|
1061
|
-
}[] | null | undefined;
|
|
1062
|
-
customerDisplayImages?: {
|
|
1063
|
-
url: string;
|
|
1064
|
-
restaurantIds: string[];
|
|
1065
|
-
}[] | null | undefined;
|
|
1066
|
-
name: string;
|
|
1067
|
-
_id: string;
|
|
1068
|
-
ownerId: string;
|
|
1069
|
-
restaurantQuota: number;
|
|
1070
|
-
warehouseQuota: number;
|
|
1071
|
-
menuVersion: string;
|
|
1072
|
-
} | null | undefined;
|
|
1073
|
-
_id: string;
|
|
1074
|
-
businessId: string;
|
|
1075
|
-
profile: {
|
|
1076
|
-
email?: string | null | undefined;
|
|
1077
|
-
phoneNo?: string | null | undefined;
|
|
1078
|
-
name: string;
|
|
1079
|
-
address: {
|
|
1080
|
-
coordinates?: number[] | null | undefined;
|
|
1081
|
-
line2?: string | null | undefined;
|
|
1082
|
-
state: string;
|
|
1083
|
-
country: string;
|
|
1084
|
-
line1: string;
|
|
1085
|
-
city: string;
|
|
1086
|
-
postcode: string;
|
|
1087
|
-
};
|
|
1088
|
-
regNo: string;
|
|
1089
|
-
};
|
|
1090
|
-
};
|
|
1091
|
-
})[] | null | undefined;
|
|
1092
|
-
_id: string;
|
|
1093
|
-
name: string;
|
|
1094
|
-
purchaseOrder: {
|
|
1095
|
-
remark?: string | null | undefined;
|
|
1096
|
-
ref?: string | null | undefined;
|
|
1097
|
-
supplier?: {
|
|
1098
|
-
phoneNumber?: string | null | undefined;
|
|
1099
|
-
email?: string | null | undefined;
|
|
1100
|
-
_rev?: string | null | undefined;
|
|
1101
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1102
|
-
contactName?: string | null | undefined;
|
|
1103
|
-
registrationNumber?: string | undefined;
|
|
1104
|
-
supplyItems?: {
|
|
1105
|
-
defaultCost: {
|
|
1106
|
-
measurement?: {
|
|
1107
|
-
id: string;
|
|
1108
|
-
name: string;
|
|
1109
|
-
abbrev: string;
|
|
1110
|
-
conversion: {
|
|
1111
|
-
amount: number;
|
|
1112
|
-
precision: number;
|
|
1113
|
-
};
|
|
1114
|
-
} | null | undefined;
|
|
1115
|
-
costPerUnit: {
|
|
1116
|
-
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";
|
|
1117
|
-
amount: number;
|
|
1118
|
-
precision: number;
|
|
1119
|
-
};
|
|
1120
|
-
};
|
|
1121
|
-
skuId: string;
|
|
1122
|
-
}[] | null | undefined;
|
|
1123
|
-
_id: string;
|
|
1124
|
-
name: string;
|
|
1125
|
-
address: {
|
|
1126
|
-
line2?: string | null | undefined;
|
|
1127
|
-
line1: string;
|
|
1128
|
-
state: string;
|
|
1129
|
-
city: string;
|
|
1130
|
-
postcode: string;
|
|
1131
|
-
country: string;
|
|
1132
|
-
};
|
|
1133
|
-
} | undefined;
|
|
1134
|
-
template?: string | null | undefined;
|
|
1135
|
-
stockSnapshotId?: string | null | undefined;
|
|
1136
|
-
effectiveAt?: string | null | undefined;
|
|
1137
|
-
items: {
|
|
1138
|
-
measurement?: {
|
|
1139
|
-
id: string;
|
|
1140
|
-
name: string;
|
|
1141
|
-
abbrev: string;
|
|
1142
|
-
conversion: {
|
|
1143
|
-
amount: number;
|
|
1144
|
-
precision: number;
|
|
1145
|
-
};
|
|
1146
|
-
} | null | undefined;
|
|
1147
|
-
totalCost?: {
|
|
1148
|
-
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";
|
|
1149
|
-
amount: number;
|
|
1150
|
-
precision: number;
|
|
1151
|
-
} | null | undefined;
|
|
1152
|
-
sku: {
|
|
1153
|
-
trackingMeasurement?: string | null | undefined;
|
|
1154
|
-
convert?: {
|
|
1155
|
-
measurement?: string | null | undefined;
|
|
1156
|
-
inventoryBindings?: {
|
|
1157
|
-
measurement?: {
|
|
1158
|
-
id: string;
|
|
1159
|
-
name: string;
|
|
1160
|
-
abbrev: string;
|
|
1161
|
-
conversion: {
|
|
1162
|
-
amount: number;
|
|
1163
|
-
precision: number;
|
|
1164
|
-
};
|
|
1165
|
-
} | null | undefined;
|
|
1166
|
-
type: "RECIPE" | "SKU";
|
|
1167
|
-
amount: {
|
|
1168
|
-
amount: number;
|
|
1169
|
-
precision: number;
|
|
1170
|
-
};
|
|
1171
|
-
id: string;
|
|
1172
|
-
}[] | null | undefined;
|
|
1173
|
-
} | null | undefined;
|
|
1174
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1175
|
-
defaultCost?: {
|
|
1176
|
-
measurement?: {
|
|
1177
|
-
id: string;
|
|
1178
|
-
name: string;
|
|
1179
|
-
abbrev: string;
|
|
1180
|
-
conversion: {
|
|
1181
|
-
amount: number;
|
|
1182
|
-
precision: number;
|
|
1183
|
-
};
|
|
1184
|
-
} | null | undefined;
|
|
1185
|
-
costPerUnit: {
|
|
1186
|
-
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";
|
|
1187
|
-
amount: number;
|
|
1188
|
-
precision: number;
|
|
1189
|
-
};
|
|
1190
|
-
} | null | undefined;
|
|
1191
|
-
thresholds?: {
|
|
1192
|
-
low: number;
|
|
1193
|
-
mid: number;
|
|
1194
|
-
} | null | undefined;
|
|
1195
|
-
operationalGroup?: string | null | undefined;
|
|
1196
|
-
unit: {
|
|
1197
|
-
_id: string;
|
|
1198
|
-
name: string;
|
|
1199
|
-
abbrev: string;
|
|
1200
|
-
precision: number;
|
|
1201
|
-
measurements: {
|
|
1202
|
-
id: string;
|
|
1203
|
-
name: string;
|
|
1204
|
-
abbrev: string;
|
|
1205
|
-
conversion: {
|
|
1206
|
-
amount: number;
|
|
1207
|
-
precision: number;
|
|
1208
|
-
};
|
|
1209
|
-
}[];
|
|
1210
|
-
};
|
|
1211
|
-
code: string;
|
|
1212
|
-
_id: string;
|
|
1213
|
-
name: string;
|
|
1214
|
-
};
|
|
1215
|
-
code: string;
|
|
1216
|
-
name: string;
|
|
1217
|
-
quantity: {
|
|
1218
|
-
amount: number;
|
|
1219
|
-
precision: number;
|
|
1220
|
-
};
|
|
1221
|
-
quantityStep: {
|
|
1222
|
-
amount: number;
|
|
1223
|
-
precision: number;
|
|
1224
|
-
};
|
|
1225
|
-
minimumQuantity: {
|
|
1226
|
-
amount: number;
|
|
1227
|
-
precision: number;
|
|
1228
|
-
};
|
|
1229
|
-
maximumQuantity: {
|
|
1230
|
-
amount: number;
|
|
1231
|
-
precision: number;
|
|
1232
|
-
};
|
|
1233
|
-
}[];
|
|
1234
|
-
};
|
|
1235
|
-
}[], {
|
|
1236
|
-
_rev?: string | null | undefined;
|
|
1237
|
-
locations?: ({
|
|
1238
|
-
doc?: any;
|
|
1239
|
-
type: "restaurant";
|
|
1240
|
-
name: string;
|
|
1241
|
-
acceptRequest: boolean;
|
|
1242
|
-
dbName: string;
|
|
1243
|
-
} | {
|
|
1244
|
-
type: "warehouse";
|
|
1245
|
-
name: string;
|
|
1246
|
-
acceptRequest: boolean;
|
|
1247
|
-
dbName: string;
|
|
1248
|
-
doc: {
|
|
1249
|
-
pf_business?: {
|
|
1250
|
-
internal?: boolean | null | undefined;
|
|
1251
|
-
url?: string | null | undefined;
|
|
1252
|
-
expiredAt?: string | null | undefined;
|
|
1253
|
-
agentId?: string | null | undefined;
|
|
1254
|
-
restaurantTagGroups?: {
|
|
1255
|
-
name: string;
|
|
1256
|
-
id: string;
|
|
1257
|
-
tags: {
|
|
1258
|
-
name: string;
|
|
1259
|
-
id: string;
|
|
1260
|
-
}[];
|
|
1261
|
-
}[] | null | undefined;
|
|
1262
|
-
pf_agent?: {
|
|
1263
|
-
clickupId?: string | null | undefined;
|
|
1264
|
-
members?: {
|
|
1265
|
-
pf_user?: {
|
|
1266
|
-
email?: string | null | undefined;
|
|
1267
|
-
phoneNumber?: string | null | undefined;
|
|
1268
|
-
birthday?: string | null | undefined;
|
|
1269
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1270
|
-
addresses?: {
|
|
1271
|
-
name: string;
|
|
1272
|
-
address: string;
|
|
1273
|
-
coordinates: number[];
|
|
1274
|
-
}[] | null | undefined;
|
|
1275
|
-
photoURL?: string | null | undefined;
|
|
1276
|
-
displayName?: string | null | undefined;
|
|
1277
|
-
imported?: {
|
|
1278
|
-
raw: Record<string, any>;
|
|
1279
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1280
|
-
} | null | undefined;
|
|
1281
|
-
_id: string;
|
|
1282
|
-
} | null | undefined;
|
|
1283
|
-
role: "ADMIN";
|
|
1284
|
-
userId: string;
|
|
1285
|
-
}[] | null | undefined;
|
|
1286
|
-
code: string;
|
|
1287
|
-
name: string;
|
|
1288
|
-
_id: string;
|
|
1289
|
-
isReseller: boolean;
|
|
1290
|
-
} | null | undefined;
|
|
1291
|
-
thumbnail?: string | null | undefined;
|
|
1292
|
-
billingInfos?: {
|
|
1293
|
-
_id?: string | null | undefined;
|
|
1294
|
-
name: string;
|
|
1295
|
-
address: {
|
|
1296
|
-
coordinates?: number[] | null | undefined;
|
|
1297
|
-
line2?: string | null | undefined;
|
|
1298
|
-
state: string;
|
|
1299
|
-
country: string;
|
|
1300
|
-
line1: string;
|
|
1301
|
-
city: string;
|
|
1302
|
-
postcode: string;
|
|
1303
|
-
};
|
|
1304
|
-
email: string;
|
|
1305
|
-
companyName: string;
|
|
1306
|
-
contact: string;
|
|
1307
|
-
}[] | null | undefined;
|
|
1308
|
-
customerDisplayImages?: {
|
|
1309
|
-
url: string;
|
|
1310
|
-
restaurantIds: string[];
|
|
1311
|
-
}[] | null | undefined;
|
|
1312
|
-
name: string;
|
|
1313
|
-
_id: string;
|
|
1314
|
-
ownerId: string;
|
|
1315
|
-
restaurantQuota: number;
|
|
1316
|
-
warehouseQuota: number;
|
|
1317
|
-
menuVersion: string;
|
|
1318
|
-
} | null | undefined;
|
|
1319
|
-
_id: string;
|
|
1320
|
-
businessId: string;
|
|
1321
|
-
profile: {
|
|
1322
|
-
email?: string | null | undefined;
|
|
1323
|
-
phoneNo?: string | null | undefined;
|
|
1324
|
-
name: string;
|
|
1325
|
-
address: {
|
|
1326
|
-
coordinates?: number[] | null | undefined;
|
|
1327
|
-
line2?: string | null | undefined;
|
|
1328
|
-
state: string;
|
|
1329
|
-
country: string;
|
|
1330
|
-
line1: string;
|
|
1331
|
-
city: string;
|
|
1332
|
-
postcode: string;
|
|
1333
|
-
};
|
|
1334
|
-
regNo: string;
|
|
1335
|
-
};
|
|
1336
|
-
};
|
|
1337
|
-
})[] | null | undefined;
|
|
1338
|
-
_id: string;
|
|
1339
|
-
name: string;
|
|
1340
|
-
purchaseOrder: {
|
|
1341
|
-
remark?: string | null | undefined;
|
|
1342
|
-
ref?: string | null | undefined;
|
|
1343
|
-
supplier?: {
|
|
1344
|
-
phoneNumber?: string | null | undefined;
|
|
1345
|
-
email?: string | null | undefined;
|
|
1346
|
-
_rev?: string | null | undefined;
|
|
1347
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1348
|
-
contactName?: string | null | undefined;
|
|
1349
|
-
registrationNumber?: string | undefined;
|
|
1350
|
-
supplyItems?: {
|
|
1351
|
-
defaultCost: {
|
|
1352
|
-
measurement?: {
|
|
1353
|
-
id: string;
|
|
1354
|
-
name: string;
|
|
1355
|
-
abbrev: string;
|
|
1356
|
-
conversion: {
|
|
1357
|
-
amount: number;
|
|
1358
|
-
precision: number;
|
|
1359
|
-
};
|
|
1360
|
-
} | null | undefined;
|
|
1361
|
-
costPerUnit: {
|
|
1362
|
-
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";
|
|
1363
|
-
amount: number;
|
|
1364
|
-
precision: number;
|
|
1365
|
-
};
|
|
1366
|
-
};
|
|
1367
|
-
skuId: string;
|
|
1368
|
-
}[] | null | undefined;
|
|
1369
|
-
_id: string;
|
|
1370
|
-
name: string;
|
|
1371
|
-
address: {
|
|
1372
|
-
line2?: string | null | undefined;
|
|
1373
|
-
line1: string;
|
|
1374
|
-
state: string;
|
|
1375
|
-
city: string;
|
|
1376
|
-
postcode: string;
|
|
1377
|
-
country: string;
|
|
1378
|
-
};
|
|
1379
|
-
} | undefined;
|
|
1380
|
-
template?: string | null | undefined;
|
|
1381
|
-
stockSnapshotId?: string | null | undefined;
|
|
1382
|
-
effectiveAt?: string | null | undefined;
|
|
1383
|
-
items: {
|
|
1384
|
-
measurement?: {
|
|
1385
|
-
id: string;
|
|
1386
|
-
name: string;
|
|
1387
|
-
abbrev: string;
|
|
1388
|
-
conversion: {
|
|
1389
|
-
amount: number;
|
|
1390
|
-
precision: number;
|
|
1391
|
-
};
|
|
1392
|
-
} | null | undefined;
|
|
1393
|
-
totalCost?: {
|
|
1394
|
-
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";
|
|
1395
|
-
amount: number;
|
|
1396
|
-
precision: number;
|
|
1397
|
-
} | null | undefined;
|
|
1398
|
-
sku: {
|
|
1399
|
-
trackingMeasurement?: string | null | undefined;
|
|
1400
|
-
convert?: {
|
|
1401
|
-
measurement?: string | null | undefined;
|
|
1402
|
-
inventoryBindings?: {
|
|
1403
|
-
measurement?: {
|
|
1404
|
-
id: string;
|
|
1405
|
-
name: string;
|
|
1406
|
-
abbrev: string;
|
|
1407
|
-
conversion: {
|
|
1408
|
-
amount: number;
|
|
1409
|
-
precision: number;
|
|
1410
|
-
};
|
|
1411
|
-
} | null | undefined;
|
|
1412
|
-
type: "RECIPE" | "SKU";
|
|
1413
|
-
amount: {
|
|
1414
|
-
amount: number;
|
|
1415
|
-
precision: number;
|
|
1416
|
-
};
|
|
1417
|
-
id: string;
|
|
1418
|
-
}[] | null | undefined;
|
|
1419
|
-
} | null | undefined;
|
|
1420
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1421
|
-
defaultCost?: {
|
|
1422
|
-
measurement?: {
|
|
1423
|
-
id: string;
|
|
1424
|
-
name: string;
|
|
1425
|
-
abbrev: string;
|
|
1426
|
-
conversion: {
|
|
1427
|
-
amount: number;
|
|
1428
|
-
precision: number;
|
|
1429
|
-
};
|
|
1430
|
-
} | null | undefined;
|
|
1431
|
-
costPerUnit: {
|
|
1432
|
-
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";
|
|
1433
|
-
amount: number;
|
|
1434
|
-
precision: number;
|
|
1435
|
-
};
|
|
1436
|
-
} | null | undefined;
|
|
1437
|
-
thresholds?: {
|
|
1438
|
-
low: number;
|
|
1439
|
-
mid: number;
|
|
1440
|
-
} | null | undefined;
|
|
1441
|
-
operationalGroup?: string | null | undefined;
|
|
1442
|
-
unit: {
|
|
1443
|
-
_id: string;
|
|
1444
|
-
name: string;
|
|
1445
|
-
abbrev: string;
|
|
1446
|
-
precision: number;
|
|
1447
|
-
measurements: {
|
|
1448
|
-
id: string;
|
|
1449
|
-
name: string;
|
|
1450
|
-
abbrev: string;
|
|
1451
|
-
conversion: {
|
|
1452
|
-
amount: number;
|
|
1453
|
-
precision: number;
|
|
1454
|
-
};
|
|
1455
|
-
}[];
|
|
1456
|
-
};
|
|
1457
|
-
code: string;
|
|
1458
|
-
_id: string;
|
|
1459
|
-
name: string;
|
|
1460
|
-
};
|
|
1461
|
-
code: string;
|
|
1462
|
-
name: string;
|
|
1463
|
-
quantity: {
|
|
1464
|
-
amount: number;
|
|
1465
|
-
precision: number;
|
|
1466
|
-
};
|
|
1467
|
-
quantityStep: {
|
|
1468
|
-
amount: number;
|
|
1469
|
-
precision: number;
|
|
1470
|
-
};
|
|
1471
|
-
minimumQuantity: {
|
|
1472
|
-
amount: number;
|
|
1473
|
-
precision: number;
|
|
1474
|
-
};
|
|
1475
|
-
maximumQuantity: {
|
|
1476
|
-
amount: number;
|
|
1477
|
-
precision: number;
|
|
1478
|
-
};
|
|
1479
|
-
}[];
|
|
1480
|
-
};
|
|
1481
|
-
}[] | {
|
|
1482
|
-
_rev?: string | null | undefined;
|
|
1483
|
-
locations?: ({
|
|
1484
|
-
doc?: any;
|
|
1485
|
-
type: "restaurant";
|
|
1486
|
-
name: string;
|
|
1487
|
-
acceptRequest: boolean;
|
|
1488
|
-
dbName: string;
|
|
1489
|
-
} | {
|
|
1490
|
-
type: "warehouse";
|
|
1491
|
-
name: string;
|
|
1492
|
-
acceptRequest: boolean;
|
|
1493
|
-
dbName: string;
|
|
1494
|
-
doc: {
|
|
1495
|
-
pf_business?: {
|
|
1496
|
-
internal?: boolean | null | undefined;
|
|
1497
|
-
url?: string | null | undefined;
|
|
1498
|
-
expiredAt?: string | null | undefined;
|
|
1499
|
-
agentId?: string | null | undefined;
|
|
1500
|
-
restaurantTagGroups?: {
|
|
1501
|
-
name: string;
|
|
1502
|
-
id: string;
|
|
1503
|
-
tags: {
|
|
1504
|
-
name: string;
|
|
1505
|
-
id: string;
|
|
1506
|
-
}[];
|
|
1507
|
-
}[] | null | undefined;
|
|
1508
|
-
pf_agent?: {
|
|
1509
|
-
clickupId?: string | null | undefined;
|
|
1510
|
-
members?: {
|
|
1511
|
-
pf_user?: {
|
|
1512
|
-
email?: string | null | undefined;
|
|
1513
|
-
phoneNumber?: string | null | undefined;
|
|
1514
|
-
birthday?: string | null | undefined;
|
|
1515
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1516
|
-
addresses?: {
|
|
1517
|
-
name: string;
|
|
1518
|
-
address: string;
|
|
1519
|
-
coordinates: number[];
|
|
1520
|
-
}[] | null | undefined;
|
|
1521
|
-
photoURL?: string | null | undefined;
|
|
1522
|
-
displayName?: string | null | undefined;
|
|
1523
|
-
imported?: {
|
|
1524
|
-
raw: Record<string, any>;
|
|
1525
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1526
|
-
} | null | undefined;
|
|
1527
|
-
_id: string;
|
|
1528
|
-
} | null | undefined;
|
|
1529
|
-
role: "ADMIN";
|
|
1530
|
-
userId: string;
|
|
1531
|
-
}[] | null | undefined;
|
|
1532
|
-
code: string;
|
|
1533
|
-
name: string;
|
|
1534
|
-
_id: string;
|
|
1535
|
-
isReseller: boolean;
|
|
1536
|
-
} | null | undefined;
|
|
1537
|
-
thumbnail?: string | null | undefined;
|
|
1538
|
-
billingInfos?: {
|
|
1539
|
-
_id?: string | null | undefined;
|
|
1540
|
-
name: string;
|
|
1541
|
-
address: {
|
|
1542
|
-
coordinates?: number[] | null | undefined;
|
|
1543
|
-
line2?: string | null | undefined;
|
|
1544
|
-
state: string;
|
|
1545
|
-
country: string;
|
|
1546
|
-
line1: string;
|
|
1547
|
-
city: string;
|
|
1548
|
-
postcode: string;
|
|
1549
|
-
};
|
|
1550
|
-
email: string;
|
|
1551
|
-
companyName: string;
|
|
1552
|
-
contact: string;
|
|
1553
|
-
}[] | null | undefined;
|
|
1554
|
-
customerDisplayImages?: {
|
|
1555
|
-
url: string;
|
|
1556
|
-
restaurantIds: string[];
|
|
1557
|
-
}[] | null | undefined;
|
|
1558
|
-
name: string;
|
|
1559
|
-
_id: string;
|
|
1560
|
-
ownerId: string;
|
|
1561
|
-
restaurantQuota: number;
|
|
1562
|
-
warehouseQuota: number;
|
|
1563
|
-
menuVersion: string;
|
|
1564
|
-
} | null | undefined;
|
|
1565
|
-
_id: string;
|
|
1566
|
-
businessId: string;
|
|
1567
|
-
profile: {
|
|
1568
|
-
email?: string | null | undefined;
|
|
1569
|
-
phoneNo?: string | null | undefined;
|
|
1570
|
-
name: string;
|
|
1571
|
-
address: {
|
|
1572
|
-
coordinates?: number[] | null | undefined;
|
|
1573
|
-
line2?: string | null | undefined;
|
|
1574
|
-
state: string;
|
|
1575
|
-
country: string;
|
|
1576
|
-
line1: string;
|
|
1577
|
-
city: string;
|
|
1578
|
-
postcode: string;
|
|
1579
|
-
};
|
|
1580
|
-
regNo: string;
|
|
1581
|
-
};
|
|
1582
|
-
};
|
|
1583
|
-
})[] | null | undefined;
|
|
1584
|
-
_id: string;
|
|
1585
|
-
name: string;
|
|
1586
|
-
purchaseOrder: {
|
|
1587
|
-
remark?: string | null | undefined;
|
|
1588
|
-
ref?: string | null | undefined;
|
|
1589
|
-
supplier?: {
|
|
1590
|
-
phoneNumber?: string | null | undefined;
|
|
1591
|
-
email?: string | null | undefined;
|
|
1592
|
-
_rev?: string | null | undefined;
|
|
1593
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1594
|
-
contactName?: string | null | undefined;
|
|
1595
|
-
registrationNumber?: string | undefined;
|
|
1596
|
-
supplyItems?: {
|
|
1597
|
-
defaultCost: {
|
|
1598
|
-
measurement?: {
|
|
1599
|
-
id: string;
|
|
1600
|
-
name: string;
|
|
1601
|
-
abbrev: string;
|
|
1602
|
-
conversion: {
|
|
1603
|
-
amount: number;
|
|
1604
|
-
precision: number;
|
|
1605
|
-
};
|
|
1606
|
-
} | null | undefined;
|
|
1607
|
-
costPerUnit: {
|
|
1608
|
-
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";
|
|
1609
|
-
amount: number;
|
|
1610
|
-
precision: number;
|
|
1611
|
-
};
|
|
1612
|
-
};
|
|
1613
|
-
skuId: string;
|
|
1614
|
-
}[] | null | undefined;
|
|
1615
|
-
_id: string;
|
|
1616
|
-
name: string;
|
|
1617
|
-
address: {
|
|
1618
|
-
line2?: string | null | undefined;
|
|
1619
|
-
line1: string;
|
|
1620
|
-
state: string;
|
|
1621
|
-
city: string;
|
|
1622
|
-
postcode: string;
|
|
1623
|
-
country: string;
|
|
1624
|
-
};
|
|
1625
|
-
} | undefined;
|
|
1626
|
-
template?: string | null | undefined;
|
|
1627
|
-
stockSnapshotId?: string | null | undefined;
|
|
1628
|
-
effectiveAt?: string | null | undefined;
|
|
1629
|
-
items: {
|
|
1630
|
-
measurement?: {
|
|
1631
|
-
id: string;
|
|
1632
|
-
name: string;
|
|
1633
|
-
abbrev: string;
|
|
1634
|
-
conversion: {
|
|
1635
|
-
amount: number;
|
|
1636
|
-
precision: number;
|
|
1637
|
-
};
|
|
1638
|
-
} | null | undefined;
|
|
1639
|
-
totalCost?: {
|
|
1640
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1641
|
-
amount: number;
|
|
1642
|
-
precision: number;
|
|
1643
|
-
} | null | undefined;
|
|
1644
|
-
sku: {
|
|
1645
|
-
trackingMeasurement?: string | null | undefined;
|
|
1646
|
-
convert?: {
|
|
1647
|
-
measurement?: string | null | undefined;
|
|
1648
|
-
inventoryBindings?: {
|
|
1649
|
-
measurement?: {
|
|
1650
|
-
id: string;
|
|
1651
|
-
name: string;
|
|
1652
|
-
abbrev: string;
|
|
1653
|
-
conversion: {
|
|
1654
|
-
amount: number;
|
|
1655
|
-
precision: number;
|
|
1656
|
-
};
|
|
1657
|
-
} | null | undefined;
|
|
1658
|
-
type: "RECIPE" | "SKU";
|
|
1659
|
-
amount: {
|
|
1660
|
-
amount: number;
|
|
1661
|
-
precision: number;
|
|
1662
|
-
};
|
|
1663
|
-
id: string;
|
|
1664
|
-
}[] | null | undefined;
|
|
1665
|
-
} | null | undefined;
|
|
1666
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1667
|
-
defaultCost?: {
|
|
1668
|
-
measurement?: {
|
|
1669
|
-
id: string;
|
|
1670
|
-
name: string;
|
|
1671
|
-
abbrev: string;
|
|
1672
|
-
conversion: {
|
|
1673
|
-
amount: number;
|
|
1674
|
-
precision: number;
|
|
1675
|
-
};
|
|
1676
|
-
} | null | undefined;
|
|
1677
|
-
costPerUnit: {
|
|
1678
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1679
|
-
amount: number;
|
|
1680
|
-
precision: number;
|
|
1681
|
-
};
|
|
1682
|
-
} | null | undefined;
|
|
1683
|
-
thresholds?: {
|
|
1684
|
-
low: number;
|
|
1685
|
-
mid: number;
|
|
1686
|
-
} | null | undefined;
|
|
1687
|
-
operationalGroup?: string | null | undefined;
|
|
1688
|
-
unit: {
|
|
1689
|
-
_id: string;
|
|
1690
|
-
name: string;
|
|
1691
|
-
abbrev: string;
|
|
1692
|
-
precision: number;
|
|
1693
|
-
measurements: {
|
|
1694
|
-
id: string;
|
|
1695
|
-
name: string;
|
|
1696
|
-
abbrev: string;
|
|
1697
|
-
conversion: {
|
|
1698
|
-
amount: number;
|
|
1699
|
-
precision: number;
|
|
1700
|
-
};
|
|
1701
|
-
}[];
|
|
1702
|
-
};
|
|
1703
|
-
code: string;
|
|
1704
|
-
_id: string;
|
|
1705
|
-
name: string;
|
|
1706
|
-
};
|
|
1707
|
-
code: string;
|
|
1708
|
-
name: string;
|
|
1709
|
-
quantity: {
|
|
1710
|
-
amount: number;
|
|
1711
|
-
precision: number;
|
|
1712
|
-
};
|
|
1713
|
-
quantityStep: {
|
|
1714
|
-
amount: number;
|
|
1715
|
-
precision: number;
|
|
1716
|
-
};
|
|
1717
|
-
minimumQuantity: {
|
|
1718
|
-
amount: number;
|
|
1719
|
-
precision: number;
|
|
1720
|
-
};
|
|
1721
|
-
maximumQuantity: {
|
|
1722
|
-
amount: number;
|
|
1723
|
-
precision: number;
|
|
1724
|
-
};
|
|
1725
|
-
}[];
|
|
1726
|
-
};
|
|
1727
|
-
}[]>;
|
|
1728
|
-
templates: import("vue").ComputedRef<{
|
|
1729
|
-
_rev?: string | null | undefined;
|
|
1730
|
-
locations?: ({
|
|
1731
|
-
doc?: any;
|
|
1732
|
-
type: "restaurant";
|
|
1733
|
-
name: string;
|
|
1734
|
-
acceptRequest: boolean;
|
|
1735
|
-
dbName: string;
|
|
1736
|
-
} | {
|
|
1737
|
-
type: "warehouse";
|
|
1738
|
-
name: string;
|
|
1739
|
-
acceptRequest: boolean;
|
|
1740
|
-
dbName: string;
|
|
1741
|
-
doc: {
|
|
1742
|
-
pf_business?: {
|
|
1743
|
-
internal?: boolean | null | undefined;
|
|
1744
|
-
url?: string | null | undefined;
|
|
1745
|
-
expiredAt?: string | null | undefined;
|
|
1746
|
-
agentId?: string | null | undefined;
|
|
1747
|
-
restaurantTagGroups?: {
|
|
1748
|
-
name: string;
|
|
1749
|
-
id: string;
|
|
1750
|
-
tags: {
|
|
1751
|
-
name: string;
|
|
1752
|
-
id: string;
|
|
1753
|
-
}[];
|
|
1754
|
-
}[] | null | undefined;
|
|
1755
|
-
pf_agent?: {
|
|
1756
|
-
clickupId?: string | null | undefined;
|
|
1757
|
-
members?: {
|
|
1758
|
-
pf_user?: {
|
|
1759
|
-
email?: string | null | undefined;
|
|
1760
|
-
phoneNumber?: string | null | undefined;
|
|
1761
|
-
birthday?: string | null | undefined;
|
|
1762
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1763
|
-
addresses?: {
|
|
1764
|
-
name: string;
|
|
1765
|
-
address: string;
|
|
1766
|
-
coordinates: number[];
|
|
1767
|
-
}[] | null | undefined;
|
|
1768
|
-
photoURL?: string | null | undefined;
|
|
1769
|
-
displayName?: string | null | undefined;
|
|
1770
|
-
imported?: {
|
|
1771
|
-
raw: Record<string, any>;
|
|
1772
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1773
|
-
} | null | undefined;
|
|
1774
|
-
_id: string;
|
|
1775
|
-
} | null | undefined;
|
|
1776
|
-
role: "ADMIN";
|
|
1777
|
-
userId: string;
|
|
1778
|
-
}[] | null | undefined;
|
|
1779
|
-
code: string;
|
|
1780
|
-
name: string;
|
|
1781
|
-
_id: string;
|
|
1782
|
-
isReseller: boolean;
|
|
1783
|
-
} | null | undefined;
|
|
1784
|
-
thumbnail?: string | null | undefined;
|
|
1785
|
-
billingInfos?: {
|
|
1786
|
-
_id?: string | null | undefined;
|
|
1787
|
-
name: string;
|
|
1788
|
-
address: {
|
|
1789
|
-
coordinates?: number[] | null | undefined;
|
|
1790
|
-
line2?: string | null | undefined;
|
|
1791
|
-
state: string;
|
|
1792
|
-
country: string;
|
|
1793
|
-
line1: string;
|
|
1794
|
-
city: string;
|
|
1795
|
-
postcode: string;
|
|
1796
|
-
};
|
|
1797
|
-
email: string;
|
|
1798
|
-
companyName: string;
|
|
1799
|
-
contact: string;
|
|
1800
|
-
}[] | null | undefined;
|
|
1801
|
-
customerDisplayImages?: {
|
|
1802
|
-
url: string;
|
|
1803
|
-
restaurantIds: string[];
|
|
1804
|
-
}[] | null | undefined;
|
|
1805
|
-
name: string;
|
|
1806
|
-
_id: string;
|
|
1807
|
-
ownerId: string;
|
|
1808
|
-
restaurantQuota: number;
|
|
1809
|
-
warehouseQuota: number;
|
|
1810
|
-
menuVersion: string;
|
|
1811
|
-
} | null | undefined;
|
|
1812
|
-
_id: string;
|
|
1813
|
-
businessId: string;
|
|
1814
|
-
profile: {
|
|
1815
|
-
email?: string | null | undefined;
|
|
1816
|
-
phoneNo?: string | null | undefined;
|
|
1817
|
-
name: string;
|
|
1818
|
-
address: {
|
|
1819
|
-
coordinates?: number[] | null | undefined;
|
|
1820
|
-
line2?: string | null | undefined;
|
|
1821
|
-
state: string;
|
|
1822
|
-
country: string;
|
|
1823
|
-
line1: string;
|
|
1824
|
-
city: string;
|
|
1825
|
-
postcode: string;
|
|
1826
|
-
};
|
|
1827
|
-
regNo: string;
|
|
1828
|
-
};
|
|
1829
|
-
};
|
|
1830
|
-
})[] | null | undefined;
|
|
1831
|
-
_id: string;
|
|
1832
|
-
name: string;
|
|
1833
|
-
purchaseOrder: {
|
|
1834
|
-
remark?: string | null | undefined;
|
|
1835
|
-
ref?: string | null | undefined;
|
|
1836
|
-
supplier?: {
|
|
1837
|
-
phoneNumber?: string | null | undefined;
|
|
1838
|
-
email?: string | null | undefined;
|
|
1839
|
-
_rev?: string | null | undefined;
|
|
1840
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1841
|
-
contactName?: string | null | undefined;
|
|
1842
|
-
registrationNumber?: string | undefined;
|
|
1843
|
-
supplyItems?: {
|
|
1844
|
-
defaultCost: {
|
|
1845
|
-
measurement?: {
|
|
1846
|
-
id: string;
|
|
1847
|
-
name: string;
|
|
1848
|
-
abbrev: string;
|
|
1849
|
-
conversion: {
|
|
1850
|
-
amount: number;
|
|
1851
|
-
precision: number;
|
|
1852
|
-
};
|
|
1853
|
-
} | null | undefined;
|
|
1854
|
-
costPerUnit: {
|
|
1855
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1856
|
-
amount: number;
|
|
1857
|
-
precision: number;
|
|
1858
|
-
};
|
|
1859
|
-
};
|
|
1860
|
-
skuId: string;
|
|
1861
|
-
}[] | null | undefined;
|
|
1862
|
-
_id: string;
|
|
1863
|
-
name: string;
|
|
1864
|
-
address: {
|
|
1865
|
-
line2?: string | null | undefined;
|
|
1866
|
-
line1: string;
|
|
1867
|
-
state: string;
|
|
1868
|
-
city: string;
|
|
1869
|
-
postcode: string;
|
|
1870
|
-
country: string;
|
|
1871
|
-
};
|
|
1872
|
-
} | undefined;
|
|
1873
|
-
template?: string | null | undefined;
|
|
1874
|
-
stockSnapshotId?: string | null | undefined;
|
|
1875
|
-
effectiveAt?: string | null | undefined;
|
|
1278
|
+
}[];
|
|
1279
|
+
id: string;
|
|
1280
|
+
createdAt: string;
|
|
1281
|
+
}[] | null | undefined;
|
|
1876
1282
|
items: {
|
|
1877
1283
|
measurement?: {
|
|
1878
1284
|
id: string;
|