@deepraxis/sdk 0.2.0-dev.6528e7c → 0.2.0-dev.826472f
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 +35 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +51 -3
- package/dist/generated/sdk.gen.js +113 -2
- package/dist/generated/types.gen.d.ts +1473 -410
- 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 +257 -2
- package/dist/resources.generated.d.ts +56 -0
- package/dist/resources.generated.js +20 -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`. 979 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
|
|
|
@@ -619,6 +619,33 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
619
619
|
|
|
620
620
|
## browser
|
|
621
621
|
|
|
622
|
+
### browser.byob.browsers
|
|
623
|
+
|
|
624
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
625
|
+
|---|---|---|---|---|
|
|
626
|
+
| list | GET | `/browser/v1/byob/browsers` | no | no |
|
|
627
|
+
| retrieve | GET | `/browser/v1/byob/browsers/{browser_id}` | no | no |
|
|
628
|
+
| update | PATCH | `/browser/v1/byob/browsers/{browser_id}` | no | no |
|
|
629
|
+
|
|
630
|
+
### browser.byob.browsers.disconnect
|
|
631
|
+
|
|
632
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
633
|
+
|---|---|---|---|---|
|
|
634
|
+
| create | POST | `/browser/v1/byob/browsers/{browser_id}/disconnect` | no | no |
|
|
635
|
+
|
|
636
|
+
### browser.byob.pairings
|
|
637
|
+
|
|
638
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
639
|
+
|---|---|---|---|---|
|
|
640
|
+
| create | POST | `/browser/v1/byob/pairings` | no | no |
|
|
641
|
+
| retrieve | GET | `/browser/v1/byob/pairings/{code}` | no | no |
|
|
642
|
+
|
|
643
|
+
### browser.byob.pairings.claim
|
|
644
|
+
|
|
645
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
646
|
+
|---|---|---|---|---|
|
|
647
|
+
| create | POST | `/browser/v1/byob/pairings/{code}/claim` | no | no |
|
|
648
|
+
|
|
622
649
|
### browser.connect
|
|
623
650
|
|
|
624
651
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1161,6 +1188,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1161
1188
|
| openPullRequest | POST | `/devops/v1/changes/{id}:openPullRequest` | no | no |
|
|
1162
1189
|
| retrieve | GET | `/devops/v1/changes/{id}` | no | no |
|
|
1163
1190
|
|
|
1191
|
+
### devops.changes.slices
|
|
1192
|
+
|
|
1193
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1194
|
+
|---|---|---|---|---|
|
|
1195
|
+
| create | POST | `/devops/v1/projects/{project}/changes/{change}/slices` | no | no |
|
|
1196
|
+
|
|
1164
1197
|
### devops.connections
|
|
1165
1198
|
|
|
1166
1199
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -3085,6 +3118,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3085
3118
|
| database.kv.keys.update | PATCH changes one field (ttl_ms) of an existing key; update matches tables.update and fields.update in the same domain, and the path-derived name collides with PUT. |
|
|
3086
3119
|
| database.kv.keys.set | PUT writes a whole key value (Redis SET semantics); use the assignment vocabulary set, as dist-tags and vaults do, so update stays the PATCH that changes the TTL. |
|
|
3087
3120
|
| database.table.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
3121
|
+
| devops.changes.slices.create | ticket-4768: the slice belongs to the change, whose other operations (retrieve, abandon, markLastSlice) are devops.changes.*, and the RPC is devops.changes.slices.create; the project in the path is only the mount, so the path alone would derive devops.projects.changes.slices.create and split a change's operations across two namespaces. |
|
|
3088
3122
|
| devops.projects.flags.reportCodeRefs | ADR-125 §4 / #1881: a checkout reports where code names each flag key, so the write is an operation on the project's flags (devops.flags.reportCodeRefs) and returns counts, not a code-refs resource; the path alone would derive a nested codeRefs collection create. |
|
|
3089
3123
|
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
3090
3124
|
| media.libraries.retrieveDefault | ADR-094 §9 names the default-library read libraries.retrieveDefault; the URL names a reference rather than an id, so the path-derived name would otherwise read as retrieving a library called default. |
|