@deepraxis/sdk 0.2.0-dev.476046b → 0.2.0-dev.49e9c46
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 +36 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +103 -19
- package/dist/generated/sdk.gen.js +262 -18
- package/dist/generated/types.gen.d.ts +2649 -519
- package/dist/helpers/browser-actions.d.ts +2 -0
- package/dist/helpers/browser-actions.js +2 -0
- package/dist/helpers/browser-connect-error.d.ts +1 -1
- package/dist/helpers/browser-connect-error.js +1 -1
- package/dist/helpers/browser-connect.d.ts +10 -1
- package/dist/helpers/browser-connect.js +29 -6
- package/dist/helpers/browser-decisions.d.ts +2 -0
- package/dist/helpers/browser-decisions.js +7 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +2 -1
- package/dist/operations.generated.js +560 -46
- package/dist/resources.generated.d.ts +141 -0
- package/dist/resources.generated.js +24 -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`. 993 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
|
|
|
@@ -55,6 +55,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
55
55
|
|---|---|---|---|---|
|
|
56
56
|
| create | POST | `/agent/v1/agents/{agent_id}/customers/{customer_id}/unblock` | no | no |
|
|
57
57
|
|
|
58
|
+
### agent.agents.devices.localSessions
|
|
59
|
+
|
|
60
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
61
|
+
|---|---|---|---|---|
|
|
62
|
+
| list | GET | `/agent/v1/agents/{agent_id}/devices/{device_id}/local-sessions` | no | yes |
|
|
63
|
+
|
|
58
64
|
### agent.agents.events
|
|
59
65
|
|
|
60
66
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1702,6 +1708,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1702
1708
|
|---|---|---|---|---|
|
|
1703
1709
|
| restore | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/versions/{version_id}/restore` | no | no |
|
|
1704
1710
|
|
|
1711
|
+
### media.libraries.assets.works
|
|
1712
|
+
|
|
1713
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1714
|
+
|---|---|---|---|---|
|
|
1715
|
+
| list | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}/works` | no | yes |
|
|
1716
|
+
|
|
1705
1717
|
### media.libraries.batches
|
|
1706
1718
|
|
|
1707
1719
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1792,6 +1804,16 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1792
1804
|
|---|---|---|---|---|
|
|
1793
1805
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1794
1806
|
|
|
1807
|
+
### media.libraries.works
|
|
1808
|
+
|
|
1809
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1810
|
+
|---|---|---|---|---|
|
|
1811
|
+
| create | POST | `/media/v1/libraries/{library_id}/works` | no | no |
|
|
1812
|
+
| delete | DELETE | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1813
|
+
| list | GET | `/media/v1/libraries/{library_id}/works` | no | yes |
|
|
1814
|
+
| retrieve | GET | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1815
|
+
| update | PATCH | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1816
|
+
|
|
1795
1817
|
### media.pipelines
|
|
1796
1818
|
|
|
1797
1819
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2151,11 +2173,22 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2151
2173
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2152
2174
|
|---|---|---|---|---|
|
|
2153
2175
|
| archive | POST | `/organization/v1/notifications/letters/{id}:archive` | no | no |
|
|
2176
|
+
| create | POST | `/organization/v1/notifications/letters` | no | no |
|
|
2154
2177
|
| list | GET | `/organization/v1/notifications/letters` | no | no |
|
|
2155
2178
|
| read | POST | `/organization/v1/notifications/letters/{id}:read` | no | no |
|
|
2156
2179
|
| readAll | POST | `/organization/v1/notifications/letters:readAll` | no | no |
|
|
2157
2180
|
| retrieve | GET | `/organization/v1/notifications/letters/{id}` | no | no |
|
|
2158
2181
|
|
|
2182
|
+
### organization.notifications.messages
|
|
2183
|
+
|
|
2184
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2185
|
+
|---|---|---|---|---|
|
|
2186
|
+
| delete | DELETE | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2187
|
+
| list | GET | `/organization/v1/notifications/messages` | no | no |
|
|
2188
|
+
| readAll | POST | `/organization/v1/notifications/messages:readAll` | no | no |
|
|
2189
|
+
| retrieve | GET | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2190
|
+
| update | POST | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2191
|
+
|
|
2159
2192
|
### organization.notifications.organizationDefault
|
|
2160
2193
|
|
|
2161
2194
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2296,6 +2329,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2296
2329
|
|---|---|---|---|---|
|
|
2297
2330
|
| create | POST | `/sandbox/v1/byod/pairings` | no | no |
|
|
2298
2331
|
| retrieve | GET | `/sandbox/v1/byod/pairings/{code}` | no | no |
|
|
2332
|
+
| status | GET | `/sandbox/v1/byod/pairings/{code}/status` | no | no |
|
|
2299
2333
|
|
|
2300
2334
|
### sandbox.byod.pairings.claim
|
|
2301
2335
|
|
|
@@ -3130,6 +3164,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3130
3164
|
| media.videos.generate | ADR-094 §2/§9 names video generation videos.generate beside images.generate; the URL mounts it under a library, but generation is an operation on videos and the path alone would derive a generations collection create. The unqualified videos resource is the video lane, distinct from the batch and legacy job resources. |
|
|
3131
3165
|
| media.streams.retrievePlaylist | The last URL segment is a file name (live.m3u8), which is not a valid SDK identifier; the call reads the live HLS playlist of the addressed stream. |
|
|
3132
3166
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
3167
|
+
| sandbox.byod.pairings.status | ticket-5149: the status is the pairing's own authenticated read (who claimed it), a sibling of the phone's credential-free pairings.retrieve; the path alone would derive pairings.status.list, which reads as a collection. |
|
|
3133
3168
|
| sandbox.sandboxes.act | ticket-3311: act is the one display door of an addressed phone sandbox; the URL spells the operation but the generic post rule would derive sandboxes.create, colliding with createSandbox. |
|
|
3134
3169
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
3135
3170
|
| sandbox.sandboxes.files.remove | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|