@managesome/eposmatic-toolkit 0.2.430 → 0.2.432

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/lib/constants/ENUMS.d.ts +3 -285
  2. package/lib/constants/ENUMS.js +7 -387
  3. package/lib/constants/PURCHASE_ORDER.d.ts +5 -3
  4. package/lib/constants/PURCHASE_ORDER.js +58 -20
  5. package/lib/constants/WAREHOUSE_ANALYTICS.d.ts +41 -41
  6. package/lib/constants/WAREHOUSE_ANALYTICS.js +28 -28
  7. package/lib/constants/WAREHOUSE_ENUMS.d.ts +289 -0
  8. package/lib/constants/WAREHOUSE_ENUMS.js +392 -0
  9. package/lib/constants/WAREHOUSE_INVOICE.js +10 -10
  10. package/lib/constants/index.d.ts +1 -0
  11. package/lib/constants/index.js +1 -0
  12. package/lib/helpers/order/generate-purchase-order-rfq.d.ts +3 -3
  13. package/lib/helpers/order/generate-purchase-order-rfq.js +2 -2
  14. package/lib/helpers/order/generate-purchase-order.d.ts +8 -8
  15. package/lib/helpers/order/generate-purchase-order.js +2 -2
  16. package/lib/helpers/order/generate-warehouse-purchase-order-rfq.d.ts +3 -0
  17. package/lib/helpers/order/generate-warehouse-purchase-order-rfq.js +64 -0
  18. package/lib/helpers/order/generate-warehouse-purchase-order.d.ts +11 -0
  19. package/lib/helpers/order/generate-warehouse-purchase-order.js +196 -0
  20. package/lib/helpers/order/index.d.ts +2 -2
  21. package/lib/helpers/order/index.js +2 -2
  22. package/lib/helpers/store/all-purchase-orders-actions.d.ts +7 -7
  23. package/lib/helpers/store/all-purchase-orders-actions.js +2 -2
  24. package/lib/helpers/store/all-sale-orders-actions.d.ts +2 -2
  25. package/lib/helpers/store/all-warehouse-purchase-orders-actions.d.ts +13 -0
  26. package/lib/helpers/store/all-warehouse-purchase-orders-actions.js +56 -0
  27. package/lib/helpers/store/all-warehouse-sale-orders-actions.d.ts +2 -0
  28. package/lib/helpers/store/all-warehouse-sale-orders-actions.js +8 -0
  29. package/lib/helpers/store/common-purchase-order-actions.d.ts +15 -15
  30. package/lib/helpers/store/common-sale-order-actions.d.ts +5 -5
  31. package/lib/helpers/store/common-warehouse-purchase-order-actions.d.ts +31 -0
  32. package/lib/helpers/store/common-warehouse-purchase-order-actions.js +545 -0
  33. package/lib/helpers/store/common-warehouse-sale-order-actions.d.ts +5 -0
  34. package/lib/helpers/store/common-warehouse-sale-order-actions.js +65 -0
  35. package/lib/helpers/store/index.d.ts +6 -6
  36. package/lib/helpers/store/index.js +6 -6
  37. package/lib/helpers/store/purchase-order-rfq-cart-actions.d.ts +11 -11
  38. package/lib/helpers/store/purchase-order-rfq-cart-actions.js +3 -3
  39. package/lib/helpers/store/purchase-orders-cart-actions.d.ts +18 -18
  40. package/lib/helpers/store/purchase-orders-cart-actions.js +1 -1
  41. package/lib/helpers/store/warehouse-purchase-order-rfq-cart-actions.d.ts +19 -0
  42. package/lib/helpers/store/warehouse-purchase-order-rfq-cart-actions.js +373 -0
  43. package/lib/helpers/store/warehouse-purchase-orders-cart-actions.d.ts +57 -0
  44. package/lib/helpers/store/warehouse-purchase-orders-cart-actions.js +486 -0
  45. package/lib/helpers/types/index.d.ts +1 -1
  46. package/lib/helpers/types/index.js +1 -1
  47. package/lib/helpers/types/purchase-order-cart-actions.d.ts +2 -2
  48. package/lib/helpers/types/warehouse-purchase-order-cart-actions.d.ts +26 -0
  49. package/lib/helpers/types/warehouse-purchase-order-cart-actions.js +2 -0
  50. package/lib/helpers/types/workers.d.ts +18 -18
  51. package/lib/helpers/utils/index.d.ts +8 -8
  52. package/lib/helpers/utils/index.js +8 -11
  53. package/lib/helpers/utils/inventory.js +6 -0
  54. package/lib/helpers/utils/invoice-x-report-helpers.d.ts +2 -2
  55. package/lib/helpers/utils/invoice-x-report-helpers.js +14 -14
  56. package/lib/helpers/utils/purchase-order-engine.d.ts +4 -4
  57. package/lib/helpers/utils/purchase-order-receipt-engine.d.ts +5 -5
  58. package/lib/helpers/utils/purchase-order-receipt-engine.js +2 -2
  59. package/lib/helpers/utils/purchase-order-x-report-helpers.js +2 -2
  60. package/lib/helpers/utils/sale-x-report-helpers.js +2 -2
  61. package/lib/helpers/utils/void-purchase-order-items-helpers.d.ts +3 -3
  62. package/lib/helpers/utils/void-purchase-order-items-report-helpers.d.ts +2 -2
  63. package/lib/helpers/utils/void-warehouse-invoice-items-helpers.d.ts +3 -3
  64. package/lib/helpers/utils/void-warehouse-invoice-items-helpers.js +2 -2
  65. package/lib/helpers/utils/void-warehouse-invoice-items-report-helpers.d.ts +5 -5
  66. package/lib/helpers/utils/warehouse-catalog-conversion.d.ts +3 -3
  67. package/lib/helpers/utils/warehouse-catalog-conversion.js +9 -7
  68. package/lib/helpers/utils/warehouse-inventory.js +9 -0
  69. package/lib/helpers/utils/warehouse-invoice-order-engine.js +1 -1
  70. package/lib/helpers/utils/warehouse-invoice-x-report-helpers.d.ts +58 -0
  71. package/lib/helpers/utils/warehouse-invoice-x-report-helpers.js +1432 -0
  72. package/lib/helpers/utils/warehouse-purchase-order-engine.d.ts +9 -0
  73. package/lib/helpers/utils/warehouse-purchase-order-engine.js +34 -0
  74. package/lib/helpers/utils/warehouse-purchase-order-receipt-engine.d.ts +149 -0
  75. package/lib/helpers/utils/warehouse-purchase-order-receipt-engine.js +214 -0
  76. package/lib/helpers/utils/warehouse-purchase-order-x-report-helpers.d.ts +58 -0
  77. package/lib/helpers/utils/warehouse-purchase-order-x-report-helpers.js +1440 -0
  78. package/lib/helpers/utils/warehouse-sale-order-x-report-helpers.d.ts +30 -0
  79. package/lib/helpers/utils/warehouse-sale-order-x-report-helpers.js +2 -0
  80. package/lib/helpers/utils/warehouse-sale-x-report-helpers.d.ts +58 -0
  81. package/lib/helpers/utils/warehouse-sale-x-report-helpers.js +1456 -0
  82. package/lib/helpers/utils/warehouse-void-purchase-order-items-helpers.d.ts +3 -0
  83. package/lib/helpers/utils/warehouse-void-purchase-order-items-helpers.js +38 -0
  84. package/lib/helpers/utils/warehouse-void-purchase-order-items-report-helpers.d.ts +13 -0
  85. package/lib/helpers/utils/warehouse-void-purchase-order-items-report-helpers.js +22 -0
  86. package/lib/schemas/models/gift_cards.d.ts +108 -108
  87. package/lib/schemas/models/halfhalf_setup.d.ts +3 -3
  88. package/lib/schemas/models/index.d.ts +7 -7
  89. package/lib/schemas/models/index.js +7 -7
  90. package/lib/schemas/models/internal_invoices.d.ts +6 -6
  91. package/lib/schemas/models/inventory_lot_serial_numbers.d.ts +6 -6
  92. package/lib/schemas/models/inventory_transactions.d.ts +3 -3
  93. package/lib/schemas/models/item_transactions.d.ts +6 -6
  94. package/lib/schemas/models/offers.d.ts +146 -146
  95. package/lib/schemas/models/orders.d.ts +2573 -2573
  96. package/lib/schemas/models/printer_settings.d.ts +12 -12
  97. package/lib/schemas/models/reservations.d.ts +6 -6
  98. package/lib/schemas/models/rewards_usage.d.ts +6 -6
  99. package/lib/schemas/models/riders.d.ts +3 -3
  100. package/lib/schemas/models/tenants.d.ts +135 -135
  101. package/lib/schemas/models/void_order_items.d.ts +15 -15
  102. package/lib/schemas/models/void_warehouse_invoice_items.d.ts +25 -25
  103. package/lib/schemas/models/void_warehouse_invoice_items.js +2 -2
  104. package/lib/schemas/models/vouchers.d.ts +9 -9
  105. package/lib/schemas/models/warehouse-activity-logs.d.ts +13 -13
  106. package/lib/schemas/models/warehouse-activity-logs.js +4 -4
  107. package/lib/schemas/models/warehouse_categories.d.ts +4 -4
  108. package/lib/schemas/models/warehouse_categories.js +2 -2
  109. package/lib/schemas/models/warehouse_communications.d.ts +21 -21
  110. package/lib/schemas/models/warehouse_internal_movements.d.ts +33 -33
  111. package/lib/schemas/models/warehouse_internal_movements.js +8 -8
  112. package/lib/schemas/models/warehouse_inventory_lot_serial_numbers.d.ts +154 -0
  113. package/lib/schemas/models/warehouse_inventory_lot_serial_numbers.js +193 -0
  114. package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
  115. package/lib/schemas/models/warehouse_invoices.d.ts +351 -351
  116. package/lib/schemas/models/warehouse_item_transactions.d.ts +9 -9
  117. package/lib/schemas/models/warehouse_items.d.ts +13 -13
  118. package/lib/schemas/models/warehouse_items.js +2 -2
  119. package/lib/schemas/models/warehouse_operational_roles.d.ts +3 -3
  120. package/lib/schemas/models/warehouse_purchase_order_receipts.d.ts +165 -0
  121. package/lib/schemas/models/warehouse_purchase_order_receipts.js +151 -0
  122. package/lib/schemas/models/warehouse_purchase_order_rfqs.d.ts +1959 -0
  123. package/lib/schemas/models/warehouse_purchase_order_rfqs.js +328 -0
  124. package/lib/schemas/models/warehouse_purchase_order_vendor_returns.d.ts +234 -0
  125. package/lib/schemas/models/warehouse_purchase_order_vendor_returns.js +188 -0
  126. package/lib/schemas/models/warehouse_purchase_orders.d.ts +2678 -0
  127. package/lib/schemas/models/warehouse_purchase_orders.js +336 -0
  128. package/lib/schemas/models/warehouse_sale_deliveries.d.ts +15 -15
  129. package/lib/schemas/models/warehouse_sale_deliveries.js +7 -4
  130. package/lib/schemas/models/warehouse_sale_invoices.d.ts +30 -30
  131. package/lib/schemas/models/warehouse_sale_invoices.js +8 -5
  132. package/lib/schemas/models/warehouse_sale_order_rfqs.d.ts +362 -362
  133. package/lib/schemas/models/warehouse_sale_order_rfqs.js +5 -5
  134. package/lib/schemas/models/warehouse_sale_orders.d.ts +367 -367
  135. package/lib/schemas/models/warehouse_sale_orders.js +5 -5
  136. package/lib/schemas/models/warehouse_void_invoice_items.d.ts +176 -0
  137. package/lib/schemas/models/warehouse_void_invoice_items.js +176 -0
  138. package/lib/schemas/models/warehouse_void_purchase_order_items.d.ts +176 -0
  139. package/lib/schemas/models/warehouse_void_purchase_order_items.js +177 -0
  140. package/lib/schemas/models/warehouses.d.ts +52 -52
  141. package/lib/schemas/models/warehouses.js +2 -2
  142. package/lib/schemas/types/index.d.ts +9 -9
  143. package/lib/schemas/types/index.js +9 -9
  144. package/lib/schemas/types/inventories.d.ts +2 -0
  145. package/lib/schemas/types/inventory_lot_serial_numbers.d.ts +5 -5
  146. package/lib/schemas/types/warehouse-activity-logs.d.ts +7 -7
  147. package/lib/schemas/types/warehouse_categories.d.ts +2 -2
  148. package/lib/schemas/types/warehouse_internal_movements.d.ts +9 -9
  149. package/lib/schemas/types/warehouse_inventory_lot_serial_numbers.d.ts +85 -0
  150. package/lib/schemas/types/warehouse_inventory_lot_serial_numbers.js +4 -0
  151. package/lib/schemas/types/warehouse_items.d.ts +5 -2
  152. package/lib/schemas/types/warehouse_purchase_order_common.d.ts +39 -0
  153. package/lib/schemas/types/warehouse_purchase_order_common.js +2 -0
  154. package/lib/schemas/types/warehouse_purchase_order_receipts.d.ts +39 -0
  155. package/lib/schemas/types/warehouse_purchase_order_receipts.js +21 -0
  156. package/lib/schemas/types/warehouse_purchase_order_rfqs.d.ts +33 -0
  157. package/lib/schemas/types/warehouse_purchase_order_rfqs.js +2 -0
  158. package/lib/schemas/types/warehouse_purchase_order_vendor_returns.d.ts +48 -0
  159. package/lib/schemas/types/warehouse_purchase_order_vendor_returns.js +2 -0
  160. package/lib/schemas/types/warehouse_purchase_orders.d.ts +33 -0
  161. package/lib/schemas/types/warehouse_purchase_orders.js +2 -0
  162. package/lib/schemas/types/warehouse_sale_deliveries.d.ts +29 -29
  163. package/lib/schemas/types/warehouse_sale_invoices.d.ts +17 -17
  164. package/lib/schemas/types/warehouse_sale_order_common.d.ts +39 -0
  165. package/lib/schemas/types/warehouse_sale_order_common.js +2 -0
  166. package/lib/schemas/types/warehouse_sale_order_rfqs.d.ts +7 -7
  167. package/lib/schemas/types/warehouse_sale_orders.d.ts +7 -7
  168. package/lib/schemas/types/warehouse_void_invoice_items.d.ts +37 -0
  169. package/lib/schemas/types/warehouse_void_invoice_items.js +2 -0
  170. package/lib/schemas/types/warehouse_void_purchase_order_items.d.ts +37 -0
  171. package/lib/schemas/types/warehouse_void_purchase_order_items.js +2 -0
  172. package/lib/schemas/types/warehouses.d.ts +2 -2
  173. package/package.json +1 -1
@@ -0,0 +1,2678 @@
1
+ import { Schema } from 'mongoose';
2
+ export declare const PurchaseOrderSchema: 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
+ subtotal: number;
23
+ item_id: import("mongoose").Types.ObjectId;
24
+ quantity: number;
25
+ _net_amount: number;
26
+ _gross_amount: number;
27
+ _gst_amount: number;
28
+ _discount_amount: number;
29
+ 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
+ subtotal: number;
37
+ item_id: import("mongoose").Types.ObjectId;
38
+ quantity: number;
39
+ _net_amount: number;
40
+ _gross_amount: number;
41
+ _gst_amount: number;
42
+ _discount_amount: number;
43
+ 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
+ subtotal: number;
51
+ item_id: import("mongoose").Types.ObjectId;
52
+ quantity: number;
53
+ _net_amount: number;
54
+ _gross_amount: number;
55
+ _gst_amount: number;
56
+ _discount_amount: number;
57
+ 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
+ subtotal: number;
69
+ item_id: import("mongoose").Types.ObjectId;
70
+ quantity: number;
71
+ _net_amount: number;
72
+ _gross_amount: number;
73
+ _gst_amount: number;
74
+ _discount_amount: number;
75
+ 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
+ subtotal: number;
83
+ item_id: import("mongoose").Types.ObjectId;
84
+ quantity: number;
85
+ _net_amount: number;
86
+ _gross_amount: number;
87
+ _gst_amount: number;
88
+ _discount_amount: number;
89
+ 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
+ subtotal: number;
97
+ item_id: import("mongoose").Types.ObjectId;
98
+ quantity: number;
99
+ _net_amount: number;
100
+ _gross_amount: number;
101
+ _gst_amount: number;
102
+ _discount_amount: number;
103
+ 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
+ subtotal: number;
115
+ item_id: import("mongoose").Types.ObjectId;
116
+ quantity: number;
117
+ _net_amount: number;
118
+ _gross_amount: number;
119
+ _gst_amount: number;
120
+ _discount_amount: number;
121
+ 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
+ subtotal: number;
129
+ item_id: import("mongoose").Types.ObjectId;
130
+ quantity: number;
131
+ _net_amount: number;
132
+ _gross_amount: number;
133
+ _gst_amount: number;
134
+ _discount_amount: number;
135
+ 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
+ subtotal: number;
143
+ item_id: import("mongoose").Types.ObjectId;
144
+ quantity: number;
145
+ _net_amount: number;
146
+ _gross_amount: number;
147
+ _gst_amount: number;
148
+ _discount_amount: number;
149
+ is_ready?: boolean | null | undefined;
150
+ void_reason?: string | null | undefined;
151
+ }>;
152
+ }>;
153
+ price: number;
154
+ order_number: number;
155
+ payments: import("mongoose").Types.DocumentArray<{
156
+ payment_type: string;
157
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
158
+ card_details: {
159
+ transaction_id: string;
160
+ payment_provider_linked_customer_id: string;
161
+ card_number: string;
162
+ card_type: string;
163
+ card_holder_name: string;
164
+ card_charges: number;
165
+ card_country_code: string;
166
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
167
+ };
168
+ amount_paid: number;
169
+ amount_due: number;
170
+ amount_refunded: number;
171
+ payment_id: string;
172
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
173
+ refund_reason?: string | null | undefined;
174
+ note?: string | null | undefined;
175
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
176
+ payment_type: string;
177
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
178
+ card_details: {
179
+ transaction_id: string;
180
+ payment_provider_linked_customer_id: string;
181
+ card_number: string;
182
+ card_type: string;
183
+ card_holder_name: string;
184
+ card_charges: number;
185
+ card_country_code: string;
186
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
187
+ };
188
+ amount_paid: number;
189
+ amount_due: number;
190
+ amount_refunded: number;
191
+ payment_id: string;
192
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
193
+ refund_reason?: string | null | undefined;
194
+ note?: string | null | undefined;
195
+ }> & {
196
+ payment_type: string;
197
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
198
+ card_details: {
199
+ transaction_id: string;
200
+ payment_provider_linked_customer_id: string;
201
+ card_number: string;
202
+ card_type: string;
203
+ card_holder_name: string;
204
+ card_charges: number;
205
+ card_country_code: string;
206
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
207
+ };
208
+ amount_paid: number;
209
+ amount_due: number;
210
+ amount_refunded: number;
211
+ payment_id: string;
212
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
213
+ refund_reason?: string | null | undefined;
214
+ note?: string | null | undefined;
215
+ }>;
216
+ special_instructions: string;
217
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
218
+ tax_number: string;
219
+ amount_earned: number;
220
+ grand_total: number;
221
+ iterations: import("mongoose").Types.DocumentArray<{
222
+ updatedAt: NativeDate;
223
+ categories: import("mongoose").Types.DocumentArray<{
224
+ name: string;
225
+ category_id: import("mongoose").Types.ObjectId;
226
+ items: import("mongoose").Types.DocumentArray<{
227
+ _id: import("mongoose").Types.ObjectId;
228
+ name: string;
229
+ price: number;
230
+ special_instructions: string;
231
+ subtotal: number;
232
+ item_id: import("mongoose").Types.ObjectId;
233
+ quantity: number;
234
+ _net_amount: number;
235
+ _gross_amount: number;
236
+ _gst_amount: number;
237
+ _discount_amount: number;
238
+ is_ready?: boolean | null | undefined;
239
+ void_reason?: string | null | undefined;
240
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
241
+ _id: import("mongoose").Types.ObjectId;
242
+ name: string;
243
+ price: number;
244
+ special_instructions: string;
245
+ subtotal: number;
246
+ item_id: import("mongoose").Types.ObjectId;
247
+ quantity: number;
248
+ _net_amount: number;
249
+ _gross_amount: number;
250
+ _gst_amount: number;
251
+ _discount_amount: number;
252
+ is_ready?: boolean | null | undefined;
253
+ void_reason?: string | null | undefined;
254
+ }> & {
255
+ _id: import("mongoose").Types.ObjectId;
256
+ name: string;
257
+ price: number;
258
+ special_instructions: string;
259
+ subtotal: number;
260
+ item_id: import("mongoose").Types.ObjectId;
261
+ quantity: number;
262
+ _net_amount: number;
263
+ _gross_amount: number;
264
+ _gst_amount: number;
265
+ _discount_amount: number;
266
+ is_ready?: boolean | null | undefined;
267
+ void_reason?: string | null | undefined;
268
+ }>;
269
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
270
+ name: string;
271
+ category_id: import("mongoose").Types.ObjectId;
272
+ items: import("mongoose").Types.DocumentArray<{
273
+ _id: import("mongoose").Types.ObjectId;
274
+ name: string;
275
+ price: number;
276
+ special_instructions: string;
277
+ subtotal: number;
278
+ item_id: import("mongoose").Types.ObjectId;
279
+ quantity: number;
280
+ _net_amount: number;
281
+ _gross_amount: number;
282
+ _gst_amount: number;
283
+ _discount_amount: number;
284
+ is_ready?: boolean | null | undefined;
285
+ void_reason?: string | null | undefined;
286
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
287
+ _id: import("mongoose").Types.ObjectId;
288
+ name: string;
289
+ price: number;
290
+ special_instructions: string;
291
+ subtotal: number;
292
+ item_id: import("mongoose").Types.ObjectId;
293
+ quantity: number;
294
+ _net_amount: number;
295
+ _gross_amount: number;
296
+ _gst_amount: number;
297
+ _discount_amount: number;
298
+ is_ready?: boolean | null | undefined;
299
+ void_reason?: string | null | undefined;
300
+ }> & {
301
+ _id: import("mongoose").Types.ObjectId;
302
+ name: string;
303
+ price: number;
304
+ special_instructions: string;
305
+ subtotal: number;
306
+ item_id: import("mongoose").Types.ObjectId;
307
+ quantity: number;
308
+ _net_amount: number;
309
+ _gross_amount: number;
310
+ _gst_amount: number;
311
+ _discount_amount: number;
312
+ is_ready?: boolean | null | undefined;
313
+ void_reason?: string | null | undefined;
314
+ }>;
315
+ }> & {
316
+ name: string;
317
+ category_id: import("mongoose").Types.ObjectId;
318
+ items: import("mongoose").Types.DocumentArray<{
319
+ _id: import("mongoose").Types.ObjectId;
320
+ name: string;
321
+ price: number;
322
+ special_instructions: string;
323
+ subtotal: number;
324
+ item_id: import("mongoose").Types.ObjectId;
325
+ quantity: number;
326
+ _net_amount: number;
327
+ _gross_amount: number;
328
+ _gst_amount: number;
329
+ _discount_amount: number;
330
+ is_ready?: boolean | null | undefined;
331
+ void_reason?: string | null | undefined;
332
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
333
+ _id: import("mongoose").Types.ObjectId;
334
+ name: string;
335
+ price: number;
336
+ special_instructions: string;
337
+ subtotal: number;
338
+ item_id: import("mongoose").Types.ObjectId;
339
+ quantity: number;
340
+ _net_amount: number;
341
+ _gross_amount: number;
342
+ _gst_amount: number;
343
+ _discount_amount: number;
344
+ is_ready?: boolean | null | undefined;
345
+ void_reason?: string | null | undefined;
346
+ }> & {
347
+ _id: import("mongoose").Types.ObjectId;
348
+ name: string;
349
+ price: number;
350
+ special_instructions: string;
351
+ subtotal: number;
352
+ item_id: import("mongoose").Types.ObjectId;
353
+ quantity: number;
354
+ _net_amount: number;
355
+ _gross_amount: number;
356
+ _gst_amount: number;
357
+ _discount_amount: number;
358
+ is_ready?: boolean | null | undefined;
359
+ void_reason?: string | null | undefined;
360
+ }>;
361
+ }>;
362
+ price: number;
363
+ payments: import("mongoose").Types.DocumentArray<{
364
+ payment_type: string;
365
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
366
+ card_details: {
367
+ transaction_id: string;
368
+ payment_provider_linked_customer_id: string;
369
+ card_number: string;
370
+ card_type: string;
371
+ card_holder_name: string;
372
+ card_charges: number;
373
+ card_country_code: string;
374
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
375
+ };
376
+ amount_paid: number;
377
+ amount_due: number;
378
+ amount_refunded: number;
379
+ payment_id: string;
380
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
381
+ refund_reason?: string | null | undefined;
382
+ note?: string | null | undefined;
383
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
384
+ payment_type: string;
385
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
386
+ card_details: {
387
+ transaction_id: string;
388
+ payment_provider_linked_customer_id: string;
389
+ card_number: string;
390
+ card_type: string;
391
+ card_holder_name: string;
392
+ card_charges: number;
393
+ card_country_code: string;
394
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
395
+ };
396
+ amount_paid: number;
397
+ amount_due: number;
398
+ amount_refunded: number;
399
+ payment_id: string;
400
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
401
+ refund_reason?: string | null | undefined;
402
+ note?: string | null | undefined;
403
+ }> & {
404
+ payment_type: string;
405
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
406
+ card_details: {
407
+ transaction_id: string;
408
+ payment_provider_linked_customer_id: string;
409
+ card_number: string;
410
+ card_type: string;
411
+ card_holder_name: string;
412
+ card_charges: number;
413
+ card_country_code: string;
414
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
415
+ };
416
+ amount_paid: number;
417
+ amount_due: number;
418
+ amount_refunded: number;
419
+ payment_id: string;
420
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
421
+ refund_reason?: string | null | undefined;
422
+ note?: string | null | undefined;
423
+ }>;
424
+ special_instructions: string;
425
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
426
+ tax_number: string;
427
+ amount_earned: number;
428
+ grand_total: number;
429
+ staff_details?: {
430
+ staff_id: string;
431
+ staff_name: string;
432
+ staff_mobile: string;
433
+ staff_email: string;
434
+ } | null | undefined;
435
+ is_gst_inclusive?: boolean | null | undefined;
436
+ gst?: number | null | undefined;
437
+ gst_amount?: number | null | undefined;
438
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
439
+ updatedAt: NativeDate;
440
+ categories: import("mongoose").Types.DocumentArray<{
441
+ name: string;
442
+ category_id: import("mongoose").Types.ObjectId;
443
+ items: import("mongoose").Types.DocumentArray<{
444
+ _id: import("mongoose").Types.ObjectId;
445
+ name: string;
446
+ price: number;
447
+ special_instructions: string;
448
+ subtotal: number;
449
+ item_id: import("mongoose").Types.ObjectId;
450
+ quantity: number;
451
+ _net_amount: number;
452
+ _gross_amount: number;
453
+ _gst_amount: number;
454
+ _discount_amount: number;
455
+ is_ready?: boolean | null | undefined;
456
+ void_reason?: string | null | undefined;
457
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
458
+ _id: import("mongoose").Types.ObjectId;
459
+ name: string;
460
+ price: number;
461
+ special_instructions: string;
462
+ subtotal: number;
463
+ item_id: import("mongoose").Types.ObjectId;
464
+ quantity: number;
465
+ _net_amount: number;
466
+ _gross_amount: number;
467
+ _gst_amount: number;
468
+ _discount_amount: number;
469
+ is_ready?: boolean | null | undefined;
470
+ void_reason?: string | null | undefined;
471
+ }> & {
472
+ _id: import("mongoose").Types.ObjectId;
473
+ name: string;
474
+ price: number;
475
+ special_instructions: string;
476
+ subtotal: number;
477
+ item_id: import("mongoose").Types.ObjectId;
478
+ quantity: number;
479
+ _net_amount: number;
480
+ _gross_amount: number;
481
+ _gst_amount: number;
482
+ _discount_amount: number;
483
+ is_ready?: boolean | null | undefined;
484
+ void_reason?: string | null | undefined;
485
+ }>;
486
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
487
+ name: string;
488
+ category_id: import("mongoose").Types.ObjectId;
489
+ items: import("mongoose").Types.DocumentArray<{
490
+ _id: import("mongoose").Types.ObjectId;
491
+ name: string;
492
+ price: number;
493
+ special_instructions: string;
494
+ subtotal: number;
495
+ item_id: import("mongoose").Types.ObjectId;
496
+ quantity: number;
497
+ _net_amount: number;
498
+ _gross_amount: number;
499
+ _gst_amount: number;
500
+ _discount_amount: number;
501
+ is_ready?: boolean | null | undefined;
502
+ void_reason?: string | null | undefined;
503
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
504
+ _id: import("mongoose").Types.ObjectId;
505
+ name: string;
506
+ price: number;
507
+ special_instructions: string;
508
+ subtotal: number;
509
+ item_id: import("mongoose").Types.ObjectId;
510
+ quantity: number;
511
+ _net_amount: number;
512
+ _gross_amount: number;
513
+ _gst_amount: number;
514
+ _discount_amount: number;
515
+ is_ready?: boolean | null | undefined;
516
+ void_reason?: string | null | undefined;
517
+ }> & {
518
+ _id: import("mongoose").Types.ObjectId;
519
+ name: string;
520
+ price: number;
521
+ special_instructions: string;
522
+ subtotal: number;
523
+ item_id: import("mongoose").Types.ObjectId;
524
+ quantity: number;
525
+ _net_amount: number;
526
+ _gross_amount: number;
527
+ _gst_amount: number;
528
+ _discount_amount: number;
529
+ is_ready?: boolean | null | undefined;
530
+ void_reason?: string | null | undefined;
531
+ }>;
532
+ }> & {
533
+ name: string;
534
+ category_id: import("mongoose").Types.ObjectId;
535
+ items: import("mongoose").Types.DocumentArray<{
536
+ _id: import("mongoose").Types.ObjectId;
537
+ name: string;
538
+ price: number;
539
+ special_instructions: string;
540
+ subtotal: number;
541
+ item_id: import("mongoose").Types.ObjectId;
542
+ quantity: number;
543
+ _net_amount: number;
544
+ _gross_amount: number;
545
+ _gst_amount: number;
546
+ _discount_amount: number;
547
+ is_ready?: boolean | null | undefined;
548
+ void_reason?: string | null | undefined;
549
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
550
+ _id: import("mongoose").Types.ObjectId;
551
+ name: string;
552
+ price: number;
553
+ special_instructions: string;
554
+ subtotal: number;
555
+ item_id: import("mongoose").Types.ObjectId;
556
+ quantity: number;
557
+ _net_amount: number;
558
+ _gross_amount: number;
559
+ _gst_amount: number;
560
+ _discount_amount: number;
561
+ is_ready?: boolean | null | undefined;
562
+ void_reason?: string | null | undefined;
563
+ }> & {
564
+ _id: import("mongoose").Types.ObjectId;
565
+ name: string;
566
+ price: number;
567
+ special_instructions: string;
568
+ subtotal: number;
569
+ item_id: import("mongoose").Types.ObjectId;
570
+ quantity: number;
571
+ _net_amount: number;
572
+ _gross_amount: number;
573
+ _gst_amount: number;
574
+ _discount_amount: number;
575
+ is_ready?: boolean | null | undefined;
576
+ void_reason?: string | null | undefined;
577
+ }>;
578
+ }>;
579
+ price: number;
580
+ payments: import("mongoose").Types.DocumentArray<{
581
+ payment_type: string;
582
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
583
+ card_details: {
584
+ transaction_id: string;
585
+ payment_provider_linked_customer_id: string;
586
+ card_number: string;
587
+ card_type: string;
588
+ card_holder_name: string;
589
+ card_charges: number;
590
+ card_country_code: string;
591
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
592
+ };
593
+ amount_paid: number;
594
+ amount_due: number;
595
+ amount_refunded: number;
596
+ payment_id: string;
597
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
598
+ refund_reason?: string | null | undefined;
599
+ note?: string | null | undefined;
600
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
601
+ payment_type: string;
602
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
603
+ card_details: {
604
+ transaction_id: string;
605
+ payment_provider_linked_customer_id: string;
606
+ card_number: string;
607
+ card_type: string;
608
+ card_holder_name: string;
609
+ card_charges: number;
610
+ card_country_code: string;
611
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
612
+ };
613
+ amount_paid: number;
614
+ amount_due: number;
615
+ amount_refunded: number;
616
+ payment_id: string;
617
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
618
+ refund_reason?: string | null | undefined;
619
+ note?: string | null | undefined;
620
+ }> & {
621
+ payment_type: string;
622
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
623
+ card_details: {
624
+ transaction_id: string;
625
+ payment_provider_linked_customer_id: string;
626
+ card_number: string;
627
+ card_type: string;
628
+ card_holder_name: string;
629
+ card_charges: number;
630
+ card_country_code: string;
631
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
632
+ };
633
+ amount_paid: number;
634
+ amount_due: number;
635
+ amount_refunded: number;
636
+ payment_id: string;
637
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
638
+ refund_reason?: string | null | undefined;
639
+ note?: string | null | undefined;
640
+ }>;
641
+ special_instructions: string;
642
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
643
+ tax_number: string;
644
+ amount_earned: number;
645
+ grand_total: number;
646
+ staff_details?: {
647
+ staff_id: string;
648
+ staff_name: string;
649
+ staff_mobile: string;
650
+ staff_email: string;
651
+ } | null | undefined;
652
+ is_gst_inclusive?: boolean | null | undefined;
653
+ gst?: number | null | undefined;
654
+ gst_amount?: number | null | undefined;
655
+ }> & {
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
+ subtotal: number;
666
+ item_id: import("mongoose").Types.ObjectId;
667
+ quantity: number;
668
+ _net_amount: number;
669
+ _gross_amount: number;
670
+ _gst_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
+ subtotal: number;
680
+ item_id: import("mongoose").Types.ObjectId;
681
+ quantity: number;
682
+ _net_amount: number;
683
+ _gross_amount: number;
684
+ _gst_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
+ subtotal: number;
694
+ item_id: import("mongoose").Types.ObjectId;
695
+ quantity: number;
696
+ _net_amount: number;
697
+ _gross_amount: number;
698
+ _gst_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
+ subtotal: number;
712
+ item_id: import("mongoose").Types.ObjectId;
713
+ quantity: number;
714
+ _net_amount: number;
715
+ _gross_amount: number;
716
+ _gst_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
+ subtotal: number;
726
+ item_id: import("mongoose").Types.ObjectId;
727
+ quantity: number;
728
+ _net_amount: number;
729
+ _gross_amount: number;
730
+ _gst_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
+ subtotal: number;
740
+ item_id: import("mongoose").Types.ObjectId;
741
+ quantity: number;
742
+ _net_amount: number;
743
+ _gross_amount: number;
744
+ _gst_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
+ subtotal: number;
758
+ item_id: import("mongoose").Types.ObjectId;
759
+ quantity: number;
760
+ _net_amount: number;
761
+ _gross_amount: number;
762
+ _gst_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
+ subtotal: number;
772
+ item_id: import("mongoose").Types.ObjectId;
773
+ quantity: number;
774
+ _net_amount: number;
775
+ _gross_amount: number;
776
+ _gst_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
+ subtotal: number;
786
+ item_id: import("mongoose").Types.ObjectId;
787
+ quantity: number;
788
+ _net_amount: number;
789
+ _gross_amount: number;
790
+ _gst_amount: number;
791
+ _discount_amount: number;
792
+ is_ready?: boolean | null | undefined;
793
+ void_reason?: string | null | undefined;
794
+ }>;
795
+ }>;
796
+ price: number;
797
+ payments: import("mongoose").Types.DocumentArray<{
798
+ payment_type: string;
799
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
800
+ card_details: {
801
+ transaction_id: string;
802
+ payment_provider_linked_customer_id: string;
803
+ card_number: string;
804
+ card_type: string;
805
+ card_holder_name: string;
806
+ card_charges: number;
807
+ card_country_code: string;
808
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
809
+ };
810
+ amount_paid: number;
811
+ amount_due: number;
812
+ amount_refunded: number;
813
+ payment_id: string;
814
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
815
+ refund_reason?: string | null | undefined;
816
+ note?: string | null | undefined;
817
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
818
+ payment_type: string;
819
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
820
+ card_details: {
821
+ transaction_id: string;
822
+ payment_provider_linked_customer_id: string;
823
+ card_number: string;
824
+ card_type: string;
825
+ card_holder_name: string;
826
+ card_charges: number;
827
+ card_country_code: string;
828
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
829
+ };
830
+ amount_paid: number;
831
+ amount_due: number;
832
+ amount_refunded: number;
833
+ payment_id: string;
834
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
835
+ refund_reason?: string | null | undefined;
836
+ note?: string | null | undefined;
837
+ }> & {
838
+ payment_type: string;
839
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
840
+ card_details: {
841
+ transaction_id: string;
842
+ payment_provider_linked_customer_id: string;
843
+ card_number: string;
844
+ card_type: string;
845
+ card_holder_name: string;
846
+ card_charges: number;
847
+ card_country_code: string;
848
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
849
+ };
850
+ amount_paid: number;
851
+ amount_due: number;
852
+ amount_refunded: number;
853
+ payment_id: string;
854
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
855
+ refund_reason?: string | null | undefined;
856
+ note?: string | null | undefined;
857
+ }>;
858
+ special_instructions: string;
859
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
860
+ tax_number: string;
861
+ amount_earned: number;
862
+ grand_total: number;
863
+ staff_details?: {
864
+ staff_id: string;
865
+ staff_name: string;
866
+ staff_mobile: string;
867
+ staff_email: string;
868
+ } | null | undefined;
869
+ is_gst_inclusive?: boolean | null | undefined;
870
+ gst?: number | null | undefined;
871
+ gst_amount?: number | null | undefined;
872
+ }>;
873
+ amount_collected: number;
874
+ is_deleted: boolean;
875
+ order_status_updated_at: NativeDate;
876
+ warehouse_id: string;
877
+ order_settled_at: NativeDate;
878
+ order_settled_at_mins: number;
879
+ staff_details: {
880
+ staff_id: string;
881
+ staff_name: string;
882
+ staff_mobile: string;
883
+ staff_email: string;
884
+ };
885
+ vendor_name: string;
886
+ vendor_id: import("mongoose").Types.ObjectId;
887
+ cancel_reason?: string | null | undefined;
888
+ delete_reason?: string | null | undefined;
889
+ is_reopened?: boolean | null | undefined;
890
+ deferred_settlement?: boolean | null | undefined;
891
+ rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
892
+ is_gst_inclusive?: boolean | null | undefined;
893
+ gst?: number | null | undefined;
894
+ gst_amount?: number | null | undefined;
895
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
896
+ createdAt: NativeDate;
897
+ updatedAt: NativeDate;
898
+ } & {
899
+ _id: import("mongoose").Types.ObjectId;
900
+ createdAt_mins: number;
901
+ createdAt: NativeDate;
902
+ updatedAt: NativeDate;
903
+ categories: import("mongoose").Types.DocumentArray<{
904
+ name: string;
905
+ category_id: import("mongoose").Types.ObjectId;
906
+ items: import("mongoose").Types.DocumentArray<{
907
+ _id: import("mongoose").Types.ObjectId;
908
+ name: string;
909
+ price: number;
910
+ special_instructions: string;
911
+ subtotal: number;
912
+ item_id: import("mongoose").Types.ObjectId;
913
+ quantity: number;
914
+ _net_amount: number;
915
+ _gross_amount: number;
916
+ _gst_amount: number;
917
+ _discount_amount: number;
918
+ is_ready?: boolean | null | undefined;
919
+ void_reason?: string | null | undefined;
920
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
921
+ _id: import("mongoose").Types.ObjectId;
922
+ name: string;
923
+ price: number;
924
+ special_instructions: string;
925
+ subtotal: number;
926
+ item_id: import("mongoose").Types.ObjectId;
927
+ quantity: number;
928
+ _net_amount: number;
929
+ _gross_amount: number;
930
+ _gst_amount: number;
931
+ _discount_amount: number;
932
+ is_ready?: boolean | null | undefined;
933
+ void_reason?: string | null | undefined;
934
+ }> & {
935
+ _id: import("mongoose").Types.ObjectId;
936
+ name: string;
937
+ price: number;
938
+ special_instructions: string;
939
+ subtotal: number;
940
+ item_id: import("mongoose").Types.ObjectId;
941
+ quantity: number;
942
+ _net_amount: number;
943
+ _gross_amount: number;
944
+ _gst_amount: number;
945
+ _discount_amount: number;
946
+ is_ready?: boolean | null | undefined;
947
+ void_reason?: string | null | undefined;
948
+ }>;
949
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
950
+ name: string;
951
+ category_id: import("mongoose").Types.ObjectId;
952
+ items: import("mongoose").Types.DocumentArray<{
953
+ _id: import("mongoose").Types.ObjectId;
954
+ name: string;
955
+ price: number;
956
+ special_instructions: string;
957
+ subtotal: number;
958
+ item_id: import("mongoose").Types.ObjectId;
959
+ quantity: number;
960
+ _net_amount: number;
961
+ _gross_amount: number;
962
+ _gst_amount: number;
963
+ _discount_amount: number;
964
+ is_ready?: boolean | null | undefined;
965
+ void_reason?: string | null | undefined;
966
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
967
+ _id: import("mongoose").Types.ObjectId;
968
+ name: string;
969
+ price: number;
970
+ special_instructions: string;
971
+ subtotal: number;
972
+ item_id: import("mongoose").Types.ObjectId;
973
+ quantity: number;
974
+ _net_amount: number;
975
+ _gross_amount: number;
976
+ _gst_amount: number;
977
+ _discount_amount: number;
978
+ is_ready?: boolean | null | undefined;
979
+ void_reason?: string | null | undefined;
980
+ }> & {
981
+ _id: import("mongoose").Types.ObjectId;
982
+ name: string;
983
+ price: number;
984
+ special_instructions: string;
985
+ subtotal: number;
986
+ item_id: import("mongoose").Types.ObjectId;
987
+ quantity: number;
988
+ _net_amount: number;
989
+ _gross_amount: number;
990
+ _gst_amount: number;
991
+ _discount_amount: number;
992
+ is_ready?: boolean | null | undefined;
993
+ void_reason?: string | null | undefined;
994
+ }>;
995
+ }> & {
996
+ name: string;
997
+ category_id: import("mongoose").Types.ObjectId;
998
+ items: import("mongoose").Types.DocumentArray<{
999
+ _id: import("mongoose").Types.ObjectId;
1000
+ name: string;
1001
+ price: number;
1002
+ special_instructions: string;
1003
+ subtotal: number;
1004
+ item_id: import("mongoose").Types.ObjectId;
1005
+ quantity: number;
1006
+ _net_amount: number;
1007
+ _gross_amount: number;
1008
+ _gst_amount: number;
1009
+ _discount_amount: number;
1010
+ is_ready?: boolean | null | undefined;
1011
+ void_reason?: string | null | undefined;
1012
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1013
+ _id: import("mongoose").Types.ObjectId;
1014
+ name: string;
1015
+ price: number;
1016
+ special_instructions: string;
1017
+ subtotal: number;
1018
+ item_id: import("mongoose").Types.ObjectId;
1019
+ quantity: number;
1020
+ _net_amount: number;
1021
+ _gross_amount: number;
1022
+ _gst_amount: number;
1023
+ _discount_amount: number;
1024
+ is_ready?: boolean | null | undefined;
1025
+ void_reason?: string | null | undefined;
1026
+ }> & {
1027
+ _id: import("mongoose").Types.ObjectId;
1028
+ name: string;
1029
+ price: number;
1030
+ special_instructions: string;
1031
+ subtotal: number;
1032
+ item_id: import("mongoose").Types.ObjectId;
1033
+ quantity: number;
1034
+ _net_amount: number;
1035
+ _gross_amount: number;
1036
+ _gst_amount: number;
1037
+ _discount_amount: number;
1038
+ is_ready?: boolean | null | undefined;
1039
+ void_reason?: string | null | undefined;
1040
+ }>;
1041
+ }>;
1042
+ price: number;
1043
+ order_number: number;
1044
+ payments: import("mongoose").Types.DocumentArray<{
1045
+ payment_type: string;
1046
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1047
+ card_details: {
1048
+ transaction_id: string;
1049
+ payment_provider_linked_customer_id: string;
1050
+ card_number: string;
1051
+ card_type: string;
1052
+ card_holder_name: string;
1053
+ card_charges: number;
1054
+ card_country_code: string;
1055
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1056
+ };
1057
+ amount_paid: number;
1058
+ amount_due: number;
1059
+ amount_refunded: number;
1060
+ payment_id: string;
1061
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1062
+ refund_reason?: string | null | undefined;
1063
+ note?: string | null | undefined;
1064
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1065
+ payment_type: string;
1066
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1067
+ card_details: {
1068
+ transaction_id: string;
1069
+ payment_provider_linked_customer_id: string;
1070
+ card_number: string;
1071
+ card_type: string;
1072
+ card_holder_name: string;
1073
+ card_charges: number;
1074
+ card_country_code: string;
1075
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1076
+ };
1077
+ amount_paid: number;
1078
+ amount_due: number;
1079
+ amount_refunded: number;
1080
+ payment_id: string;
1081
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1082
+ refund_reason?: string | null | undefined;
1083
+ note?: string | null | undefined;
1084
+ }> & {
1085
+ payment_type: string;
1086
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1087
+ card_details: {
1088
+ transaction_id: string;
1089
+ payment_provider_linked_customer_id: string;
1090
+ card_number: string;
1091
+ card_type: string;
1092
+ card_holder_name: string;
1093
+ card_charges: number;
1094
+ card_country_code: string;
1095
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1096
+ };
1097
+ amount_paid: number;
1098
+ amount_due: number;
1099
+ amount_refunded: number;
1100
+ payment_id: string;
1101
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1102
+ refund_reason?: string | null | undefined;
1103
+ note?: string | null | undefined;
1104
+ }>;
1105
+ special_instructions: string;
1106
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
1107
+ tax_number: string;
1108
+ amount_earned: number;
1109
+ grand_total: number;
1110
+ iterations: import("mongoose").Types.DocumentArray<{
1111
+ updatedAt: NativeDate;
1112
+ categories: import("mongoose").Types.DocumentArray<{
1113
+ name: string;
1114
+ category_id: import("mongoose").Types.ObjectId;
1115
+ items: import("mongoose").Types.DocumentArray<{
1116
+ _id: import("mongoose").Types.ObjectId;
1117
+ name: string;
1118
+ price: number;
1119
+ special_instructions: string;
1120
+ subtotal: number;
1121
+ item_id: import("mongoose").Types.ObjectId;
1122
+ quantity: number;
1123
+ _net_amount: number;
1124
+ _gross_amount: number;
1125
+ _gst_amount: number;
1126
+ _discount_amount: number;
1127
+ is_ready?: boolean | null | undefined;
1128
+ void_reason?: string | null | undefined;
1129
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1130
+ _id: import("mongoose").Types.ObjectId;
1131
+ name: string;
1132
+ price: number;
1133
+ special_instructions: string;
1134
+ subtotal: number;
1135
+ item_id: import("mongoose").Types.ObjectId;
1136
+ quantity: number;
1137
+ _net_amount: number;
1138
+ _gross_amount: number;
1139
+ _gst_amount: number;
1140
+ _discount_amount: number;
1141
+ is_ready?: boolean | null | undefined;
1142
+ void_reason?: string | null | undefined;
1143
+ }> & {
1144
+ _id: import("mongoose").Types.ObjectId;
1145
+ name: string;
1146
+ price: number;
1147
+ special_instructions: string;
1148
+ subtotal: number;
1149
+ item_id: import("mongoose").Types.ObjectId;
1150
+ quantity: number;
1151
+ _net_amount: number;
1152
+ _gross_amount: number;
1153
+ _gst_amount: number;
1154
+ _discount_amount: number;
1155
+ is_ready?: boolean | null | undefined;
1156
+ void_reason?: string | null | undefined;
1157
+ }>;
1158
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1159
+ name: string;
1160
+ category_id: import("mongoose").Types.ObjectId;
1161
+ items: import("mongoose").Types.DocumentArray<{
1162
+ _id: import("mongoose").Types.ObjectId;
1163
+ name: string;
1164
+ price: number;
1165
+ special_instructions: string;
1166
+ subtotal: number;
1167
+ item_id: import("mongoose").Types.ObjectId;
1168
+ quantity: number;
1169
+ _net_amount: number;
1170
+ _gross_amount: number;
1171
+ _gst_amount: number;
1172
+ _discount_amount: number;
1173
+ is_ready?: boolean | null | undefined;
1174
+ void_reason?: string | null | undefined;
1175
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1176
+ _id: import("mongoose").Types.ObjectId;
1177
+ name: string;
1178
+ price: number;
1179
+ special_instructions: string;
1180
+ subtotal: number;
1181
+ item_id: import("mongoose").Types.ObjectId;
1182
+ quantity: number;
1183
+ _net_amount: number;
1184
+ _gross_amount: number;
1185
+ _gst_amount: number;
1186
+ _discount_amount: number;
1187
+ is_ready?: boolean | null | undefined;
1188
+ void_reason?: string | null | undefined;
1189
+ }> & {
1190
+ _id: import("mongoose").Types.ObjectId;
1191
+ name: string;
1192
+ price: number;
1193
+ special_instructions: string;
1194
+ subtotal: number;
1195
+ item_id: import("mongoose").Types.ObjectId;
1196
+ quantity: number;
1197
+ _net_amount: number;
1198
+ _gross_amount: number;
1199
+ _gst_amount: number;
1200
+ _discount_amount: number;
1201
+ is_ready?: boolean | null | undefined;
1202
+ void_reason?: string | null | undefined;
1203
+ }>;
1204
+ }> & {
1205
+ name: string;
1206
+ category_id: import("mongoose").Types.ObjectId;
1207
+ items: import("mongoose").Types.DocumentArray<{
1208
+ _id: import("mongoose").Types.ObjectId;
1209
+ name: string;
1210
+ price: number;
1211
+ special_instructions: string;
1212
+ subtotal: number;
1213
+ item_id: import("mongoose").Types.ObjectId;
1214
+ quantity: number;
1215
+ _net_amount: number;
1216
+ _gross_amount: number;
1217
+ _gst_amount: number;
1218
+ _discount_amount: number;
1219
+ is_ready?: boolean | null | undefined;
1220
+ void_reason?: string | null | undefined;
1221
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1222
+ _id: import("mongoose").Types.ObjectId;
1223
+ name: string;
1224
+ price: number;
1225
+ special_instructions: string;
1226
+ subtotal: number;
1227
+ item_id: import("mongoose").Types.ObjectId;
1228
+ quantity: number;
1229
+ _net_amount: number;
1230
+ _gross_amount: number;
1231
+ _gst_amount: number;
1232
+ _discount_amount: number;
1233
+ is_ready?: boolean | null | undefined;
1234
+ void_reason?: string | null | undefined;
1235
+ }> & {
1236
+ _id: import("mongoose").Types.ObjectId;
1237
+ name: string;
1238
+ price: number;
1239
+ special_instructions: string;
1240
+ subtotal: number;
1241
+ item_id: import("mongoose").Types.ObjectId;
1242
+ quantity: number;
1243
+ _net_amount: number;
1244
+ _gross_amount: number;
1245
+ _gst_amount: number;
1246
+ _discount_amount: number;
1247
+ is_ready?: boolean | null | undefined;
1248
+ void_reason?: string | null | undefined;
1249
+ }>;
1250
+ }>;
1251
+ price: number;
1252
+ payments: import("mongoose").Types.DocumentArray<{
1253
+ payment_type: string;
1254
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1255
+ card_details: {
1256
+ transaction_id: string;
1257
+ payment_provider_linked_customer_id: string;
1258
+ card_number: string;
1259
+ card_type: string;
1260
+ card_holder_name: string;
1261
+ card_charges: number;
1262
+ card_country_code: string;
1263
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1264
+ };
1265
+ amount_paid: number;
1266
+ amount_due: number;
1267
+ amount_refunded: number;
1268
+ payment_id: string;
1269
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1270
+ refund_reason?: string | null | undefined;
1271
+ note?: string | null | undefined;
1272
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1273
+ payment_type: string;
1274
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1275
+ card_details: {
1276
+ transaction_id: string;
1277
+ payment_provider_linked_customer_id: string;
1278
+ card_number: string;
1279
+ card_type: string;
1280
+ card_holder_name: string;
1281
+ card_charges: number;
1282
+ card_country_code: string;
1283
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1284
+ };
1285
+ amount_paid: number;
1286
+ amount_due: number;
1287
+ amount_refunded: number;
1288
+ payment_id: string;
1289
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1290
+ refund_reason?: string | null | undefined;
1291
+ note?: string | null | undefined;
1292
+ }> & {
1293
+ payment_type: string;
1294
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1295
+ card_details: {
1296
+ transaction_id: string;
1297
+ payment_provider_linked_customer_id: string;
1298
+ card_number: string;
1299
+ card_type: string;
1300
+ card_holder_name: string;
1301
+ card_charges: number;
1302
+ card_country_code: string;
1303
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1304
+ };
1305
+ amount_paid: number;
1306
+ amount_due: number;
1307
+ amount_refunded: number;
1308
+ payment_id: string;
1309
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1310
+ refund_reason?: string | null | undefined;
1311
+ note?: string | null | undefined;
1312
+ }>;
1313
+ special_instructions: string;
1314
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
1315
+ tax_number: string;
1316
+ amount_earned: number;
1317
+ grand_total: number;
1318
+ staff_details?: {
1319
+ staff_id: string;
1320
+ staff_name: string;
1321
+ staff_mobile: string;
1322
+ staff_email: string;
1323
+ } | null | undefined;
1324
+ is_gst_inclusive?: boolean | null | undefined;
1325
+ gst?: number | null | undefined;
1326
+ gst_amount?: number | null | undefined;
1327
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1328
+ updatedAt: NativeDate;
1329
+ categories: import("mongoose").Types.DocumentArray<{
1330
+ name: string;
1331
+ category_id: import("mongoose").Types.ObjectId;
1332
+ items: import("mongoose").Types.DocumentArray<{
1333
+ _id: import("mongoose").Types.ObjectId;
1334
+ name: string;
1335
+ price: number;
1336
+ special_instructions: string;
1337
+ subtotal: number;
1338
+ item_id: import("mongoose").Types.ObjectId;
1339
+ quantity: number;
1340
+ _net_amount: number;
1341
+ _gross_amount: number;
1342
+ _gst_amount: number;
1343
+ _discount_amount: number;
1344
+ is_ready?: boolean | null | undefined;
1345
+ void_reason?: string | null | undefined;
1346
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1347
+ _id: import("mongoose").Types.ObjectId;
1348
+ name: string;
1349
+ price: number;
1350
+ special_instructions: string;
1351
+ subtotal: number;
1352
+ item_id: import("mongoose").Types.ObjectId;
1353
+ quantity: number;
1354
+ _net_amount: number;
1355
+ _gross_amount: number;
1356
+ _gst_amount: number;
1357
+ _discount_amount: number;
1358
+ is_ready?: boolean | null | undefined;
1359
+ void_reason?: string | null | undefined;
1360
+ }> & {
1361
+ _id: import("mongoose").Types.ObjectId;
1362
+ name: string;
1363
+ price: number;
1364
+ special_instructions: string;
1365
+ subtotal: number;
1366
+ item_id: import("mongoose").Types.ObjectId;
1367
+ quantity: number;
1368
+ _net_amount: number;
1369
+ _gross_amount: number;
1370
+ _gst_amount: number;
1371
+ _discount_amount: number;
1372
+ is_ready?: boolean | null | undefined;
1373
+ void_reason?: string | null | undefined;
1374
+ }>;
1375
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1376
+ name: string;
1377
+ category_id: import("mongoose").Types.ObjectId;
1378
+ items: import("mongoose").Types.DocumentArray<{
1379
+ _id: import("mongoose").Types.ObjectId;
1380
+ name: string;
1381
+ price: number;
1382
+ special_instructions: string;
1383
+ subtotal: number;
1384
+ item_id: import("mongoose").Types.ObjectId;
1385
+ quantity: number;
1386
+ _net_amount: number;
1387
+ _gross_amount: number;
1388
+ _gst_amount: number;
1389
+ _discount_amount: number;
1390
+ is_ready?: boolean | null | undefined;
1391
+ void_reason?: string | null | undefined;
1392
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1393
+ _id: import("mongoose").Types.ObjectId;
1394
+ name: string;
1395
+ price: number;
1396
+ special_instructions: string;
1397
+ subtotal: number;
1398
+ item_id: import("mongoose").Types.ObjectId;
1399
+ quantity: number;
1400
+ _net_amount: number;
1401
+ _gross_amount: number;
1402
+ _gst_amount: number;
1403
+ _discount_amount: number;
1404
+ is_ready?: boolean | null | undefined;
1405
+ void_reason?: string | null | undefined;
1406
+ }> & {
1407
+ _id: import("mongoose").Types.ObjectId;
1408
+ name: string;
1409
+ price: number;
1410
+ special_instructions: string;
1411
+ subtotal: number;
1412
+ item_id: import("mongoose").Types.ObjectId;
1413
+ quantity: number;
1414
+ _net_amount: number;
1415
+ _gross_amount: number;
1416
+ _gst_amount: number;
1417
+ _discount_amount: number;
1418
+ is_ready?: boolean | null | undefined;
1419
+ void_reason?: string | null | undefined;
1420
+ }>;
1421
+ }> & {
1422
+ name: string;
1423
+ category_id: import("mongoose").Types.ObjectId;
1424
+ items: import("mongoose").Types.DocumentArray<{
1425
+ _id: import("mongoose").Types.ObjectId;
1426
+ name: string;
1427
+ price: number;
1428
+ special_instructions: string;
1429
+ subtotal: number;
1430
+ item_id: import("mongoose").Types.ObjectId;
1431
+ quantity: number;
1432
+ _net_amount: number;
1433
+ _gross_amount: number;
1434
+ _gst_amount: number;
1435
+ _discount_amount: number;
1436
+ is_ready?: boolean | null | undefined;
1437
+ void_reason?: string | null | undefined;
1438
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1439
+ _id: import("mongoose").Types.ObjectId;
1440
+ name: string;
1441
+ price: number;
1442
+ special_instructions: string;
1443
+ subtotal: number;
1444
+ item_id: import("mongoose").Types.ObjectId;
1445
+ quantity: number;
1446
+ _net_amount: number;
1447
+ _gross_amount: number;
1448
+ _gst_amount: number;
1449
+ _discount_amount: number;
1450
+ is_ready?: boolean | null | undefined;
1451
+ void_reason?: string | null | undefined;
1452
+ }> & {
1453
+ _id: import("mongoose").Types.ObjectId;
1454
+ name: string;
1455
+ price: number;
1456
+ special_instructions: string;
1457
+ subtotal: number;
1458
+ item_id: import("mongoose").Types.ObjectId;
1459
+ quantity: number;
1460
+ _net_amount: number;
1461
+ _gross_amount: number;
1462
+ _gst_amount: number;
1463
+ _discount_amount: number;
1464
+ is_ready?: boolean | null | undefined;
1465
+ void_reason?: string | null | undefined;
1466
+ }>;
1467
+ }>;
1468
+ price: number;
1469
+ payments: import("mongoose").Types.DocumentArray<{
1470
+ payment_type: string;
1471
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1472
+ card_details: {
1473
+ transaction_id: string;
1474
+ payment_provider_linked_customer_id: string;
1475
+ card_number: string;
1476
+ card_type: string;
1477
+ card_holder_name: string;
1478
+ card_charges: number;
1479
+ card_country_code: string;
1480
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1481
+ };
1482
+ amount_paid: number;
1483
+ amount_due: number;
1484
+ amount_refunded: number;
1485
+ payment_id: string;
1486
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1487
+ refund_reason?: string | null | undefined;
1488
+ note?: string | null | undefined;
1489
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1490
+ payment_type: string;
1491
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1492
+ card_details: {
1493
+ transaction_id: string;
1494
+ payment_provider_linked_customer_id: string;
1495
+ card_number: string;
1496
+ card_type: string;
1497
+ card_holder_name: string;
1498
+ card_charges: number;
1499
+ card_country_code: string;
1500
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1501
+ };
1502
+ amount_paid: number;
1503
+ amount_due: number;
1504
+ amount_refunded: number;
1505
+ payment_id: string;
1506
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1507
+ refund_reason?: string | null | undefined;
1508
+ note?: string | null | undefined;
1509
+ }> & {
1510
+ payment_type: string;
1511
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1512
+ card_details: {
1513
+ transaction_id: string;
1514
+ payment_provider_linked_customer_id: string;
1515
+ card_number: string;
1516
+ card_type: string;
1517
+ card_holder_name: string;
1518
+ card_charges: number;
1519
+ card_country_code: string;
1520
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1521
+ };
1522
+ amount_paid: number;
1523
+ amount_due: number;
1524
+ amount_refunded: number;
1525
+ payment_id: string;
1526
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1527
+ refund_reason?: string | null | undefined;
1528
+ note?: string | null | undefined;
1529
+ }>;
1530
+ special_instructions: string;
1531
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
1532
+ tax_number: string;
1533
+ amount_earned: number;
1534
+ grand_total: number;
1535
+ staff_details?: {
1536
+ staff_id: string;
1537
+ staff_name: string;
1538
+ staff_mobile: string;
1539
+ staff_email: string;
1540
+ } | null | undefined;
1541
+ is_gst_inclusive?: boolean | null | undefined;
1542
+ gst?: number | null | undefined;
1543
+ gst_amount?: number | null | undefined;
1544
+ }> & {
1545
+ updatedAt: NativeDate;
1546
+ categories: import("mongoose").Types.DocumentArray<{
1547
+ name: string;
1548
+ category_id: import("mongoose").Types.ObjectId;
1549
+ items: import("mongoose").Types.DocumentArray<{
1550
+ _id: import("mongoose").Types.ObjectId;
1551
+ name: string;
1552
+ price: number;
1553
+ special_instructions: string;
1554
+ subtotal: number;
1555
+ item_id: import("mongoose").Types.ObjectId;
1556
+ quantity: number;
1557
+ _net_amount: number;
1558
+ _gross_amount: number;
1559
+ _gst_amount: number;
1560
+ _discount_amount: number;
1561
+ is_ready?: boolean | null | undefined;
1562
+ void_reason?: string | null | undefined;
1563
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1564
+ _id: import("mongoose").Types.ObjectId;
1565
+ name: string;
1566
+ price: number;
1567
+ special_instructions: string;
1568
+ subtotal: number;
1569
+ item_id: import("mongoose").Types.ObjectId;
1570
+ quantity: number;
1571
+ _net_amount: number;
1572
+ _gross_amount: number;
1573
+ _gst_amount: number;
1574
+ _discount_amount: number;
1575
+ is_ready?: boolean | null | undefined;
1576
+ void_reason?: string | null | undefined;
1577
+ }> & {
1578
+ _id: import("mongoose").Types.ObjectId;
1579
+ name: string;
1580
+ price: number;
1581
+ special_instructions: string;
1582
+ subtotal: number;
1583
+ item_id: import("mongoose").Types.ObjectId;
1584
+ quantity: number;
1585
+ _net_amount: number;
1586
+ _gross_amount: number;
1587
+ _gst_amount: number;
1588
+ _discount_amount: number;
1589
+ is_ready?: boolean | null | undefined;
1590
+ void_reason?: string | null | undefined;
1591
+ }>;
1592
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1593
+ name: string;
1594
+ category_id: import("mongoose").Types.ObjectId;
1595
+ items: import("mongoose").Types.DocumentArray<{
1596
+ _id: import("mongoose").Types.ObjectId;
1597
+ name: string;
1598
+ price: number;
1599
+ special_instructions: string;
1600
+ subtotal: number;
1601
+ item_id: import("mongoose").Types.ObjectId;
1602
+ quantity: number;
1603
+ _net_amount: number;
1604
+ _gross_amount: number;
1605
+ _gst_amount: number;
1606
+ _discount_amount: number;
1607
+ is_ready?: boolean | null | undefined;
1608
+ void_reason?: string | null | undefined;
1609
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1610
+ _id: import("mongoose").Types.ObjectId;
1611
+ name: string;
1612
+ price: number;
1613
+ special_instructions: string;
1614
+ subtotal: number;
1615
+ item_id: import("mongoose").Types.ObjectId;
1616
+ quantity: number;
1617
+ _net_amount: number;
1618
+ _gross_amount: number;
1619
+ _gst_amount: number;
1620
+ _discount_amount: number;
1621
+ is_ready?: boolean | null | undefined;
1622
+ void_reason?: string | null | undefined;
1623
+ }> & {
1624
+ _id: import("mongoose").Types.ObjectId;
1625
+ name: string;
1626
+ price: number;
1627
+ special_instructions: string;
1628
+ subtotal: number;
1629
+ item_id: import("mongoose").Types.ObjectId;
1630
+ quantity: number;
1631
+ _net_amount: number;
1632
+ _gross_amount: number;
1633
+ _gst_amount: number;
1634
+ _discount_amount: number;
1635
+ is_ready?: boolean | null | undefined;
1636
+ void_reason?: string | null | undefined;
1637
+ }>;
1638
+ }> & {
1639
+ name: string;
1640
+ category_id: import("mongoose").Types.ObjectId;
1641
+ items: import("mongoose").Types.DocumentArray<{
1642
+ _id: import("mongoose").Types.ObjectId;
1643
+ name: string;
1644
+ price: number;
1645
+ special_instructions: string;
1646
+ subtotal: number;
1647
+ item_id: import("mongoose").Types.ObjectId;
1648
+ quantity: number;
1649
+ _net_amount: number;
1650
+ _gross_amount: number;
1651
+ _gst_amount: number;
1652
+ _discount_amount: number;
1653
+ is_ready?: boolean | null | undefined;
1654
+ void_reason?: string | null | undefined;
1655
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1656
+ _id: import("mongoose").Types.ObjectId;
1657
+ name: string;
1658
+ price: number;
1659
+ special_instructions: string;
1660
+ subtotal: number;
1661
+ item_id: import("mongoose").Types.ObjectId;
1662
+ quantity: number;
1663
+ _net_amount: number;
1664
+ _gross_amount: number;
1665
+ _gst_amount: number;
1666
+ _discount_amount: number;
1667
+ is_ready?: boolean | null | undefined;
1668
+ void_reason?: string | null | undefined;
1669
+ }> & {
1670
+ _id: import("mongoose").Types.ObjectId;
1671
+ name: string;
1672
+ price: number;
1673
+ special_instructions: string;
1674
+ subtotal: number;
1675
+ item_id: import("mongoose").Types.ObjectId;
1676
+ quantity: number;
1677
+ _net_amount: number;
1678
+ _gross_amount: number;
1679
+ _gst_amount: number;
1680
+ _discount_amount: number;
1681
+ is_ready?: boolean | null | undefined;
1682
+ void_reason?: string | null | undefined;
1683
+ }>;
1684
+ }>;
1685
+ price: number;
1686
+ payments: import("mongoose").Types.DocumentArray<{
1687
+ payment_type: string;
1688
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1689
+ card_details: {
1690
+ transaction_id: string;
1691
+ payment_provider_linked_customer_id: string;
1692
+ card_number: string;
1693
+ card_type: string;
1694
+ card_holder_name: string;
1695
+ card_charges: number;
1696
+ card_country_code: string;
1697
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1698
+ };
1699
+ amount_paid: number;
1700
+ amount_due: number;
1701
+ amount_refunded: number;
1702
+ payment_id: string;
1703
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1704
+ refund_reason?: string | null | undefined;
1705
+ note?: string | null | undefined;
1706
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1707
+ payment_type: string;
1708
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1709
+ card_details: {
1710
+ transaction_id: string;
1711
+ payment_provider_linked_customer_id: string;
1712
+ card_number: string;
1713
+ card_type: string;
1714
+ card_holder_name: string;
1715
+ card_charges: number;
1716
+ card_country_code: string;
1717
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1718
+ };
1719
+ amount_paid: number;
1720
+ amount_due: number;
1721
+ amount_refunded: number;
1722
+ payment_id: string;
1723
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1724
+ refund_reason?: string | null | undefined;
1725
+ note?: string | null | undefined;
1726
+ }> & {
1727
+ payment_type: string;
1728
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1729
+ card_details: {
1730
+ transaction_id: string;
1731
+ payment_provider_linked_customer_id: string;
1732
+ card_number: string;
1733
+ card_type: string;
1734
+ card_holder_name: string;
1735
+ card_charges: number;
1736
+ card_country_code: string;
1737
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1738
+ };
1739
+ amount_paid: number;
1740
+ amount_due: number;
1741
+ amount_refunded: number;
1742
+ payment_id: string;
1743
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1744
+ refund_reason?: string | null | undefined;
1745
+ note?: string | null | undefined;
1746
+ }>;
1747
+ special_instructions: string;
1748
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
1749
+ tax_number: string;
1750
+ amount_earned: number;
1751
+ grand_total: number;
1752
+ staff_details?: {
1753
+ staff_id: string;
1754
+ staff_name: string;
1755
+ staff_mobile: string;
1756
+ staff_email: string;
1757
+ } | null | undefined;
1758
+ is_gst_inclusive?: boolean | null | undefined;
1759
+ gst?: number | null | undefined;
1760
+ gst_amount?: number | null | undefined;
1761
+ }>;
1762
+ amount_collected: number;
1763
+ is_deleted: boolean;
1764
+ order_status_updated_at: NativeDate;
1765
+ warehouse_id: string;
1766
+ order_settled_at: NativeDate;
1767
+ order_settled_at_mins: number;
1768
+ staff_details: {
1769
+ staff_id: string;
1770
+ staff_name: string;
1771
+ staff_mobile: string;
1772
+ staff_email: string;
1773
+ };
1774
+ vendor_name: string;
1775
+ vendor_id: import("mongoose").Types.ObjectId;
1776
+ cancel_reason?: string | null | undefined;
1777
+ delete_reason?: string | null | undefined;
1778
+ is_reopened?: boolean | null | undefined;
1779
+ deferred_settlement?: boolean | null | undefined;
1780
+ rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
1781
+ is_gst_inclusive?: boolean | null | undefined;
1782
+ gst?: number | null | undefined;
1783
+ gst_amount?: number | null | undefined;
1784
+ }>> & import("mongoose").FlatRecord<{
1785
+ createdAt: NativeDate;
1786
+ updatedAt: NativeDate;
1787
+ } & {
1788
+ _id: import("mongoose").Types.ObjectId;
1789
+ createdAt_mins: number;
1790
+ createdAt: NativeDate;
1791
+ updatedAt: NativeDate;
1792
+ categories: import("mongoose").Types.DocumentArray<{
1793
+ name: string;
1794
+ category_id: import("mongoose").Types.ObjectId;
1795
+ items: import("mongoose").Types.DocumentArray<{
1796
+ _id: import("mongoose").Types.ObjectId;
1797
+ name: string;
1798
+ price: number;
1799
+ special_instructions: string;
1800
+ subtotal: number;
1801
+ item_id: import("mongoose").Types.ObjectId;
1802
+ quantity: number;
1803
+ _net_amount: number;
1804
+ _gross_amount: number;
1805
+ _gst_amount: number;
1806
+ _discount_amount: number;
1807
+ is_ready?: boolean | null | undefined;
1808
+ void_reason?: string | null | undefined;
1809
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1810
+ _id: import("mongoose").Types.ObjectId;
1811
+ name: string;
1812
+ price: number;
1813
+ special_instructions: string;
1814
+ subtotal: number;
1815
+ item_id: import("mongoose").Types.ObjectId;
1816
+ quantity: number;
1817
+ _net_amount: number;
1818
+ _gross_amount: number;
1819
+ _gst_amount: number;
1820
+ _discount_amount: number;
1821
+ is_ready?: boolean | null | undefined;
1822
+ void_reason?: string | null | undefined;
1823
+ }> & {
1824
+ _id: import("mongoose").Types.ObjectId;
1825
+ name: string;
1826
+ price: number;
1827
+ special_instructions: string;
1828
+ subtotal: number;
1829
+ item_id: import("mongoose").Types.ObjectId;
1830
+ quantity: number;
1831
+ _net_amount: number;
1832
+ _gross_amount: number;
1833
+ _gst_amount: number;
1834
+ _discount_amount: number;
1835
+ is_ready?: boolean | null | undefined;
1836
+ void_reason?: string | null | undefined;
1837
+ }>;
1838
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1839
+ name: string;
1840
+ category_id: import("mongoose").Types.ObjectId;
1841
+ items: import("mongoose").Types.DocumentArray<{
1842
+ _id: import("mongoose").Types.ObjectId;
1843
+ name: string;
1844
+ price: number;
1845
+ special_instructions: string;
1846
+ subtotal: number;
1847
+ item_id: import("mongoose").Types.ObjectId;
1848
+ quantity: number;
1849
+ _net_amount: number;
1850
+ _gross_amount: number;
1851
+ _gst_amount: number;
1852
+ _discount_amount: number;
1853
+ is_ready?: boolean | null | undefined;
1854
+ void_reason?: string | null | undefined;
1855
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1856
+ _id: import("mongoose").Types.ObjectId;
1857
+ name: string;
1858
+ price: number;
1859
+ special_instructions: string;
1860
+ subtotal: number;
1861
+ item_id: import("mongoose").Types.ObjectId;
1862
+ quantity: number;
1863
+ _net_amount: number;
1864
+ _gross_amount: number;
1865
+ _gst_amount: number;
1866
+ _discount_amount: number;
1867
+ is_ready?: boolean | null | undefined;
1868
+ void_reason?: string | null | undefined;
1869
+ }> & {
1870
+ _id: import("mongoose").Types.ObjectId;
1871
+ name: string;
1872
+ price: number;
1873
+ special_instructions: string;
1874
+ subtotal: number;
1875
+ item_id: import("mongoose").Types.ObjectId;
1876
+ quantity: number;
1877
+ _net_amount: number;
1878
+ _gross_amount: number;
1879
+ _gst_amount: number;
1880
+ _discount_amount: number;
1881
+ is_ready?: boolean | null | undefined;
1882
+ void_reason?: string | null | undefined;
1883
+ }>;
1884
+ }> & {
1885
+ name: string;
1886
+ category_id: import("mongoose").Types.ObjectId;
1887
+ items: import("mongoose").Types.DocumentArray<{
1888
+ _id: import("mongoose").Types.ObjectId;
1889
+ name: string;
1890
+ price: number;
1891
+ special_instructions: string;
1892
+ subtotal: number;
1893
+ item_id: import("mongoose").Types.ObjectId;
1894
+ quantity: number;
1895
+ _net_amount: number;
1896
+ _gross_amount: number;
1897
+ _gst_amount: number;
1898
+ _discount_amount: number;
1899
+ is_ready?: boolean | null | undefined;
1900
+ void_reason?: string | null | undefined;
1901
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1902
+ _id: import("mongoose").Types.ObjectId;
1903
+ name: string;
1904
+ price: number;
1905
+ special_instructions: string;
1906
+ subtotal: number;
1907
+ item_id: import("mongoose").Types.ObjectId;
1908
+ quantity: number;
1909
+ _net_amount: number;
1910
+ _gross_amount: number;
1911
+ _gst_amount: number;
1912
+ _discount_amount: number;
1913
+ is_ready?: boolean | null | undefined;
1914
+ void_reason?: string | null | undefined;
1915
+ }> & {
1916
+ _id: import("mongoose").Types.ObjectId;
1917
+ name: string;
1918
+ price: number;
1919
+ special_instructions: string;
1920
+ subtotal: number;
1921
+ item_id: import("mongoose").Types.ObjectId;
1922
+ quantity: number;
1923
+ _net_amount: number;
1924
+ _gross_amount: number;
1925
+ _gst_amount: number;
1926
+ _discount_amount: number;
1927
+ is_ready?: boolean | null | undefined;
1928
+ void_reason?: string | null | undefined;
1929
+ }>;
1930
+ }>;
1931
+ price: number;
1932
+ order_number: number;
1933
+ payments: import("mongoose").Types.DocumentArray<{
1934
+ payment_type: string;
1935
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1936
+ card_details: {
1937
+ transaction_id: string;
1938
+ payment_provider_linked_customer_id: string;
1939
+ card_number: string;
1940
+ card_type: string;
1941
+ card_holder_name: string;
1942
+ card_charges: number;
1943
+ card_country_code: string;
1944
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1945
+ };
1946
+ amount_paid: number;
1947
+ amount_due: number;
1948
+ amount_refunded: number;
1949
+ payment_id: string;
1950
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1951
+ refund_reason?: string | null | undefined;
1952
+ note?: string | null | undefined;
1953
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1954
+ payment_type: string;
1955
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1956
+ card_details: {
1957
+ transaction_id: string;
1958
+ payment_provider_linked_customer_id: string;
1959
+ card_number: string;
1960
+ card_type: string;
1961
+ card_holder_name: string;
1962
+ card_charges: number;
1963
+ card_country_code: string;
1964
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1965
+ };
1966
+ amount_paid: number;
1967
+ amount_due: number;
1968
+ amount_refunded: number;
1969
+ payment_id: string;
1970
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1971
+ refund_reason?: string | null | undefined;
1972
+ note?: string | null | undefined;
1973
+ }> & {
1974
+ payment_type: string;
1975
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1976
+ card_details: {
1977
+ transaction_id: string;
1978
+ payment_provider_linked_customer_id: string;
1979
+ card_number: string;
1980
+ card_type: string;
1981
+ card_holder_name: string;
1982
+ card_charges: number;
1983
+ card_country_code: string;
1984
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1985
+ };
1986
+ amount_paid: number;
1987
+ amount_due: number;
1988
+ amount_refunded: number;
1989
+ payment_id: string;
1990
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1991
+ refund_reason?: string | null | undefined;
1992
+ note?: string | null | undefined;
1993
+ }>;
1994
+ special_instructions: string;
1995
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
1996
+ tax_number: string;
1997
+ amount_earned: number;
1998
+ grand_total: number;
1999
+ iterations: import("mongoose").Types.DocumentArray<{
2000
+ updatedAt: NativeDate;
2001
+ categories: import("mongoose").Types.DocumentArray<{
2002
+ name: string;
2003
+ category_id: import("mongoose").Types.ObjectId;
2004
+ items: import("mongoose").Types.DocumentArray<{
2005
+ _id: import("mongoose").Types.ObjectId;
2006
+ name: string;
2007
+ price: number;
2008
+ special_instructions: string;
2009
+ subtotal: number;
2010
+ item_id: import("mongoose").Types.ObjectId;
2011
+ quantity: number;
2012
+ _net_amount: number;
2013
+ _gross_amount: number;
2014
+ _gst_amount: number;
2015
+ _discount_amount: number;
2016
+ is_ready?: boolean | null | undefined;
2017
+ void_reason?: string | null | undefined;
2018
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2019
+ _id: import("mongoose").Types.ObjectId;
2020
+ name: string;
2021
+ price: number;
2022
+ special_instructions: string;
2023
+ subtotal: number;
2024
+ item_id: import("mongoose").Types.ObjectId;
2025
+ quantity: number;
2026
+ _net_amount: number;
2027
+ _gross_amount: number;
2028
+ _gst_amount: number;
2029
+ _discount_amount: number;
2030
+ is_ready?: boolean | null | undefined;
2031
+ void_reason?: string | null | undefined;
2032
+ }> & {
2033
+ _id: import("mongoose").Types.ObjectId;
2034
+ name: string;
2035
+ price: number;
2036
+ special_instructions: string;
2037
+ subtotal: number;
2038
+ item_id: import("mongoose").Types.ObjectId;
2039
+ quantity: number;
2040
+ _net_amount: number;
2041
+ _gross_amount: number;
2042
+ _gst_amount: number;
2043
+ _discount_amount: number;
2044
+ is_ready?: boolean | null | undefined;
2045
+ void_reason?: string | null | undefined;
2046
+ }>;
2047
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2048
+ name: string;
2049
+ category_id: import("mongoose").Types.ObjectId;
2050
+ items: import("mongoose").Types.DocumentArray<{
2051
+ _id: import("mongoose").Types.ObjectId;
2052
+ name: string;
2053
+ price: number;
2054
+ special_instructions: string;
2055
+ subtotal: number;
2056
+ item_id: import("mongoose").Types.ObjectId;
2057
+ quantity: number;
2058
+ _net_amount: number;
2059
+ _gross_amount: number;
2060
+ _gst_amount: number;
2061
+ _discount_amount: number;
2062
+ is_ready?: boolean | null | undefined;
2063
+ void_reason?: string | null | undefined;
2064
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2065
+ _id: import("mongoose").Types.ObjectId;
2066
+ name: string;
2067
+ price: number;
2068
+ special_instructions: string;
2069
+ subtotal: number;
2070
+ item_id: import("mongoose").Types.ObjectId;
2071
+ quantity: number;
2072
+ _net_amount: number;
2073
+ _gross_amount: number;
2074
+ _gst_amount: number;
2075
+ _discount_amount: number;
2076
+ is_ready?: boolean | null | undefined;
2077
+ void_reason?: string | null | undefined;
2078
+ }> & {
2079
+ _id: import("mongoose").Types.ObjectId;
2080
+ name: string;
2081
+ price: number;
2082
+ special_instructions: string;
2083
+ subtotal: number;
2084
+ item_id: import("mongoose").Types.ObjectId;
2085
+ quantity: number;
2086
+ _net_amount: number;
2087
+ _gross_amount: number;
2088
+ _gst_amount: number;
2089
+ _discount_amount: number;
2090
+ is_ready?: boolean | null | undefined;
2091
+ void_reason?: string | null | undefined;
2092
+ }>;
2093
+ }> & {
2094
+ name: string;
2095
+ category_id: import("mongoose").Types.ObjectId;
2096
+ items: import("mongoose").Types.DocumentArray<{
2097
+ _id: import("mongoose").Types.ObjectId;
2098
+ name: string;
2099
+ price: number;
2100
+ special_instructions: string;
2101
+ subtotal: number;
2102
+ item_id: import("mongoose").Types.ObjectId;
2103
+ quantity: number;
2104
+ _net_amount: number;
2105
+ _gross_amount: number;
2106
+ _gst_amount: number;
2107
+ _discount_amount: number;
2108
+ is_ready?: boolean | null | undefined;
2109
+ void_reason?: string | null | undefined;
2110
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2111
+ _id: import("mongoose").Types.ObjectId;
2112
+ name: string;
2113
+ price: number;
2114
+ special_instructions: string;
2115
+ subtotal: number;
2116
+ item_id: import("mongoose").Types.ObjectId;
2117
+ quantity: number;
2118
+ _net_amount: number;
2119
+ _gross_amount: number;
2120
+ _gst_amount: number;
2121
+ _discount_amount: number;
2122
+ is_ready?: boolean | null | undefined;
2123
+ void_reason?: string | null | undefined;
2124
+ }> & {
2125
+ _id: import("mongoose").Types.ObjectId;
2126
+ name: string;
2127
+ price: number;
2128
+ special_instructions: string;
2129
+ subtotal: number;
2130
+ item_id: import("mongoose").Types.ObjectId;
2131
+ quantity: number;
2132
+ _net_amount: number;
2133
+ _gross_amount: number;
2134
+ _gst_amount: number;
2135
+ _discount_amount: number;
2136
+ is_ready?: boolean | null | undefined;
2137
+ void_reason?: string | null | undefined;
2138
+ }>;
2139
+ }>;
2140
+ price: number;
2141
+ payments: import("mongoose").Types.DocumentArray<{
2142
+ payment_type: string;
2143
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2144
+ card_details: {
2145
+ transaction_id: string;
2146
+ payment_provider_linked_customer_id: string;
2147
+ card_number: string;
2148
+ card_type: string;
2149
+ card_holder_name: string;
2150
+ card_charges: number;
2151
+ card_country_code: string;
2152
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2153
+ };
2154
+ amount_paid: number;
2155
+ amount_due: number;
2156
+ amount_refunded: number;
2157
+ payment_id: string;
2158
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
2159
+ refund_reason?: string | null | undefined;
2160
+ note?: string | null | undefined;
2161
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
2162
+ payment_type: string;
2163
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2164
+ card_details: {
2165
+ transaction_id: string;
2166
+ payment_provider_linked_customer_id: string;
2167
+ card_number: string;
2168
+ card_type: string;
2169
+ card_holder_name: string;
2170
+ card_charges: number;
2171
+ card_country_code: string;
2172
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2173
+ };
2174
+ amount_paid: number;
2175
+ amount_due: number;
2176
+ amount_refunded: number;
2177
+ payment_id: string;
2178
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
2179
+ refund_reason?: string | null | undefined;
2180
+ note?: string | null | undefined;
2181
+ }> & {
2182
+ payment_type: string;
2183
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2184
+ card_details: {
2185
+ transaction_id: string;
2186
+ payment_provider_linked_customer_id: string;
2187
+ card_number: string;
2188
+ card_type: string;
2189
+ card_holder_name: string;
2190
+ card_charges: number;
2191
+ card_country_code: string;
2192
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2193
+ };
2194
+ amount_paid: number;
2195
+ amount_due: number;
2196
+ amount_refunded: number;
2197
+ payment_id: string;
2198
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
2199
+ refund_reason?: string | null | undefined;
2200
+ note?: string | null | undefined;
2201
+ }>;
2202
+ special_instructions: string;
2203
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
2204
+ tax_number: string;
2205
+ amount_earned: number;
2206
+ grand_total: number;
2207
+ staff_details?: {
2208
+ staff_id: string;
2209
+ staff_name: string;
2210
+ staff_mobile: string;
2211
+ staff_email: string;
2212
+ } | null | undefined;
2213
+ is_gst_inclusive?: boolean | null | undefined;
2214
+ gst?: number | null | undefined;
2215
+ gst_amount?: number | null | undefined;
2216
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2217
+ updatedAt: NativeDate;
2218
+ categories: import("mongoose").Types.DocumentArray<{
2219
+ name: string;
2220
+ category_id: import("mongoose").Types.ObjectId;
2221
+ items: import("mongoose").Types.DocumentArray<{
2222
+ _id: import("mongoose").Types.ObjectId;
2223
+ name: string;
2224
+ price: number;
2225
+ special_instructions: string;
2226
+ subtotal: number;
2227
+ item_id: import("mongoose").Types.ObjectId;
2228
+ quantity: number;
2229
+ _net_amount: number;
2230
+ _gross_amount: number;
2231
+ _gst_amount: number;
2232
+ _discount_amount: number;
2233
+ is_ready?: boolean | null | undefined;
2234
+ void_reason?: string | null | undefined;
2235
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2236
+ _id: import("mongoose").Types.ObjectId;
2237
+ name: string;
2238
+ price: number;
2239
+ special_instructions: string;
2240
+ subtotal: number;
2241
+ item_id: import("mongoose").Types.ObjectId;
2242
+ quantity: number;
2243
+ _net_amount: number;
2244
+ _gross_amount: number;
2245
+ _gst_amount: number;
2246
+ _discount_amount: number;
2247
+ is_ready?: boolean | null | undefined;
2248
+ void_reason?: string | null | undefined;
2249
+ }> & {
2250
+ _id: import("mongoose").Types.ObjectId;
2251
+ name: string;
2252
+ price: number;
2253
+ special_instructions: string;
2254
+ subtotal: number;
2255
+ item_id: import("mongoose").Types.ObjectId;
2256
+ quantity: number;
2257
+ _net_amount: number;
2258
+ _gross_amount: number;
2259
+ _gst_amount: number;
2260
+ _discount_amount: number;
2261
+ is_ready?: boolean | null | undefined;
2262
+ void_reason?: string | null | undefined;
2263
+ }>;
2264
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2265
+ name: string;
2266
+ category_id: import("mongoose").Types.ObjectId;
2267
+ items: import("mongoose").Types.DocumentArray<{
2268
+ _id: import("mongoose").Types.ObjectId;
2269
+ name: string;
2270
+ price: number;
2271
+ special_instructions: string;
2272
+ subtotal: number;
2273
+ item_id: import("mongoose").Types.ObjectId;
2274
+ quantity: number;
2275
+ _net_amount: number;
2276
+ _gross_amount: number;
2277
+ _gst_amount: number;
2278
+ _discount_amount: number;
2279
+ is_ready?: boolean | null | undefined;
2280
+ void_reason?: string | null | undefined;
2281
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2282
+ _id: import("mongoose").Types.ObjectId;
2283
+ name: string;
2284
+ price: number;
2285
+ special_instructions: string;
2286
+ subtotal: number;
2287
+ item_id: import("mongoose").Types.ObjectId;
2288
+ quantity: number;
2289
+ _net_amount: number;
2290
+ _gross_amount: number;
2291
+ _gst_amount: number;
2292
+ _discount_amount: number;
2293
+ is_ready?: boolean | null | undefined;
2294
+ void_reason?: string | null | undefined;
2295
+ }> & {
2296
+ _id: import("mongoose").Types.ObjectId;
2297
+ name: string;
2298
+ price: number;
2299
+ special_instructions: string;
2300
+ subtotal: number;
2301
+ item_id: import("mongoose").Types.ObjectId;
2302
+ quantity: number;
2303
+ _net_amount: number;
2304
+ _gross_amount: number;
2305
+ _gst_amount: number;
2306
+ _discount_amount: number;
2307
+ is_ready?: boolean | null | undefined;
2308
+ void_reason?: string | null | undefined;
2309
+ }>;
2310
+ }> & {
2311
+ name: string;
2312
+ category_id: import("mongoose").Types.ObjectId;
2313
+ items: import("mongoose").Types.DocumentArray<{
2314
+ _id: import("mongoose").Types.ObjectId;
2315
+ name: string;
2316
+ price: number;
2317
+ special_instructions: string;
2318
+ subtotal: number;
2319
+ item_id: import("mongoose").Types.ObjectId;
2320
+ quantity: number;
2321
+ _net_amount: number;
2322
+ _gross_amount: number;
2323
+ _gst_amount: number;
2324
+ _discount_amount: number;
2325
+ is_ready?: boolean | null | undefined;
2326
+ void_reason?: string | null | undefined;
2327
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2328
+ _id: import("mongoose").Types.ObjectId;
2329
+ name: string;
2330
+ price: number;
2331
+ special_instructions: string;
2332
+ subtotal: number;
2333
+ item_id: import("mongoose").Types.ObjectId;
2334
+ quantity: number;
2335
+ _net_amount: number;
2336
+ _gross_amount: number;
2337
+ _gst_amount: number;
2338
+ _discount_amount: number;
2339
+ is_ready?: boolean | null | undefined;
2340
+ void_reason?: string | null | undefined;
2341
+ }> & {
2342
+ _id: import("mongoose").Types.ObjectId;
2343
+ name: string;
2344
+ price: number;
2345
+ special_instructions: string;
2346
+ subtotal: number;
2347
+ item_id: import("mongoose").Types.ObjectId;
2348
+ quantity: number;
2349
+ _net_amount: number;
2350
+ _gross_amount: number;
2351
+ _gst_amount: number;
2352
+ _discount_amount: number;
2353
+ is_ready?: boolean | null | undefined;
2354
+ void_reason?: string | null | undefined;
2355
+ }>;
2356
+ }>;
2357
+ price: number;
2358
+ payments: import("mongoose").Types.DocumentArray<{
2359
+ payment_type: string;
2360
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2361
+ card_details: {
2362
+ transaction_id: string;
2363
+ payment_provider_linked_customer_id: string;
2364
+ card_number: string;
2365
+ card_type: string;
2366
+ card_holder_name: string;
2367
+ card_charges: number;
2368
+ card_country_code: string;
2369
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2370
+ };
2371
+ amount_paid: number;
2372
+ amount_due: number;
2373
+ amount_refunded: number;
2374
+ payment_id: string;
2375
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
2376
+ refund_reason?: string | null | undefined;
2377
+ note?: string | null | undefined;
2378
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
2379
+ payment_type: string;
2380
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2381
+ card_details: {
2382
+ transaction_id: string;
2383
+ payment_provider_linked_customer_id: string;
2384
+ card_number: string;
2385
+ card_type: string;
2386
+ card_holder_name: string;
2387
+ card_charges: number;
2388
+ card_country_code: string;
2389
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2390
+ };
2391
+ amount_paid: number;
2392
+ amount_due: number;
2393
+ amount_refunded: number;
2394
+ payment_id: string;
2395
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
2396
+ refund_reason?: string | null | undefined;
2397
+ note?: string | null | undefined;
2398
+ }> & {
2399
+ payment_type: string;
2400
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2401
+ card_details: {
2402
+ transaction_id: string;
2403
+ payment_provider_linked_customer_id: string;
2404
+ card_number: string;
2405
+ card_type: string;
2406
+ card_holder_name: string;
2407
+ card_charges: number;
2408
+ card_country_code: string;
2409
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2410
+ };
2411
+ amount_paid: number;
2412
+ amount_due: number;
2413
+ amount_refunded: number;
2414
+ payment_id: string;
2415
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
2416
+ refund_reason?: string | null | undefined;
2417
+ note?: string | null | undefined;
2418
+ }>;
2419
+ special_instructions: string;
2420
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
2421
+ tax_number: string;
2422
+ amount_earned: number;
2423
+ grand_total: number;
2424
+ staff_details?: {
2425
+ staff_id: string;
2426
+ staff_name: string;
2427
+ staff_mobile: string;
2428
+ staff_email: string;
2429
+ } | null | undefined;
2430
+ is_gst_inclusive?: boolean | null | undefined;
2431
+ gst?: number | null | undefined;
2432
+ gst_amount?: number | null | undefined;
2433
+ }> & {
2434
+ updatedAt: NativeDate;
2435
+ categories: import("mongoose").Types.DocumentArray<{
2436
+ name: string;
2437
+ category_id: import("mongoose").Types.ObjectId;
2438
+ items: import("mongoose").Types.DocumentArray<{
2439
+ _id: import("mongoose").Types.ObjectId;
2440
+ name: string;
2441
+ price: number;
2442
+ special_instructions: string;
2443
+ subtotal: number;
2444
+ item_id: import("mongoose").Types.ObjectId;
2445
+ quantity: number;
2446
+ _net_amount: number;
2447
+ _gross_amount: number;
2448
+ _gst_amount: number;
2449
+ _discount_amount: number;
2450
+ is_ready?: boolean | null | undefined;
2451
+ void_reason?: string | null | undefined;
2452
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2453
+ _id: import("mongoose").Types.ObjectId;
2454
+ name: string;
2455
+ price: number;
2456
+ special_instructions: string;
2457
+ subtotal: number;
2458
+ item_id: import("mongoose").Types.ObjectId;
2459
+ quantity: number;
2460
+ _net_amount: number;
2461
+ _gross_amount: number;
2462
+ _gst_amount: number;
2463
+ _discount_amount: number;
2464
+ is_ready?: boolean | null | undefined;
2465
+ void_reason?: string | null | undefined;
2466
+ }> & {
2467
+ _id: import("mongoose").Types.ObjectId;
2468
+ name: string;
2469
+ price: number;
2470
+ special_instructions: string;
2471
+ subtotal: number;
2472
+ item_id: import("mongoose").Types.ObjectId;
2473
+ quantity: number;
2474
+ _net_amount: number;
2475
+ _gross_amount: number;
2476
+ _gst_amount: number;
2477
+ _discount_amount: number;
2478
+ is_ready?: boolean | null | undefined;
2479
+ void_reason?: string | null | undefined;
2480
+ }>;
2481
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2482
+ name: string;
2483
+ category_id: import("mongoose").Types.ObjectId;
2484
+ items: import("mongoose").Types.DocumentArray<{
2485
+ _id: import("mongoose").Types.ObjectId;
2486
+ name: string;
2487
+ price: number;
2488
+ special_instructions: string;
2489
+ subtotal: number;
2490
+ item_id: import("mongoose").Types.ObjectId;
2491
+ quantity: number;
2492
+ _net_amount: number;
2493
+ _gross_amount: number;
2494
+ _gst_amount: number;
2495
+ _discount_amount: number;
2496
+ is_ready?: boolean | null | undefined;
2497
+ void_reason?: string | null | undefined;
2498
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2499
+ _id: import("mongoose").Types.ObjectId;
2500
+ name: string;
2501
+ price: number;
2502
+ special_instructions: string;
2503
+ subtotal: number;
2504
+ item_id: import("mongoose").Types.ObjectId;
2505
+ quantity: number;
2506
+ _net_amount: number;
2507
+ _gross_amount: number;
2508
+ _gst_amount: number;
2509
+ _discount_amount: number;
2510
+ is_ready?: boolean | null | undefined;
2511
+ void_reason?: string | null | undefined;
2512
+ }> & {
2513
+ _id: import("mongoose").Types.ObjectId;
2514
+ name: string;
2515
+ price: number;
2516
+ special_instructions: string;
2517
+ subtotal: number;
2518
+ item_id: import("mongoose").Types.ObjectId;
2519
+ quantity: number;
2520
+ _net_amount: number;
2521
+ _gross_amount: number;
2522
+ _gst_amount: number;
2523
+ _discount_amount: number;
2524
+ is_ready?: boolean | null | undefined;
2525
+ void_reason?: string | null | undefined;
2526
+ }>;
2527
+ }> & {
2528
+ name: string;
2529
+ category_id: import("mongoose").Types.ObjectId;
2530
+ items: import("mongoose").Types.DocumentArray<{
2531
+ _id: import("mongoose").Types.ObjectId;
2532
+ name: string;
2533
+ price: number;
2534
+ special_instructions: string;
2535
+ subtotal: number;
2536
+ item_id: import("mongoose").Types.ObjectId;
2537
+ quantity: number;
2538
+ _net_amount: number;
2539
+ _gross_amount: number;
2540
+ _gst_amount: number;
2541
+ _discount_amount: number;
2542
+ is_ready?: boolean | null | undefined;
2543
+ void_reason?: string | null | undefined;
2544
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2545
+ _id: import("mongoose").Types.ObjectId;
2546
+ name: string;
2547
+ price: number;
2548
+ special_instructions: string;
2549
+ subtotal: number;
2550
+ item_id: import("mongoose").Types.ObjectId;
2551
+ quantity: number;
2552
+ _net_amount: number;
2553
+ _gross_amount: number;
2554
+ _gst_amount: number;
2555
+ _discount_amount: number;
2556
+ is_ready?: boolean | null | undefined;
2557
+ void_reason?: string | null | undefined;
2558
+ }> & {
2559
+ _id: import("mongoose").Types.ObjectId;
2560
+ name: string;
2561
+ price: number;
2562
+ special_instructions: string;
2563
+ subtotal: number;
2564
+ item_id: import("mongoose").Types.ObjectId;
2565
+ quantity: number;
2566
+ _net_amount: number;
2567
+ _gross_amount: number;
2568
+ _gst_amount: number;
2569
+ _discount_amount: number;
2570
+ is_ready?: boolean | null | undefined;
2571
+ void_reason?: string | null | undefined;
2572
+ }>;
2573
+ }>;
2574
+ price: number;
2575
+ payments: import("mongoose").Types.DocumentArray<{
2576
+ payment_type: string;
2577
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2578
+ card_details: {
2579
+ transaction_id: string;
2580
+ payment_provider_linked_customer_id: string;
2581
+ card_number: string;
2582
+ card_type: string;
2583
+ card_holder_name: string;
2584
+ card_charges: number;
2585
+ card_country_code: string;
2586
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2587
+ };
2588
+ amount_paid: number;
2589
+ amount_due: number;
2590
+ amount_refunded: number;
2591
+ payment_id: string;
2592
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
2593
+ refund_reason?: string | null | undefined;
2594
+ note?: string | null | undefined;
2595
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
2596
+ payment_type: string;
2597
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2598
+ card_details: {
2599
+ transaction_id: string;
2600
+ payment_provider_linked_customer_id: string;
2601
+ card_number: string;
2602
+ card_type: string;
2603
+ card_holder_name: string;
2604
+ card_charges: number;
2605
+ card_country_code: string;
2606
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2607
+ };
2608
+ amount_paid: number;
2609
+ amount_due: number;
2610
+ amount_refunded: number;
2611
+ payment_id: string;
2612
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
2613
+ refund_reason?: string | null | undefined;
2614
+ note?: string | null | undefined;
2615
+ }> & {
2616
+ payment_type: string;
2617
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2618
+ card_details: {
2619
+ transaction_id: string;
2620
+ payment_provider_linked_customer_id: string;
2621
+ card_number: string;
2622
+ card_type: string;
2623
+ card_holder_name: string;
2624
+ card_charges: number;
2625
+ card_country_code: string;
2626
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2627
+ };
2628
+ amount_paid: number;
2629
+ amount_due: number;
2630
+ amount_refunded: number;
2631
+ payment_id: string;
2632
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
2633
+ refund_reason?: string | null | undefined;
2634
+ note?: string | null | undefined;
2635
+ }>;
2636
+ special_instructions: string;
2637
+ order_status: import("../../constants").WAREHOUSE_PURCHASE_ORDER_STATUS_ENUM;
2638
+ tax_number: string;
2639
+ amount_earned: number;
2640
+ grand_total: number;
2641
+ staff_details?: {
2642
+ staff_id: string;
2643
+ staff_name: string;
2644
+ staff_mobile: string;
2645
+ staff_email: string;
2646
+ } | null | undefined;
2647
+ is_gst_inclusive?: boolean | null | undefined;
2648
+ gst?: number | null | undefined;
2649
+ gst_amount?: number | null | undefined;
2650
+ }>;
2651
+ amount_collected: number;
2652
+ is_deleted: boolean;
2653
+ order_status_updated_at: NativeDate;
2654
+ warehouse_id: string;
2655
+ order_settled_at: NativeDate;
2656
+ order_settled_at_mins: number;
2657
+ staff_details: {
2658
+ staff_id: string;
2659
+ staff_name: string;
2660
+ staff_mobile: string;
2661
+ staff_email: string;
2662
+ };
2663
+ vendor_name: string;
2664
+ vendor_id: import("mongoose").Types.ObjectId;
2665
+ cancel_reason?: string | null | undefined;
2666
+ delete_reason?: string | null | undefined;
2667
+ is_reopened?: boolean | null | undefined;
2668
+ deferred_settlement?: boolean | null | undefined;
2669
+ rfq_id?: import("mongoose").Types.ObjectId | null | undefined;
2670
+ is_gst_inclusive?: boolean | null | undefined;
2671
+ gst?: number | null | undefined;
2672
+ gst_amount?: number | null | undefined;
2673
+ }> & Required<{
2674
+ _id: import("mongoose").Types.ObjectId;
2675
+ }> & {
2676
+ __v: number;
2677
+ }>;
2678
+ export declare const WAREHOUSE_PURCHASE_ORDER_COLLECTION_NAME = "warehouse_purchase_orders";