@managesome/eposmatic-toolkit 0.2.455 → 0.2.458

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