@deepraxis/sdk 0.1.1-dev.fa8e340 → 0.1.1-dev.fb97f26
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 +276 -164
- 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 +282 -100
- package/dist/generated/sdk.gen.js +922 -375
- package/dist/generated/types.gen.d.ts +4658 -1975
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +4184 -3026
- package/dist/resources.generated.d.ts +237 -165
- package/dist/resources.generated.js +163 -94
- 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`. 888 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
|
|
|
@@ -1077,6 +1078,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1077
1078
|
|
|
1078
1079
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1079
1080
|
|---|---|---|---|---|
|
|
1081
|
+
| create | POST | `/devops/v1/projects` | no | no |
|
|
1080
1082
|
| list | GET | `/devops/v1/projects` | no | no |
|
|
1081
1083
|
| retrieve | GET | `/devops/v1/projects/{id}` | no | no |
|
|
1082
1084
|
| retrieveTestCatalog | GET | `/devops/v1/projects/{project}/test-catalog` | no | no |
|
|
@@ -1090,6 +1092,18 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1090
1092
|
| create | POST | `/devops/v1/projects/{project}/changes` | no | no |
|
|
1091
1093
|
| list | GET | `/devops/v1/projects/{project}/changes` | no | no |
|
|
1092
1094
|
|
|
1095
|
+
### devops.projects.cleanups
|
|
1096
|
+
|
|
1097
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1098
|
+
|---|---|---|---|---|
|
|
1099
|
+
| list | GET | `/devops/v1/projects/{project}/cleanups` | no | no |
|
|
1100
|
+
|
|
1101
|
+
### devops.projects.defaultBranch
|
|
1102
|
+
|
|
1103
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1104
|
+
|---|---|---|---|---|
|
|
1105
|
+
| initialize | POST | `/devops/v1/projects/{id}/default-branch:initialize` | no | no |
|
|
1106
|
+
|
|
1093
1107
|
### devops.projects.environments
|
|
1094
1108
|
|
|
1095
1109
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1210,6 +1224,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1210
1224
|
|---|---|---|---|---|
|
|
1211
1225
|
| approve | POST | `/devops/v1/promotions/{id}:approve` | no | no |
|
|
1212
1226
|
| cancel | POST | `/devops/v1/promotions/{id}:cancel` | no | no |
|
|
1227
|
+
| checkoutCredential | POST | `/devops/v1/promotions/{id}:checkoutCredential` | no | no |
|
|
1213
1228
|
| conclude | POST | `/devops/v1/promotions/{id}:conclude` | no | no |
|
|
1214
1229
|
| create | POST | `/devops/v1/promotions` | no | no |
|
|
1215
1230
|
| retrieve | GET | `/devops/v1/promotions/{id}` | no | no |
|
|
@@ -1231,6 +1246,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1231
1246
|
| rerunGate | POST | `/devops/v1/pull-requests/{id}:rerunGate` | no | no |
|
|
1232
1247
|
| retrieve | GET | `/devops/v1/pull-requests/{id}` | no | no |
|
|
1233
1248
|
|
|
1249
|
+
### devops.pullRequests.reviews
|
|
1250
|
+
|
|
1251
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1252
|
+
|---|---|---|---|---|
|
|
1253
|
+
| create | POST | `/devops/v1/pull-requests/{id}/reviews` | no | no |
|
|
1254
|
+
|
|
1234
1255
|
### devops.releases
|
|
1235
1256
|
|
|
1236
1257
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1826,38 +1847,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1826
1847
|
|
|
1827
1848
|
## organization
|
|
1828
1849
|
|
|
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
1850
|
### organization.charges
|
|
1862
1851
|
|
|
1863
1852
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1870,22 +1859,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1870
1859
|
|---|---|---|---|---|
|
|
1871
1860
|
| list | GET | `/organization/v1/costs` | no | no |
|
|
1872
1861
|
|
|
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
1862
|
### organization.events
|
|
1890
1863
|
|
|
1891
1864
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1914,127 +1887,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1914
1887
|
| create | POST | `/organization/v1/feedback/{id}/messages` | no | no |
|
|
1915
1888
|
| list | GET | `/organization/v1/feedback/{id}/messages` | no | no |
|
|
1916
1889
|
|
|
1917
|
-
### organization.jobs
|
|
1918
|
-
|
|
1919
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1920
|
-
|---|---|---|---|---|
|
|
1921
|
-
| create | POST | `/organization/v1/jobs` | no | no |
|
|
1922
|
-
| list | GET | `/organization/v1/jobs` | no | no |
|
|
1923
|
-
| retrieve | GET | `/organization/v1/jobs/{id}` | no | no |
|
|
1924
|
-
| update | PATCH | `/organization/v1/jobs/{id}` | no | no |
|
|
1925
|
-
|
|
1926
|
-
### organization.jobs.retire
|
|
1927
|
-
|
|
1928
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1929
|
-
|---|---|---|---|---|
|
|
1930
|
-
| create | POST | `/organization/v1/jobs/{id}/retire` | no | no |
|
|
1931
|
-
|
|
1932
|
-
### organization.keyResults
|
|
1933
|
-
|
|
1934
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1935
|
-
|---|---|---|---|---|
|
|
1936
|
-
| create | POST | `/organization/v1/key_results` | no | no |
|
|
1937
|
-
| list | GET | `/organization/v1/key_results` | no | no |
|
|
1938
|
-
| retrieve | GET | `/organization/v1/key_results/{id}` | no | no |
|
|
1939
|
-
| update | PATCH | `/organization/v1/key_results/{id}` | no | no |
|
|
1940
|
-
|
|
1941
|
-
### organization.ladders
|
|
1942
|
-
|
|
1943
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1944
|
-
|---|---|---|---|---|
|
|
1945
|
-
| create | POST | `/organization/v1/ladders` | no | no |
|
|
1946
|
-
| list | GET | `/organization/v1/ladders` | no | no |
|
|
1947
|
-
| retrieve | GET | `/organization/v1/ladders/{id}` | no | no |
|
|
1948
|
-
| update | PUT | `/organization/v1/ladders/{id}` | no | no |
|
|
1949
|
-
|
|
1950
1890
|
### organization.members
|
|
1951
1891
|
|
|
1952
1892
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1953
1893
|
|---|---|---|---|---|
|
|
1954
1894
|
| list | GET | `/organization/v1/members` | no | no |
|
|
1955
1895
|
|
|
1956
|
-
### organization.objectives
|
|
1957
|
-
|
|
1958
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1959
|
-
|---|---|---|---|---|
|
|
1960
|
-
| create | POST | `/organization/v1/objectives` | no | no |
|
|
1961
|
-
| list | GET | `/organization/v1/objectives` | no | no |
|
|
1962
|
-
| retrieve | GET | `/organization/v1/objectives/{id}` | no | no |
|
|
1963
|
-
| update | PATCH | `/organization/v1/objectives/{id}` | no | no |
|
|
1964
|
-
|
|
1965
|
-
### organization.objectives.grade
|
|
1966
|
-
|
|
1967
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1968
|
-
|---|---|---|---|---|
|
|
1969
|
-
| create | POST | `/organization/v1/objectives/{id}/grade` | no | no |
|
|
1970
|
-
|
|
1971
|
-
### organization.objectives.parents
|
|
1972
|
-
|
|
1973
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1974
|
-
|---|---|---|---|---|
|
|
1975
|
-
| update | PUT | `/organization/v1/objectives/{id}/parents` | no | no |
|
|
1976
|
-
|
|
1977
|
-
### organization.periods
|
|
1978
|
-
|
|
1979
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1980
|
-
|---|---|---|---|---|
|
|
1981
|
-
| create | POST | `/organization/v1/periods` | no | no |
|
|
1982
|
-
| list | GET | `/organization/v1/periods` | no | no |
|
|
1983
|
-
| retrieve | GET | `/organization/v1/periods/{id}` | no | no |
|
|
1984
|
-
|
|
1985
|
-
### organization.periods.close
|
|
1986
|
-
|
|
1987
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1988
|
-
|---|---|---|---|---|
|
|
1989
|
-
| create | POST | `/organization/v1/periods/{id}/close` | no | no |
|
|
1990
|
-
|
|
1991
|
-
### organization.positions
|
|
1992
|
-
|
|
1993
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
1994
|
-
|---|---|---|---|---|
|
|
1995
|
-
| create | POST | `/organization/v1/positions` | no | no |
|
|
1996
|
-
| list | GET | `/organization/v1/positions` | no | no |
|
|
1997
|
-
| retrieve | GET | `/organization/v1/positions/{id}` | no | no |
|
|
1998
|
-
| update | PATCH | `/organization/v1/positions/{id}` | no | no |
|
|
1999
|
-
| updateLevel | PUT | `/organization/v1/positions/{id}/level` | no | no |
|
|
2000
|
-
| updateManager | PUT | `/organization/v1/positions/{id}/manager` | no | no |
|
|
2001
|
-
|
|
2002
|
-
### organization.positions.close
|
|
2003
|
-
|
|
2004
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2005
|
-
|---|---|---|---|---|
|
|
2006
|
-
| create | POST | `/organization/v1/positions/{id}/close` | no | no |
|
|
2007
|
-
|
|
2008
|
-
### organization.positions.designateHead
|
|
2009
|
-
|
|
2010
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2011
|
-
|---|---|---|---|---|
|
|
2012
|
-
| create | POST | `/organization/v1/positions/{id}/designate_head` | no | no |
|
|
2013
|
-
|
|
2014
|
-
### organization.positions.freeze
|
|
2015
|
-
|
|
2016
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2017
|
-
|---|---|---|---|---|
|
|
2018
|
-
| create | POST | `/organization/v1/positions/{id}/freeze` | no | no |
|
|
2019
|
-
|
|
2020
|
-
### organization.positions.hire
|
|
2021
|
-
|
|
2022
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2023
|
-
|---|---|---|---|---|
|
|
2024
|
-
| create | POST | `/organization/v1/positions/{id}/hire` | no | no |
|
|
2025
|
-
|
|
2026
|
-
### organization.positions.replaceHolder
|
|
2027
|
-
|
|
2028
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2029
|
-
|---|---|---|---|---|
|
|
2030
|
-
| create | POST | `/organization/v1/positions/{id}/replace_holder` | no | no |
|
|
2031
|
-
|
|
2032
|
-
### organization.positions.unfreeze
|
|
2033
|
-
|
|
2034
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2035
|
-
|---|---|---|---|---|
|
|
2036
|
-
| create | POST | `/organization/v1/positions/{id}/unfreeze` | no | no |
|
|
2037
|
-
|
|
2038
1896
|
### organization.usage
|
|
2039
1897
|
|
|
2040
1898
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2060,7 +1918,9 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2060
1918
|
|
|
2061
1919
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2062
1920
|
|---|---|---|---|---|
|
|
1921
|
+
| retrieveCompare | GET | `/registry/v1/packages/{package_id}/git/compare` | no | no |
|
|
2063
1922
|
| retrieveLog | GET | `/registry/v1/packages/{package_id}/git/log` | no | no |
|
|
1923
|
+
| retrieveResolve | GET | `/registry/v1/packages/{package_id}/git/resolve` | no | no |
|
|
2064
1924
|
|
|
2065
1925
|
### registry.packages.git.commits
|
|
2066
1926
|
|
|
@@ -2074,11 +1934,24 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2074
1934
|
|---|---|---|---|---|
|
|
2075
1935
|
| retrieve | GET | `/registry/v1/packages/{package_id}/git/files/{path}` | no | no |
|
|
2076
1936
|
|
|
1937
|
+
### registry.packages.git.refs
|
|
1938
|
+
|
|
1939
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1940
|
+
|---|---|---|---|---|
|
|
1941
|
+
| list | GET | `/registry/v1/packages/{package_id}/git/refs` | no | no |
|
|
1942
|
+
|
|
2077
1943
|
### registry.packages.git.trees
|
|
2078
1944
|
|
|
2079
1945
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2080
1946
|
|---|---|---|---|---|
|
|
2081
1947
|
| retrieve | GET | `/registry/v1/packages/{package_id}/git/trees/{sha}` | no | no |
|
|
1948
|
+
| retrieveRecursive | GET | `/registry/v1/packages/{package_id}/git/trees/{sha}/recursive` | no | no |
|
|
1949
|
+
|
|
1950
|
+
### registry.packages.gitCredential
|
|
1951
|
+
|
|
1952
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1953
|
+
|---|---|---|---|---|
|
|
1954
|
+
| create | POST | `/registry/v1/packages/{package_id}/git-credential` | no | no |
|
|
2082
1955
|
|
|
2083
1956
|
### registry.packages.installations
|
|
2084
1957
|
|
|
@@ -2127,6 +2000,33 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2127
2000
|
|
|
2128
2001
|
## sandbox
|
|
2129
2002
|
|
|
2003
|
+
### sandbox.byod.devices
|
|
2004
|
+
|
|
2005
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2006
|
+
|---|---|---|---|---|
|
|
2007
|
+
| list | GET | `/sandbox/v1/byod/devices` | no | no |
|
|
2008
|
+
| retrieve | GET | `/sandbox/v1/byod/devices/{deviceID}` | no | no |
|
|
2009
|
+
| update | PATCH | `/sandbox/v1/byod/devices/{deviceID}` | no | no |
|
|
2010
|
+
|
|
2011
|
+
### sandbox.byod.devices.disconnect
|
|
2012
|
+
|
|
2013
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2014
|
+
|---|---|---|---|---|
|
|
2015
|
+
| create | POST | `/sandbox/v1/byod/devices/{deviceID}/disconnect` | no | no |
|
|
2016
|
+
|
|
2017
|
+
### sandbox.byod.pairings
|
|
2018
|
+
|
|
2019
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2020
|
+
|---|---|---|---|---|
|
|
2021
|
+
| create | POST | `/sandbox/v1/byod/pairings` | no | no |
|
|
2022
|
+
| retrieve | GET | `/sandbox/v1/byod/pairings/{code}` | no | no |
|
|
2023
|
+
|
|
2024
|
+
### sandbox.byod.pairings.claim
|
|
2025
|
+
|
|
2026
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2027
|
+
|---|---|---|---|---|
|
|
2028
|
+
| create | POST | `/sandbox/v1/byod/pairings/{code}/claim` | no | no |
|
|
2029
|
+
|
|
2130
2030
|
### sandbox.events.sandboxes
|
|
2131
2031
|
|
|
2132
2032
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2676,6 +2576,218 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2676
2576
|
|---|---|---|---|---|
|
|
2677
2577
|
| create | POST | `/vault/v1/vaults/{vault_id}/secrets/{secret}/validate` | no | no |
|
|
2678
2578
|
|
|
2579
|
+
## workforce
|
|
2580
|
+
|
|
2581
|
+
### workforce.actors
|
|
2582
|
+
|
|
2583
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2584
|
+
|---|---|---|---|---|
|
|
2585
|
+
| list | GET | `/workforce/v1/actors` | no | no |
|
|
2586
|
+
| retrieve | GET | `/workforce/v1/actors/{actor}` | no | no |
|
|
2587
|
+
|
|
2588
|
+
### workforce.assignments
|
|
2589
|
+
|
|
2590
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2591
|
+
|---|---|---|---|---|
|
|
2592
|
+
| list | GET | `/workforce/v1/assignments` | no | no |
|
|
2593
|
+
| retrieve | GET | `/workforce/v1/assignments/{id}` | no | no |
|
|
2594
|
+
|
|
2595
|
+
### workforce.assignments.makePrimary
|
|
2596
|
+
|
|
2597
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2598
|
+
|---|---|---|---|---|
|
|
2599
|
+
| create | POST | `/workforce/v1/assignments/{id}/make_primary` | no | no |
|
|
2600
|
+
|
|
2601
|
+
### workforce.assignments.terminate
|
|
2602
|
+
|
|
2603
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2604
|
+
|---|---|---|---|---|
|
|
2605
|
+
| create | POST | `/workforce/v1/assignments/{id}/terminate` | no | no |
|
|
2606
|
+
|
|
2607
|
+
### workforce.assignments.transfer
|
|
2608
|
+
|
|
2609
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2610
|
+
|---|---|---|---|---|
|
|
2611
|
+
| create | POST | `/workforce/v1/assignments/{id}/transfer` | no | no |
|
|
2612
|
+
|
|
2613
|
+
### workforce.departments
|
|
2614
|
+
|
|
2615
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2616
|
+
|---|---|---|---|---|
|
|
2617
|
+
| create | POST | `/workforce/v1/departments` | no | no |
|
|
2618
|
+
| list | GET | `/workforce/v1/departments` | no | no |
|
|
2619
|
+
| retrieve | GET | `/workforce/v1/departments/{id}` | no | no |
|
|
2620
|
+
| update | PATCH | `/workforce/v1/departments/{id}` | no | no |
|
|
2621
|
+
| updateCharter | PUT | `/workforce/v1/departments/{id}/charter` | no | no |
|
|
2622
|
+
|
|
2623
|
+
### workforce.departments.dissolve
|
|
2624
|
+
|
|
2625
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2626
|
+
|---|---|---|---|---|
|
|
2627
|
+
| create | POST | `/workforce/v1/departments/{id}/dissolve` | no | no |
|
|
2628
|
+
|
|
2629
|
+
### workforce.effectiveSpec
|
|
2630
|
+
|
|
2631
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2632
|
+
|---|---|---|---|---|
|
|
2633
|
+
| retrieve | GET | `/workforce/v1/effective_spec` | no | no |
|
|
2634
|
+
|
|
2635
|
+
### workforce.jobs
|
|
2636
|
+
|
|
2637
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2638
|
+
|---|---|---|---|---|
|
|
2639
|
+
| create | POST | `/workforce/v1/jobs` | no | no |
|
|
2640
|
+
| list | GET | `/workforce/v1/jobs` | no | no |
|
|
2641
|
+
| retrieve | GET | `/workforce/v1/jobs/{id}` | no | no |
|
|
2642
|
+
| update | PATCH | `/workforce/v1/jobs/{id}` | no | no |
|
|
2643
|
+
|
|
2644
|
+
### workforce.jobs.retire
|
|
2645
|
+
|
|
2646
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2647
|
+
|---|---|---|---|---|
|
|
2648
|
+
| create | POST | `/workforce/v1/jobs/{id}/retire` | no | no |
|
|
2649
|
+
|
|
2650
|
+
### workforce.keyResults
|
|
2651
|
+
|
|
2652
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2653
|
+
|---|---|---|---|---|
|
|
2654
|
+
| create | POST | `/workforce/v1/key_results` | no | no |
|
|
2655
|
+
| list | GET | `/workforce/v1/key_results` | no | no |
|
|
2656
|
+
| retrieve | GET | `/workforce/v1/key_results/{id}` | no | no |
|
|
2657
|
+
| update | PATCH | `/workforce/v1/key_results/{id}` | no | no |
|
|
2658
|
+
|
|
2659
|
+
### workforce.ladders
|
|
2660
|
+
|
|
2661
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2662
|
+
|---|---|---|---|---|
|
|
2663
|
+
| create | POST | `/workforce/v1/ladders` | no | no |
|
|
2664
|
+
| list | GET | `/workforce/v1/ladders` | no | no |
|
|
2665
|
+
| retrieve | GET | `/workforce/v1/ladders/{id}` | no | no |
|
|
2666
|
+
| update | PUT | `/workforce/v1/ladders/{id}` | no | no |
|
|
2667
|
+
|
|
2668
|
+
### workforce.objectives
|
|
2669
|
+
|
|
2670
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2671
|
+
|---|---|---|---|---|
|
|
2672
|
+
| create | POST | `/workforce/v1/objectives` | no | no |
|
|
2673
|
+
| list | GET | `/workforce/v1/objectives` | no | no |
|
|
2674
|
+
| retrieve | GET | `/workforce/v1/objectives/{id}` | no | no |
|
|
2675
|
+
| update | PATCH | `/workforce/v1/objectives/{id}` | no | no |
|
|
2676
|
+
|
|
2677
|
+
### workforce.objectives.grade
|
|
2678
|
+
|
|
2679
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2680
|
+
|---|---|---|---|---|
|
|
2681
|
+
| create | POST | `/workforce/v1/objectives/{id}/grade` | no | no |
|
|
2682
|
+
|
|
2683
|
+
### workforce.objectives.parents
|
|
2684
|
+
|
|
2685
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2686
|
+
|---|---|---|---|---|
|
|
2687
|
+
| update | PUT | `/workforce/v1/objectives/{id}/parents` | no | no |
|
|
2688
|
+
|
|
2689
|
+
### workforce.periods
|
|
2690
|
+
|
|
2691
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2692
|
+
|---|---|---|---|---|
|
|
2693
|
+
| create | POST | `/workforce/v1/periods` | no | no |
|
|
2694
|
+
| list | GET | `/workforce/v1/periods` | no | no |
|
|
2695
|
+
| retrieve | GET | `/workforce/v1/periods/{id}` | no | no |
|
|
2696
|
+
|
|
2697
|
+
### workforce.periods.close
|
|
2698
|
+
|
|
2699
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2700
|
+
|---|---|---|---|---|
|
|
2701
|
+
| create | POST | `/workforce/v1/periods/{id}/close` | no | no |
|
|
2702
|
+
|
|
2703
|
+
### workforce.positions
|
|
2704
|
+
|
|
2705
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2706
|
+
|---|---|---|---|---|
|
|
2707
|
+
| create | POST | `/workforce/v1/positions` | no | no |
|
|
2708
|
+
| list | GET | `/workforce/v1/positions` | no | no |
|
|
2709
|
+
| retrieve | GET | `/workforce/v1/positions/{id}` | no | no |
|
|
2710
|
+
| update | PATCH | `/workforce/v1/positions/{id}` | no | no |
|
|
2711
|
+
| updateLevel | PUT | `/workforce/v1/positions/{id}/level` | no | no |
|
|
2712
|
+
| updateManager | PUT | `/workforce/v1/positions/{id}/manager` | no | no |
|
|
2713
|
+
|
|
2714
|
+
### workforce.positions.close
|
|
2715
|
+
|
|
2716
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2717
|
+
|---|---|---|---|---|
|
|
2718
|
+
| create | POST | `/workforce/v1/positions/{id}/close` | no | no |
|
|
2719
|
+
|
|
2720
|
+
### workforce.positions.designateHead
|
|
2721
|
+
|
|
2722
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2723
|
+
|---|---|---|---|---|
|
|
2724
|
+
| create | POST | `/workforce/v1/positions/{id}/designate_head` | no | no |
|
|
2725
|
+
|
|
2726
|
+
### workforce.positions.freeze
|
|
2727
|
+
|
|
2728
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2729
|
+
|---|---|---|---|---|
|
|
2730
|
+
| create | POST | `/workforce/v1/positions/{id}/freeze` | no | no |
|
|
2731
|
+
|
|
2732
|
+
### workforce.positions.hire
|
|
2733
|
+
|
|
2734
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2735
|
+
|---|---|---|---|---|
|
|
2736
|
+
| create | POST | `/workforce/v1/positions/{id}/hire` | no | no |
|
|
2737
|
+
|
|
2738
|
+
### workforce.positions.replaceHolder
|
|
2739
|
+
|
|
2740
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2741
|
+
|---|---|---|---|---|
|
|
2742
|
+
| create | POST | `/workforce/v1/positions/{id}/replace_holder` | no | no |
|
|
2743
|
+
|
|
2744
|
+
### workforce.positions.unfreeze
|
|
2745
|
+
|
|
2746
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2747
|
+
|---|---|---|---|---|
|
|
2748
|
+
| create | POST | `/workforce/v1/positions/{id}/unfreeze` | no | no |
|
|
2749
|
+
|
|
2750
|
+
### workforce.reconcile
|
|
2751
|
+
|
|
2752
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2753
|
+
|---|---|---|---|---|
|
|
2754
|
+
| pause | POST | `/workforce/v1/reconcile/pause` | no | no |
|
|
2755
|
+
| resume | POST | `/workforce/v1/reconcile/resume` | no | no |
|
|
2756
|
+
| retrievePlan | GET | `/workforce/v1/reconcile/plan` | no | no |
|
|
2757
|
+
|
|
2758
|
+
### workforce.reconcile.run
|
|
2759
|
+
|
|
2760
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2761
|
+
|---|---|---|---|---|
|
|
2762
|
+
| create | POST | `/workforce/v1/reconcile/run` | no | no |
|
|
2763
|
+
|
|
2764
|
+
### workforce.reconcile.status
|
|
2765
|
+
|
|
2766
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2767
|
+
|---|---|---|---|---|
|
|
2768
|
+
| list | GET | `/workforce/v1/reconcile/status` | no | no |
|
|
2769
|
+
|
|
2770
|
+
### workforce.specSchema
|
|
2771
|
+
|
|
2772
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2773
|
+
|---|---|---|---|---|
|
|
2774
|
+
| retrieve | GET | `/workforce/v1/spec_schema` | no | no |
|
|
2775
|
+
|
|
2776
|
+
### workforce.specs
|
|
2777
|
+
|
|
2778
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2779
|
+
|---|---|---|---|---|
|
|
2780
|
+
| list | GET | `/workforce/v1/specs` | no | no |
|
|
2781
|
+
| retrieve | GET | `/workforce/v1/specs/{kind}/{id}` | no | no |
|
|
2782
|
+
| retrieveDiff | GET | `/workforce/v1/specs/{kind}/{id}/diff` | no | no |
|
|
2783
|
+
| update | PUT | `/workforce/v1/specs/{kind}/{id}` | no | no |
|
|
2784
|
+
|
|
2785
|
+
### workforce.specs.revisions
|
|
2786
|
+
|
|
2787
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2788
|
+
|---|---|---|---|---|
|
|
2789
|
+
| list | GET | `/workforce/v1/specs/{kind}/{id}/revisions` | no | no |
|
|
2790
|
+
|
|
2679
2791
|
## Semantic exceptions and aliases
|
|
2680
2792
|
|
|
2681
2793
|
| Operation | Reason |
|
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
|
|