@trigger.dev/core 0.0.0-svelte-test-20231206141434 → 0.0.0-yalt-20231214152805

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 CHANGED
@@ -1,18 +1,5 @@
1
1
  import { z } from 'zod';
2
2
 
3
- type LogLevel = "log" | "error" | "warn" | "info" | "debug";
4
- declare class Logger {
5
- #private;
6
- constructor(name: string, level?: LogLevel, filteredKeys?: string[], jsonReplacer?: (key: string, value: unknown) => unknown, additionalFields?: () => Record<string, unknown>);
7
- filter(...keys: string[]): Logger;
8
- static satisfiesLogLevel(logLevel: LogLevel, setLevel: LogLevel): boolean;
9
- log(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
10
- error(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
11
- warn(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
12
- info(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
13
- debug(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
14
- }
15
-
16
3
  declare const stringPatternMatchers: readonly [z.ZodObject<{
17
4
  $endsWith: z.ZodString;
18
5
  }, "strip", z.ZodTypeAny, {
@@ -290,10 +277,10 @@ declare const TaskSchema: z.ZodObject<{
290
277
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
291
278
  }>;
292
279
  declare const ServerTaskSchema: z.ZodObject<{
293
- error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
294
280
  name: z.ZodString;
295
281
  params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
296
282
  status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
283
+ error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
297
284
  context: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
298
285
  id: z.ZodString;
299
286
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -359,8 +346,8 @@ declare const ServerTaskSchema: z.ZodObject<{
359
346
  noop: boolean;
360
347
  idempotencyKey: string;
361
348
  attempts: number;
362
- error?: string | null | undefined;
363
349
  params?: DeserializedJson | undefined;
350
+ error?: string | null | undefined;
364
351
  context?: DeserializedJson | undefined;
365
352
  style?: {
366
353
  style: "normal" | "minimal";
@@ -396,8 +383,8 @@ declare const ServerTaskSchema: z.ZodObject<{
396
383
  noop: boolean;
397
384
  idempotencyKey: string;
398
385
  attempts: number;
399
- error?: string | null | undefined;
400
386
  params?: DeserializedJson | undefined;
387
+ error?: string | null | undefined;
401
388
  context?: DeserializedJson | undefined;
402
389
  style?: {
403
390
  style: "normal" | "minimal";
@@ -564,8 +551,8 @@ declare const RegisterWebhookSourceSchema: z.ZodObject<{
564
551
  data: z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>;
565
552
  clientId: z.ZodOptional<z.ZodString>;
566
553
  }, "strip", z.ZodTypeAny, {
567
- key: string;
568
554
  url: string;
555
+ key: string;
569
556
  secret: string;
570
557
  active: boolean;
571
558
  params?: any;
@@ -573,8 +560,8 @@ declare const RegisterWebhookSourceSchema: z.ZodObject<{
573
560
  data?: DeserializedJson | undefined;
574
561
  clientId?: string | undefined;
575
562
  }, {
576
- key: string;
577
563
  url: string;
564
+ key: string;
578
565
  secret: string;
579
566
  active: boolean;
580
567
  params?: any;
@@ -685,11 +672,11 @@ declare const SourceEventOptionSchema: z.ZodObject<{
685
672
  name: z.ZodString;
686
673
  value: z.ZodString;
687
674
  }, "strip", z.ZodTypeAny, {
688
- value: string;
689
675
  name: string;
690
- }, {
691
676
  value: string;
677
+ }, {
692
678
  name: string;
679
+ value: string;
693
680
  }>;
694
681
  type SourceEventOption = z.infer<typeof SourceEventOptionSchema>;
695
682
  declare const RegisterSourceEventSchemaV1: z.ZodObject<{
@@ -1028,11 +1015,11 @@ declare const TriggerSourceSchema: z.ZodObject<{
1028
1015
  id: z.ZodString;
1029
1016
  key: z.ZodString;
1030
1017
  }, "strip", z.ZodTypeAny, {
1031
- key: string;
1032
1018
  id: string;
1033
- }, {
1034
1019
  key: string;
1020
+ }, {
1035
1021
  id: string;
1022
+ key: string;
1036
1023
  }>;
1037
1024
  declare const HttpSourceResponseMetadataSchema: z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>;
1038
1025
  type HttpSourceResponseMetadata = z.infer<typeof HttpSourceResponseMetadataSchema>;
@@ -1865,8 +1852,8 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
1865
1852
  id: string;
1866
1853
  }>>;
1867
1854
  }, "strip", z.ZodTypeAny, {
1868
- key: string;
1869
1855
  version: "1";
1856
+ key: string;
1870
1857
  channel: "HTTP" | "SMTP" | "SQS";
1871
1858
  events: string[];
1872
1859
  integration: {
@@ -1884,8 +1871,8 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
1884
1871
  id: string;
1885
1872
  } | undefined;
1886
1873
  }, {
1887
- key: string;
1888
1874
  version: "1";
1875
+ key: string;
1889
1876
  channel: "HTTP" | "SMTP" | "SQS";
1890
1877
  events: string[];
1891
1878
  integration: {
@@ -1954,9 +1941,9 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
1954
1941
  id: string;
1955
1942
  }>>;
1956
1943
  }, "strip", z.ZodTypeAny, {
1957
- key: string;
1958
1944
  version: "2";
1959
1945
  options: Record<string, string[]>;
1946
+ key: string;
1960
1947
  channel: "HTTP" | "SMTP" | "SQS";
1961
1948
  integration: {
1962
1949
  id: string;
@@ -1973,9 +1960,9 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
1973
1960
  id: string;
1974
1961
  } | undefined;
1975
1962
  }, {
1976
- key: string;
1977
1963
  version: "2";
1978
1964
  options: Record<string, string[]>;
1965
+ key: string;
1979
1966
  channel: "HTTP" | "SMTP" | "SQS";
1980
1967
  integration: {
1981
1968
  id: string;
@@ -3302,8 +3289,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3302
3289
  id: string;
3303
3290
  }>>;
3304
3291
  }, "strip", z.ZodTypeAny, {
3305
- key: string;
3306
3292
  version: "1";
3293
+ key: string;
3307
3294
  channel: "HTTP" | "SMTP" | "SQS";
3308
3295
  events: string[];
3309
3296
  integration: {
@@ -3321,8 +3308,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3321
3308
  id: string;
3322
3309
  } | undefined;
3323
3310
  }, {
3324
- key: string;
3325
3311
  version: "1";
3312
+ key: string;
3326
3313
  channel: "HTTP" | "SMTP" | "SQS";
3327
3314
  events: string[];
3328
3315
  integration: {
@@ -3389,9 +3376,9 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3389
3376
  id: string;
3390
3377
  }>>;
3391
3378
  }, "strip", z.ZodTypeAny, {
3392
- key: string;
3393
3379
  version: "2";
3394
3380
  options: Record<string, string[]>;
3381
+ key: string;
3395
3382
  channel: "HTTP" | "SMTP" | "SQS";
3396
3383
  integration: {
3397
3384
  id: string;
@@ -3408,9 +3395,9 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3408
3395
  id: string;
3409
3396
  } | undefined;
3410
3397
  }, {
3411
- key: string;
3412
3398
  version: "2";
3413
3399
  options: Record<string, string[]>;
3400
+ key: string;
3414
3401
  channel: "HTTP" | "SMTP" | "SQS";
3415
3402
  integration: {
3416
3403
  id: string;
@@ -3427,8 +3414,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3427
3414
  id: string;
3428
3415
  } | undefined;
3429
3416
  }>]>, {
3430
- key: string;
3431
3417
  version: "1";
3418
+ key: string;
3432
3419
  channel: "HTTP" | "SMTP" | "SQS";
3433
3420
  events: string[];
3434
3421
  integration: {
@@ -3446,9 +3433,9 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3446
3433
  id: string;
3447
3434
  } | undefined;
3448
3435
  } | {
3449
- key: string;
3450
3436
  version: "2";
3451
3437
  options: Record<string, string[]>;
3438
+ key: string;
3452
3439
  channel: "HTTP" | "SMTP" | "SQS";
3453
3440
  integration: {
3454
3441
  id: string;
@@ -4313,8 +4300,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
4313
4300
  } | undefined;
4314
4301
  }[];
4315
4302
  sources: ({
4316
- key: string;
4317
4303
  version: "1";
4304
+ key: string;
4318
4305
  channel: "HTTP" | "SMTP" | "SQS";
4319
4306
  events: string[];
4320
4307
  integration: {
@@ -4332,9 +4319,9 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
4332
4319
  id: string;
4333
4320
  } | undefined;
4334
4321
  } | {
4335
- key: string;
4336
4322
  version: "2";
4337
4323
  options: Record<string, string[]>;
4324
+ key: string;
4338
4325
  channel: "HTTP" | "SMTP" | "SQS";
4339
4326
  integration: {
4340
4327
  id: string;
@@ -4740,18 +4727,18 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
4740
4727
  }>;
4741
4728
  updatedAt: z.ZodDate;
4742
4729
  }, "strip", z.ZodTypeAny, {
4730
+ status: "FAILURE";
4743
4731
  error: {
4744
4732
  message: string;
4745
4733
  raw?: any;
4746
4734
  };
4747
- status: "FAILURE";
4748
4735
  updatedAt: Date;
4749
4736
  }, {
4737
+ status: "FAILURE";
4750
4738
  error: {
4751
4739
  message: string;
4752
4740
  raw?: any;
4753
4741
  };
4754
- status: "FAILURE";
4755
4742
  updatedAt: Date;
4756
4743
  }>]>;
4757
4744
  type GetEndpointIndexResponse = z.infer<typeof GetEndpointIndexResponseSchema>;
@@ -5643,12 +5630,12 @@ declare const RunJobErrorSchema: z.ZodObject<{
5643
5630
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
5644
5631
  }>>;
5645
5632
  }, "strip", z.ZodTypeAny, {
5633
+ status: "ERROR";
5646
5634
  error: {
5647
5635
  message: string;
5648
5636
  name?: string | undefined;
5649
5637
  stack?: string | undefined;
5650
5638
  };
5651
- status: "ERROR";
5652
5639
  task?: {
5653
5640
  name: string;
5654
5641
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -5685,12 +5672,12 @@ declare const RunJobErrorSchema: z.ZodObject<{
5685
5672
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
5686
5673
  } | undefined;
5687
5674
  }, {
5675
+ status: "ERROR";
5688
5676
  error: {
5689
5677
  message: string;
5690
5678
  name?: string | undefined;
5691
5679
  stack?: string | undefined;
5692
5680
  };
5693
- status: "ERROR";
5694
5681
  task?: {
5695
5682
  name: string;
5696
5683
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -5732,11 +5719,11 @@ declare const RunJobYieldExecutionErrorSchema: z.ZodObject<{
5732
5719
  status: z.ZodLiteral<"YIELD_EXECUTION">;
5733
5720
  key: z.ZodString;
5734
5721
  }, "strip", z.ZodTypeAny, {
5735
- key: string;
5736
5722
  status: "YIELD_EXECUTION";
5737
- }, {
5738
5723
  key: string;
5724
+ }, {
5739
5725
  status: "YIELD_EXECUTION";
5726
+ key: string;
5740
5727
  }>;
5741
5728
  type RunJobYieldExecutionError = z.infer<typeof RunJobYieldExecutionErrorSchema>;
5742
5729
  declare const AutoYieldMetadataSchema: z.ZodObject<{
@@ -6251,12 +6238,12 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
6251
6238
  }>;
6252
6239
  retryAt: z.ZodDate;
6253
6240
  }, "strip", z.ZodTypeAny, {
6241
+ status: "RETRY_WITH_TASK";
6254
6242
  error: {
6255
6243
  message: string;
6256
6244
  name?: string | undefined;
6257
6245
  stack?: string | undefined;
6258
6246
  };
6259
- status: "RETRY_WITH_TASK";
6260
6247
  task: {
6261
6248
  name: string;
6262
6249
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -6294,12 +6281,12 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
6294
6281
  };
6295
6282
  retryAt: Date;
6296
6283
  }, {
6284
+ status: "RETRY_WITH_TASK";
6297
6285
  error: {
6298
6286
  message: string;
6299
6287
  name?: string | undefined;
6300
6288
  stack?: string | undefined;
6301
6289
  };
6302
- status: "RETRY_WITH_TASK";
6303
6290
  task: {
6304
6291
  name: string;
6305
6292
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -6646,11 +6633,11 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6646
6633
  status: z.ZodLiteral<"YIELD_EXECUTION">;
6647
6634
  key: z.ZodString;
6648
6635
  }, "strip", z.ZodTypeAny, {
6649
- key: string;
6650
6636
  status: "YIELD_EXECUTION";
6651
- }, {
6652
6637
  key: string;
6638
+ }, {
6653
6639
  status: "YIELD_EXECUTION";
6640
+ key: string;
6654
6641
  }>, z.ZodObject<{
6655
6642
  status: z.ZodLiteral<"ERROR">;
6656
6643
  error: z.ZodObject<{
@@ -6796,12 +6783,12 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6796
6783
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
6797
6784
  }>>;
6798
6785
  }, "strip", z.ZodTypeAny, {
6786
+ status: "ERROR";
6799
6787
  error: {
6800
6788
  message: string;
6801
6789
  name?: string | undefined;
6802
6790
  stack?: string | undefined;
6803
6791
  };
6804
- status: "ERROR";
6805
6792
  task?: {
6806
6793
  name: string;
6807
6794
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -6838,12 +6825,12 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6838
6825
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
6839
6826
  } | undefined;
6840
6827
  }, {
6828
+ status: "ERROR";
6841
6829
  error: {
6842
6830
  message: string;
6843
6831
  name?: string | undefined;
6844
6832
  stack?: string | undefined;
6845
6833
  };
6846
- status: "ERROR";
6847
6834
  task?: {
6848
6835
  name: string;
6849
6836
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -7278,12 +7265,12 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7278
7265
  }>;
7279
7266
  retryAt: z.ZodDate;
7280
7267
  }, "strip", z.ZodTypeAny, {
7268
+ status: "RETRY_WITH_TASK";
7281
7269
  error: {
7282
7270
  message: string;
7283
7271
  name?: string | undefined;
7284
7272
  stack?: string | undefined;
7285
7273
  };
7286
- status: "RETRY_WITH_TASK";
7287
7274
  task: {
7288
7275
  name: string;
7289
7276
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -7321,12 +7308,12 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
7321
7308
  };
7322
7309
  retryAt: Date;
7323
7310
  }, {
7311
+ status: "RETRY_WITH_TASK";
7324
7312
  error: {
7325
7313
  message: string;
7326
7314
  name?: string | undefined;
7327
7315
  stack?: string | undefined;
7328
7316
  };
7329
- status: "RETRY_WITH_TASK";
7330
7317
  task: {
7331
7318
  name: string;
7332
7319
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -7791,11 +7778,11 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7791
7778
  status: z.ZodLiteral<"YIELD_EXECUTION">;
7792
7779
  key: z.ZodString;
7793
7780
  }, "strip", z.ZodTypeAny, {
7794
- key: string;
7795
7781
  status: "YIELD_EXECUTION";
7796
- }, {
7797
7782
  key: string;
7783
+ }, {
7798
7784
  status: "YIELD_EXECUTION";
7785
+ key: string;
7799
7786
  }>, z.ZodObject<{
7800
7787
  status: z.ZodLiteral<"ERROR">;
7801
7788
  error: z.ZodObject<{
@@ -7941,12 +7928,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7941
7928
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
7942
7929
  }>>;
7943
7930
  }, "strip", z.ZodTypeAny, {
7931
+ status: "ERROR";
7944
7932
  error: {
7945
7933
  message: string;
7946
7934
  name?: string | undefined;
7947
7935
  stack?: string | undefined;
7948
7936
  };
7949
- status: "ERROR";
7950
7937
  task?: {
7951
7938
  name: string;
7952
7939
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -7983,12 +7970,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7983
7970
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
7984
7971
  } | undefined;
7985
7972
  }, {
7973
+ status: "ERROR";
7986
7974
  error: {
7987
7975
  message: string;
7988
7976
  name?: string | undefined;
7989
7977
  stack?: string | undefined;
7990
7978
  };
7991
- status: "ERROR";
7992
7979
  task?: {
7993
7980
  name: string;
7994
7981
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -8423,12 +8410,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8423
8410
  }>;
8424
8411
  retryAt: z.ZodDate;
8425
8412
  }, "strip", z.ZodTypeAny, {
8413
+ status: "RETRY_WITH_TASK";
8426
8414
  error: {
8427
8415
  message: string;
8428
8416
  name?: string | undefined;
8429
8417
  stack?: string | undefined;
8430
8418
  };
8431
- status: "RETRY_WITH_TASK";
8432
8419
  task: {
8433
8420
  name: string;
8434
8421
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -8466,12 +8453,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8466
8453
  };
8467
8454
  retryAt: Date;
8468
8455
  }, {
8456
+ status: "RETRY_WITH_TASK";
8469
8457
  error: {
8470
8458
  message: string;
8471
8459
  name?: string | undefined;
8472
8460
  stack?: string | undefined;
8473
8461
  };
8474
- status: "RETRY_WITH_TASK";
8475
8462
  task: {
8476
8463
  name: string;
8477
8464
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -8752,12 +8739,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8752
8739
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
8753
8740
  };
8754
8741
  childErrors: ({
8742
+ status: "ERROR";
8755
8743
  error: {
8756
8744
  message: string;
8757
8745
  name?: string | undefined;
8758
8746
  stack?: string | undefined;
8759
8747
  };
8760
- status: "ERROR";
8761
8748
  task?: {
8762
8749
  name: string;
8763
8750
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -8794,8 +8781,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8794
8781
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
8795
8782
  } | undefined;
8796
8783
  } | {
8797
- key: string;
8798
8784
  status: "YIELD_EXECUTION";
8785
+ key: string;
8799
8786
  } | {
8800
8787
  status: "AUTO_YIELD_EXECUTION";
8801
8788
  location: string;
@@ -8868,12 +8855,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8868
8855
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
8869
8856
  };
8870
8857
  } | {
8858
+ status: "RETRY_WITH_TASK";
8871
8859
  error: {
8872
8860
  message: string;
8873
8861
  name?: string | undefined;
8874
8862
  stack?: string | undefined;
8875
8863
  };
8876
- status: "RETRY_WITH_TASK";
8877
8864
  task: {
8878
8865
  name: string;
8879
8866
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -8986,12 +8973,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8986
8973
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
8987
8974
  };
8988
8975
  childErrors: ({
8976
+ status: "ERROR";
8989
8977
  error: {
8990
8978
  message: string;
8991
8979
  name?: string | undefined;
8992
8980
  stack?: string | undefined;
8993
8981
  };
8994
- status: "ERROR";
8995
8982
  task?: {
8996
8983
  name: string;
8997
8984
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -9028,8 +9015,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
9028
9015
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9029
9016
  } | undefined;
9030
9017
  } | {
9031
- key: string;
9032
9018
  status: "YIELD_EXECUTION";
9019
+ key: string;
9033
9020
  } | {
9034
9021
  status: "AUTO_YIELD_EXECUTION";
9035
9022
  location: string;
@@ -9102,12 +9089,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
9102
9089
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9103
9090
  };
9104
9091
  } | {
9092
+ status: "RETRY_WITH_TASK";
9105
9093
  error: {
9106
9094
  message: string;
9107
9095
  name?: string | undefined;
9108
9096
  stack?: string | undefined;
9109
9097
  };
9110
- status: "RETRY_WITH_TASK";
9111
9098
  task: {
9112
9099
  name: string;
9113
9100
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -9274,11 +9261,11 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9274
9261
  status: z.ZodLiteral<"YIELD_EXECUTION">;
9275
9262
  key: z.ZodString;
9276
9263
  }, "strip", z.ZodTypeAny, {
9277
- key: string;
9278
9264
  status: "YIELD_EXECUTION";
9279
- }, {
9280
9265
  key: string;
9266
+ }, {
9281
9267
  status: "YIELD_EXECUTION";
9268
+ key: string;
9282
9269
  }>, z.ZodObject<{
9283
9270
  status: z.ZodLiteral<"ERROR">;
9284
9271
  error: z.ZodObject<{
@@ -9424,12 +9411,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9424
9411
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9425
9412
  }>>;
9426
9413
  }, "strip", z.ZodTypeAny, {
9414
+ status: "ERROR";
9427
9415
  error: {
9428
9416
  message: string;
9429
9417
  name?: string | undefined;
9430
9418
  stack?: string | undefined;
9431
9419
  };
9432
- status: "ERROR";
9433
9420
  task?: {
9434
9421
  name: string;
9435
9422
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -9466,12 +9453,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9466
9453
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9467
9454
  } | undefined;
9468
9455
  }, {
9456
+ status: "ERROR";
9469
9457
  error: {
9470
9458
  message: string;
9471
9459
  name?: string | undefined;
9472
9460
  stack?: string | undefined;
9473
9461
  };
9474
- status: "ERROR";
9475
9462
  task?: {
9476
9463
  name: string;
9477
9464
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -9981,11 +9968,11 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9981
9968
  status: z.ZodLiteral<"YIELD_EXECUTION">;
9982
9969
  key: z.ZodString;
9983
9970
  }, "strip", z.ZodTypeAny, {
9984
- key: string;
9985
9971
  status: "YIELD_EXECUTION";
9986
- }, {
9987
9972
  key: string;
9973
+ }, {
9988
9974
  status: "YIELD_EXECUTION";
9975
+ key: string;
9989
9976
  }>, z.ZodObject<{
9990
9977
  status: z.ZodLiteral<"ERROR">;
9991
9978
  error: z.ZodObject<{
@@ -10131,12 +10118,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10131
10118
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
10132
10119
  }>>;
10133
10120
  }, "strip", z.ZodTypeAny, {
10121
+ status: "ERROR";
10134
10122
  error: {
10135
10123
  message: string;
10136
10124
  name?: string | undefined;
10137
10125
  stack?: string | undefined;
10138
10126
  };
10139
- status: "ERROR";
10140
10127
  task?: {
10141
10128
  name: string;
10142
10129
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -10173,12 +10160,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10173
10160
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
10174
10161
  } | undefined;
10175
10162
  }, {
10163
+ status: "ERROR";
10176
10164
  error: {
10177
10165
  message: string;
10178
10166
  name?: string | undefined;
10179
10167
  stack?: string | undefined;
10180
10168
  };
10181
- status: "ERROR";
10182
10169
  task?: {
10183
10170
  name: string;
10184
10171
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -10613,12 +10600,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10613
10600
  }>;
10614
10601
  retryAt: z.ZodDate;
10615
10602
  }, "strip", z.ZodTypeAny, {
10603
+ status: "RETRY_WITH_TASK";
10616
10604
  error: {
10617
10605
  message: string;
10618
10606
  name?: string | undefined;
10619
10607
  stack?: string | undefined;
10620
10608
  };
10621
- status: "RETRY_WITH_TASK";
10622
10609
  task: {
10623
10610
  name: string;
10624
10611
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -10656,12 +10643,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10656
10643
  };
10657
10644
  retryAt: Date;
10658
10645
  }, {
10646
+ status: "RETRY_WITH_TASK";
10659
10647
  error: {
10660
10648
  message: string;
10661
10649
  name?: string | undefined;
10662
10650
  stack?: string | undefined;
10663
10651
  };
10664
- status: "RETRY_WITH_TASK";
10665
10652
  task: {
10666
10653
  name: string;
10667
10654
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -10942,12 +10929,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10942
10929
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
10943
10930
  };
10944
10931
  childErrors: ({
10932
+ status: "ERROR";
10945
10933
  error: {
10946
10934
  message: string;
10947
10935
  name?: string | undefined;
10948
10936
  stack?: string | undefined;
10949
10937
  };
10950
- status: "ERROR";
10951
10938
  task?: {
10952
10939
  name: string;
10953
10940
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -10984,8 +10971,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
10984
10971
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
10985
10972
  } | undefined;
10986
10973
  } | {
10987
- key: string;
10988
10974
  status: "YIELD_EXECUTION";
10975
+ key: string;
10989
10976
  } | {
10990
10977
  status: "AUTO_YIELD_EXECUTION";
10991
10978
  location: string;
@@ -11058,12 +11045,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11058
11045
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
11059
11046
  };
11060
11047
  } | {
11048
+ status: "RETRY_WITH_TASK";
11061
11049
  error: {
11062
11050
  message: string;
11063
11051
  name?: string | undefined;
11064
11052
  stack?: string | undefined;
11065
11053
  };
11066
- status: "RETRY_WITH_TASK";
11067
11054
  task: {
11068
11055
  name: string;
11069
11056
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -11176,12 +11163,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11176
11163
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
11177
11164
  };
11178
11165
  childErrors: ({
11166
+ status: "ERROR";
11179
11167
  error: {
11180
11168
  message: string;
11181
11169
  name?: string | undefined;
11182
11170
  stack?: string | undefined;
11183
11171
  };
11184
- status: "ERROR";
11185
11172
  task?: {
11186
11173
  name: string;
11187
11174
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -11218,8 +11205,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11218
11205
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
11219
11206
  } | undefined;
11220
11207
  } | {
11221
- key: string;
11222
11208
  status: "YIELD_EXECUTION";
11209
+ key: string;
11223
11210
  } | {
11224
11211
  status: "AUTO_YIELD_EXECUTION";
11225
11212
  location: string;
@@ -11292,12 +11279,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11292
11279
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
11293
11280
  };
11294
11281
  } | {
11282
+ status: "RETRY_WITH_TASK";
11295
11283
  error: {
11296
11284
  message: string;
11297
11285
  name?: string | undefined;
11298
11286
  stack?: string | undefined;
11299
11287
  };
11300
- status: "RETRY_WITH_TASK";
11301
11288
  task: {
11302
11289
  name: string;
11303
11290
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -11518,12 +11505,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11518
11505
  }>;
11519
11506
  retryAt: z.ZodDate;
11520
11507
  }, "strip", z.ZodTypeAny, {
11508
+ status: "RETRY_WITH_TASK";
11521
11509
  error: {
11522
11510
  message: string;
11523
11511
  name?: string | undefined;
11524
11512
  stack?: string | undefined;
11525
11513
  };
11526
- status: "RETRY_WITH_TASK";
11527
11514
  task: {
11528
11515
  name: string;
11529
11516
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -11561,12 +11548,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
11561
11548
  };
11562
11549
  retryAt: Date;
11563
11550
  }, {
11551
+ status: "RETRY_WITH_TASK";
11564
11552
  error: {
11565
11553
  message: string;
11566
11554
  name?: string | undefined;
11567
11555
  stack?: string | undefined;
11568
11556
  };
11569
- status: "RETRY_WITH_TASK";
11570
11557
  task: {
11571
11558
  name: string;
11572
11559
  status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
@@ -12610,10 +12597,10 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
12610
12597
  type RunTaskBodyOutput = z.infer<typeof RunTaskBodyOutputSchema>;
12611
12598
  declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12612
12599
  task: z.ZodObject<{
12613
- error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12614
12600
  name: z.ZodString;
12615
12601
  params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
12616
12602
  status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
12603
+ error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12617
12604
  context: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
12618
12605
  id: z.ZodString;
12619
12606
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -12679,8 +12666,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12679
12666
  noop: boolean;
12680
12667
  idempotencyKey: string;
12681
12668
  attempts: number;
12682
- error?: string | null | undefined;
12683
12669
  params?: DeserializedJson | undefined;
12670
+ error?: string | null | undefined;
12684
12671
  context?: DeserializedJson | undefined;
12685
12672
  style?: {
12686
12673
  style: "normal" | "minimal";
@@ -12716,8 +12703,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12716
12703
  noop: boolean;
12717
12704
  idempotencyKey: string;
12718
12705
  attempts: number;
12719
- error?: string | null | undefined;
12720
12706
  params?: DeserializedJson | undefined;
12707
+ error?: string | null | undefined;
12721
12708
  context?: DeserializedJson | undefined;
12722
12709
  style?: {
12723
12710
  style: "normal" | "minimal";
@@ -12800,8 +12787,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12800
12787
  noop: boolean;
12801
12788
  idempotencyKey: string;
12802
12789
  attempts: number;
12803
- error?: string | null | undefined;
12804
12790
  params?: DeserializedJson | undefined;
12791
+ error?: string | null | undefined;
12805
12792
  context?: DeserializedJson | undefined;
12806
12793
  style?: {
12807
12794
  style: "normal" | "minimal";
@@ -12850,8 +12837,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
12850
12837
  noop: boolean;
12851
12838
  idempotencyKey: string;
12852
12839
  attempts: number;
12853
- error?: string | null | undefined;
12854
12840
  params?: DeserializedJson | undefined;
12841
+ error?: string | null | undefined;
12855
12842
  context?: DeserializedJson | undefined;
12856
12843
  style?: {
12857
12844
  style: "normal" | "minimal";
@@ -13240,8 +13227,8 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
13240
13227
  id: string;
13241
13228
  }>>;
13242
13229
  }, "strip", z.ZodTypeAny, {
13243
- key: string;
13244
13230
  version: "1";
13231
+ key: string;
13245
13232
  channel: "HTTP" | "SMTP" | "SQS";
13246
13233
  events: string[];
13247
13234
  integration: {
@@ -13259,8 +13246,8 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
13259
13246
  id: string;
13260
13247
  } | undefined;
13261
13248
  }, {
13262
- key: string;
13263
13249
  version: "1";
13250
+ key: string;
13264
13251
  channel: "HTTP" | "SMTP" | "SQS";
13265
13252
  events: string[];
13266
13253
  integration: {
@@ -13280,8 +13267,8 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
13280
13267
  }>;
13281
13268
  }, "strip", z.ZodTypeAny, {
13282
13269
  source: {
13283
- key: string;
13284
13270
  version: "1";
13271
+ key: string;
13285
13272
  channel: "HTTP" | "SMTP" | "SQS";
13286
13273
  events: string[];
13287
13274
  integration: {
@@ -13307,8 +13294,8 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
13307
13294
  };
13308
13295
  }, {
13309
13296
  source: {
13310
- key: string;
13311
13297
  version: "1";
13298
+ key: string;
13312
13299
  channel: "HTTP" | "SMTP" | "SQS";
13313
13300
  events: string[];
13314
13301
  integration: {
@@ -13401,9 +13388,9 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
13401
13388
  id: string;
13402
13389
  }>>;
13403
13390
  }, "strip", z.ZodTypeAny, {
13404
- key: string;
13405
13391
  version: "2";
13406
13392
  options: Record<string, string[]>;
13393
+ key: string;
13407
13394
  channel: "HTTP" | "SMTP" | "SQS";
13408
13395
  integration: {
13409
13396
  id: string;
@@ -13420,9 +13407,9 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
13420
13407
  id: string;
13421
13408
  } | undefined;
13422
13409
  }, {
13423
- key: string;
13424
13410
  version: "2";
13425
13411
  options: Record<string, string[]>;
13412
+ key: string;
13426
13413
  channel: "HTTP" | "SMTP" | "SQS";
13427
13414
  integration: {
13428
13415
  id: string;
@@ -13442,9 +13429,9 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
13442
13429
  accountId: z.ZodOptional<z.ZodString>;
13443
13430
  }, "strip", z.ZodTypeAny, {
13444
13431
  source: {
13445
- key: string;
13446
13432
  version: "2";
13447
13433
  options: Record<string, string[]>;
13434
+ key: string;
13448
13435
  channel: "HTTP" | "SMTP" | "SQS";
13449
13436
  integration: {
13450
13437
  id: string;
@@ -13470,9 +13457,9 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
13470
13457
  accountId?: string | undefined;
13471
13458
  }, {
13472
13459
  source: {
13473
- key: string;
13474
13460
  version: "2";
13475
13461
  options: Record<string, string[]>;
13462
+ key: string;
13476
13463
  channel: "HTTP" | "SMTP" | "SQS";
13477
13464
  integration: {
13478
13465
  id: string;
@@ -13778,8 +13765,8 @@ declare const GetRunStatusesSchema: z.ZodObject<{
13778
13765
  data?: Record<string, SerializableJson> | undefined;
13779
13766
  }>, "many">;
13780
13767
  }, "strip", z.ZodTypeAny, {
13781
- key: string;
13782
13768
  label: string;
13769
+ key: string;
13783
13770
  history: {
13784
13771
  label?: string | undefined;
13785
13772
  state?: "loading" | "success" | "failure" | undefined;
@@ -13788,8 +13775,8 @@ declare const GetRunStatusesSchema: z.ZodObject<{
13788
13775
  data?: Record<string, SerializableJson> | undefined;
13789
13776
  state?: "loading" | "success" | "failure" | undefined;
13790
13777
  }, {
13791
- key: string;
13792
13778
  label: string;
13779
+ key: string;
13793
13780
  history: {
13794
13781
  label?: string | undefined;
13795
13782
  state?: "loading" | "success" | "failure" | undefined;
@@ -13800,8 +13787,8 @@ declare const GetRunStatusesSchema: z.ZodObject<{
13800
13787
  }>, "many">;
13801
13788
  }, "strip", z.ZodTypeAny, {
13802
13789
  statuses: {
13803
- key: string;
13804
13790
  label: string;
13791
+ key: string;
13805
13792
  history: {
13806
13793
  label?: string | undefined;
13807
13794
  state?: "loading" | "success" | "failure" | undefined;
@@ -13817,8 +13804,8 @@ declare const GetRunStatusesSchema: z.ZodObject<{
13817
13804
  };
13818
13805
  }, {
13819
13806
  statuses: {
13820
- key: string;
13821
13807
  label: string;
13808
+ key: string;
13822
13809
  history: {
13823
13810
  label?: string | undefined;
13824
13811
  state?: "loading" | "success" | "failure" | undefined;
@@ -16371,8 +16358,8 @@ declare const JobRunStatusRecordSchema: z.ZodObject<{
16371
16358
  data?: Record<string, SerializableJson> | undefined;
16372
16359
  }>, "many">;
16373
16360
  }, "strip", z.ZodTypeAny, {
16374
- key: string;
16375
16361
  label: string;
16362
+ key: string;
16376
16363
  history: {
16377
16364
  label?: string | undefined;
16378
16365
  state?: "loading" | "success" | "failure" | undefined;
@@ -16381,8 +16368,8 @@ declare const JobRunStatusRecordSchema: z.ZodObject<{
16381
16368
  data?: Record<string, SerializableJson> | undefined;
16382
16369
  state?: "loading" | "success" | "failure" | undefined;
16383
16370
  }, {
16384
- key: string;
16385
16371
  label: string;
16372
+ key: string;
16386
16373
  history: {
16387
16374
  label?: string | undefined;
16388
16375
  state?: "loading" | "success" | "failure" | undefined;
@@ -16493,8 +16480,8 @@ declare const GetRunSchema: z.ZodObject<{
16493
16480
  data?: Record<string, SerializableJson> | undefined;
16494
16481
  }>, "many">;
16495
16482
  }, "strip", z.ZodTypeAny, {
16496
- key: string;
16497
16483
  label: string;
16484
+ key: string;
16498
16485
  history: {
16499
16486
  label?: string | undefined;
16500
16487
  state?: "loading" | "success" | "failure" | undefined;
@@ -16503,8 +16490,8 @@ declare const GetRunSchema: z.ZodObject<{
16503
16490
  data?: Record<string, SerializableJson> | undefined;
16504
16491
  state?: "loading" | "success" | "failure" | undefined;
16505
16492
  }, {
16506
- key: string;
16507
16493
  label: string;
16494
+ key: string;
16508
16495
  history: {
16509
16496
  label?: string | undefined;
16510
16497
  state?: "loading" | "success" | "failure" | undefined;
@@ -16522,8 +16509,8 @@ declare const GetRunSchema: z.ZodObject<{
16522
16509
  updatedAt: Date | null;
16523
16510
  tasks: RunTaskWithSubtasks[];
16524
16511
  statuses: {
16525
- key: string;
16526
16512
  label: string;
16513
+ key: string;
16527
16514
  history: {
16528
16515
  label?: string | undefined;
16529
16516
  state?: "loading" | "success" | "failure" | undefined;
@@ -16543,8 +16530,8 @@ declare const GetRunSchema: z.ZodObject<{
16543
16530
  tasks: RunTaskWithSubtasks[];
16544
16531
  output?: any;
16545
16532
  statuses?: {
16546
- key: string;
16547
16533
  label: string;
16534
+ key: string;
16548
16535
  history: {
16549
16536
  label?: string | undefined;
16550
16537
  state?: "loading" | "success" | "failure" | undefined;
@@ -16780,4 +16767,4 @@ declare const PLATFORM_FEATURES: {
16780
16767
  };
16781
16768
  declare function supportsFeature<TFeatureName extends keyof typeof PLATFORM_FEATURES>(featureName: TFeatureName, version: string): boolean;
16782
16769
 
16783
- export { API_VERSIONS, type ApiEventLog, ApiEventLogSchema, type AsyncMap, type AutoYieldConfig, AutoYieldConfigSchema, type AutoYieldMetadata, AutoYieldMetadataSchema, type CachedTask, CachedTaskSchema, type CancelRunsForEvent, CancelRunsForEventSchema, type ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, type CompleteTaskBodyInput, CompleteTaskBodyInputSchema, type CompleteTaskBodyOutput, type CompleteTaskBodyV2Input, CompleteTaskBodyV2InputSchema, ConcurrencyLimitOptionsSchema, type ConnectionAuth, ConnectionAuthSchema, type CreateExternalConnectionBody, CreateExternalConnectionBodySchema, type CreateRunResponseBody, CreateRunResponseBodySchema, type CronMetadata, CronMetadataSchema, type CronOptions, CronOptionsSchema, DELIVER_WEBHOOK_REQUEST, type DeliverEventResponse, DeliverEventResponseSchema, type DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, type DisplayProperty, DisplayPropertySchema, type DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, type EndpointIndexError, EndpointIndexErrorSchema, type EphemeralEventDispatcherRequestBody, EphemeralEventDispatcherRequestBodySchema, type EphemeralEventDispatcherResponseBody, EphemeralEventDispatcherResponseBodySchema, type ErrorWithStack, ErrorWithStackSchema, type EventExample, EventExampleSchema, type EventFilter, EventFilterSchema, type EventRule, EventRuleSchema, EventSpecificationSchema, type ExampleReplacement, ExecuteJobHeadersSchema, ExecuteJobRunMetadataSchema, type FailTaskBodyInput, FailTaskBodyInputSchema, type FailedRunNotification, type FetchOperation, FetchOperationSchema, type FetchPollOperation, FetchPollOperationSchema, type FetchRequestInit, FetchRequestInitSchema, type FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, type FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, type FetchRetryOptions, FetchRetryOptionsSchema, type FetchRetryStrategy, FetchRetryStrategySchema, type FetchTimeoutOptions, FetchTimeoutOptionsSchema, type GetEndpointIndexResponse, GetEndpointIndexResponseSchema, type GetEvent, GetEventSchema, type GetRun, type GetRunOptions, type GetRunOptionsWithTaskDetails, GetRunSchema, type GetRunStatuses, GetRunStatusesSchema, type GetRunsOptions, GetRunsSchema, HTTPMethodUnionSchema, type HandleTriggerSource, HandleTriggerSourceSchema, type HttpEndpointMetadata, HttpEndpointRequestHeadersSchema, type HttpMethod, type HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, type HttpSourceResponseMetadata, HttpSourceResponseSchema, type IndexEndpointResponse, IndexEndpointResponseSchema, type IndexEndpointStats, type InitialStatusUpdate, InitializeCronScheduleBodySchema, type InitializeTriggerBody, InitializeTriggerBodySchema, type IntegrationConfig, IntegrationConfigSchema, type IntegrationMetadata, IntegrationMetadataSchema, type IntervalMetadata, IntervalMetadataSchema, type IntervalOptions, IntervalOptionsSchema, type InvokeJobRequestBody, InvokeJobRequestBodySchema, InvokeJobResponseSchema, type InvokeOptions, InvokeOptionsSchema, InvokeTriggerMetadataSchema, type JobMetadata, JobMetadataSchema, type JobRunStatusRecord, JobRunStatusRecordSchema, type KeyValueStoreResponseBody, KeyValueStoreResponseBodySchema, type LogLevel, type LogMessage, LogMessageSchema, Logger, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, type MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, type MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, type NormalizedRequest, NormalizedRequestSchema, type NormalizedResponse, NormalizedResponseSchema, type OverridableRunTaskOptions, PLATFORM_FEATURES, PongErrorResponseSchema, type PongResponse, PongResponseSchema, PongSuccessResponseSchema, type PreprocessRunBody, PreprocessRunBodySchema, type PreprocessRunResponse, PreprocessRunResponseSchema, type Prettify, type QueueOptions, QueueOptionsSchema, REGISTER_SOURCE_EVENT_V1, REGISTER_SOURCE_EVENT_V2, REGISTER_WEBHOOK, type RawEvent, RawEventSchema, RedactSchema, type RedactString, RedactStringSchema, type RegisterCronScheduleBody, type RegisterDynamicSchedulePayload, RegisterDynamicSchedulePayloadSchema, RegisterHTTPTriggerSourceBodySchema, type RegisterIntervalScheduleBody, RegisterIntervalScheduleBodySchema, RegisterSMTPTriggerSourceBodySchema, RegisterSQSTriggerSourceBodySchema, type RegisterScheduleBody, RegisterScheduleBodySchema, type RegisterScheduleResponseBody, RegisterScheduleResponseBodySchema, RegisterSourceChannelBodySchema, type RegisterSourceEventOptions, RegisterSourceEventSchemaV1, RegisterSourceEventSchemaV2, type RegisterSourceEventV1, type RegisterSourceEventV2, RegisterTriggerBodySchemaV1, RegisterTriggerBodySchemaV2, type RegisterTriggerBodyV1, type RegisterTriggerBodyV2, type RegisterTriggerSource, RegisterTriggerSourceSchema, type RegisterWebhookPayload, RegisterWebhookPayloadSchema, type RegisterWebhookSource, RegisterWebhookSourceSchema, type RegisteredOptionsDiff, type RequestFilter, RequestFilterSchema, RequestWithRawBodySchema, type ResponseFilter, type ResponseFilterMatchResult, ResponseFilterSchema, type RetryOptions, RetryOptionsSchema, type RunJobAutoYieldExecutionError, RunJobAutoYieldExecutionErrorSchema, type RunJobAutoYieldWithCompletedTaskExecutionError, RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, type RunJobBody, RunJobBodySchema, type RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, type RunJobError, type RunJobErrorResponse, RunJobErrorResponseSchema, RunJobErrorSchema, type RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, type RunJobResponse, RunJobResponseSchema, type RunJobResumeWithParallelTask, RunJobResumeWithParallelTaskSchema, type RunJobResumeWithTask, RunJobResumeWithTaskSchema, type RunJobRetryWithTask, RunJobRetryWithTaskSchema, type RunJobSuccess, RunJobSuccessSchema, type RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, type RunJobYieldExecutionError, RunJobYieldExecutionErrorSchema, type RunNotification, type RunNotificationAccountMetadata, type RunNotificationEnvMetadata, type RunNotificationInvocationMetadata, type RunNotificationJobMetadata, type RunNotificationOrgMetadata, type RunNotificationProjectMetadata, type RunNotificationRunMetadata, type RunSourceContext, RunSourceContextSchema, RunStatusSchema, type RunTaskBodyInput, RunTaskBodyInputSchema, type RunTaskBodyOutput, RunTaskBodyOutputSchema, type RunTaskOptions, RunTaskOptionsSchema, type RunTaskResponseWithCachedTasksBody, RunTaskResponseWithCachedTasksBodySchema, RunTaskSchema, type RunTaskWithSubtasks, type RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, type ScheduleMetadata, ScheduleMetadataSchema, type ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, type SchemaError, SchemaErrorSchema, SendBulkEventsBodySchema, type SendEvent, type SendEventBody, SendEventBodySchema, type SendEventOptions, SendEventOptionsSchema, type SerializableJson, SerializableJsonSchema, type ServerTask, ServerTaskSchema, type SourceEventOption, type SourceMetadataV1, type SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, type StatusHistory, StatusHistorySchema, type StatusUpdate, type StatusUpdateData, StatusUpdateSchema, type StatusUpdateState, StatusUpdateStateSchema, type StringMatch, type Style, type StyleName, StyleSchema, type SuccessfulRunNotification, TaskSchema, type TaskStatus, TaskStatusSchema, TriggerHelpSchema, type TriggerMetadata, TriggerMetadataSchema, type TriggerSource, TriggerSourceSchema, type UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, type UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, type UpdateWebhookBody, UpdateWebhookBodySchema, ValidateErrorResponseSchema, type ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, type WebhookContextMetadata, WebhookContextMetadataSchema, type WebhookDeliveryResponse, WebhookDeliveryResponseSchema, type WebhookMetadata, WebhookMetadataSchema, type WebhookSourceRequestHeaders, WebhookSourceRequestHeadersSchema, addMissingVersionField, assertExhaustive, calculateResetAt, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, eventFilterMatches, parseEndpointIndexStats, replacements, requestFilterMatches, responseFilterMatches, stringPatternMatchers, supportsFeature, urlWithSearchParams };
16770
+ export { API_VERSIONS, type ApiEventLog, ApiEventLogSchema, type AsyncMap, type AutoYieldConfig, AutoYieldConfigSchema, type AutoYieldMetadata, AutoYieldMetadataSchema, type CachedTask, CachedTaskSchema, type CancelRunsForEvent, CancelRunsForEventSchema, type ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, type CompleteTaskBodyInput, CompleteTaskBodyInputSchema, type CompleteTaskBodyOutput, type CompleteTaskBodyV2Input, CompleteTaskBodyV2InputSchema, ConcurrencyLimitOptionsSchema, type ConnectionAuth, ConnectionAuthSchema, type CreateExternalConnectionBody, CreateExternalConnectionBodySchema, type CreateRunResponseBody, CreateRunResponseBodySchema, type CronMetadata, CronMetadataSchema, type CronOptions, CronOptionsSchema, DELIVER_WEBHOOK_REQUEST, type DeliverEventResponse, DeliverEventResponseSchema, type DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, type DisplayProperty, DisplayPropertySchema, type DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, type EndpointIndexError, EndpointIndexErrorSchema, type EphemeralEventDispatcherRequestBody, EphemeralEventDispatcherRequestBodySchema, type EphemeralEventDispatcherResponseBody, EphemeralEventDispatcherResponseBodySchema, type ErrorWithStack, ErrorWithStackSchema, type EventExample, EventExampleSchema, type EventFilter, EventFilterSchema, type EventRule, EventRuleSchema, EventSpecificationSchema, type ExampleReplacement, ExecuteJobHeadersSchema, ExecuteJobRunMetadataSchema, type FailTaskBodyInput, FailTaskBodyInputSchema, type FailedRunNotification, type FetchOperation, FetchOperationSchema, type FetchPollOperation, FetchPollOperationSchema, type FetchRequestInit, FetchRequestInitSchema, type FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, type FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, type FetchRetryOptions, FetchRetryOptionsSchema, type FetchRetryStrategy, FetchRetryStrategySchema, type FetchTimeoutOptions, FetchTimeoutOptionsSchema, type GetEndpointIndexResponse, GetEndpointIndexResponseSchema, type GetEvent, GetEventSchema, type GetRun, type GetRunOptions, type GetRunOptionsWithTaskDetails, GetRunSchema, type GetRunStatuses, GetRunStatusesSchema, type GetRunsOptions, GetRunsSchema, HTTPMethodUnionSchema, type HandleTriggerSource, HandleTriggerSourceSchema, type HttpEndpointMetadata, HttpEndpointRequestHeadersSchema, type HttpMethod, type HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, type HttpSourceResponseMetadata, HttpSourceResponseSchema, type IndexEndpointResponse, IndexEndpointResponseSchema, type IndexEndpointStats, type InitialStatusUpdate, InitializeCronScheduleBodySchema, type InitializeTriggerBody, InitializeTriggerBodySchema, type IntegrationConfig, IntegrationConfigSchema, type IntegrationMetadata, IntegrationMetadataSchema, type IntervalMetadata, IntervalMetadataSchema, type IntervalOptions, IntervalOptionsSchema, type InvokeJobRequestBody, InvokeJobRequestBodySchema, InvokeJobResponseSchema, type InvokeOptions, InvokeOptionsSchema, InvokeTriggerMetadataSchema, type JobMetadata, JobMetadataSchema, type JobRunStatusRecord, JobRunStatusRecordSchema, type KeyValueStoreResponseBody, KeyValueStoreResponseBodySchema, type LogMessage, LogMessageSchema, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, type MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, type MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, type NormalizedRequest, NormalizedRequestSchema, type NormalizedResponse, NormalizedResponseSchema, type OverridableRunTaskOptions, PLATFORM_FEATURES, PongErrorResponseSchema, type PongResponse, PongResponseSchema, PongSuccessResponseSchema, type PreprocessRunBody, PreprocessRunBodySchema, type PreprocessRunResponse, PreprocessRunResponseSchema, type Prettify, type QueueOptions, QueueOptionsSchema, REGISTER_SOURCE_EVENT_V1, REGISTER_SOURCE_EVENT_V2, REGISTER_WEBHOOK, type RawEvent, RawEventSchema, RedactSchema, type RedactString, RedactStringSchema, type RegisterCronScheduleBody, type RegisterDynamicSchedulePayload, RegisterDynamicSchedulePayloadSchema, RegisterHTTPTriggerSourceBodySchema, type RegisterIntervalScheduleBody, RegisterIntervalScheduleBodySchema, RegisterSMTPTriggerSourceBodySchema, RegisterSQSTriggerSourceBodySchema, type RegisterScheduleBody, RegisterScheduleBodySchema, type RegisterScheduleResponseBody, RegisterScheduleResponseBodySchema, RegisterSourceChannelBodySchema, type RegisterSourceEventOptions, RegisterSourceEventSchemaV1, RegisterSourceEventSchemaV2, type RegisterSourceEventV1, type RegisterSourceEventV2, RegisterTriggerBodySchemaV1, RegisterTriggerBodySchemaV2, type RegisterTriggerBodyV1, type RegisterTriggerBodyV2, type RegisterTriggerSource, RegisterTriggerSourceSchema, type RegisterWebhookPayload, RegisterWebhookPayloadSchema, type RegisterWebhookSource, RegisterWebhookSourceSchema, type RegisteredOptionsDiff, type RequestFilter, RequestFilterSchema, RequestWithRawBodySchema, type ResponseFilter, type ResponseFilterMatchResult, ResponseFilterSchema, type RetryOptions, RetryOptionsSchema, type RunJobAutoYieldExecutionError, RunJobAutoYieldExecutionErrorSchema, type RunJobAutoYieldWithCompletedTaskExecutionError, RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, type RunJobBody, RunJobBodySchema, type RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, type RunJobError, type RunJobErrorResponse, RunJobErrorResponseSchema, RunJobErrorSchema, type RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, type RunJobResponse, RunJobResponseSchema, type RunJobResumeWithParallelTask, RunJobResumeWithParallelTaskSchema, type RunJobResumeWithTask, RunJobResumeWithTaskSchema, type RunJobRetryWithTask, RunJobRetryWithTaskSchema, type RunJobSuccess, RunJobSuccessSchema, type RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, type RunJobYieldExecutionError, RunJobYieldExecutionErrorSchema, type RunNotification, type RunNotificationAccountMetadata, type RunNotificationEnvMetadata, type RunNotificationInvocationMetadata, type RunNotificationJobMetadata, type RunNotificationOrgMetadata, type RunNotificationProjectMetadata, type RunNotificationRunMetadata, type RunSourceContext, RunSourceContextSchema, RunStatusSchema, type RunTaskBodyInput, RunTaskBodyInputSchema, type RunTaskBodyOutput, RunTaskBodyOutputSchema, type RunTaskOptions, RunTaskOptionsSchema, type RunTaskResponseWithCachedTasksBody, RunTaskResponseWithCachedTasksBodySchema, RunTaskSchema, type RunTaskWithSubtasks, type RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, type ScheduleMetadata, ScheduleMetadataSchema, type ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, type SchemaError, SchemaErrorSchema, SendBulkEventsBodySchema, type SendEvent, type SendEventBody, SendEventBodySchema, type SendEventOptions, SendEventOptionsSchema, type SerializableJson, SerializableJsonSchema, type ServerTask, ServerTaskSchema, type SourceEventOption, type SourceMetadataV1, type SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, type StatusHistory, StatusHistorySchema, type StatusUpdate, type StatusUpdateData, StatusUpdateSchema, type StatusUpdateState, StatusUpdateStateSchema, type StringMatch, type Style, type StyleName, StyleSchema, type SuccessfulRunNotification, TaskSchema, type TaskStatus, TaskStatusSchema, TriggerHelpSchema, type TriggerMetadata, TriggerMetadataSchema, type TriggerSource, TriggerSourceSchema, type UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, type UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, type UpdateWebhookBody, UpdateWebhookBodySchema, ValidateErrorResponseSchema, type ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, type WebhookContextMetadata, WebhookContextMetadataSchema, type WebhookDeliveryResponse, WebhookDeliveryResponseSchema, type WebhookMetadata, WebhookMetadataSchema, type WebhookSourceRequestHeaders, WebhookSourceRequestHeadersSchema, addMissingVersionField, assertExhaustive, calculateResetAt, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, eventFilterMatches, parseEndpointIndexStats, replacements, requestFilterMatches, responseFilterMatches, stringPatternMatchers, supportsFeature, urlWithSearchParams };