@debugbundle/shared-types 1.3.1 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1028 @@
1
+ import { z } from "zod";
2
+ export declare const AnalyticsOpportunityStatusValues: readonly ["open", "resolved", "snoozed"];
3
+ export declare const AnalyticsOpportunityStatusSchema: z.ZodEnum<["open", "resolved", "snoozed"]>;
4
+ export type AnalyticsOpportunityStatus = z.infer<typeof AnalyticsOpportunityStatusSchema>;
5
+ export declare const AnalyticsOpportunityBundleStatusValues: readonly ["not_requested", "pending", "running", "completed", "failed"];
6
+ export declare const AnalyticsOpportunityBundleStatusSchema: z.ZodEnum<["not_requested", "pending", "running", "completed", "failed"]>;
7
+ export type AnalyticsOpportunityBundleStatus = z.infer<typeof AnalyticsOpportunityBundleStatusSchema>;
8
+ export declare const AnalyticsBundleGenerationStatusValues: readonly ["pending", "running", "completed", "failed"];
9
+ export declare const AnalyticsBundleGenerationStatusSchema: z.ZodEnum<["pending", "running", "completed", "failed"]>;
10
+ export type AnalyticsBundleGenerationStatus = z.infer<typeof AnalyticsBundleGenerationStatusSchema>;
11
+ declare const AnalyticsOpportunityRecordSchema: z.ZodObject<{
12
+ opportunity_id: z.ZodString;
13
+ project_id: z.ZodString;
14
+ project_name: z.ZodString;
15
+ project_color_tag: z.ZodNullable<z.ZodString>;
16
+ service: z.ZodNullable<z.ZodString>;
17
+ environment: z.ZodNullable<z.ZodString>;
18
+ kind: z.ZodEnum<["usage_summary", "route_health", "funnel_dropoff", "journey_friction", "feature_usage", "incident_impact", "deploy_comparison", "conversion_path"]>;
19
+ status: z.ZodEnum<["open", "resolved", "snoozed"]>;
20
+ severity: z.ZodEnum<["low", "medium", "high"]>;
21
+ confidence: z.ZodNumber;
22
+ title: z.ZodString;
23
+ summary: z.ZodString;
24
+ evidence: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25
+ related_incident_ids: z.ZodArray<z.ZodString, "many">;
26
+ related_deploy_ids: z.ZodArray<z.ZodString, "many">;
27
+ first_detected_at: z.ZodString;
28
+ last_detected_at: z.ZodString;
29
+ resolved_at: z.ZodNullable<z.ZodString>;
30
+ snoozed_until: z.ZodNullable<z.ZodString>;
31
+ bundle_generation_id: z.ZodNullable<z.ZodString>;
32
+ bundle_status: z.ZodEnum<["not_requested", "pending", "running", "completed", "failed"]>;
33
+ bundle_created_at: z.ZodNullable<z.ZodString>;
34
+ bundle_updated_at: z.ZodNullable<z.ZodString>;
35
+ bundle_failure_reason: z.ZodNullable<z.ZodString>;
36
+ }, "strict", z.ZodTypeAny, {
37
+ status: "open" | "resolved" | "snoozed";
38
+ title: string;
39
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
40
+ project_id: string;
41
+ service: string | null;
42
+ environment: string | null;
43
+ summary: string;
44
+ opportunity_id: string;
45
+ project_name: string;
46
+ project_color_tag: string | null;
47
+ severity: "medium" | "low" | "high";
48
+ confidence: number;
49
+ evidence: Record<string, unknown>;
50
+ related_incident_ids: string[];
51
+ related_deploy_ids: string[];
52
+ first_detected_at: string;
53
+ last_detected_at: string;
54
+ resolved_at: string | null;
55
+ snoozed_until: string | null;
56
+ bundle_generation_id: string | null;
57
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
58
+ bundle_created_at: string | null;
59
+ bundle_updated_at: string | null;
60
+ bundle_failure_reason: string | null;
61
+ }, {
62
+ status: "open" | "resolved" | "snoozed";
63
+ title: string;
64
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
65
+ project_id: string;
66
+ service: string | null;
67
+ environment: string | null;
68
+ summary: string;
69
+ opportunity_id: string;
70
+ project_name: string;
71
+ project_color_tag: string | null;
72
+ severity: "medium" | "low" | "high";
73
+ confidence: number;
74
+ evidence: Record<string, unknown>;
75
+ related_incident_ids: string[];
76
+ related_deploy_ids: string[];
77
+ first_detected_at: string;
78
+ last_detected_at: string;
79
+ resolved_at: string | null;
80
+ snoozed_until: string | null;
81
+ bundle_generation_id: string | null;
82
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
83
+ bundle_created_at: string | null;
84
+ bundle_updated_at: string | null;
85
+ bundle_failure_reason: string | null;
86
+ }>;
87
+ export type AnalyticsOpportunityRecord = z.infer<typeof AnalyticsOpportunityRecordSchema>;
88
+ export declare const AnalyticsOpportunitiesListResponseSchema: z.ZodObject<{
89
+ opportunities: z.ZodArray<z.ZodObject<{
90
+ opportunity_id: z.ZodString;
91
+ project_id: z.ZodString;
92
+ project_name: z.ZodString;
93
+ project_color_tag: z.ZodNullable<z.ZodString>;
94
+ service: z.ZodNullable<z.ZodString>;
95
+ environment: z.ZodNullable<z.ZodString>;
96
+ kind: z.ZodEnum<["usage_summary", "route_health", "funnel_dropoff", "journey_friction", "feature_usage", "incident_impact", "deploy_comparison", "conversion_path"]>;
97
+ status: z.ZodEnum<["open", "resolved", "snoozed"]>;
98
+ severity: z.ZodEnum<["low", "medium", "high"]>;
99
+ confidence: z.ZodNumber;
100
+ title: z.ZodString;
101
+ summary: z.ZodString;
102
+ evidence: z.ZodRecord<z.ZodString, z.ZodUnknown>;
103
+ related_incident_ids: z.ZodArray<z.ZodString, "many">;
104
+ related_deploy_ids: z.ZodArray<z.ZodString, "many">;
105
+ first_detected_at: z.ZodString;
106
+ last_detected_at: z.ZodString;
107
+ resolved_at: z.ZodNullable<z.ZodString>;
108
+ snoozed_until: z.ZodNullable<z.ZodString>;
109
+ bundle_generation_id: z.ZodNullable<z.ZodString>;
110
+ bundle_status: z.ZodEnum<["not_requested", "pending", "running", "completed", "failed"]>;
111
+ bundle_created_at: z.ZodNullable<z.ZodString>;
112
+ bundle_updated_at: z.ZodNullable<z.ZodString>;
113
+ bundle_failure_reason: z.ZodNullable<z.ZodString>;
114
+ }, "strict", z.ZodTypeAny, {
115
+ status: "open" | "resolved" | "snoozed";
116
+ title: string;
117
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
118
+ project_id: string;
119
+ service: string | null;
120
+ environment: string | null;
121
+ summary: string;
122
+ opportunity_id: string;
123
+ project_name: string;
124
+ project_color_tag: string | null;
125
+ severity: "medium" | "low" | "high";
126
+ confidence: number;
127
+ evidence: Record<string, unknown>;
128
+ related_incident_ids: string[];
129
+ related_deploy_ids: string[];
130
+ first_detected_at: string;
131
+ last_detected_at: string;
132
+ resolved_at: string | null;
133
+ snoozed_until: string | null;
134
+ bundle_generation_id: string | null;
135
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
136
+ bundle_created_at: string | null;
137
+ bundle_updated_at: string | null;
138
+ bundle_failure_reason: string | null;
139
+ }, {
140
+ status: "open" | "resolved" | "snoozed";
141
+ title: string;
142
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
143
+ project_id: string;
144
+ service: string | null;
145
+ environment: string | null;
146
+ summary: string;
147
+ opportunity_id: string;
148
+ project_name: string;
149
+ project_color_tag: string | null;
150
+ severity: "medium" | "low" | "high";
151
+ confidence: number;
152
+ evidence: Record<string, unknown>;
153
+ related_incident_ids: string[];
154
+ related_deploy_ids: string[];
155
+ first_detected_at: string;
156
+ last_detected_at: string;
157
+ resolved_at: string | null;
158
+ snoozed_until: string | null;
159
+ bundle_generation_id: string | null;
160
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
161
+ bundle_created_at: string | null;
162
+ bundle_updated_at: string | null;
163
+ bundle_failure_reason: string | null;
164
+ }>, "many">;
165
+ next_cursor: z.ZodNullable<z.ZodString>;
166
+ }, "strict", z.ZodTypeAny, {
167
+ next_cursor: string | null;
168
+ opportunities: {
169
+ status: "open" | "resolved" | "snoozed";
170
+ title: string;
171
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
172
+ project_id: string;
173
+ service: string | null;
174
+ environment: string | null;
175
+ summary: string;
176
+ opportunity_id: string;
177
+ project_name: string;
178
+ project_color_tag: string | null;
179
+ severity: "medium" | "low" | "high";
180
+ confidence: number;
181
+ evidence: Record<string, unknown>;
182
+ related_incident_ids: string[];
183
+ related_deploy_ids: string[];
184
+ first_detected_at: string;
185
+ last_detected_at: string;
186
+ resolved_at: string | null;
187
+ snoozed_until: string | null;
188
+ bundle_generation_id: string | null;
189
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
190
+ bundle_created_at: string | null;
191
+ bundle_updated_at: string | null;
192
+ bundle_failure_reason: string | null;
193
+ }[];
194
+ }, {
195
+ next_cursor: string | null;
196
+ opportunities: {
197
+ status: "open" | "resolved" | "snoozed";
198
+ title: string;
199
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
200
+ project_id: string;
201
+ service: string | null;
202
+ environment: string | null;
203
+ summary: string;
204
+ opportunity_id: string;
205
+ project_name: string;
206
+ project_color_tag: string | null;
207
+ severity: "medium" | "low" | "high";
208
+ confidence: number;
209
+ evidence: Record<string, unknown>;
210
+ related_incident_ids: string[];
211
+ related_deploy_ids: string[];
212
+ first_detected_at: string;
213
+ last_detected_at: string;
214
+ resolved_at: string | null;
215
+ snoozed_until: string | null;
216
+ bundle_generation_id: string | null;
217
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
218
+ bundle_created_at: string | null;
219
+ bundle_updated_at: string | null;
220
+ bundle_failure_reason: string | null;
221
+ }[];
222
+ }>;
223
+ export type AnalyticsOpportunitiesListResponse = z.infer<typeof AnalyticsOpportunitiesListResponseSchema>;
224
+ export declare const AnalyticsOpportunityResponseSchema: z.ZodObject<{
225
+ opportunity: z.ZodObject<{
226
+ opportunity_id: z.ZodString;
227
+ project_id: z.ZodString;
228
+ project_name: z.ZodString;
229
+ project_color_tag: z.ZodNullable<z.ZodString>;
230
+ service: z.ZodNullable<z.ZodString>;
231
+ environment: z.ZodNullable<z.ZodString>;
232
+ kind: z.ZodEnum<["usage_summary", "route_health", "funnel_dropoff", "journey_friction", "feature_usage", "incident_impact", "deploy_comparison", "conversion_path"]>;
233
+ status: z.ZodEnum<["open", "resolved", "snoozed"]>;
234
+ severity: z.ZodEnum<["low", "medium", "high"]>;
235
+ confidence: z.ZodNumber;
236
+ title: z.ZodString;
237
+ summary: z.ZodString;
238
+ evidence: z.ZodRecord<z.ZodString, z.ZodUnknown>;
239
+ related_incident_ids: z.ZodArray<z.ZodString, "many">;
240
+ related_deploy_ids: z.ZodArray<z.ZodString, "many">;
241
+ first_detected_at: z.ZodString;
242
+ last_detected_at: z.ZodString;
243
+ resolved_at: z.ZodNullable<z.ZodString>;
244
+ snoozed_until: z.ZodNullable<z.ZodString>;
245
+ bundle_generation_id: z.ZodNullable<z.ZodString>;
246
+ bundle_status: z.ZodEnum<["not_requested", "pending", "running", "completed", "failed"]>;
247
+ bundle_created_at: z.ZodNullable<z.ZodString>;
248
+ bundle_updated_at: z.ZodNullable<z.ZodString>;
249
+ bundle_failure_reason: z.ZodNullable<z.ZodString>;
250
+ }, "strict", z.ZodTypeAny, {
251
+ status: "open" | "resolved" | "snoozed";
252
+ title: string;
253
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
254
+ project_id: string;
255
+ service: string | null;
256
+ environment: string | null;
257
+ summary: string;
258
+ opportunity_id: string;
259
+ project_name: string;
260
+ project_color_tag: string | null;
261
+ severity: "medium" | "low" | "high";
262
+ confidence: number;
263
+ evidence: Record<string, unknown>;
264
+ related_incident_ids: string[];
265
+ related_deploy_ids: string[];
266
+ first_detected_at: string;
267
+ last_detected_at: string;
268
+ resolved_at: string | null;
269
+ snoozed_until: string | null;
270
+ bundle_generation_id: string | null;
271
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
272
+ bundle_created_at: string | null;
273
+ bundle_updated_at: string | null;
274
+ bundle_failure_reason: string | null;
275
+ }, {
276
+ status: "open" | "resolved" | "snoozed";
277
+ title: string;
278
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
279
+ project_id: string;
280
+ service: string | null;
281
+ environment: string | null;
282
+ summary: string;
283
+ opportunity_id: string;
284
+ project_name: string;
285
+ project_color_tag: string | null;
286
+ severity: "medium" | "low" | "high";
287
+ confidence: number;
288
+ evidence: Record<string, unknown>;
289
+ related_incident_ids: string[];
290
+ related_deploy_ids: string[];
291
+ first_detected_at: string;
292
+ last_detected_at: string;
293
+ resolved_at: string | null;
294
+ snoozed_until: string | null;
295
+ bundle_generation_id: string | null;
296
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
297
+ bundle_created_at: string | null;
298
+ bundle_updated_at: string | null;
299
+ bundle_failure_reason: string | null;
300
+ }>;
301
+ }, "strict", z.ZodTypeAny, {
302
+ opportunity: {
303
+ status: "open" | "resolved" | "snoozed";
304
+ title: string;
305
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
306
+ project_id: string;
307
+ service: string | null;
308
+ environment: string | null;
309
+ summary: string;
310
+ opportunity_id: string;
311
+ project_name: string;
312
+ project_color_tag: string | null;
313
+ severity: "medium" | "low" | "high";
314
+ confidence: number;
315
+ evidence: Record<string, unknown>;
316
+ related_incident_ids: string[];
317
+ related_deploy_ids: string[];
318
+ first_detected_at: string;
319
+ last_detected_at: string;
320
+ resolved_at: string | null;
321
+ snoozed_until: string | null;
322
+ bundle_generation_id: string | null;
323
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
324
+ bundle_created_at: string | null;
325
+ bundle_updated_at: string | null;
326
+ bundle_failure_reason: string | null;
327
+ };
328
+ }, {
329
+ opportunity: {
330
+ status: "open" | "resolved" | "snoozed";
331
+ title: string;
332
+ kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
333
+ project_id: string;
334
+ service: string | null;
335
+ environment: string | null;
336
+ summary: string;
337
+ opportunity_id: string;
338
+ project_name: string;
339
+ project_color_tag: string | null;
340
+ severity: "medium" | "low" | "high";
341
+ confidence: number;
342
+ evidence: Record<string, unknown>;
343
+ related_incident_ids: string[];
344
+ related_deploy_ids: string[];
345
+ first_detected_at: string;
346
+ last_detected_at: string;
347
+ resolved_at: string | null;
348
+ snoozed_until: string | null;
349
+ bundle_generation_id: string | null;
350
+ bundle_status: "not_requested" | "pending" | "running" | "completed" | "failed";
351
+ bundle_created_at: string | null;
352
+ bundle_updated_at: string | null;
353
+ bundle_failure_reason: string | null;
354
+ };
355
+ }>;
356
+ export type AnalyticsOpportunityResponse = z.infer<typeof AnalyticsOpportunityResponseSchema>;
357
+ export declare const AnalyticsBundleGenerationRecordSchema: z.ZodObject<{
358
+ generation_id: z.ZodString;
359
+ project_id: z.ZodString;
360
+ project_name: z.ZodOptional<z.ZodString>;
361
+ project_color_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
362
+ opportunity_id: z.ZodNullable<z.ZodString>;
363
+ requested_by_user_id: z.ZodNullable<z.ZodString>;
364
+ analysis_kind: z.ZodEnum<["usage_summary", "route_health", "funnel_dropoff", "journey_friction", "feature_usage", "incident_impact", "deploy_comparison", "conversion_path"]>;
365
+ analysis_spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
366
+ input_fingerprint: z.ZodString;
367
+ status: z.ZodEnum<["pending", "running", "completed", "failed"]>;
368
+ has_artifact: z.ZodBoolean;
369
+ failure_reason: z.ZodNullable<z.ZodString>;
370
+ created_at: z.ZodString;
371
+ claimed_at: z.ZodNullable<z.ZodString>;
372
+ completed_at: z.ZodNullable<z.ZodString>;
373
+ updated_at: z.ZodString;
374
+ }, "strict", z.ZodTypeAny, {
375
+ status: "pending" | "running" | "completed" | "failed";
376
+ project_id: string;
377
+ has_artifact: boolean;
378
+ created_at: string;
379
+ generation_id: string;
380
+ failure_reason: string | null;
381
+ opportunity_id: string | null;
382
+ requested_by_user_id: string | null;
383
+ analysis_kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
384
+ analysis_spec: Record<string, unknown>;
385
+ input_fingerprint: string;
386
+ claimed_at: string | null;
387
+ completed_at: string | null;
388
+ updated_at: string;
389
+ project_name?: string | undefined;
390
+ project_color_tag?: string | null | undefined;
391
+ }, {
392
+ status: "pending" | "running" | "completed" | "failed";
393
+ project_id: string;
394
+ has_artifact: boolean;
395
+ created_at: string;
396
+ generation_id: string;
397
+ failure_reason: string | null;
398
+ opportunity_id: string | null;
399
+ requested_by_user_id: string | null;
400
+ analysis_kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
401
+ analysis_spec: Record<string, unknown>;
402
+ input_fingerprint: string;
403
+ claimed_at: string | null;
404
+ completed_at: string | null;
405
+ updated_at: string;
406
+ project_name?: string | undefined;
407
+ project_color_tag?: string | null | undefined;
408
+ }>;
409
+ export type AnalyticsBundleGenerationRecord = z.infer<typeof AnalyticsBundleGenerationRecordSchema>;
410
+ export declare const AnalyticsBundleGenerationsListResponseSchema: z.ZodObject<{
411
+ bundles: z.ZodArray<z.ZodObject<{
412
+ generation_id: z.ZodString;
413
+ project_id: z.ZodString;
414
+ project_name: z.ZodOptional<z.ZodString>;
415
+ project_color_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
416
+ opportunity_id: z.ZodNullable<z.ZodString>;
417
+ requested_by_user_id: z.ZodNullable<z.ZodString>;
418
+ analysis_kind: z.ZodEnum<["usage_summary", "route_health", "funnel_dropoff", "journey_friction", "feature_usage", "incident_impact", "deploy_comparison", "conversion_path"]>;
419
+ analysis_spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
420
+ input_fingerprint: z.ZodString;
421
+ status: z.ZodEnum<["pending", "running", "completed", "failed"]>;
422
+ has_artifact: z.ZodBoolean;
423
+ failure_reason: z.ZodNullable<z.ZodString>;
424
+ created_at: z.ZodString;
425
+ claimed_at: z.ZodNullable<z.ZodString>;
426
+ completed_at: z.ZodNullable<z.ZodString>;
427
+ updated_at: z.ZodString;
428
+ }, "strict", z.ZodTypeAny, {
429
+ status: "pending" | "running" | "completed" | "failed";
430
+ project_id: string;
431
+ has_artifact: boolean;
432
+ created_at: string;
433
+ generation_id: string;
434
+ failure_reason: string | null;
435
+ opportunity_id: string | null;
436
+ requested_by_user_id: string | null;
437
+ analysis_kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
438
+ analysis_spec: Record<string, unknown>;
439
+ input_fingerprint: string;
440
+ claimed_at: string | null;
441
+ completed_at: string | null;
442
+ updated_at: string;
443
+ project_name?: string | undefined;
444
+ project_color_tag?: string | null | undefined;
445
+ }, {
446
+ status: "pending" | "running" | "completed" | "failed";
447
+ project_id: string;
448
+ has_artifact: boolean;
449
+ created_at: string;
450
+ generation_id: string;
451
+ failure_reason: string | null;
452
+ opportunity_id: string | null;
453
+ requested_by_user_id: string | null;
454
+ analysis_kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
455
+ analysis_spec: Record<string, unknown>;
456
+ input_fingerprint: string;
457
+ claimed_at: string | null;
458
+ completed_at: string | null;
459
+ updated_at: string;
460
+ project_name?: string | undefined;
461
+ project_color_tag?: string | null | undefined;
462
+ }>, "many">;
463
+ next_cursor: z.ZodNullable<z.ZodString>;
464
+ }, "strict", z.ZodTypeAny, {
465
+ next_cursor: string | null;
466
+ bundles: {
467
+ status: "pending" | "running" | "completed" | "failed";
468
+ project_id: string;
469
+ has_artifact: boolean;
470
+ created_at: string;
471
+ generation_id: string;
472
+ failure_reason: string | null;
473
+ opportunity_id: string | null;
474
+ requested_by_user_id: string | null;
475
+ analysis_kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
476
+ analysis_spec: Record<string, unknown>;
477
+ input_fingerprint: string;
478
+ claimed_at: string | null;
479
+ completed_at: string | null;
480
+ updated_at: string;
481
+ project_name?: string | undefined;
482
+ project_color_tag?: string | null | undefined;
483
+ }[];
484
+ }, {
485
+ next_cursor: string | null;
486
+ bundles: {
487
+ status: "pending" | "running" | "completed" | "failed";
488
+ project_id: string;
489
+ has_artifact: boolean;
490
+ created_at: string;
491
+ generation_id: string;
492
+ failure_reason: string | null;
493
+ opportunity_id: string | null;
494
+ requested_by_user_id: string | null;
495
+ analysis_kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
496
+ analysis_spec: Record<string, unknown>;
497
+ input_fingerprint: string;
498
+ claimed_at: string | null;
499
+ completed_at: string | null;
500
+ updated_at: string;
501
+ project_name?: string | undefined;
502
+ project_color_tag?: string | null | undefined;
503
+ }[];
504
+ }>;
505
+ export type AnalyticsBundleGenerationsListResponse = z.infer<typeof AnalyticsBundleGenerationsListResponseSchema>;
506
+ export declare const AnalyticsBundleV1Schema: z.ZodObject<{
507
+ schema_version: z.ZodLiteral<"analytics_bundle.v1">;
508
+ bundle_type: z.ZodLiteral<"analytics">;
509
+ analysis_kind: z.ZodEnum<["usage_summary", "route_health", "funnel_dropoff", "journey_friction", "feature_usage", "incident_impact", "deploy_comparison", "conversion_path"]>;
510
+ project: z.ZodObject<{
511
+ project_id: z.ZodString;
512
+ service: z.ZodNullable<z.ZodString>;
513
+ environment: z.ZodNullable<z.ZodString>;
514
+ }, "strict", z.ZodTypeAny, {
515
+ project_id: string;
516
+ service: string | null;
517
+ environment: string | null;
518
+ }, {
519
+ project_id: string;
520
+ service: string | null;
521
+ environment: string | null;
522
+ }>;
523
+ analysis_window: z.ZodEffects<z.ZodObject<{
524
+ from: z.ZodString;
525
+ to: z.ZodString;
526
+ granularity: z.ZodEnum<["hour", "day", "week", "month"]>;
527
+ }, "strict", z.ZodTypeAny, {
528
+ from: string;
529
+ to: string;
530
+ granularity: "hour" | "day" | "week" | "month";
531
+ }, {
532
+ from: string;
533
+ to: string;
534
+ granularity: "hour" | "day" | "week" | "month";
535
+ }>, {
536
+ from: string;
537
+ to: string;
538
+ granularity: "hour" | "day" | "week" | "month";
539
+ }, {
540
+ from: string;
541
+ to: string;
542
+ granularity: "hour" | "day" | "week" | "month";
543
+ }>;
544
+ summary: z.ZodObject<{
545
+ title: z.ZodString;
546
+ description: z.ZodString;
547
+ confidence: z.ZodEnum<["low", "medium", "high"]>;
548
+ severity: z.ZodEnum<["low", "medium", "high"]>;
549
+ }, "strict", z.ZodTypeAny, {
550
+ title: string;
551
+ severity: "medium" | "low" | "high";
552
+ confidence: "medium" | "low" | "high";
553
+ description: string;
554
+ }, {
555
+ title: string;
556
+ severity: "medium" | "low" | "high";
557
+ confidence: "medium" | "low" | "high";
558
+ description: string;
559
+ }>;
560
+ metrics: z.ZodObject<{
561
+ sessions_analyzed: z.ZodNumber;
562
+ affected_sessions: z.ZodNullable<z.ZodNumber>;
563
+ baseline: z.ZodRecord<z.ZodString, z.ZodUnknown>;
564
+ current: z.ZodRecord<z.ZodString, z.ZodUnknown>;
565
+ }, "strict", z.ZodTypeAny, {
566
+ affected_sessions: number | null;
567
+ sessions_analyzed: number;
568
+ baseline: Record<string, unknown>;
569
+ current: Record<string, unknown>;
570
+ }, {
571
+ affected_sessions: number | null;
572
+ sessions_analyzed: number;
573
+ baseline: Record<string, unknown>;
574
+ current: Record<string, unknown>;
575
+ }>;
576
+ segments: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
577
+ journey_patterns: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
578
+ representative_journeys: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
579
+ linked_incidents: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
580
+ linked_deploys: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
581
+ recommendations: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
582
+ redaction: z.ZodObject<{
583
+ rules_applied: z.ZodArray<z.ZodString, "many">;
584
+ omitted_fields: z.ZodArray<z.ZodString, "many">;
585
+ }, "strict", z.ZodTypeAny, {
586
+ rules_applied: string[];
587
+ omitted_fields: string[];
588
+ }, {
589
+ rules_applied: string[];
590
+ omitted_fields: string[];
591
+ }>;
592
+ metadata: z.ZodObject<{
593
+ input_fingerprint: z.ZodString;
594
+ }, "strict", z.ZodTypeAny, {
595
+ input_fingerprint: string;
596
+ }, {
597
+ input_fingerprint: string;
598
+ }>;
599
+ }, "strict", z.ZodTypeAny, {
600
+ schema_version: "analytics_bundle.v1";
601
+ summary: {
602
+ title: string;
603
+ severity: "medium" | "low" | "high";
604
+ confidence: "medium" | "low" | "high";
605
+ description: string;
606
+ };
607
+ journey_patterns: Record<string, unknown>[];
608
+ analysis_kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
609
+ bundle_type: "analytics";
610
+ project: {
611
+ project_id: string;
612
+ service: string | null;
613
+ environment: string | null;
614
+ };
615
+ analysis_window: {
616
+ from: string;
617
+ to: string;
618
+ granularity: "hour" | "day" | "week" | "month";
619
+ };
620
+ metrics: {
621
+ affected_sessions: number | null;
622
+ sessions_analyzed: number;
623
+ baseline: Record<string, unknown>;
624
+ current: Record<string, unknown>;
625
+ };
626
+ segments: Record<string, unknown>[];
627
+ representative_journeys: Record<string, unknown>[];
628
+ linked_incidents: Record<string, unknown>[];
629
+ linked_deploys: Record<string, unknown>[];
630
+ recommendations: Record<string, unknown>[];
631
+ redaction: {
632
+ rules_applied: string[];
633
+ omitted_fields: string[];
634
+ };
635
+ metadata: {
636
+ input_fingerprint: string;
637
+ };
638
+ }, {
639
+ schema_version: "analytics_bundle.v1";
640
+ summary: {
641
+ title: string;
642
+ severity: "medium" | "low" | "high";
643
+ confidence: "medium" | "low" | "high";
644
+ description: string;
645
+ };
646
+ journey_patterns: Record<string, unknown>[];
647
+ analysis_kind: "usage_summary" | "route_health" | "funnel_dropoff" | "journey_friction" | "feature_usage" | "incident_impact" | "deploy_comparison" | "conversion_path";
648
+ bundle_type: "analytics";
649
+ project: {
650
+ project_id: string;
651
+ service: string | null;
652
+ environment: string | null;
653
+ };
654
+ analysis_window: {
655
+ from: string;
656
+ to: string;
657
+ granularity: "hour" | "day" | "week" | "month";
658
+ };
659
+ metrics: {
660
+ affected_sessions: number | null;
661
+ sessions_analyzed: number;
662
+ baseline: Record<string, unknown>;
663
+ current: Record<string, unknown>;
664
+ };
665
+ segments: Record<string, unknown>[];
666
+ representative_journeys: Record<string, unknown>[];
667
+ linked_incidents: Record<string, unknown>[];
668
+ linked_deploys: Record<string, unknown>[];
669
+ recommendations: Record<string, unknown>[];
670
+ redaction: {
671
+ rules_applied: string[];
672
+ omitted_fields: string[];
673
+ };
674
+ metadata: {
675
+ input_fingerprint: string;
676
+ };
677
+ }>;
678
+ export type AnalyticsBundleV1 = z.infer<typeof AnalyticsBundleV1Schema>;
679
+ export declare const AnalyticsSettingsSchema: z.ZodEffects<z.ZodObject<{
680
+ enabled: z.ZodBoolean;
681
+ privacy_mode: z.ZodEnum<["strict", "standard", "custom"]>;
682
+ consent_required: z.ZodBoolean;
683
+ capture_page_views: z.ZodBoolean;
684
+ capture_route_changes: z.ZodBoolean;
685
+ capture_actions: z.ZodBoolean;
686
+ capture_friction_signals: z.ZodBoolean;
687
+ journey_sample_rate: z.ZodNumber;
688
+ raw_retention_days: z.ZodNumber;
689
+ sample_retention_days: z.ZodNumber;
690
+ hourly_retention_days: z.ZodNumber;
691
+ aggregate_retention_months: z.ZodNumber;
692
+ max_saved_funnels: z.ZodNumber;
693
+ max_custom_dimensions: z.ZodNumber;
694
+ approved_custom_dimensions: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
695
+ }, "strict", z.ZodTypeAny, {
696
+ enabled: boolean;
697
+ privacy_mode: "strict" | "custom" | "standard";
698
+ consent_required: boolean;
699
+ capture_page_views: boolean;
700
+ capture_route_changes: boolean;
701
+ capture_actions: boolean;
702
+ capture_friction_signals: boolean;
703
+ journey_sample_rate: number;
704
+ raw_retention_days: number;
705
+ sample_retention_days: number;
706
+ hourly_retention_days: number;
707
+ aggregate_retention_months: number;
708
+ max_saved_funnels: number;
709
+ max_custom_dimensions: number;
710
+ approved_custom_dimensions: string[];
711
+ }, {
712
+ enabled: boolean;
713
+ privacy_mode: "strict" | "custom" | "standard";
714
+ consent_required: boolean;
715
+ capture_page_views: boolean;
716
+ capture_route_changes: boolean;
717
+ capture_actions: boolean;
718
+ capture_friction_signals: boolean;
719
+ journey_sample_rate: number;
720
+ raw_retention_days: number;
721
+ sample_retention_days: number;
722
+ hourly_retention_days: number;
723
+ aggregate_retention_months: number;
724
+ max_saved_funnels: number;
725
+ max_custom_dimensions: number;
726
+ approved_custom_dimensions: string[];
727
+ }>, {
728
+ enabled: boolean;
729
+ privacy_mode: "strict" | "custom" | "standard";
730
+ consent_required: boolean;
731
+ capture_page_views: boolean;
732
+ capture_route_changes: boolean;
733
+ capture_actions: boolean;
734
+ capture_friction_signals: boolean;
735
+ journey_sample_rate: number;
736
+ raw_retention_days: number;
737
+ sample_retention_days: number;
738
+ hourly_retention_days: number;
739
+ aggregate_retention_months: number;
740
+ max_saved_funnels: number;
741
+ max_custom_dimensions: number;
742
+ approved_custom_dimensions: string[];
743
+ }, {
744
+ enabled: boolean;
745
+ privacy_mode: "strict" | "custom" | "standard";
746
+ consent_required: boolean;
747
+ capture_page_views: boolean;
748
+ capture_route_changes: boolean;
749
+ capture_actions: boolean;
750
+ capture_friction_signals: boolean;
751
+ journey_sample_rate: number;
752
+ raw_retention_days: number;
753
+ sample_retention_days: number;
754
+ hourly_retention_days: number;
755
+ aggregate_retention_months: number;
756
+ max_saved_funnels: number;
757
+ max_custom_dimensions: number;
758
+ approved_custom_dimensions: string[];
759
+ }>;
760
+ export type AnalyticsSettings = z.infer<typeof AnalyticsSettingsSchema>;
761
+ export declare const AnalyticsSdkConfigSchema: z.ZodObject<{
762
+ enabled: z.ZodBoolean;
763
+ privacy_mode: z.ZodEnum<["strict", "standard", "custom"]>;
764
+ consent_required: z.ZodBoolean;
765
+ capture_page_views: z.ZodBoolean;
766
+ capture_route_changes: z.ZodBoolean;
767
+ capture_actions: z.ZodBoolean;
768
+ capture_friction_signals: z.ZodBoolean;
769
+ }, "strict", z.ZodTypeAny, {
770
+ enabled: boolean;
771
+ privacy_mode: "strict" | "custom" | "standard";
772
+ consent_required: boolean;
773
+ capture_page_views: boolean;
774
+ capture_route_changes: boolean;
775
+ capture_actions: boolean;
776
+ capture_friction_signals: boolean;
777
+ }, {
778
+ enabled: boolean;
779
+ privacy_mode: "strict" | "custom" | "standard";
780
+ consent_required: boolean;
781
+ capture_page_views: boolean;
782
+ capture_route_changes: boolean;
783
+ capture_actions: boolean;
784
+ capture_friction_signals: boolean;
785
+ }>;
786
+ export type AnalyticsSdkConfig = z.infer<typeof AnalyticsSdkConfigSchema>;
787
+ export declare const AnalyticsSettingsResponseSchema: z.ZodObject<{
788
+ access_mode: z.ZodEnum<["manage", "preview"]>;
789
+ analytics_available: z.ZodBoolean;
790
+ settings: z.ZodEffects<z.ZodObject<{
791
+ enabled: z.ZodBoolean;
792
+ privacy_mode: z.ZodEnum<["strict", "standard", "custom"]>;
793
+ consent_required: z.ZodBoolean;
794
+ capture_page_views: z.ZodBoolean;
795
+ capture_route_changes: z.ZodBoolean;
796
+ capture_actions: z.ZodBoolean;
797
+ capture_friction_signals: z.ZodBoolean;
798
+ journey_sample_rate: z.ZodNumber;
799
+ raw_retention_days: z.ZodNumber;
800
+ sample_retention_days: z.ZodNumber;
801
+ hourly_retention_days: z.ZodNumber;
802
+ aggregate_retention_months: z.ZodNumber;
803
+ max_saved_funnels: z.ZodNumber;
804
+ max_custom_dimensions: z.ZodNumber;
805
+ approved_custom_dimensions: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
806
+ }, "strict", z.ZodTypeAny, {
807
+ enabled: boolean;
808
+ privacy_mode: "strict" | "custom" | "standard";
809
+ consent_required: boolean;
810
+ capture_page_views: boolean;
811
+ capture_route_changes: boolean;
812
+ capture_actions: boolean;
813
+ capture_friction_signals: boolean;
814
+ journey_sample_rate: number;
815
+ raw_retention_days: number;
816
+ sample_retention_days: number;
817
+ hourly_retention_days: number;
818
+ aggregate_retention_months: number;
819
+ max_saved_funnels: number;
820
+ max_custom_dimensions: number;
821
+ approved_custom_dimensions: string[];
822
+ }, {
823
+ enabled: boolean;
824
+ privacy_mode: "strict" | "custom" | "standard";
825
+ consent_required: boolean;
826
+ capture_page_views: boolean;
827
+ capture_route_changes: boolean;
828
+ capture_actions: boolean;
829
+ capture_friction_signals: boolean;
830
+ journey_sample_rate: number;
831
+ raw_retention_days: number;
832
+ sample_retention_days: number;
833
+ hourly_retention_days: number;
834
+ aggregate_retention_months: number;
835
+ max_saved_funnels: number;
836
+ max_custom_dimensions: number;
837
+ approved_custom_dimensions: string[];
838
+ }>, {
839
+ enabled: boolean;
840
+ privacy_mode: "strict" | "custom" | "standard";
841
+ consent_required: boolean;
842
+ capture_page_views: boolean;
843
+ capture_route_changes: boolean;
844
+ capture_actions: boolean;
845
+ capture_friction_signals: boolean;
846
+ journey_sample_rate: number;
847
+ raw_retention_days: number;
848
+ sample_retention_days: number;
849
+ hourly_retention_days: number;
850
+ aggregate_retention_months: number;
851
+ max_saved_funnels: number;
852
+ max_custom_dimensions: number;
853
+ approved_custom_dimensions: string[];
854
+ }, {
855
+ enabled: boolean;
856
+ privacy_mode: "strict" | "custom" | "standard";
857
+ consent_required: boolean;
858
+ capture_page_views: boolean;
859
+ capture_route_changes: boolean;
860
+ capture_actions: boolean;
861
+ capture_friction_signals: boolean;
862
+ journey_sample_rate: number;
863
+ raw_retention_days: number;
864
+ sample_retention_days: number;
865
+ hourly_retention_days: number;
866
+ aggregate_retention_months: number;
867
+ max_saved_funnels: number;
868
+ max_custom_dimensions: number;
869
+ approved_custom_dimensions: string[];
870
+ }>;
871
+ }, "strict", z.ZodTypeAny, {
872
+ access_mode: "manage" | "preview";
873
+ analytics_available: boolean;
874
+ settings: {
875
+ enabled: boolean;
876
+ privacy_mode: "strict" | "custom" | "standard";
877
+ consent_required: boolean;
878
+ capture_page_views: boolean;
879
+ capture_route_changes: boolean;
880
+ capture_actions: boolean;
881
+ capture_friction_signals: boolean;
882
+ journey_sample_rate: number;
883
+ raw_retention_days: number;
884
+ sample_retention_days: number;
885
+ hourly_retention_days: number;
886
+ aggregate_retention_months: number;
887
+ max_saved_funnels: number;
888
+ max_custom_dimensions: number;
889
+ approved_custom_dimensions: string[];
890
+ };
891
+ }, {
892
+ access_mode: "manage" | "preview";
893
+ analytics_available: boolean;
894
+ settings: {
895
+ enabled: boolean;
896
+ privacy_mode: "strict" | "custom" | "standard";
897
+ consent_required: boolean;
898
+ capture_page_views: boolean;
899
+ capture_route_changes: boolean;
900
+ capture_actions: boolean;
901
+ capture_friction_signals: boolean;
902
+ journey_sample_rate: number;
903
+ raw_retention_days: number;
904
+ sample_retention_days: number;
905
+ hourly_retention_days: number;
906
+ aggregate_retention_months: number;
907
+ max_saved_funnels: number;
908
+ max_custom_dimensions: number;
909
+ approved_custom_dimensions: string[];
910
+ };
911
+ }>;
912
+ export type AnalyticsSettingsResponse = z.infer<typeof AnalyticsSettingsResponseSchema>;
913
+ export declare const AnalyticsSettingsUpdateSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
914
+ enabled: z.ZodOptional<z.ZodBoolean>;
915
+ privacy_mode: z.ZodOptional<z.ZodEnum<["strict", "standard", "custom"]>>;
916
+ consent_required: z.ZodOptional<z.ZodBoolean>;
917
+ capture_page_views: z.ZodOptional<z.ZodBoolean>;
918
+ capture_route_changes: z.ZodOptional<z.ZodBoolean>;
919
+ capture_actions: z.ZodOptional<z.ZodBoolean>;
920
+ capture_friction_signals: z.ZodOptional<z.ZodBoolean>;
921
+ journey_sample_rate: z.ZodOptional<z.ZodNumber>;
922
+ raw_retention_days: z.ZodOptional<z.ZodNumber>;
923
+ sample_retention_days: z.ZodOptional<z.ZodNumber>;
924
+ hourly_retention_days: z.ZodOptional<z.ZodNumber>;
925
+ aggregate_retention_months: z.ZodOptional<z.ZodNumber>;
926
+ max_saved_funnels: z.ZodOptional<z.ZodNumber>;
927
+ max_custom_dimensions: z.ZodOptional<z.ZodNumber>;
928
+ approved_custom_dimensions: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
929
+ }, "strict", z.ZodTypeAny, {
930
+ enabled?: boolean | undefined;
931
+ privacy_mode?: "strict" | "custom" | "standard" | undefined;
932
+ consent_required?: boolean | undefined;
933
+ capture_page_views?: boolean | undefined;
934
+ capture_route_changes?: boolean | undefined;
935
+ capture_actions?: boolean | undefined;
936
+ capture_friction_signals?: boolean | undefined;
937
+ journey_sample_rate?: number | undefined;
938
+ raw_retention_days?: number | undefined;
939
+ sample_retention_days?: number | undefined;
940
+ hourly_retention_days?: number | undefined;
941
+ aggregate_retention_months?: number | undefined;
942
+ max_saved_funnels?: number | undefined;
943
+ max_custom_dimensions?: number | undefined;
944
+ approved_custom_dimensions?: string[] | undefined;
945
+ }, {
946
+ enabled?: boolean | undefined;
947
+ privacy_mode?: "strict" | "custom" | "standard" | undefined;
948
+ consent_required?: boolean | undefined;
949
+ capture_page_views?: boolean | undefined;
950
+ capture_route_changes?: boolean | undefined;
951
+ capture_actions?: boolean | undefined;
952
+ capture_friction_signals?: boolean | undefined;
953
+ journey_sample_rate?: number | undefined;
954
+ raw_retention_days?: number | undefined;
955
+ sample_retention_days?: number | undefined;
956
+ hourly_retention_days?: number | undefined;
957
+ aggregate_retention_months?: number | undefined;
958
+ max_saved_funnels?: number | undefined;
959
+ max_custom_dimensions?: number | undefined;
960
+ approved_custom_dimensions?: string[] | undefined;
961
+ }>, {
962
+ enabled?: boolean | undefined;
963
+ privacy_mode?: "strict" | "custom" | "standard" | undefined;
964
+ consent_required?: boolean | undefined;
965
+ capture_page_views?: boolean | undefined;
966
+ capture_route_changes?: boolean | undefined;
967
+ capture_actions?: boolean | undefined;
968
+ capture_friction_signals?: boolean | undefined;
969
+ journey_sample_rate?: number | undefined;
970
+ raw_retention_days?: number | undefined;
971
+ sample_retention_days?: number | undefined;
972
+ hourly_retention_days?: number | undefined;
973
+ aggregate_retention_months?: number | undefined;
974
+ max_saved_funnels?: number | undefined;
975
+ max_custom_dimensions?: number | undefined;
976
+ approved_custom_dimensions?: string[] | undefined;
977
+ }, {
978
+ enabled?: boolean | undefined;
979
+ privacy_mode?: "strict" | "custom" | "standard" | undefined;
980
+ consent_required?: boolean | undefined;
981
+ capture_page_views?: boolean | undefined;
982
+ capture_route_changes?: boolean | undefined;
983
+ capture_actions?: boolean | undefined;
984
+ capture_friction_signals?: boolean | undefined;
985
+ journey_sample_rate?: number | undefined;
986
+ raw_retention_days?: number | undefined;
987
+ sample_retention_days?: number | undefined;
988
+ hourly_retention_days?: number | undefined;
989
+ aggregate_retention_months?: number | undefined;
990
+ max_saved_funnels?: number | undefined;
991
+ max_custom_dimensions?: number | undefined;
992
+ approved_custom_dimensions?: string[] | undefined;
993
+ }>, {
994
+ enabled?: boolean | undefined;
995
+ privacy_mode?: "strict" | "custom" | "standard" | undefined;
996
+ consent_required?: boolean | undefined;
997
+ capture_page_views?: boolean | undefined;
998
+ capture_route_changes?: boolean | undefined;
999
+ capture_actions?: boolean | undefined;
1000
+ capture_friction_signals?: boolean | undefined;
1001
+ journey_sample_rate?: number | undefined;
1002
+ raw_retention_days?: number | undefined;
1003
+ sample_retention_days?: number | undefined;
1004
+ hourly_retention_days?: number | undefined;
1005
+ aggregate_retention_months?: number | undefined;
1006
+ max_saved_funnels?: number | undefined;
1007
+ max_custom_dimensions?: number | undefined;
1008
+ approved_custom_dimensions?: string[] | undefined;
1009
+ }, {
1010
+ enabled?: boolean | undefined;
1011
+ privacy_mode?: "strict" | "custom" | "standard" | undefined;
1012
+ consent_required?: boolean | undefined;
1013
+ capture_page_views?: boolean | undefined;
1014
+ capture_route_changes?: boolean | undefined;
1015
+ capture_actions?: boolean | undefined;
1016
+ capture_friction_signals?: boolean | undefined;
1017
+ journey_sample_rate?: number | undefined;
1018
+ raw_retention_days?: number | undefined;
1019
+ sample_retention_days?: number | undefined;
1020
+ hourly_retention_days?: number | undefined;
1021
+ aggregate_retention_months?: number | undefined;
1022
+ max_saved_funnels?: number | undefined;
1023
+ max_custom_dimensions?: number | undefined;
1024
+ approved_custom_dimensions?: string[] | undefined;
1025
+ }>;
1026
+ export type AnalyticsSettingsUpdate = z.infer<typeof AnalyticsSettingsUpdateSchema>;
1027
+ export {};
1028
+ //# sourceMappingURL=analytics-product.d.ts.map