@deepraxis/sdk 0.1.1-dev.e2643d3 → 0.1.1-dev.e2d177f
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 +71 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +135 -13
- package/dist/generated/sdk.gen.js +378 -16
- package/dist/generated/types.gen.d.ts +4905 -85
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +8 -0
- package/dist/operations.generated.js +613 -33
- package/dist/resources.generated.d.ts +562 -1
- package/dist/resources.generated.js +46 -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`. 960 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
|
|
@@ -1731,12 +1751,62 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1731
1751
|
|---|---|---|---|---|
|
|
1732
1752
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1733
1753
|
|
|
1754
|
+
### media.pipelines
|
|
1755
|
+
|
|
1756
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1757
|
+
|---|---|---|---|---|
|
|
1758
|
+
| create | POST | `/media/v1/pipelines` | no | no |
|
|
1759
|
+
| delete | DELETE | `/media/v1/pipelines/{pipeline_id}` | no | no |
|
|
1760
|
+
| list | GET | `/media/v1/pipelines` | no | no |
|
|
1761
|
+
| retrieve | GET | `/media/v1/pipelines/{pipeline_id}` | no | no |
|
|
1762
|
+
| update | PATCH | `/media/v1/pipelines/{pipeline_id}` | no | no |
|
|
1763
|
+
|
|
1734
1764
|
### media.speech
|
|
1735
1765
|
|
|
1736
1766
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1737
1767
|
|---|---|---|---|---|
|
|
1738
1768
|
| create | POST | `/media/v1/libraries/{library_id}/audio/speech` | no | no |
|
|
1739
1769
|
|
|
1770
|
+
### media.streams
|
|
1771
|
+
|
|
1772
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1773
|
+
|---|---|---|---|---|
|
|
1774
|
+
| create | POST | `/media/v1/streams` | no | no |
|
|
1775
|
+
| delete | DELETE | `/media/v1/streams/{stream_id}` | no | no |
|
|
1776
|
+
| list | GET | `/media/v1/streams` | no | no |
|
|
1777
|
+
| retrieve | GET | `/media/v1/streams/{stream_id}` | no | no |
|
|
1778
|
+
| update | PATCH | `/media/v1/streams/{stream_id}` | no | no |
|
|
1779
|
+
|
|
1780
|
+
### media.streams.disable
|
|
1781
|
+
|
|
1782
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1783
|
+
|---|---|---|---|---|
|
|
1784
|
+
| create | POST | `/media/v1/streams/{stream_id}/disable` | no | no |
|
|
1785
|
+
|
|
1786
|
+
### media.streams.enable
|
|
1787
|
+
|
|
1788
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1789
|
+
|---|---|---|---|---|
|
|
1790
|
+
| create | POST | `/media/v1/streams/{stream_id}/enable` | no | no |
|
|
1791
|
+
|
|
1792
|
+
### media.streams.events
|
|
1793
|
+
|
|
1794
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1795
|
+
|---|---|---|---|---|
|
|
1796
|
+
| list | GET | `/media/v1/streams/{stream_id}/events` | no | no |
|
|
1797
|
+
|
|
1798
|
+
### media.streams.resetToken
|
|
1799
|
+
|
|
1800
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1801
|
+
|---|---|---|---|---|
|
|
1802
|
+
| create | POST | `/media/v1/streams/{stream_id}/reset-token` | no | no |
|
|
1803
|
+
|
|
1804
|
+
### media.streams.subscribeToken
|
|
1805
|
+
|
|
1806
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1807
|
+
|---|---|---|---|---|
|
|
1808
|
+
| create | POST | `/media/v1/streams/{stream_id}/subscribe-token` | no | no |
|
|
1809
|
+
|
|
1740
1810
|
### media.videos
|
|
1741
1811
|
|
|
1742
1812
|
| Method | HTTP | Path | Streaming | Pagination |
|