sim 2.2.24-preview.280.1 → 2.2.24-preview.282.1
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/dist/generated/v2-api.d.ts +40 -6
- package/dist/index.js +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -3936,6 +3936,7 @@ export type ExecuteWorkflowBody = {
|
|
|
3936
3936
|
input?: Record<string, unknown>;
|
|
3937
3937
|
run?: {
|
|
3938
3938
|
source: 'deployment';
|
|
3939
|
+
version?: number;
|
|
3939
3940
|
} | {
|
|
3940
3941
|
source: 'manual';
|
|
3941
3942
|
entry?: {
|
|
@@ -4849,6 +4850,7 @@ type GetMetaResponseRef0 = {
|
|
|
4849
4850
|
v2Enabled: boolean;
|
|
4850
4851
|
keyType: 'personal' | 'workspace' | 'oauth_access_token';
|
|
4851
4852
|
expiresAt: string | null;
|
|
4853
|
+
scopes: Array<'api:read' | 'api:write' | 'search:read'>;
|
|
4852
4854
|
};
|
|
4853
4855
|
export type GetMetaResponse = {
|
|
4854
4856
|
data: GetMetaResponseRef0;
|
|
@@ -5771,13 +5773,43 @@ export type GetWorkflowRunQuery = {
|
|
|
5771
5773
|
base64MaxBytes?: number;
|
|
5772
5774
|
};
|
|
5773
5775
|
type GetWorkflowRunResponseRef0 = {
|
|
5776
|
+
contextId: string;
|
|
5777
|
+
blockId: string;
|
|
5778
|
+
blockName: string | null;
|
|
5779
|
+
kind: 'human' | 'time';
|
|
5780
|
+
status: 'paused' | 'queued' | 'resuming' | 'resumed' | 'failed';
|
|
5781
|
+
registeredAt: string | null;
|
|
5782
|
+
resumeAt: string | null;
|
|
5783
|
+
parallel: {
|
|
5784
|
+
parallelId: string;
|
|
5785
|
+
branchIndex: number;
|
|
5786
|
+
branchTotal: number | null;
|
|
5787
|
+
} | null;
|
|
5788
|
+
loop: {
|
|
5789
|
+
loopId: string;
|
|
5790
|
+
iteration: number;
|
|
5791
|
+
} | null;
|
|
5792
|
+
inputFields: Array<GetWorkflowRunResponseRef1> | null;
|
|
5793
|
+
display: unknown | null;
|
|
5794
|
+
queuePosition: number | null;
|
|
5795
|
+
};
|
|
5796
|
+
type GetWorkflowRunResponseRef1 = {
|
|
5797
|
+
name: string;
|
|
5798
|
+
label: string;
|
|
5799
|
+
type: string;
|
|
5800
|
+
description?: string;
|
|
5801
|
+
placeholder?: string;
|
|
5802
|
+
required: boolean;
|
|
5803
|
+
options?: Array<unknown>;
|
|
5804
|
+
};
|
|
5805
|
+
type GetWorkflowRunResponseRef2 = {
|
|
5774
5806
|
message: string;
|
|
5775
5807
|
code: 'TIMEOUT' | 'CANCELLED' | 'USAGE_LIMIT_EXCEEDED' | 'INVALID_INPUT' | 'BLOCK_EXECUTION_FAILED' | 'CHILD_WORKFLOW_FAILED' | 'EXECUTION_FAILED';
|
|
5776
5808
|
blockId?: string;
|
|
5777
5809
|
blockName?: string;
|
|
5778
5810
|
blockType?: string;
|
|
5779
5811
|
};
|
|
5780
|
-
type
|
|
5812
|
+
type GetWorkflowRunResponseRef3 = {
|
|
5781
5813
|
id: string;
|
|
5782
5814
|
name: string;
|
|
5783
5815
|
size: number;
|
|
@@ -5785,7 +5817,7 @@ type GetWorkflowRunResponseRef1 = {
|
|
|
5785
5817
|
downloadPath: string;
|
|
5786
5818
|
base64: string | null;
|
|
5787
5819
|
};
|
|
5788
|
-
type
|
|
5820
|
+
type GetWorkflowRunResponseRef4 = {
|
|
5789
5821
|
runId: string;
|
|
5790
5822
|
workflowId: string;
|
|
5791
5823
|
status: 'pending' | 'running' | 'paused' | 'redacting' | 'completed' | 'failed' | 'cancelled' | 'queued';
|
|
@@ -5793,6 +5825,7 @@ type GetWorkflowRunResponseRef2 = {
|
|
|
5793
5825
|
startedAt: string | null;
|
|
5794
5826
|
endedAt: string | null;
|
|
5795
5827
|
durationMs: number | null;
|
|
5828
|
+
version: number | null;
|
|
5796
5829
|
paused: {
|
|
5797
5830
|
contextId: string | null;
|
|
5798
5831
|
pausedAt: string;
|
|
@@ -5802,17 +5835,18 @@ type GetWorkflowRunResponseRef2 = {
|
|
|
5802
5835
|
automaticResumeWaitingReason: string | null;
|
|
5803
5836
|
pausePointCount: number;
|
|
5804
5837
|
resumedCount: number;
|
|
5838
|
+
points: Array<GetWorkflowRunResponseRef0>;
|
|
5805
5839
|
} | null;
|
|
5806
5840
|
cost: {
|
|
5807
5841
|
total: number;
|
|
5808
5842
|
} | null;
|
|
5809
|
-
error:
|
|
5843
|
+
error: GetWorkflowRunResponseRef2 | null;
|
|
5810
5844
|
output: unknown | null;
|
|
5811
5845
|
blockOutputs: Record<string, unknown> | null;
|
|
5812
|
-
files: Array<
|
|
5846
|
+
files: Array<GetWorkflowRunResponseRef3> | null;
|
|
5813
5847
|
};
|
|
5814
5848
|
export type GetWorkflowRunResponse = {
|
|
5815
|
-
data:
|
|
5849
|
+
data: GetWorkflowRunResponseRef4;
|
|
5816
5850
|
};
|
|
5817
5851
|
/** `GET /api/v2/workflows/[workflowId]/state` */
|
|
5818
5852
|
export type GetWorkflowStateParams = {
|
|
@@ -14726,7 +14760,7 @@ export declare const V2_OPERATIONS: {
|
|
|
14726
14760
|
};
|
|
14727
14761
|
readonly run: {
|
|
14728
14762
|
readonly kind: 'unknown';
|
|
14729
|
-
readonly describe: 'Workflow state and entry point to execute. Omit for the active deployment. Manual execution requires OAuth or personal-key write access and supports synchronous or streamed runs only; `waitTimeoutSeconds` lets a synchronous one continue in the background.';
|
|
14763
|
+
readonly describe: 'Workflow state and entry point to execute. Omit for the active deployment; `source: "deployment"` with `version` runs that deployment version. Manual execution requires OAuth or personal-key write access and supports synchronous or streamed runs only; `waitTimeoutSeconds` lets a synchronous one continue in the background.';
|
|
14730
14764
|
};
|
|
14731
14765
|
readonly async: {
|
|
14732
14766
|
readonly kind: 'boolean';
|
package/dist/index.js
CHANGED
|
@@ -11961,7 +11961,7 @@ var V2_OPERATIONS = {
|
|
|
11961
11961
|
},
|
|
11962
11962
|
run: {
|
|
11963
11963
|
kind: "unknown",
|
|
11964
|
-
describe:
|
|
11964
|
+
describe: 'Workflow state and entry point to execute. Omit for the active deployment; `source: "deployment"` with `version` runs that deployment version. Manual execution requires OAuth or personal-key write access and supports synchronous or streamed runs only; `waitTimeoutSeconds` lets a synchronous one continue in the background.'
|
|
11965
11965
|
},
|
|
11966
11966
|
async: {
|
|
11967
11967
|
kind: "boolean",
|
package/dist/runtime.js
CHANGED
|
@@ -12010,7 +12010,7 @@ var V2_OPERATIONS = {
|
|
|
12010
12010
|
},
|
|
12011
12011
|
run: {
|
|
12012
12012
|
kind: "unknown",
|
|
12013
|
-
describe:
|
|
12013
|
+
describe: 'Workflow state and entry point to execute. Omit for the active deployment; `source: "deployment"` with `version` runs that deployment version. Manual execution requires OAuth or personal-key write access and supports synchronous or streamed runs only; `waitTimeoutSeconds` lets a synchronous one continue in the background.'
|
|
12014
12014
|
},
|
|
12015
12015
|
async: {
|
|
12016
12016
|
kind: "boolean",
|