een-api-toolkit 0.3.97 → 0.3.103

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.
package/CHANGELOG.md CHANGED
@@ -2,92 +2,154 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [0.3.97] - 2026-02-22
5
+ ## [0.3.103] - 2026-02-26
6
6
 
7
7
  ### Release Summary
8
8
 
9
- #### PR #128: Release v0.3.89: PTZ camera control API and vue-ptz example
9
+ #### PR #134: release: v0.3.101 - multi-move-type PTZ support
10
10
  ## Summary
11
+ - Add move type dropdown (Position / Direction / Center On) to the PositionInput panel in `examples/vue-ptz`
12
+ - Dynamic input fields per move type with proper validation
13
+ - Replace auto-updating x/y/z with explicit "Import Current Position" button
14
+ - Refactored `apply()` with `buildMove()` extraction for cleaner code
15
+ - `try/finally` for defensive state reset, null-safe optional chaining
11
16
 
12
- This release adds PTZ (Pan/Tilt/Zoom) camera control support to the toolkit:
17
+ ## Version
18
+ `0.3.101`
19
+
20
+ ## Commits
21
+ - `2a4aac8f` feat: add multi-move-type support to vue-ptz PositionInput
22
+ - `f125139c` fix: address code review findings for PositionInput
23
+ - `addcc0ec` fix: wrap movePtz calls in try/finally to always reset applying state
24
+ - `a1365f24` fix: address remaining review findings for PositionInput
25
+
26
+ ## Local test results
27
+ - Lint: passed (0 errors, 1 pre-existing warning)
28
+ - Unit tests: 684/684 passed
29
+ - Build: success
30
+ - E2E tests: 12/12 example apps passed
31
+ - Security review: no issues found
32
+ - Docs confidential data scan: clean (274 .md files scanned)
33
+
34
+ ## Test plan
35
+ - [ ] Select "Position" move type — verify x/y/z inputs, Import Current Position button
36
+ - [ ] Select "Direction" move type — verify checkboxes + step size, Apply sends direction move
37
+ - [ ] Select "Center On" move type — verify rX/rY inputs, Apply sends centerOn move
38
+ - [ ] Verify x/y/z fields do NOT auto-update when position refreshes
13
39
 
14
- - **PTZ API functions**: `getPtzPosition()`, `movePtz()`, `getPtzSettings()`, `updatePtzSettings()` with full TypeScript types
15
- - **PTZ types**: `PtzPosition`, `PtzMove` (discriminated union: position/direction/centerOn), `PtzSettings`, `PtzPreset`, `PtzSettingsUpdate`
16
- - **vue-ptz example app**: Complete PTZ control application with live video, direction pad, click-to-center, position display, preset management, and API call logging
17
- - **Camera capabilities**: Added `capabilities` field to `Camera` type for PTZ detection via `include: ['capabilities']`
18
- - **Documentation**: AI-PTZ.md reference doc, een-ptz-agent, updated AI-CONTEXT.md and CLAUDE.md
19
- - **E2E tests**: Conditional PTZ API tests that exercise position read, direction move, and preset loading when a PTZ camera is available
40
+ 🤖 Generated with [Claude Code](https://claude.com/claude-code)
20
41
 
21
- ### Additional changes
22
- - Dependabot: CodeQL action bump to 4.32.3
23
- - CI: Use floating v1 tag for claude-code-action instead of SHA pin
42
+ #### PR #135: chore: bump 11 dev dependencies (v0.3.101)
43
+ ## Summary
44
+ Dependabot bump of 11 dev dependencies (all minor/patch versions). Only `package-lock.json` changed — no source code, configuration, or documentation modified.
45
+
46
+ | Package | From | To |
47
+ |---|---|---|
48
+ | `@eslint/js` | 9.39.2 | 9.39.3 |
49
+ | `@types/node` | 25.2.3 | 25.3.0 |
50
+ | `@typescript-eslint/eslint-plugin` | 8.55.0 | 8.56.0 |
51
+ | `@typescript-eslint/parser` | 8.55.0 | 8.56.0 |
52
+ | `dotenv` | 17.2.4 | 17.3.1 |
53
+ | `eslint` | 9.39.2 | 9.39.3 |
54
+ | `eslint-plugin-vue` | 10.7.0 | 10.8.0 |
55
+ | `jsdom` | 28.0.0 | 28.1.0 |
56
+ | `typedoc` | 0.28.16 | 0.28.17 |
57
+ | `vue-eslint-parser` | 10.2.0 | 10.4.0 |
58
+ | `vue-tsc` | 3.2.4 | 3.2.5 |
59
+
60
+ ## Version
61
+ `0.3.101`
24
62
 
25
63
  ## Commits
64
+ - `237e9886` chore(deps-dev): bump the npm-dependencies group with 11 updates
26
65
 
27
- - `c552fd0` feat: add PTZ camera control API and vue-ptz example app
28
- - `6a12649` fix: use single getCameras call with include and pagination for PTZ discovery
29
- - `2b04b26` fix: address review findings in vue-ptz example app
30
- - `92a18e4` fix: address remaining review findings
31
- - `4d01c2c` fix: use floating v1 tag for claude-code-action instead of SHA pin
32
- - `3f197ba` chore(deps): bump github/codeql-action from 4.32.2 to 4.32.3
66
+ ## Local test results
67
+ - Lint: passed (0 errors, 1 pre-existing warning)
68
+ - Unit tests: 684/684 passed
69
+ - Build: success
70
+ - E2E tests: 12/12 example apps passed (run on identical code in dependabot branch)
33
71
 
34
- ## Test Results
72
+ ## Test plan
73
+ - [ ] Verify all CI checks pass (no runtime impact expected from dev dependency updates)
74
+
75
+ 🤖 Generated with [Claude Code](https://claude.com/claude-code)
35
76
 
36
- | Check | Result |
37
- |-------|--------|
38
- | Lint | Pass (0 errors) |
39
- | Unit tests | 681 passed (24 suites) |
40
- | Build | Pass |
41
- | E2E (12 apps) | All passed |
42
- | Security review | No vulnerabilities found |
43
- | Confidential data scan | Clean |
77
+ #### PR #136: Bump github/codeql-action from 4.32.3 to 4.32.4
78
+ ## Summary
79
+ - Bumps `github/codeql-action` SHA pins from v4.32.3 to v4.32.4 in `.github/workflows/codeql.yml`
80
+ - Dependabot-originated update merged via develop
44
81
 
45
- **Version**: 0.3.89
82
+ ## Details
83
+ - **Version**: v0.3.101
84
+ - **Commits**:
85
+ - `b3ddb541` chore(deps): bump github/codeql-action from 4.32.3 to 4.32.4
86
+ - `cd3c541f` Merge pull request #131
87
+
88
+ ## Test Results
89
+ - Lint: passed (0 errors, 1 pre-existing warning)
90
+ - Unit tests: 684/684 passed
91
+ - Build: passed
92
+ - E2E: 12/12 example apps passed locally
93
+ - Security: no concerns (SHA pin update only)
94
+ - Docs: no .md files changed
46
95
 
47
96
  🤖 Generated with [Claude Code](https://claude.com/claude-code)
48
97
 
49
- #### PR #130: Release v0.3.96: PTZ fisheye exclusion and API coverage docs
98
+ #### PR #138: Release v0.3.103: New data schemas, access activation event, alert schemas
50
99
  ## Summary
51
- - Add fisheye camera exclusion to PTZ type definitions, agent docs, AI reference docs, and vue-ptz example
52
- - Add PTZ sub-capability fields (`fisheye`, `panTilt`, `zoom`, `positionMove`, `directionMove`, `centerOnMove`) to `Camera.capabilities.ptz` type
53
- - Regenerate API coverage docs with full-width layout and scrollbar fix
54
100
 
55
- ## Version
56
- v0.3.96
101
+ Release of new event data schemas and event type from the latest EEN API v3.0 specification updates.
57
102
 
58
- ## Commits
59
- - `1d9da62` docs: regenerate API coverage docs with full-width layout and scrollbar fix
60
- - `044c9ae` docs: add fisheye camera exclusion guidance to PTZ agent
61
- - `f65ff2e` fix: add PTZ sub-capability fields to Camera type and update docs
62
- - `6ecf253` fix: address review findings for PTZ fisheye guidance
63
- - `97cf632` fix: exclude fisheye cameras from PTZ selector in vue-ptz example
103
+ ### Changes
104
+
105
+ - **13 new `DataSchema` entries**: `bestImageUrl`, `trajectory`, `vspVisitDetails`, `credentialAccessActivation`, `userAccessActivation`, `deviceStatusUpdate`, `countData`, `creatorDetails`, and 6 alert-related schemas (`alertConditionRuleInfo`, `alertInfo`, `gunDetectionAlertInfo`, `lprRuleCountAggrAlertInfo`, `lprRuleWatchAlertInfo`, `smartAlertObjectCountAlertInfo`)
106
+ - **1 new `KnownEventType`**: `een.accessActivationEvent.v1` (access control point events, used by Brivo integration)
107
+ - **1 new event-to-schema mapping**: `accessActivationEvent` `[credentialAccessActivation, creatorDetails, userAccessActivation]`
108
+ - JSDoc clarification that unmapped DataSchemas may appear in API responses
109
+ - Auto-regenerated AI documentation (77 schemas, 67 event types)
110
+
111
+ ### Commits
112
+
113
+ - `2cb58b6d` Add new data schemas, event type, and alert schemas from API spec updates
114
+ - `855a1c0a` Address review feedback: sort schemas, clarify unmapped entries, fix doc order
115
+
116
+ **Version**: 0.3.103
64
117
 
65
118
  ## Test Results
66
- - Lint: passed (1 pre-existing warning)
67
- - Unit tests: 683/683 passed
68
- - Build: passed
69
- - E2E: 12/12 example apps passed
70
- - Security: no vulnerabilities (type/docs changes only)
71
- - Confidential data scan: clean across 280 changed .md files
119
+
120
+ | Suite | Passed | Skipped | Failed |
121
+ |-------|--------|---------|--------|
122
+ | Lint | 0 errors | - | - |
123
+ | Unit tests (Vitest) | 684 | 0 | 0 |
124
+ | Build | Success | - | - |
125
+ | Examples E2E (12 apps) | 234+ | 0 | 0 |
126
+
127
+ One transient auth timeout in `vue-jobs` timelapse test passed on immediate re-run — unrelated to changes.
128
+
129
+ ## Security Review
130
+
131
+ No security issues. Changes are purely additive TypeScript string literal types and static mappings — no credential handling, no user input, no runtime behavior changes.
132
+
133
+ ## Confidential Data Scan
134
+
135
+ No secrets, credentials, internal hostnames, or PII found in changed documentation.
72
136
 
73
137
  🤖 Generated with [Claude Code](https://claude.com/claude-code)
74
138
 
75
139
 
76
140
  ### Detailed Changes
77
141
 
78
- #### Bug Fixes
79
- - fix: fix sorting bug in coverage table and add undefined fisheye test
80
- - fix: exclude fisheye cameras from PTZ selector in vue-ptz example
81
- - fix: address review findings for PTZ fisheye guidance
82
- - fix: add PTZ sub-capability fields to Camera type and update docs
142
+ #### Features
143
+ - Address review feedback: sort schemas, clarify unmapped entries, fix doc order
144
+ - Add new data schemas, event type, and alert schemas from API spec updates
83
145
 
84
146
  #### Other Changes
85
- - docs: add fisheye camera exclusion guidance to PTZ agent
86
- - docs: regenerate API coverage docs with full-width layout and scrollbar fix
147
+ - chore(deps-dev): bump the npm-dependencies group with 11 updates
148
+ - chore(deps): bump github/codeql-action from 4.32.3 to 4.32.4
87
149
 
88
150
  ### Links
89
151
  - [npm package](https://www.npmjs.com/package/een-api-toolkit)
90
- - [Full Changelog](https://github.com/klaushofrichter/een-api-toolkit/compare/v0.3.91...v0.3.97)
152
+ - [Full Changelog](https://github.com/klaushofrichter/een-api-toolkit/compare/v0.3.101...v0.3.103)
91
153
 
92
154
  ---
93
- *Released: 2026-02-22 19:53:20 CST*
155
+ *Released: 2026-02-26 14:49:23 CST*