@deepraxis/sdk 0.2.0-dev.2fd72e1 → 0.2.0-dev.4128f2c
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 +61 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +136 -16
- package/dist/generated/sdk.gen.js +334 -15
- package/dist/generated/types.gen.d.ts +3284 -618
- package/dist/helpers/browser-actions.d.ts +2 -0
- package/dist/helpers/browser-actions.js +5 -1
- package/dist/helpers/browser-connect-error.d.ts +7 -1
- package/dist/helpers/browser-connect-error.js +12 -1
- package/dist/helpers/browser-connect.d.ts +1 -1
- package/dist/helpers/browser-connect.js +16 -5
- package/dist/helpers/browser-decisions.d.ts +3 -0
- package/dist/helpers/browser-decisions.js +5 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +3 -0
- package/dist/operations.generated.js +726 -29
- package/dist/resources.generated.d.ts +120 -0
- package/dist/resources.generated.js +40 -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`. 992 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
|
|
|
@@ -55,6 +55,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
55
55
|
|---|---|---|---|---|
|
|
56
56
|
| create | POST | `/agent/v1/agents/{agent_id}/customers/{customer_id}/unblock` | no | no |
|
|
57
57
|
|
|
58
|
+
### agent.agents.devices.localSessions
|
|
59
|
+
|
|
60
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
61
|
+
|---|---|---|---|---|
|
|
62
|
+
| list | GET | `/agent/v1/agents/{agent_id}/devices/{device_id}/local-sessions` | no | yes |
|
|
63
|
+
|
|
58
64
|
### agent.agents.events
|
|
59
65
|
|
|
60
66
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -619,6 +625,33 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
619
625
|
|
|
620
626
|
## browser
|
|
621
627
|
|
|
628
|
+
### browser.byob.browsers
|
|
629
|
+
|
|
630
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
631
|
+
|---|---|---|---|---|
|
|
632
|
+
| list | GET | `/browser/v1/byob/browsers` | no | no |
|
|
633
|
+
| retrieve | GET | `/browser/v1/byob/browsers/{browser_id}` | no | no |
|
|
634
|
+
| update | PATCH | `/browser/v1/byob/browsers/{browser_id}` | no | no |
|
|
635
|
+
|
|
636
|
+
### browser.byob.browsers.disconnect
|
|
637
|
+
|
|
638
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
639
|
+
|---|---|---|---|---|
|
|
640
|
+
| create | POST | `/browser/v1/byob/browsers/{browser_id}/disconnect` | no | no |
|
|
641
|
+
|
|
642
|
+
### browser.byob.pairings
|
|
643
|
+
|
|
644
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
645
|
+
|---|---|---|---|---|
|
|
646
|
+
| create | POST | `/browser/v1/byob/pairings` | no | no |
|
|
647
|
+
| retrieve | GET | `/browser/v1/byob/pairings/{code}` | no | no |
|
|
648
|
+
|
|
649
|
+
### browser.byob.pairings.claim
|
|
650
|
+
|
|
651
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
652
|
+
|---|---|---|---|---|
|
|
653
|
+
| create | POST | `/browser/v1/byob/pairings/{code}/claim` | no | no |
|
|
654
|
+
|
|
622
655
|
### browser.connect
|
|
623
656
|
|
|
624
657
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1675,6 +1708,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1675
1708
|
|---|---|---|---|---|
|
|
1676
1709
|
| restore | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/versions/{version_id}/restore` | no | no |
|
|
1677
1710
|
|
|
1711
|
+
### media.libraries.assets.works
|
|
1712
|
+
|
|
1713
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1714
|
+
|---|---|---|---|---|
|
|
1715
|
+
| list | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}/works` | no | yes |
|
|
1716
|
+
|
|
1678
1717
|
### media.libraries.batches
|
|
1679
1718
|
|
|
1680
1719
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1765,6 +1804,16 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1765
1804
|
|---|---|---|---|---|
|
|
1766
1805
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1767
1806
|
|
|
1807
|
+
### media.libraries.works
|
|
1808
|
+
|
|
1809
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1810
|
+
|---|---|---|---|---|
|
|
1811
|
+
| create | POST | `/media/v1/libraries/{library_id}/works` | no | no |
|
|
1812
|
+
| delete | DELETE | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1813
|
+
| list | GET | `/media/v1/libraries/{library_id}/works` | no | yes |
|
|
1814
|
+
| retrieve | GET | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1815
|
+
| update | PATCH | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1816
|
+
|
|
1768
1817
|
### media.pipelines
|
|
1769
1818
|
|
|
1770
1819
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2124,11 +2173,22 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2124
2173
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2125
2174
|
|---|---|---|---|---|
|
|
2126
2175
|
| archive | POST | `/organization/v1/notifications/letters/{id}:archive` | no | no |
|
|
2176
|
+
| create | POST | `/organization/v1/notifications/letters` | no | no |
|
|
2127
2177
|
| list | GET | `/organization/v1/notifications/letters` | no | no |
|
|
2128
2178
|
| read | POST | `/organization/v1/notifications/letters/{id}:read` | no | no |
|
|
2129
2179
|
| readAll | POST | `/organization/v1/notifications/letters:readAll` | no | no |
|
|
2130
2180
|
| retrieve | GET | `/organization/v1/notifications/letters/{id}` | no | no |
|
|
2131
2181
|
|
|
2182
|
+
### organization.notifications.messages
|
|
2183
|
+
|
|
2184
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2185
|
+
|---|---|---|---|---|
|
|
2186
|
+
| delete | DELETE | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2187
|
+
| list | GET | `/organization/v1/notifications/messages` | no | no |
|
|
2188
|
+
| readAll | POST | `/organization/v1/notifications/messages:readAll` | no | no |
|
|
2189
|
+
| retrieve | GET | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2190
|
+
| update | POST | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2191
|
+
|
|
2132
2192
|
### organization.notifications.organizationDefault
|
|
2133
2193
|
|
|
2134
2194
|
| Method | HTTP | Path | Streaming | Pagination |
|