@andesine/sdk 0.8.0 → 0.11.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/CHANGELOG.md +18 -0
- package/README.md +17 -951
- package/dist/{client-CyhWWH37.js → client-C_F2KykP.js} +11 -1
- package/dist/client-C_F2KykP.js.map +1 -0
- package/dist/{client-QR7crUNC.d.ts → client-D05pLeGK.d.ts} +33 -7
- package/dist/extensions.d.ts +1 -1
- package/dist/extensions.js +1 -1
- package/dist/{index-DcU5xEPe.d.ts → index-B5TxEKQ8.d.ts} +9 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/{schema-CMpGUItd.d.ts → schema-D-r9v91o.d.ts} +428 -233
- package/dist/streaming.d.ts +1 -1
- package/dist/webhooks.d.ts +1 -1
- package/dist/webhooks.js +991 -2237
- package/dist/webhooks.js.map +1 -1
- package/openapi.json +2465 -3736
- package/package.json +2 -2
- package/dist/client-CyhWWH37.js.map +0 -1
- package/dist/rolldown-runtime-EAsCxrDo.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.0
|
|
4
|
+
|
|
5
|
+
- The Ask AI methods state the current cost: 10 AI credits per answer.
|
|
6
|
+
- The bundled OpenAPI spec has an SDK code sample (`x-codeSamples`) for each operation with an
|
|
7
|
+
example, so API references built from it show an SDK tab.
|
|
8
|
+
|
|
9
|
+
## 0.9.0
|
|
10
|
+
|
|
11
|
+
- `schemas.updateDraft` replaces the fields of a schema draft; people editing the draft see the
|
|
12
|
+
change live. It takes the draft hash from `schemas.get` and fails if the draft changed since.
|
|
13
|
+
- `schemas.apply` takes an optional `definition` to apply in place of the draft; the draft is
|
|
14
|
+
replaced only if the apply succeeds.
|
|
15
|
+
- Workspaces have `exampleCollectionID`, the collection with the example content.
|
|
16
|
+
- **Breaking:** `publishing.revertChanges` requires the `entries` permission in addition to
|
|
17
|
+
`read:publishing`; a read-only key can no longer revert drafts.
|
|
18
|
+
- The README describes Pro usage as a pool shared across the workspace: each seat adds 150,000
|
|
19
|
+
API calls and 15,000 AI credits. An AI answer uses 10 credits.
|
|
20
|
+
|
|
3
21
|
## 0.8.0
|
|
4
22
|
|
|
5
23
|
- `collections.get` returns one collection by `collectionID`, `collectionPath`, or
|