@deepraxis/sdk 0.2.0-dev.47ce97a → 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 +30 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +95 -17
- package/dist/generated/sdk.gen.js +242 -16
- package/dist/generated/types.gen.d.ts +1942 -48
- package/dist/helpers/browser-actions.d.ts +2 -0
- package/dist/helpers/browser-actions.js +2 -0
- 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 +1 -0
- package/dist/operations.generated.js +505 -31
- package/dist/resources.generated.d.ts +107 -0
- package/dist/resources.generated.js +19 -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
|
|
|
@@ -1708,6 +1708,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1708
1708
|
|---|---|---|---|---|
|
|
1709
1709
|
| restore | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/versions/{version_id}/restore` | no | no |
|
|
1710
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
|
+
|
|
1711
1717
|
### media.libraries.batches
|
|
1712
1718
|
|
|
1713
1719
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1798,6 +1804,16 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1798
1804
|
|---|---|---|---|---|
|
|
1799
1805
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1800
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
|
+
|
|
1801
1817
|
### media.pipelines
|
|
1802
1818
|
|
|
1803
1819
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2157,11 +2173,22 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2157
2173
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2158
2174
|
|---|---|---|---|---|
|
|
2159
2175
|
| archive | POST | `/organization/v1/notifications/letters/{id}:archive` | no | no |
|
|
2176
|
+
| create | POST | `/organization/v1/notifications/letters` | no | no |
|
|
2160
2177
|
| list | GET | `/organization/v1/notifications/letters` | no | no |
|
|
2161
2178
|
| read | POST | `/organization/v1/notifications/letters/{id}:read` | no | no |
|
|
2162
2179
|
| readAll | POST | `/organization/v1/notifications/letters:readAll` | no | no |
|
|
2163
2180
|
| retrieve | GET | `/organization/v1/notifications/letters/{id}` | no | no |
|
|
2164
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
|
+
|
|
2165
2192
|
### organization.notifications.organizationDefault
|
|
2166
2193
|
|
|
2167
2194
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2302,6 +2329,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2302
2329
|
|---|---|---|---|---|
|
|
2303
2330
|
| create | POST | `/sandbox/v1/byod/pairings` | no | no |
|
|
2304
2331
|
| retrieve | GET | `/sandbox/v1/byod/pairings/{code}` | no | no |
|
|
2332
|
+
| status | GET | `/sandbox/v1/byod/pairings/{code}/status` | no | no |
|
|
2305
2333
|
|
|
2306
2334
|
### sandbox.byod.pairings.claim
|
|
2307
2335
|
|
|
@@ -3136,6 +3164,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3136
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. |
|
|
3137
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. |
|
|
3138
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. |
|
|
3139
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. |
|
|
3140
3169
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
3141
3170
|
| sandbox.sandboxes.files.remove | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|