@deepraxis/sdk 0.1.1-dev.92000a0 → 0.1.1-dev.93014f4
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 +2 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +10 -2
- package/dist/generated/sdk.gen.js +26 -1
- package/dist/generated/types.gen.d.ts +295 -4
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +224 -1
- package/dist/resources.generated.d.ts +6 -0
- package/dist/resources.generated.js +1 -0
- package/package.json +1 -1
|
@@ -10012,9 +10012,9 @@ export type ApplicationGrant = {
|
|
|
10012
10012
|
/**
|
|
10013
10013
|
* Resource type.
|
|
10014
10014
|
*/
|
|
10015
|
-
type: 'database' | 'files' | 'knowledge' | 'models';
|
|
10015
|
+
type: 'database' | 'files' | 'knowledge' | 'models' | 'agent';
|
|
10016
10016
|
/**
|
|
10017
|
-
* Database
|
|
10017
|
+
* Database, knowledge base or agent ID; * for files and models.
|
|
10018
10018
|
*/
|
|
10019
10019
|
id: string;
|
|
10020
10020
|
};
|
|
@@ -10039,9 +10039,9 @@ export type ApplicationCreateGrantInput = {
|
|
|
10039
10039
|
/**
|
|
10040
10040
|
* Resource type.
|
|
10041
10041
|
*/
|
|
10042
|
-
type: 'database' | 'files' | 'knowledge' | 'models';
|
|
10042
|
+
type: 'database' | 'files' | 'knowledge' | 'models' | 'agent';
|
|
10043
10043
|
/**
|
|
10044
|
-
* Database
|
|
10044
|
+
* Database, knowledge base or agent ID in your organization; * for files and models.
|
|
10045
10045
|
*/
|
|
10046
10046
|
id: string;
|
|
10047
10047
|
};
|
|
@@ -17100,6 +17100,10 @@ export type DevopsPromotion = {
|
|
|
17100
17100
|
verification?: Array<DevopsVerificationInfo>;
|
|
17101
17101
|
observation?: DevopsObservation;
|
|
17102
17102
|
executor?: DevopsPromotionExecutor;
|
|
17103
|
+
/**
|
|
17104
|
+
* The lane the promotion runs in, read-only. async marks the promotion of one async target (a slow target such as the docs site, named in the project file under devops.deploy.async): it does not take the environment queue, it runs beside the main promotion and waits only for an earlier async promotion of the same target, and its success or failure moves that target alone. Absent means main.
|
|
17105
|
+
*/
|
|
17106
|
+
lane?: 'main' | 'async';
|
|
17103
17107
|
/**
|
|
17104
17108
|
* The promotion that replaced this one, present only when state is superseded; read it to follow the work to where it went.
|
|
17105
17109
|
*/
|
|
@@ -56811,6 +56815,289 @@ export type ComputersFilesContentResponses = {
|
|
|
56811
56815
|
206: Blob | File;
|
|
56812
56816
|
};
|
|
56813
56817
|
export type ComputersFilesContentResponse = ComputersFilesContentResponses[keyof ComputersFilesContentResponses];
|
|
56818
|
+
export type UpdateComputerFileContentData = {
|
|
56819
|
+
body: Blob | File;
|
|
56820
|
+
headers: {
|
|
56821
|
+
/**
|
|
56822
|
+
* The file version you edited, as the file listing gives it (<size>-<mtimeMs>); a quoted value is accepted.
|
|
56823
|
+
*/
|
|
56824
|
+
'If-Match': string;
|
|
56825
|
+
};
|
|
56826
|
+
path: {
|
|
56827
|
+
/**
|
|
56828
|
+
* Computer id from computer creation or listing; a computer another tenant owns is not found.
|
|
56829
|
+
*/
|
|
56830
|
+
computer_id: string;
|
|
56831
|
+
};
|
|
56832
|
+
query: {
|
|
56833
|
+
/**
|
|
56834
|
+
* Absolute path of the existing file on the computer, or a /workspace/ relative path.
|
|
56835
|
+
*/
|
|
56836
|
+
path: string;
|
|
56837
|
+
};
|
|
56838
|
+
url: '/agent/v1/computers/{computer_id}/files/content';
|
|
56839
|
+
};
|
|
56840
|
+
export type UpdateComputerFileContentErrors = {
|
|
56841
|
+
/**
|
|
56842
|
+
* INVALID_PARAMS: path is missing, a query parameter is unsupported, or the path is a directory (IS_DIRECTORY).
|
|
56843
|
+
*/
|
|
56844
|
+
400: {
|
|
56845
|
+
type: 'error';
|
|
56846
|
+
error: {
|
|
56847
|
+
/**
|
|
56848
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56849
|
+
*/
|
|
56850
|
+
type: string;
|
|
56851
|
+
message: string;
|
|
56852
|
+
code: string;
|
|
56853
|
+
retryable: boolean;
|
|
56854
|
+
/**
|
|
56855
|
+
* How to recover, for computer failures.
|
|
56856
|
+
*/
|
|
56857
|
+
hint?: string;
|
|
56858
|
+
};
|
|
56859
|
+
/**
|
|
56860
|
+
* Equals the X-Request-Id response header.
|
|
56861
|
+
*/
|
|
56862
|
+
request_id: string;
|
|
56863
|
+
};
|
|
56864
|
+
/**
|
|
56865
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56866
|
+
*/
|
|
56867
|
+
401: {
|
|
56868
|
+
type: 'error';
|
|
56869
|
+
error: {
|
|
56870
|
+
/**
|
|
56871
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56872
|
+
*/
|
|
56873
|
+
type: string;
|
|
56874
|
+
message: string;
|
|
56875
|
+
code: string;
|
|
56876
|
+
retryable: boolean;
|
|
56877
|
+
/**
|
|
56878
|
+
* How to recover, for computer failures.
|
|
56879
|
+
*/
|
|
56880
|
+
hint?: string;
|
|
56881
|
+
};
|
|
56882
|
+
/**
|
|
56883
|
+
* Equals the X-Request-Id response header.
|
|
56884
|
+
*/
|
|
56885
|
+
request_id: string;
|
|
56886
|
+
};
|
|
56887
|
+
/**
|
|
56888
|
+
* READ_ONLY: the path is under /attachments or /skills.
|
|
56889
|
+
*/
|
|
56890
|
+
403: {
|
|
56891
|
+
type: 'error';
|
|
56892
|
+
error: {
|
|
56893
|
+
/**
|
|
56894
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56895
|
+
*/
|
|
56896
|
+
type: string;
|
|
56897
|
+
message: string;
|
|
56898
|
+
code: string;
|
|
56899
|
+
retryable: boolean;
|
|
56900
|
+
/**
|
|
56901
|
+
* How to recover, for computer failures.
|
|
56902
|
+
*/
|
|
56903
|
+
hint?: string;
|
|
56904
|
+
};
|
|
56905
|
+
/**
|
|
56906
|
+
* Equals the X-Request-Id response header.
|
|
56907
|
+
*/
|
|
56908
|
+
request_id: string;
|
|
56909
|
+
};
|
|
56910
|
+
/**
|
|
56911
|
+
* Computer or path not found; foreign computers are indistinguishable from absent computers, and a write never creates a file.
|
|
56912
|
+
*/
|
|
56913
|
+
404: {
|
|
56914
|
+
type: 'error';
|
|
56915
|
+
error: {
|
|
56916
|
+
/**
|
|
56917
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56918
|
+
*/
|
|
56919
|
+
type: string;
|
|
56920
|
+
message: string;
|
|
56921
|
+
code: string;
|
|
56922
|
+
retryable: boolean;
|
|
56923
|
+
/**
|
|
56924
|
+
* How to recover, for computer failures.
|
|
56925
|
+
*/
|
|
56926
|
+
hint?: string;
|
|
56927
|
+
};
|
|
56928
|
+
/**
|
|
56929
|
+
* Equals the X-Request-Id response header.
|
|
56930
|
+
*/
|
|
56931
|
+
request_id: string;
|
|
56932
|
+
};
|
|
56933
|
+
/**
|
|
56934
|
+
* FILE_VERSION_MISMATCH: the file changed since the version in If-Match; error.current_version is its version now. Nothing was written.
|
|
56935
|
+
*/
|
|
56936
|
+
412: {
|
|
56937
|
+
type: 'error';
|
|
56938
|
+
error: {
|
|
56939
|
+
/**
|
|
56940
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56941
|
+
*/
|
|
56942
|
+
type: string;
|
|
56943
|
+
message: string;
|
|
56944
|
+
code: string;
|
|
56945
|
+
retryable: boolean;
|
|
56946
|
+
/**
|
|
56947
|
+
* How to recover, for computer failures.
|
|
56948
|
+
*/
|
|
56949
|
+
hint?: string;
|
|
56950
|
+
/**
|
|
56951
|
+
* The file's version now (<size>-<mtimeMs>); read the file again and write with this version.
|
|
56952
|
+
*/
|
|
56953
|
+
current_version?: string;
|
|
56954
|
+
};
|
|
56955
|
+
/**
|
|
56956
|
+
* Equals the X-Request-Id response header.
|
|
56957
|
+
*/
|
|
56958
|
+
request_id: string;
|
|
56959
|
+
};
|
|
56960
|
+
/**
|
|
56961
|
+
* FILE_TOO_LARGE: the body exceeds 16 MiB.
|
|
56962
|
+
*/
|
|
56963
|
+
413: {
|
|
56964
|
+
type: 'error';
|
|
56965
|
+
error: {
|
|
56966
|
+
/**
|
|
56967
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56968
|
+
*/
|
|
56969
|
+
type: string;
|
|
56970
|
+
message: string;
|
|
56971
|
+
code: string;
|
|
56972
|
+
retryable: boolean;
|
|
56973
|
+
/**
|
|
56974
|
+
* How to recover, for computer failures.
|
|
56975
|
+
*/
|
|
56976
|
+
hint?: string;
|
|
56977
|
+
};
|
|
56978
|
+
/**
|
|
56979
|
+
* Equals the X-Request-Id response header.
|
|
56980
|
+
*/
|
|
56981
|
+
request_id: string;
|
|
56982
|
+
};
|
|
56983
|
+
/**
|
|
56984
|
+
* FILE_VERSION_REQUIRED: If-Match is missing. Nothing was written.
|
|
56985
|
+
*/
|
|
56986
|
+
428: {
|
|
56987
|
+
type: 'error';
|
|
56988
|
+
error: {
|
|
56989
|
+
/**
|
|
56990
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56991
|
+
*/
|
|
56992
|
+
type: string;
|
|
56993
|
+
message: string;
|
|
56994
|
+
code: string;
|
|
56995
|
+
retryable: boolean;
|
|
56996
|
+
/**
|
|
56997
|
+
* How to recover, for computer failures.
|
|
56998
|
+
*/
|
|
56999
|
+
hint?: string;
|
|
57000
|
+
};
|
|
57001
|
+
/**
|
|
57002
|
+
* Equals the X-Request-Id response header.
|
|
57003
|
+
*/
|
|
57004
|
+
request_id: string;
|
|
57005
|
+
};
|
|
57006
|
+
/**
|
|
57007
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
57008
|
+
*/
|
|
57009
|
+
429: {
|
|
57010
|
+
type: 'error';
|
|
57011
|
+
error: {
|
|
57012
|
+
/**
|
|
57013
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
57014
|
+
*/
|
|
57015
|
+
type: string;
|
|
57016
|
+
message: string;
|
|
57017
|
+
code: string;
|
|
57018
|
+
retryable: boolean;
|
|
57019
|
+
/**
|
|
57020
|
+
* How to recover, for computer failures.
|
|
57021
|
+
*/
|
|
57022
|
+
hint?: string;
|
|
57023
|
+
};
|
|
57024
|
+
/**
|
|
57025
|
+
* Equals the X-Request-Id response header.
|
|
57026
|
+
*/
|
|
57027
|
+
request_id: string;
|
|
57028
|
+
};
|
|
57029
|
+
/**
|
|
57030
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
57031
|
+
*/
|
|
57032
|
+
500: {
|
|
57033
|
+
type: 'error';
|
|
57034
|
+
error: {
|
|
57035
|
+
/**
|
|
57036
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
57037
|
+
*/
|
|
57038
|
+
type: string;
|
|
57039
|
+
message: string;
|
|
57040
|
+
code: string;
|
|
57041
|
+
retryable: boolean;
|
|
57042
|
+
/**
|
|
57043
|
+
* How to recover, for computer failures.
|
|
57044
|
+
*/
|
|
57045
|
+
hint?: string;
|
|
57046
|
+
};
|
|
57047
|
+
/**
|
|
57048
|
+
* Equals the X-Request-Id response header.
|
|
57049
|
+
*/
|
|
57050
|
+
request_id: string;
|
|
57051
|
+
};
|
|
57052
|
+
/**
|
|
57053
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
57054
|
+
*/
|
|
57055
|
+
503: {
|
|
57056
|
+
type: 'error';
|
|
57057
|
+
error: {
|
|
57058
|
+
/**
|
|
57059
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
57060
|
+
*/
|
|
57061
|
+
type: string;
|
|
57062
|
+
message: string;
|
|
57063
|
+
code: string;
|
|
57064
|
+
retryable: boolean;
|
|
57065
|
+
/**
|
|
57066
|
+
* How to recover, for computer failures.
|
|
57067
|
+
*/
|
|
57068
|
+
hint?: string;
|
|
57069
|
+
};
|
|
57070
|
+
/**
|
|
57071
|
+
* Equals the X-Request-Id response header.
|
|
57072
|
+
*/
|
|
57073
|
+
request_id: string;
|
|
57074
|
+
};
|
|
57075
|
+
};
|
|
57076
|
+
export type UpdateComputerFileContentError = UpdateComputerFileContentErrors[keyof UpdateComputerFileContentErrors];
|
|
57077
|
+
export type UpdateComputerFileContentResponses = {
|
|
57078
|
+
/**
|
|
57079
|
+
* The file after the write.
|
|
57080
|
+
*/
|
|
57081
|
+
200: {
|
|
57082
|
+
/**
|
|
57083
|
+
* Absolute path of the file that was written.
|
|
57084
|
+
*/
|
|
57085
|
+
path: string;
|
|
57086
|
+
/**
|
|
57087
|
+
* Size of the file now, in bytes.
|
|
57088
|
+
*/
|
|
57089
|
+
size: number;
|
|
57090
|
+
/**
|
|
57091
|
+
* Modification time of the file now, when the machine reports one.
|
|
57092
|
+
*/
|
|
57093
|
+
mtime: string | null;
|
|
57094
|
+
/**
|
|
57095
|
+
* The file's version now (<size>-<mtimeMs>); send it as If-Match on the next write.
|
|
57096
|
+
*/
|
|
57097
|
+
version: string;
|
|
57098
|
+
};
|
|
57099
|
+
};
|
|
57100
|
+
export type UpdateComputerFileContentResponse = UpdateComputerFileContentResponses[keyof UpdateComputerFileContentResponses];
|
|
56814
57101
|
export type PreviewComputerFileData = {
|
|
56815
57102
|
body?: never;
|
|
56816
57103
|
path: {
|
|
@@ -77075,6 +77362,10 @@ export type ClaimByodPairingData = {
|
|
|
77075
77362
|
* The operating-system version the app reports, at most 64 characters; it is display only and can be omitted.
|
|
77076
77363
|
*/
|
|
77077
77364
|
os_version?: string;
|
|
77365
|
+
/**
|
|
77366
|
+
* A stable key the app reads from the phone itself (Android: ANDROID_ID), 8 to 128 characters of letters, digits, underscore and hyphen; any other value answers INVALID_PARAMS. The service keeps only a hash scoped to the organization and platform. When the same organization already has a device with this key, even a disconnected one, the claim reuses that device: the same device_id comes back with a new credential, the old connection is closed, and its name is kept. Omit it and every claim registers a new device.
|
|
77367
|
+
*/
|
|
77368
|
+
device_key?: string;
|
|
77078
77369
|
};
|
|
77079
77370
|
path: {
|
|
77080
77371
|
/**
|
|
@@ -27,6 +27,7 @@ export interface Operation {
|
|
|
27
27
|
readonly multipart?: true;
|
|
28
28
|
readonly pathParams: readonly OperationPathParam[];
|
|
29
29
|
readonly query: readonly OperationField[];
|
|
30
|
+
readonly headers?: readonly OperationField[];
|
|
30
31
|
readonly body?: {
|
|
31
32
|
readonly required: boolean;
|
|
32
33
|
readonly fields: readonly OperationField[];
|