@deepraxis/sdk 0.1.1-dev.2835e50 → 0.1.1-dev.2cec3b3
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/METHODS.md +53 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +105 -12
- package/dist/generated/sdk.gen.js +256 -11
- package/dist/generated/types.gen.d.ts +1360 -8
- package/dist/operations.generated.d.ts +474 -14
- package/dist/operations.generated.js +565 -14
- package/dist/resources.generated.d.ts +32 -0
- package/dist/resources.generated.js +34 -0
- package/package.json +1 -1
package/METHODS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SDK methods
|
|
2
2
|
|
|
3
|
-
Generated by `bun run generate`.
|
|
3
|
+
Generated by `bun run generate`. 545 HTTP operations, plus product aliases. Version segments and path parameters are omitted from resource names. Inputs use typed `{ path, query, body, headers }` options. Collections form nested resource objects; POST actions retain their verb. Naming rules are documented in `scripts/resources.ts`; semantic exceptions and aliases with reasons are in `scripts/naming-overrides.ts`.
|
|
4
4
|
|
|
5
5
|
`always` returns an AsyncIterable; `optional` streams with `{ stream: true }`; `yes` pagination returns a Page. Only `{ data, next_cursor }` + `cursor` query contracts are automatically paginated.
|
|
6
6
|
|
|
@@ -884,6 +884,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
884
884
|
| complete | POST | `/file/v1/uploads/{upload_id}/complete` | no | no |
|
|
885
885
|
| create | POST | `/file/v1/uploads` | no | no |
|
|
886
886
|
| createSigned | POST | `/file/v1/uploads/signed` | no | no |
|
|
887
|
+
| retrieve | GET | `/file/v1/uploads/{upload_id}` | no | no |
|
|
887
888
|
|
|
888
889
|
### file.uploads.parts
|
|
889
890
|
|
|
@@ -1250,6 +1251,57 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1250
1251
|
| retrieve | GET | `/model/v1/videos/{video_id}` | no | no |
|
|
1251
1252
|
| retrieveContent | GET | `/model/v1/videos/{video_id}/content` | no | no |
|
|
1252
1253
|
|
|
1254
|
+
## ontology
|
|
1255
|
+
|
|
1256
|
+
### ontology.changesets
|
|
1257
|
+
|
|
1258
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1259
|
+
|---|---|---|---|---|
|
|
1260
|
+
| create | POST | `/ontology/v1/changesets` | no | no |
|
|
1261
|
+
|
|
1262
|
+
### ontology.nodes
|
|
1263
|
+
|
|
1264
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1265
|
+
|---|---|---|---|---|
|
|
1266
|
+
| create | POST | `/ontology/v1/nodes` | no | no |
|
|
1267
|
+
| list | GET | `/ontology/v1/nodes` | no | yes |
|
|
1268
|
+
| retrieve | GET | `/ontology/v1/nodes/{node_id}` | no | no |
|
|
1269
|
+
| update | PATCH | `/ontology/v1/nodes/{node_id}` | no | no |
|
|
1270
|
+
|
|
1271
|
+
### ontology.nodes.merge
|
|
1272
|
+
|
|
1273
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1274
|
+
|---|---|---|---|---|
|
|
1275
|
+
| create | POST | `/ontology/v1/nodes/{node_id}/merge` | no | no |
|
|
1276
|
+
|
|
1277
|
+
### ontology.relations
|
|
1278
|
+
|
|
1279
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1280
|
+
|---|---|---|---|---|
|
|
1281
|
+
| create | POST | `/ontology/v1/relations` | no | no |
|
|
1282
|
+
| list | GET | `/ontology/v1/relations` | no | yes |
|
|
1283
|
+
| retrieve | GET | `/ontology/v1/relations/{relation_id}` | no | no |
|
|
1284
|
+
|
|
1285
|
+
### ontology.relations.invalidate
|
|
1286
|
+
|
|
1287
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1288
|
+
|---|---|---|---|---|
|
|
1289
|
+
| create | POST | `/ontology/v1/relations/{relation_id}/invalidate` | no | no |
|
|
1290
|
+
|
|
1291
|
+
### ontology.search
|
|
1292
|
+
|
|
1293
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1294
|
+
|---|---|---|---|---|
|
|
1295
|
+
| create | POST | `/ontology/v1/search` | no | no |
|
|
1296
|
+
|
|
1297
|
+
### ontology.types
|
|
1298
|
+
|
|
1299
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1300
|
+
|---|---|---|---|---|
|
|
1301
|
+
| create | POST | `/ontology/v1/types` | no | no |
|
|
1302
|
+
| list | GET | `/ontology/v1/types` | no | no |
|
|
1303
|
+
| retrieve | GET | `/ontology/v1/types/{name}` | no | no |
|
|
1304
|
+
|
|
1253
1305
|
## organization
|
|
1254
1306
|
|
|
1255
1307
|
### organization.charges
|