@deepraxis/sdk 0.1.1-dev.ea9c801 → 0.1.1-dev.ec2a9a1
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 +34 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +145 -44
- package/dist/generated/sdk.gen.js +220 -43
- package/dist/generated/types.gen.d.ts +2048 -494
- package/dist/operations.generated.d.ts +350 -52
- package/dist/operations.generated.js +434 -51
- package/dist/resources.generated.d.ts +37 -8
- package/dist/resources.generated.js +22 -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`. 530 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
|
|
|
@@ -967,6 +967,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
967
967
|
|
|
968
968
|
## media
|
|
969
969
|
|
|
970
|
+
### media.generation.capabilities
|
|
971
|
+
|
|
972
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
973
|
+
|---|---|---|---|---|
|
|
974
|
+
| list | GET | `/media/v1/generation/capabilities` | no | no |
|
|
975
|
+
|
|
970
976
|
### media.libraries
|
|
971
977
|
|
|
972
978
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -989,6 +995,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
989
995
|
| retrieve | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
990
996
|
| update | PATCH | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
991
997
|
|
|
998
|
+
### media.libraries.assets.frames
|
|
999
|
+
|
|
1000
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1001
|
+
|---|---|---|---|---|
|
|
1002
|
+
| create | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/frames` | no | no |
|
|
1003
|
+
|
|
992
1004
|
### media.libraries.assets.import
|
|
993
1005
|
|
|
994
1006
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1032,12 +1044,26 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1032
1044
|
|---|---|---|---|---|
|
|
1033
1045
|
| list | GET | `/media/v1/libraries/{library_id}/folders` | no | no |
|
|
1034
1046
|
|
|
1047
|
+
### media.libraries.generations
|
|
1048
|
+
|
|
1049
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1050
|
+
|---|---|---|---|---|
|
|
1051
|
+
| create | POST | `/media/v1/libraries/{library_id}/generations` | no | no |
|
|
1052
|
+
|
|
1035
1053
|
### media.libraries.jobs
|
|
1036
1054
|
|
|
1037
1055
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1038
1056
|
|---|---|---|---|---|
|
|
1057
|
+
| cancel | POST | `/media/v1/libraries/{library_id}/jobs/{job_id}/cancel` | no | no |
|
|
1058
|
+
| list | GET | `/media/v1/libraries/{library_id}/jobs` | no | yes |
|
|
1039
1059
|
| retrieve | GET | `/media/v1/libraries/{library_id}/jobs/{job_id}` | no | no |
|
|
1040
1060
|
|
|
1061
|
+
### media.libraries.jobs.outputs.save
|
|
1062
|
+
|
|
1063
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1064
|
+
|---|---|---|---|---|
|
|
1065
|
+
| create | POST | `/media/v1/libraries/{library_id}/jobs/{job_id}/outputs/{index}/save` | no | no |
|
|
1066
|
+
|
|
1041
1067
|
### media.libraries.purge
|
|
1042
1068
|
|
|
1043
1069
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1068,6 +1094,13 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1068
1094
|
|---|---|---|---|---|
|
|
1069
1095
|
| create | POST | `/media/v1/libraries/{library_id}/search/visual` | no | no |
|
|
1070
1096
|
|
|
1097
|
+
### media.libraries.understandings
|
|
1098
|
+
|
|
1099
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1100
|
+
|---|---|---|---|---|
|
|
1101
|
+
| list | GET | `/media/v1/libraries/{library_id}/understandings` | no | yes |
|
|
1102
|
+
| retrieveFailureSummary | GET | `/media/v1/libraries/{library_id}/understandings/failure_summary` | no | no |
|
|
1103
|
+
|
|
1071
1104
|
## meta
|
|
1072
1105
|
|
|
1073
1106
|
### meta.docs
|