@kb-labs/workflow-contracts 2.111.0 → 2.112.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-BlQnC3Sa.d.ts → rest-api-BZYyPvrG.d.ts} +1775 -1775
- package/dist/rest-api.d.ts +1 -1
- package/package.json +2 -2
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, F as FileLintResult, 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, G as JobHooksSchema, H as JobListFilter, K as JobListResponse, L as JobListResponseSchema, M as JobLogsResponse, N as JobLogsResponseSchema, O as JobRun, P as JobRunSchema, Q as JobSpec, R as JobSpecSchema, S as JobStateSchema, T as JobStatusInfo, U as JobStatusInfoSchema, V as JobStatusSchema, X as JobStepInfo, Y as JobStepInfoSchema, Z as JobStepsResponse, _ as JobStepsResponseSchema, $ as JobSubmissionRequest, a0 as JobSubmissionResponse, a1 as ListRunsFilter, a2 as Phase, a3 as PhaseSchema, a4 as ResultError, a5 as ResultErrorSchema, a6 as ResultMetrics, a7 as ResultMetricsSchema, a8 as RetryFailureKind, a9 as RetryFailureKindSchema, aa as RetryModeSchema, ab as RetryPolicy, ac as RetryPolicySchema, ad as RunMetadata, ae as RunMetadataSchema, af as RunSchema, ag as RunStateSchema, ah as RunTrigger, ai as RunTriggerSchema, aj as StepArtifact, ak as StepArtifactSchema, al as StepProgress, am as StepProgressSchema, an as StepRun, ao as StepRunErrorSchema, ap as StepRunSchema, aq as StepSpec, ar as StepSpecSchema, as as StepStateSchema, at as TenantIdSchema, au as TimeoutSchema, av as WorkflowInfo, aw as WorkflowInfoSchema, ax as WorkflowInputField, ay as WorkflowInputFieldSchema, az as WorkflowListResponse, aA as WorkflowListResponseSchema, aB as WorkflowLogEvent, aC as WorkflowRerunRequest, aD as WorkflowRerunRequestSchema, aE as WorkflowRestartRequest, aF as WorkflowRestartRequestSchema, aG as WorkflowRestartResponse, aH as WorkflowRun, aI as WorkflowRunHistoryResponse, aJ as WorkflowRunHistoryResponseSchema, aK as WorkflowRunInfo, aL as WorkflowRunInfoSchema, aM as WorkflowRunRequest, aN as WorkflowRunRequestSchema, aO as WorkflowSpec, aP as WorkflowSpecSchema, aQ as WorkflowTriggerSchema, aR as WorkflowValidationResult } from './rest-api-
|
|
1
|
+
import { E as ExpressionContext, W as WorkflowInvocationSpec } from './rest-api-BZYyPvrG.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, F as FileLintResult, 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, G as JobHooksSchema, H as JobListFilter, K as JobListResponse, L as JobListResponseSchema, M as JobLogsResponse, N as JobLogsResponseSchema, O as JobRun, P as JobRunSchema, Q as JobSpec, R as JobSpecSchema, S as JobStateSchema, T as JobStatusInfo, U as JobStatusInfoSchema, V as JobStatusSchema, X as JobStepInfo, Y as JobStepInfoSchema, Z as JobStepsResponse, _ as JobStepsResponseSchema, $ as JobSubmissionRequest, a0 as JobSubmissionResponse, a1 as ListRunsFilter, a2 as Phase, a3 as PhaseSchema, a4 as ResultError, a5 as ResultErrorSchema, a6 as ResultMetrics, a7 as ResultMetricsSchema, a8 as RetryFailureKind, a9 as RetryFailureKindSchema, aa as RetryModeSchema, ab as RetryPolicy, ac as RetryPolicySchema, ad as RunMetadata, ae as RunMetadataSchema, af as RunSchema, ag as RunStateSchema, ah as RunTrigger, ai as RunTriggerSchema, aj as StepArtifact, ak as StepArtifactSchema, al as StepProgress, am as StepProgressSchema, an as StepRun, ao as StepRunErrorSchema, ap as StepRunSchema, aq as StepSpec, ar as StepSpecSchema, as as StepStateSchema, at as TenantIdSchema, au as TimeoutSchema, av as WorkflowInfo, aw as WorkflowInfoSchema, ax as WorkflowInputField, ay as WorkflowInputFieldSchema, az as WorkflowListResponse, aA as WorkflowListResponseSchema, aB as WorkflowLogEvent, aC as WorkflowRerunRequest, aD as WorkflowRerunRequestSchema, aE as WorkflowRestartRequest, aF as WorkflowRestartRequestSchema, aG as WorkflowRestartResponse, aH as WorkflowRun, aI as WorkflowRunHistoryResponse, aJ as WorkflowRunHistoryResponseSchema, aK as WorkflowRunInfo, aL as WorkflowRunInfoSchema, aM as WorkflowRunRequest, aN as WorkflowRunRequestSchema, aO as WorkflowSpec, aP as WorkflowSpecSchema, aQ as WorkflowTriggerSchema, aR as WorkflowValidationResult } from './rest-api-BZYyPvrG.js';
|
|
3
3
|
import * as _kb_labs_shared_command_kit from '@kb-labs/shared-command-kit';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import '@kb-labs/workflow-constants';
|
|
@@ -215,20 +215,20 @@ declare const PluginCronJobSchema: z.ZodObject<{
|
|
|
215
215
|
id: string;
|
|
216
216
|
priority: "high" | "normal" | "low";
|
|
217
217
|
schedule: string;
|
|
218
|
-
enabled: boolean;
|
|
219
218
|
handler: string;
|
|
219
|
+
enabled: boolean;
|
|
220
220
|
timezone?: string | undefined;
|
|
221
|
-
input?: Record<string, unknown> | undefined;
|
|
222
221
|
metadata?: Record<string, unknown> | undefined;
|
|
222
|
+
input?: Record<string, unknown> | undefined;
|
|
223
223
|
}, {
|
|
224
224
|
id: string;
|
|
225
225
|
schedule: string;
|
|
226
226
|
handler: string;
|
|
227
227
|
priority?: "high" | "normal" | "low" | undefined;
|
|
228
228
|
timezone?: string | undefined;
|
|
229
|
-
enabled?: boolean | undefined;
|
|
230
|
-
input?: Record<string, unknown> | undefined;
|
|
231
229
|
metadata?: Record<string, unknown> | undefined;
|
|
230
|
+
input?: Record<string, unknown> | undefined;
|
|
231
|
+
enabled?: boolean | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
type PluginCronJob = z.infer<typeof PluginCronJobSchema>;
|
|
234
234
|
/**
|
|
@@ -246,24 +246,24 @@ declare const UserCronJobSchema: z.ZodObject<{
|
|
|
246
246
|
jobs: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
247
247
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
name: string;
|
|
249
250
|
priority: "high" | "normal" | "low";
|
|
250
|
-
jobs: Record<string, any>;
|
|
251
251
|
schedule: string;
|
|
252
|
+
jobs: Record<string, any>;
|
|
252
253
|
enabled: boolean;
|
|
253
|
-
name: string;
|
|
254
254
|
autoStart: boolean;
|
|
255
|
-
timezone?: string | undefined;
|
|
256
255
|
env?: Record<string, string> | undefined;
|
|
256
|
+
timezone?: string | undefined;
|
|
257
257
|
metadata?: Record<string, unknown> | undefined;
|
|
258
258
|
}, {
|
|
259
|
-
jobs: Record<string, any>;
|
|
260
|
-
schedule: string;
|
|
261
259
|
name: string;
|
|
260
|
+
schedule: string;
|
|
261
|
+
jobs: Record<string, any>;
|
|
262
|
+
env?: Record<string, string> | undefined;
|
|
262
263
|
priority?: "high" | "normal" | "low" | undefined;
|
|
263
264
|
timezone?: string | undefined;
|
|
264
|
-
enabled?: boolean | undefined;
|
|
265
|
-
env?: Record<string, string> | undefined;
|
|
266
265
|
metadata?: Record<string, unknown> | undefined;
|
|
266
|
+
enabled?: boolean | undefined;
|
|
267
267
|
autoStart?: boolean | undefined;
|
|
268
268
|
}>;
|
|
269
269
|
type UserCronJob = z.infer<typeof UserCronJobSchema>;
|
|
@@ -308,7 +308,7 @@ declare const CronExecutionSchema: z.ZodObject<{
|
|
|
308
308
|
stack?: string | undefined;
|
|
309
309
|
}>>;
|
|
310
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
status: "
|
|
311
|
+
status: "running" | "success" | "failed" | "pending";
|
|
312
312
|
runId: string;
|
|
313
313
|
cronJobId: string;
|
|
314
314
|
scheduledAt: string;
|
|
@@ -319,7 +319,7 @@ declare const CronExecutionSchema: z.ZodObject<{
|
|
|
319
319
|
stack?: string | undefined;
|
|
320
320
|
} | undefined;
|
|
321
321
|
}, {
|
|
322
|
-
status: "
|
|
322
|
+
status: "running" | "success" | "failed" | "pending";
|
|
323
323
|
runId: string;
|
|
324
324
|
cronJobId: string;
|
|
325
325
|
scheduledAt: string;
|