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