@deepraxis/sdk 0.1.1-dev.32f52b5 → 0.1.1-dev.339ef7d

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # SDK methods
2
2
 
3
- Generated by `bun run generate`. 940 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`.
3
+ Generated by `bun run generate`. 969 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
 
@@ -187,6 +187,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
187
187
  | retrieve | GET | `/agent/v1/sessions/{session_id}` | no | no |
188
188
  | retrieveCompact | GET | `/agent/v1/sessions/{session_id}/compact/{operation_id}` | no | no |
189
189
  | retrieveContext | GET | `/agent/v1/sessions/{session_id}/context` | no | no |
190
+ | retrievePromptRevs | GET | `/agent/v1/sessions/{session_id}/prompt-revs` | no | no |
190
191
  | update | POST | `/agent/v1/sessions/{session_id}` | no | no |
191
192
 
192
193
  ### agent.sessions.agentVersion
@@ -688,6 +689,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
688
689
  | delete | DELETE | `/canvas/v1/canvases/{canvas_id}` | no | no |
689
690
  | execute | POST | `/canvas/v1/canvases/{canvas_id}:execute` | no | no |
690
691
  | list | GET | `/canvas/v1/canvases` | no | yes |
692
+ | publish | POST | `/canvas/v1/canvases/{canvas_id}:publish` | no | no |
691
693
  | restore | POST | `/canvas/v1/canvases/{canvas_id}:restore` | no | no |
692
694
  | retrieve | GET | `/canvas/v1/canvases/{canvas_id}` | no | no |
693
695
  | update | PATCH | `/canvas/v1/canvases/{canvas_id}` | no | no |
@@ -698,6 +700,19 @@ Multipart request bodies expand plain objects into bracketed fields (for example
698
700
  |---|---|---|---|---|
699
701
  | list | GET | `/canvas/v1/canvases/{canvas_id}/images` | no | no |
700
702
 
703
+ ### canvas.canvases.imports
704
+
705
+ | Method | HTTP | Path | Streaming | Pagination |
706
+ |---|---|---|---|---|
707
+ | create | POST | `/canvas/v1/canvases/{canvas_id}/imports` | no | no |
708
+ | delete | DELETE | `/canvas/v1/canvases/{canvas_id}/imports/{alias}` | no | no |
709
+
710
+ ### canvas.canvases.libraryVersions
711
+
712
+ | Method | HTTP | Path | Streaming | Pagination |
713
+ |---|---|---|---|---|
714
+ | list | GET | `/canvas/v1/canvases/{canvas_id}/library_versions` | no | no |
715
+
701
716
  ### canvas.canvases.nodes
702
717
 
703
718
  | Method | HTTP | Path | Streaming | Pagination |
@@ -720,6 +735,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
720
735
  | retrieve | GET | `/canvas/v1/collections/{collection_id}` | no | no |
721
736
  | update | PATCH | `/canvas/v1/collections/{collection_id}` | no | no |
722
737
 
738
+ ### canvas.libraries
739
+
740
+ | Method | HTTP | Path | Streaming | Pagination |
741
+ |---|---|---|---|---|
742
+ | list | GET | `/canvas/v1/libraries` | no | yes |
743
+
723
744
  ## content
724
745
 
725
746
  ### content.contents
@@ -874,6 +895,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
874
895
  | create | POST | `/customer/v1/publishable_keys` | no | no |
875
896
  | delete | DELETE | `/customer/v1/publishable_keys/{key_id}` | no | no |
876
897
  | list | GET | `/customer/v1/publishable_keys` | no | no |
898
+ | update | PATCH | `/customer/v1/publishable_keys/{key_id}` | no | no |
877
899
 
878
900
  ### customer.usage
879
901
 
@@ -1731,12 +1753,79 @@ Multipart request bodies expand plain objects into bracketed fields (for example
1731
1753
  |---|---|---|---|---|
1732
1754
  | create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
1733
1755
 
1756
+ ### media.pipelines
1757
+
1758
+ | Method | HTTP | Path | Streaming | Pagination |
1759
+ |---|---|---|---|---|
1760
+ | create | POST | `/media/v1/pipelines` | no | no |
1761
+ | delete | DELETE | `/media/v1/pipelines/{pipeline_id}` | no | no |
1762
+ | list | GET | `/media/v1/pipelines` | no | no |
1763
+ | retrieve | GET | `/media/v1/pipelines/{pipeline_id}` | no | no |
1764
+ | update | PATCH | `/media/v1/pipelines/{pipeline_id}` | no | no |
1765
+
1734
1766
  ### media.speech
1735
1767
 
1736
1768
  | Method | HTTP | Path | Streaming | Pagination |
1737
1769
  |---|---|---|---|---|
1738
1770
  | create | POST | `/media/v1/libraries/{library_id}/audio/speech` | no | no |
1739
1771
 
1772
+ ### media.streams
1773
+
1774
+ | Method | HTTP | Path | Streaming | Pagination |
1775
+ |---|---|---|---|---|
1776
+ | create | POST | `/media/v1/streams` | no | no |
1777
+ | delete | DELETE | `/media/v1/streams/{stream_id}` | no | no |
1778
+ | list | GET | `/media/v1/streams` | no | no |
1779
+ | retrieve | GET | `/media/v1/streams/{stream_id}` | no | no |
1780
+ | retrievePlaylist | GET | `/media/v1/streams/{stream_id}/live.m3u8` | no | no |
1781
+ | update | PATCH | `/media/v1/streams/{stream_id}` | no | no |
1782
+
1783
+ ### media.streams.disable
1784
+
1785
+ | Method | HTTP | Path | Streaming | Pagination |
1786
+ |---|---|---|---|---|
1787
+ | create | POST | `/media/v1/streams/{stream_id}/disable` | no | no |
1788
+
1789
+ ### media.streams.enable
1790
+
1791
+ | Method | HTTP | Path | Streaming | Pagination |
1792
+ |---|---|---|---|---|
1793
+ | create | POST | `/media/v1/streams/{stream_id}/enable` | no | no |
1794
+
1795
+ ### media.streams.events
1796
+
1797
+ | Method | HTTP | Path | Streaming | Pagination |
1798
+ |---|---|---|---|---|
1799
+ | list | GET | `/media/v1/streams/{stream_id}/events` | no | no |
1800
+
1801
+ ### media.streams.outputs
1802
+
1803
+ | Method | HTTP | Path | Streaming | Pagination |
1804
+ |---|---|---|---|---|
1805
+ | create | POST | `/media/v1/streams/{stream_id}/outputs` | no | no |
1806
+ | delete | DELETE | `/media/v1/streams/{stream_id}/outputs/{output_id}` | no | no |
1807
+ | list | GET | `/media/v1/streams/{stream_id}/outputs` | no | no |
1808
+ | retrieve | GET | `/media/v1/streams/{stream_id}/outputs/{output_id}` | no | no |
1809
+ | update | PATCH | `/media/v1/streams/{stream_id}/outputs/{output_id}` | no | no |
1810
+
1811
+ ### media.streams.playbackToken
1812
+
1813
+ | Method | HTTP | Path | Streaming | Pagination |
1814
+ |---|---|---|---|---|
1815
+ | create | POST | `/media/v1/streams/{stream_id}/playback-token` | no | no |
1816
+
1817
+ ### media.streams.resetToken
1818
+
1819
+ | Method | HTTP | Path | Streaming | Pagination |
1820
+ |---|---|---|---|---|
1821
+ | create | POST | `/media/v1/streams/{stream_id}/reset-token` | no | no |
1822
+
1823
+ ### media.streams.subscribeToken
1824
+
1825
+ | Method | HTTP | Path | Streaming | Pagination |
1826
+ |---|---|---|---|---|
1827
+ | create | POST | `/media/v1/streams/{stream_id}/subscribe-token` | no | no |
1828
+
1740
1829
  ### media.videos
1741
1830
 
1742
1831
  | Method | HTTP | Path | Streaming | Pagination |
@@ -2944,6 +3033,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
2944
3033
  | agent.agents.phone.retrieve | ticket-3311: reading the agent's cloud phone is agents.phone.retrieve; the path alone would derive agents.retrievePhone, which does not name the sub-resource. |
2945
3034
  | agent.agents.phone.release | ticket-3311: release is the act on the agent's cloud phone (the row is marked, then the cron archives and kills it); the path alone would derive agents.phone.release.create. |
2946
3035
  | agent.sessions.events.send | Events submit session input; the product verb is send rather than create. |
3036
+ | agent.sessions.retrievePromptRevs | #4403: the read is one turn's record, not a collection of records — it answers a single PromptRevRecord for one run (or the last one written) and has no pagination or history, so the collection rule's sessions.promptRevs.list would misname it. It pairs with the other per-session projections, retrieveContext and retrieveCompact. |
2947
3037
  | automation.hooks.send | Delivers a payload to a trigger's secret webhook URL; it sends an event rather than updating a hook resource. |
2948
3038
  | automation.scripts.distTags.set | A dist-tag assigns a version to a name; use npm vocabulary set rather than update. |
2949
3039
  | automation.scripts.vaults.set | Assign a whole vault to a definition alias, independently of published versions. |
@@ -2997,6 +3087,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
2997
3087
  | 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
3088
  | 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
3089
  | 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. |
3090
+ | 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
3091
  | meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
3001
3092
  | 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
3093
  | sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |