@feedmepos/mf-inventory-portal 0.0.25-dev.9 → 0.0.26-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/{App-9zSE_swt.js → App-CipfIdtR.js} +71 -72
  2. package/dist/ApprovalView-IC33yBg7.js +143 -0
  3. package/dist/{BindingsDialog-eGbOIQkw.js → BindingsDialog-EN6Kbnu7.js} +2 -2
  4. package/dist/{BindingsPicker-CVXrd29s.js → BindingsPicker-DQ_LEoqq.js} +3 -3
  5. package/dist/BindingsTable-DGXpAyM4.js +120 -0
  6. package/dist/ClosingDraftView-DR9xsW9I.js +1348 -0
  7. package/dist/ClosingTemplateView-CC1T7ovX.js +1804 -0
  8. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C9un0wCK.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CovzlB-s.js} +43 -43
  9. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BRSABJnM.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BxEtsFXp.js} +29 -29
  10. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeRvrF7O.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-B8H6vFJ5.js} +1 -1
  11. package/dist/{IngredientGroupView-ZWCOAljO.js → IngredientGroupView-DRPbXH8d.js} +24 -24
  12. package/dist/IngredientsView-DSHcH30X.js +1731 -0
  13. package/dist/{IntegrationView-DO3Ambro.js → IntegrationView-BgACk-jP.js} +605 -669
  14. package/dist/{InventoryBindingForm-BjtFP29c.js → InventoryBindingForm-Fs-CHoT-.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CFMZ4VsK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVHQjAEC.js} +63 -63
  16. package/dist/{InventoryBindingSummary-C6DkVX-B.js → InventoryBindingSummary-CHWMtGtk.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-nb1t6u2V.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cu9V-8Cf.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BcMAXo4F.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CyVRCAqv.js} +12 -12
  19. package/dist/PublishView-CI7o5a0F.js +222 -0
  20. package/dist/{PurchaseOrderPrintPreview-_MCAsdw9.js → PurchaseOrderPrintPreview-CO4a811o.js} +1 -1
  21. package/dist/ReceiveRequestView-KH5wY5BA.js +2562 -0
  22. package/dist/{RecipeView-dmmjklwh.js → RecipeView-DxVbUxOG.js} +47 -47
  23. package/dist/StockView-CiHPAaYh.js +1840 -0
  24. package/dist/{SupplierView-CO5460uC.js → SupplierView-DPj87kld.js} +448 -461
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CfPPCFh8.js +1566 -0
  26. package/dist/TransferTemplateView-3W29v8hd.js +1420 -0
  27. package/dist/{UnitView-DbYzxCXF.js → UnitView-WCtNQFf8.js} +23 -23
  28. package/dist/{WarehouseView-BII4SEVC.js → WarehouseView-tgFFbQY7.js} +40 -40
  29. package/dist/api/bill.d.ts +12 -2
  30. package/dist/api/closing-draft.d.ts +1 -0
  31. package/dist/api/inventory.d.ts +8 -7
  32. package/dist/api/netsuite.d.ts +22 -5
  33. package/dist/api/purchase-order.d.ts +6 -1
  34. package/dist/api/stock.d.ts +1 -0
  35. package/dist/{app-IM1yJnE8.js → app-Ba80HxT3.js} +38448 -34777
  36. package/dist/app.d.ts +965 -120
  37. package/dist/app.js +1 -1
  38. package/dist/components/FmDroppableField.vue.d.ts +1 -1
  39. package/dist/components/FmMultiselectDialog.d.ts +23 -0
  40. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  41. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  42. package/dist/{decimal-DQUpCN-B.js → decimal-DFqusYHB.js} +1 -1
  43. package/dist/{format-unit-display-COuIZISg.js → format-unit-display-Bsod5Ra6.js} +232 -238
  44. package/dist/helper/country.d.ts +1 -0
  45. package/dist/helper/fuzzy.d.ts +1 -1
  46. package/dist/helper/number.d.ts +1 -1
  47. package/dist/index-0ekVGPtB.js +12197 -0
  48. package/dist/index-ZAEVHtfa.js +84 -0
  49. package/dist/{stock-BJUTiXXk.js → stock-Cn6EQvTz.js} +29 -25
  50. package/dist/stores/feature.d.ts +11 -6
  51. package/dist/stores/helper/generate-backend-urls.d.ts +0 -1
  52. package/dist/stores/integration/index.d.ts +2 -0
  53. package/dist/stores/integration/netsuite.d.ts +22 -5
  54. package/dist/stores/inventory.d.ts +141 -8
  55. package/dist/stores/location.d.ts +0 -9
  56. package/dist/stores/stock.d.ts +5 -0
  57. package/dist/stores/warehouse.d.ts +4 -7
  58. package/dist/style.css +1 -1
  59. package/dist/{supplier-CM-qQVyI.js → supplier-P1gi71dg.js} +4 -4
  60. package/dist/tsconfig.app.tsbuildinfo +1 -1
  61. package/dist/{use-ingredient-select-dialog-Cn79xFNg.js → use-ingredient-select-dialog-BW5imbB5.js} +1 -1
  62. package/dist/{use-inventory-binding-dialog-zwOG19YV.js → use-inventory-binding-dialog-BYxb8nXg.js} +1 -1
  63. package/dist/views/adjustment-template/wastage-template/actions.d.ts +0 -24
  64. package/dist/views/adjustment-template/wastage-template/table.d.ts +0 -24
  65. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +92 -8
  66. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
  67. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +552 -48
  68. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +1 -1
  69. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  70. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -36
  71. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -36
  72. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
  73. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  74. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  75. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
  76. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +4 -1
  77. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -0
  78. package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
  79. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +529 -489
  80. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +8 -4
  81. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +382 -2
  82. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -2
  83. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1238 -972
  84. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1080 -1003
  85. package/dist/views/receive-request/import/XilnexImportDialog.vue.d.ts +22 -0
  86. package/dist/views/receive-request/import/XilnexImportForm.vue.d.ts +17 -0
  87. package/dist/views/receive-request/import/XilnexResult.vue.d.ts +17 -0
  88. package/dist/views/receive-request/import/export.d.ts +14 -0
  89. package/dist/views/receive-request/import/props.d.ts +7 -0
  90. package/dist/views/stock/components/StockRecordCard.vue.d.ts +6 -1
  91. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +6 -4
  92. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +220 -0
  93. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +0 -8
  94. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +0 -1
  95. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +7 -2
  96. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +530 -530
  97. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +530 -530
  98. package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +305 -0
  99. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
  100. package/dist/vue-i18n-CjtRsQMl.js +2365 -0
  101. package/package.json +7 -7
  102. package/dist/ApprovalView-C2tg-wsm.js +0 -138
  103. package/dist/BindingsTable-CCsQEFnu.js +0 -145
  104. package/dist/ClosingDraftView-BI8b3CJ9.js +0 -1225
  105. package/dist/ClosingTemplateView-miJnC-ML.js +0 -1859
  106. package/dist/IngredientsView-5-pSX6y_.js +0 -1718
  107. package/dist/PublishView-DOMQdIJ7.js +0 -192
  108. package/dist/ReceiveRequestView-902hWGtz.js +0 -1877
  109. package/dist/StockView-C4lEYLXU.js +0 -7847
  110. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D6sZDCEY.js +0 -1328
  111. package/dist/TransferTemplateView-C9UwNTnY.js +0 -1371
  112. package/dist/components/FmAutocompleteTextField.vue.d.ts +0 -31
  113. package/dist/feature-DMBVVBsQ.js +0 -1005
  114. package/dist/index-CIrsMt6f.js +0 -35546
  115. package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +0 -2
  116. package/dist/vue-i18n-CzPFJ9JY.js +0 -2365
@@ -1,14 +1,23 @@
1
+ import { type WithToInventoryLocation } from '@/api/purchase-order';
1
2
  import type { DateRange } from 'node_modules/@feedmepos/ui-library/dist/components/form/calendar/date-range-picker/common';
2
3
  import type { TransferDialogProps } from '../components/transfer-dialog/TransferDialogProps';
3
4
  import type { TransferDetailsProps } from '../components/transfer-details/TransferDetailsProps';
4
5
  import { F_PURCHASE_ORDER_ACTION } from '@feedmepos/zod-inventory';
5
- export declare function useReceiveRequestForm(scope: 'receive/request' | 'approval', initialDateRange?: Partial<DateRange>): {
6
+ import type { XilnexImportDialogProps } from '../import/props';
7
+ import type { RevisionIdMeta } from '@feedmepos/inventory-core';
8
+ export declare enum PO_SCOPE {
9
+ RECEIVE_REQUEST = "receive/request",
10
+ APPROVAL = "approval"
11
+ }
12
+ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?: Partial<DateRange>): {
6
13
  purchaseOrders: import("vue").Ref<{
7
14
  remark?: string | null | undefined;
8
15
  ref?: string | null | undefined;
9
16
  _rev?: string | null | undefined;
17
+ effectiveAt?: string | null | undefined;
10
18
  netSuite?: {
11
19
  refNo?: string | null | undefined;
20
+ recordType?: string | null | undefined;
12
21
  sync?: boolean | null | undefined;
13
22
  subsidiary?: {
14
23
  name?: string | null | undefined;
@@ -26,6 +35,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
26
35
  additionalInfo?: any;
27
36
  id: string | null;
28
37
  } | null | undefined;
38
+ version?: "1" | "2" | null | undefined;
29
39
  template?: string | null | undefined;
30
40
  templateDoc?: {
31
41
  _rev?: string | null | undefined;
@@ -39,7 +49,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
39
49
  acceptRequest: boolean;
40
50
  dbName: string;
41
51
  doc: {
42
- customAttributes?: Record<string, any> | null | undefined;
43
52
  _id: string;
44
53
  businessId: string;
45
54
  profile: {
@@ -121,12 +130,46 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
121
130
  };
122
131
  };
123
132
  }[] | null | undefined;
124
- locationTags?: string[] | null | undefined;
125
- _id: string;
126
- name: string;
127
133
  purchaseOrder: {
128
134
  remark?: string | null | undefined;
129
135
  ref?: string | null | undefined;
136
+ supplier: {
137
+ phoneNumber?: string | null | undefined;
138
+ email?: string | null | undefined;
139
+ _rev?: string | null | undefined;
140
+ internal?: "restaurant" | "warehouse" | null | undefined;
141
+ contactName?: string | null | undefined;
142
+ registrationNumber?: string | undefined;
143
+ supplyItems?: {
144
+ defaultCost: {
145
+ measurement?: {
146
+ id: string;
147
+ name: string;
148
+ abbrev: string;
149
+ conversion: {
150
+ amount: number;
151
+ precision: number;
152
+ };
153
+ } | null | undefined;
154
+ costPerUnit: {
155
+ 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";
156
+ amount: number;
157
+ precision: number;
158
+ };
159
+ };
160
+ skuId: string;
161
+ }[] | null | undefined;
162
+ _id: string;
163
+ name: string;
164
+ address: {
165
+ line2?: string | null | undefined;
166
+ line1: string;
167
+ state: string;
168
+ city: string;
169
+ postcode: string;
170
+ country: string;
171
+ };
172
+ };
130
173
  items: {
131
174
  measurement?: {
132
175
  id: string;
@@ -137,6 +180,8 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
137
180
  precision: number;
138
181
  };
139
182
  } | null | undefined;
183
+ id?: string | null | undefined;
184
+ externalId?: string | null | undefined;
140
185
  totalCost?: {
141
186
  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";
142
187
  amount: number;
@@ -151,7 +196,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
151
196
  precision: number;
152
197
  } | null | undefined;
153
198
  sku: {
154
- customAttributes?: Record<string, any> | null | undefined;
155
199
  trackingMeasurement?: string | null | undefined;
156
200
  convert?: {
157
201
  measurement?: string | null | undefined;
@@ -195,6 +239,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
195
239
  low: number;
196
240
  mid: number;
197
241
  } | null | undefined;
242
+ customAttributes?: Record<string, any> | null | undefined;
198
243
  unit: {
199
244
  _id: string;
200
245
  name: string;
@@ -215,67 +260,32 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
215
260
  name: string;
216
261
  };
217
262
  code: string;
218
- name: string;
219
263
  quantity: {
220
264
  amount: number;
221
265
  precision: number;
222
266
  };
267
+ name: string;
223
268
  quantityStep: {
224
269
  amount: number;
225
270
  precision: number;
226
271
  };
227
272
  }[];
228
- supplier: {
229
- phoneNumber?: string | null | undefined;
230
- email?: string | null | undefined;
231
- _rev?: string | null | undefined;
232
- internal?: "restaurant" | "warehouse" | null | undefined;
233
- contactName?: string | null | undefined;
234
- registrationNumber?: string | undefined;
235
- supplyItems?: {
236
- defaultCost: {
237
- measurement?: {
238
- id: string;
239
- name: string;
240
- abbrev: string;
241
- conversion: {
242
- amount: number;
243
- precision: number;
244
- };
245
- } | null | undefined;
246
- costPerUnit: {
247
- 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";
248
- amount: number;
249
- precision: number;
250
- };
251
- };
252
- skuId: string;
253
- }[] | null | undefined;
254
- _id: string;
255
- name: string;
256
- address: {
257
- line2?: string | null | undefined;
258
- line1: string;
259
- state: string;
260
- city: string;
261
- postcode: string;
262
- country: string;
263
- };
264
- };
265
273
  };
274
+ _id: string;
275
+ name: string;
266
276
  } | null | undefined;
267
277
  request?: {
268
278
  id: string;
269
279
  adjustmentIds: string[];
270
280
  } | null | undefined;
271
281
  stockSnapshotId?: string | null | undefined;
272
- effectiveAt?: string | null | undefined;
273
282
  deliveryFullfillment?: {
274
283
  remark?: string | null | undefined;
275
284
  adjustment?: string | null | undefined;
276
285
  netSuite?: {
277
286
  refNo?: string | null | undefined;
278
- id: string;
287
+ recordType?: string | null | undefined;
288
+ id: string | null;
279
289
  } | null | undefined;
280
290
  items: {
281
291
  cost?: {
@@ -292,8 +302,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
292
302
  precision: number;
293
303
  };
294
304
  } | null | undefined;
305
+ id?: string | null | undefined;
306
+ externalId?: string | null | undefined;
295
307
  sku: {
296
- customAttributes?: Record<string, any> | null | undefined;
297
308
  trackingMeasurement?: string | null | undefined;
298
309
  convert?: {
299
310
  measurement?: string | null | undefined;
@@ -337,6 +348,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
337
348
  low: number;
338
349
  mid: number;
339
350
  } | null | undefined;
351
+ customAttributes?: Record<string, any> | null | undefined;
340
352
  unit: {
341
353
  _id: string;
342
354
  name: string;
@@ -364,95 +376,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
364
376
  id: string;
365
377
  createdAt: string;
366
378
  }[] | null | undefined;
367
- status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
368
- _id: string;
369
- seqNumber: number;
370
- items: {
371
- measurement?: {
372
- id: string;
373
- name: string;
374
- abbrev: string;
375
- conversion: {
376
- amount: number;
377
- precision: number;
378
- };
379
- } | null | undefined;
380
- totalCost?: {
381
- 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";
382
- amount: number;
383
- precision: number;
384
- } | null | undefined;
385
- sku: {
386
- customAttributes?: Record<string, any> | null | undefined;
387
- trackingMeasurement?: string | null | undefined;
388
- convert?: {
389
- measurement?: string | null | undefined;
390
- inventoryBindings?: {
391
- measurement?: {
392
- id: string;
393
- name: string;
394
- abbrev: string;
395
- conversion: {
396
- amount: number;
397
- precision: number;
398
- };
399
- } | null | undefined;
400
- type: "RECIPE" | "SKU" | "SKU_GROUP";
401
- amount: {
402
- amount: number;
403
- precision: number;
404
- };
405
- id: string;
406
- }[] | null | undefined;
407
- } | null | undefined;
408
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
409
- defaultCost?: {
410
- measurement?: {
411
- id: string;
412
- name: string;
413
- abbrev: string;
414
- conversion: {
415
- amount: number;
416
- precision: number;
417
- };
418
- } | null | undefined;
419
- costPerUnit: {
420
- 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";
421
- amount: number;
422
- precision: number;
423
- };
424
- } | null | undefined;
425
- operationalGroup?: string | null | undefined;
426
- thresholds?: {
427
- low: number;
428
- mid: number;
429
- } | null | undefined;
430
- unit: {
431
- _id: string;
432
- name: string;
433
- abbrev: string;
434
- precision: number;
435
- measurements: {
436
- id: string;
437
- name: string;
438
- abbrev: string;
439
- conversion: {
440
- amount: number;
441
- precision: number;
442
- };
443
- }[];
444
- };
445
- code: string;
446
- _id: string;
447
- name: string;
448
- };
449
- code: string;
450
- name: string;
451
- quantity: {
452
- amount: number;
453
- precision: number;
454
- };
455
- }[];
379
+ status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
456
380
  supplier: {
457
381
  phoneNumber?: string | null | undefined;
458
382
  email?: string | null | undefined;
@@ -492,11 +416,14 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
492
416
  };
493
417
  deliveryOrder: {
494
418
  remark?: string | null | undefined;
419
+ id?: string | null | undefined;
495
420
  adjustment?: string | null | undefined;
421
+ effectiveAt?: string | null | undefined;
496
422
  fullfillmentId?: string | null | undefined;
497
423
  netSuite?: {
498
424
  refNo?: string | null | undefined;
499
- id: string;
425
+ recordType?: string | null | undefined;
426
+ id: string | null;
500
427
  } | null | undefined;
501
428
  received: {
502
429
  cost?: {
@@ -513,8 +440,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
513
440
  precision: number;
514
441
  };
515
442
  } | null | undefined;
443
+ id?: string | null | undefined;
444
+ externalId?: string | null | undefined;
516
445
  sku: {
517
- customAttributes?: Record<string, any> | null | undefined;
518
446
  trackingMeasurement?: string | null | undefined;
519
447
  convert?: {
520
448
  measurement?: string | null | undefined;
@@ -558,6 +486,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
558
486
  low: number;
559
487
  mid: number;
560
488
  } | null | undefined;
489
+ customAttributes?: Record<string, any> | null | undefined;
561
490
  unit: {
562
491
  _id: string;
563
492
  name: string;
@@ -589,47 +518,139 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
589
518
  createdAt: string;
590
519
  deliveryOrderNumber: string;
591
520
  }[];
592
- }[], {
593
- remark?: string | null | undefined;
594
- ref?: string | null | undefined;
595
- _rev?: string | null | undefined;
596
- netSuite?: {
597
- refNo?: string | null | undefined;
598
- sync?: boolean | null | undefined;
599
- subsidiary?: {
600
- name?: string | null | undefined;
521
+ _id: string;
522
+ seqNumber: number;
523
+ items: {
524
+ measurement?: {
601
525
  id: string;
602
- } | null | undefined;
603
- errors?: {
604
- message: string;
605
- createdAt: string;
606
- }[] | null | undefined;
607
- missingItems?: {
608
526
  name: string;
609
- reason: string;
610
- netSuiteId: string;
611
- }[] | null | undefined;
612
- additionalInfo?: any;
613
- id: string | null;
614
- } | null | undefined;
615
- template?: string | null | undefined;
616
- templateDoc?: {
617
- _rev?: string | null | undefined;
618
- locations?: {
619
- inventory?: {
620
- _id: string;
621
- updatedAt: string;
527
+ abbrev: string;
528
+ conversion: {
529
+ amount: number;
530
+ precision: number;
531
+ };
532
+ } | null | undefined;
533
+ id?: string | null | undefined;
534
+ externalId?: string | null | undefined;
535
+ totalCost?: {
536
+ 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";
537
+ amount: number;
538
+ precision: number;
539
+ } | null | undefined;
540
+ sku: {
541
+ trackingMeasurement?: string | 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
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
555
+ amount: {
556
+ amount: number;
557
+ precision: number;
558
+ };
559
+ id: string;
560
+ }[] | null | undefined;
622
561
  } | null | undefined;
623
- type: "restaurant" | "warehouse";
624
- name: string;
625
- acceptRequest: boolean;
626
- dbName: string;
627
- doc: {
628
- customAttributes?: Record<string, any> | null | undefined;
629
- _id: string;
630
- businessId: string;
631
- profile: {
632
- code?: string | null | undefined;
562
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
563
+ defaultCost?: {
564
+ measurement?: {
565
+ id: string;
566
+ name: string;
567
+ abbrev: string;
568
+ conversion: {
569
+ amount: number;
570
+ precision: number;
571
+ };
572
+ } | null | undefined;
573
+ costPerUnit: {
574
+ 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";
575
+ amount: number;
576
+ precision: number;
577
+ };
578
+ } | null | undefined;
579
+ operationalGroup?: string | null | undefined;
580
+ thresholds?: {
581
+ low: number;
582
+ mid: number;
583
+ } | null | undefined;
584
+ customAttributes?: Record<string, any> | null | undefined;
585
+ unit: {
586
+ _id: string;
587
+ name: string;
588
+ abbrev: string;
589
+ precision: number;
590
+ measurements: {
591
+ id: string;
592
+ name: string;
593
+ abbrev: string;
594
+ conversion: {
595
+ amount: number;
596
+ precision: number;
597
+ };
598
+ }[];
599
+ };
600
+ code: string;
601
+ _id: string;
602
+ name: string;
603
+ };
604
+ code: string;
605
+ quantity: {
606
+ amount: number;
607
+ precision: number;
608
+ };
609
+ name: string;
610
+ }[];
611
+ }[], {
612
+ remark?: string | null | undefined;
613
+ ref?: string | null | undefined;
614
+ _rev?: string | null | undefined;
615
+ effectiveAt?: string | null | undefined;
616
+ netSuite?: {
617
+ refNo?: string | null | undefined;
618
+ recordType?: string | null | undefined;
619
+ sync?: boolean | null | undefined;
620
+ subsidiary?: {
621
+ name?: string | null | undefined;
622
+ id: string;
623
+ } | null | undefined;
624
+ errors?: {
625
+ message: string;
626
+ createdAt: string;
627
+ }[] | null | undefined;
628
+ missingItems?: {
629
+ name: string;
630
+ reason: string;
631
+ netSuiteId: string;
632
+ }[] | null | undefined;
633
+ additionalInfo?: any;
634
+ id: string | null;
635
+ } | null | undefined;
636
+ version?: "1" | "2" | null | undefined;
637
+ template?: string | null | undefined;
638
+ templateDoc?: {
639
+ _rev?: string | null | undefined;
640
+ locations?: {
641
+ inventory?: {
642
+ _id: string;
643
+ updatedAt: string;
644
+ } | null | undefined;
645
+ type: "restaurant" | "warehouse";
646
+ name: string;
647
+ acceptRequest: boolean;
648
+ dbName: string;
649
+ doc: {
650
+ _id: string;
651
+ businessId: string;
652
+ profile: {
653
+ code?: string | null | undefined;
633
654
  _id?: string | null | undefined;
634
655
  name?: string | undefined;
635
656
  address?: {
@@ -707,12 +728,46 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
707
728
  };
708
729
  };
709
730
  }[] | null | undefined;
710
- locationTags?: string[] | null | undefined;
711
- _id: string;
712
- name: string;
713
731
  purchaseOrder: {
714
732
  remark?: string | null | undefined;
715
733
  ref?: string | null | undefined;
734
+ supplier: {
735
+ phoneNumber?: string | null | undefined;
736
+ email?: string | null | undefined;
737
+ _rev?: string | null | undefined;
738
+ internal?: "restaurant" | "warehouse" | null | undefined;
739
+ contactName?: string | null | undefined;
740
+ registrationNumber?: string | undefined;
741
+ supplyItems?: {
742
+ defaultCost: {
743
+ measurement?: {
744
+ id: string;
745
+ name: string;
746
+ abbrev: string;
747
+ conversion: {
748
+ amount: number;
749
+ precision: number;
750
+ };
751
+ } | null | undefined;
752
+ costPerUnit: {
753
+ 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";
754
+ amount: number;
755
+ precision: number;
756
+ };
757
+ };
758
+ skuId: string;
759
+ }[] | null | undefined;
760
+ _id: string;
761
+ name: string;
762
+ address: {
763
+ line2?: string | null | undefined;
764
+ line1: string;
765
+ state: string;
766
+ city: string;
767
+ postcode: string;
768
+ country: string;
769
+ };
770
+ };
716
771
  items: {
717
772
  measurement?: {
718
773
  id: string;
@@ -723,6 +778,8 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
723
778
  precision: number;
724
779
  };
725
780
  } | null | undefined;
781
+ id?: string | null | undefined;
782
+ externalId?: string | null | undefined;
726
783
  totalCost?: {
727
784
  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
785
  amount: number;
@@ -737,7 +794,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
737
794
  precision: number;
738
795
  } | null | undefined;
739
796
  sku: {
740
- customAttributes?: Record<string, any> | null | undefined;
741
797
  trackingMeasurement?: string | null | undefined;
742
798
  convert?: {
743
799
  measurement?: string | null | undefined;
@@ -781,6 +837,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
781
837
  low: number;
782
838
  mid: number;
783
839
  } | null | undefined;
840
+ customAttributes?: Record<string, any> | null | undefined;
784
841
  unit: {
785
842
  _id: string;
786
843
  name: string;
@@ -801,67 +858,32 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
801
858
  name: string;
802
859
  };
803
860
  code: string;
804
- name: string;
805
861
  quantity: {
806
862
  amount: number;
807
863
  precision: number;
808
864
  };
865
+ name: string;
809
866
  quantityStep: {
810
867
  amount: number;
811
868
  precision: number;
812
869
  };
813
870
  }[];
814
- supplier: {
815
- phoneNumber?: string | null | undefined;
816
- email?: string | null | undefined;
817
- _rev?: string | null | undefined;
818
- internal?: "restaurant" | "warehouse" | null | undefined;
819
- contactName?: string | null | undefined;
820
- registrationNumber?: string | undefined;
821
- supplyItems?: {
822
- defaultCost: {
823
- measurement?: {
824
- id: string;
825
- name: string;
826
- abbrev: string;
827
- conversion: {
828
- amount: number;
829
- precision: number;
830
- };
831
- } | null | undefined;
832
- costPerUnit: {
833
- 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";
834
- amount: number;
835
- precision: number;
836
- };
837
- };
838
- skuId: string;
839
- }[] | null | undefined;
840
- _id: string;
841
- name: string;
842
- address: {
843
- line2?: string | null | undefined;
844
- line1: string;
845
- state: string;
846
- city: string;
847
- postcode: string;
848
- country: string;
849
- };
850
- };
851
871
  };
872
+ _id: string;
873
+ name: string;
852
874
  } | null | undefined;
853
875
  request?: {
854
876
  id: string;
855
877
  adjustmentIds: string[];
856
878
  } | null | undefined;
857
879
  stockSnapshotId?: string | null | undefined;
858
- effectiveAt?: string | null | undefined;
859
880
  deliveryFullfillment?: {
860
881
  remark?: string | null | undefined;
861
882
  adjustment?: string | null | undefined;
862
883
  netSuite?: {
863
884
  refNo?: string | null | undefined;
864
- id: string;
885
+ recordType?: string | null | undefined;
886
+ id: string | null;
865
887
  } | null | undefined;
866
888
  items: {
867
889
  cost?: {
@@ -878,8 +900,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
878
900
  precision: number;
879
901
  };
880
902
  } | null | undefined;
903
+ id?: string | null | undefined;
904
+ externalId?: string | null | undefined;
881
905
  sku: {
882
- customAttributes?: Record<string, any> | null | undefined;
883
906
  trackingMeasurement?: string | null | undefined;
884
907
  convert?: {
885
908
  measurement?: string | null | undefined;
@@ -923,6 +946,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
923
946
  low: number;
924
947
  mid: number;
925
948
  } | null | undefined;
949
+ customAttributes?: Record<string, any> | null | undefined;
926
950
  unit: {
927
951
  _id: string;
928
952
  name: string;
@@ -950,49 +974,16 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
950
974
  id: string;
951
975
  createdAt: string;
952
976
  }[] | null | undefined;
953
- status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
954
- _id: string;
955
- seqNumber: number;
956
- items: {
957
- measurement?: {
958
- id: string;
959
- name: string;
960
- abbrev: string;
961
- conversion: {
962
- amount: number;
963
- precision: number;
964
- };
965
- } | null | undefined;
966
- totalCost?: {
967
- 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";
968
- amount: number;
969
- precision: number;
970
- } | null | undefined;
971
- sku: {
972
- customAttributes?: Record<string, any> | null | undefined;
973
- trackingMeasurement?: string | null | undefined;
974
- convert?: {
975
- measurement?: string | null | undefined;
976
- inventoryBindings?: {
977
- measurement?: {
978
- id: string;
979
- name: string;
980
- abbrev: string;
981
- conversion: {
982
- amount: number;
983
- precision: number;
984
- };
985
- } | null | undefined;
986
- type: "RECIPE" | "SKU" | "SKU_GROUP";
987
- amount: {
988
- amount: number;
989
- precision: number;
990
- };
991
- id: string;
992
- }[] | null | undefined;
993
- } | null | undefined;
994
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
995
- defaultCost?: {
977
+ status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
978
+ supplier: {
979
+ phoneNumber?: string | null | undefined;
980
+ email?: string | null | undefined;
981
+ _rev?: string | null | undefined;
982
+ internal?: "restaurant" | "warehouse" | null | undefined;
983
+ contactName?: string | null | undefined;
984
+ registrationNumber?: string | undefined;
985
+ supplyItems?: {
986
+ defaultCost: {
996
987
  measurement?: {
997
988
  id: string;
998
989
  name: string;
@@ -1007,65 +998,10 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1007
998
  amount: number;
1008
999
  precision: number;
1009
1000
  };
1010
- } | null | undefined;
1011
- operationalGroup?: string | null | undefined;
1012
- thresholds?: {
1013
- low: number;
1014
- mid: number;
1015
- } | null | undefined;
1016
- unit: {
1017
- _id: string;
1018
- name: string;
1019
- abbrev: string;
1020
- precision: number;
1021
- measurements: {
1022
- id: string;
1023
- name: string;
1024
- abbrev: string;
1025
- conversion: {
1026
- amount: number;
1027
- precision: number;
1028
- };
1029
- }[];
1030
1001
  };
1031
- code: string;
1032
- _id: string;
1033
- name: string;
1034
- };
1035
- code: string;
1036
- name: string;
1037
- quantity: {
1038
- amount: number;
1039
- precision: number;
1040
- };
1041
- }[];
1042
- supplier: {
1043
- phoneNumber?: string | null | undefined;
1044
- email?: string | null | undefined;
1045
- _rev?: string | null | undefined;
1046
- internal?: "restaurant" | "warehouse" | null | undefined;
1047
- contactName?: string | null | undefined;
1048
- registrationNumber?: string | undefined;
1049
- supplyItems?: {
1050
- defaultCost: {
1051
- measurement?: {
1052
- id: string;
1053
- name: string;
1054
- abbrev: string;
1055
- conversion: {
1056
- amount: number;
1057
- precision: number;
1058
- };
1059
- } | null | undefined;
1060
- costPerUnit: {
1061
- 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";
1062
- amount: number;
1063
- precision: number;
1064
- };
1065
- };
1066
- skuId: string;
1067
- }[] | null | undefined;
1068
- _id: string;
1002
+ skuId: string;
1003
+ }[] | null | undefined;
1004
+ _id: string;
1069
1005
  name: string;
1070
1006
  address: {
1071
1007
  line2?: string | null | undefined;
@@ -1078,11 +1014,14 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1078
1014
  };
1079
1015
  deliveryOrder: {
1080
1016
  remark?: string | null | undefined;
1017
+ id?: string | null | undefined;
1081
1018
  adjustment?: string | null | undefined;
1019
+ effectiveAt?: string | null | undefined;
1082
1020
  fullfillmentId?: string | null | undefined;
1083
1021
  netSuite?: {
1084
1022
  refNo?: string | null | undefined;
1085
- id: string;
1023
+ recordType?: string | null | undefined;
1024
+ id: string | null;
1086
1025
  } | null | undefined;
1087
1026
  received: {
1088
1027
  cost?: {
@@ -1099,8 +1038,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1099
1038
  precision: number;
1100
1039
  };
1101
1040
  } | null | undefined;
1041
+ id?: string | null | undefined;
1042
+ externalId?: string | null | undefined;
1102
1043
  sku: {
1103
- customAttributes?: Record<string, any> | null | undefined;
1104
1044
  trackingMeasurement?: string | null | undefined;
1105
1045
  convert?: {
1106
1046
  measurement?: string | null | undefined;
@@ -1144,6 +1084,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1144
1084
  low: number;
1145
1085
  mid: number;
1146
1086
  } | null | undefined;
1087
+ customAttributes?: Record<string, any> | null | undefined;
1147
1088
  unit: {
1148
1089
  _id: string;
1149
1090
  name: string;
@@ -1175,12 +1116,104 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1175
1116
  createdAt: string;
1176
1117
  deliveryOrderNumber: string;
1177
1118
  }[];
1119
+ _id: string;
1120
+ seqNumber: number;
1121
+ items: {
1122
+ measurement?: {
1123
+ id: string;
1124
+ name: string;
1125
+ abbrev: string;
1126
+ conversion: {
1127
+ amount: number;
1128
+ precision: number;
1129
+ };
1130
+ } | null | undefined;
1131
+ id?: string | null | undefined;
1132
+ externalId?: string | null | undefined;
1133
+ totalCost?: {
1134
+ 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";
1135
+ amount: number;
1136
+ precision: number;
1137
+ } | null | undefined;
1138
+ sku: {
1139
+ trackingMeasurement?: string | null | undefined;
1140
+ convert?: {
1141
+ measurement?: string | null | undefined;
1142
+ inventoryBindings?: {
1143
+ measurement?: {
1144
+ id: string;
1145
+ name: string;
1146
+ abbrev: string;
1147
+ conversion: {
1148
+ amount: number;
1149
+ precision: number;
1150
+ };
1151
+ } | null | undefined;
1152
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1153
+ amount: {
1154
+ amount: number;
1155
+ precision: number;
1156
+ };
1157
+ id: string;
1158
+ }[] | null | undefined;
1159
+ } | null | undefined;
1160
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1161
+ defaultCost?: {
1162
+ measurement?: {
1163
+ id: string;
1164
+ name: string;
1165
+ abbrev: string;
1166
+ conversion: {
1167
+ amount: number;
1168
+ precision: number;
1169
+ };
1170
+ } | null | undefined;
1171
+ costPerUnit: {
1172
+ 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";
1173
+ amount: number;
1174
+ precision: number;
1175
+ };
1176
+ } | null | undefined;
1177
+ operationalGroup?: string | null | undefined;
1178
+ thresholds?: {
1179
+ low: number;
1180
+ mid: number;
1181
+ } | null | undefined;
1182
+ customAttributes?: Record<string, any> | null | undefined;
1183
+ unit: {
1184
+ _id: string;
1185
+ name: string;
1186
+ abbrev: string;
1187
+ precision: number;
1188
+ measurements: {
1189
+ id: string;
1190
+ name: string;
1191
+ abbrev: string;
1192
+ conversion: {
1193
+ amount: number;
1194
+ precision: number;
1195
+ };
1196
+ }[];
1197
+ };
1198
+ code: string;
1199
+ _id: string;
1200
+ name: string;
1201
+ };
1202
+ code: string;
1203
+ quantity: {
1204
+ amount: number;
1205
+ precision: number;
1206
+ };
1207
+ name: string;
1208
+ }[];
1178
1209
  }[] | {
1179
1210
  remark?: string | null | undefined;
1180
1211
  ref?: string | null | undefined;
1181
1212
  _rev?: string | null | undefined;
1213
+ effectiveAt?: string | null | undefined;
1182
1214
  netSuite?: {
1183
1215
  refNo?: string | null | undefined;
1216
+ recordType?: string | null | undefined;
1184
1217
  sync?: boolean | null | undefined;
1185
1218
  subsidiary?: {
1186
1219
  name?: string | null | undefined;
@@ -1198,6 +1231,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1198
1231
  additionalInfo?: any;
1199
1232
  id: string | null;
1200
1233
  } | null | undefined;
1234
+ version?: "1" | "2" | null | undefined;
1201
1235
  template?: string | null | undefined;
1202
1236
  templateDoc?: {
1203
1237
  _rev?: string | null | undefined;
@@ -1211,7 +1245,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1211
1245
  acceptRequest: boolean;
1212
1246
  dbName: string;
1213
1247
  doc: {
1214
- customAttributes?: Record<string, any> | null | undefined;
1215
1248
  _id: string;
1216
1249
  businessId: string;
1217
1250
  profile: {
@@ -1293,12 +1326,46 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1293
1326
  };
1294
1327
  };
1295
1328
  }[] | null | undefined;
1296
- locationTags?: string[] | null | undefined;
1297
- _id: string;
1298
- name: string;
1299
1329
  purchaseOrder: {
1300
1330
  remark?: string | null | undefined;
1301
1331
  ref?: string | null | undefined;
1332
+ supplier: {
1333
+ phoneNumber?: string | null | undefined;
1334
+ email?: string | null | undefined;
1335
+ _rev?: string | null | undefined;
1336
+ internal?: "restaurant" | "warehouse" | null | undefined;
1337
+ contactName?: string | null | undefined;
1338
+ registrationNumber?: string | undefined;
1339
+ supplyItems?: {
1340
+ defaultCost: {
1341
+ measurement?: {
1342
+ id: string;
1343
+ name: string;
1344
+ abbrev: string;
1345
+ conversion: {
1346
+ amount: number;
1347
+ precision: number;
1348
+ };
1349
+ } | null | undefined;
1350
+ costPerUnit: {
1351
+ 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";
1352
+ amount: number;
1353
+ precision: number;
1354
+ };
1355
+ };
1356
+ skuId: string;
1357
+ }[] | null | undefined;
1358
+ _id: string;
1359
+ name: string;
1360
+ address: {
1361
+ line2?: string | null | undefined;
1362
+ line1: string;
1363
+ state: string;
1364
+ city: string;
1365
+ postcode: string;
1366
+ country: string;
1367
+ };
1368
+ };
1302
1369
  items: {
1303
1370
  measurement?: {
1304
1371
  id: string;
@@ -1309,6 +1376,8 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1309
1376
  precision: number;
1310
1377
  };
1311
1378
  } | null | undefined;
1379
+ id?: string | null | undefined;
1380
+ externalId?: string | null | undefined;
1312
1381
  totalCost?: {
1313
1382
  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";
1314
1383
  amount: number;
@@ -1323,7 +1392,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1323
1392
  precision: number;
1324
1393
  } | null | undefined;
1325
1394
  sku: {
1326
- customAttributes?: Record<string, any> | null | undefined;
1327
1395
  trackingMeasurement?: string | null | undefined;
1328
1396
  convert?: {
1329
1397
  measurement?: string | null | undefined;
@@ -1367,6 +1435,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1367
1435
  low: number;
1368
1436
  mid: number;
1369
1437
  } | null | undefined;
1438
+ customAttributes?: Record<string, any> | null | undefined;
1370
1439
  unit: {
1371
1440
  _id: string;
1372
1441
  name: string;
@@ -1387,67 +1456,32 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1387
1456
  name: string;
1388
1457
  };
1389
1458
  code: string;
1390
- name: string;
1391
1459
  quantity: {
1392
1460
  amount: number;
1393
1461
  precision: number;
1394
1462
  };
1463
+ name: string;
1395
1464
  quantityStep: {
1396
1465
  amount: number;
1397
1466
  precision: number;
1398
1467
  };
1399
1468
  }[];
1400
- supplier: {
1401
- phoneNumber?: string | null | undefined;
1402
- email?: string | null | undefined;
1403
- _rev?: string | null | undefined;
1404
- internal?: "restaurant" | "warehouse" | null | undefined;
1405
- contactName?: string | null | undefined;
1406
- registrationNumber?: string | undefined;
1407
- supplyItems?: {
1408
- defaultCost: {
1409
- measurement?: {
1410
- id: string;
1411
- name: string;
1412
- abbrev: string;
1413
- conversion: {
1414
- amount: number;
1415
- precision: number;
1416
- };
1417
- } | null | undefined;
1418
- costPerUnit: {
1419
- 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";
1420
- amount: number;
1421
- precision: number;
1422
- };
1423
- };
1424
- skuId: string;
1425
- }[] | null | undefined;
1426
- _id: string;
1427
- name: string;
1428
- address: {
1429
- line2?: string | null | undefined;
1430
- line1: string;
1431
- state: string;
1432
- city: string;
1433
- postcode: string;
1434
- country: string;
1435
- };
1436
- };
1437
1469
  };
1470
+ _id: string;
1471
+ name: string;
1438
1472
  } | null | undefined;
1439
1473
  request?: {
1440
1474
  id: string;
1441
1475
  adjustmentIds: string[];
1442
1476
  } | null | undefined;
1443
1477
  stockSnapshotId?: string | null | undefined;
1444
- effectiveAt?: string | null | undefined;
1445
1478
  deliveryFullfillment?: {
1446
1479
  remark?: string | null | undefined;
1447
1480
  adjustment?: string | null | undefined;
1448
1481
  netSuite?: {
1449
1482
  refNo?: string | null | undefined;
1450
- id: string;
1483
+ recordType?: string | null | undefined;
1484
+ id: string | null;
1451
1485
  } | null | undefined;
1452
1486
  items: {
1453
1487
  cost?: {
@@ -1464,8 +1498,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1464
1498
  precision: number;
1465
1499
  };
1466
1500
  } | null | undefined;
1501
+ id?: string | null | undefined;
1502
+ externalId?: string | null | undefined;
1467
1503
  sku: {
1468
- customAttributes?: Record<string, any> | null | undefined;
1469
1504
  trackingMeasurement?: string | null | undefined;
1470
1505
  convert?: {
1471
1506
  measurement?: string | null | undefined;
@@ -1509,6 +1544,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1509
1544
  low: number;
1510
1545
  mid: number;
1511
1546
  } | null | undefined;
1547
+ customAttributes?: Record<string, any> | null | undefined;
1512
1548
  unit: {
1513
1549
  _id: string;
1514
1550
  name: string;
@@ -1536,118 +1572,30 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1536
1572
  id: string;
1537
1573
  createdAt: string;
1538
1574
  }[] | null | undefined;
1539
- status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
1540
- _id: string;
1541
- seqNumber: number;
1542
- items: {
1543
- measurement?: {
1544
- id: string;
1545
- name: string;
1546
- abbrev: string;
1547
- conversion: {
1548
- amount: number;
1549
- precision: number;
1550
- };
1551
- } | null | undefined;
1552
- totalCost?: {
1553
- 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";
1554
- amount: number;
1555
- precision: number;
1556
- } | null | undefined;
1557
- sku: {
1558
- customAttributes?: Record<string, any> | null | undefined;
1559
- trackingMeasurement?: string | null | undefined;
1560
- convert?: {
1561
- measurement?: string | null | undefined;
1562
- inventoryBindings?: {
1563
- measurement?: {
1564
- id: string;
1565
- name: string;
1566
- abbrev: string;
1567
- conversion: {
1568
- amount: number;
1569
- precision: number;
1570
- };
1571
- } | null | undefined;
1572
- type: "RECIPE" | "SKU" | "SKU_GROUP";
1573
- amount: {
1574
- amount: number;
1575
- precision: number;
1576
- };
1577
- id: string;
1578
- }[] | null | undefined;
1579
- } | null | undefined;
1580
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1581
- defaultCost?: {
1582
- measurement?: {
1583
- id: string;
1584
- name: string;
1585
- abbrev: string;
1586
- conversion: {
1587
- amount: number;
1588
- precision: number;
1589
- };
1590
- } | null | undefined;
1591
- costPerUnit: {
1592
- 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";
1593
- amount: number;
1594
- precision: number;
1595
- };
1596
- } | null | undefined;
1597
- operationalGroup?: string | null | undefined;
1598
- thresholds?: {
1599
- low: number;
1600
- mid: number;
1601
- } | null | undefined;
1602
- unit: {
1603
- _id: string;
1604
- name: string;
1605
- abbrev: string;
1606
- precision: number;
1607
- measurements: {
1608
- id: string;
1609
- name: string;
1610
- abbrev: string;
1611
- conversion: {
1612
- amount: number;
1613
- precision: number;
1614
- };
1615
- }[];
1616
- };
1617
- code: string;
1618
- _id: string;
1619
- name: string;
1620
- };
1621
- code: string;
1622
- name: string;
1623
- quantity: {
1624
- amount: number;
1625
- precision: number;
1626
- };
1627
- }[];
1628
- supplier: {
1629
- phoneNumber?: string | null | undefined;
1630
- email?: string | null | undefined;
1631
- _rev?: string | null | undefined;
1632
- internal?: "restaurant" | "warehouse" | null | undefined;
1633
- contactName?: string | null | undefined;
1634
- registrationNumber?: string | undefined;
1635
- supplyItems?: {
1636
- defaultCost: {
1637
- measurement?: {
1638
- id: string;
1639
- name: string;
1640
- abbrev: string;
1641
- conversion: {
1642
- amount: number;
1643
- precision: number;
1644
- };
1645
- } | null | undefined;
1646
- costPerUnit: {
1647
- 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";
1648
- amount: number;
1649
- precision: number;
1650
- };
1575
+ status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
1576
+ supplier: {
1577
+ phoneNumber?: string | null | undefined;
1578
+ email?: string | null | undefined;
1579
+ _rev?: string | null | undefined;
1580
+ internal?: "restaurant" | "warehouse" | null | undefined;
1581
+ contactName?: string | null | undefined;
1582
+ registrationNumber?: string | undefined;
1583
+ supplyItems?: {
1584
+ defaultCost: {
1585
+ measurement?: {
1586
+ id: string;
1587
+ name: string;
1588
+ abbrev: string;
1589
+ conversion: {
1590
+ amount: number;
1591
+ precision: number;
1592
+ };
1593
+ } | null | undefined;
1594
+ costPerUnit: {
1595
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1596
+ amount: number;
1597
+ precision: number;
1598
+ };
1651
1599
  };
1652
1600
  skuId: string;
1653
1601
  }[] | null | undefined;
@@ -1664,11 +1612,14 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1664
1612
  };
1665
1613
  deliveryOrder: {
1666
1614
  remark?: string | null | undefined;
1615
+ id?: string | null | undefined;
1667
1616
  adjustment?: string | null | undefined;
1617
+ effectiveAt?: string | null | undefined;
1668
1618
  fullfillmentId?: string | null | undefined;
1669
1619
  netSuite?: {
1670
1620
  refNo?: string | null | undefined;
1671
- id: string;
1621
+ recordType?: string | null | undefined;
1622
+ id: string | null;
1672
1623
  } | null | undefined;
1673
1624
  received: {
1674
1625
  cost?: {
@@ -1685,8 +1636,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1685
1636
  precision: number;
1686
1637
  };
1687
1638
  } | null | undefined;
1639
+ id?: string | null | undefined;
1640
+ externalId?: string | null | undefined;
1688
1641
  sku: {
1689
- customAttributes?: Record<string, any> | null | undefined;
1690
1642
  trackingMeasurement?: string | null | undefined;
1691
1643
  convert?: {
1692
1644
  measurement?: string | null | undefined;
@@ -1730,6 +1682,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1730
1682
  low: number;
1731
1683
  mid: number;
1732
1684
  } | null | undefined;
1685
+ customAttributes?: Record<string, any> | null | undefined;
1733
1686
  unit: {
1734
1687
  _id: string;
1735
1688
  name: string;
@@ -1761,33 +1714,106 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1761
1714
  createdAt: string;
1762
1715
  deliveryOrderNumber: string;
1763
1716
  }[];
1764
- }[]>;
1765
- purchaseRequests: import("vue").Ref<{
1766
- netSuite?: {
1767
- refNo?: string | null | undefined;
1768
- sync?: boolean | null | undefined;
1769
- subsidiary?: {
1770
- name?: string | null | undefined;
1717
+ _id: string;
1718
+ seqNumber: number;
1719
+ items: {
1720
+ measurement?: {
1771
1721
  id: string;
1722
+ name: string;
1723
+ abbrev: string;
1724
+ conversion: {
1725
+ amount: number;
1726
+ precision: number;
1727
+ };
1772
1728
  } | null | undefined;
1773
- errors?: {
1774
- message: string;
1775
- createdAt: string;
1776
- }[] | null | undefined;
1777
- missingItems?: {
1729
+ id?: string | null | undefined;
1730
+ externalId?: string | null | undefined;
1731
+ totalCost?: {
1732
+ 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";
1733
+ amount: number;
1734
+ precision: number;
1735
+ } | null | undefined;
1736
+ sku: {
1737
+ trackingMeasurement?: string | null | undefined;
1738
+ convert?: {
1739
+ measurement?: string | null | undefined;
1740
+ inventoryBindings?: {
1741
+ measurement?: {
1742
+ id: string;
1743
+ name: string;
1744
+ abbrev: string;
1745
+ conversion: {
1746
+ amount: number;
1747
+ precision: number;
1748
+ };
1749
+ } | null | undefined;
1750
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1751
+ amount: {
1752
+ amount: number;
1753
+ precision: number;
1754
+ };
1755
+ id: string;
1756
+ }[] | null | undefined;
1757
+ } | null | undefined;
1758
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1759
+ defaultCost?: {
1760
+ measurement?: {
1761
+ id: string;
1762
+ name: string;
1763
+ abbrev: string;
1764
+ conversion: {
1765
+ amount: number;
1766
+ precision: number;
1767
+ };
1768
+ } | null | undefined;
1769
+ costPerUnit: {
1770
+ 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";
1771
+ amount: number;
1772
+ precision: number;
1773
+ };
1774
+ } | null | undefined;
1775
+ operationalGroup?: string | null | undefined;
1776
+ thresholds?: {
1777
+ low: number;
1778
+ mid: number;
1779
+ } | null | undefined;
1780
+ customAttributes?: Record<string, any> | null | undefined;
1781
+ unit: {
1782
+ _id: string;
1783
+ name: string;
1784
+ abbrev: string;
1785
+ precision: number;
1786
+ measurements: {
1787
+ id: string;
1788
+ name: string;
1789
+ abbrev: string;
1790
+ conversion: {
1791
+ amount: number;
1792
+ precision: number;
1793
+ };
1794
+ }[];
1795
+ };
1796
+ code: string;
1797
+ _id: string;
1778
1798
  name: string;
1779
- reason: string;
1780
- netSuiteId: string;
1781
- }[] | null | undefined;
1782
- additionalInfo?: any;
1783
- id: string | null;
1784
- } | null | undefined;
1799
+ };
1800
+ code: string;
1801
+ quantity: {
1802
+ amount: number;
1803
+ precision: number;
1804
+ };
1805
+ name: string;
1806
+ }[];
1807
+ }[]>;
1808
+ purchaseRequests: import("vue").Ref<{
1785
1809
  purchaseOrder?: {
1786
1810
  remark?: string | null | undefined;
1787
1811
  ref?: string | null | undefined;
1788
1812
  _rev?: string | null | undefined;
1813
+ effectiveAt?: string | null | undefined;
1789
1814
  netSuite?: {
1790
1815
  refNo?: string | null | undefined;
1816
+ recordType?: string | null | undefined;
1791
1817
  sync?: boolean | null | undefined;
1792
1818
  subsidiary?: {
1793
1819
  name?: string | null | undefined;
@@ -1805,6 +1831,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1805
1831
  additionalInfo?: any;
1806
1832
  id: string | null;
1807
1833
  } | null | undefined;
1834
+ version?: "1" | "2" | null | undefined;
1808
1835
  template?: string | null | undefined;
1809
1836
  templateDoc?: {
1810
1837
  _rev?: string | null | undefined;
@@ -1818,7 +1845,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1818
1845
  acceptRequest: boolean;
1819
1846
  dbName: string;
1820
1847
  doc: {
1821
- customAttributes?: Record<string, any> | null | undefined;
1822
1848
  _id: string;
1823
1849
  businessId: string;
1824
1850
  profile: {
@@ -1900,12 +1926,46 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1900
1926
  };
1901
1927
  };
1902
1928
  }[] | null | undefined;
1903
- locationTags?: string[] | null | undefined;
1904
- _id: string;
1905
- name: string;
1906
1929
  purchaseOrder: {
1907
1930
  remark?: string | null | undefined;
1908
1931
  ref?: string | null | undefined;
1932
+ supplier: {
1933
+ phoneNumber?: string | null | undefined;
1934
+ email?: string | null | undefined;
1935
+ _rev?: string | null | undefined;
1936
+ internal?: "restaurant" | "warehouse" | null | undefined;
1937
+ contactName?: string | null | undefined;
1938
+ registrationNumber?: string | undefined;
1939
+ supplyItems?: {
1940
+ defaultCost: {
1941
+ measurement?: {
1942
+ id: string;
1943
+ name: string;
1944
+ abbrev: string;
1945
+ conversion: {
1946
+ amount: number;
1947
+ precision: number;
1948
+ };
1949
+ } | null | undefined;
1950
+ costPerUnit: {
1951
+ 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";
1952
+ amount: number;
1953
+ precision: number;
1954
+ };
1955
+ };
1956
+ skuId: string;
1957
+ }[] | null | undefined;
1958
+ _id: string;
1959
+ name: string;
1960
+ address: {
1961
+ line2?: string | null | undefined;
1962
+ line1: string;
1963
+ state: string;
1964
+ city: string;
1965
+ postcode: string;
1966
+ country: string;
1967
+ };
1968
+ };
1909
1969
  items: {
1910
1970
  measurement?: {
1911
1971
  id: string;
@@ -1916,6 +1976,8 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1916
1976
  precision: number;
1917
1977
  };
1918
1978
  } | null | undefined;
1979
+ id?: string | null | undefined;
1980
+ externalId?: string | null | undefined;
1919
1981
  totalCost?: {
1920
1982
  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";
1921
1983
  amount: number;
@@ -1930,7 +1992,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1930
1992
  precision: number;
1931
1993
  } | null | undefined;
1932
1994
  sku: {
1933
- customAttributes?: Record<string, any> | null | undefined;
1934
1995
  trackingMeasurement?: string | null | undefined;
1935
1996
  convert?: {
1936
1997
  measurement?: string | null | undefined;
@@ -1974,6 +2035,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1974
2035
  low: number;
1975
2036
  mid: number;
1976
2037
  } | null | undefined;
2038
+ customAttributes?: Record<string, any> | null | undefined;
1977
2039
  unit: {
1978
2040
  _id: string;
1979
2041
  name: string;
@@ -1994,67 +2056,32 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
1994
2056
  name: string;
1995
2057
  };
1996
2058
  code: string;
1997
- name: string;
1998
2059
  quantity: {
1999
2060
  amount: number;
2000
2061
  precision: number;
2001
2062
  };
2063
+ name: string;
2002
2064
  quantityStep: {
2003
2065
  amount: number;
2004
2066
  precision: number;
2005
2067
  };
2006
2068
  }[];
2007
- supplier: {
2008
- phoneNumber?: string | null | undefined;
2009
- email?: string | null | undefined;
2010
- _rev?: string | null | undefined;
2011
- internal?: "restaurant" | "warehouse" | null | undefined;
2012
- contactName?: string | null | undefined;
2013
- registrationNumber?: string | undefined;
2014
- supplyItems?: {
2015
- defaultCost: {
2016
- measurement?: {
2017
- id: string;
2018
- name: string;
2019
- abbrev: string;
2020
- conversion: {
2021
- amount: number;
2022
- precision: number;
2023
- };
2024
- } | null | undefined;
2025
- costPerUnit: {
2026
- 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";
2027
- amount: number;
2028
- precision: number;
2029
- };
2030
- };
2031
- skuId: string;
2032
- }[] | null | undefined;
2033
- _id: string;
2034
- name: string;
2035
- address: {
2036
- line2?: string | null | undefined;
2037
- line1: string;
2038
- state: string;
2039
- city: string;
2040
- postcode: string;
2041
- country: string;
2042
- };
2043
- };
2044
2069
  };
2070
+ _id: string;
2071
+ name: string;
2045
2072
  } | null | undefined;
2046
2073
  request?: {
2047
2074
  id: string;
2048
2075
  adjustmentIds: string[];
2049
2076
  } | null | undefined;
2050
2077
  stockSnapshotId?: string | null | undefined;
2051
- effectiveAt?: string | null | undefined;
2052
2078
  deliveryFullfillment?: {
2053
2079
  remark?: string | null | undefined;
2054
2080
  adjustment?: string | null | undefined;
2055
2081
  netSuite?: {
2056
2082
  refNo?: string | null | undefined;
2057
- id: string;
2083
+ recordType?: string | null | undefined;
2084
+ id: string | null;
2058
2085
  } | null | undefined;
2059
2086
  items: {
2060
2087
  cost?: {
@@ -2071,8 +2098,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2071
2098
  precision: number;
2072
2099
  };
2073
2100
  } | null | undefined;
2101
+ id?: string | null | undefined;
2102
+ externalId?: string | null | undefined;
2074
2103
  sku: {
2075
- customAttributes?: Record<string, any> | null | undefined;
2076
2104
  trackingMeasurement?: string | null | undefined;
2077
2105
  convert?: {
2078
2106
  measurement?: string | null | undefined;
@@ -2116,6 +2144,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2116
2144
  low: number;
2117
2145
  mid: number;
2118
2146
  } | null | undefined;
2147
+ customAttributes?: Record<string, any> | null | undefined;
2119
2148
  unit: {
2120
2149
  _id: string;
2121
2150
  name: string;
@@ -2143,95 +2172,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2143
2172
  id: string;
2144
2173
  createdAt: string;
2145
2174
  }[] | null | undefined;
2146
- status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
2147
- _id: string;
2148
- seqNumber: number;
2149
- items: {
2150
- measurement?: {
2151
- id: string;
2152
- name: string;
2153
- abbrev: string;
2154
- conversion: {
2155
- amount: number;
2156
- precision: number;
2157
- };
2158
- } | null | undefined;
2159
- totalCost?: {
2160
- 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";
2161
- amount: number;
2162
- precision: number;
2163
- } | null | undefined;
2164
- sku: {
2165
- customAttributes?: Record<string, any> | null | undefined;
2166
- trackingMeasurement?: string | null | undefined;
2167
- convert?: {
2168
- measurement?: string | null | undefined;
2169
- inventoryBindings?: {
2170
- measurement?: {
2171
- id: string;
2172
- name: string;
2173
- abbrev: string;
2174
- conversion: {
2175
- amount: number;
2176
- precision: number;
2177
- };
2178
- } | null | undefined;
2179
- type: "RECIPE" | "SKU" | "SKU_GROUP";
2180
- amount: {
2181
- amount: number;
2182
- precision: number;
2183
- };
2184
- id: string;
2185
- }[] | null | undefined;
2186
- } | null | undefined;
2187
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2188
- defaultCost?: {
2189
- measurement?: {
2190
- id: string;
2191
- name: string;
2192
- abbrev: string;
2193
- conversion: {
2194
- amount: number;
2195
- precision: number;
2196
- };
2197
- } | null | undefined;
2198
- costPerUnit: {
2199
- 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";
2200
- amount: number;
2201
- precision: number;
2202
- };
2203
- } | null | undefined;
2204
- operationalGroup?: string | null | undefined;
2205
- thresholds?: {
2206
- low: number;
2207
- mid: number;
2208
- } | null | undefined;
2209
- unit: {
2210
- _id: string;
2211
- name: string;
2212
- abbrev: string;
2213
- precision: number;
2214
- measurements: {
2215
- id: string;
2216
- name: string;
2217
- abbrev: string;
2218
- conversion: {
2219
- amount: number;
2220
- precision: number;
2221
- };
2222
- }[];
2223
- };
2224
- code: string;
2225
- _id: string;
2226
- name: string;
2227
- };
2228
- code: string;
2229
- name: string;
2230
- quantity: {
2231
- amount: number;
2232
- precision: number;
2233
- };
2234
- }[];
2175
+ status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
2235
2176
  supplier: {
2236
2177
  phoneNumber?: string | null | undefined;
2237
2178
  email?: string | null | undefined;
@@ -2271,11 +2212,14 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2271
2212
  };
2272
2213
  deliveryOrder: {
2273
2214
  remark?: string | null | undefined;
2215
+ id?: string | null | undefined;
2274
2216
  adjustment?: string | null | undefined;
2217
+ effectiveAt?: string | null | undefined;
2275
2218
  fullfillmentId?: string | null | undefined;
2276
2219
  netSuite?: {
2277
2220
  refNo?: string | null | undefined;
2278
- id: string;
2221
+ recordType?: string | null | undefined;
2222
+ id: string | null;
2279
2223
  } | null | undefined;
2280
2224
  received: {
2281
2225
  cost?: {
@@ -2292,8 +2236,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2292
2236
  precision: number;
2293
2237
  };
2294
2238
  } | null | undefined;
2239
+ id?: string | null | undefined;
2240
+ externalId?: string | null | undefined;
2295
2241
  sku: {
2296
- customAttributes?: Record<string, any> | null | undefined;
2297
2242
  trackingMeasurement?: string | null | undefined;
2298
2243
  convert?: {
2299
2244
  measurement?: string | null | undefined;
@@ -2337,6 +2282,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2337
2282
  low: number;
2338
2283
  mid: number;
2339
2284
  } | null | undefined;
2285
+ customAttributes?: Record<string, any> | null | undefined;
2340
2286
  unit: {
2341
2287
  _id: string;
2342
2288
  name: string;
@@ -2368,23 +2314,100 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2368
2314
  createdAt: string;
2369
2315
  deliveryOrderNumber: string;
2370
2316
  }[];
2317
+ _id: string;
2318
+ seqNumber: number;
2319
+ items: {
2320
+ measurement?: {
2321
+ id: string;
2322
+ name: string;
2323
+ abbrev: string;
2324
+ conversion: {
2325
+ amount: number;
2326
+ precision: number;
2327
+ };
2328
+ } | null | undefined;
2329
+ id?: string | null | undefined;
2330
+ externalId?: string | null | undefined;
2331
+ totalCost?: {
2332
+ 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";
2333
+ amount: number;
2334
+ precision: number;
2335
+ } | null | undefined;
2336
+ sku: {
2337
+ trackingMeasurement?: string | null | undefined;
2338
+ convert?: {
2339
+ measurement?: string | null | undefined;
2340
+ inventoryBindings?: {
2341
+ measurement?: {
2342
+ id: string;
2343
+ name: string;
2344
+ abbrev: string;
2345
+ conversion: {
2346
+ amount: number;
2347
+ precision: number;
2348
+ };
2349
+ } | null | undefined;
2350
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2351
+ amount: {
2352
+ amount: number;
2353
+ precision: number;
2354
+ };
2355
+ id: string;
2356
+ }[] | null | undefined;
2357
+ } | null | undefined;
2358
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2359
+ defaultCost?: {
2360
+ measurement?: {
2361
+ id: string;
2362
+ name: string;
2363
+ abbrev: string;
2364
+ conversion: {
2365
+ amount: number;
2366
+ precision: number;
2367
+ };
2368
+ } | null | undefined;
2369
+ costPerUnit: {
2370
+ 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";
2371
+ amount: number;
2372
+ precision: number;
2373
+ };
2374
+ } | null | undefined;
2375
+ operationalGroup?: string | null | undefined;
2376
+ thresholds?: {
2377
+ low: number;
2378
+ mid: number;
2379
+ } | null | undefined;
2380
+ customAttributes?: Record<string, any> | null | undefined;
2381
+ unit: {
2382
+ _id: string;
2383
+ name: string;
2384
+ abbrev: string;
2385
+ precision: number;
2386
+ measurements: {
2387
+ id: string;
2388
+ name: string;
2389
+ abbrev: string;
2390
+ conversion: {
2391
+ amount: number;
2392
+ precision: number;
2393
+ };
2394
+ }[];
2395
+ };
2396
+ code: string;
2397
+ _id: string;
2398
+ name: string;
2399
+ };
2400
+ code: string;
2401
+ quantity: {
2402
+ amount: number;
2403
+ precision: number;
2404
+ };
2405
+ name: string;
2406
+ }[];
2371
2407
  } | null | undefined;
2372
- _id: string;
2373
- from: {
2374
- name: string;
2375
- dbName: string;
2376
- };
2377
- to: {
2378
- name: string;
2379
- dbName: string;
2380
- };
2381
- purchaseOrderId: string;
2382
- processedAt: string | null;
2383
- rejectedAt: string | null;
2384
- adjusmentIds: string[];
2385
- }[], {
2386
2408
  netSuite?: {
2387
2409
  refNo?: string | null | undefined;
2410
+ recordType?: string | null | undefined;
2388
2411
  sync?: boolean | null | undefined;
2389
2412
  subsidiary?: {
2390
2413
  name?: string | null | undefined;
@@ -2402,34 +2425,142 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2402
2425
  additionalInfo?: any;
2403
2426
  id: string | null;
2404
2427
  } | null | undefined;
2405
- purchaseOrder?: {
2406
- remark?: string | null | undefined;
2407
- ref?: string | null | undefined;
2408
- _rev?: string | null | undefined;
2409
- netSuite?: {
2410
- refNo?: string | null | undefined;
2411
- sync?: boolean | null | undefined;
2412
- subsidiary?: {
2413
- name?: string | null | undefined;
2414
- id: string;
2415
- } | null | undefined;
2416
- errors?: {
2417
- message: string;
2418
- createdAt: string;
2419
- }[] | null | undefined;
2420
- missingItems?: {
2421
- name: string;
2422
- reason: string;
2423
- netSuiteId: string;
2424
- }[] | null | undefined;
2425
- additionalInfo?: any;
2426
- id: string | null;
2427
- } | null | undefined;
2428
- template?: string | null | undefined;
2429
- templateDoc?: {
2430
- _rev?: string | null | undefined;
2431
- locations?: {
2432
- inventory?: {
2428
+ _id: string;
2429
+ from: {
2430
+ name: string;
2431
+ dbName: string;
2432
+ };
2433
+ to: {
2434
+ name: string;
2435
+ dbName: string;
2436
+ };
2437
+ purchaseOrderId: string;
2438
+ processedAt: string | null;
2439
+ rejectedAt: string | null;
2440
+ adjusmentIds: string[];
2441
+ toInventoryLocation: {
2442
+ inventory?: {
2443
+ _id: string;
2444
+ updatedAt: string;
2445
+ } | null | undefined;
2446
+ type: "restaurant" | "warehouse";
2447
+ name: string;
2448
+ acceptRequest: boolean;
2449
+ dbName: string;
2450
+ doc: {
2451
+ _id: string;
2452
+ businessId: string;
2453
+ profile: {
2454
+ code?: string | null | undefined;
2455
+ _id?: string | null | undefined;
2456
+ name?: string | undefined;
2457
+ address?: {
2458
+ coordinates?: number[] | null | undefined;
2459
+ line2?: string | null | undefined;
2460
+ state: string;
2461
+ country: string;
2462
+ line1: string;
2463
+ city: string;
2464
+ postcode: string;
2465
+ } | undefined;
2466
+ email?: string | undefined;
2467
+ regNo?: string | undefined;
2468
+ sstRegNo?: string | null | undefined;
2469
+ phoneNo?: string | undefined;
2470
+ legalName?: string | null | undefined;
2471
+ discovery?: boolean | null | undefined;
2472
+ coverPhoto?: string | null | undefined;
2473
+ thumbnailPhoto?: string | null | undefined;
2474
+ description?: string | null | undefined;
2475
+ photos?: string[] | null | undefined;
2476
+ operatingHours?: {
2477
+ 0: {
2478
+ hours: {
2479
+ end: string;
2480
+ start: string;
2481
+ }[];
2482
+ enable: boolean;
2483
+ };
2484
+ 2: {
2485
+ hours: {
2486
+ end: string;
2487
+ start: string;
2488
+ }[];
2489
+ enable: boolean;
2490
+ };
2491
+ 1: {
2492
+ hours: {
2493
+ end: string;
2494
+ start: string;
2495
+ }[];
2496
+ enable: boolean;
2497
+ };
2498
+ 3: {
2499
+ hours: {
2500
+ end: string;
2501
+ start: string;
2502
+ }[];
2503
+ enable: boolean;
2504
+ };
2505
+ 4: {
2506
+ hours: {
2507
+ end: string;
2508
+ start: string;
2509
+ }[];
2510
+ enable: boolean;
2511
+ };
2512
+ 5: {
2513
+ hours: {
2514
+ end: string;
2515
+ start: string;
2516
+ }[];
2517
+ enable: boolean;
2518
+ };
2519
+ 6: {
2520
+ hours: {
2521
+ end: string;
2522
+ start: string;
2523
+ }[];
2524
+ enable: boolean;
2525
+ };
2526
+ } | null | undefined;
2527
+ tags?: string[] | null | undefined;
2528
+ url?: string | null | undefined;
2529
+ };
2530
+ };
2531
+ };
2532
+ }[], ({
2533
+ purchaseOrder?: {
2534
+ remark?: string | null | undefined;
2535
+ ref?: string | null | undefined;
2536
+ _rev?: string | null | undefined;
2537
+ effectiveAt?: string | null | undefined;
2538
+ netSuite?: {
2539
+ refNo?: string | null | undefined;
2540
+ recordType?: string | null | undefined;
2541
+ sync?: boolean | null | undefined;
2542
+ subsidiary?: {
2543
+ name?: string | null | undefined;
2544
+ id: string;
2545
+ } | null | undefined;
2546
+ errors?: {
2547
+ message: string;
2548
+ createdAt: string;
2549
+ }[] | null | undefined;
2550
+ missingItems?: {
2551
+ name: string;
2552
+ reason: string;
2553
+ netSuiteId: string;
2554
+ }[] | null | undefined;
2555
+ additionalInfo?: any;
2556
+ id: string | null;
2557
+ } | null | undefined;
2558
+ version?: "1" | "2" | null | undefined;
2559
+ template?: string | null | undefined;
2560
+ templateDoc?: {
2561
+ _rev?: string | null | undefined;
2562
+ locations?: {
2563
+ inventory?: {
2433
2564
  _id: string;
2434
2565
  updatedAt: string;
2435
2566
  } | null | undefined;
@@ -2438,7 +2569,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2438
2569
  acceptRequest: boolean;
2439
2570
  dbName: string;
2440
2571
  doc: {
2441
- customAttributes?: Record<string, any> | null | undefined;
2442
2572
  _id: string;
2443
2573
  businessId: string;
2444
2574
  profile: {
@@ -2520,12 +2650,46 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2520
2650
  };
2521
2651
  };
2522
2652
  }[] | null | undefined;
2523
- locationTags?: string[] | null | undefined;
2524
- _id: string;
2525
- name: string;
2526
2653
  purchaseOrder: {
2527
2654
  remark?: string | null | undefined;
2528
2655
  ref?: string | null | undefined;
2656
+ supplier: {
2657
+ phoneNumber?: string | null | undefined;
2658
+ email?: string | null | undefined;
2659
+ _rev?: string | null | undefined;
2660
+ internal?: "restaurant" | "warehouse" | null | undefined;
2661
+ contactName?: string | null | undefined;
2662
+ registrationNumber?: string | undefined;
2663
+ supplyItems?: {
2664
+ defaultCost: {
2665
+ measurement?: {
2666
+ id: string;
2667
+ name: string;
2668
+ abbrev: string;
2669
+ conversion: {
2670
+ amount: number;
2671
+ precision: number;
2672
+ };
2673
+ } | null | undefined;
2674
+ costPerUnit: {
2675
+ 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";
2676
+ amount: number;
2677
+ precision: number;
2678
+ };
2679
+ };
2680
+ skuId: string;
2681
+ }[] | null | undefined;
2682
+ _id: string;
2683
+ name: string;
2684
+ address: {
2685
+ line2?: string | null | undefined;
2686
+ line1: string;
2687
+ state: string;
2688
+ city: string;
2689
+ postcode: string;
2690
+ country: string;
2691
+ };
2692
+ };
2529
2693
  items: {
2530
2694
  measurement?: {
2531
2695
  id: string;
@@ -2536,6 +2700,8 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2536
2700
  precision: number;
2537
2701
  };
2538
2702
  } | null | undefined;
2703
+ id?: string | null | undefined;
2704
+ externalId?: string | null | undefined;
2539
2705
  totalCost?: {
2540
2706
  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";
2541
2707
  amount: number;
@@ -2550,7 +2716,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2550
2716
  precision: number;
2551
2717
  } | null | undefined;
2552
2718
  sku: {
2553
- customAttributes?: Record<string, any> | null | undefined;
2554
2719
  trackingMeasurement?: string | null | undefined;
2555
2720
  convert?: {
2556
2721
  measurement?: string | null | undefined;
@@ -2594,6 +2759,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2594
2759
  low: number;
2595
2760
  mid: number;
2596
2761
  } | null | undefined;
2762
+ customAttributes?: Record<string, any> | null | undefined;
2597
2763
  unit: {
2598
2764
  _id: string;
2599
2765
  name: string;
@@ -2614,67 +2780,32 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2614
2780
  name: string;
2615
2781
  };
2616
2782
  code: string;
2617
- name: string;
2618
2783
  quantity: {
2619
2784
  amount: number;
2620
2785
  precision: number;
2621
2786
  };
2787
+ name: string;
2622
2788
  quantityStep: {
2623
2789
  amount: number;
2624
2790
  precision: number;
2625
2791
  };
2626
2792
  }[];
2627
- supplier: {
2628
- phoneNumber?: string | null | undefined;
2629
- email?: string | null | undefined;
2630
- _rev?: string | null | undefined;
2631
- internal?: "restaurant" | "warehouse" | null | undefined;
2632
- contactName?: string | null | undefined;
2633
- registrationNumber?: string | undefined;
2634
- supplyItems?: {
2635
- defaultCost: {
2636
- measurement?: {
2637
- id: string;
2638
- name: string;
2639
- abbrev: string;
2640
- conversion: {
2641
- amount: number;
2642
- precision: number;
2643
- };
2644
- } | null | undefined;
2645
- costPerUnit: {
2646
- 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";
2647
- amount: number;
2648
- precision: number;
2649
- };
2650
- };
2651
- skuId: string;
2652
- }[] | null | undefined;
2653
- _id: string;
2654
- name: string;
2655
- address: {
2656
- line2?: string | null | undefined;
2657
- line1: string;
2658
- state: string;
2659
- city: string;
2660
- postcode: string;
2661
- country: string;
2662
- };
2663
- };
2664
2793
  };
2794
+ _id: string;
2795
+ name: string;
2665
2796
  } | null | undefined;
2666
2797
  request?: {
2667
2798
  id: string;
2668
2799
  adjustmentIds: string[];
2669
2800
  } | null | undefined;
2670
2801
  stockSnapshotId?: string | null | undefined;
2671
- effectiveAt?: string | null | undefined;
2672
2802
  deliveryFullfillment?: {
2673
2803
  remark?: string | null | undefined;
2674
2804
  adjustment?: string | null | undefined;
2675
2805
  netSuite?: {
2676
2806
  refNo?: string | null | undefined;
2677
- id: string;
2807
+ recordType?: string | null | undefined;
2808
+ id: string | null;
2678
2809
  } | null | undefined;
2679
2810
  items: {
2680
2811
  cost?: {
@@ -2691,8 +2822,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2691
2822
  precision: number;
2692
2823
  };
2693
2824
  } | null | undefined;
2825
+ id?: string | null | undefined;
2826
+ externalId?: string | null | undefined;
2694
2827
  sku: {
2695
- customAttributes?: Record<string, any> | null | undefined;
2696
2828
  trackingMeasurement?: string | null | undefined;
2697
2829
  convert?: {
2698
2830
  measurement?: string | null | undefined;
@@ -2736,6 +2868,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2736
2868
  low: number;
2737
2869
  mid: number;
2738
2870
  } | null | undefined;
2871
+ customAttributes?: Record<string, any> | null | undefined;
2739
2872
  unit: {
2740
2873
  _id: string;
2741
2874
  name: string;
@@ -2763,95 +2896,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2763
2896
  id: string;
2764
2897
  createdAt: string;
2765
2898
  }[] | null | undefined;
2766
- status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
2767
- _id: string;
2768
- seqNumber: number;
2769
- items: {
2770
- measurement?: {
2771
- id: string;
2772
- name: string;
2773
- abbrev: string;
2774
- conversion: {
2775
- amount: number;
2776
- precision: number;
2777
- };
2778
- } | null | undefined;
2779
- totalCost?: {
2780
- 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";
2781
- amount: number;
2782
- precision: number;
2783
- } | null | undefined;
2784
- sku: {
2785
- customAttributes?: Record<string, any> | null | undefined;
2786
- trackingMeasurement?: string | null | undefined;
2787
- convert?: {
2788
- measurement?: string | null | undefined;
2789
- inventoryBindings?: {
2790
- measurement?: {
2791
- id: string;
2792
- name: string;
2793
- abbrev: string;
2794
- conversion: {
2795
- amount: number;
2796
- precision: number;
2797
- };
2798
- } | null | undefined;
2799
- type: "RECIPE" | "SKU" | "SKU_GROUP";
2800
- amount: {
2801
- amount: number;
2802
- precision: number;
2803
- };
2804
- id: string;
2805
- }[] | null | undefined;
2806
- } | null | undefined;
2807
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2808
- defaultCost?: {
2809
- measurement?: {
2810
- id: string;
2811
- name: string;
2812
- abbrev: string;
2813
- conversion: {
2814
- amount: number;
2815
- precision: number;
2816
- };
2817
- } | null | undefined;
2818
- costPerUnit: {
2819
- 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";
2820
- amount: number;
2821
- precision: number;
2822
- };
2823
- } | null | undefined;
2824
- operationalGroup?: string | null | undefined;
2825
- thresholds?: {
2826
- low: number;
2827
- mid: number;
2828
- } | null | undefined;
2829
- unit: {
2830
- _id: string;
2831
- name: string;
2832
- abbrev: string;
2833
- precision: number;
2834
- measurements: {
2835
- id: string;
2836
- name: string;
2837
- abbrev: string;
2838
- conversion: {
2839
- amount: number;
2840
- precision: number;
2841
- };
2842
- }[];
2843
- };
2844
- code: string;
2845
- _id: string;
2846
- name: string;
2847
- };
2848
- code: string;
2849
- name: string;
2850
- quantity: {
2851
- amount: number;
2852
- precision: number;
2853
- };
2854
- }[];
2899
+ status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
2855
2900
  supplier: {
2856
2901
  phoneNumber?: string | null | undefined;
2857
2902
  email?: string | null | undefined;
@@ -2891,11 +2936,14 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2891
2936
  };
2892
2937
  deliveryOrder: {
2893
2938
  remark?: string | null | undefined;
2939
+ id?: string | null | undefined;
2894
2940
  adjustment?: string | null | undefined;
2941
+ effectiveAt?: string | null | undefined;
2895
2942
  fullfillmentId?: string | null | undefined;
2896
2943
  netSuite?: {
2897
2944
  refNo?: string | null | undefined;
2898
- id: string;
2945
+ recordType?: string | null | undefined;
2946
+ id: string | null;
2899
2947
  } | null | undefined;
2900
2948
  received: {
2901
2949
  cost?: {
@@ -2912,8 +2960,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2912
2960
  precision: number;
2913
2961
  };
2914
2962
  } | null | undefined;
2963
+ id?: string | null | undefined;
2964
+ externalId?: string | null | undefined;
2915
2965
  sku: {
2916
- customAttributes?: Record<string, any> | null | undefined;
2917
2966
  trackingMeasurement?: string | null | undefined;
2918
2967
  convert?: {
2919
2968
  measurement?: string | null | undefined;
@@ -2957,6 +3006,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2957
3006
  low: number;
2958
3007
  mid: number;
2959
3008
  } | null | undefined;
3009
+ customAttributes?: Record<string, any> | null | undefined;
2960
3010
  unit: {
2961
3011
  _id: string;
2962
3012
  name: string;
@@ -2988,23 +3038,100 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
2988
3038
  createdAt: string;
2989
3039
  deliveryOrderNumber: string;
2990
3040
  }[];
2991
- } | null | undefined;
2992
- _id: string;
2993
- from: {
2994
- name: string;
2995
- dbName: string;
2996
- };
2997
- to: {
2998
- name: string;
2999
- dbName: string;
3000
- };
3001
- purchaseOrderId: string;
3002
- processedAt: string | null;
3003
- rejectedAt: string | null;
3004
- adjusmentIds: string[];
3005
- }[] | {
3041
+ _id: string;
3042
+ seqNumber: number;
3043
+ items: {
3044
+ measurement?: {
3045
+ id: string;
3046
+ name: string;
3047
+ abbrev: string;
3048
+ conversion: {
3049
+ amount: number;
3050
+ precision: number;
3051
+ };
3052
+ } | null | undefined;
3053
+ id?: string | null | undefined;
3054
+ externalId?: string | null | undefined;
3055
+ totalCost?: {
3056
+ 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";
3057
+ amount: number;
3058
+ precision: number;
3059
+ } | null | undefined;
3060
+ sku: {
3061
+ trackingMeasurement?: string | null | undefined;
3062
+ convert?: {
3063
+ measurement?: string | null | undefined;
3064
+ inventoryBindings?: {
3065
+ measurement?: {
3066
+ id: string;
3067
+ name: string;
3068
+ abbrev: string;
3069
+ conversion: {
3070
+ amount: number;
3071
+ precision: number;
3072
+ };
3073
+ } | null | undefined;
3074
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
3075
+ amount: {
3076
+ amount: number;
3077
+ precision: number;
3078
+ };
3079
+ id: string;
3080
+ }[] | null | undefined;
3081
+ } | null | undefined;
3082
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
3083
+ defaultCost?: {
3084
+ measurement?: {
3085
+ id: string;
3086
+ name: string;
3087
+ abbrev: string;
3088
+ conversion: {
3089
+ amount: number;
3090
+ precision: number;
3091
+ };
3092
+ } | null | undefined;
3093
+ costPerUnit: {
3094
+ 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";
3095
+ amount: number;
3096
+ precision: number;
3097
+ };
3098
+ } | null | undefined;
3099
+ operationalGroup?: string | null | undefined;
3100
+ thresholds?: {
3101
+ low: number;
3102
+ mid: number;
3103
+ } | null | undefined;
3104
+ customAttributes?: Record<string, any> | null | undefined;
3105
+ unit: {
3106
+ _id: string;
3107
+ name: string;
3108
+ abbrev: string;
3109
+ precision: number;
3110
+ measurements: {
3111
+ id: string;
3112
+ name: string;
3113
+ abbrev: string;
3114
+ conversion: {
3115
+ amount: number;
3116
+ precision: number;
3117
+ };
3118
+ }[];
3119
+ };
3120
+ code: string;
3121
+ _id: string;
3122
+ name: string;
3123
+ };
3124
+ code: string;
3125
+ quantity: {
3126
+ amount: number;
3127
+ precision: number;
3128
+ };
3129
+ name: string;
3130
+ }[];
3131
+ } | null | undefined;
3006
3132
  netSuite?: {
3007
3133
  refNo?: string | null | undefined;
3134
+ recordType?: string | null | undefined;
3008
3135
  sync?: boolean | null | undefined;
3009
3136
  subsidiary?: {
3010
3137
  name?: string | null | undefined;
@@ -3022,12 +3149,28 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3022
3149
  additionalInfo?: any;
3023
3150
  id: string | null;
3024
3151
  } | null | undefined;
3152
+ _id: string;
3153
+ from: {
3154
+ name: string;
3155
+ dbName: string;
3156
+ };
3157
+ to: {
3158
+ name: string;
3159
+ dbName: string;
3160
+ };
3161
+ purchaseOrderId: string;
3162
+ processedAt: string | null;
3163
+ rejectedAt: string | null;
3164
+ adjusmentIds: string[];
3165
+ } & WithToInventoryLocation)[] | {
3025
3166
  purchaseOrder?: {
3026
3167
  remark?: string | null | undefined;
3027
3168
  ref?: string | null | undefined;
3028
3169
  _rev?: string | null | undefined;
3170
+ effectiveAt?: string | null | undefined;
3029
3171
  netSuite?: {
3030
3172
  refNo?: string | null | undefined;
3173
+ recordType?: string | null | undefined;
3031
3174
  sync?: boolean | null | undefined;
3032
3175
  subsidiary?: {
3033
3176
  name?: string | null | undefined;
@@ -3045,6 +3188,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3045
3188
  additionalInfo?: any;
3046
3189
  id: string | null;
3047
3190
  } | null | undefined;
3191
+ version?: "1" | "2" | null | undefined;
3048
3192
  template?: string | null | undefined;
3049
3193
  templateDoc?: {
3050
3194
  _rev?: string | null | undefined;
@@ -3058,7 +3202,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3058
3202
  acceptRequest: boolean;
3059
3203
  dbName: string;
3060
3204
  doc: {
3061
- customAttributes?: Record<string, any> | null | undefined;
3062
3205
  _id: string;
3063
3206
  businessId: string;
3064
3207
  profile: {
@@ -3140,12 +3283,46 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3140
3283
  };
3141
3284
  };
3142
3285
  }[] | null | undefined;
3143
- locationTags?: string[] | null | undefined;
3144
- _id: string;
3145
- name: string;
3146
3286
  purchaseOrder: {
3147
3287
  remark?: string | null | undefined;
3148
3288
  ref?: string | null | undefined;
3289
+ supplier: {
3290
+ phoneNumber?: string | null | undefined;
3291
+ email?: string | null | undefined;
3292
+ _rev?: string | null | undefined;
3293
+ internal?: "restaurant" | "warehouse" | null | undefined;
3294
+ contactName?: string | null | undefined;
3295
+ registrationNumber?: string | undefined;
3296
+ supplyItems?: {
3297
+ defaultCost: {
3298
+ measurement?: {
3299
+ id: string;
3300
+ name: string;
3301
+ abbrev: string;
3302
+ conversion: {
3303
+ amount: number;
3304
+ precision: number;
3305
+ };
3306
+ } | null | undefined;
3307
+ costPerUnit: {
3308
+ 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";
3309
+ amount: number;
3310
+ precision: number;
3311
+ };
3312
+ };
3313
+ skuId: string;
3314
+ }[] | null | undefined;
3315
+ _id: string;
3316
+ name: string;
3317
+ address: {
3318
+ line2?: string | null | undefined;
3319
+ line1: string;
3320
+ state: string;
3321
+ city: string;
3322
+ postcode: string;
3323
+ country: string;
3324
+ };
3325
+ };
3149
3326
  items: {
3150
3327
  measurement?: {
3151
3328
  id: string;
@@ -3156,6 +3333,8 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3156
3333
  precision: number;
3157
3334
  };
3158
3335
  } | null | undefined;
3336
+ id?: string | null | undefined;
3337
+ externalId?: string | null | undefined;
3159
3338
  totalCost?: {
3160
3339
  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";
3161
3340
  amount: number;
@@ -3170,7 +3349,6 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3170
3349
  precision: number;
3171
3350
  } | null | undefined;
3172
3351
  sku: {
3173
- customAttributes?: Record<string, any> | null | undefined;
3174
3352
  trackingMeasurement?: string | null | undefined;
3175
3353
  convert?: {
3176
3354
  measurement?: string | null | undefined;
@@ -3214,6 +3392,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3214
3392
  low: number;
3215
3393
  mid: number;
3216
3394
  } | null | undefined;
3395
+ customAttributes?: Record<string, any> | null | undefined;
3217
3396
  unit: {
3218
3397
  _id: string;
3219
3398
  name: string;
@@ -3234,67 +3413,32 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3234
3413
  name: string;
3235
3414
  };
3236
3415
  code: string;
3237
- name: string;
3238
3416
  quantity: {
3239
3417
  amount: number;
3240
3418
  precision: number;
3241
3419
  };
3420
+ name: string;
3242
3421
  quantityStep: {
3243
3422
  amount: number;
3244
3423
  precision: number;
3245
3424
  };
3246
3425
  }[];
3247
- supplier: {
3248
- phoneNumber?: string | null | undefined;
3249
- email?: string | null | undefined;
3250
- _rev?: string | null | undefined;
3251
- internal?: "restaurant" | "warehouse" | null | undefined;
3252
- contactName?: string | null | undefined;
3253
- registrationNumber?: string | undefined;
3254
- supplyItems?: {
3255
- defaultCost: {
3256
- measurement?: {
3257
- id: string;
3258
- name: string;
3259
- abbrev: string;
3260
- conversion: {
3261
- amount: number;
3262
- precision: number;
3263
- };
3264
- } | null | undefined;
3265
- costPerUnit: {
3266
- 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";
3267
- amount: number;
3268
- precision: number;
3269
- };
3270
- };
3271
- skuId: string;
3272
- }[] | null | undefined;
3273
- _id: string;
3274
- name: string;
3275
- address: {
3276
- line2?: string | null | undefined;
3277
- line1: string;
3278
- state: string;
3279
- city: string;
3280
- postcode: string;
3281
- country: string;
3282
- };
3283
- };
3284
3426
  };
3427
+ _id: string;
3428
+ name: string;
3285
3429
  } | null | undefined;
3286
3430
  request?: {
3287
3431
  id: string;
3288
3432
  adjustmentIds: string[];
3289
3433
  } | null | undefined;
3290
3434
  stockSnapshotId?: string | null | undefined;
3291
- effectiveAt?: string | null | undefined;
3292
3435
  deliveryFullfillment?: {
3293
3436
  remark?: string | null | undefined;
3294
3437
  adjustment?: string | null | undefined;
3295
3438
  netSuite?: {
3296
3439
  refNo?: string | null | undefined;
3297
- id: string;
3440
+ recordType?: string | null | undefined;
3441
+ id: string | null;
3298
3442
  } | null | undefined;
3299
3443
  items: {
3300
3444
  cost?: {
@@ -3311,8 +3455,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3311
3455
  precision: number;
3312
3456
  };
3313
3457
  } | null | undefined;
3458
+ id?: string | null | undefined;
3459
+ externalId?: string | null | undefined;
3314
3460
  sku: {
3315
- customAttributes?: Record<string, any> | null | undefined;
3316
3461
  trackingMeasurement?: string | null | undefined;
3317
3462
  convert?: {
3318
3463
  measurement?: string | null | undefined;
@@ -3356,6 +3501,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3356
3501
  low: number;
3357
3502
  mid: number;
3358
3503
  } | null | undefined;
3504
+ customAttributes?: Record<string, any> | null | undefined;
3359
3505
  unit: {
3360
3506
  _id: string;
3361
3507
  name: string;
@@ -3383,95 +3529,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3383
3529
  id: string;
3384
3530
  createdAt: string;
3385
3531
  }[] | null | undefined;
3386
- status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
3387
- _id: string;
3388
- seqNumber: number;
3389
- items: {
3390
- measurement?: {
3391
- id: string;
3392
- name: string;
3393
- abbrev: string;
3394
- conversion: {
3395
- amount: number;
3396
- precision: number;
3397
- };
3398
- } | null | undefined;
3399
- totalCost?: {
3400
- 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";
3401
- amount: number;
3402
- precision: number;
3403
- } | null | undefined;
3404
- sku: {
3405
- customAttributes?: Record<string, any> | null | undefined;
3406
- trackingMeasurement?: string | null | undefined;
3407
- convert?: {
3408
- measurement?: string | null | undefined;
3409
- inventoryBindings?: {
3410
- measurement?: {
3411
- id: string;
3412
- name: string;
3413
- abbrev: string;
3414
- conversion: {
3415
- amount: number;
3416
- precision: number;
3417
- };
3418
- } | null | undefined;
3419
- type: "RECIPE" | "SKU" | "SKU_GROUP";
3420
- amount: {
3421
- amount: number;
3422
- precision: number;
3423
- };
3424
- id: string;
3425
- }[] | null | undefined;
3426
- } | null | undefined;
3427
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
3428
- defaultCost?: {
3429
- measurement?: {
3430
- id: string;
3431
- name: string;
3432
- abbrev: string;
3433
- conversion: {
3434
- amount: number;
3435
- precision: number;
3436
- };
3437
- } | null | undefined;
3438
- costPerUnit: {
3439
- 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";
3440
- amount: number;
3441
- precision: number;
3442
- };
3443
- } | null | undefined;
3444
- operationalGroup?: string | null | undefined;
3445
- thresholds?: {
3446
- low: number;
3447
- mid: number;
3448
- } | null | undefined;
3449
- unit: {
3450
- _id: string;
3451
- name: string;
3452
- abbrev: string;
3453
- precision: number;
3454
- measurements: {
3455
- id: string;
3456
- name: string;
3457
- abbrev: string;
3458
- conversion: {
3459
- amount: number;
3460
- precision: number;
3461
- };
3462
- }[];
3463
- };
3464
- code: string;
3465
- _id: string;
3466
- name: string;
3467
- };
3468
- code: string;
3469
- name: string;
3470
- quantity: {
3471
- amount: number;
3472
- precision: number;
3473
- };
3474
- }[];
3532
+ status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
3475
3533
  supplier: {
3476
3534
  phoneNumber?: string | null | undefined;
3477
3535
  email?: string | null | undefined;
@@ -3511,11 +3569,14 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3511
3569
  };
3512
3570
  deliveryOrder: {
3513
3571
  remark?: string | null | undefined;
3572
+ id?: string | null | undefined;
3514
3573
  adjustment?: string | null | undefined;
3574
+ effectiveAt?: string | null | undefined;
3515
3575
  fullfillmentId?: string | null | undefined;
3516
3576
  netSuite?: {
3517
3577
  refNo?: string | null | undefined;
3518
- id: string;
3578
+ recordType?: string | null | undefined;
3579
+ id: string | null;
3519
3580
  } | null | undefined;
3520
3581
  received: {
3521
3582
  cost?: {
@@ -3532,8 +3593,9 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3532
3593
  precision: number;
3533
3594
  };
3534
3595
  } | null | undefined;
3596
+ id?: string | null | undefined;
3597
+ externalId?: string | null | undefined;
3535
3598
  sku: {
3536
- customAttributes?: Record<string, any> | null | undefined;
3537
3599
  trackingMeasurement?: string | null | undefined;
3538
3600
  convert?: {
3539
3601
  measurement?: string | null | undefined;
@@ -3577,6 +3639,7 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3577
3639
  low: number;
3578
3640
  mid: number;
3579
3641
  } | null | undefined;
3642
+ customAttributes?: Record<string, any> | null | undefined;
3580
3643
  unit: {
3581
3644
  _id: string;
3582
3645
  name: string;
@@ -3608,6 +3671,116 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3608
3671
  createdAt: string;
3609
3672
  deliveryOrderNumber: string;
3610
3673
  }[];
3674
+ _id: string;
3675
+ seqNumber: number;
3676
+ items: {
3677
+ measurement?: {
3678
+ id: string;
3679
+ name: string;
3680
+ abbrev: string;
3681
+ conversion: {
3682
+ amount: number;
3683
+ precision: number;
3684
+ };
3685
+ } | null | undefined;
3686
+ id?: string | null | undefined;
3687
+ externalId?: string | null | undefined;
3688
+ totalCost?: {
3689
+ 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";
3690
+ amount: number;
3691
+ precision: number;
3692
+ } | null | undefined;
3693
+ sku: {
3694
+ trackingMeasurement?: string | null | undefined;
3695
+ convert?: {
3696
+ measurement?: string | null | undefined;
3697
+ inventoryBindings?: {
3698
+ measurement?: {
3699
+ id: string;
3700
+ name: string;
3701
+ abbrev: string;
3702
+ conversion: {
3703
+ amount: number;
3704
+ precision: number;
3705
+ };
3706
+ } | null | undefined;
3707
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
3708
+ amount: {
3709
+ amount: number;
3710
+ precision: number;
3711
+ };
3712
+ id: string;
3713
+ }[] | null | undefined;
3714
+ } | null | undefined;
3715
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
3716
+ defaultCost?: {
3717
+ measurement?: {
3718
+ id: string;
3719
+ name: string;
3720
+ abbrev: string;
3721
+ conversion: {
3722
+ amount: number;
3723
+ precision: number;
3724
+ };
3725
+ } | null | undefined;
3726
+ costPerUnit: {
3727
+ 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";
3728
+ amount: number;
3729
+ precision: number;
3730
+ };
3731
+ } | null | undefined;
3732
+ operationalGroup?: string | null | undefined;
3733
+ thresholds?: {
3734
+ low: number;
3735
+ mid: number;
3736
+ } | null | undefined;
3737
+ customAttributes?: Record<string, any> | null | undefined;
3738
+ unit: {
3739
+ _id: string;
3740
+ name: string;
3741
+ abbrev: string;
3742
+ precision: number;
3743
+ measurements: {
3744
+ id: string;
3745
+ name: string;
3746
+ abbrev: string;
3747
+ conversion: {
3748
+ amount: number;
3749
+ precision: number;
3750
+ };
3751
+ }[];
3752
+ };
3753
+ code: string;
3754
+ _id: string;
3755
+ name: string;
3756
+ };
3757
+ code: string;
3758
+ quantity: {
3759
+ amount: number;
3760
+ precision: number;
3761
+ };
3762
+ name: string;
3763
+ }[];
3764
+ } | null | undefined;
3765
+ netSuite?: {
3766
+ refNo?: string | null | undefined;
3767
+ recordType?: string | null | undefined;
3768
+ sync?: boolean | null | undefined;
3769
+ subsidiary?: {
3770
+ name?: string | null | undefined;
3771
+ id: string;
3772
+ } | null | undefined;
3773
+ errors?: {
3774
+ message: string;
3775
+ createdAt: string;
3776
+ }[] | null | undefined;
3777
+ missingItems?: {
3778
+ name: string;
3779
+ reason: string;
3780
+ netSuiteId: string;
3781
+ }[] | null | undefined;
3782
+ additionalInfo?: any;
3783
+ id: string | null;
3611
3784
  } | null | undefined;
3612
3785
  _id: string;
3613
3786
  from: {
@@ -3622,15 +3795,108 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
3622
3795
  processedAt: string | null;
3623
3796
  rejectedAt: string | null;
3624
3797
  adjusmentIds: string[];
3798
+ toInventoryLocation: {
3799
+ inventory?: {
3800
+ _id: string;
3801
+ updatedAt: string;
3802
+ } | null | undefined;
3803
+ type: "restaurant" | "warehouse";
3804
+ name: string;
3805
+ acceptRequest: boolean;
3806
+ dbName: string;
3807
+ doc: {
3808
+ _id: string;
3809
+ businessId: string;
3810
+ profile: {
3811
+ code?: string | null | undefined;
3812
+ _id?: string | null | undefined;
3813
+ name?: string | undefined;
3814
+ address?: {
3815
+ coordinates?: number[] | null | undefined;
3816
+ line2?: string | null | undefined;
3817
+ state: string;
3818
+ country: string;
3819
+ line1: string;
3820
+ city: string;
3821
+ postcode: string;
3822
+ } | undefined;
3823
+ email?: string | undefined;
3824
+ regNo?: string | undefined;
3825
+ sstRegNo?: string | null | undefined;
3826
+ phoneNo?: string | undefined;
3827
+ legalName?: string | null | undefined;
3828
+ discovery?: boolean | null | undefined;
3829
+ coverPhoto?: string | null | undefined;
3830
+ thumbnailPhoto?: string | null | undefined;
3831
+ description?: string | null | undefined;
3832
+ photos?: string[] | null | undefined;
3833
+ operatingHours?: {
3834
+ 0: {
3835
+ hours: {
3836
+ end: string;
3837
+ start: string;
3838
+ }[];
3839
+ enable: boolean;
3840
+ };
3841
+ 2: {
3842
+ hours: {
3843
+ end: string;
3844
+ start: string;
3845
+ }[];
3846
+ enable: boolean;
3847
+ };
3848
+ 1: {
3849
+ hours: {
3850
+ end: string;
3851
+ start: string;
3852
+ }[];
3853
+ enable: boolean;
3854
+ };
3855
+ 3: {
3856
+ hours: {
3857
+ end: string;
3858
+ start: string;
3859
+ }[];
3860
+ enable: boolean;
3861
+ };
3862
+ 4: {
3863
+ hours: {
3864
+ end: string;
3865
+ start: string;
3866
+ }[];
3867
+ enable: boolean;
3868
+ };
3869
+ 5: {
3870
+ hours: {
3871
+ end: string;
3872
+ start: string;
3873
+ }[];
3874
+ enable: boolean;
3875
+ };
3876
+ 6: {
3877
+ hours: {
3878
+ end: string;
3879
+ start: string;
3880
+ }[];
3881
+ enable: boolean;
3882
+ };
3883
+ } | null | undefined;
3884
+ tags?: string[] | null | undefined;
3885
+ url?: string | null | undefined;
3886
+ };
3887
+ };
3888
+ };
3625
3889
  }[]>;
3626
3890
  updateDateRange: (startDate: string, endDate: string) => void;
3627
- fetchData: () => Promise<void>;
3891
+ fetchData: () => Promise<void> | undefined;
3628
3892
  loading: import("vue").Ref<boolean, boolean>;
3629
3893
  transferDialogProps: import("vue").Ref<TransferDialogProps | undefined, TransferDialogProps | undefined>;
3630
3894
  promptCreateTransferDialog: (init?: Partial<FdoPurchaseOrder>) => Promise<void>;
3631
3895
  promptUpdateTransferDialog: (po: FdoPurchaseOrder) => void;
3632
3896
  transferDetailsProps: import("vue").Ref<TransferDetailsProps | undefined, TransferDetailsProps | undefined>;
3633
- promptShowTransferDetails: (purchaseOrder: FdoPurchaseOrder, poRequest?: FdoPurchaseOrderRequest) => Promise<void>;
3897
+ promptShowTransferDetails: (purchaseOrder: FdoPurchaseOrder & RevisionIdMeta, poRequest?: FdoPurchaseOrderRequest) => Promise<void>;
3634
3898
  submitAction: (po: FdoPurchaseOrder, operation: F_PURCHASE_ORDER_ACTION, transferToDbName?: string) => Promise<void>;
3899
+ xilnexImportDialogProps: import("vue").Ref<XilnexImportDialogProps | undefined, XilnexImportDialogProps | undefined>;
3900
+ promptUploadTransferDialog: () => Promise<void>;
3635
3901
  };
3636
3902
  export type ReceiveRequestFormComposable = ReturnType<typeof useReceiveRequestForm>;