@kb-labs/workflow-contracts 2.64.0 → 2.65.0
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/index.d.ts +15 -15
- package/dist/{rest-api-W4Jmq6ej.d.ts → rest-api-BcrYB1hu.d.ts} +1571 -1571
- package/dist/rest-api.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ExpressionContext, W as WorkflowInvocationSpec } from './rest-api-
|
|
2
|
-
export { A as ApprovalReviewItem, a as ApprovalReviewItemSchema, b as ArtifactMergeConfig, c as ArtifactMergeConfigSchema, d as ArtifactMergeSource, e as ArtifactMergeSourceSchema, f as ArtifactMergeStrategy, g as ArtifactMergeStrategySchema, C as ConcurrencyGroup, h as ConcurrencyGroupSchema, i as CreateRunInput, j as CronInfo, k as CronInfoSchema, l as CronListResponse, m as CronListResponseSchema, n as CronRegistrationRequest, D as DashboardStatsResponse, o as DashboardStatsResponseSchema, p as ExecutionResult, q as ExecutionResultSchema, r as ExecutionTarget, s as ExecutionTargetSchema, I as IWorkflowEngine, t as IdempotencyKey, u as IdempotencyKeySchema, v as IsolationProfile, w as IsolationProfileSchema, J as JobArtifactsSchema, x as JobCancelResponse, y as JobCancelResponseSchema, z as JobConcurrencySchema, B as JobHooks, F as JobHooksSchema, G as JobListFilter, H as JobListResponse, K as JobListResponseSchema, L as JobLogsResponse, M as JobLogsResponseSchema, N as JobRun, O as JobRunSchema, P as JobSpec, Q as JobSpecSchema, R as JobStateSchema, S as JobStatusInfo, T as JobStatusInfoSchema, U as JobStatusSchema, V as JobStepInfo, X as JobStepInfoSchema, Y as JobStepsResponse, Z as JobStepsResponseSchema, _ as JobSubmissionRequest, $ as JobSubmissionResponse, a0 as ListRunsFilter, a1 as Phase, a2 as PhaseSchema, a3 as ResultError, a4 as ResultErrorSchema, a5 as ResultMetrics, a6 as ResultMetricsSchema, a7 as RetryModeSchema, a8 as RetryPolicy, a9 as RetryPolicySchema, aa as RunMetadata, ab as RunMetadataSchema, ac as RunSchema, ad as RunStateSchema, ae as RunTrigger, af as RunTriggerSchema, ag as StepArtifact, ah as StepArtifactSchema, ai as StepProgress, aj as StepProgressSchema, ak as StepRun, al as StepRunErrorSchema, am as StepRunSchema, an as StepSpec, ao as StepSpecSchema, ap as StepStateSchema, aq as TenantIdSchema, ar as TimeoutSchema, as as WorkflowInfo, at as WorkflowInfoSchema, au as WorkflowInputField, av as WorkflowInputFieldSchema, aw as WorkflowListResponse, ax as WorkflowListResponseSchema, ay as WorkflowLogEvent, az as WorkflowRun, aA as WorkflowRunHistoryResponse, aB as WorkflowRunHistoryResponseSchema, aC as WorkflowRunInfo, aD as WorkflowRunInfoSchema, aE as WorkflowRunRequest, aF as WorkflowRunRequestSchema, aG as WorkflowSpec, aH as WorkflowSpecSchema, aI as WorkflowTriggerSchema, aJ as WorkflowValidationResult } from './rest-api-
|
|
1
|
+
import { E as ExpressionContext, W as WorkflowInvocationSpec } from './rest-api-BcrYB1hu.js';
|
|
2
|
+
export { A as ApprovalReviewItem, a as ApprovalReviewItemSchema, b as ArtifactMergeConfig, c as ArtifactMergeConfigSchema, d as ArtifactMergeSource, e as ArtifactMergeSourceSchema, f as ArtifactMergeStrategy, g as ArtifactMergeStrategySchema, C as ConcurrencyGroup, h as ConcurrencyGroupSchema, i as CreateRunInput, j as CronInfo, k as CronInfoSchema, l as CronListResponse, m as CronListResponseSchema, n as CronRegistrationRequest, D as DashboardStatsResponse, o as DashboardStatsResponseSchema, p as ExecutionResult, q as ExecutionResultSchema, r as ExecutionTarget, s as ExecutionTargetSchema, I as IWorkflowEngine, t as IdempotencyKey, u as IdempotencyKeySchema, v as IsolationProfile, w as IsolationProfileSchema, J as JobArtifactsSchema, x as JobCancelResponse, y as JobCancelResponseSchema, z as JobConcurrencySchema, B as JobHooks, F as JobHooksSchema, G as JobListFilter, H as JobListResponse, K as JobListResponseSchema, L as JobLogsResponse, M as JobLogsResponseSchema, N as JobRun, O as JobRunSchema, P as JobSpec, Q as JobSpecSchema, R as JobStateSchema, S as JobStatusInfo, T as JobStatusInfoSchema, U as JobStatusSchema, V as JobStepInfo, X as JobStepInfoSchema, Y as JobStepsResponse, Z as JobStepsResponseSchema, _ as JobSubmissionRequest, $ as JobSubmissionResponse, a0 as ListRunsFilter, a1 as Phase, a2 as PhaseSchema, a3 as ResultError, a4 as ResultErrorSchema, a5 as ResultMetrics, a6 as ResultMetricsSchema, a7 as RetryModeSchema, a8 as RetryPolicy, a9 as RetryPolicySchema, aa as RunMetadata, ab as RunMetadataSchema, ac as RunSchema, ad as RunStateSchema, ae as RunTrigger, af as RunTriggerSchema, ag as StepArtifact, ah as StepArtifactSchema, ai as StepProgress, aj as StepProgressSchema, ak as StepRun, al as StepRunErrorSchema, am as StepRunSchema, an as StepSpec, ao as StepSpecSchema, ap as StepStateSchema, aq as TenantIdSchema, ar as TimeoutSchema, as as WorkflowInfo, at as WorkflowInfoSchema, au as WorkflowInputField, av as WorkflowInputFieldSchema, aw as WorkflowListResponse, ax as WorkflowListResponseSchema, ay as WorkflowLogEvent, az as WorkflowRun, aA as WorkflowRunHistoryResponse, aB as WorkflowRunHistoryResponseSchema, aC as WorkflowRunInfo, aD as WorkflowRunInfoSchema, aE as WorkflowRunRequest, aF as WorkflowRunRequestSchema, aG as WorkflowSpec, aH as WorkflowSpecSchema, aI as WorkflowTriggerSchema, aJ as WorkflowValidationResult } from './rest-api-BcrYB1hu.js';
|
|
3
3
|
import * as _kb_labs_shared_command_kit from '@kb-labs/shared-command-kit';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
@@ -180,20 +180,20 @@ declare const PluginCronJobSchema: z.ZodObject<{
|
|
|
180
180
|
id: string;
|
|
181
181
|
priority: "high" | "normal" | "low";
|
|
182
182
|
schedule: string;
|
|
183
|
-
handler: string;
|
|
184
183
|
enabled: boolean;
|
|
184
|
+
handler: string;
|
|
185
185
|
timezone?: string | undefined;
|
|
186
|
-
metadata?: Record<string, unknown> | undefined;
|
|
187
186
|
input?: Record<string, unknown> | undefined;
|
|
187
|
+
metadata?: Record<string, unknown> | undefined;
|
|
188
188
|
}, {
|
|
189
189
|
id: string;
|
|
190
190
|
schedule: string;
|
|
191
191
|
handler: string;
|
|
192
192
|
priority?: "high" | "normal" | "low" | undefined;
|
|
193
193
|
timezone?: string | undefined;
|
|
194
|
-
metadata?: Record<string, unknown> | undefined;
|
|
195
|
-
input?: Record<string, unknown> | undefined;
|
|
196
194
|
enabled?: boolean | undefined;
|
|
195
|
+
input?: Record<string, unknown> | undefined;
|
|
196
|
+
metadata?: Record<string, unknown> | undefined;
|
|
197
197
|
}>;
|
|
198
198
|
type PluginCronJob = z.infer<typeof PluginCronJobSchema>;
|
|
199
199
|
/**
|
|
@@ -211,24 +211,24 @@ declare const UserCronJobSchema: z.ZodObject<{
|
|
|
211
211
|
jobs: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
212
212
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
name: string;
|
|
215
214
|
priority: "high" | "normal" | "low";
|
|
216
|
-
schedule: string;
|
|
217
215
|
jobs: Record<string, any>;
|
|
216
|
+
schedule: string;
|
|
218
217
|
enabled: boolean;
|
|
218
|
+
name: string;
|
|
219
219
|
autoStart: boolean;
|
|
220
|
-
env?: Record<string, string> | undefined;
|
|
221
220
|
timezone?: string | undefined;
|
|
221
|
+
env?: Record<string, string> | undefined;
|
|
222
222
|
metadata?: Record<string, unknown> | undefined;
|
|
223
223
|
}, {
|
|
224
|
-
name: string;
|
|
225
|
-
schedule: string;
|
|
226
224
|
jobs: Record<string, any>;
|
|
227
|
-
|
|
225
|
+
schedule: string;
|
|
226
|
+
name: string;
|
|
228
227
|
priority?: "high" | "normal" | "low" | undefined;
|
|
229
228
|
timezone?: string | undefined;
|
|
230
|
-
metadata?: Record<string, unknown> | undefined;
|
|
231
229
|
enabled?: boolean | undefined;
|
|
230
|
+
env?: Record<string, string> | undefined;
|
|
231
|
+
metadata?: Record<string, unknown> | undefined;
|
|
232
232
|
autoStart?: boolean | undefined;
|
|
233
233
|
}>;
|
|
234
234
|
type UserCronJob = z.infer<typeof UserCronJobSchema>;
|
|
@@ -273,7 +273,7 @@ declare const CronExecutionSchema: z.ZodObject<{
|
|
|
273
273
|
stack?: string | undefined;
|
|
274
274
|
}>>;
|
|
275
275
|
}, "strip", z.ZodTypeAny, {
|
|
276
|
-
status: "
|
|
276
|
+
status: "pending" | "running" | "failed" | "success";
|
|
277
277
|
runId: string;
|
|
278
278
|
cronJobId: string;
|
|
279
279
|
scheduledAt: string;
|
|
@@ -284,7 +284,7 @@ declare const CronExecutionSchema: z.ZodObject<{
|
|
|
284
284
|
stack?: string | undefined;
|
|
285
285
|
} | undefined;
|
|
286
286
|
}, {
|
|
287
|
-
status: "
|
|
287
|
+
status: "pending" | "running" | "failed" | "success";
|
|
288
288
|
runId: string;
|
|
289
289
|
cronJobId: string;
|
|
290
290
|
scheduledAt: string;
|