@feedmepos/mf-inventory-portal 1.4.1-dev.1 → 1.4.2
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-ChJEzu4r.js → App-D8p5pMar.js} +5 -5
- package/dist/{ApprovalView-DE7cizNA.js → ApprovalView-B6WmrP3R.js} +7 -7
- package/dist/{BindingsDialog-BsMtvOJG.js → BindingsDialog-DAG2toHR.js} +2 -2
- package/dist/{BindingsPicker-Cqm2FCk4.js → BindingsPicker-CPbNuwFq.js} +2 -2
- package/dist/{BindingsTable-DnmlqSXV.js → BindingsTable-Hkkel0vq.js} +3 -3
- package/dist/{ClosingDraftView-DCo7R5X_.js → ClosingDraftView-JCtS2MZa.js} +15 -15
- package/dist/{ClosingHistoryView-B8pvoz_L.js → ClosingHistoryView-D7GacAqj.js} +5 -5
- package/dist/{ClosingTemplateView-BhWMZskM.js → ClosingTemplateView-DqpbjHK2.js} +14 -14
- package/dist/{DefaultView-7L4zg3pD.js → DefaultView-BSm6fE5w.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BJUAI20p.js → DeliveryOrderPrintPreview-DFj56iJk.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZz44xPT.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CaVUl6v3.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D2xaJ_fT.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-FunJ5ZX5.js} +2 -2
- package/dist/{FmMultiselectDialog-CSlbhVxn.js → FmMultiselectDialog-BE2Tqm4H.js} +1 -1
- package/dist/{FmMultiselectDialog-CPt0eMqz.js → FmMultiselectDialog-DpekFj8a.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DeFbqEt_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bt_kCIFn.js} +4 -4
- package/dist/{ImportView-DDq7-EqO.js → ImportView-CAcUO9Pv.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-TLC_uZ1L.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-0Abq7FDN.js} +1 -1
- package/dist/{IngredientGroupView-BOPm59h1.js → IngredientGroupView-CeUfykez.js} +5 -5
- package/dist/{IngredientsView-Drxqdl5C.js → IngredientsView-Cdhgw3Tw.js} +15 -15
- package/dist/{IntegrationExplorerView-ClolIlZJ.js → IntegrationExplorerView-BioiObpU.js} +5 -5
- package/dist/{IntegrationView-BhsxOMny.js → IntegrationView-BHjOvMpX.js} +13 -13
- package/dist/{InventoryBindingForm-DSmmb2Re.js → InventoryBindingForm-D892WEqV.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bs1WRSC4.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BMfmKcz8.js} +5 -5
- package/dist/{InventoryBindingSummary-DwmmGqLA.js → InventoryBindingSummary-DOGWF0fo.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cBTXwRyT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B-dhMJ0F.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-WgbXX2to.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CKuIWTXZ.js} +1 -1
- package/dist/{PublishView-CjIwzQ1D.js → PublishView-Dh6OiaG1.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D14UaMbm.js → PurchaseOrderPrintPreview-Cpme08gm.js} +2 -2
- package/dist/{ReceiveRequestView-C5s6H1ly.js → ReceiveRequestView-Dldwu3-H.js} +25 -25
- package/dist/{RecipeView-BWlgNjqM.js → RecipeView-gkZuFdCP.js} +17 -17
- package/dist/{SettingsView-BiaJS0Qs.js → SettingsView-wOy_OATI.js} +4 -4
- package/dist/{StockView-DzdW3saV.js → StockView-DeLcyQrC.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CziwNGpm.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C2Jax3tb.js} +1 -1
- package/dist/{SupplierView-CEH1mh4O.js → SupplierView-Bf2AW8JH.js} +12 -12
- package/dist/{SurchargeView-DLL1vb1m.js → SurchargeView-CJtg87ol.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyzJFEM1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bfzqxalj.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-riu5GB0x.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CEz3Yc2Z.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CdPx9jtv.js → TransferDetails.vue_vue_type_script_setup_true_lang-CcpH12aM.js} +20 -20
- package/dist/{TransferTemplateView-B1hOOEld.js → TransferTemplateView-DpWFExzQ.js} +18 -18
- package/dist/{UnitCostHistoryView-CfVLgSsg.js → UnitCostHistoryView-PEexDaAO.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D_5MeWML.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-i8HZEphD.js} +4 -4
- package/dist/{UnitView-CNEW1ZyC.js → UnitView-BPyyMHKE.js} +7 -7
- package/dist/{WarehouseView-BAEddBqH.js → WarehouseView-BmCech19.js} +5 -5
- package/dist/{WastageTemplateView-BDDcGlH1.js → WastageTemplateView-DJOBAWKd.js} +14 -14
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +92 -92
- package/dist/api/netsuite.d.ts +67 -67
- package/dist/api/surcharge.d.ts +2 -2
- package/dist/{app-8jckOqPv.js → app-D4P-koOR.js} +31824 -31795
- package/dist/app.d.ts +24 -24
- package/dist/app.js +1 -1
- package/dist/{closing-template-DI_wHTs-.js → closing-template-CCvXzoLm.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +20 -20
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +6 -6
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +11 -11
- package/dist/{date2-R--GWp3h.js → date2-XHYHbI0K.js} +1 -1
- package/dist/{dayjs.min-BLMwzZoP.js → dayjs.min-pkE_kmHZ.js} +1 -1
- package/dist/{decimal-C1gVMYNr.js → decimal-CQ7SlCe0.js} +2 -2
- package/dist/{defineDeepModel-v4CSJ0KR.js → defineDeepModel-CZDkmNol.js} +1 -1
- package/dist/{duplicate-template-B2FyWucr.js → duplicate-template-BQ0bF_MO.js} +1 -1
- package/dist/export-CDIp6ydU.js +26 -0
- package/dist/{feature-D5wDntDA.js → feature-C4zPjstX.js} +2 -2
- package/dist/{format-time-from-id-iIaeuVUR.js → format-time-from-id-D_USijTz.js} +1 -1
- package/dist/{format-unit-display-DoXOol_B.js → format-unit-display-CF6-yU7v.js} +11 -11
- package/dist/helper/xlsx.util.d.ts +9 -0
- package/dist/{import-export.helper-CRZm_4kx.js → import-export.helper-iVXMr9yw.js} +6 -6
- package/dist/{index-DvydJuBP.js → index-BIG8c4oA.js} +3 -3
- package/dist/{index-Dctf0kPG.js → index-CTNLpvtM.js} +1 -1
- package/dist/{index-BlCcDs_t.js → index-EoaZ_eFV.js} +1 -1
- package/dist/{inventory-core-dart.default-BGNoRNOu.js → inventory-core-dart.default-D6cCA8tk.js} +1 -1
- package/dist/{lodash-BGLr9-Z4.js → lodash-DR7t9CsC.js} +1 -1
- package/dist/{lz-string-BXxSHhql.js → lz-string-DgqLqrsO.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +3 -3
- package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +6 -6
- package/dist/modules/print-template/store/print-template.d.ts +36 -36
- package/dist/{netsuite-QrjgLCzF.js → netsuite-ByBZj6uf.js} +55 -44
- package/dist/{number-BW3CMNw8.js → number-f4J4YlZT.js} +3 -3
- package/dist/{predefined-templates-BAl0dgvF.js → predefined-templates-BlmLhRsh.js} +1 -1
- package/dist/{purchase-order-template-BXiI76-R.js → purchase-order-template-BS94QDpg.js} +1 -1
- package/dist/{recalculationUtils-DryzcsyX.js → recalculationUtils-D0wl-tgM.js} +1 -1
- package/dist/{rules-uhOTzvDT.js → rules-Cpi5Vduo.js} +2 -2
- package/dist/{stock-DIzLmqOG.js → stock-BynB5KIH.js} +1 -1
- package/dist/{stock-CFigyCpv.js → stock-GYUDrBUF.js} +3 -3
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +22 -22
- package/dist/stores/inventory.d.ts +91 -91
- package/dist/stores/location.d.ts +28 -28
- package/dist/stores/stock.d.ts +3 -3
- package/dist/stores/supplier.d.ts +120 -120
- package/dist/stores/surcharge.d.ts +1 -1
- package/dist/stores/warehouse.d.ts +5 -5
- package/dist/{supplier-DnHSGzUP.js → supplier-BDpzWHvm.js} +2 -2
- package/dist/{surcharge-NTU0Whsq.js → surcharge-ztZ3mUE2.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BTeCOYD1.js → use-ingredient-select-dialog-xx_W7OyU.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C5dSHkMZ.js → use-inventory-binding-dialog-B_OV8CCL.js} +2 -2
- package/dist/{use-template-enabled-locations-Ba9BFrFN.js → use-template-enabled-locations-ByOi4t2R.js} +2 -2
- package/dist/{use-transfer-locations-D__VLxA7.js → use-transfer-locations-BOR-wq8s.js} +2 -2
- package/dist/{useHrmPermission-DMlbCSlp.js → useHrmPermission-BtXw89bp.js} +1 -1
- package/dist/{useNavigationMenu-jtnBmp0t.js → useNavigationMenu-Ds6IBfYX.js} +2 -2
- package/dist/{useSseClient-D8q23tYV.js → useSseClient-q5d7Qjrq.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -60
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/table.d.ts +66 -66
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +156 -156
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +55 -55
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +234 -234
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -8
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +132 -132
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +132 -132
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +2 -2
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +1 -1
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +9 -9
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +6 -6
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -32
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +4 -4
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +1 -1
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -8
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +32 -32
- package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +12 -12
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +60 -60
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +4 -4
- package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +152 -152
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +32 -32
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +64 -64
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +16 -16
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +221 -221
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1503 -1503
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1758 -1758
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +6 -6
- package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +90 -90
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +26 -26
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
- package/dist/views/supplier/composables/use-supplier-table.d.ts +5 -5
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +122 -122
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +18 -18
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +32 -32
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -16
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +16 -16
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +757 -757
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +755 -755
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
- package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +3 -3
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -10
- package/dist/{vue-i18n-8-OMxHzQ.js → vue-i18n-C35dl24s.js} +302 -302
- package/dist/{xlsx-BFjtlsJV.js → xlsx-CzLrFB_A.js} +1 -1
- package/dist/xlsx.util-osyDkxYO.js +101 -0
- package/package.json +5 -5
- package/dist/export-rvaYes9_.js +0 -25
- package/dist/xlsx.util-0LMGvDYM.js +0 -78
|
@@ -10,11 +10,11 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
10
10
|
operateV2: FdtoPurchaseOrderOperateV2RequestWithPayload;
|
|
11
11
|
transferTo?: string;
|
|
12
12
|
}) => Promise<import("../../../api/type").WithRev<{
|
|
13
|
-
remark?: string | null | undefined;
|
|
14
|
-
ref?: string | null | undefined;
|
|
15
13
|
_rev?: string | null | undefined;
|
|
16
14
|
version?: "1" | "2" | null | undefined;
|
|
15
|
+
ref?: string | null | undefined;
|
|
17
16
|
template?: string | null | undefined;
|
|
17
|
+
remark?: string | null | undefined;
|
|
18
18
|
templateDoc?: {
|
|
19
19
|
_rev?: string | null | undefined;
|
|
20
20
|
updatedAt?: string | null | undefined;
|
|
@@ -23,8 +23,8 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
23
23
|
_id: string;
|
|
24
24
|
updatedAt: string;
|
|
25
25
|
} | null | undefined;
|
|
26
|
-
name: string;
|
|
27
26
|
type: "restaurant" | "warehouse";
|
|
27
|
+
name: string;
|
|
28
28
|
acceptRequest: boolean;
|
|
29
29
|
dbName: string;
|
|
30
30
|
doc: {
|
|
@@ -113,22 +113,61 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
113
113
|
name: string;
|
|
114
114
|
id: string;
|
|
115
115
|
} | null | undefined;
|
|
116
|
-
_id: string;
|
|
117
|
-
name: string;
|
|
118
116
|
purchaseOrder: {
|
|
119
|
-
remark?: string | null | undefined;
|
|
120
117
|
ref?: string | null | undefined;
|
|
118
|
+
remark?: string | null | undefined;
|
|
119
|
+
supplier: {
|
|
120
|
+
_rev?: string | null | undefined;
|
|
121
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
122
|
+
contactName?: string | null | undefined;
|
|
123
|
+
email?: string | null | undefined;
|
|
124
|
+
phoneNumber?: string | null | undefined;
|
|
125
|
+
registrationNumber?: string | undefined;
|
|
126
|
+
supplyItems?: {
|
|
127
|
+
skuId: string;
|
|
128
|
+
defaultCost: {
|
|
129
|
+
measurement?: {
|
|
130
|
+
name: string;
|
|
131
|
+
id: string;
|
|
132
|
+
abbrev: string;
|
|
133
|
+
conversion: {
|
|
134
|
+
amount: number;
|
|
135
|
+
precision: number;
|
|
136
|
+
};
|
|
137
|
+
} | null | undefined;
|
|
138
|
+
costPerUnit: {
|
|
139
|
+
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";
|
|
140
|
+
amount: number;
|
|
141
|
+
precision: number;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
}[] | null | undefined;
|
|
145
|
+
preparationTime?: {
|
|
146
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
147
|
+
value: number;
|
|
148
|
+
} | null | undefined;
|
|
149
|
+
_id: string;
|
|
150
|
+
name: string;
|
|
151
|
+
address: {
|
|
152
|
+
line2?: string | null | undefined;
|
|
153
|
+
line1: string;
|
|
154
|
+
state: string;
|
|
155
|
+
city: string;
|
|
156
|
+
postcode: string;
|
|
157
|
+
country: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
121
160
|
items: {
|
|
122
|
-
id?: string | null | undefined;
|
|
123
161
|
measurement?: {
|
|
124
|
-
id: string;
|
|
125
162
|
name: string;
|
|
163
|
+
id: string;
|
|
126
164
|
abbrev: string;
|
|
127
165
|
conversion: {
|
|
128
166
|
amount: number;
|
|
129
167
|
precision: number;
|
|
130
168
|
};
|
|
131
169
|
} | null | undefined;
|
|
170
|
+
id?: string | null | undefined;
|
|
132
171
|
externalId?: string | null | undefined;
|
|
133
172
|
totalCost?: {
|
|
134
173
|
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";
|
|
@@ -144,12 +183,6 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
144
183
|
amount: number;
|
|
145
184
|
precision: number;
|
|
146
185
|
} | null | undefined;
|
|
147
|
-
quantity: {
|
|
148
|
-
amount: number;
|
|
149
|
-
precision: number;
|
|
150
|
-
};
|
|
151
|
-
name: string;
|
|
152
|
-
code: string;
|
|
153
186
|
sku: {
|
|
154
187
|
trackingMeasurement?: string | null | undefined;
|
|
155
188
|
isInactive?: boolean | null | undefined;
|
|
@@ -157,8 +190,8 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
157
190
|
measurement?: string | null | undefined;
|
|
158
191
|
inventoryBindings?: {
|
|
159
192
|
measurement?: {
|
|
160
|
-
id: string;
|
|
161
193
|
name: string;
|
|
194
|
+
id: string;
|
|
162
195
|
abbrev: string;
|
|
163
196
|
conversion: {
|
|
164
197
|
amount: number;
|
|
@@ -167,24 +200,24 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
167
200
|
} | null | undefined;
|
|
168
201
|
rules?: Record<string, any> | null | undefined;
|
|
169
202
|
alternatives?: {
|
|
170
|
-
priority?: number | null | undefined;
|
|
171
203
|
default?: boolean | null | undefined;
|
|
172
204
|
trackingMeasurement?: string | null | undefined;
|
|
205
|
+
priority?: number | null | undefined;
|
|
173
206
|
_id: string;
|
|
174
207
|
}[] | null | undefined;
|
|
175
|
-
id: string;
|
|
176
208
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
177
209
|
amount: {
|
|
178
210
|
amount: number;
|
|
179
211
|
precision: number;
|
|
180
212
|
};
|
|
213
|
+
id: string;
|
|
181
214
|
}[] | null | undefined;
|
|
182
215
|
} | null | undefined;
|
|
183
216
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
184
217
|
defaultCost?: {
|
|
185
218
|
measurement?: {
|
|
186
|
-
id: string;
|
|
187
219
|
name: string;
|
|
220
|
+
id: string;
|
|
188
221
|
abbrev: string;
|
|
189
222
|
conversion: {
|
|
190
223
|
amount: number;
|
|
@@ -203,17 +236,14 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
203
236
|
mid: number;
|
|
204
237
|
} | null | undefined;
|
|
205
238
|
customAttributes?: Record<string, any> | null | undefined;
|
|
206
|
-
_id: string;
|
|
207
|
-
name: string;
|
|
208
|
-
code: string;
|
|
209
239
|
unit: {
|
|
210
240
|
_id: string;
|
|
211
241
|
name: string;
|
|
212
242
|
abbrev: string;
|
|
213
243
|
precision: number;
|
|
214
244
|
measurements: {
|
|
215
|
-
id: string;
|
|
216
245
|
name: string;
|
|
246
|
+
id: string;
|
|
217
247
|
abbrev: string;
|
|
218
248
|
conversion: {
|
|
219
249
|
amount: number;
|
|
@@ -221,66 +251,36 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
221
251
|
};
|
|
222
252
|
}[];
|
|
223
253
|
};
|
|
254
|
+
code: string;
|
|
255
|
+
_id: string;
|
|
256
|
+
name: string;
|
|
257
|
+
};
|
|
258
|
+
code: string;
|
|
259
|
+
name: string;
|
|
260
|
+
quantity: {
|
|
261
|
+
amount: number;
|
|
262
|
+
precision: number;
|
|
224
263
|
};
|
|
225
264
|
quantityStep: {
|
|
226
265
|
amount: number;
|
|
227
266
|
precision: number;
|
|
228
267
|
};
|
|
229
268
|
}[];
|
|
230
|
-
supplier: {
|
|
231
|
-
phoneNumber?: string | null | undefined;
|
|
232
|
-
email?: string | null | undefined;
|
|
233
|
-
_rev?: string | null | undefined;
|
|
234
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
235
|
-
contactName?: string | null | undefined;
|
|
236
|
-
registrationNumber?: string | undefined;
|
|
237
|
-
supplyItems?: {
|
|
238
|
-
skuId: string;
|
|
239
|
-
defaultCost: {
|
|
240
|
-
measurement?: {
|
|
241
|
-
id: string;
|
|
242
|
-
name: string;
|
|
243
|
-
abbrev: string;
|
|
244
|
-
conversion: {
|
|
245
|
-
amount: number;
|
|
246
|
-
precision: number;
|
|
247
|
-
};
|
|
248
|
-
} | null | undefined;
|
|
249
|
-
costPerUnit: {
|
|
250
|
-
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";
|
|
251
|
-
amount: number;
|
|
252
|
-
precision: number;
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
}[] | null | undefined;
|
|
256
|
-
preparationTime?: {
|
|
257
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
258
|
-
value: number;
|
|
259
|
-
} | null | undefined;
|
|
260
|
-
_id: string;
|
|
261
|
-
name: string;
|
|
262
|
-
address: {
|
|
263
|
-
line2?: string | null | undefined;
|
|
264
|
-
line1: string;
|
|
265
|
-
state: string;
|
|
266
|
-
city: string;
|
|
267
|
-
postcode: string;
|
|
268
|
-
country: string;
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
269
|
};
|
|
270
|
+
_id: string;
|
|
271
|
+
name: string;
|
|
272
272
|
} | null | undefined;
|
|
273
273
|
itemsAtSubmission?: {
|
|
274
|
-
id?: string | null | undefined;
|
|
275
274
|
measurement?: {
|
|
276
|
-
id: string;
|
|
277
275
|
name: string;
|
|
276
|
+
id: string;
|
|
278
277
|
abbrev: string;
|
|
279
278
|
conversion: {
|
|
280
279
|
amount: number;
|
|
281
280
|
precision: number;
|
|
282
281
|
};
|
|
283
282
|
} | null | undefined;
|
|
283
|
+
id?: string | null | undefined;
|
|
284
284
|
externalId?: string | null | undefined;
|
|
285
285
|
totalCost?: {
|
|
286
286
|
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";
|
|
@@ -288,12 +288,6 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
288
288
|
precision: number;
|
|
289
289
|
} | null | undefined;
|
|
290
290
|
isCustomCost?: boolean | null | undefined;
|
|
291
|
-
quantity: {
|
|
292
|
-
amount: number;
|
|
293
|
-
precision: number;
|
|
294
|
-
};
|
|
295
|
-
name: string;
|
|
296
|
-
code: string;
|
|
297
291
|
sku: {
|
|
298
292
|
trackingMeasurement?: string | null | undefined;
|
|
299
293
|
isInactive?: boolean | null | undefined;
|
|
@@ -301,8 +295,8 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
301
295
|
measurement?: string | null | undefined;
|
|
302
296
|
inventoryBindings?: {
|
|
303
297
|
measurement?: {
|
|
304
|
-
id: string;
|
|
305
298
|
name: string;
|
|
299
|
+
id: string;
|
|
306
300
|
abbrev: string;
|
|
307
301
|
conversion: {
|
|
308
302
|
amount: number;
|
|
@@ -311,24 +305,24 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
311
305
|
} | null | undefined;
|
|
312
306
|
rules?: Record<string, any> | null | undefined;
|
|
313
307
|
alternatives?: {
|
|
314
|
-
priority?: number | null | undefined;
|
|
315
308
|
default?: boolean | null | undefined;
|
|
316
309
|
trackingMeasurement?: string | null | undefined;
|
|
310
|
+
priority?: number | null | undefined;
|
|
317
311
|
_id: string;
|
|
318
312
|
}[] | null | undefined;
|
|
319
|
-
id: string;
|
|
320
313
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
321
314
|
amount: {
|
|
322
315
|
amount: number;
|
|
323
316
|
precision: number;
|
|
324
317
|
};
|
|
318
|
+
id: string;
|
|
325
319
|
}[] | null | undefined;
|
|
326
320
|
} | null | undefined;
|
|
327
321
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
328
322
|
defaultCost?: {
|
|
329
323
|
measurement?: {
|
|
330
|
-
id: string;
|
|
331
324
|
name: string;
|
|
325
|
+
id: string;
|
|
332
326
|
abbrev: string;
|
|
333
327
|
conversion: {
|
|
334
328
|
amount: number;
|
|
@@ -347,17 +341,14 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
347
341
|
mid: number;
|
|
348
342
|
} | null | undefined;
|
|
349
343
|
customAttributes?: Record<string, any> | null | undefined;
|
|
350
|
-
_id: string;
|
|
351
|
-
name: string;
|
|
352
|
-
code: string;
|
|
353
344
|
unit: {
|
|
354
345
|
_id: string;
|
|
355
346
|
name: string;
|
|
356
347
|
abbrev: string;
|
|
357
348
|
precision: number;
|
|
358
349
|
measurements: {
|
|
359
|
-
id: string;
|
|
360
350
|
name: string;
|
|
351
|
+
id: string;
|
|
361
352
|
abbrev: string;
|
|
362
353
|
conversion: {
|
|
363
354
|
amount: number;
|
|
@@ -365,6 +356,15 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
365
356
|
};
|
|
366
357
|
}[];
|
|
367
358
|
};
|
|
359
|
+
code: string;
|
|
360
|
+
_id: string;
|
|
361
|
+
name: string;
|
|
362
|
+
};
|
|
363
|
+
code: string;
|
|
364
|
+
name: string;
|
|
365
|
+
quantity: {
|
|
366
|
+
amount: number;
|
|
367
|
+
precision: number;
|
|
368
368
|
};
|
|
369
369
|
}[] | null | undefined;
|
|
370
370
|
request?: {
|
|
@@ -386,8 +386,8 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
386
386
|
}[] | null | undefined;
|
|
387
387
|
missingItems?: {
|
|
388
388
|
name: string;
|
|
389
|
-
reason: string;
|
|
390
389
|
netSuiteId: string;
|
|
390
|
+
reason: string;
|
|
391
391
|
}[] | null | undefined;
|
|
392
392
|
additionalInfo?: any;
|
|
393
393
|
id: string | null;
|
|
@@ -402,11 +402,12 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
402
402
|
id: string | null;
|
|
403
403
|
} | null | undefined;
|
|
404
404
|
shipmentId?: string[] | null | undefined;
|
|
405
|
+
id: string;
|
|
406
|
+
createdAt: string;
|
|
405
407
|
items: {
|
|
406
|
-
id?: string | null | undefined;
|
|
407
408
|
measurement?: {
|
|
408
|
-
id: string;
|
|
409
409
|
name: string;
|
|
410
|
+
id: string;
|
|
410
411
|
abbrev: string;
|
|
411
412
|
conversion: {
|
|
412
413
|
amount: number;
|
|
@@ -418,11 +419,8 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
418
419
|
amount: number;
|
|
419
420
|
precision: number;
|
|
420
421
|
} | null | undefined;
|
|
422
|
+
id?: string | null | undefined;
|
|
421
423
|
externalId?: string | null | undefined;
|
|
422
|
-
amount: {
|
|
423
|
-
amount: number;
|
|
424
|
-
precision: number;
|
|
425
|
-
};
|
|
426
424
|
sku: {
|
|
427
425
|
trackingMeasurement?: string | null | undefined;
|
|
428
426
|
isInactive?: boolean | null | undefined;
|
|
@@ -430,8 +428,8 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
430
428
|
measurement?: string | null | undefined;
|
|
431
429
|
inventoryBindings?: {
|
|
432
430
|
measurement?: {
|
|
433
|
-
id: string;
|
|
434
431
|
name: string;
|
|
432
|
+
id: string;
|
|
435
433
|
abbrev: string;
|
|
436
434
|
conversion: {
|
|
437
435
|
amount: number;
|
|
@@ -440,24 +438,24 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
440
438
|
} | null | undefined;
|
|
441
439
|
rules?: Record<string, any> | null | undefined;
|
|
442
440
|
alternatives?: {
|
|
443
|
-
priority?: number | null | undefined;
|
|
444
441
|
default?: boolean | null | undefined;
|
|
445
442
|
trackingMeasurement?: string | null | undefined;
|
|
443
|
+
priority?: number | null | undefined;
|
|
446
444
|
_id: string;
|
|
447
445
|
}[] | null | undefined;
|
|
448
|
-
id: string;
|
|
449
446
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
450
447
|
amount: {
|
|
451
448
|
amount: number;
|
|
452
449
|
precision: number;
|
|
453
450
|
};
|
|
451
|
+
id: string;
|
|
454
452
|
}[] | null | undefined;
|
|
455
453
|
} | null | undefined;
|
|
456
454
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
457
455
|
defaultCost?: {
|
|
458
456
|
measurement?: {
|
|
459
|
-
id: string;
|
|
460
457
|
name: string;
|
|
458
|
+
id: string;
|
|
461
459
|
abbrev: string;
|
|
462
460
|
conversion: {
|
|
463
461
|
amount: number;
|
|
@@ -476,17 +474,14 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
476
474
|
mid: number;
|
|
477
475
|
} | null | undefined;
|
|
478
476
|
customAttributes?: Record<string, any> | null | undefined;
|
|
479
|
-
_id: string;
|
|
480
|
-
name: string;
|
|
481
|
-
code: string;
|
|
482
477
|
unit: {
|
|
483
478
|
_id: string;
|
|
484
479
|
name: string;
|
|
485
480
|
abbrev: string;
|
|
486
481
|
precision: number;
|
|
487
482
|
measurements: {
|
|
488
|
-
id: string;
|
|
489
483
|
name: string;
|
|
484
|
+
id: string;
|
|
490
485
|
abbrev: string;
|
|
491
486
|
conversion: {
|
|
492
487
|
amount: number;
|
|
@@ -494,10 +489,15 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
494
489
|
};
|
|
495
490
|
}[];
|
|
496
491
|
};
|
|
492
|
+
code: string;
|
|
493
|
+
_id: string;
|
|
494
|
+
name: string;
|
|
495
|
+
};
|
|
496
|
+
amount: {
|
|
497
|
+
amount: number;
|
|
498
|
+
precision: number;
|
|
497
499
|
};
|
|
498
500
|
}[];
|
|
499
|
-
id: string;
|
|
500
|
-
createdAt: string;
|
|
501
501
|
}[] | null | undefined;
|
|
502
502
|
actionChangelogs?: {
|
|
503
503
|
remarks?: string | null | undefined;
|
|
@@ -509,119 +509,19 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
509
509
|
changedAt: string;
|
|
510
510
|
}[] | null | undefined;
|
|
511
511
|
shipmentIds?: string[] | null | undefined;
|
|
512
|
-
_id: string;
|
|
513
|
-
seqNumber: number;
|
|
514
|
-
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "REJECT" | "PENDING_APPROVAL" | "CLOSE";
|
|
515
|
-
items: {
|
|
516
|
-
id?: string | null | undefined;
|
|
517
|
-
measurement?: {
|
|
518
|
-
id: string;
|
|
519
|
-
name: string;
|
|
520
|
-
abbrev: string;
|
|
521
|
-
conversion: {
|
|
522
|
-
amount: number;
|
|
523
|
-
precision: number;
|
|
524
|
-
};
|
|
525
|
-
} | null | undefined;
|
|
526
|
-
externalId?: string | null | undefined;
|
|
527
|
-
totalCost?: {
|
|
528
|
-
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";
|
|
529
|
-
amount: number;
|
|
530
|
-
precision: number;
|
|
531
|
-
} | null | undefined;
|
|
532
|
-
isCustomCost?: boolean | null | undefined;
|
|
533
|
-
quantity: {
|
|
534
|
-
amount: number;
|
|
535
|
-
precision: number;
|
|
536
|
-
};
|
|
537
|
-
name: string;
|
|
538
|
-
code: string;
|
|
539
|
-
sku: {
|
|
540
|
-
trackingMeasurement?: string | null | undefined;
|
|
541
|
-
isInactive?: boolean | null | undefined;
|
|
542
|
-
convert?: {
|
|
543
|
-
measurement?: string | null | undefined;
|
|
544
|
-
inventoryBindings?: {
|
|
545
|
-
measurement?: {
|
|
546
|
-
id: string;
|
|
547
|
-
name: string;
|
|
548
|
-
abbrev: string;
|
|
549
|
-
conversion: {
|
|
550
|
-
amount: number;
|
|
551
|
-
precision: number;
|
|
552
|
-
};
|
|
553
|
-
} | null | undefined;
|
|
554
|
-
rules?: Record<string, any> | null | undefined;
|
|
555
|
-
alternatives?: {
|
|
556
|
-
priority?: number | null | undefined;
|
|
557
|
-
default?: boolean | null | undefined;
|
|
558
|
-
trackingMeasurement?: string | null | undefined;
|
|
559
|
-
_id: string;
|
|
560
|
-
}[] | null | undefined;
|
|
561
|
-
id: string;
|
|
562
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
563
|
-
amount: {
|
|
564
|
-
amount: number;
|
|
565
|
-
precision: number;
|
|
566
|
-
};
|
|
567
|
-
}[] | null | undefined;
|
|
568
|
-
} | null | undefined;
|
|
569
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
570
|
-
defaultCost?: {
|
|
571
|
-
measurement?: {
|
|
572
|
-
id: string;
|
|
573
|
-
name: string;
|
|
574
|
-
abbrev: string;
|
|
575
|
-
conversion: {
|
|
576
|
-
amount: number;
|
|
577
|
-
precision: number;
|
|
578
|
-
};
|
|
579
|
-
} | null | undefined;
|
|
580
|
-
costPerUnit: {
|
|
581
|
-
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";
|
|
582
|
-
amount: number;
|
|
583
|
-
precision: number;
|
|
584
|
-
};
|
|
585
|
-
} | null | undefined;
|
|
586
|
-
operationalGroup?: string | null | undefined;
|
|
587
|
-
thresholds?: {
|
|
588
|
-
low: number;
|
|
589
|
-
mid: number;
|
|
590
|
-
} | null | undefined;
|
|
591
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
592
|
-
_id: string;
|
|
593
|
-
name: string;
|
|
594
|
-
code: string;
|
|
595
|
-
unit: {
|
|
596
|
-
_id: string;
|
|
597
|
-
name: string;
|
|
598
|
-
abbrev: string;
|
|
599
|
-
precision: number;
|
|
600
|
-
measurements: {
|
|
601
|
-
id: string;
|
|
602
|
-
name: string;
|
|
603
|
-
abbrev: string;
|
|
604
|
-
conversion: {
|
|
605
|
-
amount: number;
|
|
606
|
-
precision: number;
|
|
607
|
-
};
|
|
608
|
-
}[];
|
|
609
|
-
};
|
|
610
|
-
};
|
|
611
|
-
}[];
|
|
612
512
|
supplier: {
|
|
613
|
-
phoneNumber?: string | null | undefined;
|
|
614
|
-
email?: string | null | undefined;
|
|
615
513
|
_rev?: string | null | undefined;
|
|
616
514
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
617
515
|
contactName?: string | null | undefined;
|
|
516
|
+
email?: string | null | undefined;
|
|
517
|
+
phoneNumber?: string | null | undefined;
|
|
618
518
|
registrationNumber?: string | undefined;
|
|
619
519
|
supplyItems?: {
|
|
620
520
|
skuId: string;
|
|
621
521
|
defaultCost: {
|
|
622
522
|
measurement?: {
|
|
623
|
-
id: string;
|
|
624
523
|
name: string;
|
|
524
|
+
id: string;
|
|
625
525
|
abbrev: string;
|
|
626
526
|
conversion: {
|
|
627
527
|
amount: number;
|
|
@@ -636,7 +536,7 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
636
536
|
};
|
|
637
537
|
}[] | null | undefined;
|
|
638
538
|
preparationTime?: {
|
|
639
|
-
unit: "
|
|
539
|
+
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
640
540
|
value: number;
|
|
641
541
|
} | null | undefined;
|
|
642
542
|
_id: string;
|
|
@@ -651,26 +551,20 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
651
551
|
};
|
|
652
552
|
};
|
|
653
553
|
deliveryOrder: {
|
|
654
|
-
remark?: string | null | undefined;
|
|
655
554
|
id?: string | null | undefined;
|
|
656
|
-
|
|
555
|
+
remark?: string | null | undefined;
|
|
657
556
|
effectiveAt?: string | null | undefined;
|
|
557
|
+
adjustment?: string | null | undefined;
|
|
658
558
|
fullfillmentId?: string | null | undefined;
|
|
659
559
|
netSuite?: {
|
|
660
560
|
refNo?: string | null | undefined;
|
|
661
561
|
recordType?: string | null | undefined;
|
|
662
562
|
id: string | null;
|
|
663
563
|
} | null | undefined;
|
|
664
|
-
createdBy: {
|
|
665
|
-
name: string;
|
|
666
|
-
id: string;
|
|
667
|
-
};
|
|
668
|
-
createdAt: string;
|
|
669
564
|
received: {
|
|
670
|
-
id?: string | null | undefined;
|
|
671
565
|
measurement?: {
|
|
672
|
-
id: string;
|
|
673
566
|
name: string;
|
|
567
|
+
id: string;
|
|
674
568
|
abbrev: string;
|
|
675
569
|
conversion: {
|
|
676
570
|
amount: number;
|
|
@@ -682,11 +576,8 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
682
576
|
amount: number;
|
|
683
577
|
precision: number;
|
|
684
578
|
} | null | undefined;
|
|
579
|
+
id?: string | null | undefined;
|
|
685
580
|
externalId?: string | null | undefined;
|
|
686
|
-
amount: {
|
|
687
|
-
amount: number;
|
|
688
|
-
precision: number;
|
|
689
|
-
};
|
|
690
581
|
sku: {
|
|
691
582
|
trackingMeasurement?: string | null | undefined;
|
|
692
583
|
isInactive?: boolean | null | undefined;
|
|
@@ -694,8 +585,8 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
694
585
|
measurement?: string | null | undefined;
|
|
695
586
|
inventoryBindings?: {
|
|
696
587
|
measurement?: {
|
|
697
|
-
id: string;
|
|
698
588
|
name: string;
|
|
589
|
+
id: string;
|
|
699
590
|
abbrev: string;
|
|
700
591
|
conversion: {
|
|
701
592
|
amount: number;
|
|
@@ -704,24 +595,24 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
704
595
|
} | null | undefined;
|
|
705
596
|
rules?: Record<string, any> | null | undefined;
|
|
706
597
|
alternatives?: {
|
|
707
|
-
priority?: number | null | undefined;
|
|
708
598
|
default?: boolean | null | undefined;
|
|
709
599
|
trackingMeasurement?: string | null | undefined;
|
|
600
|
+
priority?: number | null | undefined;
|
|
710
601
|
_id: string;
|
|
711
602
|
}[] | null | undefined;
|
|
712
|
-
id: string;
|
|
713
603
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
714
604
|
amount: {
|
|
715
605
|
amount: number;
|
|
716
606
|
precision: number;
|
|
717
607
|
};
|
|
608
|
+
id: string;
|
|
718
609
|
}[] | null | undefined;
|
|
719
610
|
} | null | undefined;
|
|
720
611
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
721
612
|
defaultCost?: {
|
|
722
613
|
measurement?: {
|
|
723
|
-
id: string;
|
|
724
614
|
name: string;
|
|
615
|
+
id: string;
|
|
725
616
|
abbrev: string;
|
|
726
617
|
conversion: {
|
|
727
618
|
amount: number;
|
|
@@ -740,17 +631,14 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
740
631
|
mid: number;
|
|
741
632
|
} | null | undefined;
|
|
742
633
|
customAttributes?: Record<string, any> | null | undefined;
|
|
743
|
-
_id: string;
|
|
744
|
-
name: string;
|
|
745
|
-
code: string;
|
|
746
634
|
unit: {
|
|
747
635
|
_id: string;
|
|
748
636
|
name: string;
|
|
749
637
|
abbrev: string;
|
|
750
638
|
precision: number;
|
|
751
639
|
measurements: {
|
|
752
|
-
id: string;
|
|
753
640
|
name: string;
|
|
641
|
+
id: string;
|
|
754
642
|
abbrev: string;
|
|
755
643
|
conversion: {
|
|
756
644
|
amount: number;
|
|
@@ -758,8 +646,120 @@ export declare function useProcessPurchaseOrder(): (params: {
|
|
|
758
646
|
};
|
|
759
647
|
}[];
|
|
760
648
|
};
|
|
649
|
+
code: string;
|
|
650
|
+
_id: string;
|
|
651
|
+
name: string;
|
|
652
|
+
};
|
|
653
|
+
amount: {
|
|
654
|
+
amount: number;
|
|
655
|
+
precision: number;
|
|
761
656
|
};
|
|
762
657
|
}[];
|
|
658
|
+
createdAt: string;
|
|
659
|
+
createdBy: {
|
|
660
|
+
name: string;
|
|
661
|
+
id: string;
|
|
662
|
+
};
|
|
763
663
|
deliveryOrderNumber: string;
|
|
764
664
|
}[];
|
|
665
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "REJECT" | "PENDING_APPROVAL" | "CLOSE";
|
|
666
|
+
_id: string;
|
|
667
|
+
items: {
|
|
668
|
+
measurement?: {
|
|
669
|
+
name: string;
|
|
670
|
+
id: string;
|
|
671
|
+
abbrev: string;
|
|
672
|
+
conversion: {
|
|
673
|
+
amount: number;
|
|
674
|
+
precision: number;
|
|
675
|
+
};
|
|
676
|
+
} | null | undefined;
|
|
677
|
+
id?: string | null | undefined;
|
|
678
|
+
externalId?: string | null | undefined;
|
|
679
|
+
totalCost?: {
|
|
680
|
+
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";
|
|
681
|
+
amount: number;
|
|
682
|
+
precision: number;
|
|
683
|
+
} | null | undefined;
|
|
684
|
+
isCustomCost?: boolean | null | undefined;
|
|
685
|
+
sku: {
|
|
686
|
+
trackingMeasurement?: string | null | undefined;
|
|
687
|
+
isInactive?: boolean | null | undefined;
|
|
688
|
+
convert?: {
|
|
689
|
+
measurement?: string | null | undefined;
|
|
690
|
+
inventoryBindings?: {
|
|
691
|
+
measurement?: {
|
|
692
|
+
name: string;
|
|
693
|
+
id: string;
|
|
694
|
+
abbrev: string;
|
|
695
|
+
conversion: {
|
|
696
|
+
amount: number;
|
|
697
|
+
precision: number;
|
|
698
|
+
};
|
|
699
|
+
} | null | undefined;
|
|
700
|
+
rules?: Record<string, any> | null | undefined;
|
|
701
|
+
alternatives?: {
|
|
702
|
+
default?: boolean | null | undefined;
|
|
703
|
+
trackingMeasurement?: string | null | undefined;
|
|
704
|
+
priority?: number | null | undefined;
|
|
705
|
+
_id: string;
|
|
706
|
+
}[] | null | undefined;
|
|
707
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
708
|
+
amount: {
|
|
709
|
+
amount: number;
|
|
710
|
+
precision: number;
|
|
711
|
+
};
|
|
712
|
+
id: string;
|
|
713
|
+
}[] | null | undefined;
|
|
714
|
+
} | null | undefined;
|
|
715
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
716
|
+
defaultCost?: {
|
|
717
|
+
measurement?: {
|
|
718
|
+
name: string;
|
|
719
|
+
id: string;
|
|
720
|
+
abbrev: string;
|
|
721
|
+
conversion: {
|
|
722
|
+
amount: number;
|
|
723
|
+
precision: number;
|
|
724
|
+
};
|
|
725
|
+
} | null | undefined;
|
|
726
|
+
costPerUnit: {
|
|
727
|
+
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";
|
|
728
|
+
amount: number;
|
|
729
|
+
precision: number;
|
|
730
|
+
};
|
|
731
|
+
} | null | undefined;
|
|
732
|
+
operationalGroup?: string | null | undefined;
|
|
733
|
+
thresholds?: {
|
|
734
|
+
low: number;
|
|
735
|
+
mid: number;
|
|
736
|
+
} | null | undefined;
|
|
737
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
738
|
+
unit: {
|
|
739
|
+
_id: string;
|
|
740
|
+
name: string;
|
|
741
|
+
abbrev: string;
|
|
742
|
+
precision: number;
|
|
743
|
+
measurements: {
|
|
744
|
+
name: string;
|
|
745
|
+
id: string;
|
|
746
|
+
abbrev: string;
|
|
747
|
+
conversion: {
|
|
748
|
+
amount: number;
|
|
749
|
+
precision: number;
|
|
750
|
+
};
|
|
751
|
+
}[];
|
|
752
|
+
};
|
|
753
|
+
code: string;
|
|
754
|
+
_id: string;
|
|
755
|
+
name: string;
|
|
756
|
+
};
|
|
757
|
+
code: string;
|
|
758
|
+
name: string;
|
|
759
|
+
quantity: {
|
|
760
|
+
amount: number;
|
|
761
|
+
precision: number;
|
|
762
|
+
};
|
|
763
|
+
}[];
|
|
764
|
+
seqNumber: number;
|
|
765
765
|
}>>;
|