@deepraxis/sdk 0.1.1-dev.1571058 → 0.1.1-dev.161a576
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 +37 -1
- package/README.md +5 -4
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +89 -21
- package/dist/generated/sdk.gen.js +201 -20
- package/dist/generated/types.gen.d.ts +1537 -110
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +636 -32
- package/dist/resources.generated.d.ts +30 -2
- package/dist/resources.generated.js +21 -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`. 888 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
|
|
|
@@ -114,6 +114,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
114
114
|
| list | GET | `/agent/v1/computers/{computer_id}/files` | no | no |
|
|
115
115
|
| retrieveContent | GET | `/agent/v1/computers/{computer_id}/files/content` | no | no |
|
|
116
116
|
| retrievePreview | GET | `/agent/v1/computers/{computer_id}/files/preview` | no | no |
|
|
117
|
+
| updateContent | PUT | `/agent/v1/computers/{computer_id}/files/content` | no | no |
|
|
117
118
|
|
|
118
119
|
### agent.computers.files.convert
|
|
119
120
|
|
|
@@ -1077,6 +1078,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1077
1078
|
|
|
1078
1079
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1079
1080
|
|---|---|---|---|---|
|
|
1081
|
+
| create | POST | `/devops/v1/projects` | no | no |
|
|
1080
1082
|
| list | GET | `/devops/v1/projects` | no | no |
|
|
1081
1083
|
| retrieve | GET | `/devops/v1/projects/{id}` | no | no |
|
|
1082
1084
|
| retrieveTestCatalog | GET | `/devops/v1/projects/{project}/test-catalog` | no | no |
|
|
@@ -1090,6 +1092,18 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1090
1092
|
| create | POST | `/devops/v1/projects/{project}/changes` | no | no |
|
|
1091
1093
|
| list | GET | `/devops/v1/projects/{project}/changes` | no | no |
|
|
1092
1094
|
|
|
1095
|
+
### devops.projects.cleanups
|
|
1096
|
+
|
|
1097
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1098
|
+
|---|---|---|---|---|
|
|
1099
|
+
| list | GET | `/devops/v1/projects/{project}/cleanups` | no | no |
|
|
1100
|
+
|
|
1101
|
+
### devops.projects.defaultBranch
|
|
1102
|
+
|
|
1103
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1104
|
+
|---|---|---|---|---|
|
|
1105
|
+
| initialize | POST | `/devops/v1/projects/{id}/default-branch:initialize` | no | no |
|
|
1106
|
+
|
|
1093
1107
|
### devops.projects.environments
|
|
1094
1108
|
|
|
1095
1109
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1210,6 +1224,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1210
1224
|
|---|---|---|---|---|
|
|
1211
1225
|
| approve | POST | `/devops/v1/promotions/{id}:approve` | no | no |
|
|
1212
1226
|
| cancel | POST | `/devops/v1/promotions/{id}:cancel` | no | no |
|
|
1227
|
+
| checkoutCredential | POST | `/devops/v1/promotions/{id}:checkoutCredential` | no | no |
|
|
1213
1228
|
| conclude | POST | `/devops/v1/promotions/{id}:conclude` | no | no |
|
|
1214
1229
|
| create | POST | `/devops/v1/promotions` | no | no |
|
|
1215
1230
|
| retrieve | GET | `/devops/v1/promotions/{id}` | no | no |
|
|
@@ -1231,6 +1246,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1231
1246
|
| rerunGate | POST | `/devops/v1/pull-requests/{id}:rerunGate` | no | no |
|
|
1232
1247
|
| retrieve | GET | `/devops/v1/pull-requests/{id}` | no | no |
|
|
1233
1248
|
|
|
1249
|
+
### devops.pullRequests.reviews
|
|
1250
|
+
|
|
1251
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1252
|
+
|---|---|---|---|---|
|
|
1253
|
+
| create | POST | `/devops/v1/pull-requests/{id}/reviews` | no | no |
|
|
1254
|
+
|
|
1234
1255
|
### devops.releases
|
|
1235
1256
|
|
|
1236
1257
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2061,6 +2082,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2061
2082
|
|---|---|---|---|---|
|
|
2062
2083
|
| list | GET | `/organization/v1/reconcile/status` | no | no |
|
|
2063
2084
|
|
|
2085
|
+
### organization.specSchema
|
|
2086
|
+
|
|
2087
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2088
|
+
|---|---|---|---|---|
|
|
2089
|
+
| retrieve | GET | `/organization/v1/spec_schema` | no | no |
|
|
2090
|
+
|
|
2064
2091
|
### organization.specs
|
|
2065
2092
|
|
|
2066
2093
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2101,7 +2128,9 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2101
2128
|
|
|
2102
2129
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2103
2130
|
|---|---|---|---|---|
|
|
2131
|
+
| retrieveCompare | GET | `/registry/v1/packages/{package_id}/git/compare` | no | no |
|
|
2104
2132
|
| retrieveLog | GET | `/registry/v1/packages/{package_id}/git/log` | no | no |
|
|
2133
|
+
| retrieveResolve | GET | `/registry/v1/packages/{package_id}/git/resolve` | no | no |
|
|
2105
2134
|
|
|
2106
2135
|
### registry.packages.git.commits
|
|
2107
2136
|
|
|
@@ -2115,11 +2144,18 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2115
2144
|
|---|---|---|---|---|
|
|
2116
2145
|
| retrieve | GET | `/registry/v1/packages/{package_id}/git/files/{path}` | no | no |
|
|
2117
2146
|
|
|
2147
|
+
### registry.packages.git.refs
|
|
2148
|
+
|
|
2149
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2150
|
+
|---|---|---|---|---|
|
|
2151
|
+
| list | GET | `/registry/v1/packages/{package_id}/git/refs` | no | no |
|
|
2152
|
+
|
|
2118
2153
|
### registry.packages.git.trees
|
|
2119
2154
|
|
|
2120
2155
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2121
2156
|
|---|---|---|---|---|
|
|
2122
2157
|
| retrieve | GET | `/registry/v1/packages/{package_id}/git/trees/{sha}` | no | no |
|
|
2158
|
+
| retrieveRecursive | GET | `/registry/v1/packages/{package_id}/git/trees/{sha}/recursive` | no | no |
|
|
2123
2159
|
|
|
2124
2160
|
### registry.packages.gitCredential
|
|
2125
2161
|
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ The official TypeScript SDK for [Praxis](https://deepraxis.com), the cloud where
|
|
|
10
10
|
[](https://bundlephobia.com/package/@deepraxis/sdk)
|
|
11
11
|
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
12
12
|
|
|
13
|
-
[Website](https://deepraxis.com) · [Documentation](https://docs.deepraxis.com) · [API reference](https://docs.deepraxis.com/
|
|
13
|
+
[Website](https://deepraxis.com) · [Documentation](https://docs.deepraxis.com) · [API reference](https://docs.deepraxis.com/api) · [Console](https://console.deepraxis.com)
|
|
14
14
|
|
|
15
15
|
</div>
|
|
16
16
|
|
|
@@ -262,13 +262,14 @@ export default async (input: { prompt: string }) => {
|
|
|
262
262
|
|
|
263
263
|
Keep your code and point the official SDK at Praxis by changing `baseURL`, for example
|
|
264
264
|
`https://api.deepraxis.com/openai/v1` for the OpenAI SDK. The
|
|
265
|
-
[
|
|
266
|
-
Anthropic
|
|
265
|
+
[OpenAI-compatible](https://docs.deepraxis.com/en/developers/model/guides/openai-compatible) and
|
|
266
|
+
[Anthropic-compatible](https://docs.deepraxis.com/en/developers/model/guides/anthropic-compatible)
|
|
267
|
+
guides have the details. This SDK covers what those don't: agents,
|
|
267
268
|
sandboxes, search, data, automation and the rest of the platform.
|
|
268
269
|
|
|
269
270
|
## Resources
|
|
270
271
|
|
|
271
|
-
- [Documentation](https://docs.deepraxis.com) and [API reference](https://docs.deepraxis.com/
|
|
272
|
+
- [Documentation](https://docs.deepraxis.com) and [API reference](https://docs.deepraxis.com/api)
|
|
272
273
|
- [METHODS.md](https://unpkg.com/@deepraxis/sdk/METHODS.md): every method, its HTTP route, and whether it streams or paginates
|
|
273
274
|
- [Praxis CLI](https://www.npmjs.com/package/@deepraxis/cli): the same API from your terminal
|
|
274
275
|
|