@deepraxis/sdk 0.1.1-dev.00ed035 → 0.1.1-dev.0ac7a20
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 +22 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +95 -30
- package/dist/generated/sdk.gen.js +150 -29
- package/dist/generated/types.gen.d.ts +1127 -70
- package/dist/operations.generated.d.ts +232 -24
- package/dist/operations.generated.js +289 -23
- package/dist/resources.generated.d.ts +25 -8
- package/dist/resources.generated.js +16 -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`. 531 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
|
|
|
@@ -884,6 +884,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
884
884
|
| complete | POST | `/file/v1/uploads/{upload_id}/complete` | no | no |
|
|
885
885
|
| create | POST | `/file/v1/uploads` | no | no |
|
|
886
886
|
| createSigned | POST | `/file/v1/uploads/signed` | no | no |
|
|
887
|
+
| retrieve | GET | `/file/v1/uploads/{upload_id}` | no | no |
|
|
887
888
|
|
|
888
889
|
### file.uploads.parts
|
|
889
890
|
|
|
@@ -967,6 +968,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
967
968
|
|
|
968
969
|
## media
|
|
969
970
|
|
|
971
|
+
### media.generation.capabilities
|
|
972
|
+
|
|
973
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
974
|
+
|---|---|---|---|---|
|
|
975
|
+
| list | GET | `/media/v1/generation/capabilities` | no | no |
|
|
976
|
+
|
|
970
977
|
### media.libraries
|
|
971
978
|
|
|
972
979
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1038,12 +1045,26 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1038
1045
|
|---|---|---|---|---|
|
|
1039
1046
|
| list | GET | `/media/v1/libraries/{library_id}/folders` | no | no |
|
|
1040
1047
|
|
|
1048
|
+
### media.libraries.generations
|
|
1049
|
+
|
|
1050
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1051
|
+
|---|---|---|---|---|
|
|
1052
|
+
| create | POST | `/media/v1/libraries/{library_id}/generations` | no | no |
|
|
1053
|
+
|
|
1041
1054
|
### media.libraries.jobs
|
|
1042
1055
|
|
|
1043
1056
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1044
1057
|
|---|---|---|---|---|
|
|
1058
|
+
| cancel | POST | `/media/v1/libraries/{library_id}/jobs/{job_id}/cancel` | no | no |
|
|
1059
|
+
| list | GET | `/media/v1/libraries/{library_id}/jobs` | no | yes |
|
|
1045
1060
|
| retrieve | GET | `/media/v1/libraries/{library_id}/jobs/{job_id}` | no | no |
|
|
1046
1061
|
|
|
1062
|
+
### media.libraries.jobs.outputs.save
|
|
1063
|
+
|
|
1064
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1065
|
+
|---|---|---|---|---|
|
|
1066
|
+
| create | POST | `/media/v1/libraries/{library_id}/jobs/{job_id}/outputs/{index}/save` | no | no |
|
|
1067
|
+
|
|
1047
1068
|
### media.libraries.purge
|
|
1048
1069
|
|
|
1049
1070
|
| Method | HTTP | Path | Streaming | Pagination |
|