@deepraxis/sdk 0.1.1-dev.680e69b → 0.1.1-dev.68987ec

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`. 936 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`. 970 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
 
@@ -174,6 +174,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
174
174
  | retrieve | GET | `/agent/v1/environments/{environment_id}` | no | no |
175
175
  | update | POST | `/agent/v1/environments/{environment_id}` | no | no |
176
176
 
177
+ ### agent.loginIntents
178
+
179
+ | Method | HTTP | Path | Streaming | Pagination |
180
+ |---|---|---|---|---|
181
+ | create | POST | `/agent/v1/login_intents` | no | no |
182
+
177
183
  ### agent.sessions
178
184
 
179
185
  | Method | HTTP | Path | Streaming | Pagination |
@@ -187,6 +193,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
187
193
  | retrieve | GET | `/agent/v1/sessions/{session_id}` | no | no |
188
194
  | retrieveCompact | GET | `/agent/v1/sessions/{session_id}/compact/{operation_id}` | no | no |
189
195
  | retrieveContext | GET | `/agent/v1/sessions/{session_id}/context` | no | no |
196
+ | retrievePromptRevs | GET | `/agent/v1/sessions/{session_id}/prompt-revs` | no | no |
190
197
  | update | POST | `/agent/v1/sessions/{session_id}` | no | no |
191
198
 
192
199
  ### agent.sessions.agentVersion
@@ -221,6 +228,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
221
228
  |---|---|---|---|---|
222
229
  | list | GET | `/agent/v1/sessions/{session_id}/compactions` | no | no |
223
230
 
231
+ ### agent.sessions.dictations
232
+
233
+ | Method | HTTP | Path | Streaming | Pagination |
234
+ |---|---|---|---|---|
235
+ | create | POST | `/agent/v1/sessions/{session_id}/dictations` | no | no |
236
+
224
237
  ### agent.sessions.events
225
238
 
226
239
  | Method | HTTP | Path | Streaming | Pagination |
@@ -682,6 +695,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
682
695
  | delete | DELETE | `/canvas/v1/canvases/{canvas_id}` | no | no |
683
696
  | execute | POST | `/canvas/v1/canvases/{canvas_id}:execute` | no | no |
684
697
  | list | GET | `/canvas/v1/canvases` | no | yes |
698
+ | publish | POST | `/canvas/v1/canvases/{canvas_id}:publish` | no | no |
685
699
  | restore | POST | `/canvas/v1/canvases/{canvas_id}:restore` | no | no |
686
700
  | retrieve | GET | `/canvas/v1/canvases/{canvas_id}` | no | no |
687
701
  | update | PATCH | `/canvas/v1/canvases/{canvas_id}` | no | no |
@@ -692,6 +706,19 @@ Multipart request bodies expand plain objects into bracketed fields (for example
692
706
  |---|---|---|---|---|
693
707
  | list | GET | `/canvas/v1/canvases/{canvas_id}/images` | no | no |
694
708
 
709
+ ### canvas.canvases.imports
710
+
711
+ | Method | HTTP | Path | Streaming | Pagination |
712
+ |---|---|---|---|---|
713
+ | create | POST | `/canvas/v1/canvases/{canvas_id}/imports` | no | no |
714
+ | delete | DELETE | `/canvas/v1/canvases/{canvas_id}/imports/{alias}` | no | no |
715
+
716
+ ### canvas.canvases.libraryVersions
717
+
718
+ | Method | HTTP | Path | Streaming | Pagination |
719
+ |---|---|---|---|---|
720
+ | list | GET | `/canvas/v1/canvases/{canvas_id}/library_versions` | no | no |
721
+
695
722
  ### canvas.canvases.nodes
696
723
 
697
724
  | Method | HTTP | Path | Streaming | Pagination |
@@ -714,6 +741,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
714
741
  | retrieve | GET | `/canvas/v1/collections/{collection_id}` | no | no |
715
742
  | update | PATCH | `/canvas/v1/collections/{collection_id}` | no | no |
716
743
 
744
+ ### canvas.libraries
745
+
746
+ | Method | HTTP | Path | Streaming | Pagination |
747
+ |---|---|---|---|---|
748
+ | list | GET | `/canvas/v1/libraries` | no | yes |
749
+
717
750
  ## content
718
751
 
719
752
  ### content.contents
@@ -868,6 +901,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
868
901
  | create | POST | `/customer/v1/publishable_keys` | no | no |
869
902
  | delete | DELETE | `/customer/v1/publishable_keys/{key_id}` | no | no |
870
903
  | list | GET | `/customer/v1/publishable_keys` | no | no |
904
+ | update | PATCH | `/customer/v1/publishable_keys/{key_id}` | no | no |
871
905
 
872
906
  ### customer.usage
873
907
 
@@ -1725,12 +1759,79 @@ Multipart request bodies expand plain objects into bracketed fields (for example
1725
1759
  |---|---|---|---|---|
1726
1760
  | create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
1727
1761
 
1762
+ ### media.pipelines
1763
+
1764
+ | Method | HTTP | Path | Streaming | Pagination |
1765
+ |---|---|---|---|---|
1766
+ | create | POST | `/media/v1/pipelines` | no | no |
1767
+ | delete | DELETE | `/media/v1/pipelines/{pipeline_id}` | no | no |
1768
+ | list | GET | `/media/v1/pipelines` | no | no |
1769
+ | retrieve | GET | `/media/v1/pipelines/{pipeline_id}` | no | no |
1770
+ | update | PATCH | `/media/v1/pipelines/{pipeline_id}` | no | no |
1771
+
1728
1772
  ### media.speech
1729
1773
 
1730
1774
  | Method | HTTP | Path | Streaming | Pagination |
1731
1775
  |---|---|---|---|---|
1732
1776
  | create | POST | `/media/v1/libraries/{library_id}/audio/speech` | no | no |
1733
1777
 
1778
+ ### media.streams
1779
+
1780
+ | Method | HTTP | Path | Streaming | Pagination |
1781
+ |---|---|---|---|---|
1782
+ | create | POST | `/media/v1/streams` | no | no |
1783
+ | delete | DELETE | `/media/v1/streams/{stream_id}` | no | no |
1784
+ | list | GET | `/media/v1/streams` | no | no |
1785
+ | retrieve | GET | `/media/v1/streams/{stream_id}` | no | no |
1786
+ | retrievePlaylist | GET | `/media/v1/streams/{stream_id}/live.m3u8` | no | no |
1787
+ | update | PATCH | `/media/v1/streams/{stream_id}` | no | no |
1788
+
1789
+ ### media.streams.disable
1790
+
1791
+ | Method | HTTP | Path | Streaming | Pagination |
1792
+ |---|---|---|---|---|
1793
+ | create | POST | `/media/v1/streams/{stream_id}/disable` | no | no |
1794
+
1795
+ ### media.streams.enable
1796
+
1797
+ | Method | HTTP | Path | Streaming | Pagination |
1798
+ |---|---|---|---|---|
1799
+ | create | POST | `/media/v1/streams/{stream_id}/enable` | no | no |
1800
+
1801
+ ### media.streams.events
1802
+
1803
+ | Method | HTTP | Path | Streaming | Pagination |
1804
+ |---|---|---|---|---|
1805
+ | list | GET | `/media/v1/streams/{stream_id}/events` | no | no |
1806
+
1807
+ ### media.streams.outputs
1808
+
1809
+ | Method | HTTP | Path | Streaming | Pagination |
1810
+ |---|---|---|---|---|
1811
+ | create | POST | `/media/v1/streams/{stream_id}/outputs` | no | no |
1812
+ | delete | DELETE | `/media/v1/streams/{stream_id}/outputs/{output_id}` | no | no |
1813
+ | list | GET | `/media/v1/streams/{stream_id}/outputs` | no | no |
1814
+ | retrieve | GET | `/media/v1/streams/{stream_id}/outputs/{output_id}` | no | no |
1815
+ | update | PATCH | `/media/v1/streams/{stream_id}/outputs/{output_id}` | no | no |
1816
+
1817
+ ### media.streams.playbackToken
1818
+
1819
+ | Method | HTTP | Path | Streaming | Pagination |
1820
+ |---|---|---|---|---|
1821
+ | create | POST | `/media/v1/streams/{stream_id}/playback-token` | no | no |
1822
+
1823
+ ### media.streams.resetToken
1824
+
1825
+ | Method | HTTP | Path | Streaming | Pagination |
1826
+ |---|---|---|---|---|
1827
+ | create | POST | `/media/v1/streams/{stream_id}/reset-token` | no | no |
1828
+
1829
+ ### media.streams.subscribeToken
1830
+
1831
+ | Method | HTTP | Path | Streaming | Pagination |
1832
+ |---|---|---|---|---|
1833
+ | create | POST | `/media/v1/streams/{stream_id}/subscribe-token` | no | no |
1834
+
1734
1835
  ### media.videos
1735
1836
 
1736
1837
  | Method | HTTP | Path | Streaming | Pagination |
@@ -2016,7 +2117,10 @@ Multipart request bodies expand plain objects into bracketed fields (for example
2016
2117
 
2017
2118
  | Method | HTTP | Path | Streaming | Pagination |
2018
2119
  |---|---|---|---|---|
2120
+ | archive | POST | `/organization/v1/notifications/letters/{id}:archive` | no | no |
2019
2121
  | list | GET | `/organization/v1/notifications/letters` | no | no |
2122
+ | read | POST | `/organization/v1/notifications/letters/{id}:read` | no | no |
2123
+ | readAll | POST | `/organization/v1/notifications/letters:readAll` | no | no |
2020
2124
 
2021
2125
  ### organization.notifications.organizationDefault
2022
2126
 
@@ -2935,6 +3039,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
2935
3039
  | 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. |
2936
3040
  | 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. |
2937
3041
  | agent.sessions.events.send | Events submit session input; the product verb is send rather than create. |
3042
+ | 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. |
2938
3043
  | automation.hooks.send | Delivers a payload to a trigger's secret webhook URL; it sends an event rather than updating a hook resource. |
2939
3044
  | automation.scripts.distTags.set | A dist-tag assigns a version to a name; use npm vocabulary set rather than update. |
2940
3045
  | automation.scripts.vaults.set | Assign a whole vault to a definition alias, independently of published versions. |
@@ -2988,6 +3093,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
2988
3093
  | 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. |
2989
3094
  | 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. |
2990
3095
  | 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. |
3096
+ | 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. |
2991
3097
  | meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
2992
3098
  | 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. |
2993
3099
  | sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |