@dual-os/elevenlabs-api 0.0.0-stage → 3.0.4
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/LICENSE +4 -0
- package/README.md +24 -2
- package/Runner.js +5537 -0
- package/Runner.js.map +59 -0
- package/bundle-inventory.json +1 -0
- package/dist/_virtual/_rolldown/runtime.js +10 -0
- package/dist/_virtual/_rolldown/runtime.js.map +9 -0
- package/dist/auth.d.ts +21 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +17 -0
- package/dist/auth.js.map +9 -0
- package/dist/generated/http.d.ts +81 -0
- package/dist/generated/http.d.ts.map +1 -0
- package/dist/generated/http.js +64 -0
- package/dist/generated/http.js.map +9 -0
- package/dist/generated/operations.d.ts +13961 -0
- package/dist/generated/operations.d.ts.map +1 -0
- package/dist/generated/operations.js +3602 -0
- package/dist/generated/operations.js.map +9 -0
- package/dist/generated/plugin.d.ts +1723 -0
- package/dist/generated/plugin.d.ts.map +1 -0
- package/dist/generated/plugin.js +2683 -0
- package/dist/generated/plugin.js.map +10 -0
- package/dist/triggers.d.ts +124 -0
- package/dist/triggers.d.ts.map +1 -0
- package/dist/triggers.js +17 -0
- package/dist/triggers.js.map +9 -0
- package/dual-plugin.json +1 -0
- package/licenses/@dual-os_sdk@0.9.0/LICENSE +4 -0
- package/licenses/@effect_platform-node-shared@4.1.2/LICENSE +21 -0
- package/licenses/@effect_platform-node@4.1.2/LICENSE +21 -0
- package/licenses/effect@4.1.2/LICENSE +21 -0
- package/package.json +1 -6
- package/plugin-2jdfj02n.js +18 -0
- package/plugin-2jdfj02n.js.map +10 -0
- package/plugin-3mqs2t8k.js +1294 -0
- package/plugin-3mqs2t8k.js.map +18 -0
- package/plugin-4r725dtm.js +19148 -0
- package/plugin-4r725dtm.js.map +158 -0
- package/plugin-cgmzkbrx.js +62 -0
- package/plugin-cgmzkbrx.js.map +10 -0
- package/plugin-dmkfjk3p.js +16763 -0
- package/plugin-dmkfjk3p.js.map +10 -0
- package/plugin-mmevetrv.js +226 -0
- package/plugin-mmevetrv.js.map +10 -0
- package/plugin.json +47 -0
package/LICENSE
ADDED
package/README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ElevenLabs contract maintenance
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
`plugin.json` generates the actions from `openapi.json`, a snapshot of ElevenLabs'
|
|
4
|
+
published OpenAPI document; `sourceUrl` records its upstream location. The
|
|
5
|
+
overlay declares the API host and the `xi-api-key` header as the security scheme,
|
|
6
|
+
replacing the optional header parameter the source repeats on every operation.
|
|
7
|
+
API key, service account key, single-use token, client session token and
|
|
8
|
+
workspace auth connection management are excluded, as are streaming variants of
|
|
9
|
+
endpoints that also return the whole result. Released package artifacts are immutable.
|
|
10
|
+
|
|
11
|
+
Regenerate from the repository root with installed workspace dependencies:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
dual openapi-plugin plugins/elevenlabs-api
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Refresh the snapshot only deliberately, by downloading `sourceUrl` into
|
|
18
|
+
`openapi.json`, then review the reported action changes before bumping the package version.
|
|
19
|
+
|
|
20
|
+
`src/auth.ts` sends the API key as `xi-api-key` and routes calls to the global API
|
|
21
|
+
or to the connection's data residency host. `src/triggers.ts` owns the triggers:
|
|
22
|
+
the webhook trigger creates an HMAC workspace webhook, keeps the secret returned at
|
|
23
|
+
creation and verifies the `ElevenLabs-Signature` header, `t=<seconds>,v0=<hex
|
|
24
|
+
HMAC-SHA256 of "<seconds>.<body>">`; the polling trigger pages ended conversations
|
|
25
|
+
that started within its lookback window.
|