@deepraxis/sdk 0.1.1-dev.5fa7088 → 0.1.1-dev.604ca9a
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 +111 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +210 -15
- package/dist/generated/sdk.gen.js +511 -14
- package/dist/generated/types.gen.d.ts +2644 -74
- package/dist/operations.generated.js +1019 -77
- package/dist/resources.generated.d.ts +129 -8
- package/dist/resources.generated.js +72 -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`. 817 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,12 +1370,25 @@ 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 |
|
|
1351
1382
|
|---|---|---|---|---|
|
|
1352
1383
|
| create | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/frames` | no | no |
|
|
1353
1384
|
|
|
1385
|
+
### media.libraries.assets.hls
|
|
1386
|
+
|
|
1387
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1388
|
+
|---|---|---|---|---|
|
|
1389
|
+
| create | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/hls` | no | no |
|
|
1390
|
+
| list | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}/hls` | no | no |
|
|
1391
|
+
|
|
1354
1392
|
### media.libraries.assets.import
|
|
1355
1393
|
|
|
1356
1394
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1896,6 +1934,66 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1896
1934
|
|---|---|---|---|---|
|
|
1897
1935
|
| list | GET | `/organization/v1/usage` | no | no |
|
|
1898
1936
|
|
|
1937
|
+
## registry
|
|
1938
|
+
|
|
1939
|
+
### registry.installations
|
|
1940
|
+
|
|
1941
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1942
|
+
|---|---|---|---|---|
|
|
1943
|
+
| delete | DELETE | `/registry/v1/installations/{installation_id}` | no | no |
|
|
1944
|
+
| update | POST | `/registry/v1/installations/{installation_id}:update` | no | no |
|
|
1945
|
+
|
|
1946
|
+
### registry.packages
|
|
1947
|
+
|
|
1948
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1949
|
+
|---|---|---|---|---|
|
|
1950
|
+
| retrieve | GET | `/registry/v1/packages/{package_id}` | no | no |
|
|
1951
|
+
|
|
1952
|
+
### registry.packages.installations
|
|
1953
|
+
|
|
1954
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1955
|
+
|---|---|---|---|---|
|
|
1956
|
+
| create | POST | `/registry/v1/packages/{package_id}/installations` | no | no |
|
|
1957
|
+
| list | GET | `/registry/v1/packages/{package_id}/installations` | no | no |
|
|
1958
|
+
|
|
1959
|
+
### registry.packages.versions
|
|
1960
|
+
|
|
1961
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1962
|
+
|---|---|---|---|---|
|
|
1963
|
+
| create | POST | `/registry/v1/packages/{package_id}/versions` | no | no |
|
|
1964
|
+
| list | GET | `/registry/v1/packages/{package_id}/versions` | no | yes |
|
|
1965
|
+
| retrieveArchive | GET | `/registry/v1/packages/{package_id}/versions/{version}/archive` | no | no |
|
|
1966
|
+
| withdraw | POST | `/registry/v1/packages/{package_id}/versions/{version}:withdraw` | no | no |
|
|
1967
|
+
|
|
1968
|
+
### registry.packages.versions.contents
|
|
1969
|
+
|
|
1970
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1971
|
+
|---|---|---|---|---|
|
|
1972
|
+
| list | GET | `/registry/v1/packages/{package_id}/versions/{version}/contents` | no | no |
|
|
1973
|
+
|
|
1974
|
+
### registry.packages.versions.files
|
|
1975
|
+
|
|
1976
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1977
|
+
|---|---|---|---|---|
|
|
1978
|
+
| retrieve | GET | `/registry/v1/packages/{package_id}/versions/{version}/files/{path}` | no | no |
|
|
1979
|
+
|
|
1980
|
+
### registry.repositories
|
|
1981
|
+
|
|
1982
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1983
|
+
|---|---|---|---|---|
|
|
1984
|
+
| create | POST | `/registry/v1/repositories` | no | no |
|
|
1985
|
+
| delete | DELETE | `/registry/v1/repositories/{repository_id}` | no | no |
|
|
1986
|
+
| list | GET | `/registry/v1/repositories` | no | yes |
|
|
1987
|
+
| retrieve | GET | `/registry/v1/repositories/{repository_id}` | no | no |
|
|
1988
|
+
| update | PATCH | `/registry/v1/repositories/{repository_id}` | no | no |
|
|
1989
|
+
|
|
1990
|
+
### registry.repositories.packages
|
|
1991
|
+
|
|
1992
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1993
|
+
|---|---|---|---|---|
|
|
1994
|
+
| create | POST | `/registry/v1/repositories/{repository_id}/packages` | no | no |
|
|
1995
|
+
| list | GET | `/registry/v1/repositories/{repository_id}/packages` | no | yes |
|
|
1996
|
+
|
|
1899
1997
|
## sandbox
|
|
1900
1998
|
|
|
1901
1999
|
### sandbox.events.sandboxes
|
|
@@ -2051,6 +2149,17 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2051
2149
|
|---|---|---|---|---|
|
|
2052
2150
|
| create | POST | `/search/v1/search` | no | no |
|
|
2053
2151
|
|
|
2152
|
+
## share
|
|
2153
|
+
|
|
2154
|
+
### share.permissions
|
|
2155
|
+
|
|
2156
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2157
|
+
|---|---|---|---|---|
|
|
2158
|
+
| create | POST | `/share/v1/permissions` | no | no |
|
|
2159
|
+
| delete | DELETE | `/share/v1/permissions/{id}` | no | no |
|
|
2160
|
+
| list | GET | `/share/v1/permissions` | no | no |
|
|
2161
|
+
| retrieve | GET | `/share/v1/permissions/{id}` | no | no |
|
|
2162
|
+
|
|
2054
2163
|
## studio
|
|
2055
2164
|
|
|
2056
2165
|
### studio.codexes
|
|
@@ -2468,6 +2577,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2468
2577
|
| crm.properties.create | CRM objectType selects a collection, not an entity; preserve list/create separately from retrieve/update on an identified resource. |
|
|
2469
2578
|
| crm.properties.archive | CRM DELETE archives the resource rather than permanently deleting it; expose the archive product verb. |
|
|
2470
2579
|
| database.databases.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
2580
|
+
| 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. |
|
|
2471
2581
|
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
2472
2582
|
| 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. |
|
|
2473
2583
|
| 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. |
|