@managesome/eposmatic-toolkit 0.2.455 → 0.2.457

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 (180) hide show
  1. package/lib/constants/WORKER_ENDPOINTS.d.ts +2 -0
  2. package/lib/constants/WORKER_ENDPOINTS.js +3 -0
  3. package/lib/helpers/types/workers.d.ts +16 -1
  4. package/lib/schemas/models/index.d.ts +1 -0
  5. package/lib/schemas/models/index.js +1 -0
  6. package/lib/schemas/types/index.d.ts +2 -0
  7. package/lib/schemas/types/index.js +2 -0
  8. package/package.json +1 -1
  9. package/lib/constants/PURCHASE_ORDER.d.ts +0 -16
  10. package/lib/constants/PURCHASE_ORDER.js +0 -100
  11. package/lib/constants/RFQ.d.ts +0 -0
  12. package/lib/constants/RFQ.js +0 -1
  13. package/lib/helpers/order/generate-purchase-order-rfq.d.ts +0 -3
  14. package/lib/helpers/order/generate-purchase-order-rfq.js +0 -64
  15. package/lib/helpers/order/generate-purchase-order.d.ts +0 -11
  16. package/lib/helpers/order/generate-purchase-order.js +0 -196
  17. package/lib/helpers/store/all-purchase-orders-actions.d.ts +0 -13
  18. package/lib/helpers/store/all-purchase-orders-actions.js +0 -56
  19. package/lib/helpers/store/all-sale-orders-actions.d.ts +0 -2
  20. package/lib/helpers/store/all-sale-orders-actions.js +0 -8
  21. package/lib/helpers/store/all-warehouse-sale-orders-actions.d.ts +0 -2
  22. package/lib/helpers/store/all-warehouse-sale-orders-actions.js +0 -8
  23. package/lib/helpers/store/common-purchase-order-actions.d.ts +0 -31
  24. package/lib/helpers/store/common-purchase-order-actions.js +0 -543
  25. package/lib/helpers/store/common-sale-order-actions.d.ts +0 -5
  26. package/lib/helpers/store/common-sale-order-actions.js +0 -65
  27. package/lib/helpers/store/purchase-order-rfq-cart-actions.d.ts +0 -19
  28. package/lib/helpers/store/purchase-order-rfq-cart-actions.js +0 -373
  29. package/lib/helpers/store/purchase-orders-cart-actions.d.ts +0 -57
  30. package/lib/helpers/store/purchase-orders-cart-actions.js +0 -486
  31. package/lib/helpers/types/purchase-order-cart-actions.d.ts +0 -26
  32. package/lib/helpers/types/purchase-order-cart-actions.js +0 -2
  33. package/lib/helpers/utils/invoice-x-report-helpers.d.ts +0 -58
  34. package/lib/helpers/utils/invoice-x-report-helpers.js +0 -1432
  35. package/lib/helpers/utils/purchase-order-engine.d.ts +0 -9
  36. package/lib/helpers/utils/purchase-order-engine.js +0 -34
  37. package/lib/helpers/utils/purchase-order-receipt-engine.d.ts +0 -149
  38. package/lib/helpers/utils/purchase-order-receipt-engine.js +0 -214
  39. package/lib/helpers/utils/purchase-order-x-report-helpers.d.ts +0 -58
  40. package/lib/helpers/utils/purchase-order-x-report-helpers.js +0 -1440
  41. package/lib/helpers/utils/sale-order-x-report-helpers.d.ts +0 -44
  42. package/lib/helpers/utils/sale-order-x-report-helpers.js +0 -22
  43. package/lib/helpers/utils/sale-x-report-helpers.d.ts +0 -58
  44. package/lib/helpers/utils/sale-x-report-helpers.js +0 -1456
  45. package/lib/helpers/utils/terminal-devices-helpers.d.ts +0 -2
  46. package/lib/helpers/utils/terminal-devices-helpers.js +0 -13
  47. package/lib/helpers/utils/void-purchase-order-items-helpers.d.ts +0 -3
  48. package/lib/helpers/utils/void-purchase-order-items-helpers.js +0 -38
  49. package/lib/helpers/utils/void-purchase-order-items-report-helpers.d.ts +0 -13
  50. package/lib/helpers/utils/void-purchase-order-items-report-helpers.js +0 -22
  51. package/lib/schemas/models/applied-order-discounts.d.ts +0 -80
  52. package/lib/schemas/models/applied-order-discounts.js +0 -106
  53. package/lib/schemas/models/brand.d.ts +0 -45
  54. package/lib/schemas/models/brand.js +0 -45
  55. package/lib/schemas/models/category.d.ts +0 -60
  56. package/lib/schemas/models/category.js +0 -67
  57. package/lib/schemas/models/dinein_table_fingerprints.d.ts +0 -65
  58. package/lib/schemas/models/dinein_table_fingerprints.js +0 -85
  59. package/lib/schemas/models/expense_category.d.ts +0 -83
  60. package/lib/schemas/models/expense_category.js +0 -64
  61. package/lib/schemas/models/internal_movements.d.ts +0 -357
  62. package/lib/schemas/models/internal_movements.js +0 -323
  63. package/lib/schemas/models/inventory.d.ts +0 -99
  64. package/lib/schemas/models/inventory.js +0 -87
  65. package/lib/schemas/models/inventory_lot_serial_numbers.d.ts +0 -154
  66. package/lib/schemas/models/inventory_lot_serial_numbers.js +0 -193
  67. package/lib/schemas/models/item.d.ts +0 -11269
  68. package/lib/schemas/models/item.js +0 -333
  69. package/lib/schemas/models/menu.d.ts +0 -941
  70. package/lib/schemas/models/menu.js +0 -69
  71. package/lib/schemas/models/order.d.ts +0 -15437
  72. package/lib/schemas/models/order.js +0 -891
  73. package/lib/schemas/models/purchase_order_receipts.d.ts +0 -165
  74. package/lib/schemas/models/purchase_order_receipts.js +0 -151
  75. package/lib/schemas/models/purchase_order_rfq.d.ts +0 -1959
  76. package/lib/schemas/models/purchase_order_rfq.js +0 -328
  77. package/lib/schemas/models/purchase_order_rfqs.d.ts +0 -1959
  78. package/lib/schemas/models/purchase_order_rfqs.js +0 -328
  79. package/lib/schemas/models/purchase_order_vendor_returns.d.ts +0 -234
  80. package/lib/schemas/models/purchase_order_vendor_returns.js +0 -188
  81. package/lib/schemas/models/purchase_orders.d.ts +0 -2678
  82. package/lib/schemas/models/purchase_orders.js +0 -336
  83. package/lib/schemas/models/rider.d.ts +0 -65
  84. package/lib/schemas/models/rider.js +0 -74
  85. package/lib/schemas/models/sale_order_deliveries.d.ts +0 -167
  86. package/lib/schemas/models/sale_order_deliveries.js +0 -155
  87. package/lib/schemas/models/sale_order_invoices.d.ts +0 -227
  88. package/lib/schemas/models/sale_order_invoices.js +0 -206
  89. package/lib/schemas/models/sale_order_rfq.d.ts +0 -1938
  90. package/lib/schemas/models/sale_order_rfq.js +0 -309
  91. package/lib/schemas/models/sale_orders.d.ts +0 -1943
  92. package/lib/schemas/models/sale_orders.js +0 -324
  93. package/lib/schemas/models/tenant.d.ts +0 -528
  94. package/lib/schemas/models/tenant.js +0 -755
  95. package/lib/schemas/models/tenant_staff.d.ts +0 -932
  96. package/lib/schemas/models/tenant_staff.js +0 -96
  97. package/lib/schemas/models/track_order_number.d.ts +0 -413
  98. package/lib/schemas/models/track_order_number.js +0 -45
  99. package/lib/schemas/models/void_purchase_order_items.d.ts +0 -176
  100. package/lib/schemas/models/void_purchase_order_items.js +0 -177
  101. package/lib/schemas/models/void_warehouse_invoice_items.d.ts +0 -176
  102. package/lib/schemas/models/void_warehouse_invoice_items.js +0 -176
  103. package/lib/schemas/models/wallet.d.ts +0 -38
  104. package/lib/schemas/models/wallet.js +0 -37
  105. package/lib/schemas/models/warehouse-communications.d.ts +0 -228
  106. package/lib/schemas/models/warehouse-communications.js +0 -216
  107. package/lib/schemas/models/warehouse.d.ts +0 -162
  108. package/lib/schemas/models/warehouse.js +0 -222
  109. package/lib/schemas/models/warehouse_staff.d.ts +0 -65
  110. package/lib/schemas/models/warehouse_staff.js +0 -78
  111. package/lib/schemas/models/warehouse_track_order_number.d.ts +0 -50
  112. package/lib/schemas/models/warehouse_track_order_number.js +0 -52
  113. package/lib/schemas/types/applied-order-discounts.d.ts +0 -22
  114. package/lib/schemas/types/applied-order-discounts.js +0 -2
  115. package/lib/schemas/types/brand.d.ts +0 -32
  116. package/lib/schemas/types/brand.js +0 -2
  117. package/lib/schemas/types/category.d.ts +0 -15
  118. package/lib/schemas/types/category.js +0 -2
  119. package/lib/schemas/types/expense_category.d.ts +0 -20
  120. package/lib/schemas/types/expense_category.js +0 -2
  121. package/lib/schemas/types/internal_movements.d.ts +0 -73
  122. package/lib/schemas/types/internal_movements.js +0 -2
  123. package/lib/schemas/types/inventory.d.ts +0 -48
  124. package/lib/schemas/types/inventory.js +0 -2
  125. package/lib/schemas/types/inventory_lot_serial_numbers.d.ts +0 -85
  126. package/lib/schemas/types/inventory_lot_serial_numbers.js +0 -4
  127. package/lib/schemas/types/item.d.ts +0 -89
  128. package/lib/schemas/types/item.js +0 -2
  129. package/lib/schemas/types/menu.d.ts +0 -17
  130. package/lib/schemas/types/menu.js +0 -2
  131. package/lib/schemas/types/order.d.ts +0 -242
  132. package/lib/schemas/types/order.js +0 -2
  133. package/lib/schemas/types/purchase_order_common.d.ts +0 -39
  134. package/lib/schemas/types/purchase_order_common.js +0 -2
  135. package/lib/schemas/types/purchase_order_receipts.d.ts +0 -39
  136. package/lib/schemas/types/purchase_order_receipts.js +0 -21
  137. package/lib/schemas/types/purchase_order_rfq.d.ts +0 -33
  138. package/lib/schemas/types/purchase_order_rfq.js +0 -2
  139. package/lib/schemas/types/purchase_order_rfqs.d.ts +0 -33
  140. package/lib/schemas/types/purchase_order_rfqs.js +0 -2
  141. package/lib/schemas/types/purchase_order_vendor_returns.d.ts +0 -49
  142. package/lib/schemas/types/purchase_order_vendor_returns.js +0 -42
  143. package/lib/schemas/types/purchase_orders.d.ts +0 -33
  144. package/lib/schemas/types/purchase_orders.js +0 -2
  145. package/lib/schemas/types/rider.d.ts +0 -16
  146. package/lib/schemas/types/rider.js +0 -2
  147. package/lib/schemas/types/sale_order_common.d.ts +0 -39
  148. package/lib/schemas/types/sale_order_common.js +0 -2
  149. package/lib/schemas/types/sale_order_deliveries.d.ts +0 -67
  150. package/lib/schemas/types/sale_order_deliveries.js +0 -2
  151. package/lib/schemas/types/sale_order_invoices.d.ts +0 -49
  152. package/lib/schemas/types/sale_order_invoices.js +0 -2
  153. package/lib/schemas/types/sale_order_rfq.d.ts +0 -25
  154. package/lib/schemas/types/sale_order_rfq.js +0 -2
  155. package/lib/schemas/types/sale_orders.d.ts +0 -30
  156. package/lib/schemas/types/sale_orders.js +0 -2
  157. package/lib/schemas/types/tenant.d.ts +0 -205
  158. package/lib/schemas/types/tenant.js +0 -2
  159. package/lib/schemas/types/tenant_staff.d.ts +0 -22
  160. package/lib/schemas/types/tenant_staff.js +0 -2
  161. package/lib/schemas/types/track_order_number.d.ts +0 -10
  162. package/lib/schemas/types/track_order_number.js +0 -2
  163. package/lib/schemas/types/void_purchase_order_items.d.ts +0 -37
  164. package/lib/schemas/types/void_purchase_order_items.js +0 -2
  165. package/lib/schemas/types/void_warehouse_invoice_items.d.ts +0 -37
  166. package/lib/schemas/types/void_warehouse_invoice_items.js +0 -2
  167. package/lib/schemas/types/wallet.d.ts +0 -7
  168. package/lib/schemas/types/wallet.js +0 -2
  169. package/lib/schemas/types/warehouse-communications.d.ts +0 -54
  170. package/lib/schemas/types/warehouse-communications.js +0 -2
  171. package/lib/schemas/types/warehouse.d.ts +0 -49
  172. package/lib/schemas/types/warehouse.js +0 -2
  173. package/lib/schemas/types/warehouse_purchase_order_common.d.ts +0 -39
  174. package/lib/schemas/types/warehouse_purchase_order_common.js +0 -2
  175. package/lib/schemas/types/warehouse_sale_order_common.d.ts +0 -39
  176. package/lib/schemas/types/warehouse_sale_order_common.js +0 -2
  177. package/lib/schemas/types/warehouse_staff.d.ts +0 -17
  178. package/lib/schemas/types/warehouse_staff.js +0 -2
  179. package/lib/schemas/types/warehouse_track_order_number.d.ts +0 -11
  180. package/lib/schemas/types/warehouse_track_order_number.js +0 -2
@@ -1,1938 +0,0 @@
1
- import { Schema } from 'mongoose';
2
- import { SALE_ORDER_RFQ_STATUS_ENUM } from '../../constants';
3
- export declare const SaleOrderRFQSchema: 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: SALE_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: SALE_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: SALE_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: SALE_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
- expected_deadline: string;
641
- client_id: import("mongoose").Types.ObjectId;
642
- client_name: string;
643
- cancel_reason?: string | null | undefined;
644
- delete_reason?: string | null | undefined;
645
- is_reopened?: boolean | null | undefined;
646
- gst?: number | null | undefined;
647
- gst_amount?: number | null | undefined;
648
- is_gst_inclusive?: boolean | null | undefined;
649
- }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
650
- createdAt: NativeDate;
651
- updatedAt: NativeDate;
652
- } & {
653
- _id: import("mongoose").Types.ObjectId;
654
- createdAt_mins: number;
655
- createdAt: NativeDate;
656
- updatedAt: NativeDate;
657
- categories: import("mongoose").Types.DocumentArray<{
658
- name: string;
659
- category_id: import("mongoose").Types.ObjectId;
660
- items: import("mongoose").Types.DocumentArray<{
661
- _id: import("mongoose").Types.ObjectId;
662
- name: string;
663
- price: number;
664
- special_instructions: string;
665
- quantity: number;
666
- item_id: import("mongoose").Types.ObjectId;
667
- subtotal: number;
668
- _gst_amount: number;
669
- _net_amount: number;
670
- _gross_amount: number;
671
- _discount_amount: number;
672
- is_ready?: boolean | null | undefined;
673
- void_reason?: string | null | undefined;
674
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
675
- _id: import("mongoose").Types.ObjectId;
676
- name: string;
677
- price: number;
678
- special_instructions: string;
679
- quantity: number;
680
- item_id: import("mongoose").Types.ObjectId;
681
- subtotal: number;
682
- _gst_amount: number;
683
- _net_amount: number;
684
- _gross_amount: number;
685
- _discount_amount: number;
686
- is_ready?: boolean | null | undefined;
687
- void_reason?: string | null | undefined;
688
- }> & {
689
- _id: import("mongoose").Types.ObjectId;
690
- name: string;
691
- price: number;
692
- special_instructions: string;
693
- quantity: number;
694
- item_id: import("mongoose").Types.ObjectId;
695
- subtotal: number;
696
- _gst_amount: number;
697
- _net_amount: number;
698
- _gross_amount: number;
699
- _discount_amount: number;
700
- is_ready?: boolean | null | undefined;
701
- void_reason?: string | null | undefined;
702
- }>;
703
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
704
- name: string;
705
- category_id: import("mongoose").Types.ObjectId;
706
- items: import("mongoose").Types.DocumentArray<{
707
- _id: import("mongoose").Types.ObjectId;
708
- name: string;
709
- price: number;
710
- special_instructions: string;
711
- quantity: number;
712
- item_id: import("mongoose").Types.ObjectId;
713
- subtotal: number;
714
- _gst_amount: number;
715
- _net_amount: number;
716
- _gross_amount: number;
717
- _discount_amount: number;
718
- is_ready?: boolean | null | undefined;
719
- void_reason?: string | null | undefined;
720
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
721
- _id: import("mongoose").Types.ObjectId;
722
- name: string;
723
- price: number;
724
- special_instructions: string;
725
- quantity: number;
726
- item_id: import("mongoose").Types.ObjectId;
727
- subtotal: number;
728
- _gst_amount: number;
729
- _net_amount: number;
730
- _gross_amount: number;
731
- _discount_amount: number;
732
- is_ready?: boolean | null | undefined;
733
- void_reason?: string | null | undefined;
734
- }> & {
735
- _id: import("mongoose").Types.ObjectId;
736
- name: string;
737
- price: number;
738
- special_instructions: string;
739
- quantity: number;
740
- item_id: import("mongoose").Types.ObjectId;
741
- subtotal: number;
742
- _gst_amount: number;
743
- _net_amount: number;
744
- _gross_amount: number;
745
- _discount_amount: number;
746
- is_ready?: boolean | null | undefined;
747
- void_reason?: string | null | undefined;
748
- }>;
749
- }> & {
750
- name: string;
751
- category_id: import("mongoose").Types.ObjectId;
752
- items: import("mongoose").Types.DocumentArray<{
753
- _id: import("mongoose").Types.ObjectId;
754
- name: string;
755
- price: number;
756
- special_instructions: string;
757
- quantity: number;
758
- item_id: import("mongoose").Types.ObjectId;
759
- subtotal: number;
760
- _gst_amount: number;
761
- _net_amount: number;
762
- _gross_amount: number;
763
- _discount_amount: number;
764
- is_ready?: boolean | null | undefined;
765
- void_reason?: string | null | undefined;
766
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
767
- _id: import("mongoose").Types.ObjectId;
768
- name: string;
769
- price: number;
770
- special_instructions: string;
771
- quantity: number;
772
- item_id: import("mongoose").Types.ObjectId;
773
- subtotal: number;
774
- _gst_amount: number;
775
- _net_amount: number;
776
- _gross_amount: number;
777
- _discount_amount: number;
778
- is_ready?: boolean | null | undefined;
779
- void_reason?: string | null | undefined;
780
- }> & {
781
- _id: import("mongoose").Types.ObjectId;
782
- name: string;
783
- price: number;
784
- special_instructions: string;
785
- quantity: number;
786
- item_id: import("mongoose").Types.ObjectId;
787
- subtotal: number;
788
- _gst_amount: number;
789
- _net_amount: number;
790
- _gross_amount: number;
791
- _discount_amount: number;
792
- is_ready?: boolean | null | undefined;
793
- void_reason?: string | null | undefined;
794
- }>;
795
- }>;
796
- price: number;
797
- order_number: number;
798
- special_instructions: string;
799
- order_status: SALE_ORDER_RFQ_STATUS_ENUM;
800
- tax_number: string;
801
- amount_earned: number;
802
- grand_total: number;
803
- iterations: import("mongoose").Types.DocumentArray<{
804
- updatedAt: NativeDate;
805
- categories: import("mongoose").Types.DocumentArray<{
806
- name: string;
807
- category_id: import("mongoose").Types.ObjectId;
808
- items: import("mongoose").Types.DocumentArray<{
809
- _id: import("mongoose").Types.ObjectId;
810
- name: string;
811
- price: number;
812
- special_instructions: string;
813
- quantity: number;
814
- item_id: import("mongoose").Types.ObjectId;
815
- subtotal: number;
816
- _gst_amount: number;
817
- _net_amount: number;
818
- _gross_amount: number;
819
- _discount_amount: number;
820
- is_ready?: boolean | null | undefined;
821
- void_reason?: string | null | undefined;
822
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
823
- _id: import("mongoose").Types.ObjectId;
824
- name: string;
825
- price: number;
826
- special_instructions: string;
827
- quantity: number;
828
- item_id: import("mongoose").Types.ObjectId;
829
- subtotal: number;
830
- _gst_amount: number;
831
- _net_amount: number;
832
- _gross_amount: number;
833
- _discount_amount: number;
834
- is_ready?: boolean | null | undefined;
835
- void_reason?: string | null | undefined;
836
- }> & {
837
- _id: import("mongoose").Types.ObjectId;
838
- name: string;
839
- price: number;
840
- special_instructions: string;
841
- quantity: number;
842
- item_id: import("mongoose").Types.ObjectId;
843
- subtotal: number;
844
- _gst_amount: number;
845
- _net_amount: number;
846
- _gross_amount: number;
847
- _discount_amount: number;
848
- is_ready?: boolean | null | undefined;
849
- void_reason?: string | null | undefined;
850
- }>;
851
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
852
- name: string;
853
- category_id: import("mongoose").Types.ObjectId;
854
- items: import("mongoose").Types.DocumentArray<{
855
- _id: import("mongoose").Types.ObjectId;
856
- name: string;
857
- price: number;
858
- special_instructions: string;
859
- quantity: number;
860
- item_id: import("mongoose").Types.ObjectId;
861
- subtotal: number;
862
- _gst_amount: number;
863
- _net_amount: number;
864
- _gross_amount: number;
865
- _discount_amount: number;
866
- is_ready?: boolean | null | undefined;
867
- void_reason?: string | null | undefined;
868
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
869
- _id: import("mongoose").Types.ObjectId;
870
- name: string;
871
- price: number;
872
- special_instructions: string;
873
- quantity: number;
874
- item_id: import("mongoose").Types.ObjectId;
875
- subtotal: number;
876
- _gst_amount: number;
877
- _net_amount: number;
878
- _gross_amount: number;
879
- _discount_amount: number;
880
- is_ready?: boolean | null | undefined;
881
- void_reason?: string | null | undefined;
882
- }> & {
883
- _id: import("mongoose").Types.ObjectId;
884
- name: string;
885
- price: number;
886
- special_instructions: string;
887
- quantity: number;
888
- item_id: import("mongoose").Types.ObjectId;
889
- subtotal: number;
890
- _gst_amount: number;
891
- _net_amount: number;
892
- _gross_amount: number;
893
- _discount_amount: number;
894
- is_ready?: boolean | null | undefined;
895
- void_reason?: string | null | undefined;
896
- }>;
897
- }> & {
898
- name: string;
899
- category_id: import("mongoose").Types.ObjectId;
900
- items: import("mongoose").Types.DocumentArray<{
901
- _id: import("mongoose").Types.ObjectId;
902
- name: string;
903
- price: number;
904
- special_instructions: string;
905
- quantity: number;
906
- item_id: import("mongoose").Types.ObjectId;
907
- subtotal: number;
908
- _gst_amount: number;
909
- _net_amount: number;
910
- _gross_amount: number;
911
- _discount_amount: number;
912
- is_ready?: boolean | null | undefined;
913
- void_reason?: string | null | undefined;
914
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
915
- _id: import("mongoose").Types.ObjectId;
916
- name: string;
917
- price: number;
918
- special_instructions: string;
919
- quantity: number;
920
- item_id: import("mongoose").Types.ObjectId;
921
- subtotal: number;
922
- _gst_amount: number;
923
- _net_amount: number;
924
- _gross_amount: number;
925
- _discount_amount: number;
926
- is_ready?: boolean | null | undefined;
927
- void_reason?: string | null | undefined;
928
- }> & {
929
- _id: import("mongoose").Types.ObjectId;
930
- name: string;
931
- price: number;
932
- special_instructions: string;
933
- quantity: number;
934
- item_id: import("mongoose").Types.ObjectId;
935
- subtotal: number;
936
- _gst_amount: number;
937
- _net_amount: number;
938
- _gross_amount: number;
939
- _discount_amount: number;
940
- is_ready?: boolean | null | undefined;
941
- void_reason?: string | null | undefined;
942
- }>;
943
- }>;
944
- price: number;
945
- special_instructions: string;
946
- order_status: SALE_ORDER_RFQ_STATUS_ENUM;
947
- tax_number: string;
948
- amount_earned: number;
949
- grand_total: number;
950
- staff_details: {
951
- staff_id: string;
952
- staff_name: string;
953
- staff_mobile: string;
954
- staff_email: string;
955
- };
956
- gst?: number | null | undefined;
957
- gst_amount?: number | null | undefined;
958
- is_gst_inclusive?: boolean | null | undefined;
959
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
960
- updatedAt: NativeDate;
961
- categories: import("mongoose").Types.DocumentArray<{
962
- name: string;
963
- category_id: import("mongoose").Types.ObjectId;
964
- items: import("mongoose").Types.DocumentArray<{
965
- _id: import("mongoose").Types.ObjectId;
966
- name: string;
967
- price: number;
968
- special_instructions: string;
969
- quantity: number;
970
- item_id: import("mongoose").Types.ObjectId;
971
- subtotal: number;
972
- _gst_amount: number;
973
- _net_amount: number;
974
- _gross_amount: number;
975
- _discount_amount: number;
976
- is_ready?: boolean | null | undefined;
977
- void_reason?: string | null | undefined;
978
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
979
- _id: import("mongoose").Types.ObjectId;
980
- name: string;
981
- price: number;
982
- special_instructions: string;
983
- quantity: number;
984
- item_id: import("mongoose").Types.ObjectId;
985
- subtotal: number;
986
- _gst_amount: number;
987
- _net_amount: number;
988
- _gross_amount: number;
989
- _discount_amount: number;
990
- is_ready?: boolean | null | undefined;
991
- void_reason?: string | null | undefined;
992
- }> & {
993
- _id: import("mongoose").Types.ObjectId;
994
- name: string;
995
- price: number;
996
- special_instructions: string;
997
- quantity: number;
998
- item_id: import("mongoose").Types.ObjectId;
999
- subtotal: number;
1000
- _gst_amount: number;
1001
- _net_amount: number;
1002
- _gross_amount: number;
1003
- _discount_amount: number;
1004
- is_ready?: boolean | null | undefined;
1005
- void_reason?: string | null | undefined;
1006
- }>;
1007
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1008
- name: string;
1009
- category_id: import("mongoose").Types.ObjectId;
1010
- items: import("mongoose").Types.DocumentArray<{
1011
- _id: import("mongoose").Types.ObjectId;
1012
- name: string;
1013
- price: number;
1014
- special_instructions: string;
1015
- quantity: number;
1016
- item_id: import("mongoose").Types.ObjectId;
1017
- subtotal: number;
1018
- _gst_amount: number;
1019
- _net_amount: number;
1020
- _gross_amount: number;
1021
- _discount_amount: number;
1022
- is_ready?: boolean | null | undefined;
1023
- void_reason?: string | null | undefined;
1024
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1025
- _id: import("mongoose").Types.ObjectId;
1026
- name: string;
1027
- price: number;
1028
- special_instructions: string;
1029
- quantity: number;
1030
- item_id: import("mongoose").Types.ObjectId;
1031
- subtotal: number;
1032
- _gst_amount: number;
1033
- _net_amount: number;
1034
- _gross_amount: number;
1035
- _discount_amount: number;
1036
- is_ready?: boolean | null | undefined;
1037
- void_reason?: string | null | undefined;
1038
- }> & {
1039
- _id: import("mongoose").Types.ObjectId;
1040
- name: string;
1041
- price: number;
1042
- special_instructions: string;
1043
- quantity: number;
1044
- item_id: import("mongoose").Types.ObjectId;
1045
- subtotal: number;
1046
- _gst_amount: number;
1047
- _net_amount: number;
1048
- _gross_amount: number;
1049
- _discount_amount: number;
1050
- is_ready?: boolean | null | undefined;
1051
- void_reason?: string | null | undefined;
1052
- }>;
1053
- }> & {
1054
- name: string;
1055
- category_id: import("mongoose").Types.ObjectId;
1056
- items: import("mongoose").Types.DocumentArray<{
1057
- _id: import("mongoose").Types.ObjectId;
1058
- name: string;
1059
- price: number;
1060
- special_instructions: string;
1061
- quantity: number;
1062
- item_id: import("mongoose").Types.ObjectId;
1063
- subtotal: number;
1064
- _gst_amount: number;
1065
- _net_amount: number;
1066
- _gross_amount: number;
1067
- _discount_amount: number;
1068
- is_ready?: boolean | null | undefined;
1069
- void_reason?: string | null | undefined;
1070
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1071
- _id: import("mongoose").Types.ObjectId;
1072
- name: string;
1073
- price: number;
1074
- special_instructions: string;
1075
- quantity: number;
1076
- item_id: import("mongoose").Types.ObjectId;
1077
- subtotal: number;
1078
- _gst_amount: number;
1079
- _net_amount: number;
1080
- _gross_amount: number;
1081
- _discount_amount: number;
1082
- is_ready?: boolean | null | undefined;
1083
- void_reason?: string | null | undefined;
1084
- }> & {
1085
- _id: import("mongoose").Types.ObjectId;
1086
- name: string;
1087
- price: number;
1088
- special_instructions: string;
1089
- quantity: number;
1090
- item_id: import("mongoose").Types.ObjectId;
1091
- subtotal: number;
1092
- _gst_amount: number;
1093
- _net_amount: number;
1094
- _gross_amount: number;
1095
- _discount_amount: number;
1096
- is_ready?: boolean | null | undefined;
1097
- void_reason?: string | null | undefined;
1098
- }>;
1099
- }>;
1100
- price: number;
1101
- special_instructions: string;
1102
- order_status: SALE_ORDER_RFQ_STATUS_ENUM;
1103
- tax_number: string;
1104
- amount_earned: number;
1105
- grand_total: number;
1106
- staff_details: {
1107
- staff_id: string;
1108
- staff_name: string;
1109
- staff_mobile: string;
1110
- staff_email: string;
1111
- };
1112
- gst?: number | null | undefined;
1113
- gst_amount?: number | null | undefined;
1114
- is_gst_inclusive?: boolean | null | undefined;
1115
- }> & {
1116
- updatedAt: NativeDate;
1117
- categories: import("mongoose").Types.DocumentArray<{
1118
- name: string;
1119
- category_id: import("mongoose").Types.ObjectId;
1120
- items: import("mongoose").Types.DocumentArray<{
1121
- _id: import("mongoose").Types.ObjectId;
1122
- name: string;
1123
- price: number;
1124
- special_instructions: string;
1125
- quantity: number;
1126
- item_id: import("mongoose").Types.ObjectId;
1127
- subtotal: number;
1128
- _gst_amount: number;
1129
- _net_amount: number;
1130
- _gross_amount: number;
1131
- _discount_amount: number;
1132
- is_ready?: boolean | null | undefined;
1133
- void_reason?: string | null | undefined;
1134
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1135
- _id: import("mongoose").Types.ObjectId;
1136
- name: string;
1137
- price: number;
1138
- special_instructions: string;
1139
- quantity: number;
1140
- item_id: import("mongoose").Types.ObjectId;
1141
- subtotal: number;
1142
- _gst_amount: number;
1143
- _net_amount: number;
1144
- _gross_amount: number;
1145
- _discount_amount: number;
1146
- is_ready?: boolean | null | undefined;
1147
- void_reason?: string | null | undefined;
1148
- }> & {
1149
- _id: import("mongoose").Types.ObjectId;
1150
- name: string;
1151
- price: number;
1152
- special_instructions: string;
1153
- quantity: number;
1154
- item_id: import("mongoose").Types.ObjectId;
1155
- subtotal: number;
1156
- _gst_amount: number;
1157
- _net_amount: number;
1158
- _gross_amount: number;
1159
- _discount_amount: number;
1160
- is_ready?: boolean | null | undefined;
1161
- void_reason?: string | null | undefined;
1162
- }>;
1163
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1164
- name: string;
1165
- category_id: import("mongoose").Types.ObjectId;
1166
- items: import("mongoose").Types.DocumentArray<{
1167
- _id: import("mongoose").Types.ObjectId;
1168
- name: string;
1169
- price: number;
1170
- special_instructions: string;
1171
- quantity: number;
1172
- item_id: import("mongoose").Types.ObjectId;
1173
- subtotal: number;
1174
- _gst_amount: number;
1175
- _net_amount: number;
1176
- _gross_amount: number;
1177
- _discount_amount: number;
1178
- is_ready?: boolean | null | undefined;
1179
- void_reason?: string | null | undefined;
1180
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1181
- _id: import("mongoose").Types.ObjectId;
1182
- name: string;
1183
- price: number;
1184
- special_instructions: string;
1185
- quantity: number;
1186
- item_id: import("mongoose").Types.ObjectId;
1187
- subtotal: number;
1188
- _gst_amount: number;
1189
- _net_amount: number;
1190
- _gross_amount: number;
1191
- _discount_amount: number;
1192
- is_ready?: boolean | null | undefined;
1193
- void_reason?: string | null | undefined;
1194
- }> & {
1195
- _id: import("mongoose").Types.ObjectId;
1196
- name: string;
1197
- price: number;
1198
- special_instructions: string;
1199
- quantity: number;
1200
- item_id: import("mongoose").Types.ObjectId;
1201
- subtotal: number;
1202
- _gst_amount: number;
1203
- _net_amount: number;
1204
- _gross_amount: number;
1205
- _discount_amount: number;
1206
- is_ready?: boolean | null | undefined;
1207
- void_reason?: string | null | undefined;
1208
- }>;
1209
- }> & {
1210
- name: string;
1211
- category_id: import("mongoose").Types.ObjectId;
1212
- items: import("mongoose").Types.DocumentArray<{
1213
- _id: import("mongoose").Types.ObjectId;
1214
- name: string;
1215
- price: number;
1216
- special_instructions: string;
1217
- quantity: number;
1218
- item_id: import("mongoose").Types.ObjectId;
1219
- subtotal: number;
1220
- _gst_amount: number;
1221
- _net_amount: number;
1222
- _gross_amount: number;
1223
- _discount_amount: number;
1224
- is_ready?: boolean | null | undefined;
1225
- void_reason?: string | null | undefined;
1226
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1227
- _id: import("mongoose").Types.ObjectId;
1228
- name: string;
1229
- price: number;
1230
- special_instructions: string;
1231
- quantity: number;
1232
- item_id: import("mongoose").Types.ObjectId;
1233
- subtotal: number;
1234
- _gst_amount: number;
1235
- _net_amount: number;
1236
- _gross_amount: number;
1237
- _discount_amount: number;
1238
- is_ready?: boolean | null | undefined;
1239
- void_reason?: string | null | undefined;
1240
- }> & {
1241
- _id: import("mongoose").Types.ObjectId;
1242
- name: string;
1243
- price: number;
1244
- special_instructions: string;
1245
- quantity: number;
1246
- item_id: import("mongoose").Types.ObjectId;
1247
- subtotal: number;
1248
- _gst_amount: number;
1249
- _net_amount: number;
1250
- _gross_amount: number;
1251
- _discount_amount: number;
1252
- is_ready?: boolean | null | undefined;
1253
- void_reason?: string | null | undefined;
1254
- }>;
1255
- }>;
1256
- price: number;
1257
- special_instructions: string;
1258
- order_status: SALE_ORDER_RFQ_STATUS_ENUM;
1259
- tax_number: string;
1260
- amount_earned: number;
1261
- grand_total: number;
1262
- staff_details: {
1263
- staff_id: string;
1264
- staff_name: string;
1265
- staff_mobile: string;
1266
- staff_email: string;
1267
- };
1268
- gst?: number | null | undefined;
1269
- gst_amount?: number | null | undefined;
1270
- is_gst_inclusive?: boolean | null | undefined;
1271
- }>;
1272
- is_deleted: boolean;
1273
- order_status_updated_at: NativeDate;
1274
- payment_terms: number;
1275
- staff_details: {
1276
- staff_id: string;
1277
- staff_name: string;
1278
- staff_mobile: string;
1279
- staff_email: string;
1280
- };
1281
- warehouse_id: string;
1282
- expected_deadline: string;
1283
- client_id: import("mongoose").Types.ObjectId;
1284
- client_name: string;
1285
- cancel_reason?: string | null | undefined;
1286
- delete_reason?: string | null | undefined;
1287
- is_reopened?: boolean | null | undefined;
1288
- gst?: number | null | undefined;
1289
- gst_amount?: number | null | undefined;
1290
- is_gst_inclusive?: boolean | null | undefined;
1291
- }>> & import("mongoose").FlatRecord<{
1292
- createdAt: NativeDate;
1293
- updatedAt: NativeDate;
1294
- } & {
1295
- _id: import("mongoose").Types.ObjectId;
1296
- createdAt_mins: number;
1297
- createdAt: NativeDate;
1298
- updatedAt: NativeDate;
1299
- categories: import("mongoose").Types.DocumentArray<{
1300
- name: string;
1301
- category_id: import("mongoose").Types.ObjectId;
1302
- items: import("mongoose").Types.DocumentArray<{
1303
- _id: import("mongoose").Types.ObjectId;
1304
- name: string;
1305
- price: number;
1306
- special_instructions: string;
1307
- quantity: number;
1308
- item_id: import("mongoose").Types.ObjectId;
1309
- subtotal: number;
1310
- _gst_amount: number;
1311
- _net_amount: number;
1312
- _gross_amount: number;
1313
- _discount_amount: number;
1314
- is_ready?: boolean | null | undefined;
1315
- void_reason?: string | null | undefined;
1316
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1346
- name: string;
1347
- category_id: import("mongoose").Types.ObjectId;
1348
- items: import("mongoose").Types.DocumentArray<{
1349
- _id: import("mongoose").Types.ObjectId;
1350
- name: string;
1351
- price: number;
1352
- special_instructions: string;
1353
- quantity: number;
1354
- item_id: import("mongoose").Types.ObjectId;
1355
- subtotal: number;
1356
- _gst_amount: number;
1357
- _net_amount: number;
1358
- _gross_amount: number;
1359
- _discount_amount: number;
1360
- is_ready?: boolean | null | undefined;
1361
- void_reason?: string | null | undefined;
1362
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }> & {
1392
- name: string;
1393
- category_id: import("mongoose").Types.ObjectId;
1394
- items: import("mongoose").Types.DocumentArray<{
1395
- _id: import("mongoose").Types.ObjectId;
1396
- name: string;
1397
- price: number;
1398
- special_instructions: string;
1399
- quantity: number;
1400
- item_id: import("mongoose").Types.ObjectId;
1401
- subtotal: number;
1402
- _gst_amount: number;
1403
- _net_amount: number;
1404
- _gross_amount: number;
1405
- _discount_amount: number;
1406
- is_ready?: boolean | null | undefined;
1407
- void_reason?: string | null | undefined;
1408
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }>;
1438
- price: number;
1439
- order_number: number;
1440
- special_instructions: string;
1441
- order_status: SALE_ORDER_RFQ_STATUS_ENUM;
1442
- tax_number: string;
1443
- amount_earned: number;
1444
- grand_total: number;
1445
- iterations: import("mongoose").Types.DocumentArray<{
1446
- updatedAt: NativeDate;
1447
- categories: import("mongoose").Types.DocumentArray<{
1448
- name: string;
1449
- category_id: import("mongoose").Types.ObjectId;
1450
- items: import("mongoose").Types.DocumentArray<{
1451
- _id: import("mongoose").Types.ObjectId;
1452
- name: string;
1453
- price: number;
1454
- special_instructions: string;
1455
- quantity: number;
1456
- item_id: import("mongoose").Types.ObjectId;
1457
- subtotal: number;
1458
- _gst_amount: number;
1459
- _net_amount: number;
1460
- _gross_amount: number;
1461
- _discount_amount: number;
1462
- is_ready?: boolean | null | undefined;
1463
- void_reason?: string | null | undefined;
1464
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1494
- name: string;
1495
- category_id: import("mongoose").Types.ObjectId;
1496
- items: import("mongoose").Types.DocumentArray<{
1497
- _id: import("mongoose").Types.ObjectId;
1498
- name: string;
1499
- price: number;
1500
- special_instructions: string;
1501
- quantity: number;
1502
- item_id: import("mongoose").Types.ObjectId;
1503
- subtotal: number;
1504
- _gst_amount: number;
1505
- _net_amount: number;
1506
- _gross_amount: number;
1507
- _discount_amount: number;
1508
- is_ready?: boolean | null | undefined;
1509
- void_reason?: string | null | undefined;
1510
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }> & {
1540
- name: string;
1541
- category_id: import("mongoose").Types.ObjectId;
1542
- items: import("mongoose").Types.DocumentArray<{
1543
- _id: import("mongoose").Types.ObjectId;
1544
- name: string;
1545
- price: number;
1546
- special_instructions: string;
1547
- quantity: number;
1548
- item_id: import("mongoose").Types.ObjectId;
1549
- subtotal: number;
1550
- _gst_amount: number;
1551
- _net_amount: number;
1552
- _gross_amount: number;
1553
- _discount_amount: number;
1554
- is_ready?: boolean | null | undefined;
1555
- void_reason?: string | null | undefined;
1556
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }>;
1586
- price: number;
1587
- special_instructions: string;
1588
- order_status: SALE_ORDER_RFQ_STATUS_ENUM;
1589
- tax_number: string;
1590
- amount_earned: number;
1591
- grand_total: number;
1592
- staff_details: {
1593
- staff_id: string;
1594
- staff_name: string;
1595
- staff_mobile: string;
1596
- staff_email: string;
1597
- };
1598
- gst?: number | null | undefined;
1599
- gst_amount?: number | null | undefined;
1600
- is_gst_inclusive?: boolean | null | undefined;
1601
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1602
- updatedAt: NativeDate;
1603
- categories: import("mongoose").Types.DocumentArray<{
1604
- name: string;
1605
- category_id: import("mongoose").Types.ObjectId;
1606
- items: import("mongoose").Types.DocumentArray<{
1607
- _id: import("mongoose").Types.ObjectId;
1608
- name: string;
1609
- price: number;
1610
- special_instructions: string;
1611
- quantity: number;
1612
- item_id: import("mongoose").Types.ObjectId;
1613
- subtotal: number;
1614
- _gst_amount: number;
1615
- _net_amount: number;
1616
- _gross_amount: number;
1617
- _discount_amount: number;
1618
- is_ready?: boolean | null | undefined;
1619
- void_reason?: string | null | undefined;
1620
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1650
- name: string;
1651
- category_id: import("mongoose").Types.ObjectId;
1652
- items: import("mongoose").Types.DocumentArray<{
1653
- _id: import("mongoose").Types.ObjectId;
1654
- name: string;
1655
- price: number;
1656
- special_instructions: string;
1657
- quantity: number;
1658
- item_id: import("mongoose").Types.ObjectId;
1659
- subtotal: number;
1660
- _gst_amount: number;
1661
- _net_amount: number;
1662
- _gross_amount: number;
1663
- _discount_amount: number;
1664
- is_ready?: boolean | null | undefined;
1665
- void_reason?: string | null | undefined;
1666
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }> & {
1696
- name: string;
1697
- category_id: import("mongoose").Types.ObjectId;
1698
- items: import("mongoose").Types.DocumentArray<{
1699
- _id: import("mongoose").Types.ObjectId;
1700
- name: string;
1701
- price: number;
1702
- special_instructions: string;
1703
- quantity: number;
1704
- item_id: import("mongoose").Types.ObjectId;
1705
- subtotal: number;
1706
- _gst_amount: number;
1707
- _net_amount: number;
1708
- _gross_amount: number;
1709
- _discount_amount: number;
1710
- is_ready?: boolean | null | undefined;
1711
- void_reason?: string | null | undefined;
1712
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }>;
1742
- price: number;
1743
- special_instructions: string;
1744
- order_status: SALE_ORDER_RFQ_STATUS_ENUM;
1745
- tax_number: string;
1746
- amount_earned: number;
1747
- grand_total: number;
1748
- staff_details: {
1749
- staff_id: string;
1750
- staff_name: string;
1751
- staff_mobile: string;
1752
- staff_email: string;
1753
- };
1754
- gst?: number | null | undefined;
1755
- gst_amount?: number | null | undefined;
1756
- is_gst_inclusive?: boolean | null | undefined;
1757
- }> & {
1758
- updatedAt: NativeDate;
1759
- categories: import("mongoose").Types.DocumentArray<{
1760
- name: string;
1761
- category_id: import("mongoose").Types.ObjectId;
1762
- items: import("mongoose").Types.DocumentArray<{
1763
- _id: import("mongoose").Types.ObjectId;
1764
- name: string;
1765
- price: number;
1766
- special_instructions: string;
1767
- quantity: number;
1768
- item_id: import("mongoose").Types.ObjectId;
1769
- subtotal: number;
1770
- _gst_amount: number;
1771
- _net_amount: number;
1772
- _gross_amount: number;
1773
- _discount_amount: number;
1774
- is_ready?: boolean | null | undefined;
1775
- void_reason?: string | null | undefined;
1776
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1806
- name: string;
1807
- category_id: import("mongoose").Types.ObjectId;
1808
- items: import("mongoose").Types.DocumentArray<{
1809
- _id: import("mongoose").Types.ObjectId;
1810
- name: string;
1811
- price: number;
1812
- special_instructions: string;
1813
- quantity: number;
1814
- item_id: import("mongoose").Types.ObjectId;
1815
- subtotal: number;
1816
- _gst_amount: number;
1817
- _net_amount: number;
1818
- _gross_amount: number;
1819
- _discount_amount: number;
1820
- is_ready?: boolean | null | undefined;
1821
- void_reason?: string | null | undefined;
1822
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }> & {
1852
- name: string;
1853
- category_id: import("mongoose").Types.ObjectId;
1854
- items: import("mongoose").Types.DocumentArray<{
1855
- _id: import("mongoose").Types.ObjectId;
1856
- name: string;
1857
- price: number;
1858
- special_instructions: string;
1859
- quantity: number;
1860
- item_id: import("mongoose").Types.ObjectId;
1861
- subtotal: number;
1862
- _gst_amount: number;
1863
- _net_amount: number;
1864
- _gross_amount: number;
1865
- _discount_amount: number;
1866
- is_ready?: boolean | null | undefined;
1867
- void_reason?: string | null | undefined;
1868
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
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
- }> & {
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
- }>;
1898
- price: number;
1899
- special_instructions: string;
1900
- order_status: SALE_ORDER_RFQ_STATUS_ENUM;
1901
- tax_number: string;
1902
- amount_earned: number;
1903
- grand_total: number;
1904
- staff_details: {
1905
- staff_id: string;
1906
- staff_name: string;
1907
- staff_mobile: string;
1908
- staff_email: string;
1909
- };
1910
- gst?: number | null | undefined;
1911
- gst_amount?: number | null | undefined;
1912
- is_gst_inclusive?: boolean | null | undefined;
1913
- }>;
1914
- is_deleted: boolean;
1915
- order_status_updated_at: NativeDate;
1916
- payment_terms: number;
1917
- staff_details: {
1918
- staff_id: string;
1919
- staff_name: string;
1920
- staff_mobile: string;
1921
- staff_email: string;
1922
- };
1923
- warehouse_id: string;
1924
- expected_deadline: string;
1925
- client_id: import("mongoose").Types.ObjectId;
1926
- client_name: string;
1927
- cancel_reason?: string | null | undefined;
1928
- delete_reason?: string | null | undefined;
1929
- is_reopened?: boolean | null | undefined;
1930
- gst?: number | null | undefined;
1931
- gst_amount?: number | null | undefined;
1932
- is_gst_inclusive?: boolean | null | undefined;
1933
- }> & Required<{
1934
- _id: import("mongoose").Types.ObjectId;
1935
- }> & {
1936
- __v: number;
1937
- }>;
1938
- export declare const SALE_ORDER_RFQ_COLLECTION_NAME = "warehouse_sale_order_rfqs";