@deepraxis/sdk 0.1.1-dev.b4438f4 → 0.1.1-dev.b4fa9b9
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 +142 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +275 -5
- package/dist/generated/sdk.gen.js +746 -4
- package/dist/generated/types.gen.d.ts +5733 -293
- package/dist/operations.generated.d.ts +35 -19629
- package/dist/operations.generated.js +1981 -249
- package/dist/resources.generated.d.ts +83 -0
- package/dist/resources.generated.js +83 -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`. 665 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
|
|
|
@@ -878,12 +878,78 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
878
878
|
|
|
879
879
|
## devops
|
|
880
880
|
|
|
881
|
+
### devops.environments.checkpoints
|
|
882
|
+
|
|
883
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
884
|
+
|---|---|---|---|---|
|
|
885
|
+
| list | GET | `/devops/v1/environments/{id}/checkpoints` | no | no |
|
|
886
|
+
|
|
887
|
+
### devops.flags
|
|
888
|
+
|
|
889
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
890
|
+
|---|---|---|---|---|
|
|
891
|
+
| archive | POST | `/devops/v1/flags/{id}:archive` | no | no |
|
|
892
|
+
| conclude | POST | `/devops/v1/flags/{id}:conclude` | no | no |
|
|
893
|
+
| retrieve | GET | `/devops/v1/flags/{id}` | no | no |
|
|
894
|
+
| update | PATCH | `/devops/v1/flags/{id}` | no | no |
|
|
895
|
+
|
|
896
|
+
### devops.flags.environments
|
|
897
|
+
|
|
898
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
899
|
+
|---|---|---|---|---|
|
|
900
|
+
| update | PATCH | `/devops/v1/flags/{id}/environments/{environment}` | no | no |
|
|
901
|
+
|
|
902
|
+
### devops.progressiveRollouts
|
|
903
|
+
|
|
904
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
905
|
+
|---|---|---|---|---|
|
|
906
|
+
| create | POST | `/devops/v1/progressive-rollouts` | no | no |
|
|
907
|
+
| pause | POST | `/devops/v1/progressive-rollouts/{id}:pause` | no | no |
|
|
908
|
+
| resume | POST | `/devops/v1/progressive-rollouts/{id}:resume` | no | no |
|
|
909
|
+
| retrieve | GET | `/devops/v1/progressive-rollouts/{id}` | no | no |
|
|
910
|
+
| rollback | POST | `/devops/v1/progressive-rollouts/{id}:rollback` | no | no |
|
|
911
|
+
|
|
881
912
|
### devops.projects
|
|
882
913
|
|
|
883
914
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
884
915
|
|---|---|---|---|---|
|
|
916
|
+
| list | GET | `/devops/v1/projects` | no | no |
|
|
917
|
+
| retrieve | GET | `/devops/v1/projects/{id}` | no | no |
|
|
885
918
|
| retrieveTestCatalog | GET | `/devops/v1/projects/{project}/test-catalog` | no | no |
|
|
886
919
|
|
|
920
|
+
### devops.projects.environments
|
|
921
|
+
|
|
922
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
923
|
+
|---|---|---|---|---|
|
|
924
|
+
| list | GET | `/devops/v1/projects/{project}/environments` | no | no |
|
|
925
|
+
|
|
926
|
+
### devops.projects.flags
|
|
927
|
+
|
|
928
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
929
|
+
|---|---|---|---|---|
|
|
930
|
+
| create | POST | `/devops/v1/projects/{project}/flags` | no | no |
|
|
931
|
+
| list | GET | `/devops/v1/projects/{project}/flags` | no | no |
|
|
932
|
+
|
|
933
|
+
### devops.projects.promotions
|
|
934
|
+
|
|
935
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
936
|
+
|---|---|---|---|---|
|
|
937
|
+
| list | GET | `/devops/v1/projects/{project}/promotions` | no | no |
|
|
938
|
+
|
|
939
|
+
### devops.projects.releases
|
|
940
|
+
|
|
941
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
942
|
+
|---|---|---|---|---|
|
|
943
|
+
| create | POST | `/devops/v1/projects/{project}/releases` | no | no |
|
|
944
|
+
| list | GET | `/devops/v1/projects/{project}/releases` | no | no |
|
|
945
|
+
|
|
946
|
+
### devops.projects.targets
|
|
947
|
+
|
|
948
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
949
|
+
|---|---|---|---|---|
|
|
950
|
+
| list | GET | `/devops/v1/projects/{project}/targets` | no | no |
|
|
951
|
+
| refresh | POST | `/devops/v1/projects/{project}/targets:refresh` | no | no |
|
|
952
|
+
|
|
887
953
|
### devops.projects.testCases
|
|
888
954
|
|
|
889
955
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -916,6 +982,36 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
916
982
|
|---|---|---|---|---|
|
|
917
983
|
| list | GET | `/devops/v1/projects/{project}/test-suites` | no | no |
|
|
918
984
|
|
|
985
|
+
### devops.promotions
|
|
986
|
+
|
|
987
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
988
|
+
|---|---|---|---|---|
|
|
989
|
+
| approve | POST | `/devops/v1/promotions/{id}:approve` | no | no |
|
|
990
|
+
| cancel | POST | `/devops/v1/promotions/{id}:cancel` | no | no |
|
|
991
|
+
| conclude | POST | `/devops/v1/promotions/{id}:conclude` | no | no |
|
|
992
|
+
| create | POST | `/devops/v1/promotions` | no | no |
|
|
993
|
+
| retrieve | GET | `/devops/v1/promotions/{id}` | no | no |
|
|
994
|
+
| retry | POST | `/devops/v1/promotions/{id}:retry` | no | no |
|
|
995
|
+
|
|
996
|
+
### devops.promotions.rollouts
|
|
997
|
+
|
|
998
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
999
|
+
|---|---|---|---|---|
|
|
1000
|
+
| list | GET | `/devops/v1/promotions/{promotion}/rollouts` | no | no |
|
|
1001
|
+
|
|
1002
|
+
### devops.releases
|
|
1003
|
+
|
|
1004
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1005
|
+
|---|---|---|---|---|
|
|
1006
|
+
| abandon | POST | `/devops/v1/releases/{id}:abandon` | no | no |
|
|
1007
|
+
| retrieve | GET | `/devops/v1/releases/{id}` | no | no |
|
|
1008
|
+
|
|
1009
|
+
### devops.rollouts
|
|
1010
|
+
|
|
1011
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1012
|
+
|---|---|---|---|---|
|
|
1013
|
+
| retrieve | GET | `/devops/v1/rollouts/{id}` | no | no |
|
|
1014
|
+
|
|
919
1015
|
### devops.testCases
|
|
920
1016
|
|
|
921
1017
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1068,12 +1164,25 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1068
1164
|
|
|
1069
1165
|
## media
|
|
1070
1166
|
|
|
1167
|
+
### media.assets
|
|
1168
|
+
|
|
1169
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1170
|
+
|---|---|---|---|---|
|
|
1171
|
+
| edit | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/edits` | no | no |
|
|
1172
|
+
| lineage | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}/lineage` | no | no |
|
|
1173
|
+
|
|
1071
1174
|
### media.generation.capabilities
|
|
1072
1175
|
|
|
1073
1176
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1074
1177
|
|---|---|---|---|---|
|
|
1075
1178
|
| list | GET | `/media/v1/generation/capabilities` | no | no |
|
|
1076
1179
|
|
|
1180
|
+
### media.images
|
|
1181
|
+
|
|
1182
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1183
|
+
|---|---|---|---|---|
|
|
1184
|
+
| generate | POST | `/media/v1/libraries/{library_id}/images/generations` | no | no |
|
|
1185
|
+
|
|
1077
1186
|
### media.libraries
|
|
1078
1187
|
|
|
1079
1188
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1083,6 +1192,8 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1083
1192
|
| list | GET | `/media/v1/libraries` | no | yes |
|
|
1084
1193
|
| restore | POST | `/media/v1/libraries/{library_id}/restore` | no | no |
|
|
1085
1194
|
| retrieve | GET | `/media/v1/libraries/{library_id}` | no | no |
|
|
1195
|
+
| retrieveDefault | GET | `/media/v1/libraries/default` | no | no |
|
|
1196
|
+
| setDefault | PUT | `/media/v1/libraries/default` | no | no |
|
|
1086
1197
|
| update | PATCH | `/media/v1/libraries/{library_id}` | no | no |
|
|
1087
1198
|
|
|
1088
1199
|
### media.libraries.assets
|
|
@@ -1202,6 +1313,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1202
1313
|
| list | GET | `/media/v1/libraries/{library_id}/understandings` | no | yes |
|
|
1203
1314
|
| retrieveFailureSummary | GET | `/media/v1/libraries/{library_id}/understandings/failure_summary` | no | no |
|
|
1204
1315
|
|
|
1316
|
+
### media.videos
|
|
1317
|
+
|
|
1318
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1319
|
+
|---|---|---|---|---|
|
|
1320
|
+
| generate | POST | `/media/v1/libraries/{library_id}/videos/generations` | no | no |
|
|
1321
|
+
|
|
1205
1322
|
## meta
|
|
1206
1323
|
|
|
1207
1324
|
### meta.docs
|
|
@@ -1688,6 +1805,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1688
1805
|
| retrieveReview | GET | `/studio/v1/works/{work}/drafts/{draft}/review` | no | no |
|
|
1689
1806
|
| update | PATCH | `/studio/v1/works/{work}/drafts/{draft}` | no | no |
|
|
1690
1807
|
|
|
1808
|
+
### studio.works.drafts.renditions
|
|
1809
|
+
|
|
1810
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1811
|
+
|---|---|---|---|---|
|
|
1812
|
+
| create | POST | `/studio/v1/works/{work}/drafts/{draft}/renditions` | no | no |
|
|
1813
|
+
|
|
1691
1814
|
### studio.works.drafts.status
|
|
1692
1815
|
|
|
1693
1816
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1702,6 +1825,18 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1702
1825
|
| batchUpdate | POST | `/studio/v1/works/{work}/drafts/{draft}/units:batchUpdate` | no | no |
|
|
1703
1826
|
| create | POST | `/studio/v1/works/{work}/drafts/{draft}/units` | no | no |
|
|
1704
1827
|
|
|
1828
|
+
### studio.works.renditions
|
|
1829
|
+
|
|
1830
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1831
|
+
|---|---|---|---|---|
|
|
1832
|
+
| delete | DELETE | `/studio/v1/works/{work}/renditions/{rendition}` | no | no |
|
|
1833
|
+
| list | GET | `/studio/v1/works/{work}/renditions` | no | no |
|
|
1834
|
+
| publish | POST | `/studio/v1/works/{work}/renditions/{rendition}:publish` | no | no |
|
|
1835
|
+
| render | POST | `/studio/v1/works/{work}/renditions/{rendition}:render` | no | no |
|
|
1836
|
+
| retrieve | GET | `/studio/v1/works/{work}/renditions/{rendition}` | no | no |
|
|
1837
|
+
| retrieveContent | GET | `/studio/v1/works/{work}/renditions/{rendition}/content` | no | no |
|
|
1838
|
+
| update | PATCH | `/studio/v1/works/{work}/renditions/{rendition}` | no | no |
|
|
1839
|
+
|
|
1705
1840
|
### studio.works.units
|
|
1706
1841
|
|
|
1707
1842
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1956,6 +2091,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1956
2091
|
| crm.properties.archive | CRM DELETE archives the resource rather than permanently deleting it; expose the archive product verb. |
|
|
1957
2092
|
| database.databases.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
1958
2093
|
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
2094
|
+
| media.libraries.retrieveDefault | ADR-094 §9 names the default-library read libraries.retrieveDefault; the URL names a reference rather than an id, so the path-derived name would otherwise read as retrieving a library called default. |
|
|
2095
|
+
| media.libraries.setDefault | ADR-094 §9 names the default-library write libraries.setDefault; the URL has no library id because the organization owns one default library, so the path alone cannot say which. |
|
|
2096
|
+
| media.assets.edit | ADR-094 §9 names the edit write assets.edit; an edit acts on the addressed asset and returns a Job, so the URL nesting under a library is a mount rather than an SDK resource level. |
|
|
2097
|
+
| media.assets.lineage | ADR-094 §9 names the edit-tree read assets.lineage; lineage is the product verb and the URL nesting under a library is a mount, not an SDK resource level. |
|
|
2098
|
+
| 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. |
|
|
2099
|
+
| 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. |
|
|
1959
2100
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
1960
2101
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
1961
2102
|
| sandbox.sandboxes.files.remove | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|