@trigger.dev/core 2.2.8 → 2.2.10

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
@@ -1305,6 +1305,16 @@ declare const QueueOptionsSchema: z.ZodObject<{
1305
1305
  maxConcurrent?: number | undefined;
1306
1306
  }>;
1307
1307
  type QueueOptions = z.infer<typeof QueueOptionsSchema>;
1308
+ declare const ConcurrencyLimitOptionsSchema: z.ZodObject<{
1309
+ id: z.ZodString;
1310
+ limit: z.ZodNumber;
1311
+ }, "strip", z.ZodTypeAny, {
1312
+ id: string;
1313
+ limit: number;
1314
+ }, {
1315
+ id: string;
1316
+ limit: number;
1317
+ }>;
1308
1318
  declare const JobMetadataSchema: z.ZodObject<{
1309
1319
  id: z.ZodString;
1310
1320
  name: z.ZodString;
@@ -1629,6 +1639,16 @@ declare const JobMetadataSchema: z.ZodObject<{
1629
1639
  enabled: z.ZodBoolean;
1630
1640
  startPosition: z.ZodEnum<["initial", "latest"]>;
1631
1641
  preprocessRuns: z.ZodBoolean;
1642
+ concurrencyLimit: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1643
+ id: z.ZodString;
1644
+ limit: z.ZodNumber;
1645
+ }, "strip", z.ZodTypeAny, {
1646
+ id: string;
1647
+ limit: number;
1648
+ }, {
1649
+ id: string;
1650
+ limit: number;
1651
+ }>, z.ZodNumber]>>;
1632
1652
  }, "strip", z.ZodTypeAny, {
1633
1653
  version: string;
1634
1654
  name: string;
@@ -1711,6 +1731,10 @@ declare const JobMetadataSchema: z.ZodObject<{
1711
1731
  enabled: boolean;
1712
1732
  startPosition: "initial" | "latest";
1713
1733
  preprocessRuns: boolean;
1734
+ concurrencyLimit?: number | {
1735
+ id: string;
1736
+ limit: number;
1737
+ } | undefined;
1714
1738
  }, {
1715
1739
  version: string;
1716
1740
  name: string;
@@ -1793,6 +1817,10 @@ declare const JobMetadataSchema: z.ZodObject<{
1793
1817
  startPosition: "initial" | "latest";
1794
1818
  preprocessRuns: boolean;
1795
1819
  internal?: boolean | undefined;
1820
+ concurrencyLimit?: number | {
1821
+ id: string;
1822
+ limit: number;
1823
+ } | undefined;
1796
1824
  }>;
1797
1825
  type JobMetadata = z.infer<typeof JobMetadataSchema>;
1798
1826
  declare const SourceMetadataV1Schema: z.ZodObject<{
@@ -2391,6 +2419,16 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
2391
2419
  enabled: z.ZodBoolean;
2392
2420
  startPosition: z.ZodEnum<["initial", "latest"]>;
2393
2421
  preprocessRuns: z.ZodBoolean;
2422
+ concurrencyLimit: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2423
+ id: z.ZodString;
2424
+ limit: z.ZodNumber;
2425
+ }, "strip", z.ZodTypeAny, {
2426
+ id: string;
2427
+ limit: number;
2428
+ }, {
2429
+ id: string;
2430
+ limit: number;
2431
+ }>, z.ZodNumber]>>;
2394
2432
  }, "version" | "id">, "strip", z.ZodTypeAny, {
2395
2433
  version: string;
2396
2434
  id: string;
@@ -3039,6 +3077,16 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3039
3077
  enabled: z.ZodBoolean;
3040
3078
  startPosition: z.ZodEnum<["initial", "latest"]>;
3041
3079
  preprocessRuns: z.ZodBoolean;
3080
+ concurrencyLimit: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3081
+ id: z.ZodString;
3082
+ limit: z.ZodNumber;
3083
+ }, "strip", z.ZodTypeAny, {
3084
+ id: string;
3085
+ limit: number;
3086
+ }, {
3087
+ id: string;
3088
+ limit: number;
3089
+ }>, z.ZodNumber]>>;
3042
3090
  }, "strip", z.ZodTypeAny, {
3043
3091
  version: string;
3044
3092
  name: string;
@@ -3121,6 +3169,10 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3121
3169
  enabled: boolean;
3122
3170
  startPosition: "initial" | "latest";
3123
3171
  preprocessRuns: boolean;
3172
+ concurrencyLimit?: number | {
3173
+ id: string;
3174
+ limit: number;
3175
+ } | undefined;
3124
3176
  }, {
3125
3177
  version: string;
3126
3178
  name: string;
@@ -3203,6 +3255,10 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3203
3255
  startPosition: "initial" | "latest";
3204
3256
  preprocessRuns: boolean;
3205
3257
  internal?: boolean | undefined;
3258
+ concurrencyLimit?: number | {
3259
+ id: string;
3260
+ limit: number;
3261
+ } | undefined;
3206
3262
  }>, "many">;
3207
3263
  sources: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
3208
3264
  version: z.ZodLiteral<"1">;
@@ -3820,6 +3876,16 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3820
3876
  enabled: z.ZodBoolean;
3821
3877
  startPosition: z.ZodEnum<["initial", "latest"]>;
3822
3878
  preprocessRuns: z.ZodBoolean;
3879
+ concurrencyLimit: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3880
+ id: z.ZodString;
3881
+ limit: z.ZodNumber;
3882
+ }, "strip", z.ZodTypeAny, {
3883
+ id: string;
3884
+ limit: number;
3885
+ }, {
3886
+ id: string;
3887
+ limit: number;
3888
+ }>, z.ZodNumber]>>;
3823
3889
  }, "version" | "id">, "strip", z.ZodTypeAny, {
3824
3890
  version: string;
3825
3891
  id: string;
@@ -4249,6 +4315,10 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
4249
4315
  enabled: boolean;
4250
4316
  startPosition: "initial" | "latest";
4251
4317
  preprocessRuns: boolean;
4318
+ concurrencyLimit?: number | {
4319
+ id: string;
4320
+ limit: number;
4321
+ } | undefined;
4252
4322
  }[];
4253
4323
  sources: ({
4254
4324
  key: string;
@@ -4460,6 +4530,10 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
4460
4530
  startPosition: "initial" | "latest";
4461
4531
  preprocessRuns: boolean;
4462
4532
  internal?: boolean | undefined;
4533
+ concurrencyLimit?: number | {
4534
+ id: string;
4535
+ limit: number;
4536
+ } | undefined;
4463
4537
  }[];
4464
4538
  sources: unknown[];
4465
4539
  dynamicTriggers: {
@@ -4566,7 +4640,7 @@ type EndpointIndexError = z.infer<typeof EndpointIndexErrorSchema>;
4566
4640
  declare const IndexEndpointStatsSchema: z.ZodObject<{
4567
4641
  jobs: z.ZodNumber;
4568
4642
  sources: z.ZodNumber;
4569
- webhooks: z.ZodNumber;
4643
+ webhooks: z.ZodOptional<z.ZodNumber>;
4570
4644
  dynamicTriggers: z.ZodNumber;
4571
4645
  dynamicSchedules: z.ZodNumber;
4572
4646
  disabledJobs: z.ZodDefault<z.ZodNumber>;
@@ -4574,17 +4648,17 @@ declare const IndexEndpointStatsSchema: z.ZodObject<{
4574
4648
  }, "strip", z.ZodTypeAny, {
4575
4649
  jobs: number;
4576
4650
  sources: number;
4577
- webhooks: number;
4578
4651
  dynamicTriggers: number;
4579
4652
  dynamicSchedules: number;
4580
4653
  httpEndpoints: number;
4581
4654
  disabledJobs: number;
4655
+ webhooks?: number | undefined;
4582
4656
  }, {
4583
4657
  jobs: number;
4584
4658
  sources: number;
4585
- webhooks: number;
4586
4659
  dynamicTriggers: number;
4587
4660
  dynamicSchedules: number;
4661
+ webhooks?: number | undefined;
4588
4662
  disabledJobs?: number | undefined;
4589
4663
  httpEndpoints?: number | undefined;
4590
4664
  }>;
@@ -4613,7 +4687,7 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
4613
4687
  stats: z.ZodObject<{
4614
4688
  jobs: z.ZodNumber;
4615
4689
  sources: z.ZodNumber;
4616
- webhooks: z.ZodNumber;
4690
+ webhooks: z.ZodOptional<z.ZodNumber>;
4617
4691
  dynamicTriggers: z.ZodNumber;
4618
4692
  dynamicSchedules: z.ZodNumber;
4619
4693
  disabledJobs: z.ZodDefault<z.ZodNumber>;
@@ -4621,17 +4695,17 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
4621
4695
  }, "strip", z.ZodTypeAny, {
4622
4696
  jobs: number;
4623
4697
  sources: number;
4624
- webhooks: number;
4625
4698
  dynamicTriggers: number;
4626
4699
  dynamicSchedules: number;
4627
4700
  httpEndpoints: number;
4628
4701
  disabledJobs: number;
4702
+ webhooks?: number | undefined;
4629
4703
  }, {
4630
4704
  jobs: number;
4631
4705
  sources: number;
4632
- webhooks: number;
4633
4706
  dynamicTriggers: number;
4634
4707
  dynamicSchedules: number;
4708
+ webhooks?: number | undefined;
4635
4709
  disabledJobs?: number | undefined;
4636
4710
  httpEndpoints?: number | undefined;
4637
4711
  }>;
@@ -4642,11 +4716,11 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
4642
4716
  stats: {
4643
4717
  jobs: number;
4644
4718
  sources: number;
4645
- webhooks: number;
4646
4719
  dynamicTriggers: number;
4647
4720
  dynamicSchedules: number;
4648
4721
  httpEndpoints: number;
4649
4722
  disabledJobs: number;
4723
+ webhooks?: number | undefined;
4650
4724
  };
4651
4725
  }, {
4652
4726
  status: "SUCCESS";
@@ -4654,9 +4728,9 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
4654
4728
  stats: {
4655
4729
  jobs: number;
4656
4730
  sources: number;
4657
- webhooks: number;
4658
4731
  dynamicTriggers: number;
4659
4732
  dynamicSchedules: number;
4733
+ webhooks?: number | undefined;
4660
4734
  disabledJobs?: number | undefined;
4661
4735
  httpEndpoints?: number | undefined;
4662
4736
  };
@@ -5691,10 +5765,10 @@ declare const AutoYieldMetadataSchema: z.ZodObject<{
5691
5765
  }>;
5692
5766
  type AutoYieldMetadata = z.infer<typeof AutoYieldMetadataSchema>;
5693
5767
  declare const RunJobAutoYieldExecutionErrorSchema: z.ZodObject<{
5768
+ limit: z.ZodOptional<z.ZodNumber>;
5694
5769
  location: z.ZodString;
5695
5770
  timeRemaining: z.ZodNumber;
5696
5771
  timeElapsed: z.ZodNumber;
5697
- limit: z.ZodOptional<z.ZodNumber>;
5698
5772
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
5699
5773
  }, "strip", z.ZodTypeAny, {
5700
5774
  status: "AUTO_YIELD_EXECUTION";
@@ -6491,10 +6565,10 @@ declare const RunJobSuccessSchema: z.ZodObject<{
6491
6565
  }>;
6492
6566
  type RunJobSuccess = z.infer<typeof RunJobSuccessSchema>;
6493
6567
  declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6568
+ limit: z.ZodOptional<z.ZodNumber>;
6494
6569
  location: z.ZodString;
6495
6570
  timeRemaining: z.ZodNumber;
6496
6571
  timeElapsed: z.ZodNumber;
6497
- limit: z.ZodOptional<z.ZodNumber>;
6498
6572
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
6499
6573
  }, "strip", z.ZodTypeAny, {
6500
6574
  status: "AUTO_YIELD_EXECUTION";
@@ -7636,10 +7710,10 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7636
7710
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
7637
7711
  }>;
7638
7712
  childErrors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
7713
+ limit: z.ZodOptional<z.ZodNumber>;
7639
7714
  location: z.ZodString;
7640
7715
  timeRemaining: z.ZodNumber;
7641
7716
  timeElapsed: z.ZodNumber;
7642
- limit: z.ZodOptional<z.ZodNumber>;
7643
7717
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
7644
7718
  }, "strip", z.ZodTypeAny, {
7645
7719
  status: "AUTO_YIELD_EXECUTION";
@@ -9119,10 +9193,10 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
9119
9193
  }>;
9120
9194
  type RunJobResumeWithParallelTask = z.infer<typeof RunJobResumeWithParallelTaskSchema>;
9121
9195
  declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
9196
+ limit: z.ZodOptional<z.ZodNumber>;
9122
9197
  location: z.ZodString;
9123
9198
  timeRemaining: z.ZodNumber;
9124
9199
  timeElapsed: z.ZodNumber;
9125
- limit: z.ZodOptional<z.ZodNumber>;
9126
9200
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
9127
9201
  }, "strip", z.ZodTypeAny, {
9128
9202
  status: "AUTO_YIELD_EXECUTION";
@@ -9826,10 +9900,10 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9826
9900
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9827
9901
  }>;
9828
9902
  childErrors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
9903
+ limit: z.ZodOptional<z.ZodNumber>;
9829
9904
  location: z.ZodString;
9830
9905
  timeRemaining: z.ZodNumber;
9831
9906
  timeElapsed: z.ZodNumber;
9832
- limit: z.ZodOptional<z.ZodNumber>;
9833
9907
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
9834
9908
  }, "strip", z.ZodTypeAny, {
9835
9909
  status: "AUTO_YIELD_EXECUTION";
@@ -12156,211 +12230,6 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
12156
12230
  }, {
12157
12231
  paths: string[];
12158
12232
  }>>;
12159
- trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12160
- type: z.ZodLiteral<"dynamic">;
12161
- id: z.ZodString;
12162
- }, "strip", z.ZodTypeAny, {
12163
- type: "dynamic";
12164
- id: string;
12165
- }, {
12166
- type: "dynamic";
12167
- id: string;
12168
- }>, z.ZodObject<{
12169
- type: z.ZodLiteral<"static">;
12170
- title: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
12171
- properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
12172
- label: z.ZodString;
12173
- text: z.ZodString;
12174
- url: z.ZodOptional<z.ZodString>;
12175
- imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12176
- }, "strip", z.ZodTypeAny, {
12177
- label: string;
12178
- text: string;
12179
- url?: string | undefined;
12180
- imageUrl?: string[] | undefined;
12181
- }, {
12182
- label: string;
12183
- text: string;
12184
- url?: string | undefined;
12185
- imageUrl?: string[] | undefined;
12186
- }>, "many">>;
12187
- rule: z.ZodObject<{
12188
- event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
12189
- source: z.ZodString;
12190
- payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
12191
- context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
12192
- }, "strip", z.ZodTypeAny, {
12193
- event: (string | string[]) & (string | string[] | undefined);
12194
- source: string;
12195
- payload?: EventFilter | undefined;
12196
- context?: EventFilter | undefined;
12197
- }, {
12198
- event: (string | string[]) & (string | string[] | undefined);
12199
- source: string;
12200
- payload?: EventFilter | undefined;
12201
- context?: EventFilter | undefined;
12202
- }>;
12203
- link: z.ZodOptional<z.ZodString>;
12204
- help: z.ZodOptional<z.ZodObject<{
12205
- noRuns: z.ZodOptional<z.ZodObject<{
12206
- text: z.ZodString;
12207
- link: z.ZodOptional<z.ZodString>;
12208
- }, "strip", z.ZodTypeAny, {
12209
- text: string;
12210
- link?: string | undefined;
12211
- }, {
12212
- text: string;
12213
- link?: string | undefined;
12214
- }>>;
12215
- }, "strip", z.ZodTypeAny, {
12216
- noRuns?: {
12217
- text: string;
12218
- link?: string | undefined;
12219
- } | undefined;
12220
- }, {
12221
- noRuns?: {
12222
- text: string;
12223
- link?: string | undefined;
12224
- } | undefined;
12225
- }>>;
12226
- }, "strip", z.ZodTypeAny, {
12227
- type: "static";
12228
- title: (string | string[]) & (string | string[] | undefined);
12229
- rule: {
12230
- event: (string | string[]) & (string | string[] | undefined);
12231
- source: string;
12232
- payload?: EventFilter | undefined;
12233
- context?: EventFilter | undefined;
12234
- };
12235
- properties?: {
12236
- label: string;
12237
- text: string;
12238
- url?: string | undefined;
12239
- imageUrl?: string[] | undefined;
12240
- }[] | undefined;
12241
- link?: string | undefined;
12242
- help?: {
12243
- noRuns?: {
12244
- text: string;
12245
- link?: string | undefined;
12246
- } | undefined;
12247
- } | undefined;
12248
- }, {
12249
- type: "static";
12250
- title: (string | string[]) & (string | string[] | undefined);
12251
- rule: {
12252
- event: (string | string[]) & (string | string[] | undefined);
12253
- source: string;
12254
- payload?: EventFilter | undefined;
12255
- context?: EventFilter | undefined;
12256
- };
12257
- properties?: {
12258
- label: string;
12259
- text: string;
12260
- url?: string | undefined;
12261
- imageUrl?: string[] | undefined;
12262
- }[] | undefined;
12263
- link?: string | undefined;
12264
- help?: {
12265
- noRuns?: {
12266
- text: string;
12267
- link?: string | undefined;
12268
- } | undefined;
12269
- } | undefined;
12270
- }>, z.ZodObject<{
12271
- type: z.ZodLiteral<"scheduled">;
12272
- schedule: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12273
- type: z.ZodLiteral<"interval">;
12274
- options: z.ZodObject<{
12275
- seconds: z.ZodNumber;
12276
- }, "strip", z.ZodTypeAny, {
12277
- seconds: number;
12278
- }, {
12279
- seconds: number;
12280
- }>;
12281
- accountId: z.ZodOptional<z.ZodString>;
12282
- metadata: z.ZodAny;
12283
- }, "strip", z.ZodTypeAny, {
12284
- options: {
12285
- seconds: number;
12286
- };
12287
- type: "interval";
12288
- accountId?: string | undefined;
12289
- metadata?: any;
12290
- }, {
12291
- options: {
12292
- seconds: number;
12293
- };
12294
- type: "interval";
12295
- accountId?: string | undefined;
12296
- metadata?: any;
12297
- }>, z.ZodObject<{
12298
- type: z.ZodLiteral<"cron">;
12299
- options: z.ZodObject<{
12300
- cron: z.ZodString;
12301
- }, "strip", z.ZodTypeAny, {
12302
- cron: string;
12303
- }, {
12304
- cron: string;
12305
- }>;
12306
- accountId: z.ZodOptional<z.ZodString>;
12307
- metadata: z.ZodAny;
12308
- }, "strip", z.ZodTypeAny, {
12309
- options: {
12310
- cron: string;
12311
- };
12312
- type: "cron";
12313
- accountId?: string | undefined;
12314
- metadata?: any;
12315
- }, {
12316
- options: {
12317
- cron: string;
12318
- };
12319
- type: "cron";
12320
- accountId?: string | undefined;
12321
- metadata?: any;
12322
- }>]>;
12323
- }, "strip", z.ZodTypeAny, {
12324
- type: "scheduled";
12325
- schedule: {
12326
- options: {
12327
- cron: string;
12328
- };
12329
- type: "cron";
12330
- accountId?: string | undefined;
12331
- metadata?: any;
12332
- } | {
12333
- options: {
12334
- seconds: number;
12335
- };
12336
- type: "interval";
12337
- accountId?: string | undefined;
12338
- metadata?: any;
12339
- };
12340
- }, {
12341
- type: "scheduled";
12342
- schedule: {
12343
- options: {
12344
- cron: string;
12345
- };
12346
- type: "cron";
12347
- accountId?: string | undefined;
12348
- metadata?: any;
12349
- } | {
12350
- options: {
12351
- seconds: number;
12352
- };
12353
- type: "interval";
12354
- accountId?: string | undefined;
12355
- metadata?: any;
12356
- };
12357
- }>, z.ZodObject<{
12358
- type: z.ZodLiteral<"invoke">;
12359
- }, "strip", z.ZodTypeAny, {
12360
- type: "invoke";
12361
- }, {
12362
- type: "invoke";
12363
- }>]>>;
12364
12233
  parallel: z.ZodOptional<z.ZodBoolean>;
12365
12234
  }, "strip", z.ZodTypeAny, {
12366
12235
  noop: boolean;
@@ -12396,51 +12265,6 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
12396
12265
  redact?: {
12397
12266
  paths: string[];
12398
12267
  } | undefined;
12399
- trigger?: {
12400
- type: "dynamic";
12401
- id: string;
12402
- } | {
12403
- type: "static";
12404
- title: (string | string[]) & (string | string[] | undefined);
12405
- rule: {
12406
- event: (string | string[]) & (string | string[] | undefined);
12407
- source: string;
12408
- payload?: EventFilter | undefined;
12409
- context?: EventFilter | undefined;
12410
- };
12411
- properties?: {
12412
- label: string;
12413
- text: string;
12414
- url?: string | undefined;
12415
- imageUrl?: string[] | undefined;
12416
- }[] | undefined;
12417
- link?: string | undefined;
12418
- help?: {
12419
- noRuns?: {
12420
- text: string;
12421
- link?: string | undefined;
12422
- } | undefined;
12423
- } | undefined;
12424
- } | {
12425
- type: "invoke";
12426
- } | {
12427
- type: "scheduled";
12428
- schedule: {
12429
- options: {
12430
- cron: string;
12431
- };
12432
- type: "cron";
12433
- accountId?: string | undefined;
12434
- metadata?: any;
12435
- } | {
12436
- options: {
12437
- seconds: number;
12438
- };
12439
- type: "interval";
12440
- accountId?: string | undefined;
12441
- metadata?: any;
12442
- };
12443
- } | undefined;
12444
12268
  parallel?: boolean | undefined;
12445
12269
  }, {
12446
12270
  name?: string | undefined;
@@ -12476,51 +12300,6 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
12476
12300
  redact?: {
12477
12301
  paths: string[];
12478
12302
  } | undefined;
12479
- trigger?: {
12480
- type: "dynamic";
12481
- id: string;
12482
- } | {
12483
- type: "static";
12484
- title: (string | string[]) & (string | string[] | undefined);
12485
- rule: {
12486
- event: (string | string[]) & (string | string[] | undefined);
12487
- source: string;
12488
- payload?: EventFilter | undefined;
12489
- context?: EventFilter | undefined;
12490
- };
12491
- properties?: {
12492
- label: string;
12493
- text: string;
12494
- url?: string | undefined;
12495
- imageUrl?: string[] | undefined;
12496
- }[] | undefined;
12497
- link?: string | undefined;
12498
- help?: {
12499
- noRuns?: {
12500
- text: string;
12501
- link?: string | undefined;
12502
- } | undefined;
12503
- } | undefined;
12504
- } | {
12505
- type: "invoke";
12506
- } | {
12507
- type: "scheduled";
12508
- schedule: {
12509
- options: {
12510
- cron: string;
12511
- };
12512
- type: "cron";
12513
- accountId?: string | undefined;
12514
- metadata?: any;
12515
- } | {
12516
- options: {
12517
- seconds: number;
12518
- };
12519
- type: "interval";
12520
- accountId?: string | undefined;
12521
- metadata?: any;
12522
- };
12523
- } | undefined;
12524
12303
  parallel?: boolean | undefined;
12525
12304
  }>;
12526
12305
  type RunTaskOptions = z.input<typeof RunTaskOptionsSchema>;
@@ -12560,647 +12339,147 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
12560
12339
  }>, "many">>;
12561
12340
  operation: z.ZodOptional<z.ZodEnum<["fetch", "fetch-response", "fetch-poll"]>>;
12562
12341
  displayKey: z.ZodOptional<z.ZodString>;
12563
- trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12564
- type: z.ZodLiteral<"dynamic">;
12565
- id: z.ZodString;
12566
- }, "strip", z.ZodTypeAny, {
12567
- type: "dynamic";
12568
- id: string;
12569
- }, {
12570
- type: "dynamic";
12571
- id: string;
12572
- }>, z.ZodObject<{
12573
- type: z.ZodLiteral<"static">;
12574
- title: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
12575
- properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
12576
- label: z.ZodString;
12577
- text: z.ZodString;
12578
- url: z.ZodOptional<z.ZodString>;
12579
- imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12580
- }, "strip", z.ZodTypeAny, {
12581
- label: string;
12582
- text: string;
12583
- url?: string | undefined;
12584
- imageUrl?: string[] | undefined;
12585
- }, {
12586
- label: string;
12587
- text: string;
12588
- url?: string | undefined;
12589
- imageUrl?: string[] | undefined;
12590
- }>, "many">>;
12591
- rule: z.ZodObject<{
12592
- event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
12593
- source: z.ZodString;
12594
- payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
12595
- context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
12596
- }, "strip", z.ZodTypeAny, {
12597
- event: (string | string[]) & (string | string[] | undefined);
12598
- source: string;
12599
- payload?: EventFilter | undefined;
12600
- context?: EventFilter | undefined;
12601
- }, {
12602
- event: (string | string[]) & (string | string[] | undefined);
12603
- source: string;
12604
- payload?: EventFilter | undefined;
12605
- context?: EventFilter | undefined;
12606
- }>;
12607
- link: z.ZodOptional<z.ZodString>;
12608
- help: z.ZodOptional<z.ZodObject<{
12609
- noRuns: z.ZodOptional<z.ZodObject<{
12610
- text: z.ZodString;
12611
- link: z.ZodOptional<z.ZodString>;
12612
- }, "strip", z.ZodTypeAny, {
12613
- text: string;
12614
- link?: string | undefined;
12615
- }, {
12616
- text: string;
12617
- link?: string | undefined;
12618
- }>>;
12619
- }, "strip", z.ZodTypeAny, {
12620
- noRuns?: {
12621
- text: string;
12622
- link?: string | undefined;
12623
- } | undefined;
12624
- }, {
12625
- noRuns?: {
12626
- text: string;
12627
- link?: string | undefined;
12628
- } | undefined;
12629
- }>>;
12630
- }, "strip", z.ZodTypeAny, {
12631
- type: "static";
12632
- title: (string | string[]) & (string | string[] | undefined);
12633
- rule: {
12634
- event: (string | string[]) & (string | string[] | undefined);
12635
- source: string;
12636
- payload?: EventFilter | undefined;
12637
- context?: EventFilter | undefined;
12638
- };
12639
- properties?: {
12640
- label: string;
12641
- text: string;
12642
- url?: string | undefined;
12643
- imageUrl?: string[] | undefined;
12644
- }[] | undefined;
12645
- link?: string | undefined;
12646
- help?: {
12647
- noRuns?: {
12648
- text: string;
12649
- link?: string | undefined;
12650
- } | undefined;
12651
- } | undefined;
12652
- }, {
12653
- type: "static";
12654
- title: (string | string[]) & (string | string[] | undefined);
12655
- rule: {
12656
- event: (string | string[]) & (string | string[] | undefined);
12657
- source: string;
12658
- payload?: EventFilter | undefined;
12659
- context?: EventFilter | undefined;
12660
- };
12661
- properties?: {
12662
- label: string;
12663
- text: string;
12664
- url?: string | undefined;
12665
- imageUrl?: string[] | undefined;
12666
- }[] | undefined;
12667
- link?: string | undefined;
12668
- help?: {
12669
- noRuns?: {
12670
- text: string;
12671
- link?: string | undefined;
12672
- } | undefined;
12673
- } | undefined;
12674
- }>, z.ZodObject<{
12675
- type: z.ZodLiteral<"scheduled">;
12676
- schedule: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12677
- type: z.ZodLiteral<"interval">;
12678
- options: z.ZodObject<{
12679
- seconds: z.ZodNumber;
12680
- }, "strip", z.ZodTypeAny, {
12681
- seconds: number;
12682
- }, {
12683
- seconds: number;
12684
- }>;
12685
- accountId: z.ZodOptional<z.ZodString>;
12686
- metadata: z.ZodAny;
12687
- }, "strip", z.ZodTypeAny, {
12688
- options: {
12689
- seconds: number;
12690
- };
12691
- type: "interval";
12692
- accountId?: string | undefined;
12693
- metadata?: any;
12694
- }, {
12695
- options: {
12696
- seconds: number;
12697
- };
12698
- type: "interval";
12699
- accountId?: string | undefined;
12700
- metadata?: any;
12701
- }>, z.ZodObject<{
12702
- type: z.ZodLiteral<"cron">;
12703
- options: z.ZodObject<{
12704
- cron: z.ZodString;
12705
- }, "strip", z.ZodTypeAny, {
12706
- cron: string;
12707
- }, {
12708
- cron: string;
12709
- }>;
12710
- accountId: z.ZodOptional<z.ZodString>;
12711
- metadata: z.ZodAny;
12712
- }, "strip", z.ZodTypeAny, {
12713
- options: {
12714
- cron: string;
12715
- };
12716
- type: "cron";
12717
- accountId?: string | undefined;
12718
- metadata?: any;
12719
- }, {
12720
- options: {
12721
- cron: string;
12722
- };
12723
- type: "cron";
12724
- accountId?: string | undefined;
12725
- metadata?: any;
12726
- }>]>;
12727
- }, "strip", z.ZodTypeAny, {
12728
- type: "scheduled";
12729
- schedule: {
12730
- options: {
12731
- cron: string;
12732
- };
12733
- type: "cron";
12734
- accountId?: string | undefined;
12735
- metadata?: any;
12736
- } | {
12737
- options: {
12738
- seconds: number;
12739
- };
12740
- type: "interval";
12741
- accountId?: string | undefined;
12742
- metadata?: any;
12743
- };
12744
- }, {
12745
- type: "scheduled";
12746
- schedule: {
12747
- options: {
12748
- cron: string;
12749
- };
12750
- type: "cron";
12751
- accountId?: string | undefined;
12752
- metadata?: any;
12753
- } | {
12754
- options: {
12755
- seconds: number;
12756
- };
12757
- type: "interval";
12758
- accountId?: string | undefined;
12759
- metadata?: any;
12760
- };
12761
- }>, z.ZodObject<{
12762
- type: z.ZodLiteral<"invoke">;
12763
- }, "strip", z.ZodTypeAny, {
12764
- type: "invoke";
12765
- }, {
12766
- type: "invoke";
12767
- }>]>>;
12768
12342
  retry: z.ZodOptional<z.ZodObject<{
12769
12343
  /** The maximum number of times to retry the request. */
12770
12344
  limit: z.ZodOptional<z.ZodNumber>;
12771
12345
  /** The exponential factor to use when calculating the next retry time. */
12772
12346
  factor: z.ZodOptional<z.ZodNumber>;
12773
- /** The minimum amount of time to wait before retrying the request. */
12774
- minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
12775
- /** The maximum amount of time to wait before retrying the request. */
12776
- maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
12777
- /** Whether to randomize the retry time. */
12778
- randomize: z.ZodOptional<z.ZodBoolean>;
12779
- }, "strip", z.ZodTypeAny, {
12780
- limit?: number | undefined;
12781
- factor?: number | undefined;
12782
- minTimeoutInMs?: number | undefined;
12783
- maxTimeoutInMs?: number | undefined;
12784
- randomize?: boolean | undefined;
12785
- }, {
12786
- limit?: number | undefined;
12787
- factor?: number | undefined;
12788
- minTimeoutInMs?: number | undefined;
12789
- maxTimeoutInMs?: number | undefined;
12790
- randomize?: boolean | undefined;
12791
- }>>;
12792
- callback: z.ZodOptional<z.ZodObject<{
12793
- enabled: z.ZodOptional<z.ZodBoolean>;
12794
- timeoutInSeconds: z.ZodOptional<z.ZodNumber>;
12795
- }, "strip", z.ZodTypeAny, {
12796
- enabled?: boolean | undefined;
12797
- timeoutInSeconds?: number | undefined;
12798
- }, {
12799
- enabled?: boolean | undefined;
12800
- timeoutInSeconds?: number | undefined;
12801
- }>>;
12802
- connectionKey: z.ZodOptional<z.ZodString>;
12803
- redact: z.ZodOptional<z.ZodObject<{
12804
- paths: z.ZodArray<z.ZodString, "many">;
12805
- }, "strip", z.ZodTypeAny, {
12806
- paths: string[];
12807
- }, {
12808
- paths: string[];
12809
- }>>;
12810
- parallel: z.ZodOptional<z.ZodBoolean>;
12811
- idempotencyKey: z.ZodString;
12812
- parentId: z.ZodOptional<z.ZodString>;
12813
- }, "strip", z.ZodTypeAny, {
12814
- noop: boolean;
12815
- idempotencyKey: string;
12816
- name?: string | undefined;
12817
- params?: any;
12818
- style?: {
12819
- style: "normal" | "minimal";
12820
- variant?: string | undefined;
12821
- } | undefined;
12822
- icon?: string | undefined;
12823
- delayUntil?: Date | undefined;
12824
- description?: string | undefined;
12825
- properties?: {
12826
- label: string;
12827
- text: string;
12828
- url?: string | undefined;
12829
- imageUrl?: string[] | undefined;
12830
- }[] | undefined;
12831
- operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
12832
- displayKey?: string | undefined;
12833
- trigger?: {
12834
- type: "dynamic";
12835
- id: string;
12836
- } | {
12837
- type: "static";
12838
- title: (string | string[]) & (string | string[] | undefined);
12839
- rule: {
12840
- event: (string | string[]) & (string | string[] | undefined);
12841
- source: string;
12842
- payload?: EventFilter | undefined;
12843
- context?: EventFilter | undefined;
12844
- };
12845
- properties?: {
12846
- label: string;
12847
- text: string;
12848
- url?: string | undefined;
12849
- imageUrl?: string[] | undefined;
12850
- }[] | undefined;
12851
- link?: string | undefined;
12852
- help?: {
12853
- noRuns?: {
12854
- text: string;
12855
- link?: string | undefined;
12856
- } | undefined;
12857
- } | undefined;
12858
- } | {
12859
- type: "invoke";
12860
- } | {
12861
- type: "scheduled";
12862
- schedule: {
12863
- options: {
12864
- cron: string;
12865
- };
12866
- type: "cron";
12867
- accountId?: string | undefined;
12868
- metadata?: any;
12869
- } | {
12870
- options: {
12871
- seconds: number;
12872
- };
12873
- type: "interval";
12874
- accountId?: string | undefined;
12875
- metadata?: any;
12876
- };
12877
- } | undefined;
12878
- retry?: {
12879
- limit?: number | undefined;
12880
- factor?: number | undefined;
12881
- minTimeoutInMs?: number | undefined;
12882
- maxTimeoutInMs?: number | undefined;
12883
- randomize?: boolean | undefined;
12884
- } | undefined;
12885
- callback?: {
12886
- enabled?: boolean | undefined;
12887
- timeoutInSeconds?: number | undefined;
12888
- } | undefined;
12889
- connectionKey?: string | undefined;
12890
- redact?: {
12891
- paths: string[];
12892
- } | undefined;
12893
- parallel?: boolean | undefined;
12894
- parentId?: string | undefined;
12895
- }, {
12896
- idempotencyKey: string;
12897
- name?: string | undefined;
12898
- params?: any;
12899
- style?: {
12900
- style: "normal" | "minimal";
12901
- variant?: string | undefined;
12902
- } | undefined;
12903
- icon?: string | undefined;
12904
- noop?: boolean | undefined;
12905
- delayUntil?: Date | undefined;
12906
- description?: string | undefined;
12907
- properties?: {
12908
- label: string;
12909
- text: string;
12910
- url?: string | undefined;
12911
- imageUrl?: string[] | undefined;
12912
- }[] | undefined;
12913
- operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
12914
- displayKey?: string | undefined;
12915
- trigger?: {
12916
- type: "dynamic";
12917
- id: string;
12918
- } | {
12919
- type: "static";
12920
- title: (string | string[]) & (string | string[] | undefined);
12921
- rule: {
12922
- event: (string | string[]) & (string | string[] | undefined);
12923
- source: string;
12924
- payload?: EventFilter | undefined;
12925
- context?: EventFilter | undefined;
12926
- };
12927
- properties?: {
12928
- label: string;
12929
- text: string;
12930
- url?: string | undefined;
12931
- imageUrl?: string[] | undefined;
12932
- }[] | undefined;
12933
- link?: string | undefined;
12934
- help?: {
12935
- noRuns?: {
12936
- text: string;
12937
- link?: string | undefined;
12938
- } | undefined;
12939
- } | undefined;
12940
- } | {
12941
- type: "invoke";
12942
- } | {
12943
- type: "scheduled";
12944
- schedule: {
12945
- options: {
12946
- cron: string;
12947
- };
12948
- type: "cron";
12949
- accountId?: string | undefined;
12950
- metadata?: any;
12951
- } | {
12952
- options: {
12953
- seconds: number;
12954
- };
12955
- type: "interval";
12956
- accountId?: string | undefined;
12957
- metadata?: any;
12958
- };
12959
- } | undefined;
12960
- retry?: {
12961
- limit?: number | undefined;
12962
- factor?: number | undefined;
12963
- minTimeoutInMs?: number | undefined;
12964
- maxTimeoutInMs?: number | undefined;
12965
- randomize?: boolean | undefined;
12966
- } | undefined;
12967
- callback?: {
12968
- enabled?: boolean | undefined;
12969
- timeoutInSeconds?: number | undefined;
12970
- } | undefined;
12971
- connectionKey?: string | undefined;
12972
- redact?: {
12973
- paths: string[];
12974
- } | undefined;
12975
- parallel?: boolean | undefined;
12976
- parentId?: string | undefined;
12977
- }>;
12978
- type RunTaskBodyInput = z.infer<typeof RunTaskBodyInputSchema>;
12979
- declare const RunTaskBodyOutputSchema: z.ZodObject<{
12980
- name: z.ZodOptional<z.ZodString>;
12981
- style: z.ZodOptional<z.ZodObject<{
12982
- style: z.ZodEnum<["normal", "minimal"]>;
12983
- variant: z.ZodOptional<z.ZodString>;
12984
- }, "strip", z.ZodTypeAny, {
12985
- style: "normal" | "minimal";
12986
- variant?: string | undefined;
12987
- }, {
12988
- style: "normal" | "minimal";
12989
- variant?: string | undefined;
12990
- }>>;
12991
- icon: z.ZodOptional<z.ZodString>;
12992
- noop: z.ZodDefault<z.ZodBoolean>;
12993
- delayUntil: z.ZodOptional<z.ZodDate>;
12994
- description: z.ZodOptional<z.ZodString>;
12995
- parentId: z.ZodOptional<z.ZodString>;
12996
- operation: z.ZodOptional<z.ZodEnum<["fetch", "fetch-response", "fetch-poll"]>>;
12997
- idempotencyKey: z.ZodString;
12998
- displayKey: z.ZodOptional<z.ZodString>;
12999
- trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13000
- type: z.ZodLiteral<"dynamic">;
13001
- id: z.ZodString;
13002
- }, "strip", z.ZodTypeAny, {
13003
- type: "dynamic";
13004
- id: string;
13005
- }, {
13006
- type: "dynamic";
13007
- id: string;
13008
- }>, z.ZodObject<{
13009
- type: z.ZodLiteral<"static">;
13010
- title: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
13011
- properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
13012
- label: z.ZodString;
13013
- text: z.ZodString;
13014
- url: z.ZodOptional<z.ZodString>;
13015
- imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13016
- }, "strip", z.ZodTypeAny, {
13017
- label: string;
13018
- text: string;
13019
- url?: string | undefined;
13020
- imageUrl?: string[] | undefined;
13021
- }, {
13022
- label: string;
13023
- text: string;
13024
- url?: string | undefined;
13025
- imageUrl?: string[] | undefined;
13026
- }>, "many">>;
13027
- rule: z.ZodObject<{
13028
- event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
13029
- source: z.ZodString;
13030
- payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
13031
- context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
13032
- }, "strip", z.ZodTypeAny, {
13033
- event: (string | string[]) & (string | string[] | undefined);
13034
- source: string;
13035
- payload?: EventFilter | undefined;
13036
- context?: EventFilter | undefined;
13037
- }, {
13038
- event: (string | string[]) & (string | string[] | undefined);
13039
- source: string;
13040
- payload?: EventFilter | undefined;
13041
- context?: EventFilter | undefined;
13042
- }>;
13043
- link: z.ZodOptional<z.ZodString>;
13044
- help: z.ZodOptional<z.ZodObject<{
13045
- noRuns: z.ZodOptional<z.ZodObject<{
13046
- text: z.ZodString;
13047
- link: z.ZodOptional<z.ZodString>;
13048
- }, "strip", z.ZodTypeAny, {
13049
- text: string;
13050
- link?: string | undefined;
13051
- }, {
13052
- text: string;
13053
- link?: string | undefined;
13054
- }>>;
13055
- }, "strip", z.ZodTypeAny, {
13056
- noRuns?: {
13057
- text: string;
13058
- link?: string | undefined;
13059
- } | undefined;
13060
- }, {
13061
- noRuns?: {
13062
- text: string;
13063
- link?: string | undefined;
13064
- } | undefined;
13065
- }>>;
13066
- }, "strip", z.ZodTypeAny, {
13067
- type: "static";
13068
- title: (string | string[]) & (string | string[] | undefined);
13069
- rule: {
13070
- event: (string | string[]) & (string | string[] | undefined);
13071
- source: string;
13072
- payload?: EventFilter | undefined;
13073
- context?: EventFilter | undefined;
13074
- };
13075
- properties?: {
13076
- label: string;
13077
- text: string;
13078
- url?: string | undefined;
13079
- imageUrl?: string[] | undefined;
13080
- }[] | undefined;
13081
- link?: string | undefined;
13082
- help?: {
13083
- noRuns?: {
13084
- text: string;
13085
- link?: string | undefined;
13086
- } | undefined;
13087
- } | undefined;
13088
- }, {
13089
- type: "static";
13090
- title: (string | string[]) & (string | string[] | undefined);
13091
- rule: {
13092
- event: (string | string[]) & (string | string[] | undefined);
13093
- source: string;
13094
- payload?: EventFilter | undefined;
13095
- context?: EventFilter | undefined;
13096
- };
13097
- properties?: {
13098
- label: string;
13099
- text: string;
13100
- url?: string | undefined;
13101
- imageUrl?: string[] | undefined;
13102
- }[] | undefined;
13103
- link?: string | undefined;
13104
- help?: {
13105
- noRuns?: {
13106
- text: string;
13107
- link?: string | undefined;
13108
- } | undefined;
13109
- } | undefined;
13110
- }>, z.ZodObject<{
13111
- type: z.ZodLiteral<"scheduled">;
13112
- schedule: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13113
- type: z.ZodLiteral<"interval">;
13114
- options: z.ZodObject<{
13115
- seconds: z.ZodNumber;
13116
- }, "strip", z.ZodTypeAny, {
13117
- seconds: number;
13118
- }, {
13119
- seconds: number;
13120
- }>;
13121
- accountId: z.ZodOptional<z.ZodString>;
13122
- metadata: z.ZodAny;
13123
- }, "strip", z.ZodTypeAny, {
13124
- options: {
13125
- seconds: number;
13126
- };
13127
- type: "interval";
13128
- accountId?: string | undefined;
13129
- metadata?: any;
13130
- }, {
13131
- options: {
13132
- seconds: number;
13133
- };
13134
- type: "interval";
13135
- accountId?: string | undefined;
13136
- metadata?: any;
13137
- }>, z.ZodObject<{
13138
- type: z.ZodLiteral<"cron">;
13139
- options: z.ZodObject<{
13140
- cron: z.ZodString;
13141
- }, "strip", z.ZodTypeAny, {
13142
- cron: string;
13143
- }, {
13144
- cron: string;
13145
- }>;
13146
- accountId: z.ZodOptional<z.ZodString>;
13147
- metadata: z.ZodAny;
13148
- }, "strip", z.ZodTypeAny, {
13149
- options: {
13150
- cron: string;
13151
- };
13152
- type: "cron";
13153
- accountId?: string | undefined;
13154
- metadata?: any;
13155
- }, {
13156
- options: {
13157
- cron: string;
13158
- };
13159
- type: "cron";
13160
- accountId?: string | undefined;
13161
- metadata?: any;
13162
- }>]>;
12347
+ /** The minimum amount of time to wait before retrying the request. */
12348
+ minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
12349
+ /** The maximum amount of time to wait before retrying the request. */
12350
+ maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
12351
+ /** Whether to randomize the retry time. */
12352
+ randomize: z.ZodOptional<z.ZodBoolean>;
13163
12353
  }, "strip", z.ZodTypeAny, {
13164
- type: "scheduled";
13165
- schedule: {
13166
- options: {
13167
- cron: string;
13168
- };
13169
- type: "cron";
13170
- accountId?: string | undefined;
13171
- metadata?: any;
13172
- } | {
13173
- options: {
13174
- seconds: number;
13175
- };
13176
- type: "interval";
13177
- accountId?: string | undefined;
13178
- metadata?: any;
13179
- };
12354
+ limit?: number | undefined;
12355
+ factor?: number | undefined;
12356
+ minTimeoutInMs?: number | undefined;
12357
+ maxTimeoutInMs?: number | undefined;
12358
+ randomize?: boolean | undefined;
13180
12359
  }, {
13181
- type: "scheduled";
13182
- schedule: {
13183
- options: {
13184
- cron: string;
13185
- };
13186
- type: "cron";
13187
- accountId?: string | undefined;
13188
- metadata?: any;
13189
- } | {
13190
- options: {
13191
- seconds: number;
13192
- };
13193
- type: "interval";
13194
- accountId?: string | undefined;
13195
- metadata?: any;
13196
- };
13197
- }>, z.ZodObject<{
13198
- type: z.ZodLiteral<"invoke">;
12360
+ limit?: number | undefined;
12361
+ factor?: number | undefined;
12362
+ minTimeoutInMs?: number | undefined;
12363
+ maxTimeoutInMs?: number | undefined;
12364
+ randomize?: boolean | undefined;
12365
+ }>>;
12366
+ callback: z.ZodOptional<z.ZodObject<{
12367
+ enabled: z.ZodOptional<z.ZodBoolean>;
12368
+ timeoutInSeconds: z.ZodOptional<z.ZodNumber>;
13199
12369
  }, "strip", z.ZodTypeAny, {
13200
- type: "invoke";
12370
+ enabled?: boolean | undefined;
12371
+ timeoutInSeconds?: number | undefined;
13201
12372
  }, {
13202
- type: "invoke";
13203
- }>]>>;
12373
+ enabled?: boolean | undefined;
12374
+ timeoutInSeconds?: number | undefined;
12375
+ }>>;
12376
+ connectionKey: z.ZodOptional<z.ZodString>;
12377
+ redact: z.ZodOptional<z.ZodObject<{
12378
+ paths: z.ZodArray<z.ZodString, "many">;
12379
+ }, "strip", z.ZodTypeAny, {
12380
+ paths: string[];
12381
+ }, {
12382
+ paths: string[];
12383
+ }>>;
12384
+ parallel: z.ZodOptional<z.ZodBoolean>;
12385
+ idempotencyKey: z.ZodString;
12386
+ parentId: z.ZodOptional<z.ZodString>;
12387
+ }, "strip", z.ZodTypeAny, {
12388
+ noop: boolean;
12389
+ idempotencyKey: string;
12390
+ name?: string | undefined;
12391
+ params?: any;
12392
+ style?: {
12393
+ style: "normal" | "minimal";
12394
+ variant?: string | undefined;
12395
+ } | undefined;
12396
+ icon?: string | undefined;
12397
+ delayUntil?: Date | undefined;
12398
+ description?: string | undefined;
12399
+ properties?: {
12400
+ label: string;
12401
+ text: string;
12402
+ url?: string | undefined;
12403
+ imageUrl?: string[] | undefined;
12404
+ }[] | undefined;
12405
+ operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
12406
+ displayKey?: string | undefined;
12407
+ retry?: {
12408
+ limit?: number | undefined;
12409
+ factor?: number | undefined;
12410
+ minTimeoutInMs?: number | undefined;
12411
+ maxTimeoutInMs?: number | undefined;
12412
+ randomize?: boolean | undefined;
12413
+ } | undefined;
12414
+ callback?: {
12415
+ enabled?: boolean | undefined;
12416
+ timeoutInSeconds?: number | undefined;
12417
+ } | undefined;
12418
+ connectionKey?: string | undefined;
12419
+ redact?: {
12420
+ paths: string[];
12421
+ } | undefined;
12422
+ parallel?: boolean | undefined;
12423
+ parentId?: string | undefined;
12424
+ }, {
12425
+ idempotencyKey: string;
12426
+ name?: string | undefined;
12427
+ params?: any;
12428
+ style?: {
12429
+ style: "normal" | "minimal";
12430
+ variant?: string | undefined;
12431
+ } | undefined;
12432
+ icon?: string | undefined;
12433
+ noop?: boolean | undefined;
12434
+ delayUntil?: Date | undefined;
12435
+ description?: string | undefined;
12436
+ properties?: {
12437
+ label: string;
12438
+ text: string;
12439
+ url?: string | undefined;
12440
+ imageUrl?: string[] | undefined;
12441
+ }[] | undefined;
12442
+ operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
12443
+ displayKey?: string | undefined;
12444
+ retry?: {
12445
+ limit?: number | undefined;
12446
+ factor?: number | undefined;
12447
+ minTimeoutInMs?: number | undefined;
12448
+ maxTimeoutInMs?: number | undefined;
12449
+ randomize?: boolean | undefined;
12450
+ } | undefined;
12451
+ callback?: {
12452
+ enabled?: boolean | undefined;
12453
+ timeoutInSeconds?: number | undefined;
12454
+ } | undefined;
12455
+ connectionKey?: string | undefined;
12456
+ redact?: {
12457
+ paths: string[];
12458
+ } | undefined;
12459
+ parallel?: boolean | undefined;
12460
+ parentId?: string | undefined;
12461
+ }>;
12462
+ type RunTaskBodyInput = z.infer<typeof RunTaskBodyInputSchema>;
12463
+ declare const RunTaskBodyOutputSchema: z.ZodObject<{
12464
+ name: z.ZodOptional<z.ZodString>;
12465
+ style: z.ZodOptional<z.ZodObject<{
12466
+ style: z.ZodEnum<["normal", "minimal"]>;
12467
+ variant: z.ZodOptional<z.ZodString>;
12468
+ }, "strip", z.ZodTypeAny, {
12469
+ style: "normal" | "minimal";
12470
+ variant?: string | undefined;
12471
+ }, {
12472
+ style: "normal" | "minimal";
12473
+ variant?: string | undefined;
12474
+ }>>;
12475
+ icon: z.ZodOptional<z.ZodString>;
12476
+ noop: z.ZodDefault<z.ZodBoolean>;
12477
+ delayUntil: z.ZodOptional<z.ZodDate>;
12478
+ description: z.ZodOptional<z.ZodString>;
12479
+ parentId: z.ZodOptional<z.ZodString>;
12480
+ operation: z.ZodOptional<z.ZodEnum<["fetch", "fetch-response", "fetch-poll"]>>;
12481
+ idempotencyKey: z.ZodString;
12482
+ displayKey: z.ZodOptional<z.ZodString>;
13204
12483
  retry: z.ZodOptional<z.ZodObject<{
13205
12484
  /** The maximum number of times to retry the request. */
13206
12485
  limit: z.ZodOptional<z.ZodNumber>;
@@ -13275,51 +12554,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
13275
12554
  parentId?: string | undefined;
13276
12555
  operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
13277
12556
  displayKey?: string | undefined;
13278
- trigger?: {
13279
- type: "dynamic";
13280
- id: string;
13281
- } | {
13282
- type: "static";
13283
- title: (string | string[]) & (string | string[] | undefined);
13284
- rule: {
13285
- event: (string | string[]) & (string | string[] | undefined);
13286
- source: string;
13287
- payload?: EventFilter | undefined;
13288
- context?: EventFilter | undefined;
13289
- };
13290
- properties?: {
13291
- label: string;
13292
- text: string;
13293
- url?: string | undefined;
13294
- imageUrl?: string[] | undefined;
13295
- }[] | undefined;
13296
- link?: string | undefined;
13297
- help?: {
13298
- noRuns?: {
13299
- text: string;
13300
- link?: string | undefined;
13301
- } | undefined;
13302
- } | undefined;
13303
- } | {
13304
- type: "invoke";
13305
- } | {
13306
- type: "scheduled";
13307
- schedule: {
13308
- options: {
13309
- cron: string;
13310
- };
13311
- type: "cron";
13312
- accountId?: string | undefined;
13313
- metadata?: any;
13314
- } | {
13315
- options: {
13316
- seconds: number;
13317
- };
13318
- type: "interval";
13319
- accountId?: string | undefined;
13320
- metadata?: any;
13321
- };
13322
- } | undefined;
13323
12557
  retry?: {
13324
12558
  limit?: number | undefined;
13325
12559
  factor?: number | undefined;
@@ -13357,51 +12591,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
13357
12591
  parentId?: string | undefined;
13358
12592
  operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
13359
12593
  displayKey?: string | undefined;
13360
- trigger?: {
13361
- type: "dynamic";
13362
- id: string;
13363
- } | {
13364
- type: "static";
13365
- title: (string | string[]) & (string | string[] | undefined);
13366
- rule: {
13367
- event: (string | string[]) & (string | string[] | undefined);
13368
- source: string;
13369
- payload?: EventFilter | undefined;
13370
- context?: EventFilter | undefined;
13371
- };
13372
- properties?: {
13373
- label: string;
13374
- text: string;
13375
- url?: string | undefined;
13376
- imageUrl?: string[] | undefined;
13377
- }[] | undefined;
13378
- link?: string | undefined;
13379
- help?: {
13380
- noRuns?: {
13381
- text: string;
13382
- link?: string | undefined;
13383
- } | undefined;
13384
- } | undefined;
13385
- } | {
13386
- type: "invoke";
13387
- } | {
13388
- type: "scheduled";
13389
- schedule: {
13390
- options: {
13391
- cron: string;
13392
- };
13393
- type: "cron";
13394
- accountId?: string | undefined;
13395
- metadata?: any;
13396
- } | {
13397
- options: {
13398
- seconds: number;
13399
- };
13400
- type: "interval";
13401
- accountId?: string | undefined;
13402
- metadata?: any;
13403
- };
13404
- } | undefined;
13405
12594
  retry?: {
13406
12595
  limit?: number | undefined;
13407
12596
  factor?: number | undefined;
@@ -14567,14 +13756,14 @@ type CreateExternalConnectionBody = z.infer<typeof CreateExternalConnectionBodyS
14567
13756
  declare const GetRunStatusesSchema: z.ZodObject<{
14568
13757
  run: z.ZodObject<{
14569
13758
  id: z.ZodString;
14570
- status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
13759
+ status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">, z.ZodLiteral<"EXECUTING">, z.ZodLiteral<"WAITING_TO_CONTINUE">, z.ZodLiteral<"WAITING_TO_EXECUTE">]>;
14571
13760
  output: z.ZodOptional<z.ZodAny>;
14572
13761
  }, "strip", z.ZodTypeAny, {
14573
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
13762
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
14574
13763
  id: string;
14575
13764
  output?: any;
14576
13765
  }, {
14577
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
13766
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
14578
13767
  id: string;
14579
13768
  output?: any;
14580
13769
  }>;
@@ -14630,7 +13819,7 @@ declare const GetRunStatusesSchema: z.ZodObject<{
14630
13819
  state?: "loading" | "success" | "failure" | undefined;
14631
13820
  }[];
14632
13821
  run: {
14633
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
13822
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
14634
13823
  id: string;
14635
13824
  output?: any;
14636
13825
  };
@@ -14647,7 +13836,7 @@ declare const GetRunStatusesSchema: z.ZodObject<{
14647
13836
  state?: "loading" | "success" | "failure" | undefined;
14648
13837
  }[];
14649
13838
  run: {
14650
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
13839
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
14651
13840
  id: string;
14652
13841
  output?: any;
14653
13842
  };
@@ -17073,18 +16262,18 @@ declare const GetEventSchema: z.ZodObject<{
17073
16262
  /** The Run id */
17074
16263
  id: z.ZodString;
17075
16264
  /** The Run status */
17076
- status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
16265
+ status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">, z.ZodLiteral<"EXECUTING">, z.ZodLiteral<"WAITING_TO_CONTINUE">, z.ZodLiteral<"WAITING_TO_EXECUTE">]>;
17077
16266
  /** When the run started */
17078
16267
  startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
17079
16268
  /** When the run completed */
17080
16269
  completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
17081
16270
  }, "strip", z.ZodTypeAny, {
17082
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16271
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17083
16272
  id: string;
17084
16273
  startedAt?: Date | null | undefined;
17085
16274
  completedAt?: Date | null | undefined;
17086
16275
  }, {
17087
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16276
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17088
16277
  id: string;
17089
16278
  startedAt?: Date | null | undefined;
17090
16279
  completedAt?: Date | null | undefined;
@@ -17094,7 +16283,7 @@ declare const GetEventSchema: z.ZodObject<{
17094
16283
  id: string;
17095
16284
  updatedAt: Date;
17096
16285
  runs: {
17097
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16286
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17098
16287
  id: string;
17099
16288
  startedAt?: Date | null | undefined;
17100
16289
  completedAt?: Date | null | undefined;
@@ -17105,7 +16294,7 @@ declare const GetEventSchema: z.ZodObject<{
17105
16294
  id: string;
17106
16295
  updatedAt: Date;
17107
16296
  runs: {
17108
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16297
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17109
16298
  id: string;
17110
16299
  startedAt?: Date | null | undefined;
17111
16300
  completedAt?: Date | null | undefined;
@@ -17212,7 +16401,7 @@ declare const JobRunStatusRecordSchema: z.ZodObject<{
17212
16401
  }>;
17213
16402
  type JobRunStatusRecord = z.infer<typeof JobRunStatusRecordSchema>;
17214
16403
 
17215
- declare const RunStatusSchema: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
16404
+ declare const RunStatusSchema: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">, z.ZodLiteral<"EXECUTING">, z.ZodLiteral<"WAITING_TO_CONTINUE">, z.ZodLiteral<"WAITING_TO_EXECUTE">]>;
17216
16405
  declare const RunTaskSchema: z.ZodObject<{
17217
16406
  /** The Task id */
17218
16407
  id: z.ZodString;
@@ -17286,7 +16475,7 @@ declare const GetRunOptionsWithTaskDetailsSchema: z.ZodObject<{
17286
16475
  }>;
17287
16476
  type GetRunOptionsWithTaskDetails = z.infer<typeof GetRunOptionsWithTaskDetailsSchema>;
17288
16477
  declare const GetRunSchema: z.ZodObject<{
17289
- status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
16478
+ status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">, z.ZodLiteral<"EXECUTING">, z.ZodLiteral<"WAITING_TO_CONTINUE">, z.ZodLiteral<"WAITING_TO_EXECUTE">]>;
17290
16479
  id: z.ZodString;
17291
16480
  startedAt: z.ZodNullable<z.ZodDate>;
17292
16481
  completedAt: z.ZodNullable<z.ZodDate>;
@@ -17334,7 +16523,7 @@ declare const GetRunSchema: z.ZodObject<{
17334
16523
  }>, "many">>;
17335
16524
  nextCursor: z.ZodOptional<z.ZodString>;
17336
16525
  }, "strip", z.ZodTypeAny, {
17337
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16526
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17338
16527
  id: string;
17339
16528
  startedAt: Date | null;
17340
16529
  completedAt: Date | null;
@@ -17354,7 +16543,7 @@ declare const GetRunSchema: z.ZodObject<{
17354
16543
  output?: any;
17355
16544
  nextCursor?: string | undefined;
17356
16545
  }, {
17357
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16546
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17358
16547
  id: string;
17359
16548
  startedAt: Date | null;
17360
16549
  completedAt: Date | null;
@@ -17394,7 +16583,7 @@ declare const GetRunsSchema: z.ZodObject<{
17394
16583
  /** The Run id */
17395
16584
  id: z.ZodString;
17396
16585
  /** The Run status */
17397
- status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
16586
+ status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">, z.ZodLiteral<"EXECUTING">, z.ZodLiteral<"WAITING_TO_CONTINUE">, z.ZodLiteral<"WAITING_TO_EXECUTE">]>;
17398
16587
  /** When the run started */
17399
16588
  startedAt: z.ZodNullable<z.ZodDate>;
17400
16589
  /** When the run was last updated */
@@ -17402,13 +16591,13 @@ declare const GetRunsSchema: z.ZodObject<{
17402
16591
  /** When the run was completed */
17403
16592
  completedAt: z.ZodNullable<z.ZodDate>;
17404
16593
  }, "strip", z.ZodTypeAny, {
17405
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16594
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17406
16595
  id: string;
17407
16596
  startedAt: Date | null;
17408
16597
  completedAt: Date | null;
17409
16598
  updatedAt: Date | null;
17410
16599
  }, {
17411
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16600
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17412
16601
  id: string;
17413
16602
  startedAt: Date | null;
17414
16603
  completedAt: Date | null;
@@ -17418,7 +16607,7 @@ declare const GetRunsSchema: z.ZodObject<{
17418
16607
  nextCursor: z.ZodOptional<z.ZodString>;
17419
16608
  }, "strip", z.ZodTypeAny, {
17420
16609
  runs: {
17421
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16610
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17422
16611
  id: string;
17423
16612
  startedAt: Date | null;
17424
16613
  completedAt: Date | null;
@@ -17427,7 +16616,7 @@ declare const GetRunsSchema: z.ZodObject<{
17427
16616
  nextCursor?: string | undefined;
17428
16617
  }, {
17429
16618
  runs: {
17430
- status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
16619
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
17431
16620
  id: string;
17432
16621
  startedAt: Date | null;
17433
16622
  completedAt: Date | null;
@@ -17599,4 +16788,4 @@ declare const PLATFORM_FEATURES: {
17599
16788
  };
17600
16789
  declare function supportsFeature<TFeatureName extends keyof typeof PLATFORM_FEATURES>(featureName: TFeatureName, version: string): boolean;
17601
16790
 
17602
- export { API_VERSIONS, ApiEventLog, ApiEventLogSchema, AsyncMap, AutoYieldConfig, AutoYieldConfigSchema, AutoYieldMetadata, AutoYieldMetadataSchema, CachedTask, CachedTaskSchema, CancelRunsForEvent, CancelRunsForEventSchema, ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, CompleteTaskBodyInput, CompleteTaskBodyInputSchema, CompleteTaskBodyOutput, CompleteTaskBodyV2Input, CompleteTaskBodyV2InputSchema, ConnectionAuth, ConnectionAuthSchema, CreateExternalConnectionBody, CreateExternalConnectionBodySchema, CreateRunResponseBody, CreateRunResponseBodySchema, CronMetadata, CronMetadataSchema, CronOptions, CronOptionsSchema, DELIVER_WEBHOOK_REQUEST, DeliverEventResponse, DeliverEventResponseSchema, DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, DisplayProperty, DisplayPropertySchema, DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, EndpointIndexError, EndpointIndexErrorSchema, EphemeralEventDispatcherRequestBody, EphemeralEventDispatcherRequestBodySchema, EphemeralEventDispatcherResponseBody, EphemeralEventDispatcherResponseBodySchema, ErrorWithStack, ErrorWithStackSchema, EventExample, EventExampleSchema, EventFilter, EventFilterSchema, EventRule, EventRuleSchema, EventSpecificationSchema, ExampleReplacement, ExecuteJobHeadersSchema, ExecuteJobRunMetadataSchema, FailTaskBodyInput, FailTaskBodyInputSchema, FailedRunNotification, FetchOperation, FetchOperationSchema, FetchPollOperation, FetchPollOperationSchema, FetchRequestInit, FetchRequestInitSchema, FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, FetchRetryOptions, FetchRetryOptionsSchema, FetchRetryStrategy, FetchRetryStrategySchema, FetchTimeoutOptions, FetchTimeoutOptionsSchema, GetEndpointIndexResponse, GetEndpointIndexResponseSchema, GetEvent, GetEventSchema, GetRun, GetRunOptions, GetRunOptionsWithTaskDetails, GetRunSchema, GetRunStatuses, GetRunStatusesSchema, GetRunsOptions, GetRunsSchema, HTTPMethodUnionSchema, HandleTriggerSource, HandleTriggerSourceSchema, HttpEndpointMetadata, HttpEndpointRequestHeadersSchema, HttpMethod, HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, HttpSourceResponseMetadata, HttpSourceResponseSchema, IndexEndpointResponse, IndexEndpointResponseSchema, IndexEndpointStats, InitialStatusUpdate, InitializeCronScheduleBodySchema, InitializeTriggerBody, InitializeTriggerBodySchema, IntegrationConfig, IntegrationConfigSchema, IntegrationMetadata, IntegrationMetadataSchema, IntervalMetadata, IntervalMetadataSchema, IntervalOptions, IntervalOptionsSchema, InvokeJobRequestBody, InvokeJobRequestBodySchema, InvokeJobResponseSchema, InvokeOptions, InvokeOptionsSchema, InvokeTriggerMetadataSchema, JobMetadata, JobMetadataSchema, JobRunStatusRecord, JobRunStatusRecordSchema, KeyValueStoreResponseBody, KeyValueStoreResponseBodySchema, LogLevel, LogMessage, LogMessageSchema, Logger, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, NormalizedRequest, NormalizedRequestSchema, NormalizedResponse, NormalizedResponseSchema, OverridableRunTaskOptions, PLATFORM_FEATURES, PongErrorResponseSchema, PongResponse, PongResponseSchema, PongSuccessResponseSchema, PreprocessRunBody, PreprocessRunBodySchema, PreprocessRunResponse, PreprocessRunResponseSchema, Prettify, QueueOptions, QueueOptionsSchema, REGISTER_SOURCE_EVENT_V1, REGISTER_SOURCE_EVENT_V2, REGISTER_WEBHOOK, RawEvent, RawEventSchema, RedactSchema, RedactString, RedactStringSchema, RegisterCronScheduleBody, RegisterDynamicSchedulePayload, RegisterDynamicSchedulePayloadSchema, RegisterHTTPTriggerSourceBodySchema, RegisterIntervalScheduleBody, RegisterIntervalScheduleBodySchema, RegisterSMTPTriggerSourceBodySchema, RegisterSQSTriggerSourceBodySchema, RegisterScheduleBody, RegisterScheduleBodySchema, RegisterScheduleResponseBody, RegisterScheduleResponseBodySchema, RegisterSourceChannelBodySchema, RegisterSourceEventOptions, RegisterSourceEventSchemaV1, RegisterSourceEventSchemaV2, RegisterSourceEventV1, RegisterSourceEventV2, RegisterTriggerBodySchemaV1, RegisterTriggerBodySchemaV2, RegisterTriggerBodyV1, RegisterTriggerBodyV2, RegisterTriggerSource, RegisterTriggerSourceSchema, RegisterWebhookPayload, RegisterWebhookPayloadSchema, RegisterWebhookSource, RegisterWebhookSourceSchema, RegisteredOptionsDiff, RequestFilter, RequestFilterSchema, RequestWithRawBodySchema, ResponseFilter, ResponseFilterMatchResult, ResponseFilterSchema, RetryOptions, RetryOptionsSchema, RunJobAutoYieldExecutionError, RunJobAutoYieldExecutionErrorSchema, RunJobAutoYieldWithCompletedTaskExecutionError, RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, RunJobBody, RunJobBodySchema, RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, RunJobError, RunJobErrorResponse, RunJobErrorResponseSchema, RunJobErrorSchema, RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, RunJobResponse, RunJobResponseSchema, RunJobResumeWithParallelTask, RunJobResumeWithParallelTaskSchema, RunJobResumeWithTask, RunJobResumeWithTaskSchema, RunJobRetryWithTask, RunJobRetryWithTaskSchema, RunJobSuccess, RunJobSuccessSchema, RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, RunJobYieldExecutionError, RunJobYieldExecutionErrorSchema, RunNotification, RunNotificationAccountMetadata, RunNotificationEnvMetadata, RunNotificationInvocationMetadata, RunNotificationJobMetadata, RunNotificationOrgMetadata, RunNotificationProjectMetadata, RunNotificationRunMetadata, RunSourceContext, RunSourceContextSchema, RunStatusSchema, RunTaskBodyInput, RunTaskBodyInputSchema, RunTaskBodyOutput, RunTaskBodyOutputSchema, RunTaskOptions, RunTaskOptionsSchema, RunTaskResponseWithCachedTasksBody, RunTaskResponseWithCachedTasksBodySchema, RunTaskSchema, RunTaskWithSubtasks, RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, ScheduleMetadata, ScheduleMetadataSchema, ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, SchemaError, SchemaErrorSchema, SendBulkEventsBodySchema, SendEvent, SendEventBody, SendEventBodySchema, SendEventOptions, SendEventOptionsSchema, SerializableJson, SerializableJsonSchema, ServerTask, ServerTaskSchema, SourceEventOption, SourceMetadataV1, SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, StatusHistory, StatusHistorySchema, StatusUpdate, StatusUpdateData, StatusUpdateSchema, StatusUpdateState, StatusUpdateStateSchema, StringMatch, Style, StyleName, StyleSchema, SuccessfulRunNotification, TaskSchema, TaskStatus, TaskStatusSchema, TriggerHelpSchema, TriggerMetadata, TriggerMetadataSchema, TriggerSource, TriggerSourceSchema, UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, UpdateWebhookBody, UpdateWebhookBodySchema, ValidateErrorResponseSchema, ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, WebhookContextMetadata, WebhookContextMetadataSchema, WebhookDeliveryResponse, WebhookDeliveryResponseSchema, WebhookMetadata, WebhookMetadataSchema, WebhookSourceRequestHeaders, WebhookSourceRequestHeadersSchema, addMissingVersionField, assertExhaustive, calculateResetAt, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, eventFilterMatches, parseEndpointIndexStats, replacements, requestFilterMatches, responseFilterMatches, stringPatternMatchers, supportsFeature, urlWithSearchParams };
16791
+ export { API_VERSIONS, ApiEventLog, ApiEventLogSchema, AsyncMap, AutoYieldConfig, AutoYieldConfigSchema, AutoYieldMetadata, AutoYieldMetadataSchema, CachedTask, CachedTaskSchema, CancelRunsForEvent, CancelRunsForEventSchema, ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, CompleteTaskBodyInput, CompleteTaskBodyInputSchema, CompleteTaskBodyOutput, CompleteTaskBodyV2Input, CompleteTaskBodyV2InputSchema, ConcurrencyLimitOptionsSchema, ConnectionAuth, ConnectionAuthSchema, CreateExternalConnectionBody, CreateExternalConnectionBodySchema, CreateRunResponseBody, CreateRunResponseBodySchema, CronMetadata, CronMetadataSchema, CronOptions, CronOptionsSchema, DELIVER_WEBHOOK_REQUEST, DeliverEventResponse, DeliverEventResponseSchema, DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, DisplayProperty, DisplayPropertySchema, DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, EndpointIndexError, EndpointIndexErrorSchema, EphemeralEventDispatcherRequestBody, EphemeralEventDispatcherRequestBodySchema, EphemeralEventDispatcherResponseBody, EphemeralEventDispatcherResponseBodySchema, ErrorWithStack, ErrorWithStackSchema, EventExample, EventExampleSchema, EventFilter, EventFilterSchema, EventRule, EventRuleSchema, EventSpecificationSchema, ExampleReplacement, ExecuteJobHeadersSchema, ExecuteJobRunMetadataSchema, FailTaskBodyInput, FailTaskBodyInputSchema, FailedRunNotification, FetchOperation, FetchOperationSchema, FetchPollOperation, FetchPollOperationSchema, FetchRequestInit, FetchRequestInitSchema, FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, FetchRetryOptions, FetchRetryOptionsSchema, FetchRetryStrategy, FetchRetryStrategySchema, FetchTimeoutOptions, FetchTimeoutOptionsSchema, GetEndpointIndexResponse, GetEndpointIndexResponseSchema, GetEvent, GetEventSchema, GetRun, GetRunOptions, GetRunOptionsWithTaskDetails, GetRunSchema, GetRunStatuses, GetRunStatusesSchema, GetRunsOptions, GetRunsSchema, HTTPMethodUnionSchema, HandleTriggerSource, HandleTriggerSourceSchema, HttpEndpointMetadata, HttpEndpointRequestHeadersSchema, HttpMethod, HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, HttpSourceResponseMetadata, HttpSourceResponseSchema, IndexEndpointResponse, IndexEndpointResponseSchema, IndexEndpointStats, InitialStatusUpdate, InitializeCronScheduleBodySchema, InitializeTriggerBody, InitializeTriggerBodySchema, IntegrationConfig, IntegrationConfigSchema, IntegrationMetadata, IntegrationMetadataSchema, IntervalMetadata, IntervalMetadataSchema, IntervalOptions, IntervalOptionsSchema, InvokeJobRequestBody, InvokeJobRequestBodySchema, InvokeJobResponseSchema, InvokeOptions, InvokeOptionsSchema, InvokeTriggerMetadataSchema, JobMetadata, JobMetadataSchema, JobRunStatusRecord, JobRunStatusRecordSchema, KeyValueStoreResponseBody, KeyValueStoreResponseBodySchema, LogLevel, LogMessage, LogMessageSchema, Logger, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, NormalizedRequest, NormalizedRequestSchema, NormalizedResponse, NormalizedResponseSchema, OverridableRunTaskOptions, PLATFORM_FEATURES, PongErrorResponseSchema, PongResponse, PongResponseSchema, PongSuccessResponseSchema, PreprocessRunBody, PreprocessRunBodySchema, PreprocessRunResponse, PreprocessRunResponseSchema, Prettify, QueueOptions, QueueOptionsSchema, REGISTER_SOURCE_EVENT_V1, REGISTER_SOURCE_EVENT_V2, REGISTER_WEBHOOK, RawEvent, RawEventSchema, RedactSchema, RedactString, RedactStringSchema, RegisterCronScheduleBody, RegisterDynamicSchedulePayload, RegisterDynamicSchedulePayloadSchema, RegisterHTTPTriggerSourceBodySchema, RegisterIntervalScheduleBody, RegisterIntervalScheduleBodySchema, RegisterSMTPTriggerSourceBodySchema, RegisterSQSTriggerSourceBodySchema, RegisterScheduleBody, RegisterScheduleBodySchema, RegisterScheduleResponseBody, RegisterScheduleResponseBodySchema, RegisterSourceChannelBodySchema, RegisterSourceEventOptions, RegisterSourceEventSchemaV1, RegisterSourceEventSchemaV2, RegisterSourceEventV1, RegisterSourceEventV2, RegisterTriggerBodySchemaV1, RegisterTriggerBodySchemaV2, RegisterTriggerBodyV1, RegisterTriggerBodyV2, RegisterTriggerSource, RegisterTriggerSourceSchema, RegisterWebhookPayload, RegisterWebhookPayloadSchema, RegisterWebhookSource, RegisterWebhookSourceSchema, RegisteredOptionsDiff, RequestFilter, RequestFilterSchema, RequestWithRawBodySchema, ResponseFilter, ResponseFilterMatchResult, ResponseFilterSchema, RetryOptions, RetryOptionsSchema, RunJobAutoYieldExecutionError, RunJobAutoYieldExecutionErrorSchema, RunJobAutoYieldWithCompletedTaskExecutionError, RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, RunJobBody, RunJobBodySchema, RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, RunJobError, RunJobErrorResponse, RunJobErrorResponseSchema, RunJobErrorSchema, RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, RunJobResponse, RunJobResponseSchema, RunJobResumeWithParallelTask, RunJobResumeWithParallelTaskSchema, RunJobResumeWithTask, RunJobResumeWithTaskSchema, RunJobRetryWithTask, RunJobRetryWithTaskSchema, RunJobSuccess, RunJobSuccessSchema, RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, RunJobYieldExecutionError, RunJobYieldExecutionErrorSchema, RunNotification, RunNotificationAccountMetadata, RunNotificationEnvMetadata, RunNotificationInvocationMetadata, RunNotificationJobMetadata, RunNotificationOrgMetadata, RunNotificationProjectMetadata, RunNotificationRunMetadata, RunSourceContext, RunSourceContextSchema, RunStatusSchema, RunTaskBodyInput, RunTaskBodyInputSchema, RunTaskBodyOutput, RunTaskBodyOutputSchema, RunTaskOptions, RunTaskOptionsSchema, RunTaskResponseWithCachedTasksBody, RunTaskResponseWithCachedTasksBodySchema, RunTaskSchema, RunTaskWithSubtasks, RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, ScheduleMetadata, ScheduleMetadataSchema, ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, SchemaError, SchemaErrorSchema, SendBulkEventsBodySchema, SendEvent, SendEventBody, SendEventBodySchema, SendEventOptions, SendEventOptionsSchema, SerializableJson, SerializableJsonSchema, ServerTask, ServerTaskSchema, SourceEventOption, SourceMetadataV1, SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, StatusHistory, StatusHistorySchema, StatusUpdate, StatusUpdateData, StatusUpdateSchema, StatusUpdateState, StatusUpdateStateSchema, StringMatch, Style, StyleName, StyleSchema, SuccessfulRunNotification, TaskSchema, TaskStatus, TaskStatusSchema, TriggerHelpSchema, TriggerMetadata, TriggerMetadataSchema, TriggerSource, TriggerSourceSchema, UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, UpdateWebhookBody, UpdateWebhookBodySchema, ValidateErrorResponseSchema, ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, WebhookContextMetadata, WebhookContextMetadataSchema, WebhookDeliveryResponse, WebhookDeliveryResponseSchema, WebhookMetadata, WebhookMetadataSchema, WebhookSourceRequestHeaders, WebhookSourceRequestHeadersSchema, addMissingVersionField, assertExhaustive, calculateResetAt, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, eventFilterMatches, parseEndpointIndexStats, replacements, requestFilterMatches, responseFilterMatches, stringPatternMatchers, supportsFeature, urlWithSearchParams };