@deepraxis/sdk 0.1.1-dev.3c2e98e → 0.1.1-dev.3cf8882
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 +57 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +100 -7
- package/dist/generated/sdk.gen.js +248 -11
- package/dist/generated/types.gen.d.ts +1503 -222
- package/dist/operations.generated.js +383 -20
- package/dist/resources.generated.d.ts +108 -10
- package/dist/resources.generated.js +36 -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`. 797 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
|
|
|
@@ -80,6 +80,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
80
80
|
| send | POST | `/agent/v1/agents/{agent_id}/events` | no | no |
|
|
81
81
|
| stream | GET | `/agent/v1/agents/{agent_id}/events/stream` | always | no |
|
|
82
82
|
|
|
83
|
+
### agent.agents.inbox.letters
|
|
84
|
+
|
|
85
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
86
|
+
|---|---|---|---|---|
|
|
87
|
+
| list | GET | `/agent/v1/agents/{agent_id}/inbox/letters` | no | no |
|
|
88
|
+
|
|
83
89
|
### agent.agents.unarchive
|
|
84
90
|
|
|
85
91
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -191,6 +197,18 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
191
197
|
| retrieveContext | GET | `/agent/v1/sessions/{session_id}/context` | no | no |
|
|
192
198
|
| update | POST | `/agent/v1/sessions/{session_id}` | no | no |
|
|
193
199
|
|
|
200
|
+
### agent.sessions.artifacts
|
|
201
|
+
|
|
202
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
203
|
+
|---|---|---|---|---|
|
|
204
|
+
| list | GET | `/agent/v1/sessions/{session_id}/artifacts` | no | no |
|
|
205
|
+
|
|
206
|
+
### agent.sessions.artifacts.contentUrl
|
|
207
|
+
|
|
208
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
209
|
+
|---|---|---|---|---|
|
|
210
|
+
| create | POST | `/agent/v1/sessions/{session_id}/artifacts/{artifact_id}/content_url` | no | no |
|
|
211
|
+
|
|
194
212
|
### agent.sessions.backgroundTasks
|
|
195
213
|
|
|
196
214
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -213,6 +231,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
213
231
|
| send | POST | `/agent/v1/sessions/{session_id}/events` | no | no |
|
|
214
232
|
| stream | GET | `/agent/v1/sessions/{session_id}/events/stream` | always | no |
|
|
215
233
|
|
|
234
|
+
### agent.sessions.requests
|
|
235
|
+
|
|
236
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
237
|
+
|---|---|---|---|---|
|
|
238
|
+
| list | GET | `/agent/v1/sessions/{session_id}/requests` | no | no |
|
|
239
|
+
|
|
216
240
|
### agent.sessions.resources
|
|
217
241
|
|
|
218
242
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1004,6 +1028,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1004
1028
|
|---|---|---|---|---|
|
|
1005
1029
|
| create | POST | `/devops/v1/projects/{project}/flags` | no | no |
|
|
1006
1030
|
| list | GET | `/devops/v1/projects/{project}/flags` | no | no |
|
|
1031
|
+
| reportCodeRefs | POST | `/devops/v1/projects/{project}/flags/code-refs` | no | no |
|
|
1007
1032
|
|
|
1008
1033
|
### devops.projects.promotions
|
|
1009
1034
|
|
|
@@ -1345,6 +1370,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1345
1370
|
| retrieve | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
1346
1371
|
| update | PATCH | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
1347
1372
|
|
|
1373
|
+
### media.libraries.assets.align
|
|
1374
|
+
|
|
1375
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1376
|
+
|---|---|---|---|---|
|
|
1377
|
+
| create | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/align` | no | no |
|
|
1378
|
+
|
|
1348
1379
|
### media.libraries.assets.frames
|
|
1349
1380
|
|
|
1350
1381
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1556,6 +1587,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1556
1587
|
| countTokens | POST | `/model/v1/messages/count_tokens` | no | no |
|
|
1557
1588
|
| create | POST | `/model/v1/messages` | optional | no |
|
|
1558
1589
|
|
|
1590
|
+
### model.modelAccess
|
|
1591
|
+
|
|
1592
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1593
|
+
|---|---|---|---|---|
|
|
1594
|
+
| list | GET | `/model/v1/model-access` | no | no |
|
|
1595
|
+
|
|
1559
1596
|
### model.models
|
|
1560
1597
|
|
|
1561
1598
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1563,6 +1600,13 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1563
1600
|
| list | GET | `/model/v1/models` | no | no |
|
|
1564
1601
|
| retrieve | GET | `/model/v1/models/{model}` | no | no |
|
|
1565
1602
|
|
|
1603
|
+
### model.models.access
|
|
1604
|
+
|
|
1605
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1606
|
+
|---|---|---|---|---|
|
|
1607
|
+
| delete | DELETE | `/model/v1/models/{model}/access` | no | no |
|
|
1608
|
+
| update | PUT | `/model/v1/models/{model}/access` | no | no |
|
|
1609
|
+
|
|
1566
1610
|
### model.ocr
|
|
1567
1611
|
|
|
1568
1612
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2038,6 +2082,17 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2038
2082
|
|---|---|---|---|---|
|
|
2039
2083
|
| create | POST | `/search/v1/search` | no | no |
|
|
2040
2084
|
|
|
2085
|
+
## share
|
|
2086
|
+
|
|
2087
|
+
### share.permissions
|
|
2088
|
+
|
|
2089
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2090
|
+
|---|---|---|---|---|
|
|
2091
|
+
| create | POST | `/share/v1/permissions` | no | no |
|
|
2092
|
+
| delete | DELETE | `/share/v1/permissions/{id}` | no | no |
|
|
2093
|
+
| list | GET | `/share/v1/permissions` | no | no |
|
|
2094
|
+
| retrieve | GET | `/share/v1/permissions/{id}` | no | no |
|
|
2095
|
+
|
|
2041
2096
|
## studio
|
|
2042
2097
|
|
|
2043
2098
|
### studio.codexes
|
|
@@ -2455,6 +2510,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2455
2510
|
| crm.properties.create | CRM objectType selects a collection, not an entity; preserve list/create separately from retrieve/update on an identified resource. |
|
|
2456
2511
|
| crm.properties.archive | CRM DELETE archives the resource rather than permanently deleting it; expose the archive product verb. |
|
|
2457
2512
|
| database.databases.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
2513
|
+
| devops.projects.flags.reportCodeRefs | ADR-125 §4 / #1881: a checkout reports where code names each flag key, so the write is an operation on the project's flags (devops.flags.reportCodeRefs) and returns counts, not a code-refs resource; the path alone would derive a nested codeRefs collection create. |
|
|
2458
2514
|
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
2459
2515
|
| media.libraries.retrieveDefault | ADR-094 §9 names the default-library read libraries.retrieveDefault; the URL names a reference rather than an id, so the path-derived name would otherwise read as retrieving a library called default. |
|
|
2460
2516
|
| media.libraries.setDefault | ADR-094 §9 names the default-library write libraries.setDefault; the URL has no library id because the organization owns one default library, so the path alone cannot say which. |
|