mcp-event-intelligence 0.4.0 → 0.6.0
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/CHANGELOG.md +100 -0
- package/README.md +107 -26
- package/SECURITY.md +4 -4
- package/bin/mcp-event-intelligence.mjs +3 -3
- package/dist/src/composite/engine.d.ts +14 -4
- package/dist/src/composite/engine.js +533 -208
- package/dist/src/composite/matching.d.ts +1 -5
- package/dist/src/composite/matching.js +45 -54
- package/dist/src/composite/runtimeSupport.js +10 -6
- package/dist/src/composite/store.d.ts +38 -4
- package/dist/src/composite/temporal.d.ts +0 -17
- package/dist/src/composite/temporal.js +0 -266
- package/dist/src/intelligenceProtocol/activationSchemas.d.ts +38 -3
- package/dist/src/intelligenceProtocol/activationSchemas.js +5 -3
- package/dist/src/intelligenceProtocol/index.d.ts +12 -9
- package/dist/src/intelligenceProtocol/index.js +6 -5
- package/dist/src/intelligenceProtocol/lifecycle.js +2 -10
- package/dist/src/intelligenceProtocol/operatorRegistry.d.ts +300 -0
- package/dist/src/intelligenceProtocol/operatorRegistry.js +338 -0
- package/dist/src/intelligenceProtocol/patternV2Schemas.d.ts +188 -0
- package/dist/src/intelligenceProtocol/patternV2Schemas.js +801 -0
- package/dist/src/intelligenceProtocol/schemas.d.ts +4 -189
- package/dist/src/intelligenceProtocol/schemas.js +3 -97
- package/dist/src/intelligenceProtocol/triggerPlanSchemas.d.ts +114 -38
- package/dist/src/intelligenceProtocol/triggerPlanSchemas.js +27 -18
- package/dist/src/intelligenceProtocol/triggerSchemas.d.ts +268 -213
- package/dist/src/intelligenceProtocol/triggerSchemas.js +155 -169
- package/dist/src/intelligenceProtocol/version.d.ts +2 -2
- package/dist/src/intelligenceProtocol/version.js +2 -2
- package/dist/src/mcpEvents/consumer.d.ts +1 -0
- package/dist/src/mcpEvents/consumer.js +1 -0
- package/dist/src/patternV2/evaluator.d.ts +51 -0
- package/dist/src/patternV2/evaluator.js +986 -0
- package/dist/src/semantic/types.d.ts +6 -0
- package/dist/src/semantic/typesafeJevEvaluator.d.ts +1 -0
- package/dist/src/semantic/typesafeJevEvaluator.js +6 -0
- package/package.json +9 -3
- package/scripts/host-integration.d.mts +54 -4
- package/scripts/host-integration.mjs +25 -4
- package/scripts/lib/activation-hydrator.mjs +13 -12
- package/scripts/lib/composite-event-consumer.mjs +10 -28
- package/scripts/lib/composite-wake-coordinator.mjs +19 -19
- package/scripts/lib/derived-contract-registry.mjs +4 -4
- package/scripts/lib/derived-event-coordinator.mjs +69 -6
- package/scripts/lib/local-event-intelligence-runtime.mjs +35 -3
- package/scripts/lib/mcp-events-client.mjs +97 -55
- package/scripts/lib/mcp-events-compatibility.mjs +54 -0
- package/scripts/lib/persistent-event-store.mjs +228 -61
- package/scripts/lib/store-capabilities.mjs +88 -0
- package/scripts/lib/store-conformance.mjs +127 -0
- package/scripts/lib/temporal-deadline-scheduler.mjs +3 -3
- package/scripts/lib/trigger-control-plane.mjs +202 -53
- package/scripts/lib/trigger-inspector.mjs +50 -147
- package/scripts/lib/trigger-planner.mjs +141 -52
- package/scripts/lib/wake-retry-scheduler.mjs +2 -19
- package/scripts/mcp-stdio-server.mjs +46 -61
- package/scripts/service.mjs +19 -138
- package/server.json +4 -4
- package/dist/src/intelligenceProtocol/invariants.d.ts +0 -3
- package/dist/src/intelligenceProtocol/invariants.js +0 -36
- package/dist/src/intelligenceProtocol/mapper.d.ts +0 -14
- package/dist/src/intelligenceProtocol/mapper.js +0 -28
- package/scripts/lib/event-processor.mjs +0 -624
- package/scripts/lib/http-wake-deliverer.mjs +0 -31
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const COMPOSITE_TRIGGER_PROTOCOL_VERSION: "0.
|
|
3
|
-
export declare const COMPOSITE_TRIGGER_SCHEMA_VERSION: "trigger.v0.
|
|
2
|
+
export declare const COMPOSITE_TRIGGER_PROTOCOL_VERSION: "0.2.0";
|
|
3
|
+
export declare const COMPOSITE_TRIGGER_SCHEMA_VERSION: "trigger.v0.2";
|
|
4
4
|
export declare const StructuredPredicateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
5
|
path: z.ZodString;
|
|
6
6
|
op: z.ZodLiteral<"eq">;
|
|
@@ -13,14 +13,50 @@ export declare const StructuredPredicateSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
13
13
|
path: z.ZodString;
|
|
14
14
|
op: z.ZodLiteral<"contains">;
|
|
15
15
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
path: z.ZodString;
|
|
18
|
+
op: z.ZodLiteral<"startsWith">;
|
|
19
|
+
value: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
path: z.ZodString;
|
|
22
|
+
op: z.ZodLiteral<"endsWith">;
|
|
23
|
+
value: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
path: z.ZodString;
|
|
26
|
+
op: z.ZodLiteral<"regex">;
|
|
27
|
+
value: z.ZodString;
|
|
28
|
+
flags: z.ZodOptional<z.ZodString>;
|
|
16
29
|
}, z.core.$strip>, z.ZodObject<{
|
|
17
30
|
path: z.ZodString;
|
|
18
31
|
op: z.ZodLiteral<"in">;
|
|
19
32
|
value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
path: z.ZodString;
|
|
35
|
+
op: z.ZodLiteral<"notIn">;
|
|
36
|
+
value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
path: z.ZodString;
|
|
39
|
+
op: z.ZodLiteral<"between">;
|
|
40
|
+
value: z.ZodTuple<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>], null>;
|
|
20
41
|
}, z.core.$strip>, z.ZodObject<{
|
|
21
42
|
path: z.ZodString;
|
|
22
43
|
op: z.ZodLiteral<"exists">;
|
|
23
44
|
value: z.ZodDefault<z.ZodBoolean>;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
path: z.ZodString;
|
|
47
|
+
op: z.ZodLiteral<"isNull">;
|
|
48
|
+
value: z.ZodDefault<z.ZodBoolean>;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
path: z.ZodString;
|
|
51
|
+
op: z.ZodLiteral<"type">;
|
|
52
|
+
value: z.ZodEnum<{
|
|
53
|
+
string: "string";
|
|
54
|
+
number: "number";
|
|
55
|
+
boolean: "boolean";
|
|
56
|
+
object: "object";
|
|
57
|
+
null: "null";
|
|
58
|
+
array: "array";
|
|
59
|
+
}>;
|
|
24
60
|
}, z.core.$strip>, z.ZodObject<{
|
|
25
61
|
path: z.ZodString;
|
|
26
62
|
op: z.ZodLiteral<"gt">;
|
|
@@ -56,14 +92,50 @@ export declare const TriggerClauseSchema: z.ZodObject<{
|
|
|
56
92
|
path: z.ZodString;
|
|
57
93
|
op: z.ZodLiteral<"contains">;
|
|
58
94
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
+
path: z.ZodString;
|
|
97
|
+
op: z.ZodLiteral<"startsWith">;
|
|
98
|
+
value: z.ZodString;
|
|
99
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
100
|
+
path: z.ZodString;
|
|
101
|
+
op: z.ZodLiteral<"endsWith">;
|
|
102
|
+
value: z.ZodString;
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
+
path: z.ZodString;
|
|
105
|
+
op: z.ZodLiteral<"regex">;
|
|
106
|
+
value: z.ZodString;
|
|
107
|
+
flags: z.ZodOptional<z.ZodString>;
|
|
59
108
|
}, z.core.$strip>, z.ZodObject<{
|
|
60
109
|
path: z.ZodString;
|
|
61
110
|
op: z.ZodLiteral<"in">;
|
|
62
111
|
value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
|
+
path: z.ZodString;
|
|
114
|
+
op: z.ZodLiteral<"notIn">;
|
|
115
|
+
value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
+
path: z.ZodString;
|
|
118
|
+
op: z.ZodLiteral<"between">;
|
|
119
|
+
value: z.ZodTuple<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>], null>;
|
|
63
120
|
}, z.core.$strip>, z.ZodObject<{
|
|
64
121
|
path: z.ZodString;
|
|
65
122
|
op: z.ZodLiteral<"exists">;
|
|
66
123
|
value: z.ZodDefault<z.ZodBoolean>;
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
+
path: z.ZodString;
|
|
126
|
+
op: z.ZodLiteral<"isNull">;
|
|
127
|
+
value: z.ZodDefault<z.ZodBoolean>;
|
|
128
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
+
path: z.ZodString;
|
|
130
|
+
op: z.ZodLiteral<"type">;
|
|
131
|
+
value: z.ZodEnum<{
|
|
132
|
+
string: "string";
|
|
133
|
+
number: "number";
|
|
134
|
+
boolean: "boolean";
|
|
135
|
+
object: "object";
|
|
136
|
+
null: "null";
|
|
137
|
+
array: "array";
|
|
138
|
+
}>;
|
|
67
139
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
140
|
path: z.ZodString;
|
|
69
141
|
op: z.ZodLiteral<"gt">;
|
|
@@ -82,93 +154,6 @@ export declare const TriggerClauseSchema: z.ZodObject<{
|
|
|
82
154
|
value: z.ZodNumber;
|
|
83
155
|
}, z.core.$strip>], "op">>>;
|
|
84
156
|
}, z.core.$strip>;
|
|
85
|
-
export declare const CalendarTemporalConditionSchema: z.ZodObject<{
|
|
86
|
-
id: z.ZodString;
|
|
87
|
-
kind: z.ZodLiteral<"calendar">;
|
|
88
|
-
ref: z.ZodString;
|
|
89
|
-
timezone: z.ZodString;
|
|
90
|
-
before: z.ZodOptional<z.ZodString>;
|
|
91
|
-
after: z.ZodOptional<z.ZodString>;
|
|
92
|
-
weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
93
|
-
dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
94
|
-
dateRange: z.ZodOptional<z.ZodObject<{
|
|
95
|
-
start: z.ZodString;
|
|
96
|
-
end: z.ZodString;
|
|
97
|
-
}, z.core.$strip>>;
|
|
98
|
-
dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
99
|
-
}, z.core.$strict>;
|
|
100
|
-
export declare const AbsenceTemporalConditionSchema: z.ZodObject<{
|
|
101
|
-
id: z.ZodString;
|
|
102
|
-
kind: z.ZodLiteral<"absence">;
|
|
103
|
-
ref: z.ZodString;
|
|
104
|
-
afterRef: z.ZodString;
|
|
105
|
-
forMs: z.ZodOptional<z.ZodNumber>;
|
|
106
|
-
untilLocalTime: z.ZodOptional<z.ZodString>;
|
|
107
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
108
|
-
}, z.core.$strip>;
|
|
109
|
-
export declare const TemporalConditionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
110
|
-
id: z.ZodString;
|
|
111
|
-
kind: z.ZodLiteral<"calendar">;
|
|
112
|
-
ref: z.ZodString;
|
|
113
|
-
timezone: z.ZodString;
|
|
114
|
-
before: z.ZodOptional<z.ZodString>;
|
|
115
|
-
after: z.ZodOptional<z.ZodString>;
|
|
116
|
-
weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
117
|
-
dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
|
-
dateRange: z.ZodOptional<z.ZodObject<{
|
|
119
|
-
start: z.ZodString;
|
|
120
|
-
end: z.ZodString;
|
|
121
|
-
}, z.core.$strip>>;
|
|
122
|
-
dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
123
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
124
|
-
id: z.ZodString;
|
|
125
|
-
kind: z.ZodLiteral<"absence">;
|
|
126
|
-
ref: z.ZodString;
|
|
127
|
-
afterRef: z.ZodString;
|
|
128
|
-
forMs: z.ZodOptional<z.ZodNumber>;
|
|
129
|
-
untilLocalTime: z.ZodOptional<z.ZodString>;
|
|
130
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
131
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
132
|
-
id: z.ZodString;
|
|
133
|
-
kind: z.ZodLiteral<"not">;
|
|
134
|
-
ref: z.ZodString;
|
|
135
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
136
|
-
id: z.ZodString;
|
|
137
|
-
kind: z.ZodLiteral<"unless">;
|
|
138
|
-
ref: z.ZodString;
|
|
139
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
140
|
-
id: z.ZodString;
|
|
141
|
-
kind: z.ZodLiteral<"after">;
|
|
142
|
-
ref: z.ZodString;
|
|
143
|
-
afterRef: z.ZodString;
|
|
144
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
145
|
-
id: z.ZodString;
|
|
146
|
-
kind: z.ZodLiteral<"until">;
|
|
147
|
-
ref: z.ZodString;
|
|
148
|
-
beforeRef: z.ZodString;
|
|
149
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
150
|
-
id: z.ZodString;
|
|
151
|
-
kind: z.ZodLiteral<"debounce">;
|
|
152
|
-
ref: z.ZodString;
|
|
153
|
-
forMs: z.ZodNumber;
|
|
154
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
-
id: z.ZodString;
|
|
156
|
-
kind: z.ZodLiteral<"threshold">;
|
|
157
|
-
ref: z.ZodString;
|
|
158
|
-
atLeast: z.ZodNumber;
|
|
159
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
-
id: z.ZodString;
|
|
161
|
-
kind: z.ZodLiteral<"rate">;
|
|
162
|
-
ref: z.ZodString;
|
|
163
|
-
atLeast: z.ZodNumber;
|
|
164
|
-
perMs: z.ZodNumber;
|
|
165
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
166
|
-
id: z.ZodString;
|
|
167
|
-
kind: z.ZodLiteral<"distinct">;
|
|
168
|
-
ref: z.ZodString;
|
|
169
|
-
path: z.ZodString;
|
|
170
|
-
atLeast: z.ZodNumber;
|
|
171
|
-
}, z.core.$strip>], "kind">;
|
|
172
157
|
export declare const DerivedEventProjectionSchema: z.ZodObject<{
|
|
173
158
|
key: z.ZodString;
|
|
174
159
|
ref: z.ZodString;
|
|
@@ -183,6 +168,29 @@ export declare const DerivedEventDefinitionSchema: z.ZodObject<{
|
|
|
183
168
|
path: z.ZodString;
|
|
184
169
|
}, z.core.$strict>>>;
|
|
185
170
|
constants: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
171
|
+
measures: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
172
|
+
key: z.ZodString;
|
|
173
|
+
expression: z.ZodUnion<readonly [z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>, z.ZodObject<{
|
|
174
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
175
|
+
function: z.ZodEnum<{
|
|
176
|
+
first: "first";
|
|
177
|
+
last: "last";
|
|
178
|
+
nth: "nth";
|
|
179
|
+
sum: "sum";
|
|
180
|
+
avg: "avg";
|
|
181
|
+
min: "min";
|
|
182
|
+
max: "max";
|
|
183
|
+
count: "count";
|
|
184
|
+
countDistinct: "countDistinct";
|
|
185
|
+
stddev: "stddev";
|
|
186
|
+
percentile: "percentile";
|
|
187
|
+
}>;
|
|
188
|
+
ref: z.ZodString;
|
|
189
|
+
path: z.ZodOptional<z.ZodString>;
|
|
190
|
+
nth: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
percentile: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
}, z.core.$strict>]>;
|
|
193
|
+
}, z.core.$strict>>>;
|
|
186
194
|
}, z.core.$strict>;
|
|
187
195
|
export declare const DerivedEventEvidenceRefSchema: z.ZodObject<{
|
|
188
196
|
serverId: z.ZodNullable<z.ZodString>;
|
|
@@ -190,10 +198,14 @@ export declare const DerivedEventEvidenceRefSchema: z.ZodObject<{
|
|
|
190
198
|
sourceEventId: z.ZodString;
|
|
191
199
|
traceId: z.ZodString;
|
|
192
200
|
occurredAt: z.ZodString;
|
|
201
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
193
202
|
payloadHash: z.ZodNullable<z.ZodString>;
|
|
194
203
|
contractVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
195
204
|
schemaFingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
205
|
}, z.core.$strict>;
|
|
206
|
+
export declare const EventTimePolicySchema: z.ZodObject<{
|
|
207
|
+
allowedLatenessMs: z.ZodNumber;
|
|
208
|
+
}, z.core.$strict>;
|
|
197
209
|
export declare const TriggerLifecyclePolicySchema: z.ZodObject<{
|
|
198
210
|
oneShot: z.ZodDefault<z.ZodBoolean>;
|
|
199
211
|
maxFirings: z.ZodOptional<z.ZodNumber>;
|
|
@@ -221,30 +233,13 @@ export declare const ContinuationContractSchema: z.ZodObject<{
|
|
|
221
233
|
includeData: z.ZodDefault<z.ZodBoolean>;
|
|
222
234
|
}, z.core.$strict>>;
|
|
223
235
|
}, z.core.$strict>;
|
|
224
|
-
export declare const DeterministicCorrelationSchema: z.ZodObject<{
|
|
225
|
-
kind: z.ZodLiteral<"same_value">;
|
|
226
|
-
fields: z.ZodArray<z.ZodObject<{
|
|
227
|
-
ref: z.ZodString;
|
|
228
|
-
path: z.ZodString;
|
|
229
|
-
}, z.core.$strip>>;
|
|
230
|
-
}, z.core.$strip>;
|
|
231
|
-
export declare const SemanticCorrelationSchema: z.ZodObject<{
|
|
232
|
-
instruction: z.ZodString;
|
|
233
|
-
input: z.ZodArray<z.ZodString>;
|
|
234
|
-
matchThreshold: z.ZodNumber;
|
|
235
|
-
rejectThreshold: z.ZodNumber;
|
|
236
|
-
uncertain: z.ZodDefault<z.ZodEnum<{
|
|
237
|
-
match: "match";
|
|
238
|
-
reject: "reject";
|
|
239
|
-
escalate: "escalate";
|
|
240
|
-
}>>;
|
|
241
|
-
}, z.core.$strip>;
|
|
242
236
|
export declare const CompositeTriggerDefinitionSchema: z.ZodObject<{
|
|
243
|
-
protocolVersion: z.ZodDefault<z.ZodLiteral<"0.
|
|
244
|
-
schemaVersion: z.ZodDefault<z.ZodLiteral<"trigger.v0.
|
|
237
|
+
protocolVersion: z.ZodDefault<z.ZodLiteral<"0.2.0">>;
|
|
238
|
+
schemaVersion: z.ZodDefault<z.ZodLiteral<"trigger.v0.2">>;
|
|
245
239
|
triggerId: z.ZodString;
|
|
246
240
|
version: z.ZodString;
|
|
247
241
|
description: z.ZodOptional<z.ZodString>;
|
|
242
|
+
conditionOnly: z.ZodDefault<z.ZodBoolean>;
|
|
248
243
|
continuation: z.ZodOptional<z.ZodObject<{
|
|
249
244
|
instruction: z.ZodString;
|
|
250
245
|
contextPolicy: z.ZodDefault<z.ZodObject<{
|
|
@@ -274,14 +269,50 @@ export declare const CompositeTriggerDefinitionSchema: z.ZodObject<{
|
|
|
274
269
|
path: z.ZodString;
|
|
275
270
|
op: z.ZodLiteral<"contains">;
|
|
276
271
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
272
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
273
|
+
path: z.ZodString;
|
|
274
|
+
op: z.ZodLiteral<"startsWith">;
|
|
275
|
+
value: z.ZodString;
|
|
276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
277
|
+
path: z.ZodString;
|
|
278
|
+
op: z.ZodLiteral<"endsWith">;
|
|
279
|
+
value: z.ZodString;
|
|
280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
281
|
+
path: z.ZodString;
|
|
282
|
+
op: z.ZodLiteral<"regex">;
|
|
283
|
+
value: z.ZodString;
|
|
284
|
+
flags: z.ZodOptional<z.ZodString>;
|
|
277
285
|
}, z.core.$strip>, z.ZodObject<{
|
|
278
286
|
path: z.ZodString;
|
|
279
287
|
op: z.ZodLiteral<"in">;
|
|
280
288
|
value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
289
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
290
|
+
path: z.ZodString;
|
|
291
|
+
op: z.ZodLiteral<"notIn">;
|
|
292
|
+
value: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
293
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
294
|
+
path: z.ZodString;
|
|
295
|
+
op: z.ZodLiteral<"between">;
|
|
296
|
+
value: z.ZodTuple<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>], null>;
|
|
281
297
|
}, z.core.$strip>, z.ZodObject<{
|
|
282
298
|
path: z.ZodString;
|
|
283
299
|
op: z.ZodLiteral<"exists">;
|
|
284
300
|
value: z.ZodDefault<z.ZodBoolean>;
|
|
301
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
302
|
+
path: z.ZodString;
|
|
303
|
+
op: z.ZodLiteral<"isNull">;
|
|
304
|
+
value: z.ZodDefault<z.ZodBoolean>;
|
|
305
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
306
|
+
path: z.ZodString;
|
|
307
|
+
op: z.ZodLiteral<"type">;
|
|
308
|
+
value: z.ZodEnum<{
|
|
309
|
+
string: "string";
|
|
310
|
+
number: "number";
|
|
311
|
+
boolean: "boolean";
|
|
312
|
+
object: "object";
|
|
313
|
+
null: "null";
|
|
314
|
+
array: "array";
|
|
315
|
+
}>;
|
|
285
316
|
}, z.core.$strip>, z.ZodObject<{
|
|
286
317
|
path: z.ZodString;
|
|
287
318
|
op: z.ZodLiteral<"gt">;
|
|
@@ -300,83 +331,43 @@ export declare const CompositeTriggerDefinitionSchema: z.ZodObject<{
|
|
|
300
331
|
value: z.ZodNumber;
|
|
301
332
|
}, z.core.$strip>], "op">>>;
|
|
302
333
|
}, z.core.$strip>>;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
}, z.core.$
|
|
340
|
-
id: z.ZodString;
|
|
341
|
-
kind: z.ZodLiteral<"not">;
|
|
342
|
-
ref: z.ZodString;
|
|
343
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
344
|
-
id: z.ZodString;
|
|
345
|
-
kind: z.ZodLiteral<"unless">;
|
|
346
|
-
ref: z.ZodString;
|
|
347
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
348
|
-
id: z.ZodString;
|
|
349
|
-
kind: z.ZodLiteral<"after">;
|
|
350
|
-
ref: z.ZodString;
|
|
351
|
-
afterRef: z.ZodString;
|
|
352
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
353
|
-
id: z.ZodString;
|
|
354
|
-
kind: z.ZodLiteral<"until">;
|
|
355
|
-
ref: z.ZodString;
|
|
356
|
-
beforeRef: z.ZodString;
|
|
357
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
358
|
-
id: z.ZodString;
|
|
359
|
-
kind: z.ZodLiteral<"debounce">;
|
|
360
|
-
ref: z.ZodString;
|
|
361
|
-
forMs: z.ZodNumber;
|
|
362
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
363
|
-
id: z.ZodString;
|
|
364
|
-
kind: z.ZodLiteral<"threshold">;
|
|
365
|
-
ref: z.ZodString;
|
|
366
|
-
atLeast: z.ZodNumber;
|
|
367
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
-
id: z.ZodString;
|
|
369
|
-
kind: z.ZodLiteral<"rate">;
|
|
370
|
-
ref: z.ZodString;
|
|
371
|
-
atLeast: z.ZodNumber;
|
|
372
|
-
perMs: z.ZodNumber;
|
|
373
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
374
|
-
id: z.ZodString;
|
|
375
|
-
kind: z.ZodLiteral<"distinct">;
|
|
376
|
-
ref: z.ZodString;
|
|
377
|
-
path: z.ZodString;
|
|
378
|
-
atLeast: z.ZodNumber;
|
|
379
|
-
}, z.core.$strip>], "kind">>>;
|
|
334
|
+
pattern: z.ZodObject<{
|
|
335
|
+
version: z.ZodDefault<z.ZodLiteral<"2">>;
|
|
336
|
+
root: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
|
|
337
|
+
partitionBy: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
338
|
+
key: z.ZodString;
|
|
339
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
340
|
+
ref: z.ZodString;
|
|
341
|
+
path: z.ZodString;
|
|
342
|
+
}, z.core.$strict>>;
|
|
343
|
+
}, z.core.$strict>>>;
|
|
344
|
+
selection: z.ZodDefault<z.ZodObject<{
|
|
345
|
+
overlap: z.ZodDefault<z.ZodEnum<{
|
|
346
|
+
allow: "allow";
|
|
347
|
+
disallow: "disallow";
|
|
348
|
+
}>>;
|
|
349
|
+
afterMatch: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
350
|
+
skipPastLast: "skipPastLast";
|
|
351
|
+
skipToNext: "skipToNext";
|
|
352
|
+
keepAll: "keepAll";
|
|
353
|
+
}>, z.ZodObject<{
|
|
354
|
+
kind: z.ZodEnum<{
|
|
355
|
+
skipToFirst: "skipToFirst";
|
|
356
|
+
skipToLast: "skipToLast";
|
|
357
|
+
}>;
|
|
358
|
+
ref: z.ZodString;
|
|
359
|
+
}, z.core.$strict>]>>;
|
|
360
|
+
maxMatchesPerEvent: z.ZodDefault<z.ZodNumber>;
|
|
361
|
+
}, z.core.$strict>>;
|
|
362
|
+
execution: z.ZodDefault<z.ZodObject<{
|
|
363
|
+
maxCandidates: z.ZodDefault<z.ZodNumber>;
|
|
364
|
+
maxSemanticEvaluations: z.ZodDefault<z.ZodNumber>;
|
|
365
|
+
maxBufferedEvents: z.ZodDefault<z.ZodNumber>;
|
|
366
|
+
}, z.core.$strict>>;
|
|
367
|
+
}, z.core.$strict>;
|
|
368
|
+
eventTime: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
allowedLatenessMs: z.ZodNumber;
|
|
370
|
+
}, z.core.$strict>>;
|
|
380
371
|
lifecycle: z.ZodDefault<z.ZodObject<{
|
|
381
372
|
oneShot: z.ZodDefault<z.ZodBoolean>;
|
|
382
373
|
maxFirings: z.ZodOptional<z.ZodNumber>;
|
|
@@ -386,26 +377,6 @@ export declare const CompositeTriggerDefinitionSchema: z.ZodObject<{
|
|
|
386
377
|
completeOnGoal: z.ZodDefault<z.ZodBoolean>;
|
|
387
378
|
}, z.core.$strip>>;
|
|
388
379
|
withinMs: z.ZodNumber;
|
|
389
|
-
correlation: z.ZodOptional<z.ZodObject<{
|
|
390
|
-
deterministic: z.ZodOptional<z.ZodObject<{
|
|
391
|
-
kind: z.ZodLiteral<"same_value">;
|
|
392
|
-
fields: z.ZodArray<z.ZodObject<{
|
|
393
|
-
ref: z.ZodString;
|
|
394
|
-
path: z.ZodString;
|
|
395
|
-
}, z.core.$strip>>;
|
|
396
|
-
}, z.core.$strip>>;
|
|
397
|
-
semantic: z.ZodOptional<z.ZodObject<{
|
|
398
|
-
instruction: z.ZodString;
|
|
399
|
-
input: z.ZodArray<z.ZodString>;
|
|
400
|
-
matchThreshold: z.ZodNumber;
|
|
401
|
-
rejectThreshold: z.ZodNumber;
|
|
402
|
-
uncertain: z.ZodDefault<z.ZodEnum<{
|
|
403
|
-
match: "match";
|
|
404
|
-
reject: "reject";
|
|
405
|
-
escalate: "escalate";
|
|
406
|
-
}>>;
|
|
407
|
-
}, z.core.$strip>>;
|
|
408
|
-
}, z.core.$strip>>;
|
|
409
380
|
target: z.ZodOptional<z.ZodObject<{
|
|
410
381
|
runtime: z.ZodString;
|
|
411
382
|
kind: z.ZodEnum<{
|
|
@@ -426,6 +397,29 @@ export declare const CompositeTriggerDefinitionSchema: z.ZodObject<{
|
|
|
426
397
|
path: z.ZodString;
|
|
427
398
|
}, z.core.$strict>>>;
|
|
428
399
|
constants: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
400
|
+
measures: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
401
|
+
key: z.ZodString;
|
|
402
|
+
expression: z.ZodUnion<readonly [z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>, z.ZodObject<{
|
|
403
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
404
|
+
function: z.ZodEnum<{
|
|
405
|
+
first: "first";
|
|
406
|
+
last: "last";
|
|
407
|
+
nth: "nth";
|
|
408
|
+
sum: "sum";
|
|
409
|
+
avg: "avg";
|
|
410
|
+
min: "min";
|
|
411
|
+
max: "max";
|
|
412
|
+
count: "count";
|
|
413
|
+
countDistinct: "countDistinct";
|
|
414
|
+
stddev: "stddev";
|
|
415
|
+
percentile: "percentile";
|
|
416
|
+
}>;
|
|
417
|
+
ref: z.ZodString;
|
|
418
|
+
path: z.ZodOptional<z.ZodString>;
|
|
419
|
+
nth: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
percentile: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
}, z.core.$strict>]>;
|
|
422
|
+
}, z.core.$strict>>>;
|
|
429
423
|
}, z.core.$strict>>;
|
|
430
424
|
}, z.core.$strip>;
|
|
431
425
|
export declare const CorrelatableEventSchema: z.ZodObject<{
|
|
@@ -433,6 +427,7 @@ export declare const CorrelatableEventSchema: z.ZodObject<{
|
|
|
433
427
|
sourceEventId: z.ZodString;
|
|
434
428
|
name: z.ZodString;
|
|
435
429
|
occurredAt: z.ZodString;
|
|
430
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
436
431
|
provider: z.ZodOptional<z.ZodString>;
|
|
437
432
|
serverId: z.ZodOptional<z.ZodString>;
|
|
438
433
|
subscriptionArguments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -445,6 +440,7 @@ export declare const DerivedEventRecordSchema: z.ZodObject<{
|
|
|
445
440
|
sourceEventId: z.ZodString;
|
|
446
441
|
name: z.ZodString;
|
|
447
442
|
occurredAt: z.ZodString;
|
|
443
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
448
444
|
provider: z.ZodOptional<z.ZodString>;
|
|
449
445
|
serverId: z.ZodOptional<z.ZodString>;
|
|
450
446
|
subscriptionArguments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -460,6 +456,7 @@ export declare const DerivedEventRecordSchema: z.ZodObject<{
|
|
|
460
456
|
sourceEventId: z.ZodString;
|
|
461
457
|
traceId: z.ZodString;
|
|
462
458
|
occurredAt: z.ZodString;
|
|
459
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
463
460
|
payloadHash: z.ZodNullable<z.ZodString>;
|
|
464
461
|
contractVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
465
462
|
schemaFingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -470,6 +467,7 @@ export declare const DerivedEventRecordSchema: z.ZodObject<{
|
|
|
470
467
|
sourceEventId: z.ZodString;
|
|
471
468
|
traceId: z.ZodString;
|
|
472
469
|
occurredAt: z.ZodString;
|
|
470
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
473
471
|
payloadHash: z.ZodNullable<z.ZodString>;
|
|
474
472
|
contractVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
475
473
|
schemaFingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -482,13 +480,14 @@ export declare const TriggerSourceEventSchema: z.ZodObject<{
|
|
|
482
480
|
sourceEventId: z.ZodString;
|
|
483
481
|
eventName: z.ZodString;
|
|
484
482
|
occurredAt: z.ZodString;
|
|
483
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
485
484
|
provider: z.ZodOptional<z.ZodString>;
|
|
486
485
|
serverId: z.ZodOptional<z.ZodString>;
|
|
487
486
|
subscriptionArguments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
488
487
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
489
488
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
490
489
|
}, z.core.$strip>;
|
|
491
|
-
export declare const
|
|
490
|
+
export declare const PatternSemanticDecisionSchema: z.ZodObject<{
|
|
492
491
|
evaluator: z.ZodString;
|
|
493
492
|
outcome: z.ZodEnum<{
|
|
494
493
|
match: "match";
|
|
@@ -509,9 +508,36 @@ export declare const TriggerMatchStatusSchema: z.ZodEnum<{
|
|
|
509
508
|
fired: "fired";
|
|
510
509
|
expired: "expired";
|
|
511
510
|
}>;
|
|
511
|
+
export declare const PatternMatchStateSchema: z.ZodObject<{
|
|
512
|
+
version: z.ZodLiteral<"2">;
|
|
513
|
+
role: z.ZodEnum<{
|
|
514
|
+
match: "match";
|
|
515
|
+
buffer: "buffer";
|
|
516
|
+
}>;
|
|
517
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
518
|
+
maxObservedOccurredAt: z.ZodOptional<z.ZodString>;
|
|
519
|
+
completedAt: z.ZodOptional<z.ZodString>;
|
|
520
|
+
semanticDecisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
521
|
+
nodeId: z.ZodString;
|
|
522
|
+
decision: z.ZodObject<{
|
|
523
|
+
evaluator: z.ZodString;
|
|
524
|
+
outcome: z.ZodEnum<{
|
|
525
|
+
match: "match";
|
|
526
|
+
reject: "reject";
|
|
527
|
+
uncertain: "uncertain";
|
|
528
|
+
}>;
|
|
529
|
+
probability: z.ZodNumber;
|
|
530
|
+
matched: z.ZodBoolean;
|
|
531
|
+
shouldEscalate: z.ZodBoolean;
|
|
532
|
+
inputFields: z.ZodArray<z.ZodString>;
|
|
533
|
+
providerEvidence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
534
|
+
evaluatedAt: z.ZodString;
|
|
535
|
+
}, z.core.$strip>;
|
|
536
|
+
}, z.core.$strict>>>;
|
|
537
|
+
}, z.core.$strict>;
|
|
512
538
|
export declare const TriggerMatchRecordSchema: z.ZodObject<{
|
|
513
|
-
protocolVersion: z.ZodLiteral<"0.
|
|
514
|
-
schemaVersion: z.ZodLiteral<"trigger.v0.
|
|
539
|
+
protocolVersion: z.ZodLiteral<"0.2.0">;
|
|
540
|
+
schemaVersion: z.ZodLiteral<"trigger.v0.2">;
|
|
515
541
|
matchId: z.ZodString;
|
|
516
542
|
triggerId: z.ZodString;
|
|
517
543
|
triggerVersion: z.ZodString;
|
|
@@ -522,7 +548,7 @@ export declare const TriggerMatchRecordSchema: z.ZodObject<{
|
|
|
522
548
|
fired: "fired";
|
|
523
549
|
expired: "expired";
|
|
524
550
|
}>;
|
|
525
|
-
|
|
551
|
+
partitionKey: z.ZodNullable<z.ZodString>;
|
|
526
552
|
openedAt: z.ZodString;
|
|
527
553
|
expiresAt: z.ZodString;
|
|
528
554
|
updatedAt: z.ZodString;
|
|
@@ -532,13 +558,14 @@ export declare const TriggerMatchRecordSchema: z.ZodObject<{
|
|
|
532
558
|
sourceEventId: z.ZodString;
|
|
533
559
|
eventName: z.ZodString;
|
|
534
560
|
occurredAt: z.ZodString;
|
|
561
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
535
562
|
provider: z.ZodOptional<z.ZodString>;
|
|
536
563
|
serverId: z.ZodOptional<z.ZodString>;
|
|
537
564
|
subscriptionArguments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
538
565
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
539
566
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
540
567
|
}, z.core.$strip>>;
|
|
541
|
-
|
|
568
|
+
semanticDecision: z.ZodNullable<z.ZodObject<{
|
|
542
569
|
evaluator: z.ZodString;
|
|
543
570
|
outcome: z.ZodEnum<{
|
|
544
571
|
match: "match";
|
|
@@ -552,12 +579,39 @@ export declare const TriggerMatchRecordSchema: z.ZodObject<{
|
|
|
552
579
|
providerEvidence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
553
580
|
evaluatedAt: z.ZodString;
|
|
554
581
|
}, z.core.$strip>>;
|
|
582
|
+
patternState: z.ZodOptional<z.ZodObject<{
|
|
583
|
+
version: z.ZodLiteral<"2">;
|
|
584
|
+
role: z.ZodEnum<{
|
|
585
|
+
match: "match";
|
|
586
|
+
buffer: "buffer";
|
|
587
|
+
}>;
|
|
588
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
589
|
+
maxObservedOccurredAt: z.ZodOptional<z.ZodString>;
|
|
590
|
+
completedAt: z.ZodOptional<z.ZodString>;
|
|
591
|
+
semanticDecisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
592
|
+
nodeId: z.ZodString;
|
|
593
|
+
decision: z.ZodObject<{
|
|
594
|
+
evaluator: z.ZodString;
|
|
595
|
+
outcome: z.ZodEnum<{
|
|
596
|
+
match: "match";
|
|
597
|
+
reject: "reject";
|
|
598
|
+
uncertain: "uncertain";
|
|
599
|
+
}>;
|
|
600
|
+
probability: z.ZodNumber;
|
|
601
|
+
matched: z.ZodBoolean;
|
|
602
|
+
shouldEscalate: z.ZodBoolean;
|
|
603
|
+
inputFields: z.ZodArray<z.ZodString>;
|
|
604
|
+
providerEvidence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
605
|
+
evaluatedAt: z.ZodString;
|
|
606
|
+
}, z.core.$strip>;
|
|
607
|
+
}, z.core.$strict>>>;
|
|
608
|
+
}, z.core.$strict>>;
|
|
555
609
|
firedWakeId: z.ZodNullable<z.ZodString>;
|
|
556
610
|
derivedEventIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
557
611
|
}, z.core.$strip>;
|
|
558
612
|
export type StructuredPredicate = z.infer<typeof StructuredPredicateSchema>;
|
|
559
613
|
export type TriggerClause = z.infer<typeof TriggerClauseSchema>;
|
|
560
|
-
export type
|
|
614
|
+
export type EventTimePolicy = z.infer<typeof EventTimePolicySchema>;
|
|
561
615
|
export type TriggerLifecyclePolicy = z.infer<typeof TriggerLifecyclePolicySchema>;
|
|
562
616
|
export type ContinuationContextPolicy = z.infer<typeof ContinuationContextPolicySchema>;
|
|
563
617
|
export type ContinuationContract = z.infer<typeof ContinuationContractSchema>;
|
|
@@ -566,8 +620,9 @@ export type DerivedEventRecord = z.infer<typeof DerivedEventRecordSchema>;
|
|
|
566
620
|
export type CompositeTriggerDefinition = z.infer<typeof CompositeTriggerDefinitionSchema>;
|
|
567
621
|
export type CorrelatableEvent = z.infer<typeof CorrelatableEventSchema>;
|
|
568
622
|
export type TriggerSourceEvent = z.infer<typeof TriggerSourceEventSchema>;
|
|
623
|
+
export type PatternMatchState = z.infer<typeof PatternMatchStateSchema>;
|
|
569
624
|
export type TriggerMatchRecord = z.infer<typeof TriggerMatchRecordSchema>;
|
|
570
|
-
export type
|
|
625
|
+
export type PatternSemanticDecision = z.infer<typeof PatternSemanticDecisionSchema>;
|
|
571
626
|
export declare function parseCompositeTriggerDefinition(value: unknown): CompositeTriggerDefinition;
|
|
572
627
|
export declare function parseCorrelatableEvent(value: unknown): CorrelatableEvent;
|
|
573
628
|
export declare function parseTriggerMatchRecord(value: unknown): TriggerMatchRecord;
|