@trigger.dev/core 2.3.18 → 3.0.0-beta.1

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.
@@ -0,0 +1,133 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const stringPatternMatchers: readonly [z.ZodObject<{
4
+ $endsWith: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ $endsWith: string;
7
+ }, {
8
+ $endsWith: string;
9
+ }>, z.ZodObject<{
10
+ $startsWith: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ $startsWith: string;
13
+ }, {
14
+ $startsWith: string;
15
+ }>, z.ZodObject<{
16
+ $ignoreCaseEquals: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ $ignoreCaseEquals: string;
19
+ }, {
20
+ $ignoreCaseEquals: string;
21
+ }>];
22
+ declare const EventMatcherSchema: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodBoolean, "many">, z.ZodArray<z.ZodUnion<[z.ZodObject<{
23
+ $endsWith: z.ZodString;
24
+ }, "strip", z.ZodTypeAny, {
25
+ $endsWith: string;
26
+ }, {
27
+ $endsWith: string;
28
+ }>, z.ZodObject<{
29
+ $startsWith: z.ZodString;
30
+ }, "strip", z.ZodTypeAny, {
31
+ $startsWith: string;
32
+ }, {
33
+ $startsWith: string;
34
+ }>, z.ZodObject<{
35
+ $ignoreCaseEquals: z.ZodString;
36
+ }, "strip", z.ZodTypeAny, {
37
+ $ignoreCaseEquals: string;
38
+ }, {
39
+ $ignoreCaseEquals: string;
40
+ }>, z.ZodObject<{
41
+ $exists: z.ZodBoolean;
42
+ }, "strip", z.ZodTypeAny, {
43
+ $exists: boolean;
44
+ }, {
45
+ $exists: boolean;
46
+ }>, z.ZodObject<{
47
+ $isNull: z.ZodBoolean;
48
+ }, "strip", z.ZodTypeAny, {
49
+ $isNull: boolean;
50
+ }, {
51
+ $isNull: boolean;
52
+ }>, z.ZodObject<{
53
+ $anythingBut: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ $anythingBut: string | number | boolean;
56
+ }, {
57
+ $anythingBut: string | number | boolean;
58
+ }>, z.ZodObject<{
59
+ $anythingBut: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodBoolean, "many">]>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ $anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
62
+ }, {
63
+ $anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
64
+ }>, z.ZodObject<{
65
+ $gt: z.ZodNumber;
66
+ }, "strip", z.ZodTypeAny, {
67
+ $gt: number;
68
+ }, {
69
+ $gt: number;
70
+ }>, z.ZodObject<{
71
+ $lt: z.ZodNumber;
72
+ }, "strip", z.ZodTypeAny, {
73
+ $lt: number;
74
+ }, {
75
+ $lt: number;
76
+ }>, z.ZodObject<{
77
+ $gte: z.ZodNumber;
78
+ }, "strip", z.ZodTypeAny, {
79
+ $gte: number;
80
+ }, {
81
+ $gte: number;
82
+ }>, z.ZodObject<{
83
+ $lte: z.ZodNumber;
84
+ }, "strip", z.ZodTypeAny, {
85
+ $lte: number;
86
+ }, {
87
+ $lte: number;
88
+ }>, z.ZodObject<{
89
+ $between: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ $between: [number, number];
92
+ }, {
93
+ $between: [number, number];
94
+ }>, z.ZodObject<{
95
+ $includes: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ $includes: string | number | boolean;
98
+ }, {
99
+ $includes: string | number | boolean;
100
+ }>, z.ZodObject<{
101
+ $not: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ $not: string | number | boolean;
104
+ }, {
105
+ $not: string | number | boolean;
106
+ }>]>, "many">]>;
107
+ type EventMatcher = z.infer<typeof EventMatcherSchema>;
108
+ /** A filter for matching against data */
109
+ type EventFilter = {
110
+ [key: string]: EventMatcher | EventFilter;
111
+ };
112
+ declare const EventFilterSchema: z.ZodType<EventFilter>;
113
+ declare const EventRuleSchema: z.ZodObject<{
114
+ event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
115
+ source: z.ZodString;
116
+ payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
117
+ context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ event: (string | string[]) & (string | string[] | undefined);
120
+ source: string;
121
+ payload?: EventFilter | undefined;
122
+ context?: EventFilter | undefined;
123
+ }, {
124
+ event: (string | string[]) & (string | string[] | undefined);
125
+ source: string;
126
+ payload?: EventFilter | undefined;
127
+ context?: EventFilter | undefined;
128
+ }>;
129
+ type EventRule = z.infer<typeof EventRuleSchema>;
130
+
131
+ declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
132
+
133
+ export { type EventFilter as E, EventFilterSchema as a, EventRuleSchema as b, type EventRule as c, eventFilterMatches as e, stringPatternMatchers as s };
@@ -0,0 +1,133 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const stringPatternMatchers: readonly [z.ZodObject<{
4
+ $endsWith: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ $endsWith: string;
7
+ }, {
8
+ $endsWith: string;
9
+ }>, z.ZodObject<{
10
+ $startsWith: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ $startsWith: string;
13
+ }, {
14
+ $startsWith: string;
15
+ }>, z.ZodObject<{
16
+ $ignoreCaseEquals: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ $ignoreCaseEquals: string;
19
+ }, {
20
+ $ignoreCaseEquals: string;
21
+ }>];
22
+ declare const EventMatcherSchema: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodBoolean, "many">, z.ZodArray<z.ZodUnion<[z.ZodObject<{
23
+ $endsWith: z.ZodString;
24
+ }, "strip", z.ZodTypeAny, {
25
+ $endsWith: string;
26
+ }, {
27
+ $endsWith: string;
28
+ }>, z.ZodObject<{
29
+ $startsWith: z.ZodString;
30
+ }, "strip", z.ZodTypeAny, {
31
+ $startsWith: string;
32
+ }, {
33
+ $startsWith: string;
34
+ }>, z.ZodObject<{
35
+ $ignoreCaseEquals: z.ZodString;
36
+ }, "strip", z.ZodTypeAny, {
37
+ $ignoreCaseEquals: string;
38
+ }, {
39
+ $ignoreCaseEquals: string;
40
+ }>, z.ZodObject<{
41
+ $exists: z.ZodBoolean;
42
+ }, "strip", z.ZodTypeAny, {
43
+ $exists: boolean;
44
+ }, {
45
+ $exists: boolean;
46
+ }>, z.ZodObject<{
47
+ $isNull: z.ZodBoolean;
48
+ }, "strip", z.ZodTypeAny, {
49
+ $isNull: boolean;
50
+ }, {
51
+ $isNull: boolean;
52
+ }>, z.ZodObject<{
53
+ $anythingBut: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ $anythingBut: string | number | boolean;
56
+ }, {
57
+ $anythingBut: string | number | boolean;
58
+ }>, z.ZodObject<{
59
+ $anythingBut: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodBoolean, "many">]>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ $anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
62
+ }, {
63
+ $anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
64
+ }>, z.ZodObject<{
65
+ $gt: z.ZodNumber;
66
+ }, "strip", z.ZodTypeAny, {
67
+ $gt: number;
68
+ }, {
69
+ $gt: number;
70
+ }>, z.ZodObject<{
71
+ $lt: z.ZodNumber;
72
+ }, "strip", z.ZodTypeAny, {
73
+ $lt: number;
74
+ }, {
75
+ $lt: number;
76
+ }>, z.ZodObject<{
77
+ $gte: z.ZodNumber;
78
+ }, "strip", z.ZodTypeAny, {
79
+ $gte: number;
80
+ }, {
81
+ $gte: number;
82
+ }>, z.ZodObject<{
83
+ $lte: z.ZodNumber;
84
+ }, "strip", z.ZodTypeAny, {
85
+ $lte: number;
86
+ }, {
87
+ $lte: number;
88
+ }>, z.ZodObject<{
89
+ $between: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ $between: [number, number];
92
+ }, {
93
+ $between: [number, number];
94
+ }>, z.ZodObject<{
95
+ $includes: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ $includes: string | number | boolean;
98
+ }, {
99
+ $includes: string | number | boolean;
100
+ }>, z.ZodObject<{
101
+ $not: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ $not: string | number | boolean;
104
+ }, {
105
+ $not: string | number | boolean;
106
+ }>]>, "many">]>;
107
+ type EventMatcher = z.infer<typeof EventMatcherSchema>;
108
+ /** A filter for matching against data */
109
+ type EventFilter = {
110
+ [key: string]: EventMatcher | EventFilter;
111
+ };
112
+ declare const EventFilterSchema: z.ZodType<EventFilter>;
113
+ declare const EventRuleSchema: z.ZodObject<{
114
+ event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
115
+ source: z.ZodString;
116
+ payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
117
+ context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ event: (string | string[]) & (string | string[] | undefined);
120
+ source: string;
121
+ payload?: EventFilter | undefined;
122
+ context?: EventFilter | undefined;
123
+ }, {
124
+ event: (string | string[]) & (string | string[] | undefined);
125
+ source: string;
126
+ payload?: EventFilter | undefined;
127
+ context?: EventFilter | undefined;
128
+ }>;
129
+ type EventRule = z.infer<typeof EventRuleSchema>;
130
+
131
+ declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
132
+
133
+ export { type EventFilter as E, EventFilterSchema as a, EventRuleSchema as b, type EventRule as c, eventFilterMatches as e, stringPatternMatchers as s };
package/dist/index.d.mts CHANGED
@@ -1,133 +1,7 @@
1
+ import { E as EventFilter } from './eventFilterMatches-2kHImluE.mjs';
2
+ export { a as EventFilterSchema, c as EventRule, b as EventRuleSchema, e as eventFilterMatches, s as stringPatternMatchers } from './eventFilterMatches-2kHImluE.mjs';
1
3
  import { z } from 'zod';
2
4
 
3
- declare const stringPatternMatchers: readonly [z.ZodObject<{
4
- $endsWith: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- $endsWith: string;
7
- }, {
8
- $endsWith: string;
9
- }>, z.ZodObject<{
10
- $startsWith: z.ZodString;
11
- }, "strip", z.ZodTypeAny, {
12
- $startsWith: string;
13
- }, {
14
- $startsWith: string;
15
- }>, z.ZodObject<{
16
- $ignoreCaseEquals: z.ZodString;
17
- }, "strip", z.ZodTypeAny, {
18
- $ignoreCaseEquals: string;
19
- }, {
20
- $ignoreCaseEquals: string;
21
- }>];
22
- declare const EventMatcherSchema: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodBoolean, "many">, z.ZodArray<z.ZodUnion<[z.ZodObject<{
23
- $endsWith: z.ZodString;
24
- }, "strip", z.ZodTypeAny, {
25
- $endsWith: string;
26
- }, {
27
- $endsWith: string;
28
- }>, z.ZodObject<{
29
- $startsWith: z.ZodString;
30
- }, "strip", z.ZodTypeAny, {
31
- $startsWith: string;
32
- }, {
33
- $startsWith: string;
34
- }>, z.ZodObject<{
35
- $ignoreCaseEquals: z.ZodString;
36
- }, "strip", z.ZodTypeAny, {
37
- $ignoreCaseEquals: string;
38
- }, {
39
- $ignoreCaseEquals: string;
40
- }>, z.ZodObject<{
41
- $exists: z.ZodBoolean;
42
- }, "strip", z.ZodTypeAny, {
43
- $exists: boolean;
44
- }, {
45
- $exists: boolean;
46
- }>, z.ZodObject<{
47
- $isNull: z.ZodBoolean;
48
- }, "strip", z.ZodTypeAny, {
49
- $isNull: boolean;
50
- }, {
51
- $isNull: boolean;
52
- }>, z.ZodObject<{
53
- $anythingBut: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
54
- }, "strip", z.ZodTypeAny, {
55
- $anythingBut: string | number | boolean;
56
- }, {
57
- $anythingBut: string | number | boolean;
58
- }>, z.ZodObject<{
59
- $anythingBut: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodBoolean, "many">]>;
60
- }, "strip", z.ZodTypeAny, {
61
- $anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
62
- }, {
63
- $anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
64
- }>, z.ZodObject<{
65
- $gt: z.ZodNumber;
66
- }, "strip", z.ZodTypeAny, {
67
- $gt: number;
68
- }, {
69
- $gt: number;
70
- }>, z.ZodObject<{
71
- $lt: z.ZodNumber;
72
- }, "strip", z.ZodTypeAny, {
73
- $lt: number;
74
- }, {
75
- $lt: number;
76
- }>, z.ZodObject<{
77
- $gte: z.ZodNumber;
78
- }, "strip", z.ZodTypeAny, {
79
- $gte: number;
80
- }, {
81
- $gte: number;
82
- }>, z.ZodObject<{
83
- $lte: z.ZodNumber;
84
- }, "strip", z.ZodTypeAny, {
85
- $lte: number;
86
- }, {
87
- $lte: number;
88
- }>, z.ZodObject<{
89
- $between: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
90
- }, "strip", z.ZodTypeAny, {
91
- $between: [number, number];
92
- }, {
93
- $between: [number, number];
94
- }>, z.ZodObject<{
95
- $includes: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
96
- }, "strip", z.ZodTypeAny, {
97
- $includes: string | number | boolean;
98
- }, {
99
- $includes: string | number | boolean;
100
- }>, z.ZodObject<{
101
- $not: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
102
- }, "strip", z.ZodTypeAny, {
103
- $not: string | number | boolean;
104
- }, {
105
- $not: string | number | boolean;
106
- }>]>, "many">]>;
107
- type EventMatcher = z.infer<typeof EventMatcherSchema>;
108
- /** A filter for matching against data */
109
- type EventFilter = {
110
- [key: string]: EventMatcher | EventFilter;
111
- };
112
- declare const EventFilterSchema: z.ZodType<EventFilter>;
113
- declare const EventRuleSchema: z.ZodObject<{
114
- event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
115
- source: z.ZodString;
116
- payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
117
- context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
118
- }, "strip", z.ZodTypeAny, {
119
- event: (string | string[]) & (string | string[] | undefined);
120
- source: string;
121
- payload?: EventFilter | undefined;
122
- context?: EventFilter | undefined;
123
- }, {
124
- event: (string | string[]) & (string | string[] | undefined);
125
- source: string;
126
- payload?: EventFilter | undefined;
127
- context?: EventFilter | undefined;
128
- }>;
129
- type EventRule = z.infer<typeof EventRuleSchema>;
130
-
131
5
  declare const LiteralSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
132
6
  type Literal = z.infer<typeof LiteralSchema>;
133
7
  type DeserializedJson = Literal | {
@@ -16766,8 +16640,6 @@ declare const replacements: ExampleReplacement[];
16766
16640
 
16767
16641
  declare function urlWithSearchParams(url: string, params: Record<string, string | number | boolean> | undefined): string;
16768
16642
 
16769
- declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
16770
-
16771
16643
  declare function requestFilterMatches(request: Request, filter: RequestFilter): Promise<boolean>;
16772
16644
  type ResponseFilterMatchResult = {
16773
16645
  match: boolean;
@@ -16775,61 +16647,6 @@ type ResponseFilterMatchResult = {
16775
16647
  };
16776
16648
  declare function responseFilterMatches(response: Response, filter: ResponseFilter): Promise<ResponseFilterMatchResult>;
16777
16649
 
16778
- declare const CreateAuthorizationCodeResponseSchema: z.ZodObject<{
16779
- url: z.ZodString;
16780
- authorizationCode: z.ZodString;
16781
- }, "strip", z.ZodTypeAny, {
16782
- url: string;
16783
- authorizationCode: string;
16784
- }, {
16785
- url: string;
16786
- authorizationCode: string;
16787
- }>;
16788
- type CreateAuthorizationCodeResponse = z.infer<typeof CreateAuthorizationCodeResponseSchema>;
16789
- declare const GetPersonalAccessTokenRequestSchema: z.ZodObject<{
16790
- authorizationCode: z.ZodString;
16791
- }, "strip", z.ZodTypeAny, {
16792
- authorizationCode: string;
16793
- }, {
16794
- authorizationCode: string;
16795
- }>;
16796
- type GetPersonalAccessTokenRequest = z.infer<typeof GetPersonalAccessTokenRequestSchema>;
16797
- declare const GetPersonalAccessTokenResponseSchema: z.ZodObject<{
16798
- token: z.ZodNullable<z.ZodObject<{
16799
- token: z.ZodString;
16800
- obfuscatedToken: z.ZodString;
16801
- }, "strip", z.ZodTypeAny, {
16802
- token: string;
16803
- obfuscatedToken: string;
16804
- }, {
16805
- token: string;
16806
- obfuscatedToken: string;
16807
- }>>;
16808
- }, "strip", z.ZodTypeAny, {
16809
- token: {
16810
- token: string;
16811
- obfuscatedToken: string;
16812
- } | null;
16813
- }, {
16814
- token: {
16815
- token: string;
16816
- obfuscatedToken: string;
16817
- } | null;
16818
- }>;
16819
- type GetPersonalAccessTokenResponse = z.infer<typeof GetPersonalAccessTokenResponseSchema>;
16820
-
16821
- declare const WhoAmIResponseSchema: z.ZodObject<{
16822
- userId: z.ZodString;
16823
- email: z.ZodString;
16824
- }, "strip", z.ZodTypeAny, {
16825
- userId: string;
16826
- email: string;
16827
- }, {
16828
- userId: string;
16829
- email: string;
16830
- }>;
16831
- type WhoAmIResponse = z.infer<typeof WhoAmIResponseSchema>;
16832
-
16833
16650
  declare const API_VERSIONS: {
16834
16651
  readonly LAZY_LOADED_CACHED_TASKS: "2023-09-29";
16835
16652
  readonly SERIALIZED_TASK_OUTPUT: "2023-11-01";
@@ -16840,4 +16657,4 @@ declare const PLATFORM_FEATURES: {
16840
16657
  };
16841
16658
  declare function supportsFeature<TFeatureName extends keyof typeof PLATFORM_FEATURES>(featureName: TFeatureName, version: string): boolean;
16842
16659
 
16843
- export { API_VERSIONS, type ApiEventLog, ApiEventLogSchema, type AsyncMap, type AutoYieldConfig, AutoYieldConfigSchema, type AutoYieldMetadata, AutoYieldMetadataSchema, type CachedTask, CachedTaskSchema, type CancelRunsForEvent, CancelRunsForEventSchema, type CancelRunsForJob, CancelRunsForJobSchema, type ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, type CompleteTaskBodyInput, CompleteTaskBodyInputSchema, type CompleteTaskBodyOutput, type CompleteTaskBodyV2Input, CompleteTaskBodyV2InputSchema, ConcurrencyLimitOptionsSchema, type ConnectionAuth, ConnectionAuthSchema, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, type CreateExternalConnectionBody, CreateExternalConnectionBodySchema, type CreateRunResponseBody, CreateRunResponseBodySchema, type CronMetadata, CronMetadataSchema, type CronOptions, CronOptionsSchema, DELIVER_WEBHOOK_REQUEST, type DeliverEventResponse, DeliverEventResponseSchema, type DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, type DisplayProperty, DisplayPropertySchema, type DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, type EndpointIndexError, EndpointIndexErrorSchema, type EphemeralEventDispatcherRequestBody, EphemeralEventDispatcherRequestBodySchema, type EphemeralEventDispatcherResponseBody, EphemeralEventDispatcherResponseBodySchema, type ErrorWithStack, ErrorWithStackSchema, type EventExample, EventExampleSchema, type EventFilter, EventFilterSchema, type EventRule, EventRuleSchema, EventSpecificationSchema, type ExampleReplacement, ExecuteJobHeadersSchema, ExecuteJobRunMetadataSchema, type FailTaskBodyInput, FailTaskBodyInputSchema, type FailedRunNotification, type FetchOperation, FetchOperationSchema, type FetchPollOperation, FetchPollOperationSchema, type FetchRequestInit, FetchRequestInitSchema, type FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, type FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, type FetchRetryOptions, FetchRetryOptionsSchema, type FetchRetryStrategy, FetchRetryStrategySchema, type FetchTimeoutOptions, FetchTimeoutOptionsSchema, type GetEndpointIndexResponse, GetEndpointIndexResponseSchema, type GetEvent, GetEventSchema, type GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, type GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, type GetRun, type GetRunOptions, type GetRunOptionsWithTaskDetails, GetRunSchema, type GetRunStatuses, GetRunStatusesSchema, type GetRunsOptions, GetRunsSchema, HTTPMethodUnionSchema, type HandleTriggerSource, HandleTriggerSourceSchema, type HttpEndpointMetadata, HttpEndpointRequestHeadersSchema, type HttpMethod, type HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, type HttpSourceResponseMetadata, HttpSourceResponseSchema, type IndexEndpointResponse, IndexEndpointResponseSchema, type IndexEndpointStats, type InitialStatusUpdate, InitializeCronScheduleBodySchema, type InitializeTriggerBody, InitializeTriggerBodySchema, type IntegrationConfig, IntegrationConfigSchema, type IntegrationMetadata, IntegrationMetadataSchema, type IntervalMetadata, IntervalMetadataSchema, type IntervalOptions, IntervalOptionsSchema, type InvokeJobRequestBody, InvokeJobRequestBodySchema, InvokeJobResponseSchema, type InvokeOptions, InvokeOptionsSchema, InvokeTriggerMetadataSchema, type JobMetadata, JobMetadataSchema, type JobRunStatusRecord, JobRunStatusRecordSchema, type KeyValueStoreResponseBody, KeyValueStoreResponseBodySchema, type LogMessage, LogMessageSchema, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, type MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, type MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, type NormalizedRequest, NormalizedRequestSchema, type NormalizedResponse, NormalizedResponseSchema, type OverridableRunTaskOptions, PLATFORM_FEATURES, PongErrorResponseSchema, type PongResponse, PongResponseSchema, PongSuccessResponseSchema, type PreprocessRunBody, PreprocessRunBodySchema, type PreprocessRunResponse, PreprocessRunResponseSchema, type Prettify, type QueueOptions, QueueOptionsSchema, REGISTER_SOURCE_EVENT_V1, REGISTER_SOURCE_EVENT_V2, REGISTER_WEBHOOK, type RawEvent, RawEventSchema, RedactSchema, type RedactString, RedactStringSchema, type RegisterCronScheduleBody, type RegisterDynamicSchedulePayload, RegisterDynamicSchedulePayloadSchema, RegisterHTTPTriggerSourceBodySchema, type RegisterIntervalScheduleBody, RegisterIntervalScheduleBodySchema, RegisterSMTPTriggerSourceBodySchema, RegisterSQSTriggerSourceBodySchema, type RegisterScheduleBody, RegisterScheduleBodySchema, type RegisterScheduleResponseBody, RegisterScheduleResponseBodySchema, RegisterSourceChannelBodySchema, type RegisterSourceEventOptions, RegisterSourceEventSchemaV1, RegisterSourceEventSchemaV2, type RegisterSourceEventV1, type RegisterSourceEventV2, RegisterTriggerBodySchemaV1, RegisterTriggerBodySchemaV2, type RegisterTriggerBodyV1, type RegisterTriggerBodyV2, type RegisterTriggerSource, RegisterTriggerSourceSchema, type RegisterWebhookPayload, RegisterWebhookPayloadSchema, type RegisterWebhookSource, RegisterWebhookSourceSchema, type RegisteredOptionsDiff, type RequestFilter, RequestFilterSchema, RequestWithRawBodySchema, type ResponseFilter, type ResponseFilterMatchResult, ResponseFilterSchema, type RetryOptions, RetryOptionsSchema, type RunJobAutoYieldExecutionError, RunJobAutoYieldExecutionErrorSchema, type RunJobAutoYieldWithCompletedTaskExecutionError, RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, type RunJobBody, RunJobBodySchema, type RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, type RunJobError, type RunJobErrorResponse, RunJobErrorResponseSchema, RunJobErrorSchema, type RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, type RunJobResponse, RunJobResponseSchema, type RunJobResumeWithParallelTask, RunJobResumeWithParallelTaskSchema, type RunJobResumeWithTask, RunJobResumeWithTaskSchema, type RunJobRetryWithTask, RunJobRetryWithTaskSchema, type RunJobSuccess, RunJobSuccessSchema, type RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, type RunJobYieldExecutionError, RunJobYieldExecutionErrorSchema, type RunNotification, type RunNotificationAccountMetadata, type RunNotificationEnvMetadata, type RunNotificationInvocationMetadata, type RunNotificationJobMetadata, type RunNotificationOrgMetadata, type RunNotificationProjectMetadata, type RunNotificationRunMetadata, type RunSourceContext, RunSourceContextSchema, RunStatusSchema, type RunTaskBodyInput, RunTaskBodyInputSchema, type RunTaskBodyOutput, RunTaskBodyOutputSchema, type RunTaskOptions, RunTaskOptionsSchema, type RunTaskResponseWithCachedTasksBody, RunTaskResponseWithCachedTasksBodySchema, RunTaskSchema, type RunTaskWithSubtasks, type RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, type ScheduleMetadata, ScheduleMetadataSchema, type ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, type SchemaError, SchemaErrorSchema, SendBulkEventsBodySchema, type SendEvent, type SendEventBody, SendEventBodySchema, type SendEventOptions, SendEventOptionsSchema, type SerializableJson, SerializableJsonSchema, type ServerTask, ServerTaskSchema, type SourceEventOption, type SourceMetadataV1, type SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, type StatusHistory, StatusHistorySchema, type StatusUpdate, type StatusUpdateData, StatusUpdateSchema, type StatusUpdateState, StatusUpdateStateSchema, type StringMatch, type Style, type StyleName, StyleSchema, type SuccessfulRunNotification, TaskSchema, type TaskStatus, TaskStatusSchema, TriggerHelpSchema, type TriggerMetadata, TriggerMetadataSchema, type TriggerSource, TriggerSourceSchema, type UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, type UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, type UpdateWebhookBody, UpdateWebhookBodySchema, ValidateErrorResponseSchema, type ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, type WebhookContextMetadata, WebhookContextMetadataSchema, type WebhookDeliveryResponse, WebhookDeliveryResponseSchema, type WebhookMetadata, WebhookMetadataSchema, type WebhookSourceRequestHeaders, WebhookSourceRequestHeadersSchema, type WhoAmIResponse, WhoAmIResponseSchema, addMissingVersionField, assertExhaustive, calculateResetAt, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, eventFilterMatches, parseEndpointIndexStats, replacements, requestFilterMatches, responseFilterMatches, stringPatternMatchers, supportsFeature, urlWithSearchParams };
16660
+ export { API_VERSIONS, type ApiEventLog, ApiEventLogSchema, type AsyncMap, type AutoYieldConfig, AutoYieldConfigSchema, type AutoYieldMetadata, AutoYieldMetadataSchema, type CachedTask, CachedTaskSchema, type CancelRunsForEvent, CancelRunsForEventSchema, type CancelRunsForJob, CancelRunsForJobSchema, type ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, type CompleteTaskBodyInput, CompleteTaskBodyInputSchema, type CompleteTaskBodyOutput, type CompleteTaskBodyV2Input, CompleteTaskBodyV2InputSchema, ConcurrencyLimitOptionsSchema, type ConnectionAuth, ConnectionAuthSchema, type CreateExternalConnectionBody, CreateExternalConnectionBodySchema, type CreateRunResponseBody, CreateRunResponseBodySchema, type CronMetadata, CronMetadataSchema, type CronOptions, CronOptionsSchema, DELIVER_WEBHOOK_REQUEST, type DeliverEventResponse, DeliverEventResponseSchema, type DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, type DisplayProperty, DisplayPropertySchema, type DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, type EndpointIndexError, EndpointIndexErrorSchema, type EphemeralEventDispatcherRequestBody, EphemeralEventDispatcherRequestBodySchema, type EphemeralEventDispatcherResponseBody, EphemeralEventDispatcherResponseBodySchema, type ErrorWithStack, ErrorWithStackSchema, type EventExample, EventExampleSchema, EventFilter, EventSpecificationSchema, type ExampleReplacement, ExecuteJobHeadersSchema, ExecuteJobRunMetadataSchema, type FailTaskBodyInput, FailTaskBodyInputSchema, type FailedRunNotification, type FetchOperation, FetchOperationSchema, type FetchPollOperation, FetchPollOperationSchema, type FetchRequestInit, FetchRequestInitSchema, type FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, type FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, type FetchRetryOptions, FetchRetryOptionsSchema, type FetchRetryStrategy, FetchRetryStrategySchema, type FetchTimeoutOptions, FetchTimeoutOptionsSchema, type GetEndpointIndexResponse, GetEndpointIndexResponseSchema, type GetEvent, GetEventSchema, type GetRun, type GetRunOptions, type GetRunOptionsWithTaskDetails, GetRunSchema, type GetRunStatuses, GetRunStatusesSchema, type GetRunsOptions, GetRunsSchema, HTTPMethodUnionSchema, type HandleTriggerSource, HandleTriggerSourceSchema, type HttpEndpointMetadata, HttpEndpointRequestHeadersSchema, type HttpMethod, type HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, type HttpSourceResponseMetadata, HttpSourceResponseSchema, type IndexEndpointResponse, IndexEndpointResponseSchema, type IndexEndpointStats, type InitialStatusUpdate, InitializeCronScheduleBodySchema, type InitializeTriggerBody, InitializeTriggerBodySchema, type IntegrationConfig, IntegrationConfigSchema, type IntegrationMetadata, IntegrationMetadataSchema, type IntervalMetadata, IntervalMetadataSchema, type IntervalOptions, IntervalOptionsSchema, type InvokeJobRequestBody, InvokeJobRequestBodySchema, InvokeJobResponseSchema, type InvokeOptions, InvokeOptionsSchema, InvokeTriggerMetadataSchema, type JobMetadata, JobMetadataSchema, type JobRunStatusRecord, JobRunStatusRecordSchema, type KeyValueStoreResponseBody, KeyValueStoreResponseBodySchema, type LogMessage, LogMessageSchema, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, type MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, type MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, type NormalizedRequest, NormalizedRequestSchema, type NormalizedResponse, NormalizedResponseSchema, type OverridableRunTaskOptions, PLATFORM_FEATURES, PongErrorResponseSchema, type PongResponse, PongResponseSchema, PongSuccessResponseSchema, type PreprocessRunBody, PreprocessRunBodySchema, type PreprocessRunResponse, PreprocessRunResponseSchema, type Prettify, type QueueOptions, QueueOptionsSchema, REGISTER_SOURCE_EVENT_V1, REGISTER_SOURCE_EVENT_V2, REGISTER_WEBHOOK, type RawEvent, RawEventSchema, RedactSchema, type RedactString, RedactStringSchema, type RegisterCronScheduleBody, type RegisterDynamicSchedulePayload, RegisterDynamicSchedulePayloadSchema, RegisterHTTPTriggerSourceBodySchema, type RegisterIntervalScheduleBody, RegisterIntervalScheduleBodySchema, RegisterSMTPTriggerSourceBodySchema, RegisterSQSTriggerSourceBodySchema, type RegisterScheduleBody, RegisterScheduleBodySchema, type RegisterScheduleResponseBody, RegisterScheduleResponseBodySchema, RegisterSourceChannelBodySchema, type RegisterSourceEventOptions, RegisterSourceEventSchemaV1, RegisterSourceEventSchemaV2, type RegisterSourceEventV1, type RegisterSourceEventV2, RegisterTriggerBodySchemaV1, RegisterTriggerBodySchemaV2, type RegisterTriggerBodyV1, type RegisterTriggerBodyV2, type RegisterTriggerSource, RegisterTriggerSourceSchema, type RegisterWebhookPayload, RegisterWebhookPayloadSchema, type RegisterWebhookSource, RegisterWebhookSourceSchema, type RegisteredOptionsDiff, type RequestFilter, RequestFilterSchema, RequestWithRawBodySchema, type ResponseFilter, type ResponseFilterMatchResult, ResponseFilterSchema, type RetryOptions, RetryOptionsSchema, type RunJobAutoYieldExecutionError, RunJobAutoYieldExecutionErrorSchema, type RunJobAutoYieldWithCompletedTaskExecutionError, RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, type RunJobBody, RunJobBodySchema, type RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, type RunJobError, type RunJobErrorResponse, RunJobErrorResponseSchema, RunJobErrorSchema, type RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, type RunJobResponse, RunJobResponseSchema, type RunJobResumeWithParallelTask, RunJobResumeWithParallelTaskSchema, type RunJobResumeWithTask, RunJobResumeWithTaskSchema, type RunJobRetryWithTask, RunJobRetryWithTaskSchema, type RunJobSuccess, RunJobSuccessSchema, type RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, type RunJobYieldExecutionError, RunJobYieldExecutionErrorSchema, type RunNotification, type RunNotificationAccountMetadata, type RunNotificationEnvMetadata, type RunNotificationInvocationMetadata, type RunNotificationJobMetadata, type RunNotificationOrgMetadata, type RunNotificationProjectMetadata, type RunNotificationRunMetadata, type RunSourceContext, RunSourceContextSchema, RunStatusSchema, type RunTaskBodyInput, RunTaskBodyInputSchema, type RunTaskBodyOutput, RunTaskBodyOutputSchema, type RunTaskOptions, RunTaskOptionsSchema, type RunTaskResponseWithCachedTasksBody, RunTaskResponseWithCachedTasksBodySchema, RunTaskSchema, type RunTaskWithSubtasks, type RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, type ScheduleMetadata, ScheduleMetadataSchema, type ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, type SchemaError, SchemaErrorSchema, SendBulkEventsBodySchema, type SendEvent, type SendEventBody, SendEventBodySchema, type SendEventOptions, SendEventOptionsSchema, type SerializableJson, SerializableJsonSchema, type ServerTask, ServerTaskSchema, type SourceEventOption, type SourceMetadataV1, type SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, type StatusHistory, StatusHistorySchema, type StatusUpdate, type StatusUpdateData, StatusUpdateSchema, type StatusUpdateState, StatusUpdateStateSchema, type StringMatch, type Style, type StyleName, StyleSchema, type SuccessfulRunNotification, TaskSchema, type TaskStatus, TaskStatusSchema, TriggerHelpSchema, type TriggerMetadata, TriggerMetadataSchema, type TriggerSource, TriggerSourceSchema, type UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, type UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, type UpdateWebhookBody, UpdateWebhookBodySchema, ValidateErrorResponseSchema, type ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, type WebhookContextMetadata, WebhookContextMetadataSchema, type WebhookDeliveryResponse, WebhookDeliveryResponseSchema, type WebhookMetadata, WebhookMetadataSchema, type WebhookSourceRequestHeaders, WebhookSourceRequestHeadersSchema, addMissingVersionField, assertExhaustive, calculateResetAt, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, parseEndpointIndexStats, replacements, requestFilterMatches, responseFilterMatches, supportsFeature, urlWithSearchParams };