@octonodes/sdk 0.2.26 → 0.2.38
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/PLUGINS.md +7 -1
- package/README.md +5 -0
- package/dist/data-tables/table.d.ts.map +1 -1
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/index.d.ts.map +1 -1
- package/dist/gen/sdk.gen.d.ts +9 -1
- package/dist/gen/sdk.gen.d.ts.map +1 -1
- package/dist/gen/sdk.gen.js +30 -0
- package/dist/gen/sdk.gen.js.map +1 -1
- package/dist/gen/types.gen.d.ts +144 -2
- package/dist/gen/types.gen.d.ts.map +1 -1
- package/dist/octonode-client.d.ts.map +1 -1
- package/dist/plugins/schema/app/contributions.d.ts +2 -2
- package/dist/plugins/schema/app-contributions.d.ts +2 -2
- package/dist/plugins/schema/app.d.ts +38 -38
- package/dist/plugins/schema/constants.d.ts +20 -2
- package/dist/plugins/schema/constants.d.ts.map +1 -1
- package/dist/plugins/schema/constants.js +54 -1
- package/dist/plugins/schema/constants.js.map +1 -1
- package/dist/plugins/schema/ipc/envelope.d.ts +10 -10
- package/dist/plugins/schema/ipc-envelope.d.ts +10 -10
- package/dist/plugins/schema/plugin/execution.d.ts +68 -68
- package/dist/plugins/schema/plugin/plugin.d.ts +62 -62
- package/dist/plugins/schema/plugin/publishing.d.ts +113 -54
- package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/publishing.js +18 -1
- package/dist/plugins/schema/plugin/publishing.js.map +1 -1
- package/dist/plugins/schema/plugin-publishing.d.ts +54 -54
- package/dist/plugins/schema/plugin.d.ts +32 -32
- package/dist/plugins/sdk/constants.d.ts +3 -0
- package/dist/plugins/sdk/constants.d.ts.map +1 -1
- package/dist/plugins/sdk/constants.js +4 -1
- package/dist/plugins/sdk/constants.js.map +1 -1
- package/dist/plugins/sdk/definitions/npm/types.d.ts +5 -2
- package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
- package/dist/plugins/sdk/json/schema.d.ts +2 -2
- package/dist/plugins/sdk/json/schema.js +15 -4
- package/dist/plugins/sdk/json/schema.js.map +1 -1
- package/dist/plugins/sdk/plugins/index.d.ts +1 -0
- package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/index.js +4 -1
- package/dist/plugins/sdk/plugins/index.js.map +1 -1
- package/package.json +5 -2
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -1018,6 +1018,24 @@ export type GetApiSocialConversationsByIdMessagesResponses = {
|
|
|
1018
1018
|
*/
|
|
1019
1019
|
200: {
|
|
1020
1020
|
items: Array<{
|
|
1021
|
+
attachments?: Array<{
|
|
1022
|
+
id: string;
|
|
1023
|
+
conversationId: string;
|
|
1024
|
+
domain: 'chat' | 'assistant' | 'support';
|
|
1025
|
+
name: string;
|
|
1026
|
+
mime: 'image/jpeg' | 'image/png' | 'image/webp' | 'image/gif' | 'application/pdf' | 'text/plain' | 'text/markdown' | 'text/csv' | 'application/json' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'application/vnd.openxmlformats-officedocument.presentationml.presentation' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
|
|
1027
|
+
size: number;
|
|
1028
|
+
state: 'reserved' | 'uploading' | 'scanning' | 'ready' | 'attached' | 'rejected' | 'expired' | 'deleted';
|
|
1029
|
+
version: number;
|
|
1030
|
+
createdAt: number;
|
|
1031
|
+
expiresAt: number;
|
|
1032
|
+
errorCode: 'unsupported_type' | 'too_large' | 'quota_exceeded' | 'upload_expired' | 'scan_unavailable' | 'unsafe_file' | 'invalid_file' | 'processing_failed' | 'model_incompatible' | null;
|
|
1033
|
+
width: number | null;
|
|
1034
|
+
height: number | null;
|
|
1035
|
+
pages: number | null;
|
|
1036
|
+
previews: Array<'thumbnail' | 'image' | 'text' | 'pdf'>;
|
|
1037
|
+
messageId: string | null;
|
|
1038
|
+
}>;
|
|
1021
1039
|
seq: number;
|
|
1022
1040
|
id: string;
|
|
1023
1041
|
conversationId: string;
|
|
@@ -1938,6 +1956,53 @@ export type GetApiProjectsByProjectIdFilesResponses = {
|
|
|
1938
1956
|
}>;
|
|
1939
1957
|
};
|
|
1940
1958
|
export type GetApiProjectsByProjectIdFilesResponse = GetApiProjectsByProjectIdFilesResponses[keyof GetApiProjectsByProjectIdFilesResponses];
|
|
1959
|
+
export type DeleteApiProjectsByProjectIdFilesContentData = {
|
|
1960
|
+
body: {
|
|
1961
|
+
path: string;
|
|
1962
|
+
baseRevision: string;
|
|
1963
|
+
};
|
|
1964
|
+
path: {
|
|
1965
|
+
projectId: string;
|
|
1966
|
+
};
|
|
1967
|
+
query?: never;
|
|
1968
|
+
url: '/api/projects/{projectId}/files/content';
|
|
1969
|
+
};
|
|
1970
|
+
export type DeleteApiProjectsByProjectIdFilesContentErrors = {
|
|
1971
|
+
/**
|
|
1972
|
+
* Error
|
|
1973
|
+
*/
|
|
1974
|
+
400: {
|
|
1975
|
+
error: string;
|
|
1976
|
+
};
|
|
1977
|
+
/**
|
|
1978
|
+
* Error
|
|
1979
|
+
*/
|
|
1980
|
+
403: {
|
|
1981
|
+
error: string;
|
|
1982
|
+
};
|
|
1983
|
+
/**
|
|
1984
|
+
* Error
|
|
1985
|
+
*/
|
|
1986
|
+
404: {
|
|
1987
|
+
error: string;
|
|
1988
|
+
};
|
|
1989
|
+
/**
|
|
1990
|
+
* Error
|
|
1991
|
+
*/
|
|
1992
|
+
409: {
|
|
1993
|
+
error: string;
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
export type DeleteApiProjectsByProjectIdFilesContentError = DeleteApiProjectsByProjectIdFilesContentErrors[keyof DeleteApiProjectsByProjectIdFilesContentErrors];
|
|
1997
|
+
export type DeleteApiProjectsByProjectIdFilesContentResponses = {
|
|
1998
|
+
/**
|
|
1999
|
+
* Success
|
|
2000
|
+
*/
|
|
2001
|
+
200: {
|
|
2002
|
+
path: string;
|
|
2003
|
+
};
|
|
2004
|
+
};
|
|
2005
|
+
export type DeleteApiProjectsByProjectIdFilesContentResponse = DeleteApiProjectsByProjectIdFilesContentResponses[keyof DeleteApiProjectsByProjectIdFilesContentResponses];
|
|
1941
2006
|
export type GetApiProjectsByProjectIdFilesContentData = {
|
|
1942
2007
|
body?: never;
|
|
1943
2008
|
path: {
|
|
@@ -1986,6 +2051,62 @@ export type GetApiProjectsByProjectIdFilesContentResponses = {
|
|
|
1986
2051
|
};
|
|
1987
2052
|
};
|
|
1988
2053
|
export type GetApiProjectsByProjectIdFilesContentResponse = GetApiProjectsByProjectIdFilesContentResponses[keyof GetApiProjectsByProjectIdFilesContentResponses];
|
|
2054
|
+
export type PatchApiProjectsByProjectIdFilesContentData = {
|
|
2055
|
+
body: {
|
|
2056
|
+
path: string;
|
|
2057
|
+
newPath: string;
|
|
2058
|
+
baseRevision: string;
|
|
2059
|
+
};
|
|
2060
|
+
path: {
|
|
2061
|
+
projectId: string;
|
|
2062
|
+
};
|
|
2063
|
+
query?: never;
|
|
2064
|
+
url: '/api/projects/{projectId}/files/content';
|
|
2065
|
+
};
|
|
2066
|
+
export type PatchApiProjectsByProjectIdFilesContentErrors = {
|
|
2067
|
+
/**
|
|
2068
|
+
* Error
|
|
2069
|
+
*/
|
|
2070
|
+
400: {
|
|
2071
|
+
error: string;
|
|
2072
|
+
};
|
|
2073
|
+
/**
|
|
2074
|
+
* Error
|
|
2075
|
+
*/
|
|
2076
|
+
403: {
|
|
2077
|
+
error: string;
|
|
2078
|
+
};
|
|
2079
|
+
/**
|
|
2080
|
+
* Error
|
|
2081
|
+
*/
|
|
2082
|
+
404: {
|
|
2083
|
+
error: string;
|
|
2084
|
+
};
|
|
2085
|
+
/**
|
|
2086
|
+
* Error
|
|
2087
|
+
*/
|
|
2088
|
+
409: {
|
|
2089
|
+
error: string;
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
export type PatchApiProjectsByProjectIdFilesContentError = PatchApiProjectsByProjectIdFilesContentErrors[keyof PatchApiProjectsByProjectIdFilesContentErrors];
|
|
2093
|
+
export type PatchApiProjectsByProjectIdFilesContentResponses = {
|
|
2094
|
+
/**
|
|
2095
|
+
* Success
|
|
2096
|
+
*/
|
|
2097
|
+
200: {
|
|
2098
|
+
path: string;
|
|
2099
|
+
content: string;
|
|
2100
|
+
mtime: number;
|
|
2101
|
+
revision: string;
|
|
2102
|
+
conflict?: boolean;
|
|
2103
|
+
compilerOptions?: {
|
|
2104
|
+
[key: string]: boolean | number | Array<string>;
|
|
2105
|
+
};
|
|
2106
|
+
compilerError?: string;
|
|
2107
|
+
};
|
|
2108
|
+
};
|
|
2109
|
+
export type PatchApiProjectsByProjectIdFilesContentResponse = PatchApiProjectsByProjectIdFilesContentResponses[keyof PatchApiProjectsByProjectIdFilesContentResponses];
|
|
1989
2110
|
export type PostApiProjectsByProjectIdFilesContentData = {
|
|
1990
2111
|
body: {
|
|
1991
2112
|
path: string;
|
|
@@ -4823,6 +4944,10 @@ export type GetApiMarketplacePluginsByIdData = {
|
|
|
4823
4944
|
id: string;
|
|
4824
4945
|
};
|
|
4825
4946
|
query?: {
|
|
4947
|
+
nodes?: 'none' | 'page';
|
|
4948
|
+
kind?: 'action' | 'trigger';
|
|
4949
|
+
sort?: 'name' | 'id';
|
|
4950
|
+
direction?: 'asc' | 'desc';
|
|
4826
4951
|
q?: string;
|
|
4827
4952
|
offset?: number;
|
|
4828
4953
|
limit?: number;
|
|
@@ -4902,6 +5027,9 @@ export type GetApiMarketplacePluginsByIdResponses = {
|
|
|
4902
5027
|
};
|
|
4903
5028
|
};
|
|
4904
5029
|
};
|
|
5030
|
+
language?: string;
|
|
5031
|
+
trigger?: boolean;
|
|
5032
|
+
env?: Array<string>;
|
|
4905
5033
|
}>;
|
|
4906
5034
|
nextVersionOffset?: number | null;
|
|
4907
5035
|
library?: {
|
|
@@ -4960,7 +5088,11 @@ export type GetApiMarketplacePluginsByIdResponses = {
|
|
|
4960
5088
|
nodesTotal: number;
|
|
4961
5089
|
nodesOffset: number;
|
|
4962
5090
|
nodesLimit: number;
|
|
4963
|
-
attachedProjects: Array<
|
|
5091
|
+
attachedProjects: Array<{
|
|
5092
|
+
id: string;
|
|
5093
|
+
name?: string;
|
|
5094
|
+
path?: string;
|
|
5095
|
+
}>;
|
|
4964
5096
|
};
|
|
4965
5097
|
};
|
|
4966
5098
|
export type GetApiMarketplacePluginsByIdResponse = GetApiMarketplacePluginsByIdResponses[keyof GetApiMarketplacePluginsByIdResponses];
|
|
@@ -5208,6 +5340,10 @@ export type GetApiPluginsByPluginIdData = {
|
|
|
5208
5340
|
pluginId: string;
|
|
5209
5341
|
};
|
|
5210
5342
|
query?: {
|
|
5343
|
+
nodes?: 'none' | 'page';
|
|
5344
|
+
kind?: 'action' | 'trigger';
|
|
5345
|
+
sort?: 'name' | 'id';
|
|
5346
|
+
direction?: 'asc' | 'desc';
|
|
5211
5347
|
global?: 'true';
|
|
5212
5348
|
q?: string;
|
|
5213
5349
|
offset?: number;
|
|
@@ -5777,8 +5913,9 @@ export type GetApiWorkspacesResponses = {
|
|
|
5777
5913
|
kind: 'user';
|
|
5778
5914
|
id: string;
|
|
5779
5915
|
name: string;
|
|
5780
|
-
};
|
|
5916
|
+
} | null;
|
|
5781
5917
|
orgs: Array<{
|
|
5918
|
+
url?: string;
|
|
5782
5919
|
kind: 'org';
|
|
5783
5920
|
id: string;
|
|
5784
5921
|
name: string;
|
|
@@ -5797,6 +5934,7 @@ export type GetApiWorkspacesResponses = {
|
|
|
5797
5934
|
}>;
|
|
5798
5935
|
}>;
|
|
5799
5936
|
remote: boolean;
|
|
5937
|
+
remoteComputers?: boolean;
|
|
5800
5938
|
};
|
|
5801
5939
|
};
|
|
5802
5940
|
export type GetApiWorkspacesResponse = GetApiWorkspacesResponses[keyof GetApiWorkspacesResponses];
|
|
@@ -5826,6 +5964,10 @@ export type GetApiWorkspacesPermissionsResponses = {
|
|
|
5826
5964
|
[key: string]: boolean;
|
|
5827
5965
|
};
|
|
5828
5966
|
projectId?: string | null;
|
|
5967
|
+
remoteTarget?: {
|
|
5968
|
+
computerId: string;
|
|
5969
|
+
checkoutId: string;
|
|
5970
|
+
};
|
|
5829
5971
|
capabilities: {
|
|
5830
5972
|
collaboration: boolean;
|
|
5831
5973
|
};
|