@deepraxis/sdk 0.1.1-dev.d00e6d2 → 0.1.1-dev.d03c066
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 +268 -205
- 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 +287 -177
- package/dist/generated/sdk.gen.js +819 -524
- package/dist/generated/types.gen.d.ts +4904 -2858
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +8120 -7218
- package/dist/resources.generated.d.ts +174 -126
- package/dist/resources.generated.js +156 -117
- 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`. 894 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
|
|
|
@@ -968,12 +969,28 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
968
969
|
| retrieve | GET | `/database/v1/databases/{database_id}` | no | no |
|
|
969
970
|
| update | PATCH | `/database/v1/databases/{database_id}` | no | no |
|
|
970
971
|
|
|
972
|
+
### database.databases.commands
|
|
973
|
+
|
|
974
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
975
|
+
|---|---|---|---|---|
|
|
976
|
+
| execute | POST | `/database/v1/databases/{database_id}/commands` | no | no |
|
|
977
|
+
|
|
971
978
|
### database.databases.events
|
|
972
979
|
|
|
973
980
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
974
981
|
|---|---|---|---|---|
|
|
975
982
|
| list | GET | `/database/v1/databases/{database_id}/events` | no | no |
|
|
976
983
|
|
|
984
|
+
### database.databases.keys
|
|
985
|
+
|
|
986
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
987
|
+
|---|---|---|---|---|
|
|
988
|
+
| delete | DELETE | `/database/v1/databases/{database_id}/keys/{key}` | no | no |
|
|
989
|
+
| list | GET | `/database/v1/databases/{database_id}/keys` | no | yes |
|
|
990
|
+
| retrieve | GET | `/database/v1/databases/{database_id}/keys/{key}` | no | no |
|
|
991
|
+
| set | PUT | `/database/v1/databases/{database_id}/keys/{key}` | no | no |
|
|
992
|
+
| update | PATCH | `/database/v1/databases/{database_id}/keys/{key}` | no | no |
|
|
993
|
+
|
|
977
994
|
### database.databases.purge
|
|
978
995
|
|
|
979
996
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1077,6 +1094,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1077
1094
|
|
|
1078
1095
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1079
1096
|
|---|---|---|---|---|
|
|
1097
|
+
| create | POST | `/devops/v1/projects` | no | no |
|
|
1080
1098
|
| list | GET | `/devops/v1/projects` | no | no |
|
|
1081
1099
|
| retrieve | GET | `/devops/v1/projects/{id}` | no | no |
|
|
1082
1100
|
| retrieveTestCatalog | GET | `/devops/v1/projects/{project}/test-catalog` | no | no |
|
|
@@ -1090,6 +1108,18 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1090
1108
|
| create | POST | `/devops/v1/projects/{project}/changes` | no | no |
|
|
1091
1109
|
| list | GET | `/devops/v1/projects/{project}/changes` | no | no |
|
|
1092
1110
|
|
|
1111
|
+
### devops.projects.cleanups
|
|
1112
|
+
|
|
1113
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1114
|
+
|---|---|---|---|---|
|
|
1115
|
+
| list | GET | `/devops/v1/projects/{project}/cleanups` | no | no |
|
|
1116
|
+
|
|
1117
|
+
### devops.projects.defaultBranch
|
|
1118
|
+
|
|
1119
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1120
|
+
|---|---|---|---|---|
|
|
1121
|
+
| initialize | POST | `/devops/v1/projects/{id}/default-branch:initialize` | no | no |
|
|
1122
|
+
|
|
1093
1123
|
### devops.projects.environments
|
|
1094
1124
|
|
|
1095
1125
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1210,6 +1240,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1210
1240
|
|---|---|---|---|---|
|
|
1211
1241
|
| approve | POST | `/devops/v1/promotions/{id}:approve` | no | no |
|
|
1212
1242
|
| cancel | POST | `/devops/v1/promotions/{id}:cancel` | no | no |
|
|
1243
|
+
| checkoutCredential | POST | `/devops/v1/promotions/{id}:checkoutCredential` | no | no |
|
|
1213
1244
|
| conclude | POST | `/devops/v1/promotions/{id}:conclude` | no | no |
|
|
1214
1245
|
| create | POST | `/devops/v1/promotions` | no | no |
|
|
1215
1246
|
| retrieve | GET | `/devops/v1/promotions/{id}` | no | no |
|
|
@@ -1231,6 +1262,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1231
1262
|
| rerunGate | POST | `/devops/v1/pull-requests/{id}:rerunGate` | no | no |
|
|
1232
1263
|
| retrieve | GET | `/devops/v1/pull-requests/{id}` | no | no |
|
|
1233
1264
|
|
|
1265
|
+
### devops.pullRequests.reviews
|
|
1266
|
+
|
|
1267
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1268
|
+
|---|---|---|---|---|
|
|
1269
|
+
| create | POST | `/devops/v1/pull-requests/{id}/reviews` | no | no |
|
|
1270
|
+
|
|
1234
1271
|
### devops.releases
|
|
1235
1272
|
|
|
1236
1273
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1826,38 +1863,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1826
1863
|
|
|
1827
1864
|
## organization
|
|
1828
1865
|
|
|
1829
|
-
### organization.actors
|
|
1830
|
-
|
|
1831
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1832
|
-
|---|---|---|---|---|
|
|
1833
|
-
| list | GET | `/organization/v1/actors` | no | no |
|
|
1834
|
-
| retrieve | GET | `/organization/v1/actors/{actor}` | no | no |
|
|
1835
|
-
|
|
1836
|
-
### organization.assignments
|
|
1837
|
-
|
|
1838
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1839
|
-
|---|---|---|---|---|
|
|
1840
|
-
| list | GET | `/organization/v1/assignments` | no | no |
|
|
1841
|
-
| retrieve | GET | `/organization/v1/assignments/{id}` | no | no |
|
|
1842
|
-
|
|
1843
|
-
### organization.assignments.makePrimary
|
|
1844
|
-
|
|
1845
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1846
|
-
|---|---|---|---|---|
|
|
1847
|
-
| create | POST | `/organization/v1/assignments/{id}/make_primary` | no | no |
|
|
1848
|
-
|
|
1849
|
-
### organization.assignments.terminate
|
|
1850
|
-
|
|
1851
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1852
|
-
|---|---|---|---|---|
|
|
1853
|
-
| create | POST | `/organization/v1/assignments/{id}/terminate` | no | no |
|
|
1854
|
-
|
|
1855
|
-
### organization.assignments.transfer
|
|
1856
|
-
|
|
1857
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1858
|
-
|---|---|---|---|---|
|
|
1859
|
-
| create | POST | `/organization/v1/assignments/{id}/transfer` | no | no |
|
|
1860
|
-
|
|
1861
1866
|
### organization.charges
|
|
1862
1867
|
|
|
1863
1868
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1870,28 +1875,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1870
1875
|
|---|---|---|---|---|
|
|
1871
1876
|
| list | GET | `/organization/v1/costs` | no | no |
|
|
1872
1877
|
|
|
1873
|
-
### organization.departments
|
|
1874
|
-
|
|
1875
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1876
|
-
|---|---|---|---|---|
|
|
1877
|
-
| create | POST | `/organization/v1/departments` | no | no |
|
|
1878
|
-
| list | GET | `/organization/v1/departments` | no | no |
|
|
1879
|
-
| retrieve | GET | `/organization/v1/departments/{id}` | no | no |
|
|
1880
|
-
| update | PATCH | `/organization/v1/departments/{id}` | no | no |
|
|
1881
|
-
| updateCharter | PUT | `/organization/v1/departments/{id}/charter` | no | no |
|
|
1882
|
-
|
|
1883
|
-
### organization.departments.dissolve
|
|
1884
|
-
|
|
1885
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1886
|
-
|---|---|---|---|---|
|
|
1887
|
-
| create | POST | `/organization/v1/departments/{id}/dissolve` | no | no |
|
|
1888
|
-
|
|
1889
|
-
### organization.effectiveSpec
|
|
1890
|
-
|
|
1891
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1892
|
-
|---|---|---|---|---|
|
|
1893
|
-
| retrieve | GET | `/organization/v1/effective_spec` | no | no |
|
|
1894
|
-
|
|
1895
1878
|
### organization.events
|
|
1896
1879
|
|
|
1897
1880
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1920,162 +1903,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1920
1903
|
| create | POST | `/organization/v1/feedback/{id}/messages` | no | no |
|
|
1921
1904
|
| list | GET | `/organization/v1/feedback/{id}/messages` | no | no |
|
|
1922
1905
|
|
|
1923
|
-
### organization.jobs
|
|
1924
|
-
|
|
1925
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1926
|
-
|---|---|---|---|---|
|
|
1927
|
-
| create | POST | `/organization/v1/jobs` | no | no |
|
|
1928
|
-
| list | GET | `/organization/v1/jobs` | no | no |
|
|
1929
|
-
| retrieve | GET | `/organization/v1/jobs/{id}` | no | no |
|
|
1930
|
-
| update | PATCH | `/organization/v1/jobs/{id}` | no | no |
|
|
1931
|
-
|
|
1932
|
-
### organization.jobs.retire
|
|
1933
|
-
|
|
1934
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1935
|
-
|---|---|---|---|---|
|
|
1936
|
-
| create | POST | `/organization/v1/jobs/{id}/retire` | no | no |
|
|
1937
|
-
|
|
1938
|
-
### organization.keyResults
|
|
1939
|
-
|
|
1940
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1941
|
-
|---|---|---|---|---|
|
|
1942
|
-
| create | POST | `/organization/v1/key_results` | no | no |
|
|
1943
|
-
| list | GET | `/organization/v1/key_results` | no | no |
|
|
1944
|
-
| retrieve | GET | `/organization/v1/key_results/{id}` | no | no |
|
|
1945
|
-
| update | PATCH | `/organization/v1/key_results/{id}` | no | no |
|
|
1946
|
-
|
|
1947
|
-
### organization.ladders
|
|
1948
|
-
|
|
1949
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1950
|
-
|---|---|---|---|---|
|
|
1951
|
-
| create | POST | `/organization/v1/ladders` | no | no |
|
|
1952
|
-
| list | GET | `/organization/v1/ladders` | no | no |
|
|
1953
|
-
| retrieve | GET | `/organization/v1/ladders/{id}` | no | no |
|
|
1954
|
-
| update | PUT | `/organization/v1/ladders/{id}` | no | no |
|
|
1955
|
-
|
|
1956
1906
|
### organization.members
|
|
1957
1907
|
|
|
1958
1908
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1959
1909
|
|---|---|---|---|---|
|
|
1960
1910
|
| list | GET | `/organization/v1/members` | no | no |
|
|
1961
1911
|
|
|
1962
|
-
### organization.objectives
|
|
1963
|
-
|
|
1964
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1965
|
-
|---|---|---|---|---|
|
|
1966
|
-
| create | POST | `/organization/v1/objectives` | no | no |
|
|
1967
|
-
| list | GET | `/organization/v1/objectives` | no | no |
|
|
1968
|
-
| retrieve | GET | `/organization/v1/objectives/{id}` | no | no |
|
|
1969
|
-
| update | PATCH | `/organization/v1/objectives/{id}` | no | no |
|
|
1970
|
-
|
|
1971
|
-
### organization.objectives.grade
|
|
1972
|
-
|
|
1973
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1974
|
-
|---|---|---|---|---|
|
|
1975
|
-
| create | POST | `/organization/v1/objectives/{id}/grade` | no | no |
|
|
1976
|
-
|
|
1977
|
-
### organization.objectives.parents
|
|
1978
|
-
|
|
1979
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1980
|
-
|---|---|---|---|---|
|
|
1981
|
-
| update | PUT | `/organization/v1/objectives/{id}/parents` | no | no |
|
|
1982
|
-
|
|
1983
|
-
### organization.periods
|
|
1984
|
-
|
|
1985
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1986
|
-
|---|---|---|---|---|
|
|
1987
|
-
| create | POST | `/organization/v1/periods` | no | no |
|
|
1988
|
-
| list | GET | `/organization/v1/periods` | no | no |
|
|
1989
|
-
| retrieve | GET | `/organization/v1/periods/{id}` | no | no |
|
|
1990
|
-
|
|
1991
|
-
### organization.periods.close
|
|
1992
|
-
|
|
1993
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1994
|
-
|---|---|---|---|---|
|
|
1995
|
-
| create | POST | `/organization/v1/periods/{id}/close` | no | no |
|
|
1996
|
-
|
|
1997
|
-
### organization.positions
|
|
1998
|
-
|
|
1999
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2000
|
-
|---|---|---|---|---|
|
|
2001
|
-
| create | POST | `/organization/v1/positions` | no | no |
|
|
2002
|
-
| list | GET | `/organization/v1/positions` | no | no |
|
|
2003
|
-
| retrieve | GET | `/organization/v1/positions/{id}` | no | no |
|
|
2004
|
-
| update | PATCH | `/organization/v1/positions/{id}` | no | no |
|
|
2005
|
-
| updateLevel | PUT | `/organization/v1/positions/{id}/level` | no | no |
|
|
2006
|
-
| updateManager | PUT | `/organization/v1/positions/{id}/manager` | no | no |
|
|
2007
|
-
|
|
2008
|
-
### organization.positions.close
|
|
2009
|
-
|
|
2010
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2011
|
-
|---|---|---|---|---|
|
|
2012
|
-
| create | POST | `/organization/v1/positions/{id}/close` | no | no |
|
|
2013
|
-
|
|
2014
|
-
### organization.positions.designateHead
|
|
2015
|
-
|
|
2016
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2017
|
-
|---|---|---|---|---|
|
|
2018
|
-
| create | POST | `/organization/v1/positions/{id}/designate_head` | no | no |
|
|
2019
|
-
|
|
2020
|
-
### organization.positions.freeze
|
|
2021
|
-
|
|
2022
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2023
|
-
|---|---|---|---|---|
|
|
2024
|
-
| create | POST | `/organization/v1/positions/{id}/freeze` | no | no |
|
|
2025
|
-
|
|
2026
|
-
### organization.positions.hire
|
|
2027
|
-
|
|
2028
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2029
|
-
|---|---|---|---|---|
|
|
2030
|
-
| create | POST | `/organization/v1/positions/{id}/hire` | no | no |
|
|
2031
|
-
|
|
2032
|
-
### organization.positions.replaceHolder
|
|
2033
|
-
|
|
2034
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2035
|
-
|---|---|---|---|---|
|
|
2036
|
-
| create | POST | `/organization/v1/positions/{id}/replace_holder` | no | no |
|
|
2037
|
-
|
|
2038
|
-
### organization.positions.unfreeze
|
|
2039
|
-
|
|
2040
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2041
|
-
|---|---|---|---|---|
|
|
2042
|
-
| create | POST | `/organization/v1/positions/{id}/unfreeze` | no | no |
|
|
2043
|
-
|
|
2044
|
-
### organization.reconcile
|
|
2045
|
-
|
|
2046
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2047
|
-
|---|---|---|---|---|
|
|
2048
|
-
| pause | POST | `/organization/v1/reconcile/pause` | no | no |
|
|
2049
|
-
| resume | POST | `/organization/v1/reconcile/resume` | no | no |
|
|
2050
|
-
| retrievePlan | GET | `/organization/v1/reconcile/plan` | no | no |
|
|
2051
|
-
|
|
2052
|
-
### organization.reconcile.run
|
|
2053
|
-
|
|
2054
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2055
|
-
|---|---|---|---|---|
|
|
2056
|
-
| create | POST | `/organization/v1/reconcile/run` | no | no |
|
|
2057
|
-
|
|
2058
|
-
### organization.reconcile.status
|
|
2059
|
-
|
|
2060
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2061
|
-
|---|---|---|---|---|
|
|
2062
|
-
| list | GET | `/organization/v1/reconcile/status` | no | no |
|
|
2063
|
-
|
|
2064
|
-
### organization.specs
|
|
2065
|
-
|
|
2066
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2067
|
-
|---|---|---|---|---|
|
|
2068
|
-
| list | GET | `/organization/v1/specs` | no | no |
|
|
2069
|
-
| retrieve | GET | `/organization/v1/specs/{kind}/{id}` | no | no |
|
|
2070
|
-
| retrieveDiff | GET | `/organization/v1/specs/{kind}/{id}/diff` | no | no |
|
|
2071
|
-
| update | PUT | `/organization/v1/specs/{kind}/{id}` | no | no |
|
|
2072
|
-
|
|
2073
|
-
### organization.specs.revisions
|
|
2074
|
-
|
|
2075
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2076
|
-
|---|---|---|---|---|
|
|
2077
|
-
| list | GET | `/organization/v1/specs/{kind}/{id}/revisions` | no | no |
|
|
2078
|
-
|
|
2079
1912
|
### organization.usage
|
|
2080
1913
|
|
|
2081
1914
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2101,7 +1934,9 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2101
1934
|
|
|
2102
1935
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2103
1936
|
|---|---|---|---|---|
|
|
1937
|
+
| retrieveCompare | GET | `/registry/v1/packages/{package_id}/git/compare` | no | no |
|
|
2104
1938
|
| retrieveLog | GET | `/registry/v1/packages/{package_id}/git/log` | no | no |
|
|
1939
|
+
| retrieveResolve | GET | `/registry/v1/packages/{package_id}/git/resolve` | no | no |
|
|
2105
1940
|
|
|
2106
1941
|
### registry.packages.git.commits
|
|
2107
1942
|
|
|
@@ -2115,11 +1950,24 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2115
1950
|
|---|---|---|---|---|
|
|
2116
1951
|
| retrieve | GET | `/registry/v1/packages/{package_id}/git/files/{path}` | no | no |
|
|
2117
1952
|
|
|
1953
|
+
### registry.packages.git.refs
|
|
1954
|
+
|
|
1955
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1956
|
+
|---|---|---|---|---|
|
|
1957
|
+
| list | GET | `/registry/v1/packages/{package_id}/git/refs` | no | no |
|
|
1958
|
+
|
|
2118
1959
|
### registry.packages.git.trees
|
|
2119
1960
|
|
|
2120
1961
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2121
1962
|
|---|---|---|---|---|
|
|
2122
1963
|
| retrieve | GET | `/registry/v1/packages/{package_id}/git/trees/{sha}` | no | no |
|
|
1964
|
+
| retrieveRecursive | GET | `/registry/v1/packages/{package_id}/git/trees/{sha}/recursive` | no | no |
|
|
1965
|
+
|
|
1966
|
+
### registry.packages.gitCredential
|
|
1967
|
+
|
|
1968
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1969
|
+
|---|---|---|---|---|
|
|
1970
|
+
| create | POST | `/registry/v1/packages/{package_id}/git-credential` | no | no |
|
|
2123
1971
|
|
|
2124
1972
|
### registry.packages.installations
|
|
2125
1973
|
|
|
@@ -2744,6 +2592,218 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2744
2592
|
|---|---|---|---|---|
|
|
2745
2593
|
| create | POST | `/vault/v1/vaults/{vault_id}/secrets/{secret}/validate` | no | no |
|
|
2746
2594
|
|
|
2595
|
+
## workforce
|
|
2596
|
+
|
|
2597
|
+
### workforce.actors
|
|
2598
|
+
|
|
2599
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2600
|
+
|---|---|---|---|---|
|
|
2601
|
+
| list | GET | `/workforce/v1/actors` | no | no |
|
|
2602
|
+
| retrieve | GET | `/workforce/v1/actors/{actor}` | no | no |
|
|
2603
|
+
|
|
2604
|
+
### workforce.assignments
|
|
2605
|
+
|
|
2606
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2607
|
+
|---|---|---|---|---|
|
|
2608
|
+
| list | GET | `/workforce/v1/assignments` | no | no |
|
|
2609
|
+
| retrieve | GET | `/workforce/v1/assignments/{id}` | no | no |
|
|
2610
|
+
|
|
2611
|
+
### workforce.assignments.makePrimary
|
|
2612
|
+
|
|
2613
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2614
|
+
|---|---|---|---|---|
|
|
2615
|
+
| create | POST | `/workforce/v1/assignments/{id}/make_primary` | no | no |
|
|
2616
|
+
|
|
2617
|
+
### workforce.assignments.terminate
|
|
2618
|
+
|
|
2619
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2620
|
+
|---|---|---|---|---|
|
|
2621
|
+
| create | POST | `/workforce/v1/assignments/{id}/terminate` | no | no |
|
|
2622
|
+
|
|
2623
|
+
### workforce.assignments.transfer
|
|
2624
|
+
|
|
2625
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2626
|
+
|---|---|---|---|---|
|
|
2627
|
+
| create | POST | `/workforce/v1/assignments/{id}/transfer` | no | no |
|
|
2628
|
+
|
|
2629
|
+
### workforce.departments
|
|
2630
|
+
|
|
2631
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2632
|
+
|---|---|---|---|---|
|
|
2633
|
+
| create | POST | `/workforce/v1/departments` | no | no |
|
|
2634
|
+
| list | GET | `/workforce/v1/departments` | no | no |
|
|
2635
|
+
| retrieve | GET | `/workforce/v1/departments/{id}` | no | no |
|
|
2636
|
+
| update | PATCH | `/workforce/v1/departments/{id}` | no | no |
|
|
2637
|
+
| updateCharter | PUT | `/workforce/v1/departments/{id}/charter` | no | no |
|
|
2638
|
+
|
|
2639
|
+
### workforce.departments.dissolve
|
|
2640
|
+
|
|
2641
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2642
|
+
|---|---|---|---|---|
|
|
2643
|
+
| create | POST | `/workforce/v1/departments/{id}/dissolve` | no | no |
|
|
2644
|
+
|
|
2645
|
+
### workforce.effectiveSpec
|
|
2646
|
+
|
|
2647
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2648
|
+
|---|---|---|---|---|
|
|
2649
|
+
| retrieve | GET | `/workforce/v1/effective_spec` | no | no |
|
|
2650
|
+
|
|
2651
|
+
### workforce.jobs
|
|
2652
|
+
|
|
2653
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2654
|
+
|---|---|---|---|---|
|
|
2655
|
+
| create | POST | `/workforce/v1/jobs` | no | no |
|
|
2656
|
+
| list | GET | `/workforce/v1/jobs` | no | no |
|
|
2657
|
+
| retrieve | GET | `/workforce/v1/jobs/{id}` | no | no |
|
|
2658
|
+
| update | PATCH | `/workforce/v1/jobs/{id}` | no | no |
|
|
2659
|
+
|
|
2660
|
+
### workforce.jobs.retire
|
|
2661
|
+
|
|
2662
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2663
|
+
|---|---|---|---|---|
|
|
2664
|
+
| create | POST | `/workforce/v1/jobs/{id}/retire` | no | no |
|
|
2665
|
+
|
|
2666
|
+
### workforce.keyResults
|
|
2667
|
+
|
|
2668
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2669
|
+
|---|---|---|---|---|
|
|
2670
|
+
| create | POST | `/workforce/v1/key_results` | no | no |
|
|
2671
|
+
| list | GET | `/workforce/v1/key_results` | no | no |
|
|
2672
|
+
| retrieve | GET | `/workforce/v1/key_results/{id}` | no | no |
|
|
2673
|
+
| update | PATCH | `/workforce/v1/key_results/{id}` | no | no |
|
|
2674
|
+
|
|
2675
|
+
### workforce.ladders
|
|
2676
|
+
|
|
2677
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2678
|
+
|---|---|---|---|---|
|
|
2679
|
+
| create | POST | `/workforce/v1/ladders` | no | no |
|
|
2680
|
+
| list | GET | `/workforce/v1/ladders` | no | no |
|
|
2681
|
+
| retrieve | GET | `/workforce/v1/ladders/{id}` | no | no |
|
|
2682
|
+
| update | PUT | `/workforce/v1/ladders/{id}` | no | no |
|
|
2683
|
+
|
|
2684
|
+
### workforce.objectives
|
|
2685
|
+
|
|
2686
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2687
|
+
|---|---|---|---|---|
|
|
2688
|
+
| create | POST | `/workforce/v1/objectives` | no | no |
|
|
2689
|
+
| list | GET | `/workforce/v1/objectives` | no | no |
|
|
2690
|
+
| retrieve | GET | `/workforce/v1/objectives/{id}` | no | no |
|
|
2691
|
+
| update | PATCH | `/workforce/v1/objectives/{id}` | no | no |
|
|
2692
|
+
|
|
2693
|
+
### workforce.objectives.grade
|
|
2694
|
+
|
|
2695
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2696
|
+
|---|---|---|---|---|
|
|
2697
|
+
| create | POST | `/workforce/v1/objectives/{id}/grade` | no | no |
|
|
2698
|
+
|
|
2699
|
+
### workforce.objectives.parents
|
|
2700
|
+
|
|
2701
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2702
|
+
|---|---|---|---|---|
|
|
2703
|
+
| update | PUT | `/workforce/v1/objectives/{id}/parents` | no | no |
|
|
2704
|
+
|
|
2705
|
+
### workforce.periods
|
|
2706
|
+
|
|
2707
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2708
|
+
|---|---|---|---|---|
|
|
2709
|
+
| create | POST | `/workforce/v1/periods` | no | no |
|
|
2710
|
+
| list | GET | `/workforce/v1/periods` | no | no |
|
|
2711
|
+
| retrieve | GET | `/workforce/v1/periods/{id}` | no | no |
|
|
2712
|
+
|
|
2713
|
+
### workforce.periods.close
|
|
2714
|
+
|
|
2715
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2716
|
+
|---|---|---|---|---|
|
|
2717
|
+
| create | POST | `/workforce/v1/periods/{id}/close` | no | no |
|
|
2718
|
+
|
|
2719
|
+
### workforce.positions
|
|
2720
|
+
|
|
2721
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2722
|
+
|---|---|---|---|---|
|
|
2723
|
+
| create | POST | `/workforce/v1/positions` | no | no |
|
|
2724
|
+
| list | GET | `/workforce/v1/positions` | no | no |
|
|
2725
|
+
| retrieve | GET | `/workforce/v1/positions/{id}` | no | no |
|
|
2726
|
+
| update | PATCH | `/workforce/v1/positions/{id}` | no | no |
|
|
2727
|
+
| updateLevel | PUT | `/workforce/v1/positions/{id}/level` | no | no |
|
|
2728
|
+
| updateManager | PUT | `/workforce/v1/positions/{id}/manager` | no | no |
|
|
2729
|
+
|
|
2730
|
+
### workforce.positions.close
|
|
2731
|
+
|
|
2732
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2733
|
+
|---|---|---|---|---|
|
|
2734
|
+
| create | POST | `/workforce/v1/positions/{id}/close` | no | no |
|
|
2735
|
+
|
|
2736
|
+
### workforce.positions.designateHead
|
|
2737
|
+
|
|
2738
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2739
|
+
|---|---|---|---|---|
|
|
2740
|
+
| create | POST | `/workforce/v1/positions/{id}/designate_head` | no | no |
|
|
2741
|
+
|
|
2742
|
+
### workforce.positions.freeze
|
|
2743
|
+
|
|
2744
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2745
|
+
|---|---|---|---|---|
|
|
2746
|
+
| create | POST | `/workforce/v1/positions/{id}/freeze` | no | no |
|
|
2747
|
+
|
|
2748
|
+
### workforce.positions.hire
|
|
2749
|
+
|
|
2750
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2751
|
+
|---|---|---|---|---|
|
|
2752
|
+
| create | POST | `/workforce/v1/positions/{id}/hire` | no | no |
|
|
2753
|
+
|
|
2754
|
+
### workforce.positions.replaceHolder
|
|
2755
|
+
|
|
2756
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2757
|
+
|---|---|---|---|---|
|
|
2758
|
+
| create | POST | `/workforce/v1/positions/{id}/replace_holder` | no | no |
|
|
2759
|
+
|
|
2760
|
+
### workforce.positions.unfreeze
|
|
2761
|
+
|
|
2762
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2763
|
+
|---|---|---|---|---|
|
|
2764
|
+
| create | POST | `/workforce/v1/positions/{id}/unfreeze` | no | no |
|
|
2765
|
+
|
|
2766
|
+
### workforce.reconcile
|
|
2767
|
+
|
|
2768
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2769
|
+
|---|---|---|---|---|
|
|
2770
|
+
| pause | POST | `/workforce/v1/reconcile/pause` | no | no |
|
|
2771
|
+
| resume | POST | `/workforce/v1/reconcile/resume` | no | no |
|
|
2772
|
+
| retrievePlan | GET | `/workforce/v1/reconcile/plan` | no | no |
|
|
2773
|
+
|
|
2774
|
+
### workforce.reconcile.run
|
|
2775
|
+
|
|
2776
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2777
|
+
|---|---|---|---|---|
|
|
2778
|
+
| create | POST | `/workforce/v1/reconcile/run` | no | no |
|
|
2779
|
+
|
|
2780
|
+
### workforce.reconcile.status
|
|
2781
|
+
|
|
2782
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2783
|
+
|---|---|---|---|---|
|
|
2784
|
+
| list | GET | `/workforce/v1/reconcile/status` | no | no |
|
|
2785
|
+
|
|
2786
|
+
### workforce.specSchema
|
|
2787
|
+
|
|
2788
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2789
|
+
|---|---|---|---|---|
|
|
2790
|
+
| retrieve | GET | `/workforce/v1/spec_schema` | no | no |
|
|
2791
|
+
|
|
2792
|
+
### workforce.specs
|
|
2793
|
+
|
|
2794
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2795
|
+
|---|---|---|---|---|
|
|
2796
|
+
| list | GET | `/workforce/v1/specs` | no | no |
|
|
2797
|
+
| retrieve | GET | `/workforce/v1/specs/{kind}/{id}` | no | no |
|
|
2798
|
+
| retrieveDiff | GET | `/workforce/v1/specs/{kind}/{id}/diff` | no | no |
|
|
2799
|
+
| update | PUT | `/workforce/v1/specs/{kind}/{id}` | no | no |
|
|
2800
|
+
|
|
2801
|
+
### workforce.specs.revisions
|
|
2802
|
+
|
|
2803
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2804
|
+
|---|---|---|---|---|
|
|
2805
|
+
| list | GET | `/workforce/v1/specs/{kind}/{id}/revisions` | no | no |
|
|
2806
|
+
|
|
2747
2807
|
## Semantic exceptions and aliases
|
|
2748
2808
|
|
|
2749
2809
|
| Operation | Reason |
|
|
@@ -2789,6 +2849,9 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2789
2849
|
| customer.customers.revokeTokens | Revoking every token of one customer is an act on the customer (services/customer's customer.customers.revokeTokens); the path alone would derive customer.customers.revoke_tokens.create. |
|
|
2790
2850
|
| customer.customers.unblock | unblock lifts the same block fact on the customer (services/customer's customer.customers.unblock); the path alone would derive customer.customers.unblock.create. |
|
|
2791
2851
|
| customer.usage.retrieve | One customer's usage is the usage read (services/customer's customer.usage.get); usage is a projection of the customer read into billing, not a sub-resource of the customer. |
|
|
2852
|
+
| database.databases.commands.execute | POST runs one Redis command and creates nothing; execute names the action, where the collection rule would derive commands.create. |
|
|
2853
|
+
| database.databases.keys.update | PATCH changes one field (ttl_ms) of an existing key; update matches tables.update and fields.update in the same domain, and the path-derived name collides with PUT. |
|
|
2854
|
+
| database.databases.keys.set | PUT writes a whole key value (Redis SET semantics); use the assignment vocabulary set, as dist-tags and vaults do, so update stays the PATCH that changes the TTL. |
|
|
2792
2855
|
| database.databases.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
2793
2856
|
| devops.projects.flags.reportCodeRefs | ADR-125 §4 / #1881: a checkout reports where code names each flag key, so the write is an operation on the project's flags (devops.flags.reportCodeRefs) and returns counts, not a code-refs resource; the path alone would derive a nested codeRefs collection create. |
|
|
2794
2857
|
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
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
|
|