@debugbundle/shared-types 1.4.0 → 1.5.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.
@@ -108,10 +108,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
108
108
  version: string;
109
109
  }>>;
110
110
  }, "strip", z.ZodTypeAny, {
111
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
111
112
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
112
113
  services?: string[] | undefined;
113
114
  environments?: string[] | undefined;
114
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
115
115
  first_party?: boolean | undefined;
116
116
  error_name?: string | undefined;
117
117
  message_contains?: string | undefined;
@@ -132,10 +132,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
132
132
  version: string;
133
133
  } | undefined;
134
134
  }, {
135
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
135
136
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
136
137
  services?: string[] | undefined;
137
138
  environments?: string[] | undefined;
138
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
139
139
  first_party?: boolean | undefined;
140
140
  error_name?: string | undefined;
141
141
  message_contains?: string | undefined;
@@ -166,10 +166,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
166
166
  version: string;
167
167
  } | undefined;
168
168
  }>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
169
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
169
170
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
170
171
  services?: string[] | undefined;
171
172
  environments?: string[] | undefined;
172
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
173
173
  first_party?: boolean | undefined;
174
174
  error_name?: string | undefined;
175
175
  message_contains?: string | undefined;
@@ -200,10 +200,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
200
200
  version: string;
201
201
  } | undefined;
202
202
  }>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
203
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
203
204
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
204
205
  services?: string[] | undefined;
205
206
  environments?: string[] | undefined;
206
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
207
207
  first_party?: boolean | undefined;
208
208
  error_name?: string | undefined;
209
209
  message_contains?: string | undefined;
@@ -241,25 +241,25 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
241
241
  created_from_event_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
242
242
  expires_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
243
243
  }, "strip", z.ZodTypeAny, {
244
+ action: "sample" | "demote" | "drop";
245
+ expires_at: string | null;
244
246
  name: string;
245
247
  description: string | null;
246
248
  enabled: boolean;
247
- action: "demote" | "sample" | "drop";
248
249
  matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
249
250
  created_by_user_id: string | null;
250
251
  created_from_incident_id: string | null;
251
252
  created_from_event_id: string | null;
252
- expires_at: string | null;
253
253
  sample_rate?: number | null | undefined;
254
254
  sample_event_class?: "preserve" | "context" | null | undefined;
255
255
  }, {
256
+ action: "sample" | "demote" | "drop";
256
257
  name: string;
257
- action: "demote" | "sample" | "drop";
258
258
  matcher: {
259
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
259
260
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
260
261
  services?: string[] | undefined;
261
262
  environments?: string[] | undefined;
262
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
263
263
  first_party?: boolean | undefined;
264
264
  error_name?: string | undefined;
265
265
  message_contains?: string | undefined;
@@ -290,6 +290,7 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
290
290
  version: string;
291
291
  } | undefined;
292
292
  };
293
+ expires_at?: string | null | undefined;
293
294
  description?: string | null | undefined;
294
295
  enabled?: boolean | undefined;
295
296
  sample_rate?: number | null | undefined;
@@ -297,27 +298,26 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
297
298
  created_by_user_id?: string | null | undefined;
298
299
  created_from_incident_id?: string | null | undefined;
299
300
  created_from_event_id?: string | null | undefined;
300
- expires_at?: string | null | undefined;
301
301
  }>, {
302
+ action: "sample" | "demote" | "drop";
303
+ expires_at: string | null;
302
304
  name: string;
303
305
  description: string | null;
304
306
  enabled: boolean;
305
- action: "demote" | "sample" | "drop";
306
307
  matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
307
308
  created_by_user_id: string | null;
308
309
  created_from_incident_id: string | null;
309
310
  created_from_event_id: string | null;
310
- expires_at: string | null;
311
311
  sample_rate?: number | null | undefined;
312
312
  sample_event_class?: "preserve" | "context" | null | undefined;
313
313
  }, {
314
+ action: "sample" | "demote" | "drop";
314
315
  name: string;
315
- action: "demote" | "sample" | "drop";
316
316
  matcher: {
317
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
317
318
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
318
319
  services?: string[] | undefined;
319
320
  environments?: string[] | undefined;
320
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
321
321
  first_party?: boolean | undefined;
322
322
  error_name?: string | undefined;
323
323
  message_contains?: string | undefined;
@@ -348,6 +348,7 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
348
348
  version: string;
349
349
  } | undefined;
350
350
  };
351
+ expires_at?: string | null | undefined;
351
352
  description?: string | null | undefined;
352
353
  enabled?: boolean | undefined;
353
354
  sample_rate?: number | null | undefined;
@@ -355,27 +356,26 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
355
356
  created_by_user_id?: string | null | undefined;
356
357
  created_from_incident_id?: string | null | undefined;
357
358
  created_from_event_id?: string | null | undefined;
358
- expires_at?: string | null | undefined;
359
359
  }>, {
360
360
  sample_rate: number | null;
361
361
  sample_event_class: "preserve" | "context" | null;
362
+ action: "sample" | "demote" | "drop";
363
+ expires_at: string | null;
362
364
  name: string;
363
365
  description: string | null;
364
366
  enabled: boolean;
365
- action: "demote" | "sample" | "drop";
366
367
  matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
367
368
  created_by_user_id: string | null;
368
369
  created_from_incident_id: string | null;
369
370
  created_from_event_id: string | null;
370
- expires_at: string | null;
371
371
  }, {
372
+ action: "sample" | "demote" | "drop";
372
373
  name: string;
373
- action: "demote" | "sample" | "drop";
374
374
  matcher: {
375
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
375
376
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
376
377
  services?: string[] | undefined;
377
378
  environments?: string[] | undefined;
378
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
379
379
  first_party?: boolean | undefined;
380
380
  error_name?: string | undefined;
381
381
  message_contains?: string | undefined;
@@ -406,6 +406,7 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
406
406
  version: string;
407
407
  } | undefined;
408
408
  };
409
+ expires_at?: string | null | undefined;
409
410
  description?: string | null | undefined;
410
411
  enabled?: boolean | undefined;
411
412
  sample_rate?: number | null | undefined;
@@ -413,39 +414,39 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
413
414
  created_by_user_id?: string | null | undefined;
414
415
  created_from_incident_id?: string | null | undefined;
415
416
  created_from_event_id?: string | null | undefined;
416
- expires_at?: string | null | undefined;
417
417
  }>;
418
418
  }, "strip", z.ZodTypeAny, {
419
+ confidence: "medium" | "low" | "high";
419
420
  rule: {
420
421
  sample_rate: number | null;
421
422
  sample_event_class: "preserve" | "context" | null;
423
+ action: "sample" | "demote" | "drop";
424
+ expires_at: string | null;
422
425
  name: string;
423
426
  description: string | null;
424
427
  enabled: boolean;
425
- action: "demote" | "sample" | "drop";
426
428
  matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
427
429
  created_by_user_id: string | null;
428
430
  created_from_incident_id: string | null;
429
431
  created_from_event_id: string | null;
430
- expires_at: string | null;
431
432
  };
432
433
  suggestion_id: string;
433
434
  label: string;
434
- recommended_action: "demote" | "sample" | "drop";
435
- confidence: "high" | "medium" | "low";
435
+ recommended_action: "sample" | "demote" | "drop";
436
436
  reason: string;
437
437
  requires_confirmation: boolean;
438
438
  created_rule_id: string | null;
439
439
  created_rule_enabled: boolean | null;
440
440
  }, {
441
+ confidence: "medium" | "low" | "high";
441
442
  rule: {
443
+ action: "sample" | "demote" | "drop";
442
444
  name: string;
443
- action: "demote" | "sample" | "drop";
444
445
  matcher: {
446
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
445
447
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
446
448
  services?: string[] | undefined;
447
449
  environments?: string[] | undefined;
448
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
449
450
  first_party?: boolean | undefined;
450
451
  error_name?: string | undefined;
451
452
  message_contains?: string | undefined;
@@ -476,6 +477,7 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
476
477
  version: string;
477
478
  } | undefined;
478
479
  };
480
+ expires_at?: string | null | undefined;
479
481
  description?: string | null | undefined;
480
482
  enabled?: boolean | undefined;
481
483
  sample_rate?: number | null | undefined;
@@ -483,12 +485,10 @@ export declare const CaptureRuleSuggestionSchema: z.ZodObject<{
483
485
  created_by_user_id?: string | null | undefined;
484
486
  created_from_incident_id?: string | null | undefined;
485
487
  created_from_event_id?: string | null | undefined;
486
- expires_at?: string | null | undefined;
487
488
  };
488
489
  suggestion_id: string;
489
490
  label: string;
490
- recommended_action: "demote" | "sample" | "drop";
491
- confidence: "high" | "medium" | "low";
491
+ recommended_action: "sample" | "demote" | "drop";
492
492
  reason: string;
493
493
  requires_confirmation: boolean;
494
494
  created_rule_id?: string | null | undefined;
@@ -603,10 +603,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
603
603
  version: string;
604
604
  }>>;
605
605
  }, "strip", z.ZodTypeAny, {
606
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
606
607
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
607
608
  services?: string[] | undefined;
608
609
  environments?: string[] | undefined;
609
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
610
610
  first_party?: boolean | undefined;
611
611
  error_name?: string | undefined;
612
612
  message_contains?: string | undefined;
@@ -627,10 +627,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
627
627
  version: string;
628
628
  } | undefined;
629
629
  }, {
630
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
630
631
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
631
632
  services?: string[] | undefined;
632
633
  environments?: string[] | undefined;
633
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
634
634
  first_party?: boolean | undefined;
635
635
  error_name?: string | undefined;
636
636
  message_contains?: string | undefined;
@@ -661,10 +661,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
661
661
  version: string;
662
662
  } | undefined;
663
663
  }>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
664
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
664
665
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
665
666
  services?: string[] | undefined;
666
667
  environments?: string[] | undefined;
667
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
668
668
  first_party?: boolean | undefined;
669
669
  error_name?: string | undefined;
670
670
  message_contains?: string | undefined;
@@ -695,10 +695,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
695
695
  version: string;
696
696
  } | undefined;
697
697
  }>, import("./capture-rule-schemas.js").CaptureRuleMatcher, {
698
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
698
699
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
699
700
  services?: string[] | undefined;
700
701
  environments?: string[] | undefined;
701
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
702
702
  first_party?: boolean | undefined;
703
703
  error_name?: string | undefined;
704
704
  message_contains?: string | undefined;
@@ -736,25 +736,25 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
736
736
  created_from_event_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
737
737
  expires_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
738
738
  }, "strip", z.ZodTypeAny, {
739
+ action: "sample" | "demote" | "drop";
740
+ expires_at: string | null;
739
741
  name: string;
740
742
  description: string | null;
741
743
  enabled: boolean;
742
- action: "demote" | "sample" | "drop";
743
744
  matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
744
745
  created_by_user_id: string | null;
745
746
  created_from_incident_id: string | null;
746
747
  created_from_event_id: string | null;
747
- expires_at: string | null;
748
748
  sample_rate?: number | null | undefined;
749
749
  sample_event_class?: "preserve" | "context" | null | undefined;
750
750
  }, {
751
+ action: "sample" | "demote" | "drop";
751
752
  name: string;
752
- action: "demote" | "sample" | "drop";
753
753
  matcher: {
754
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
754
755
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
755
756
  services?: string[] | undefined;
756
757
  environments?: string[] | undefined;
757
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
758
758
  first_party?: boolean | undefined;
759
759
  error_name?: string | undefined;
760
760
  message_contains?: string | undefined;
@@ -785,6 +785,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
785
785
  version: string;
786
786
  } | undefined;
787
787
  };
788
+ expires_at?: string | null | undefined;
788
789
  description?: string | null | undefined;
789
790
  enabled?: boolean | undefined;
790
791
  sample_rate?: number | null | undefined;
@@ -792,27 +793,26 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
792
793
  created_by_user_id?: string | null | undefined;
793
794
  created_from_incident_id?: string | null | undefined;
794
795
  created_from_event_id?: string | null | undefined;
795
- expires_at?: string | null | undefined;
796
796
  }>, {
797
+ action: "sample" | "demote" | "drop";
798
+ expires_at: string | null;
797
799
  name: string;
798
800
  description: string | null;
799
801
  enabled: boolean;
800
- action: "demote" | "sample" | "drop";
801
802
  matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
802
803
  created_by_user_id: string | null;
803
804
  created_from_incident_id: string | null;
804
805
  created_from_event_id: string | null;
805
- expires_at: string | null;
806
806
  sample_rate?: number | null | undefined;
807
807
  sample_event_class?: "preserve" | "context" | null | undefined;
808
808
  }, {
809
+ action: "sample" | "demote" | "drop";
809
810
  name: string;
810
- action: "demote" | "sample" | "drop";
811
811
  matcher: {
812
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
812
813
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
813
814
  services?: string[] | undefined;
814
815
  environments?: string[] | undefined;
815
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
816
816
  first_party?: boolean | undefined;
817
817
  error_name?: string | undefined;
818
818
  message_contains?: string | undefined;
@@ -843,6 +843,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
843
843
  version: string;
844
844
  } | undefined;
845
845
  };
846
+ expires_at?: string | null | undefined;
846
847
  description?: string | null | undefined;
847
848
  enabled?: boolean | undefined;
848
849
  sample_rate?: number | null | undefined;
@@ -850,27 +851,26 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
850
851
  created_by_user_id?: string | null | undefined;
851
852
  created_from_incident_id?: string | null | undefined;
852
853
  created_from_event_id?: string | null | undefined;
853
- expires_at?: string | null | undefined;
854
854
  }>, {
855
855
  sample_rate: number | null;
856
856
  sample_event_class: "preserve" | "context" | null;
857
+ action: "sample" | "demote" | "drop";
858
+ expires_at: string | null;
857
859
  name: string;
858
860
  description: string | null;
859
861
  enabled: boolean;
860
- action: "demote" | "sample" | "drop";
861
862
  matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
862
863
  created_by_user_id: string | null;
863
864
  created_from_incident_id: string | null;
864
865
  created_from_event_id: string | null;
865
- expires_at: string | null;
866
866
  }, {
867
+ action: "sample" | "demote" | "drop";
867
868
  name: string;
868
- action: "demote" | "sample" | "drop";
869
869
  matcher: {
870
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
870
871
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
871
872
  services?: string[] | undefined;
872
873
  environments?: string[] | undefined;
873
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
874
874
  first_party?: boolean | undefined;
875
875
  error_name?: string | undefined;
876
876
  message_contains?: string | undefined;
@@ -901,6 +901,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
901
901
  version: string;
902
902
  } | undefined;
903
903
  };
904
+ expires_at?: string | null | undefined;
904
905
  description?: string | null | undefined;
905
906
  enabled?: boolean | undefined;
906
907
  sample_rate?: number | null | undefined;
@@ -908,39 +909,39 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
908
909
  created_by_user_id?: string | null | undefined;
909
910
  created_from_incident_id?: string | null | undefined;
910
911
  created_from_event_id?: string | null | undefined;
911
- expires_at?: string | null | undefined;
912
912
  }>;
913
913
  }, "strip", z.ZodTypeAny, {
914
+ confidence: "medium" | "low" | "high";
914
915
  rule: {
915
916
  sample_rate: number | null;
916
917
  sample_event_class: "preserve" | "context" | null;
918
+ action: "sample" | "demote" | "drop";
919
+ expires_at: string | null;
917
920
  name: string;
918
921
  description: string | null;
919
922
  enabled: boolean;
920
- action: "demote" | "sample" | "drop";
921
923
  matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
922
924
  created_by_user_id: string | null;
923
925
  created_from_incident_id: string | null;
924
926
  created_from_event_id: string | null;
925
- expires_at: string | null;
926
927
  };
927
928
  suggestion_id: string;
928
929
  label: string;
929
- recommended_action: "demote" | "sample" | "drop";
930
- confidence: "high" | "medium" | "low";
930
+ recommended_action: "sample" | "demote" | "drop";
931
931
  reason: string;
932
932
  requires_confirmation: boolean;
933
933
  created_rule_id: string | null;
934
934
  created_rule_enabled: boolean | null;
935
935
  }, {
936
+ confidence: "medium" | "low" | "high";
936
937
  rule: {
938
+ action: "sample" | "demote" | "drop";
937
939
  name: string;
938
- action: "demote" | "sample" | "drop";
939
940
  matcher: {
941
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
940
942
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
941
943
  services?: string[] | undefined;
942
944
  environments?: string[] | undefined;
943
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
944
945
  first_party?: boolean | undefined;
945
946
  error_name?: string | undefined;
946
947
  message_contains?: string | undefined;
@@ -971,6 +972,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
971
972
  version: string;
972
973
  } | undefined;
973
974
  };
975
+ expires_at?: string | null | undefined;
974
976
  description?: string | null | undefined;
975
977
  enabled?: boolean | undefined;
976
978
  sample_rate?: number | null | undefined;
@@ -978,12 +980,10 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
978
980
  created_by_user_id?: string | null | undefined;
979
981
  created_from_incident_id?: string | null | undefined;
980
982
  created_from_event_id?: string | null | undefined;
981
- expires_at?: string | null | undefined;
982
983
  };
983
984
  suggestion_id: string;
984
985
  label: string;
985
- recommended_action: "demote" | "sample" | "drop";
986
- confidence: "high" | "medium" | "low";
986
+ recommended_action: "sample" | "demote" | "drop";
987
987
  reason: string;
988
988
  requires_confirmation: boolean;
989
989
  created_rule_id?: string | null | undefined;
@@ -993,40 +993,41 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
993
993
  bundle_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
994
994
  }, "strip", z.ZodTypeAny, {
995
995
  suggestions: {
996
+ confidence: "medium" | "low" | "high";
996
997
  rule: {
997
998
  sample_rate: number | null;
998
999
  sample_event_class: "preserve" | "context" | null;
1000
+ action: "sample" | "demote" | "drop";
1001
+ expires_at: string | null;
999
1002
  name: string;
1000
1003
  description: string | null;
1001
1004
  enabled: boolean;
1002
- action: "demote" | "sample" | "drop";
1003
1005
  matcher: import("./capture-rule-schemas.js").CaptureRuleMatcher;
1004
1006
  created_by_user_id: string | null;
1005
1007
  created_from_incident_id: string | null;
1006
1008
  created_from_event_id: string | null;
1007
- expires_at: string | null;
1008
1009
  };
1009
1010
  suggestion_id: string;
1010
1011
  label: string;
1011
- recommended_action: "demote" | "sample" | "drop";
1012
- confidence: "high" | "medium" | "low";
1012
+ recommended_action: "sample" | "demote" | "drop";
1013
1013
  reason: string;
1014
1014
  requires_confirmation: boolean;
1015
1015
  created_rule_id: string | null;
1016
1016
  created_rule_enabled: boolean | null;
1017
1017
  }[];
1018
- bundle_status?: "ready" | "pending" | "failed" | undefined;
1018
+ bundle_status?: "pending" | "failed" | "ready" | undefined;
1019
1019
  bundle_reason?: string | null | undefined;
1020
1020
  }, {
1021
1021
  suggestions: {
1022
+ confidence: "medium" | "low" | "high";
1022
1023
  rule: {
1024
+ action: "sample" | "demote" | "drop";
1023
1025
  name: string;
1024
- action: "demote" | "sample" | "drop";
1025
1026
  matcher: {
1027
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1026
1028
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1027
1029
  services?: string[] | undefined;
1028
1030
  environments?: string[] | undefined;
1029
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1030
1031
  first_party?: boolean | undefined;
1031
1032
  error_name?: string | undefined;
1032
1033
  message_contains?: string | undefined;
@@ -1057,6 +1058,7 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
1057
1058
  version: string;
1058
1059
  } | undefined;
1059
1060
  };
1061
+ expires_at?: string | null | undefined;
1060
1062
  description?: string | null | undefined;
1061
1063
  enabled?: boolean | undefined;
1062
1064
  sample_rate?: number | null | undefined;
@@ -1064,18 +1066,16 @@ export declare const CaptureRuleSuggestionsResponseSchema: z.ZodObject<{
1064
1066
  created_by_user_id?: string | null | undefined;
1065
1067
  created_from_incident_id?: string | null | undefined;
1066
1068
  created_from_event_id?: string | null | undefined;
1067
- expires_at?: string | null | undefined;
1068
1069
  };
1069
1070
  suggestion_id: string;
1070
1071
  label: string;
1071
- recommended_action: "demote" | "sample" | "drop";
1072
- confidence: "high" | "medium" | "low";
1072
+ recommended_action: "sample" | "demote" | "drop";
1073
1073
  reason: string;
1074
1074
  requires_confirmation: boolean;
1075
1075
  created_rule_id?: string | null | undefined;
1076
1076
  created_rule_enabled?: boolean | null | undefined;
1077
1077
  }[];
1078
- bundle_status?: "ready" | "pending" | "failed" | undefined;
1078
+ bundle_status?: "pending" | "failed" | "ready" | undefined;
1079
1079
  bundle_reason?: string | null | undefined;
1080
1080
  }>;
1081
1081
  export type CaptureRuleSuggestionsResponse = z.infer<typeof CaptureRuleSuggestionsResponseSchema>;
@@ -1087,16 +1087,16 @@ export declare const CreateCaptureRuleFromSuggestionSchema: z.ZodObject<{
1087
1087
  expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
1088
  }, "strip", z.ZodTypeAny, {
1089
1089
  suggestion_id: string;
1090
+ expires_at?: string | null | undefined;
1090
1091
  name?: string | undefined;
1091
1092
  description?: string | null | undefined;
1092
1093
  enabled?: boolean | undefined;
1093
- expires_at?: string | null | undefined;
1094
1094
  }, {
1095
1095
  suggestion_id: string;
1096
+ expires_at?: string | null | undefined;
1096
1097
  name?: string | undefined;
1097
1098
  description?: string | null | undefined;
1098
1099
  enabled?: boolean | undefined;
1099
- expires_at?: string | null | undefined;
1100
1100
  }>;
1101
1101
  export type CreateCaptureRuleFromSuggestion = z.infer<typeof CreateCaptureRuleFromSuggestionSchema>;
1102
1102
  export interface CaptureRuleSuggestionIncident {
@@ -36,18 +36,18 @@ export declare const ImprovementSettingsResponseSchema: z.ZodObject<{
36
36
  }>;
37
37
  }, "strip", z.ZodTypeAny, {
38
38
  access_mode: "manage" | "preview";
39
- cloud_automation_available: boolean;
40
39
  settings: {
41
40
  automated_improvement_bundles_enabled: boolean;
42
41
  improvement_bundle_sensitivity: "balanced" | "high_confidence" | "verbose";
43
42
  };
43
+ cloud_automation_available: boolean;
44
44
  }, {
45
45
  access_mode: "manage" | "preview";
46
- cloud_automation_available: boolean;
47
46
  settings: {
48
47
  automated_improvement_bundles_enabled: boolean;
49
48
  improvement_bundle_sensitivity: "balanced" | "high_confidence" | "verbose";
50
49
  };
50
+ cloud_automation_available: boolean;
51
51
  }>;
52
52
  export declare const ImprovementSettingsUpdateSchema: z.ZodEffects<z.ZodObject<{
53
53
  automated_improvement_bundles_enabled: z.ZodOptional<z.ZodBoolean>;