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