@debugbundle/shared-types 1.4.0 → 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.
@@ -145,10 +145,10 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
145
145
  version: string;
146
146
  }>>;
147
147
  }, "strip", z.ZodTypeAny, {
148
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
148
149
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
149
150
  services?: string[] | undefined;
150
151
  environments?: string[] | undefined;
151
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
152
152
  first_party?: boolean | undefined;
153
153
  error_name?: string | undefined;
154
154
  message_contains?: string | undefined;
@@ -169,10 +169,10 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
169
169
  version: string;
170
170
  } | undefined;
171
171
  }, {
172
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
172
173
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
173
174
  services?: string[] | undefined;
174
175
  environments?: string[] | undefined;
175
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
176
176
  first_party?: boolean | undefined;
177
177
  error_name?: string | undefined;
178
178
  message_contains?: string | undefined;
@@ -203,10 +203,10 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
203
203
  version: string;
204
204
  } | undefined;
205
205
  }>, CaptureRuleMatcher, {
206
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
206
207
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
207
208
  services?: string[] | undefined;
208
209
  environments?: string[] | undefined;
209
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
210
210
  first_party?: boolean | undefined;
211
211
  error_name?: string | undefined;
212
212
  message_contains?: string | undefined;
@@ -237,10 +237,10 @@ export declare const CaptureRuleMatcherSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
237
237
  version: string;
238
238
  } | undefined;
239
239
  }>, CaptureRuleMatcher, {
240
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
240
241
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
241
242
  services?: string[] | undefined;
242
243
  environments?: string[] | undefined;
243
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
244
244
  first_party?: boolean | undefined;
245
245
  error_name?: string | undefined;
246
246
  message_contains?: string | undefined;
@@ -369,10 +369,10 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
369
369
  version: string;
370
370
  }>>;
371
371
  }, "strip", z.ZodTypeAny, {
372
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
372
373
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
373
374
  services?: string[] | undefined;
374
375
  environments?: string[] | undefined;
375
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
376
376
  first_party?: boolean | undefined;
377
377
  error_name?: string | undefined;
378
378
  message_contains?: string | undefined;
@@ -393,10 +393,10 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
393
393
  version: string;
394
394
  } | undefined;
395
395
  }, {
396
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
396
397
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
397
398
  services?: string[] | undefined;
398
399
  environments?: string[] | undefined;
399
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
400
400
  first_party?: boolean | undefined;
401
401
  error_name?: string | undefined;
402
402
  message_contains?: string | undefined;
@@ -427,10 +427,10 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
427
427
  version: string;
428
428
  } | undefined;
429
429
  }>, CaptureRuleMatcher, {
430
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
430
431
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
431
432
  services?: string[] | undefined;
432
433
  environments?: string[] | undefined;
433
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
434
434
  first_party?: boolean | undefined;
435
435
  error_name?: string | undefined;
436
436
  message_contains?: string | undefined;
@@ -461,10 +461,10 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
461
461
  version: string;
462
462
  } | undefined;
463
463
  }>, CaptureRuleMatcher, {
464
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
464
465
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
465
466
  services?: string[] | undefined;
466
467
  environments?: string[] | undefined;
467
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
468
468
  first_party?: boolean | undefined;
469
469
  error_name?: string | undefined;
470
470
  message_contains?: string | undefined;
@@ -509,35 +509,37 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
509
509
  created_at: z.ZodString;
510
510
  updated_at: z.ZodString;
511
511
  }, "strip", z.ZodTypeAny, {
512
+ action: "sample" | "demote" | "drop";
512
513
  project_id: string;
513
- updated_at: string;
514
+ expires_at: string | null;
515
+ created_at: string;
514
516
  name: string;
517
+ updated_at: string;
515
518
  description: string | null;
516
519
  enabled: boolean;
517
- action: "demote" | "sample" | "drop";
518
520
  matcher: CaptureRuleMatcher;
519
521
  sample_rate: number | null;
520
522
  sample_event_class: "preserve" | "context" | null;
521
523
  created_by_user_id: string | null;
522
524
  created_from_incident_id: string | null;
523
525
  created_from_event_id: string | null;
524
- expires_at: string | null;
525
526
  id: string;
526
527
  hit_count: number;
527
528
  last_matched_at: string | null;
528
- created_at: string;
529
529
  }, {
530
+ action: "sample" | "demote" | "drop";
530
531
  project_id: string;
531
- updated_at: string;
532
+ expires_at: string | null;
533
+ created_at: string;
532
534
  name: string;
535
+ updated_at: string;
533
536
  description: string | null;
534
537
  enabled: boolean;
535
- action: "demote" | "sample" | "drop";
536
538
  matcher: {
539
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
537
540
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
538
541
  services?: string[] | undefined;
539
542
  environments?: string[] | undefined;
540
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
541
543
  first_party?: boolean | undefined;
542
544
  error_name?: string | undefined;
543
545
  message_contains?: string | undefined;
@@ -573,41 +575,41 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
573
575
  created_by_user_id: string | null;
574
576
  created_from_incident_id: string | null;
575
577
  created_from_event_id: string | null;
576
- expires_at: string | null;
577
578
  id: string;
578
579
  hit_count: number;
579
580
  last_matched_at: string | null;
580
- created_at: string;
581
581
  }>, {
582
+ action: "sample" | "demote" | "drop";
582
583
  project_id: string;
583
- updated_at: string;
584
+ expires_at: string | null;
585
+ created_at: string;
584
586
  name: string;
587
+ updated_at: string;
585
588
  description: string | null;
586
589
  enabled: boolean;
587
- action: "demote" | "sample" | "drop";
588
590
  matcher: CaptureRuleMatcher;
589
591
  sample_rate: number | null;
590
592
  sample_event_class: "preserve" | "context" | null;
591
593
  created_by_user_id: string | null;
592
594
  created_from_incident_id: string | null;
593
595
  created_from_event_id: string | null;
594
- expires_at: string | null;
595
596
  id: string;
596
597
  hit_count: number;
597
598
  last_matched_at: string | null;
598
- created_at: string;
599
599
  }, {
600
+ action: "sample" | "demote" | "drop";
600
601
  project_id: string;
601
- updated_at: string;
602
+ expires_at: string | null;
603
+ created_at: string;
602
604
  name: string;
605
+ updated_at: string;
603
606
  description: string | null;
604
607
  enabled: boolean;
605
- action: "demote" | "sample" | "drop";
606
608
  matcher: {
609
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
607
610
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
608
611
  services?: string[] | undefined;
609
612
  environments?: string[] | undefined;
610
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
611
613
  first_party?: boolean | undefined;
612
614
  error_name?: string | undefined;
613
615
  message_contains?: string | undefined;
@@ -643,11 +645,9 @@ export declare const CaptureRuleSchema: z.ZodEffects<z.ZodObject<{
643
645
  created_by_user_id: string | null;
644
646
  created_from_incident_id: string | null;
645
647
  created_from_event_id: string | null;
646
- expires_at: string | null;
647
648
  id: string;
648
649
  hit_count: number;
649
650
  last_matched_at: string | null;
650
- created_at: string;
651
651
  }>;
652
652
  export type CaptureRule = z.infer<typeof CaptureRuleSchema>;
653
653
  export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
@@ -748,10 +748,10 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
748
748
  version: string;
749
749
  }>>;
750
750
  }, "strip", z.ZodTypeAny, {
751
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
751
752
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
752
753
  services?: string[] | undefined;
753
754
  environments?: string[] | undefined;
754
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
755
755
  first_party?: boolean | undefined;
756
756
  error_name?: string | undefined;
757
757
  message_contains?: string | undefined;
@@ -772,10 +772,10 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
772
772
  version: string;
773
773
  } | undefined;
774
774
  }, {
775
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
775
776
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
776
777
  services?: string[] | undefined;
777
778
  environments?: string[] | undefined;
778
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
779
779
  first_party?: boolean | undefined;
780
780
  error_name?: string | undefined;
781
781
  message_contains?: string | undefined;
@@ -806,10 +806,10 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
806
806
  version: string;
807
807
  } | undefined;
808
808
  }>, CaptureRuleMatcher, {
809
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
809
810
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
810
811
  services?: string[] | undefined;
811
812
  environments?: string[] | undefined;
812
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
813
813
  first_party?: boolean | undefined;
814
814
  error_name?: string | undefined;
815
815
  message_contains?: string | undefined;
@@ -840,10 +840,10 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
840
840
  version: string;
841
841
  } | undefined;
842
842
  }>, CaptureRuleMatcher, {
843
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
843
844
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
844
845
  services?: string[] | undefined;
845
846
  environments?: string[] | undefined;
846
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
847
847
  first_party?: boolean | undefined;
848
848
  error_name?: string | undefined;
849
849
  message_contains?: string | undefined;
@@ -881,25 +881,25 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
881
881
  created_from_event_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
882
882
  expires_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
883
883
  }, "strip", z.ZodTypeAny, {
884
+ action: "sample" | "demote" | "drop";
885
+ expires_at: string | null;
884
886
  name: string;
885
887
  description: string | null;
886
888
  enabled: boolean;
887
- action: "demote" | "sample" | "drop";
888
889
  matcher: CaptureRuleMatcher;
889
890
  created_by_user_id: string | null;
890
891
  created_from_incident_id: string | null;
891
892
  created_from_event_id: string | null;
892
- expires_at: string | null;
893
893
  sample_rate?: number | null | undefined;
894
894
  sample_event_class?: "preserve" | "context" | null | undefined;
895
895
  }, {
896
+ action: "sample" | "demote" | "drop";
896
897
  name: string;
897
- action: "demote" | "sample" | "drop";
898
898
  matcher: {
899
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
899
900
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
900
901
  services?: string[] | undefined;
901
902
  environments?: string[] | undefined;
902
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
903
903
  first_party?: boolean | undefined;
904
904
  error_name?: string | undefined;
905
905
  message_contains?: string | undefined;
@@ -930,6 +930,7 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
930
930
  version: string;
931
931
  } | undefined;
932
932
  };
933
+ expires_at?: string | null | undefined;
933
934
  description?: string | null | undefined;
934
935
  enabled?: boolean | undefined;
935
936
  sample_rate?: number | null | undefined;
@@ -937,27 +938,26 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
937
938
  created_by_user_id?: string | null | undefined;
938
939
  created_from_incident_id?: string | null | undefined;
939
940
  created_from_event_id?: string | null | undefined;
940
- expires_at?: string | null | undefined;
941
941
  }>, {
942
+ action: "sample" | "demote" | "drop";
943
+ expires_at: string | null;
942
944
  name: string;
943
945
  description: string | null;
944
946
  enabled: boolean;
945
- action: "demote" | "sample" | "drop";
946
947
  matcher: CaptureRuleMatcher;
947
948
  created_by_user_id: string | null;
948
949
  created_from_incident_id: string | null;
949
950
  created_from_event_id: string | null;
950
- expires_at: string | null;
951
951
  sample_rate?: number | null | undefined;
952
952
  sample_event_class?: "preserve" | "context" | null | undefined;
953
953
  }, {
954
+ action: "sample" | "demote" | "drop";
954
955
  name: string;
955
- action: "demote" | "sample" | "drop";
956
956
  matcher: {
957
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
957
958
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
958
959
  services?: string[] | undefined;
959
960
  environments?: string[] | undefined;
960
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
961
961
  first_party?: boolean | undefined;
962
962
  error_name?: string | undefined;
963
963
  message_contains?: string | undefined;
@@ -988,6 +988,7 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
988
988
  version: string;
989
989
  } | undefined;
990
990
  };
991
+ expires_at?: string | null | undefined;
991
992
  description?: string | null | undefined;
992
993
  enabled?: boolean | undefined;
993
994
  sample_rate?: number | null | undefined;
@@ -995,27 +996,26 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
995
996
  created_by_user_id?: string | null | undefined;
996
997
  created_from_incident_id?: string | null | undefined;
997
998
  created_from_event_id?: string | null | undefined;
998
- expires_at?: string | null | undefined;
999
999
  }>, {
1000
1000
  sample_rate: number | null;
1001
1001
  sample_event_class: "preserve" | "context" | null;
1002
+ action: "sample" | "demote" | "drop";
1003
+ expires_at: string | null;
1002
1004
  name: string;
1003
1005
  description: string | null;
1004
1006
  enabled: boolean;
1005
- action: "demote" | "sample" | "drop";
1006
1007
  matcher: CaptureRuleMatcher;
1007
1008
  created_by_user_id: string | null;
1008
1009
  created_from_incident_id: string | null;
1009
1010
  created_from_event_id: string | null;
1010
- expires_at: string | null;
1011
1011
  }, {
1012
+ action: "sample" | "demote" | "drop";
1012
1013
  name: string;
1013
- action: "demote" | "sample" | "drop";
1014
1014
  matcher: {
1015
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1015
1016
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1016
1017
  services?: string[] | undefined;
1017
1018
  environments?: string[] | undefined;
1018
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1019
1019
  first_party?: boolean | undefined;
1020
1020
  error_name?: string | undefined;
1021
1021
  message_contains?: string | undefined;
@@ -1046,6 +1046,7 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
1046
1046
  version: string;
1047
1047
  } | undefined;
1048
1048
  };
1049
+ expires_at?: string | null | undefined;
1049
1050
  description?: string | null | undefined;
1050
1051
  enabled?: boolean | undefined;
1051
1052
  sample_rate?: number | null | undefined;
@@ -1053,7 +1054,6 @@ export declare const CaptureRuleCreateSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
1053
1054
  created_by_user_id?: string | null | undefined;
1054
1055
  created_from_incident_id?: string | null | undefined;
1055
1056
  created_from_event_id?: string | null | undefined;
1056
- expires_at?: string | null | undefined;
1057
1057
  }>;
1058
1058
  export type CaptureRuleCreate = z.infer<typeof CaptureRuleCreateSchema>;
1059
1059
  export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
@@ -1154,10 +1154,10 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
1154
1154
  version: string;
1155
1155
  }>>;
1156
1156
  }, "strip", z.ZodTypeAny, {
1157
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1157
1158
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1158
1159
  services?: string[] | undefined;
1159
1160
  environments?: string[] | undefined;
1160
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1161
1161
  first_party?: boolean | undefined;
1162
1162
  error_name?: string | undefined;
1163
1163
  message_contains?: string | undefined;
@@ -1178,10 +1178,10 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
1178
1178
  version: string;
1179
1179
  } | undefined;
1180
1180
  }, {
1181
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1181
1182
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1182
1183
  services?: string[] | undefined;
1183
1184
  environments?: string[] | undefined;
1184
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1185
1185
  first_party?: boolean | undefined;
1186
1186
  error_name?: string | undefined;
1187
1187
  message_contains?: string | undefined;
@@ -1212,10 +1212,10 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
1212
1212
  version: string;
1213
1213
  } | undefined;
1214
1214
  }>, CaptureRuleMatcher, {
1215
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1215
1216
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1216
1217
  services?: string[] | undefined;
1217
1218
  environments?: string[] | undefined;
1218
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1219
1219
  first_party?: boolean | undefined;
1220
1220
  error_name?: string | undefined;
1221
1221
  message_contains?: string | undefined;
@@ -1246,10 +1246,10 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
1246
1246
  version: string;
1247
1247
  } | undefined;
1248
1248
  }>, CaptureRuleMatcher, {
1249
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1249
1250
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1250
1251
  services?: string[] | undefined;
1251
1252
  environments?: string[] | undefined;
1252
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1253
1253
  first_party?: boolean | undefined;
1254
1254
  error_name?: string | undefined;
1255
1255
  message_contains?: string | undefined;
@@ -1284,24 +1284,25 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
1284
1284
  sample_event_class: z.ZodOptional<z.ZodNullable<z.ZodEnum<["preserve", "context"]>>>;
1285
1285
  expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1286
1286
  }, "strip", z.ZodTypeAny, {
1287
+ action?: "sample" | "demote" | "drop" | undefined;
1288
+ expires_at?: string | null | undefined;
1287
1289
  name?: string | undefined;
1288
1290
  description?: string | null | undefined;
1289
1291
  enabled?: boolean | undefined;
1290
- action?: "demote" | "sample" | "drop" | undefined;
1291
1292
  matcher?: CaptureRuleMatcher | undefined;
1292
1293
  sample_rate?: number | null | undefined;
1293
1294
  sample_event_class?: "preserve" | "context" | null | undefined;
1294
- expires_at?: string | null | undefined;
1295
1295
  }, {
1296
+ action?: "sample" | "demote" | "drop" | undefined;
1297
+ expires_at?: string | null | undefined;
1296
1298
  name?: string | undefined;
1297
1299
  description?: string | null | undefined;
1298
1300
  enabled?: boolean | undefined;
1299
- action?: "demote" | "sample" | "drop" | undefined;
1300
1301
  matcher?: {
1302
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1301
1303
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1302
1304
  services?: string[] | undefined;
1303
1305
  environments?: string[] | undefined;
1304
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1305
1306
  first_party?: boolean | undefined;
1306
1307
  error_name?: string | undefined;
1307
1308
  message_contains?: string | undefined;
@@ -1334,26 +1335,26 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
1334
1335
  } | undefined;
1335
1336
  sample_rate?: number | null | undefined;
1336
1337
  sample_event_class?: "preserve" | "context" | null | undefined;
1337
- expires_at?: string | null | undefined;
1338
1338
  }>, {
1339
+ action?: "sample" | "demote" | "drop" | undefined;
1340
+ expires_at?: string | null | undefined;
1339
1341
  name?: string | undefined;
1340
1342
  description?: string | null | undefined;
1341
1343
  enabled?: boolean | undefined;
1342
- action?: "demote" | "sample" | "drop" | undefined;
1343
1344
  matcher?: CaptureRuleMatcher | undefined;
1344
1345
  sample_rate?: number | null | undefined;
1345
1346
  sample_event_class?: "preserve" | "context" | null | undefined;
1346
- expires_at?: string | null | undefined;
1347
1347
  }, {
1348
+ action?: "sample" | "demote" | "drop" | undefined;
1349
+ expires_at?: string | null | undefined;
1348
1350
  name?: string | undefined;
1349
1351
  description?: string | null | undefined;
1350
1352
  enabled?: boolean | undefined;
1351
- action?: "demote" | "sample" | "drop" | undefined;
1352
1353
  matcher?: {
1354
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1353
1355
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1354
1356
  services?: string[] | undefined;
1355
1357
  environments?: string[] | undefined;
1356
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1357
1358
  first_party?: boolean | undefined;
1358
1359
  error_name?: string | undefined;
1359
1360
  message_contains?: string | undefined;
@@ -1386,7 +1387,6 @@ export declare const CaptureRuleUpdateSchema: z.ZodEffects<z.ZodObject<{
1386
1387
  } | undefined;
1387
1388
  sample_rate?: number | null | undefined;
1388
1389
  sample_event_class?: "preserve" | "context" | null | undefined;
1389
- expires_at?: string | null | undefined;
1390
1390
  }>;
1391
1391
  export type CaptureRuleUpdate = z.infer<typeof CaptureRuleUpdateSchema>;
1392
1392
  export declare const CaptureRuleResponseSchema: z.ZodObject<{
@@ -1488,10 +1488,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
1488
1488
  version: string;
1489
1489
  }>>;
1490
1490
  }, "strip", z.ZodTypeAny, {
1491
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1491
1492
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1492
1493
  services?: string[] | undefined;
1493
1494
  environments?: string[] | undefined;
1494
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1495
1495
  first_party?: boolean | undefined;
1496
1496
  error_name?: string | undefined;
1497
1497
  message_contains?: string | undefined;
@@ -1512,10 +1512,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
1512
1512
  version: string;
1513
1513
  } | undefined;
1514
1514
  }, {
1515
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1515
1516
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1516
1517
  services?: string[] | undefined;
1517
1518
  environments?: string[] | undefined;
1518
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1519
1519
  first_party?: boolean | undefined;
1520
1520
  error_name?: string | undefined;
1521
1521
  message_contains?: string | undefined;
@@ -1546,10 +1546,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
1546
1546
  version: string;
1547
1547
  } | undefined;
1548
1548
  }>, CaptureRuleMatcher, {
1549
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1549
1550
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1550
1551
  services?: string[] | undefined;
1551
1552
  environments?: string[] | undefined;
1552
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1553
1553
  first_party?: boolean | undefined;
1554
1554
  error_name?: string | undefined;
1555
1555
  message_contains?: string | undefined;
@@ -1580,10 +1580,10 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
1580
1580
  version: string;
1581
1581
  } | undefined;
1582
1582
  }>, CaptureRuleMatcher, {
1583
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1583
1584
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1584
1585
  services?: string[] | undefined;
1585
1586
  environments?: string[] | undefined;
1586
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1587
1587
  first_party?: boolean | undefined;
1588
1588
  error_name?: string | undefined;
1589
1589
  message_contains?: string | undefined;
@@ -1628,35 +1628,37 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
1628
1628
  created_at: z.ZodString;
1629
1629
  updated_at: z.ZodString;
1630
1630
  }, "strip", z.ZodTypeAny, {
1631
+ action: "sample" | "demote" | "drop";
1631
1632
  project_id: string;
1632
- updated_at: string;
1633
+ expires_at: string | null;
1634
+ created_at: string;
1633
1635
  name: string;
1636
+ updated_at: string;
1634
1637
  description: string | null;
1635
1638
  enabled: boolean;
1636
- action: "demote" | "sample" | "drop";
1637
1639
  matcher: CaptureRuleMatcher;
1638
1640
  sample_rate: number | null;
1639
1641
  sample_event_class: "preserve" | "context" | null;
1640
1642
  created_by_user_id: string | null;
1641
1643
  created_from_incident_id: string | null;
1642
1644
  created_from_event_id: string | null;
1643
- expires_at: string | null;
1644
1645
  id: string;
1645
1646
  hit_count: number;
1646
1647
  last_matched_at: string | null;
1647
- created_at: string;
1648
1648
  }, {
1649
+ action: "sample" | "demote" | "drop";
1649
1650
  project_id: string;
1650
- updated_at: string;
1651
+ expires_at: string | null;
1652
+ created_at: string;
1651
1653
  name: string;
1654
+ updated_at: string;
1652
1655
  description: string | null;
1653
1656
  enabled: boolean;
1654
- action: "demote" | "sample" | "drop";
1655
1657
  matcher: {
1658
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1656
1659
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1657
1660
  services?: string[] | undefined;
1658
1661
  environments?: string[] | undefined;
1659
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1660
1662
  first_party?: boolean | undefined;
1661
1663
  error_name?: string | undefined;
1662
1664
  message_contains?: string | undefined;
@@ -1692,41 +1694,41 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
1692
1694
  created_by_user_id: string | null;
1693
1695
  created_from_incident_id: string | null;
1694
1696
  created_from_event_id: string | null;
1695
- expires_at: string | null;
1696
1697
  id: string;
1697
1698
  hit_count: number;
1698
1699
  last_matched_at: string | null;
1699
- created_at: string;
1700
1700
  }>, {
1701
+ action: "sample" | "demote" | "drop";
1701
1702
  project_id: string;
1702
- updated_at: string;
1703
+ expires_at: string | null;
1704
+ created_at: string;
1703
1705
  name: string;
1706
+ updated_at: string;
1704
1707
  description: string | null;
1705
1708
  enabled: boolean;
1706
- action: "demote" | "sample" | "drop";
1707
1709
  matcher: CaptureRuleMatcher;
1708
1710
  sample_rate: number | null;
1709
1711
  sample_event_class: "preserve" | "context" | null;
1710
1712
  created_by_user_id: string | null;
1711
1713
  created_from_incident_id: string | null;
1712
1714
  created_from_event_id: string | null;
1713
- expires_at: string | null;
1714
1715
  id: string;
1715
1716
  hit_count: number;
1716
1717
  last_matched_at: string | null;
1717
- created_at: string;
1718
1718
  }, {
1719
+ action: "sample" | "demote" | "drop";
1719
1720
  project_id: string;
1720
- updated_at: string;
1721
+ expires_at: string | null;
1722
+ created_at: string;
1721
1723
  name: string;
1724
+ updated_at: string;
1722
1725
  description: string | null;
1723
1726
  enabled: boolean;
1724
- action: "demote" | "sample" | "drop";
1725
1727
  matcher: {
1728
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1726
1729
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1727
1730
  services?: string[] | undefined;
1728
1731
  environments?: string[] | undefined;
1729
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1730
1732
  first_party?: boolean | undefined;
1731
1733
  error_name?: string | undefined;
1732
1734
  message_contains?: string | undefined;
@@ -1762,45 +1764,45 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
1762
1764
  created_by_user_id: string | null;
1763
1765
  created_from_incident_id: string | null;
1764
1766
  created_from_event_id: string | null;
1765
- expires_at: string | null;
1766
1767
  id: string;
1767
1768
  hit_count: number;
1768
1769
  last_matched_at: string | null;
1769
- created_at: string;
1770
1770
  }>;
1771
1771
  }, "strip", z.ZodTypeAny, {
1772
1772
  rule: {
1773
+ action: "sample" | "demote" | "drop";
1773
1774
  project_id: string;
1774
- updated_at: string;
1775
+ expires_at: string | null;
1776
+ created_at: string;
1775
1777
  name: string;
1778
+ updated_at: string;
1776
1779
  description: string | null;
1777
1780
  enabled: boolean;
1778
- action: "demote" | "sample" | "drop";
1779
1781
  matcher: CaptureRuleMatcher;
1780
1782
  sample_rate: number | null;
1781
1783
  sample_event_class: "preserve" | "context" | null;
1782
1784
  created_by_user_id: string | null;
1783
1785
  created_from_incident_id: string | null;
1784
1786
  created_from_event_id: string | null;
1785
- expires_at: string | null;
1786
1787
  id: string;
1787
1788
  hit_count: number;
1788
1789
  last_matched_at: string | null;
1789
- created_at: string;
1790
1790
  };
1791
1791
  }, {
1792
1792
  rule: {
1793
+ action: "sample" | "demote" | "drop";
1793
1794
  project_id: string;
1794
- updated_at: string;
1795
+ expires_at: string | null;
1796
+ created_at: string;
1795
1797
  name: string;
1798
+ updated_at: string;
1796
1799
  description: string | null;
1797
1800
  enabled: boolean;
1798
- action: "demote" | "sample" | "drop";
1799
1801
  matcher: {
1802
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1800
1803
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1801
1804
  services?: string[] | undefined;
1802
1805
  environments?: string[] | undefined;
1803
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1804
1806
  first_party?: boolean | undefined;
1805
1807
  error_name?: string | undefined;
1806
1808
  message_contains?: string | undefined;
@@ -1836,11 +1838,9 @@ export declare const CaptureRuleResponseSchema: z.ZodObject<{
1836
1838
  created_by_user_id: string | null;
1837
1839
  created_from_incident_id: string | null;
1838
1840
  created_from_event_id: string | null;
1839
- expires_at: string | null;
1840
1841
  id: string;
1841
1842
  hit_count: number;
1842
1843
  last_matched_at: string | null;
1843
- created_at: string;
1844
1844
  };
1845
1845
  }>;
1846
1846
  export type CaptureRuleResponse = z.infer<typeof CaptureRuleResponseSchema>;
@@ -1944,10 +1944,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
1944
1944
  version: string;
1945
1945
  }>>;
1946
1946
  }, "strip", z.ZodTypeAny, {
1947
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1947
1948
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1948
1949
  services?: string[] | undefined;
1949
1950
  environments?: string[] | undefined;
1950
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1951
1951
  first_party?: boolean | undefined;
1952
1952
  error_name?: string | undefined;
1953
1953
  message_contains?: string | undefined;
@@ -1968,10 +1968,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
1968
1968
  version: string;
1969
1969
  } | undefined;
1970
1970
  }, {
1971
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1971
1972
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
1972
1973
  services?: string[] | undefined;
1973
1974
  environments?: string[] | undefined;
1974
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
1975
1975
  first_party?: boolean | undefined;
1976
1976
  error_name?: string | undefined;
1977
1977
  message_contains?: string | undefined;
@@ -2002,10 +2002,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
2002
2002
  version: string;
2003
2003
  } | undefined;
2004
2004
  }>, CaptureRuleMatcher, {
2005
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2005
2006
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2006
2007
  services?: string[] | undefined;
2007
2008
  environments?: string[] | undefined;
2008
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2009
2009
  first_party?: boolean | undefined;
2010
2010
  error_name?: string | undefined;
2011
2011
  message_contains?: string | undefined;
@@ -2036,10 +2036,10 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
2036
2036
  version: string;
2037
2037
  } | undefined;
2038
2038
  }>, CaptureRuleMatcher, {
2039
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2039
2040
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2040
2041
  services?: string[] | undefined;
2041
2042
  environments?: string[] | undefined;
2042
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2043
2043
  first_party?: boolean | undefined;
2044
2044
  error_name?: string | undefined;
2045
2045
  message_contains?: string | undefined;
@@ -2084,35 +2084,37 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
2084
2084
  created_at: z.ZodString;
2085
2085
  updated_at: z.ZodString;
2086
2086
  }, "strip", z.ZodTypeAny, {
2087
+ action: "sample" | "demote" | "drop";
2087
2088
  project_id: string;
2088
- updated_at: string;
2089
+ expires_at: string | null;
2090
+ created_at: string;
2089
2091
  name: string;
2092
+ updated_at: string;
2090
2093
  description: string | null;
2091
2094
  enabled: boolean;
2092
- action: "demote" | "sample" | "drop";
2093
2095
  matcher: CaptureRuleMatcher;
2094
2096
  sample_rate: number | null;
2095
2097
  sample_event_class: "preserve" | "context" | null;
2096
2098
  created_by_user_id: string | null;
2097
2099
  created_from_incident_id: string | null;
2098
2100
  created_from_event_id: string | null;
2099
- expires_at: string | null;
2100
2101
  id: string;
2101
2102
  hit_count: number;
2102
2103
  last_matched_at: string | null;
2103
- created_at: string;
2104
2104
  }, {
2105
+ action: "sample" | "demote" | "drop";
2105
2106
  project_id: string;
2106
- updated_at: string;
2107
+ expires_at: string | null;
2108
+ created_at: string;
2107
2109
  name: string;
2110
+ updated_at: string;
2108
2111
  description: string | null;
2109
2112
  enabled: boolean;
2110
- action: "demote" | "sample" | "drop";
2111
2113
  matcher: {
2114
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2112
2115
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2113
2116
  services?: string[] | undefined;
2114
2117
  environments?: string[] | undefined;
2115
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2116
2118
  first_party?: boolean | undefined;
2117
2119
  error_name?: string | undefined;
2118
2120
  message_contains?: string | undefined;
@@ -2148,41 +2150,41 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
2148
2150
  created_by_user_id: string | null;
2149
2151
  created_from_incident_id: string | null;
2150
2152
  created_from_event_id: string | null;
2151
- expires_at: string | null;
2152
2153
  id: string;
2153
2154
  hit_count: number;
2154
2155
  last_matched_at: string | null;
2155
- created_at: string;
2156
2156
  }>, {
2157
+ action: "sample" | "demote" | "drop";
2157
2158
  project_id: string;
2158
- updated_at: string;
2159
+ expires_at: string | null;
2160
+ created_at: string;
2159
2161
  name: string;
2162
+ updated_at: string;
2160
2163
  description: string | null;
2161
2164
  enabled: boolean;
2162
- action: "demote" | "sample" | "drop";
2163
2165
  matcher: CaptureRuleMatcher;
2164
2166
  sample_rate: number | null;
2165
2167
  sample_event_class: "preserve" | "context" | null;
2166
2168
  created_by_user_id: string | null;
2167
2169
  created_from_incident_id: string | null;
2168
2170
  created_from_event_id: string | null;
2169
- expires_at: string | null;
2170
2171
  id: string;
2171
2172
  hit_count: number;
2172
2173
  last_matched_at: string | null;
2173
- created_at: string;
2174
2174
  }, {
2175
+ action: "sample" | "demote" | "drop";
2175
2176
  project_id: string;
2176
- updated_at: string;
2177
+ expires_at: string | null;
2178
+ created_at: string;
2177
2179
  name: string;
2180
+ updated_at: string;
2178
2181
  description: string | null;
2179
2182
  enabled: boolean;
2180
- action: "demote" | "sample" | "drop";
2181
2183
  matcher: {
2184
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2182
2185
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2183
2186
  services?: string[] | undefined;
2184
2187
  environments?: string[] | undefined;
2185
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2186
2188
  first_party?: boolean | undefined;
2187
2189
  error_name?: string | undefined;
2188
2190
  message_contains?: string | undefined;
@@ -2218,47 +2220,47 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
2218
2220
  created_by_user_id: string | null;
2219
2221
  created_from_incident_id: string | null;
2220
2222
  created_from_event_id: string | null;
2221
- expires_at: string | null;
2222
2223
  id: string;
2223
2224
  hit_count: number;
2224
2225
  last_matched_at: string | null;
2225
- created_at: string;
2226
2226
  }>, "many">;
2227
2227
  }, "strip", z.ZodTypeAny, {
2228
2228
  access_mode: "manage" | "preview";
2229
2229
  rules: {
2230
+ action: "sample" | "demote" | "drop";
2230
2231
  project_id: string;
2231
- updated_at: string;
2232
+ expires_at: string | null;
2233
+ created_at: string;
2232
2234
  name: string;
2235
+ updated_at: string;
2233
2236
  description: string | null;
2234
2237
  enabled: boolean;
2235
- action: "demote" | "sample" | "drop";
2236
2238
  matcher: CaptureRuleMatcher;
2237
2239
  sample_rate: number | null;
2238
2240
  sample_event_class: "preserve" | "context" | null;
2239
2241
  created_by_user_id: string | null;
2240
2242
  created_from_incident_id: string | null;
2241
2243
  created_from_event_id: string | null;
2242
- expires_at: string | null;
2243
2244
  id: string;
2244
2245
  hit_count: number;
2245
2246
  last_matched_at: string | null;
2246
- created_at: string;
2247
2247
  }[];
2248
2248
  }, {
2249
2249
  access_mode: "manage" | "preview";
2250
2250
  rules: {
2251
+ action: "sample" | "demote" | "drop";
2251
2252
  project_id: string;
2252
- updated_at: string;
2253
+ expires_at: string | null;
2254
+ created_at: string;
2253
2255
  name: string;
2256
+ updated_at: string;
2254
2257
  description: string | null;
2255
2258
  enabled: boolean;
2256
- action: "demote" | "sample" | "drop";
2257
2259
  matcher: {
2260
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2258
2261
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2259
2262
  services?: string[] | undefined;
2260
2263
  environments?: string[] | undefined;
2261
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2262
2264
  first_party?: boolean | undefined;
2263
2265
  error_name?: string | undefined;
2264
2266
  message_contains?: string | undefined;
@@ -2294,11 +2296,9 @@ export declare const CaptureRulesResponseSchema: z.ZodObject<{
2294
2296
  created_by_user_id: string | null;
2295
2297
  created_from_incident_id: string | null;
2296
2298
  created_from_event_id: string | null;
2297
- expires_at: string | null;
2298
2299
  id: string;
2299
2300
  hit_count: number;
2300
2301
  last_matched_at: string | null;
2301
- created_at: string;
2302
2302
  }[];
2303
2303
  }>;
2304
2304
  export type CaptureRulesResponse = z.infer<typeof CaptureRulesResponseSchema>;
@@ -2402,10 +2402,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
2402
2402
  version: string;
2403
2403
  }>>;
2404
2404
  }, "strip", z.ZodTypeAny, {
2405
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2405
2406
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2406
2407
  services?: string[] | undefined;
2407
2408
  environments?: string[] | undefined;
2408
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2409
2409
  first_party?: boolean | undefined;
2410
2410
  error_name?: string | undefined;
2411
2411
  message_contains?: string | undefined;
@@ -2426,10 +2426,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
2426
2426
  version: string;
2427
2427
  } | undefined;
2428
2428
  }, {
2429
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2429
2430
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2430
2431
  services?: string[] | undefined;
2431
2432
  environments?: string[] | undefined;
2432
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2433
2433
  first_party?: boolean | undefined;
2434
2434
  error_name?: string | undefined;
2435
2435
  message_contains?: string | undefined;
@@ -2460,10 +2460,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
2460
2460
  version: string;
2461
2461
  } | undefined;
2462
2462
  }>, CaptureRuleMatcher, {
2463
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2463
2464
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2464
2465
  services?: string[] | undefined;
2465
2466
  environments?: string[] | undefined;
2466
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2467
2467
  first_party?: boolean | undefined;
2468
2468
  error_name?: string | undefined;
2469
2469
  message_contains?: string | undefined;
@@ -2494,10 +2494,10 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
2494
2494
  version: string;
2495
2495
  } | undefined;
2496
2496
  }>, CaptureRuleMatcher, {
2497
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2497
2498
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2498
2499
  services?: string[] | undefined;
2499
2500
  environments?: string[] | undefined;
2500
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2501
2501
  first_party?: boolean | undefined;
2502
2502
  error_name?: string | undefined;
2503
2503
  message_contains?: string | undefined;
@@ -2542,35 +2542,37 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
2542
2542
  created_at: z.ZodString;
2543
2543
  updated_at: z.ZodString;
2544
2544
  }, "strip", z.ZodTypeAny, {
2545
+ action: "sample" | "demote" | "drop";
2545
2546
  project_id: string;
2546
- updated_at: string;
2547
+ expires_at: string | null;
2548
+ created_at: string;
2547
2549
  name: string;
2550
+ updated_at: string;
2548
2551
  description: string | null;
2549
2552
  enabled: boolean;
2550
- action: "demote" | "sample" | "drop";
2551
2553
  matcher: CaptureRuleMatcher;
2552
2554
  sample_rate: number | null;
2553
2555
  sample_event_class: "preserve" | "context" | null;
2554
2556
  created_by_user_id: string | null;
2555
2557
  created_from_incident_id: string | null;
2556
2558
  created_from_event_id: string | null;
2557
- expires_at: string | null;
2558
2559
  id: string;
2559
2560
  hit_count: number;
2560
2561
  last_matched_at: string | null;
2561
- created_at: string;
2562
2562
  }, {
2563
+ action: "sample" | "demote" | "drop";
2563
2564
  project_id: string;
2564
- updated_at: string;
2565
+ expires_at: string | null;
2566
+ created_at: string;
2565
2567
  name: string;
2568
+ updated_at: string;
2566
2569
  description: string | null;
2567
2570
  enabled: boolean;
2568
- action: "demote" | "sample" | "drop";
2569
2571
  matcher: {
2572
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2570
2573
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2571
2574
  services?: string[] | undefined;
2572
2575
  environments?: string[] | undefined;
2573
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2574
2576
  first_party?: boolean | undefined;
2575
2577
  error_name?: string | undefined;
2576
2578
  message_contains?: string | undefined;
@@ -2606,41 +2608,41 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
2606
2608
  created_by_user_id: string | null;
2607
2609
  created_from_incident_id: string | null;
2608
2610
  created_from_event_id: string | null;
2609
- expires_at: string | null;
2610
2611
  id: string;
2611
2612
  hit_count: number;
2612
2613
  last_matched_at: string | null;
2613
- created_at: string;
2614
2614
  }>, {
2615
+ action: "sample" | "demote" | "drop";
2615
2616
  project_id: string;
2616
- updated_at: string;
2617
+ expires_at: string | null;
2618
+ created_at: string;
2617
2619
  name: string;
2620
+ updated_at: string;
2618
2621
  description: string | null;
2619
2622
  enabled: boolean;
2620
- action: "demote" | "sample" | "drop";
2621
2623
  matcher: CaptureRuleMatcher;
2622
2624
  sample_rate: number | null;
2623
2625
  sample_event_class: "preserve" | "context" | null;
2624
2626
  created_by_user_id: string | null;
2625
2627
  created_from_incident_id: string | null;
2626
2628
  created_from_event_id: string | null;
2627
- expires_at: string | null;
2628
2629
  id: string;
2629
2630
  hit_count: number;
2630
2631
  last_matched_at: string | null;
2631
- created_at: string;
2632
2632
  }, {
2633
+ action: "sample" | "demote" | "drop";
2633
2634
  project_id: string;
2634
- updated_at: string;
2635
+ expires_at: string | null;
2636
+ created_at: string;
2635
2637
  name: string;
2638
+ updated_at: string;
2636
2639
  description: string | null;
2637
2640
  enabled: boolean;
2638
- action: "demote" | "sample" | "drop";
2639
2641
  matcher: {
2642
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2640
2643
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2641
2644
  services?: string[] | undefined;
2642
2645
  environments?: string[] | undefined;
2643
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2644
2646
  first_party?: boolean | undefined;
2645
2647
  error_name?: string | undefined;
2646
2648
  message_contains?: string | undefined;
@@ -2676,47 +2678,47 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
2676
2678
  created_by_user_id: string | null;
2677
2679
  created_from_incident_id: string | null;
2678
2680
  created_from_event_id: string | null;
2679
- expires_at: string | null;
2680
2681
  id: string;
2681
2682
  hit_count: number;
2682
2683
  last_matched_at: string | null;
2683
- created_at: string;
2684
2684
  }>, "many">;
2685
2685
  }, "strip", z.ZodTypeAny, {
2686
2686
  version: 1;
2687
2687
  rules: {
2688
+ action: "sample" | "demote" | "drop";
2688
2689
  project_id: string;
2689
- updated_at: string;
2690
+ expires_at: string | null;
2691
+ created_at: string;
2690
2692
  name: string;
2693
+ updated_at: string;
2691
2694
  description: string | null;
2692
2695
  enabled: boolean;
2693
- action: "demote" | "sample" | "drop";
2694
2696
  matcher: CaptureRuleMatcher;
2695
2697
  sample_rate: number | null;
2696
2698
  sample_event_class: "preserve" | "context" | null;
2697
2699
  created_by_user_id: string | null;
2698
2700
  created_from_incident_id: string | null;
2699
2701
  created_from_event_id: string | null;
2700
- expires_at: string | null;
2701
2702
  id: string;
2702
2703
  hit_count: number;
2703
2704
  last_matched_at: string | null;
2704
- created_at: string;
2705
2705
  }[];
2706
2706
  }, {
2707
2707
  version: 1;
2708
2708
  rules: {
2709
+ action: "sample" | "demote" | "drop";
2709
2710
  project_id: string;
2710
- updated_at: string;
2711
+ expires_at: string | null;
2712
+ created_at: string;
2711
2713
  name: string;
2714
+ updated_at: string;
2712
2715
  description: string | null;
2713
2716
  enabled: boolean;
2714
- action: "demote" | "sample" | "drop";
2715
2717
  matcher: {
2718
+ runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2716
2719
  event_types?: ("backend_exception" | "frontend_exception" | "deploy_metadata" | "error_suppressed" | "log_event" | "request_event" | "frontend_breadcrumb" | "probe_event")[] | undefined;
2717
2720
  services?: string[] | undefined;
2718
2721
  environments?: string[] | undefined;
2719
- runtime?: ("unknown" | "browser" | "node" | "python" | "php" | "java" | "go" | "ruby")[] | undefined;
2720
2722
  first_party?: boolean | undefined;
2721
2723
  error_name?: string | undefined;
2722
2724
  message_contains?: string | undefined;
@@ -2752,11 +2754,9 @@ export declare const CaptureRulesFileSchema: z.ZodObject<{
2752
2754
  created_by_user_id: string | null;
2753
2755
  created_from_incident_id: string | null;
2754
2756
  created_from_event_id: string | null;
2755
- expires_at: string | null;
2756
2757
  id: string;
2757
2758
  hit_count: number;
2758
2759
  last_matched_at: string | null;
2759
- created_at: string;
2760
2760
  }[];
2761
2761
  }>;
2762
2762
  export type CaptureRulesFile = z.infer<typeof CaptureRulesFileSchema>;