sim 2.2.24-preview.281.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 +39 -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?: {
|
|
@@ -5772,13 +5773,43 @@ export type GetWorkflowRunQuery = {
|
|
|
5772
5773
|
base64MaxBytes?: number;
|
|
5773
5774
|
};
|
|
5774
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 = {
|
|
5775
5806
|
message: string;
|
|
5776
5807
|
code: 'TIMEOUT' | 'CANCELLED' | 'USAGE_LIMIT_EXCEEDED' | 'INVALID_INPUT' | 'BLOCK_EXECUTION_FAILED' | 'CHILD_WORKFLOW_FAILED' | 'EXECUTION_FAILED';
|
|
5777
5808
|
blockId?: string;
|
|
5778
5809
|
blockName?: string;
|
|
5779
5810
|
blockType?: string;
|
|
5780
5811
|
};
|
|
5781
|
-
type
|
|
5812
|
+
type GetWorkflowRunResponseRef3 = {
|
|
5782
5813
|
id: string;
|
|
5783
5814
|
name: string;
|
|
5784
5815
|
size: number;
|
|
@@ -5786,7 +5817,7 @@ type GetWorkflowRunResponseRef1 = {
|
|
|
5786
5817
|
downloadPath: string;
|
|
5787
5818
|
base64: string | null;
|
|
5788
5819
|
};
|
|
5789
|
-
type
|
|
5820
|
+
type GetWorkflowRunResponseRef4 = {
|
|
5790
5821
|
runId: string;
|
|
5791
5822
|
workflowId: string;
|
|
5792
5823
|
status: 'pending' | 'running' | 'paused' | 'redacting' | 'completed' | 'failed' | 'cancelled' | 'queued';
|
|
@@ -5794,6 +5825,7 @@ type GetWorkflowRunResponseRef2 = {
|
|
|
5794
5825
|
startedAt: string | null;
|
|
5795
5826
|
endedAt: string | null;
|
|
5796
5827
|
durationMs: number | null;
|
|
5828
|
+
version: number | null;
|
|
5797
5829
|
paused: {
|
|
5798
5830
|
contextId: string | null;
|
|
5799
5831
|
pausedAt: string;
|
|
@@ -5803,17 +5835,18 @@ type GetWorkflowRunResponseRef2 = {
|
|
|
5803
5835
|
automaticResumeWaitingReason: string | null;
|
|
5804
5836
|
pausePointCount: number;
|
|
5805
5837
|
resumedCount: number;
|
|
5838
|
+
points: Array<GetWorkflowRunResponseRef0>;
|
|
5806
5839
|
} | null;
|
|
5807
5840
|
cost: {
|
|
5808
5841
|
total: number;
|
|
5809
5842
|
} | null;
|
|
5810
|
-
error:
|
|
5843
|
+
error: GetWorkflowRunResponseRef2 | null;
|
|
5811
5844
|
output: unknown | null;
|
|
5812
5845
|
blockOutputs: Record<string, unknown> | null;
|
|
5813
|
-
files: Array<
|
|
5846
|
+
files: Array<GetWorkflowRunResponseRef3> | null;
|
|
5814
5847
|
};
|
|
5815
5848
|
export type GetWorkflowRunResponse = {
|
|
5816
|
-
data:
|
|
5849
|
+
data: GetWorkflowRunResponseRef4;
|
|
5817
5850
|
};
|
|
5818
5851
|
/** `GET /api/v2/workflows/[workflowId]/state` */
|
|
5819
5852
|
export type GetWorkflowStateParams = {
|
|
@@ -14727,7 +14760,7 @@ export declare const V2_OPERATIONS: {
|
|
|
14727
14760
|
};
|
|
14728
14761
|
readonly run: {
|
|
14729
14762
|
readonly kind: 'unknown';
|
|
14730
|
-
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.';
|
|
14731
14764
|
};
|
|
14732
14765
|
readonly async: {
|
|
14733
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",
|