@debugbundle/shared-types 2.0.0 → 2.1.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/README.md +1 -0
- package/dist/alert-notification-policy.d.ts +71 -0
- package/dist/alert-notification-policy.d.ts.map +1 -0
- package/dist/alert-notification-policy.js +54 -0
- package/dist/alert-notification-policy.js.map +1 -0
- package/dist/analytics-product.d.ts +16 -16
- package/dist/analytics.d.ts +46 -46
- package/dist/browser-recovery.d.ts +13 -0
- package/dist/browser-recovery.d.ts.map +1 -0
- package/dist/browser-recovery.js +42 -0
- package/dist/browser-recovery.js.map +1 -0
- package/dist/browser-resource-context.d.ts +66 -0
- package/dist/browser-resource-context.d.ts.map +1 -1
- package/dist/browser-resource-context.js +20 -1
- package/dist/browser-resource-context.js.map +1 -1
- package/dist/browser-resource-suggestions.d.ts.map +1 -1
- package/dist/browser-resource-suggestions.js +51 -1
- package/dist/browser-resource-suggestions.js.map +1 -1
- package/dist/browser-resource.d.ts +8 -0
- package/dist/browser-resource.d.ts.map +1 -1
- package/dist/browser-resource.js +24 -0
- package/dist/browser-resource.js.map +1 -1
- package/dist/capture-policy.d.ts +16 -16
- package/dist/capture-rule-evaluation.d.ts +71 -12
- package/dist/capture-rule-evaluation.d.ts.map +1 -1
- package/dist/capture-rule-evaluation.js +98 -3
- package/dist/capture-rule-evaluation.js.map +1 -1
- package/dist/capture-rule-schemas.d.ts +1080 -210
- package/dist/capture-rule-schemas.d.ts.map +1 -1
- package/dist/capture-rule-schemas.js +56 -0
- package/dist/capture-rule-schemas.js.map +1 -1
- package/dist/capture-rule-suggestions.d.ts +398 -97
- package/dist/capture-rule-suggestions.d.ts.map +1 -1
- package/dist/event-envelope.d.ts +276 -276
- package/dist/frontend-severity.d.ts.map +1 -1
- package/dist/frontend-severity.js +3 -0
- package/dist/frontend-severity.js.map +1 -1
- package/dist/index.d.ts +293 -171
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,10 @@ export declare const CaptureRuleEventTypeSchema: z.ZodEnum<["backend_exception",
|
|
|
11
11
|
export type CaptureRuleEventType = z.infer<typeof CaptureRuleEventTypeSchema>;
|
|
12
12
|
export declare const BrowserEventKindSchema: z.ZodEnum<["window_error", "resource_error"]>;
|
|
13
13
|
export type BrowserEventKind = z.infer<typeof BrowserEventKindSchema>;
|
|
14
|
+
export declare const BrowserPageVisibilityStateSchema: z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>;
|
|
15
|
+
export type BrowserPageVisibilityState = z.infer<typeof BrowserPageVisibilityStateSchema>;
|
|
16
|
+
export declare const BrowserPageReadyStateSchema: z.ZodEnum<["loading", "interactive", "complete"]>;
|
|
17
|
+
export type BrowserPageReadyState = z.infer<typeof BrowserPageReadyStateSchema>;
|
|
14
18
|
export declare const CaptureRuleClientKindSchema: z.ZodEnum<["human", "bot", "unknown"]>;
|
|
15
19
|
export type CaptureRuleClientKind = z.infer<typeof CaptureRuleClientKindSchema>;
|
|
16
20
|
export interface CaptureRuleUrlMatcher {
|
|
@@ -19,6 +23,16 @@ export interface CaptureRuleUrlMatcher {
|
|
|
19
23
|
path_prefix?: string;
|
|
20
24
|
path_equals?: string;
|
|
21
25
|
}
|
|
26
|
+
export interface CaptureRuleBrowserTargetAttributes {
|
|
27
|
+
rel?: string;
|
|
28
|
+
as?: string;
|
|
29
|
+
type?: string;
|
|
30
|
+
media?: string;
|
|
31
|
+
cross_origin?: string;
|
|
32
|
+
async?: boolean;
|
|
33
|
+
defer?: boolean;
|
|
34
|
+
integrity_present?: boolean;
|
|
35
|
+
}
|
|
22
36
|
export declare const CaptureRuleFingerprintSchema: z.ZodObject<{
|
|
23
37
|
version: z.ZodString;
|
|
24
38
|
value: z.ZodString;
|
|
@@ -41,6 +55,10 @@ export interface CaptureRuleMatcher {
|
|
|
41
55
|
message_equals?: string;
|
|
42
56
|
browser_event_kind?: BrowserEventKind;
|
|
43
57
|
browser_event_opaque?: boolean;
|
|
58
|
+
browser_page_visibility_state?: BrowserPageVisibilityState;
|
|
59
|
+
browser_page_ready_state?: BrowserPageReadyState;
|
|
60
|
+
browser_target_tag_name?: string;
|
|
61
|
+
browser_target_attributes?: CaptureRuleBrowserTargetAttributes;
|
|
44
62
|
client_kind?: CaptureRuleClientKind;
|
|
45
63
|
bot_family?: string;
|
|
46
64
|
resource_url?: CaptureRuleUrlMatcher;
|
|
@@ -63,6 +81,55 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
63
81
|
message_equals: z.ZodOptional<z.ZodString>;
|
|
64
82
|
browser_event_kind: z.ZodOptional<z.ZodEnum<["window_error", "resource_error"]>>;
|
|
65
83
|
browser_event_opaque: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
+
browser_page_visibility_state: z.ZodOptional<z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>>;
|
|
85
|
+
browser_page_ready_state: z.ZodOptional<z.ZodEnum<["loading", "interactive", "complete"]>>;
|
|
86
|
+
browser_target_tag_name: z.ZodOptional<z.ZodString>;
|
|
87
|
+
browser_target_attributes: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
88
|
+
rel: z.ZodOptional<z.ZodString>;
|
|
89
|
+
as: z.ZodOptional<z.ZodString>;
|
|
90
|
+
type: z.ZodOptional<z.ZodString>;
|
|
91
|
+
media: z.ZodOptional<z.ZodString>;
|
|
92
|
+
cross_origin: z.ZodOptional<z.ZodString>;
|
|
93
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
+
defer: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
integrity_present: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
}, "strict", z.ZodTypeAny, {
|
|
97
|
+
type?: string | undefined;
|
|
98
|
+
rel?: string | undefined;
|
|
99
|
+
as?: string | undefined;
|
|
100
|
+
media?: string | undefined;
|
|
101
|
+
cross_origin?: string | undefined;
|
|
102
|
+
async?: boolean | undefined;
|
|
103
|
+
defer?: boolean | undefined;
|
|
104
|
+
integrity_present?: boolean | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
type?: string | undefined;
|
|
107
|
+
rel?: string | undefined;
|
|
108
|
+
as?: string | undefined;
|
|
109
|
+
media?: string | undefined;
|
|
110
|
+
cross_origin?: string | undefined;
|
|
111
|
+
async?: boolean | undefined;
|
|
112
|
+
defer?: boolean | undefined;
|
|
113
|
+
integrity_present?: boolean | undefined;
|
|
114
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
115
|
+
type?: string | undefined;
|
|
116
|
+
rel?: string | undefined;
|
|
117
|
+
as?: string | undefined;
|
|
118
|
+
media?: string | undefined;
|
|
119
|
+
cross_origin?: string | undefined;
|
|
120
|
+
async?: boolean | undefined;
|
|
121
|
+
defer?: boolean | undefined;
|
|
122
|
+
integrity_present?: boolean | undefined;
|
|
123
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
124
|
+
type?: string | undefined;
|
|
125
|
+
rel?: string | undefined;
|
|
126
|
+
as?: string | undefined;
|
|
127
|
+
media?: string | undefined;
|
|
128
|
+
cross_origin?: string | undefined;
|
|
129
|
+
async?: boolean | undefined;
|
|
130
|
+
defer?: boolean | undefined;
|
|
131
|
+
integrity_present?: boolean | undefined;
|
|
132
|
+
}>>;
|
|
66
133
|
client_kind: z.ZodOptional<z.ZodEnum<["human", "bot", "unknown"]>>;
|
|
67
134
|
bot_family: z.ZodOptional<z.ZodString>;
|
|
68
135
|
resource_url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -146,6 +213,10 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
146
213
|
}>>;
|
|
147
214
|
}, "strip", z.ZodTypeAny, {
|
|
148
215
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
216
|
+
fingerprint?: {
|
|
217
|
+
value: string;
|
|
218
|
+
version: string;
|
|
219
|
+
} | undefined;
|
|
149
220
|
first_party?: boolean | undefined;
|
|
150
221
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
151
222
|
services?: string[] | undefined;
|
|
@@ -153,8 +224,12 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
153
224
|
error_name?: string | undefined;
|
|
154
225
|
message_contains?: string | undefined;
|
|
155
226
|
message_equals?: string | undefined;
|
|
156
|
-
browser_event_kind?: "
|
|
227
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
157
228
|
browser_event_opaque?: boolean | undefined;
|
|
229
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
230
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
231
|
+
browser_target_tag_name?: string | undefined;
|
|
232
|
+
browser_target_attributes?: CaptureRuleBrowserTargetAttributes | undefined;
|
|
158
233
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
159
234
|
bot_family?: string | undefined;
|
|
160
235
|
resource_url?: CaptureRuleUrlMatcher | undefined;
|
|
@@ -164,12 +239,12 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
164
239
|
start: number;
|
|
165
240
|
end: number;
|
|
166
241
|
}[] | undefined;
|
|
242
|
+
}, {
|
|
243
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
167
244
|
fingerprint?: {
|
|
168
245
|
value: string;
|
|
169
246
|
version: string;
|
|
170
247
|
} | undefined;
|
|
171
|
-
}, {
|
|
172
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
173
248
|
first_party?: boolean | undefined;
|
|
174
249
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
175
250
|
services?: string[] | undefined;
|
|
@@ -177,8 +252,21 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
177
252
|
error_name?: string | undefined;
|
|
178
253
|
message_contains?: string | undefined;
|
|
179
254
|
message_equals?: string | undefined;
|
|
180
|
-
browser_event_kind?: "
|
|
255
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
181
256
|
browser_event_opaque?: boolean | undefined;
|
|
257
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
258
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
259
|
+
browser_target_tag_name?: string | undefined;
|
|
260
|
+
browser_target_attributes?: {
|
|
261
|
+
type?: string | undefined;
|
|
262
|
+
rel?: string | undefined;
|
|
263
|
+
as?: string | undefined;
|
|
264
|
+
media?: string | undefined;
|
|
265
|
+
cross_origin?: string | undefined;
|
|
266
|
+
async?: boolean | undefined;
|
|
267
|
+
defer?: boolean | undefined;
|
|
268
|
+
integrity_present?: boolean | undefined;
|
|
269
|
+
} | undefined;
|
|
182
270
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
183
271
|
bot_family?: string | undefined;
|
|
184
272
|
resource_url?: {
|
|
@@ -198,12 +286,12 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
198
286
|
start: number;
|
|
199
287
|
end: number;
|
|
200
288
|
}[] | undefined;
|
|
289
|
+
}>, CaptureRuleMatcher, {
|
|
290
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
201
291
|
fingerprint?: {
|
|
202
292
|
value: string;
|
|
203
293
|
version: string;
|
|
204
294
|
} | undefined;
|
|
205
|
-
}>, CaptureRuleMatcher, {
|
|
206
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
207
295
|
first_party?: boolean | undefined;
|
|
208
296
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
209
297
|
services?: string[] | undefined;
|
|
@@ -211,8 +299,21 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
211
299
|
error_name?: string | undefined;
|
|
212
300
|
message_contains?: string | undefined;
|
|
213
301
|
message_equals?: string | undefined;
|
|
214
|
-
browser_event_kind?: "
|
|
302
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
215
303
|
browser_event_opaque?: boolean | undefined;
|
|
304
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
305
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
306
|
+
browser_target_tag_name?: string | undefined;
|
|
307
|
+
browser_target_attributes?: {
|
|
308
|
+
type?: string | undefined;
|
|
309
|
+
rel?: string | undefined;
|
|
310
|
+
as?: string | undefined;
|
|
311
|
+
media?: string | undefined;
|
|
312
|
+
cross_origin?: string | undefined;
|
|
313
|
+
async?: boolean | undefined;
|
|
314
|
+
defer?: boolean | undefined;
|
|
315
|
+
integrity_present?: boolean | undefined;
|
|
316
|
+
} | undefined;
|
|
216
317
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
217
318
|
bot_family?: string | undefined;
|
|
218
319
|
resource_url?: {
|
|
@@ -232,12 +333,12 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
232
333
|
start: number;
|
|
233
334
|
end: number;
|
|
234
335
|
}[] | undefined;
|
|
336
|
+
}>, CaptureRuleMatcher, {
|
|
337
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
235
338
|
fingerprint?: {
|
|
236
339
|
value: string;
|
|
237
340
|
version: string;
|
|
238
341
|
} | undefined;
|
|
239
|
-
}>, CaptureRuleMatcher, {
|
|
240
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
241
342
|
first_party?: boolean | undefined;
|
|
242
343
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
243
344
|
services?: string[] | undefined;
|
|
@@ -245,8 +346,21 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
245
346
|
error_name?: string | undefined;
|
|
246
347
|
message_contains?: string | undefined;
|
|
247
348
|
message_equals?: string | undefined;
|
|
248
|
-
browser_event_kind?: "
|
|
349
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
249
350
|
browser_event_opaque?: boolean | undefined;
|
|
351
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
352
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
353
|
+
browser_target_tag_name?: string | undefined;
|
|
354
|
+
browser_target_attributes?: {
|
|
355
|
+
type?: string | undefined;
|
|
356
|
+
rel?: string | undefined;
|
|
357
|
+
as?: string | undefined;
|
|
358
|
+
media?: string | undefined;
|
|
359
|
+
cross_origin?: string | undefined;
|
|
360
|
+
async?: boolean | undefined;
|
|
361
|
+
defer?: boolean | undefined;
|
|
362
|
+
integrity_present?: boolean | undefined;
|
|
363
|
+
} | undefined;
|
|
250
364
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
251
365
|
bot_family?: string | undefined;
|
|
252
366
|
resource_url?: {
|
|
@@ -266,10 +380,6 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
266
380
|
start: number;
|
|
267
381
|
end: number;
|
|
268
382
|
}[] | undefined;
|
|
269
|
-
fingerprint?: {
|
|
270
|
-
value: string;
|
|
271
|
-
version: string;
|
|
272
|
-
} | undefined;
|
|
273
383
|
}>;
|
|
274
384
|
export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
275
385
|
name: z.ZodString;
|
|
@@ -287,6 +397,55 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
287
397
|
message_equals: z.ZodOptional<z.ZodString>;
|
|
288
398
|
browser_event_kind: z.ZodOptional<z.ZodEnum<["window_error", "resource_error"]>>;
|
|
289
399
|
browser_event_opaque: z.ZodOptional<z.ZodBoolean>;
|
|
400
|
+
browser_page_visibility_state: z.ZodOptional<z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>>;
|
|
401
|
+
browser_page_ready_state: z.ZodOptional<z.ZodEnum<["loading", "interactive", "complete"]>>;
|
|
402
|
+
browser_target_tag_name: z.ZodOptional<z.ZodString>;
|
|
403
|
+
browser_target_attributes: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
404
|
+
rel: z.ZodOptional<z.ZodString>;
|
|
405
|
+
as: z.ZodOptional<z.ZodString>;
|
|
406
|
+
type: z.ZodOptional<z.ZodString>;
|
|
407
|
+
media: z.ZodOptional<z.ZodString>;
|
|
408
|
+
cross_origin: z.ZodOptional<z.ZodString>;
|
|
409
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
410
|
+
defer: z.ZodOptional<z.ZodBoolean>;
|
|
411
|
+
integrity_present: z.ZodOptional<z.ZodBoolean>;
|
|
412
|
+
}, "strict", z.ZodTypeAny, {
|
|
413
|
+
type?: string | undefined;
|
|
414
|
+
rel?: string | undefined;
|
|
415
|
+
as?: string | undefined;
|
|
416
|
+
media?: string | undefined;
|
|
417
|
+
cross_origin?: string | undefined;
|
|
418
|
+
async?: boolean | undefined;
|
|
419
|
+
defer?: boolean | undefined;
|
|
420
|
+
integrity_present?: boolean | undefined;
|
|
421
|
+
}, {
|
|
422
|
+
type?: string | undefined;
|
|
423
|
+
rel?: string | undefined;
|
|
424
|
+
as?: string | undefined;
|
|
425
|
+
media?: string | undefined;
|
|
426
|
+
cross_origin?: string | undefined;
|
|
427
|
+
async?: boolean | undefined;
|
|
428
|
+
defer?: boolean | undefined;
|
|
429
|
+
integrity_present?: boolean | undefined;
|
|
430
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
431
|
+
type?: string | undefined;
|
|
432
|
+
rel?: string | undefined;
|
|
433
|
+
as?: string | undefined;
|
|
434
|
+
media?: string | undefined;
|
|
435
|
+
cross_origin?: string | undefined;
|
|
436
|
+
async?: boolean | undefined;
|
|
437
|
+
defer?: boolean | undefined;
|
|
438
|
+
integrity_present?: boolean | undefined;
|
|
439
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
440
|
+
type?: string | undefined;
|
|
441
|
+
rel?: string | undefined;
|
|
442
|
+
as?: string | undefined;
|
|
443
|
+
media?: string | undefined;
|
|
444
|
+
cross_origin?: string | undefined;
|
|
445
|
+
async?: boolean | undefined;
|
|
446
|
+
defer?: boolean | undefined;
|
|
447
|
+
integrity_present?: boolean | undefined;
|
|
448
|
+
}>>;
|
|
290
449
|
client_kind: z.ZodOptional<z.ZodEnum<["human", "bot", "unknown"]>>;
|
|
291
450
|
bot_family: z.ZodOptional<z.ZodString>;
|
|
292
451
|
resource_url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -370,6 +529,10 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
370
529
|
}>>;
|
|
371
530
|
}, "strip", z.ZodTypeAny, {
|
|
372
531
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
532
|
+
fingerprint?: {
|
|
533
|
+
value: string;
|
|
534
|
+
version: string;
|
|
535
|
+
} | undefined;
|
|
373
536
|
first_party?: boolean | undefined;
|
|
374
537
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
375
538
|
services?: string[] | undefined;
|
|
@@ -377,8 +540,12 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
377
540
|
error_name?: string | undefined;
|
|
378
541
|
message_contains?: string | undefined;
|
|
379
542
|
message_equals?: string | undefined;
|
|
380
|
-
browser_event_kind?: "
|
|
543
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
381
544
|
browser_event_opaque?: boolean | undefined;
|
|
545
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
546
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
547
|
+
browser_target_tag_name?: string | undefined;
|
|
548
|
+
browser_target_attributes?: CaptureRuleBrowserTargetAttributes | undefined;
|
|
382
549
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
383
550
|
bot_family?: string | undefined;
|
|
384
551
|
resource_url?: CaptureRuleUrlMatcher | undefined;
|
|
@@ -388,12 +555,12 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
388
555
|
start: number;
|
|
389
556
|
end: number;
|
|
390
557
|
}[] | undefined;
|
|
558
|
+
}, {
|
|
559
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
391
560
|
fingerprint?: {
|
|
392
561
|
value: string;
|
|
393
562
|
version: string;
|
|
394
563
|
} | undefined;
|
|
395
|
-
}, {
|
|
396
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
397
564
|
first_party?: boolean | undefined;
|
|
398
565
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
399
566
|
services?: string[] | undefined;
|
|
@@ -401,8 +568,21 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
401
568
|
error_name?: string | undefined;
|
|
402
569
|
message_contains?: string | undefined;
|
|
403
570
|
message_equals?: string | undefined;
|
|
404
|
-
browser_event_kind?: "
|
|
571
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
405
572
|
browser_event_opaque?: boolean | undefined;
|
|
573
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
574
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
575
|
+
browser_target_tag_name?: string | undefined;
|
|
576
|
+
browser_target_attributes?: {
|
|
577
|
+
type?: string | undefined;
|
|
578
|
+
rel?: string | undefined;
|
|
579
|
+
as?: string | undefined;
|
|
580
|
+
media?: string | undefined;
|
|
581
|
+
cross_origin?: string | undefined;
|
|
582
|
+
async?: boolean | undefined;
|
|
583
|
+
defer?: boolean | undefined;
|
|
584
|
+
integrity_present?: boolean | undefined;
|
|
585
|
+
} | undefined;
|
|
406
586
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
407
587
|
bot_family?: string | undefined;
|
|
408
588
|
resource_url?: {
|
|
@@ -422,12 +602,12 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
422
602
|
start: number;
|
|
423
603
|
end: number;
|
|
424
604
|
}[] | undefined;
|
|
605
|
+
}>, CaptureRuleMatcher, {
|
|
606
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
425
607
|
fingerprint?: {
|
|
426
608
|
value: string;
|
|
427
609
|
version: string;
|
|
428
610
|
} | undefined;
|
|
429
|
-
}>, CaptureRuleMatcher, {
|
|
430
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
431
611
|
first_party?: boolean | undefined;
|
|
432
612
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
433
613
|
services?: string[] | undefined;
|
|
@@ -435,8 +615,21 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
435
615
|
error_name?: string | undefined;
|
|
436
616
|
message_contains?: string | undefined;
|
|
437
617
|
message_equals?: string | undefined;
|
|
438
|
-
browser_event_kind?: "
|
|
618
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
439
619
|
browser_event_opaque?: boolean | undefined;
|
|
620
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
621
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
622
|
+
browser_target_tag_name?: string | undefined;
|
|
623
|
+
browser_target_attributes?: {
|
|
624
|
+
type?: string | undefined;
|
|
625
|
+
rel?: string | undefined;
|
|
626
|
+
as?: string | undefined;
|
|
627
|
+
media?: string | undefined;
|
|
628
|
+
cross_origin?: string | undefined;
|
|
629
|
+
async?: boolean | undefined;
|
|
630
|
+
defer?: boolean | undefined;
|
|
631
|
+
integrity_present?: boolean | undefined;
|
|
632
|
+
} | undefined;
|
|
440
633
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
441
634
|
bot_family?: string | undefined;
|
|
442
635
|
resource_url?: {
|
|
@@ -456,12 +649,12 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
456
649
|
start: number;
|
|
457
650
|
end: number;
|
|
458
651
|
}[] | undefined;
|
|
652
|
+
}>, CaptureRuleMatcher, {
|
|
653
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
459
654
|
fingerprint?: {
|
|
460
655
|
value: string;
|
|
461
656
|
version: string;
|
|
462
657
|
} | undefined;
|
|
463
|
-
}>, CaptureRuleMatcher, {
|
|
464
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
465
658
|
first_party?: boolean | undefined;
|
|
466
659
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
467
660
|
services?: string[] | undefined;
|
|
@@ -469,8 +662,21 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
469
662
|
error_name?: string | undefined;
|
|
470
663
|
message_contains?: string | undefined;
|
|
471
664
|
message_equals?: string | undefined;
|
|
472
|
-
browser_event_kind?: "
|
|
665
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
473
666
|
browser_event_opaque?: boolean | undefined;
|
|
667
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
668
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
669
|
+
browser_target_tag_name?: string | undefined;
|
|
670
|
+
browser_target_attributes?: {
|
|
671
|
+
type?: string | undefined;
|
|
672
|
+
rel?: string | undefined;
|
|
673
|
+
as?: string | undefined;
|
|
674
|
+
media?: string | undefined;
|
|
675
|
+
cross_origin?: string | undefined;
|
|
676
|
+
async?: boolean | undefined;
|
|
677
|
+
defer?: boolean | undefined;
|
|
678
|
+
integrity_present?: boolean | undefined;
|
|
679
|
+
} | undefined;
|
|
474
680
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
475
681
|
bot_family?: string | undefined;
|
|
476
682
|
resource_url?: {
|
|
@@ -490,10 +696,6 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
490
696
|
start: number;
|
|
491
697
|
end: number;
|
|
492
698
|
}[] | undefined;
|
|
493
|
-
fingerprint?: {
|
|
494
|
-
value: string;
|
|
495
|
-
version: string;
|
|
496
|
-
} | undefined;
|
|
497
699
|
}>;
|
|
498
700
|
sample_rate: z.ZodNullable<z.ZodNumber>;
|
|
499
701
|
sample_event_class: z.ZodNullable<z.ZodEnum<["preserve", "context"]>>;
|
|
@@ -519,7 +721,7 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
519
721
|
enabled: boolean;
|
|
520
722
|
matcher: CaptureRuleMatcher;
|
|
521
723
|
sample_rate: number | null;
|
|
522
|
-
sample_event_class: "
|
|
724
|
+
sample_event_class: "context" | "preserve" | null;
|
|
523
725
|
created_by_user_id: string | null;
|
|
524
726
|
created_from_incident_id: string | null;
|
|
525
727
|
created_from_event_id: string | null;
|
|
@@ -537,6 +739,10 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
537
739
|
enabled: boolean;
|
|
538
740
|
matcher: {
|
|
539
741
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
742
|
+
fingerprint?: {
|
|
743
|
+
value: string;
|
|
744
|
+
version: string;
|
|
745
|
+
} | undefined;
|
|
540
746
|
first_party?: boolean | undefined;
|
|
541
747
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
542
748
|
services?: string[] | undefined;
|
|
@@ -544,8 +750,21 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
544
750
|
error_name?: string | undefined;
|
|
545
751
|
message_contains?: string | undefined;
|
|
546
752
|
message_equals?: string | undefined;
|
|
547
|
-
browser_event_kind?: "
|
|
753
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
548
754
|
browser_event_opaque?: boolean | undefined;
|
|
755
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
756
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
757
|
+
browser_target_tag_name?: string | undefined;
|
|
758
|
+
browser_target_attributes?: {
|
|
759
|
+
type?: string | undefined;
|
|
760
|
+
rel?: string | undefined;
|
|
761
|
+
as?: string | undefined;
|
|
762
|
+
media?: string | undefined;
|
|
763
|
+
cross_origin?: string | undefined;
|
|
764
|
+
async?: boolean | undefined;
|
|
765
|
+
defer?: boolean | undefined;
|
|
766
|
+
integrity_present?: boolean | undefined;
|
|
767
|
+
} | undefined;
|
|
549
768
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
550
769
|
bot_family?: string | undefined;
|
|
551
770
|
resource_url?: {
|
|
@@ -565,13 +784,9 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
565
784
|
start: number;
|
|
566
785
|
end: number;
|
|
567
786
|
}[] | undefined;
|
|
568
|
-
fingerprint?: {
|
|
569
|
-
value: string;
|
|
570
|
-
version: string;
|
|
571
|
-
} | undefined;
|
|
572
787
|
};
|
|
573
788
|
sample_rate: number | null;
|
|
574
|
-
sample_event_class: "
|
|
789
|
+
sample_event_class: "context" | "preserve" | null;
|
|
575
790
|
created_by_user_id: string | null;
|
|
576
791
|
created_from_incident_id: string | null;
|
|
577
792
|
created_from_event_id: string | null;
|
|
@@ -589,7 +804,7 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
589
804
|
enabled: boolean;
|
|
590
805
|
matcher: CaptureRuleMatcher;
|
|
591
806
|
sample_rate: number | null;
|
|
592
|
-
sample_event_class: "
|
|
807
|
+
sample_event_class: "context" | "preserve" | null;
|
|
593
808
|
created_by_user_id: string | null;
|
|
594
809
|
created_from_incident_id: string | null;
|
|
595
810
|
created_from_event_id: string | null;
|
|
@@ -607,6 +822,10 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
607
822
|
enabled: boolean;
|
|
608
823
|
matcher: {
|
|
609
824
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
825
|
+
fingerprint?: {
|
|
826
|
+
value: string;
|
|
827
|
+
version: string;
|
|
828
|
+
} | undefined;
|
|
610
829
|
first_party?: boolean | undefined;
|
|
611
830
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
612
831
|
services?: string[] | undefined;
|
|
@@ -614,8 +833,21 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
614
833
|
error_name?: string | undefined;
|
|
615
834
|
message_contains?: string | undefined;
|
|
616
835
|
message_equals?: string | undefined;
|
|
617
|
-
browser_event_kind?: "
|
|
836
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
618
837
|
browser_event_opaque?: boolean | undefined;
|
|
838
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
839
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
840
|
+
browser_target_tag_name?: string | undefined;
|
|
841
|
+
browser_target_attributes?: {
|
|
842
|
+
type?: string | undefined;
|
|
843
|
+
rel?: string | undefined;
|
|
844
|
+
as?: string | undefined;
|
|
845
|
+
media?: string | undefined;
|
|
846
|
+
cross_origin?: string | undefined;
|
|
847
|
+
async?: boolean | undefined;
|
|
848
|
+
defer?: boolean | undefined;
|
|
849
|
+
integrity_present?: boolean | undefined;
|
|
850
|
+
} | undefined;
|
|
619
851
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
620
852
|
bot_family?: string | undefined;
|
|
621
853
|
resource_url?: {
|
|
@@ -635,13 +867,9 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
635
867
|
start: number;
|
|
636
868
|
end: number;
|
|
637
869
|
}[] | undefined;
|
|
638
|
-
fingerprint?: {
|
|
639
|
-
value: string;
|
|
640
|
-
version: string;
|
|
641
|
-
} | undefined;
|
|
642
870
|
};
|
|
643
871
|
sample_rate: number | null;
|
|
644
|
-
sample_event_class: "
|
|
872
|
+
sample_event_class: "context" | "preserve" | null;
|
|
645
873
|
created_by_user_id: string | null;
|
|
646
874
|
created_from_incident_id: string | null;
|
|
647
875
|
created_from_event_id: string | null;
|
|
@@ -666,6 +894,55 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
666
894
|
message_equals: z.ZodOptional<z.ZodString>;
|
|
667
895
|
browser_event_kind: z.ZodOptional<z.ZodEnum<["window_error", "resource_error"]>>;
|
|
668
896
|
browser_event_opaque: z.ZodOptional<z.ZodBoolean>;
|
|
897
|
+
browser_page_visibility_state: z.ZodOptional<z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>>;
|
|
898
|
+
browser_page_ready_state: z.ZodOptional<z.ZodEnum<["loading", "interactive", "complete"]>>;
|
|
899
|
+
browser_target_tag_name: z.ZodOptional<z.ZodString>;
|
|
900
|
+
browser_target_attributes: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
901
|
+
rel: z.ZodOptional<z.ZodString>;
|
|
902
|
+
as: z.ZodOptional<z.ZodString>;
|
|
903
|
+
type: z.ZodOptional<z.ZodString>;
|
|
904
|
+
media: z.ZodOptional<z.ZodString>;
|
|
905
|
+
cross_origin: z.ZodOptional<z.ZodString>;
|
|
906
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
907
|
+
defer: z.ZodOptional<z.ZodBoolean>;
|
|
908
|
+
integrity_present: z.ZodOptional<z.ZodBoolean>;
|
|
909
|
+
}, "strict", z.ZodTypeAny, {
|
|
910
|
+
type?: string | undefined;
|
|
911
|
+
rel?: string | undefined;
|
|
912
|
+
as?: string | undefined;
|
|
913
|
+
media?: string | undefined;
|
|
914
|
+
cross_origin?: string | undefined;
|
|
915
|
+
async?: boolean | undefined;
|
|
916
|
+
defer?: boolean | undefined;
|
|
917
|
+
integrity_present?: boolean | undefined;
|
|
918
|
+
}, {
|
|
919
|
+
type?: string | undefined;
|
|
920
|
+
rel?: string | undefined;
|
|
921
|
+
as?: string | undefined;
|
|
922
|
+
media?: string | undefined;
|
|
923
|
+
cross_origin?: string | undefined;
|
|
924
|
+
async?: boolean | undefined;
|
|
925
|
+
defer?: boolean | undefined;
|
|
926
|
+
integrity_present?: boolean | undefined;
|
|
927
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
928
|
+
type?: string | undefined;
|
|
929
|
+
rel?: string | undefined;
|
|
930
|
+
as?: string | undefined;
|
|
931
|
+
media?: string | undefined;
|
|
932
|
+
cross_origin?: string | undefined;
|
|
933
|
+
async?: boolean | undefined;
|
|
934
|
+
defer?: boolean | undefined;
|
|
935
|
+
integrity_present?: boolean | undefined;
|
|
936
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
937
|
+
type?: string | undefined;
|
|
938
|
+
rel?: string | undefined;
|
|
939
|
+
as?: string | undefined;
|
|
940
|
+
media?: string | undefined;
|
|
941
|
+
cross_origin?: string | undefined;
|
|
942
|
+
async?: boolean | undefined;
|
|
943
|
+
defer?: boolean | undefined;
|
|
944
|
+
integrity_present?: boolean | undefined;
|
|
945
|
+
}>>;
|
|
669
946
|
client_kind: z.ZodOptional<z.ZodEnum<["human", "bot", "unknown"]>>;
|
|
670
947
|
bot_family: z.ZodOptional<z.ZodString>;
|
|
671
948
|
resource_url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -749,6 +1026,10 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
749
1026
|
}>>;
|
|
750
1027
|
}, "strip", z.ZodTypeAny, {
|
|
751
1028
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1029
|
+
fingerprint?: {
|
|
1030
|
+
value: string;
|
|
1031
|
+
version: string;
|
|
1032
|
+
} | undefined;
|
|
752
1033
|
first_party?: boolean | undefined;
|
|
753
1034
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
754
1035
|
services?: string[] | undefined;
|
|
@@ -756,8 +1037,12 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
756
1037
|
error_name?: string | undefined;
|
|
757
1038
|
message_contains?: string | undefined;
|
|
758
1039
|
message_equals?: string | undefined;
|
|
759
|
-
browser_event_kind?: "
|
|
1040
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
760
1041
|
browser_event_opaque?: boolean | undefined;
|
|
1042
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1043
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1044
|
+
browser_target_tag_name?: string | undefined;
|
|
1045
|
+
browser_target_attributes?: CaptureRuleBrowserTargetAttributes | undefined;
|
|
761
1046
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
762
1047
|
bot_family?: string | undefined;
|
|
763
1048
|
resource_url?: CaptureRuleUrlMatcher | undefined;
|
|
@@ -767,12 +1052,12 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
767
1052
|
start: number;
|
|
768
1053
|
end: number;
|
|
769
1054
|
}[] | undefined;
|
|
1055
|
+
}, {
|
|
1056
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
770
1057
|
fingerprint?: {
|
|
771
1058
|
value: string;
|
|
772
1059
|
version: string;
|
|
773
1060
|
} | undefined;
|
|
774
|
-
}, {
|
|
775
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
776
1061
|
first_party?: boolean | undefined;
|
|
777
1062
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
778
1063
|
services?: string[] | undefined;
|
|
@@ -780,8 +1065,21 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
780
1065
|
error_name?: string | undefined;
|
|
781
1066
|
message_contains?: string | undefined;
|
|
782
1067
|
message_equals?: string | undefined;
|
|
783
|
-
browser_event_kind?: "
|
|
1068
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
784
1069
|
browser_event_opaque?: boolean | undefined;
|
|
1070
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1071
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1072
|
+
browser_target_tag_name?: string | undefined;
|
|
1073
|
+
browser_target_attributes?: {
|
|
1074
|
+
type?: string | undefined;
|
|
1075
|
+
rel?: string | undefined;
|
|
1076
|
+
as?: string | undefined;
|
|
1077
|
+
media?: string | undefined;
|
|
1078
|
+
cross_origin?: string | undefined;
|
|
1079
|
+
async?: boolean | undefined;
|
|
1080
|
+
defer?: boolean | undefined;
|
|
1081
|
+
integrity_present?: boolean | undefined;
|
|
1082
|
+
} | undefined;
|
|
785
1083
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
786
1084
|
bot_family?: string | undefined;
|
|
787
1085
|
resource_url?: {
|
|
@@ -801,12 +1099,12 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
801
1099
|
start: number;
|
|
802
1100
|
end: number;
|
|
803
1101
|
}[] | undefined;
|
|
1102
|
+
}>, CaptureRuleMatcher, {
|
|
1103
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
804
1104
|
fingerprint?: {
|
|
805
1105
|
value: string;
|
|
806
1106
|
version: string;
|
|
807
1107
|
} | undefined;
|
|
808
|
-
}>, CaptureRuleMatcher, {
|
|
809
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
810
1108
|
first_party?: boolean | undefined;
|
|
811
1109
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
812
1110
|
services?: string[] | undefined;
|
|
@@ -814,8 +1112,21 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
814
1112
|
error_name?: string | undefined;
|
|
815
1113
|
message_contains?: string | undefined;
|
|
816
1114
|
message_equals?: string | undefined;
|
|
817
|
-
browser_event_kind?: "
|
|
1115
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
818
1116
|
browser_event_opaque?: boolean | undefined;
|
|
1117
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1118
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1119
|
+
browser_target_tag_name?: string | undefined;
|
|
1120
|
+
browser_target_attributes?: {
|
|
1121
|
+
type?: string | undefined;
|
|
1122
|
+
rel?: string | undefined;
|
|
1123
|
+
as?: string | undefined;
|
|
1124
|
+
media?: string | undefined;
|
|
1125
|
+
cross_origin?: string | undefined;
|
|
1126
|
+
async?: boolean | undefined;
|
|
1127
|
+
defer?: boolean | undefined;
|
|
1128
|
+
integrity_present?: boolean | undefined;
|
|
1129
|
+
} | undefined;
|
|
819
1130
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
820
1131
|
bot_family?: string | undefined;
|
|
821
1132
|
resource_url?: {
|
|
@@ -835,12 +1146,12 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
835
1146
|
start: number;
|
|
836
1147
|
end: number;
|
|
837
1148
|
}[] | undefined;
|
|
1149
|
+
}>, CaptureRuleMatcher, {
|
|
1150
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
838
1151
|
fingerprint?: {
|
|
839
1152
|
value: string;
|
|
840
1153
|
version: string;
|
|
841
1154
|
} | undefined;
|
|
842
|
-
}>, CaptureRuleMatcher, {
|
|
843
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
844
1155
|
first_party?: boolean | undefined;
|
|
845
1156
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
846
1157
|
services?: string[] | undefined;
|
|
@@ -848,8 +1159,21 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
848
1159
|
error_name?: string | undefined;
|
|
849
1160
|
message_contains?: string | undefined;
|
|
850
1161
|
message_equals?: string | undefined;
|
|
851
|
-
browser_event_kind?: "
|
|
1162
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
852
1163
|
browser_event_opaque?: boolean | undefined;
|
|
1164
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1165
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1166
|
+
browser_target_tag_name?: string | undefined;
|
|
1167
|
+
browser_target_attributes?: {
|
|
1168
|
+
type?: string | undefined;
|
|
1169
|
+
rel?: string | undefined;
|
|
1170
|
+
as?: string | undefined;
|
|
1171
|
+
media?: string | undefined;
|
|
1172
|
+
cross_origin?: string | undefined;
|
|
1173
|
+
async?: boolean | undefined;
|
|
1174
|
+
defer?: boolean | undefined;
|
|
1175
|
+
integrity_present?: boolean | undefined;
|
|
1176
|
+
} | undefined;
|
|
853
1177
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
854
1178
|
bot_family?: string | undefined;
|
|
855
1179
|
resource_url?: {
|
|
@@ -869,10 +1193,6 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
869
1193
|
start: number;
|
|
870
1194
|
end: number;
|
|
871
1195
|
}[] | undefined;
|
|
872
|
-
fingerprint?: {
|
|
873
|
-
value: string;
|
|
874
|
-
version: string;
|
|
875
|
-
} | undefined;
|
|
876
1196
|
}>;
|
|
877
1197
|
sample_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
878
1198
|
sample_event_class: z.ZodOptional<z.ZodNullable<z.ZodEnum<["preserve", "context"]>>>;
|
|
@@ -891,12 +1211,16 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
891
1211
|
created_from_incident_id: string | null;
|
|
892
1212
|
created_from_event_id: string | null;
|
|
893
1213
|
sample_rate?: number | null | undefined;
|
|
894
|
-
sample_event_class?: "
|
|
1214
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
895
1215
|
}, {
|
|
896
1216
|
action: "sample" | "demote" | "drop";
|
|
897
1217
|
name: string;
|
|
898
1218
|
matcher: {
|
|
899
1219
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1220
|
+
fingerprint?: {
|
|
1221
|
+
value: string;
|
|
1222
|
+
version: string;
|
|
1223
|
+
} | undefined;
|
|
900
1224
|
first_party?: boolean | undefined;
|
|
901
1225
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
902
1226
|
services?: string[] | undefined;
|
|
@@ -904,8 +1228,21 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
904
1228
|
error_name?: string | undefined;
|
|
905
1229
|
message_contains?: string | undefined;
|
|
906
1230
|
message_equals?: string | undefined;
|
|
907
|
-
browser_event_kind?: "
|
|
1231
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
908
1232
|
browser_event_opaque?: boolean | undefined;
|
|
1233
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1234
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1235
|
+
browser_target_tag_name?: string | undefined;
|
|
1236
|
+
browser_target_attributes?: {
|
|
1237
|
+
type?: string | undefined;
|
|
1238
|
+
rel?: string | undefined;
|
|
1239
|
+
as?: string | undefined;
|
|
1240
|
+
media?: string | undefined;
|
|
1241
|
+
cross_origin?: string | undefined;
|
|
1242
|
+
async?: boolean | undefined;
|
|
1243
|
+
defer?: boolean | undefined;
|
|
1244
|
+
integrity_present?: boolean | undefined;
|
|
1245
|
+
} | undefined;
|
|
909
1246
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
910
1247
|
bot_family?: string | undefined;
|
|
911
1248
|
resource_url?: {
|
|
@@ -925,16 +1262,12 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
925
1262
|
start: number;
|
|
926
1263
|
end: number;
|
|
927
1264
|
}[] | undefined;
|
|
928
|
-
fingerprint?: {
|
|
929
|
-
value: string;
|
|
930
|
-
version: string;
|
|
931
|
-
} | undefined;
|
|
932
1265
|
};
|
|
933
1266
|
expires_at?: string | null | undefined;
|
|
934
1267
|
description?: string | null | undefined;
|
|
935
1268
|
enabled?: boolean | undefined;
|
|
936
1269
|
sample_rate?: number | null | undefined;
|
|
937
|
-
sample_event_class?: "
|
|
1270
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
938
1271
|
created_by_user_id?: string | null | undefined;
|
|
939
1272
|
created_from_incident_id?: string | null | undefined;
|
|
940
1273
|
created_from_event_id?: string | null | undefined;
|
|
@@ -949,12 +1282,16 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
949
1282
|
created_from_incident_id: string | null;
|
|
950
1283
|
created_from_event_id: string | null;
|
|
951
1284
|
sample_rate?: number | null | undefined;
|
|
952
|
-
sample_event_class?: "
|
|
1285
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
953
1286
|
}, {
|
|
954
1287
|
action: "sample" | "demote" | "drop";
|
|
955
1288
|
name: string;
|
|
956
1289
|
matcher: {
|
|
957
1290
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1291
|
+
fingerprint?: {
|
|
1292
|
+
value: string;
|
|
1293
|
+
version: string;
|
|
1294
|
+
} | undefined;
|
|
958
1295
|
first_party?: boolean | undefined;
|
|
959
1296
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
960
1297
|
services?: string[] | undefined;
|
|
@@ -962,8 +1299,21 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
962
1299
|
error_name?: string | undefined;
|
|
963
1300
|
message_contains?: string | undefined;
|
|
964
1301
|
message_equals?: string | undefined;
|
|
965
|
-
browser_event_kind?: "
|
|
1302
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
966
1303
|
browser_event_opaque?: boolean | undefined;
|
|
1304
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1305
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1306
|
+
browser_target_tag_name?: string | undefined;
|
|
1307
|
+
browser_target_attributes?: {
|
|
1308
|
+
type?: string | undefined;
|
|
1309
|
+
rel?: string | undefined;
|
|
1310
|
+
as?: string | undefined;
|
|
1311
|
+
media?: string | undefined;
|
|
1312
|
+
cross_origin?: string | undefined;
|
|
1313
|
+
async?: boolean | undefined;
|
|
1314
|
+
defer?: boolean | undefined;
|
|
1315
|
+
integrity_present?: boolean | undefined;
|
|
1316
|
+
} | undefined;
|
|
967
1317
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
968
1318
|
bot_family?: string | undefined;
|
|
969
1319
|
resource_url?: {
|
|
@@ -983,22 +1333,18 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
983
1333
|
start: number;
|
|
984
1334
|
end: number;
|
|
985
1335
|
}[] | undefined;
|
|
986
|
-
fingerprint?: {
|
|
987
|
-
value: string;
|
|
988
|
-
version: string;
|
|
989
|
-
} | undefined;
|
|
990
1336
|
};
|
|
991
1337
|
expires_at?: string | null | undefined;
|
|
992
1338
|
description?: string | null | undefined;
|
|
993
1339
|
enabled?: boolean | undefined;
|
|
994
1340
|
sample_rate?: number | null | undefined;
|
|
995
|
-
sample_event_class?: "
|
|
1341
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
996
1342
|
created_by_user_id?: string | null | undefined;
|
|
997
1343
|
created_from_incident_id?: string | null | undefined;
|
|
998
1344
|
created_from_event_id?: string | null | undefined;
|
|
999
1345
|
}>, {
|
|
1000
1346
|
sample_rate: number | null;
|
|
1001
|
-
sample_event_class: "
|
|
1347
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1002
1348
|
action: "sample" | "demote" | "drop";
|
|
1003
1349
|
expires_at: string | null;
|
|
1004
1350
|
name: string;
|
|
@@ -1013,6 +1359,10 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
1013
1359
|
name: string;
|
|
1014
1360
|
matcher: {
|
|
1015
1361
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1362
|
+
fingerprint?: {
|
|
1363
|
+
value: string;
|
|
1364
|
+
version: string;
|
|
1365
|
+
} | undefined;
|
|
1016
1366
|
first_party?: boolean | undefined;
|
|
1017
1367
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1018
1368
|
services?: string[] | undefined;
|
|
@@ -1020,8 +1370,21 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
1020
1370
|
error_name?: string | undefined;
|
|
1021
1371
|
message_contains?: string | undefined;
|
|
1022
1372
|
message_equals?: string | undefined;
|
|
1023
|
-
browser_event_kind?: "
|
|
1373
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1024
1374
|
browser_event_opaque?: boolean | undefined;
|
|
1375
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1376
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1377
|
+
browser_target_tag_name?: string | undefined;
|
|
1378
|
+
browser_target_attributes?: {
|
|
1379
|
+
type?: string | undefined;
|
|
1380
|
+
rel?: string | undefined;
|
|
1381
|
+
as?: string | undefined;
|
|
1382
|
+
media?: string | undefined;
|
|
1383
|
+
cross_origin?: string | undefined;
|
|
1384
|
+
async?: boolean | undefined;
|
|
1385
|
+
defer?: boolean | undefined;
|
|
1386
|
+
integrity_present?: boolean | undefined;
|
|
1387
|
+
} | undefined;
|
|
1025
1388
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1026
1389
|
bot_family?: string | undefined;
|
|
1027
1390
|
resource_url?: {
|
|
@@ -1041,16 +1404,12 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
1041
1404
|
start: number;
|
|
1042
1405
|
end: number;
|
|
1043
1406
|
}[] | undefined;
|
|
1044
|
-
fingerprint?: {
|
|
1045
|
-
value: string;
|
|
1046
|
-
version: string;
|
|
1047
|
-
} | undefined;
|
|
1048
1407
|
};
|
|
1049
1408
|
expires_at?: string | null | undefined;
|
|
1050
1409
|
description?: string | null | undefined;
|
|
1051
1410
|
enabled?: boolean | undefined;
|
|
1052
1411
|
sample_rate?: number | null | undefined;
|
|
1053
|
-
sample_event_class?: "
|
|
1412
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
1054
1413
|
created_by_user_id?: string | null | undefined;
|
|
1055
1414
|
created_from_incident_id?: string | null | undefined;
|
|
1056
1415
|
created_from_event_id?: string | null | undefined;
|
|
@@ -1072,6 +1431,55 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1072
1431
|
message_equals: z.ZodOptional<z.ZodString>;
|
|
1073
1432
|
browser_event_kind: z.ZodOptional<z.ZodEnum<["window_error", "resource_error"]>>;
|
|
1074
1433
|
browser_event_opaque: z.ZodOptional<z.ZodBoolean>;
|
|
1434
|
+
browser_page_visibility_state: z.ZodOptional<z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>>;
|
|
1435
|
+
browser_page_ready_state: z.ZodOptional<z.ZodEnum<["loading", "interactive", "complete"]>>;
|
|
1436
|
+
browser_target_tag_name: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
browser_target_attributes: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1438
|
+
rel: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
as: z.ZodOptional<z.ZodString>;
|
|
1440
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
media: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
cross_origin: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
1444
|
+
defer: z.ZodOptional<z.ZodBoolean>;
|
|
1445
|
+
integrity_present: z.ZodOptional<z.ZodBoolean>;
|
|
1446
|
+
}, "strict", z.ZodTypeAny, {
|
|
1447
|
+
type?: string | undefined;
|
|
1448
|
+
rel?: string | undefined;
|
|
1449
|
+
as?: string | undefined;
|
|
1450
|
+
media?: string | undefined;
|
|
1451
|
+
cross_origin?: string | undefined;
|
|
1452
|
+
async?: boolean | undefined;
|
|
1453
|
+
defer?: boolean | undefined;
|
|
1454
|
+
integrity_present?: boolean | undefined;
|
|
1455
|
+
}, {
|
|
1456
|
+
type?: string | undefined;
|
|
1457
|
+
rel?: string | undefined;
|
|
1458
|
+
as?: string | undefined;
|
|
1459
|
+
media?: string | undefined;
|
|
1460
|
+
cross_origin?: string | undefined;
|
|
1461
|
+
async?: boolean | undefined;
|
|
1462
|
+
defer?: boolean | undefined;
|
|
1463
|
+
integrity_present?: boolean | undefined;
|
|
1464
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
1465
|
+
type?: string | undefined;
|
|
1466
|
+
rel?: string | undefined;
|
|
1467
|
+
as?: string | undefined;
|
|
1468
|
+
media?: string | undefined;
|
|
1469
|
+
cross_origin?: string | undefined;
|
|
1470
|
+
async?: boolean | undefined;
|
|
1471
|
+
defer?: boolean | undefined;
|
|
1472
|
+
integrity_present?: boolean | undefined;
|
|
1473
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
1474
|
+
type?: string | undefined;
|
|
1475
|
+
rel?: string | undefined;
|
|
1476
|
+
as?: string | undefined;
|
|
1477
|
+
media?: string | undefined;
|
|
1478
|
+
cross_origin?: string | undefined;
|
|
1479
|
+
async?: boolean | undefined;
|
|
1480
|
+
defer?: boolean | undefined;
|
|
1481
|
+
integrity_present?: boolean | undefined;
|
|
1482
|
+
}>>;
|
|
1075
1483
|
client_kind: z.ZodOptional<z.ZodEnum<["human", "bot", "unknown"]>>;
|
|
1076
1484
|
bot_family: z.ZodOptional<z.ZodString>;
|
|
1077
1485
|
resource_url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -1155,6 +1563,10 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1155
1563
|
}>>;
|
|
1156
1564
|
}, "strip", z.ZodTypeAny, {
|
|
1157
1565
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1566
|
+
fingerprint?: {
|
|
1567
|
+
value: string;
|
|
1568
|
+
version: string;
|
|
1569
|
+
} | undefined;
|
|
1158
1570
|
first_party?: boolean | undefined;
|
|
1159
1571
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1160
1572
|
services?: string[] | undefined;
|
|
@@ -1162,8 +1574,12 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1162
1574
|
error_name?: string | undefined;
|
|
1163
1575
|
message_contains?: string | undefined;
|
|
1164
1576
|
message_equals?: string | undefined;
|
|
1165
|
-
browser_event_kind?: "
|
|
1577
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1166
1578
|
browser_event_opaque?: boolean | undefined;
|
|
1579
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1580
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1581
|
+
browser_target_tag_name?: string | undefined;
|
|
1582
|
+
browser_target_attributes?: CaptureRuleBrowserTargetAttributes | undefined;
|
|
1167
1583
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1168
1584
|
bot_family?: string | undefined;
|
|
1169
1585
|
resource_url?: CaptureRuleUrlMatcher | undefined;
|
|
@@ -1173,12 +1589,12 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1173
1589
|
start: number;
|
|
1174
1590
|
end: number;
|
|
1175
1591
|
}[] | undefined;
|
|
1592
|
+
}, {
|
|
1593
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1176
1594
|
fingerprint?: {
|
|
1177
1595
|
value: string;
|
|
1178
1596
|
version: string;
|
|
1179
1597
|
} | undefined;
|
|
1180
|
-
}, {
|
|
1181
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1182
1598
|
first_party?: boolean | undefined;
|
|
1183
1599
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1184
1600
|
services?: string[] | undefined;
|
|
@@ -1186,8 +1602,21 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1186
1602
|
error_name?: string | undefined;
|
|
1187
1603
|
message_contains?: string | undefined;
|
|
1188
1604
|
message_equals?: string | undefined;
|
|
1189
|
-
browser_event_kind?: "
|
|
1605
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1190
1606
|
browser_event_opaque?: boolean | undefined;
|
|
1607
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1608
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1609
|
+
browser_target_tag_name?: string | undefined;
|
|
1610
|
+
browser_target_attributes?: {
|
|
1611
|
+
type?: string | undefined;
|
|
1612
|
+
rel?: string | undefined;
|
|
1613
|
+
as?: string | undefined;
|
|
1614
|
+
media?: string | undefined;
|
|
1615
|
+
cross_origin?: string | undefined;
|
|
1616
|
+
async?: boolean | undefined;
|
|
1617
|
+
defer?: boolean | undefined;
|
|
1618
|
+
integrity_present?: boolean | undefined;
|
|
1619
|
+
} | undefined;
|
|
1191
1620
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1192
1621
|
bot_family?: string | undefined;
|
|
1193
1622
|
resource_url?: {
|
|
@@ -1207,12 +1636,12 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1207
1636
|
start: number;
|
|
1208
1637
|
end: number;
|
|
1209
1638
|
}[] | undefined;
|
|
1639
|
+
}>, CaptureRuleMatcher, {
|
|
1640
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1210
1641
|
fingerprint?: {
|
|
1211
1642
|
value: string;
|
|
1212
1643
|
version: string;
|
|
1213
1644
|
} | undefined;
|
|
1214
|
-
}>, CaptureRuleMatcher, {
|
|
1215
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1216
1645
|
first_party?: boolean | undefined;
|
|
1217
1646
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1218
1647
|
services?: string[] | undefined;
|
|
@@ -1220,8 +1649,21 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1220
1649
|
error_name?: string | undefined;
|
|
1221
1650
|
message_contains?: string | undefined;
|
|
1222
1651
|
message_equals?: string | undefined;
|
|
1223
|
-
browser_event_kind?: "
|
|
1652
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1224
1653
|
browser_event_opaque?: boolean | undefined;
|
|
1654
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1655
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1656
|
+
browser_target_tag_name?: string | undefined;
|
|
1657
|
+
browser_target_attributes?: {
|
|
1658
|
+
type?: string | undefined;
|
|
1659
|
+
rel?: string | undefined;
|
|
1660
|
+
as?: string | undefined;
|
|
1661
|
+
media?: string | undefined;
|
|
1662
|
+
cross_origin?: string | undefined;
|
|
1663
|
+
async?: boolean | undefined;
|
|
1664
|
+
defer?: boolean | undefined;
|
|
1665
|
+
integrity_present?: boolean | undefined;
|
|
1666
|
+
} | undefined;
|
|
1225
1667
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1226
1668
|
bot_family?: string | undefined;
|
|
1227
1669
|
resource_url?: {
|
|
@@ -1241,12 +1683,12 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1241
1683
|
start: number;
|
|
1242
1684
|
end: number;
|
|
1243
1685
|
}[] | undefined;
|
|
1686
|
+
}>, CaptureRuleMatcher, {
|
|
1687
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1244
1688
|
fingerprint?: {
|
|
1245
1689
|
value: string;
|
|
1246
1690
|
version: string;
|
|
1247
1691
|
} | undefined;
|
|
1248
|
-
}>, CaptureRuleMatcher, {
|
|
1249
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1250
1692
|
first_party?: boolean | undefined;
|
|
1251
1693
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1252
1694
|
services?: string[] | undefined;
|
|
@@ -1254,8 +1696,21 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1254
1696
|
error_name?: string | undefined;
|
|
1255
1697
|
message_contains?: string | undefined;
|
|
1256
1698
|
message_equals?: string | undefined;
|
|
1257
|
-
browser_event_kind?: "
|
|
1699
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1258
1700
|
browser_event_opaque?: boolean | undefined;
|
|
1701
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1702
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1703
|
+
browser_target_tag_name?: string | undefined;
|
|
1704
|
+
browser_target_attributes?: {
|
|
1705
|
+
type?: string | undefined;
|
|
1706
|
+
rel?: string | undefined;
|
|
1707
|
+
as?: string | undefined;
|
|
1708
|
+
media?: string | undefined;
|
|
1709
|
+
cross_origin?: string | undefined;
|
|
1710
|
+
async?: boolean | undefined;
|
|
1711
|
+
defer?: boolean | undefined;
|
|
1712
|
+
integrity_present?: boolean | undefined;
|
|
1713
|
+
} | undefined;
|
|
1259
1714
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1260
1715
|
bot_family?: string | undefined;
|
|
1261
1716
|
resource_url?: {
|
|
@@ -1275,10 +1730,6 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1275
1730
|
start: number;
|
|
1276
1731
|
end: number;
|
|
1277
1732
|
}[] | undefined;
|
|
1278
|
-
fingerprint?: {
|
|
1279
|
-
value: string;
|
|
1280
|
-
version: string;
|
|
1281
|
-
} | undefined;
|
|
1282
1733
|
}>>;
|
|
1283
1734
|
sample_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1284
1735
|
sample_event_class: z.ZodOptional<z.ZodNullable<z.ZodEnum<["preserve", "context"]>>>;
|
|
@@ -1291,7 +1742,7 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1291
1742
|
enabled?: boolean | undefined;
|
|
1292
1743
|
matcher?: CaptureRuleMatcher | undefined;
|
|
1293
1744
|
sample_rate?: number | null | undefined;
|
|
1294
|
-
sample_event_class?: "
|
|
1745
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
1295
1746
|
}, {
|
|
1296
1747
|
action?: "sample" | "demote" | "drop" | undefined;
|
|
1297
1748
|
expires_at?: string | null | undefined;
|
|
@@ -1300,6 +1751,10 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1300
1751
|
enabled?: boolean | undefined;
|
|
1301
1752
|
matcher?: {
|
|
1302
1753
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1754
|
+
fingerprint?: {
|
|
1755
|
+
value: string;
|
|
1756
|
+
version: string;
|
|
1757
|
+
} | undefined;
|
|
1303
1758
|
first_party?: boolean | undefined;
|
|
1304
1759
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1305
1760
|
services?: string[] | undefined;
|
|
@@ -1307,8 +1762,21 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1307
1762
|
error_name?: string | undefined;
|
|
1308
1763
|
message_contains?: string | undefined;
|
|
1309
1764
|
message_equals?: string | undefined;
|
|
1310
|
-
browser_event_kind?: "
|
|
1765
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1311
1766
|
browser_event_opaque?: boolean | undefined;
|
|
1767
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1768
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1769
|
+
browser_target_tag_name?: string | undefined;
|
|
1770
|
+
browser_target_attributes?: {
|
|
1771
|
+
type?: string | undefined;
|
|
1772
|
+
rel?: string | undefined;
|
|
1773
|
+
as?: string | undefined;
|
|
1774
|
+
media?: string | undefined;
|
|
1775
|
+
cross_origin?: string | undefined;
|
|
1776
|
+
async?: boolean | undefined;
|
|
1777
|
+
defer?: boolean | undefined;
|
|
1778
|
+
integrity_present?: boolean | undefined;
|
|
1779
|
+
} | undefined;
|
|
1312
1780
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1313
1781
|
bot_family?: string | undefined;
|
|
1314
1782
|
resource_url?: {
|
|
@@ -1328,13 +1796,9 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1328
1796
|
start: number;
|
|
1329
1797
|
end: number;
|
|
1330
1798
|
}[] | undefined;
|
|
1331
|
-
fingerprint?: {
|
|
1332
|
-
value: string;
|
|
1333
|
-
version: string;
|
|
1334
|
-
} | undefined;
|
|
1335
1799
|
} | undefined;
|
|
1336
1800
|
sample_rate?: number | null | undefined;
|
|
1337
|
-
sample_event_class?: "
|
|
1801
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
1338
1802
|
}>, {
|
|
1339
1803
|
action?: "sample" | "demote" | "drop" | undefined;
|
|
1340
1804
|
expires_at?: string | null | undefined;
|
|
@@ -1343,7 +1807,7 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1343
1807
|
enabled?: boolean | undefined;
|
|
1344
1808
|
matcher?: CaptureRuleMatcher | undefined;
|
|
1345
1809
|
sample_rate?: number | null | undefined;
|
|
1346
|
-
sample_event_class?: "
|
|
1810
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
1347
1811
|
}, {
|
|
1348
1812
|
action?: "sample" | "demote" | "drop" | undefined;
|
|
1349
1813
|
expires_at?: string | null | undefined;
|
|
@@ -1352,6 +1816,10 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1352
1816
|
enabled?: boolean | undefined;
|
|
1353
1817
|
matcher?: {
|
|
1354
1818
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1819
|
+
fingerprint?: {
|
|
1820
|
+
value: string;
|
|
1821
|
+
version: string;
|
|
1822
|
+
} | undefined;
|
|
1355
1823
|
first_party?: boolean | undefined;
|
|
1356
1824
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1357
1825
|
services?: string[] | undefined;
|
|
@@ -1359,8 +1827,21 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1359
1827
|
error_name?: string | undefined;
|
|
1360
1828
|
message_contains?: string | undefined;
|
|
1361
1829
|
message_equals?: string | undefined;
|
|
1362
|
-
browser_event_kind?: "
|
|
1830
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1363
1831
|
browser_event_opaque?: boolean | undefined;
|
|
1832
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1833
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1834
|
+
browser_target_tag_name?: string | undefined;
|
|
1835
|
+
browser_target_attributes?: {
|
|
1836
|
+
type?: string | undefined;
|
|
1837
|
+
rel?: string | undefined;
|
|
1838
|
+
as?: string | undefined;
|
|
1839
|
+
media?: string | undefined;
|
|
1840
|
+
cross_origin?: string | undefined;
|
|
1841
|
+
async?: boolean | undefined;
|
|
1842
|
+
defer?: boolean | undefined;
|
|
1843
|
+
integrity_present?: boolean | undefined;
|
|
1844
|
+
} | undefined;
|
|
1364
1845
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1365
1846
|
bot_family?: string | undefined;
|
|
1366
1847
|
resource_url?: {
|
|
@@ -1380,13 +1861,9 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1380
1861
|
start: number;
|
|
1381
1862
|
end: number;
|
|
1382
1863
|
}[] | undefined;
|
|
1383
|
-
fingerprint?: {
|
|
1384
|
-
value: string;
|
|
1385
|
-
version: string;
|
|
1386
|
-
} | undefined;
|
|
1387
1864
|
} | undefined;
|
|
1388
1865
|
sample_rate?: number | null | undefined;
|
|
1389
|
-
sample_event_class?: "
|
|
1866
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
1390
1867
|
}>;
|
|
1391
1868
|
export type CaptureRuleUpdate = z.infer<typeof CaptureRuleUpdateSchema>;
|
|
1392
1869
|
export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
@@ -1406,6 +1883,55 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1406
1883
|
message_equals: z.ZodOptional<z.ZodString>;
|
|
1407
1884
|
browser_event_kind: z.ZodOptional<z.ZodEnum<["window_error", "resource_error"]>>;
|
|
1408
1885
|
browser_event_opaque: z.ZodOptional<z.ZodBoolean>;
|
|
1886
|
+
browser_page_visibility_state: z.ZodOptional<z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>>;
|
|
1887
|
+
browser_page_ready_state: z.ZodOptional<z.ZodEnum<["loading", "interactive", "complete"]>>;
|
|
1888
|
+
browser_target_tag_name: z.ZodOptional<z.ZodString>;
|
|
1889
|
+
browser_target_attributes: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1890
|
+
rel: z.ZodOptional<z.ZodString>;
|
|
1891
|
+
as: z.ZodOptional<z.ZodString>;
|
|
1892
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1893
|
+
media: z.ZodOptional<z.ZodString>;
|
|
1894
|
+
cross_origin: z.ZodOptional<z.ZodString>;
|
|
1895
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
1896
|
+
defer: z.ZodOptional<z.ZodBoolean>;
|
|
1897
|
+
integrity_present: z.ZodOptional<z.ZodBoolean>;
|
|
1898
|
+
}, "strict", z.ZodTypeAny, {
|
|
1899
|
+
type?: string | undefined;
|
|
1900
|
+
rel?: string | undefined;
|
|
1901
|
+
as?: string | undefined;
|
|
1902
|
+
media?: string | undefined;
|
|
1903
|
+
cross_origin?: string | undefined;
|
|
1904
|
+
async?: boolean | undefined;
|
|
1905
|
+
defer?: boolean | undefined;
|
|
1906
|
+
integrity_present?: boolean | undefined;
|
|
1907
|
+
}, {
|
|
1908
|
+
type?: string | undefined;
|
|
1909
|
+
rel?: string | undefined;
|
|
1910
|
+
as?: string | undefined;
|
|
1911
|
+
media?: string | undefined;
|
|
1912
|
+
cross_origin?: string | undefined;
|
|
1913
|
+
async?: boolean | undefined;
|
|
1914
|
+
defer?: boolean | undefined;
|
|
1915
|
+
integrity_present?: boolean | undefined;
|
|
1916
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
1917
|
+
type?: string | undefined;
|
|
1918
|
+
rel?: string | undefined;
|
|
1919
|
+
as?: string | undefined;
|
|
1920
|
+
media?: string | undefined;
|
|
1921
|
+
cross_origin?: string | undefined;
|
|
1922
|
+
async?: boolean | undefined;
|
|
1923
|
+
defer?: boolean | undefined;
|
|
1924
|
+
integrity_present?: boolean | undefined;
|
|
1925
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
1926
|
+
type?: string | undefined;
|
|
1927
|
+
rel?: string | undefined;
|
|
1928
|
+
as?: string | undefined;
|
|
1929
|
+
media?: string | undefined;
|
|
1930
|
+
cross_origin?: string | undefined;
|
|
1931
|
+
async?: boolean | undefined;
|
|
1932
|
+
defer?: boolean | undefined;
|
|
1933
|
+
integrity_present?: boolean | undefined;
|
|
1934
|
+
}>>;
|
|
1409
1935
|
client_kind: z.ZodOptional<z.ZodEnum<["human", "bot", "unknown"]>>;
|
|
1410
1936
|
bot_family: z.ZodOptional<z.ZodString>;
|
|
1411
1937
|
resource_url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -1489,6 +2015,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1489
2015
|
}>>;
|
|
1490
2016
|
}, "strip", z.ZodTypeAny, {
|
|
1491
2017
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2018
|
+
fingerprint?: {
|
|
2019
|
+
value: string;
|
|
2020
|
+
version: string;
|
|
2021
|
+
} | undefined;
|
|
1492
2022
|
first_party?: boolean | undefined;
|
|
1493
2023
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1494
2024
|
services?: string[] | undefined;
|
|
@@ -1496,8 +2026,12 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1496
2026
|
error_name?: string | undefined;
|
|
1497
2027
|
message_contains?: string | undefined;
|
|
1498
2028
|
message_equals?: string | undefined;
|
|
1499
|
-
browser_event_kind?: "
|
|
2029
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1500
2030
|
browser_event_opaque?: boolean | undefined;
|
|
2031
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2032
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2033
|
+
browser_target_tag_name?: string | undefined;
|
|
2034
|
+
browser_target_attributes?: CaptureRuleBrowserTargetAttributes | undefined;
|
|
1501
2035
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1502
2036
|
bot_family?: string | undefined;
|
|
1503
2037
|
resource_url?: CaptureRuleUrlMatcher | undefined;
|
|
@@ -1507,12 +2041,12 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1507
2041
|
start: number;
|
|
1508
2042
|
end: number;
|
|
1509
2043
|
}[] | undefined;
|
|
2044
|
+
}, {
|
|
2045
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1510
2046
|
fingerprint?: {
|
|
1511
2047
|
value: string;
|
|
1512
2048
|
version: string;
|
|
1513
2049
|
} | undefined;
|
|
1514
|
-
}, {
|
|
1515
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1516
2050
|
first_party?: boolean | undefined;
|
|
1517
2051
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1518
2052
|
services?: string[] | undefined;
|
|
@@ -1520,8 +2054,21 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1520
2054
|
error_name?: string | undefined;
|
|
1521
2055
|
message_contains?: string | undefined;
|
|
1522
2056
|
message_equals?: string | undefined;
|
|
1523
|
-
browser_event_kind?: "
|
|
2057
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1524
2058
|
browser_event_opaque?: boolean | undefined;
|
|
2059
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2060
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2061
|
+
browser_target_tag_name?: string | undefined;
|
|
2062
|
+
browser_target_attributes?: {
|
|
2063
|
+
type?: string | undefined;
|
|
2064
|
+
rel?: string | undefined;
|
|
2065
|
+
as?: string | undefined;
|
|
2066
|
+
media?: string | undefined;
|
|
2067
|
+
cross_origin?: string | undefined;
|
|
2068
|
+
async?: boolean | undefined;
|
|
2069
|
+
defer?: boolean | undefined;
|
|
2070
|
+
integrity_present?: boolean | undefined;
|
|
2071
|
+
} | undefined;
|
|
1525
2072
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1526
2073
|
bot_family?: string | undefined;
|
|
1527
2074
|
resource_url?: {
|
|
@@ -1541,12 +2088,12 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1541
2088
|
start: number;
|
|
1542
2089
|
end: number;
|
|
1543
2090
|
}[] | undefined;
|
|
2091
|
+
}>, CaptureRuleMatcher, {
|
|
2092
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1544
2093
|
fingerprint?: {
|
|
1545
2094
|
value: string;
|
|
1546
2095
|
version: string;
|
|
1547
2096
|
} | undefined;
|
|
1548
|
-
}>, CaptureRuleMatcher, {
|
|
1549
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1550
2097
|
first_party?: boolean | undefined;
|
|
1551
2098
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1552
2099
|
services?: string[] | undefined;
|
|
@@ -1554,8 +2101,21 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1554
2101
|
error_name?: string | undefined;
|
|
1555
2102
|
message_contains?: string | undefined;
|
|
1556
2103
|
message_equals?: string | undefined;
|
|
1557
|
-
browser_event_kind?: "
|
|
2104
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1558
2105
|
browser_event_opaque?: boolean | undefined;
|
|
2106
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2107
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2108
|
+
browser_target_tag_name?: string | undefined;
|
|
2109
|
+
browser_target_attributes?: {
|
|
2110
|
+
type?: string | undefined;
|
|
2111
|
+
rel?: string | undefined;
|
|
2112
|
+
as?: string | undefined;
|
|
2113
|
+
media?: string | undefined;
|
|
2114
|
+
cross_origin?: string | undefined;
|
|
2115
|
+
async?: boolean | undefined;
|
|
2116
|
+
defer?: boolean | undefined;
|
|
2117
|
+
integrity_present?: boolean | undefined;
|
|
2118
|
+
} | undefined;
|
|
1559
2119
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1560
2120
|
bot_family?: string | undefined;
|
|
1561
2121
|
resource_url?: {
|
|
@@ -1575,12 +2135,12 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1575
2135
|
start: number;
|
|
1576
2136
|
end: number;
|
|
1577
2137
|
}[] | undefined;
|
|
2138
|
+
}>, CaptureRuleMatcher, {
|
|
2139
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1578
2140
|
fingerprint?: {
|
|
1579
2141
|
value: string;
|
|
1580
2142
|
version: string;
|
|
1581
2143
|
} | undefined;
|
|
1582
|
-
}>, CaptureRuleMatcher, {
|
|
1583
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1584
2144
|
first_party?: boolean | undefined;
|
|
1585
2145
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1586
2146
|
services?: string[] | undefined;
|
|
@@ -1588,8 +2148,21 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1588
2148
|
error_name?: string | undefined;
|
|
1589
2149
|
message_contains?: string | undefined;
|
|
1590
2150
|
message_equals?: string | undefined;
|
|
1591
|
-
browser_event_kind?: "
|
|
2151
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1592
2152
|
browser_event_opaque?: boolean | undefined;
|
|
2153
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2154
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2155
|
+
browser_target_tag_name?: string | undefined;
|
|
2156
|
+
browser_target_attributes?: {
|
|
2157
|
+
type?: string | undefined;
|
|
2158
|
+
rel?: string | undefined;
|
|
2159
|
+
as?: string | undefined;
|
|
2160
|
+
media?: string | undefined;
|
|
2161
|
+
cross_origin?: string | undefined;
|
|
2162
|
+
async?: boolean | undefined;
|
|
2163
|
+
defer?: boolean | undefined;
|
|
2164
|
+
integrity_present?: boolean | undefined;
|
|
2165
|
+
} | undefined;
|
|
1593
2166
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1594
2167
|
bot_family?: string | undefined;
|
|
1595
2168
|
resource_url?: {
|
|
@@ -1609,10 +2182,6 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1609
2182
|
start: number;
|
|
1610
2183
|
end: number;
|
|
1611
2184
|
}[] | undefined;
|
|
1612
|
-
fingerprint?: {
|
|
1613
|
-
value: string;
|
|
1614
|
-
version: string;
|
|
1615
|
-
} | undefined;
|
|
1616
2185
|
}>;
|
|
1617
2186
|
sample_rate: z.ZodNullable<z.ZodNumber>;
|
|
1618
2187
|
sample_event_class: z.ZodNullable<z.ZodEnum<["preserve", "context"]>>;
|
|
@@ -1638,7 +2207,7 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1638
2207
|
enabled: boolean;
|
|
1639
2208
|
matcher: CaptureRuleMatcher;
|
|
1640
2209
|
sample_rate: number | null;
|
|
1641
|
-
sample_event_class: "
|
|
2210
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1642
2211
|
created_by_user_id: string | null;
|
|
1643
2212
|
created_from_incident_id: string | null;
|
|
1644
2213
|
created_from_event_id: string | null;
|
|
@@ -1656,6 +2225,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1656
2225
|
enabled: boolean;
|
|
1657
2226
|
matcher: {
|
|
1658
2227
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2228
|
+
fingerprint?: {
|
|
2229
|
+
value: string;
|
|
2230
|
+
version: string;
|
|
2231
|
+
} | undefined;
|
|
1659
2232
|
first_party?: boolean | undefined;
|
|
1660
2233
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1661
2234
|
services?: string[] | undefined;
|
|
@@ -1663,8 +2236,21 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1663
2236
|
error_name?: string | undefined;
|
|
1664
2237
|
message_contains?: string | undefined;
|
|
1665
2238
|
message_equals?: string | undefined;
|
|
1666
|
-
browser_event_kind?: "
|
|
2239
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1667
2240
|
browser_event_opaque?: boolean | undefined;
|
|
2241
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2242
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2243
|
+
browser_target_tag_name?: string | undefined;
|
|
2244
|
+
browser_target_attributes?: {
|
|
2245
|
+
type?: string | undefined;
|
|
2246
|
+
rel?: string | undefined;
|
|
2247
|
+
as?: string | undefined;
|
|
2248
|
+
media?: string | undefined;
|
|
2249
|
+
cross_origin?: string | undefined;
|
|
2250
|
+
async?: boolean | undefined;
|
|
2251
|
+
defer?: boolean | undefined;
|
|
2252
|
+
integrity_present?: boolean | undefined;
|
|
2253
|
+
} | undefined;
|
|
1668
2254
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1669
2255
|
bot_family?: string | undefined;
|
|
1670
2256
|
resource_url?: {
|
|
@@ -1684,13 +2270,9 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1684
2270
|
start: number;
|
|
1685
2271
|
end: number;
|
|
1686
2272
|
}[] | undefined;
|
|
1687
|
-
fingerprint?: {
|
|
1688
|
-
value: string;
|
|
1689
|
-
version: string;
|
|
1690
|
-
} | undefined;
|
|
1691
2273
|
};
|
|
1692
2274
|
sample_rate: number | null;
|
|
1693
|
-
sample_event_class: "
|
|
2275
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1694
2276
|
created_by_user_id: string | null;
|
|
1695
2277
|
created_from_incident_id: string | null;
|
|
1696
2278
|
created_from_event_id: string | null;
|
|
@@ -1708,7 +2290,7 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1708
2290
|
enabled: boolean;
|
|
1709
2291
|
matcher: CaptureRuleMatcher;
|
|
1710
2292
|
sample_rate: number | null;
|
|
1711
|
-
sample_event_class: "
|
|
2293
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1712
2294
|
created_by_user_id: string | null;
|
|
1713
2295
|
created_from_incident_id: string | null;
|
|
1714
2296
|
created_from_event_id: string | null;
|
|
@@ -1726,6 +2308,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1726
2308
|
enabled: boolean;
|
|
1727
2309
|
matcher: {
|
|
1728
2310
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2311
|
+
fingerprint?: {
|
|
2312
|
+
value: string;
|
|
2313
|
+
version: string;
|
|
2314
|
+
} | undefined;
|
|
1729
2315
|
first_party?: boolean | undefined;
|
|
1730
2316
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1731
2317
|
services?: string[] | undefined;
|
|
@@ -1733,8 +2319,21 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1733
2319
|
error_name?: string | undefined;
|
|
1734
2320
|
message_contains?: string | undefined;
|
|
1735
2321
|
message_equals?: string | undefined;
|
|
1736
|
-
browser_event_kind?: "
|
|
2322
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1737
2323
|
browser_event_opaque?: boolean | undefined;
|
|
2324
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2325
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2326
|
+
browser_target_tag_name?: string | undefined;
|
|
2327
|
+
browser_target_attributes?: {
|
|
2328
|
+
type?: string | undefined;
|
|
2329
|
+
rel?: string | undefined;
|
|
2330
|
+
as?: string | undefined;
|
|
2331
|
+
media?: string | undefined;
|
|
2332
|
+
cross_origin?: string | undefined;
|
|
2333
|
+
async?: boolean | undefined;
|
|
2334
|
+
defer?: boolean | undefined;
|
|
2335
|
+
integrity_present?: boolean | undefined;
|
|
2336
|
+
} | undefined;
|
|
1738
2337
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1739
2338
|
bot_family?: string | undefined;
|
|
1740
2339
|
resource_url?: {
|
|
@@ -1754,13 +2353,9 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1754
2353
|
start: number;
|
|
1755
2354
|
end: number;
|
|
1756
2355
|
}[] | undefined;
|
|
1757
|
-
fingerprint?: {
|
|
1758
|
-
value: string;
|
|
1759
|
-
version: string;
|
|
1760
|
-
} | undefined;
|
|
1761
2356
|
};
|
|
1762
2357
|
sample_rate: number | null;
|
|
1763
|
-
sample_event_class: "
|
|
2358
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1764
2359
|
created_by_user_id: string | null;
|
|
1765
2360
|
created_from_incident_id: string | null;
|
|
1766
2361
|
created_from_event_id: string | null;
|
|
@@ -1780,7 +2375,7 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1780
2375
|
enabled: boolean;
|
|
1781
2376
|
matcher: CaptureRuleMatcher;
|
|
1782
2377
|
sample_rate: number | null;
|
|
1783
|
-
sample_event_class: "
|
|
2378
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1784
2379
|
created_by_user_id: string | null;
|
|
1785
2380
|
created_from_incident_id: string | null;
|
|
1786
2381
|
created_from_event_id: string | null;
|
|
@@ -1800,6 +2395,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1800
2395
|
enabled: boolean;
|
|
1801
2396
|
matcher: {
|
|
1802
2397
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2398
|
+
fingerprint?: {
|
|
2399
|
+
value: string;
|
|
2400
|
+
version: string;
|
|
2401
|
+
} | undefined;
|
|
1803
2402
|
first_party?: boolean | undefined;
|
|
1804
2403
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1805
2404
|
services?: string[] | undefined;
|
|
@@ -1807,8 +2406,21 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1807
2406
|
error_name?: string | undefined;
|
|
1808
2407
|
message_contains?: string | undefined;
|
|
1809
2408
|
message_equals?: string | undefined;
|
|
1810
|
-
browser_event_kind?: "
|
|
2409
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1811
2410
|
browser_event_opaque?: boolean | undefined;
|
|
2411
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2412
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2413
|
+
browser_target_tag_name?: string | undefined;
|
|
2414
|
+
browser_target_attributes?: {
|
|
2415
|
+
type?: string | undefined;
|
|
2416
|
+
rel?: string | undefined;
|
|
2417
|
+
as?: string | undefined;
|
|
2418
|
+
media?: string | undefined;
|
|
2419
|
+
cross_origin?: string | undefined;
|
|
2420
|
+
async?: boolean | undefined;
|
|
2421
|
+
defer?: boolean | undefined;
|
|
2422
|
+
integrity_present?: boolean | undefined;
|
|
2423
|
+
} | undefined;
|
|
1812
2424
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1813
2425
|
bot_family?: string | undefined;
|
|
1814
2426
|
resource_url?: {
|
|
@@ -1828,13 +2440,9 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1828
2440
|
start: number;
|
|
1829
2441
|
end: number;
|
|
1830
2442
|
}[] | undefined;
|
|
1831
|
-
fingerprint?: {
|
|
1832
|
-
value: string;
|
|
1833
|
-
version: string;
|
|
1834
|
-
} | undefined;
|
|
1835
2443
|
};
|
|
1836
2444
|
sample_rate: number | null;
|
|
1837
|
-
sample_event_class: "
|
|
2445
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1838
2446
|
created_by_user_id: string | null;
|
|
1839
2447
|
created_from_incident_id: string | null;
|
|
1840
2448
|
created_from_event_id: string | null;
|
|
@@ -1862,6 +2470,55 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
1862
2470
|
message_equals: z.ZodOptional<z.ZodString>;
|
|
1863
2471
|
browser_event_kind: z.ZodOptional<z.ZodEnum<["window_error", "resource_error"]>>;
|
|
1864
2472
|
browser_event_opaque: z.ZodOptional<z.ZodBoolean>;
|
|
2473
|
+
browser_page_visibility_state: z.ZodOptional<z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>>;
|
|
2474
|
+
browser_page_ready_state: z.ZodOptional<z.ZodEnum<["loading", "interactive", "complete"]>>;
|
|
2475
|
+
browser_target_tag_name: z.ZodOptional<z.ZodString>;
|
|
2476
|
+
browser_target_attributes: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
2477
|
+
rel: z.ZodOptional<z.ZodString>;
|
|
2478
|
+
as: z.ZodOptional<z.ZodString>;
|
|
2479
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2480
|
+
media: z.ZodOptional<z.ZodString>;
|
|
2481
|
+
cross_origin: z.ZodOptional<z.ZodString>;
|
|
2482
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
2483
|
+
defer: z.ZodOptional<z.ZodBoolean>;
|
|
2484
|
+
integrity_present: z.ZodOptional<z.ZodBoolean>;
|
|
2485
|
+
}, "strict", z.ZodTypeAny, {
|
|
2486
|
+
type?: string | undefined;
|
|
2487
|
+
rel?: string | undefined;
|
|
2488
|
+
as?: string | undefined;
|
|
2489
|
+
media?: string | undefined;
|
|
2490
|
+
cross_origin?: string | undefined;
|
|
2491
|
+
async?: boolean | undefined;
|
|
2492
|
+
defer?: boolean | undefined;
|
|
2493
|
+
integrity_present?: boolean | undefined;
|
|
2494
|
+
}, {
|
|
2495
|
+
type?: string | undefined;
|
|
2496
|
+
rel?: string | undefined;
|
|
2497
|
+
as?: string | undefined;
|
|
2498
|
+
media?: string | undefined;
|
|
2499
|
+
cross_origin?: string | undefined;
|
|
2500
|
+
async?: boolean | undefined;
|
|
2501
|
+
defer?: boolean | undefined;
|
|
2502
|
+
integrity_present?: boolean | undefined;
|
|
2503
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
2504
|
+
type?: string | undefined;
|
|
2505
|
+
rel?: string | undefined;
|
|
2506
|
+
as?: string | undefined;
|
|
2507
|
+
media?: string | undefined;
|
|
2508
|
+
cross_origin?: string | undefined;
|
|
2509
|
+
async?: boolean | undefined;
|
|
2510
|
+
defer?: boolean | undefined;
|
|
2511
|
+
integrity_present?: boolean | undefined;
|
|
2512
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
2513
|
+
type?: string | undefined;
|
|
2514
|
+
rel?: string | undefined;
|
|
2515
|
+
as?: string | undefined;
|
|
2516
|
+
media?: string | undefined;
|
|
2517
|
+
cross_origin?: string | undefined;
|
|
2518
|
+
async?: boolean | undefined;
|
|
2519
|
+
defer?: boolean | undefined;
|
|
2520
|
+
integrity_present?: boolean | undefined;
|
|
2521
|
+
}>>;
|
|
1865
2522
|
client_kind: z.ZodOptional<z.ZodEnum<["human", "bot", "unknown"]>>;
|
|
1866
2523
|
bot_family: z.ZodOptional<z.ZodString>;
|
|
1867
2524
|
resource_url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -1945,6 +2602,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
1945
2602
|
}>>;
|
|
1946
2603
|
}, "strip", z.ZodTypeAny, {
|
|
1947
2604
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2605
|
+
fingerprint?: {
|
|
2606
|
+
value: string;
|
|
2607
|
+
version: string;
|
|
2608
|
+
} | undefined;
|
|
1948
2609
|
first_party?: boolean | undefined;
|
|
1949
2610
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1950
2611
|
services?: string[] | undefined;
|
|
@@ -1952,8 +2613,12 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
1952
2613
|
error_name?: string | undefined;
|
|
1953
2614
|
message_contains?: string | undefined;
|
|
1954
2615
|
message_equals?: string | undefined;
|
|
1955
|
-
browser_event_kind?: "
|
|
2616
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1956
2617
|
browser_event_opaque?: boolean | undefined;
|
|
2618
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2619
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2620
|
+
browser_target_tag_name?: string | undefined;
|
|
2621
|
+
browser_target_attributes?: CaptureRuleBrowserTargetAttributes | undefined;
|
|
1957
2622
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1958
2623
|
bot_family?: string | undefined;
|
|
1959
2624
|
resource_url?: CaptureRuleUrlMatcher | undefined;
|
|
@@ -1963,12 +2628,12 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
1963
2628
|
start: number;
|
|
1964
2629
|
end: number;
|
|
1965
2630
|
}[] | undefined;
|
|
2631
|
+
}, {
|
|
2632
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1966
2633
|
fingerprint?: {
|
|
1967
2634
|
value: string;
|
|
1968
2635
|
version: string;
|
|
1969
2636
|
} | undefined;
|
|
1970
|
-
}, {
|
|
1971
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1972
2637
|
first_party?: boolean | undefined;
|
|
1973
2638
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1974
2639
|
services?: string[] | undefined;
|
|
@@ -1976,8 +2641,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
1976
2641
|
error_name?: string | undefined;
|
|
1977
2642
|
message_contains?: string | undefined;
|
|
1978
2643
|
message_equals?: string | undefined;
|
|
1979
|
-
browser_event_kind?: "
|
|
2644
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1980
2645
|
browser_event_opaque?: boolean | undefined;
|
|
2646
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2647
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2648
|
+
browser_target_tag_name?: string | undefined;
|
|
2649
|
+
browser_target_attributes?: {
|
|
2650
|
+
type?: string | undefined;
|
|
2651
|
+
rel?: string | undefined;
|
|
2652
|
+
as?: string | undefined;
|
|
2653
|
+
media?: string | undefined;
|
|
2654
|
+
cross_origin?: string | undefined;
|
|
2655
|
+
async?: boolean | undefined;
|
|
2656
|
+
defer?: boolean | undefined;
|
|
2657
|
+
integrity_present?: boolean | undefined;
|
|
2658
|
+
} | undefined;
|
|
1981
2659
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1982
2660
|
bot_family?: string | undefined;
|
|
1983
2661
|
resource_url?: {
|
|
@@ -1997,12 +2675,12 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
1997
2675
|
start: number;
|
|
1998
2676
|
end: number;
|
|
1999
2677
|
}[] | undefined;
|
|
2678
|
+
}>, CaptureRuleMatcher, {
|
|
2679
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2000
2680
|
fingerprint?: {
|
|
2001
2681
|
value: string;
|
|
2002
2682
|
version: string;
|
|
2003
2683
|
} | undefined;
|
|
2004
|
-
}>, CaptureRuleMatcher, {
|
|
2005
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2006
2684
|
first_party?: boolean | undefined;
|
|
2007
2685
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2008
2686
|
services?: string[] | undefined;
|
|
@@ -2010,8 +2688,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2010
2688
|
error_name?: string | undefined;
|
|
2011
2689
|
message_contains?: string | undefined;
|
|
2012
2690
|
message_equals?: string | undefined;
|
|
2013
|
-
browser_event_kind?: "
|
|
2691
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2014
2692
|
browser_event_opaque?: boolean | undefined;
|
|
2693
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2694
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2695
|
+
browser_target_tag_name?: string | undefined;
|
|
2696
|
+
browser_target_attributes?: {
|
|
2697
|
+
type?: string | undefined;
|
|
2698
|
+
rel?: string | undefined;
|
|
2699
|
+
as?: string | undefined;
|
|
2700
|
+
media?: string | undefined;
|
|
2701
|
+
cross_origin?: string | undefined;
|
|
2702
|
+
async?: boolean | undefined;
|
|
2703
|
+
defer?: boolean | undefined;
|
|
2704
|
+
integrity_present?: boolean | undefined;
|
|
2705
|
+
} | undefined;
|
|
2015
2706
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2016
2707
|
bot_family?: string | undefined;
|
|
2017
2708
|
resource_url?: {
|
|
@@ -2031,12 +2722,12 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2031
2722
|
start: number;
|
|
2032
2723
|
end: number;
|
|
2033
2724
|
}[] | undefined;
|
|
2725
|
+
}>, CaptureRuleMatcher, {
|
|
2726
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2034
2727
|
fingerprint?: {
|
|
2035
2728
|
value: string;
|
|
2036
2729
|
version: string;
|
|
2037
2730
|
} | undefined;
|
|
2038
|
-
}>, CaptureRuleMatcher, {
|
|
2039
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2040
2731
|
first_party?: boolean | undefined;
|
|
2041
2732
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2042
2733
|
services?: string[] | undefined;
|
|
@@ -2044,8 +2735,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2044
2735
|
error_name?: string | undefined;
|
|
2045
2736
|
message_contains?: string | undefined;
|
|
2046
2737
|
message_equals?: string | undefined;
|
|
2047
|
-
browser_event_kind?: "
|
|
2738
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2048
2739
|
browser_event_opaque?: boolean | undefined;
|
|
2740
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2741
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2742
|
+
browser_target_tag_name?: string | undefined;
|
|
2743
|
+
browser_target_attributes?: {
|
|
2744
|
+
type?: string | undefined;
|
|
2745
|
+
rel?: string | undefined;
|
|
2746
|
+
as?: string | undefined;
|
|
2747
|
+
media?: string | undefined;
|
|
2748
|
+
cross_origin?: string | undefined;
|
|
2749
|
+
async?: boolean | undefined;
|
|
2750
|
+
defer?: boolean | undefined;
|
|
2751
|
+
integrity_present?: boolean | undefined;
|
|
2752
|
+
} | undefined;
|
|
2049
2753
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2050
2754
|
bot_family?: string | undefined;
|
|
2051
2755
|
resource_url?: {
|
|
@@ -2065,10 +2769,6 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2065
2769
|
start: number;
|
|
2066
2770
|
end: number;
|
|
2067
2771
|
}[] | undefined;
|
|
2068
|
-
fingerprint?: {
|
|
2069
|
-
value: string;
|
|
2070
|
-
version: string;
|
|
2071
|
-
} | undefined;
|
|
2072
2772
|
}>;
|
|
2073
2773
|
sample_rate: z.ZodNullable<z.ZodNumber>;
|
|
2074
2774
|
sample_event_class: z.ZodNullable<z.ZodEnum<["preserve", "context"]>>;
|
|
@@ -2094,7 +2794,7 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2094
2794
|
enabled: boolean;
|
|
2095
2795
|
matcher: CaptureRuleMatcher;
|
|
2096
2796
|
sample_rate: number | null;
|
|
2097
|
-
sample_event_class: "
|
|
2797
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2098
2798
|
created_by_user_id: string | null;
|
|
2099
2799
|
created_from_incident_id: string | null;
|
|
2100
2800
|
created_from_event_id: string | null;
|
|
@@ -2112,6 +2812,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2112
2812
|
enabled: boolean;
|
|
2113
2813
|
matcher: {
|
|
2114
2814
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2815
|
+
fingerprint?: {
|
|
2816
|
+
value: string;
|
|
2817
|
+
version: string;
|
|
2818
|
+
} | undefined;
|
|
2115
2819
|
first_party?: boolean | undefined;
|
|
2116
2820
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2117
2821
|
services?: string[] | undefined;
|
|
@@ -2119,8 +2823,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2119
2823
|
error_name?: string | undefined;
|
|
2120
2824
|
message_contains?: string | undefined;
|
|
2121
2825
|
message_equals?: string | undefined;
|
|
2122
|
-
browser_event_kind?: "
|
|
2826
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2123
2827
|
browser_event_opaque?: boolean | undefined;
|
|
2828
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2829
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2830
|
+
browser_target_tag_name?: string | undefined;
|
|
2831
|
+
browser_target_attributes?: {
|
|
2832
|
+
type?: string | undefined;
|
|
2833
|
+
rel?: string | undefined;
|
|
2834
|
+
as?: string | undefined;
|
|
2835
|
+
media?: string | undefined;
|
|
2836
|
+
cross_origin?: string | undefined;
|
|
2837
|
+
async?: boolean | undefined;
|
|
2838
|
+
defer?: boolean | undefined;
|
|
2839
|
+
integrity_present?: boolean | undefined;
|
|
2840
|
+
} | undefined;
|
|
2124
2841
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2125
2842
|
bot_family?: string | undefined;
|
|
2126
2843
|
resource_url?: {
|
|
@@ -2140,13 +2857,9 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2140
2857
|
start: number;
|
|
2141
2858
|
end: number;
|
|
2142
2859
|
}[] | undefined;
|
|
2143
|
-
fingerprint?: {
|
|
2144
|
-
value: string;
|
|
2145
|
-
version: string;
|
|
2146
|
-
} | undefined;
|
|
2147
2860
|
};
|
|
2148
2861
|
sample_rate: number | null;
|
|
2149
|
-
sample_event_class: "
|
|
2862
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2150
2863
|
created_by_user_id: string | null;
|
|
2151
2864
|
created_from_incident_id: string | null;
|
|
2152
2865
|
created_from_event_id: string | null;
|
|
@@ -2164,7 +2877,7 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2164
2877
|
enabled: boolean;
|
|
2165
2878
|
matcher: CaptureRuleMatcher;
|
|
2166
2879
|
sample_rate: number | null;
|
|
2167
|
-
sample_event_class: "
|
|
2880
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2168
2881
|
created_by_user_id: string | null;
|
|
2169
2882
|
created_from_incident_id: string | null;
|
|
2170
2883
|
created_from_event_id: string | null;
|
|
@@ -2182,6 +2895,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2182
2895
|
enabled: boolean;
|
|
2183
2896
|
matcher: {
|
|
2184
2897
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2898
|
+
fingerprint?: {
|
|
2899
|
+
value: string;
|
|
2900
|
+
version: string;
|
|
2901
|
+
} | undefined;
|
|
2185
2902
|
first_party?: boolean | undefined;
|
|
2186
2903
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2187
2904
|
services?: string[] | undefined;
|
|
@@ -2189,8 +2906,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2189
2906
|
error_name?: string | undefined;
|
|
2190
2907
|
message_contains?: string | undefined;
|
|
2191
2908
|
message_equals?: string | undefined;
|
|
2192
|
-
browser_event_kind?: "
|
|
2909
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2193
2910
|
browser_event_opaque?: boolean | undefined;
|
|
2911
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2912
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2913
|
+
browser_target_tag_name?: string | undefined;
|
|
2914
|
+
browser_target_attributes?: {
|
|
2915
|
+
type?: string | undefined;
|
|
2916
|
+
rel?: string | undefined;
|
|
2917
|
+
as?: string | undefined;
|
|
2918
|
+
media?: string | undefined;
|
|
2919
|
+
cross_origin?: string | undefined;
|
|
2920
|
+
async?: boolean | undefined;
|
|
2921
|
+
defer?: boolean | undefined;
|
|
2922
|
+
integrity_present?: boolean | undefined;
|
|
2923
|
+
} | undefined;
|
|
2194
2924
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2195
2925
|
bot_family?: string | undefined;
|
|
2196
2926
|
resource_url?: {
|
|
@@ -2210,13 +2940,9 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2210
2940
|
start: number;
|
|
2211
2941
|
end: number;
|
|
2212
2942
|
}[] | undefined;
|
|
2213
|
-
fingerprint?: {
|
|
2214
|
-
value: string;
|
|
2215
|
-
version: string;
|
|
2216
|
-
} | undefined;
|
|
2217
2943
|
};
|
|
2218
2944
|
sample_rate: number | null;
|
|
2219
|
-
sample_event_class: "
|
|
2945
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2220
2946
|
created_by_user_id: string | null;
|
|
2221
2947
|
created_from_incident_id: string | null;
|
|
2222
2948
|
created_from_event_id: string | null;
|
|
@@ -2237,7 +2963,7 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2237
2963
|
enabled: boolean;
|
|
2238
2964
|
matcher: CaptureRuleMatcher;
|
|
2239
2965
|
sample_rate: number | null;
|
|
2240
|
-
sample_event_class: "
|
|
2966
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2241
2967
|
created_by_user_id: string | null;
|
|
2242
2968
|
created_from_incident_id: string | null;
|
|
2243
2969
|
created_from_event_id: string | null;
|
|
@@ -2258,6 +2984,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2258
2984
|
enabled: boolean;
|
|
2259
2985
|
matcher: {
|
|
2260
2986
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2987
|
+
fingerprint?: {
|
|
2988
|
+
value: string;
|
|
2989
|
+
version: string;
|
|
2990
|
+
} | undefined;
|
|
2261
2991
|
first_party?: boolean | undefined;
|
|
2262
2992
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2263
2993
|
services?: string[] | undefined;
|
|
@@ -2265,8 +2995,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2265
2995
|
error_name?: string | undefined;
|
|
2266
2996
|
message_contains?: string | undefined;
|
|
2267
2997
|
message_equals?: string | undefined;
|
|
2268
|
-
browser_event_kind?: "
|
|
2998
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2269
2999
|
browser_event_opaque?: boolean | undefined;
|
|
3000
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3001
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3002
|
+
browser_target_tag_name?: string | undefined;
|
|
3003
|
+
browser_target_attributes?: {
|
|
3004
|
+
type?: string | undefined;
|
|
3005
|
+
rel?: string | undefined;
|
|
3006
|
+
as?: string | undefined;
|
|
3007
|
+
media?: string | undefined;
|
|
3008
|
+
cross_origin?: string | undefined;
|
|
3009
|
+
async?: boolean | undefined;
|
|
3010
|
+
defer?: boolean | undefined;
|
|
3011
|
+
integrity_present?: boolean | undefined;
|
|
3012
|
+
} | undefined;
|
|
2270
3013
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2271
3014
|
bot_family?: string | undefined;
|
|
2272
3015
|
resource_url?: {
|
|
@@ -2286,13 +3029,9 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2286
3029
|
start: number;
|
|
2287
3030
|
end: number;
|
|
2288
3031
|
}[] | undefined;
|
|
2289
|
-
fingerprint?: {
|
|
2290
|
-
value: string;
|
|
2291
|
-
version: string;
|
|
2292
|
-
} | undefined;
|
|
2293
3032
|
};
|
|
2294
3033
|
sample_rate: number | null;
|
|
2295
|
-
sample_event_class: "
|
|
3034
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2296
3035
|
created_by_user_id: string | null;
|
|
2297
3036
|
created_from_incident_id: string | null;
|
|
2298
3037
|
created_from_event_id: string | null;
|
|
@@ -2320,6 +3059,55 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2320
3059
|
message_equals: z.ZodOptional<z.ZodString>;
|
|
2321
3060
|
browser_event_kind: z.ZodOptional<z.ZodEnum<["window_error", "resource_error"]>>;
|
|
2322
3061
|
browser_event_opaque: z.ZodOptional<z.ZodBoolean>;
|
|
3062
|
+
browser_page_visibility_state: z.ZodOptional<z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>>;
|
|
3063
|
+
browser_page_ready_state: z.ZodOptional<z.ZodEnum<["loading", "interactive", "complete"]>>;
|
|
3064
|
+
browser_target_tag_name: z.ZodOptional<z.ZodString>;
|
|
3065
|
+
browser_target_attributes: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
3066
|
+
rel: z.ZodOptional<z.ZodString>;
|
|
3067
|
+
as: z.ZodOptional<z.ZodString>;
|
|
3068
|
+
type: z.ZodOptional<z.ZodString>;
|
|
3069
|
+
media: z.ZodOptional<z.ZodString>;
|
|
3070
|
+
cross_origin: z.ZodOptional<z.ZodString>;
|
|
3071
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
3072
|
+
defer: z.ZodOptional<z.ZodBoolean>;
|
|
3073
|
+
integrity_present: z.ZodOptional<z.ZodBoolean>;
|
|
3074
|
+
}, "strict", z.ZodTypeAny, {
|
|
3075
|
+
type?: string | undefined;
|
|
3076
|
+
rel?: string | undefined;
|
|
3077
|
+
as?: string | undefined;
|
|
3078
|
+
media?: string | undefined;
|
|
3079
|
+
cross_origin?: string | undefined;
|
|
3080
|
+
async?: boolean | undefined;
|
|
3081
|
+
defer?: boolean | undefined;
|
|
3082
|
+
integrity_present?: boolean | undefined;
|
|
3083
|
+
}, {
|
|
3084
|
+
type?: string | undefined;
|
|
3085
|
+
rel?: string | undefined;
|
|
3086
|
+
as?: string | undefined;
|
|
3087
|
+
media?: string | undefined;
|
|
3088
|
+
cross_origin?: string | undefined;
|
|
3089
|
+
async?: boolean | undefined;
|
|
3090
|
+
defer?: boolean | undefined;
|
|
3091
|
+
integrity_present?: boolean | undefined;
|
|
3092
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
3093
|
+
type?: string | undefined;
|
|
3094
|
+
rel?: string | undefined;
|
|
3095
|
+
as?: string | undefined;
|
|
3096
|
+
media?: string | undefined;
|
|
3097
|
+
cross_origin?: string | undefined;
|
|
3098
|
+
async?: boolean | undefined;
|
|
3099
|
+
defer?: boolean | undefined;
|
|
3100
|
+
integrity_present?: boolean | undefined;
|
|
3101
|
+
}>, CaptureRuleBrowserTargetAttributes, {
|
|
3102
|
+
type?: string | undefined;
|
|
3103
|
+
rel?: string | undefined;
|
|
3104
|
+
as?: string | undefined;
|
|
3105
|
+
media?: string | undefined;
|
|
3106
|
+
cross_origin?: string | undefined;
|
|
3107
|
+
async?: boolean | undefined;
|
|
3108
|
+
defer?: boolean | undefined;
|
|
3109
|
+
integrity_present?: boolean | undefined;
|
|
3110
|
+
}>>;
|
|
2323
3111
|
client_kind: z.ZodOptional<z.ZodEnum<["human", "bot", "unknown"]>>;
|
|
2324
3112
|
bot_family: z.ZodOptional<z.ZodString>;
|
|
2325
3113
|
resource_url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -2403,6 +3191,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2403
3191
|
}>>;
|
|
2404
3192
|
}, "strip", z.ZodTypeAny, {
|
|
2405
3193
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
3194
|
+
fingerprint?: {
|
|
3195
|
+
value: string;
|
|
3196
|
+
version: string;
|
|
3197
|
+
} | undefined;
|
|
2406
3198
|
first_party?: boolean | undefined;
|
|
2407
3199
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2408
3200
|
services?: string[] | undefined;
|
|
@@ -2410,8 +3202,12 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2410
3202
|
error_name?: string | undefined;
|
|
2411
3203
|
message_contains?: string | undefined;
|
|
2412
3204
|
message_equals?: string | undefined;
|
|
2413
|
-
browser_event_kind?: "
|
|
3205
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2414
3206
|
browser_event_opaque?: boolean | undefined;
|
|
3207
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3208
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3209
|
+
browser_target_tag_name?: string | undefined;
|
|
3210
|
+
browser_target_attributes?: CaptureRuleBrowserTargetAttributes | undefined;
|
|
2415
3211
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2416
3212
|
bot_family?: string | undefined;
|
|
2417
3213
|
resource_url?: CaptureRuleUrlMatcher | undefined;
|
|
@@ -2421,12 +3217,12 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2421
3217
|
start: number;
|
|
2422
3218
|
end: number;
|
|
2423
3219
|
}[] | undefined;
|
|
3220
|
+
}, {
|
|
3221
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2424
3222
|
fingerprint?: {
|
|
2425
3223
|
value: string;
|
|
2426
3224
|
version: string;
|
|
2427
3225
|
} | undefined;
|
|
2428
|
-
}, {
|
|
2429
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2430
3226
|
first_party?: boolean | undefined;
|
|
2431
3227
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2432
3228
|
services?: string[] | undefined;
|
|
@@ -2434,8 +3230,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2434
3230
|
error_name?: string | undefined;
|
|
2435
3231
|
message_contains?: string | undefined;
|
|
2436
3232
|
message_equals?: string | undefined;
|
|
2437
|
-
browser_event_kind?: "
|
|
3233
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2438
3234
|
browser_event_opaque?: boolean | undefined;
|
|
3235
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3236
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3237
|
+
browser_target_tag_name?: string | undefined;
|
|
3238
|
+
browser_target_attributes?: {
|
|
3239
|
+
type?: string | undefined;
|
|
3240
|
+
rel?: string | undefined;
|
|
3241
|
+
as?: string | undefined;
|
|
3242
|
+
media?: string | undefined;
|
|
3243
|
+
cross_origin?: string | undefined;
|
|
3244
|
+
async?: boolean | undefined;
|
|
3245
|
+
defer?: boolean | undefined;
|
|
3246
|
+
integrity_present?: boolean | undefined;
|
|
3247
|
+
} | undefined;
|
|
2439
3248
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2440
3249
|
bot_family?: string | undefined;
|
|
2441
3250
|
resource_url?: {
|
|
@@ -2455,12 +3264,12 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2455
3264
|
start: number;
|
|
2456
3265
|
end: number;
|
|
2457
3266
|
}[] | undefined;
|
|
3267
|
+
}>, CaptureRuleMatcher, {
|
|
3268
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2458
3269
|
fingerprint?: {
|
|
2459
3270
|
value: string;
|
|
2460
3271
|
version: string;
|
|
2461
3272
|
} | undefined;
|
|
2462
|
-
}>, CaptureRuleMatcher, {
|
|
2463
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2464
3273
|
first_party?: boolean | undefined;
|
|
2465
3274
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2466
3275
|
services?: string[] | undefined;
|
|
@@ -2468,8 +3277,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2468
3277
|
error_name?: string | undefined;
|
|
2469
3278
|
message_contains?: string | undefined;
|
|
2470
3279
|
message_equals?: string | undefined;
|
|
2471
|
-
browser_event_kind?: "
|
|
3280
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2472
3281
|
browser_event_opaque?: boolean | undefined;
|
|
3282
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3283
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3284
|
+
browser_target_tag_name?: string | undefined;
|
|
3285
|
+
browser_target_attributes?: {
|
|
3286
|
+
type?: string | undefined;
|
|
3287
|
+
rel?: string | undefined;
|
|
3288
|
+
as?: string | undefined;
|
|
3289
|
+
media?: string | undefined;
|
|
3290
|
+
cross_origin?: string | undefined;
|
|
3291
|
+
async?: boolean | undefined;
|
|
3292
|
+
defer?: boolean | undefined;
|
|
3293
|
+
integrity_present?: boolean | undefined;
|
|
3294
|
+
} | undefined;
|
|
2473
3295
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2474
3296
|
bot_family?: string | undefined;
|
|
2475
3297
|
resource_url?: {
|
|
@@ -2489,12 +3311,12 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2489
3311
|
start: number;
|
|
2490
3312
|
end: number;
|
|
2491
3313
|
}[] | undefined;
|
|
3314
|
+
}>, CaptureRuleMatcher, {
|
|
3315
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2492
3316
|
fingerprint?: {
|
|
2493
3317
|
value: string;
|
|
2494
3318
|
version: string;
|
|
2495
3319
|
} | undefined;
|
|
2496
|
-
}>, CaptureRuleMatcher, {
|
|
2497
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2498
3320
|
first_party?: boolean | undefined;
|
|
2499
3321
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2500
3322
|
services?: string[] | undefined;
|
|
@@ -2502,8 +3324,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2502
3324
|
error_name?: string | undefined;
|
|
2503
3325
|
message_contains?: string | undefined;
|
|
2504
3326
|
message_equals?: string | undefined;
|
|
2505
|
-
browser_event_kind?: "
|
|
3327
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2506
3328
|
browser_event_opaque?: boolean | undefined;
|
|
3329
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3330
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3331
|
+
browser_target_tag_name?: string | undefined;
|
|
3332
|
+
browser_target_attributes?: {
|
|
3333
|
+
type?: string | undefined;
|
|
3334
|
+
rel?: string | undefined;
|
|
3335
|
+
as?: string | undefined;
|
|
3336
|
+
media?: string | undefined;
|
|
3337
|
+
cross_origin?: string | undefined;
|
|
3338
|
+
async?: boolean | undefined;
|
|
3339
|
+
defer?: boolean | undefined;
|
|
3340
|
+
integrity_present?: boolean | undefined;
|
|
3341
|
+
} | undefined;
|
|
2507
3342
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2508
3343
|
bot_family?: string | undefined;
|
|
2509
3344
|
resource_url?: {
|
|
@@ -2523,10 +3358,6 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2523
3358
|
start: number;
|
|
2524
3359
|
end: number;
|
|
2525
3360
|
}[] | undefined;
|
|
2526
|
-
fingerprint?: {
|
|
2527
|
-
value: string;
|
|
2528
|
-
version: string;
|
|
2529
|
-
} | undefined;
|
|
2530
3361
|
}>;
|
|
2531
3362
|
sample_rate: z.ZodNullable<z.ZodNumber>;
|
|
2532
3363
|
sample_event_class: z.ZodNullable<z.ZodEnum<["preserve", "context"]>>;
|
|
@@ -2552,7 +3383,7 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2552
3383
|
enabled: boolean;
|
|
2553
3384
|
matcher: CaptureRuleMatcher;
|
|
2554
3385
|
sample_rate: number | null;
|
|
2555
|
-
sample_event_class: "
|
|
3386
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2556
3387
|
created_by_user_id: string | null;
|
|
2557
3388
|
created_from_incident_id: string | null;
|
|
2558
3389
|
created_from_event_id: string | null;
|
|
@@ -2570,6 +3401,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2570
3401
|
enabled: boolean;
|
|
2571
3402
|
matcher: {
|
|
2572
3403
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
3404
|
+
fingerprint?: {
|
|
3405
|
+
value: string;
|
|
3406
|
+
version: string;
|
|
3407
|
+
} | undefined;
|
|
2573
3408
|
first_party?: boolean | undefined;
|
|
2574
3409
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2575
3410
|
services?: string[] | undefined;
|
|
@@ -2577,8 +3412,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2577
3412
|
error_name?: string | undefined;
|
|
2578
3413
|
message_contains?: string | undefined;
|
|
2579
3414
|
message_equals?: string | undefined;
|
|
2580
|
-
browser_event_kind?: "
|
|
3415
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2581
3416
|
browser_event_opaque?: boolean | undefined;
|
|
3417
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3418
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3419
|
+
browser_target_tag_name?: string | undefined;
|
|
3420
|
+
browser_target_attributes?: {
|
|
3421
|
+
type?: string | undefined;
|
|
3422
|
+
rel?: string | undefined;
|
|
3423
|
+
as?: string | undefined;
|
|
3424
|
+
media?: string | undefined;
|
|
3425
|
+
cross_origin?: string | undefined;
|
|
3426
|
+
async?: boolean | undefined;
|
|
3427
|
+
defer?: boolean | undefined;
|
|
3428
|
+
integrity_present?: boolean | undefined;
|
|
3429
|
+
} | undefined;
|
|
2582
3430
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2583
3431
|
bot_family?: string | undefined;
|
|
2584
3432
|
resource_url?: {
|
|
@@ -2598,13 +3446,9 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2598
3446
|
start: number;
|
|
2599
3447
|
end: number;
|
|
2600
3448
|
}[] | undefined;
|
|
2601
|
-
fingerprint?: {
|
|
2602
|
-
value: string;
|
|
2603
|
-
version: string;
|
|
2604
|
-
} | undefined;
|
|
2605
3449
|
};
|
|
2606
3450
|
sample_rate: number | null;
|
|
2607
|
-
sample_event_class: "
|
|
3451
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2608
3452
|
created_by_user_id: string | null;
|
|
2609
3453
|
created_from_incident_id: string | null;
|
|
2610
3454
|
created_from_event_id: string | null;
|
|
@@ -2622,7 +3466,7 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2622
3466
|
enabled: boolean;
|
|
2623
3467
|
matcher: CaptureRuleMatcher;
|
|
2624
3468
|
sample_rate: number | null;
|
|
2625
|
-
sample_event_class: "
|
|
3469
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2626
3470
|
created_by_user_id: string | null;
|
|
2627
3471
|
created_from_incident_id: string | null;
|
|
2628
3472
|
created_from_event_id: string | null;
|
|
@@ -2640,6 +3484,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2640
3484
|
enabled: boolean;
|
|
2641
3485
|
matcher: {
|
|
2642
3486
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
3487
|
+
fingerprint?: {
|
|
3488
|
+
value: string;
|
|
3489
|
+
version: string;
|
|
3490
|
+
} | undefined;
|
|
2643
3491
|
first_party?: boolean | undefined;
|
|
2644
3492
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2645
3493
|
services?: string[] | undefined;
|
|
@@ -2647,8 +3495,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2647
3495
|
error_name?: string | undefined;
|
|
2648
3496
|
message_contains?: string | undefined;
|
|
2649
3497
|
message_equals?: string | undefined;
|
|
2650
|
-
browser_event_kind?: "
|
|
3498
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2651
3499
|
browser_event_opaque?: boolean | undefined;
|
|
3500
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3501
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3502
|
+
browser_target_tag_name?: string | undefined;
|
|
3503
|
+
browser_target_attributes?: {
|
|
3504
|
+
type?: string | undefined;
|
|
3505
|
+
rel?: string | undefined;
|
|
3506
|
+
as?: string | undefined;
|
|
3507
|
+
media?: string | undefined;
|
|
3508
|
+
cross_origin?: string | undefined;
|
|
3509
|
+
async?: boolean | undefined;
|
|
3510
|
+
defer?: boolean | undefined;
|
|
3511
|
+
integrity_present?: boolean | undefined;
|
|
3512
|
+
} | undefined;
|
|
2652
3513
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2653
3514
|
bot_family?: string | undefined;
|
|
2654
3515
|
resource_url?: {
|
|
@@ -2668,13 +3529,9 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2668
3529
|
start: number;
|
|
2669
3530
|
end: number;
|
|
2670
3531
|
}[] | undefined;
|
|
2671
|
-
fingerprint?: {
|
|
2672
|
-
value: string;
|
|
2673
|
-
version: string;
|
|
2674
|
-
} | undefined;
|
|
2675
3532
|
};
|
|
2676
3533
|
sample_rate: number | null;
|
|
2677
|
-
sample_event_class: "
|
|
3534
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2678
3535
|
created_by_user_id: string | null;
|
|
2679
3536
|
created_from_incident_id: string | null;
|
|
2680
3537
|
created_from_event_id: string | null;
|
|
@@ -2695,7 +3552,7 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2695
3552
|
enabled: boolean;
|
|
2696
3553
|
matcher: CaptureRuleMatcher;
|
|
2697
3554
|
sample_rate: number | null;
|
|
2698
|
-
sample_event_class: "
|
|
3555
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2699
3556
|
created_by_user_id: string | null;
|
|
2700
3557
|
created_from_incident_id: string | null;
|
|
2701
3558
|
created_from_event_id: string | null;
|
|
@@ -2716,6 +3573,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2716
3573
|
enabled: boolean;
|
|
2717
3574
|
matcher: {
|
|
2718
3575
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
3576
|
+
fingerprint?: {
|
|
3577
|
+
value: string;
|
|
3578
|
+
version: string;
|
|
3579
|
+
} | undefined;
|
|
2719
3580
|
first_party?: boolean | undefined;
|
|
2720
3581
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2721
3582
|
services?: string[] | undefined;
|
|
@@ -2723,8 +3584,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2723
3584
|
error_name?: string | undefined;
|
|
2724
3585
|
message_contains?: string | undefined;
|
|
2725
3586
|
message_equals?: string | undefined;
|
|
2726
|
-
browser_event_kind?: "
|
|
3587
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2727
3588
|
browser_event_opaque?: boolean | undefined;
|
|
3589
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3590
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3591
|
+
browser_target_tag_name?: string | undefined;
|
|
3592
|
+
browser_target_attributes?: {
|
|
3593
|
+
type?: string | undefined;
|
|
3594
|
+
rel?: string | undefined;
|
|
3595
|
+
as?: string | undefined;
|
|
3596
|
+
media?: string | undefined;
|
|
3597
|
+
cross_origin?: string | undefined;
|
|
3598
|
+
async?: boolean | undefined;
|
|
3599
|
+
defer?: boolean | undefined;
|
|
3600
|
+
integrity_present?: boolean | undefined;
|
|
3601
|
+
} | undefined;
|
|
2728
3602
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2729
3603
|
bot_family?: string | undefined;
|
|
2730
3604
|
resource_url?: {
|
|
@@ -2744,13 +3618,9 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2744
3618
|
start: number;
|
|
2745
3619
|
end: number;
|
|
2746
3620
|
}[] | undefined;
|
|
2747
|
-
fingerprint?: {
|
|
2748
|
-
value: string;
|
|
2749
|
-
version: string;
|
|
2750
|
-
} | undefined;
|
|
2751
3621
|
};
|
|
2752
3622
|
sample_rate: number | null;
|
|
2753
|
-
sample_event_class: "
|
|
3623
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2754
3624
|
created_by_user_id: string | null;
|
|
2755
3625
|
created_from_incident_id: string | null;
|
|
2756
3626
|
created_from_event_id: string | null;
|