@managesome/eposmatic-toolkit 0.2.627 → 0.2.628
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.
|
@@ -15434,4 +15434,10 @@ export declare const ORDERS_COLLECTION_INDEXES: {
|
|
|
15434
15434
|
is_deleted: number;
|
|
15435
15435
|
createdAt: number;
|
|
15436
15436
|
};
|
|
15437
|
+
tenant_id__localDate__createdAt__is_unpaid: {
|
|
15438
|
+
tenant_id: number;
|
|
15439
|
+
localDate: number;
|
|
15440
|
+
createdAt: number;
|
|
15441
|
+
is_unpaid: number;
|
|
15442
|
+
};
|
|
15437
15443
|
};
|
|
@@ -993,4 +993,10 @@ exports.ORDERS_COLLECTION_INDEXES = {
|
|
|
993
993
|
is_deleted: 1,
|
|
994
994
|
createdAt: -1,
|
|
995
995
|
}, // partial index (partialFilterExpression: { deferred_settlement: true }) — active open bills per tenant, newest first
|
|
996
|
+
tenant_id__localDate__createdAt__is_unpaid: {
|
|
997
|
+
tenant_id: 1,
|
|
998
|
+
localDate: 1,
|
|
999
|
+
createdAt: -1,
|
|
1000
|
+
is_unpaid: 1,
|
|
1001
|
+
}, // partial index (partialFilterExpression: { localDate: { $exists: true } }) — per-tenant local-date order lookups, newest first; is_unpaid is non-prefix so queries omitting it can still use the index
|
|
996
1002
|
};
|