@debugbundle/shared-types 2.6.0 → 3.0.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 (108) 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 +342 -2181
  22. package/dist/analytics.d.ts.map +1 -1
  23. package/dist/analytics.js +9 -9
  24. package/dist/browser-resource-context.d.ts +35 -129
  25. package/dist/browser-resource-context.d.ts.map +1 -1
  26. package/dist/browser-resource-routes.d.ts +6 -27
  27. package/dist/browser-resource-routes.d.ts.map +1 -1
  28. package/dist/bundle-evidence.d.ts +101 -0
  29. package/dist/bundle-evidence.d.ts.map +1 -0
  30. package/dist/bundle-evidence.js +69 -0
  31. package/dist/bundle-evidence.js.map +1 -0
  32. package/dist/capture-policy.d.ts +311 -319
  33. package/dist/capture-policy.d.ts.map +1 -1
  34. package/dist/capture-policy.js +70 -29
  35. package/dist/capture-policy.js.map +1 -1
  36. package/dist/capture-rule-evaluation.d.ts +53 -154
  37. package/dist/capture-rule-evaluation.d.ts.map +1 -1
  38. package/dist/capture-rule-evaluation.js +1 -1
  39. package/dist/capture-rule-schemas.d.ts +788 -3226
  40. package/dist/capture-rule-schemas.d.ts.map +1 -1
  41. package/dist/capture-rule-schemas.js +37 -34
  42. package/dist/capture-rule-schemas.js.map +1 -1
  43. package/dist/capture-rule-suggestions.d.ts +195 -1189
  44. package/dist/capture-rule-suggestions.d.ts.map +1 -1
  45. package/dist/diagnostic-capture-budget.d.ts +22 -0
  46. package/dist/diagnostic-capture-budget.d.ts.map +1 -0
  47. package/dist/diagnostic-capture-budget.js +195 -0
  48. package/dist/diagnostic-capture-budget.js.map +1 -0
  49. package/dist/diagnostic-context.d.ts +163 -0
  50. package/dist/diagnostic-context.d.ts.map +1 -0
  51. package/dist/diagnostic-context.js +117 -0
  52. package/dist/diagnostic-context.js.map +1 -0
  53. package/dist/event-envelope.d.ts +524 -4326
  54. package/dist/event-envelope.d.ts.map +1 -1
  55. package/dist/event-envelope.js +63 -8
  56. package/dist/event-envelope.js.map +1 -1
  57. package/dist/evidence-bounds.d.ts +9 -0
  58. package/dist/evidence-bounds.d.ts.map +1 -0
  59. package/dist/evidence-bounds.js +51 -0
  60. package/dist/evidence-bounds.js.map +1 -0
  61. package/dist/evidence-capabilities.d.ts +15 -0
  62. package/dist/evidence-capabilities.d.ts.map +1 -0
  63. package/dist/evidence-capabilities.js +29 -0
  64. package/dist/evidence-capabilities.js.map +1 -0
  65. package/dist/evidence-emission.d.ts +18 -0
  66. package/dist/evidence-emission.d.ts.map +1 -0
  67. package/dist/evidence-emission.js +83 -0
  68. package/dist/evidence-emission.js.map +1 -0
  69. package/dist/evidence-interpretation.d.ts +68 -0
  70. package/dist/evidence-interpretation.d.ts.map +1 -0
  71. package/dist/evidence-interpretation.js +177 -0
  72. package/dist/evidence-interpretation.js.map +1 -0
  73. package/dist/exception-evidence.d.ts +96 -0
  74. package/dist/exception-evidence.d.ts.map +1 -0
  75. package/dist/exception-evidence.js +145 -0
  76. package/dist/exception-evidence.js.map +1 -0
  77. package/dist/first-purchase-eligibility.d.ts +9 -0
  78. package/dist/first-purchase-eligibility.d.ts.map +1 -0
  79. package/dist/first-purchase-eligibility.js +16 -0
  80. package/dist/first-purchase-eligibility.js.map +1 -0
  81. package/dist/improvement-settings.d.ts +29 -48
  82. package/dist/improvement-settings.d.ts.map +1 -1
  83. package/dist/index.d.ts +323 -1834
  84. package/dist/index.d.ts.map +1 -1
  85. package/dist/index.js +22 -3
  86. package/dist/index.js.map +1 -1
  87. package/dist/ingestion-wire.d.ts +9 -0
  88. package/dist/ingestion-wire.d.ts.map +1 -0
  89. package/dist/ingestion-wire.js +56 -0
  90. package/dist/ingestion-wire.js.map +1 -0
  91. package/dist/json-schema.d.ts +4 -0
  92. package/dist/json-schema.d.ts.map +1 -0
  93. package/dist/json-schema.js +49 -0
  94. package/dist/json-schema.js.map +1 -0
  95. package/dist/notification-preferences.d.ts +398 -1152
  96. package/dist/notification-preferences.d.ts.map +1 -1
  97. package/dist/notification-preferences.js +3 -3
  98. package/dist/notification-preferences.js.map +1 -1
  99. package/dist/project-color-tags.d.ts +20 -1
  100. package/dist/project-color-tags.d.ts.map +1 -1
  101. package/dist/public-status.d.ts +122 -568
  102. package/dist/public-status.d.ts.map +1 -1
  103. package/dist/public-status.js +8 -8
  104. package/dist/stack-frames.d.ts +11 -0
  105. package/dist/stack-frames.d.ts.map +1 -0
  106. package/dist/stack-frames.js +107 -0
  107. package/dist/stack-frames.js.map +1 -0
  108. package/package.json +2 -2
@@ -2,123 +2,38 @@ import { z } from "zod";
2
2
  export declare const AnalyticsJourneySampleEventSchema: z.ZodObject<{
3
3
  event_id: z.ZodString;
4
4
  occurred_at: z.ZodString;
5
- kind: z.ZodEnum<["session_start", "page_view", "route_change", "action", "funnel_step", "conversion", "journey_marker", "session_summary"]>;
6
- route: z.ZodNullable<z.ZodEffects<z.ZodObject<{
5
+ kind: z.ZodEnum<{
6
+ session_start: "session_start";
7
+ page_view: "page_view";
8
+ route_change: "route_change";
9
+ action: "action";
10
+ funnel_step: "funnel_step";
11
+ conversion: "conversion";
12
+ journey_marker: "journey_marker";
13
+ session_summary: "session_summary";
14
+ }>;
15
+ route: z.ZodNullable<z.ZodObject<{
7
16
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
17
  normalized_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
18
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, "strict", z.ZodTypeAny, {
11
- path?: string | null | undefined;
12
- normalized_path?: string | null | undefined;
13
- title?: string | null | undefined;
14
- }, {
15
- path?: string | null | undefined;
16
- normalized_path?: string | null | undefined;
17
- title?: string | null | undefined;
18
- }>, {
19
- path?: string | null | undefined;
20
- normalized_path?: string | null | undefined;
21
- title?: string | null | undefined;
22
- }, {
23
- path?: string | null | undefined;
24
- normalized_path?: string | null | undefined;
25
- title?: string | null | undefined;
26
- }>>;
27
- previous_route: z.ZodNullable<z.ZodEffects<z.ZodObject<{
19
+ }, z.core.$strict>>;
20
+ previous_route: z.ZodNullable<z.ZodObject<{
28
21
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
22
  normalized_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
23
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, "strict", z.ZodTypeAny, {
32
- path?: string | null | undefined;
33
- normalized_path?: string | null | undefined;
34
- title?: string | null | undefined;
35
- }, {
36
- path?: string | null | undefined;
37
- normalized_path?: string | null | undefined;
38
- title?: string | null | undefined;
39
- }>, {
40
- path?: string | null | undefined;
41
- normalized_path?: string | null | undefined;
42
- title?: string | null | undefined;
43
- }, {
44
- path?: string | null | undefined;
45
- normalized_path?: string | null | undefined;
46
- title?: string | null | undefined;
47
- }>>;
24
+ }, z.core.$strict>>;
48
25
  signal: z.ZodNullable<z.ZodObject<{
49
26
  action_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
27
  funnel_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
28
  step_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
29
  conversion_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
30
  marker_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
- }, "strict", z.ZodTypeAny, {
55
- step_key?: string | null | undefined;
56
- action_key?: string | null | undefined;
57
- funnel_key?: string | null | undefined;
58
- conversion_key?: string | null | undefined;
59
- marker_key?: string | null | undefined;
60
- }, {
61
- step_key?: string | null | undefined;
62
- action_key?: string | null | undefined;
63
- funnel_key?: string | null | undefined;
64
- conversion_key?: string | null | undefined;
65
- marker_key?: string | null | undefined;
66
- }>>;
31
+ }, z.core.$strict>>;
67
32
  trace_id: z.ZodNullable<z.ZodString>;
68
33
  deploy_id: z.ZodNullable<z.ZodString>;
69
- dimensions: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
70
- custom_dimensions: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
71
- }, "strict", z.ZodTypeAny, {
72
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
73
- event_id: string;
74
- occurred_at: string;
75
- route: {
76
- path?: string | null | undefined;
77
- normalized_path?: string | null | undefined;
78
- title?: string | null | undefined;
79
- } | null;
80
- previous_route: {
81
- path?: string | null | undefined;
82
- normalized_path?: string | null | undefined;
83
- title?: string | null | undefined;
84
- } | null;
85
- signal: {
86
- step_key?: string | null | undefined;
87
- action_key?: string | null | undefined;
88
- funnel_key?: string | null | undefined;
89
- conversion_key?: string | null | undefined;
90
- marker_key?: string | null | undefined;
91
- } | null;
92
- trace_id: string | null;
93
- deploy_id: string | null;
94
- dimensions: Record<string, string | number | boolean | null>;
95
- custom_dimensions: Record<string, string | number | boolean | null>;
96
- }, {
97
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
98
- event_id: string;
99
- occurred_at: string;
100
- route: {
101
- path?: string | null | undefined;
102
- normalized_path?: string | null | undefined;
103
- title?: string | null | undefined;
104
- } | null;
105
- previous_route: {
106
- path?: string | null | undefined;
107
- normalized_path?: string | null | undefined;
108
- title?: string | null | undefined;
109
- } | null;
110
- signal: {
111
- step_key?: string | null | undefined;
112
- action_key?: string | null | undefined;
113
- funnel_key?: string | null | undefined;
114
- conversion_key?: string | null | undefined;
115
- marker_key?: string | null | undefined;
116
- } | null;
117
- trace_id: string | null;
118
- deploy_id: string | null;
119
- dimensions: Record<string, string | number | boolean | null>;
120
- custom_dimensions: Record<string, string | number | boolean | null>;
121
- }>;
34
+ dimensions: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
35
+ custom_dimensions: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
36
+ }, z.core.$strict>;
122
37
  export type AnalyticsJourneySampleEvent = z.infer<typeof AnalyticsJourneySampleEventSchema>;
123
38
  export declare const AnalyticsJourneySampleMetadataSchema: z.ZodObject<{
124
39
  sample_id: z.ZodString;
@@ -127,42 +42,14 @@ export declare const AnalyticsJourneySampleMetadataSchema: z.ZodObject<{
127
42
  environment: z.ZodNullable<z.ZodString>;
128
43
  session_id_hash: z.ZodString;
129
44
  visitor_id_hash: z.ZodNullable<z.ZodString>;
130
- analysis_tags: z.ZodArray<z.ZodString, "many">;
45
+ analysis_tags: z.ZodArray<z.ZodString>;
131
46
  first_seen_at: z.ZodString;
132
47
  last_seen_at: z.ZodString;
133
48
  dimensions_summary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
134
49
  has_artifact: z.ZodBoolean;
135
50
  expires_at: z.ZodString;
136
51
  created_at: z.ZodString;
137
- }, "strict", z.ZodTypeAny, {
138
- project_id: string;
139
- sample_id: string;
140
- service: string | null;
141
- environment: string | null;
142
- session_id_hash: string;
143
- visitor_id_hash: string | null;
144
- analysis_tags: string[];
145
- first_seen_at: string;
146
- last_seen_at: string;
147
- dimensions_summary: Record<string, unknown>;
148
- has_artifact: boolean;
149
- expires_at: string;
150
- created_at: string;
151
- }, {
152
- project_id: string;
153
- sample_id: string;
154
- service: string | null;
155
- environment: string | null;
156
- session_id_hash: string;
157
- visitor_id_hash: string | null;
158
- analysis_tags: string[];
159
- first_seen_at: string;
160
- last_seen_at: string;
161
- dimensions_summary: Record<string, unknown>;
162
- has_artifact: boolean;
163
- expires_at: string;
164
- created_at: string;
165
- }>;
52
+ }, z.core.$strict>;
166
53
  export type AnalyticsJourneySampleMetadata = z.infer<typeof AnalyticsJourneySampleMetadataSchema>;
167
54
  export declare const AnalyticsJourneySamplesListResponseSchema: z.ZodObject<{
168
55
  samples: z.ZodArray<z.ZodObject<{
@@ -172,80 +59,18 @@ export declare const AnalyticsJourneySamplesListResponseSchema: z.ZodObject<{
172
59
  environment: z.ZodNullable<z.ZodString>;
173
60
  session_id_hash: z.ZodString;
174
61
  visitor_id_hash: z.ZodNullable<z.ZodString>;
175
- analysis_tags: z.ZodArray<z.ZodString, "many">;
62
+ analysis_tags: z.ZodArray<z.ZodString>;
176
63
  first_seen_at: z.ZodString;
177
64
  last_seen_at: z.ZodString;
178
65
  dimensions_summary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
179
66
  has_artifact: z.ZodBoolean;
180
67
  expires_at: z.ZodString;
181
68
  created_at: z.ZodString;
182
- }, "strict", z.ZodTypeAny, {
183
- project_id: string;
184
- sample_id: string;
185
- service: string | null;
186
- environment: string | null;
187
- session_id_hash: string;
188
- visitor_id_hash: string | null;
189
- analysis_tags: string[];
190
- first_seen_at: string;
191
- last_seen_at: string;
192
- dimensions_summary: Record<string, unknown>;
193
- has_artifact: boolean;
194
- expires_at: string;
195
- created_at: string;
196
- }, {
197
- project_id: string;
198
- sample_id: string;
199
- service: string | null;
200
- environment: string | null;
201
- session_id_hash: string;
202
- visitor_id_hash: string | null;
203
- analysis_tags: string[];
204
- first_seen_at: string;
205
- last_seen_at: string;
206
- dimensions_summary: Record<string, unknown>;
207
- has_artifact: boolean;
208
- expires_at: string;
209
- created_at: string;
210
- }>, "many">;
69
+ }, z.core.$strict>>;
211
70
  next_cursor: z.ZodNullable<z.ZodString>;
212
- }, "strict", z.ZodTypeAny, {
213
- samples: {
214
- project_id: string;
215
- sample_id: string;
216
- service: string | null;
217
- environment: string | null;
218
- session_id_hash: string;
219
- visitor_id_hash: string | null;
220
- analysis_tags: string[];
221
- first_seen_at: string;
222
- last_seen_at: string;
223
- dimensions_summary: Record<string, unknown>;
224
- has_artifact: boolean;
225
- expires_at: string;
226
- created_at: string;
227
- }[];
228
- next_cursor: string | null;
229
- }, {
230
- samples: {
231
- project_id: string;
232
- sample_id: string;
233
- service: string | null;
234
- environment: string | null;
235
- session_id_hash: string;
236
- visitor_id_hash: string | null;
237
- analysis_tags: string[];
238
- first_seen_at: string;
239
- last_seen_at: string;
240
- dimensions_summary: Record<string, unknown>;
241
- has_artifact: boolean;
242
- expires_at: string;
243
- created_at: string;
244
- }[];
245
- next_cursor: string | null;
246
- }>;
71
+ }, z.core.$strict>;
247
72
  export type AnalyticsJourneySamplesListResponse = z.infer<typeof AnalyticsJourneySamplesListResponseSchema>;
248
- export declare const AnalyticsJourneySampleArtifactSchema: z.ZodEffects<z.ZodObject<{
73
+ export declare const AnalyticsJourneySampleArtifactSchema: z.ZodObject<{
249
74
  schema_version: z.ZodLiteral<"analytics_journey_sample.v1">;
250
75
  sample_id: z.ZodString;
251
76
  project_id: z.ZodString;
@@ -255,281 +80,44 @@ export declare const AnalyticsJourneySampleArtifactSchema: z.ZodEffects<z.ZodObj
255
80
  visitor_id_hash: z.ZodNullable<z.ZodString>;
256
81
  first_seen_at: z.ZodString;
257
82
  last_seen_at: z.ZodString;
258
- analysis_tags: z.ZodArray<z.ZodString, "many">;
259
- dimensions_summary: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>]>>, Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>, Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>>;
83
+ analysis_tags: z.ZodArray<z.ZodString>;
84
+ dimensions_summary: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>>;
260
85
  events: z.ZodArray<z.ZodObject<{
261
86
  event_id: z.ZodString;
262
87
  occurred_at: z.ZodString;
263
- kind: z.ZodEnum<["session_start", "page_view", "route_change", "action", "funnel_step", "conversion", "journey_marker", "session_summary"]>;
264
- route: z.ZodNullable<z.ZodEffects<z.ZodObject<{
88
+ kind: z.ZodEnum<{
89
+ session_start: "session_start";
90
+ page_view: "page_view";
91
+ route_change: "route_change";
92
+ action: "action";
93
+ funnel_step: "funnel_step";
94
+ conversion: "conversion";
95
+ journey_marker: "journey_marker";
96
+ session_summary: "session_summary";
97
+ }>;
98
+ route: z.ZodNullable<z.ZodObject<{
265
99
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
100
  normalized_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
101
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
268
- }, "strict", z.ZodTypeAny, {
269
- path?: string | null | undefined;
270
- normalized_path?: string | null | undefined;
271
- title?: string | null | undefined;
272
- }, {
273
- path?: string | null | undefined;
274
- normalized_path?: string | null | undefined;
275
- title?: string | null | undefined;
276
- }>, {
277
- path?: string | null | undefined;
278
- normalized_path?: string | null | undefined;
279
- title?: string | null | undefined;
280
- }, {
281
- path?: string | null | undefined;
282
- normalized_path?: string | null | undefined;
283
- title?: string | null | undefined;
284
- }>>;
285
- previous_route: z.ZodNullable<z.ZodEffects<z.ZodObject<{
102
+ }, z.core.$strict>>;
103
+ previous_route: z.ZodNullable<z.ZodObject<{
286
104
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
105
  normalized_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
106
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
- }, "strict", z.ZodTypeAny, {
290
- path?: string | null | undefined;
291
- normalized_path?: string | null | undefined;
292
- title?: string | null | undefined;
293
- }, {
294
- path?: string | null | undefined;
295
- normalized_path?: string | null | undefined;
296
- title?: string | null | undefined;
297
- }>, {
298
- path?: string | null | undefined;
299
- normalized_path?: string | null | undefined;
300
- title?: string | null | undefined;
301
- }, {
302
- path?: string | null | undefined;
303
- normalized_path?: string | null | undefined;
304
- title?: string | null | undefined;
305
- }>>;
107
+ }, z.core.$strict>>;
306
108
  signal: z.ZodNullable<z.ZodObject<{
307
109
  action_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
308
110
  funnel_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
111
  step_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
310
112
  conversion_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
311
113
  marker_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
312
- }, "strict", z.ZodTypeAny, {
313
- step_key?: string | null | undefined;
314
- action_key?: string | null | undefined;
315
- funnel_key?: string | null | undefined;
316
- conversion_key?: string | null | undefined;
317
- marker_key?: string | null | undefined;
318
- }, {
319
- step_key?: string | null | undefined;
320
- action_key?: string | null | undefined;
321
- funnel_key?: string | null | undefined;
322
- conversion_key?: string | null | undefined;
323
- marker_key?: string | null | undefined;
324
- }>>;
114
+ }, z.core.$strict>>;
325
115
  trace_id: z.ZodNullable<z.ZodString>;
326
116
  deploy_id: z.ZodNullable<z.ZodString>;
327
- dimensions: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
328
- custom_dimensions: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
329
- }, "strict", z.ZodTypeAny, {
330
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
331
- event_id: string;
332
- occurred_at: string;
333
- route: {
334
- path?: string | null | undefined;
335
- normalized_path?: string | null | undefined;
336
- title?: string | null | undefined;
337
- } | null;
338
- previous_route: {
339
- path?: string | null | undefined;
340
- normalized_path?: string | null | undefined;
341
- title?: string | null | undefined;
342
- } | null;
343
- signal: {
344
- step_key?: string | null | undefined;
345
- action_key?: string | null | undefined;
346
- funnel_key?: string | null | undefined;
347
- conversion_key?: string | null | undefined;
348
- marker_key?: string | null | undefined;
349
- } | null;
350
- trace_id: string | null;
351
- deploy_id: string | null;
352
- dimensions: Record<string, string | number | boolean | null>;
353
- custom_dimensions: Record<string, string | number | boolean | null>;
354
- }, {
355
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
356
- event_id: string;
357
- occurred_at: string;
358
- route: {
359
- path?: string | null | undefined;
360
- normalized_path?: string | null | undefined;
361
- title?: string | null | undefined;
362
- } | null;
363
- previous_route: {
364
- path?: string | null | undefined;
365
- normalized_path?: string | null | undefined;
366
- title?: string | null | undefined;
367
- } | null;
368
- signal: {
369
- step_key?: string | null | undefined;
370
- action_key?: string | null | undefined;
371
- funnel_key?: string | null | undefined;
372
- conversion_key?: string | null | undefined;
373
- marker_key?: string | null | undefined;
374
- } | null;
375
- trace_id: string | null;
376
- deploy_id: string | null;
377
- dimensions: Record<string, string | number | boolean | null>;
378
- custom_dimensions: Record<string, string | number | boolean | null>;
379
- }>, "many">;
380
- }, "strict", z.ZodTypeAny, {
381
- project_id: string;
382
- sample_id: string;
383
- service: string;
384
- environment: string;
385
- session_id_hash: string;
386
- visitor_id_hash: string | null;
387
- analysis_tags: string[];
388
- first_seen_at: string;
389
- last_seen_at: string;
390
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
391
- schema_version: "analytics_journey_sample.v1";
392
- events: {
393
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
394
- event_id: string;
395
- occurred_at: string;
396
- route: {
397
- path?: string | null | undefined;
398
- normalized_path?: string | null | undefined;
399
- title?: string | null | undefined;
400
- } | null;
401
- previous_route: {
402
- path?: string | null | undefined;
403
- normalized_path?: string | null | undefined;
404
- title?: string | null | undefined;
405
- } | null;
406
- signal: {
407
- step_key?: string | null | undefined;
408
- action_key?: string | null | undefined;
409
- funnel_key?: string | null | undefined;
410
- conversion_key?: string | null | undefined;
411
- marker_key?: string | null | undefined;
412
- } | null;
413
- trace_id: string | null;
414
- deploy_id: string | null;
415
- dimensions: Record<string, string | number | boolean | null>;
416
- custom_dimensions: Record<string, string | number | boolean | null>;
417
- }[];
418
- }, {
419
- project_id: string;
420
- sample_id: string;
421
- service: string;
422
- environment: string;
423
- session_id_hash: string;
424
- visitor_id_hash: string | null;
425
- analysis_tags: string[];
426
- first_seen_at: string;
427
- last_seen_at: string;
428
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
429
- schema_version: "analytics_journey_sample.v1";
430
- events: {
431
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
432
- event_id: string;
433
- occurred_at: string;
434
- route: {
435
- path?: string | null | undefined;
436
- normalized_path?: string | null | undefined;
437
- title?: string | null | undefined;
438
- } | null;
439
- previous_route: {
440
- path?: string | null | undefined;
441
- normalized_path?: string | null | undefined;
442
- title?: string | null | undefined;
443
- } | null;
444
- signal: {
445
- step_key?: string | null | undefined;
446
- action_key?: string | null | undefined;
447
- funnel_key?: string | null | undefined;
448
- conversion_key?: string | null | undefined;
449
- marker_key?: string | null | undefined;
450
- } | null;
451
- trace_id: string | null;
452
- deploy_id: string | null;
453
- dimensions: Record<string, string | number | boolean | null>;
454
- custom_dimensions: Record<string, string | number | boolean | null>;
455
- }[];
456
- }>, {
457
- project_id: string;
458
- sample_id: string;
459
- service: string;
460
- environment: string;
461
- session_id_hash: string;
462
- visitor_id_hash: string | null;
463
- analysis_tags: string[];
464
- first_seen_at: string;
465
- last_seen_at: string;
466
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
467
- schema_version: "analytics_journey_sample.v1";
468
- events: {
469
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
470
- event_id: string;
471
- occurred_at: string;
472
- route: {
473
- path?: string | null | undefined;
474
- normalized_path?: string | null | undefined;
475
- title?: string | null | undefined;
476
- } | null;
477
- previous_route: {
478
- path?: string | null | undefined;
479
- normalized_path?: string | null | undefined;
480
- title?: string | null | undefined;
481
- } | null;
482
- signal: {
483
- step_key?: string | null | undefined;
484
- action_key?: string | null | undefined;
485
- funnel_key?: string | null | undefined;
486
- conversion_key?: string | null | undefined;
487
- marker_key?: string | null | undefined;
488
- } | null;
489
- trace_id: string | null;
490
- deploy_id: string | null;
491
- dimensions: Record<string, string | number | boolean | null>;
492
- custom_dimensions: Record<string, string | number | boolean | null>;
493
- }[];
494
- }, {
495
- project_id: string;
496
- sample_id: string;
497
- service: string;
498
- environment: string;
499
- session_id_hash: string;
500
- visitor_id_hash: string | null;
501
- analysis_tags: string[];
502
- first_seen_at: string;
503
- last_seen_at: string;
504
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
505
- schema_version: "analytics_journey_sample.v1";
506
- events: {
507
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
508
- event_id: string;
509
- occurred_at: string;
510
- route: {
511
- path?: string | null | undefined;
512
- normalized_path?: string | null | undefined;
513
- title?: string | null | undefined;
514
- } | null;
515
- previous_route: {
516
- path?: string | null | undefined;
517
- normalized_path?: string | null | undefined;
518
- title?: string | null | undefined;
519
- } | null;
520
- signal: {
521
- step_key?: string | null | undefined;
522
- action_key?: string | null | undefined;
523
- funnel_key?: string | null | undefined;
524
- conversion_key?: string | null | undefined;
525
- marker_key?: string | null | undefined;
526
- } | null;
527
- trace_id: string | null;
528
- deploy_id: string | null;
529
- dimensions: Record<string, string | number | boolean | null>;
530
- custom_dimensions: Record<string, string | number | boolean | null>;
531
- }[];
532
- }>;
117
+ dimensions: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
118
+ custom_dimensions: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
119
+ }, z.core.$strict>>;
120
+ }, z.core.$strict>;
533
121
  export type AnalyticsJourneySampleArtifact = z.infer<typeof AnalyticsJourneySampleArtifactSchema>;
534
122
  export declare const AnalyticsJourneySampleResponseSchema: z.ZodObject<{
535
123
  sample: z.ZodObject<{
@@ -539,43 +127,15 @@ export declare const AnalyticsJourneySampleResponseSchema: z.ZodObject<{
539
127
  environment: z.ZodNullable<z.ZodString>;
540
128
  session_id_hash: z.ZodString;
541
129
  visitor_id_hash: z.ZodNullable<z.ZodString>;
542
- analysis_tags: z.ZodArray<z.ZodString, "many">;
130
+ analysis_tags: z.ZodArray<z.ZodString>;
543
131
  first_seen_at: z.ZodString;
544
132
  last_seen_at: z.ZodString;
545
133
  dimensions_summary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
546
134
  has_artifact: z.ZodBoolean;
547
135
  expires_at: z.ZodString;
548
136
  created_at: z.ZodString;
549
- }, "strict", z.ZodTypeAny, {
550
- project_id: string;
551
- sample_id: string;
552
- service: string | null;
553
- environment: string | null;
554
- session_id_hash: string;
555
- visitor_id_hash: string | null;
556
- analysis_tags: string[];
557
- first_seen_at: string;
558
- last_seen_at: string;
559
- dimensions_summary: Record<string, unknown>;
560
- has_artifact: boolean;
561
- expires_at: string;
562
- created_at: string;
563
- }, {
564
- project_id: string;
565
- sample_id: string;
566
- service: string | null;
567
- environment: string | null;
568
- session_id_hash: string;
569
- visitor_id_hash: string | null;
570
- analysis_tags: string[];
571
- first_seen_at: string;
572
- last_seen_at: string;
573
- dimensions_summary: Record<string, unknown>;
574
- has_artifact: boolean;
575
- expires_at: string;
576
- created_at: string;
577
- }>;
578
- journey: z.ZodEffects<z.ZodObject<{
137
+ }, z.core.$strict>;
138
+ journey: z.ZodObject<{
579
139
  schema_version: z.ZodLiteral<"analytics_journey_sample.v1">;
580
140
  sample_id: z.ZodString;
581
141
  project_id: z.ZodString;
@@ -585,391 +145,44 @@ export declare const AnalyticsJourneySampleResponseSchema: z.ZodObject<{
585
145
  visitor_id_hash: z.ZodNullable<z.ZodString>;
586
146
  first_seen_at: z.ZodString;
587
147
  last_seen_at: z.ZodString;
588
- analysis_tags: z.ZodArray<z.ZodString, "many">;
589
- dimensions_summary: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>]>>, Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>, Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>>;
148
+ analysis_tags: z.ZodArray<z.ZodString>;
149
+ dimensions_summary: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>>;
590
150
  events: z.ZodArray<z.ZodObject<{
591
151
  event_id: z.ZodString;
592
152
  occurred_at: z.ZodString;
593
- kind: z.ZodEnum<["session_start", "page_view", "route_change", "action", "funnel_step", "conversion", "journey_marker", "session_summary"]>;
594
- route: z.ZodNullable<z.ZodEffects<z.ZodObject<{
153
+ kind: z.ZodEnum<{
154
+ session_start: "session_start";
155
+ page_view: "page_view";
156
+ route_change: "route_change";
157
+ action: "action";
158
+ funnel_step: "funnel_step";
159
+ conversion: "conversion";
160
+ journey_marker: "journey_marker";
161
+ session_summary: "session_summary";
162
+ }>;
163
+ route: z.ZodNullable<z.ZodObject<{
595
164
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
596
165
  normalized_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
597
166
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
- }, "strict", z.ZodTypeAny, {
599
- path?: string | null | undefined;
600
- normalized_path?: string | null | undefined;
601
- title?: string | null | undefined;
602
- }, {
603
- path?: string | null | undefined;
604
- normalized_path?: string | null | undefined;
605
- title?: string | null | undefined;
606
- }>, {
607
- path?: string | null | undefined;
608
- normalized_path?: string | null | undefined;
609
- title?: string | null | undefined;
610
- }, {
611
- path?: string | null | undefined;
612
- normalized_path?: string | null | undefined;
613
- title?: string | null | undefined;
614
- }>>;
615
- previous_route: z.ZodNullable<z.ZodEffects<z.ZodObject<{
167
+ }, z.core.$strict>>;
168
+ previous_route: z.ZodNullable<z.ZodObject<{
616
169
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
617
170
  normalized_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
618
171
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
619
- }, "strict", z.ZodTypeAny, {
620
- path?: string | null | undefined;
621
- normalized_path?: string | null | undefined;
622
- title?: string | null | undefined;
623
- }, {
624
- path?: string | null | undefined;
625
- normalized_path?: string | null | undefined;
626
- title?: string | null | undefined;
627
- }>, {
628
- path?: string | null | undefined;
629
- normalized_path?: string | null | undefined;
630
- title?: string | null | undefined;
631
- }, {
632
- path?: string | null | undefined;
633
- normalized_path?: string | null | undefined;
634
- title?: string | null | undefined;
635
- }>>;
172
+ }, z.core.$strict>>;
636
173
  signal: z.ZodNullable<z.ZodObject<{
637
174
  action_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
175
  funnel_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
176
  step_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
640
177
  conversion_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
641
178
  marker_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
642
- }, "strict", z.ZodTypeAny, {
643
- step_key?: string | null | undefined;
644
- action_key?: string | null | undefined;
645
- funnel_key?: string | null | undefined;
646
- conversion_key?: string | null | undefined;
647
- marker_key?: string | null | undefined;
648
- }, {
649
- step_key?: string | null | undefined;
650
- action_key?: string | null | undefined;
651
- funnel_key?: string | null | undefined;
652
- conversion_key?: string | null | undefined;
653
- marker_key?: string | null | undefined;
654
- }>>;
179
+ }, z.core.$strict>>;
655
180
  trace_id: z.ZodNullable<z.ZodString>;
656
181
  deploy_id: z.ZodNullable<z.ZodString>;
657
- dimensions: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
658
- custom_dimensions: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
659
- }, "strict", z.ZodTypeAny, {
660
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
661
- event_id: string;
662
- occurred_at: string;
663
- route: {
664
- path?: string | null | undefined;
665
- normalized_path?: string | null | undefined;
666
- title?: string | null | undefined;
667
- } | null;
668
- previous_route: {
669
- path?: string | null | undefined;
670
- normalized_path?: string | null | undefined;
671
- title?: string | null | undefined;
672
- } | null;
673
- signal: {
674
- step_key?: string | null | undefined;
675
- action_key?: string | null | undefined;
676
- funnel_key?: string | null | undefined;
677
- conversion_key?: string | null | undefined;
678
- marker_key?: string | null | undefined;
679
- } | null;
680
- trace_id: string | null;
681
- deploy_id: string | null;
682
- dimensions: Record<string, string | number | boolean | null>;
683
- custom_dimensions: Record<string, string | number | boolean | null>;
684
- }, {
685
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
686
- event_id: string;
687
- occurred_at: string;
688
- route: {
689
- path?: string | null | undefined;
690
- normalized_path?: string | null | undefined;
691
- title?: string | null | undefined;
692
- } | null;
693
- previous_route: {
694
- path?: string | null | undefined;
695
- normalized_path?: string | null | undefined;
696
- title?: string | null | undefined;
697
- } | null;
698
- signal: {
699
- step_key?: string | null | undefined;
700
- action_key?: string | null | undefined;
701
- funnel_key?: string | null | undefined;
702
- conversion_key?: string | null | undefined;
703
- marker_key?: string | null | undefined;
704
- } | null;
705
- trace_id: string | null;
706
- deploy_id: string | null;
707
- dimensions: Record<string, string | number | boolean | null>;
708
- custom_dimensions: Record<string, string | number | boolean | null>;
709
- }>, "many">;
710
- }, "strict", z.ZodTypeAny, {
711
- project_id: string;
712
- sample_id: string;
713
- service: string;
714
- environment: string;
715
- session_id_hash: string;
716
- visitor_id_hash: string | null;
717
- analysis_tags: string[];
718
- first_seen_at: string;
719
- last_seen_at: string;
720
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
721
- schema_version: "analytics_journey_sample.v1";
722
- events: {
723
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
724
- event_id: string;
725
- occurred_at: string;
726
- route: {
727
- path?: string | null | undefined;
728
- normalized_path?: string | null | undefined;
729
- title?: string | null | undefined;
730
- } | null;
731
- previous_route: {
732
- path?: string | null | undefined;
733
- normalized_path?: string | null | undefined;
734
- title?: string | null | undefined;
735
- } | null;
736
- signal: {
737
- step_key?: string | null | undefined;
738
- action_key?: string | null | undefined;
739
- funnel_key?: string | null | undefined;
740
- conversion_key?: string | null | undefined;
741
- marker_key?: string | null | undefined;
742
- } | null;
743
- trace_id: string | null;
744
- deploy_id: string | null;
745
- dimensions: Record<string, string | number | boolean | null>;
746
- custom_dimensions: Record<string, string | number | boolean | null>;
747
- }[];
748
- }, {
749
- project_id: string;
750
- sample_id: string;
751
- service: string;
752
- environment: string;
753
- session_id_hash: string;
754
- visitor_id_hash: string | null;
755
- analysis_tags: string[];
756
- first_seen_at: string;
757
- last_seen_at: string;
758
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
759
- schema_version: "analytics_journey_sample.v1";
760
- events: {
761
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
762
- event_id: string;
763
- occurred_at: string;
764
- route: {
765
- path?: string | null | undefined;
766
- normalized_path?: string | null | undefined;
767
- title?: string | null | undefined;
768
- } | null;
769
- previous_route: {
770
- path?: string | null | undefined;
771
- normalized_path?: string | null | undefined;
772
- title?: string | null | undefined;
773
- } | null;
774
- signal: {
775
- step_key?: string | null | undefined;
776
- action_key?: string | null | undefined;
777
- funnel_key?: string | null | undefined;
778
- conversion_key?: string | null | undefined;
779
- marker_key?: string | null | undefined;
780
- } | null;
781
- trace_id: string | null;
782
- deploy_id: string | null;
783
- dimensions: Record<string, string | number | boolean | null>;
784
- custom_dimensions: Record<string, string | number | boolean | null>;
785
- }[];
786
- }>, {
787
- project_id: string;
788
- sample_id: string;
789
- service: string;
790
- environment: string;
791
- session_id_hash: string;
792
- visitor_id_hash: string | null;
793
- analysis_tags: string[];
794
- first_seen_at: string;
795
- last_seen_at: string;
796
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
797
- schema_version: "analytics_journey_sample.v1";
798
- events: {
799
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
800
- event_id: string;
801
- occurred_at: string;
802
- route: {
803
- path?: string | null | undefined;
804
- normalized_path?: string | null | undefined;
805
- title?: string | null | undefined;
806
- } | null;
807
- previous_route: {
808
- path?: string | null | undefined;
809
- normalized_path?: string | null | undefined;
810
- title?: string | null | undefined;
811
- } | null;
812
- signal: {
813
- step_key?: string | null | undefined;
814
- action_key?: string | null | undefined;
815
- funnel_key?: string | null | undefined;
816
- conversion_key?: string | null | undefined;
817
- marker_key?: string | null | undefined;
818
- } | null;
819
- trace_id: string | null;
820
- deploy_id: string | null;
821
- dimensions: Record<string, string | number | boolean | null>;
822
- custom_dimensions: Record<string, string | number | boolean | null>;
823
- }[];
824
- }, {
825
- project_id: string;
826
- sample_id: string;
827
- service: string;
828
- environment: string;
829
- session_id_hash: string;
830
- visitor_id_hash: string | null;
831
- analysis_tags: string[];
832
- first_seen_at: string;
833
- last_seen_at: string;
834
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
835
- schema_version: "analytics_journey_sample.v1";
836
- events: {
837
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
838
- event_id: string;
839
- occurred_at: string;
840
- route: {
841
- path?: string | null | undefined;
842
- normalized_path?: string | null | undefined;
843
- title?: string | null | undefined;
844
- } | null;
845
- previous_route: {
846
- path?: string | null | undefined;
847
- normalized_path?: string | null | undefined;
848
- title?: string | null | undefined;
849
- } | null;
850
- signal: {
851
- step_key?: string | null | undefined;
852
- action_key?: string | null | undefined;
853
- funnel_key?: string | null | undefined;
854
- conversion_key?: string | null | undefined;
855
- marker_key?: string | null | undefined;
856
- } | null;
857
- trace_id: string | null;
858
- deploy_id: string | null;
859
- dimensions: Record<string, string | number | boolean | null>;
860
- custom_dimensions: Record<string, string | number | boolean | null>;
861
- }[];
862
- }>;
863
- }, "strict", z.ZodTypeAny, {
864
- sample: {
865
- project_id: string;
866
- sample_id: string;
867
- service: string | null;
868
- environment: string | null;
869
- session_id_hash: string;
870
- visitor_id_hash: string | null;
871
- analysis_tags: string[];
872
- first_seen_at: string;
873
- last_seen_at: string;
874
- dimensions_summary: Record<string, unknown>;
875
- has_artifact: boolean;
876
- expires_at: string;
877
- created_at: string;
878
- };
879
- journey: {
880
- project_id: string;
881
- sample_id: string;
882
- service: string;
883
- environment: string;
884
- session_id_hash: string;
885
- visitor_id_hash: string | null;
886
- analysis_tags: string[];
887
- first_seen_at: string;
888
- last_seen_at: string;
889
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
890
- schema_version: "analytics_journey_sample.v1";
891
- events: {
892
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
893
- event_id: string;
894
- occurred_at: string;
895
- route: {
896
- path?: string | null | undefined;
897
- normalized_path?: string | null | undefined;
898
- title?: string | null | undefined;
899
- } | null;
900
- previous_route: {
901
- path?: string | null | undefined;
902
- normalized_path?: string | null | undefined;
903
- title?: string | null | undefined;
904
- } | null;
905
- signal: {
906
- step_key?: string | null | undefined;
907
- action_key?: string | null | undefined;
908
- funnel_key?: string | null | undefined;
909
- conversion_key?: string | null | undefined;
910
- marker_key?: string | null | undefined;
911
- } | null;
912
- trace_id: string | null;
913
- deploy_id: string | null;
914
- dimensions: Record<string, string | number | boolean | null>;
915
- custom_dimensions: Record<string, string | number | boolean | null>;
916
- }[];
917
- };
918
- }, {
919
- sample: {
920
- project_id: string;
921
- sample_id: string;
922
- service: string | null;
923
- environment: string | null;
924
- session_id_hash: string;
925
- visitor_id_hash: string | null;
926
- analysis_tags: string[];
927
- first_seen_at: string;
928
- last_seen_at: string;
929
- dimensions_summary: Record<string, unknown>;
930
- has_artifact: boolean;
931
- expires_at: string;
932
- created_at: string;
933
- };
934
- journey: {
935
- project_id: string;
936
- sample_id: string;
937
- service: string;
938
- environment: string;
939
- session_id_hash: string;
940
- visitor_id_hash: string | null;
941
- analysis_tags: string[];
942
- first_seen_at: string;
943
- last_seen_at: string;
944
- dimensions_summary: Record<string, string | number | boolean | Record<string, string | number | boolean | null> | null>;
945
- schema_version: "analytics_journey_sample.v1";
946
- events: {
947
- kind: "session_start" | "page_view" | "route_change" | "action" | "funnel_step" | "conversion" | "journey_marker" | "session_summary";
948
- event_id: string;
949
- occurred_at: string;
950
- route: {
951
- path?: string | null | undefined;
952
- normalized_path?: string | null | undefined;
953
- title?: string | null | undefined;
954
- } | null;
955
- previous_route: {
956
- path?: string | null | undefined;
957
- normalized_path?: string | null | undefined;
958
- title?: string | null | undefined;
959
- } | null;
960
- signal: {
961
- step_key?: string | null | undefined;
962
- action_key?: string | null | undefined;
963
- funnel_key?: string | null | undefined;
964
- conversion_key?: string | null | undefined;
965
- marker_key?: string | null | undefined;
966
- } | null;
967
- trace_id: string | null;
968
- deploy_id: string | null;
969
- dimensions: Record<string, string | number | boolean | null>;
970
- custom_dimensions: Record<string, string | number | boolean | null>;
971
- }[];
972
- };
973
- }>;
182
+ dimensions: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
183
+ custom_dimensions: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
184
+ }, z.core.$strict>>;
185
+ }, z.core.$strict>;
186
+ }, z.core.$strict>;
974
187
  export type AnalyticsJourneySampleResponse = z.infer<typeof AnalyticsJourneySampleResponseSchema>;
975
188
  //# sourceMappingURL=analytics-journey-samples.d.ts.map