@davixlabs/h2i-sdk 1.1.0 → 1.2.0

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/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@davixlabs/h2i-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Official Node.js SDK for the Davix H2I API. Typed methods, machine-readable metadata (enums, minimum/maximum, defaults), structured errors and a safe generic request() -- all generated from the canonical Davix H2I contract.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
- "license": "UNLICENSED",
7
+ "license": "SEE LICENSE IN LICENSE",
8
8
  "private": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/Davixlabs/davix-h2i-app.git",
11
+ "url": "git+https://github.com/Davixlabs/Davix-H2I-App.git",
12
12
  "directory": "sdk/node"
13
13
  },
14
14
  "publishConfig": {
@@ -19,6 +19,7 @@
19
19
  "node": ">=18"
20
20
  },
21
21
  "files": [
22
+ "LICENSE",
22
23
  "index.js",
23
24
  "index.d.ts",
24
25
  "src",
@@ -218,6 +218,8 @@ const ENDPOINTS = [
218
218
  [ "documents.text-diff", [ "documents" ], "textDiff" ],
219
219
  [ "documents.web-to-markdown", [ "documents" ], "webToMarkdown" ],
220
220
  [ "documents.word-count", [ "documents" ], "wordCount" ],
221
+ [ "email.preferences", [ "email" ], "getPreferences" ],
222
+ [ "email.preferences.put", [ "email" ], "updatePreferences" ],
221
223
  [ "files", [ "files" ], "list" ],
222
224
  [ "files.{id}", [ "files" ], "get" ],
223
225
  [ "files.{id}.delete", [ "files" ], "delete" ],
@@ -375,6 +377,7 @@ const ENDPOINTS = [
375
377
  [ "render.timeline", [ "render" ], "timeline" ],
376
378
  [ "render.visual-check", [ "render" ], "visualCheck" ],
377
379
  [ "render.word-cloud", [ "render" ], "wordCloud" ],
380
+ [ "reports", [ "reports" ], "create" ],
378
381
  [ "subscription", [ "subscription" ], "get" ],
379
382
  [ "templates", [ "templates" ], "list" ],
380
383
  [ "templates.{id}", [ "templates" ], "get" ],
@@ -384,6 +387,7 @@ const ENDPOINTS = [
384
387
  [ "templates.post", [ "templates" ], "create" ],
385
388
  [ "templates.upload", [ "templates" ], "upload" ],
386
389
  [ "usage", [ "usage" ], "get" ],
390
+ [ "usage.activity", [ "usage" ], "activity" ],
387
391
  [ "usage.breakdown", [ "usage" ], "breakdown" ],
388
392
  [ "usage.calls", [ "usage" ], "calls" ]
389
393
  ];