@managesome/eposmatic-toolkit 0.2.431 → 0.2.432

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 (170) hide show
  1. package/lib/constants/ENUMS.d.ts +0 -289
  2. package/lib/constants/ENUMS.js +2 -393
  3. package/lib/constants/PURCHASE_ORDER.d.ts +5 -3
  4. package/lib/constants/PURCHASE_ORDER.js +58 -20
  5. package/lib/constants/WAREHOUSE_ANALYTICS.d.ts +41 -41
  6. package/lib/constants/WAREHOUSE_ANALYTICS.js +28 -28
  7. package/lib/constants/WAREHOUSE_ENUMS.d.ts +289 -0
  8. package/lib/constants/WAREHOUSE_ENUMS.js +392 -0
  9. package/lib/constants/WAREHOUSE_INVOICE.js +10 -10
  10. package/lib/constants/index.d.ts +1 -0
  11. package/lib/constants/index.js +1 -0
  12. package/lib/helpers/order/generate-purchase-order-rfq.d.ts +3 -3
  13. package/lib/helpers/order/generate-purchase-order-rfq.js +2 -2
  14. package/lib/helpers/order/generate-purchase-order.d.ts +8 -8
  15. package/lib/helpers/order/generate-purchase-order.js +2 -2
  16. package/lib/helpers/order/generate-warehouse-purchase-order-rfq.d.ts +3 -0
  17. package/lib/helpers/order/generate-warehouse-purchase-order-rfq.js +64 -0
  18. package/lib/helpers/order/generate-warehouse-purchase-order.d.ts +11 -0
  19. package/lib/helpers/order/generate-warehouse-purchase-order.js +196 -0
  20. package/lib/helpers/order/index.d.ts +2 -2
  21. package/lib/helpers/order/index.js +2 -2
  22. package/lib/helpers/store/all-purchase-orders-actions.d.ts +7 -7
  23. package/lib/helpers/store/all-purchase-orders-actions.js +2 -2
  24. package/lib/helpers/store/all-sale-orders-actions.d.ts +2 -2
  25. package/lib/helpers/store/all-warehouse-purchase-orders-actions.d.ts +13 -0
  26. package/lib/helpers/store/all-warehouse-purchase-orders-actions.js +56 -0
  27. package/lib/helpers/store/all-warehouse-sale-orders-actions.d.ts +2 -0
  28. package/lib/helpers/store/all-warehouse-sale-orders-actions.js +8 -0
  29. package/lib/helpers/store/common-purchase-order-actions.d.ts +15 -15
  30. package/lib/helpers/store/common-sale-order-actions.d.ts +5 -5
  31. package/lib/helpers/store/common-warehouse-purchase-order-actions.d.ts +31 -0
  32. package/lib/helpers/store/common-warehouse-purchase-order-actions.js +545 -0
  33. package/lib/helpers/store/common-warehouse-sale-order-actions.d.ts +5 -0
  34. package/lib/helpers/store/common-warehouse-sale-order-actions.js +65 -0
  35. package/lib/helpers/store/index.d.ts +6 -6
  36. package/lib/helpers/store/index.js +6 -6
  37. package/lib/helpers/store/purchase-order-rfq-cart-actions.d.ts +11 -11
  38. package/lib/helpers/store/purchase-order-rfq-cart-actions.js +3 -3
  39. package/lib/helpers/store/purchase-orders-cart-actions.d.ts +18 -18
  40. package/lib/helpers/store/purchase-orders-cart-actions.js +1 -1
  41. package/lib/helpers/store/warehouse-purchase-order-rfq-cart-actions.d.ts +19 -0
  42. package/lib/helpers/store/warehouse-purchase-order-rfq-cart-actions.js +373 -0
  43. package/lib/helpers/store/warehouse-purchase-orders-cart-actions.d.ts +57 -0
  44. package/lib/helpers/store/warehouse-purchase-orders-cart-actions.js +486 -0
  45. package/lib/helpers/types/index.d.ts +1 -1
  46. package/lib/helpers/types/index.js +1 -1
  47. package/lib/helpers/types/purchase-order-cart-actions.d.ts +2 -2
  48. package/lib/helpers/types/warehouse-purchase-order-cart-actions.d.ts +26 -0
  49. package/lib/helpers/types/warehouse-purchase-order-cart-actions.js +2 -0
  50. package/lib/helpers/types/workers.d.ts +18 -18
  51. package/lib/helpers/utils/index.d.ts +8 -8
  52. package/lib/helpers/utils/index.js +8 -11
  53. package/lib/helpers/utils/invoice-x-report-helpers.d.ts +2 -2
  54. package/lib/helpers/utils/invoice-x-report-helpers.js +14 -14
  55. package/lib/helpers/utils/purchase-order-engine.d.ts +4 -4
  56. package/lib/helpers/utils/purchase-order-receipt-engine.d.ts +5 -5
  57. package/lib/helpers/utils/purchase-order-receipt-engine.js +2 -2
  58. package/lib/helpers/utils/purchase-order-x-report-helpers.js +2 -2
  59. package/lib/helpers/utils/sale-x-report-helpers.js +2 -2
  60. package/lib/helpers/utils/void-purchase-order-items-helpers.d.ts +3 -3
  61. package/lib/helpers/utils/void-purchase-order-items-report-helpers.d.ts +2 -2
  62. package/lib/helpers/utils/void-warehouse-invoice-items-helpers.d.ts +3 -3
  63. package/lib/helpers/utils/void-warehouse-invoice-items-helpers.js +2 -2
  64. package/lib/helpers/utils/void-warehouse-invoice-items-report-helpers.d.ts +5 -5
  65. package/lib/helpers/utils/warehouse-catalog-conversion.d.ts +3 -3
  66. package/lib/helpers/utils/warehouse-catalog-conversion.js +9 -7
  67. package/lib/helpers/utils/warehouse-invoice-order-engine.js +1 -1
  68. package/lib/helpers/utils/warehouse-invoice-x-report-helpers.d.ts +58 -0
  69. package/lib/helpers/utils/warehouse-invoice-x-report-helpers.js +1432 -0
  70. package/lib/helpers/utils/warehouse-purchase-order-engine.d.ts +9 -0
  71. package/lib/helpers/utils/warehouse-purchase-order-engine.js +34 -0
  72. package/lib/helpers/utils/warehouse-purchase-order-receipt-engine.d.ts +149 -0
  73. package/lib/helpers/utils/warehouse-purchase-order-receipt-engine.js +214 -0
  74. package/lib/helpers/utils/warehouse-purchase-order-x-report-helpers.d.ts +58 -0
  75. package/lib/helpers/utils/warehouse-purchase-order-x-report-helpers.js +1440 -0
  76. package/lib/helpers/utils/warehouse-sale-order-x-report-helpers.d.ts +30 -0
  77. package/lib/helpers/utils/warehouse-sale-order-x-report-helpers.js +2 -0
  78. package/lib/helpers/utils/warehouse-sale-x-report-helpers.d.ts +58 -0
  79. package/lib/helpers/utils/warehouse-sale-x-report-helpers.js +1456 -0
  80. package/lib/helpers/utils/warehouse-void-purchase-order-items-helpers.d.ts +3 -0
  81. package/lib/helpers/utils/warehouse-void-purchase-order-items-helpers.js +38 -0
  82. package/lib/helpers/utils/warehouse-void-purchase-order-items-report-helpers.d.ts +13 -0
  83. package/lib/helpers/utils/warehouse-void-purchase-order-items-report-helpers.js +22 -0
  84. package/lib/schemas/models/gift_cards.d.ts +108 -108
  85. package/lib/schemas/models/halfhalf_setup.d.ts +3 -3
  86. package/lib/schemas/models/index.d.ts +7 -7
  87. package/lib/schemas/models/index.js +7 -7
  88. package/lib/schemas/models/internal_invoices.d.ts +6 -6
  89. package/lib/schemas/models/inventory_lot_serial_numbers.d.ts +6 -6
  90. package/lib/schemas/models/inventory_transactions.d.ts +3 -3
  91. package/lib/schemas/models/item_transactions.d.ts +6 -6
  92. package/lib/schemas/models/offers.d.ts +146 -146
  93. package/lib/schemas/models/orders.d.ts +2573 -2573
  94. package/lib/schemas/models/printer_settings.d.ts +12 -12
  95. package/lib/schemas/models/reservations.d.ts +6 -6
  96. package/lib/schemas/models/rewards_usage.d.ts +6 -6
  97. package/lib/schemas/models/riders.d.ts +3 -3
  98. package/lib/schemas/models/tenants.d.ts +135 -135
  99. package/lib/schemas/models/void_order_items.d.ts +15 -15
  100. package/lib/schemas/models/void_warehouse_invoice_items.d.ts +25 -25
  101. package/lib/schemas/models/void_warehouse_invoice_items.js +2 -2
  102. package/lib/schemas/models/vouchers.d.ts +9 -9
  103. package/lib/schemas/models/warehouse-activity-logs.d.ts +13 -13
  104. package/lib/schemas/models/warehouse-activity-logs.js +4 -4
  105. package/lib/schemas/models/warehouse_categories.d.ts +4 -4
  106. package/lib/schemas/models/warehouse_categories.js +2 -2
  107. package/lib/schemas/models/warehouse_communications.d.ts +21 -21
  108. package/lib/schemas/models/warehouse_internal_movements.d.ts +33 -33
  109. package/lib/schemas/models/warehouse_internal_movements.js +8 -8
  110. package/lib/schemas/models/warehouse_inventory_lot_serial_numbers.d.ts +154 -0
  111. package/lib/schemas/models/warehouse_inventory_lot_serial_numbers.js +193 -0
  112. package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
  113. package/lib/schemas/models/warehouse_invoices.d.ts +351 -351
  114. package/lib/schemas/models/warehouse_item_transactions.d.ts +9 -9
  115. package/lib/schemas/models/warehouse_items.d.ts +13 -13
  116. package/lib/schemas/models/warehouse_items.js +2 -2
  117. package/lib/schemas/models/warehouse_operational_roles.d.ts +3 -3
  118. package/lib/schemas/models/warehouse_purchase_order_receipts.d.ts +165 -0
  119. package/lib/schemas/models/warehouse_purchase_order_receipts.js +151 -0
  120. package/lib/schemas/models/warehouse_purchase_order_rfqs.d.ts +1959 -0
  121. package/lib/schemas/models/warehouse_purchase_order_rfqs.js +328 -0
  122. package/lib/schemas/models/warehouse_purchase_order_vendor_returns.d.ts +234 -0
  123. package/lib/schemas/models/warehouse_purchase_order_vendor_returns.js +188 -0
  124. package/lib/schemas/models/warehouse_purchase_orders.d.ts +2678 -0
  125. package/lib/schemas/models/warehouse_purchase_orders.js +336 -0
  126. package/lib/schemas/models/warehouse_sale_deliveries.d.ts +15 -15
  127. package/lib/schemas/models/warehouse_sale_deliveries.js +7 -4
  128. package/lib/schemas/models/warehouse_sale_invoices.d.ts +30 -30
  129. package/lib/schemas/models/warehouse_sale_invoices.js +8 -5
  130. package/lib/schemas/models/warehouse_sale_order_rfqs.d.ts +362 -362
  131. package/lib/schemas/models/warehouse_sale_order_rfqs.js +5 -5
  132. package/lib/schemas/models/warehouse_sale_orders.d.ts +367 -367
  133. package/lib/schemas/models/warehouse_sale_orders.js +5 -5
  134. package/lib/schemas/models/warehouse_void_invoice_items.d.ts +176 -0
  135. package/lib/schemas/models/warehouse_void_invoice_items.js +176 -0
  136. package/lib/schemas/models/warehouse_void_purchase_order_items.d.ts +176 -0
  137. package/lib/schemas/models/warehouse_void_purchase_order_items.js +177 -0
  138. package/lib/schemas/models/warehouses.d.ts +52 -52
  139. package/lib/schemas/models/warehouses.js +2 -2
  140. package/lib/schemas/types/index.d.ts +9 -9
  141. package/lib/schemas/types/index.js +9 -9
  142. package/lib/schemas/types/inventory_lot_serial_numbers.d.ts +5 -5
  143. package/lib/schemas/types/warehouse-activity-logs.d.ts +7 -7
  144. package/lib/schemas/types/warehouse_categories.d.ts +2 -2
  145. package/lib/schemas/types/warehouse_internal_movements.d.ts +9 -9
  146. package/lib/schemas/types/warehouse_inventory_lot_serial_numbers.d.ts +85 -0
  147. package/lib/schemas/types/warehouse_inventory_lot_serial_numbers.js +4 -0
  148. package/lib/schemas/types/warehouse_items.d.ts +2 -2
  149. package/lib/schemas/types/warehouse_purchase_order_common.d.ts +39 -0
  150. package/lib/schemas/types/warehouse_purchase_order_common.js +2 -0
  151. package/lib/schemas/types/warehouse_purchase_order_receipts.d.ts +39 -0
  152. package/lib/schemas/types/warehouse_purchase_order_receipts.js +21 -0
  153. package/lib/schemas/types/warehouse_purchase_order_rfqs.d.ts +33 -0
  154. package/lib/schemas/types/warehouse_purchase_order_rfqs.js +2 -0
  155. package/lib/schemas/types/warehouse_purchase_order_vendor_returns.d.ts +48 -0
  156. package/lib/schemas/types/warehouse_purchase_order_vendor_returns.js +2 -0
  157. package/lib/schemas/types/warehouse_purchase_orders.d.ts +33 -0
  158. package/lib/schemas/types/warehouse_purchase_orders.js +2 -0
  159. package/lib/schemas/types/warehouse_sale_deliveries.d.ts +29 -29
  160. package/lib/schemas/types/warehouse_sale_invoices.d.ts +17 -17
  161. package/lib/schemas/types/warehouse_sale_order_common.d.ts +39 -0
  162. package/lib/schemas/types/warehouse_sale_order_common.js +2 -0
  163. package/lib/schemas/types/warehouse_sale_order_rfqs.d.ts +7 -7
  164. package/lib/schemas/types/warehouse_sale_orders.d.ts +7 -7
  165. package/lib/schemas/types/warehouse_void_invoice_items.d.ts +37 -0
  166. package/lib/schemas/types/warehouse_void_invoice_items.js +2 -0
  167. package/lib/schemas/types/warehouse_void_purchase_order_items.d.ts +37 -0
  168. package/lib/schemas/types/warehouse_void_purchase_order_items.js +2 -0
  169. package/lib/schemas/types/warehouses.d.ts +2 -2
  170. package/package.json +1 -1
@@ -0,0 +1,1959 @@
1
+ import { Schema } from 'mongoose';
2
+ import { WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM, WAREHOUSE_RFQ_VENDOR_STATUS_ENUM } from '../../constants';
3
+ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
4
+ timestamps: true;
5
+ versionKey: false;
6
+ minimize: false;
7
+ }, {
8
+ createdAt: NativeDate;
9
+ updatedAt: NativeDate;
10
+ } & {
11
+ _id: import("mongoose").Types.ObjectId;
12
+ createdAt_mins: number;
13
+ createdAt: NativeDate;
14
+ updatedAt: NativeDate;
15
+ categories: import("mongoose").Types.DocumentArray<{
16
+ name: string;
17
+ category_id: import("mongoose").Types.ObjectId;
18
+ items: import("mongoose").Types.DocumentArray<{
19
+ _id: import("mongoose").Types.ObjectId;
20
+ name: string;
21
+ price: number;
22
+ subtotal: number;
23
+ item_id: import("mongoose").Types.ObjectId;
24
+ quantity: number;
25
+ _net_amount: number;
26
+ _gross_amount: number;
27
+ _gst_amount: number;
28
+ _discount_amount: number;
29
+ special_instructions?: string | null | undefined;
30
+ is_ready?: boolean | null | undefined;
31
+ void_reason?: string | null | undefined;
32
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
33
+ _id: import("mongoose").Types.ObjectId;
34
+ name: string;
35
+ price: number;
36
+ subtotal: number;
37
+ item_id: import("mongoose").Types.ObjectId;
38
+ quantity: number;
39
+ _net_amount: number;
40
+ _gross_amount: number;
41
+ _gst_amount: number;
42
+ _discount_amount: number;
43
+ special_instructions?: string | null | undefined;
44
+ is_ready?: boolean | null | undefined;
45
+ void_reason?: string | null | undefined;
46
+ }> & {
47
+ _id: import("mongoose").Types.ObjectId;
48
+ name: string;
49
+ price: number;
50
+ subtotal: number;
51
+ item_id: import("mongoose").Types.ObjectId;
52
+ quantity: number;
53
+ _net_amount: number;
54
+ _gross_amount: number;
55
+ _gst_amount: number;
56
+ _discount_amount: number;
57
+ special_instructions?: string | null | undefined;
58
+ is_ready?: boolean | null | undefined;
59
+ void_reason?: string | null | undefined;
60
+ }>;
61
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
62
+ name: string;
63
+ category_id: import("mongoose").Types.ObjectId;
64
+ items: import("mongoose").Types.DocumentArray<{
65
+ _id: import("mongoose").Types.ObjectId;
66
+ name: string;
67
+ price: number;
68
+ subtotal: number;
69
+ item_id: import("mongoose").Types.ObjectId;
70
+ quantity: number;
71
+ _net_amount: number;
72
+ _gross_amount: number;
73
+ _gst_amount: number;
74
+ _discount_amount: number;
75
+ special_instructions?: string | null | undefined;
76
+ is_ready?: boolean | null | undefined;
77
+ void_reason?: string | null | undefined;
78
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
79
+ _id: import("mongoose").Types.ObjectId;
80
+ name: string;
81
+ price: number;
82
+ subtotal: number;
83
+ item_id: import("mongoose").Types.ObjectId;
84
+ quantity: number;
85
+ _net_amount: number;
86
+ _gross_amount: number;
87
+ _gst_amount: number;
88
+ _discount_amount: number;
89
+ special_instructions?: string | null | undefined;
90
+ is_ready?: boolean | null | undefined;
91
+ void_reason?: string | null | undefined;
92
+ }> & {
93
+ _id: import("mongoose").Types.ObjectId;
94
+ name: string;
95
+ price: number;
96
+ subtotal: number;
97
+ item_id: import("mongoose").Types.ObjectId;
98
+ quantity: number;
99
+ _net_amount: number;
100
+ _gross_amount: number;
101
+ _gst_amount: number;
102
+ _discount_amount: number;
103
+ special_instructions?: string | null | undefined;
104
+ is_ready?: boolean | null | undefined;
105
+ void_reason?: string | null | undefined;
106
+ }>;
107
+ }> & {
108
+ name: string;
109
+ category_id: import("mongoose").Types.ObjectId;
110
+ items: import("mongoose").Types.DocumentArray<{
111
+ _id: import("mongoose").Types.ObjectId;
112
+ name: string;
113
+ price: number;
114
+ subtotal: number;
115
+ item_id: import("mongoose").Types.ObjectId;
116
+ quantity: number;
117
+ _net_amount: number;
118
+ _gross_amount: number;
119
+ _gst_amount: number;
120
+ _discount_amount: number;
121
+ special_instructions?: string | null | undefined;
122
+ is_ready?: boolean | null | undefined;
123
+ void_reason?: string | null | undefined;
124
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
125
+ _id: import("mongoose").Types.ObjectId;
126
+ name: string;
127
+ price: number;
128
+ subtotal: number;
129
+ item_id: import("mongoose").Types.ObjectId;
130
+ quantity: number;
131
+ _net_amount: number;
132
+ _gross_amount: number;
133
+ _gst_amount: number;
134
+ _discount_amount: number;
135
+ special_instructions?: string | null | undefined;
136
+ is_ready?: boolean | null | undefined;
137
+ void_reason?: string | null | undefined;
138
+ }> & {
139
+ _id: import("mongoose").Types.ObjectId;
140
+ name: string;
141
+ price: number;
142
+ subtotal: number;
143
+ item_id: import("mongoose").Types.ObjectId;
144
+ quantity: number;
145
+ _net_amount: number;
146
+ _gross_amount: number;
147
+ _gst_amount: number;
148
+ _discount_amount: number;
149
+ special_instructions?: string | null | undefined;
150
+ is_ready?: boolean | null | undefined;
151
+ void_reason?: string | null | undefined;
152
+ }>;
153
+ }>;
154
+ price: number;
155
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
156
+ amount_earned: number;
157
+ grand_total: number;
158
+ iterations: import("mongoose").Types.DocumentArray<{
159
+ updatedAt: NativeDate;
160
+ categories: import("mongoose").Types.DocumentArray<{
161
+ name: string;
162
+ category_id: import("mongoose").Types.ObjectId;
163
+ items: import("mongoose").Types.DocumentArray<{
164
+ _id: import("mongoose").Types.ObjectId;
165
+ name: string;
166
+ price: number;
167
+ subtotal: number;
168
+ item_id: import("mongoose").Types.ObjectId;
169
+ quantity: number;
170
+ _net_amount: number;
171
+ _gross_amount: number;
172
+ _gst_amount: number;
173
+ _discount_amount: number;
174
+ special_instructions?: string | null | undefined;
175
+ is_ready?: boolean | null | undefined;
176
+ void_reason?: string | null | undefined;
177
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
178
+ _id: import("mongoose").Types.ObjectId;
179
+ name: string;
180
+ price: number;
181
+ subtotal: number;
182
+ item_id: import("mongoose").Types.ObjectId;
183
+ quantity: number;
184
+ _net_amount: number;
185
+ _gross_amount: number;
186
+ _gst_amount: number;
187
+ _discount_amount: number;
188
+ special_instructions?: string | null | undefined;
189
+ is_ready?: boolean | null | undefined;
190
+ void_reason?: string | null | undefined;
191
+ }> & {
192
+ _id: import("mongoose").Types.ObjectId;
193
+ name: string;
194
+ price: number;
195
+ subtotal: number;
196
+ item_id: import("mongoose").Types.ObjectId;
197
+ quantity: number;
198
+ _net_amount: number;
199
+ _gross_amount: number;
200
+ _gst_amount: number;
201
+ _discount_amount: number;
202
+ special_instructions?: string | null | undefined;
203
+ is_ready?: boolean | null | undefined;
204
+ void_reason?: string | null | undefined;
205
+ }>;
206
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
207
+ name: string;
208
+ category_id: import("mongoose").Types.ObjectId;
209
+ items: import("mongoose").Types.DocumentArray<{
210
+ _id: import("mongoose").Types.ObjectId;
211
+ name: string;
212
+ price: number;
213
+ subtotal: number;
214
+ item_id: import("mongoose").Types.ObjectId;
215
+ quantity: number;
216
+ _net_amount: number;
217
+ _gross_amount: number;
218
+ _gst_amount: number;
219
+ _discount_amount: number;
220
+ special_instructions?: string | null | undefined;
221
+ is_ready?: boolean | null | undefined;
222
+ void_reason?: string | null | undefined;
223
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
224
+ _id: import("mongoose").Types.ObjectId;
225
+ name: string;
226
+ price: number;
227
+ subtotal: number;
228
+ item_id: import("mongoose").Types.ObjectId;
229
+ quantity: number;
230
+ _net_amount: number;
231
+ _gross_amount: number;
232
+ _gst_amount: number;
233
+ _discount_amount: number;
234
+ special_instructions?: string | null | undefined;
235
+ is_ready?: boolean | null | undefined;
236
+ void_reason?: string | null | undefined;
237
+ }> & {
238
+ _id: import("mongoose").Types.ObjectId;
239
+ name: string;
240
+ price: number;
241
+ subtotal: number;
242
+ item_id: import("mongoose").Types.ObjectId;
243
+ quantity: number;
244
+ _net_amount: number;
245
+ _gross_amount: number;
246
+ _gst_amount: number;
247
+ _discount_amount: number;
248
+ special_instructions?: string | null | undefined;
249
+ is_ready?: boolean | null | undefined;
250
+ void_reason?: string | null | undefined;
251
+ }>;
252
+ }> & {
253
+ name: string;
254
+ category_id: import("mongoose").Types.ObjectId;
255
+ items: import("mongoose").Types.DocumentArray<{
256
+ _id: import("mongoose").Types.ObjectId;
257
+ name: string;
258
+ price: number;
259
+ subtotal: number;
260
+ item_id: import("mongoose").Types.ObjectId;
261
+ quantity: number;
262
+ _net_amount: number;
263
+ _gross_amount: number;
264
+ _gst_amount: number;
265
+ _discount_amount: number;
266
+ special_instructions?: string | null | undefined;
267
+ is_ready?: boolean | null | undefined;
268
+ void_reason?: string | null | undefined;
269
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
270
+ _id: import("mongoose").Types.ObjectId;
271
+ name: string;
272
+ price: number;
273
+ subtotal: number;
274
+ item_id: import("mongoose").Types.ObjectId;
275
+ quantity: number;
276
+ _net_amount: number;
277
+ _gross_amount: number;
278
+ _gst_amount: number;
279
+ _discount_amount: number;
280
+ special_instructions?: string | null | undefined;
281
+ is_ready?: boolean | null | undefined;
282
+ void_reason?: string | null | undefined;
283
+ }> & {
284
+ _id: import("mongoose").Types.ObjectId;
285
+ name: string;
286
+ price: number;
287
+ subtotal: number;
288
+ item_id: import("mongoose").Types.ObjectId;
289
+ quantity: number;
290
+ _net_amount: number;
291
+ _gross_amount: number;
292
+ _gst_amount: number;
293
+ _discount_amount: number;
294
+ special_instructions?: string | null | undefined;
295
+ is_ready?: boolean | null | undefined;
296
+ void_reason?: string | null | undefined;
297
+ }>;
298
+ }>;
299
+ price: number;
300
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
301
+ amount_earned: number;
302
+ grand_total: number;
303
+ staff_details: {
304
+ staff_id: string;
305
+ staff_name?: string | null | undefined;
306
+ staff_mobile?: string | null | undefined;
307
+ staff_email?: string | null | undefined;
308
+ };
309
+ special_instructions?: string | null | undefined;
310
+ tax_number?: string | null | undefined;
311
+ is_gst_inclusive?: boolean | null | undefined;
312
+ gst?: number | null | undefined;
313
+ gst_amount?: number | null | undefined;
314
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
315
+ updatedAt: NativeDate;
316
+ categories: import("mongoose").Types.DocumentArray<{
317
+ name: string;
318
+ category_id: import("mongoose").Types.ObjectId;
319
+ items: import("mongoose").Types.DocumentArray<{
320
+ _id: import("mongoose").Types.ObjectId;
321
+ name: string;
322
+ price: number;
323
+ subtotal: number;
324
+ item_id: import("mongoose").Types.ObjectId;
325
+ quantity: number;
326
+ _net_amount: number;
327
+ _gross_amount: number;
328
+ _gst_amount: number;
329
+ _discount_amount: number;
330
+ special_instructions?: string | null | undefined;
331
+ is_ready?: boolean | null | undefined;
332
+ void_reason?: string | null | undefined;
333
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
334
+ _id: import("mongoose").Types.ObjectId;
335
+ name: string;
336
+ price: number;
337
+ subtotal: number;
338
+ item_id: import("mongoose").Types.ObjectId;
339
+ quantity: number;
340
+ _net_amount: number;
341
+ _gross_amount: number;
342
+ _gst_amount: number;
343
+ _discount_amount: number;
344
+ special_instructions?: string | null | undefined;
345
+ is_ready?: boolean | null | undefined;
346
+ void_reason?: string | null | undefined;
347
+ }> & {
348
+ _id: import("mongoose").Types.ObjectId;
349
+ name: string;
350
+ price: number;
351
+ subtotal: number;
352
+ item_id: import("mongoose").Types.ObjectId;
353
+ quantity: number;
354
+ _net_amount: number;
355
+ _gross_amount: number;
356
+ _gst_amount: number;
357
+ _discount_amount: number;
358
+ special_instructions?: string | null | undefined;
359
+ is_ready?: boolean | null | undefined;
360
+ void_reason?: string | null | undefined;
361
+ }>;
362
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
363
+ name: string;
364
+ category_id: import("mongoose").Types.ObjectId;
365
+ items: import("mongoose").Types.DocumentArray<{
366
+ _id: import("mongoose").Types.ObjectId;
367
+ name: string;
368
+ price: number;
369
+ subtotal: number;
370
+ item_id: import("mongoose").Types.ObjectId;
371
+ quantity: number;
372
+ _net_amount: number;
373
+ _gross_amount: number;
374
+ _gst_amount: number;
375
+ _discount_amount: number;
376
+ special_instructions?: string | null | undefined;
377
+ is_ready?: boolean | null | undefined;
378
+ void_reason?: string | null | undefined;
379
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
380
+ _id: import("mongoose").Types.ObjectId;
381
+ name: string;
382
+ price: number;
383
+ subtotal: number;
384
+ item_id: import("mongoose").Types.ObjectId;
385
+ quantity: number;
386
+ _net_amount: number;
387
+ _gross_amount: number;
388
+ _gst_amount: number;
389
+ _discount_amount: number;
390
+ special_instructions?: string | null | undefined;
391
+ is_ready?: boolean | null | undefined;
392
+ void_reason?: string | null | undefined;
393
+ }> & {
394
+ _id: import("mongoose").Types.ObjectId;
395
+ name: string;
396
+ price: number;
397
+ subtotal: number;
398
+ item_id: import("mongoose").Types.ObjectId;
399
+ quantity: number;
400
+ _net_amount: number;
401
+ _gross_amount: number;
402
+ _gst_amount: number;
403
+ _discount_amount: number;
404
+ special_instructions?: string | null | undefined;
405
+ is_ready?: boolean | null | undefined;
406
+ void_reason?: string | null | undefined;
407
+ }>;
408
+ }> & {
409
+ name: string;
410
+ category_id: import("mongoose").Types.ObjectId;
411
+ items: import("mongoose").Types.DocumentArray<{
412
+ _id: import("mongoose").Types.ObjectId;
413
+ name: string;
414
+ price: number;
415
+ subtotal: number;
416
+ item_id: import("mongoose").Types.ObjectId;
417
+ quantity: number;
418
+ _net_amount: number;
419
+ _gross_amount: number;
420
+ _gst_amount: number;
421
+ _discount_amount: number;
422
+ special_instructions?: string | null | undefined;
423
+ is_ready?: boolean | null | undefined;
424
+ void_reason?: string | null | undefined;
425
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
426
+ _id: import("mongoose").Types.ObjectId;
427
+ name: string;
428
+ price: number;
429
+ subtotal: number;
430
+ item_id: import("mongoose").Types.ObjectId;
431
+ quantity: number;
432
+ _net_amount: number;
433
+ _gross_amount: number;
434
+ _gst_amount: number;
435
+ _discount_amount: number;
436
+ special_instructions?: string | null | undefined;
437
+ is_ready?: boolean | null | undefined;
438
+ void_reason?: string | null | undefined;
439
+ }> & {
440
+ _id: import("mongoose").Types.ObjectId;
441
+ name: string;
442
+ price: number;
443
+ subtotal: number;
444
+ item_id: import("mongoose").Types.ObjectId;
445
+ quantity: number;
446
+ _net_amount: number;
447
+ _gross_amount: number;
448
+ _gst_amount: number;
449
+ _discount_amount: number;
450
+ special_instructions?: string | null | undefined;
451
+ is_ready?: boolean | null | undefined;
452
+ void_reason?: string | null | undefined;
453
+ }>;
454
+ }>;
455
+ price: number;
456
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
457
+ amount_earned: number;
458
+ grand_total: number;
459
+ staff_details: {
460
+ staff_id: string;
461
+ staff_name?: string | null | undefined;
462
+ staff_mobile?: string | null | undefined;
463
+ staff_email?: string | null | undefined;
464
+ };
465
+ special_instructions?: string | null | undefined;
466
+ tax_number?: string | null | undefined;
467
+ is_gst_inclusive?: boolean | null | undefined;
468
+ gst?: number | null | undefined;
469
+ gst_amount?: number | null | undefined;
470
+ }> & {
471
+ updatedAt: NativeDate;
472
+ categories: import("mongoose").Types.DocumentArray<{
473
+ name: string;
474
+ category_id: import("mongoose").Types.ObjectId;
475
+ items: import("mongoose").Types.DocumentArray<{
476
+ _id: import("mongoose").Types.ObjectId;
477
+ name: string;
478
+ price: number;
479
+ subtotal: number;
480
+ item_id: import("mongoose").Types.ObjectId;
481
+ quantity: number;
482
+ _net_amount: number;
483
+ _gross_amount: number;
484
+ _gst_amount: number;
485
+ _discount_amount: number;
486
+ special_instructions?: string | null | undefined;
487
+ is_ready?: boolean | null | undefined;
488
+ void_reason?: string | null | undefined;
489
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
490
+ _id: import("mongoose").Types.ObjectId;
491
+ name: string;
492
+ price: number;
493
+ subtotal: number;
494
+ item_id: import("mongoose").Types.ObjectId;
495
+ quantity: number;
496
+ _net_amount: number;
497
+ _gross_amount: number;
498
+ _gst_amount: number;
499
+ _discount_amount: number;
500
+ special_instructions?: string | null | undefined;
501
+ is_ready?: boolean | null | undefined;
502
+ void_reason?: string | null | undefined;
503
+ }> & {
504
+ _id: import("mongoose").Types.ObjectId;
505
+ name: string;
506
+ price: number;
507
+ subtotal: number;
508
+ item_id: import("mongoose").Types.ObjectId;
509
+ quantity: number;
510
+ _net_amount: number;
511
+ _gross_amount: number;
512
+ _gst_amount: number;
513
+ _discount_amount: number;
514
+ special_instructions?: string | null | undefined;
515
+ is_ready?: boolean | null | undefined;
516
+ void_reason?: string | null | undefined;
517
+ }>;
518
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
519
+ name: string;
520
+ category_id: import("mongoose").Types.ObjectId;
521
+ items: import("mongoose").Types.DocumentArray<{
522
+ _id: import("mongoose").Types.ObjectId;
523
+ name: string;
524
+ price: number;
525
+ subtotal: number;
526
+ item_id: import("mongoose").Types.ObjectId;
527
+ quantity: number;
528
+ _net_amount: number;
529
+ _gross_amount: number;
530
+ _gst_amount: number;
531
+ _discount_amount: number;
532
+ special_instructions?: string | null | undefined;
533
+ is_ready?: boolean | null | undefined;
534
+ void_reason?: string | null | undefined;
535
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
536
+ _id: import("mongoose").Types.ObjectId;
537
+ name: string;
538
+ price: number;
539
+ subtotal: number;
540
+ item_id: import("mongoose").Types.ObjectId;
541
+ quantity: number;
542
+ _net_amount: number;
543
+ _gross_amount: number;
544
+ _gst_amount: number;
545
+ _discount_amount: number;
546
+ special_instructions?: string | null | undefined;
547
+ is_ready?: boolean | null | undefined;
548
+ void_reason?: string | null | undefined;
549
+ }> & {
550
+ _id: import("mongoose").Types.ObjectId;
551
+ name: string;
552
+ price: number;
553
+ subtotal: number;
554
+ item_id: import("mongoose").Types.ObjectId;
555
+ quantity: number;
556
+ _net_amount: number;
557
+ _gross_amount: number;
558
+ _gst_amount: number;
559
+ _discount_amount: number;
560
+ special_instructions?: string | null | undefined;
561
+ is_ready?: boolean | null | undefined;
562
+ void_reason?: string | null | undefined;
563
+ }>;
564
+ }> & {
565
+ name: string;
566
+ category_id: import("mongoose").Types.ObjectId;
567
+ items: import("mongoose").Types.DocumentArray<{
568
+ _id: import("mongoose").Types.ObjectId;
569
+ name: string;
570
+ price: number;
571
+ subtotal: number;
572
+ item_id: import("mongoose").Types.ObjectId;
573
+ quantity: number;
574
+ _net_amount: number;
575
+ _gross_amount: number;
576
+ _gst_amount: number;
577
+ _discount_amount: number;
578
+ special_instructions?: string | null | undefined;
579
+ is_ready?: boolean | null | undefined;
580
+ void_reason?: string | null | undefined;
581
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
582
+ _id: import("mongoose").Types.ObjectId;
583
+ name: string;
584
+ price: number;
585
+ subtotal: number;
586
+ item_id: import("mongoose").Types.ObjectId;
587
+ quantity: number;
588
+ _net_amount: number;
589
+ _gross_amount: number;
590
+ _gst_amount: number;
591
+ _discount_amount: number;
592
+ special_instructions?: string | null | undefined;
593
+ is_ready?: boolean | null | undefined;
594
+ void_reason?: string | null | undefined;
595
+ }> & {
596
+ _id: import("mongoose").Types.ObjectId;
597
+ name: string;
598
+ price: number;
599
+ subtotal: number;
600
+ item_id: import("mongoose").Types.ObjectId;
601
+ quantity: number;
602
+ _net_amount: number;
603
+ _gross_amount: number;
604
+ _gst_amount: number;
605
+ _discount_amount: number;
606
+ special_instructions?: string | null | undefined;
607
+ is_ready?: boolean | null | undefined;
608
+ void_reason?: string | null | undefined;
609
+ }>;
610
+ }>;
611
+ price: number;
612
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
613
+ amount_earned: number;
614
+ grand_total: number;
615
+ staff_details: {
616
+ staff_id: string;
617
+ staff_name?: string | null | undefined;
618
+ staff_mobile?: string | null | undefined;
619
+ staff_email?: string | null | undefined;
620
+ };
621
+ special_instructions?: string | null | undefined;
622
+ tax_number?: string | null | undefined;
623
+ is_gst_inclusive?: boolean | null | undefined;
624
+ gst?: number | null | undefined;
625
+ gst_amount?: number | null | undefined;
626
+ }>;
627
+ is_deleted: boolean;
628
+ order_status_updated_at: NativeDate;
629
+ warehouse_id: string;
630
+ staff_details: {
631
+ staff_id: string;
632
+ staff_name?: string | null | undefined;
633
+ staff_mobile?: string | null | undefined;
634
+ staff_email?: string | null | undefined;
635
+ };
636
+ payment_terms: number;
637
+ order_number?: number | null | undefined;
638
+ cancel_reason?: string | null | undefined;
639
+ special_instructions?: string | null | undefined;
640
+ tax_number?: string | null | undefined;
641
+ delete_reason?: string | null | undefined;
642
+ is_reopened?: boolean | null | undefined;
643
+ is_gst_inclusive?: boolean | null | undefined;
644
+ gst?: number | null | undefined;
645
+ gst_amount?: number | null | undefined;
646
+ vendor_name?: string | null | undefined;
647
+ vendor_id?: import("mongoose").Types.ObjectId | null | undefined;
648
+ requested_vendors?: Map<string, {
649
+ status: WAREHOUSE_RFQ_VENDOR_STATUS_ENUM;
650
+ vendor_id: import("mongoose").Types.ObjectId;
651
+ vendor_name?: string | null | undefined;
652
+ vendor_email?: string | null | undefined;
653
+ vendor_price?: number | null | undefined;
654
+ }> | null | undefined;
655
+ expected_deadline?: string | null | undefined;
656
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
657
+ createdAt: NativeDate;
658
+ updatedAt: NativeDate;
659
+ } & {
660
+ _id: import("mongoose").Types.ObjectId;
661
+ createdAt_mins: number;
662
+ createdAt: NativeDate;
663
+ updatedAt: NativeDate;
664
+ categories: import("mongoose").Types.DocumentArray<{
665
+ name: string;
666
+ category_id: import("mongoose").Types.ObjectId;
667
+ items: import("mongoose").Types.DocumentArray<{
668
+ _id: import("mongoose").Types.ObjectId;
669
+ name: string;
670
+ price: number;
671
+ subtotal: number;
672
+ item_id: import("mongoose").Types.ObjectId;
673
+ quantity: number;
674
+ _net_amount: number;
675
+ _gross_amount: number;
676
+ _gst_amount: number;
677
+ _discount_amount: number;
678
+ special_instructions?: string | null | undefined;
679
+ is_ready?: boolean | null | undefined;
680
+ void_reason?: string | null | undefined;
681
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
682
+ _id: import("mongoose").Types.ObjectId;
683
+ name: string;
684
+ price: number;
685
+ subtotal: number;
686
+ item_id: import("mongoose").Types.ObjectId;
687
+ quantity: number;
688
+ _net_amount: number;
689
+ _gross_amount: number;
690
+ _gst_amount: number;
691
+ _discount_amount: number;
692
+ special_instructions?: string | null | undefined;
693
+ is_ready?: boolean | null | undefined;
694
+ void_reason?: string | null | undefined;
695
+ }> & {
696
+ _id: import("mongoose").Types.ObjectId;
697
+ name: string;
698
+ price: number;
699
+ subtotal: number;
700
+ item_id: import("mongoose").Types.ObjectId;
701
+ quantity: number;
702
+ _net_amount: number;
703
+ _gross_amount: number;
704
+ _gst_amount: number;
705
+ _discount_amount: number;
706
+ special_instructions?: string | null | undefined;
707
+ is_ready?: boolean | null | undefined;
708
+ void_reason?: string | null | undefined;
709
+ }>;
710
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
711
+ name: string;
712
+ category_id: import("mongoose").Types.ObjectId;
713
+ items: import("mongoose").Types.DocumentArray<{
714
+ _id: import("mongoose").Types.ObjectId;
715
+ name: string;
716
+ price: number;
717
+ subtotal: number;
718
+ item_id: import("mongoose").Types.ObjectId;
719
+ quantity: number;
720
+ _net_amount: number;
721
+ _gross_amount: number;
722
+ _gst_amount: number;
723
+ _discount_amount: number;
724
+ special_instructions?: string | null | undefined;
725
+ is_ready?: boolean | null | undefined;
726
+ void_reason?: string | null | undefined;
727
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
728
+ _id: import("mongoose").Types.ObjectId;
729
+ name: string;
730
+ price: number;
731
+ subtotal: number;
732
+ item_id: import("mongoose").Types.ObjectId;
733
+ quantity: number;
734
+ _net_amount: number;
735
+ _gross_amount: number;
736
+ _gst_amount: number;
737
+ _discount_amount: number;
738
+ special_instructions?: string | null | undefined;
739
+ is_ready?: boolean | null | undefined;
740
+ void_reason?: string | null | undefined;
741
+ }> & {
742
+ _id: import("mongoose").Types.ObjectId;
743
+ name: string;
744
+ price: number;
745
+ subtotal: number;
746
+ item_id: import("mongoose").Types.ObjectId;
747
+ quantity: number;
748
+ _net_amount: number;
749
+ _gross_amount: number;
750
+ _gst_amount: number;
751
+ _discount_amount: number;
752
+ special_instructions?: string | null | undefined;
753
+ is_ready?: boolean | null | undefined;
754
+ void_reason?: string | null | undefined;
755
+ }>;
756
+ }> & {
757
+ name: string;
758
+ category_id: import("mongoose").Types.ObjectId;
759
+ items: import("mongoose").Types.DocumentArray<{
760
+ _id: import("mongoose").Types.ObjectId;
761
+ name: string;
762
+ price: number;
763
+ subtotal: number;
764
+ item_id: import("mongoose").Types.ObjectId;
765
+ quantity: number;
766
+ _net_amount: number;
767
+ _gross_amount: number;
768
+ _gst_amount: number;
769
+ _discount_amount: number;
770
+ special_instructions?: string | null | undefined;
771
+ is_ready?: boolean | null | undefined;
772
+ void_reason?: string | null | undefined;
773
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
774
+ _id: import("mongoose").Types.ObjectId;
775
+ name: string;
776
+ price: number;
777
+ subtotal: number;
778
+ item_id: import("mongoose").Types.ObjectId;
779
+ quantity: number;
780
+ _net_amount: number;
781
+ _gross_amount: number;
782
+ _gst_amount: number;
783
+ _discount_amount: number;
784
+ special_instructions?: string | null | undefined;
785
+ is_ready?: boolean | null | undefined;
786
+ void_reason?: string | null | undefined;
787
+ }> & {
788
+ _id: import("mongoose").Types.ObjectId;
789
+ name: string;
790
+ price: number;
791
+ subtotal: number;
792
+ item_id: import("mongoose").Types.ObjectId;
793
+ quantity: number;
794
+ _net_amount: number;
795
+ _gross_amount: number;
796
+ _gst_amount: number;
797
+ _discount_amount: number;
798
+ special_instructions?: string | null | undefined;
799
+ is_ready?: boolean | null | undefined;
800
+ void_reason?: string | null | undefined;
801
+ }>;
802
+ }>;
803
+ price: number;
804
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
805
+ amount_earned: number;
806
+ grand_total: number;
807
+ iterations: import("mongoose").Types.DocumentArray<{
808
+ updatedAt: NativeDate;
809
+ categories: import("mongoose").Types.DocumentArray<{
810
+ name: string;
811
+ category_id: import("mongoose").Types.ObjectId;
812
+ items: import("mongoose").Types.DocumentArray<{
813
+ _id: import("mongoose").Types.ObjectId;
814
+ name: string;
815
+ price: number;
816
+ subtotal: number;
817
+ item_id: import("mongoose").Types.ObjectId;
818
+ quantity: number;
819
+ _net_amount: number;
820
+ _gross_amount: number;
821
+ _gst_amount: number;
822
+ _discount_amount: number;
823
+ special_instructions?: string | null | undefined;
824
+ is_ready?: boolean | null | undefined;
825
+ void_reason?: string | null | undefined;
826
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
827
+ _id: import("mongoose").Types.ObjectId;
828
+ name: string;
829
+ price: number;
830
+ subtotal: number;
831
+ item_id: import("mongoose").Types.ObjectId;
832
+ quantity: number;
833
+ _net_amount: number;
834
+ _gross_amount: number;
835
+ _gst_amount: number;
836
+ _discount_amount: number;
837
+ special_instructions?: string | null | undefined;
838
+ is_ready?: boolean | null | undefined;
839
+ void_reason?: string | null | undefined;
840
+ }> & {
841
+ _id: import("mongoose").Types.ObjectId;
842
+ name: string;
843
+ price: number;
844
+ subtotal: number;
845
+ item_id: import("mongoose").Types.ObjectId;
846
+ quantity: number;
847
+ _net_amount: number;
848
+ _gross_amount: number;
849
+ _gst_amount: number;
850
+ _discount_amount: number;
851
+ special_instructions?: string | null | undefined;
852
+ is_ready?: boolean | null | undefined;
853
+ void_reason?: string | null | undefined;
854
+ }>;
855
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
856
+ name: string;
857
+ category_id: import("mongoose").Types.ObjectId;
858
+ items: import("mongoose").Types.DocumentArray<{
859
+ _id: import("mongoose").Types.ObjectId;
860
+ name: string;
861
+ price: number;
862
+ subtotal: number;
863
+ item_id: import("mongoose").Types.ObjectId;
864
+ quantity: number;
865
+ _net_amount: number;
866
+ _gross_amount: number;
867
+ _gst_amount: number;
868
+ _discount_amount: number;
869
+ special_instructions?: string | null | undefined;
870
+ is_ready?: boolean | null | undefined;
871
+ void_reason?: string | null | undefined;
872
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
873
+ _id: import("mongoose").Types.ObjectId;
874
+ name: string;
875
+ price: number;
876
+ subtotal: number;
877
+ item_id: import("mongoose").Types.ObjectId;
878
+ quantity: number;
879
+ _net_amount: number;
880
+ _gross_amount: number;
881
+ _gst_amount: number;
882
+ _discount_amount: number;
883
+ special_instructions?: string | null | undefined;
884
+ is_ready?: boolean | null | undefined;
885
+ void_reason?: string | null | undefined;
886
+ }> & {
887
+ _id: import("mongoose").Types.ObjectId;
888
+ name: string;
889
+ price: number;
890
+ subtotal: number;
891
+ item_id: import("mongoose").Types.ObjectId;
892
+ quantity: number;
893
+ _net_amount: number;
894
+ _gross_amount: number;
895
+ _gst_amount: number;
896
+ _discount_amount: number;
897
+ special_instructions?: string | null | undefined;
898
+ is_ready?: boolean | null | undefined;
899
+ void_reason?: string | null | undefined;
900
+ }>;
901
+ }> & {
902
+ name: string;
903
+ category_id: import("mongoose").Types.ObjectId;
904
+ items: import("mongoose").Types.DocumentArray<{
905
+ _id: import("mongoose").Types.ObjectId;
906
+ name: string;
907
+ price: number;
908
+ subtotal: number;
909
+ item_id: import("mongoose").Types.ObjectId;
910
+ quantity: number;
911
+ _net_amount: number;
912
+ _gross_amount: number;
913
+ _gst_amount: number;
914
+ _discount_amount: number;
915
+ special_instructions?: string | null | undefined;
916
+ is_ready?: boolean | null | undefined;
917
+ void_reason?: string | null | undefined;
918
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
919
+ _id: import("mongoose").Types.ObjectId;
920
+ name: string;
921
+ price: number;
922
+ subtotal: number;
923
+ item_id: import("mongoose").Types.ObjectId;
924
+ quantity: number;
925
+ _net_amount: number;
926
+ _gross_amount: number;
927
+ _gst_amount: number;
928
+ _discount_amount: number;
929
+ special_instructions?: string | null | undefined;
930
+ is_ready?: boolean | null | undefined;
931
+ void_reason?: string | null | undefined;
932
+ }> & {
933
+ _id: import("mongoose").Types.ObjectId;
934
+ name: string;
935
+ price: number;
936
+ subtotal: number;
937
+ item_id: import("mongoose").Types.ObjectId;
938
+ quantity: number;
939
+ _net_amount: number;
940
+ _gross_amount: number;
941
+ _gst_amount: number;
942
+ _discount_amount: number;
943
+ special_instructions?: string | null | undefined;
944
+ is_ready?: boolean | null | undefined;
945
+ void_reason?: string | null | undefined;
946
+ }>;
947
+ }>;
948
+ price: number;
949
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
950
+ amount_earned: number;
951
+ grand_total: number;
952
+ staff_details: {
953
+ staff_id: string;
954
+ staff_name?: string | null | undefined;
955
+ staff_mobile?: string | null | undefined;
956
+ staff_email?: string | null | undefined;
957
+ };
958
+ special_instructions?: string | null | undefined;
959
+ tax_number?: string | null | undefined;
960
+ is_gst_inclusive?: boolean | null | undefined;
961
+ gst?: number | null | undefined;
962
+ gst_amount?: number | null | undefined;
963
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
964
+ updatedAt: NativeDate;
965
+ categories: import("mongoose").Types.DocumentArray<{
966
+ name: string;
967
+ category_id: import("mongoose").Types.ObjectId;
968
+ items: import("mongoose").Types.DocumentArray<{
969
+ _id: import("mongoose").Types.ObjectId;
970
+ name: string;
971
+ price: number;
972
+ subtotal: number;
973
+ item_id: import("mongoose").Types.ObjectId;
974
+ quantity: number;
975
+ _net_amount: number;
976
+ _gross_amount: number;
977
+ _gst_amount: number;
978
+ _discount_amount: number;
979
+ special_instructions?: string | null | undefined;
980
+ is_ready?: boolean | null | undefined;
981
+ void_reason?: string | null | undefined;
982
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
983
+ _id: import("mongoose").Types.ObjectId;
984
+ name: string;
985
+ price: number;
986
+ subtotal: number;
987
+ item_id: import("mongoose").Types.ObjectId;
988
+ quantity: number;
989
+ _net_amount: number;
990
+ _gross_amount: number;
991
+ _gst_amount: number;
992
+ _discount_amount: number;
993
+ special_instructions?: string | null | undefined;
994
+ is_ready?: boolean | null | undefined;
995
+ void_reason?: string | null | undefined;
996
+ }> & {
997
+ _id: import("mongoose").Types.ObjectId;
998
+ name: string;
999
+ price: number;
1000
+ subtotal: number;
1001
+ item_id: import("mongoose").Types.ObjectId;
1002
+ quantity: number;
1003
+ _net_amount: number;
1004
+ _gross_amount: number;
1005
+ _gst_amount: number;
1006
+ _discount_amount: number;
1007
+ special_instructions?: string | null | undefined;
1008
+ is_ready?: boolean | null | undefined;
1009
+ void_reason?: string | null | undefined;
1010
+ }>;
1011
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1012
+ name: string;
1013
+ category_id: import("mongoose").Types.ObjectId;
1014
+ items: import("mongoose").Types.DocumentArray<{
1015
+ _id: import("mongoose").Types.ObjectId;
1016
+ name: string;
1017
+ price: number;
1018
+ subtotal: number;
1019
+ item_id: import("mongoose").Types.ObjectId;
1020
+ quantity: number;
1021
+ _net_amount: number;
1022
+ _gross_amount: number;
1023
+ _gst_amount: number;
1024
+ _discount_amount: number;
1025
+ special_instructions?: string | null | undefined;
1026
+ is_ready?: boolean | null | undefined;
1027
+ void_reason?: string | null | undefined;
1028
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1029
+ _id: import("mongoose").Types.ObjectId;
1030
+ name: string;
1031
+ price: number;
1032
+ subtotal: number;
1033
+ item_id: import("mongoose").Types.ObjectId;
1034
+ quantity: number;
1035
+ _net_amount: number;
1036
+ _gross_amount: number;
1037
+ _gst_amount: number;
1038
+ _discount_amount: number;
1039
+ special_instructions?: string | null | undefined;
1040
+ is_ready?: boolean | null | undefined;
1041
+ void_reason?: string | null | undefined;
1042
+ }> & {
1043
+ _id: import("mongoose").Types.ObjectId;
1044
+ name: string;
1045
+ price: number;
1046
+ subtotal: number;
1047
+ item_id: import("mongoose").Types.ObjectId;
1048
+ quantity: number;
1049
+ _net_amount: number;
1050
+ _gross_amount: number;
1051
+ _gst_amount: number;
1052
+ _discount_amount: number;
1053
+ special_instructions?: string | null | undefined;
1054
+ is_ready?: boolean | null | undefined;
1055
+ void_reason?: string | null | undefined;
1056
+ }>;
1057
+ }> & {
1058
+ name: string;
1059
+ category_id: import("mongoose").Types.ObjectId;
1060
+ items: import("mongoose").Types.DocumentArray<{
1061
+ _id: import("mongoose").Types.ObjectId;
1062
+ name: string;
1063
+ price: number;
1064
+ subtotal: number;
1065
+ item_id: import("mongoose").Types.ObjectId;
1066
+ quantity: number;
1067
+ _net_amount: number;
1068
+ _gross_amount: number;
1069
+ _gst_amount: number;
1070
+ _discount_amount: number;
1071
+ special_instructions?: string | null | undefined;
1072
+ is_ready?: boolean | null | undefined;
1073
+ void_reason?: string | null | undefined;
1074
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1075
+ _id: import("mongoose").Types.ObjectId;
1076
+ name: string;
1077
+ price: number;
1078
+ subtotal: number;
1079
+ item_id: import("mongoose").Types.ObjectId;
1080
+ quantity: number;
1081
+ _net_amount: number;
1082
+ _gross_amount: number;
1083
+ _gst_amount: number;
1084
+ _discount_amount: number;
1085
+ special_instructions?: string | null | undefined;
1086
+ is_ready?: boolean | null | undefined;
1087
+ void_reason?: string | null | undefined;
1088
+ }> & {
1089
+ _id: import("mongoose").Types.ObjectId;
1090
+ name: string;
1091
+ price: number;
1092
+ subtotal: number;
1093
+ item_id: import("mongoose").Types.ObjectId;
1094
+ quantity: number;
1095
+ _net_amount: number;
1096
+ _gross_amount: number;
1097
+ _gst_amount: number;
1098
+ _discount_amount: number;
1099
+ special_instructions?: string | null | undefined;
1100
+ is_ready?: boolean | null | undefined;
1101
+ void_reason?: string | null | undefined;
1102
+ }>;
1103
+ }>;
1104
+ price: number;
1105
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
1106
+ amount_earned: number;
1107
+ grand_total: number;
1108
+ staff_details: {
1109
+ staff_id: string;
1110
+ staff_name?: string | null | undefined;
1111
+ staff_mobile?: string | null | undefined;
1112
+ staff_email?: string | null | undefined;
1113
+ };
1114
+ special_instructions?: string | null | undefined;
1115
+ tax_number?: string | null | undefined;
1116
+ is_gst_inclusive?: boolean | null | undefined;
1117
+ gst?: number | null | undefined;
1118
+ gst_amount?: number | null | undefined;
1119
+ }> & {
1120
+ updatedAt: NativeDate;
1121
+ categories: import("mongoose").Types.DocumentArray<{
1122
+ name: string;
1123
+ category_id: import("mongoose").Types.ObjectId;
1124
+ items: import("mongoose").Types.DocumentArray<{
1125
+ _id: import("mongoose").Types.ObjectId;
1126
+ name: string;
1127
+ price: number;
1128
+ subtotal: number;
1129
+ item_id: import("mongoose").Types.ObjectId;
1130
+ quantity: number;
1131
+ _net_amount: number;
1132
+ _gross_amount: number;
1133
+ _gst_amount: number;
1134
+ _discount_amount: number;
1135
+ special_instructions?: string | null | undefined;
1136
+ is_ready?: boolean | null | undefined;
1137
+ void_reason?: string | null | undefined;
1138
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1139
+ _id: import("mongoose").Types.ObjectId;
1140
+ name: string;
1141
+ price: number;
1142
+ subtotal: number;
1143
+ item_id: import("mongoose").Types.ObjectId;
1144
+ quantity: number;
1145
+ _net_amount: number;
1146
+ _gross_amount: number;
1147
+ _gst_amount: number;
1148
+ _discount_amount: number;
1149
+ special_instructions?: string | null | undefined;
1150
+ is_ready?: boolean | null | undefined;
1151
+ void_reason?: string | null | undefined;
1152
+ }> & {
1153
+ _id: import("mongoose").Types.ObjectId;
1154
+ name: string;
1155
+ price: number;
1156
+ subtotal: number;
1157
+ item_id: import("mongoose").Types.ObjectId;
1158
+ quantity: number;
1159
+ _net_amount: number;
1160
+ _gross_amount: number;
1161
+ _gst_amount: number;
1162
+ _discount_amount: number;
1163
+ special_instructions?: string | null | undefined;
1164
+ is_ready?: boolean | null | undefined;
1165
+ void_reason?: string | null | undefined;
1166
+ }>;
1167
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1168
+ name: string;
1169
+ category_id: import("mongoose").Types.ObjectId;
1170
+ items: import("mongoose").Types.DocumentArray<{
1171
+ _id: import("mongoose").Types.ObjectId;
1172
+ name: string;
1173
+ price: number;
1174
+ subtotal: number;
1175
+ item_id: import("mongoose").Types.ObjectId;
1176
+ quantity: number;
1177
+ _net_amount: number;
1178
+ _gross_amount: number;
1179
+ _gst_amount: number;
1180
+ _discount_amount: number;
1181
+ special_instructions?: string | null | undefined;
1182
+ is_ready?: boolean | null | undefined;
1183
+ void_reason?: string | null | undefined;
1184
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1185
+ _id: import("mongoose").Types.ObjectId;
1186
+ name: string;
1187
+ price: number;
1188
+ subtotal: number;
1189
+ item_id: import("mongoose").Types.ObjectId;
1190
+ quantity: number;
1191
+ _net_amount: number;
1192
+ _gross_amount: number;
1193
+ _gst_amount: number;
1194
+ _discount_amount: number;
1195
+ special_instructions?: string | null | undefined;
1196
+ is_ready?: boolean | null | undefined;
1197
+ void_reason?: string | null | undefined;
1198
+ }> & {
1199
+ _id: import("mongoose").Types.ObjectId;
1200
+ name: string;
1201
+ price: number;
1202
+ subtotal: number;
1203
+ item_id: import("mongoose").Types.ObjectId;
1204
+ quantity: number;
1205
+ _net_amount: number;
1206
+ _gross_amount: number;
1207
+ _gst_amount: number;
1208
+ _discount_amount: number;
1209
+ special_instructions?: string | null | undefined;
1210
+ is_ready?: boolean | null | undefined;
1211
+ void_reason?: string | null | undefined;
1212
+ }>;
1213
+ }> & {
1214
+ name: string;
1215
+ category_id: import("mongoose").Types.ObjectId;
1216
+ items: import("mongoose").Types.DocumentArray<{
1217
+ _id: import("mongoose").Types.ObjectId;
1218
+ name: string;
1219
+ price: number;
1220
+ subtotal: number;
1221
+ item_id: import("mongoose").Types.ObjectId;
1222
+ quantity: number;
1223
+ _net_amount: number;
1224
+ _gross_amount: number;
1225
+ _gst_amount: number;
1226
+ _discount_amount: number;
1227
+ special_instructions?: string | null | undefined;
1228
+ is_ready?: boolean | null | undefined;
1229
+ void_reason?: string | null | undefined;
1230
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1231
+ _id: import("mongoose").Types.ObjectId;
1232
+ name: string;
1233
+ price: number;
1234
+ subtotal: number;
1235
+ item_id: import("mongoose").Types.ObjectId;
1236
+ quantity: number;
1237
+ _net_amount: number;
1238
+ _gross_amount: number;
1239
+ _gst_amount: number;
1240
+ _discount_amount: number;
1241
+ special_instructions?: string | null | undefined;
1242
+ is_ready?: boolean | null | undefined;
1243
+ void_reason?: string | null | undefined;
1244
+ }> & {
1245
+ _id: import("mongoose").Types.ObjectId;
1246
+ name: string;
1247
+ price: number;
1248
+ subtotal: number;
1249
+ item_id: import("mongoose").Types.ObjectId;
1250
+ quantity: number;
1251
+ _net_amount: number;
1252
+ _gross_amount: number;
1253
+ _gst_amount: number;
1254
+ _discount_amount: number;
1255
+ special_instructions?: string | null | undefined;
1256
+ is_ready?: boolean | null | undefined;
1257
+ void_reason?: string | null | undefined;
1258
+ }>;
1259
+ }>;
1260
+ price: number;
1261
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
1262
+ amount_earned: number;
1263
+ grand_total: number;
1264
+ staff_details: {
1265
+ staff_id: string;
1266
+ staff_name?: string | null | undefined;
1267
+ staff_mobile?: string | null | undefined;
1268
+ staff_email?: string | null | undefined;
1269
+ };
1270
+ special_instructions?: string | null | undefined;
1271
+ tax_number?: string | null | undefined;
1272
+ is_gst_inclusive?: boolean | null | undefined;
1273
+ gst?: number | null | undefined;
1274
+ gst_amount?: number | null | undefined;
1275
+ }>;
1276
+ is_deleted: boolean;
1277
+ order_status_updated_at: NativeDate;
1278
+ warehouse_id: string;
1279
+ staff_details: {
1280
+ staff_id: string;
1281
+ staff_name?: string | null | undefined;
1282
+ staff_mobile?: string | null | undefined;
1283
+ staff_email?: string | null | undefined;
1284
+ };
1285
+ payment_terms: number;
1286
+ order_number?: number | null | undefined;
1287
+ cancel_reason?: string | null | undefined;
1288
+ special_instructions?: string | null | undefined;
1289
+ tax_number?: string | null | undefined;
1290
+ delete_reason?: string | null | undefined;
1291
+ is_reopened?: boolean | null | undefined;
1292
+ is_gst_inclusive?: boolean | null | undefined;
1293
+ gst?: number | null | undefined;
1294
+ gst_amount?: number | null | undefined;
1295
+ vendor_name?: string | null | undefined;
1296
+ vendor_id?: import("mongoose").Types.ObjectId | null | undefined;
1297
+ requested_vendors?: Map<string, {
1298
+ status: WAREHOUSE_RFQ_VENDOR_STATUS_ENUM;
1299
+ vendor_id: import("mongoose").Types.ObjectId;
1300
+ vendor_name?: string | null | undefined;
1301
+ vendor_email?: string | null | undefined;
1302
+ vendor_price?: number | null | undefined;
1303
+ }> | null | undefined;
1304
+ expected_deadline?: string | null | undefined;
1305
+ }>> & import("mongoose").FlatRecord<{
1306
+ createdAt: NativeDate;
1307
+ updatedAt: NativeDate;
1308
+ } & {
1309
+ _id: import("mongoose").Types.ObjectId;
1310
+ createdAt_mins: number;
1311
+ createdAt: NativeDate;
1312
+ updatedAt: NativeDate;
1313
+ categories: import("mongoose").Types.DocumentArray<{
1314
+ name: string;
1315
+ category_id: import("mongoose").Types.ObjectId;
1316
+ items: import("mongoose").Types.DocumentArray<{
1317
+ _id: import("mongoose").Types.ObjectId;
1318
+ name: string;
1319
+ price: number;
1320
+ subtotal: number;
1321
+ item_id: import("mongoose").Types.ObjectId;
1322
+ quantity: number;
1323
+ _net_amount: number;
1324
+ _gross_amount: number;
1325
+ _gst_amount: number;
1326
+ _discount_amount: number;
1327
+ special_instructions?: string | null | undefined;
1328
+ is_ready?: boolean | null | undefined;
1329
+ void_reason?: string | null | undefined;
1330
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1331
+ _id: import("mongoose").Types.ObjectId;
1332
+ name: string;
1333
+ price: number;
1334
+ subtotal: number;
1335
+ item_id: import("mongoose").Types.ObjectId;
1336
+ quantity: number;
1337
+ _net_amount: number;
1338
+ _gross_amount: number;
1339
+ _gst_amount: number;
1340
+ _discount_amount: number;
1341
+ special_instructions?: string | null | undefined;
1342
+ is_ready?: boolean | null | undefined;
1343
+ void_reason?: string | null | undefined;
1344
+ }> & {
1345
+ _id: import("mongoose").Types.ObjectId;
1346
+ name: string;
1347
+ price: number;
1348
+ subtotal: number;
1349
+ item_id: import("mongoose").Types.ObjectId;
1350
+ quantity: number;
1351
+ _net_amount: number;
1352
+ _gross_amount: number;
1353
+ _gst_amount: number;
1354
+ _discount_amount: number;
1355
+ special_instructions?: string | null | undefined;
1356
+ is_ready?: boolean | null | undefined;
1357
+ void_reason?: string | null | undefined;
1358
+ }>;
1359
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1360
+ name: string;
1361
+ category_id: import("mongoose").Types.ObjectId;
1362
+ items: import("mongoose").Types.DocumentArray<{
1363
+ _id: import("mongoose").Types.ObjectId;
1364
+ name: string;
1365
+ price: number;
1366
+ subtotal: number;
1367
+ item_id: import("mongoose").Types.ObjectId;
1368
+ quantity: number;
1369
+ _net_amount: number;
1370
+ _gross_amount: number;
1371
+ _gst_amount: number;
1372
+ _discount_amount: number;
1373
+ special_instructions?: string | null | undefined;
1374
+ is_ready?: boolean | null | undefined;
1375
+ void_reason?: string | null | undefined;
1376
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1377
+ _id: import("mongoose").Types.ObjectId;
1378
+ name: string;
1379
+ price: number;
1380
+ subtotal: number;
1381
+ item_id: import("mongoose").Types.ObjectId;
1382
+ quantity: number;
1383
+ _net_amount: number;
1384
+ _gross_amount: number;
1385
+ _gst_amount: number;
1386
+ _discount_amount: number;
1387
+ special_instructions?: string | null | undefined;
1388
+ is_ready?: boolean | null | undefined;
1389
+ void_reason?: string | null | undefined;
1390
+ }> & {
1391
+ _id: import("mongoose").Types.ObjectId;
1392
+ name: string;
1393
+ price: number;
1394
+ subtotal: number;
1395
+ item_id: import("mongoose").Types.ObjectId;
1396
+ quantity: number;
1397
+ _net_amount: number;
1398
+ _gross_amount: number;
1399
+ _gst_amount: number;
1400
+ _discount_amount: number;
1401
+ special_instructions?: string | null | undefined;
1402
+ is_ready?: boolean | null | undefined;
1403
+ void_reason?: string | null | undefined;
1404
+ }>;
1405
+ }> & {
1406
+ name: string;
1407
+ category_id: import("mongoose").Types.ObjectId;
1408
+ items: import("mongoose").Types.DocumentArray<{
1409
+ _id: import("mongoose").Types.ObjectId;
1410
+ name: string;
1411
+ price: number;
1412
+ subtotal: number;
1413
+ item_id: import("mongoose").Types.ObjectId;
1414
+ quantity: number;
1415
+ _net_amount: number;
1416
+ _gross_amount: number;
1417
+ _gst_amount: number;
1418
+ _discount_amount: number;
1419
+ special_instructions?: string | null | undefined;
1420
+ is_ready?: boolean | null | undefined;
1421
+ void_reason?: string | null | undefined;
1422
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1423
+ _id: import("mongoose").Types.ObjectId;
1424
+ name: string;
1425
+ price: number;
1426
+ subtotal: number;
1427
+ item_id: import("mongoose").Types.ObjectId;
1428
+ quantity: number;
1429
+ _net_amount: number;
1430
+ _gross_amount: number;
1431
+ _gst_amount: number;
1432
+ _discount_amount: number;
1433
+ special_instructions?: string | null | undefined;
1434
+ is_ready?: boolean | null | undefined;
1435
+ void_reason?: string | null | undefined;
1436
+ }> & {
1437
+ _id: import("mongoose").Types.ObjectId;
1438
+ name: string;
1439
+ price: number;
1440
+ subtotal: number;
1441
+ item_id: import("mongoose").Types.ObjectId;
1442
+ quantity: number;
1443
+ _net_amount: number;
1444
+ _gross_amount: number;
1445
+ _gst_amount: number;
1446
+ _discount_amount: number;
1447
+ special_instructions?: string | null | undefined;
1448
+ is_ready?: boolean | null | undefined;
1449
+ void_reason?: string | null | undefined;
1450
+ }>;
1451
+ }>;
1452
+ price: number;
1453
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
1454
+ amount_earned: number;
1455
+ grand_total: number;
1456
+ iterations: import("mongoose").Types.DocumentArray<{
1457
+ updatedAt: NativeDate;
1458
+ categories: import("mongoose").Types.DocumentArray<{
1459
+ name: string;
1460
+ category_id: import("mongoose").Types.ObjectId;
1461
+ items: import("mongoose").Types.DocumentArray<{
1462
+ _id: import("mongoose").Types.ObjectId;
1463
+ name: string;
1464
+ price: number;
1465
+ subtotal: number;
1466
+ item_id: import("mongoose").Types.ObjectId;
1467
+ quantity: number;
1468
+ _net_amount: number;
1469
+ _gross_amount: number;
1470
+ _gst_amount: number;
1471
+ _discount_amount: number;
1472
+ special_instructions?: string | null | undefined;
1473
+ is_ready?: boolean | null | undefined;
1474
+ void_reason?: string | null | undefined;
1475
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1476
+ _id: import("mongoose").Types.ObjectId;
1477
+ name: string;
1478
+ price: number;
1479
+ subtotal: number;
1480
+ item_id: import("mongoose").Types.ObjectId;
1481
+ quantity: number;
1482
+ _net_amount: number;
1483
+ _gross_amount: number;
1484
+ _gst_amount: number;
1485
+ _discount_amount: number;
1486
+ special_instructions?: string | null | undefined;
1487
+ is_ready?: boolean | null | undefined;
1488
+ void_reason?: string | null | undefined;
1489
+ }> & {
1490
+ _id: import("mongoose").Types.ObjectId;
1491
+ name: string;
1492
+ price: number;
1493
+ subtotal: number;
1494
+ item_id: import("mongoose").Types.ObjectId;
1495
+ quantity: number;
1496
+ _net_amount: number;
1497
+ _gross_amount: number;
1498
+ _gst_amount: number;
1499
+ _discount_amount: number;
1500
+ special_instructions?: string | null | undefined;
1501
+ is_ready?: boolean | null | undefined;
1502
+ void_reason?: string | null | undefined;
1503
+ }>;
1504
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1505
+ name: string;
1506
+ category_id: import("mongoose").Types.ObjectId;
1507
+ items: import("mongoose").Types.DocumentArray<{
1508
+ _id: import("mongoose").Types.ObjectId;
1509
+ name: string;
1510
+ price: number;
1511
+ subtotal: number;
1512
+ item_id: import("mongoose").Types.ObjectId;
1513
+ quantity: number;
1514
+ _net_amount: number;
1515
+ _gross_amount: number;
1516
+ _gst_amount: number;
1517
+ _discount_amount: number;
1518
+ special_instructions?: string | null | undefined;
1519
+ is_ready?: boolean | null | undefined;
1520
+ void_reason?: string | null | undefined;
1521
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1522
+ _id: import("mongoose").Types.ObjectId;
1523
+ name: string;
1524
+ price: number;
1525
+ subtotal: number;
1526
+ item_id: import("mongoose").Types.ObjectId;
1527
+ quantity: number;
1528
+ _net_amount: number;
1529
+ _gross_amount: number;
1530
+ _gst_amount: number;
1531
+ _discount_amount: number;
1532
+ special_instructions?: string | null | undefined;
1533
+ is_ready?: boolean | null | undefined;
1534
+ void_reason?: string | null | undefined;
1535
+ }> & {
1536
+ _id: import("mongoose").Types.ObjectId;
1537
+ name: string;
1538
+ price: number;
1539
+ subtotal: number;
1540
+ item_id: import("mongoose").Types.ObjectId;
1541
+ quantity: number;
1542
+ _net_amount: number;
1543
+ _gross_amount: number;
1544
+ _gst_amount: number;
1545
+ _discount_amount: number;
1546
+ special_instructions?: string | null | undefined;
1547
+ is_ready?: boolean | null | undefined;
1548
+ void_reason?: string | null | undefined;
1549
+ }>;
1550
+ }> & {
1551
+ name: string;
1552
+ category_id: import("mongoose").Types.ObjectId;
1553
+ items: import("mongoose").Types.DocumentArray<{
1554
+ _id: import("mongoose").Types.ObjectId;
1555
+ name: string;
1556
+ price: number;
1557
+ subtotal: number;
1558
+ item_id: import("mongoose").Types.ObjectId;
1559
+ quantity: number;
1560
+ _net_amount: number;
1561
+ _gross_amount: number;
1562
+ _gst_amount: number;
1563
+ _discount_amount: number;
1564
+ special_instructions?: string | null | undefined;
1565
+ is_ready?: boolean | null | undefined;
1566
+ void_reason?: string | null | undefined;
1567
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1568
+ _id: import("mongoose").Types.ObjectId;
1569
+ name: string;
1570
+ price: number;
1571
+ subtotal: number;
1572
+ item_id: import("mongoose").Types.ObjectId;
1573
+ quantity: number;
1574
+ _net_amount: number;
1575
+ _gross_amount: number;
1576
+ _gst_amount: number;
1577
+ _discount_amount: number;
1578
+ special_instructions?: string | null | undefined;
1579
+ is_ready?: boolean | null | undefined;
1580
+ void_reason?: string | null | undefined;
1581
+ }> & {
1582
+ _id: import("mongoose").Types.ObjectId;
1583
+ name: string;
1584
+ price: number;
1585
+ subtotal: number;
1586
+ item_id: import("mongoose").Types.ObjectId;
1587
+ quantity: number;
1588
+ _net_amount: number;
1589
+ _gross_amount: number;
1590
+ _gst_amount: number;
1591
+ _discount_amount: number;
1592
+ special_instructions?: string | null | undefined;
1593
+ is_ready?: boolean | null | undefined;
1594
+ void_reason?: string | null | undefined;
1595
+ }>;
1596
+ }>;
1597
+ price: number;
1598
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
1599
+ amount_earned: number;
1600
+ grand_total: number;
1601
+ staff_details: {
1602
+ staff_id: string;
1603
+ staff_name?: string | null | undefined;
1604
+ staff_mobile?: string | null | undefined;
1605
+ staff_email?: string | null | undefined;
1606
+ };
1607
+ special_instructions?: string | null | undefined;
1608
+ tax_number?: string | null | undefined;
1609
+ is_gst_inclusive?: boolean | null | undefined;
1610
+ gst?: number | null | undefined;
1611
+ gst_amount?: number | null | undefined;
1612
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1613
+ updatedAt: NativeDate;
1614
+ categories: import("mongoose").Types.DocumentArray<{
1615
+ name: string;
1616
+ category_id: import("mongoose").Types.ObjectId;
1617
+ items: import("mongoose").Types.DocumentArray<{
1618
+ _id: import("mongoose").Types.ObjectId;
1619
+ name: string;
1620
+ price: number;
1621
+ subtotal: number;
1622
+ item_id: import("mongoose").Types.ObjectId;
1623
+ quantity: number;
1624
+ _net_amount: number;
1625
+ _gross_amount: number;
1626
+ _gst_amount: number;
1627
+ _discount_amount: number;
1628
+ special_instructions?: string | null | undefined;
1629
+ is_ready?: boolean | null | undefined;
1630
+ void_reason?: string | null | undefined;
1631
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1632
+ _id: import("mongoose").Types.ObjectId;
1633
+ name: string;
1634
+ price: number;
1635
+ subtotal: number;
1636
+ item_id: import("mongoose").Types.ObjectId;
1637
+ quantity: number;
1638
+ _net_amount: number;
1639
+ _gross_amount: number;
1640
+ _gst_amount: number;
1641
+ _discount_amount: number;
1642
+ special_instructions?: string | null | undefined;
1643
+ is_ready?: boolean | null | undefined;
1644
+ void_reason?: string | null | undefined;
1645
+ }> & {
1646
+ _id: import("mongoose").Types.ObjectId;
1647
+ name: string;
1648
+ price: number;
1649
+ subtotal: number;
1650
+ item_id: import("mongoose").Types.ObjectId;
1651
+ quantity: number;
1652
+ _net_amount: number;
1653
+ _gross_amount: number;
1654
+ _gst_amount: number;
1655
+ _discount_amount: number;
1656
+ special_instructions?: string | null | undefined;
1657
+ is_ready?: boolean | null | undefined;
1658
+ void_reason?: string | null | undefined;
1659
+ }>;
1660
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1661
+ name: string;
1662
+ category_id: import("mongoose").Types.ObjectId;
1663
+ items: import("mongoose").Types.DocumentArray<{
1664
+ _id: import("mongoose").Types.ObjectId;
1665
+ name: string;
1666
+ price: number;
1667
+ subtotal: number;
1668
+ item_id: import("mongoose").Types.ObjectId;
1669
+ quantity: number;
1670
+ _net_amount: number;
1671
+ _gross_amount: number;
1672
+ _gst_amount: number;
1673
+ _discount_amount: number;
1674
+ special_instructions?: string | null | undefined;
1675
+ is_ready?: boolean | null | undefined;
1676
+ void_reason?: string | null | undefined;
1677
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1678
+ _id: import("mongoose").Types.ObjectId;
1679
+ name: string;
1680
+ price: number;
1681
+ subtotal: number;
1682
+ item_id: import("mongoose").Types.ObjectId;
1683
+ quantity: number;
1684
+ _net_amount: number;
1685
+ _gross_amount: number;
1686
+ _gst_amount: number;
1687
+ _discount_amount: number;
1688
+ special_instructions?: string | null | undefined;
1689
+ is_ready?: boolean | null | undefined;
1690
+ void_reason?: string | null | undefined;
1691
+ }> & {
1692
+ _id: import("mongoose").Types.ObjectId;
1693
+ name: string;
1694
+ price: number;
1695
+ subtotal: number;
1696
+ item_id: import("mongoose").Types.ObjectId;
1697
+ quantity: number;
1698
+ _net_amount: number;
1699
+ _gross_amount: number;
1700
+ _gst_amount: number;
1701
+ _discount_amount: number;
1702
+ special_instructions?: string | null | undefined;
1703
+ is_ready?: boolean | null | undefined;
1704
+ void_reason?: string | null | undefined;
1705
+ }>;
1706
+ }> & {
1707
+ name: string;
1708
+ category_id: import("mongoose").Types.ObjectId;
1709
+ items: import("mongoose").Types.DocumentArray<{
1710
+ _id: import("mongoose").Types.ObjectId;
1711
+ name: string;
1712
+ price: number;
1713
+ subtotal: number;
1714
+ item_id: import("mongoose").Types.ObjectId;
1715
+ quantity: number;
1716
+ _net_amount: number;
1717
+ _gross_amount: number;
1718
+ _gst_amount: number;
1719
+ _discount_amount: number;
1720
+ special_instructions?: string | null | undefined;
1721
+ is_ready?: boolean | null | undefined;
1722
+ void_reason?: string | null | undefined;
1723
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1724
+ _id: import("mongoose").Types.ObjectId;
1725
+ name: string;
1726
+ price: number;
1727
+ subtotal: number;
1728
+ item_id: import("mongoose").Types.ObjectId;
1729
+ quantity: number;
1730
+ _net_amount: number;
1731
+ _gross_amount: number;
1732
+ _gst_amount: number;
1733
+ _discount_amount: number;
1734
+ special_instructions?: string | null | undefined;
1735
+ is_ready?: boolean | null | undefined;
1736
+ void_reason?: string | null | undefined;
1737
+ }> & {
1738
+ _id: import("mongoose").Types.ObjectId;
1739
+ name: string;
1740
+ price: number;
1741
+ subtotal: number;
1742
+ item_id: import("mongoose").Types.ObjectId;
1743
+ quantity: number;
1744
+ _net_amount: number;
1745
+ _gross_amount: number;
1746
+ _gst_amount: number;
1747
+ _discount_amount: number;
1748
+ special_instructions?: string | null | undefined;
1749
+ is_ready?: boolean | null | undefined;
1750
+ void_reason?: string | null | undefined;
1751
+ }>;
1752
+ }>;
1753
+ price: number;
1754
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
1755
+ amount_earned: number;
1756
+ grand_total: number;
1757
+ staff_details: {
1758
+ staff_id: string;
1759
+ staff_name?: string | null | undefined;
1760
+ staff_mobile?: string | null | undefined;
1761
+ staff_email?: string | null | undefined;
1762
+ };
1763
+ special_instructions?: string | null | undefined;
1764
+ tax_number?: string | null | undefined;
1765
+ is_gst_inclusive?: boolean | null | undefined;
1766
+ gst?: number | null | undefined;
1767
+ gst_amount?: number | null | undefined;
1768
+ }> & {
1769
+ updatedAt: NativeDate;
1770
+ categories: import("mongoose").Types.DocumentArray<{
1771
+ name: string;
1772
+ category_id: import("mongoose").Types.ObjectId;
1773
+ items: import("mongoose").Types.DocumentArray<{
1774
+ _id: import("mongoose").Types.ObjectId;
1775
+ name: string;
1776
+ price: number;
1777
+ subtotal: number;
1778
+ item_id: import("mongoose").Types.ObjectId;
1779
+ quantity: number;
1780
+ _net_amount: number;
1781
+ _gross_amount: number;
1782
+ _gst_amount: number;
1783
+ _discount_amount: number;
1784
+ special_instructions?: string | null | undefined;
1785
+ is_ready?: boolean | null | undefined;
1786
+ void_reason?: string | null | undefined;
1787
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1788
+ _id: import("mongoose").Types.ObjectId;
1789
+ name: string;
1790
+ price: number;
1791
+ subtotal: number;
1792
+ item_id: import("mongoose").Types.ObjectId;
1793
+ quantity: number;
1794
+ _net_amount: number;
1795
+ _gross_amount: number;
1796
+ _gst_amount: number;
1797
+ _discount_amount: number;
1798
+ special_instructions?: string | null | undefined;
1799
+ is_ready?: boolean | null | undefined;
1800
+ void_reason?: string | null | undefined;
1801
+ }> & {
1802
+ _id: import("mongoose").Types.ObjectId;
1803
+ name: string;
1804
+ price: number;
1805
+ subtotal: number;
1806
+ item_id: import("mongoose").Types.ObjectId;
1807
+ quantity: number;
1808
+ _net_amount: number;
1809
+ _gross_amount: number;
1810
+ _gst_amount: number;
1811
+ _discount_amount: number;
1812
+ special_instructions?: string | null | undefined;
1813
+ is_ready?: boolean | null | undefined;
1814
+ void_reason?: string | null | undefined;
1815
+ }>;
1816
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1817
+ name: string;
1818
+ category_id: import("mongoose").Types.ObjectId;
1819
+ items: import("mongoose").Types.DocumentArray<{
1820
+ _id: import("mongoose").Types.ObjectId;
1821
+ name: string;
1822
+ price: number;
1823
+ subtotal: number;
1824
+ item_id: import("mongoose").Types.ObjectId;
1825
+ quantity: number;
1826
+ _net_amount: number;
1827
+ _gross_amount: number;
1828
+ _gst_amount: number;
1829
+ _discount_amount: number;
1830
+ special_instructions?: string | null | undefined;
1831
+ is_ready?: boolean | null | undefined;
1832
+ void_reason?: string | null | undefined;
1833
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1834
+ _id: import("mongoose").Types.ObjectId;
1835
+ name: string;
1836
+ price: number;
1837
+ subtotal: number;
1838
+ item_id: import("mongoose").Types.ObjectId;
1839
+ quantity: number;
1840
+ _net_amount: number;
1841
+ _gross_amount: number;
1842
+ _gst_amount: number;
1843
+ _discount_amount: number;
1844
+ special_instructions?: string | null | undefined;
1845
+ is_ready?: boolean | null | undefined;
1846
+ void_reason?: string | null | undefined;
1847
+ }> & {
1848
+ _id: import("mongoose").Types.ObjectId;
1849
+ name: string;
1850
+ price: number;
1851
+ subtotal: number;
1852
+ item_id: import("mongoose").Types.ObjectId;
1853
+ quantity: number;
1854
+ _net_amount: number;
1855
+ _gross_amount: number;
1856
+ _gst_amount: number;
1857
+ _discount_amount: number;
1858
+ special_instructions?: string | null | undefined;
1859
+ is_ready?: boolean | null | undefined;
1860
+ void_reason?: string | null | undefined;
1861
+ }>;
1862
+ }> & {
1863
+ name: string;
1864
+ category_id: import("mongoose").Types.ObjectId;
1865
+ items: import("mongoose").Types.DocumentArray<{
1866
+ _id: import("mongoose").Types.ObjectId;
1867
+ name: string;
1868
+ price: number;
1869
+ subtotal: number;
1870
+ item_id: import("mongoose").Types.ObjectId;
1871
+ quantity: number;
1872
+ _net_amount: number;
1873
+ _gross_amount: number;
1874
+ _gst_amount: number;
1875
+ _discount_amount: number;
1876
+ special_instructions?: string | null | undefined;
1877
+ is_ready?: boolean | null | undefined;
1878
+ void_reason?: string | null | undefined;
1879
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1880
+ _id: import("mongoose").Types.ObjectId;
1881
+ name: string;
1882
+ price: number;
1883
+ subtotal: number;
1884
+ item_id: import("mongoose").Types.ObjectId;
1885
+ quantity: number;
1886
+ _net_amount: number;
1887
+ _gross_amount: number;
1888
+ _gst_amount: number;
1889
+ _discount_amount: number;
1890
+ special_instructions?: string | null | undefined;
1891
+ is_ready?: boolean | null | undefined;
1892
+ void_reason?: string | null | undefined;
1893
+ }> & {
1894
+ _id: import("mongoose").Types.ObjectId;
1895
+ name: string;
1896
+ price: number;
1897
+ subtotal: number;
1898
+ item_id: import("mongoose").Types.ObjectId;
1899
+ quantity: number;
1900
+ _net_amount: number;
1901
+ _gross_amount: number;
1902
+ _gst_amount: number;
1903
+ _discount_amount: number;
1904
+ special_instructions?: string | null | undefined;
1905
+ is_ready?: boolean | null | undefined;
1906
+ void_reason?: string | null | undefined;
1907
+ }>;
1908
+ }>;
1909
+ price: number;
1910
+ order_status: WAREHOUSE_PURCHASE_ORDER_RFQ_STATUS_ENUM;
1911
+ amount_earned: number;
1912
+ grand_total: number;
1913
+ staff_details: {
1914
+ staff_id: string;
1915
+ staff_name?: string | null | undefined;
1916
+ staff_mobile?: string | null | undefined;
1917
+ staff_email?: string | null | undefined;
1918
+ };
1919
+ special_instructions?: string | null | undefined;
1920
+ tax_number?: string | null | undefined;
1921
+ is_gst_inclusive?: boolean | null | undefined;
1922
+ gst?: number | null | undefined;
1923
+ gst_amount?: number | null | undefined;
1924
+ }>;
1925
+ is_deleted: boolean;
1926
+ order_status_updated_at: NativeDate;
1927
+ warehouse_id: string;
1928
+ staff_details: {
1929
+ staff_id: string;
1930
+ staff_name?: string | null | undefined;
1931
+ staff_mobile?: string | null | undefined;
1932
+ staff_email?: string | null | undefined;
1933
+ };
1934
+ payment_terms: number;
1935
+ order_number?: number | null | undefined;
1936
+ cancel_reason?: string | null | undefined;
1937
+ special_instructions?: string | null | undefined;
1938
+ tax_number?: string | null | undefined;
1939
+ delete_reason?: string | null | undefined;
1940
+ is_reopened?: boolean | null | undefined;
1941
+ is_gst_inclusive?: boolean | null | undefined;
1942
+ gst?: number | null | undefined;
1943
+ gst_amount?: number | null | undefined;
1944
+ vendor_name?: string | null | undefined;
1945
+ vendor_id?: import("mongoose").Types.ObjectId | null | undefined;
1946
+ requested_vendors?: Map<string, {
1947
+ status: WAREHOUSE_RFQ_VENDOR_STATUS_ENUM;
1948
+ vendor_id: import("mongoose").Types.ObjectId;
1949
+ vendor_name?: string | null | undefined;
1950
+ vendor_email?: string | null | undefined;
1951
+ vendor_price?: number | null | undefined;
1952
+ }> | null | undefined;
1953
+ expected_deadline?: string | null | undefined;
1954
+ }> & Required<{
1955
+ _id: import("mongoose").Types.ObjectId;
1956
+ }> & {
1957
+ __v: number;
1958
+ }>;
1959
+ export declare const WAREHOUSE_PURCHASE_ORDER_RFQ_COLLECTION_NAME = "warehouse_purchase_order_rfqs";