@kb-labs/workflow-contracts 2.96.0 → 2.100.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-C7Qdk5Wo.d.ts → rest-api-DSEa7gcW.d.ts} +1788 -1788
- package/dist/rest-api.d.ts +1 -1
- package/package.json +4 -4
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 RetryModeSchema, a9 as RetryPolicy, aa as RetryPolicySchema, ab as RunMetadata, ac as RunMetadataSchema, ad as RunSchema, ae as RunStateSchema, af as RunTrigger, ag as RunTriggerSchema, ah as StepArtifact, ai as StepArtifactSchema, aj as StepProgress, ak as StepProgressSchema, al as StepRun, am as StepRunErrorSchema, an as StepRunSchema, ao as StepSpec, ap as StepSpecSchema, aq as StepStateSchema, ar as TenantIdSchema, as as TimeoutSchema, at as WorkflowInfo, au as WorkflowInfoSchema, av as WorkflowInputField, aw as WorkflowInputFieldSchema, ax as WorkflowListResponse, ay as WorkflowListResponseSchema, az as WorkflowLogEvent, aA as WorkflowRerunRequest, aB as WorkflowRerunRequestSchema, aC as WorkflowRestartRequest, aD as WorkflowRestartRequestSchema, aE as WorkflowRestartResponse, aF as WorkflowRun, aG as WorkflowRunHistoryResponse, aH as WorkflowRunHistoryResponseSchema, aI as WorkflowRunInfo, aJ as WorkflowRunInfoSchema, aK as WorkflowRunRequest, aL as WorkflowRunRequestSchema, aM as WorkflowSpec, aN as WorkflowSpecSchema, aO as WorkflowTriggerSchema, aP as WorkflowValidationResult } from './rest-api-
|
|
1
|
+
import { E as ExpressionContext, W as WorkflowInvocationSpec } from './rest-api-DSEa7gcW.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 RetryModeSchema, a9 as RetryPolicy, aa as RetryPolicySchema, ab as RunMetadata, ac as RunMetadataSchema, ad as RunSchema, ae as RunStateSchema, af as RunTrigger, ag as RunTriggerSchema, ah as StepArtifact, ai as StepArtifactSchema, aj as StepProgress, ak as StepProgressSchema, al as StepRun, am as StepRunErrorSchema, an as StepRunSchema, ao as StepSpec, ap as StepSpecSchema, aq as StepStateSchema, ar as TenantIdSchema, as as TimeoutSchema, at as WorkflowInfo, au as WorkflowInfoSchema, av as WorkflowInputField, aw as WorkflowInputFieldSchema, ax as WorkflowListResponse, ay as WorkflowListResponseSchema, az as WorkflowLogEvent, aA as WorkflowRerunRequest, aB as WorkflowRerunRequestSchema, aC as WorkflowRestartRequest, aD as WorkflowRestartRequestSchema, aE as WorkflowRestartResponse, aF as WorkflowRun, aG as WorkflowRunHistoryResponse, aH as WorkflowRunHistoryResponseSchema, aI as WorkflowRunInfo, aJ as WorkflowRunInfoSchema, aK as WorkflowRunRequest, aL as WorkflowRunRequestSchema, aM as WorkflowSpec, aN as WorkflowSpecSchema, aO as WorkflowTriggerSchema, aP as WorkflowValidationResult } from './rest-api-DSEa7gcW.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
|
-
handler: string;
|
|
219
218
|
enabled: boolean;
|
|
219
|
+
handler: string;
|
|
220
220
|
timezone?: string | undefined;
|
|
221
|
-
metadata?: Record<string, unknown> | undefined;
|
|
222
221
|
input?: Record<string, unknown> | undefined;
|
|
222
|
+
metadata?: 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
|
-
metadata?: Record<string, unknown> | undefined;
|
|
230
|
-
input?: Record<string, unknown> | undefined;
|
|
231
229
|
enabled?: boolean | undefined;
|
|
230
|
+
input?: Record<string, unknown> | undefined;
|
|
231
|
+
metadata?: Record<string, unknown> | 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;
|
|
250
249
|
priority: "high" | "normal" | "low";
|
|
251
|
-
schedule: string;
|
|
252
250
|
jobs: Record<string, any>;
|
|
251
|
+
schedule: string;
|
|
253
252
|
enabled: boolean;
|
|
253
|
+
name: string;
|
|
254
254
|
autoStart: boolean;
|
|
255
|
-
env?: Record<string, string> | undefined;
|
|
256
255
|
timezone?: string | undefined;
|
|
256
|
+
env?: Record<string, string> | undefined;
|
|
257
257
|
metadata?: Record<string, unknown> | undefined;
|
|
258
258
|
}, {
|
|
259
|
-
name: string;
|
|
260
|
-
schedule: string;
|
|
261
259
|
jobs: Record<string, any>;
|
|
262
|
-
|
|
260
|
+
schedule: string;
|
|
261
|
+
name: string;
|
|
263
262
|
priority?: "high" | "normal" | "low" | undefined;
|
|
264
263
|
timezone?: string | undefined;
|
|
265
|
-
metadata?: Record<string, unknown> | undefined;
|
|
266
264
|
enabled?: boolean | undefined;
|
|
265
|
+
env?: Record<string, string> | undefined;
|
|
266
|
+
metadata?: Record<string, unknown> | 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: "pending" | "running" | "failed" | "success";
|
|
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: "pending" | "running" | "failed" | "success";
|
|
323
323
|
runId: string;
|
|
324
324
|
cronJobId: string;
|
|
325
325
|
scheduledAt: string;
|