@debugbundle/shared-types 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/capture-rule-evaluation.d.ts +156 -0
- package/dist/capture-rule-evaluation.d.ts.map +1 -0
- package/dist/capture-rule-evaluation.js +495 -0
- package/dist/capture-rule-evaluation.js.map +1 -0
- package/dist/capture-rule-schemas.d.ts +2763 -0
- package/dist/capture-rule-schemas.d.ts.map +1 -0
- package/dist/capture-rule-schemas.js +385 -0
- package/dist/capture-rule-schemas.js.map +1 -0
- package/dist/capture-rule-suggestions.d.ts +91 -25
- package/dist/capture-rule-suggestions.d.ts.map +1 -1
- package/dist/capture-rule-suggestions.js +86 -1
- package/dist/capture-rule-suggestions.js.map +1 -1
- package/dist/capture-rules.d.ts +2 -2744
- package/dist/capture-rules.d.ts.map +1 -1
- package/dist/capture-rules.js +2 -780
- package/dist/capture-rules.js.map +1 -1
- package/dist/index.d.ts +234 -194
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1015,9 +1015,9 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1015
1015
|
} | null;
|
|
1016
1016
|
kind: "window_error" | "resource_error";
|
|
1017
1017
|
file_name: string | null;
|
|
1018
|
+
opaque: boolean;
|
|
1018
1019
|
line_number: number | null;
|
|
1019
1020
|
column_number: number | null;
|
|
1020
|
-
opaque: boolean;
|
|
1021
1021
|
page?: {
|
|
1022
1022
|
url: string | null;
|
|
1023
1023
|
referrer: string | null;
|
|
@@ -1042,9 +1042,9 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1042
1042
|
} | null;
|
|
1043
1043
|
kind: "window_error" | "resource_error";
|
|
1044
1044
|
file_name: string | null;
|
|
1045
|
+
opaque: boolean;
|
|
1045
1046
|
line_number: number | null;
|
|
1046
1047
|
column_number: number | null;
|
|
1047
|
-
opaque: boolean;
|
|
1048
1048
|
page?: {
|
|
1049
1049
|
url: string | null;
|
|
1050
1050
|
referrer: string | null;
|
|
@@ -1052,6 +1052,22 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1052
1052
|
visibility_state: "visible" | "hidden" | "prerender" | "unloaded" | null;
|
|
1053
1053
|
} | undefined;
|
|
1054
1054
|
}>>;
|
|
1055
|
+
rejection_reason: z.ZodOptional<z.ZodObject<{
|
|
1056
|
+
kind: z.ZodEnum<["error", "string", "object", "null", "undefined", "unknown"]>;
|
|
1057
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
}, "strict", z.ZodTypeAny, {
|
|
1061
|
+
kind: "string" | "undefined" | "object" | "error" | "null" | "unknown";
|
|
1062
|
+
message?: string | undefined;
|
|
1063
|
+
preview?: string | undefined;
|
|
1064
|
+
name?: string | undefined;
|
|
1065
|
+
}, {
|
|
1066
|
+
kind: "string" | "undefined" | "object" | "error" | "null" | "unknown";
|
|
1067
|
+
message?: string | undefined;
|
|
1068
|
+
preview?: string | undefined;
|
|
1069
|
+
name?: string | undefined;
|
|
1070
|
+
}>>;
|
|
1055
1071
|
dom_context: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1056
1072
|
mode: z.ZodLiteral<"lightweight">;
|
|
1057
1073
|
html_excerpt: z.ZodString;
|
|
@@ -1105,6 +1121,27 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1105
1121
|
};
|
|
1106
1122
|
name: string;
|
|
1107
1123
|
stack: string;
|
|
1124
|
+
device?: {
|
|
1125
|
+
user_agent: string | null;
|
|
1126
|
+
os: {
|
|
1127
|
+
version: string | null;
|
|
1128
|
+
name: string | null;
|
|
1129
|
+
};
|
|
1130
|
+
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
1131
|
+
screen: {
|
|
1132
|
+
width: number;
|
|
1133
|
+
height: number;
|
|
1134
|
+
};
|
|
1135
|
+
viewport: {
|
|
1136
|
+
width: number;
|
|
1137
|
+
height: number;
|
|
1138
|
+
};
|
|
1139
|
+
device_pixel_ratio: number | null;
|
|
1140
|
+
touch_capable: boolean | null;
|
|
1141
|
+
language: string | null;
|
|
1142
|
+
connection_type: string | null;
|
|
1143
|
+
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1144
|
+
} | null | undefined;
|
|
1108
1145
|
browser_event?: {
|
|
1109
1146
|
message: string | null;
|
|
1110
1147
|
target: {
|
|
@@ -1123,9 +1160,9 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1123
1160
|
} | null;
|
|
1124
1161
|
kind: "window_error" | "resource_error";
|
|
1125
1162
|
file_name: string | null;
|
|
1163
|
+
opaque: boolean;
|
|
1126
1164
|
line_number: number | null;
|
|
1127
1165
|
column_number: number | null;
|
|
1128
|
-
opaque: boolean;
|
|
1129
1166
|
page?: {
|
|
1130
1167
|
url: string | null;
|
|
1131
1168
|
referrer: string | null;
|
|
@@ -1149,6 +1186,24 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1149
1186
|
ts: string;
|
|
1150
1187
|
route?: string | null | undefined;
|
|
1151
1188
|
}[] | undefined;
|
|
1189
|
+
rejection_reason?: {
|
|
1190
|
+
kind: "string" | "undefined" | "object" | "error" | "null" | "unknown";
|
|
1191
|
+
message?: string | undefined;
|
|
1192
|
+
preview?: string | undefined;
|
|
1193
|
+
name?: string | undefined;
|
|
1194
|
+
} | undefined;
|
|
1195
|
+
dom_context?: {
|
|
1196
|
+
mode: "lightweight";
|
|
1197
|
+
html_excerpt: string;
|
|
1198
|
+
} | null | undefined;
|
|
1199
|
+
}, {
|
|
1200
|
+
message: string;
|
|
1201
|
+
browser: {
|
|
1202
|
+
version: string;
|
|
1203
|
+
name: string;
|
|
1204
|
+
};
|
|
1205
|
+
name: string;
|
|
1206
|
+
stack: string;
|
|
1152
1207
|
device?: {
|
|
1153
1208
|
user_agent: string | null;
|
|
1154
1209
|
os: {
|
|
@@ -1170,18 +1225,6 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1170
1225
|
connection_type: string | null;
|
|
1171
1226
|
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1172
1227
|
} | null | undefined;
|
|
1173
|
-
dom_context?: {
|
|
1174
|
-
mode: "lightweight";
|
|
1175
|
-
html_excerpt: string;
|
|
1176
|
-
} | null | undefined;
|
|
1177
|
-
}, {
|
|
1178
|
-
message: string;
|
|
1179
|
-
browser: {
|
|
1180
|
-
version: string;
|
|
1181
|
-
name: string;
|
|
1182
|
-
};
|
|
1183
|
-
name: string;
|
|
1184
|
-
stack: string;
|
|
1185
1228
|
browser_event?: {
|
|
1186
1229
|
message: string | null;
|
|
1187
1230
|
target: {
|
|
@@ -1200,9 +1243,9 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1200
1243
|
} | null;
|
|
1201
1244
|
kind: "window_error" | "resource_error";
|
|
1202
1245
|
file_name: string | null;
|
|
1246
|
+
opaque: boolean;
|
|
1203
1247
|
line_number: number | null;
|
|
1204
1248
|
column_number: number | null;
|
|
1205
|
-
opaque: boolean;
|
|
1206
1249
|
page?: {
|
|
1207
1250
|
url: string | null;
|
|
1208
1251
|
referrer: string | null;
|
|
@@ -1226,27 +1269,12 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1226
1269
|
ts: string;
|
|
1227
1270
|
route?: string | null | undefined;
|
|
1228
1271
|
}[] | undefined;
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
1236
|
-
screen: {
|
|
1237
|
-
width: number;
|
|
1238
|
-
height: number;
|
|
1239
|
-
};
|
|
1240
|
-
viewport: {
|
|
1241
|
-
width: number;
|
|
1242
|
-
height: number;
|
|
1243
|
-
};
|
|
1244
|
-
device_pixel_ratio: number | null;
|
|
1245
|
-
touch_capable: boolean | null;
|
|
1246
|
-
language: string | null;
|
|
1247
|
-
connection_type: string | null;
|
|
1248
|
-
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1249
|
-
} | null | undefined;
|
|
1272
|
+
rejection_reason?: {
|
|
1273
|
+
kind: "string" | "undefined" | "object" | "error" | "null" | "unknown";
|
|
1274
|
+
message?: string | undefined;
|
|
1275
|
+
preview?: string | undefined;
|
|
1276
|
+
name?: string | undefined;
|
|
1277
|
+
} | undefined;
|
|
1250
1278
|
dom_context?: {
|
|
1251
1279
|
mode: "lightweight";
|
|
1252
1280
|
html_excerpt: string;
|
|
@@ -1273,6 +1301,27 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1273
1301
|
};
|
|
1274
1302
|
name: string;
|
|
1275
1303
|
stack: string;
|
|
1304
|
+
device?: {
|
|
1305
|
+
user_agent: string | null;
|
|
1306
|
+
os: {
|
|
1307
|
+
version: string | null;
|
|
1308
|
+
name: string | null;
|
|
1309
|
+
};
|
|
1310
|
+
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
1311
|
+
screen: {
|
|
1312
|
+
width: number;
|
|
1313
|
+
height: number;
|
|
1314
|
+
};
|
|
1315
|
+
viewport: {
|
|
1316
|
+
width: number;
|
|
1317
|
+
height: number;
|
|
1318
|
+
};
|
|
1319
|
+
device_pixel_ratio: number | null;
|
|
1320
|
+
touch_capable: boolean | null;
|
|
1321
|
+
language: string | null;
|
|
1322
|
+
connection_type: string | null;
|
|
1323
|
+
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1324
|
+
} | null | undefined;
|
|
1276
1325
|
browser_event?: {
|
|
1277
1326
|
message: string | null;
|
|
1278
1327
|
target: {
|
|
@@ -1291,9 +1340,9 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1291
1340
|
} | null;
|
|
1292
1341
|
kind: "window_error" | "resource_error";
|
|
1293
1342
|
file_name: string | null;
|
|
1343
|
+
opaque: boolean;
|
|
1294
1344
|
line_number: number | null;
|
|
1295
1345
|
column_number: number | null;
|
|
1296
|
-
opaque: boolean;
|
|
1297
1346
|
page?: {
|
|
1298
1347
|
url: string | null;
|
|
1299
1348
|
referrer: string | null;
|
|
@@ -1317,27 +1366,12 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1317
1366
|
ts: string;
|
|
1318
1367
|
route?: string | null | undefined;
|
|
1319
1368
|
}[] | undefined;
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
1327
|
-
screen: {
|
|
1328
|
-
width: number;
|
|
1329
|
-
height: number;
|
|
1330
|
-
};
|
|
1331
|
-
viewport: {
|
|
1332
|
-
width: number;
|
|
1333
|
-
height: number;
|
|
1334
|
-
};
|
|
1335
|
-
device_pixel_ratio: number | null;
|
|
1336
|
-
touch_capable: boolean | null;
|
|
1337
|
-
language: string | null;
|
|
1338
|
-
connection_type: string | null;
|
|
1339
|
-
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1340
|
-
} | null | undefined;
|
|
1369
|
+
rejection_reason?: {
|
|
1370
|
+
kind: "string" | "undefined" | "object" | "error" | "null" | "unknown";
|
|
1371
|
+
message?: string | undefined;
|
|
1372
|
+
preview?: string | undefined;
|
|
1373
|
+
name?: string | undefined;
|
|
1374
|
+
} | undefined;
|
|
1341
1375
|
dom_context?: {
|
|
1342
1376
|
mode: "lightweight";
|
|
1343
1377
|
html_excerpt: string;
|
|
@@ -1372,6 +1406,27 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1372
1406
|
};
|
|
1373
1407
|
name: string;
|
|
1374
1408
|
stack: string;
|
|
1409
|
+
device?: {
|
|
1410
|
+
user_agent: string | null;
|
|
1411
|
+
os: {
|
|
1412
|
+
version: string | null;
|
|
1413
|
+
name: string | null;
|
|
1414
|
+
};
|
|
1415
|
+
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
1416
|
+
screen: {
|
|
1417
|
+
width: number;
|
|
1418
|
+
height: number;
|
|
1419
|
+
};
|
|
1420
|
+
viewport: {
|
|
1421
|
+
width: number;
|
|
1422
|
+
height: number;
|
|
1423
|
+
};
|
|
1424
|
+
device_pixel_ratio: number | null;
|
|
1425
|
+
touch_capable: boolean | null;
|
|
1426
|
+
language: string | null;
|
|
1427
|
+
connection_type: string | null;
|
|
1428
|
+
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1429
|
+
} | null | undefined;
|
|
1375
1430
|
browser_event?: {
|
|
1376
1431
|
message: string | null;
|
|
1377
1432
|
target: {
|
|
@@ -1390,9 +1445,9 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1390
1445
|
} | null;
|
|
1391
1446
|
kind: "window_error" | "resource_error";
|
|
1392
1447
|
file_name: string | null;
|
|
1448
|
+
opaque: boolean;
|
|
1393
1449
|
line_number: number | null;
|
|
1394
1450
|
column_number: number | null;
|
|
1395
|
-
opaque: boolean;
|
|
1396
1451
|
page?: {
|
|
1397
1452
|
url: string | null;
|
|
1398
1453
|
referrer: string | null;
|
|
@@ -1416,27 +1471,12 @@ export declare const EventEnvelopeSchema: z.ZodDiscriminatedUnion<"event_type",
|
|
|
1416
1471
|
ts: string;
|
|
1417
1472
|
route?: string | null | undefined;
|
|
1418
1473
|
}[] | undefined;
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
device_type: "unknown" | "desktop" | "mobile" | "tablet";
|
|
1426
|
-
screen: {
|
|
1427
|
-
width: number;
|
|
1428
|
-
height: number;
|
|
1429
|
-
};
|
|
1430
|
-
viewport: {
|
|
1431
|
-
width: number;
|
|
1432
|
-
height: number;
|
|
1433
|
-
};
|
|
1434
|
-
device_pixel_ratio: number | null;
|
|
1435
|
-
touch_capable: boolean | null;
|
|
1436
|
-
language: string | null;
|
|
1437
|
-
connection_type: string | null;
|
|
1438
|
-
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
1439
|
-
} | null | undefined;
|
|
1474
|
+
rejection_reason?: {
|
|
1475
|
+
kind: "string" | "undefined" | "object" | "error" | "null" | "unknown";
|
|
1476
|
+
message?: string | undefined;
|
|
1477
|
+
preview?: string | undefined;
|
|
1478
|
+
name?: string | undefined;
|
|
1479
|
+
} | undefined;
|
|
1440
1480
|
dom_context?: {
|
|
1441
1481
|
mode: "lightweight";
|
|
1442
1482
|
html_excerpt: string;
|
|
@@ -2578,32 +2618,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
2578
2618
|
os: string | null;
|
|
2579
2619
|
container_id: string | null;
|
|
2580
2620
|
} | null | undefined;
|
|
2581
|
-
request?: {
|
|
2582
|
-
path: string;
|
|
2583
|
-
method: string;
|
|
2584
|
-
version: 1;
|
|
2585
|
-
headers: Record<string, unknown>;
|
|
2586
|
-
request_id: string | null;
|
|
2587
|
-
query: Record<string, unknown>;
|
|
2588
|
-
route_template: string | null;
|
|
2589
|
-
body?: unknown;
|
|
2590
|
-
} | null | undefined;
|
|
2591
|
-
response?: {
|
|
2592
|
-
status_code: number;
|
|
2593
|
-
version: 1;
|
|
2594
|
-
duration_ms: number | null;
|
|
2595
|
-
headers?: Record<string, unknown> | undefined;
|
|
2596
|
-
body?: unknown;
|
|
2597
|
-
} | null | undefined;
|
|
2598
|
-
probe_data?: {
|
|
2599
|
-
version: 1;
|
|
2600
|
-
items: {
|
|
2601
|
-
data: Record<string, unknown>;
|
|
2602
|
-
label: string;
|
|
2603
|
-
timestamp: string;
|
|
2604
|
-
activation_id: string | null;
|
|
2605
|
-
}[];
|
|
2606
|
-
} | null | undefined;
|
|
2607
2621
|
device?: {
|
|
2608
2622
|
browser: {
|
|
2609
2623
|
version: string | null;
|
|
@@ -2630,6 +2644,32 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
2630
2644
|
connection_type: string | null;
|
|
2631
2645
|
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
2632
2646
|
} | null | undefined;
|
|
2647
|
+
request?: {
|
|
2648
|
+
path: string;
|
|
2649
|
+
method: string;
|
|
2650
|
+
version: 1;
|
|
2651
|
+
headers: Record<string, unknown>;
|
|
2652
|
+
request_id: string | null;
|
|
2653
|
+
query: Record<string, unknown>;
|
|
2654
|
+
route_template: string | null;
|
|
2655
|
+
body?: unknown;
|
|
2656
|
+
} | null | undefined;
|
|
2657
|
+
response?: {
|
|
2658
|
+
status_code: number;
|
|
2659
|
+
version: 1;
|
|
2660
|
+
duration_ms: number | null;
|
|
2661
|
+
headers?: Record<string, unknown> | undefined;
|
|
2662
|
+
body?: unknown;
|
|
2663
|
+
} | null | undefined;
|
|
2664
|
+
probe_data?: {
|
|
2665
|
+
version: 1;
|
|
2666
|
+
items: {
|
|
2667
|
+
data: Record<string, unknown>;
|
|
2668
|
+
label: string;
|
|
2669
|
+
timestamp: string;
|
|
2670
|
+
activation_id: string | null;
|
|
2671
|
+
}[];
|
|
2672
|
+
} | null | undefined;
|
|
2633
2673
|
logs?: {
|
|
2634
2674
|
version: 1;
|
|
2635
2675
|
items: {
|
|
@@ -2737,32 +2777,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
2737
2777
|
os: string | null;
|
|
2738
2778
|
container_id: string | null;
|
|
2739
2779
|
} | null | undefined;
|
|
2740
|
-
request?: {
|
|
2741
|
-
path: string;
|
|
2742
|
-
method: string;
|
|
2743
|
-
version: 1;
|
|
2744
|
-
headers: Record<string, unknown>;
|
|
2745
|
-
request_id: string | null;
|
|
2746
|
-
query: Record<string, unknown>;
|
|
2747
|
-
route_template: string | null;
|
|
2748
|
-
body?: unknown;
|
|
2749
|
-
} | null | undefined;
|
|
2750
|
-
response?: {
|
|
2751
|
-
status_code: number;
|
|
2752
|
-
version: 1;
|
|
2753
|
-
duration_ms: number | null;
|
|
2754
|
-
headers?: Record<string, unknown> | undefined;
|
|
2755
|
-
body?: unknown;
|
|
2756
|
-
} | null | undefined;
|
|
2757
|
-
probe_data?: {
|
|
2758
|
-
version: 1;
|
|
2759
|
-
items: {
|
|
2760
|
-
data: Record<string, unknown>;
|
|
2761
|
-
label: string;
|
|
2762
|
-
timestamp: string;
|
|
2763
|
-
activation_id: string | null;
|
|
2764
|
-
}[];
|
|
2765
|
-
} | null | undefined;
|
|
2766
2780
|
device?: {
|
|
2767
2781
|
browser: {
|
|
2768
2782
|
version: string | null;
|
|
@@ -2789,6 +2803,32 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
2789
2803
|
connection_type: string | null;
|
|
2790
2804
|
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
2791
2805
|
} | null | undefined;
|
|
2806
|
+
request?: {
|
|
2807
|
+
path: string;
|
|
2808
|
+
method: string;
|
|
2809
|
+
version: 1;
|
|
2810
|
+
headers: Record<string, unknown>;
|
|
2811
|
+
request_id: string | null;
|
|
2812
|
+
query: Record<string, unknown>;
|
|
2813
|
+
route_template: string | null;
|
|
2814
|
+
body?: unknown;
|
|
2815
|
+
} | null | undefined;
|
|
2816
|
+
response?: {
|
|
2817
|
+
status_code: number;
|
|
2818
|
+
version: 1;
|
|
2819
|
+
duration_ms: number | null;
|
|
2820
|
+
headers?: Record<string, unknown> | undefined;
|
|
2821
|
+
body?: unknown;
|
|
2822
|
+
} | null | undefined;
|
|
2823
|
+
probe_data?: {
|
|
2824
|
+
version: 1;
|
|
2825
|
+
items: {
|
|
2826
|
+
data: Record<string, unknown>;
|
|
2827
|
+
label: string;
|
|
2828
|
+
timestamp: string;
|
|
2829
|
+
activation_id: string | null;
|
|
2830
|
+
}[];
|
|
2831
|
+
} | null | undefined;
|
|
2792
2832
|
logs?: {
|
|
2793
2833
|
version: 1;
|
|
2794
2834
|
items: {
|
|
@@ -2875,14 +2915,14 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
2875
2915
|
body: z.ZodNullable<z.ZodUnknown>;
|
|
2876
2916
|
}, "strip", z.ZodTypeAny, {
|
|
2877
2917
|
method: string;
|
|
2878
|
-
url: string;
|
|
2879
2918
|
headers: Record<string, unknown>;
|
|
2919
|
+
url: string;
|
|
2880
2920
|
query?: Record<string, unknown> | undefined;
|
|
2881
2921
|
body?: unknown;
|
|
2882
2922
|
}, {
|
|
2883
2923
|
method: string;
|
|
2884
|
-
url: string;
|
|
2885
2924
|
headers: Record<string, unknown>;
|
|
2925
|
+
url: string;
|
|
2886
2926
|
query?: Record<string, unknown> | undefined;
|
|
2887
2927
|
body?: unknown;
|
|
2888
2928
|
}>>;
|
|
@@ -2891,8 +2931,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
2891
2931
|
httpie: string | null;
|
|
2892
2932
|
json_spec: {
|
|
2893
2933
|
method: string;
|
|
2894
|
-
url: string;
|
|
2895
2934
|
headers: Record<string, unknown>;
|
|
2935
|
+
url: string;
|
|
2896
2936
|
query?: Record<string, unknown> | undefined;
|
|
2897
2937
|
body?: unknown;
|
|
2898
2938
|
} | null;
|
|
@@ -2901,8 +2941,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
2901
2941
|
httpie: string | null;
|
|
2902
2942
|
json_spec: {
|
|
2903
2943
|
method: string;
|
|
2904
|
-
url: string;
|
|
2905
2944
|
headers: Record<string, unknown>;
|
|
2945
|
+
url: string;
|
|
2906
2946
|
query?: Record<string, unknown> | undefined;
|
|
2907
2947
|
body?: unknown;
|
|
2908
2948
|
} | null;
|
|
@@ -2935,8 +2975,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
2935
2975
|
httpie: string | null;
|
|
2936
2976
|
json_spec: {
|
|
2937
2977
|
method: string;
|
|
2938
|
-
url: string;
|
|
2939
2978
|
headers: Record<string, unknown>;
|
|
2979
|
+
url: string;
|
|
2940
2980
|
query?: Record<string, unknown> | undefined;
|
|
2941
2981
|
body?: unknown;
|
|
2942
2982
|
} | null;
|
|
@@ -2957,8 +2997,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
2957
2997
|
httpie: string | null;
|
|
2958
2998
|
json_spec: {
|
|
2959
2999
|
method: string;
|
|
2960
|
-
url: string;
|
|
2961
3000
|
headers: Record<string, unknown>;
|
|
3001
|
+
url: string;
|
|
2962
3002
|
query?: Record<string, unknown> | undefined;
|
|
2963
3003
|
body?: unknown;
|
|
2964
3004
|
} | null;
|
|
@@ -3073,32 +3113,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
3073
3113
|
os: string | null;
|
|
3074
3114
|
container_id: string | null;
|
|
3075
3115
|
} | null | undefined;
|
|
3076
|
-
request?: {
|
|
3077
|
-
path: string;
|
|
3078
|
-
method: string;
|
|
3079
|
-
version: 1;
|
|
3080
|
-
headers: Record<string, unknown>;
|
|
3081
|
-
request_id: string | null;
|
|
3082
|
-
query: Record<string, unknown>;
|
|
3083
|
-
route_template: string | null;
|
|
3084
|
-
body?: unknown;
|
|
3085
|
-
} | null | undefined;
|
|
3086
|
-
response?: {
|
|
3087
|
-
status_code: number;
|
|
3088
|
-
version: 1;
|
|
3089
|
-
duration_ms: number | null;
|
|
3090
|
-
headers?: Record<string, unknown> | undefined;
|
|
3091
|
-
body?: unknown;
|
|
3092
|
-
} | null | undefined;
|
|
3093
|
-
probe_data?: {
|
|
3094
|
-
version: 1;
|
|
3095
|
-
items: {
|
|
3096
|
-
data: Record<string, unknown>;
|
|
3097
|
-
label: string;
|
|
3098
|
-
timestamp: string;
|
|
3099
|
-
activation_id: string | null;
|
|
3100
|
-
}[];
|
|
3101
|
-
} | null | undefined;
|
|
3102
3116
|
device?: {
|
|
3103
3117
|
browser: {
|
|
3104
3118
|
version: string | null;
|
|
@@ -3125,6 +3139,32 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
3125
3139
|
connection_type: string | null;
|
|
3126
3140
|
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
3127
3141
|
} | null | undefined;
|
|
3142
|
+
request?: {
|
|
3143
|
+
path: string;
|
|
3144
|
+
method: string;
|
|
3145
|
+
version: 1;
|
|
3146
|
+
headers: Record<string, unknown>;
|
|
3147
|
+
request_id: string | null;
|
|
3148
|
+
query: Record<string, unknown>;
|
|
3149
|
+
route_template: string | null;
|
|
3150
|
+
body?: unknown;
|
|
3151
|
+
} | null | undefined;
|
|
3152
|
+
response?: {
|
|
3153
|
+
status_code: number;
|
|
3154
|
+
version: 1;
|
|
3155
|
+
duration_ms: number | null;
|
|
3156
|
+
headers?: Record<string, unknown> | undefined;
|
|
3157
|
+
body?: unknown;
|
|
3158
|
+
} | null | undefined;
|
|
3159
|
+
probe_data?: {
|
|
3160
|
+
version: 1;
|
|
3161
|
+
items: {
|
|
3162
|
+
data: Record<string, unknown>;
|
|
3163
|
+
label: string;
|
|
3164
|
+
timestamp: string;
|
|
3165
|
+
activation_id: string | null;
|
|
3166
|
+
}[];
|
|
3167
|
+
} | null | undefined;
|
|
3128
3168
|
logs?: {
|
|
3129
3169
|
version: 1;
|
|
3130
3170
|
items: {
|
|
@@ -3213,8 +3253,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
3213
3253
|
httpie: string | null;
|
|
3214
3254
|
json_spec: {
|
|
3215
3255
|
method: string;
|
|
3216
|
-
url: string;
|
|
3217
3256
|
headers: Record<string, unknown>;
|
|
3257
|
+
url: string;
|
|
3218
3258
|
query?: Record<string, unknown> | undefined;
|
|
3219
3259
|
body?: unknown;
|
|
3220
3260
|
} | null;
|
|
@@ -3340,32 +3380,6 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
3340
3380
|
os: string | null;
|
|
3341
3381
|
container_id: string | null;
|
|
3342
3382
|
} | null | undefined;
|
|
3343
|
-
request?: {
|
|
3344
|
-
path: string;
|
|
3345
|
-
method: string;
|
|
3346
|
-
version: 1;
|
|
3347
|
-
headers: Record<string, unknown>;
|
|
3348
|
-
request_id: string | null;
|
|
3349
|
-
query: Record<string, unknown>;
|
|
3350
|
-
route_template: string | null;
|
|
3351
|
-
body?: unknown;
|
|
3352
|
-
} | null | undefined;
|
|
3353
|
-
response?: {
|
|
3354
|
-
status_code: number;
|
|
3355
|
-
version: 1;
|
|
3356
|
-
duration_ms: number | null;
|
|
3357
|
-
headers?: Record<string, unknown> | undefined;
|
|
3358
|
-
body?: unknown;
|
|
3359
|
-
} | null | undefined;
|
|
3360
|
-
probe_data?: {
|
|
3361
|
-
version: 1;
|
|
3362
|
-
items: {
|
|
3363
|
-
data: Record<string, unknown>;
|
|
3364
|
-
label: string;
|
|
3365
|
-
timestamp: string;
|
|
3366
|
-
activation_id: string | null;
|
|
3367
|
-
}[];
|
|
3368
|
-
} | null | undefined;
|
|
3369
3383
|
device?: {
|
|
3370
3384
|
browser: {
|
|
3371
3385
|
version: string | null;
|
|
@@ -3392,6 +3406,32 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
3392
3406
|
connection_type: string | null;
|
|
3393
3407
|
color_scheme_preference: "light" | "dark" | "no-preference" | null;
|
|
3394
3408
|
} | null | undefined;
|
|
3409
|
+
request?: {
|
|
3410
|
+
path: string;
|
|
3411
|
+
method: string;
|
|
3412
|
+
version: 1;
|
|
3413
|
+
headers: Record<string, unknown>;
|
|
3414
|
+
request_id: string | null;
|
|
3415
|
+
query: Record<string, unknown>;
|
|
3416
|
+
route_template: string | null;
|
|
3417
|
+
body?: unknown;
|
|
3418
|
+
} | null | undefined;
|
|
3419
|
+
response?: {
|
|
3420
|
+
status_code: number;
|
|
3421
|
+
version: 1;
|
|
3422
|
+
duration_ms: number | null;
|
|
3423
|
+
headers?: Record<string, unknown> | undefined;
|
|
3424
|
+
body?: unknown;
|
|
3425
|
+
} | null | undefined;
|
|
3426
|
+
probe_data?: {
|
|
3427
|
+
version: 1;
|
|
3428
|
+
items: {
|
|
3429
|
+
data: Record<string, unknown>;
|
|
3430
|
+
label: string;
|
|
3431
|
+
timestamp: string;
|
|
3432
|
+
activation_id: string | null;
|
|
3433
|
+
}[];
|
|
3434
|
+
} | null | undefined;
|
|
3395
3435
|
logs?: {
|
|
3396
3436
|
version: 1;
|
|
3397
3437
|
items: {
|
|
@@ -3480,8 +3520,8 @@ export declare const BundleV1Schema: z.ZodObject<{
|
|
|
3480
3520
|
httpie: string | null;
|
|
3481
3521
|
json_spec: {
|
|
3482
3522
|
method: string;
|
|
3483
|
-
url: string;
|
|
3484
3523
|
headers: Record<string, unknown>;
|
|
3524
|
+
url: string;
|
|
3485
3525
|
query?: Record<string, unknown> | undefined;
|
|
3486
3526
|
body?: unknown;
|
|
3487
3527
|
} | null;
|
|
@@ -3574,7 +3614,7 @@ export type BundleV1 = z.infer<typeof BundleV1Schema>;
|
|
|
3574
3614
|
export { MAX_BILLING_ADDITIONAL_CAPACITY_UNITS, TIER_CAPABILITIES, getTierCapabilities, isSelfHostMode, type TierName, type TierCapabilities } from "./tier-capabilities.js";
|
|
3575
3615
|
export { EventClassValues, EventClassSchema, type EventClass, CapturePresetValues, CapturePresetSchema, type CapturePreset, CaptureLogsSchema, CaptureRequestEventsSchema, CaptureBreadcrumbsSchema, CaptureProbeEventsSchema, ImmediateClientErrorStatusesSchema, ImmediateClientErrorPathRuleSchema, ImmediateClientErrorPathRulesSchema, HTTP_METHOD_VALUES, RECOMMENDED_IMMEDIATE_CLIENT_ERROR_STATUSES, type CaptureLogs, type CaptureRequestEvents, type CaptureBreadcrumbs, type CaptureProbeEvents, type HttpMethod, type ImmediateClientErrorPathRule, ResolvedCapturePolicySchema, type ResolvedCapturePolicy, CapturePolicyOverridesSchema, type CapturePolicyOverrides, CapturePolicyResponseSchema, type CapturePolicyResponse, CapturePolicySchema, type CapturePolicyRecord, CapturePolicyUpdateSchema, type CapturePolicyUpdate, PRESET_DEFAULTS, DEFAULT_PRESET_BY_TIER, RequestSignalClassificationValues, RequestSignalClassificationSchema, type RequestSignalClassification, normalizeImmediateClientErrorStatuses, normalizeImmediateClientErrorPathRules, getCapturePolicyOverrides, resolvePolicy, getDefaultPreset, classifyRequestStatus, isImmediateRequestIncident, matchesImmediateClientErrorPathRule, getRequestAnomalyThreshold, shouldCaptureEvent, } from "./capture-policy.js";
|
|
3576
3616
|
export { isLowValueExternalProbeRequestFailure404 } from "./request-failure-noise.js";
|
|
3577
|
-
export { CaptureRuleActionValues, CaptureRuleActionSchema, type CaptureRuleAction, CaptureRuleSampleEventClassValues, CaptureRuleSampleEventClassSchema, type CaptureRuleSampleEventClass, CaptureRuleRuntimeSchema, type CaptureRuleRuntime, CaptureRuleEventTypeSchema, type CaptureRuleEventType, BrowserEventKindSchema, type BrowserEventKind, CaptureRuleMatcherSchema, type CaptureRuleMatcher, CaptureRuleSchema, type CaptureRule, CaptureRuleResponseSchema, type CaptureRuleResponse, CaptureRulesResponseSchema, type CaptureRulesResponse, CaptureRuleCreateSchema, type CaptureRuleCreate, CaptureRuleUpdateSchema, type CaptureRuleUpdate, CaptureRulesFileSchema, type CaptureRulesFile, CaptureRuleEvaluationContextSchema, type CaptureRuleEvaluationContext, type CaptureRuleEvaluationResult, type CaptureRuleEvaluableEvent, buildCaptureRuleEvaluationContext, applyCaptureRuleEventClass, matchesCaptureRule, isCaptureRuleActive, getCaptureRuleSpecificityScore, shouldSampleCaptureRuleEvent, evaluateCaptureRules, } from "./capture-rules.js";
|
|
3617
|
+
export { CaptureRuleActionValues, CaptureRuleActionSchema, type CaptureRuleAction, CaptureRuleSampleEventClassValues, CaptureRuleSampleEventClassSchema, type CaptureRuleSampleEventClass, CaptureRuleRuntimeSchema, type CaptureRuleRuntime, CaptureRuleEventTypeSchema, type CaptureRuleEventType, BrowserEventKindSchema, type BrowserEventKind, CaptureRuleClientKindSchema, type CaptureRuleClientKind, CaptureRuleMatcherSchema, type CaptureRuleMatcher, CaptureRuleSchema, type CaptureRule, CaptureRuleResponseSchema, type CaptureRuleResponse, CaptureRulesResponseSchema, type CaptureRulesResponse, CaptureRuleCreateSchema, type CaptureRuleCreate, CaptureRuleUpdateSchema, type CaptureRuleUpdate, CaptureRulesFileSchema, type CaptureRulesFile, CaptureRuleEvaluationContextSchema, type CaptureRuleEvaluationContext, type CaptureRuleEvaluationResult, type CaptureRuleEvaluableEvent, buildCaptureRuleEvaluationContext, applyCaptureRuleEventClass, matchesCaptureRule, isCaptureRuleActive, getCaptureRuleSpecificityScore, shouldSampleCaptureRuleEvent, classifyCaptureRuleClientFromUserAgent, evaluateCaptureRules, } from "./capture-rules.js";
|
|
3578
3618
|
export { CaptureRuleSuggestionConfidenceSchema, type CaptureRuleSuggestionConfidence, CaptureRuleSuggestionSchema, type CaptureRuleSuggestion, CaptureRuleSuggestionsResponseSchema, type CaptureRuleSuggestionsResponse, CreateCaptureRuleFromSuggestionSchema, type CreateCaptureRuleFromSuggestion, type CaptureRuleSuggestionIncident, type CaptureRuleSuggestionBundle, buildCaptureRuleSuggestions } from "./capture-rule-suggestions.js";
|
|
3579
3619
|
export { ImprovementBundleSensitivityValues, ImprovementBundleSensitivitySchema, type ImprovementBundleSensitivity, ImprovementSettingsSchema, type ImprovementSettings, ImprovementSettingsResponseSchema, type ImprovementSettingsResponse, ImprovementSettingsUpdateSchema, type ImprovementSettingsUpdate } from "./improvement-settings.js";
|
|
3580
3620
|
//# sourceMappingURL=index.d.ts.map
|