@octonodes/sdk 0.2.26 → 0.2.40
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 +12 -2
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/data-tables/table.d.ts.map +1 -1
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.d.ts.map +1 -1
- package/dist/gen/index.js +3 -3
- package/dist/gen/index.js.map +1 -1
- package/dist/gen/sdk.gen.d.ts +19 -11
- package/dist/gen/sdk.gen.d.ts.map +1 -1
- package/dist/gen/sdk.gen.js +51 -21
- package/dist/gen/sdk.gen.js.map +1 -1
- package/dist/gen/types.gen.d.ts +344 -97
- 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 +69 -69
- package/dist/plugins/schema/app.d.ts.map +1 -1
- package/dist/plugins/schema/app.js +4 -3
- package/dist/plugins/schema/app.js.map +1 -1
- package/dist/plugins/schema/constants.d.ts +30 -2
- package/dist/plugins/schema/constants.d.ts.map +1 -1
- package/dist/plugins/schema/constants.js +74 -1
- package/dist/plugins/schema/constants.js.map +1 -1
- package/dist/plugins/schema/ipc/envelope.d.ts +25 -25
- package/dist/plugins/schema/ipc-envelope.d.ts +25 -25
- package/dist/plugins/schema/plugin/execution.d.ts +112 -112
- package/dist/plugins/schema/plugin/plugin.d.ts +97 -97
- package/dist/plugins/schema/plugin/publishing.d.ts +129 -70
- 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 +70 -70
- 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 +6 -3
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -331,7 +331,7 @@ export type GetApiAppsRuntimeSessionResponses = {
|
|
|
331
331
|
};
|
|
332
332
|
version: string;
|
|
333
333
|
grants: Array<{
|
|
334
|
-
action: 'projects:read' | 'data:read' | 'data:write' | 'workflows:run';
|
|
334
|
+
action: 'projects:read' | 'data:read' | 'data:write' | 'workflows:run' | 'read:project' | 'write:project';
|
|
335
335
|
projectId: string;
|
|
336
336
|
}>;
|
|
337
337
|
expiresAt: number;
|
|
@@ -414,7 +414,7 @@ export type GetApiMarketplaceAppsResponses = {
|
|
|
414
414
|
supportUrl?: string;
|
|
415
415
|
redirectUrls: Array<string>;
|
|
416
416
|
webhookUrl?: string;
|
|
417
|
-
requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run'>;
|
|
417
|
+
requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run' | 'read:project' | 'write:project'>;
|
|
418
418
|
extensions?: Array<{
|
|
419
419
|
id: string;
|
|
420
420
|
target: 'app.page' | 'workspace.block';
|
|
@@ -433,7 +433,7 @@ export type GetApiMarketplaceAppsResponses = {
|
|
|
433
433
|
}>;
|
|
434
434
|
privacyUrl?: string;
|
|
435
435
|
supportUrl?: string;
|
|
436
|
-
requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run'>;
|
|
436
|
+
requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run' | 'read:project' | 'write:project'>;
|
|
437
437
|
extensions: Array<{
|
|
438
438
|
id: string;
|
|
439
439
|
target: 'app.page' | 'workspace.block';
|
|
@@ -452,7 +452,7 @@ export type GetApiMarketplaceAppsResponses = {
|
|
|
452
452
|
}>;
|
|
453
453
|
privacyUrl?: string;
|
|
454
454
|
supportUrl?: string;
|
|
455
|
-
requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run'>;
|
|
455
|
+
requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run' | 'read:project' | 'write:project'>;
|
|
456
456
|
extensions: Array<{
|
|
457
457
|
id: string;
|
|
458
458
|
target: 'app.page' | 'workspace.block' | 'shell.panel' | 'shell.dock' | 'project.tab' | 'project.overview.block' | 'workflow.tab' | 'workflow.inspector.block' | 'node.view' | 'node.inspector.tab' | 'node.inspector.block' | 'task.space.view' | 'task.details.tab' | 'task.details.block' | 'task.card.badge' | 'document.tab' | 'document.panel' | 'editor.panel' | 'git.diff.panel' | 'table.view' | 'execution.details.block' | 'app.settings.section' | 'project.settings.section' | 'project.action' | 'file.action' | 'editor.action' | 'editor.selection-action' | 'workflow.action' | 'workflow.canvas.action' | 'workflow.selection-action' | 'workflow.edge.action' | 'node.action' | 'task.space.action' | 'task.action' | 'document.action' | 'document.selection-action' | 'document.block.action' | 'document.slash-command' | 'document.review.action' | 'git.diff.action' | 'table.action' | 'execution.action';
|
|
@@ -499,17 +499,11 @@ export type GetApiCapabilitiesResponses = {
|
|
|
499
499
|
* Success
|
|
500
500
|
*/
|
|
501
501
|
200: {
|
|
502
|
-
version:
|
|
502
|
+
version: 2;
|
|
503
503
|
mode: 'trusted-local' | 'configured-local-cloud' | 'hosted';
|
|
504
504
|
items: Array<{
|
|
505
|
-
name: '
|
|
506
|
-
available:
|
|
507
|
-
mode: 'trusted-local' | 'configured-local-cloud' | 'hosted';
|
|
508
|
-
} | {
|
|
509
|
-
name: 'workspace_identity' | 'workspace_social' | 'task_management' | 'workspace_admin' | 'workflow_execution' | 'billing' | 'design_review' | 'design_preview' | 'architecture' | 'repository_registry' | 'repository_discovery' | 'repository_git_read' | 'repository_git_write' | 'design_architecture_embed' | 'workspace_registry_backup_restore' | 'github' | 'slack' | 'google' | 'meta' | 'qwen' | 'workflow_agents' | 'cloud_terminal' | 'mcp_catalog' | 'monitoring' | 'agent_monitoring' | 'backup_restore' | 'write_authority' | 'community_read' | 'community_authoring' | 'community_publishing' | 'workflow_templates';
|
|
510
|
-
available: false;
|
|
511
|
-
mode: 'trusted-local' | 'configured-local-cloud' | 'hosted';
|
|
512
|
-
reason: 'not_implemented' | 'requires_cloud_configuration' | 'requires_hosted_runtime' | 'provider_not_configured' | 'disabled_by_policy' | 'missing_entitlement' | 'missing_permission';
|
|
505
|
+
name: 'repository_registry' | 'design_architecture_embed' | 'workflow_agents' | 'community_authoring' | 'community_publishing' | 'workflow_templates';
|
|
506
|
+
available: boolean;
|
|
513
507
|
}>;
|
|
514
508
|
};
|
|
515
509
|
};
|
|
@@ -940,6 +934,8 @@ export type GetApiSocialConversationsResponses = {
|
|
|
940
934
|
lastMessageSeq: number | null;
|
|
941
935
|
lastMessageAt: number | null;
|
|
942
936
|
unreadCount: number;
|
|
937
|
+
projectIds?: Array<string>;
|
|
938
|
+
sessionScope?: 'workspace' | 'project' | 'workflow';
|
|
943
939
|
}>;
|
|
944
940
|
nextCursor: string | null;
|
|
945
941
|
};
|
|
@@ -1018,6 +1014,24 @@ export type GetApiSocialConversationsByIdMessagesResponses = {
|
|
|
1018
1014
|
*/
|
|
1019
1015
|
200: {
|
|
1020
1016
|
items: Array<{
|
|
1017
|
+
attachments?: Array<{
|
|
1018
|
+
id: string;
|
|
1019
|
+
conversationId: string;
|
|
1020
|
+
domain: 'chat' | 'assistant' | 'support';
|
|
1021
|
+
name: string;
|
|
1022
|
+
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';
|
|
1023
|
+
size: number;
|
|
1024
|
+
state: 'reserved' | 'uploading' | 'scanning' | 'ready' | 'attached' | 'rejected' | 'expired' | 'deleted';
|
|
1025
|
+
version: number;
|
|
1026
|
+
createdAt: number;
|
|
1027
|
+
expiresAt: number;
|
|
1028
|
+
errorCode: 'unsupported_type' | 'too_large' | 'quota_exceeded' | 'upload_expired' | 'scan_unavailable' | 'unsafe_file' | 'invalid_file' | 'processing_failed' | 'model_incompatible' | null;
|
|
1029
|
+
width: number | null;
|
|
1030
|
+
height: number | null;
|
|
1031
|
+
pages: number | null;
|
|
1032
|
+
previews: Array<'thumbnail' | 'image' | 'text' | 'pdf'>;
|
|
1033
|
+
messageId: string | null;
|
|
1034
|
+
}>;
|
|
1021
1035
|
seq: number;
|
|
1022
1036
|
id: string;
|
|
1023
1037
|
conversationId: string;
|
|
@@ -1042,6 +1056,9 @@ export type GetApiSocialConversationsByIdMessagesResponses = {
|
|
|
1042
1056
|
export type GetApiSocialConversationsByIdMessagesResponse = GetApiSocialConversationsByIdMessagesResponses[keyof GetApiSocialConversationsByIdMessagesResponses];
|
|
1043
1057
|
export type GetApiSocialNotificationsData = {
|
|
1044
1058
|
body?: never;
|
|
1059
|
+
headers?: {
|
|
1060
|
+
'if-none-match'?: string;
|
|
1061
|
+
};
|
|
1045
1062
|
path?: never;
|
|
1046
1063
|
query: {
|
|
1047
1064
|
workspace: string;
|
|
@@ -1734,86 +1751,11 @@ export type GetApiProjectsTrashResponses = {
|
|
|
1734
1751
|
}>;
|
|
1735
1752
|
};
|
|
1736
1753
|
export type GetApiProjectsTrashResponse = GetApiProjectsTrashResponses[keyof GetApiProjectsTrashResponses];
|
|
1737
|
-
export type GetApiProjectsCatalogData = {
|
|
1738
|
-
body?: never;
|
|
1739
|
-
path?: never;
|
|
1740
|
-
query?: never;
|
|
1741
|
-
url: '/api/projects/catalog';
|
|
1742
|
-
};
|
|
1743
|
-
export type GetApiProjectsCatalogErrors = {
|
|
1744
|
-
/**
|
|
1745
|
-
* Error
|
|
1746
|
-
*/
|
|
1747
|
-
403: {
|
|
1748
|
-
error: string;
|
|
1749
|
-
};
|
|
1750
|
-
};
|
|
1751
|
-
export type GetApiProjectsCatalogError = GetApiProjectsCatalogErrors[keyof GetApiProjectsCatalogErrors];
|
|
1752
|
-
export type GetApiProjectsCatalogResponses = {
|
|
1753
|
-
/**
|
|
1754
|
-
* Success
|
|
1755
|
-
*/
|
|
1756
|
-
200: {
|
|
1757
|
-
projects: Array<{
|
|
1758
|
-
id: string;
|
|
1759
|
-
name: string;
|
|
1760
|
-
path?: string;
|
|
1761
|
-
workflowCount: number;
|
|
1762
|
-
environments?: Array<string>;
|
|
1763
|
-
readOnly?: true;
|
|
1764
|
-
legacyLanguage?: string;
|
|
1765
|
-
local?: false;
|
|
1766
|
-
cloudAction?: 'install' | 'sync';
|
|
1767
|
-
hosted?: true;
|
|
1768
|
-
unavailable?: true;
|
|
1769
|
-
sourceKind?: 'repository' | 'managed' | 'standalone';
|
|
1770
|
-
sourceRepositoryId?: string | null;
|
|
1771
|
-
configLocator?: string;
|
|
1772
|
-
}>;
|
|
1773
|
-
repositories: Array<{
|
|
1774
|
-
generation: number;
|
|
1775
|
-
sourceRepository: {
|
|
1776
|
-
sourceRepositoryId: string;
|
|
1777
|
-
displayName: string;
|
|
1778
|
-
rootLocator: string;
|
|
1779
|
-
canonicalRootFingerprint: string;
|
|
1780
|
-
remote: {
|
|
1781
|
-
fetchUrl: string;
|
|
1782
|
-
provider?: 'github';
|
|
1783
|
-
githubRepositoryId?: number;
|
|
1784
|
-
} | null;
|
|
1785
|
-
recovery: {
|
|
1786
|
-
kind: 'reclone';
|
|
1787
|
-
head: string;
|
|
1788
|
-
branch?: string;
|
|
1789
|
-
} | {
|
|
1790
|
-
kind: 'relink';
|
|
1791
|
-
};
|
|
1792
|
-
status: 'ready' | 'missing' | 'conflict';
|
|
1793
|
-
revision: number;
|
|
1794
|
-
};
|
|
1795
|
-
projects: Array<{
|
|
1796
|
-
projectId: string;
|
|
1797
|
-
sourceKind: 'repository' | 'managed' | 'standalone';
|
|
1798
|
-
sourceRepositoryId: string | null;
|
|
1799
|
-
configLocator: string;
|
|
1800
|
-
projectRootLocator: string;
|
|
1801
|
-
configFormat: 'yaml' | 'json';
|
|
1802
|
-
configFingerprint: string;
|
|
1803
|
-
storeKey: string;
|
|
1804
|
-
identitySource: 'new' | 'legacy' | 'config';
|
|
1805
|
-
status: 'ready' | 'missing' | 'conflict' | 'invalid';
|
|
1806
|
-
revision: number;
|
|
1807
|
-
}>;
|
|
1808
|
-
}>;
|
|
1809
|
-
hiddenIds: Array<string>;
|
|
1810
|
-
};
|
|
1811
|
-
};
|
|
1812
|
-
export type GetApiProjectsCatalogResponse = GetApiProjectsCatalogResponses[keyof GetApiProjectsCatalogResponses];
|
|
1813
1754
|
export type GetApiProjectsSearchData = {
|
|
1814
1755
|
body?: never;
|
|
1815
1756
|
path?: never;
|
|
1816
1757
|
query?: {
|
|
1758
|
+
project?: string;
|
|
1817
1759
|
summary?: 'true';
|
|
1818
1760
|
workspace?: string;
|
|
1819
1761
|
q?: string;
|
|
@@ -1938,6 +1880,96 @@ export type GetApiProjectsByProjectIdFilesResponses = {
|
|
|
1938
1880
|
}>;
|
|
1939
1881
|
};
|
|
1940
1882
|
export type GetApiProjectsByProjectIdFilesResponse = GetApiProjectsByProjectIdFilesResponses[keyof GetApiProjectsByProjectIdFilesResponses];
|
|
1883
|
+
export type GetApiProjectsByProjectIdInstructionsData = {
|
|
1884
|
+
body?: never;
|
|
1885
|
+
path: {
|
|
1886
|
+
projectId: string;
|
|
1887
|
+
};
|
|
1888
|
+
query?: never;
|
|
1889
|
+
url: '/api/projects/{projectId}/instructions';
|
|
1890
|
+
};
|
|
1891
|
+
export type GetApiProjectsByProjectIdInstructionsErrors = {
|
|
1892
|
+
/**
|
|
1893
|
+
* Error
|
|
1894
|
+
*/
|
|
1895
|
+
400: {
|
|
1896
|
+
error: string;
|
|
1897
|
+
};
|
|
1898
|
+
/**
|
|
1899
|
+
* Error
|
|
1900
|
+
*/
|
|
1901
|
+
403: {
|
|
1902
|
+
error: string;
|
|
1903
|
+
};
|
|
1904
|
+
/**
|
|
1905
|
+
* Error
|
|
1906
|
+
*/
|
|
1907
|
+
404: {
|
|
1908
|
+
error: string;
|
|
1909
|
+
};
|
|
1910
|
+
};
|
|
1911
|
+
export type GetApiProjectsByProjectIdInstructionsError = GetApiProjectsByProjectIdInstructionsErrors[keyof GetApiProjectsByProjectIdInstructionsErrors];
|
|
1912
|
+
export type GetApiProjectsByProjectIdInstructionsResponses = {
|
|
1913
|
+
/**
|
|
1914
|
+
* Success
|
|
1915
|
+
*/
|
|
1916
|
+
200: {
|
|
1917
|
+
files: Array<{
|
|
1918
|
+
path: string;
|
|
1919
|
+
content: string;
|
|
1920
|
+
revision: string;
|
|
1921
|
+
}>;
|
|
1922
|
+
skipped: Array<string>;
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
export type GetApiProjectsByProjectIdInstructionsResponse = GetApiProjectsByProjectIdInstructionsResponses[keyof GetApiProjectsByProjectIdInstructionsResponses];
|
|
1926
|
+
export type DeleteApiProjectsByProjectIdFilesContentData = {
|
|
1927
|
+
body: {
|
|
1928
|
+
path: string;
|
|
1929
|
+
baseRevision: string;
|
|
1930
|
+
};
|
|
1931
|
+
path: {
|
|
1932
|
+
projectId: string;
|
|
1933
|
+
};
|
|
1934
|
+
query?: never;
|
|
1935
|
+
url: '/api/projects/{projectId}/files/content';
|
|
1936
|
+
};
|
|
1937
|
+
export type DeleteApiProjectsByProjectIdFilesContentErrors = {
|
|
1938
|
+
/**
|
|
1939
|
+
* Error
|
|
1940
|
+
*/
|
|
1941
|
+
400: {
|
|
1942
|
+
error: string;
|
|
1943
|
+
};
|
|
1944
|
+
/**
|
|
1945
|
+
* Error
|
|
1946
|
+
*/
|
|
1947
|
+
403: {
|
|
1948
|
+
error: string;
|
|
1949
|
+
};
|
|
1950
|
+
/**
|
|
1951
|
+
* Error
|
|
1952
|
+
*/
|
|
1953
|
+
404: {
|
|
1954
|
+
error: string;
|
|
1955
|
+
};
|
|
1956
|
+
/**
|
|
1957
|
+
* Error
|
|
1958
|
+
*/
|
|
1959
|
+
409: {
|
|
1960
|
+
error: string;
|
|
1961
|
+
};
|
|
1962
|
+
};
|
|
1963
|
+
export type DeleteApiProjectsByProjectIdFilesContentError = DeleteApiProjectsByProjectIdFilesContentErrors[keyof DeleteApiProjectsByProjectIdFilesContentErrors];
|
|
1964
|
+
export type DeleteApiProjectsByProjectIdFilesContentResponses = {
|
|
1965
|
+
/**
|
|
1966
|
+
* Success
|
|
1967
|
+
*/
|
|
1968
|
+
200: {
|
|
1969
|
+
path: string;
|
|
1970
|
+
};
|
|
1971
|
+
};
|
|
1972
|
+
export type DeleteApiProjectsByProjectIdFilesContentResponse = DeleteApiProjectsByProjectIdFilesContentResponses[keyof DeleteApiProjectsByProjectIdFilesContentResponses];
|
|
1941
1973
|
export type GetApiProjectsByProjectIdFilesContentData = {
|
|
1942
1974
|
body?: never;
|
|
1943
1975
|
path: {
|
|
@@ -1986,6 +2018,62 @@ export type GetApiProjectsByProjectIdFilesContentResponses = {
|
|
|
1986
2018
|
};
|
|
1987
2019
|
};
|
|
1988
2020
|
export type GetApiProjectsByProjectIdFilesContentResponse = GetApiProjectsByProjectIdFilesContentResponses[keyof GetApiProjectsByProjectIdFilesContentResponses];
|
|
2021
|
+
export type PatchApiProjectsByProjectIdFilesContentData = {
|
|
2022
|
+
body: {
|
|
2023
|
+
path: string;
|
|
2024
|
+
newPath: string;
|
|
2025
|
+
baseRevision: string;
|
|
2026
|
+
};
|
|
2027
|
+
path: {
|
|
2028
|
+
projectId: string;
|
|
2029
|
+
};
|
|
2030
|
+
query?: never;
|
|
2031
|
+
url: '/api/projects/{projectId}/files/content';
|
|
2032
|
+
};
|
|
2033
|
+
export type PatchApiProjectsByProjectIdFilesContentErrors = {
|
|
2034
|
+
/**
|
|
2035
|
+
* Error
|
|
2036
|
+
*/
|
|
2037
|
+
400: {
|
|
2038
|
+
error: string;
|
|
2039
|
+
};
|
|
2040
|
+
/**
|
|
2041
|
+
* Error
|
|
2042
|
+
*/
|
|
2043
|
+
403: {
|
|
2044
|
+
error: string;
|
|
2045
|
+
};
|
|
2046
|
+
/**
|
|
2047
|
+
* Error
|
|
2048
|
+
*/
|
|
2049
|
+
404: {
|
|
2050
|
+
error: string;
|
|
2051
|
+
};
|
|
2052
|
+
/**
|
|
2053
|
+
* Error
|
|
2054
|
+
*/
|
|
2055
|
+
409: {
|
|
2056
|
+
error: string;
|
|
2057
|
+
};
|
|
2058
|
+
};
|
|
2059
|
+
export type PatchApiProjectsByProjectIdFilesContentError = PatchApiProjectsByProjectIdFilesContentErrors[keyof PatchApiProjectsByProjectIdFilesContentErrors];
|
|
2060
|
+
export type PatchApiProjectsByProjectIdFilesContentResponses = {
|
|
2061
|
+
/**
|
|
2062
|
+
* Success
|
|
2063
|
+
*/
|
|
2064
|
+
200: {
|
|
2065
|
+
path: string;
|
|
2066
|
+
content: string;
|
|
2067
|
+
mtime: number;
|
|
2068
|
+
revision: string;
|
|
2069
|
+
conflict?: boolean;
|
|
2070
|
+
compilerOptions?: {
|
|
2071
|
+
[key: string]: boolean | number | Array<string>;
|
|
2072
|
+
};
|
|
2073
|
+
compilerError?: string;
|
|
2074
|
+
};
|
|
2075
|
+
};
|
|
2076
|
+
export type PatchApiProjectsByProjectIdFilesContentResponse = PatchApiProjectsByProjectIdFilesContentResponses[keyof PatchApiProjectsByProjectIdFilesContentResponses];
|
|
1989
2077
|
export type PostApiProjectsByProjectIdFilesContentData = {
|
|
1990
2078
|
body: {
|
|
1991
2079
|
path: string;
|
|
@@ -2148,6 +2236,12 @@ export type GetApiProjectsByProjectIdPackageExportsResponses = {
|
|
|
2148
2236
|
*/
|
|
2149
2237
|
200: {
|
|
2150
2238
|
packages: Array<string>;
|
|
2239
|
+
dependencies?: Array<{
|
|
2240
|
+
name: string;
|
|
2241
|
+
spec: string;
|
|
2242
|
+
version: string | null;
|
|
2243
|
+
pluginId: string | null;
|
|
2244
|
+
}>;
|
|
2151
2245
|
exports: Array<{
|
|
2152
2246
|
name: string;
|
|
2153
2247
|
kind: 'function' | 'constant' | 'type' | 'class' | 'value';
|
|
@@ -4761,12 +4855,26 @@ export type GetApiMarketplaceResponses = {
|
|
|
4761
4855
|
tags: Array<string>;
|
|
4762
4856
|
nodes?: Array<{
|
|
4763
4857
|
id: string;
|
|
4858
|
+
sourceLanguage?: string;
|
|
4859
|
+
execution?: {
|
|
4860
|
+
runtimeRef: string;
|
|
4861
|
+
entrypoint: {
|
|
4862
|
+
kind: 'file';
|
|
4863
|
+
path: string;
|
|
4864
|
+
};
|
|
4865
|
+
args?: Array<string>;
|
|
4866
|
+
invokeAs?: string;
|
|
4867
|
+
};
|
|
4764
4868
|
source?: {
|
|
4765
4869
|
kind: 'plugin';
|
|
4766
4870
|
} | {
|
|
4767
4871
|
kind: 'npm';
|
|
4768
4872
|
package: string;
|
|
4769
4873
|
version: string;
|
|
4874
|
+
} | {
|
|
4875
|
+
kind: 'pypi';
|
|
4876
|
+
package: string;
|
|
4877
|
+
version: string;
|
|
4770
4878
|
};
|
|
4771
4879
|
libraryExport?: string;
|
|
4772
4880
|
implementation?: {
|
|
@@ -4823,6 +4931,10 @@ export type GetApiMarketplacePluginsByIdData = {
|
|
|
4823
4931
|
id: string;
|
|
4824
4932
|
};
|
|
4825
4933
|
query?: {
|
|
4934
|
+
nodes?: 'none' | 'page';
|
|
4935
|
+
kind?: 'action' | 'trigger';
|
|
4936
|
+
sort?: 'name' | 'id';
|
|
4937
|
+
direction?: 'asc' | 'desc';
|
|
4826
4938
|
q?: string;
|
|
4827
4939
|
offset?: number;
|
|
4828
4940
|
limit?: number;
|
|
@@ -4864,12 +4976,26 @@ export type GetApiMarketplacePluginsByIdResponses = {
|
|
|
4864
4976
|
tags: Array<string>;
|
|
4865
4977
|
nodes: Array<{
|
|
4866
4978
|
id: string;
|
|
4979
|
+
sourceLanguage?: string;
|
|
4980
|
+
execution?: {
|
|
4981
|
+
runtimeRef: string;
|
|
4982
|
+
entrypoint: {
|
|
4983
|
+
kind: 'file';
|
|
4984
|
+
path: string;
|
|
4985
|
+
};
|
|
4986
|
+
args?: Array<string>;
|
|
4987
|
+
invokeAs?: string;
|
|
4988
|
+
};
|
|
4867
4989
|
source?: {
|
|
4868
4990
|
kind: 'plugin';
|
|
4869
4991
|
} | {
|
|
4870
4992
|
kind: 'npm';
|
|
4871
4993
|
package: string;
|
|
4872
4994
|
version: string;
|
|
4995
|
+
} | {
|
|
4996
|
+
kind: 'pypi';
|
|
4997
|
+
package: string;
|
|
4998
|
+
version: string;
|
|
4873
4999
|
};
|
|
4874
5000
|
libraryExport?: string;
|
|
4875
5001
|
implementation?: {
|
|
@@ -4902,6 +5028,9 @@ export type GetApiMarketplacePluginsByIdResponses = {
|
|
|
4902
5028
|
};
|
|
4903
5029
|
};
|
|
4904
5030
|
};
|
|
5031
|
+
language?: string;
|
|
5032
|
+
trigger?: boolean;
|
|
5033
|
+
env?: Array<string>;
|
|
4905
5034
|
}>;
|
|
4906
5035
|
nextVersionOffset?: number | null;
|
|
4907
5036
|
library?: {
|
|
@@ -4960,7 +5089,11 @@ export type GetApiMarketplacePluginsByIdResponses = {
|
|
|
4960
5089
|
nodesTotal: number;
|
|
4961
5090
|
nodesOffset: number;
|
|
4962
5091
|
nodesLimit: number;
|
|
4963
|
-
attachedProjects: Array<
|
|
5092
|
+
attachedProjects: Array<{
|
|
5093
|
+
id: string;
|
|
5094
|
+
name?: string;
|
|
5095
|
+
path?: string;
|
|
5096
|
+
}>;
|
|
4964
5097
|
};
|
|
4965
5098
|
};
|
|
4966
5099
|
export type GetApiMarketplacePluginsByIdResponse = GetApiMarketplacePluginsByIdResponses[keyof GetApiMarketplacePluginsByIdResponses];
|
|
@@ -4995,12 +5128,26 @@ export type GetApiPluginsResponses = {
|
|
|
4995
5128
|
tags: Array<string>;
|
|
4996
5129
|
nodes?: Array<{
|
|
4997
5130
|
id: string;
|
|
5131
|
+
sourceLanguage?: string;
|
|
5132
|
+
execution?: {
|
|
5133
|
+
runtimeRef: string;
|
|
5134
|
+
entrypoint: {
|
|
5135
|
+
kind: 'file';
|
|
5136
|
+
path: string;
|
|
5137
|
+
};
|
|
5138
|
+
args?: Array<string>;
|
|
5139
|
+
invokeAs?: string;
|
|
5140
|
+
};
|
|
4998
5141
|
source?: {
|
|
4999
5142
|
kind: 'plugin';
|
|
5000
5143
|
} | {
|
|
5001
5144
|
kind: 'npm';
|
|
5002
5145
|
package: string;
|
|
5003
5146
|
version: string;
|
|
5147
|
+
} | {
|
|
5148
|
+
kind: 'pypi';
|
|
5149
|
+
package: string;
|
|
5150
|
+
version: string;
|
|
5004
5151
|
};
|
|
5005
5152
|
libraryExport?: string;
|
|
5006
5153
|
implementation?: {
|
|
@@ -5081,12 +5228,26 @@ export type GetApiPluginsSearchResponses = {
|
|
|
5081
5228
|
tags: Array<string>;
|
|
5082
5229
|
nodes?: Array<{
|
|
5083
5230
|
id: string;
|
|
5231
|
+
sourceLanguage?: string;
|
|
5232
|
+
execution?: {
|
|
5233
|
+
runtimeRef: string;
|
|
5234
|
+
entrypoint: {
|
|
5235
|
+
kind: 'file';
|
|
5236
|
+
path: string;
|
|
5237
|
+
};
|
|
5238
|
+
args?: Array<string>;
|
|
5239
|
+
invokeAs?: string;
|
|
5240
|
+
};
|
|
5084
5241
|
source?: {
|
|
5085
5242
|
kind: 'plugin';
|
|
5086
5243
|
} | {
|
|
5087
5244
|
kind: 'npm';
|
|
5088
5245
|
package: string;
|
|
5089
5246
|
version: string;
|
|
5247
|
+
} | {
|
|
5248
|
+
kind: 'pypi';
|
|
5249
|
+
package: string;
|
|
5250
|
+
version: string;
|
|
5090
5251
|
};
|
|
5091
5252
|
libraryExport?: string;
|
|
5092
5253
|
implementation?: {
|
|
@@ -5154,12 +5315,26 @@ export type GetApiPluginsNodesResponses = {
|
|
|
5154
5315
|
200: {
|
|
5155
5316
|
items: Array<{
|
|
5156
5317
|
id: string;
|
|
5318
|
+
sourceLanguage?: string;
|
|
5319
|
+
execution?: {
|
|
5320
|
+
runtimeRef: string;
|
|
5321
|
+
entrypoint: {
|
|
5322
|
+
kind: 'file';
|
|
5323
|
+
path: string;
|
|
5324
|
+
};
|
|
5325
|
+
args?: Array<string>;
|
|
5326
|
+
invokeAs?: string;
|
|
5327
|
+
};
|
|
5157
5328
|
source?: {
|
|
5158
5329
|
kind: 'plugin';
|
|
5159
5330
|
} | {
|
|
5160
5331
|
kind: 'npm';
|
|
5161
5332
|
package: string;
|
|
5162
5333
|
version: string;
|
|
5334
|
+
} | {
|
|
5335
|
+
kind: 'pypi';
|
|
5336
|
+
package: string;
|
|
5337
|
+
version: string;
|
|
5163
5338
|
};
|
|
5164
5339
|
libraryExport?: string;
|
|
5165
5340
|
implementation?: {
|
|
@@ -5208,6 +5383,10 @@ export type GetApiPluginsByPluginIdData = {
|
|
|
5208
5383
|
pluginId: string;
|
|
5209
5384
|
};
|
|
5210
5385
|
query?: {
|
|
5386
|
+
nodes?: 'none' | 'page';
|
|
5387
|
+
kind?: 'action' | 'trigger';
|
|
5388
|
+
sort?: 'name' | 'id';
|
|
5389
|
+
direction?: 'asc' | 'desc';
|
|
5211
5390
|
global?: 'true';
|
|
5212
5391
|
q?: string;
|
|
5213
5392
|
offset?: number;
|
|
@@ -5246,12 +5425,26 @@ export type GetApiPluginsByPluginIdResponses = {
|
|
|
5246
5425
|
tags: Array<string>;
|
|
5247
5426
|
nodes: Array<{
|
|
5248
5427
|
id: string;
|
|
5428
|
+
sourceLanguage?: string;
|
|
5429
|
+
execution?: {
|
|
5430
|
+
runtimeRef: string;
|
|
5431
|
+
entrypoint: {
|
|
5432
|
+
kind: 'file';
|
|
5433
|
+
path: string;
|
|
5434
|
+
};
|
|
5435
|
+
args?: Array<string>;
|
|
5436
|
+
invokeAs?: string;
|
|
5437
|
+
};
|
|
5249
5438
|
source?: {
|
|
5250
5439
|
kind: 'plugin';
|
|
5251
5440
|
} | {
|
|
5252
5441
|
kind: 'npm';
|
|
5253
5442
|
package: string;
|
|
5254
5443
|
version: string;
|
|
5444
|
+
} | {
|
|
5445
|
+
kind: 'pypi';
|
|
5446
|
+
package: string;
|
|
5447
|
+
version: string;
|
|
5255
5448
|
};
|
|
5256
5449
|
libraryExport?: string;
|
|
5257
5450
|
implementation?: {
|
|
@@ -5693,6 +5886,9 @@ export type PostApiNativeNodesByCatalogIdMaterializeResponses = {
|
|
|
5693
5886
|
signature: {
|
|
5694
5887
|
language: string;
|
|
5695
5888
|
command: string;
|
|
5889
|
+
args?: Array<string>;
|
|
5890
|
+
invokeAs?: string;
|
|
5891
|
+
runtimeError?: string;
|
|
5696
5892
|
sourceExpressions?: {
|
|
5697
5893
|
[key: string]: string;
|
|
5698
5894
|
};
|
|
@@ -5756,10 +5952,19 @@ export type PostApiNativeNodesByCatalogIdMaterializeResponse = PostApiNativeNode
|
|
|
5756
5952
|
export type GetApiWorkspacesData = {
|
|
5757
5953
|
body?: never;
|
|
5758
5954
|
path?: never;
|
|
5759
|
-
query?:
|
|
5955
|
+
query?: {
|
|
5956
|
+
projection?: 'compact';
|
|
5957
|
+
workspace?: string;
|
|
5958
|
+
};
|
|
5760
5959
|
url: '/api/workspaces';
|
|
5761
5960
|
};
|
|
5762
5961
|
export type GetApiWorkspacesErrors = {
|
|
5962
|
+
/**
|
|
5963
|
+
* Error
|
|
5964
|
+
*/
|
|
5965
|
+
400: {
|
|
5966
|
+
error: string;
|
|
5967
|
+
};
|
|
5763
5968
|
/**
|
|
5764
5969
|
* Error
|
|
5765
5970
|
*/
|
|
@@ -5777,26 +5982,64 @@ export type GetApiWorkspacesResponses = {
|
|
|
5777
5982
|
kind: 'user';
|
|
5778
5983
|
id: string;
|
|
5779
5984
|
name: string;
|
|
5780
|
-
};
|
|
5985
|
+
} | null;
|
|
5781
5986
|
orgs: Array<{
|
|
5987
|
+
url?: string;
|
|
5782
5988
|
kind: 'org';
|
|
5783
5989
|
id: string;
|
|
5784
5990
|
name: string;
|
|
5785
5991
|
role: string;
|
|
5786
|
-
|
|
5787
|
-
|
|
5992
|
+
menuControls?: {
|
|
5993
|
+
createTeam: boolean;
|
|
5994
|
+
invite: boolean;
|
|
5995
|
+
editPermissions: boolean;
|
|
5788
5996
|
};
|
|
5997
|
+
publishPlugin?: boolean;
|
|
5789
5998
|
teams: Array<{
|
|
5790
5999
|
kind: 'team';
|
|
5791
6000
|
id: string;
|
|
5792
6001
|
name: string;
|
|
5793
6002
|
role: string;
|
|
5794
|
-
|
|
5795
|
-
[key: string]: boolean;
|
|
5796
|
-
};
|
|
6003
|
+
publishPlugin?: boolean;
|
|
5797
6004
|
}>;
|
|
5798
6005
|
}>;
|
|
5799
6006
|
remote: boolean;
|
|
6007
|
+
remoteComputers?: boolean;
|
|
6008
|
+
access?: {
|
|
6009
|
+
version: 2;
|
|
6010
|
+
workspace: {
|
|
6011
|
+
kind: 'user' | 'org' | 'team';
|
|
6012
|
+
id: string;
|
|
6013
|
+
};
|
|
6014
|
+
uiBindings: {
|
|
6015
|
+
[key: string]: boolean;
|
|
6016
|
+
};
|
|
6017
|
+
controls: {
|
|
6018
|
+
readProjects?: boolean;
|
|
6019
|
+
editProjects?: boolean;
|
|
6020
|
+
readWorkflows?: boolean;
|
|
6021
|
+
readPlugins?: boolean;
|
|
6022
|
+
runWorkflow?: boolean;
|
|
6023
|
+
readData?: boolean;
|
|
6024
|
+
editData?: boolean;
|
|
6025
|
+
readTasks?: boolean;
|
|
6026
|
+
runAssistant?: boolean;
|
|
6027
|
+
configureAssistant?: boolean;
|
|
6028
|
+
readChat?: boolean;
|
|
6029
|
+
moderateChat?: boolean;
|
|
6030
|
+
readDesignDocs?: boolean;
|
|
6031
|
+
publishPlugin?: boolean;
|
|
6032
|
+
installPlugin?: boolean;
|
|
6033
|
+
readApps?: boolean;
|
|
6034
|
+
useApps?: boolean;
|
|
6035
|
+
manageApps?: boolean;
|
|
6036
|
+
cleanupApps?: boolean;
|
|
6037
|
+
openAdmin?: boolean;
|
|
6038
|
+
readBilling?: boolean;
|
|
6039
|
+
searchWorkspace?: boolean;
|
|
6040
|
+
manageProjectKeys?: boolean;
|
|
6041
|
+
};
|
|
6042
|
+
} | null;
|
|
5800
6043
|
};
|
|
5801
6044
|
};
|
|
5802
6045
|
export type GetApiWorkspacesResponse = GetApiWorkspacesResponses[keyof GetApiWorkspacesResponses];
|
|
@@ -5826,6 +6069,10 @@ export type GetApiWorkspacesPermissionsResponses = {
|
|
|
5826
6069
|
[key: string]: boolean;
|
|
5827
6070
|
};
|
|
5828
6071
|
projectId?: string | null;
|
|
6072
|
+
remoteTarget?: {
|
|
6073
|
+
computerId: string;
|
|
6074
|
+
checkoutId: string;
|
|
6075
|
+
};
|
|
5829
6076
|
capabilities: {
|
|
5830
6077
|
collaboration: boolean;
|
|
5831
6078
|
};
|