@managesome/eposmatic-toolkit 0.2.638 → 0.2.639

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.
@@ -15423,7 +15423,7 @@ export declare const ORDERS_COLLECTION_NAME = "orders";
15423
15423
  * credit bills / credit-tab orders are indexed; every query using this hint
15424
15424
  * filters deferred_settlement: true and typically is_deleted: false).
15425
15425
  * Supports per-tenant credit-bill lookups newest first via created_at desc.
15426
- * - `source_tenant_id__is_deleted__createdAt`: PARTIAL index —
15426
+ * - `source_tenant_id__is_deleted__createdAt__tenant_id`: PARTIAL index —
15427
15427
  * create with `partialFilterExpression: { source_tenant_id: { $exists: true } }`
15428
15428
  * (source_tenant_id is an optional string). Supports per-source-tenant order
15429
15429
  * lookups filtered by is_deleted, newest first, scoped by tenant_id.
@@ -15432,10 +15432,11 @@ export declare const ORDERS_COLLECTION_INDEXES: {
15432
15432
  _id: {
15433
15433
  _id: number;
15434
15434
  };
15435
- source_tenant_id__is_deleted__createdAt: {
15435
+ source_tenant_id__is_deleted__createdAt__tenant_id: {
15436
15436
  source_tenant_id: number;
15437
15437
  is_deleted: number;
15438
15438
  createdAt: number;
15439
+ tenant_id: number;
15439
15440
  };
15440
15441
  tenant_id__deferred_settlement__is_deleted__createdAt: {
15441
15442
  tenant_id: number;
@@ -984,17 +984,18 @@ exports.ORDERS_COLLECTION_NAME = 'orders';
984
984
  * credit bills / credit-tab orders are indexed; every query using this hint
985
985
  * filters deferred_settlement: true and typically is_deleted: false).
986
986
  * Supports per-tenant credit-bill lookups newest first via created_at desc.
987
- * - `source_tenant_id__is_deleted__createdAt`: PARTIAL index —
987
+ * - `source_tenant_id__is_deleted__createdAt__tenant_id`: PARTIAL index —
988
988
  * create with `partialFilterExpression: { source_tenant_id: { $exists: true } }`
989
989
  * (source_tenant_id is an optional string). Supports per-source-tenant order
990
990
  * lookups filtered by is_deleted, newest first, scoped by tenant_id.
991
991
  */
992
992
  exports.ORDERS_COLLECTION_INDEXES = {
993
993
  _id: { _id: 1 }, // Unique Index
994
- source_tenant_id__is_deleted__createdAt: {
994
+ source_tenant_id__is_deleted__createdAt__tenant_id: {
995
995
  source_tenant_id: 1,
996
996
  is_deleted: 1,
997
997
  createdAt: -1,
998
+ tenant_id: 1,
998
999
  }, // partial index (partialFilterExpression: { source_tenant_id: { $exists: true } }) — per-source-tenant order lookups filtered by is_deleted, newest first, scoped by tenant_id
999
1000
  tenant_id__deferred_settlement__is_deleted__createdAt: {
1000
1001
  tenant_id: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.638",
3
+ "version": "0.2.639",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",