@happyvertical/smrt-inventory 0.40.21 → 0.40.23

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.
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-07-25T19:44:25.016Z",
3
+ "generatedAt": "2026-07-26T00:56:58.562Z",
4
4
  "packageName": "@happyvertical/smrt-inventory",
5
- "packageVersion": "0.40.21",
5
+ "packageVersion": "0.40.23",
6
6
  "sourceManifestPath": "dist/manifest.json",
7
7
  "agentDocPath": "AGENTS.md",
8
8
  "sourceHashes": {
9
- "manifest": "d6aa6777a3405c4a3bb6cd51e3ae7aea0c2fbd5bcd0eb8a453e704648c89e242",
10
- "packageJson": "c9dac7f060d5a384d9725c5385c8a9b04c302c3446eb3ffe6788e0d5390cdecf",
9
+ "manifest": "5812015782e368b3b57fdb561cd875d5ae7a18ad61b1993b3a03126def9dc32f",
10
+ "packageJson": "8aaf62657107f24ac03d3ff07017b48ee8d0f2a043aa891122cb0976a501dc71",
11
11
  "agents": "a771bf16d21cabbe43a77d5cb87ca7dedbf2e68d1928cf804cf4fefaad7a765f"
12
12
  },
13
13
  "exports": [
@@ -38,73 +38,6 @@
38
38
  "tags": [],
39
39
  "risks": [],
40
40
  "objects": [
41
- {
42
- "name": "InventoryLocationCollection",
43
- "qualifiedName": "@happyvertical/smrt-inventory:InventoryLocationCollection",
44
- "collection": "inventorylocations",
45
- "tableName": "inventory_locations",
46
- "packageName": "@happyvertical/smrt-inventory",
47
- "extends": "SmrtCollection",
48
- "fields": [],
49
- "relationships": [],
50
- "methods": [
51
- "findActive",
52
- "findByCode",
53
- "findByKind",
54
- "findByPlace"
55
- ],
56
- "surfaces": [],
57
- "relationshipFeatures": [
58
- "uuidColumns"
59
- ],
60
- "tags": [],
61
- "risks": []
62
- },
63
- {
64
- "name": "StockLevelCollection",
65
- "qualifiedName": "@happyvertical/smrt-inventory:StockLevelCollection",
66
- "collection": "stocklevels",
67
- "tableName": "inventory_stock_levels",
68
- "packageName": "@happyvertical/smrt-inventory",
69
- "extends": "SmrtCollection",
70
- "fields": [],
71
- "relationships": [],
72
- "methods": [
73
- "findByLocation",
74
- "findBySku",
75
- "getLevel",
76
- "totalForLocation",
77
- "totalForSku"
78
- ],
79
- "surfaces": [],
80
- "relationshipFeatures": [
81
- "uuidColumns"
82
- ],
83
- "tags": [],
84
- "risks": []
85
- },
86
- {
87
- "name": "StockMovementCollection",
88
- "qualifiedName": "@happyvertical/smrt-inventory:StockMovementCollection",
89
- "collection": "stockmovements",
90
- "tableName": "inventory_stock_movements",
91
- "packageName": "@happyvertical/smrt-inventory",
92
- "extends": "SmrtCollection",
93
- "fields": [],
94
- "relationships": [],
95
- "methods": [
96
- "findByLocation",
97
- "findByReason",
98
- "findBySku",
99
- "findBySource"
100
- ],
101
- "surfaces": [],
102
- "relationshipFeatures": [
103
- "uuidColumns"
104
- ],
105
- "tags": [],
106
- "risks": []
107
- },
108
41
  {
109
42
  "name": "InventoryLocation",
110
43
  "qualifiedName": "@happyvertical/smrt-inventory:InventoryLocation",
@@ -447,6 +380,73 @@
447
380
  ],
448
381
  "tags": [],
449
382
  "risks": []
383
+ },
384
+ {
385
+ "name": "InventoryLocationCollection",
386
+ "qualifiedName": "@happyvertical/smrt-inventory:InventoryLocationCollection",
387
+ "collection": "inventorylocations",
388
+ "tableName": "inventory_locations",
389
+ "packageName": "@happyvertical/smrt-inventory",
390
+ "extends": "SmrtCollection",
391
+ "fields": [],
392
+ "relationships": [],
393
+ "methods": [
394
+ "findActive",
395
+ "findByCode",
396
+ "findByKind",
397
+ "findByPlace"
398
+ ],
399
+ "surfaces": [],
400
+ "relationshipFeatures": [
401
+ "uuidColumns"
402
+ ],
403
+ "tags": [],
404
+ "risks": []
405
+ },
406
+ {
407
+ "name": "StockLevelCollection",
408
+ "qualifiedName": "@happyvertical/smrt-inventory:StockLevelCollection",
409
+ "collection": "stocklevels",
410
+ "tableName": "inventory_stock_levels",
411
+ "packageName": "@happyvertical/smrt-inventory",
412
+ "extends": "SmrtCollection",
413
+ "fields": [],
414
+ "relationships": [],
415
+ "methods": [
416
+ "findByLocation",
417
+ "findBySku",
418
+ "getLevel",
419
+ "totalForLocation",
420
+ "totalForSku"
421
+ ],
422
+ "surfaces": [],
423
+ "relationshipFeatures": [
424
+ "uuidColumns"
425
+ ],
426
+ "tags": [],
427
+ "risks": []
428
+ },
429
+ {
430
+ "name": "StockMovementCollection",
431
+ "qualifiedName": "@happyvertical/smrt-inventory:StockMovementCollection",
432
+ "collection": "stockmovements",
433
+ "tableName": "inventory_stock_movements",
434
+ "packageName": "@happyvertical/smrt-inventory",
435
+ "extends": "SmrtCollection",
436
+ "fields": [],
437
+ "relationships": [],
438
+ "methods": [
439
+ "findByLocation",
440
+ "findByReason",
441
+ "findBySku",
442
+ "findBySource"
443
+ ],
444
+ "surfaces": [],
445
+ "relationshipFeatures": [
446
+ "uuidColumns"
447
+ ],
448
+ "tags": [],
449
+ "risks": []
450
450
  }
451
451
  ],
452
452
  "surfaces": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-inventory",
3
- "version": "0.40.21",
3
+ "version": "0.40.23",
4
4
  "description": "Multi-location stock tracking for the SMRT framework — Sku, InventoryLocation, StockLevel, StockMovement, and a stock-mutation service",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -21,15 +21,15 @@
21
21
  "dependencies": {
22
22
  "@happyvertical/logger": "^0.80.2",
23
23
  "@happyvertical/sql": "^0.80.2",
24
- "@happyvertical/smrt-core": "0.40.21",
25
- "@happyvertical/smrt-tenancy": "0.40.21"
24
+ "@happyvertical/smrt-core": "0.40.23",
25
+ "@happyvertical/smrt-tenancy": "0.40.23"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "24.13.2",
29
29
  "typescript": "5.9.3",
30
30
  "vite": "8.1.4",
31
31
  "vitest": "4.1.10",
32
- "@happyvertical/smrt-vitest": "0.40.21"
32
+ "@happyvertical/smrt-vitest": "0.40.23"
33
33
  },
34
34
  "keywords": [
35
35
  "smrt",