@deepraxis/sdk 0.1.1-dev.cdb6bda → 0.1.1-dev.cfb65a9
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 +116 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +205 -23
- package/dist/generated/sdk.gen.js +566 -24
- package/dist/generated/types.gen.d.ts +3042 -388
- package/dist/helpers/browser-connect.d.ts +2 -0
- package/dist/helpers/browser-connect.js +31 -9
- package/dist/helpers/browser-decisions.d.ts +13 -0
- package/dist/helpers/browser-decisions.js +11 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +4 -2
- package/dist/operations.generated.js +1037 -42
- package/dist/resources.generated.d.ts +207 -61
- package/dist/resources.generated.js +69 -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`. 884 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
|
|
|
@@ -69,6 +69,13 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
69
69
|
|---|---|---|---|---|
|
|
70
70
|
| list | GET | `/agent/v1/agents/{agent_id}/inbox/letters` | no | no |
|
|
71
71
|
|
|
72
|
+
### agent.agents.phone
|
|
73
|
+
|
|
74
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
75
|
+
|---|---|---|---|---|
|
|
76
|
+
| release | POST | `/agent/v1/agents/{agent_id}/phone/release` | no | no |
|
|
77
|
+
| retrieve | GET | `/agent/v1/agents/{agent_id}/phone` | no | no |
|
|
78
|
+
|
|
72
79
|
### agent.agents.unarchive
|
|
73
80
|
|
|
74
81
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -588,6 +595,14 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
588
595
|
| list | GET | `/automation/v1/workflows/{ns}/{name}/versions` | no | yes |
|
|
589
596
|
| retrieve | GET | `/automation/v1/workflows/{ns}/{name}/versions/{version}` | no | no |
|
|
590
597
|
|
|
598
|
+
## billing
|
|
599
|
+
|
|
600
|
+
### billing.prices
|
|
601
|
+
|
|
602
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
603
|
+
|---|---|---|---|---|
|
|
604
|
+
| list | GET | `/billing/v1/prices` | no | no |
|
|
605
|
+
|
|
591
606
|
## browser
|
|
592
607
|
|
|
593
608
|
### browser.connect
|
|
@@ -1062,6 +1077,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1062
1077
|
|
|
1063
1078
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1064
1079
|
|---|---|---|---|---|
|
|
1080
|
+
| create | POST | `/devops/v1/projects` | no | no |
|
|
1065
1081
|
| list | GET | `/devops/v1/projects` | no | no |
|
|
1066
1082
|
| retrieve | GET | `/devops/v1/projects/{id}` | no | no |
|
|
1067
1083
|
| retrieveTestCatalog | GET | `/devops/v1/projects/{project}/test-catalog` | no | no |
|
|
@@ -1075,6 +1091,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1075
1091
|
| create | POST | `/devops/v1/projects/{project}/changes` | no | no |
|
|
1076
1092
|
| list | GET | `/devops/v1/projects/{project}/changes` | no | no |
|
|
1077
1093
|
|
|
1094
|
+
### devops.projects.defaultBranch
|
|
1095
|
+
|
|
1096
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1097
|
+
|---|---|---|---|---|
|
|
1098
|
+
| initialize | POST | `/devops/v1/projects/{id}/default-branch:initialize` | no | no |
|
|
1099
|
+
|
|
1078
1100
|
### devops.projects.environments
|
|
1079
1101
|
|
|
1080
1102
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1216,6 +1238,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1216
1238
|
| rerunGate | POST | `/devops/v1/pull-requests/{id}:rerunGate` | no | no |
|
|
1217
1239
|
| retrieve | GET | `/devops/v1/pull-requests/{id}` | no | no |
|
|
1218
1240
|
|
|
1241
|
+
### devops.pullRequests.reviews
|
|
1242
|
+
|
|
1243
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1244
|
+
|---|---|---|---|---|
|
|
1245
|
+
| create | POST | `/devops/v1/pull-requests/{id}/reviews` | no | no |
|
|
1246
|
+
|
|
1219
1247
|
### devops.releases
|
|
1220
1248
|
|
|
1221
1249
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1871,6 +1899,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1871
1899
|
|---|---|---|---|---|
|
|
1872
1900
|
| create | POST | `/organization/v1/departments/{id}/dissolve` | no | no |
|
|
1873
1901
|
|
|
1902
|
+
### organization.effectiveSpec
|
|
1903
|
+
|
|
1904
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1905
|
+
|---|---|---|---|---|
|
|
1906
|
+
| retrieve | GET | `/organization/v1/effective_spec` | no | no |
|
|
1907
|
+
|
|
1874
1908
|
### organization.events
|
|
1875
1909
|
|
|
1876
1910
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2020,6 +2054,41 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2020
2054
|
|---|---|---|---|---|
|
|
2021
2055
|
| create | POST | `/organization/v1/positions/{id}/unfreeze` | no | no |
|
|
2022
2056
|
|
|
2057
|
+
### organization.reconcile
|
|
2058
|
+
|
|
2059
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2060
|
+
|---|---|---|---|---|
|
|
2061
|
+
| pause | POST | `/organization/v1/reconcile/pause` | no | no |
|
|
2062
|
+
| resume | POST | `/organization/v1/reconcile/resume` | no | no |
|
|
2063
|
+
| retrievePlan | GET | `/organization/v1/reconcile/plan` | no | no |
|
|
2064
|
+
|
|
2065
|
+
### organization.reconcile.run
|
|
2066
|
+
|
|
2067
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2068
|
+
|---|---|---|---|---|
|
|
2069
|
+
| create | POST | `/organization/v1/reconcile/run` | no | no |
|
|
2070
|
+
|
|
2071
|
+
### organization.reconcile.status
|
|
2072
|
+
|
|
2073
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2074
|
+
|---|---|---|---|---|
|
|
2075
|
+
| list | GET | `/organization/v1/reconcile/status` | no | no |
|
|
2076
|
+
|
|
2077
|
+
### organization.specs
|
|
2078
|
+
|
|
2079
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2080
|
+
|---|---|---|---|---|
|
|
2081
|
+
| list | GET | `/organization/v1/specs` | no | no |
|
|
2082
|
+
| retrieve | GET | `/organization/v1/specs/{kind}/{id}` | no | no |
|
|
2083
|
+
| retrieveDiff | GET | `/organization/v1/specs/{kind}/{id}/diff` | no | no |
|
|
2084
|
+
| update | PUT | `/organization/v1/specs/{kind}/{id}` | no | no |
|
|
2085
|
+
|
|
2086
|
+
### organization.specs.revisions
|
|
2087
|
+
|
|
2088
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2089
|
+
|---|---|---|---|---|
|
|
2090
|
+
| list | GET | `/organization/v1/specs/{kind}/{id}/revisions` | no | no |
|
|
2091
|
+
|
|
2023
2092
|
### organization.usage
|
|
2024
2093
|
|
|
2025
2094
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2045,7 +2114,9 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2045
2114
|
|
|
2046
2115
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2047
2116
|
|---|---|---|---|---|
|
|
2117
|
+
| retrieveCompare | GET | `/registry/v1/packages/{package_id}/git/compare` | no | no |
|
|
2048
2118
|
| retrieveLog | GET | `/registry/v1/packages/{package_id}/git/log` | no | no |
|
|
2119
|
+
| retrieveResolve | GET | `/registry/v1/packages/{package_id}/git/resolve` | no | no |
|
|
2049
2120
|
|
|
2050
2121
|
### registry.packages.git.commits
|
|
2051
2122
|
|
|
@@ -2059,11 +2130,24 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2059
2130
|
|---|---|---|---|---|
|
|
2060
2131
|
| retrieve | GET | `/registry/v1/packages/{package_id}/git/files/{path}` | no | no |
|
|
2061
2132
|
|
|
2133
|
+
### registry.packages.git.refs
|
|
2134
|
+
|
|
2135
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2136
|
+
|---|---|---|---|---|
|
|
2137
|
+
| list | GET | `/registry/v1/packages/{package_id}/git/refs` | no | no |
|
|
2138
|
+
|
|
2062
2139
|
### registry.packages.git.trees
|
|
2063
2140
|
|
|
2064
2141
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2065
2142
|
|---|---|---|---|---|
|
|
2066
2143
|
| retrieve | GET | `/registry/v1/packages/{package_id}/git/trees/{sha}` | no | no |
|
|
2144
|
+
| retrieveRecursive | GET | `/registry/v1/packages/{package_id}/git/trees/{sha}/recursive` | no | no |
|
|
2145
|
+
|
|
2146
|
+
### registry.packages.gitCredential
|
|
2147
|
+
|
|
2148
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2149
|
+
|---|---|---|---|---|
|
|
2150
|
+
| create | POST | `/registry/v1/packages/{package_id}/git-credential` | no | no |
|
|
2067
2151
|
|
|
2068
2152
|
### registry.packages.installations
|
|
2069
2153
|
|
|
@@ -2112,6 +2196,33 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2112
2196
|
|
|
2113
2197
|
## sandbox
|
|
2114
2198
|
|
|
2199
|
+
### sandbox.byod.devices
|
|
2200
|
+
|
|
2201
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2202
|
+
|---|---|---|---|---|
|
|
2203
|
+
| list | GET | `/sandbox/v1/byod/devices` | no | no |
|
|
2204
|
+
| retrieve | GET | `/sandbox/v1/byod/devices/{deviceID}` | no | no |
|
|
2205
|
+
| update | PATCH | `/sandbox/v1/byod/devices/{deviceID}` | no | no |
|
|
2206
|
+
|
|
2207
|
+
### sandbox.byod.devices.disconnect
|
|
2208
|
+
|
|
2209
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2210
|
+
|---|---|---|---|---|
|
|
2211
|
+
| create | POST | `/sandbox/v1/byod/devices/{deviceID}/disconnect` | no | no |
|
|
2212
|
+
|
|
2213
|
+
### sandbox.byod.pairings
|
|
2214
|
+
|
|
2215
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2216
|
+
|---|---|---|---|---|
|
|
2217
|
+
| create | POST | `/sandbox/v1/byod/pairings` | no | no |
|
|
2218
|
+
| retrieve | GET | `/sandbox/v1/byod/pairings/{code}` | no | no |
|
|
2219
|
+
|
|
2220
|
+
### sandbox.byod.pairings.claim
|
|
2221
|
+
|
|
2222
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2223
|
+
|---|---|---|---|---|
|
|
2224
|
+
| create | POST | `/sandbox/v1/byod/pairings/{code}/claim` | no | no |
|
|
2225
|
+
|
|
2115
2226
|
### sandbox.events.sandboxes
|
|
2116
2227
|
|
|
2117
2228
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2122,6 +2233,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2122
2233
|
|
|
2123
2234
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2124
2235
|
|---|---|---|---|---|
|
|
2236
|
+
| act | POST | `/sandbox/v1/sandboxes/{sandboxID}/act` | no | no |
|
|
2125
2237
|
| connect | POST | `/sandbox/v1/sandboxes/{sandboxID}/connect` | no | no |
|
|
2126
2238
|
| create | POST | `/sandbox/v1/sandboxes` | no | no |
|
|
2127
2239
|
| delete | DELETE | `/sandbox/v1/sandboxes/{sandboxID}` | no | no |
|
|
@@ -2666,6 +2778,8 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2666
2778
|
|---|---|
|
|
2667
2779
|
| agent.agents.updateEmbedPolicy | The embed policy is a singleton of the agent; POST updates it in part, so it pairs with retrieveEmbedPolicy as agents.updateEmbedPolicy rather than a nested embedPolicy collection create. |
|
|
2668
2780
|
| agent.agents.events.send | ADR-123 (#1550): the agent-subject door fires the session events operation, so it takes the same product verb as sessions.events.send; the path alone would derive events.create. |
|
|
2781
|
+
| 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. |
|
|
2782
|
+
| 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. |
|
|
2669
2783
|
| agent.sessions.events.send | Events submit session input; the product verb is send rather than create. |
|
|
2670
2784
|
| automation.hooks.send | Delivers a payload to a trigger's secret webhook URL; it sends an event rather than updating a hook resource. |
|
|
2671
2785
|
| automation.scripts.distTags.set | A dist-tag assigns a version to a name; use npm vocabulary set rather than update. |
|
|
@@ -2714,6 +2828,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2714
2828
|
| 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. |
|
|
2715
2829
|
| 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. |
|
|
2716
2830
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
2831
|
+
| 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. |
|
|
2717
2832
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
2718
2833
|
| sandbox.sandboxes.files.remove | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
2719
2834
|
| sandbox.sandboxes.files.read | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|