@debugbundle/shared-types 2.0.0 → 2.2.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-flows.d.ts +691 -0
- package/dist/analytics-flows.d.ts.map +1 -0
- package/dist/analytics-flows.js +99 -0
- package/dist/analytics-flows.js.map +1 -0
- package/dist/analytics-journey-samples.d.ts +58 -58
- package/dist/analytics-product.d.ts +26 -26
- package/dist/analytics-saved-funnels.d.ts +97 -97
- package/dist/analytics.d.ts +144 -144
- 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 +72 -6
- 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-routes.d.ts +2 -2
- 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 +73 -14
- 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 +1124 -254
- 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 +396 -396
- 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 +450 -327
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -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"]>>;
|
|
@@ -509,8 +711,9 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
509
711
|
created_at: z.ZodString;
|
|
510
712
|
updated_at: z.ZodString;
|
|
511
713
|
}, "strip", z.ZodTypeAny, {
|
|
512
|
-
|
|
714
|
+
id: string;
|
|
513
715
|
project_id: string;
|
|
716
|
+
action: "sample" | "demote" | "drop";
|
|
514
717
|
expires_at: string | null;
|
|
515
718
|
created_at: string;
|
|
516
719
|
name: string;
|
|
@@ -519,16 +722,16 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
519
722
|
enabled: boolean;
|
|
520
723
|
matcher: CaptureRuleMatcher;
|
|
521
724
|
sample_rate: number | null;
|
|
522
|
-
sample_event_class: "
|
|
725
|
+
sample_event_class: "context" | "preserve" | null;
|
|
523
726
|
created_by_user_id: string | null;
|
|
524
727
|
created_from_incident_id: string | null;
|
|
525
728
|
created_from_event_id: string | null;
|
|
526
|
-
id: string;
|
|
527
729
|
hit_count: number;
|
|
528
730
|
last_matched_at: string | null;
|
|
529
731
|
}, {
|
|
530
|
-
|
|
732
|
+
id: string;
|
|
531
733
|
project_id: string;
|
|
734
|
+
action: "sample" | "demote" | "drop";
|
|
532
735
|
expires_at: string | null;
|
|
533
736
|
created_at: string;
|
|
534
737
|
name: string;
|
|
@@ -537,6 +740,10 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
537
740
|
enabled: boolean;
|
|
538
741
|
matcher: {
|
|
539
742
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
743
|
+
fingerprint?: {
|
|
744
|
+
value: string;
|
|
745
|
+
version: string;
|
|
746
|
+
} | undefined;
|
|
540
747
|
first_party?: boolean | undefined;
|
|
541
748
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
542
749
|
services?: string[] | undefined;
|
|
@@ -544,8 +751,21 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
544
751
|
error_name?: string | undefined;
|
|
545
752
|
message_contains?: string | undefined;
|
|
546
753
|
message_equals?: string | undefined;
|
|
547
|
-
browser_event_kind?: "
|
|
754
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
548
755
|
browser_event_opaque?: boolean | undefined;
|
|
756
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
757
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
758
|
+
browser_target_tag_name?: string | undefined;
|
|
759
|
+
browser_target_attributes?: {
|
|
760
|
+
type?: string | undefined;
|
|
761
|
+
rel?: string | undefined;
|
|
762
|
+
as?: string | undefined;
|
|
763
|
+
media?: string | undefined;
|
|
764
|
+
cross_origin?: string | undefined;
|
|
765
|
+
async?: boolean | undefined;
|
|
766
|
+
defer?: boolean | undefined;
|
|
767
|
+
integrity_present?: boolean | undefined;
|
|
768
|
+
} | undefined;
|
|
549
769
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
550
770
|
bot_family?: string | undefined;
|
|
551
771
|
resource_url?: {
|
|
@@ -565,22 +785,18 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
565
785
|
start: number;
|
|
566
786
|
end: number;
|
|
567
787
|
}[] | undefined;
|
|
568
|
-
fingerprint?: {
|
|
569
|
-
value: string;
|
|
570
|
-
version: string;
|
|
571
|
-
} | undefined;
|
|
572
788
|
};
|
|
573
789
|
sample_rate: number | null;
|
|
574
|
-
sample_event_class: "
|
|
790
|
+
sample_event_class: "context" | "preserve" | null;
|
|
575
791
|
created_by_user_id: string | null;
|
|
576
792
|
created_from_incident_id: string | null;
|
|
577
793
|
created_from_event_id: string | null;
|
|
578
|
-
id: string;
|
|
579
794
|
hit_count: number;
|
|
580
795
|
last_matched_at: string | null;
|
|
581
796
|
}>, {
|
|
582
|
-
|
|
797
|
+
id: string;
|
|
583
798
|
project_id: string;
|
|
799
|
+
action: "sample" | "demote" | "drop";
|
|
584
800
|
expires_at: string | null;
|
|
585
801
|
created_at: string;
|
|
586
802
|
name: string;
|
|
@@ -589,16 +805,16 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
589
805
|
enabled: boolean;
|
|
590
806
|
matcher: CaptureRuleMatcher;
|
|
591
807
|
sample_rate: number | null;
|
|
592
|
-
sample_event_class: "
|
|
808
|
+
sample_event_class: "context" | "preserve" | null;
|
|
593
809
|
created_by_user_id: string | null;
|
|
594
810
|
created_from_incident_id: string | null;
|
|
595
811
|
created_from_event_id: string | null;
|
|
596
|
-
id: string;
|
|
597
812
|
hit_count: number;
|
|
598
813
|
last_matched_at: string | null;
|
|
599
814
|
}, {
|
|
600
|
-
|
|
815
|
+
id: string;
|
|
601
816
|
project_id: string;
|
|
817
|
+
action: "sample" | "demote" | "drop";
|
|
602
818
|
expires_at: string | null;
|
|
603
819
|
created_at: string;
|
|
604
820
|
name: string;
|
|
@@ -607,6 +823,10 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
607
823
|
enabled: boolean;
|
|
608
824
|
matcher: {
|
|
609
825
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
826
|
+
fingerprint?: {
|
|
827
|
+
value: string;
|
|
828
|
+
version: string;
|
|
829
|
+
} | undefined;
|
|
610
830
|
first_party?: boolean | undefined;
|
|
611
831
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
612
832
|
services?: string[] | undefined;
|
|
@@ -614,8 +834,21 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
614
834
|
error_name?: string | undefined;
|
|
615
835
|
message_contains?: string | undefined;
|
|
616
836
|
message_equals?: string | undefined;
|
|
617
|
-
browser_event_kind?: "
|
|
837
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
618
838
|
browser_event_opaque?: boolean | undefined;
|
|
839
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
840
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
841
|
+
browser_target_tag_name?: string | undefined;
|
|
842
|
+
browser_target_attributes?: {
|
|
843
|
+
type?: string | undefined;
|
|
844
|
+
rel?: string | undefined;
|
|
845
|
+
as?: string | undefined;
|
|
846
|
+
media?: string | undefined;
|
|
847
|
+
cross_origin?: string | undefined;
|
|
848
|
+
async?: boolean | undefined;
|
|
849
|
+
defer?: boolean | undefined;
|
|
850
|
+
integrity_present?: boolean | undefined;
|
|
851
|
+
} | undefined;
|
|
619
852
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
620
853
|
bot_family?: string | undefined;
|
|
621
854
|
resource_url?: {
|
|
@@ -635,17 +868,12 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
635
868
|
start: number;
|
|
636
869
|
end: number;
|
|
637
870
|
}[] | undefined;
|
|
638
|
-
fingerprint?: {
|
|
639
|
-
value: string;
|
|
640
|
-
version: string;
|
|
641
|
-
} | undefined;
|
|
642
871
|
};
|
|
643
872
|
sample_rate: number | null;
|
|
644
|
-
sample_event_class: "
|
|
873
|
+
sample_event_class: "context" | "preserve" | null;
|
|
645
874
|
created_by_user_id: string | null;
|
|
646
875
|
created_from_incident_id: string | null;
|
|
647
876
|
created_from_event_id: string | null;
|
|
648
|
-
id: string;
|
|
649
877
|
hit_count: number;
|
|
650
878
|
last_matched_at: string | null;
|
|
651
879
|
}>;
|
|
@@ -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"]>>;
|
|
@@ -1628,8 +2197,9 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1628
2197
|
created_at: z.ZodString;
|
|
1629
2198
|
updated_at: z.ZodString;
|
|
1630
2199
|
}, "strip", z.ZodTypeAny, {
|
|
1631
|
-
|
|
2200
|
+
id: string;
|
|
1632
2201
|
project_id: string;
|
|
2202
|
+
action: "sample" | "demote" | "drop";
|
|
1633
2203
|
expires_at: string | null;
|
|
1634
2204
|
created_at: string;
|
|
1635
2205
|
name: string;
|
|
@@ -1638,16 +2208,16 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1638
2208
|
enabled: boolean;
|
|
1639
2209
|
matcher: CaptureRuleMatcher;
|
|
1640
2210
|
sample_rate: number | null;
|
|
1641
|
-
sample_event_class: "
|
|
2211
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1642
2212
|
created_by_user_id: string | null;
|
|
1643
2213
|
created_from_incident_id: string | null;
|
|
1644
2214
|
created_from_event_id: string | null;
|
|
1645
|
-
id: string;
|
|
1646
2215
|
hit_count: number;
|
|
1647
2216
|
last_matched_at: string | null;
|
|
1648
2217
|
}, {
|
|
1649
|
-
|
|
2218
|
+
id: string;
|
|
1650
2219
|
project_id: string;
|
|
2220
|
+
action: "sample" | "demote" | "drop";
|
|
1651
2221
|
expires_at: string | null;
|
|
1652
2222
|
created_at: string;
|
|
1653
2223
|
name: string;
|
|
@@ -1656,6 +2226,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1656
2226
|
enabled: boolean;
|
|
1657
2227
|
matcher: {
|
|
1658
2228
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2229
|
+
fingerprint?: {
|
|
2230
|
+
value: string;
|
|
2231
|
+
version: string;
|
|
2232
|
+
} | undefined;
|
|
1659
2233
|
first_party?: boolean | undefined;
|
|
1660
2234
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1661
2235
|
services?: string[] | undefined;
|
|
@@ -1663,8 +2237,21 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1663
2237
|
error_name?: string | undefined;
|
|
1664
2238
|
message_contains?: string | undefined;
|
|
1665
2239
|
message_equals?: string | undefined;
|
|
1666
|
-
browser_event_kind?: "
|
|
2240
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1667
2241
|
browser_event_opaque?: boolean | undefined;
|
|
2242
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2243
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2244
|
+
browser_target_tag_name?: string | undefined;
|
|
2245
|
+
browser_target_attributes?: {
|
|
2246
|
+
type?: string | undefined;
|
|
2247
|
+
rel?: string | undefined;
|
|
2248
|
+
as?: string | undefined;
|
|
2249
|
+
media?: string | undefined;
|
|
2250
|
+
cross_origin?: string | undefined;
|
|
2251
|
+
async?: boolean | undefined;
|
|
2252
|
+
defer?: boolean | undefined;
|
|
2253
|
+
integrity_present?: boolean | undefined;
|
|
2254
|
+
} | undefined;
|
|
1668
2255
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1669
2256
|
bot_family?: string | undefined;
|
|
1670
2257
|
resource_url?: {
|
|
@@ -1684,22 +2271,18 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1684
2271
|
start: number;
|
|
1685
2272
|
end: number;
|
|
1686
2273
|
}[] | undefined;
|
|
1687
|
-
fingerprint?: {
|
|
1688
|
-
value: string;
|
|
1689
|
-
version: string;
|
|
1690
|
-
} | undefined;
|
|
1691
2274
|
};
|
|
1692
2275
|
sample_rate: number | null;
|
|
1693
|
-
sample_event_class: "
|
|
2276
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1694
2277
|
created_by_user_id: string | null;
|
|
1695
2278
|
created_from_incident_id: string | null;
|
|
1696
2279
|
created_from_event_id: string | null;
|
|
1697
|
-
id: string;
|
|
1698
2280
|
hit_count: number;
|
|
1699
2281
|
last_matched_at: string | null;
|
|
1700
2282
|
}>, {
|
|
1701
|
-
|
|
2283
|
+
id: string;
|
|
1702
2284
|
project_id: string;
|
|
2285
|
+
action: "sample" | "demote" | "drop";
|
|
1703
2286
|
expires_at: string | null;
|
|
1704
2287
|
created_at: string;
|
|
1705
2288
|
name: string;
|
|
@@ -1708,16 +2291,16 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1708
2291
|
enabled: boolean;
|
|
1709
2292
|
matcher: CaptureRuleMatcher;
|
|
1710
2293
|
sample_rate: number | null;
|
|
1711
|
-
sample_event_class: "
|
|
2294
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1712
2295
|
created_by_user_id: string | null;
|
|
1713
2296
|
created_from_incident_id: string | null;
|
|
1714
2297
|
created_from_event_id: string | null;
|
|
1715
|
-
id: string;
|
|
1716
2298
|
hit_count: number;
|
|
1717
2299
|
last_matched_at: string | null;
|
|
1718
2300
|
}, {
|
|
1719
|
-
|
|
2301
|
+
id: string;
|
|
1720
2302
|
project_id: string;
|
|
2303
|
+
action: "sample" | "demote" | "drop";
|
|
1721
2304
|
expires_at: string | null;
|
|
1722
2305
|
created_at: string;
|
|
1723
2306
|
name: string;
|
|
@@ -1726,6 +2309,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1726
2309
|
enabled: boolean;
|
|
1727
2310
|
matcher: {
|
|
1728
2311
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2312
|
+
fingerprint?: {
|
|
2313
|
+
value: string;
|
|
2314
|
+
version: string;
|
|
2315
|
+
} | undefined;
|
|
1729
2316
|
first_party?: boolean | undefined;
|
|
1730
2317
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1731
2318
|
services?: string[] | undefined;
|
|
@@ -1733,8 +2320,21 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1733
2320
|
error_name?: string | undefined;
|
|
1734
2321
|
message_contains?: string | undefined;
|
|
1735
2322
|
message_equals?: string | undefined;
|
|
1736
|
-
browser_event_kind?: "
|
|
2323
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1737
2324
|
browser_event_opaque?: boolean | undefined;
|
|
2325
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2326
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2327
|
+
browser_target_tag_name?: string | undefined;
|
|
2328
|
+
browser_target_attributes?: {
|
|
2329
|
+
type?: string | undefined;
|
|
2330
|
+
rel?: string | undefined;
|
|
2331
|
+
as?: string | undefined;
|
|
2332
|
+
media?: string | undefined;
|
|
2333
|
+
cross_origin?: string | undefined;
|
|
2334
|
+
async?: boolean | undefined;
|
|
2335
|
+
defer?: boolean | undefined;
|
|
2336
|
+
integrity_present?: boolean | undefined;
|
|
2337
|
+
} | undefined;
|
|
1738
2338
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1739
2339
|
bot_family?: string | undefined;
|
|
1740
2340
|
resource_url?: {
|
|
@@ -1754,24 +2354,20 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1754
2354
|
start: number;
|
|
1755
2355
|
end: number;
|
|
1756
2356
|
}[] | undefined;
|
|
1757
|
-
fingerprint?: {
|
|
1758
|
-
value: string;
|
|
1759
|
-
version: string;
|
|
1760
|
-
} | undefined;
|
|
1761
2357
|
};
|
|
1762
2358
|
sample_rate: number | null;
|
|
1763
|
-
sample_event_class: "
|
|
2359
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1764
2360
|
created_by_user_id: string | null;
|
|
1765
2361
|
created_from_incident_id: string | null;
|
|
1766
2362
|
created_from_event_id: string | null;
|
|
1767
|
-
id: string;
|
|
1768
2363
|
hit_count: number;
|
|
1769
2364
|
last_matched_at: string | null;
|
|
1770
2365
|
}>;
|
|
1771
2366
|
}, "strip", z.ZodTypeAny, {
|
|
1772
2367
|
rule: {
|
|
1773
|
-
|
|
2368
|
+
id: string;
|
|
1774
2369
|
project_id: string;
|
|
2370
|
+
action: "sample" | "demote" | "drop";
|
|
1775
2371
|
expires_at: string | null;
|
|
1776
2372
|
created_at: string;
|
|
1777
2373
|
name: string;
|
|
@@ -1780,18 +2376,18 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1780
2376
|
enabled: boolean;
|
|
1781
2377
|
matcher: CaptureRuleMatcher;
|
|
1782
2378
|
sample_rate: number | null;
|
|
1783
|
-
sample_event_class: "
|
|
2379
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1784
2380
|
created_by_user_id: string | null;
|
|
1785
2381
|
created_from_incident_id: string | null;
|
|
1786
2382
|
created_from_event_id: string | null;
|
|
1787
|
-
id: string;
|
|
1788
2383
|
hit_count: number;
|
|
1789
2384
|
last_matched_at: string | null;
|
|
1790
2385
|
};
|
|
1791
2386
|
}, {
|
|
1792
2387
|
rule: {
|
|
1793
|
-
|
|
2388
|
+
id: string;
|
|
1794
2389
|
project_id: string;
|
|
2390
|
+
action: "sample" | "demote" | "drop";
|
|
1795
2391
|
expires_at: string | null;
|
|
1796
2392
|
created_at: string;
|
|
1797
2393
|
name: string;
|
|
@@ -1800,6 +2396,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1800
2396
|
enabled: boolean;
|
|
1801
2397
|
matcher: {
|
|
1802
2398
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2399
|
+
fingerprint?: {
|
|
2400
|
+
value: string;
|
|
2401
|
+
version: string;
|
|
2402
|
+
} | undefined;
|
|
1803
2403
|
first_party?: boolean | undefined;
|
|
1804
2404
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1805
2405
|
services?: string[] | undefined;
|
|
@@ -1807,8 +2407,21 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1807
2407
|
error_name?: string | undefined;
|
|
1808
2408
|
message_contains?: string | undefined;
|
|
1809
2409
|
message_equals?: string | undefined;
|
|
1810
|
-
browser_event_kind?: "
|
|
2410
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1811
2411
|
browser_event_opaque?: boolean | undefined;
|
|
2412
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2413
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2414
|
+
browser_target_tag_name?: string | undefined;
|
|
2415
|
+
browser_target_attributes?: {
|
|
2416
|
+
type?: string | undefined;
|
|
2417
|
+
rel?: string | undefined;
|
|
2418
|
+
as?: string | undefined;
|
|
2419
|
+
media?: string | undefined;
|
|
2420
|
+
cross_origin?: string | undefined;
|
|
2421
|
+
async?: boolean | undefined;
|
|
2422
|
+
defer?: boolean | undefined;
|
|
2423
|
+
integrity_present?: boolean | undefined;
|
|
2424
|
+
} | undefined;
|
|
1812
2425
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1813
2426
|
bot_family?: string | undefined;
|
|
1814
2427
|
resource_url?: {
|
|
@@ -1828,17 +2441,12 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
|
|
|
1828
2441
|
start: number;
|
|
1829
2442
|
end: number;
|
|
1830
2443
|
}[] | undefined;
|
|
1831
|
-
fingerprint?: {
|
|
1832
|
-
value: string;
|
|
1833
|
-
version: string;
|
|
1834
|
-
} | undefined;
|
|
1835
2444
|
};
|
|
1836
2445
|
sample_rate: number | null;
|
|
1837
|
-
sample_event_class: "
|
|
2446
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1838
2447
|
created_by_user_id: string | null;
|
|
1839
2448
|
created_from_incident_id: string | null;
|
|
1840
2449
|
created_from_event_id: string | null;
|
|
1841
|
-
id: string;
|
|
1842
2450
|
hit_count: number;
|
|
1843
2451
|
last_matched_at: string | null;
|
|
1844
2452
|
};
|
|
@@ -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"]>>;
|
|
@@ -2084,8 +2784,9 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2084
2784
|
created_at: z.ZodString;
|
|
2085
2785
|
updated_at: z.ZodString;
|
|
2086
2786
|
}, "strip", z.ZodTypeAny, {
|
|
2087
|
-
|
|
2787
|
+
id: string;
|
|
2088
2788
|
project_id: string;
|
|
2789
|
+
action: "sample" | "demote" | "drop";
|
|
2089
2790
|
expires_at: string | null;
|
|
2090
2791
|
created_at: string;
|
|
2091
2792
|
name: string;
|
|
@@ -2094,16 +2795,16 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2094
2795
|
enabled: boolean;
|
|
2095
2796
|
matcher: CaptureRuleMatcher;
|
|
2096
2797
|
sample_rate: number | null;
|
|
2097
|
-
sample_event_class: "
|
|
2798
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2098
2799
|
created_by_user_id: string | null;
|
|
2099
2800
|
created_from_incident_id: string | null;
|
|
2100
2801
|
created_from_event_id: string | null;
|
|
2101
|
-
id: string;
|
|
2102
2802
|
hit_count: number;
|
|
2103
2803
|
last_matched_at: string | null;
|
|
2104
2804
|
}, {
|
|
2105
|
-
|
|
2805
|
+
id: string;
|
|
2106
2806
|
project_id: string;
|
|
2807
|
+
action: "sample" | "demote" | "drop";
|
|
2107
2808
|
expires_at: string | null;
|
|
2108
2809
|
created_at: string;
|
|
2109
2810
|
name: string;
|
|
@@ -2112,6 +2813,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2112
2813
|
enabled: boolean;
|
|
2113
2814
|
matcher: {
|
|
2114
2815
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2816
|
+
fingerprint?: {
|
|
2817
|
+
value: string;
|
|
2818
|
+
version: string;
|
|
2819
|
+
} | undefined;
|
|
2115
2820
|
first_party?: boolean | undefined;
|
|
2116
2821
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2117
2822
|
services?: string[] | undefined;
|
|
@@ -2119,8 +2824,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2119
2824
|
error_name?: string | undefined;
|
|
2120
2825
|
message_contains?: string | undefined;
|
|
2121
2826
|
message_equals?: string | undefined;
|
|
2122
|
-
browser_event_kind?: "
|
|
2827
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2123
2828
|
browser_event_opaque?: boolean | undefined;
|
|
2829
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2830
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2831
|
+
browser_target_tag_name?: string | undefined;
|
|
2832
|
+
browser_target_attributes?: {
|
|
2833
|
+
type?: string | undefined;
|
|
2834
|
+
rel?: string | undefined;
|
|
2835
|
+
as?: string | undefined;
|
|
2836
|
+
media?: string | undefined;
|
|
2837
|
+
cross_origin?: string | undefined;
|
|
2838
|
+
async?: boolean | undefined;
|
|
2839
|
+
defer?: boolean | undefined;
|
|
2840
|
+
integrity_present?: boolean | undefined;
|
|
2841
|
+
} | undefined;
|
|
2124
2842
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2125
2843
|
bot_family?: string | undefined;
|
|
2126
2844
|
resource_url?: {
|
|
@@ -2140,22 +2858,18 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2140
2858
|
start: number;
|
|
2141
2859
|
end: number;
|
|
2142
2860
|
}[] | undefined;
|
|
2143
|
-
fingerprint?: {
|
|
2144
|
-
value: string;
|
|
2145
|
-
version: string;
|
|
2146
|
-
} | undefined;
|
|
2147
2861
|
};
|
|
2148
2862
|
sample_rate: number | null;
|
|
2149
|
-
sample_event_class: "
|
|
2863
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2150
2864
|
created_by_user_id: string | null;
|
|
2151
2865
|
created_from_incident_id: string | null;
|
|
2152
2866
|
created_from_event_id: string | null;
|
|
2153
|
-
id: string;
|
|
2154
2867
|
hit_count: number;
|
|
2155
2868
|
last_matched_at: string | null;
|
|
2156
2869
|
}>, {
|
|
2157
|
-
|
|
2870
|
+
id: string;
|
|
2158
2871
|
project_id: string;
|
|
2872
|
+
action: "sample" | "demote" | "drop";
|
|
2159
2873
|
expires_at: string | null;
|
|
2160
2874
|
created_at: string;
|
|
2161
2875
|
name: string;
|
|
@@ -2164,16 +2878,16 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2164
2878
|
enabled: boolean;
|
|
2165
2879
|
matcher: CaptureRuleMatcher;
|
|
2166
2880
|
sample_rate: number | null;
|
|
2167
|
-
sample_event_class: "
|
|
2881
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2168
2882
|
created_by_user_id: string | null;
|
|
2169
2883
|
created_from_incident_id: string | null;
|
|
2170
2884
|
created_from_event_id: string | null;
|
|
2171
|
-
id: string;
|
|
2172
2885
|
hit_count: number;
|
|
2173
2886
|
last_matched_at: string | null;
|
|
2174
2887
|
}, {
|
|
2175
|
-
|
|
2888
|
+
id: string;
|
|
2176
2889
|
project_id: string;
|
|
2890
|
+
action: "sample" | "demote" | "drop";
|
|
2177
2891
|
expires_at: string | null;
|
|
2178
2892
|
created_at: string;
|
|
2179
2893
|
name: string;
|
|
@@ -2182,6 +2896,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2182
2896
|
enabled: boolean;
|
|
2183
2897
|
matcher: {
|
|
2184
2898
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2899
|
+
fingerprint?: {
|
|
2900
|
+
value: string;
|
|
2901
|
+
version: string;
|
|
2902
|
+
} | undefined;
|
|
2185
2903
|
first_party?: boolean | undefined;
|
|
2186
2904
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2187
2905
|
services?: string[] | undefined;
|
|
@@ -2189,8 +2907,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2189
2907
|
error_name?: string | undefined;
|
|
2190
2908
|
message_contains?: string | undefined;
|
|
2191
2909
|
message_equals?: string | undefined;
|
|
2192
|
-
browser_event_kind?: "
|
|
2910
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2193
2911
|
browser_event_opaque?: boolean | undefined;
|
|
2912
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
2913
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
2914
|
+
browser_target_tag_name?: string | undefined;
|
|
2915
|
+
browser_target_attributes?: {
|
|
2916
|
+
type?: string | undefined;
|
|
2917
|
+
rel?: string | undefined;
|
|
2918
|
+
as?: string | undefined;
|
|
2919
|
+
media?: string | undefined;
|
|
2920
|
+
cross_origin?: string | undefined;
|
|
2921
|
+
async?: boolean | undefined;
|
|
2922
|
+
defer?: boolean | undefined;
|
|
2923
|
+
integrity_present?: boolean | undefined;
|
|
2924
|
+
} | undefined;
|
|
2194
2925
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2195
2926
|
bot_family?: string | undefined;
|
|
2196
2927
|
resource_url?: {
|
|
@@ -2210,25 +2941,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2210
2941
|
start: number;
|
|
2211
2942
|
end: number;
|
|
2212
2943
|
}[] | undefined;
|
|
2213
|
-
fingerprint?: {
|
|
2214
|
-
value: string;
|
|
2215
|
-
version: string;
|
|
2216
|
-
} | undefined;
|
|
2217
2944
|
};
|
|
2218
2945
|
sample_rate: number | null;
|
|
2219
|
-
sample_event_class: "
|
|
2946
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2220
2947
|
created_by_user_id: string | null;
|
|
2221
2948
|
created_from_incident_id: string | null;
|
|
2222
2949
|
created_from_event_id: string | null;
|
|
2223
|
-
id: string;
|
|
2224
2950
|
hit_count: number;
|
|
2225
2951
|
last_matched_at: string | null;
|
|
2226
2952
|
}>, "many">;
|
|
2227
2953
|
}, "strip", z.ZodTypeAny, {
|
|
2228
2954
|
access_mode: "manage" | "preview";
|
|
2229
2955
|
rules: {
|
|
2230
|
-
|
|
2956
|
+
id: string;
|
|
2231
2957
|
project_id: string;
|
|
2958
|
+
action: "sample" | "demote" | "drop";
|
|
2232
2959
|
expires_at: string | null;
|
|
2233
2960
|
created_at: string;
|
|
2234
2961
|
name: string;
|
|
@@ -2237,19 +2964,19 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2237
2964
|
enabled: boolean;
|
|
2238
2965
|
matcher: CaptureRuleMatcher;
|
|
2239
2966
|
sample_rate: number | null;
|
|
2240
|
-
sample_event_class: "
|
|
2967
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2241
2968
|
created_by_user_id: string | null;
|
|
2242
2969
|
created_from_incident_id: string | null;
|
|
2243
2970
|
created_from_event_id: string | null;
|
|
2244
|
-
id: string;
|
|
2245
2971
|
hit_count: number;
|
|
2246
2972
|
last_matched_at: string | null;
|
|
2247
2973
|
}[];
|
|
2248
2974
|
}, {
|
|
2249
2975
|
access_mode: "manage" | "preview";
|
|
2250
2976
|
rules: {
|
|
2251
|
-
|
|
2977
|
+
id: string;
|
|
2252
2978
|
project_id: string;
|
|
2979
|
+
action: "sample" | "demote" | "drop";
|
|
2253
2980
|
expires_at: string | null;
|
|
2254
2981
|
created_at: string;
|
|
2255
2982
|
name: string;
|
|
@@ -2258,6 +2985,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2258
2985
|
enabled: boolean;
|
|
2259
2986
|
matcher: {
|
|
2260
2987
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
2988
|
+
fingerprint?: {
|
|
2989
|
+
value: string;
|
|
2990
|
+
version: string;
|
|
2991
|
+
} | undefined;
|
|
2261
2992
|
first_party?: boolean | undefined;
|
|
2262
2993
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2263
2994
|
services?: string[] | undefined;
|
|
@@ -2265,8 +2996,21 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2265
2996
|
error_name?: string | undefined;
|
|
2266
2997
|
message_contains?: string | undefined;
|
|
2267
2998
|
message_equals?: string | undefined;
|
|
2268
|
-
browser_event_kind?: "
|
|
2999
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2269
3000
|
browser_event_opaque?: boolean | undefined;
|
|
3001
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3002
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3003
|
+
browser_target_tag_name?: string | undefined;
|
|
3004
|
+
browser_target_attributes?: {
|
|
3005
|
+
type?: string | undefined;
|
|
3006
|
+
rel?: string | undefined;
|
|
3007
|
+
as?: string | undefined;
|
|
3008
|
+
media?: string | undefined;
|
|
3009
|
+
cross_origin?: string | undefined;
|
|
3010
|
+
async?: boolean | undefined;
|
|
3011
|
+
defer?: boolean | undefined;
|
|
3012
|
+
integrity_present?: boolean | undefined;
|
|
3013
|
+
} | undefined;
|
|
2270
3014
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2271
3015
|
bot_family?: string | undefined;
|
|
2272
3016
|
resource_url?: {
|
|
@@ -2286,17 +3030,12 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
|
|
|
2286
3030
|
start: number;
|
|
2287
3031
|
end: number;
|
|
2288
3032
|
}[] | undefined;
|
|
2289
|
-
fingerprint?: {
|
|
2290
|
-
value: string;
|
|
2291
|
-
version: string;
|
|
2292
|
-
} | undefined;
|
|
2293
3033
|
};
|
|
2294
3034
|
sample_rate: number | null;
|
|
2295
|
-
sample_event_class: "
|
|
3035
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2296
3036
|
created_by_user_id: string | null;
|
|
2297
3037
|
created_from_incident_id: string | null;
|
|
2298
3038
|
created_from_event_id: string | null;
|
|
2299
|
-
id: string;
|
|
2300
3039
|
hit_count: number;
|
|
2301
3040
|
last_matched_at: string | null;
|
|
2302
3041
|
}[];
|
|
@@ -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"]>>;
|
|
@@ -2542,8 +3373,9 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2542
3373
|
created_at: z.ZodString;
|
|
2543
3374
|
updated_at: z.ZodString;
|
|
2544
3375
|
}, "strip", z.ZodTypeAny, {
|
|
2545
|
-
|
|
3376
|
+
id: string;
|
|
2546
3377
|
project_id: string;
|
|
3378
|
+
action: "sample" | "demote" | "drop";
|
|
2547
3379
|
expires_at: string | null;
|
|
2548
3380
|
created_at: string;
|
|
2549
3381
|
name: string;
|
|
@@ -2552,16 +3384,16 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2552
3384
|
enabled: boolean;
|
|
2553
3385
|
matcher: CaptureRuleMatcher;
|
|
2554
3386
|
sample_rate: number | null;
|
|
2555
|
-
sample_event_class: "
|
|
3387
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2556
3388
|
created_by_user_id: string | null;
|
|
2557
3389
|
created_from_incident_id: string | null;
|
|
2558
3390
|
created_from_event_id: string | null;
|
|
2559
|
-
id: string;
|
|
2560
3391
|
hit_count: number;
|
|
2561
3392
|
last_matched_at: string | null;
|
|
2562
3393
|
}, {
|
|
2563
|
-
|
|
3394
|
+
id: string;
|
|
2564
3395
|
project_id: string;
|
|
3396
|
+
action: "sample" | "demote" | "drop";
|
|
2565
3397
|
expires_at: string | null;
|
|
2566
3398
|
created_at: string;
|
|
2567
3399
|
name: string;
|
|
@@ -2570,6 +3402,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2570
3402
|
enabled: boolean;
|
|
2571
3403
|
matcher: {
|
|
2572
3404
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
3405
|
+
fingerprint?: {
|
|
3406
|
+
value: string;
|
|
3407
|
+
version: string;
|
|
3408
|
+
} | undefined;
|
|
2573
3409
|
first_party?: boolean | undefined;
|
|
2574
3410
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2575
3411
|
services?: string[] | undefined;
|
|
@@ -2577,8 +3413,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2577
3413
|
error_name?: string | undefined;
|
|
2578
3414
|
message_contains?: string | undefined;
|
|
2579
3415
|
message_equals?: string | undefined;
|
|
2580
|
-
browser_event_kind?: "
|
|
3416
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2581
3417
|
browser_event_opaque?: boolean | undefined;
|
|
3418
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3419
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3420
|
+
browser_target_tag_name?: string | undefined;
|
|
3421
|
+
browser_target_attributes?: {
|
|
3422
|
+
type?: string | undefined;
|
|
3423
|
+
rel?: string | undefined;
|
|
3424
|
+
as?: string | undefined;
|
|
3425
|
+
media?: string | undefined;
|
|
3426
|
+
cross_origin?: string | undefined;
|
|
3427
|
+
async?: boolean | undefined;
|
|
3428
|
+
defer?: boolean | undefined;
|
|
3429
|
+
integrity_present?: boolean | undefined;
|
|
3430
|
+
} | undefined;
|
|
2582
3431
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2583
3432
|
bot_family?: string | undefined;
|
|
2584
3433
|
resource_url?: {
|
|
@@ -2598,22 +3447,18 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2598
3447
|
start: number;
|
|
2599
3448
|
end: number;
|
|
2600
3449
|
}[] | undefined;
|
|
2601
|
-
fingerprint?: {
|
|
2602
|
-
value: string;
|
|
2603
|
-
version: string;
|
|
2604
|
-
} | undefined;
|
|
2605
3450
|
};
|
|
2606
3451
|
sample_rate: number | null;
|
|
2607
|
-
sample_event_class: "
|
|
3452
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2608
3453
|
created_by_user_id: string | null;
|
|
2609
3454
|
created_from_incident_id: string | null;
|
|
2610
3455
|
created_from_event_id: string | null;
|
|
2611
|
-
id: string;
|
|
2612
3456
|
hit_count: number;
|
|
2613
3457
|
last_matched_at: string | null;
|
|
2614
3458
|
}>, {
|
|
2615
|
-
|
|
3459
|
+
id: string;
|
|
2616
3460
|
project_id: string;
|
|
3461
|
+
action: "sample" | "demote" | "drop";
|
|
2617
3462
|
expires_at: string | null;
|
|
2618
3463
|
created_at: string;
|
|
2619
3464
|
name: string;
|
|
@@ -2622,16 +3467,16 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2622
3467
|
enabled: boolean;
|
|
2623
3468
|
matcher: CaptureRuleMatcher;
|
|
2624
3469
|
sample_rate: number | null;
|
|
2625
|
-
sample_event_class: "
|
|
3470
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2626
3471
|
created_by_user_id: string | null;
|
|
2627
3472
|
created_from_incident_id: string | null;
|
|
2628
3473
|
created_from_event_id: string | null;
|
|
2629
|
-
id: string;
|
|
2630
3474
|
hit_count: number;
|
|
2631
3475
|
last_matched_at: string | null;
|
|
2632
3476
|
}, {
|
|
2633
|
-
|
|
3477
|
+
id: string;
|
|
2634
3478
|
project_id: string;
|
|
3479
|
+
action: "sample" | "demote" | "drop";
|
|
2635
3480
|
expires_at: string | null;
|
|
2636
3481
|
created_at: string;
|
|
2637
3482
|
name: string;
|
|
@@ -2640,6 +3485,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2640
3485
|
enabled: boolean;
|
|
2641
3486
|
matcher: {
|
|
2642
3487
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
3488
|
+
fingerprint?: {
|
|
3489
|
+
value: string;
|
|
3490
|
+
version: string;
|
|
3491
|
+
} | undefined;
|
|
2643
3492
|
first_party?: boolean | undefined;
|
|
2644
3493
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2645
3494
|
services?: string[] | undefined;
|
|
@@ -2647,8 +3496,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2647
3496
|
error_name?: string | undefined;
|
|
2648
3497
|
message_contains?: string | undefined;
|
|
2649
3498
|
message_equals?: string | undefined;
|
|
2650
|
-
browser_event_kind?: "
|
|
3499
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2651
3500
|
browser_event_opaque?: boolean | undefined;
|
|
3501
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3502
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3503
|
+
browser_target_tag_name?: string | undefined;
|
|
3504
|
+
browser_target_attributes?: {
|
|
3505
|
+
type?: string | undefined;
|
|
3506
|
+
rel?: string | undefined;
|
|
3507
|
+
as?: string | undefined;
|
|
3508
|
+
media?: string | undefined;
|
|
3509
|
+
cross_origin?: string | undefined;
|
|
3510
|
+
async?: boolean | undefined;
|
|
3511
|
+
defer?: boolean | undefined;
|
|
3512
|
+
integrity_present?: boolean | undefined;
|
|
3513
|
+
} | undefined;
|
|
2652
3514
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2653
3515
|
bot_family?: string | undefined;
|
|
2654
3516
|
resource_url?: {
|
|
@@ -2668,25 +3530,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2668
3530
|
start: number;
|
|
2669
3531
|
end: number;
|
|
2670
3532
|
}[] | undefined;
|
|
2671
|
-
fingerprint?: {
|
|
2672
|
-
value: string;
|
|
2673
|
-
version: string;
|
|
2674
|
-
} | undefined;
|
|
2675
3533
|
};
|
|
2676
3534
|
sample_rate: number | null;
|
|
2677
|
-
sample_event_class: "
|
|
3535
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2678
3536
|
created_by_user_id: string | null;
|
|
2679
3537
|
created_from_incident_id: string | null;
|
|
2680
3538
|
created_from_event_id: string | null;
|
|
2681
|
-
id: string;
|
|
2682
3539
|
hit_count: number;
|
|
2683
3540
|
last_matched_at: string | null;
|
|
2684
3541
|
}>, "many">;
|
|
2685
3542
|
}, "strip", z.ZodTypeAny, {
|
|
2686
3543
|
version: 1;
|
|
2687
3544
|
rules: {
|
|
2688
|
-
|
|
3545
|
+
id: string;
|
|
2689
3546
|
project_id: string;
|
|
3547
|
+
action: "sample" | "demote" | "drop";
|
|
2690
3548
|
expires_at: string | null;
|
|
2691
3549
|
created_at: string;
|
|
2692
3550
|
name: string;
|
|
@@ -2695,19 +3553,19 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2695
3553
|
enabled: boolean;
|
|
2696
3554
|
matcher: CaptureRuleMatcher;
|
|
2697
3555
|
sample_rate: number | null;
|
|
2698
|
-
sample_event_class: "
|
|
3556
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2699
3557
|
created_by_user_id: string | null;
|
|
2700
3558
|
created_from_incident_id: string | null;
|
|
2701
3559
|
created_from_event_id: string | null;
|
|
2702
|
-
id: string;
|
|
2703
3560
|
hit_count: number;
|
|
2704
3561
|
last_matched_at: string | null;
|
|
2705
3562
|
}[];
|
|
2706
3563
|
}, {
|
|
2707
3564
|
version: 1;
|
|
2708
3565
|
rules: {
|
|
2709
|
-
|
|
3566
|
+
id: string;
|
|
2710
3567
|
project_id: string;
|
|
3568
|
+
action: "sample" | "demote" | "drop";
|
|
2711
3569
|
expires_at: string | null;
|
|
2712
3570
|
created_at: string;
|
|
2713
3571
|
name: string;
|
|
@@ -2716,6 +3574,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2716
3574
|
enabled: boolean;
|
|
2717
3575
|
matcher: {
|
|
2718
3576
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
3577
|
+
fingerprint?: {
|
|
3578
|
+
value: string;
|
|
3579
|
+
version: string;
|
|
3580
|
+
} | undefined;
|
|
2719
3581
|
first_party?: boolean | undefined;
|
|
2720
3582
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
2721
3583
|
services?: string[] | undefined;
|
|
@@ -2723,8 +3585,21 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2723
3585
|
error_name?: string | undefined;
|
|
2724
3586
|
message_contains?: string | undefined;
|
|
2725
3587
|
message_equals?: string | undefined;
|
|
2726
|
-
browser_event_kind?: "
|
|
3588
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
2727
3589
|
browser_event_opaque?: boolean | undefined;
|
|
3590
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
3591
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
3592
|
+
browser_target_tag_name?: string | undefined;
|
|
3593
|
+
browser_target_attributes?: {
|
|
3594
|
+
type?: string | undefined;
|
|
3595
|
+
rel?: string | undefined;
|
|
3596
|
+
as?: string | undefined;
|
|
3597
|
+
media?: string | undefined;
|
|
3598
|
+
cross_origin?: string | undefined;
|
|
3599
|
+
async?: boolean | undefined;
|
|
3600
|
+
defer?: boolean | undefined;
|
|
3601
|
+
integrity_present?: boolean | undefined;
|
|
3602
|
+
} | undefined;
|
|
2728
3603
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
2729
3604
|
bot_family?: string | undefined;
|
|
2730
3605
|
resource_url?: {
|
|
@@ -2744,17 +3619,12 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
|
|
|
2744
3619
|
start: number;
|
|
2745
3620
|
end: number;
|
|
2746
3621
|
}[] | undefined;
|
|
2747
|
-
fingerprint?: {
|
|
2748
|
-
value: string;
|
|
2749
|
-
version: string;
|
|
2750
|
-
} | undefined;
|
|
2751
3622
|
};
|
|
2752
3623
|
sample_rate: number | null;
|
|
2753
|
-
sample_event_class: "
|
|
3624
|
+
sample_event_class: "context" | "preserve" | null;
|
|
2754
3625
|
created_by_user_id: string | null;
|
|
2755
3626
|
created_from_incident_id: string | null;
|
|
2756
3627
|
created_from_event_id: string | null;
|
|
2757
|
-
id: string;
|
|
2758
3628
|
hit_count: number;
|
|
2759
3629
|
last_matched_at: string | null;
|
|
2760
3630
|
}[];
|