een-api-toolkit 0.3.47 → 0.3.49

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 (42) hide show
  1. package/.claude/agents/een-jobs-agent.md +676 -0
  2. package/CHANGELOG.md +7 -8
  3. package/dist/index.cjs +3 -3
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +1172 -28
  6. package/dist/index.js +796 -333
  7. package/dist/index.js.map +1 -1
  8. package/docs/AI-CONTEXT.md +22 -1
  9. package/docs/ai-reference/AI-AUTH.md +1 -1
  10. package/docs/ai-reference/AI-AUTOMATIONS.md +1 -1
  11. package/docs/ai-reference/AI-DEVICES.md +1 -1
  12. package/docs/ai-reference/AI-EVENTS.md +1 -1
  13. package/docs/ai-reference/AI-GROUPING.md +1 -1
  14. package/docs/ai-reference/AI-JOBS.md +1084 -0
  15. package/docs/ai-reference/AI-MEDIA.md +1 -1
  16. package/docs/ai-reference/AI-SETUP.md +1 -1
  17. package/docs/ai-reference/AI-USERS.md +1 -1
  18. package/examples/vue-jobs/.env.example +11 -0
  19. package/examples/vue-jobs/README.md +245 -0
  20. package/examples/vue-jobs/e2e/app.spec.ts +79 -0
  21. package/examples/vue-jobs/e2e/auth.spec.ts +382 -0
  22. package/examples/vue-jobs/e2e/delete-features.spec.ts +564 -0
  23. package/examples/vue-jobs/e2e/timelapse.spec.ts +361 -0
  24. package/examples/vue-jobs/index.html +13 -0
  25. package/examples/vue-jobs/package-lock.json +1722 -0
  26. package/examples/vue-jobs/package.json +28 -0
  27. package/examples/vue-jobs/playwright.config.ts +47 -0
  28. package/examples/vue-jobs/src/App.vue +154 -0
  29. package/examples/vue-jobs/src/main.ts +25 -0
  30. package/examples/vue-jobs/src/router/index.ts +82 -0
  31. package/examples/vue-jobs/src/views/Callback.vue +76 -0
  32. package/examples/vue-jobs/src/views/CreateExport.vue +284 -0
  33. package/examples/vue-jobs/src/views/Files.vue +424 -0
  34. package/examples/vue-jobs/src/views/Home.vue +195 -0
  35. package/examples/vue-jobs/src/views/JobDetail.vue +392 -0
  36. package/examples/vue-jobs/src/views/Jobs.vue +297 -0
  37. package/examples/vue-jobs/src/views/Login.vue +33 -0
  38. package/examples/vue-jobs/src/views/Logout.vue +59 -0
  39. package/examples/vue-jobs/src/vite-env.d.ts +1 -0
  40. package/examples/vue-jobs/tsconfig.json +25 -0
  41. package/examples/vue-jobs/vite.config.ts +12 -0
  42. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  # EEN API Toolkit - AI Reference
2
2
 
3
- > **Version:** 0.3.47
3
+ > **Version:** 0.3.49
4
4
  >
5
5
  > This documentation is optimized for AI assistants. It provides focused, domain-specific
6
6
  > references to help you understand and use the een-api-toolkit efficiently.
@@ -21,6 +21,7 @@
21
21
  | Live video, images, HLS playback | [AI-MEDIA.md](./ai-reference/AI-MEDIA.md) | ~4K |
22
22
  | Events, alerts, metrics, SSE | [AI-EVENTS.md](./ai-reference/AI-EVENTS.md) | ~3.5K |
23
23
  | Automation rules, alert actions | [AI-AUTOMATIONS.md](./ai-reference/AI-AUTOMATIONS.md) | ~4K |
24
+ | Jobs, exports, files, downloads | [AI-JOBS.md](./ai-reference/AI-JOBS.md) | ~3.5K |
24
25
 
25
26
  ## Specialized Agents
26
27
 
@@ -36,6 +37,7 @@ Specialized agents are available in `.claude/agents/` for domain-specific tasks:
36
37
  | `een-media-agent` | Live video, camera previews, HLS playback, recorded images |
37
38
  | `een-events-agent` | Events, alerts, metrics, real-time SSE subscriptions |
38
39
  | `een-automations-agent` | Automation rules, alert condition rules, alert actions |
40
+ | `een-jobs-agent` | Jobs, exports, files, downloads, video export workflows |
39
41
 
40
42
  **How to Use Agents:**
41
43
 
@@ -76,6 +78,7 @@ Then follow the context files and instructions specified within.
76
78
  | [vue-alerts-metrics](../examples/vue-alerts-metrics/) | Event metrics and alerts | `src/components/MetricsChart.vue` |
77
79
  | [vue-event-subscriptions](../examples/vue-event-subscriptions/) | Real-time SSE streaming | `src/views/LiveEvents.vue` |
78
80
  | [vue-automations](../examples/vue-automations/) | Automation rules listing | `src/views/Automations.vue` |
81
+ | [vue-jobs](../examples/vue-jobs/) | Jobs, exports, file downloads | `src/views/Jobs.vue` |
79
82
 
80
83
  ---
81
84
 
@@ -180,6 +183,24 @@ Then follow the context files and instructions specified within.
180
183
  | `listAlertActions(params?)` | List alert actions |
181
184
  | `getAlertAction(id)` | Get a specific alert action |
182
185
 
186
+ ### Exports & Jobs
187
+ | Function | Purpose |
188
+ |----------|---------|
189
+ | `createExportJob(params)` | Create video/timelapse export job |
190
+ | `listJobs(params?)` | List jobs with filtering |
191
+ | `getJob(jobId)` | Get a specific job |
192
+
193
+ ### Files & Downloads
194
+ | Function | Purpose |
195
+ |----------|---------|
196
+ | `listFiles(params?)` | List available files |
197
+ | `getFile(fileId)` | Get a specific file |
198
+ | `addFile(params)` | Add a new file |
199
+ | `downloadFile(fileId)` | Download file content |
200
+ | `listDownloads(params?)` | List available downloads |
201
+ | `getDownload(downloadId)` | Get a specific download |
202
+ | `downloadDownload(downloadId)` | Download from downloads endpoint |
203
+
183
204
  ### Utilities
184
205
  | Function | Purpose |
185
206
  |----------|---------|
@@ -1,6 +1,6 @@
1
1
  # Authentication - EEN API Toolkit
2
2
 
3
- > **Version:** 0.3.47
3
+ > **Version:** 0.3.49
4
4
  >
5
5
  > OAuth flow implementation, token management, and session handling.
6
6
  > Load this document when implementing login, logout, or auth guards.
@@ -1,6 +1,6 @@
1
1
  # Automations API - EEN API Toolkit
2
2
 
3
- > **Version:** 0.3.47
3
+ > **Version:** 0.3.49
4
4
  >
5
5
  > Complete reference for automation rules and alert actions.
6
6
  > Load this document when working with automated alert workflows.
@@ -1,6 +1,6 @@
1
1
  # Cameras & Bridges API - EEN API Toolkit
2
2
 
3
- > **Version:** 0.3.47
3
+ > **Version:** 0.3.49
4
4
  >
5
5
  > Complete reference for camera and bridge management.
6
6
  > Load this document when working with devices.
@@ -1,6 +1,6 @@
1
1
  # Events, Alerts & Real-Time Streaming - EEN API Toolkit
2
2
 
3
- > **Version:** 0.3.47
3
+ > **Version:** 0.3.49
4
4
  >
5
5
  > Complete reference for events, alerts, metrics, and SSE subscriptions.
6
6
  > Load this document when implementing event-driven features.
@@ -1,6 +1,6 @@
1
1
  # Layouts API - EEN API Toolkit
2
2
 
3
- > **Version:** 0.3.47
3
+ > **Version:** 0.3.49
4
4
  >
5
5
  > Complete reference for layout management (camera grouping).
6
6
  > Load this document when working with layouts.