@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
- quantity: number;
23
- item_id: import("mongoose").Types.ObjectId;
24
- subtotal: number;
25
- _gst_amount: number;
26
- _net_amount: number;
27
- _gross_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
- quantity: number;
37
- item_id: import("mongoose").Types.ObjectId;
38
- subtotal: number;
39
- _gst_amount: number;
40
- _net_amount: number;
41
- _gross_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
- quantity: number;
51
- item_id: import("mongoose").Types.ObjectId;
52
- subtotal: number;
53
- _gst_amount: number;
54
- _net_amount: number;
55
- _gross_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
- quantity: number;
69
- item_id: import("mongoose").Types.ObjectId;
70
- subtotal: number;
71
- _gst_amount: number;
72
- _net_amount: number;
73
- _gross_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
- quantity: number;
83
- item_id: import("mongoose").Types.ObjectId;
84
- subtotal: number;
85
- _gst_amount: number;
86
- _net_amount: number;
87
- _gross_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
- quantity: number;
97
- item_id: import("mongoose").Types.ObjectId;
98
- subtotal: number;
99
- _gst_amount: number;
100
- _net_amount: number;
101
- _gross_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
- quantity: number;
115
- item_id: import("mongoose").Types.ObjectId;
116
- subtotal: number;
117
- _gst_amount: number;
118
- _net_amount: number;
119
- _gross_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
- quantity: number;
129
- item_id: import("mongoose").Types.ObjectId;
130
- subtotal: number;
131
- _gst_amount: number;
132
- _net_amount: number;
133
- _gross_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
- quantity: number;
143
- item_id: import("mongoose").Types.ObjectId;
144
- subtotal: number;
145
- _gst_amount: number;
146
- _net_amount: number;
147
- _gross_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: 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
- quantity: number;
168
- item_id: import("mongoose").Types.ObjectId;
169
- subtotal: number;
170
- _gst_amount: number;
171
- _net_amount: number;
172
- _gross_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
- quantity: number;
182
- item_id: import("mongoose").Types.ObjectId;
183
- subtotal: number;
184
- _gst_amount: number;
185
- _net_amount: number;
186
- _gross_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
- quantity: number;
196
- item_id: import("mongoose").Types.ObjectId;
197
- subtotal: number;
198
- _gst_amount: number;
199
- _net_amount: number;
200
- _gross_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
- quantity: number;
214
- item_id: import("mongoose").Types.ObjectId;
215
- subtotal: number;
216
- _gst_amount: number;
217
- _net_amount: number;
218
- _gross_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
- quantity: number;
228
- item_id: import("mongoose").Types.ObjectId;
229
- subtotal: number;
230
- _gst_amount: number;
231
- _net_amount: number;
232
- _gross_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
- quantity: number;
242
- item_id: import("mongoose").Types.ObjectId;
243
- subtotal: number;
244
- _gst_amount: number;
245
- _net_amount: number;
246
- _gross_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
- quantity: number;
260
- item_id: import("mongoose").Types.ObjectId;
261
- subtotal: number;
262
- _gst_amount: number;
263
- _net_amount: number;
264
- _gross_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
- quantity: number;
274
- item_id: import("mongoose").Types.ObjectId;
275
- subtotal: number;
276
- _gst_amount: number;
277
- _net_amount: number;
278
- _gross_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
- quantity: number;
288
- item_id: import("mongoose").Types.ObjectId;
289
- subtotal: number;
290
- _gst_amount: number;
291
- _net_amount: number;
292
- _gross_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: 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
- gst?: number | null | undefined;
312
- gst_amount?: number | null | undefined;
313
- is_gst_inclusive?: boolean | 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
- quantity: number;
324
- item_id: import("mongoose").Types.ObjectId;
325
- subtotal: number;
326
- _gst_amount: number;
327
- _net_amount: number;
328
- _gross_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
- quantity: number;
338
- item_id: import("mongoose").Types.ObjectId;
339
- subtotal: number;
340
- _gst_amount: number;
341
- _net_amount: number;
342
- _gross_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
- quantity: number;
352
- item_id: import("mongoose").Types.ObjectId;
353
- subtotal: number;
354
- _gst_amount: number;
355
- _net_amount: number;
356
- _gross_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
- quantity: number;
370
- item_id: import("mongoose").Types.ObjectId;
371
- subtotal: number;
372
- _gst_amount: number;
373
- _net_amount: number;
374
- _gross_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
- quantity: number;
384
- item_id: import("mongoose").Types.ObjectId;
385
- subtotal: number;
386
- _gst_amount: number;
387
- _net_amount: number;
388
- _gross_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
- quantity: number;
398
- item_id: import("mongoose").Types.ObjectId;
399
- subtotal: number;
400
- _gst_amount: number;
401
- _net_amount: number;
402
- _gross_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
- quantity: number;
416
- item_id: import("mongoose").Types.ObjectId;
417
- subtotal: number;
418
- _gst_amount: number;
419
- _net_amount: number;
420
- _gross_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
- quantity: number;
430
- item_id: import("mongoose").Types.ObjectId;
431
- subtotal: number;
432
- _gst_amount: number;
433
- _net_amount: number;
434
- _gross_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
- quantity: number;
444
- item_id: import("mongoose").Types.ObjectId;
445
- subtotal: number;
446
- _gst_amount: number;
447
- _net_amount: number;
448
- _gross_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: 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
- gst?: number | null | undefined;
468
- gst_amount?: number | null | undefined;
469
- is_gst_inclusive?: boolean | 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
- quantity: number;
480
- item_id: import("mongoose").Types.ObjectId;
481
- subtotal: number;
482
- _gst_amount: number;
483
- _net_amount: number;
484
- _gross_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
- quantity: number;
494
- item_id: import("mongoose").Types.ObjectId;
495
- subtotal: number;
496
- _gst_amount: number;
497
- _net_amount: number;
498
- _gross_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
- quantity: number;
508
- item_id: import("mongoose").Types.ObjectId;
509
- subtotal: number;
510
- _gst_amount: number;
511
- _net_amount: number;
512
- _gross_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
- quantity: number;
526
- item_id: import("mongoose").Types.ObjectId;
527
- subtotal: number;
528
- _gst_amount: number;
529
- _net_amount: number;
530
- _gross_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
- quantity: number;
540
- item_id: import("mongoose").Types.ObjectId;
541
- subtotal: number;
542
- _gst_amount: number;
543
- _net_amount: number;
544
- _gross_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
- quantity: number;
554
- item_id: import("mongoose").Types.ObjectId;
555
- subtotal: number;
556
- _gst_amount: number;
557
- _net_amount: number;
558
- _gross_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
- quantity: number;
572
- item_id: import("mongoose").Types.ObjectId;
573
- subtotal: number;
574
- _gst_amount: number;
575
- _net_amount: number;
576
- _gross_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
- quantity: number;
586
- item_id: import("mongoose").Types.ObjectId;
587
- subtotal: number;
588
- _gst_amount: number;
589
- _net_amount: number;
590
- _gross_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
- quantity: number;
600
- item_id: import("mongoose").Types.ObjectId;
601
- subtotal: number;
602
- _gst_amount: number;
603
- _net_amount: number;
604
- _gross_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: 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
- gst?: number | null | undefined;
624
- gst_amount?: number | null | undefined;
625
- is_gst_inclusive?: boolean | null | undefined;
626
- }>;
627
- is_deleted: boolean;
628
- order_status_updated_at: NativeDate;
629
- payment_terms: number;
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
- warehouse_id: string;
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
- gst?: number | null | undefined;
644
- gst_amount?: number | null | undefined;
645
- is_gst_inclusive?: boolean | null | undefined;
646
- vendor_id?: import("mongoose").Types.ObjectId | null | undefined;
647
- vendor_name?: string | null | undefined;
648
- requested_vendors?: Map<string, {
649
- status: 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
- quantity: number;
672
- item_id: import("mongoose").Types.ObjectId;
673
- subtotal: number;
674
- _gst_amount: number;
675
- _net_amount: number;
676
- _gross_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
- quantity: number;
686
- item_id: import("mongoose").Types.ObjectId;
687
- subtotal: number;
688
- _gst_amount: number;
689
- _net_amount: number;
690
- _gross_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
- quantity: number;
700
- item_id: import("mongoose").Types.ObjectId;
701
- subtotal: number;
702
- _gst_amount: number;
703
- _net_amount: number;
704
- _gross_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
- quantity: number;
718
- item_id: import("mongoose").Types.ObjectId;
719
- subtotal: number;
720
- _gst_amount: number;
721
- _net_amount: number;
722
- _gross_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
- quantity: number;
732
- item_id: import("mongoose").Types.ObjectId;
733
- subtotal: number;
734
- _gst_amount: number;
735
- _net_amount: number;
736
- _gross_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
- quantity: number;
746
- item_id: import("mongoose").Types.ObjectId;
747
- subtotal: number;
748
- _gst_amount: number;
749
- _net_amount: number;
750
- _gross_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
- quantity: number;
764
- item_id: import("mongoose").Types.ObjectId;
765
- subtotal: number;
766
- _gst_amount: number;
767
- _net_amount: number;
768
- _gross_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
- quantity: number;
778
- item_id: import("mongoose").Types.ObjectId;
779
- subtotal: number;
780
- _gst_amount: number;
781
- _net_amount: number;
782
- _gross_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
- quantity: number;
792
- item_id: import("mongoose").Types.ObjectId;
793
- subtotal: number;
794
- _gst_amount: number;
795
- _net_amount: number;
796
- _gross_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: 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
- quantity: number;
817
- item_id: import("mongoose").Types.ObjectId;
818
- subtotal: number;
819
- _gst_amount: number;
820
- _net_amount: number;
821
- _gross_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
- quantity: number;
831
- item_id: import("mongoose").Types.ObjectId;
832
- subtotal: number;
833
- _gst_amount: number;
834
- _net_amount: number;
835
- _gross_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
- quantity: number;
845
- item_id: import("mongoose").Types.ObjectId;
846
- subtotal: number;
847
- _gst_amount: number;
848
- _net_amount: number;
849
- _gross_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
- quantity: number;
863
- item_id: import("mongoose").Types.ObjectId;
864
- subtotal: number;
865
- _gst_amount: number;
866
- _net_amount: number;
867
- _gross_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
- quantity: number;
877
- item_id: import("mongoose").Types.ObjectId;
878
- subtotal: number;
879
- _gst_amount: number;
880
- _net_amount: number;
881
- _gross_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
- quantity: number;
891
- item_id: import("mongoose").Types.ObjectId;
892
- subtotal: number;
893
- _gst_amount: number;
894
- _net_amount: number;
895
- _gross_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
- quantity: number;
909
- item_id: import("mongoose").Types.ObjectId;
910
- subtotal: number;
911
- _gst_amount: number;
912
- _net_amount: number;
913
- _gross_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
- quantity: number;
923
- item_id: import("mongoose").Types.ObjectId;
924
- subtotal: number;
925
- _gst_amount: number;
926
- _net_amount: number;
927
- _gross_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
- quantity: number;
937
- item_id: import("mongoose").Types.ObjectId;
938
- subtotal: number;
939
- _gst_amount: number;
940
- _net_amount: number;
941
- _gross_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: 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
- gst?: number | null | undefined;
961
- gst_amount?: number | null | undefined;
962
- is_gst_inclusive?: boolean | 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
- quantity: number;
973
- item_id: import("mongoose").Types.ObjectId;
974
- subtotal: number;
975
- _gst_amount: number;
976
- _net_amount: number;
977
- _gross_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
- quantity: number;
987
- item_id: import("mongoose").Types.ObjectId;
988
- subtotal: number;
989
- _gst_amount: number;
990
- _net_amount: number;
991
- _gross_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
- quantity: number;
1001
- item_id: import("mongoose").Types.ObjectId;
1002
- subtotal: number;
1003
- _gst_amount: number;
1004
- _net_amount: number;
1005
- _gross_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
- quantity: number;
1019
- item_id: import("mongoose").Types.ObjectId;
1020
- subtotal: number;
1021
- _gst_amount: number;
1022
- _net_amount: number;
1023
- _gross_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
- quantity: number;
1033
- item_id: import("mongoose").Types.ObjectId;
1034
- subtotal: number;
1035
- _gst_amount: number;
1036
- _net_amount: number;
1037
- _gross_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
- quantity: number;
1047
- item_id: import("mongoose").Types.ObjectId;
1048
- subtotal: number;
1049
- _gst_amount: number;
1050
- _net_amount: number;
1051
- _gross_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
- quantity: number;
1065
- item_id: import("mongoose").Types.ObjectId;
1066
- subtotal: number;
1067
- _gst_amount: number;
1068
- _net_amount: number;
1069
- _gross_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
- quantity: number;
1079
- item_id: import("mongoose").Types.ObjectId;
1080
- subtotal: number;
1081
- _gst_amount: number;
1082
- _net_amount: number;
1083
- _gross_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
- quantity: number;
1093
- item_id: import("mongoose").Types.ObjectId;
1094
- subtotal: number;
1095
- _gst_amount: number;
1096
- _net_amount: number;
1097
- _gross_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: 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
- gst?: number | null | undefined;
1117
- gst_amount?: number | null | undefined;
1118
- is_gst_inclusive?: boolean | 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
- quantity: number;
1129
- item_id: import("mongoose").Types.ObjectId;
1130
- subtotal: number;
1131
- _gst_amount: number;
1132
- _net_amount: number;
1133
- _gross_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
- quantity: number;
1143
- item_id: import("mongoose").Types.ObjectId;
1144
- subtotal: number;
1145
- _gst_amount: number;
1146
- _net_amount: number;
1147
- _gross_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
- quantity: number;
1157
- item_id: import("mongoose").Types.ObjectId;
1158
- subtotal: number;
1159
- _gst_amount: number;
1160
- _net_amount: number;
1161
- _gross_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
- quantity: number;
1175
- item_id: import("mongoose").Types.ObjectId;
1176
- subtotal: number;
1177
- _gst_amount: number;
1178
- _net_amount: number;
1179
- _gross_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
- quantity: number;
1189
- item_id: import("mongoose").Types.ObjectId;
1190
- subtotal: number;
1191
- _gst_amount: number;
1192
- _net_amount: number;
1193
- _gross_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
- quantity: number;
1203
- item_id: import("mongoose").Types.ObjectId;
1204
- subtotal: number;
1205
- _gst_amount: number;
1206
- _net_amount: number;
1207
- _gross_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
- quantity: number;
1221
- item_id: import("mongoose").Types.ObjectId;
1222
- subtotal: number;
1223
- _gst_amount: number;
1224
- _net_amount: number;
1225
- _gross_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
- quantity: number;
1235
- item_id: import("mongoose").Types.ObjectId;
1236
- subtotal: number;
1237
- _gst_amount: number;
1238
- _net_amount: number;
1239
- _gross_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
- quantity: number;
1249
- item_id: import("mongoose").Types.ObjectId;
1250
- subtotal: number;
1251
- _gst_amount: number;
1252
- _net_amount: number;
1253
- _gross_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: 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
- gst?: number | null | undefined;
1273
- gst_amount?: number | null | undefined;
1274
- is_gst_inclusive?: boolean | null | undefined;
1275
- }>;
1276
- is_deleted: boolean;
1277
- order_status_updated_at: NativeDate;
1278
- payment_terms: number;
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
- warehouse_id: string;
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
- gst?: number | null | undefined;
1293
- gst_amount?: number | null | undefined;
1294
- is_gst_inclusive?: boolean | null | undefined;
1295
- vendor_id?: import("mongoose").Types.ObjectId | null | undefined;
1296
- vendor_name?: string | null | undefined;
1297
- requested_vendors?: Map<string, {
1298
- status: 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
- quantity: number;
1321
- item_id: import("mongoose").Types.ObjectId;
1322
- subtotal: number;
1323
- _gst_amount: number;
1324
- _net_amount: number;
1325
- _gross_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
- quantity: number;
1335
- item_id: import("mongoose").Types.ObjectId;
1336
- subtotal: number;
1337
- _gst_amount: number;
1338
- _net_amount: number;
1339
- _gross_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
- quantity: number;
1349
- item_id: import("mongoose").Types.ObjectId;
1350
- subtotal: number;
1351
- _gst_amount: number;
1352
- _net_amount: number;
1353
- _gross_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
- quantity: number;
1367
- item_id: import("mongoose").Types.ObjectId;
1368
- subtotal: number;
1369
- _gst_amount: number;
1370
- _net_amount: number;
1371
- _gross_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
- quantity: number;
1381
- item_id: import("mongoose").Types.ObjectId;
1382
- subtotal: number;
1383
- _gst_amount: number;
1384
- _net_amount: number;
1385
- _gross_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
- quantity: number;
1395
- item_id: import("mongoose").Types.ObjectId;
1396
- subtotal: number;
1397
- _gst_amount: number;
1398
- _net_amount: number;
1399
- _gross_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
- quantity: number;
1413
- item_id: import("mongoose").Types.ObjectId;
1414
- subtotal: number;
1415
- _gst_amount: number;
1416
- _net_amount: number;
1417
- _gross_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
- quantity: number;
1427
- item_id: import("mongoose").Types.ObjectId;
1428
- subtotal: number;
1429
- _gst_amount: number;
1430
- _net_amount: number;
1431
- _gross_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
- quantity: number;
1441
- item_id: import("mongoose").Types.ObjectId;
1442
- subtotal: number;
1443
- _gst_amount: number;
1444
- _net_amount: number;
1445
- _gross_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: 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
- quantity: number;
1466
- item_id: import("mongoose").Types.ObjectId;
1467
- subtotal: number;
1468
- _gst_amount: number;
1469
- _net_amount: number;
1470
- _gross_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
- quantity: number;
1480
- item_id: import("mongoose").Types.ObjectId;
1481
- subtotal: number;
1482
- _gst_amount: number;
1483
- _net_amount: number;
1484
- _gross_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
- quantity: number;
1494
- item_id: import("mongoose").Types.ObjectId;
1495
- subtotal: number;
1496
- _gst_amount: number;
1497
- _net_amount: number;
1498
- _gross_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
- quantity: number;
1512
- item_id: import("mongoose").Types.ObjectId;
1513
- subtotal: number;
1514
- _gst_amount: number;
1515
- _net_amount: number;
1516
- _gross_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
- quantity: number;
1526
- item_id: import("mongoose").Types.ObjectId;
1527
- subtotal: number;
1528
- _gst_amount: number;
1529
- _net_amount: number;
1530
- _gross_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
- quantity: number;
1540
- item_id: import("mongoose").Types.ObjectId;
1541
- subtotal: number;
1542
- _gst_amount: number;
1543
- _net_amount: number;
1544
- _gross_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
- quantity: number;
1558
- item_id: import("mongoose").Types.ObjectId;
1559
- subtotal: number;
1560
- _gst_amount: number;
1561
- _net_amount: number;
1562
- _gross_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
- quantity: number;
1572
- item_id: import("mongoose").Types.ObjectId;
1573
- subtotal: number;
1574
- _gst_amount: number;
1575
- _net_amount: number;
1576
- _gross_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
- quantity: number;
1586
- item_id: import("mongoose").Types.ObjectId;
1587
- subtotal: number;
1588
- _gst_amount: number;
1589
- _net_amount: number;
1590
- _gross_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: 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
- gst?: number | null | undefined;
1610
- gst_amount?: number | null | undefined;
1611
- is_gst_inclusive?: boolean | 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
- quantity: number;
1622
- item_id: import("mongoose").Types.ObjectId;
1623
- subtotal: number;
1624
- _gst_amount: number;
1625
- _net_amount: number;
1626
- _gross_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
- quantity: number;
1636
- item_id: import("mongoose").Types.ObjectId;
1637
- subtotal: number;
1638
- _gst_amount: number;
1639
- _net_amount: number;
1640
- _gross_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
- quantity: number;
1650
- item_id: import("mongoose").Types.ObjectId;
1651
- subtotal: number;
1652
- _gst_amount: number;
1653
- _net_amount: number;
1654
- _gross_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
- quantity: number;
1668
- item_id: import("mongoose").Types.ObjectId;
1669
- subtotal: number;
1670
- _gst_amount: number;
1671
- _net_amount: number;
1672
- _gross_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
- quantity: number;
1682
- item_id: import("mongoose").Types.ObjectId;
1683
- subtotal: number;
1684
- _gst_amount: number;
1685
- _net_amount: number;
1686
- _gross_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
- quantity: number;
1696
- item_id: import("mongoose").Types.ObjectId;
1697
- subtotal: number;
1698
- _gst_amount: number;
1699
- _net_amount: number;
1700
- _gross_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
- quantity: number;
1714
- item_id: import("mongoose").Types.ObjectId;
1715
- subtotal: number;
1716
- _gst_amount: number;
1717
- _net_amount: number;
1718
- _gross_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
- quantity: number;
1728
- item_id: import("mongoose").Types.ObjectId;
1729
- subtotal: number;
1730
- _gst_amount: number;
1731
- _net_amount: number;
1732
- _gross_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
- quantity: number;
1742
- item_id: import("mongoose").Types.ObjectId;
1743
- subtotal: number;
1744
- _gst_amount: number;
1745
- _net_amount: number;
1746
- _gross_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: 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
- gst?: number | null | undefined;
1766
- gst_amount?: number | null | undefined;
1767
- is_gst_inclusive?: boolean | 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
- quantity: number;
1778
- item_id: import("mongoose").Types.ObjectId;
1779
- subtotal: number;
1780
- _gst_amount: number;
1781
- _net_amount: number;
1782
- _gross_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
- quantity: number;
1792
- item_id: import("mongoose").Types.ObjectId;
1793
- subtotal: number;
1794
- _gst_amount: number;
1795
- _net_amount: number;
1796
- _gross_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
- quantity: number;
1806
- item_id: import("mongoose").Types.ObjectId;
1807
- subtotal: number;
1808
- _gst_amount: number;
1809
- _net_amount: number;
1810
- _gross_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
- quantity: number;
1824
- item_id: import("mongoose").Types.ObjectId;
1825
- subtotal: number;
1826
- _gst_amount: number;
1827
- _net_amount: number;
1828
- _gross_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
- quantity: number;
1838
- item_id: import("mongoose").Types.ObjectId;
1839
- subtotal: number;
1840
- _gst_amount: number;
1841
- _net_amount: number;
1842
- _gross_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
- quantity: number;
1852
- item_id: import("mongoose").Types.ObjectId;
1853
- subtotal: number;
1854
- _gst_amount: number;
1855
- _net_amount: number;
1856
- _gross_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
- quantity: number;
1870
- item_id: import("mongoose").Types.ObjectId;
1871
- subtotal: number;
1872
- _gst_amount: number;
1873
- _net_amount: number;
1874
- _gross_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
- quantity: number;
1884
- item_id: import("mongoose").Types.ObjectId;
1885
- subtotal: number;
1886
- _gst_amount: number;
1887
- _net_amount: number;
1888
- _gross_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
- quantity: number;
1898
- item_id: import("mongoose").Types.ObjectId;
1899
- subtotal: number;
1900
- _gst_amount: number;
1901
- _net_amount: number;
1902
- _gross_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: 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
- gst?: number | null | undefined;
1922
- gst_amount?: number | null | undefined;
1923
- is_gst_inclusive?: boolean | null | undefined;
1924
- }>;
1925
- is_deleted: boolean;
1926
- order_status_updated_at: NativeDate;
1927
- payment_terms: number;
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
- warehouse_id: string;
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
- gst?: number | null | undefined;
1942
- gst_amount?: number | null | undefined;
1943
- is_gst_inclusive?: boolean | null | undefined;
1944
- vendor_id?: import("mongoose").Types.ObjectId | null | undefined;
1945
- vendor_name?: string | null | undefined;
1946
- requested_vendors?: Map<string, {
1947
- status: 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 PURCHASE_ORDER_RFQ_COLLECTION_NAME = "purchase_order_rfqs";