@deepraxis/sdk 0.1.1-dev.1b9ba47 → 0.1.1-dev.1ba76a6
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 +3 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +12 -4
- package/dist/generated/sdk.gen.js +27 -3
- package/dist/generated/types.gen.d.ts +403 -1
- package/dist/operations.generated.js +35 -3
- package/dist/resources.generated.d.ts +60 -0
- package/dist/resources.generated.js +1 -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`. 855 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
|
|
|
@@ -2122,6 +2122,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2122
2122
|
|
|
2123
2123
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2124
2124
|
|---|---|---|---|---|
|
|
2125
|
+
| act | POST | `/sandbox/v1/sandboxes/{sandboxID}/act` | no | no |
|
|
2125
2126
|
| connect | POST | `/sandbox/v1/sandboxes/{sandboxID}/connect` | no | no |
|
|
2126
2127
|
| create | POST | `/sandbox/v1/sandboxes` | no | no |
|
|
2127
2128
|
| delete | DELETE | `/sandbox/v1/sandboxes/{sandboxID}` | no | no |
|
|
@@ -2714,6 +2715,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2714
2715
|
| 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
2716
|
| 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
2717
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
2718
|
+
| 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
2719
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
2718
2720
|
| sandbox.sandboxes.files.remove | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
2719
2721
|
| sandbox.sandboxes.files.read | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|