@deepraxis/sdk 0.1.1-dev.afd7568 → 0.1.1-dev.b0e15c2
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 +80 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +153 -13
- package/dist/generated/sdk.gen.js +424 -16
- package/dist/generated/types.gen.d.ts +2130 -78
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +8 -0
- package/dist/operations.generated.js +748 -60
- package/dist/resources.generated.d.ts +87 -1
- package/dist/resources.generated.js +51 -1
- 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`. 963 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
|
|
|
@@ -688,6 +688,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
688
688
|
| delete | DELETE | `/canvas/v1/canvases/{canvas_id}` | no | no |
|
|
689
689
|
| execute | POST | `/canvas/v1/canvases/{canvas_id}:execute` | no | no |
|
|
690
690
|
| list | GET | `/canvas/v1/canvases` | no | yes |
|
|
691
|
+
| publish | POST | `/canvas/v1/canvases/{canvas_id}:publish` | no | no |
|
|
691
692
|
| restore | POST | `/canvas/v1/canvases/{canvas_id}:restore` | no | no |
|
|
692
693
|
| retrieve | GET | `/canvas/v1/canvases/{canvas_id}` | no | no |
|
|
693
694
|
| update | PATCH | `/canvas/v1/canvases/{canvas_id}` | no | no |
|
|
@@ -698,6 +699,19 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
698
699
|
|---|---|---|---|---|
|
|
699
700
|
| list | GET | `/canvas/v1/canvases/{canvas_id}/images` | no | no |
|
|
700
701
|
|
|
702
|
+
### canvas.canvases.imports
|
|
703
|
+
|
|
704
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
705
|
+
|---|---|---|---|---|
|
|
706
|
+
| create | POST | `/canvas/v1/canvases/{canvas_id}/imports` | no | no |
|
|
707
|
+
| delete | DELETE | `/canvas/v1/canvases/{canvas_id}/imports/{alias}` | no | no |
|
|
708
|
+
|
|
709
|
+
### canvas.canvases.libraryVersions
|
|
710
|
+
|
|
711
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
712
|
+
|---|---|---|---|---|
|
|
713
|
+
| list | GET | `/canvas/v1/canvases/{canvas_id}/library_versions` | no | no |
|
|
714
|
+
|
|
701
715
|
### canvas.canvases.nodes
|
|
702
716
|
|
|
703
717
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -720,6 +734,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
720
734
|
| retrieve | GET | `/canvas/v1/collections/{collection_id}` | no | no |
|
|
721
735
|
| update | PATCH | `/canvas/v1/collections/{collection_id}` | no | no |
|
|
722
736
|
|
|
737
|
+
### canvas.libraries
|
|
738
|
+
|
|
739
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
740
|
+
|---|---|---|---|---|
|
|
741
|
+
| list | GET | `/canvas/v1/libraries` | no | yes |
|
|
742
|
+
|
|
723
743
|
## content
|
|
724
744
|
|
|
725
745
|
### content.contents
|
|
@@ -874,6 +894,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
874
894
|
| create | POST | `/customer/v1/publishable_keys` | no | no |
|
|
875
895
|
| delete | DELETE | `/customer/v1/publishable_keys/{key_id}` | no | no |
|
|
876
896
|
| list | GET | `/customer/v1/publishable_keys` | no | no |
|
|
897
|
+
| update | PATCH | `/customer/v1/publishable_keys/{key_id}` | no | no |
|
|
877
898
|
|
|
878
899
|
### customer.usage
|
|
879
900
|
|
|
@@ -1731,12 +1752,69 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1731
1752
|
|---|---|---|---|---|
|
|
1732
1753
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1733
1754
|
|
|
1755
|
+
### media.pipelines
|
|
1756
|
+
|
|
1757
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1758
|
+
|---|---|---|---|---|
|
|
1759
|
+
| create | POST | `/media/v1/pipelines` | no | no |
|
|
1760
|
+
| delete | DELETE | `/media/v1/pipelines/{pipeline_id}` | no | no |
|
|
1761
|
+
| list | GET | `/media/v1/pipelines` | no | no |
|
|
1762
|
+
| retrieve | GET | `/media/v1/pipelines/{pipeline_id}` | no | no |
|
|
1763
|
+
| update | PATCH | `/media/v1/pipelines/{pipeline_id}` | no | no |
|
|
1764
|
+
|
|
1734
1765
|
### media.speech
|
|
1735
1766
|
|
|
1736
1767
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1737
1768
|
|---|---|---|---|---|
|
|
1738
1769
|
| create | POST | `/media/v1/libraries/{library_id}/audio/speech` | no | no |
|
|
1739
1770
|
|
|
1771
|
+
### media.streams
|
|
1772
|
+
|
|
1773
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1774
|
+
|---|---|---|---|---|
|
|
1775
|
+
| create | POST | `/media/v1/streams` | no | no |
|
|
1776
|
+
| delete | DELETE | `/media/v1/streams/{stream_id}` | no | no |
|
|
1777
|
+
| list | GET | `/media/v1/streams` | no | no |
|
|
1778
|
+
| retrieve | GET | `/media/v1/streams/{stream_id}` | no | no |
|
|
1779
|
+
| retrievePlaylist | GET | `/media/v1/streams/{stream_id}/live.m3u8` | no | no |
|
|
1780
|
+
| update | PATCH | `/media/v1/streams/{stream_id}` | no | no |
|
|
1781
|
+
|
|
1782
|
+
### media.streams.disable
|
|
1783
|
+
|
|
1784
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1785
|
+
|---|---|---|---|---|
|
|
1786
|
+
| create | POST | `/media/v1/streams/{stream_id}/disable` | no | no |
|
|
1787
|
+
|
|
1788
|
+
### media.streams.enable
|
|
1789
|
+
|
|
1790
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1791
|
+
|---|---|---|---|---|
|
|
1792
|
+
| create | POST | `/media/v1/streams/{stream_id}/enable` | no | no |
|
|
1793
|
+
|
|
1794
|
+
### media.streams.events
|
|
1795
|
+
|
|
1796
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1797
|
+
|---|---|---|---|---|
|
|
1798
|
+
| list | GET | `/media/v1/streams/{stream_id}/events` | no | no |
|
|
1799
|
+
|
|
1800
|
+
### media.streams.playbackToken
|
|
1801
|
+
|
|
1802
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1803
|
+
|---|---|---|---|---|
|
|
1804
|
+
| create | POST | `/media/v1/streams/{stream_id}/playback-token` | no | no |
|
|
1805
|
+
|
|
1806
|
+
### media.streams.resetToken
|
|
1807
|
+
|
|
1808
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1809
|
+
|---|---|---|---|---|
|
|
1810
|
+
| create | POST | `/media/v1/streams/{stream_id}/reset-token` | no | no |
|
|
1811
|
+
|
|
1812
|
+
### media.streams.subscribeToken
|
|
1813
|
+
|
|
1814
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1815
|
+
|---|---|---|---|---|
|
|
1816
|
+
| create | POST | `/media/v1/streams/{stream_id}/subscribe-token` | no | no |
|
|
1817
|
+
|
|
1740
1818
|
### media.videos
|
|
1741
1819
|
|
|
1742
1820
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2997,6 +3075,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2997
3075
|
| media.speech.create | ADR-094 §1/§9 names speech synthesis speech.create; the URL says audio/speech because that is the artifact the caller gets back, and the path alone would derive a speech collection create under an audio level that is not an SDK resource. |
|
|
2998
3076
|
| media.images.generate | ADR-094 §9 names image generation images.generate; the URL mounts it under a library, but generation is an operation on images and the path alone would derive a generations collection create. |
|
|
2999
3077
|
| 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. |
|
|
3078
|
+
| 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. |
|
|
3000
3079
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
3001
3080
|
| 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. |
|
|
3002
3081
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|