@trigger.dev/core 2.2.7 → 2.2.9

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
@@ -159,6 +159,12 @@ declare const SerializableJsonSchema: z.ZodType<SerializableJson>;
159
159
  type Prettify<T> = {
160
160
  [K in keyof T]: T[K];
161
161
  } & {};
162
+ interface AsyncMap {
163
+ delete: (key: string) => Promise<boolean>;
164
+ get: (key: string) => Promise<any>;
165
+ has: (key: string) => Promise<boolean>;
166
+ set: (key: string, value: any) => Promise<any>;
167
+ }
162
168
 
163
169
  declare const TaskStatusSchema: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
164
170
  type TaskStatus = z.infer<typeof TaskStatusSchema>;
@@ -491,6 +497,23 @@ declare const UpdateTriggerSourceBodyV2Schema: z.ZodObject<{
491
497
  data?: SerializableJson;
492
498
  }>;
493
499
  type UpdateTriggerSourceBodyV2 = z.infer<typeof UpdateTriggerSourceBodyV2Schema>;
500
+ declare const UpdateWebhookBodySchema: z.ZodDiscriminatedUnion<"active", [z.ZodObject<{
501
+ active: z.ZodLiteral<false>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ active: false;
504
+ }, {
505
+ active: false;
506
+ }>, z.ZodObject<{
507
+ active: z.ZodLiteral<true>;
508
+ config: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
509
+ }, "strip", z.ZodTypeAny, {
510
+ active: true;
511
+ config: Record<string, string[]>;
512
+ }, {
513
+ active: true;
514
+ config: Record<string, string[]>;
515
+ }>]>;
516
+ type UpdateWebhookBody = z.infer<typeof UpdateWebhookBodySchema>;
494
517
  declare const RegisterHTTPTriggerSourceBodySchema: z.ZodObject<{
495
518
  type: z.ZodLiteral<"HTTP">;
496
519
  url: z.ZodString;
@@ -537,6 +560,72 @@ declare const RegisterSourceChannelBodySchema: z.ZodDiscriminatedUnion<"type", [
537
560
  }, {
538
561
  type: "SQS";
539
562
  }>]>;
563
+ declare const REGISTER_WEBHOOK = "dev.trigger.webhook.register";
564
+ declare const DELIVER_WEBHOOK_REQUEST = "dev.trigger.webhook.deliver";
565
+ declare const RegisterWebhookSourceSchema: z.ZodObject<{
566
+ key: z.ZodString;
567
+ params: z.ZodAny;
568
+ config: z.ZodAny;
569
+ active: z.ZodBoolean;
570
+ secret: z.ZodString;
571
+ url: z.ZodString;
572
+ data: z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>;
573
+ clientId: z.ZodOptional<z.ZodString>;
574
+ }, "strip", z.ZodTypeAny, {
575
+ key: string;
576
+ url: string;
577
+ secret: string;
578
+ active: boolean;
579
+ params?: any;
580
+ config?: any;
581
+ data?: DeserializedJson | undefined;
582
+ clientId?: string | undefined;
583
+ }, {
584
+ key: string;
585
+ url: string;
586
+ secret: string;
587
+ active: boolean;
588
+ params?: any;
589
+ config?: any;
590
+ data?: DeserializedJson | undefined;
591
+ clientId?: string | undefined;
592
+ }>;
593
+ type RegisterWebhookSource = z.infer<typeof RegisterWebhookSourceSchema>;
594
+ declare const RegisterWebhookPayloadSchema: z.ZodObject<{
595
+ active: z.ZodBoolean;
596
+ params: z.ZodOptional<z.ZodAny>;
597
+ config: z.ZodObject<{
598
+ current: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
599
+ desired: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
600
+ }, "strip", z.ZodTypeAny, {
601
+ current: Record<string, string[]>;
602
+ desired: Record<string, string[]>;
603
+ }, {
604
+ current: Record<string, string[]>;
605
+ desired: Record<string, string[]>;
606
+ }>;
607
+ url: z.ZodString;
608
+ secret: z.ZodString;
609
+ }, "strip", z.ZodTypeAny, {
610
+ url: string;
611
+ secret: string;
612
+ active: boolean;
613
+ config: {
614
+ current: Record<string, string[]>;
615
+ desired: Record<string, string[]>;
616
+ };
617
+ params?: any;
618
+ }, {
619
+ url: string;
620
+ secret: string;
621
+ active: boolean;
622
+ config: {
623
+ current: Record<string, string[]>;
624
+ desired: Record<string, string[]>;
625
+ };
626
+ params?: any;
627
+ }>;
628
+ type RegisterWebhookPayload = z.infer<typeof RegisterWebhookPayloadSchema>;
540
629
  declare const REGISTER_SOURCE_EVENT_V1 = "dev.trigger.source.register";
541
630
  declare const REGISTER_SOURCE_EVENT_V2 = "dev.trigger.source.register.v2";
542
631
  declare const RegisterTriggerSourceSchema: z.ZodObject<{
@@ -1069,6 +1158,32 @@ declare const HttpEndpointRequestHeadersSchema: z.ZodObject<{
1069
1158
  "x-ts-http-method": string;
1070
1159
  "x-ts-http-headers": string;
1071
1160
  }>;
1161
+ declare const WebhookSourceRequestHeadersSchema: z.ZodObject<{
1162
+ "x-ts-key": z.ZodString;
1163
+ "x-ts-dynamic-id": z.ZodOptional<z.ZodString>;
1164
+ "x-ts-secret": z.ZodString;
1165
+ "x-ts-params": z.ZodEffects<z.ZodString, any, string>;
1166
+ "x-ts-http-url": z.ZodString;
1167
+ "x-ts-http-method": z.ZodString;
1168
+ "x-ts-http-headers": z.ZodEffects<z.ZodString, Record<string, string>, string>;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ "x-ts-key": string;
1171
+ "x-ts-secret": string;
1172
+ "x-ts-http-url": string;
1173
+ "x-ts-http-method": string;
1174
+ "x-ts-http-headers": Record<string, string>;
1175
+ "x-ts-dynamic-id"?: string | undefined;
1176
+ "x-ts-params"?: any;
1177
+ }, {
1178
+ "x-ts-key": string;
1179
+ "x-ts-secret": string;
1180
+ "x-ts-params": string;
1181
+ "x-ts-http-url": string;
1182
+ "x-ts-http-method": string;
1183
+ "x-ts-http-headers": string;
1184
+ "x-ts-dynamic-id"?: string | undefined;
1185
+ }>;
1186
+ type WebhookSourceRequestHeaders = z.output<typeof WebhookSourceRequestHeadersSchema>;
1072
1187
  declare const PongSuccessResponseSchema: z.ZodObject<{
1073
1188
  ok: z.ZodLiteral<true>;
1074
1189
  triggerVersion: z.ZodOptional<z.ZodString>;
@@ -1190,6 +1305,16 @@ declare const QueueOptionsSchema: z.ZodObject<{
1190
1305
  maxConcurrent?: number | undefined;
1191
1306
  }>;
1192
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
+ }>;
1193
1318
  declare const JobMetadataSchema: z.ZodObject<{
1194
1319
  id: z.ZodString;
1195
1320
  name: z.ZodString;
@@ -1514,6 +1639,16 @@ declare const JobMetadataSchema: z.ZodObject<{
1514
1639
  enabled: z.ZodBoolean;
1515
1640
  startPosition: z.ZodEnum<["initial", "latest"]>;
1516
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]>>;
1517
1652
  }, "strip", z.ZodTypeAny, {
1518
1653
  version: string;
1519
1654
  name: string;
@@ -1596,6 +1731,10 @@ declare const JobMetadataSchema: z.ZodObject<{
1596
1731
  enabled: boolean;
1597
1732
  startPosition: "initial" | "latest";
1598
1733
  preprocessRuns: boolean;
1734
+ concurrencyLimit?: number | {
1735
+ id: string;
1736
+ limit: number;
1737
+ } | undefined;
1599
1738
  }, {
1600
1739
  version: string;
1601
1740
  name: string;
@@ -1678,6 +1817,10 @@ declare const JobMetadataSchema: z.ZodObject<{
1678
1817
  startPosition: "initial" | "latest";
1679
1818
  preprocessRuns: boolean;
1680
1819
  internal?: boolean | undefined;
1820
+ concurrencyLimit?: number | {
1821
+ id: string;
1822
+ limit: number;
1823
+ } | undefined;
1681
1824
  }>;
1682
1825
  type JobMetadata = z.infer<typeof JobMetadataSchema>;
1683
1826
  declare const SourceMetadataV1Schema: z.ZodObject<{
@@ -1858,6 +2001,98 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
1858
2001
  } | undefined;
1859
2002
  }>;
1860
2003
  type SourceMetadataV2 = z.infer<typeof SourceMetadataV2Schema>;
2004
+ declare const WebhookMetadataSchema: z.ZodObject<{
2005
+ key: z.ZodString;
2006
+ params: z.ZodAny;
2007
+ config: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
2008
+ integration: z.ZodObject<{
2009
+ id: z.ZodString;
2010
+ metadata: z.ZodObject<{
2011
+ id: z.ZodString;
2012
+ name: z.ZodString;
2013
+ instructions: z.ZodOptional<z.ZodString>;
2014
+ }, "strip", z.ZodTypeAny, {
2015
+ name: string;
2016
+ id: string;
2017
+ instructions?: string | undefined;
2018
+ }, {
2019
+ name: string;
2020
+ id: string;
2021
+ instructions?: string | undefined;
2022
+ }>;
2023
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
2024
+ }, "strip", z.ZodTypeAny, {
2025
+ id: string;
2026
+ metadata: {
2027
+ name: string;
2028
+ id: string;
2029
+ instructions?: string | undefined;
2030
+ };
2031
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2032
+ }, {
2033
+ id: string;
2034
+ metadata: {
2035
+ name: string;
2036
+ id: string;
2037
+ instructions?: string | undefined;
2038
+ };
2039
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2040
+ }>;
2041
+ httpEndpoint: z.ZodObject<{
2042
+ id: z.ZodString;
2043
+ }, "strip", z.ZodTypeAny, {
2044
+ id: string;
2045
+ }, {
2046
+ id: string;
2047
+ }>;
2048
+ }, "strip", z.ZodTypeAny, {
2049
+ key: string;
2050
+ config: Record<string, string[]>;
2051
+ integration: {
2052
+ id: string;
2053
+ metadata: {
2054
+ name: string;
2055
+ id: string;
2056
+ instructions?: string | undefined;
2057
+ };
2058
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2059
+ };
2060
+ httpEndpoint: {
2061
+ id: string;
2062
+ };
2063
+ params?: any;
2064
+ }, {
2065
+ key: string;
2066
+ config: Record<string, string[]>;
2067
+ integration: {
2068
+ id: string;
2069
+ metadata: {
2070
+ name: string;
2071
+ id: string;
2072
+ instructions?: string | undefined;
2073
+ };
2074
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2075
+ };
2076
+ httpEndpoint: {
2077
+ id: string;
2078
+ };
2079
+ params?: any;
2080
+ }>;
2081
+ type WebhookMetadata = z.infer<typeof WebhookMetadataSchema>;
2082
+ declare const WebhookContextMetadataSchema: z.ZodObject<{
2083
+ params: z.ZodAny;
2084
+ config: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
2085
+ secret: z.ZodString;
2086
+ }, "strip", z.ZodTypeAny, {
2087
+ secret: string;
2088
+ config: Record<string, string[]>;
2089
+ params?: any;
2090
+ }, {
2091
+ secret: string;
2092
+ config: Record<string, string[]>;
2093
+ params?: any;
2094
+ }>;
2095
+ type WebhookContextMetadata = z.infer<typeof WebhookContextMetadataSchema>;
1861
2096
  declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
1862
2097
  id: z.ZodString;
1863
2098
  jobs: z.ZodArray<z.ZodObject<Pick<{
@@ -2184,6 +2419,16 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
2184
2419
  enabled: z.ZodBoolean;
2185
2420
  startPosition: z.ZodEnum<["initial", "latest"]>;
2186
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]>>;
2187
2432
  }, "version" | "id">, "strip", z.ZodTypeAny, {
2188
2433
  version: string;
2189
2434
  id: string;
@@ -2832,6 +3077,16 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2832
3077
  enabled: z.ZodBoolean;
2833
3078
  startPosition: z.ZodEnum<["initial", "latest"]>;
2834
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]>>;
2835
3090
  }, "strip", z.ZodTypeAny, {
2836
3091
  version: string;
2837
3092
  name: string;
@@ -2914,6 +3169,10 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2914
3169
  enabled: boolean;
2915
3170
  startPosition: "initial" | "latest";
2916
3171
  preprocessRuns: boolean;
3172
+ concurrencyLimit?: number | {
3173
+ id: string;
3174
+ limit: number;
3175
+ } | undefined;
2917
3176
  }, {
2918
3177
  version: string;
2919
3178
  name: string;
@@ -2996,6 +3255,10 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2996
3255
  startPosition: "initial" | "latest";
2997
3256
  preprocessRuns: boolean;
2998
3257
  internal?: boolean | undefined;
3258
+ concurrencyLimit?: number | {
3259
+ id: string;
3260
+ limit: number;
3261
+ } | undefined;
2999
3262
  }>, "many">;
3000
3263
  sources: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
3001
3264
  version: z.ZodLiteral<"1">;
@@ -3210,6 +3473,83 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3210
3473
  id: string;
3211
3474
  } | undefined;
3212
3475
  }, unknown>, "many">;
3476
+ webhooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3477
+ key: z.ZodString;
3478
+ params: z.ZodAny;
3479
+ config: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
3480
+ integration: z.ZodObject<{
3481
+ id: z.ZodString;
3482
+ metadata: z.ZodObject<{
3483
+ id: z.ZodString;
3484
+ name: z.ZodString;
3485
+ instructions: z.ZodOptional<z.ZodString>;
3486
+ }, "strip", z.ZodTypeAny, {
3487
+ name: string;
3488
+ id: string;
3489
+ instructions?: string | undefined;
3490
+ }, {
3491
+ name: string;
3492
+ id: string;
3493
+ instructions?: string | undefined;
3494
+ }>;
3495
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
3496
+ }, "strip", z.ZodTypeAny, {
3497
+ id: string;
3498
+ metadata: {
3499
+ name: string;
3500
+ id: string;
3501
+ instructions?: string | undefined;
3502
+ };
3503
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
3504
+ }, {
3505
+ id: string;
3506
+ metadata: {
3507
+ name: string;
3508
+ id: string;
3509
+ instructions?: string | undefined;
3510
+ };
3511
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
3512
+ }>;
3513
+ httpEndpoint: z.ZodObject<{
3514
+ id: z.ZodString;
3515
+ }, "strip", z.ZodTypeAny, {
3516
+ id: string;
3517
+ }, {
3518
+ id: string;
3519
+ }>;
3520
+ }, "strip", z.ZodTypeAny, {
3521
+ key: string;
3522
+ config: Record<string, string[]>;
3523
+ integration: {
3524
+ id: string;
3525
+ metadata: {
3526
+ name: string;
3527
+ id: string;
3528
+ instructions?: string | undefined;
3529
+ };
3530
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
3531
+ };
3532
+ httpEndpoint: {
3533
+ id: string;
3534
+ };
3535
+ params?: any;
3536
+ }, {
3537
+ key: string;
3538
+ config: Record<string, string[]>;
3539
+ integration: {
3540
+ id: string;
3541
+ metadata: {
3542
+ name: string;
3543
+ id: string;
3544
+ instructions?: string | undefined;
3545
+ };
3546
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
3547
+ };
3548
+ httpEndpoint: {
3549
+ id: string;
3550
+ };
3551
+ params?: any;
3552
+ }>, "many">>;
3213
3553
  dynamicTriggers: z.ZodArray<z.ZodObject<{
3214
3554
  id: z.ZodString;
3215
3555
  jobs: z.ZodArray<z.ZodObject<Pick<{
@@ -3536,10 +3876,20 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3536
3876
  enabled: z.ZodBoolean;
3537
3877
  startPosition: z.ZodEnum<["initial", "latest"]>;
3538
3878
  preprocessRuns: z.ZodBoolean;
3539
- }, "version" | "id">, "strip", z.ZodTypeAny, {
3540
- version: string;
3541
- id: string;
3542
- }, {
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]>>;
3889
+ }, "version" | "id">, "strip", z.ZodTypeAny, {
3890
+ version: string;
3891
+ id: string;
3892
+ }, {
3543
3893
  version: string;
3544
3894
  id: string;
3545
3895
  }>, "many">;
@@ -3965,6 +4315,10 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3965
4315
  enabled: boolean;
3966
4316
  startPosition: "initial" | "latest";
3967
4317
  preprocessRuns: boolean;
4318
+ concurrencyLimit?: number | {
4319
+ id: string;
4320
+ limit: number;
4321
+ } | undefined;
3968
4322
  }[];
3969
4323
  sources: ({
3970
4324
  key: string;
@@ -4023,6 +4377,23 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
4023
4377
  id: string;
4024
4378
  }[];
4025
4379
  }[];
4380
+ webhooks?: {
4381
+ key: string;
4382
+ config: Record<string, string[]>;
4383
+ integration: {
4384
+ id: string;
4385
+ metadata: {
4386
+ name: string;
4387
+ id: string;
4388
+ instructions?: string | undefined;
4389
+ };
4390
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
4391
+ };
4392
+ httpEndpoint: {
4393
+ id: string;
4394
+ };
4395
+ params?: any;
4396
+ }[] | undefined;
4026
4397
  httpEndpoints?: {
4027
4398
  version: string;
4028
4399
  event: {
@@ -4159,6 +4530,10 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
4159
4530
  startPosition: "initial" | "latest";
4160
4531
  preprocessRuns: boolean;
4161
4532
  internal?: boolean | undefined;
4533
+ concurrencyLimit?: number | {
4534
+ id: string;
4535
+ limit: number;
4536
+ } | undefined;
4162
4537
  }[];
4163
4538
  sources: unknown[];
4164
4539
  dynamicTriggers: {
@@ -4179,6 +4554,23 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
4179
4554
  id: string;
4180
4555
  }[];
4181
4556
  }[];
4557
+ webhooks?: {
4558
+ key: string;
4559
+ config: Record<string, string[]>;
4560
+ integration: {
4561
+ id: string;
4562
+ metadata: {
4563
+ name: string;
4564
+ id: string;
4565
+ instructions?: string | undefined;
4566
+ };
4567
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
4568
+ };
4569
+ httpEndpoint: {
4570
+ id: string;
4571
+ };
4572
+ params?: any;
4573
+ }[] | undefined;
4182
4574
  httpEndpoints?: {
4183
4575
  version: string;
4184
4576
  event: {
@@ -4248,6 +4640,7 @@ type EndpointIndexError = z.infer<typeof EndpointIndexErrorSchema>;
4248
4640
  declare const IndexEndpointStatsSchema: z.ZodObject<{
4249
4641
  jobs: z.ZodNumber;
4250
4642
  sources: z.ZodNumber;
4643
+ webhooks: z.ZodOptional<z.ZodNumber>;
4251
4644
  dynamicTriggers: z.ZodNumber;
4252
4645
  dynamicSchedules: z.ZodNumber;
4253
4646
  disabledJobs: z.ZodDefault<z.ZodNumber>;
@@ -4259,11 +4652,13 @@ declare const IndexEndpointStatsSchema: z.ZodObject<{
4259
4652
  dynamicSchedules: number;
4260
4653
  httpEndpoints: number;
4261
4654
  disabledJobs: number;
4655
+ webhooks?: number | undefined;
4262
4656
  }, {
4263
4657
  jobs: number;
4264
4658
  sources: number;
4265
4659
  dynamicTriggers: number;
4266
4660
  dynamicSchedules: number;
4661
+ webhooks?: number | undefined;
4267
4662
  disabledJobs?: number | undefined;
4268
4663
  httpEndpoints?: number | undefined;
4269
4664
  }>;
@@ -4292,6 +4687,7 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
4292
4687
  stats: z.ZodObject<{
4293
4688
  jobs: z.ZodNumber;
4294
4689
  sources: z.ZodNumber;
4690
+ webhooks: z.ZodOptional<z.ZodNumber>;
4295
4691
  dynamicTriggers: z.ZodNumber;
4296
4692
  dynamicSchedules: z.ZodNumber;
4297
4693
  disabledJobs: z.ZodDefault<z.ZodNumber>;
@@ -4303,11 +4699,13 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
4303
4699
  dynamicSchedules: number;
4304
4700
  httpEndpoints: number;
4305
4701
  disabledJobs: number;
4702
+ webhooks?: number | undefined;
4306
4703
  }, {
4307
4704
  jobs: number;
4308
4705
  sources: number;
4309
4706
  dynamicTriggers: number;
4310
4707
  dynamicSchedules: number;
4708
+ webhooks?: number | undefined;
4311
4709
  disabledJobs?: number | undefined;
4312
4710
  httpEndpoints?: number | undefined;
4313
4711
  }>;
@@ -4322,6 +4720,7 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
4322
4720
  dynamicSchedules: number;
4323
4721
  httpEndpoints: number;
4324
4722
  disabledJobs: number;
4723
+ webhooks?: number | undefined;
4325
4724
  };
4326
4725
  }, {
4327
4726
  status: "SUCCESS";
@@ -4331,6 +4730,7 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
4331
4730
  sources: number;
4332
4731
  dynamicTriggers: number;
4333
4732
  dynamicSchedules: number;
4733
+ webhooks?: number | undefined;
4334
4734
  disabledJobs?: number | undefined;
4335
4735
  httpEndpoints?: number | undefined;
4336
4736
  };
@@ -5365,10 +5765,10 @@ declare const AutoYieldMetadataSchema: z.ZodObject<{
5365
5765
  }>;
5366
5766
  type AutoYieldMetadata = z.infer<typeof AutoYieldMetadataSchema>;
5367
5767
  declare const RunJobAutoYieldExecutionErrorSchema: z.ZodObject<{
5768
+ limit: z.ZodOptional<z.ZodNumber>;
5368
5769
  location: z.ZodString;
5369
5770
  timeRemaining: z.ZodNumber;
5370
5771
  timeElapsed: z.ZodNumber;
5371
- limit: z.ZodOptional<z.ZodNumber>;
5372
5772
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
5373
5773
  }, "strip", z.ZodTypeAny, {
5374
5774
  status: "AUTO_YIELD_EXECUTION";
@@ -6165,10 +6565,10 @@ declare const RunJobSuccessSchema: z.ZodObject<{
6165
6565
  }>;
6166
6566
  type RunJobSuccess = z.infer<typeof RunJobSuccessSchema>;
6167
6567
  declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
6568
+ limit: z.ZodOptional<z.ZodNumber>;
6168
6569
  location: z.ZodString;
6169
6570
  timeRemaining: z.ZodNumber;
6170
6571
  timeElapsed: z.ZodNumber;
6171
- limit: z.ZodOptional<z.ZodNumber>;
6172
6572
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
6173
6573
  }, "strip", z.ZodTypeAny, {
6174
6574
  status: "AUTO_YIELD_EXECUTION";
@@ -7310,10 +7710,10 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
7310
7710
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
7311
7711
  }>;
7312
7712
  childErrors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
7713
+ limit: z.ZodOptional<z.ZodNumber>;
7313
7714
  location: z.ZodString;
7314
7715
  timeRemaining: z.ZodNumber;
7315
7716
  timeElapsed: z.ZodNumber;
7316
- limit: z.ZodOptional<z.ZodNumber>;
7317
7717
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
7318
7718
  }, "strip", z.ZodTypeAny, {
7319
7719
  status: "AUTO_YIELD_EXECUTION";
@@ -8793,10 +9193,10 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
8793
9193
  }>;
8794
9194
  type RunJobResumeWithParallelTask = z.infer<typeof RunJobResumeWithParallelTaskSchema>;
8795
9195
  declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
9196
+ limit: z.ZodOptional<z.ZodNumber>;
8796
9197
  location: z.ZodString;
8797
9198
  timeRemaining: z.ZodNumber;
8798
9199
  timeElapsed: z.ZodNumber;
8799
- limit: z.ZodOptional<z.ZodNumber>;
8800
9200
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
8801
9201
  }, "strip", z.ZodTypeAny, {
8802
9202
  status: "AUTO_YIELD_EXECUTION";
@@ -9500,10 +9900,10 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
9500
9900
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
9501
9901
  }>;
9502
9902
  childErrors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
9903
+ limit: z.ZodOptional<z.ZodNumber>;
9503
9904
  location: z.ZodString;
9504
9905
  timeRemaining: z.ZodNumber;
9505
9906
  timeElapsed: z.ZodNumber;
9506
- limit: z.ZodOptional<z.ZodNumber>;
9507
9907
  status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
9508
9908
  }, "strip", z.ZodTypeAny, {
9509
9909
  status: "AUTO_YIELD_EXECUTION";
@@ -11830,211 +12230,6 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
11830
12230
  }, {
11831
12231
  paths: string[];
11832
12232
  }>>;
11833
- trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11834
- type: z.ZodLiteral<"dynamic">;
11835
- id: z.ZodString;
11836
- }, "strip", z.ZodTypeAny, {
11837
- type: "dynamic";
11838
- id: string;
11839
- }, {
11840
- type: "dynamic";
11841
- id: string;
11842
- }>, z.ZodObject<{
11843
- type: z.ZodLiteral<"static">;
11844
- title: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
11845
- properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
11846
- label: z.ZodString;
11847
- text: z.ZodString;
11848
- url: z.ZodOptional<z.ZodString>;
11849
- imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11850
- }, "strip", z.ZodTypeAny, {
11851
- label: string;
11852
- text: string;
11853
- url?: string | undefined;
11854
- imageUrl?: string[] | undefined;
11855
- }, {
11856
- label: string;
11857
- text: string;
11858
- url?: string | undefined;
11859
- imageUrl?: string[] | undefined;
11860
- }>, "many">>;
11861
- rule: z.ZodObject<{
11862
- event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
11863
- source: z.ZodString;
11864
- payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
11865
- context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
11866
- }, "strip", z.ZodTypeAny, {
11867
- event: (string | string[]) & (string | string[] | undefined);
11868
- source: string;
11869
- payload?: EventFilter | undefined;
11870
- context?: EventFilter | undefined;
11871
- }, {
11872
- event: (string | string[]) & (string | string[] | undefined);
11873
- source: string;
11874
- payload?: EventFilter | undefined;
11875
- context?: EventFilter | undefined;
11876
- }>;
11877
- link: z.ZodOptional<z.ZodString>;
11878
- help: z.ZodOptional<z.ZodObject<{
11879
- noRuns: z.ZodOptional<z.ZodObject<{
11880
- text: z.ZodString;
11881
- link: z.ZodOptional<z.ZodString>;
11882
- }, "strip", z.ZodTypeAny, {
11883
- text: string;
11884
- link?: string | undefined;
11885
- }, {
11886
- text: string;
11887
- link?: string | undefined;
11888
- }>>;
11889
- }, "strip", z.ZodTypeAny, {
11890
- noRuns?: {
11891
- text: string;
11892
- link?: string | undefined;
11893
- } | undefined;
11894
- }, {
11895
- noRuns?: {
11896
- text: string;
11897
- link?: string | undefined;
11898
- } | undefined;
11899
- }>>;
11900
- }, "strip", z.ZodTypeAny, {
11901
- type: "static";
11902
- title: (string | string[]) & (string | string[] | undefined);
11903
- rule: {
11904
- event: (string | string[]) & (string | string[] | undefined);
11905
- source: string;
11906
- payload?: EventFilter | undefined;
11907
- context?: EventFilter | undefined;
11908
- };
11909
- properties?: {
11910
- label: string;
11911
- text: string;
11912
- url?: string | undefined;
11913
- imageUrl?: string[] | undefined;
11914
- }[] | undefined;
11915
- link?: string | undefined;
11916
- help?: {
11917
- noRuns?: {
11918
- text: string;
11919
- link?: string | undefined;
11920
- } | undefined;
11921
- } | undefined;
11922
- }, {
11923
- type: "static";
11924
- title: (string | string[]) & (string | string[] | undefined);
11925
- rule: {
11926
- event: (string | string[]) & (string | string[] | undefined);
11927
- source: string;
11928
- payload?: EventFilter | undefined;
11929
- context?: EventFilter | undefined;
11930
- };
11931
- properties?: {
11932
- label: string;
11933
- text: string;
11934
- url?: string | undefined;
11935
- imageUrl?: string[] | undefined;
11936
- }[] | undefined;
11937
- link?: string | undefined;
11938
- help?: {
11939
- noRuns?: {
11940
- text: string;
11941
- link?: string | undefined;
11942
- } | undefined;
11943
- } | undefined;
11944
- }>, z.ZodObject<{
11945
- type: z.ZodLiteral<"scheduled">;
11946
- schedule: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11947
- type: z.ZodLiteral<"interval">;
11948
- options: z.ZodObject<{
11949
- seconds: z.ZodNumber;
11950
- }, "strip", z.ZodTypeAny, {
11951
- seconds: number;
11952
- }, {
11953
- seconds: number;
11954
- }>;
11955
- accountId: z.ZodOptional<z.ZodString>;
11956
- metadata: z.ZodAny;
11957
- }, "strip", z.ZodTypeAny, {
11958
- options: {
11959
- seconds: number;
11960
- };
11961
- type: "interval";
11962
- accountId?: string | undefined;
11963
- metadata?: any;
11964
- }, {
11965
- options: {
11966
- seconds: number;
11967
- };
11968
- type: "interval";
11969
- accountId?: string | undefined;
11970
- metadata?: any;
11971
- }>, z.ZodObject<{
11972
- type: z.ZodLiteral<"cron">;
11973
- options: z.ZodObject<{
11974
- cron: z.ZodString;
11975
- }, "strip", z.ZodTypeAny, {
11976
- cron: string;
11977
- }, {
11978
- cron: string;
11979
- }>;
11980
- accountId: z.ZodOptional<z.ZodString>;
11981
- metadata: z.ZodAny;
11982
- }, "strip", z.ZodTypeAny, {
11983
- options: {
11984
- cron: string;
11985
- };
11986
- type: "cron";
11987
- accountId?: string | undefined;
11988
- metadata?: any;
11989
- }, {
11990
- options: {
11991
- cron: string;
11992
- };
11993
- type: "cron";
11994
- accountId?: string | undefined;
11995
- metadata?: any;
11996
- }>]>;
11997
- }, "strip", z.ZodTypeAny, {
11998
- type: "scheduled";
11999
- schedule: {
12000
- options: {
12001
- cron: string;
12002
- };
12003
- type: "cron";
12004
- accountId?: string | undefined;
12005
- metadata?: any;
12006
- } | {
12007
- options: {
12008
- seconds: number;
12009
- };
12010
- type: "interval";
12011
- accountId?: string | undefined;
12012
- metadata?: any;
12013
- };
12014
- }, {
12015
- type: "scheduled";
12016
- schedule: {
12017
- options: {
12018
- cron: string;
12019
- };
12020
- type: "cron";
12021
- accountId?: string | undefined;
12022
- metadata?: any;
12023
- } | {
12024
- options: {
12025
- seconds: number;
12026
- };
12027
- type: "interval";
12028
- accountId?: string | undefined;
12029
- metadata?: any;
12030
- };
12031
- }>, z.ZodObject<{
12032
- type: z.ZodLiteral<"invoke">;
12033
- }, "strip", z.ZodTypeAny, {
12034
- type: "invoke";
12035
- }, {
12036
- type: "invoke";
12037
- }>]>>;
12038
12233
  parallel: z.ZodOptional<z.ZodBoolean>;
12039
12234
  }, "strip", z.ZodTypeAny, {
12040
12235
  noop: boolean;
@@ -12070,51 +12265,6 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
12070
12265
  redact?: {
12071
12266
  paths: string[];
12072
12267
  } | undefined;
12073
- trigger?: {
12074
- type: "dynamic";
12075
- id: string;
12076
- } | {
12077
- type: "static";
12078
- title: (string | string[]) & (string | string[] | undefined);
12079
- rule: {
12080
- event: (string | string[]) & (string | string[] | undefined);
12081
- source: string;
12082
- payload?: EventFilter | undefined;
12083
- context?: EventFilter | undefined;
12084
- };
12085
- properties?: {
12086
- label: string;
12087
- text: string;
12088
- url?: string | undefined;
12089
- imageUrl?: string[] | undefined;
12090
- }[] | undefined;
12091
- link?: string | undefined;
12092
- help?: {
12093
- noRuns?: {
12094
- text: string;
12095
- link?: string | undefined;
12096
- } | undefined;
12097
- } | undefined;
12098
- } | {
12099
- type: "invoke";
12100
- } | {
12101
- type: "scheduled";
12102
- schedule: {
12103
- options: {
12104
- cron: string;
12105
- };
12106
- type: "cron";
12107
- accountId?: string | undefined;
12108
- metadata?: any;
12109
- } | {
12110
- options: {
12111
- seconds: number;
12112
- };
12113
- type: "interval";
12114
- accountId?: string | undefined;
12115
- metadata?: any;
12116
- };
12117
- } | undefined;
12118
12268
  parallel?: boolean | undefined;
12119
12269
  }, {
12120
12270
  name?: string | undefined;
@@ -12150,51 +12300,6 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
12150
12300
  redact?: {
12151
12301
  paths: string[];
12152
12302
  } | undefined;
12153
- trigger?: {
12154
- type: "dynamic";
12155
- id: string;
12156
- } | {
12157
- type: "static";
12158
- title: (string | string[]) & (string | string[] | undefined);
12159
- rule: {
12160
- event: (string | string[]) & (string | string[] | undefined);
12161
- source: string;
12162
- payload?: EventFilter | undefined;
12163
- context?: EventFilter | undefined;
12164
- };
12165
- properties?: {
12166
- label: string;
12167
- text: string;
12168
- url?: string | undefined;
12169
- imageUrl?: string[] | undefined;
12170
- }[] | undefined;
12171
- link?: string | undefined;
12172
- help?: {
12173
- noRuns?: {
12174
- text: string;
12175
- link?: string | undefined;
12176
- } | undefined;
12177
- } | undefined;
12178
- } | {
12179
- type: "invoke";
12180
- } | {
12181
- type: "scheduled";
12182
- schedule: {
12183
- options: {
12184
- cron: string;
12185
- };
12186
- type: "cron";
12187
- accountId?: string | undefined;
12188
- metadata?: any;
12189
- } | {
12190
- options: {
12191
- seconds: number;
12192
- };
12193
- type: "interval";
12194
- accountId?: string | undefined;
12195
- metadata?: any;
12196
- };
12197
- } | undefined;
12198
12303
  parallel?: boolean | undefined;
12199
12304
  }>;
12200
12305
  type RunTaskOptions = z.input<typeof RunTaskOptionsSchema>;
@@ -12234,647 +12339,147 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
12234
12339
  }>, "many">>;
12235
12340
  operation: z.ZodOptional<z.ZodEnum<["fetch", "fetch-response", "fetch-poll"]>>;
12236
12341
  displayKey: z.ZodOptional<z.ZodString>;
12237
- trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12238
- type: z.ZodLiteral<"dynamic">;
12239
- id: z.ZodString;
12240
- }, "strip", z.ZodTypeAny, {
12241
- type: "dynamic";
12242
- id: string;
12243
- }, {
12244
- type: "dynamic";
12245
- id: string;
12246
- }>, z.ZodObject<{
12247
- type: z.ZodLiteral<"static">;
12248
- title: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
12249
- properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
12250
- label: z.ZodString;
12251
- text: z.ZodString;
12252
- url: z.ZodOptional<z.ZodString>;
12253
- imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12254
- }, "strip", z.ZodTypeAny, {
12255
- label: string;
12256
- text: string;
12257
- url?: string | undefined;
12258
- imageUrl?: string[] | undefined;
12259
- }, {
12260
- label: string;
12261
- text: string;
12262
- url?: string | undefined;
12263
- imageUrl?: string[] | undefined;
12264
- }>, "many">>;
12265
- rule: z.ZodObject<{
12266
- event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
12267
- source: z.ZodString;
12268
- payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
12269
- context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
12270
- }, "strip", z.ZodTypeAny, {
12271
- event: (string | string[]) & (string | string[] | undefined);
12272
- source: string;
12273
- payload?: EventFilter | undefined;
12274
- context?: EventFilter | undefined;
12275
- }, {
12276
- event: (string | string[]) & (string | string[] | undefined);
12277
- source: string;
12278
- payload?: EventFilter | undefined;
12279
- context?: EventFilter | undefined;
12280
- }>;
12281
- link: z.ZodOptional<z.ZodString>;
12282
- help: z.ZodOptional<z.ZodObject<{
12283
- noRuns: z.ZodOptional<z.ZodObject<{
12284
- text: z.ZodString;
12285
- link: z.ZodOptional<z.ZodString>;
12286
- }, "strip", z.ZodTypeAny, {
12287
- text: string;
12288
- link?: string | undefined;
12289
- }, {
12290
- text: string;
12291
- link?: string | undefined;
12292
- }>>;
12293
- }, "strip", z.ZodTypeAny, {
12294
- noRuns?: {
12295
- text: string;
12296
- link?: string | undefined;
12297
- } | undefined;
12298
- }, {
12299
- noRuns?: {
12300
- text: string;
12301
- link?: string | undefined;
12302
- } | undefined;
12303
- }>>;
12342
+ retry: z.ZodOptional<z.ZodObject<{
12343
+ /** The maximum number of times to retry the request. */
12344
+ limit: z.ZodOptional<z.ZodNumber>;
12345
+ /** The exponential factor to use when calculating the next retry time. */
12346
+ factor: z.ZodOptional<z.ZodNumber>;
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>;
12304
12353
  }, "strip", z.ZodTypeAny, {
12305
- type: "static";
12306
- title: (string | string[]) & (string | string[] | undefined);
12307
- rule: {
12308
- event: (string | string[]) & (string | string[] | undefined);
12309
- source: string;
12310
- payload?: EventFilter | undefined;
12311
- context?: EventFilter | undefined;
12312
- };
12313
- properties?: {
12314
- label: string;
12315
- text: string;
12316
- url?: string | undefined;
12317
- imageUrl?: string[] | undefined;
12318
- }[] | undefined;
12319
- link?: string | undefined;
12320
- help?: {
12321
- noRuns?: {
12322
- text: string;
12323
- link?: string | undefined;
12324
- } | undefined;
12325
- } | undefined;
12354
+ limit?: number | undefined;
12355
+ factor?: number | undefined;
12356
+ minTimeoutInMs?: number | undefined;
12357
+ maxTimeoutInMs?: number | undefined;
12358
+ randomize?: boolean | undefined;
12326
12359
  }, {
12327
- type: "static";
12328
- title: (string | string[]) & (string | string[] | undefined);
12329
- rule: {
12330
- event: (string | string[]) & (string | string[] | undefined);
12331
- source: string;
12332
- payload?: EventFilter | undefined;
12333
- context?: EventFilter | undefined;
12334
- };
12335
- properties?: {
12336
- label: string;
12337
- text: string;
12338
- url?: string | undefined;
12339
- imageUrl?: string[] | undefined;
12340
- }[] | undefined;
12341
- link?: string | undefined;
12342
- help?: {
12343
- noRuns?: {
12344
- text: string;
12345
- link?: string | undefined;
12346
- } | undefined;
12347
- } | undefined;
12348
- }>, z.ZodObject<{
12349
- type: z.ZodLiteral<"scheduled">;
12350
- schedule: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12351
- type: z.ZodLiteral<"interval">;
12352
- options: z.ZodObject<{
12353
- seconds: z.ZodNumber;
12354
- }, "strip", z.ZodTypeAny, {
12355
- seconds: number;
12356
- }, {
12357
- seconds: number;
12358
- }>;
12359
- accountId: z.ZodOptional<z.ZodString>;
12360
- metadata: z.ZodAny;
12361
- }, "strip", z.ZodTypeAny, {
12362
- options: {
12363
- seconds: number;
12364
- };
12365
- type: "interval";
12366
- accountId?: string | undefined;
12367
- metadata?: any;
12368
- }, {
12369
- options: {
12370
- seconds: number;
12371
- };
12372
- type: "interval";
12373
- accountId?: string | undefined;
12374
- metadata?: any;
12375
- }>, z.ZodObject<{
12376
- type: z.ZodLiteral<"cron">;
12377
- options: z.ZodObject<{
12378
- cron: z.ZodString;
12379
- }, "strip", z.ZodTypeAny, {
12380
- cron: string;
12381
- }, {
12382
- cron: string;
12383
- }>;
12384
- accountId: z.ZodOptional<z.ZodString>;
12385
- metadata: z.ZodAny;
12386
- }, "strip", z.ZodTypeAny, {
12387
- options: {
12388
- cron: string;
12389
- };
12390
- type: "cron";
12391
- accountId?: string | undefined;
12392
- metadata?: any;
12393
- }, {
12394
- options: {
12395
- cron: string;
12396
- };
12397
- type: "cron";
12398
- accountId?: string | undefined;
12399
- metadata?: any;
12400
- }>]>;
12401
- }, "strip", z.ZodTypeAny, {
12402
- type: "scheduled";
12403
- schedule: {
12404
- options: {
12405
- cron: string;
12406
- };
12407
- type: "cron";
12408
- accountId?: string | undefined;
12409
- metadata?: any;
12410
- } | {
12411
- options: {
12412
- seconds: number;
12413
- };
12414
- type: "interval";
12415
- accountId?: string | undefined;
12416
- metadata?: any;
12417
- };
12418
- }, {
12419
- type: "scheduled";
12420
- schedule: {
12421
- options: {
12422
- cron: string;
12423
- };
12424
- type: "cron";
12425
- accountId?: string | undefined;
12426
- metadata?: any;
12427
- } | {
12428
- options: {
12429
- seconds: number;
12430
- };
12431
- type: "interval";
12432
- accountId?: string | undefined;
12433
- metadata?: any;
12434
- };
12435
- }>, z.ZodObject<{
12436
- type: z.ZodLiteral<"invoke">;
12437
- }, "strip", z.ZodTypeAny, {
12438
- type: "invoke";
12439
- }, {
12440
- type: "invoke";
12441
- }>]>>;
12442
- retry: z.ZodOptional<z.ZodObject<{
12443
- /** The maximum number of times to retry the request. */
12444
- limit: z.ZodOptional<z.ZodNumber>;
12445
- /** The exponential factor to use when calculating the next retry time. */
12446
- factor: z.ZodOptional<z.ZodNumber>;
12447
- /** The minimum amount of time to wait before retrying the request. */
12448
- minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
12449
- /** The maximum amount of time to wait before retrying the request. */
12450
- maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
12451
- /** Whether to randomize the retry time. */
12452
- randomize: z.ZodOptional<z.ZodBoolean>;
12453
- }, "strip", z.ZodTypeAny, {
12454
- limit?: number | undefined;
12455
- factor?: number | undefined;
12456
- minTimeoutInMs?: number | undefined;
12457
- maxTimeoutInMs?: number | undefined;
12458
- randomize?: boolean | undefined;
12459
- }, {
12460
- limit?: number | undefined;
12461
- factor?: number | undefined;
12462
- minTimeoutInMs?: number | undefined;
12463
- maxTimeoutInMs?: number | undefined;
12464
- randomize?: boolean | undefined;
12465
- }>>;
12466
- callback: z.ZodOptional<z.ZodObject<{
12467
- enabled: z.ZodOptional<z.ZodBoolean>;
12468
- timeoutInSeconds: z.ZodOptional<z.ZodNumber>;
12469
- }, "strip", z.ZodTypeAny, {
12470
- enabled?: boolean | undefined;
12471
- timeoutInSeconds?: number | undefined;
12472
- }, {
12473
- enabled?: boolean | undefined;
12474
- timeoutInSeconds?: number | undefined;
12475
- }>>;
12476
- connectionKey: z.ZodOptional<z.ZodString>;
12477
- redact: z.ZodOptional<z.ZodObject<{
12478
- paths: z.ZodArray<z.ZodString, "many">;
12479
- }, "strip", z.ZodTypeAny, {
12480
- paths: string[];
12481
- }, {
12482
- paths: string[];
12483
- }>>;
12484
- parallel: z.ZodOptional<z.ZodBoolean>;
12485
- idempotencyKey: z.ZodString;
12486
- parentId: z.ZodOptional<z.ZodString>;
12487
- }, "strip", z.ZodTypeAny, {
12488
- noop: boolean;
12489
- idempotencyKey: string;
12490
- name?: string | undefined;
12491
- params?: any;
12492
- style?: {
12493
- style: "normal" | "minimal";
12494
- variant?: string | undefined;
12495
- } | undefined;
12496
- icon?: string | undefined;
12497
- delayUntil?: Date | undefined;
12498
- description?: string | undefined;
12499
- properties?: {
12500
- label: string;
12501
- text: string;
12502
- url?: string | undefined;
12503
- imageUrl?: string[] | undefined;
12504
- }[] | undefined;
12505
- operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
12506
- displayKey?: string | undefined;
12507
- trigger?: {
12508
- type: "dynamic";
12509
- id: string;
12510
- } | {
12511
- type: "static";
12512
- title: (string | string[]) & (string | string[] | undefined);
12513
- rule: {
12514
- event: (string | string[]) & (string | string[] | undefined);
12515
- source: string;
12516
- payload?: EventFilter | undefined;
12517
- context?: EventFilter | undefined;
12518
- };
12519
- properties?: {
12520
- label: string;
12521
- text: string;
12522
- url?: string | undefined;
12523
- imageUrl?: string[] | undefined;
12524
- }[] | undefined;
12525
- link?: string | undefined;
12526
- help?: {
12527
- noRuns?: {
12528
- text: string;
12529
- link?: string | undefined;
12530
- } | undefined;
12531
- } | undefined;
12532
- } | {
12533
- type: "invoke";
12534
- } | {
12535
- type: "scheduled";
12536
- schedule: {
12537
- options: {
12538
- cron: string;
12539
- };
12540
- type: "cron";
12541
- accountId?: string | undefined;
12542
- metadata?: any;
12543
- } | {
12544
- options: {
12545
- seconds: number;
12546
- };
12547
- type: "interval";
12548
- accountId?: string | undefined;
12549
- metadata?: any;
12550
- };
12551
- } | undefined;
12552
- retry?: {
12553
- limit?: number | undefined;
12554
- factor?: number | undefined;
12555
- minTimeoutInMs?: number | undefined;
12556
- maxTimeoutInMs?: number | undefined;
12557
- randomize?: boolean | undefined;
12558
- } | undefined;
12559
- callback?: {
12560
- enabled?: boolean | undefined;
12561
- timeoutInSeconds?: number | undefined;
12562
- } | undefined;
12563
- connectionKey?: string | undefined;
12564
- redact?: {
12565
- paths: string[];
12566
- } | undefined;
12567
- parallel?: boolean | undefined;
12568
- parentId?: string | undefined;
12569
- }, {
12570
- idempotencyKey: string;
12571
- name?: string | undefined;
12572
- params?: any;
12573
- style?: {
12574
- style: "normal" | "minimal";
12575
- variant?: string | undefined;
12576
- } | undefined;
12577
- icon?: string | undefined;
12578
- noop?: boolean | undefined;
12579
- delayUntil?: Date | undefined;
12580
- description?: string | undefined;
12581
- properties?: {
12582
- label: string;
12583
- text: string;
12584
- url?: string | undefined;
12585
- imageUrl?: string[] | undefined;
12586
- }[] | undefined;
12587
- operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
12588
- displayKey?: string | undefined;
12589
- trigger?: {
12590
- type: "dynamic";
12591
- id: string;
12592
- } | {
12593
- type: "static";
12594
- title: (string | string[]) & (string | string[] | undefined);
12595
- rule: {
12596
- event: (string | string[]) & (string | string[] | undefined);
12597
- source: string;
12598
- payload?: EventFilter | undefined;
12599
- context?: EventFilter | undefined;
12600
- };
12601
- properties?: {
12602
- label: string;
12603
- text: string;
12604
- url?: string | undefined;
12605
- imageUrl?: string[] | undefined;
12606
- }[] | undefined;
12607
- link?: string | undefined;
12608
- help?: {
12609
- noRuns?: {
12610
- text: string;
12611
- link?: string | undefined;
12612
- } | undefined;
12613
- } | undefined;
12614
- } | {
12615
- type: "invoke";
12616
- } | {
12617
- type: "scheduled";
12618
- schedule: {
12619
- options: {
12620
- cron: string;
12621
- };
12622
- type: "cron";
12623
- accountId?: string | undefined;
12624
- metadata?: any;
12625
- } | {
12626
- options: {
12627
- seconds: number;
12628
- };
12629
- type: "interval";
12630
- accountId?: string | undefined;
12631
- metadata?: any;
12632
- };
12633
- } | undefined;
12634
- retry?: {
12635
12360
  limit?: number | undefined;
12636
12361
  factor?: number | undefined;
12637
12362
  minTimeoutInMs?: number | undefined;
12638
12363
  maxTimeoutInMs?: number | undefined;
12639
12364
  randomize?: boolean | undefined;
12640
- } | undefined;
12641
- callback?: {
12642
- enabled?: boolean | undefined;
12643
- timeoutInSeconds?: number | undefined;
12644
- } | undefined;
12645
- connectionKey?: string | undefined;
12646
- redact?: {
12647
- paths: string[];
12648
- } | undefined;
12649
- parallel?: boolean | undefined;
12650
- parentId?: string | undefined;
12651
- }>;
12652
- type RunTaskBodyInput = z.infer<typeof RunTaskBodyInputSchema>;
12653
- declare const RunTaskBodyOutputSchema: z.ZodObject<{
12654
- name: z.ZodOptional<z.ZodString>;
12655
- style: z.ZodOptional<z.ZodObject<{
12656
- style: z.ZodEnum<["normal", "minimal"]>;
12657
- variant: z.ZodOptional<z.ZodString>;
12658
- }, "strip", z.ZodTypeAny, {
12659
- style: "normal" | "minimal";
12660
- variant?: string | undefined;
12661
- }, {
12662
- style: "normal" | "minimal";
12663
- variant?: string | undefined;
12664
- }>>;
12665
- icon: z.ZodOptional<z.ZodString>;
12666
- noop: z.ZodDefault<z.ZodBoolean>;
12667
- delayUntil: z.ZodOptional<z.ZodDate>;
12668
- description: z.ZodOptional<z.ZodString>;
12669
- parentId: z.ZodOptional<z.ZodString>;
12670
- operation: z.ZodOptional<z.ZodEnum<["fetch", "fetch-response", "fetch-poll"]>>;
12671
- idempotencyKey: z.ZodString;
12672
- displayKey: z.ZodOptional<z.ZodString>;
12673
- trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12674
- type: z.ZodLiteral<"dynamic">;
12675
- id: z.ZodString;
12676
- }, "strip", z.ZodTypeAny, {
12677
- type: "dynamic";
12678
- id: string;
12679
- }, {
12680
- type: "dynamic";
12681
- id: string;
12682
- }>, z.ZodObject<{
12683
- type: z.ZodLiteral<"static">;
12684
- title: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
12685
- properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
12686
- label: z.ZodString;
12687
- text: z.ZodString;
12688
- url: z.ZodOptional<z.ZodString>;
12689
- imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12690
- }, "strip", z.ZodTypeAny, {
12691
- label: string;
12692
- text: string;
12693
- url?: string | undefined;
12694
- imageUrl?: string[] | undefined;
12695
- }, {
12696
- label: string;
12697
- text: string;
12698
- url?: string | undefined;
12699
- imageUrl?: string[] | undefined;
12700
- }>, "many">>;
12701
- rule: z.ZodObject<{
12702
- event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
12703
- source: z.ZodString;
12704
- payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
12705
- context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
12706
- }, "strip", z.ZodTypeAny, {
12707
- event: (string | string[]) & (string | string[] | undefined);
12708
- source: string;
12709
- payload?: EventFilter | undefined;
12710
- context?: EventFilter | undefined;
12711
- }, {
12712
- event: (string | string[]) & (string | string[] | undefined);
12713
- source: string;
12714
- payload?: EventFilter | undefined;
12715
- context?: EventFilter | undefined;
12716
- }>;
12717
- link: z.ZodOptional<z.ZodString>;
12718
- help: z.ZodOptional<z.ZodObject<{
12719
- noRuns: z.ZodOptional<z.ZodObject<{
12720
- text: z.ZodString;
12721
- link: z.ZodOptional<z.ZodString>;
12722
- }, "strip", z.ZodTypeAny, {
12723
- text: string;
12724
- link?: string | undefined;
12725
- }, {
12726
- text: string;
12727
- link?: string | undefined;
12728
- }>>;
12729
- }, "strip", z.ZodTypeAny, {
12730
- noRuns?: {
12731
- text: string;
12732
- link?: string | undefined;
12733
- } | undefined;
12734
- }, {
12735
- noRuns?: {
12736
- text: string;
12737
- link?: string | undefined;
12738
- } | undefined;
12739
- }>>;
12740
- }, "strip", z.ZodTypeAny, {
12741
- type: "static";
12742
- title: (string | string[]) & (string | string[] | undefined);
12743
- rule: {
12744
- event: (string | string[]) & (string | string[] | undefined);
12745
- source: string;
12746
- payload?: EventFilter | undefined;
12747
- context?: EventFilter | undefined;
12748
- };
12749
- properties?: {
12750
- label: string;
12751
- text: string;
12752
- url?: string | undefined;
12753
- imageUrl?: string[] | undefined;
12754
- }[] | undefined;
12755
- link?: string | undefined;
12756
- help?: {
12757
- noRuns?: {
12758
- text: string;
12759
- link?: string | undefined;
12760
- } | undefined;
12761
- } | undefined;
12762
- }, {
12763
- type: "static";
12764
- title: (string | string[]) & (string | string[] | undefined);
12765
- rule: {
12766
- event: (string | string[]) & (string | string[] | undefined);
12767
- source: string;
12768
- payload?: EventFilter | undefined;
12769
- context?: EventFilter | undefined;
12770
- };
12771
- properties?: {
12772
- label: string;
12773
- text: string;
12774
- url?: string | undefined;
12775
- imageUrl?: string[] | undefined;
12776
- }[] | undefined;
12777
- link?: string | undefined;
12778
- help?: {
12779
- noRuns?: {
12780
- text: string;
12781
- link?: string | undefined;
12782
- } | undefined;
12783
- } | undefined;
12784
- }>, z.ZodObject<{
12785
- type: z.ZodLiteral<"scheduled">;
12786
- schedule: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12787
- type: z.ZodLiteral<"interval">;
12788
- options: z.ZodObject<{
12789
- seconds: z.ZodNumber;
12790
- }, "strip", z.ZodTypeAny, {
12791
- seconds: number;
12792
- }, {
12793
- seconds: number;
12794
- }>;
12795
- accountId: z.ZodOptional<z.ZodString>;
12796
- metadata: z.ZodAny;
12797
- }, "strip", z.ZodTypeAny, {
12798
- options: {
12799
- seconds: number;
12800
- };
12801
- type: "interval";
12802
- accountId?: string | undefined;
12803
- metadata?: any;
12804
- }, {
12805
- options: {
12806
- seconds: number;
12807
- };
12808
- type: "interval";
12809
- accountId?: string | undefined;
12810
- metadata?: any;
12811
- }>, z.ZodObject<{
12812
- type: z.ZodLiteral<"cron">;
12813
- options: z.ZodObject<{
12814
- cron: z.ZodString;
12815
- }, "strip", z.ZodTypeAny, {
12816
- cron: string;
12817
- }, {
12818
- cron: string;
12819
- }>;
12820
- accountId: z.ZodOptional<z.ZodString>;
12821
- metadata: z.ZodAny;
12822
- }, "strip", z.ZodTypeAny, {
12823
- options: {
12824
- cron: string;
12825
- };
12826
- type: "cron";
12827
- accountId?: string | undefined;
12828
- metadata?: any;
12829
- }, {
12830
- options: {
12831
- cron: string;
12832
- };
12833
- type: "cron";
12834
- accountId?: string | undefined;
12835
- metadata?: any;
12836
- }>]>;
12837
- }, "strip", z.ZodTypeAny, {
12838
- type: "scheduled";
12839
- schedule: {
12840
- options: {
12841
- cron: string;
12842
- };
12843
- type: "cron";
12844
- accountId?: string | undefined;
12845
- metadata?: any;
12846
- } | {
12847
- options: {
12848
- seconds: number;
12849
- };
12850
- type: "interval";
12851
- accountId?: string | undefined;
12852
- metadata?: any;
12853
- };
12854
- }, {
12855
- type: "scheduled";
12856
- schedule: {
12857
- options: {
12858
- cron: string;
12859
- };
12860
- type: "cron";
12861
- accountId?: string | undefined;
12862
- metadata?: any;
12863
- } | {
12864
- options: {
12865
- seconds: number;
12866
- };
12867
- type: "interval";
12868
- accountId?: string | undefined;
12869
- metadata?: any;
12870
- };
12871
- }>, z.ZodObject<{
12872
- type: z.ZodLiteral<"invoke">;
12365
+ }>>;
12366
+ callback: z.ZodOptional<z.ZodObject<{
12367
+ enabled: z.ZodOptional<z.ZodBoolean>;
12368
+ timeoutInSeconds: z.ZodOptional<z.ZodNumber>;
12873
12369
  }, "strip", z.ZodTypeAny, {
12874
- type: "invoke";
12370
+ enabled?: boolean | undefined;
12371
+ timeoutInSeconds?: number | undefined;
12875
12372
  }, {
12876
- type: "invoke";
12877
- }>]>>;
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>;
12878
12483
  retry: z.ZodOptional<z.ZodObject<{
12879
12484
  /** The maximum number of times to retry the request. */
12880
12485
  limit: z.ZodOptional<z.ZodNumber>;
@@ -12949,51 +12554,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
12949
12554
  parentId?: string | undefined;
12950
12555
  operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
12951
12556
  displayKey?: string | undefined;
12952
- trigger?: {
12953
- type: "dynamic";
12954
- id: string;
12955
- } | {
12956
- type: "static";
12957
- title: (string | string[]) & (string | string[] | undefined);
12958
- rule: {
12959
- event: (string | string[]) & (string | string[] | undefined);
12960
- source: string;
12961
- payload?: EventFilter | undefined;
12962
- context?: EventFilter | undefined;
12963
- };
12964
- properties?: {
12965
- label: string;
12966
- text: string;
12967
- url?: string | undefined;
12968
- imageUrl?: string[] | undefined;
12969
- }[] | undefined;
12970
- link?: string | undefined;
12971
- help?: {
12972
- noRuns?: {
12973
- text: string;
12974
- link?: string | undefined;
12975
- } | undefined;
12976
- } | undefined;
12977
- } | {
12978
- type: "invoke";
12979
- } | {
12980
- type: "scheduled";
12981
- schedule: {
12982
- options: {
12983
- cron: string;
12984
- };
12985
- type: "cron";
12986
- accountId?: string | undefined;
12987
- metadata?: any;
12988
- } | {
12989
- options: {
12990
- seconds: number;
12991
- };
12992
- type: "interval";
12993
- accountId?: string | undefined;
12994
- metadata?: any;
12995
- };
12996
- } | undefined;
12997
12557
  retry?: {
12998
12558
  limit?: number | undefined;
12999
12559
  factor?: number | undefined;
@@ -13031,51 +12591,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
13031
12591
  parentId?: string | undefined;
13032
12592
  operation?: "fetch" | "fetch-response" | "fetch-poll" | undefined;
13033
12593
  displayKey?: string | undefined;
13034
- trigger?: {
13035
- type: "dynamic";
13036
- id: string;
13037
- } | {
13038
- type: "static";
13039
- title: (string | string[]) & (string | string[] | undefined);
13040
- rule: {
13041
- event: (string | string[]) & (string | string[] | undefined);
13042
- source: string;
13043
- payload?: EventFilter | undefined;
13044
- context?: EventFilter | undefined;
13045
- };
13046
- properties?: {
13047
- label: string;
13048
- text: string;
13049
- url?: string | undefined;
13050
- imageUrl?: string[] | undefined;
13051
- }[] | undefined;
13052
- link?: string | undefined;
13053
- help?: {
13054
- noRuns?: {
13055
- text: string;
13056
- link?: string | undefined;
13057
- } | undefined;
13058
- } | undefined;
13059
- } | {
13060
- type: "invoke";
13061
- } | {
13062
- type: "scheduled";
13063
- schedule: {
13064
- options: {
13065
- cron: string;
13066
- };
13067
- type: "cron";
13068
- accountId?: string | undefined;
13069
- metadata?: any;
13070
- } | {
13071
- options: {
13072
- seconds: number;
13073
- };
13074
- type: "interval";
13075
- accountId?: string | undefined;
13076
- metadata?: any;
13077
- };
13078
- } | undefined;
13079
12594
  retry?: {
13080
12595
  limit?: number | undefined;
13081
12596
  factor?: number | undefined;
@@ -13632,6 +13147,40 @@ declare const HttpSourceResponseSchema: z.ZodObject<{
13632
13147
  };
13633
13148
  metadata?: DeserializedJson | undefined;
13634
13149
  }>;
13150
+ declare const WebhookDeliveryResponseSchema: z.ZodObject<{
13151
+ response: z.ZodObject<{
13152
+ status: z.ZodNumber;
13153
+ body: z.ZodAny;
13154
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13155
+ }, "strip", z.ZodTypeAny, {
13156
+ status: number;
13157
+ body?: any;
13158
+ headers?: Record<string, string> | undefined;
13159
+ }, {
13160
+ status: number;
13161
+ body?: any;
13162
+ headers?: Record<string, string> | undefined;
13163
+ }>;
13164
+ verified: z.ZodBoolean;
13165
+ error: z.ZodOptional<z.ZodString>;
13166
+ }, "strip", z.ZodTypeAny, {
13167
+ response: {
13168
+ status: number;
13169
+ body?: any;
13170
+ headers?: Record<string, string> | undefined;
13171
+ };
13172
+ verified: boolean;
13173
+ error?: string | undefined;
13174
+ }, {
13175
+ response: {
13176
+ status: number;
13177
+ body?: any;
13178
+ headers?: Record<string, string> | undefined;
13179
+ };
13180
+ verified: boolean;
13181
+ error?: string | undefined;
13182
+ }>;
13183
+ type WebhookDeliveryResponse = z.infer<typeof WebhookDeliveryResponseSchema>;
13635
13184
  declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
13636
13185
  rule: z.ZodObject<{
13637
13186
  event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -14207,14 +13756,14 @@ type CreateExternalConnectionBody = z.infer<typeof CreateExternalConnectionBodyS
14207
13756
  declare const GetRunStatusesSchema: z.ZodObject<{
14208
13757
  run: z.ZodObject<{
14209
13758
  id: z.ZodString;
14210
- 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">]>;
14211
13760
  output: z.ZodOptional<z.ZodAny>;
14212
13761
  }, "strip", z.ZodTypeAny, {
14213
- 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";
14214
13763
  id: string;
14215
13764
  output?: any;
14216
13765
  }, {
14217
- 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";
14218
13767
  id: string;
14219
13768
  output?: any;
14220
13769
  }>;
@@ -14270,7 +13819,7 @@ declare const GetRunStatusesSchema: z.ZodObject<{
14270
13819
  state?: "loading" | "success" | "failure" | undefined;
14271
13820
  }[];
14272
13821
  run: {
14273
- 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";
14274
13823
  id: string;
14275
13824
  output?: any;
14276
13825
  };
@@ -14287,7 +13836,7 @@ declare const GetRunStatusesSchema: z.ZodObject<{
14287
13836
  state?: "loading" | "success" | "failure" | undefined;
14288
13837
  }[];
14289
13838
  run: {
14290
- 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";
14291
13840
  id: string;
14292
13841
  output?: any;
14293
13842
  };
@@ -14380,6 +13929,56 @@ declare const EphemeralEventDispatcherResponseBodySchema: z.ZodObject<{
14380
13929
  id: string;
14381
13930
  }>;
14382
13931
  type EphemeralEventDispatcherResponseBody = z.infer<typeof EphemeralEventDispatcherResponseBodySchema>;
13932
+ declare const KeyValueStoreResponseBodySchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
13933
+ action: z.ZodLiteral<"DELETE">;
13934
+ key: z.ZodString;
13935
+ deleted: z.ZodBoolean;
13936
+ }, "strip", z.ZodTypeAny, {
13937
+ key: string;
13938
+ action: "DELETE";
13939
+ deleted: boolean;
13940
+ }, {
13941
+ key: string;
13942
+ action: "DELETE";
13943
+ deleted: boolean;
13944
+ }>, z.ZodObject<{
13945
+ action: z.ZodLiteral<"GET">;
13946
+ key: z.ZodString;
13947
+ value: z.ZodOptional<z.ZodString>;
13948
+ }, "strip", z.ZodTypeAny, {
13949
+ key: string;
13950
+ action: "GET";
13951
+ value?: string | undefined;
13952
+ }, {
13953
+ key: string;
13954
+ action: "GET";
13955
+ value?: string | undefined;
13956
+ }>, z.ZodObject<{
13957
+ action: z.ZodLiteral<"HAS">;
13958
+ key: z.ZodString;
13959
+ has: z.ZodBoolean;
13960
+ }, "strip", z.ZodTypeAny, {
13961
+ key: string;
13962
+ action: "HAS";
13963
+ has: boolean;
13964
+ }, {
13965
+ key: string;
13966
+ action: "HAS";
13967
+ has: boolean;
13968
+ }>, z.ZodObject<{
13969
+ action: z.ZodLiteral<"SET">;
13970
+ key: z.ZodString;
13971
+ value: z.ZodOptional<z.ZodString>;
13972
+ }, "strip", z.ZodTypeAny, {
13973
+ key: string;
13974
+ action: "SET";
13975
+ value?: string | undefined;
13976
+ }, {
13977
+ key: string;
13978
+ action: "SET";
13979
+ value?: string | undefined;
13980
+ }>]>;
13981
+ type KeyValueStoreResponseBody = z.infer<typeof KeyValueStoreResponseBodySchema>;
14383
13982
 
14384
13983
  declare const EventExampleSchema: z.ZodObject<{
14385
13984
  id: z.ZodString;
@@ -16663,18 +16262,18 @@ declare const GetEventSchema: z.ZodObject<{
16663
16262
  /** The Run id */
16664
16263
  id: z.ZodString;
16665
16264
  /** The Run status */
16666
- 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">]>;
16667
16266
  /** When the run started */
16668
16267
  startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
16669
16268
  /** When the run completed */
16670
16269
  completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
16671
16270
  }, "strip", z.ZodTypeAny, {
16672
- 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";
16673
16272
  id: string;
16674
16273
  startedAt?: Date | null | undefined;
16675
16274
  completedAt?: Date | null | undefined;
16676
16275
  }, {
16677
- 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";
16678
16277
  id: string;
16679
16278
  startedAt?: Date | null | undefined;
16680
16279
  completedAt?: Date | null | undefined;
@@ -16684,7 +16283,7 @@ declare const GetEventSchema: z.ZodObject<{
16684
16283
  id: string;
16685
16284
  updatedAt: Date;
16686
16285
  runs: {
16687
- 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";
16688
16287
  id: string;
16689
16288
  startedAt?: Date | null | undefined;
16690
16289
  completedAt?: Date | null | undefined;
@@ -16695,7 +16294,7 @@ declare const GetEventSchema: z.ZodObject<{
16695
16294
  id: string;
16696
16295
  updatedAt: Date;
16697
16296
  runs: {
16698
- 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";
16699
16298
  id: string;
16700
16299
  startedAt?: Date | null | undefined;
16701
16300
  completedAt?: Date | null | undefined;
@@ -16802,7 +16401,7 @@ declare const JobRunStatusRecordSchema: z.ZodObject<{
16802
16401
  }>;
16803
16402
  type JobRunStatusRecord = z.infer<typeof JobRunStatusRecordSchema>;
16804
16403
 
16805
- 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">]>;
16806
16405
  declare const RunTaskSchema: z.ZodObject<{
16807
16406
  /** The Task id */
16808
16407
  id: z.ZodString;
@@ -16876,7 +16475,7 @@ declare const GetRunOptionsWithTaskDetailsSchema: z.ZodObject<{
16876
16475
  }>;
16877
16476
  type GetRunOptionsWithTaskDetails = z.infer<typeof GetRunOptionsWithTaskDetailsSchema>;
16878
16477
  declare const GetRunSchema: z.ZodObject<{
16879
- 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">]>;
16880
16479
  id: z.ZodString;
16881
16480
  startedAt: z.ZodNullable<z.ZodDate>;
16882
16481
  completedAt: z.ZodNullable<z.ZodDate>;
@@ -16924,7 +16523,7 @@ declare const GetRunSchema: z.ZodObject<{
16924
16523
  }>, "many">>;
16925
16524
  nextCursor: z.ZodOptional<z.ZodString>;
16926
16525
  }, "strip", z.ZodTypeAny, {
16927
- 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";
16928
16527
  id: string;
16929
16528
  startedAt: Date | null;
16930
16529
  completedAt: Date | null;
@@ -16944,7 +16543,7 @@ declare const GetRunSchema: z.ZodObject<{
16944
16543
  output?: any;
16945
16544
  nextCursor?: string | undefined;
16946
16545
  }, {
16947
- 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";
16948
16547
  id: string;
16949
16548
  startedAt: Date | null;
16950
16549
  completedAt: Date | null;
@@ -16984,7 +16583,7 @@ declare const GetRunsSchema: z.ZodObject<{
16984
16583
  /** The Run id */
16985
16584
  id: z.ZodString;
16986
16585
  /** The Run status */
16987
- 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">]>;
16988
16587
  /** When the run started */
16989
16588
  startedAt: z.ZodNullable<z.ZodDate>;
16990
16589
  /** When the run was last updated */
@@ -16992,13 +16591,13 @@ declare const GetRunsSchema: z.ZodObject<{
16992
16591
  /** When the run was completed */
16993
16592
  completedAt: z.ZodNullable<z.ZodDate>;
16994
16593
  }, "strip", z.ZodTypeAny, {
16995
- 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";
16996
16595
  id: string;
16997
16596
  startedAt: Date | null;
16998
16597
  completedAt: Date | null;
16999
16598
  updatedAt: Date | null;
17000
16599
  }, {
17001
- 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";
17002
16601
  id: string;
17003
16602
  startedAt: Date | null;
17004
16603
  completedAt: Date | null;
@@ -17008,7 +16607,7 @@ declare const GetRunsSchema: z.ZodObject<{
17008
16607
  nextCursor: z.ZodOptional<z.ZodString>;
17009
16608
  }, "strip", z.ZodTypeAny, {
17010
16609
  runs: {
17011
- 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";
17012
16611
  id: string;
17013
16612
  startedAt: Date | null;
17014
16613
  completedAt: Date | null;
@@ -17017,7 +16616,7 @@ declare const GetRunsSchema: z.ZodObject<{
17017
16616
  nextCursor?: string | undefined;
17018
16617
  }, {
17019
16618
  runs: {
17020
- 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";
17021
16620
  id: string;
17022
16621
  startedAt: Date | null;
17023
16622
  completedAt: Date | null;
@@ -17145,6 +16744,7 @@ declare const RequestWithRawBodySchema: z.ZodObject<{
17145
16744
  }>;
17146
16745
 
17147
16746
  declare function deepMergeFilters(...filters: EventFilter[]): EventFilter;
16747
+ declare function assertExhaustive(x: never): never;
17148
16748
 
17149
16749
  declare function calculateRetryAt(retryOptions: RetryOptions, attempts: number): Date | undefined;
17150
16750
  declare function calculateResetAt(resets: string | undefined | null, format: "unix_timestamp" | "iso_8601" | "iso_8601_duration_openai_variant" | "unix_timestamp_in_ms", now?: Date): Date | undefined;
@@ -17188,4 +16788,4 @@ declare const PLATFORM_FEATURES: {
17188
16788
  };
17189
16789
  declare function supportsFeature<TFeatureName extends keyof typeof PLATFORM_FEATURES>(featureName: TFeatureName, version: string): boolean;
17190
16790
 
17191
- export { API_VERSIONS, ApiEventLog, ApiEventLogSchema, 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, 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, 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, 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, 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, ValidateErrorResponseSchema, ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, addMissingVersionField, 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 };