@pouchy_ai/admin-sdk 0.4.2 → 0.4.3
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 +9 -0
- package/README.md +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@pouchy_ai/admin-sdk` are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.4.3 — 2026-07-17
|
|
6
|
+
|
|
7
|
+
- Packaging only: added the `default` export condition beside `import` in the
|
|
8
|
+
`exports` map — bundlers resolving with non-import condition sets no longer
|
|
9
|
+
fail on the bare `"."` entry. No runtime changes.
|
|
10
|
+
|
|
5
11
|
## 0.4.2 — 2026-07-16
|
|
6
12
|
|
|
7
13
|
The rest of the 0.4.1 drift class — four more response/input shapes that lied
|
|
@@ -27,6 +33,9 @@ about the live routes, caught by comparing every method against its
|
|
|
27
33
|
the closed object literal blocked fields the server accepts, so test-env /
|
|
28
34
|
secret-bearing connectors were unreachable through the typed method.
|
|
29
35
|
- **`getBilling().billing.periodEnd`** is `string | null` (always present).
|
|
36
|
+
- **`listVoices`** input gains `age?` and `CatalogVoice` carries `age` — the
|
|
37
|
+
server's `/v1/admin/voice-catalog` already filters and returns it (this bullet
|
|
38
|
+
was omitted from the original 0.4.2 notes; the types shipped correctly).
|
|
30
39
|
|
|
31
40
|
Also in this release: `GET /v1/admin/openapi` (the machine-readable spec this
|
|
32
41
|
SDK mirrors) was rewritten against the live routes — it still described the
|
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ try {
|
|
|
83
83
|
| Area | Methods |
|
|
84
84
|
| --- | --- |
|
|
85
85
|
| Agents | `listAgents` · `createAgent` · `getAgent` · `updateAgent` · `deleteAgent` |
|
|
86
|
-
| Voices | `listVoices({ gender?, locale? })` — catalog for programmatic voice selection |
|
|
86
|
+
| Voices | `listVoices({ gender?, age?, locale? })` — catalog for programmatic voice selection (each `CatalogVoice` carries `age`) |
|
|
87
87
|
| Secret keys | `listKeys` · `createKey` · `revokeKey` · `rotateKey` (24 h grace) |
|
|
88
88
|
| End users | `listUsers` · `setUserSuspended` · `deleteUser` · `getUserWallet` · `getUserTraces` · `importUsers` · `exportUser` · `getUserSessions` · `getUserTurns` |
|
|
89
89
|
| Knowledge | `listKnowledge` · `ingestKnowledge` · `deleteKnowledge` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pouchy_ai/admin-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Typed TypeScript client for the Pouchy Admin API — manage agents, keys, end users, knowledge, skills, channels, schedules, webhooks and credentials headlessly, with a project Admin key.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
16
16
|
"types": "./dist/index.d.ts",
|
|
17
|
-
"import": "./dist/index.js"
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"default": "./dist/index.js"
|
|
18
19
|
}
|
|
19
20
|
},
|
|
20
21
|
"main": "./dist/index.js",
|