@debugbundle/shared-types 1.3.1 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-journey-samples.d.ts +975 -0
- package/dist/analytics-journey-samples.d.ts.map +1 -0
- package/dist/analytics-journey-samples.js +114 -0
- package/dist/analytics-journey-samples.js.map +1 -0
- package/dist/analytics-product.d.ts +1028 -0
- package/dist/analytics-product.d.ts.map +1 -0
- package/dist/analytics-product.js +225 -0
- package/dist/analytics-product.js.map +1 -0
- package/dist/analytics-saved-funnels.d.ts +309 -0
- package/dist/analytics-saved-funnels.d.ts.map +1 -0
- package/dist/analytics-saved-funnels.js +63 -0
- package/dist/analytics-saved-funnels.js.map +1 -0
- package/dist/analytics.d.ts +2646 -0
- package/dist/analytics.d.ts.map +1 -0
- package/dist/analytics.js +590 -0
- package/dist/analytics.js.map +1 -0
- package/dist/capture-policy.d.ts +3 -3
- package/dist/capture-rule-evaluation.d.ts +6 -6
- package/dist/capture-rule-schemas.d.ts +152 -152
- package/dist/capture-rule-suggestions.d.ts +85 -69
- package/dist/capture-rule-suggestions.d.ts.map +1 -1
- package/dist/capture-rule-suggestions.js +2 -0
- package/dist/capture-rule-suggestions.js.map +1 -1
- package/dist/improvement-settings.d.ts +2 -2
- package/dist/index.d.ts +474 -470
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/tier-capabilities.d.ts +34 -2
- package/dist/tier-capabilities.d.ts.map +1 -1
- package/dist/tier-capabilities.js +39 -7
- package/dist/tier-capabilities.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,8 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
8
8
|
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
9
9
|
reason: z.ZodString;
|
|
10
10
|
requires_confirmation: z.ZodBoolean;
|
|
11
|
+
created_rule_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
created_rule_enabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
11
13
|
rule: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
12
14
|
name: z.ZodString;
|
|
13
15
|
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -106,10 +108,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
106
108
|
version: string;
|
|
107
109
|
}>>;
|
|
108
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
109
112
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
110
113
|
services?: string[] | undefined;
|
|
111
114
|
environments?: string[] | undefined;
|
|
112
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
113
115
|
first_party?: boolean | undefined;
|
|
114
116
|
error_name?: string | undefined;
|
|
115
117
|
message_contains?: string | undefined;
|
|
@@ -130,10 +132,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
130
132
|
version: string;
|
|
131
133
|
} | undefined;
|
|
132
134
|
}, {
|
|
135
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
133
136
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
134
137
|
services?: string[] | undefined;
|
|
135
138
|
environments?: string[] | undefined;
|
|
136
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
137
139
|
first_party?: boolean | undefined;
|
|
138
140
|
error_name?: string | undefined;
|
|
139
141
|
message_contains?: string | undefined;
|
|
@@ -164,10 +166,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
164
166
|
version: string;
|
|
165
167
|
} | undefined;
|
|
166
168
|
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
169
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
167
170
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
168
171
|
services?: string[] | undefined;
|
|
169
172
|
environments?: string[] | undefined;
|
|
170
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
171
173
|
first_party?: boolean | undefined;
|
|
172
174
|
error_name?: string | undefined;
|
|
173
175
|
message_contains?: string | undefined;
|
|
@@ -198,10 +200,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
198
200
|
version: string;
|
|
199
201
|
} | undefined;
|
|
200
202
|
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
203
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
201
204
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
202
205
|
services?: string[] | undefined;
|
|
203
206
|
environments?: string[] | undefined;
|
|
204
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
205
207
|
first_party?: boolean | undefined;
|
|
206
208
|
error_name?: string | undefined;
|
|
207
209
|
message_contains?: string | undefined;
|
|
@@ -239,25 +241,25 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
239
241
|
created_from_event_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
240
242
|
expires_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
241
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
|
+
action: "sample" | "demote" | "drop";
|
|
245
|
+
expires_at: string | null;
|
|
242
246
|
name: string;
|
|
243
247
|
description: string | null;
|
|
244
248
|
enabled: boolean;
|
|
245
|
-
action: "demote" | "sample" | "drop";
|
|
246
249
|
matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
|
|
247
250
|
created_by_user_id: string | null;
|
|
248
251
|
created_from_incident_id: string | null;
|
|
249
252
|
created_from_event_id: string | null;
|
|
250
|
-
expires_at: string | null;
|
|
251
253
|
sample_rate?: number | null | undefined;
|
|
252
254
|
sample_event_class?: "preserve" | "context" | null | undefined;
|
|
253
255
|
}, {
|
|
256
|
+
action: "sample" | "demote" | "drop";
|
|
254
257
|
name: string;
|
|
255
|
-
action: "demote" | "sample" | "drop";
|
|
256
258
|
matcher: {
|
|
259
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
257
260
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
258
261
|
services?: string[] | undefined;
|
|
259
262
|
environments?: string[] | undefined;
|
|
260
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
261
263
|
first_party?: boolean | undefined;
|
|
262
264
|
error_name?: string | undefined;
|
|
263
265
|
message_contains?: string | undefined;
|
|
@@ -288,6 +290,7 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
288
290
|
version: string;
|
|
289
291
|
} | undefined;
|
|
290
292
|
};
|
|
293
|
+
expires_at?: string | null | undefined;
|
|
291
294
|
description?: string | null | undefined;
|
|
292
295
|
enabled?: boolean | undefined;
|
|
293
296
|
sample_rate?: number | null | undefined;
|
|
@@ -295,27 +298,26 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
295
298
|
created_by_user_id?: string | null | undefined;
|
|
296
299
|
created_from_incident_id?: string | null | undefined;
|
|
297
300
|
created_from_event_id?: string | null | undefined;
|
|
298
|
-
expires_at?: string | null | undefined;
|
|
299
301
|
}>, {
|
|
302
|
+
action: "sample" | "demote" | "drop";
|
|
303
|
+
expires_at: string | null;
|
|
300
304
|
name: string;
|
|
301
305
|
description: string | null;
|
|
302
306
|
enabled: boolean;
|
|
303
|
-
action: "demote" | "sample" | "drop";
|
|
304
307
|
matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
|
|
305
308
|
created_by_user_id: string | null;
|
|
306
309
|
created_from_incident_id: string | null;
|
|
307
310
|
created_from_event_id: string | null;
|
|
308
|
-
expires_at: string | null;
|
|
309
311
|
sample_rate?: number | null | undefined;
|
|
310
312
|
sample_event_class?: "preserve" | "context" | null | undefined;
|
|
311
313
|
}, {
|
|
314
|
+
action: "sample" | "demote" | "drop";
|
|
312
315
|
name: string;
|
|
313
|
-
action: "demote" | "sample" | "drop";
|
|
314
316
|
matcher: {
|
|
317
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
315
318
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
316
319
|
services?: string[] | undefined;
|
|
317
320
|
environments?: string[] | undefined;
|
|
318
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
319
321
|
first_party?: boolean | undefined;
|
|
320
322
|
error_name?: string | undefined;
|
|
321
323
|
message_contains?: string | undefined;
|
|
@@ -346,6 +348,7 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
346
348
|
version: string;
|
|
347
349
|
} | undefined;
|
|
348
350
|
};
|
|
351
|
+
expires_at?: string | null | undefined;
|
|
349
352
|
description?: string | null | undefined;
|
|
350
353
|
enabled?: boolean | undefined;
|
|
351
354
|
sample_rate?: number | null | undefined;
|
|
@@ -353,27 +356,26 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
353
356
|
created_by_user_id?: string | null | undefined;
|
|
354
357
|
created_from_incident_id?: string | null | undefined;
|
|
355
358
|
created_from_event_id?: string | null | undefined;
|
|
356
|
-
expires_at?: string | null | undefined;
|
|
357
359
|
}>, {
|
|
358
360
|
sample_rate: number | null;
|
|
359
361
|
sample_event_class: "preserve" | "context" | null;
|
|
362
|
+
action: "sample" | "demote" | "drop";
|
|
363
|
+
expires_at: string | null;
|
|
360
364
|
name: string;
|
|
361
365
|
description: string | null;
|
|
362
366
|
enabled: boolean;
|
|
363
|
-
action: "demote" | "sample" | "drop";
|
|
364
367
|
matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
|
|
365
368
|
created_by_user_id: string | null;
|
|
366
369
|
created_from_incident_id: string | null;
|
|
367
370
|
created_from_event_id: string | null;
|
|
368
|
-
expires_at: string | null;
|
|
369
371
|
}, {
|
|
372
|
+
action: "sample" | "demote" | "drop";
|
|
370
373
|
name: string;
|
|
371
|
-
action: "demote" | "sample" | "drop";
|
|
372
374
|
matcher: {
|
|
375
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
373
376
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
374
377
|
services?: string[] | undefined;
|
|
375
378
|
environments?: string[] | undefined;
|
|
376
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
377
379
|
first_party?: boolean | undefined;
|
|
378
380
|
error_name?: string | undefined;
|
|
379
381
|
message_contains?: string | undefined;
|
|
@@ -404,6 +406,7 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
404
406
|
version: string;
|
|
405
407
|
} | undefined;
|
|
406
408
|
};
|
|
409
|
+
expires_at?: string | null | undefined;
|
|
407
410
|
description?: string | null | undefined;
|
|
408
411
|
enabled?: boolean | undefined;
|
|
409
412
|
sample_rate?: number | null | undefined;
|
|
@@ -411,37 +414,39 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
411
414
|
created_by_user_id?: string | null | undefined;
|
|
412
415
|
created_from_incident_id?: string | null | undefined;
|
|
413
416
|
created_from_event_id?: string | null | undefined;
|
|
414
|
-
expires_at?: string | null | undefined;
|
|
415
417
|
}>;
|
|
416
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
+
confidence: "medium" | "low" | "high";
|
|
417
420
|
rule: {
|
|
418
421
|
sample_rate: number | null;
|
|
419
422
|
sample_event_class: "preserve" | "context" | null;
|
|
423
|
+
action: "sample" | "demote" | "drop";
|
|
424
|
+
expires_at: string | null;
|
|
420
425
|
name: string;
|
|
421
426
|
description: string | null;
|
|
422
427
|
enabled: boolean;
|
|
423
|
-
action: "demote" | "sample" | "drop";
|
|
424
428
|
matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
|
|
425
429
|
created_by_user_id: string | null;
|
|
426
430
|
created_from_incident_id: string | null;
|
|
427
431
|
created_from_event_id: string | null;
|
|
428
|
-
expires_at: string | null;
|
|
429
432
|
};
|
|
430
433
|
suggestion_id: string;
|
|
431
434
|
label: string;
|
|
432
|
-
recommended_action: "
|
|
433
|
-
confidence: "high" | "medium" | "low";
|
|
435
|
+
recommended_action: "sample" | "demote" | "drop";
|
|
434
436
|
reason: string;
|
|
435
437
|
requires_confirmation: boolean;
|
|
438
|
+
created_rule_id: string | null;
|
|
439
|
+
created_rule_enabled: boolean | null;
|
|
436
440
|
}, {
|
|
441
|
+
confidence: "medium" | "low" | "high";
|
|
437
442
|
rule: {
|
|
443
|
+
action: "sample" | "demote" | "drop";
|
|
438
444
|
name: string;
|
|
439
|
-
action: "demote" | "sample" | "drop";
|
|
440
445
|
matcher: {
|
|
446
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
441
447
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
442
448
|
services?: string[] | undefined;
|
|
443
449
|
environments?: string[] | undefined;
|
|
444
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
445
450
|
first_party?: boolean | undefined;
|
|
446
451
|
error_name?: string | undefined;
|
|
447
452
|
message_contains?: string | undefined;
|
|
@@ -472,6 +477,7 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
472
477
|
version: string;
|
|
473
478
|
} | undefined;
|
|
474
479
|
};
|
|
480
|
+
expires_at?: string | null | undefined;
|
|
475
481
|
description?: string | null | undefined;
|
|
476
482
|
enabled?: boolean | undefined;
|
|
477
483
|
sample_rate?: number | null | undefined;
|
|
@@ -479,14 +485,14 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
|
|
|
479
485
|
created_by_user_id?: string | null | undefined;
|
|
480
486
|
created_from_incident_id?: string | null | undefined;
|
|
481
487
|
created_from_event_id?: string | null | undefined;
|
|
482
|
-
expires_at?: string | null | undefined;
|
|
483
488
|
};
|
|
484
489
|
suggestion_id: string;
|
|
485
490
|
label: string;
|
|
486
|
-
recommended_action: "
|
|
487
|
-
confidence: "high" | "medium" | "low";
|
|
491
|
+
recommended_action: "sample" | "demote" | "drop";
|
|
488
492
|
reason: string;
|
|
489
493
|
requires_confirmation: boolean;
|
|
494
|
+
created_rule_id?: string | null | undefined;
|
|
495
|
+
created_rule_enabled?: boolean | null | undefined;
|
|
490
496
|
}>;
|
|
491
497
|
export type CaptureRuleSuggestion = z.infer<typeof CaptureRuleSuggestionSchema>;
|
|
492
498
|
export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
@@ -497,6 +503,8 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
497
503
|
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
498
504
|
reason: z.ZodString;
|
|
499
505
|
requires_confirmation: z.ZodBoolean;
|
|
506
|
+
created_rule_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
507
|
+
created_rule_enabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
500
508
|
rule: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
501
509
|
name: z.ZodString;
|
|
502
510
|
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -595,10 +603,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
595
603
|
version: string;
|
|
596
604
|
}>>;
|
|
597
605
|
}, "strip", z.ZodTypeAny, {
|
|
606
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
598
607
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
599
608
|
services?: string[] | undefined;
|
|
600
609
|
environments?: string[] | undefined;
|
|
601
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
602
610
|
first_party?: boolean | undefined;
|
|
603
611
|
error_name?: string | undefined;
|
|
604
612
|
message_contains?: string | undefined;
|
|
@@ -619,10 +627,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
619
627
|
version: string;
|
|
620
628
|
} | undefined;
|
|
621
629
|
}, {
|
|
630
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
622
631
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
623
632
|
services?: string[] | undefined;
|
|
624
633
|
environments?: string[] | undefined;
|
|
625
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
626
634
|
first_party?: boolean | undefined;
|
|
627
635
|
error_name?: string | undefined;
|
|
628
636
|
message_contains?: string | undefined;
|
|
@@ -653,10 +661,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
653
661
|
version: string;
|
|
654
662
|
} | undefined;
|
|
655
663
|
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
664
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
656
665
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
657
666
|
services?: string[] | undefined;
|
|
658
667
|
environments?: string[] | undefined;
|
|
659
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
660
668
|
first_party?: boolean | undefined;
|
|
661
669
|
error_name?: string | undefined;
|
|
662
670
|
message_contains?: string | undefined;
|
|
@@ -687,10 +695,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
687
695
|
version: string;
|
|
688
696
|
} | undefined;
|
|
689
697
|
}>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
|
|
698
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
690
699
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
691
700
|
services?: string[] | undefined;
|
|
692
701
|
environments?: string[] | undefined;
|
|
693
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
694
702
|
first_party?: boolean | undefined;
|
|
695
703
|
error_name?: string | undefined;
|
|
696
704
|
message_contains?: string | undefined;
|
|
@@ -728,25 +736,25 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
728
736
|
created_from_event_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
729
737
|
expires_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
730
738
|
}, "strip", z.ZodTypeAny, {
|
|
739
|
+
action: "sample" | "demote" | "drop";
|
|
740
|
+
expires_at: string | null;
|
|
731
741
|
name: string;
|
|
732
742
|
description: string | null;
|
|
733
743
|
enabled: boolean;
|
|
734
|
-
action: "demote" | "sample" | "drop";
|
|
735
744
|
matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
|
|
736
745
|
created_by_user_id: string | null;
|
|
737
746
|
created_from_incident_id: string | null;
|
|
738
747
|
created_from_event_id: string | null;
|
|
739
|
-
expires_at: string | null;
|
|
740
748
|
sample_rate?: number | null | undefined;
|
|
741
749
|
sample_event_class?: "preserve" | "context" | null | undefined;
|
|
742
750
|
}, {
|
|
751
|
+
action: "sample" | "demote" | "drop";
|
|
743
752
|
name: string;
|
|
744
|
-
action: "demote" | "sample" | "drop";
|
|
745
753
|
matcher: {
|
|
754
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
746
755
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
747
756
|
services?: string[] | undefined;
|
|
748
757
|
environments?: string[] | undefined;
|
|
749
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
750
758
|
first_party?: boolean | undefined;
|
|
751
759
|
error_name?: string | undefined;
|
|
752
760
|
message_contains?: string | undefined;
|
|
@@ -777,6 +785,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
777
785
|
version: string;
|
|
778
786
|
} | undefined;
|
|
779
787
|
};
|
|
788
|
+
expires_at?: string | null | undefined;
|
|
780
789
|
description?: string | null | undefined;
|
|
781
790
|
enabled?: boolean | undefined;
|
|
782
791
|
sample_rate?: number | null | undefined;
|
|
@@ -784,27 +793,26 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
784
793
|
created_by_user_id?: string | null | undefined;
|
|
785
794
|
created_from_incident_id?: string | null | undefined;
|
|
786
795
|
created_from_event_id?: string | null | undefined;
|
|
787
|
-
expires_at?: string | null | undefined;
|
|
788
796
|
}>, {
|
|
797
|
+
action: "sample" | "demote" | "drop";
|
|
798
|
+
expires_at: string | null;
|
|
789
799
|
name: string;
|
|
790
800
|
description: string | null;
|
|
791
801
|
enabled: boolean;
|
|
792
|
-
action: "demote" | "sample" | "drop";
|
|
793
802
|
matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
|
|
794
803
|
created_by_user_id: string | null;
|
|
795
804
|
created_from_incident_id: string | null;
|
|
796
805
|
created_from_event_id: string | null;
|
|
797
|
-
expires_at: string | null;
|
|
798
806
|
sample_rate?: number | null | undefined;
|
|
799
807
|
sample_event_class?: "preserve" | "context" | null | undefined;
|
|
800
808
|
}, {
|
|
809
|
+
action: "sample" | "demote" | "drop";
|
|
801
810
|
name: string;
|
|
802
|
-
action: "demote" | "sample" | "drop";
|
|
803
811
|
matcher: {
|
|
812
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
804
813
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
805
814
|
services?: string[] | undefined;
|
|
806
815
|
environments?: string[] | undefined;
|
|
807
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
808
816
|
first_party?: boolean | undefined;
|
|
809
817
|
error_name?: string | undefined;
|
|
810
818
|
message_contains?: string | undefined;
|
|
@@ -835,6 +843,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
835
843
|
version: string;
|
|
836
844
|
} | undefined;
|
|
837
845
|
};
|
|
846
|
+
expires_at?: string | null | undefined;
|
|
838
847
|
description?: string | null | undefined;
|
|
839
848
|
enabled?: boolean | undefined;
|
|
840
849
|
sample_rate?: number | null | undefined;
|
|
@@ -842,27 +851,26 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
842
851
|
created_by_user_id?: string | null | undefined;
|
|
843
852
|
created_from_incident_id?: string | null | undefined;
|
|
844
853
|
created_from_event_id?: string | null | undefined;
|
|
845
|
-
expires_at?: string | null | undefined;
|
|
846
854
|
}>, {
|
|
847
855
|
sample_rate: number | null;
|
|
848
856
|
sample_event_class: "preserve" | "context" | null;
|
|
857
|
+
action: "sample" | "demote" | "drop";
|
|
858
|
+
expires_at: string | null;
|
|
849
859
|
name: string;
|
|
850
860
|
description: string | null;
|
|
851
861
|
enabled: boolean;
|
|
852
|
-
action: "demote" | "sample" | "drop";
|
|
853
862
|
matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
|
|
854
863
|
created_by_user_id: string | null;
|
|
855
864
|
created_from_incident_id: string | null;
|
|
856
865
|
created_from_event_id: string | null;
|
|
857
|
-
expires_at: string | null;
|
|
858
866
|
}, {
|
|
867
|
+
action: "sample" | "demote" | "drop";
|
|
859
868
|
name: string;
|
|
860
|
-
action: "demote" | "sample" | "drop";
|
|
861
869
|
matcher: {
|
|
870
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
862
871
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
863
872
|
services?: string[] | undefined;
|
|
864
873
|
environments?: string[] | undefined;
|
|
865
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
866
874
|
first_party?: boolean | undefined;
|
|
867
875
|
error_name?: string | undefined;
|
|
868
876
|
message_contains?: string | undefined;
|
|
@@ -893,6 +901,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
893
901
|
version: string;
|
|
894
902
|
} | undefined;
|
|
895
903
|
};
|
|
904
|
+
expires_at?: string | null | undefined;
|
|
896
905
|
description?: string | null | undefined;
|
|
897
906
|
enabled?: boolean | undefined;
|
|
898
907
|
sample_rate?: number | null | undefined;
|
|
@@ -900,37 +909,39 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
900
909
|
created_by_user_id?: string | null | undefined;
|
|
901
910
|
created_from_incident_id?: string | null | undefined;
|
|
902
911
|
created_from_event_id?: string | null | undefined;
|
|
903
|
-
expires_at?: string | null | undefined;
|
|
904
912
|
}>;
|
|
905
913
|
}, "strip", z.ZodTypeAny, {
|
|
914
|
+
confidence: "medium" | "low" | "high";
|
|
906
915
|
rule: {
|
|
907
916
|
sample_rate: number | null;
|
|
908
917
|
sample_event_class: "preserve" | "context" | null;
|
|
918
|
+
action: "sample" | "demote" | "drop";
|
|
919
|
+
expires_at: string | null;
|
|
909
920
|
name: string;
|
|
910
921
|
description: string | null;
|
|
911
922
|
enabled: boolean;
|
|
912
|
-
action: "demote" | "sample" | "drop";
|
|
913
923
|
matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
|
|
914
924
|
created_by_user_id: string | null;
|
|
915
925
|
created_from_incident_id: string | null;
|
|
916
926
|
created_from_event_id: string | null;
|
|
917
|
-
expires_at: string | null;
|
|
918
927
|
};
|
|
919
928
|
suggestion_id: string;
|
|
920
929
|
label: string;
|
|
921
|
-
recommended_action: "
|
|
922
|
-
confidence: "high" | "medium" | "low";
|
|
930
|
+
recommended_action: "sample" | "demote" | "drop";
|
|
923
931
|
reason: string;
|
|
924
932
|
requires_confirmation: boolean;
|
|
933
|
+
created_rule_id: string | null;
|
|
934
|
+
created_rule_enabled: boolean | null;
|
|
925
935
|
}, {
|
|
936
|
+
confidence: "medium" | "low" | "high";
|
|
926
937
|
rule: {
|
|
938
|
+
action: "sample" | "demote" | "drop";
|
|
927
939
|
name: string;
|
|
928
|
-
action: "demote" | "sample" | "drop";
|
|
929
940
|
matcher: {
|
|
941
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
930
942
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
931
943
|
services?: string[] | undefined;
|
|
932
944
|
environments?: string[] | undefined;
|
|
933
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
934
945
|
first_party?: boolean | undefined;
|
|
935
946
|
error_name?: string | undefined;
|
|
936
947
|
message_contains?: string | undefined;
|
|
@@ -961,6 +972,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
961
972
|
version: string;
|
|
962
973
|
} | undefined;
|
|
963
974
|
};
|
|
975
|
+
expires_at?: string | null | undefined;
|
|
964
976
|
description?: string | null | undefined;
|
|
965
977
|
enabled?: boolean | undefined;
|
|
966
978
|
sample_rate?: number | null | undefined;
|
|
@@ -968,51 +980,54 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
968
980
|
created_by_user_id?: string | null | undefined;
|
|
969
981
|
created_from_incident_id?: string | null | undefined;
|
|
970
982
|
created_from_event_id?: string | null | undefined;
|
|
971
|
-
expires_at?: string | null | undefined;
|
|
972
983
|
};
|
|
973
984
|
suggestion_id: string;
|
|
974
985
|
label: string;
|
|
975
|
-
recommended_action: "
|
|
976
|
-
confidence: "high" | "medium" | "low";
|
|
986
|
+
recommended_action: "sample" | "demote" | "drop";
|
|
977
987
|
reason: string;
|
|
978
988
|
requires_confirmation: boolean;
|
|
989
|
+
created_rule_id?: string | null | undefined;
|
|
990
|
+
created_rule_enabled?: boolean | null | undefined;
|
|
979
991
|
}>, "many">;
|
|
980
992
|
bundle_status: z.ZodOptional<z.ZodEnum<["ready", "pending", "failed"]>>;
|
|
981
993
|
bundle_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
982
994
|
}, "strip", z.ZodTypeAny, {
|
|
983
995
|
suggestions: {
|
|
996
|
+
confidence: "medium" | "low" | "high";
|
|
984
997
|
rule: {
|
|
985
998
|
sample_rate: number | null;
|
|
986
999
|
sample_event_class: "preserve" | "context" | null;
|
|
1000
|
+
action: "sample" | "demote" | "drop";
|
|
1001
|
+
expires_at: string | null;
|
|
987
1002
|
name: string;
|
|
988
1003
|
description: string | null;
|
|
989
1004
|
enabled: boolean;
|
|
990
|
-
action: "demote" | "sample" | "drop";
|
|
991
1005
|
matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
|
|
992
1006
|
created_by_user_id: string | null;
|
|
993
1007
|
created_from_incident_id: string | null;
|
|
994
1008
|
created_from_event_id: string | null;
|
|
995
|
-
expires_at: string | null;
|
|
996
1009
|
};
|
|
997
1010
|
suggestion_id: string;
|
|
998
1011
|
label: string;
|
|
999
|
-
recommended_action: "
|
|
1000
|
-
confidence: "high" | "medium" | "low";
|
|
1012
|
+
recommended_action: "sample" | "demote" | "drop";
|
|
1001
1013
|
reason: string;
|
|
1002
1014
|
requires_confirmation: boolean;
|
|
1015
|
+
created_rule_id: string | null;
|
|
1016
|
+
created_rule_enabled: boolean | null;
|
|
1003
1017
|
}[];
|
|
1004
|
-
bundle_status?: "
|
|
1018
|
+
bundle_status?: "pending" | "failed" | "ready" | undefined;
|
|
1005
1019
|
bundle_reason?: string | null | undefined;
|
|
1006
1020
|
}, {
|
|
1007
1021
|
suggestions: {
|
|
1022
|
+
confidence: "medium" | "low" | "high";
|
|
1008
1023
|
rule: {
|
|
1024
|
+
action: "sample" | "demote" | "drop";
|
|
1009
1025
|
name: string;
|
|
1010
|
-
action: "demote" | "sample" | "drop";
|
|
1011
1026
|
matcher: {
|
|
1027
|
+
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1012
1028
|
event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
|
|
1013
1029
|
services?: string[] | undefined;
|
|
1014
1030
|
environments?: string[] | undefined;
|
|
1015
|
-
runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
|
|
1016
1031
|
first_party?: boolean | undefined;
|
|
1017
1032
|
error_name?: string | undefined;
|
|
1018
1033
|
message_contains?: string | undefined;
|
|
@@ -1043,6 +1058,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
1043
1058
|
version: string;
|
|
1044
1059
|
} | undefined;
|
|
1045
1060
|
};
|
|
1061
|
+
expires_at?: string | null | undefined;
|
|
1046
1062
|
description?: string | null | undefined;
|
|
1047
1063
|
enabled?: boolean | undefined;
|
|
1048
1064
|
sample_rate?: number | null | undefined;
|
|
@@ -1050,16 +1066,16 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
|
|
|
1050
1066
|
created_by_user_id?: string | null | undefined;
|
|
1051
1067
|
created_from_incident_id?: string | null | undefined;
|
|
1052
1068
|
created_from_event_id?: string | null | undefined;
|
|
1053
|
-
expires_at?: string | null | undefined;
|
|
1054
1069
|
};
|
|
1055
1070
|
suggestion_id: string;
|
|
1056
1071
|
label: string;
|
|
1057
|
-
recommended_action: "
|
|
1058
|
-
confidence: "high" | "medium" | "low";
|
|
1072
|
+
recommended_action: "sample" | "demote" | "drop";
|
|
1059
1073
|
reason: string;
|
|
1060
1074
|
requires_confirmation: boolean;
|
|
1075
|
+
created_rule_id?: string | null | undefined;
|
|
1076
|
+
created_rule_enabled?: boolean | null | undefined;
|
|
1061
1077
|
}[];
|
|
1062
|
-
bundle_status?: "
|
|
1078
|
+
bundle_status?: "pending" | "failed" | "ready" | undefined;
|
|
1063
1079
|
bundle_reason?: string | null | undefined;
|
|
1064
1080
|
}>;
|
|
1065
1081
|
export type CaptureRuleSuggestionsResponse = z.infer<typeof CaptureRuleSuggestionsResponseSchema>;
|
|
@@ -1071,16 +1087,16 @@ export declare const CreateCaptureRuleFromSuggestionSchema: z.ZodObject<{
|
|
|
1071
1087
|
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1072
1088
|
}, "strip", z.ZodTypeAny, {
|
|
1073
1089
|
suggestion_id: string;
|
|
1090
|
+
expires_at?: string | null | undefined;
|
|
1074
1091
|
name?: string | undefined;
|
|
1075
1092
|
description?: string | null | undefined;
|
|
1076
1093
|
enabled?: boolean | undefined;
|
|
1077
|
-
expires_at?: string | null | undefined;
|
|
1078
1094
|
}, {
|
|
1079
1095
|
suggestion_id: string;
|
|
1096
|
+
expires_at?: string | null | undefined;
|
|
1080
1097
|
name?: string | undefined;
|
|
1081
1098
|
description?: string | null | undefined;
|
|
1082
1099
|
enabled?: boolean | undefined;
|
|
1083
|
-
expires_at?: string | null | undefined;
|
|
1084
1100
|
}>;
|
|
1085
1101
|
export type CreateCaptureRuleFromSuggestion = z.infer<typeof CreateCaptureRuleFromSuggestionSchema>;
|
|
1086
1102
|
export interface CaptureRuleSuggestionIncident {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capture-rule-suggestions.d.ts","sourceRoot":"","sources":["../src/capture-rule-suggestions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,qCAAqC,sCAAoC,CAAC;AACvF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"capture-rule-suggestions.d.ts","sourceRoot":"","sources":["../src/capture-rule-suggestions.ts"],"names":[],"mappings":"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"}
|
|
@@ -8,6 +8,8 @@ export const CaptureRuleSuggestionSchema = z.object({
|
|
|
8
8
|
confidence: CaptureRuleSuggestionConfidenceSchema,
|
|
9
9
|
reason: z.string().min(1).max(500),
|
|
10
10
|
requires_confirmation: z.boolean(),
|
|
11
|
+
created_rule_id: z.string().min(1).max(120).nullable().default(null),
|
|
12
|
+
created_rule_enabled: z.boolean().nullable().default(null),
|
|
11
13
|
rule: CaptureRuleCreateSchema
|
|
12
14
|
});
|
|
13
15
|
export const CaptureRuleSuggestionsResponseSchema = z.object({
|