@debugbundle/shared-types 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/alert-notification-policy.d.ts +71 -0
- package/dist/alert-notification-policy.d.ts.map +1 -0
- package/dist/alert-notification-policy.js +54 -0
- package/dist/alert-notification-policy.js.map +1 -0
- package/dist/analytics-product.d.ts +16 -16
- package/dist/analytics.d.ts +46 -46
- package/dist/browser-recovery.d.ts +13 -0
- package/dist/browser-recovery.d.ts.map +1 -0
- package/dist/browser-recovery.js +42 -0
- package/dist/browser-recovery.js.map +1 -0
- package/dist/browser-resource-context.d.ts +66 -0
- package/dist/browser-resource-context.d.ts.map +1 -1
- package/dist/browser-resource-context.js +20 -1
- package/dist/browser-resource-context.js.map +1 -1
- package/dist/browser-resource-suggestions.d.ts.map +1 -1
- package/dist/browser-resource-suggestions.js +51 -1
- package/dist/browser-resource-suggestions.js.map +1 -1
- package/dist/browser-resource.d.ts +8 -0
- package/dist/browser-resource.d.ts.map +1 -1
- package/dist/browser-resource.js +24 -0
- package/dist/browser-resource.js.map +1 -1
- package/dist/capture-policy.d.ts +16 -16
- package/dist/capture-rule-evaluation.d.ts +71 -12
- package/dist/capture-rule-evaluation.d.ts.map +1 -1
- package/dist/capture-rule-evaluation.js +98 -3
- package/dist/capture-rule-evaluation.js.map +1 -1
- package/dist/capture-rule-schemas.d.ts +1080 -210
- package/dist/capture-rule-schemas.d.ts.map +1 -1
- package/dist/capture-rule-schemas.js +56 -0
- package/dist/capture-rule-schemas.js.map +1 -1
- package/dist/capture-rule-suggestions.d.ts +398 -97
- package/dist/capture-rule-suggestions.d.ts.map +1 -1
- package/dist/event-envelope.d.ts +276 -276
- package/dist/frontend-severity.d.ts.map +1 -1
- package/dist/frontend-severity.js +3 -0
- package/dist/frontend-severity.js.map +1 -1
- package/dist/index.d.ts +293 -171
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -27,6 +27,55 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
27
27
|
message_equals: z.ZodOptional<z.ZodString>;
|
|
28
28
|
browser_event_kind: z.ZodOptional<z.ZodEnum<["window_error", "resource_error"]>>;
|
|
29
29
|
browser_event_opaque: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
browser_page_visibility_state: z.ZodOptional<z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>>;
|
|
31
|
+
browser_page_ready_state: z.ZodOptional<z.ZodEnum<["loading", "interactive", "complete"]>>;
|
|
32
|
+
browser_target_tag_name: z.ZodOptional<z.ZodString>;
|
|
33
|
+
browser_target_attributes: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
34
|
+
rel: z.ZodOptional<z.ZodString>;
|
|
35
|
+
as: z.ZodOptional<z.ZodString>;
|
|
36
|
+
type: z.ZodOptional<z.ZodString>;
|
|
37
|
+
media: z.ZodOptional<z.ZodString>;
|
|
38
|
+
cross_origin: z.ZodOptional<z.ZodString>;
|
|
39
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
defer: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
integrity_present: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
}, "strict", z.ZodTypeAny, {
|
|
43
|
+
type?: string | undefined;
|
|
44
|
+
rel?: string | undefined;
|
|
45
|
+
as?: string | undefined;
|
|
46
|
+
media?: string | undefined;
|
|
47
|
+
cross_origin?: string | undefined;
|
|
48
|
+
async?: boolean | undefined;
|
|
49
|
+
defer?: boolean | undefined;
|
|
50
|
+
integrity_present?: boolean | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
type?: string | undefined;
|
|
53
|
+
rel?: string | undefined;
|
|
54
|
+
as?: string | undefined;
|
|
55
|
+
media?: string | undefined;
|
|
56
|
+
cross_origin?: string | undefined;
|
|
57
|
+
async?: boolean | undefined;
|
|
58
|
+
defer?: boolean | undefined;
|
|
59
|
+
integrity_present?: boolean | undefined;
|
|
60
|
+
}>, import("./capture-rule-schemas.js").CaptureRuleBrowserTargetAttributes, {
|
|
61
|
+
type?: string | undefined;
|
|
62
|
+
rel?: string | undefined;
|
|
63
|
+
as?: string | undefined;
|
|
64
|
+
media?: string | undefined;
|
|
65
|
+
cross_origin?: string | undefined;
|
|
66
|
+
async?: boolean | undefined;
|
|
67
|
+
defer?: boolean | undefined;
|
|
68
|
+
integrity_present?: boolean | undefined;
|
|
69
|
+
}>, import("./capture-rule-schemas.js").CaptureRuleBrowserTargetAttributes, {
|
|
70
|
+
type?: string | undefined;
|
|
71
|
+
rel?: string | undefined;
|
|
72
|
+
as?: string | undefined;
|
|
73
|
+
media?: string | undefined;
|
|
74
|
+
cross_origin?: string | undefined;
|
|
75
|
+
async?: boolean | undefined;
|
|
76
|
+
defer?: boolean | undefined;
|
|
77
|
+
integrity_present?: boolean | undefined;
|
|
78
|
+
}>>;
|
|
30
79
|
client_kind: z.ZodOptional<z.ZodEnum<["human", "bot", "unknown"]>>;
|
|
31
80
|
bot_family: z.ZodOptional<z.ZodString>;
|
|
32
81
|
resource_url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -110,6 +159,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
110
159
|
}>>;
|
|
111
160
|
}, "strip", z.ZodTypeAny, {
|
|
112
161
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
162
|
+
fingerprint?: {
|
|
163
|
+
value: string;
|
|
164
|
+
version: string;
|
|
165
|
+
} | undefined;
|
|
113
166
|
first_party?: boolean | undefined;
|
|
114
167
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
115
168
|
services?: string[] | undefined;
|
|
@@ -117,8 +170,12 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
117
170
|
error_name?: string | undefined;
|
|
118
171
|
message_contains?: string | undefined;
|
|
119
172
|
message_equals?: string | undefined;
|
|
120
|
-
browser_event_kind?: "
|
|
173
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
121
174
|
browser_event_opaque?: boolean | undefined;
|
|
175
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
176
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
177
|
+
browser_target_tag_name?: string | undefined;
|
|
178
|
+
browser_target_attributes?: import("./capture-rule-schemas.js").CaptureRuleBrowserTargetAttributes | undefined;
|
|
122
179
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
123
180
|
bot_family?: string | undefined;
|
|
124
181
|
resource_url?: import("./capture-rule-schemas.js").CaptureRuleUrlMatcher | undefined;
|
|
@@ -128,12 +185,12 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
128
185
|
start: number;
|
|
129
186
|
end: number;
|
|
130
187
|
}[] | undefined;
|
|
188
|
+
}, {
|
|
189
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
131
190
|
fingerprint?: {
|
|
132
191
|
value: string;
|
|
133
192
|
version: string;
|
|
134
193
|
} | undefined;
|
|
135
|
-
}, {
|
|
136
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
137
194
|
first_party?: boolean | undefined;
|
|
138
195
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
139
196
|
services?: string[] | undefined;
|
|
@@ -141,8 +198,21 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
141
198
|
error_name?: string | undefined;
|
|
142
199
|
message_contains?: string | undefined;
|
|
143
200
|
message_equals?: string | undefined;
|
|
144
|
-
browser_event_kind?: "
|
|
201
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
145
202
|
browser_event_opaque?: boolean | undefined;
|
|
203
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
204
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
205
|
+
browser_target_tag_name?: string | undefined;
|
|
206
|
+
browser_target_attributes?: {
|
|
207
|
+
type?: string | undefined;
|
|
208
|
+
rel?: string | undefined;
|
|
209
|
+
as?: string | undefined;
|
|
210
|
+
media?: string | undefined;
|
|
211
|
+
cross_origin?: string | undefined;
|
|
212
|
+
async?: boolean | undefined;
|
|
213
|
+
defer?: boolean | undefined;
|
|
214
|
+
integrity_present?: boolean | undefined;
|
|
215
|
+
} | undefined;
|
|
146
216
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
147
217
|
bot_family?: string | undefined;
|
|
148
218
|
resource_url?: {
|
|
@@ -162,12 +232,12 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
162
232
|
start: number;
|
|
163
233
|
end: number;
|
|
164
234
|
}[] | undefined;
|
|
235
|
+
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
236
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
165
237
|
fingerprint?: {
|
|
166
238
|
value: string;
|
|
167
239
|
version: string;
|
|
168
240
|
} | undefined;
|
|
169
|
-
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
170
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
171
241
|
first_party?: boolean | undefined;
|
|
172
242
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
173
243
|
services?: string[] | undefined;
|
|
@@ -175,8 +245,21 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
175
245
|
error_name?: string | undefined;
|
|
176
246
|
message_contains?: string | undefined;
|
|
177
247
|
message_equals?: string | undefined;
|
|
178
|
-
browser_event_kind?: "
|
|
248
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
179
249
|
browser_event_opaque?: boolean | undefined;
|
|
250
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
251
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
252
|
+
browser_target_tag_name?: string | undefined;
|
|
253
|
+
browser_target_attributes?: {
|
|
254
|
+
type?: string | undefined;
|
|
255
|
+
rel?: string | undefined;
|
|
256
|
+
as?: string | undefined;
|
|
257
|
+
media?: string | undefined;
|
|
258
|
+
cross_origin?: string | undefined;
|
|
259
|
+
async?: boolean | undefined;
|
|
260
|
+
defer?: boolean | undefined;
|
|
261
|
+
integrity_present?: boolean | undefined;
|
|
262
|
+
} | undefined;
|
|
180
263
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
181
264
|
bot_family?: string | undefined;
|
|
182
265
|
resource_url?: {
|
|
@@ -196,12 +279,12 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
196
279
|
start: number;
|
|
197
280
|
end: number;
|
|
198
281
|
}[] | undefined;
|
|
282
|
+
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
283
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
199
284
|
fingerprint?: {
|
|
200
285
|
value: string;
|
|
201
286
|
version: string;
|
|
202
287
|
} | undefined;
|
|
203
|
-
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
204
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
205
288
|
first_party?: boolean | undefined;
|
|
206
289
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
207
290
|
services?: string[] | undefined;
|
|
@@ -209,8 +292,21 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
209
292
|
error_name?: string | undefined;
|
|
210
293
|
message_contains?: string | undefined;
|
|
211
294
|
message_equals?: string | undefined;
|
|
212
|
-
browser_event_kind?: "
|
|
295
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
213
296
|
browser_event_opaque?: boolean | undefined;
|
|
297
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
298
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
299
|
+
browser_target_tag_name?: string | undefined;
|
|
300
|
+
browser_target_attributes?: {
|
|
301
|
+
type?: string | undefined;
|
|
302
|
+
rel?: string | undefined;
|
|
303
|
+
as?: string | undefined;
|
|
304
|
+
media?: string | undefined;
|
|
305
|
+
cross_origin?: string | undefined;
|
|
306
|
+
async?: boolean | undefined;
|
|
307
|
+
defer?: boolean | undefined;
|
|
308
|
+
integrity_present?: boolean | undefined;
|
|
309
|
+
} | undefined;
|
|
214
310
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
215
311
|
bot_family?: string | undefined;
|
|
216
312
|
resource_url?: {
|
|
@@ -230,10 +326,6 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
230
326
|
start: number;
|
|
231
327
|
end: number;
|
|
232
328
|
}[] | undefined;
|
|
233
|
-
fingerprint?: {
|
|
234
|
-
value: string;
|
|
235
|
-
version: string;
|
|
236
|
-
} | undefined;
|
|
237
329
|
}>;
|
|
238
330
|
sample_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
239
331
|
sample_event_class: z.ZodOptional<z.ZodNullable<z.ZodEnum<["preserve", "context"]>>>;
|
|
@@ -252,12 +344,16 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
252
344
|
created_from_incident_id: string | null;
|
|
253
345
|
created_from_event_id: string | null;
|
|
254
346
|
sample_rate?: number | null | undefined;
|
|
255
|
-
sample_event_class?: "
|
|
347
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
256
348
|
}, {
|
|
257
349
|
action: "sample" | "demote" | "drop";
|
|
258
350
|
name: string;
|
|
259
351
|
matcher: {
|
|
260
352
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
353
|
+
fingerprint?: {
|
|
354
|
+
value: string;
|
|
355
|
+
version: string;
|
|
356
|
+
} | undefined;
|
|
261
357
|
first_party?: boolean | undefined;
|
|
262
358
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
263
359
|
services?: string[] | undefined;
|
|
@@ -265,8 +361,21 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
265
361
|
error_name?: string | undefined;
|
|
266
362
|
message_contains?: string | undefined;
|
|
267
363
|
message_equals?: string | undefined;
|
|
268
|
-
browser_event_kind?: "
|
|
364
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
269
365
|
browser_event_opaque?: boolean | undefined;
|
|
366
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
367
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
368
|
+
browser_target_tag_name?: string | undefined;
|
|
369
|
+
browser_target_attributes?: {
|
|
370
|
+
type?: string | undefined;
|
|
371
|
+
rel?: string | undefined;
|
|
372
|
+
as?: string | undefined;
|
|
373
|
+
media?: string | undefined;
|
|
374
|
+
cross_origin?: string | undefined;
|
|
375
|
+
async?: boolean | undefined;
|
|
376
|
+
defer?: boolean | undefined;
|
|
377
|
+
integrity_present?: boolean | undefined;
|
|
378
|
+
} | undefined;
|
|
270
379
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
271
380
|
bot_family?: string | undefined;
|
|
272
381
|
resource_url?: {
|
|
@@ -286,16 +395,12 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
286
395
|
start: number;
|
|
287
396
|
end: number;
|
|
288
397
|
}[] | undefined;
|
|
289
|
-
fingerprint?: {
|
|
290
|
-
value: string;
|
|
291
|
-
version: string;
|
|
292
|
-
} | undefined;
|
|
293
398
|
};
|
|
294
399
|
expires_at?: string | null | undefined;
|
|
295
400
|
description?: string | null | undefined;
|
|
296
401
|
enabled?: boolean | undefined;
|
|
297
402
|
sample_rate?: number | null | undefined;
|
|
298
|
-
sample_event_class?: "
|
|
403
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
299
404
|
created_by_user_id?: string | null | undefined;
|
|
300
405
|
created_from_incident_id?: string | null | undefined;
|
|
301
406
|
created_from_event_id?: string | null | undefined;
|
|
@@ -310,12 +415,16 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
310
415
|
created_from_incident_id: string | null;
|
|
311
416
|
created_from_event_id: string | null;
|
|
312
417
|
sample_rate?: number | null | undefined;
|
|
313
|
-
sample_event_class?: "
|
|
418
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
314
419
|
}, {
|
|
315
420
|
action: "sample" | "demote" | "drop";
|
|
316
421
|
name: string;
|
|
317
422
|
matcher: {
|
|
318
423
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
424
|
+
fingerprint?: {
|
|
425
|
+
value: string;
|
|
426
|
+
version: string;
|
|
427
|
+
} | undefined;
|
|
319
428
|
first_party?: boolean | undefined;
|
|
320
429
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
321
430
|
services?: string[] | undefined;
|
|
@@ -323,8 +432,21 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
323
432
|
error_name?: string | undefined;
|
|
324
433
|
message_contains?: string | undefined;
|
|
325
434
|
message_equals?: string | undefined;
|
|
326
|
-
browser_event_kind?: "
|
|
435
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
327
436
|
browser_event_opaque?: boolean | undefined;
|
|
437
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
438
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
439
|
+
browser_target_tag_name?: string | undefined;
|
|
440
|
+
browser_target_attributes?: {
|
|
441
|
+
type?: string | undefined;
|
|
442
|
+
rel?: string | undefined;
|
|
443
|
+
as?: string | undefined;
|
|
444
|
+
media?: string | undefined;
|
|
445
|
+
cross_origin?: string | undefined;
|
|
446
|
+
async?: boolean | undefined;
|
|
447
|
+
defer?: boolean | undefined;
|
|
448
|
+
integrity_present?: boolean | undefined;
|
|
449
|
+
} | undefined;
|
|
328
450
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
329
451
|
bot_family?: string | undefined;
|
|
330
452
|
resource_url?: {
|
|
@@ -344,22 +466,18 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
344
466
|
start: number;
|
|
345
467
|
end: number;
|
|
346
468
|
}[] | undefined;
|
|
347
|
-
fingerprint?: {
|
|
348
|
-
value: string;
|
|
349
|
-
version: string;
|
|
350
|
-
} | undefined;
|
|
351
469
|
};
|
|
352
470
|
expires_at?: string | null | undefined;
|
|
353
471
|
description?: string | null | undefined;
|
|
354
472
|
enabled?: boolean | undefined;
|
|
355
473
|
sample_rate?: number | null | undefined;
|
|
356
|
-
sample_event_class?: "
|
|
474
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
357
475
|
created_by_user_id?: string | null | undefined;
|
|
358
476
|
created_from_incident_id?: string | null | undefined;
|
|
359
477
|
created_from_event_id?: string | null | undefined;
|
|
360
478
|
}>, {
|
|
361
479
|
sample_rate: number | null;
|
|
362
|
-
sample_event_class: "
|
|
480
|
+
sample_event_class: "context" | "preserve" | null;
|
|
363
481
|
action: "sample" | "demote" | "drop";
|
|
364
482
|
expires_at: string | null;
|
|
365
483
|
name: string;
|
|
@@ -374,6 +492,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
374
492
|
name: string;
|
|
375
493
|
matcher: {
|
|
376
494
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
495
|
+
fingerprint?: {
|
|
496
|
+
value: string;
|
|
497
|
+
version: string;
|
|
498
|
+
} | undefined;
|
|
377
499
|
first_party?: boolean | undefined;
|
|
378
500
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
379
501
|
services?: string[] | undefined;
|
|
@@ -381,8 +503,21 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
381
503
|
error_name?: string | undefined;
|
|
382
504
|
message_contains?: string | undefined;
|
|
383
505
|
message_equals?: string | undefined;
|
|
384
|
-
browser_event_kind?: "
|
|
506
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
385
507
|
browser_event_opaque?: boolean | undefined;
|
|
508
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
509
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
510
|
+
browser_target_tag_name?: string | undefined;
|
|
511
|
+
browser_target_attributes?: {
|
|
512
|
+
type?: string | undefined;
|
|
513
|
+
rel?: string | undefined;
|
|
514
|
+
as?: string | undefined;
|
|
515
|
+
media?: string | undefined;
|
|
516
|
+
cross_origin?: string | undefined;
|
|
517
|
+
async?: boolean | undefined;
|
|
518
|
+
defer?: boolean | undefined;
|
|
519
|
+
integrity_present?: boolean | undefined;
|
|
520
|
+
} | undefined;
|
|
386
521
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
387
522
|
bot_family?: string | undefined;
|
|
388
523
|
resource_url?: {
|
|
@@ -402,25 +537,22 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
402
537
|
start: number;
|
|
403
538
|
end: number;
|
|
404
539
|
}[] | undefined;
|
|
405
|
-
fingerprint?: {
|
|
406
|
-
value: string;
|
|
407
|
-
version: string;
|
|
408
|
-
} | undefined;
|
|
409
540
|
};
|
|
410
541
|
expires_at?: string | null | undefined;
|
|
411
542
|
description?: string | null | undefined;
|
|
412
543
|
enabled?: boolean | undefined;
|
|
413
544
|
sample_rate?: number | null | undefined;
|
|
414
|
-
sample_event_class?: "
|
|
545
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
415
546
|
created_by_user_id?: string | null | undefined;
|
|
416
547
|
created_from_incident_id?: string | null | undefined;
|
|
417
548
|
created_from_event_id?: string | null | undefined;
|
|
418
549
|
}>;
|
|
419
550
|
}, "strip", z.ZodTypeAny, {
|
|
420
551
|
confidence: "medium" | "low" | "high";
|
|
552
|
+
label: string;
|
|
421
553
|
rule: {
|
|
422
554
|
sample_rate: number | null;
|
|
423
|
-
sample_event_class: "
|
|
555
|
+
sample_event_class: "context" | "preserve" | null;
|
|
424
556
|
action: "sample" | "demote" | "drop";
|
|
425
557
|
expires_at: string | null;
|
|
426
558
|
name: string;
|
|
@@ -432,7 +564,6 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
432
564
|
created_from_event_id: string | null;
|
|
433
565
|
};
|
|
434
566
|
suggestion_id: string;
|
|
435
|
-
label: string;
|
|
436
567
|
recommended_action: "sample" | "demote" | "drop";
|
|
437
568
|
reason: string;
|
|
438
569
|
requires_confirmation: boolean;
|
|
@@ -440,11 +571,16 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
440
571
|
created_rule_enabled: boolean | null;
|
|
441
572
|
}, {
|
|
442
573
|
confidence: "medium" | "low" | "high";
|
|
574
|
+
label: string;
|
|
443
575
|
rule: {
|
|
444
576
|
action: "sample" | "demote" | "drop";
|
|
445
577
|
name: string;
|
|
446
578
|
matcher: {
|
|
447
579
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
580
|
+
fingerprint?: {
|
|
581
|
+
value: string;
|
|
582
|
+
version: string;
|
|
583
|
+
} | undefined;
|
|
448
584
|
first_party?: boolean | undefined;
|
|
449
585
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
450
586
|
services?: string[] | undefined;
|
|
@@ -452,8 +588,21 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
452
588
|
error_name?: string | undefined;
|
|
453
589
|
message_contains?: string | undefined;
|
|
454
590
|
message_equals?: string | undefined;
|
|
455
|
-
browser_event_kind?: "
|
|
591
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
456
592
|
browser_event_opaque?: boolean | undefined;
|
|
593
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
594
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
595
|
+
browser_target_tag_name?: string | undefined;
|
|
596
|
+
browser_target_attributes?: {
|
|
597
|
+
type?: string | undefined;
|
|
598
|
+
rel?: string | undefined;
|
|
599
|
+
as?: string | undefined;
|
|
600
|
+
media?: string | undefined;
|
|
601
|
+
cross_origin?: string | undefined;
|
|
602
|
+
async?: boolean | undefined;
|
|
603
|
+
defer?: boolean | undefined;
|
|
604
|
+
integrity_present?: boolean | undefined;
|
|
605
|
+
} | undefined;
|
|
457
606
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
458
607
|
bot_family?: string | undefined;
|
|
459
608
|
resource_url?: {
|
|
@@ -473,22 +622,17 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
473
622
|
start: number;
|
|
474
623
|
end: number;
|
|
475
624
|
}[] | undefined;
|
|
476
|
-
fingerprint?: {
|
|
477
|
-
value: string;
|
|
478
|
-
version: string;
|
|
479
|
-
} | undefined;
|
|
480
625
|
};
|
|
481
626
|
expires_at?: string | null | undefined;
|
|
482
627
|
description?: string | null | undefined;
|
|
483
628
|
enabled?: boolean | undefined;
|
|
484
629
|
sample_rate?: number | null | undefined;
|
|
485
|
-
sample_event_class?: "
|
|
630
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
486
631
|
created_by_user_id?: string | null | undefined;
|
|
487
632
|
created_from_incident_id?: string | null | undefined;
|
|
488
633
|
created_from_event_id?: string | null | undefined;
|
|
489
634
|
};
|
|
490
635
|
suggestion_id: string;
|
|
491
|
-
label: string;
|
|
492
636
|
recommended_action: "sample" | "demote" | "drop";
|
|
493
637
|
reason: string;
|
|
494
638
|
requires_confirmation: boolean;
|
|
@@ -523,6 +667,55 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
523
667
|
message_equals: z.ZodOptional<z.ZodString>;
|
|
524
668
|
browser_event_kind: z.ZodOptional<z.ZodEnum<["window_error", "resource_error"]>>;
|
|
525
669
|
browser_event_opaque: z.ZodOptional<z.ZodBoolean>;
|
|
670
|
+
browser_page_visibility_state: z.ZodOptional<z.ZodEnum<["visible", "hidden", "prerender", "unloaded"]>>;
|
|
671
|
+
browser_page_ready_state: z.ZodOptional<z.ZodEnum<["loading", "interactive", "complete"]>>;
|
|
672
|
+
browser_target_tag_name: z.ZodOptional<z.ZodString>;
|
|
673
|
+
browser_target_attributes: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
674
|
+
rel: z.ZodOptional<z.ZodString>;
|
|
675
|
+
as: z.ZodOptional<z.ZodString>;
|
|
676
|
+
type: z.ZodOptional<z.ZodString>;
|
|
677
|
+
media: z.ZodOptional<z.ZodString>;
|
|
678
|
+
cross_origin: z.ZodOptional<z.ZodString>;
|
|
679
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
680
|
+
defer: z.ZodOptional<z.ZodBoolean>;
|
|
681
|
+
integrity_present: z.ZodOptional<z.ZodBoolean>;
|
|
682
|
+
}, "strict", z.ZodTypeAny, {
|
|
683
|
+
type?: string | undefined;
|
|
684
|
+
rel?: string | undefined;
|
|
685
|
+
as?: string | undefined;
|
|
686
|
+
media?: string | undefined;
|
|
687
|
+
cross_origin?: string | undefined;
|
|
688
|
+
async?: boolean | undefined;
|
|
689
|
+
defer?: boolean | undefined;
|
|
690
|
+
integrity_present?: boolean | undefined;
|
|
691
|
+
}, {
|
|
692
|
+
type?: string | undefined;
|
|
693
|
+
rel?: string | undefined;
|
|
694
|
+
as?: string | undefined;
|
|
695
|
+
media?: string | undefined;
|
|
696
|
+
cross_origin?: string | undefined;
|
|
697
|
+
async?: boolean | undefined;
|
|
698
|
+
defer?: boolean | undefined;
|
|
699
|
+
integrity_present?: boolean | undefined;
|
|
700
|
+
}>, import("./capture-rule-schemas.js").CaptureRuleBrowserTargetAttributes, {
|
|
701
|
+
type?: string | undefined;
|
|
702
|
+
rel?: string | undefined;
|
|
703
|
+
as?: string | undefined;
|
|
704
|
+
media?: string | undefined;
|
|
705
|
+
cross_origin?: string | undefined;
|
|
706
|
+
async?: boolean | undefined;
|
|
707
|
+
defer?: boolean | undefined;
|
|
708
|
+
integrity_present?: boolean | undefined;
|
|
709
|
+
}>, import("./capture-rule-schemas.js").CaptureRuleBrowserTargetAttributes, {
|
|
710
|
+
type?: string | undefined;
|
|
711
|
+
rel?: string | undefined;
|
|
712
|
+
as?: string | undefined;
|
|
713
|
+
media?: string | undefined;
|
|
714
|
+
cross_origin?: string | undefined;
|
|
715
|
+
async?: boolean | undefined;
|
|
716
|
+
defer?: boolean | undefined;
|
|
717
|
+
integrity_present?: boolean | undefined;
|
|
718
|
+
}>>;
|
|
526
719
|
client_kind: z.ZodOptional<z.ZodEnum<["human", "bot", "unknown"]>>;
|
|
527
720
|
bot_family: z.ZodOptional<z.ZodString>;
|
|
528
721
|
resource_url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -606,6 +799,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
606
799
|
}>>;
|
|
607
800
|
}, "strip", z.ZodTypeAny, {
|
|
608
801
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
802
|
+
fingerprint?: {
|
|
803
|
+
value: string;
|
|
804
|
+
version: string;
|
|
805
|
+
} | undefined;
|
|
609
806
|
first_party?: boolean | undefined;
|
|
610
807
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
611
808
|
services?: string[] | undefined;
|
|
@@ -613,8 +810,12 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
613
810
|
error_name?: string | undefined;
|
|
614
811
|
message_contains?: string | undefined;
|
|
615
812
|
message_equals?: string | undefined;
|
|
616
|
-
browser_event_kind?: "
|
|
813
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
617
814
|
browser_event_opaque?: boolean | undefined;
|
|
815
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
816
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
817
|
+
browser_target_tag_name?: string | undefined;
|
|
818
|
+
browser_target_attributes?: import("./capture-rule-schemas.js").CaptureRuleBrowserTargetAttributes | undefined;
|
|
618
819
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
619
820
|
bot_family?: string | undefined;
|
|
620
821
|
resource_url?: import("./capture-rule-schemas.js").CaptureRuleUrlMatcher | undefined;
|
|
@@ -624,12 +825,12 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
624
825
|
start: number;
|
|
625
826
|
end: number;
|
|
626
827
|
}[] | undefined;
|
|
828
|
+
}, {
|
|
829
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
627
830
|
fingerprint?: {
|
|
628
831
|
value: string;
|
|
629
832
|
version: string;
|
|
630
833
|
} | undefined;
|
|
631
|
-
}, {
|
|
632
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
633
834
|
first_party?: boolean | undefined;
|
|
634
835
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
635
836
|
services?: string[] | undefined;
|
|
@@ -637,8 +838,21 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
637
838
|
error_name?: string | undefined;
|
|
638
839
|
message_contains?: string | undefined;
|
|
639
840
|
message_equals?: string | undefined;
|
|
640
|
-
browser_event_kind?: "
|
|
841
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
641
842
|
browser_event_opaque?: boolean | undefined;
|
|
843
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
844
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
845
|
+
browser_target_tag_name?: string | undefined;
|
|
846
|
+
browser_target_attributes?: {
|
|
847
|
+
type?: string | undefined;
|
|
848
|
+
rel?: string | undefined;
|
|
849
|
+
as?: string | undefined;
|
|
850
|
+
media?: string | undefined;
|
|
851
|
+
cross_origin?: string | undefined;
|
|
852
|
+
async?: boolean | undefined;
|
|
853
|
+
defer?: boolean | undefined;
|
|
854
|
+
integrity_present?: boolean | undefined;
|
|
855
|
+
} | undefined;
|
|
642
856
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
643
857
|
bot_family?: string | undefined;
|
|
644
858
|
resource_url?: {
|
|
@@ -658,12 +872,12 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
658
872
|
start: number;
|
|
659
873
|
end: number;
|
|
660
874
|
}[] | undefined;
|
|
875
|
+
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
876
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
661
877
|
fingerprint?: {
|
|
662
878
|
value: string;
|
|
663
879
|
version: string;
|
|
664
880
|
} | undefined;
|
|
665
|
-
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
666
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
667
881
|
first_party?: boolean | undefined;
|
|
668
882
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
669
883
|
services?: string[] | undefined;
|
|
@@ -671,8 +885,21 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
671
885
|
error_name?: string | undefined;
|
|
672
886
|
message_contains?: string | undefined;
|
|
673
887
|
message_equals?: string | undefined;
|
|
674
|
-
browser_event_kind?: "
|
|
888
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
675
889
|
browser_event_opaque?: boolean | undefined;
|
|
890
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
891
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
892
|
+
browser_target_tag_name?: string | undefined;
|
|
893
|
+
browser_target_attributes?: {
|
|
894
|
+
type?: string | undefined;
|
|
895
|
+
rel?: string | undefined;
|
|
896
|
+
as?: string | undefined;
|
|
897
|
+
media?: string | undefined;
|
|
898
|
+
cross_origin?: string | undefined;
|
|
899
|
+
async?: boolean | undefined;
|
|
900
|
+
defer?: boolean | undefined;
|
|
901
|
+
integrity_present?: boolean | undefined;
|
|
902
|
+
} | undefined;
|
|
676
903
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
677
904
|
bot_family?: string | undefined;
|
|
678
905
|
resource_url?: {
|
|
@@ -692,12 +919,12 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
692
919
|
start: number;
|
|
693
920
|
end: number;
|
|
694
921
|
}[] | undefined;
|
|
922
|
+
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
923
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
695
924
|
fingerprint?: {
|
|
696
925
|
value: string;
|
|
697
926
|
version: string;
|
|
698
927
|
} | undefined;
|
|
699
|
-
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
700
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
701
928
|
first_party?: boolean | undefined;
|
|
702
929
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
703
930
|
services?: string[] | undefined;
|
|
@@ -705,8 +932,21 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
705
932
|
error_name?: string | undefined;
|
|
706
933
|
message_contains?: string | undefined;
|
|
707
934
|
message_equals?: string | undefined;
|
|
708
|
-
browser_event_kind?: "
|
|
935
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
709
936
|
browser_event_opaque?: boolean | undefined;
|
|
937
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
938
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
939
|
+
browser_target_tag_name?: string | undefined;
|
|
940
|
+
browser_target_attributes?: {
|
|
941
|
+
type?: string | undefined;
|
|
942
|
+
rel?: string | undefined;
|
|
943
|
+
as?: string | undefined;
|
|
944
|
+
media?: string | undefined;
|
|
945
|
+
cross_origin?: string | undefined;
|
|
946
|
+
async?: boolean | undefined;
|
|
947
|
+
defer?: boolean | undefined;
|
|
948
|
+
integrity_present?: boolean | undefined;
|
|
949
|
+
} | undefined;
|
|
710
950
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
711
951
|
bot_family?: string | undefined;
|
|
712
952
|
resource_url?: {
|
|
@@ -726,10 +966,6 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
726
966
|
start: number;
|
|
727
967
|
end: number;
|
|
728
968
|
}[] | undefined;
|
|
729
|
-
fingerprint?: {
|
|
730
|
-
value: string;
|
|
731
|
-
version: string;
|
|
732
|
-
} | undefined;
|
|
733
969
|
}>;
|
|
734
970
|
sample_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
735
971
|
sample_event_class: z.ZodOptional<z.ZodNullable<z.ZodEnum<["preserve", "context"]>>>;
|
|
@@ -748,12 +984,16 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
748
984
|
created_from_incident_id: string | null;
|
|
749
985
|
created_from_event_id: string | null;
|
|
750
986
|
sample_rate?: number | null | undefined;
|
|
751
|
-
sample_event_class?: "
|
|
987
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
752
988
|
}, {
|
|
753
989
|
action: "sample" | "demote" | "drop";
|
|
754
990
|
name: string;
|
|
755
991
|
matcher: {
|
|
756
992
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
993
|
+
fingerprint?: {
|
|
994
|
+
value: string;
|
|
995
|
+
version: string;
|
|
996
|
+
} | undefined;
|
|
757
997
|
first_party?: boolean | undefined;
|
|
758
998
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
759
999
|
services?: string[] | undefined;
|
|
@@ -761,8 +1001,21 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
761
1001
|
error_name?: string | undefined;
|
|
762
1002
|
message_contains?: string | undefined;
|
|
763
1003
|
message_equals?: string | undefined;
|
|
764
|
-
browser_event_kind?: "
|
|
1004
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
765
1005
|
browser_event_opaque?: boolean | undefined;
|
|
1006
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1007
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1008
|
+
browser_target_tag_name?: string | undefined;
|
|
1009
|
+
browser_target_attributes?: {
|
|
1010
|
+
type?: string | undefined;
|
|
1011
|
+
rel?: string | undefined;
|
|
1012
|
+
as?: string | undefined;
|
|
1013
|
+
media?: string | undefined;
|
|
1014
|
+
cross_origin?: string | undefined;
|
|
1015
|
+
async?: boolean | undefined;
|
|
1016
|
+
defer?: boolean | undefined;
|
|
1017
|
+
integrity_present?: boolean | undefined;
|
|
1018
|
+
} | undefined;
|
|
766
1019
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
767
1020
|
bot_family?: string | undefined;
|
|
768
1021
|
resource_url?: {
|
|
@@ -782,16 +1035,12 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
782
1035
|
start: number;
|
|
783
1036
|
end: number;
|
|
784
1037
|
}[] | undefined;
|
|
785
|
-
fingerprint?: {
|
|
786
|
-
value: string;
|
|
787
|
-
version: string;
|
|
788
|
-
} | undefined;
|
|
789
1038
|
};
|
|
790
1039
|
expires_at?: string | null | undefined;
|
|
791
1040
|
description?: string | null | undefined;
|
|
792
1041
|
enabled?: boolean | undefined;
|
|
793
1042
|
sample_rate?: number | null | undefined;
|
|
794
|
-
sample_event_class?: "
|
|
1043
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
795
1044
|
created_by_user_id?: string | null | undefined;
|
|
796
1045
|
created_from_incident_id?: string | null | undefined;
|
|
797
1046
|
created_from_event_id?: string | null | undefined;
|
|
@@ -806,12 +1055,16 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
806
1055
|
created_from_incident_id: string | null;
|
|
807
1056
|
created_from_event_id: string | null;
|
|
808
1057
|
sample_rate?: number | null | undefined;
|
|
809
|
-
sample_event_class?: "
|
|
1058
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
810
1059
|
}, {
|
|
811
1060
|
action: "sample" | "demote" | "drop";
|
|
812
1061
|
name: string;
|
|
813
1062
|
matcher: {
|
|
814
1063
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1064
|
+
fingerprint?: {
|
|
1065
|
+
value: string;
|
|
1066
|
+
version: string;
|
|
1067
|
+
} | undefined;
|
|
815
1068
|
first_party?: boolean | undefined;
|
|
816
1069
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
817
1070
|
services?: string[] | undefined;
|
|
@@ -819,8 +1072,21 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
819
1072
|
error_name?: string | undefined;
|
|
820
1073
|
message_contains?: string | undefined;
|
|
821
1074
|
message_equals?: string | undefined;
|
|
822
|
-
browser_event_kind?: "
|
|
1075
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
823
1076
|
browser_event_opaque?: boolean | undefined;
|
|
1077
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1078
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1079
|
+
browser_target_tag_name?: string | undefined;
|
|
1080
|
+
browser_target_attributes?: {
|
|
1081
|
+
type?: string | undefined;
|
|
1082
|
+
rel?: string | undefined;
|
|
1083
|
+
as?: string | undefined;
|
|
1084
|
+
media?: string | undefined;
|
|
1085
|
+
cross_origin?: string | undefined;
|
|
1086
|
+
async?: boolean | undefined;
|
|
1087
|
+
defer?: boolean | undefined;
|
|
1088
|
+
integrity_present?: boolean | undefined;
|
|
1089
|
+
} | undefined;
|
|
824
1090
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
825
1091
|
bot_family?: string | undefined;
|
|
826
1092
|
resource_url?: {
|
|
@@ -840,22 +1106,18 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
840
1106
|
start: number;
|
|
841
1107
|
end: number;
|
|
842
1108
|
}[] | undefined;
|
|
843
|
-
fingerprint?: {
|
|
844
|
-
value: string;
|
|
845
|
-
version: string;
|
|
846
|
-
} | undefined;
|
|
847
1109
|
};
|
|
848
1110
|
expires_at?: string | null | undefined;
|
|
849
1111
|
description?: string | null | undefined;
|
|
850
1112
|
enabled?: boolean | undefined;
|
|
851
1113
|
sample_rate?: number | null | undefined;
|
|
852
|
-
sample_event_class?: "
|
|
1114
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
853
1115
|
created_by_user_id?: string | null | undefined;
|
|
854
1116
|
created_from_incident_id?: string | null | undefined;
|
|
855
1117
|
created_from_event_id?: string | null | undefined;
|
|
856
1118
|
}>, {
|
|
857
1119
|
sample_rate: number | null;
|
|
858
|
-
sample_event_class: "
|
|
1120
|
+
sample_event_class: "context" | "preserve" | null;
|
|
859
1121
|
action: "sample" | "demote" | "drop";
|
|
860
1122
|
expires_at: string | null;
|
|
861
1123
|
name: string;
|
|
@@ -870,6 +1132,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
870
1132
|
name: string;
|
|
871
1133
|
matcher: {
|
|
872
1134
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1135
|
+
fingerprint?: {
|
|
1136
|
+
value: string;
|
|
1137
|
+
version: string;
|
|
1138
|
+
} | undefined;
|
|
873
1139
|
first_party?: boolean | undefined;
|
|
874
1140
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
875
1141
|
services?: string[] | undefined;
|
|
@@ -877,8 +1143,21 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
877
1143
|
error_name?: string | undefined;
|
|
878
1144
|
message_contains?: string | undefined;
|
|
879
1145
|
message_equals?: string | undefined;
|
|
880
|
-
browser_event_kind?: "
|
|
1146
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
881
1147
|
browser_event_opaque?: boolean | undefined;
|
|
1148
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1149
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1150
|
+
browser_target_tag_name?: string | undefined;
|
|
1151
|
+
browser_target_attributes?: {
|
|
1152
|
+
type?: string | undefined;
|
|
1153
|
+
rel?: string | undefined;
|
|
1154
|
+
as?: string | undefined;
|
|
1155
|
+
media?: string | undefined;
|
|
1156
|
+
cross_origin?: string | undefined;
|
|
1157
|
+
async?: boolean | undefined;
|
|
1158
|
+
defer?: boolean | undefined;
|
|
1159
|
+
integrity_present?: boolean | undefined;
|
|
1160
|
+
} | undefined;
|
|
882
1161
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
883
1162
|
bot_family?: string | undefined;
|
|
884
1163
|
resource_url?: {
|
|
@@ -898,25 +1177,22 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
898
1177
|
start: number;
|
|
899
1178
|
end: number;
|
|
900
1179
|
}[] | undefined;
|
|
901
|
-
fingerprint?: {
|
|
902
|
-
value: string;
|
|
903
|
-
version: string;
|
|
904
|
-
} | undefined;
|
|
905
1180
|
};
|
|
906
1181
|
expires_at?: string | null | undefined;
|
|
907
1182
|
description?: string | null | undefined;
|
|
908
1183
|
enabled?: boolean | undefined;
|
|
909
1184
|
sample_rate?: number | null | undefined;
|
|
910
|
-
sample_event_class?: "
|
|
1185
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
911
1186
|
created_by_user_id?: string | null | undefined;
|
|
912
1187
|
created_from_incident_id?: string | null | undefined;
|
|
913
1188
|
created_from_event_id?: string | null | undefined;
|
|
914
1189
|
}>;
|
|
915
1190
|
}, "strip", z.ZodTypeAny, {
|
|
916
1191
|
confidence: "medium" | "low" | "high";
|
|
1192
|
+
label: string;
|
|
917
1193
|
rule: {
|
|
918
1194
|
sample_rate: number | null;
|
|
919
|
-
sample_event_class: "
|
|
1195
|
+
sample_event_class: "context" | "preserve" | null;
|
|
920
1196
|
action: "sample" | "demote" | "drop";
|
|
921
1197
|
expires_at: string | null;
|
|
922
1198
|
name: string;
|
|
@@ -928,7 +1204,6 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
928
1204
|
created_from_event_id: string | null;
|
|
929
1205
|
};
|
|
930
1206
|
suggestion_id: string;
|
|
931
|
-
label: string;
|
|
932
1207
|
recommended_action: "sample" | "demote" | "drop";
|
|
933
1208
|
reason: string;
|
|
934
1209
|
requires_confirmation: boolean;
|
|
@@ -936,11 +1211,16 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
936
1211
|
created_rule_enabled: boolean | null;
|
|
937
1212
|
}, {
|
|
938
1213
|
confidence: "medium" | "low" | "high";
|
|
1214
|
+
label: string;
|
|
939
1215
|
rule: {
|
|
940
1216
|
action: "sample" | "demote" | "drop";
|
|
941
1217
|
name: string;
|
|
942
1218
|
matcher: {
|
|
943
1219
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1220
|
+
fingerprint?: {
|
|
1221
|
+
value: string;
|
|
1222
|
+
version: string;
|
|
1223
|
+
} | undefined;
|
|
944
1224
|
first_party?: boolean | undefined;
|
|
945
1225
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
946
1226
|
services?: string[] | undefined;
|
|
@@ -948,8 +1228,21 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
948
1228
|
error_name?: string | undefined;
|
|
949
1229
|
message_contains?: string | undefined;
|
|
950
1230
|
message_equals?: string | undefined;
|
|
951
|
-
browser_event_kind?: "
|
|
1231
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
952
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;
|
|
953
1246
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
954
1247
|
bot_family?: string | undefined;
|
|
955
1248
|
resource_url?: {
|
|
@@ -969,22 +1262,17 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
969
1262
|
start: number;
|
|
970
1263
|
end: number;
|
|
971
1264
|
}[] | undefined;
|
|
972
|
-
fingerprint?: {
|
|
973
|
-
value: string;
|
|
974
|
-
version: string;
|
|
975
|
-
} | undefined;
|
|
976
1265
|
};
|
|
977
1266
|
expires_at?: string | null | undefined;
|
|
978
1267
|
description?: string | null | undefined;
|
|
979
1268
|
enabled?: boolean | undefined;
|
|
980
1269
|
sample_rate?: number | null | undefined;
|
|
981
|
-
sample_event_class?: "
|
|
1270
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
982
1271
|
created_by_user_id?: string | null | undefined;
|
|
983
1272
|
created_from_incident_id?: string | null | undefined;
|
|
984
1273
|
created_from_event_id?: string | null | undefined;
|
|
985
1274
|
};
|
|
986
1275
|
suggestion_id: string;
|
|
987
|
-
label: string;
|
|
988
1276
|
recommended_action: "sample" | "demote" | "drop";
|
|
989
1277
|
reason: string;
|
|
990
1278
|
requires_confirmation: boolean;
|
|
@@ -996,9 +1284,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
996
1284
|
}, "strip", z.ZodTypeAny, {
|
|
997
1285
|
suggestions: {
|
|
998
1286
|
confidence: "medium" | "low" | "high";
|
|
1287
|
+
label: string;
|
|
999
1288
|
rule: {
|
|
1000
1289
|
sample_rate: number | null;
|
|
1001
|
-
sample_event_class: "
|
|
1290
|
+
sample_event_class: "context" | "preserve" | null;
|
|
1002
1291
|
action: "sample" | "demote" | "drop";
|
|
1003
1292
|
expires_at: string | null;
|
|
1004
1293
|
name: string;
|
|
@@ -1010,7 +1299,6 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
1010
1299
|
created_from_event_id: string | null;
|
|
1011
1300
|
};
|
|
1012
1301
|
suggestion_id: string;
|
|
1013
|
-
label: string;
|
|
1014
1302
|
recommended_action: "sample" | "demote" | "drop";
|
|
1015
1303
|
reason: string;
|
|
1016
1304
|
requires_confirmation: boolean;
|
|
@@ -1023,11 +1311,16 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
1023
1311
|
}, {
|
|
1024
1312
|
suggestions: {
|
|
1025
1313
|
confidence: "medium" | "low" | "high";
|
|
1314
|
+
label: string;
|
|
1026
1315
|
rule: {
|
|
1027
1316
|
action: "sample" | "demote" | "drop";
|
|
1028
1317
|
name: string;
|
|
1029
1318
|
matcher: {
|
|
1030
1319
|
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1320
|
+
fingerprint?: {
|
|
1321
|
+
value: string;
|
|
1322
|
+
version: string;
|
|
1323
|
+
} | undefined;
|
|
1031
1324
|
first_party?: boolean | undefined;
|
|
1032
1325
|
event_types?: ("backend_exception" | "request_event" | "log_event" | "frontend_breadcrumb" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "probe_event")[] | undefined;
|
|
1033
1326
|
services?: string[] | undefined;
|
|
@@ -1035,8 +1328,21 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
1035
1328
|
error_name?: string | undefined;
|
|
1036
1329
|
message_contains?: string | undefined;
|
|
1037
1330
|
message_equals?: string | undefined;
|
|
1038
|
-
browser_event_kind?: "
|
|
1331
|
+
browser_event_kind?: "window_error" | "resource_error" | undefined;
|
|
1039
1332
|
browser_event_opaque?: boolean | undefined;
|
|
1333
|
+
browser_page_visibility_state?: "visible" | "hidden" | "prerender" | "unloaded" | undefined;
|
|
1334
|
+
browser_page_ready_state?: "loading" | "interactive" | "complete" | undefined;
|
|
1335
|
+
browser_target_tag_name?: string | undefined;
|
|
1336
|
+
browser_target_attributes?: {
|
|
1337
|
+
type?: string | undefined;
|
|
1338
|
+
rel?: string | undefined;
|
|
1339
|
+
as?: string | undefined;
|
|
1340
|
+
media?: string | undefined;
|
|
1341
|
+
cross_origin?: string | undefined;
|
|
1342
|
+
async?: boolean | undefined;
|
|
1343
|
+
defer?: boolean | undefined;
|
|
1344
|
+
integrity_present?: boolean | undefined;
|
|
1345
|
+
} | undefined;
|
|
1040
1346
|
client_kind?: "unknown" | "human" | "bot" | undefined;
|
|
1041
1347
|
bot_family?: string | undefined;
|
|
1042
1348
|
resource_url?: {
|
|
@@ -1056,22 +1362,17 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
1056
1362
|
start: number;
|
|
1057
1363
|
end: number;
|
|
1058
1364
|
}[] | undefined;
|
|
1059
|
-
fingerprint?: {
|
|
1060
|
-
value: string;
|
|
1061
|
-
version: string;
|
|
1062
|
-
} | undefined;
|
|
1063
1365
|
};
|
|
1064
1366
|
expires_at?: string | null | undefined;
|
|
1065
1367
|
description?: string | null | undefined;
|
|
1066
1368
|
enabled?: boolean | undefined;
|
|
1067
1369
|
sample_rate?: number | null | undefined;
|
|
1068
|
-
sample_event_class?: "
|
|
1370
|
+
sample_event_class?: "context" | "preserve" | null | undefined;
|
|
1069
1371
|
created_by_user_id?: string | null | undefined;
|
|
1070
1372
|
created_from_incident_id?: string | null | undefined;
|
|
1071
1373
|
created_from_event_id?: string | null | undefined;
|
|
1072
1374
|
};
|
|
1073
1375
|
suggestion_id: string;
|
|
1074
|
-
label: string;
|
|
1075
1376
|
recommended_action: "sample" | "demote" | "drop";
|
|
1076
1377
|
reason: string;
|
|
1077
1378
|
requires_confirmation: boolean;
|