@deepraxis/sdk 0.1.1-dev.6454a0a → 0.1.1-dev.66a3ed8
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 +159 -52
- package/dist/generated/sdk.gen.js +242 -51
- package/dist/generated/types.gen.d.ts +2094 -267
- package/dist/operations.generated.d.ts +384 -65
- package/dist/operations.generated.js +472 -64
- package/dist/resources.generated.d.ts +38 -8
- package/dist/resources.generated.js +23 -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 |
|
|
@@ -989,6 +996,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
989
996
|
| retrieve | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
990
997
|
| update | PATCH | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
991
998
|
|
|
999
|
+
### media.libraries.assets.frames
|
|
1000
|
+
|
|
1001
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1002
|
+
|---|---|---|---|---|
|
|
1003
|
+
| create | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/frames` | no | no |
|
|
1004
|
+
|
|
992
1005
|
### media.libraries.assets.import
|
|
993
1006
|
|
|
994
1007
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1032,12 +1045,26 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1032
1045
|
|---|---|---|---|---|
|
|
1033
1046
|
| list | GET | `/media/v1/libraries/{library_id}/folders` | no | no |
|
|
1034
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
|
+
|
|
1035
1054
|
### media.libraries.jobs
|
|
1036
1055
|
|
|
1037
1056
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1038
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 |
|
|
1039
1060
|
| retrieve | GET | `/media/v1/libraries/{library_id}/jobs/{job_id}` | no | no |
|
|
1040
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
|
+
|
|
1041
1068
|
### media.libraries.purge
|
|
1042
1069
|
|
|
1043
1070
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1068,6 +1095,13 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1068
1095
|
|---|---|---|---|---|
|
|
1069
1096
|
| create | POST | `/media/v1/libraries/{library_id}/search/visual` | no | no |
|
|
1070
1097
|
|
|
1098
|
+
### media.libraries.understandings
|
|
1099
|
+
|
|
1100
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1101
|
+
|---|---|---|---|---|
|
|
1102
|
+
| list | GET | `/media/v1/libraries/{library_id}/understandings` | no | yes |
|
|
1103
|
+
| retrieveFailureSummary | GET | `/media/v1/libraries/{library_id}/understandings/failure_summary` | no | no |
|
|
1104
|
+
|
|
1071
1105
|
## meta
|
|
1072
1106
|
|
|
1073
1107
|
### meta.docs
|