@trigger.dev/core 3.0.0-beta.51 → 3.0.0-beta.52

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.
Files changed (57) hide show
  1. package/dist/{catalog-h79CG5Wy.d.ts → catalog-gM5Cvgc3.d.ts} +2 -2
  2. package/dist/{catalog-H7yFiZ60.d.mts → catalog-nhfltZFA.d.mts} +2 -2
  3. package/dist/{common-CLW82lkt.d.mts → common-B45g-vNI.d.mts} +13 -0
  4. package/dist/{common-CLW82lkt.d.ts → common-B45g-vNI.d.ts} +13 -0
  5. package/dist/index.d.mts +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/{manager-KvCabW1a.d.mts → manager-q7bZZNwE.d.mts} +1 -1
  8. package/dist/{manager-OBA35PzR.d.ts → manager-zf0yn2lA.d.ts} +1 -1
  9. package/dist/{messages-JvHJ83wv.d.mts → messages-248C7Ut6.d.mts} +203 -11
  10. package/dist/{messages-JvHJ83wv.d.ts → messages-248C7Ut6.d.ts} +203 -11
  11. package/dist/retry.d.mts +1 -1
  12. package/dist/retry.d.ts +1 -1
  13. package/dist/schemas/index.d.mts +6 -6
  14. package/dist/schemas/index.d.ts +6 -6
  15. package/dist/{schemas-C9ssfehv.d.mts → schemas-38ilA21d.d.mts} +19 -0
  16. package/dist/{schemas-C9ssfehv.d.ts → schemas-38ilA21d.d.ts} +19 -0
  17. package/dist/v3/dev/index.d.mts +2 -2
  18. package/dist/v3/dev/index.d.ts +2 -2
  19. package/dist/v3/errors.d.mts +1 -1
  20. package/dist/v3/errors.d.ts +1 -1
  21. package/dist/v3/index.d.mts +9 -9
  22. package/dist/v3/index.d.ts +9 -9
  23. package/dist/v3/index.js +17 -3
  24. package/dist/v3/index.js.map +1 -1
  25. package/dist/v3/index.mjs +17 -3
  26. package/dist/v3/index.mjs.map +1 -1
  27. package/dist/v3/otel/index.js +1 -1
  28. package/dist/v3/otel/index.js.map +1 -1
  29. package/dist/v3/otel/index.mjs +1 -1
  30. package/dist/v3/otel/index.mjs.map +1 -1
  31. package/dist/v3/prod/index.d.mts +3 -3
  32. package/dist/v3/prod/index.d.ts +3 -3
  33. package/dist/v3/schemas/index.d.mts +4 -4
  34. package/dist/v3/schemas/index.d.ts +4 -4
  35. package/dist/v3/schemas/index.js +16 -2
  36. package/dist/v3/schemas/index.js.map +1 -1
  37. package/dist/v3/schemas/index.mjs +16 -2
  38. package/dist/v3/schemas/index.mjs.map +1 -1
  39. package/dist/v3/utils/ioSerialization.d.mts +2 -1
  40. package/dist/v3/utils/ioSerialization.d.ts +2 -1
  41. package/dist/v3/utils/ioSerialization.js +16 -3
  42. package/dist/v3/utils/ioSerialization.js.map +1 -1
  43. package/dist/v3/utils/ioSerialization.mjs +16 -4
  44. package/dist/v3/utils/ioSerialization.mjs.map +1 -1
  45. package/dist/v3/utils/retries.d.mts +1 -1
  46. package/dist/v3/utils/retries.d.ts +1 -1
  47. package/dist/v3/workers/index.d.mts +6 -6
  48. package/dist/v3/workers/index.d.ts +6 -6
  49. package/dist/v3/workers/index.js +4 -3
  50. package/dist/v3/workers/index.js.map +1 -1
  51. package/dist/v3/workers/index.mjs +4 -3
  52. package/dist/v3/workers/index.mjs.map +1 -1
  53. package/dist/v3/zodfetch.d.mts +1 -1
  54. package/dist/v3/zodfetch.d.ts +1 -1
  55. package/package.json +1 -1
  56. package/dist/{api-sNoooMbT.d.ts → api--StDLb4h.d.ts} +153 -153
  57. package/dist/{api-Pl9fxB8v.d.mts → api-a39zAY3E.d.mts} +153 -153
@@ -66,8 +66,8 @@ declare const TaskSchema: z.ZodObject<{
66
66
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
67
67
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
68
68
  }, "strip", z.ZodTypeAny, {
69
- name: string;
70
69
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
70
+ name: string;
71
71
  id: string;
72
72
  noop: boolean;
73
73
  icon?: string | null | undefined;
@@ -100,8 +100,8 @@ declare const TaskSchema: z.ZodObject<{
100
100
  callbackUrl?: string | null | undefined;
101
101
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
102
102
  }, {
103
- name: string;
104
103
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
104
+ name: string;
105
105
  id: string;
106
106
  noop: boolean;
107
107
  icon?: string | null | undefined;
@@ -135,9 +135,9 @@ declare const TaskSchema: z.ZodObject<{
135
135
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
136
136
  }>;
137
137
  declare const ServerTaskSchema: z.ZodObject<{
138
- name: z.ZodString;
139
138
  params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
140
139
  status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
140
+ name: z.ZodString;
141
141
  error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
142
142
  context: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
143
143
  id: z.ZodString;
@@ -198,8 +198,8 @@ declare const ServerTaskSchema: z.ZodObject<{
198
198
  attempts: z.ZodNumber;
199
199
  forceYield: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
200
200
  }, "strip", z.ZodTypeAny, {
201
- name: string;
202
201
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
202
+ name: string;
203
203
  id: string;
204
204
  noop: boolean;
205
205
  idempotencyKey: string;
@@ -235,8 +235,8 @@ declare const ServerTaskSchema: z.ZodObject<{
235
235
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
236
236
  forceYield?: boolean | null | undefined;
237
237
  }, {
238
- name: string;
239
238
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
239
+ name: string;
240
240
  id: string;
241
241
  noop: boolean;
242
242
  idempotencyKey: string;
@@ -530,11 +530,11 @@ declare const SourceEventOptionSchema: z.ZodObject<{
530
530
  name: z.ZodString;
531
531
  value: z.ZodString;
532
532
  }, "strip", z.ZodTypeAny, {
533
- name: string;
534
533
  value: string;
535
- }, {
536
534
  name: string;
535
+ }, {
537
536
  value: string;
537
+ name: string;
538
538
  }>;
539
539
  type SourceEventOption = z.infer<typeof SourceEventOptionSchema>;
540
540
  declare const RegisterSourceEventSchemaV1: z.ZodObject<{
@@ -1799,8 +1799,8 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
1799
1799
  id: string;
1800
1800
  }>>;
1801
1801
  }, "strip", z.ZodTypeAny, {
1802
- version: "2";
1803
1802
  options: Record<string, string[]>;
1803
+ version: "2";
1804
1804
  key: string;
1805
1805
  channel: "HTTP" | "SMTP" | "SQS";
1806
1806
  integration: {
@@ -1818,8 +1818,8 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
1818
1818
  id: string;
1819
1819
  } | undefined;
1820
1820
  }, {
1821
- version: "2";
1822
1821
  options: Record<string, string[]>;
1822
+ version: "2";
1823
1823
  key: string;
1824
1824
  channel: "HTTP" | "SMTP" | "SQS";
1825
1825
  integration: {
@@ -3234,8 +3234,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3234
3234
  id: string;
3235
3235
  }>>;
3236
3236
  }, "strip", z.ZodTypeAny, {
3237
- version: "2";
3238
3237
  options: Record<string, string[]>;
3238
+ version: "2";
3239
3239
  key: string;
3240
3240
  channel: "HTTP" | "SMTP" | "SQS";
3241
3241
  integration: {
@@ -3253,8 +3253,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3253
3253
  id: string;
3254
3254
  } | undefined;
3255
3255
  }, {
3256
- version: "2";
3257
3256
  options: Record<string, string[]>;
3257
+ version: "2";
3258
3258
  key: string;
3259
3259
  channel: "HTTP" | "SMTP" | "SQS";
3260
3260
  integration: {
@@ -3291,8 +3291,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3291
3291
  id: string;
3292
3292
  } | undefined;
3293
3293
  } | {
3294
- version: "2";
3295
3294
  options: Record<string, string[]>;
3295
+ version: "2";
3296
3296
  key: string;
3297
3297
  channel: "HTTP" | "SMTP" | "SQS";
3298
3298
  integration: {
@@ -4177,8 +4177,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
4177
4177
  id: string;
4178
4178
  } | undefined;
4179
4179
  } | {
4180
- version: "2";
4181
4180
  options: Record<string, string[]>;
4181
+ version: "2";
4182
4182
  key: string;
4183
4183
  channel: "HTTP" | "SMTP" | "SQS";
4184
4184
  integration: {
@@ -5419,8 +5419,8 @@ declare const RunJobErrorSchema: z.ZodObject<{
5419
5419
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5420
5420
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
5421
5421
  }, "strip", z.ZodTypeAny, {
5422
- name: string;
5423
5422
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
5423
+ name: string;
5424
5424
  id: string;
5425
5425
  noop: boolean;
5426
5426
  icon?: string | null | undefined;
@@ -5453,8 +5453,8 @@ declare const RunJobErrorSchema: z.ZodObject<{
5453
5453
  callbackUrl?: string | null | undefined;
5454
5454
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
5455
5455
  }, {
5456
- name: string;
5457
5456
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
5457
+ name: string;
5458
5458
  id: string;
5459
5459
  noop: boolean;
5460
5460
  icon?: string | null | undefined;
@@ -5495,8 +5495,8 @@ declare const RunJobErrorSchema: z.ZodObject<{
5495
5495
  stack?: string | undefined;
5496
5496
  };
5497
5497
  task?: {
5498
- name: string;
5499
5498
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
5499
+ name: string;
5500
5500
  id: string;
5501
5501
  noop: boolean;
5502
5502
  icon?: string | null | undefined;
@@ -5537,8 +5537,8 @@ declare const RunJobErrorSchema: z.ZodObject<{
5537
5537
  stack?: string | undefined;
5538
5538
  };
5539
5539
  task?: {
5540
- name: string;
5541
5540
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
5541
+ name: string;
5542
5542
  id: string;
5543
5543
  noop: boolean;
5544
5544
  icon?: string | null | undefined;
@@ -5708,23 +5708,23 @@ declare const RunJobInvalidPayloadErrorSchema: z.ZodObject<{
5708
5708
  path: z.ZodArray<z.ZodString, "many">;
5709
5709
  message: z.ZodString;
5710
5710
  }, "strip", z.ZodTypeAny, {
5711
- message: string;
5712
5711
  path: string[];
5713
- }, {
5714
5712
  message: string;
5713
+ }, {
5715
5714
  path: string[];
5715
+ message: string;
5716
5716
  }>, "many">;
5717
5717
  }, "strip", z.ZodTypeAny, {
5718
5718
  status: "INVALID_PAYLOAD";
5719
5719
  errors: {
5720
- message: string;
5721
5720
  path: string[];
5721
+ message: string;
5722
5722
  }[];
5723
5723
  }, {
5724
5724
  status: "INVALID_PAYLOAD";
5725
5725
  errors: {
5726
- message: string;
5727
5726
  path: string[];
5727
+ message: string;
5728
5728
  }[];
5729
5729
  }>;
5730
5730
  type RunJobInvalidPayloadError = z.infer<typeof RunJobInvalidPayloadErrorSchema>;
@@ -5817,8 +5817,8 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
5817
5817
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5818
5818
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
5819
5819
  }, "strip", z.ZodTypeAny, {
5820
- name: string;
5821
5820
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
5821
+ name: string;
5822
5822
  id: string;
5823
5823
  noop: boolean;
5824
5824
  icon?: string | null | undefined;
@@ -5851,8 +5851,8 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
5851
5851
  callbackUrl?: string | null | undefined;
5852
5852
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
5853
5853
  }, {
5854
- name: string;
5855
5854
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
5855
+ name: string;
5856
5856
  id: string;
5857
5857
  noop: boolean;
5858
5858
  icon?: string | null | undefined;
@@ -5888,8 +5888,8 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
5888
5888
  }, "strip", z.ZodTypeAny, {
5889
5889
  status: "RESUME_WITH_TASK";
5890
5890
  task: {
5891
- name: string;
5892
5891
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
5892
+ name: string;
5893
5893
  id: string;
5894
5894
  noop: boolean;
5895
5895
  icon?: string | null | undefined;
@@ -5925,8 +5925,8 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
5925
5925
  }, {
5926
5926
  status: "RESUME_WITH_TASK";
5927
5927
  task: {
5928
- name: string;
5929
5928
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
5929
+ name: string;
5930
5930
  id: string;
5931
5931
  noop: boolean;
5932
5932
  icon?: string | null | undefined;
@@ -6024,8 +6024,8 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
6024
6024
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6025
6025
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
6026
6026
  }, "strip", z.ZodTypeAny, {
6027
- name: string;
6028
6027
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6028
+ name: string;
6029
6029
  id: string;
6030
6030
  noop: boolean;
6031
6031
  icon?: string | null | undefined;
@@ -6058,8 +6058,8 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
6058
6058
  callbackUrl?: string | null | undefined;
6059
6059
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
6060
6060
  }, {
6061
- name: string;
6062
6061
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6062
+ name: string;
6063
6063
  id: string;
6064
6064
  noop: boolean;
6065
6065
  icon?: string | null | undefined;
@@ -6114,8 +6114,8 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
6114
6114
  stack?: string | undefined;
6115
6115
  };
6116
6116
  task: {
6117
- name: string;
6118
6117
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6118
+ name: string;
6119
6119
  id: string;
6120
6120
  noop: boolean;
6121
6121
  icon?: string | null | undefined;
@@ -6157,8 +6157,8 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
6157
6157
  stack?: string | undefined;
6158
6158
  };
6159
6159
  task: {
6160
- name: string;
6161
6160
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6161
+ name: string;
6162
6162
  id: string;
6163
6163
  noop: boolean;
6164
6164
  icon?: string | null | undefined;
@@ -6257,8 +6257,8 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
6257
6257
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6258
6258
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
6259
6259
  }, "strip", z.ZodTypeAny, {
6260
- name: string;
6261
6260
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6261
+ name: string;
6262
6262
  id: string;
6263
6263
  noop: boolean;
6264
6264
  icon?: string | null | undefined;
@@ -6291,8 +6291,8 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
6291
6291
  callbackUrl?: string | null | undefined;
6292
6292
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
6293
6293
  }, {
6294
- name: string;
6295
6294
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6295
+ name: string;
6296
6296
  id: string;
6297
6297
  noop: boolean;
6298
6298
  icon?: string | null | undefined;
@@ -6328,8 +6328,8 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
6328
6328
  }, "strip", z.ZodTypeAny, {
6329
6329
  status: "CANCELED";
6330
6330
  task: {
6331
- name: string;
6332
6331
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6332
+ name: string;
6333
6333
  id: string;
6334
6334
  noop: boolean;
6335
6335
  icon?: string | null | undefined;
@@ -6365,8 +6365,8 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
6365
6365
  }, {
6366
6366
  status: "CANCELED";
6367
6367
  task: {
6368
- name: string;
6369
6368
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6369
+ name: string;
6370
6370
  id: string;
6371
6371
  noop: boolean;
6372
6372
  icon?: string | null | undefined;
@@ -6592,8 +6592,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6592
6592
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6593
6593
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
6594
6594
  }, "strip", z.ZodTypeAny, {
6595
- name: string;
6596
6595
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6596
+ name: string;
6597
6597
  id: string;
6598
6598
  noop: boolean;
6599
6599
  icon?: string | null | undefined;
@@ -6626,8 +6626,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6626
6626
  callbackUrl?: string | null | undefined;
6627
6627
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
6628
6628
  }, {
6629
- name: string;
6630
6629
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6630
+ name: string;
6631
6631
  id: string;
6632
6632
  noop: boolean;
6633
6633
  icon?: string | null | undefined;
@@ -6668,8 +6668,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6668
6668
  stack?: string | undefined;
6669
6669
  };
6670
6670
  task?: {
6671
- name: string;
6672
6671
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6672
+ name: string;
6673
6673
  id: string;
6674
6674
  noop: boolean;
6675
6675
  icon?: string | null | undefined;
@@ -6710,8 +6710,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6710
6710
  stack?: string | undefined;
6711
6711
  };
6712
6712
  task?: {
6713
- name: string;
6714
6713
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6714
+ name: string;
6715
6715
  id: string;
6716
6716
  noop: boolean;
6717
6717
  icon?: string | null | undefined;
@@ -6774,23 +6774,23 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6774
6774
  path: z.ZodArray<z.ZodString, "many">;
6775
6775
  message: z.ZodString;
6776
6776
  }, "strip", z.ZodTypeAny, {
6777
- message: string;
6778
6777
  path: string[];
6779
- }, {
6780
6778
  message: string;
6779
+ }, {
6781
6780
  path: string[];
6781
+ message: string;
6782
6782
  }>, "many">;
6783
6783
  }, "strip", z.ZodTypeAny, {
6784
6784
  status: "INVALID_PAYLOAD";
6785
6785
  errors: {
6786
- message: string;
6787
6786
  path: string[];
6787
+ message: string;
6788
6788
  }[];
6789
6789
  }, {
6790
6790
  status: "INVALID_PAYLOAD";
6791
6791
  errors: {
6792
- message: string;
6793
6792
  path: string[];
6793
+ message: string;
6794
6794
  }[];
6795
6795
  }>, z.ZodObject<{
6796
6796
  status: z.ZodLiteral<"RESUME_WITH_TASK">;
@@ -6855,8 +6855,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6855
6855
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6856
6856
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
6857
6857
  }, "strip", z.ZodTypeAny, {
6858
- name: string;
6859
6858
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6859
+ name: string;
6860
6860
  id: string;
6861
6861
  noop: boolean;
6862
6862
  icon?: string | null | undefined;
@@ -6889,8 +6889,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6889
6889
  callbackUrl?: string | null | undefined;
6890
6890
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
6891
6891
  }, {
6892
- name: string;
6893
6892
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6893
+ name: string;
6894
6894
  id: string;
6895
6895
  noop: boolean;
6896
6896
  icon?: string | null | undefined;
@@ -6926,8 +6926,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6926
6926
  }, "strip", z.ZodTypeAny, {
6927
6927
  status: "RESUME_WITH_TASK";
6928
6928
  task: {
6929
- name: string;
6930
6929
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6930
+ name: string;
6931
6931
  id: string;
6932
6932
  noop: boolean;
6933
6933
  icon?: string | null | undefined;
@@ -6963,8 +6963,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6963
6963
  }, {
6964
6964
  status: "RESUME_WITH_TASK";
6965
6965
  task: {
6966
- name: string;
6967
6966
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
6967
+ name: string;
6968
6968
  id: string;
6969
6969
  noop: boolean;
6970
6970
  icon?: string | null | undefined;
@@ -7060,8 +7060,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7060
7060
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7061
7061
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
7062
7062
  }, "strip", z.ZodTypeAny, {
7063
- name: string;
7064
7063
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7064
+ name: string;
7065
7065
  id: string;
7066
7066
  noop: boolean;
7067
7067
  icon?: string | null | undefined;
@@ -7094,8 +7094,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7094
7094
  callbackUrl?: string | null | undefined;
7095
7095
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
7096
7096
  }, {
7097
- name: string;
7098
7097
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7098
+ name: string;
7099
7099
  id: string;
7100
7100
  noop: boolean;
7101
7101
  icon?: string | null | undefined;
@@ -7150,8 +7150,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7150
7150
  stack?: string | undefined;
7151
7151
  };
7152
7152
  task: {
7153
- name: string;
7154
7153
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7154
+ name: string;
7155
7155
  id: string;
7156
7156
  noop: boolean;
7157
7157
  icon?: string | null | undefined;
@@ -7193,8 +7193,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7193
7193
  stack?: string | undefined;
7194
7194
  };
7195
7195
  task: {
7196
- name: string;
7197
7196
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7197
+ name: string;
7198
7198
  id: string;
7199
7199
  noop: boolean;
7200
7200
  icon?: string | null | undefined;
@@ -7291,8 +7291,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7291
7291
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7292
7292
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
7293
7293
  }, "strip", z.ZodTypeAny, {
7294
- name: string;
7295
7294
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7295
+ name: string;
7296
7296
  id: string;
7297
7297
  noop: boolean;
7298
7298
  icon?: string | null | undefined;
@@ -7325,8 +7325,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7325
7325
  callbackUrl?: string | null | undefined;
7326
7326
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
7327
7327
  }, {
7328
- name: string;
7329
7328
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7329
+ name: string;
7330
7330
  id: string;
7331
7331
  noop: boolean;
7332
7332
  icon?: string | null | undefined;
@@ -7362,8 +7362,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7362
7362
  }, "strip", z.ZodTypeAny, {
7363
7363
  status: "CANCELED";
7364
7364
  task: {
7365
- name: string;
7366
7365
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7366
+ name: string;
7367
7367
  id: string;
7368
7368
  noop: boolean;
7369
7369
  icon?: string | null | undefined;
@@ -7399,8 +7399,8 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7399
7399
  }, {
7400
7400
  status: "CANCELED";
7401
7401
  task: {
7402
- name: string;
7403
7402
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7403
+ name: string;
7404
7404
  id: string;
7405
7405
  noop: boolean;
7406
7406
  icon?: string | null | undefined;
@@ -7498,8 +7498,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7498
7498
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7499
7499
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
7500
7500
  }, "strip", z.ZodTypeAny, {
7501
- name: string;
7502
7501
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7502
+ name: string;
7503
7503
  id: string;
7504
7504
  noop: boolean;
7505
7505
  icon?: string | null | undefined;
@@ -7532,8 +7532,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7532
7532
  callbackUrl?: string | null | undefined;
7533
7533
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
7534
7534
  }, {
7535
- name: string;
7536
7535
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7536
+ name: string;
7537
7537
  id: string;
7538
7538
  noop: boolean;
7539
7539
  icon?: string | null | undefined;
@@ -7746,8 +7746,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7746
7746
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7747
7747
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
7748
7748
  }, "strip", z.ZodTypeAny, {
7749
- name: string;
7750
7749
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7750
+ name: string;
7751
7751
  id: string;
7752
7752
  noop: boolean;
7753
7753
  icon?: string | null | undefined;
@@ -7780,8 +7780,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7780
7780
  callbackUrl?: string | null | undefined;
7781
7781
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
7782
7782
  }, {
7783
- name: string;
7784
7783
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7784
+ name: string;
7785
7785
  id: string;
7786
7786
  noop: boolean;
7787
7787
  icon?: string | null | undefined;
@@ -7822,8 +7822,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7822
7822
  stack?: string | undefined;
7823
7823
  };
7824
7824
  task?: {
7825
- name: string;
7826
7825
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7826
+ name: string;
7827
7827
  id: string;
7828
7828
  noop: boolean;
7829
7829
  icon?: string | null | undefined;
@@ -7864,8 +7864,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7864
7864
  stack?: string | undefined;
7865
7865
  };
7866
7866
  task?: {
7867
- name: string;
7868
7867
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
7868
+ name: string;
7869
7869
  id: string;
7870
7870
  noop: boolean;
7871
7871
  icon?: string | null | undefined;
@@ -7928,23 +7928,23 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7928
7928
  path: z.ZodArray<z.ZodString, "many">;
7929
7929
  message: z.ZodString;
7930
7930
  }, "strip", z.ZodTypeAny, {
7931
- message: string;
7932
7931
  path: string[];
7933
- }, {
7934
7932
  message: string;
7933
+ }, {
7935
7934
  path: string[];
7935
+ message: string;
7936
7936
  }>, "many">;
7937
7937
  }, "strip", z.ZodTypeAny, {
7938
7938
  status: "INVALID_PAYLOAD";
7939
7939
  errors: {
7940
- message: string;
7941
7940
  path: string[];
7941
+ message: string;
7942
7942
  }[];
7943
7943
  }, {
7944
7944
  status: "INVALID_PAYLOAD";
7945
7945
  errors: {
7946
- message: string;
7947
7946
  path: string[];
7947
+ message: string;
7948
7948
  }[];
7949
7949
  }>, z.ZodObject<{
7950
7950
  status: z.ZodLiteral<"RESUME_WITH_TASK">;
@@ -8009,8 +8009,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8009
8009
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8010
8010
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
8011
8011
  }, "strip", z.ZodTypeAny, {
8012
- name: string;
8013
8012
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8013
+ name: string;
8014
8014
  id: string;
8015
8015
  noop: boolean;
8016
8016
  icon?: string | null | undefined;
@@ -8043,8 +8043,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8043
8043
  callbackUrl?: string | null | undefined;
8044
8044
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
8045
8045
  }, {
8046
- name: string;
8047
8046
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8047
+ name: string;
8048
8048
  id: string;
8049
8049
  noop: boolean;
8050
8050
  icon?: string | null | undefined;
@@ -8080,8 +8080,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8080
8080
  }, "strip", z.ZodTypeAny, {
8081
8081
  status: "RESUME_WITH_TASK";
8082
8082
  task: {
8083
- name: string;
8084
8083
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8084
+ name: string;
8085
8085
  id: string;
8086
8086
  noop: boolean;
8087
8087
  icon?: string | null | undefined;
@@ -8117,8 +8117,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8117
8117
  }, {
8118
8118
  status: "RESUME_WITH_TASK";
8119
8119
  task: {
8120
- name: string;
8121
8120
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8121
+ name: string;
8122
8122
  id: string;
8123
8123
  noop: boolean;
8124
8124
  icon?: string | null | undefined;
@@ -8214,8 +8214,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8214
8214
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8215
8215
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
8216
8216
  }, "strip", z.ZodTypeAny, {
8217
- name: string;
8218
8217
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8218
+ name: string;
8219
8219
  id: string;
8220
8220
  noop: boolean;
8221
8221
  icon?: string | null | undefined;
@@ -8248,8 +8248,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8248
8248
  callbackUrl?: string | null | undefined;
8249
8249
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
8250
8250
  }, {
8251
- name: string;
8252
8251
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8252
+ name: string;
8253
8253
  id: string;
8254
8254
  noop: boolean;
8255
8255
  icon?: string | null | undefined;
@@ -8304,8 +8304,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8304
8304
  stack?: string | undefined;
8305
8305
  };
8306
8306
  task: {
8307
- name: string;
8308
8307
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8308
+ name: string;
8309
8309
  id: string;
8310
8310
  noop: boolean;
8311
8311
  icon?: string | null | undefined;
@@ -8347,8 +8347,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8347
8347
  stack?: string | undefined;
8348
8348
  };
8349
8349
  task: {
8350
- name: string;
8351
8350
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8351
+ name: string;
8352
8352
  id: string;
8353
8353
  noop: boolean;
8354
8354
  icon?: string | null | undefined;
@@ -8445,8 +8445,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8445
8445
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8446
8446
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
8447
8447
  }, "strip", z.ZodTypeAny, {
8448
- name: string;
8449
8448
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8449
+ name: string;
8450
8450
  id: string;
8451
8451
  noop: boolean;
8452
8452
  icon?: string | null | undefined;
@@ -8479,8 +8479,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8479
8479
  callbackUrl?: string | null | undefined;
8480
8480
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
8481
8481
  }, {
8482
- name: string;
8483
8482
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8483
+ name: string;
8484
8484
  id: string;
8485
8485
  noop: boolean;
8486
8486
  icon?: string | null | undefined;
@@ -8516,8 +8516,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8516
8516
  }, "strip", z.ZodTypeAny, {
8517
8517
  status: "CANCELED";
8518
8518
  task: {
8519
- name: string;
8520
8519
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8520
+ name: string;
8521
8521
  id: string;
8522
8522
  noop: boolean;
8523
8523
  icon?: string | null | undefined;
@@ -8553,8 +8553,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8553
8553
  }, {
8554
8554
  status: "CANCELED";
8555
8555
  task: {
8556
- name: string;
8557
8556
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8557
+ name: string;
8558
8558
  id: string;
8559
8559
  noop: boolean;
8560
8560
  icon?: string | null | undefined;
@@ -8591,8 +8591,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8591
8591
  }, "strip", z.ZodTypeAny, {
8592
8592
  status: "RESUME_WITH_PARALLEL_TASK";
8593
8593
  task: {
8594
- name: string;
8595
8594
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8595
+ name: string;
8596
8596
  id: string;
8597
8597
  noop: boolean;
8598
8598
  icon?: string | null | undefined;
@@ -8633,8 +8633,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8633
8633
  stack?: string | undefined;
8634
8634
  };
8635
8635
  task?: {
8636
- name: string;
8637
8636
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8637
+ name: string;
8638
8638
  id: string;
8639
8639
  noop: boolean;
8640
8640
  icon?: string | null | undefined;
@@ -8698,8 +8698,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8698
8698
  } | {
8699
8699
  status: "INVALID_PAYLOAD";
8700
8700
  errors: {
8701
- message: string;
8702
8701
  path: string[];
8702
+ message: string;
8703
8703
  }[];
8704
8704
  } | {
8705
8705
  status: "UNRESOLVED_AUTH_ERROR";
@@ -8710,8 +8710,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8710
8710
  } | {
8711
8711
  status: "RESUME_WITH_TASK";
8712
8712
  task: {
8713
- name: string;
8714
8713
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8714
+ name: string;
8715
8715
  id: string;
8716
8716
  noop: boolean;
8717
8717
  icon?: string | null | undefined;
@@ -8752,8 +8752,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8752
8752
  stack?: string | undefined;
8753
8753
  };
8754
8754
  task: {
8755
- name: string;
8756
8755
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8756
+ name: string;
8757
8757
  id: string;
8758
8758
  noop: boolean;
8759
8759
  icon?: string | null | undefined;
@@ -8790,8 +8790,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8790
8790
  } | {
8791
8791
  status: "CANCELED";
8792
8792
  task: {
8793
- name: string;
8794
8793
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8794
+ name: string;
8795
8795
  id: string;
8796
8796
  noop: boolean;
8797
8797
  icon?: string | null | undefined;
@@ -8828,8 +8828,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8828
8828
  }, {
8829
8829
  status: "RESUME_WITH_PARALLEL_TASK";
8830
8830
  task: {
8831
- name: string;
8832
8831
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8832
+ name: string;
8833
8833
  id: string;
8834
8834
  noop: boolean;
8835
8835
  icon?: string | null | undefined;
@@ -8870,8 +8870,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8870
8870
  stack?: string | undefined;
8871
8871
  };
8872
8872
  task?: {
8873
- name: string;
8874
8873
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8874
+ name: string;
8875
8875
  id: string;
8876
8876
  noop: boolean;
8877
8877
  icon?: string | null | undefined;
@@ -8935,8 +8935,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8935
8935
  } | {
8936
8936
  status: "INVALID_PAYLOAD";
8937
8937
  errors: {
8938
- message: string;
8939
8938
  path: string[];
8939
+ message: string;
8940
8940
  }[];
8941
8941
  } | {
8942
8942
  status: "UNRESOLVED_AUTH_ERROR";
@@ -8947,8 +8947,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8947
8947
  } | {
8948
8948
  status: "RESUME_WITH_TASK";
8949
8949
  task: {
8950
- name: string;
8951
8950
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8951
+ name: string;
8952
8952
  id: string;
8953
8953
  noop: boolean;
8954
8954
  icon?: string | null | undefined;
@@ -8989,8 +8989,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8989
8989
  stack?: string | undefined;
8990
8990
  };
8991
8991
  task: {
8992
- name: string;
8993
8992
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
8993
+ name: string;
8994
8994
  id: string;
8995
8995
  noop: boolean;
8996
8996
  icon?: string | null | undefined;
@@ -9027,8 +9027,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
9027
9027
  } | {
9028
9028
  status: "CANCELED";
9029
9029
  task: {
9030
- name: string;
9031
9030
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9031
+ name: string;
9032
9032
  id: string;
9033
9033
  noop: boolean;
9034
9034
  icon?: string | null | undefined;
@@ -9244,8 +9244,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9244
9244
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9245
9245
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
9246
9246
  }, "strip", z.ZodTypeAny, {
9247
- name: string;
9248
9247
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9248
+ name: string;
9249
9249
  id: string;
9250
9250
  noop: boolean;
9251
9251
  icon?: string | null | undefined;
@@ -9278,8 +9278,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9278
9278
  callbackUrl?: string | null | undefined;
9279
9279
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9280
9280
  }, {
9281
- name: string;
9282
9281
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9282
+ name: string;
9283
9283
  id: string;
9284
9284
  noop: boolean;
9285
9285
  icon?: string | null | undefined;
@@ -9320,8 +9320,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9320
9320
  stack?: string | undefined;
9321
9321
  };
9322
9322
  task?: {
9323
- name: string;
9324
9323
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9324
+ name: string;
9325
9325
  id: string;
9326
9326
  noop: boolean;
9327
9327
  icon?: string | null | undefined;
@@ -9362,8 +9362,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9362
9362
  stack?: string | undefined;
9363
9363
  };
9364
9364
  task?: {
9365
- name: string;
9366
9365
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9366
+ name: string;
9367
9367
  id: string;
9368
9368
  noop: boolean;
9369
9369
  icon?: string | null | undefined;
@@ -9426,23 +9426,23 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9426
9426
  path: z.ZodArray<z.ZodString, "many">;
9427
9427
  message: z.ZodString;
9428
9428
  }, "strip", z.ZodTypeAny, {
9429
- message: string;
9430
9429
  path: string[];
9431
- }, {
9432
9430
  message: string;
9431
+ }, {
9433
9432
  path: string[];
9433
+ message: string;
9434
9434
  }>, "many">;
9435
9435
  }, "strip", z.ZodTypeAny, {
9436
9436
  status: "INVALID_PAYLOAD";
9437
9437
  errors: {
9438
- message: string;
9439
9438
  path: string[];
9439
+ message: string;
9440
9440
  }[];
9441
9441
  }, {
9442
9442
  status: "INVALID_PAYLOAD";
9443
9443
  errors: {
9444
- message: string;
9445
9444
  path: string[];
9445
+ message: string;
9446
9446
  }[];
9447
9447
  }>, z.ZodObject<{
9448
9448
  status: z.ZodLiteral<"RESUME_WITH_TASK">;
@@ -9507,8 +9507,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9507
9507
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9508
9508
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
9509
9509
  }, "strip", z.ZodTypeAny, {
9510
- name: string;
9511
9510
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9511
+ name: string;
9512
9512
  id: string;
9513
9513
  noop: boolean;
9514
9514
  icon?: string | null | undefined;
@@ -9541,8 +9541,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9541
9541
  callbackUrl?: string | null | undefined;
9542
9542
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9543
9543
  }, {
9544
- name: string;
9545
9544
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9545
+ name: string;
9546
9546
  id: string;
9547
9547
  noop: boolean;
9548
9548
  icon?: string | null | undefined;
@@ -9578,8 +9578,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9578
9578
  }, "strip", z.ZodTypeAny, {
9579
9579
  status: "RESUME_WITH_TASK";
9580
9580
  task: {
9581
- name: string;
9582
9581
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9582
+ name: string;
9583
9583
  id: string;
9584
9584
  noop: boolean;
9585
9585
  icon?: string | null | undefined;
@@ -9615,8 +9615,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9615
9615
  }, {
9616
9616
  status: "RESUME_WITH_TASK";
9617
9617
  task: {
9618
- name: string;
9619
9618
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9619
+ name: string;
9620
9620
  id: string;
9621
9621
  noop: boolean;
9622
9622
  icon?: string | null | undefined;
@@ -9712,8 +9712,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9712
9712
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9713
9713
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
9714
9714
  }, "strip", z.ZodTypeAny, {
9715
- name: string;
9716
9715
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9716
+ name: string;
9717
9717
  id: string;
9718
9718
  noop: boolean;
9719
9719
  icon?: string | null | undefined;
@@ -9746,8 +9746,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9746
9746
  callbackUrl?: string | null | undefined;
9747
9747
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9748
9748
  }, {
9749
- name: string;
9750
9749
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9750
+ name: string;
9751
9751
  id: string;
9752
9752
  noop: boolean;
9753
9753
  icon?: string | null | undefined;
@@ -9960,8 +9960,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9960
9960
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9961
9961
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
9962
9962
  }, "strip", z.ZodTypeAny, {
9963
- name: string;
9964
9963
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9964
+ name: string;
9965
9965
  id: string;
9966
9966
  noop: boolean;
9967
9967
  icon?: string | null | undefined;
@@ -9994,8 +9994,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9994
9994
  callbackUrl?: string | null | undefined;
9995
9995
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9996
9996
  }, {
9997
- name: string;
9998
9997
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
9998
+ name: string;
9999
9999
  id: string;
10000
10000
  noop: boolean;
10001
10001
  icon?: string | null | undefined;
@@ -10036,8 +10036,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10036
10036
  stack?: string | undefined;
10037
10037
  };
10038
10038
  task?: {
10039
- name: string;
10040
10039
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10040
+ name: string;
10041
10041
  id: string;
10042
10042
  noop: boolean;
10043
10043
  icon?: string | null | undefined;
@@ -10078,8 +10078,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10078
10078
  stack?: string | undefined;
10079
10079
  };
10080
10080
  task?: {
10081
- name: string;
10082
10081
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10082
+ name: string;
10083
10083
  id: string;
10084
10084
  noop: boolean;
10085
10085
  icon?: string | null | undefined;
@@ -10142,23 +10142,23 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10142
10142
  path: z.ZodArray<z.ZodString, "many">;
10143
10143
  message: z.ZodString;
10144
10144
  }, "strip", z.ZodTypeAny, {
10145
- message: string;
10146
10145
  path: string[];
10147
- }, {
10148
10146
  message: string;
10147
+ }, {
10149
10148
  path: string[];
10149
+ message: string;
10150
10150
  }>, "many">;
10151
10151
  }, "strip", z.ZodTypeAny, {
10152
10152
  status: "INVALID_PAYLOAD";
10153
10153
  errors: {
10154
- message: string;
10155
10154
  path: string[];
10155
+ message: string;
10156
10156
  }[];
10157
10157
  }, {
10158
10158
  status: "INVALID_PAYLOAD";
10159
10159
  errors: {
10160
- message: string;
10161
10160
  path: string[];
10161
+ message: string;
10162
10162
  }[];
10163
10163
  }>, z.ZodObject<{
10164
10164
  status: z.ZodLiteral<"RESUME_WITH_TASK">;
@@ -10223,8 +10223,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10223
10223
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10224
10224
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
10225
10225
  }, "strip", z.ZodTypeAny, {
10226
- name: string;
10227
10226
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10227
+ name: string;
10228
10228
  id: string;
10229
10229
  noop: boolean;
10230
10230
  icon?: string | null | undefined;
@@ -10257,8 +10257,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10257
10257
  callbackUrl?: string | null | undefined;
10258
10258
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
10259
10259
  }, {
10260
- name: string;
10261
10260
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10261
+ name: string;
10262
10262
  id: string;
10263
10263
  noop: boolean;
10264
10264
  icon?: string | null | undefined;
@@ -10294,8 +10294,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10294
10294
  }, "strip", z.ZodTypeAny, {
10295
10295
  status: "RESUME_WITH_TASK";
10296
10296
  task: {
10297
- name: string;
10298
10297
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10298
+ name: string;
10299
10299
  id: string;
10300
10300
  noop: boolean;
10301
10301
  icon?: string | null | undefined;
@@ -10331,8 +10331,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10331
10331
  }, {
10332
10332
  status: "RESUME_WITH_TASK";
10333
10333
  task: {
10334
- name: string;
10335
10334
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10335
+ name: string;
10336
10336
  id: string;
10337
10337
  noop: boolean;
10338
10338
  icon?: string | null | undefined;
@@ -10428,8 +10428,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10428
10428
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10429
10429
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
10430
10430
  }, "strip", z.ZodTypeAny, {
10431
- name: string;
10432
10431
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10432
+ name: string;
10433
10433
  id: string;
10434
10434
  noop: boolean;
10435
10435
  icon?: string | null | undefined;
@@ -10462,8 +10462,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10462
10462
  callbackUrl?: string | null | undefined;
10463
10463
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
10464
10464
  }, {
10465
- name: string;
10466
10465
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10466
+ name: string;
10467
10467
  id: string;
10468
10468
  noop: boolean;
10469
10469
  icon?: string | null | undefined;
@@ -10518,8 +10518,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10518
10518
  stack?: string | undefined;
10519
10519
  };
10520
10520
  task: {
10521
- name: string;
10522
10521
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10522
+ name: string;
10523
10523
  id: string;
10524
10524
  noop: boolean;
10525
10525
  icon?: string | null | undefined;
@@ -10561,8 +10561,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10561
10561
  stack?: string | undefined;
10562
10562
  };
10563
10563
  task: {
10564
- name: string;
10565
10564
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10565
+ name: string;
10566
10566
  id: string;
10567
10567
  noop: boolean;
10568
10568
  icon?: string | null | undefined;
@@ -10659,8 +10659,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10659
10659
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10660
10660
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
10661
10661
  }, "strip", z.ZodTypeAny, {
10662
- name: string;
10663
10662
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10663
+ name: string;
10664
10664
  id: string;
10665
10665
  noop: boolean;
10666
10666
  icon?: string | null | undefined;
@@ -10693,8 +10693,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10693
10693
  callbackUrl?: string | null | undefined;
10694
10694
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
10695
10695
  }, {
10696
- name: string;
10697
10696
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10697
+ name: string;
10698
10698
  id: string;
10699
10699
  noop: boolean;
10700
10700
  icon?: string | null | undefined;
@@ -10730,8 +10730,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10730
10730
  }, "strip", z.ZodTypeAny, {
10731
10731
  status: "CANCELED";
10732
10732
  task: {
10733
- name: string;
10734
10733
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10734
+ name: string;
10735
10735
  id: string;
10736
10736
  noop: boolean;
10737
10737
  icon?: string | null | undefined;
@@ -10767,8 +10767,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10767
10767
  }, {
10768
10768
  status: "CANCELED";
10769
10769
  task: {
10770
- name: string;
10771
10770
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10771
+ name: string;
10772
10772
  id: string;
10773
10773
  noop: boolean;
10774
10774
  icon?: string | null | undefined;
@@ -10805,8 +10805,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10805
10805
  }, "strip", z.ZodTypeAny, {
10806
10806
  status: "RESUME_WITH_PARALLEL_TASK";
10807
10807
  task: {
10808
- name: string;
10809
10808
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10809
+ name: string;
10810
10810
  id: string;
10811
10811
  noop: boolean;
10812
10812
  icon?: string | null | undefined;
@@ -10847,8 +10847,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10847
10847
  stack?: string | undefined;
10848
10848
  };
10849
10849
  task?: {
10850
- name: string;
10851
10850
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10851
+ name: string;
10852
10852
  id: string;
10853
10853
  noop: boolean;
10854
10854
  icon?: string | null | undefined;
@@ -10912,8 +10912,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10912
10912
  } | {
10913
10913
  status: "INVALID_PAYLOAD";
10914
10914
  errors: {
10915
- message: string;
10916
10915
  path: string[];
10916
+ message: string;
10917
10917
  }[];
10918
10918
  } | {
10919
10919
  status: "UNRESOLVED_AUTH_ERROR";
@@ -10924,8 +10924,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10924
10924
  } | {
10925
10925
  status: "RESUME_WITH_TASK";
10926
10926
  task: {
10927
- name: string;
10928
10927
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10928
+ name: string;
10929
10929
  id: string;
10930
10930
  noop: boolean;
10931
10931
  icon?: string | null | undefined;
@@ -10966,8 +10966,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10966
10966
  stack?: string | undefined;
10967
10967
  };
10968
10968
  task: {
10969
- name: string;
10970
10969
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
10970
+ name: string;
10971
10971
  id: string;
10972
10972
  noop: boolean;
10973
10973
  icon?: string | null | undefined;
@@ -11004,8 +11004,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11004
11004
  } | {
11005
11005
  status: "CANCELED";
11006
11006
  task: {
11007
- name: string;
11008
11007
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11008
+ name: string;
11009
11009
  id: string;
11010
11010
  noop: boolean;
11011
11011
  icon?: string | null | undefined;
@@ -11042,8 +11042,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11042
11042
  }, {
11043
11043
  status: "RESUME_WITH_PARALLEL_TASK";
11044
11044
  task: {
11045
- name: string;
11046
11045
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11046
+ name: string;
11047
11047
  id: string;
11048
11048
  noop: boolean;
11049
11049
  icon?: string | null | undefined;
@@ -11084,8 +11084,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11084
11084
  stack?: string | undefined;
11085
11085
  };
11086
11086
  task?: {
11087
- name: string;
11088
11087
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11088
+ name: string;
11089
11089
  id: string;
11090
11090
  noop: boolean;
11091
11091
  icon?: string | null | undefined;
@@ -11149,8 +11149,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11149
11149
  } | {
11150
11150
  status: "INVALID_PAYLOAD";
11151
11151
  errors: {
11152
- message: string;
11153
11152
  path: string[];
11153
+ message: string;
11154
11154
  }[];
11155
11155
  } | {
11156
11156
  status: "UNRESOLVED_AUTH_ERROR";
@@ -11161,8 +11161,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11161
11161
  } | {
11162
11162
  status: "RESUME_WITH_TASK";
11163
11163
  task: {
11164
- name: string;
11165
11164
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11165
+ name: string;
11166
11166
  id: string;
11167
11167
  noop: boolean;
11168
11168
  icon?: string | null | undefined;
@@ -11203,8 +11203,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11203
11203
  stack?: string | undefined;
11204
11204
  };
11205
11205
  task: {
11206
- name: string;
11207
11206
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11207
+ name: string;
11208
11208
  id: string;
11209
11209
  noop: boolean;
11210
11210
  icon?: string | null | undefined;
@@ -11241,8 +11241,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11241
11241
  } | {
11242
11242
  status: "CANCELED";
11243
11243
  task: {
11244
- name: string;
11245
11244
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11245
+ name: string;
11246
11246
  id: string;
11247
11247
  noop: boolean;
11248
11248
  icon?: string | null | undefined;
@@ -11339,8 +11339,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11339
11339
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11340
11340
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
11341
11341
  }, "strip", z.ZodTypeAny, {
11342
- name: string;
11343
11342
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11343
+ name: string;
11344
11344
  id: string;
11345
11345
  noop: boolean;
11346
11346
  icon?: string | null | undefined;
@@ -11373,8 +11373,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11373
11373
  callbackUrl?: string | null | undefined;
11374
11374
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
11375
11375
  }, {
11376
- name: string;
11377
11376
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11377
+ name: string;
11378
11378
  id: string;
11379
11379
  noop: boolean;
11380
11380
  icon?: string | null | undefined;
@@ -11429,8 +11429,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11429
11429
  stack?: string | undefined;
11430
11430
  };
11431
11431
  task: {
11432
- name: string;
11433
11432
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11433
+ name: string;
11434
11434
  id: string;
11435
11435
  noop: boolean;
11436
11436
  icon?: string | null | undefined;
@@ -11472,8 +11472,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11472
11472
  stack?: string | undefined;
11473
11473
  };
11474
11474
  task: {
11475
- name: string;
11476
11475
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11476
+ name: string;
11477
11477
  id: string;
11478
11478
  noop: boolean;
11479
11479
  icon?: string | null | undefined;
@@ -11570,8 +11570,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11570
11570
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11571
11571
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
11572
11572
  }, "strip", z.ZodTypeAny, {
11573
- name: string;
11574
11573
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11574
+ name: string;
11575
11575
  id: string;
11576
11576
  noop: boolean;
11577
11577
  icon?: string | null | undefined;
@@ -11604,8 +11604,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11604
11604
  callbackUrl?: string | null | undefined;
11605
11605
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
11606
11606
  }, {
11607
- name: string;
11608
11607
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11608
+ name: string;
11609
11609
  id: string;
11610
11610
  noop: boolean;
11611
11611
  icon?: string | null | undefined;
@@ -11641,8 +11641,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11641
11641
  }, "strip", z.ZodTypeAny, {
11642
11642
  status: "CANCELED";
11643
11643
  task: {
11644
- name: string;
11645
11644
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11645
+ name: string;
11646
11646
  id: string;
11647
11647
  noop: boolean;
11648
11648
  icon?: string | null | undefined;
@@ -11678,8 +11678,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11678
11678
  }, {
11679
11679
  status: "CANCELED";
11680
11680
  task: {
11681
- name: string;
11682
11681
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
11682
+ name: string;
11683
11683
  id: string;
11684
11684
  noop: boolean;
11685
11685
  icon?: string | null | undefined;
@@ -12201,8 +12201,8 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
12201
12201
  type RunTaskOptions = z.input<typeof RunTaskOptionsSchema>;
12202
12202
  type OverridableRunTaskOptions = Pick<RunTaskOptions, "retry" | "delayUntil" | "description">;
12203
12203
  declare const RunTaskBodyInputSchema: z.ZodObject<{
12204
- name: z.ZodOptional<z.ZodString>;
12205
12204
  params: z.ZodAny;
12205
+ name: z.ZodOptional<z.ZodString>;
12206
12206
  style: z.ZodOptional<z.ZodObject<{
12207
12207
  style: z.ZodEnum<["normal", "minimal"]>;
12208
12208
  variant: z.ZodOptional<z.ZodString>;
@@ -12283,8 +12283,8 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
12283
12283
  }, "strip", z.ZodTypeAny, {
12284
12284
  noop: boolean;
12285
12285
  idempotencyKey: string;
12286
- name?: string | undefined;
12287
12286
  params?: any;
12287
+ name?: string | undefined;
12288
12288
  style?: {
12289
12289
  style: "normal" | "minimal";
12290
12290
  variant?: string | undefined;
@@ -12319,8 +12319,8 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
12319
12319
  parentId?: string | undefined;
12320
12320
  }, {
12321
12321
  idempotencyKey: string;
12322
- name?: string | undefined;
12323
12322
  params?: any;
12323
+ name?: string | undefined;
12324
12324
  style?: {
12325
12325
  style: "normal" | "minimal";
12326
12326
  variant?: string | undefined;
@@ -12514,9 +12514,9 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
12514
12514
  type RunTaskBodyOutput = z.infer<typeof RunTaskBodyOutputSchema>;
12515
12515
  declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12516
12516
  task: z.ZodObject<{
12517
- name: z.ZodString;
12518
12517
  params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
12519
12518
  status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
12519
+ name: z.ZodString;
12520
12520
  error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12521
12521
  context: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
12522
12522
  id: z.ZodString;
@@ -12577,8 +12577,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12577
12577
  attempts: z.ZodNumber;
12578
12578
  forceYield: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
12579
12579
  }, "strip", z.ZodTypeAny, {
12580
- name: string;
12581
12580
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
12581
+ name: string;
12582
12582
  id: string;
12583
12583
  noop: boolean;
12584
12584
  idempotencyKey: string;
@@ -12614,8 +12614,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12614
12614
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
12615
12615
  forceYield?: boolean | null | undefined;
12616
12616
  }, {
12617
- name: string;
12618
12617
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
12618
+ name: string;
12619
12619
  id: string;
12620
12620
  noop: boolean;
12621
12621
  idempotencyKey: string;
@@ -12698,8 +12698,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12698
12698
  }>>;
12699
12699
  }, "strip", z.ZodTypeAny, {
12700
12700
  task: {
12701
- name: string;
12702
12701
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
12702
+ name: string;
12703
12703
  id: string;
12704
12704
  noop: boolean;
12705
12705
  idempotencyKey: string;
@@ -12748,8 +12748,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12748
12748
  } | undefined;
12749
12749
  }, {
12750
12750
  task: {
12751
- name: string;
12752
12751
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
12752
+ name: string;
12753
12753
  id: string;
12754
12754
  noop: boolean;
12755
12755
  idempotencyKey: string;
@@ -13305,8 +13305,8 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
13305
13305
  id: string;
13306
13306
  }>>;
13307
13307
  }, "strip", z.ZodTypeAny, {
13308
- version: "2";
13309
13308
  options: Record<string, string[]>;
13309
+ version: "2";
13310
13310
  key: string;
13311
13311
  channel: "HTTP" | "SMTP" | "SQS";
13312
13312
  integration: {
@@ -13324,8 +13324,8 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
13324
13324
  id: string;
13325
13325
  } | undefined;
13326
13326
  }, {
13327
- version: "2";
13328
13327
  options: Record<string, string[]>;
13328
+ version: "2";
13329
13329
  key: string;
13330
13330
  channel: "HTTP" | "SMTP" | "SQS";
13331
13331
  integration: {
@@ -13346,8 +13346,8 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
13346
13346
  accountId: z.ZodOptional<z.ZodString>;
13347
13347
  }, "strip", z.ZodTypeAny, {
13348
13348
  source: {
13349
- version: "2";
13350
13349
  options: Record<string, string[]>;
13350
+ version: "2";
13351
13351
  key: string;
13352
13352
  channel: "HTTP" | "SMTP" | "SQS";
13353
13353
  integration: {
@@ -13374,8 +13374,8 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
13374
13374
  accountId?: string | undefined;
13375
13375
  }, {
13376
13376
  source: {
13377
- version: "2";
13378
13377
  options: Record<string, string[]>;
13378
+ version: "2";
13379
13379
  key: string;
13380
13380
  channel: "HTTP" | "SMTP" | "SQS";
13381
13381
  integration: {