@deepraxis/sdk 0.1.1-dev.8e3013c → 0.1.1-dev.8e6970a
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 +56 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +93 -1
- package/dist/generated/sdk.gen.js +268 -0
- package/dist/generated/types.gen.d.ts +1146 -6
- package/dist/operations.generated.js +450 -0
- package/dist/resources.generated.d.ts +32 -0
- package/dist/resources.generated.js +36 -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`. 954 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
|
|
@@ -1737,6 +1757,40 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1737
1757
|
|---|---|---|---|---|
|
|
1738
1758
|
| create | POST | `/media/v1/libraries/{library_id}/audio/speech` | no | no |
|
|
1739
1759
|
|
|
1760
|
+
### media.streams
|
|
1761
|
+
|
|
1762
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1763
|
+
|---|---|---|---|---|
|
|
1764
|
+
| create | POST | `/media/v1/streams` | no | no |
|
|
1765
|
+
| delete | DELETE | `/media/v1/streams/{stream_id}` | no | no |
|
|
1766
|
+
| list | GET | `/media/v1/streams` | no | no |
|
|
1767
|
+
| retrieve | GET | `/media/v1/streams/{stream_id}` | no | no |
|
|
1768
|
+
| update | PATCH | `/media/v1/streams/{stream_id}` | no | no |
|
|
1769
|
+
|
|
1770
|
+
### media.streams.disable
|
|
1771
|
+
|
|
1772
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1773
|
+
|---|---|---|---|---|
|
|
1774
|
+
| create | POST | `/media/v1/streams/{stream_id}/disable` | no | no |
|
|
1775
|
+
|
|
1776
|
+
### media.streams.enable
|
|
1777
|
+
|
|
1778
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1779
|
+
|---|---|---|---|---|
|
|
1780
|
+
| create | POST | `/media/v1/streams/{stream_id}/enable` | no | no |
|
|
1781
|
+
|
|
1782
|
+
### media.streams.events
|
|
1783
|
+
|
|
1784
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1785
|
+
|---|---|---|---|---|
|
|
1786
|
+
| list | GET | `/media/v1/streams/{stream_id}/events` | no | no |
|
|
1787
|
+
|
|
1788
|
+
### media.streams.resetToken
|
|
1789
|
+
|
|
1790
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1791
|
+
|---|---|---|---|---|
|
|
1792
|
+
| create | POST | `/media/v1/streams/{stream_id}/reset-token` | no | no |
|
|
1793
|
+
|
|
1740
1794
|
### media.videos
|
|
1741
1795
|
|
|
1742
1796
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2765,6 +2819,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2765
2819
|
| list | GET | `/workforce/v1/departments` | no | no |
|
|
2766
2820
|
| retrieve | GET | `/workforce/v1/departments/{id}` | no | no |
|
|
2767
2821
|
| update | PATCH | `/workforce/v1/departments/{id}` | no | no |
|
|
2822
|
+
| updateCharter | PUT | `/workforce/v1/departments/{id}/charter` | no | no |
|
|
2768
2823
|
|
|
2769
2824
|
### workforce.departments.dissolve
|
|
2770
2825
|
|