@contentful/optimization-api-client 2.2.1 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -7
- package/THIRD_PARTY_NOTICES.txt +1 -1
- package/dist/api-schemas.cjs +35 -24
- package/dist/api-schemas.cjs.map +1 -1
- package/dist/api-schemas.d.cts +796 -1125
- package/dist/api-schemas.d.mts +796 -1125
- package/dist/api-schemas.d.ts +796 -1125
- package/dist/api-schemas.mjs +33 -22
- package/dist/api-schemas.mjs.map +1 -1
- package/dist/guards.d.cts +0 -30
- package/dist/guards.d.mts +0 -30
- package/dist/guards.d.ts +0 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +216 -282
- package/dist/index.d.mts +216 -282
- package/dist/index.d.ts +216 -282
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/api-schemas.d.ts
CHANGED
|
@@ -12,13 +12,7 @@ import * as z from 'zod/mini';
|
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
14
|
export declare const App: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
15
|
-
/**
|
|
16
|
-
* Name of the application.
|
|
17
|
-
*/
|
|
18
15
|
name: z.ZodMiniString<string>;
|
|
19
|
-
/**
|
|
20
|
-
* Version of the application.
|
|
21
|
-
*/
|
|
22
16
|
version: z.ZodMiniString<string>;
|
|
23
17
|
}, z.core.$strip>>;
|
|
24
18
|
|
|
@@ -52,14 +46,14 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
52
46
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
53
47
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
54
48
|
}, z.core.$strip>;
|
|
55
|
-
gdpr: z.ZodMiniObject<{
|
|
49
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
56
50
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
57
|
-
}, z.core.$strip
|
|
51
|
+
}, z.core.$strip>>;
|
|
58
52
|
library: z.ZodMiniObject<{
|
|
59
53
|
name: z.ZodMiniString<string>;
|
|
60
54
|
version: z.ZodMiniString<string>;
|
|
61
55
|
}, z.core.$strip>;
|
|
62
|
-
locale: z.ZodMiniString<string
|
|
56
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
63
57
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
64
58
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
65
59
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -77,7 +71,7 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
77
71
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
78
72
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
79
73
|
path: z.ZodMiniString<string>;
|
|
80
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
74
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
81
75
|
referrer: z.ZodMiniString<string>;
|
|
82
76
|
search: z.ZodMiniString<string>;
|
|
83
77
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -88,14 +82,14 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
88
82
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
89
83
|
}, z.core.$strip>;
|
|
90
84
|
messageId: z.ZodMiniString<string>;
|
|
91
|
-
originalTimestamp: z.
|
|
92
|
-
sentAt: z.
|
|
93
|
-
timestamp: z.
|
|
85
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
86
|
+
sentAt: z.ZodMiniString<string>;
|
|
87
|
+
timestamp: z.ZodMiniString<string>;
|
|
94
88
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
95
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
89
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
96
90
|
componentId: z.ZodMiniString<string>;
|
|
97
91
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
98
|
-
variantIndex: z.ZodMiniNumber<number
|
|
92
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
99
93
|
type: z.ZodMiniLiteral<"component">;
|
|
100
94
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
101
95
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -114,14 +108,14 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
114
108
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
115
109
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
116
110
|
}, z.core.$strip>;
|
|
117
|
-
gdpr: z.ZodMiniObject<{
|
|
111
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
118
112
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
119
|
-
}, z.core.$strip
|
|
113
|
+
}, z.core.$strip>>;
|
|
120
114
|
library: z.ZodMiniObject<{
|
|
121
115
|
name: z.ZodMiniString<string>;
|
|
122
116
|
version: z.ZodMiniString<string>;
|
|
123
117
|
}, z.core.$strip>;
|
|
124
|
-
locale: z.ZodMiniString<string
|
|
118
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
125
119
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
126
120
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
127
121
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -139,7 +133,7 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
139
133
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
140
134
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
141
135
|
path: z.ZodMiniString<string>;
|
|
142
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
136
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
143
137
|
referrer: z.ZodMiniString<string>;
|
|
144
138
|
search: z.ZodMiniString<string>;
|
|
145
139
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -150,9 +144,9 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
150
144
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
151
145
|
}, z.core.$strip>;
|
|
152
146
|
messageId: z.ZodMiniString<string>;
|
|
153
|
-
originalTimestamp: z.
|
|
154
|
-
sentAt: z.
|
|
155
|
-
timestamp: z.
|
|
147
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
148
|
+
sentAt: z.ZodMiniString<string>;
|
|
149
|
+
timestamp: z.ZodMiniString<string>;
|
|
156
150
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
157
151
|
entityId: z.ZodMiniString<string>;
|
|
158
152
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -168,7 +162,7 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
168
162
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
169
163
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
170
164
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
171
|
-
viewDurationMs: z.
|
|
165
|
+
viewDurationMs: z.ZodMiniInt;
|
|
172
166
|
viewId: z.ZodMiniString<string>;
|
|
173
167
|
anonymousId: z.ZodMiniString<string>;
|
|
174
168
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
@@ -185,14 +179,14 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
185
179
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
186
180
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
187
181
|
}, z.core.$strip>;
|
|
188
|
-
gdpr: z.ZodMiniObject<{
|
|
182
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
189
183
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
190
|
-
}, z.core.$strip
|
|
184
|
+
}, z.core.$strip>>;
|
|
191
185
|
library: z.ZodMiniObject<{
|
|
192
186
|
name: z.ZodMiniString<string>;
|
|
193
187
|
version: z.ZodMiniString<string>;
|
|
194
188
|
}, z.core.$strip>;
|
|
195
|
-
locale: z.ZodMiniString<string
|
|
189
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
196
190
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
197
191
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
198
192
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -210,7 +204,7 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
210
204
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
211
205
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
212
206
|
path: z.ZodMiniString<string>;
|
|
213
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
207
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
214
208
|
referrer: z.ZodMiniString<string>;
|
|
215
209
|
search: z.ZodMiniString<string>;
|
|
216
210
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -221,29 +215,29 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
221
215
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
222
216
|
}, z.core.$strip>;
|
|
223
217
|
messageId: z.ZodMiniString<string>;
|
|
224
|
-
originalTimestamp: z.
|
|
225
|
-
sentAt: z.
|
|
226
|
-
timestamp: z.
|
|
227
|
-
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
218
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
219
|
+
sentAt: z.ZodMiniString<string>;
|
|
220
|
+
timestamp: z.ZodMiniString<string>;
|
|
228
221
|
type: z.ZodMiniLiteral<"identify">;
|
|
229
222
|
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
223
|
+
userId: z.ZodMiniString<string>;
|
|
230
224
|
anonymousId: z.ZodMiniString<string>;
|
|
231
225
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
232
226
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
233
227
|
messageId: z.ZodMiniString<string>;
|
|
234
|
-
originalTimestamp: z.
|
|
235
|
-
sentAt: z.
|
|
236
|
-
timestamp: z.
|
|
228
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
229
|
+
sentAt: z.ZodMiniString<string>;
|
|
230
|
+
timestamp: z.ZodMiniString<string>;
|
|
237
231
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
238
232
|
type: z.ZodMiniLiteral<"page">;
|
|
239
233
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
240
234
|
properties: z.ZodMiniObject<{
|
|
241
235
|
path: z.ZodMiniString<string>;
|
|
242
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
236
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
243
237
|
referrer: z.ZodMiniString<string>;
|
|
244
238
|
search: z.ZodMiniString<string>;
|
|
245
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
246
239
|
url: z.ZodMiniString<string>;
|
|
240
|
+
title: z.ZodMiniString<string>;
|
|
247
241
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
248
242
|
context: z.ZodMiniObject<{
|
|
249
243
|
app: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -257,14 +251,14 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
257
251
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
258
252
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
259
253
|
}, z.core.$strip>;
|
|
260
|
-
gdpr: z.ZodMiniObject<{
|
|
254
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
261
255
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
262
|
-
}, z.core.$strip
|
|
256
|
+
}, z.core.$strip>>;
|
|
263
257
|
library: z.ZodMiniObject<{
|
|
264
258
|
name: z.ZodMiniString<string>;
|
|
265
259
|
version: z.ZodMiniString<string>;
|
|
266
260
|
}, z.core.$strip>;
|
|
267
|
-
locale: z.ZodMiniString<string
|
|
261
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
268
262
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
269
263
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
270
264
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -280,22 +274,22 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
280
274
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
281
275
|
}, z.core.$strip>>;
|
|
282
276
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
283
|
-
page: z.ZodMiniObject<{
|
|
277
|
+
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
284
278
|
path: z.ZodMiniString<string>;
|
|
285
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
279
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
286
280
|
referrer: z.ZodMiniString<string>;
|
|
287
281
|
search: z.ZodMiniString<string>;
|
|
288
282
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
289
283
|
url: z.ZodMiniString<string>;
|
|
290
|
-
}, z.core.$catchall<z.ZodMiniJSONSchema
|
|
284
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
291
285
|
}, z.core.$strip>;
|
|
292
286
|
anonymousId: z.ZodMiniString<string>;
|
|
293
287
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
294
288
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
295
289
|
messageId: z.ZodMiniString<string>;
|
|
296
|
-
originalTimestamp: z.
|
|
297
|
-
sentAt: z.
|
|
298
|
-
timestamp: z.
|
|
290
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
291
|
+
sentAt: z.ZodMiniString<string>;
|
|
292
|
+
timestamp: z.ZodMiniString<string>;
|
|
299
293
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
300
294
|
type: z.ZodMiniLiteral<"screen">;
|
|
301
295
|
name: z.ZodMiniString<string>;
|
|
@@ -312,14 +306,14 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
312
306
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
313
307
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
314
308
|
}, z.core.$strip>;
|
|
315
|
-
gdpr: z.ZodMiniObject<{
|
|
309
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
316
310
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
317
|
-
}, z.core.$strip
|
|
311
|
+
}, z.core.$strip>>;
|
|
318
312
|
library: z.ZodMiniObject<{
|
|
319
313
|
name: z.ZodMiniString<string>;
|
|
320
314
|
version: z.ZodMiniString<string>;
|
|
321
315
|
}, z.core.$strip>;
|
|
322
|
-
locale: z.ZodMiniString<string
|
|
316
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
323
317
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
324
318
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
325
319
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -354,14 +348,14 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
354
348
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
355
349
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
356
350
|
}, z.core.$strip>;
|
|
357
|
-
gdpr: z.ZodMiniObject<{
|
|
351
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
358
352
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
359
|
-
}, z.core.$strip
|
|
353
|
+
}, z.core.$strip>>;
|
|
360
354
|
library: z.ZodMiniObject<{
|
|
361
355
|
name: z.ZodMiniString<string>;
|
|
362
356
|
version: z.ZodMiniString<string>;
|
|
363
357
|
}, z.core.$strip>;
|
|
364
|
-
locale: z.ZodMiniString<string
|
|
358
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
365
359
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
366
360
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
367
361
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -379,7 +373,7 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
379
373
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
380
374
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
381
375
|
path: z.ZodMiniString<string>;
|
|
382
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
376
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
383
377
|
referrer: z.ZodMiniString<string>;
|
|
384
378
|
search: z.ZodMiniString<string>;
|
|
385
379
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -390,9 +384,9 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
390
384
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
391
385
|
}, z.core.$strip>;
|
|
392
386
|
messageId: z.ZodMiniString<string>;
|
|
393
|
-
originalTimestamp: z.
|
|
394
|
-
sentAt: z.
|
|
395
|
-
timestamp: z.
|
|
387
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
388
|
+
sentAt: z.ZodMiniString<string>;
|
|
389
|
+
timestamp: z.ZodMiniString<string>;
|
|
396
390
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
397
391
|
type: z.ZodMiniLiteral<"track">;
|
|
398
392
|
event: z.ZodMiniString<string>;
|
|
@@ -426,14 +420,14 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
426
420
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
427
421
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
428
422
|
}, z.core.$strip>;
|
|
429
|
-
gdpr: z.ZodMiniObject<{
|
|
423
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
430
424
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
431
|
-
}, z.core.$strip
|
|
425
|
+
}, z.core.$strip>>;
|
|
432
426
|
library: z.ZodMiniObject<{
|
|
433
427
|
name: z.ZodMiniString<string>;
|
|
434
428
|
version: z.ZodMiniString<string>;
|
|
435
429
|
}, z.core.$strip>;
|
|
436
|
-
locale: z.ZodMiniString<string
|
|
430
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
437
431
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
438
432
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
439
433
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -451,7 +445,7 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
451
445
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
452
446
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
453
447
|
path: z.ZodMiniString<string>;
|
|
454
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
448
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
455
449
|
referrer: z.ZodMiniString<string>;
|
|
456
450
|
search: z.ZodMiniString<string>;
|
|
457
451
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -462,14 +456,14 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
462
456
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
463
457
|
}, z.core.$strip>;
|
|
464
458
|
messageId: z.ZodMiniString<string>;
|
|
465
|
-
originalTimestamp: z.
|
|
466
|
-
sentAt: z.
|
|
467
|
-
timestamp: z.
|
|
459
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
460
|
+
sentAt: z.ZodMiniString<string>;
|
|
461
|
+
timestamp: z.ZodMiniString<string>;
|
|
468
462
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
469
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
463
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
470
464
|
componentId: z.ZodMiniString<string>;
|
|
471
465
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
472
|
-
variantIndex: z.ZodMiniNumber<number
|
|
466
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
473
467
|
type: z.ZodMiniLiteral<"component">;
|
|
474
468
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
475
469
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -488,14 +482,14 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
488
482
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
489
483
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
490
484
|
}, z.core.$strip>;
|
|
491
|
-
gdpr: z.ZodMiniObject<{
|
|
485
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
492
486
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
493
|
-
}, z.core.$strip
|
|
487
|
+
}, z.core.$strip>>;
|
|
494
488
|
library: z.ZodMiniObject<{
|
|
495
489
|
name: z.ZodMiniString<string>;
|
|
496
490
|
version: z.ZodMiniString<string>;
|
|
497
491
|
}, z.core.$strip>;
|
|
498
|
-
locale: z.ZodMiniString<string
|
|
492
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
499
493
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
500
494
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
501
495
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -513,7 +507,7 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
513
507
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
514
508
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
515
509
|
path: z.ZodMiniString<string>;
|
|
516
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
510
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
517
511
|
referrer: z.ZodMiniString<string>;
|
|
518
512
|
search: z.ZodMiniString<string>;
|
|
519
513
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -524,9 +518,9 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
524
518
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
525
519
|
}, z.core.$strip>;
|
|
526
520
|
messageId: z.ZodMiniString<string>;
|
|
527
|
-
originalTimestamp: z.
|
|
528
|
-
sentAt: z.
|
|
529
|
-
timestamp: z.
|
|
521
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
522
|
+
sentAt: z.ZodMiniString<string>;
|
|
523
|
+
timestamp: z.ZodMiniString<string>;
|
|
530
524
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
531
525
|
entityId: z.ZodMiniString<string>;
|
|
532
526
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -542,7 +536,7 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
542
536
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
543
537
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
544
538
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
545
|
-
viewDurationMs: z.
|
|
539
|
+
viewDurationMs: z.ZodMiniInt;
|
|
546
540
|
viewId: z.ZodMiniString<string>;
|
|
547
541
|
anonymousId: z.ZodMiniString<string>;
|
|
548
542
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
@@ -559,14 +553,14 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
559
553
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
560
554
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
561
555
|
}, z.core.$strip>;
|
|
562
|
-
gdpr: z.ZodMiniObject<{
|
|
556
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
563
557
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
564
|
-
}, z.core.$strip
|
|
558
|
+
}, z.core.$strip>>;
|
|
565
559
|
library: z.ZodMiniObject<{
|
|
566
560
|
name: z.ZodMiniString<string>;
|
|
567
561
|
version: z.ZodMiniString<string>;
|
|
568
562
|
}, z.core.$strip>;
|
|
569
|
-
locale: z.ZodMiniString<string
|
|
563
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
570
564
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
571
565
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
572
566
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -584,7 +578,7 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
584
578
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
585
579
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
586
580
|
path: z.ZodMiniString<string>;
|
|
587
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
581
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
588
582
|
referrer: z.ZodMiniString<string>;
|
|
589
583
|
search: z.ZodMiniString<string>;
|
|
590
584
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -595,29 +589,29 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
595
589
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
596
590
|
}, z.core.$strip>;
|
|
597
591
|
messageId: z.ZodMiniString<string>;
|
|
598
|
-
originalTimestamp: z.
|
|
599
|
-
sentAt: z.
|
|
600
|
-
timestamp: z.
|
|
601
|
-
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
592
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
593
|
+
sentAt: z.ZodMiniString<string>;
|
|
594
|
+
timestamp: z.ZodMiniString<string>;
|
|
602
595
|
type: z.ZodMiniLiteral<"identify">;
|
|
603
596
|
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
597
|
+
userId: z.ZodMiniString<string>;
|
|
604
598
|
anonymousId: z.ZodMiniString<string>;
|
|
605
599
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
606
600
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
607
601
|
messageId: z.ZodMiniString<string>;
|
|
608
|
-
originalTimestamp: z.
|
|
609
|
-
sentAt: z.
|
|
610
|
-
timestamp: z.
|
|
602
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
603
|
+
sentAt: z.ZodMiniString<string>;
|
|
604
|
+
timestamp: z.ZodMiniString<string>;
|
|
611
605
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
612
606
|
type: z.ZodMiniLiteral<"page">;
|
|
613
607
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
614
608
|
properties: z.ZodMiniObject<{
|
|
615
609
|
path: z.ZodMiniString<string>;
|
|
616
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
610
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
617
611
|
referrer: z.ZodMiniString<string>;
|
|
618
612
|
search: z.ZodMiniString<string>;
|
|
619
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
620
613
|
url: z.ZodMiniString<string>;
|
|
614
|
+
title: z.ZodMiniString<string>;
|
|
621
615
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
622
616
|
context: z.ZodMiniObject<{
|
|
623
617
|
app: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -631,14 +625,14 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
631
625
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
632
626
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
633
627
|
}, z.core.$strip>;
|
|
634
|
-
gdpr: z.ZodMiniObject<{
|
|
628
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
635
629
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
636
|
-
}, z.core.$strip
|
|
630
|
+
}, z.core.$strip>>;
|
|
637
631
|
library: z.ZodMiniObject<{
|
|
638
632
|
name: z.ZodMiniString<string>;
|
|
639
633
|
version: z.ZodMiniString<string>;
|
|
640
634
|
}, z.core.$strip>;
|
|
641
|
-
locale: z.ZodMiniString<string
|
|
635
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
642
636
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
643
637
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
644
638
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -654,22 +648,22 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
654
648
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
655
649
|
}, z.core.$strip>>;
|
|
656
650
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
657
|
-
page: z.ZodMiniObject<{
|
|
651
|
+
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
658
652
|
path: z.ZodMiniString<string>;
|
|
659
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
653
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
660
654
|
referrer: z.ZodMiniString<string>;
|
|
661
655
|
search: z.ZodMiniString<string>;
|
|
662
656
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
663
657
|
url: z.ZodMiniString<string>;
|
|
664
|
-
}, z.core.$catchall<z.ZodMiniJSONSchema
|
|
658
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
665
659
|
}, z.core.$strip>;
|
|
666
660
|
anonymousId: z.ZodMiniString<string>;
|
|
667
661
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
668
662
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
669
663
|
messageId: z.ZodMiniString<string>;
|
|
670
|
-
originalTimestamp: z.
|
|
671
|
-
sentAt: z.
|
|
672
|
-
timestamp: z.
|
|
664
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
665
|
+
sentAt: z.ZodMiniString<string>;
|
|
666
|
+
timestamp: z.ZodMiniString<string>;
|
|
673
667
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
674
668
|
type: z.ZodMiniLiteral<"screen">;
|
|
675
669
|
name: z.ZodMiniString<string>;
|
|
@@ -686,14 +680,14 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
686
680
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
687
681
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
688
682
|
}, z.core.$strip>;
|
|
689
|
-
gdpr: z.ZodMiniObject<{
|
|
683
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
690
684
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
691
|
-
}, z.core.$strip
|
|
685
|
+
}, z.core.$strip>>;
|
|
692
686
|
library: z.ZodMiniObject<{
|
|
693
687
|
name: z.ZodMiniString<string>;
|
|
694
688
|
version: z.ZodMiniString<string>;
|
|
695
689
|
}, z.core.$strip>;
|
|
696
|
-
locale: z.ZodMiniString<string
|
|
690
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
697
691
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
698
692
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
699
693
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -728,14 +722,14 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
728
722
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
729
723
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
730
724
|
}, z.core.$strip>;
|
|
731
|
-
gdpr: z.ZodMiniObject<{
|
|
725
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
732
726
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
733
|
-
}, z.core.$strip
|
|
727
|
+
}, z.core.$strip>>;
|
|
734
728
|
library: z.ZodMiniObject<{
|
|
735
729
|
name: z.ZodMiniString<string>;
|
|
736
730
|
version: z.ZodMiniString<string>;
|
|
737
731
|
}, z.core.$strip>;
|
|
738
|
-
locale: z.ZodMiniString<string
|
|
732
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
739
733
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
740
734
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
741
735
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -753,7 +747,7 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
753
747
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
754
748
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
755
749
|
path: z.ZodMiniString<string>;
|
|
756
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
750
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
757
751
|
referrer: z.ZodMiniString<string>;
|
|
758
752
|
search: z.ZodMiniString<string>;
|
|
759
753
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -764,9 +758,9 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
764
758
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
765
759
|
}, z.core.$strip>;
|
|
766
760
|
messageId: z.ZodMiniString<string>;
|
|
767
|
-
originalTimestamp: z.
|
|
768
|
-
sentAt: z.
|
|
769
|
-
timestamp: z.
|
|
761
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
762
|
+
sentAt: z.ZodMiniString<string>;
|
|
763
|
+
timestamp: z.ZodMiniString<string>;
|
|
770
764
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
771
765
|
type: z.ZodMiniLiteral<"track">;
|
|
772
766
|
event: z.ZodMiniString<string>;
|
|
@@ -789,12 +783,6 @@ export declare type BatchExperienceEventArray = z.infer<typeof BatchExperienceEv
|
|
|
789
783
|
* least one event.
|
|
790
784
|
*/
|
|
791
785
|
export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
792
|
-
/**
|
|
793
|
-
* Batch experience events for the Experience API to evaluate.
|
|
794
|
-
*
|
|
795
|
-
* @remarks
|
|
796
|
-
* Must contain at least one event.
|
|
797
|
-
*/
|
|
798
786
|
events: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
799
787
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
800
788
|
context: z.ZodMiniObject<{
|
|
@@ -809,14 +797,14 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
809
797
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
810
798
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
811
799
|
}, z.core.$strip>;
|
|
812
|
-
gdpr: z.ZodMiniObject<{
|
|
800
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
813
801
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
814
|
-
}, z.core.$strip
|
|
802
|
+
}, z.core.$strip>>;
|
|
815
803
|
library: z.ZodMiniObject<{
|
|
816
804
|
name: z.ZodMiniString<string>;
|
|
817
805
|
version: z.ZodMiniString<string>;
|
|
818
806
|
}, z.core.$strip>;
|
|
819
|
-
locale: z.ZodMiniString<string
|
|
807
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
820
808
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
821
809
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
822
810
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -834,7 +822,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
834
822
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
835
823
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
836
824
|
path: z.ZodMiniString<string>;
|
|
837
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
825
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
838
826
|
referrer: z.ZodMiniString<string>;
|
|
839
827
|
search: z.ZodMiniString<string>;
|
|
840
828
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -845,14 +833,14 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
845
833
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
846
834
|
}, z.core.$strip>;
|
|
847
835
|
messageId: z.ZodMiniString<string>;
|
|
848
|
-
originalTimestamp: z.
|
|
849
|
-
sentAt: z.
|
|
850
|
-
timestamp: z.
|
|
836
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
837
|
+
sentAt: z.ZodMiniString<string>;
|
|
838
|
+
timestamp: z.ZodMiniString<string>;
|
|
851
839
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
852
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
840
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
853
841
|
componentId: z.ZodMiniString<string>;
|
|
854
842
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
855
|
-
variantIndex: z.ZodMiniNumber<number
|
|
843
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
856
844
|
type: z.ZodMiniLiteral<"component">;
|
|
857
845
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
858
846
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -871,14 +859,14 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
871
859
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
872
860
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
873
861
|
}, z.core.$strip>;
|
|
874
|
-
gdpr: z.ZodMiniObject<{
|
|
862
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
875
863
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
876
|
-
}, z.core.$strip
|
|
864
|
+
}, z.core.$strip>>;
|
|
877
865
|
library: z.ZodMiniObject<{
|
|
878
866
|
name: z.ZodMiniString<string>;
|
|
879
867
|
version: z.ZodMiniString<string>;
|
|
880
868
|
}, z.core.$strip>;
|
|
881
|
-
locale: z.ZodMiniString<string
|
|
869
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
882
870
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
883
871
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
884
872
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -896,7 +884,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
896
884
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
897
885
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
898
886
|
path: z.ZodMiniString<string>;
|
|
899
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
887
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
900
888
|
referrer: z.ZodMiniString<string>;
|
|
901
889
|
search: z.ZodMiniString<string>;
|
|
902
890
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -907,9 +895,9 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
907
895
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
908
896
|
}, z.core.$strip>;
|
|
909
897
|
messageId: z.ZodMiniString<string>;
|
|
910
|
-
originalTimestamp: z.
|
|
911
|
-
sentAt: z.
|
|
912
|
-
timestamp: z.
|
|
898
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
899
|
+
sentAt: z.ZodMiniString<string>;
|
|
900
|
+
timestamp: z.ZodMiniString<string>;
|
|
913
901
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
914
902
|
entityId: z.ZodMiniString<string>;
|
|
915
903
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -925,7 +913,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
925
913
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
926
914
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
927
915
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
928
|
-
viewDurationMs: z.
|
|
916
|
+
viewDurationMs: z.ZodMiniInt;
|
|
929
917
|
viewId: z.ZodMiniString<string>;
|
|
930
918
|
anonymousId: z.ZodMiniString<string>;
|
|
931
919
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
@@ -942,14 +930,14 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
942
930
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
943
931
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
944
932
|
}, z.core.$strip>;
|
|
945
|
-
gdpr: z.ZodMiniObject<{
|
|
933
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
946
934
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
947
|
-
}, z.core.$strip
|
|
935
|
+
}, z.core.$strip>>;
|
|
948
936
|
library: z.ZodMiniObject<{
|
|
949
937
|
name: z.ZodMiniString<string>;
|
|
950
938
|
version: z.ZodMiniString<string>;
|
|
951
939
|
}, z.core.$strip>;
|
|
952
|
-
locale: z.ZodMiniString<string
|
|
940
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
953
941
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
954
942
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
955
943
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -967,7 +955,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
967
955
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
968
956
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
969
957
|
path: z.ZodMiniString<string>;
|
|
970
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
958
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
971
959
|
referrer: z.ZodMiniString<string>;
|
|
972
960
|
search: z.ZodMiniString<string>;
|
|
973
961
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -978,29 +966,29 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
978
966
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
979
967
|
}, z.core.$strip>;
|
|
980
968
|
messageId: z.ZodMiniString<string>;
|
|
981
|
-
originalTimestamp: z.
|
|
982
|
-
sentAt: z.
|
|
983
|
-
timestamp: z.
|
|
984
|
-
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
969
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
970
|
+
sentAt: z.ZodMiniString<string>;
|
|
971
|
+
timestamp: z.ZodMiniString<string>;
|
|
985
972
|
type: z.ZodMiniLiteral<"identify">;
|
|
986
973
|
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
974
|
+
userId: z.ZodMiniString<string>;
|
|
987
975
|
anonymousId: z.ZodMiniString<string>;
|
|
988
976
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
989
977
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
990
978
|
messageId: z.ZodMiniString<string>;
|
|
991
|
-
originalTimestamp: z.
|
|
992
|
-
sentAt: z.
|
|
993
|
-
timestamp: z.
|
|
979
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
980
|
+
sentAt: z.ZodMiniString<string>;
|
|
981
|
+
timestamp: z.ZodMiniString<string>;
|
|
994
982
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
995
983
|
type: z.ZodMiniLiteral<"page">;
|
|
996
984
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
997
985
|
properties: z.ZodMiniObject<{
|
|
998
986
|
path: z.ZodMiniString<string>;
|
|
999
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
987
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1000
988
|
referrer: z.ZodMiniString<string>;
|
|
1001
989
|
search: z.ZodMiniString<string>;
|
|
1002
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1003
990
|
url: z.ZodMiniString<string>;
|
|
991
|
+
title: z.ZodMiniString<string>;
|
|
1004
992
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
1005
993
|
context: z.ZodMiniObject<{
|
|
1006
994
|
app: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -1014,14 +1002,14 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
1014
1002
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1015
1003
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1016
1004
|
}, z.core.$strip>;
|
|
1017
|
-
gdpr: z.ZodMiniObject<{
|
|
1005
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1018
1006
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1019
|
-
}, z.core.$strip
|
|
1007
|
+
}, z.core.$strip>>;
|
|
1020
1008
|
library: z.ZodMiniObject<{
|
|
1021
1009
|
name: z.ZodMiniString<string>;
|
|
1022
1010
|
version: z.ZodMiniString<string>;
|
|
1023
1011
|
}, z.core.$strip>;
|
|
1024
|
-
locale: z.ZodMiniString<string
|
|
1012
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1025
1013
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1026
1014
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1027
1015
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1037,22 +1025,22 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
1037
1025
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1038
1026
|
}, z.core.$strip>>;
|
|
1039
1027
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1040
|
-
page: z.ZodMiniObject<{
|
|
1028
|
+
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1041
1029
|
path: z.ZodMiniString<string>;
|
|
1042
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1030
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1043
1031
|
referrer: z.ZodMiniString<string>;
|
|
1044
1032
|
search: z.ZodMiniString<string>;
|
|
1045
1033
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1046
1034
|
url: z.ZodMiniString<string>;
|
|
1047
|
-
}, z.core.$catchall<z.ZodMiniJSONSchema
|
|
1035
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1048
1036
|
}, z.core.$strip>;
|
|
1049
1037
|
anonymousId: z.ZodMiniString<string>;
|
|
1050
1038
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1051
1039
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
1052
1040
|
messageId: z.ZodMiniString<string>;
|
|
1053
|
-
originalTimestamp: z.
|
|
1054
|
-
sentAt: z.
|
|
1055
|
-
timestamp: z.
|
|
1041
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1042
|
+
sentAt: z.ZodMiniString<string>;
|
|
1043
|
+
timestamp: z.ZodMiniString<string>;
|
|
1056
1044
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1057
1045
|
type: z.ZodMiniLiteral<"screen">;
|
|
1058
1046
|
name: z.ZodMiniString<string>;
|
|
@@ -1069,14 +1057,14 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
1069
1057
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1070
1058
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1071
1059
|
}, z.core.$strip>;
|
|
1072
|
-
gdpr: z.ZodMiniObject<{
|
|
1060
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1073
1061
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1074
|
-
}, z.core.$strip
|
|
1062
|
+
}, z.core.$strip>>;
|
|
1075
1063
|
library: z.ZodMiniObject<{
|
|
1076
1064
|
name: z.ZodMiniString<string>;
|
|
1077
1065
|
version: z.ZodMiniString<string>;
|
|
1078
1066
|
}, z.core.$strip>;
|
|
1079
|
-
locale: z.ZodMiniString<string
|
|
1067
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1080
1068
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1081
1069
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1082
1070
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1111,14 +1099,14 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
1111
1099
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1112
1100
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1113
1101
|
}, z.core.$strip>;
|
|
1114
|
-
gdpr: z.ZodMiniObject<{
|
|
1102
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1115
1103
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1116
|
-
}, z.core.$strip
|
|
1104
|
+
}, z.core.$strip>>;
|
|
1117
1105
|
library: z.ZodMiniObject<{
|
|
1118
1106
|
name: z.ZodMiniString<string>;
|
|
1119
1107
|
version: z.ZodMiniString<string>;
|
|
1120
1108
|
}, z.core.$strip>;
|
|
1121
|
-
locale: z.ZodMiniString<string
|
|
1109
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1122
1110
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1123
1111
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1124
1112
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1136,7 +1124,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
1136
1124
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1137
1125
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1138
1126
|
path: z.ZodMiniString<string>;
|
|
1139
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1127
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1140
1128
|
referrer: z.ZodMiniString<string>;
|
|
1141
1129
|
search: z.ZodMiniString<string>;
|
|
1142
1130
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1147,18 +1135,15 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
1147
1135
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1148
1136
|
}, z.core.$strip>;
|
|
1149
1137
|
messageId: z.ZodMiniString<string>;
|
|
1150
|
-
originalTimestamp: z.
|
|
1151
|
-
sentAt: z.
|
|
1152
|
-
timestamp: z.
|
|
1138
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1139
|
+
sentAt: z.ZodMiniString<string>;
|
|
1140
|
+
timestamp: z.ZodMiniString<string>;
|
|
1153
1141
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1154
1142
|
type: z.ZodMiniLiteral<"track">;
|
|
1155
1143
|
event: z.ZodMiniString<string>;
|
|
1156
1144
|
properties: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
1157
1145
|
anonymousId: z.ZodMiniString<string>;
|
|
1158
1146
|
}, z.core.$strip>], "type">>;
|
|
1159
|
-
/**
|
|
1160
|
-
* Optional feature configuration. Batch locations belong in each event's `context.location`.
|
|
1161
|
-
*/
|
|
1162
1147
|
options: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1163
1148
|
features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1164
1149
|
}, z.core.$strip>>;
|
|
@@ -1184,9 +1169,6 @@ export declare const BatchExperienceResponse: z.ZodMiniObject<{
|
|
|
1184
1169
|
code: z.ZodMiniString<string>;
|
|
1185
1170
|
}, z.core.$strip>>;
|
|
1186
1171
|
data: z.ZodMiniObject<{
|
|
1187
|
-
/**
|
|
1188
|
-
* Profiles evaluated or affected by the batch experience request.
|
|
1189
|
-
*/
|
|
1190
1172
|
profiles: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1191
1173
|
id: z.ZodMiniString<string>;
|
|
1192
1174
|
stableId: z.ZodMiniString<string>;
|
|
@@ -1208,11 +1190,11 @@ export declare const BatchExperienceResponse: z.ZodMiniObject<{
|
|
|
1208
1190
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1209
1191
|
}, z.core.$strip>;
|
|
1210
1192
|
session: z.ZodMiniObject<{
|
|
1211
|
-
id: z.ZodMiniString<string
|
|
1193
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1212
1194
|
isReturningVisitor: z.ZodMiniBoolean<boolean>;
|
|
1213
1195
|
landingPage: z.ZodMiniObject<{
|
|
1214
1196
|
path: z.ZodMiniString<string>;
|
|
1215
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1197
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1216
1198
|
referrer: z.ZodMiniString<string>;
|
|
1217
1199
|
search: z.ZodMiniString<string>;
|
|
1218
1200
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1222,6 +1204,10 @@ export declare const BatchExperienceResponse: z.ZodMiniObject<{
|
|
|
1222
1204
|
activeSessionLength: z.ZodMiniNumber<number>;
|
|
1223
1205
|
averageSessionLength: z.ZodMiniNumber<number>;
|
|
1224
1206
|
}, z.core.$strip>;
|
|
1207
|
+
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1208
|
+
US: "US";
|
|
1209
|
+
EU: "EU";
|
|
1210
|
+
}>>;
|
|
1225
1211
|
}, z.core.$strip>>>;
|
|
1226
1212
|
}, z.core.$strip>;
|
|
1227
1213
|
}, z.core.$strip>;
|
|
@@ -1243,9 +1229,6 @@ export declare type BatchExperienceResponse = z.infer<typeof BatchExperienceResp
|
|
|
1243
1229
|
* @public
|
|
1244
1230
|
*/
|
|
1245
1231
|
export declare const BatchExperienceResponseData: z.ZodMiniObject<{
|
|
1246
|
-
/**
|
|
1247
|
-
* Profiles evaluated or affected by the batch experience request.
|
|
1248
|
-
*/
|
|
1249
1232
|
profiles: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1250
1233
|
id: z.ZodMiniString<string>;
|
|
1251
1234
|
stableId: z.ZodMiniString<string>;
|
|
@@ -1267,11 +1250,11 @@ export declare const BatchExperienceResponseData: z.ZodMiniObject<{
|
|
|
1267
1250
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1268
1251
|
}, z.core.$strip>;
|
|
1269
1252
|
session: z.ZodMiniObject<{
|
|
1270
|
-
id: z.ZodMiniString<string
|
|
1253
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1271
1254
|
isReturningVisitor: z.ZodMiniBoolean<boolean>;
|
|
1272
1255
|
landingPage: z.ZodMiniObject<{
|
|
1273
1256
|
path: z.ZodMiniString<string>;
|
|
1274
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1257
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1275
1258
|
referrer: z.ZodMiniString<string>;
|
|
1276
1259
|
search: z.ZodMiniString<string>;
|
|
1277
1260
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1281,6 +1264,10 @@ export declare const BatchExperienceResponseData: z.ZodMiniObject<{
|
|
|
1281
1264
|
activeSessionLength: z.ZodMiniNumber<number>;
|
|
1282
1265
|
averageSessionLength: z.ZodMiniNumber<number>;
|
|
1283
1266
|
}, z.core.$strip>;
|
|
1267
|
+
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1268
|
+
US: "US";
|
|
1269
|
+
EU: "EU";
|
|
1270
|
+
}>>;
|
|
1284
1271
|
}, z.core.$strip>>>;
|
|
1285
1272
|
}, z.core.$strip>;
|
|
1286
1273
|
|
|
@@ -1295,25 +1282,52 @@ export declare type BatchExperienceResponseData = z.infer<typeof BatchExperience
|
|
|
1295
1282
|
* Zod schema describing a batched Insights event payload.
|
|
1296
1283
|
*
|
|
1297
1284
|
* @remarks
|
|
1298
|
-
* Combines a {@link
|
|
1285
|
+
* Combines a {@link Profile} with one or more Insights events
|
|
1299
1286
|
* to be sent to the Contentful Insights API.
|
|
1300
1287
|
*
|
|
1301
1288
|
* @public
|
|
1302
1289
|
*/
|
|
1303
1290
|
export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
1304
|
-
/**
|
|
1305
|
-
* Partial profile information used to associate events with a user.
|
|
1306
|
-
*
|
|
1307
|
-
* @see {@link PartialProfile}
|
|
1308
|
-
*/
|
|
1309
1291
|
profile: z.ZodMiniObject<{
|
|
1310
1292
|
id: z.ZodMiniString<string>;
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1293
|
+
stableId: z.ZodMiniString<string>;
|
|
1294
|
+
random: z.ZodMiniNumber<number>;
|
|
1295
|
+
audiences: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
1296
|
+
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
1297
|
+
location: z.ZodMiniObject<{
|
|
1298
|
+
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1299
|
+
latitude: z.ZodMiniNumber<number>;
|
|
1300
|
+
longitude: z.ZodMiniNumber<number>;
|
|
1301
|
+
}, z.core.$strip>>;
|
|
1302
|
+
city: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1303
|
+
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1304
|
+
region: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1305
|
+
regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1306
|
+
country: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1307
|
+
countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1308
|
+
continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1309
|
+
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1310
|
+
}, z.core.$strip>;
|
|
1311
|
+
session: z.ZodMiniObject<{
|
|
1312
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1313
|
+
isReturningVisitor: z.ZodMiniBoolean<boolean>;
|
|
1314
|
+
landingPage: z.ZodMiniObject<{
|
|
1315
|
+
path: z.ZodMiniString<string>;
|
|
1316
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1317
|
+
referrer: z.ZodMiniString<string>;
|
|
1318
|
+
search: z.ZodMiniString<string>;
|
|
1319
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1320
|
+
url: z.ZodMiniString<string>;
|
|
1321
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
1322
|
+
count: z.ZodMiniNumber<number>;
|
|
1323
|
+
activeSessionLength: z.ZodMiniNumber<number>;
|
|
1324
|
+
averageSessionLength: z.ZodMiniNumber<number>;
|
|
1325
|
+
}, z.core.$strip>;
|
|
1326
|
+
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1327
|
+
US: "US";
|
|
1328
|
+
EU: "EU";
|
|
1329
|
+
}>>;
|
|
1330
|
+
}, z.core.$strip>;
|
|
1317
1331
|
events: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1318
1332
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
1319
1333
|
context: z.ZodMiniObject<{
|
|
@@ -1328,14 +1342,14 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1328
1342
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1329
1343
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1330
1344
|
}, z.core.$strip>;
|
|
1331
|
-
gdpr: z.ZodMiniObject<{
|
|
1345
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1332
1346
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1333
|
-
}, z.core.$strip
|
|
1347
|
+
}, z.core.$strip>>;
|
|
1334
1348
|
library: z.ZodMiniObject<{
|
|
1335
1349
|
name: z.ZodMiniString<string>;
|
|
1336
1350
|
version: z.ZodMiniString<string>;
|
|
1337
1351
|
}, z.core.$strip>;
|
|
1338
|
-
locale: z.ZodMiniString<string
|
|
1352
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1339
1353
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1340
1354
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1341
1355
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1353,7 +1367,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1353
1367
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1354
1368
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1355
1369
|
path: z.ZodMiniString<string>;
|
|
1356
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1370
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1357
1371
|
referrer: z.ZodMiniString<string>;
|
|
1358
1372
|
search: z.ZodMiniString<string>;
|
|
1359
1373
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1363,15 +1377,16 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1363
1377
|
name: z.ZodMiniString<string>;
|
|
1364
1378
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1365
1379
|
}, z.core.$strip>;
|
|
1380
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1366
1381
|
messageId: z.ZodMiniString<string>;
|
|
1367
|
-
originalTimestamp: z.
|
|
1368
|
-
sentAt: z.
|
|
1369
|
-
timestamp: z.
|
|
1382
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1383
|
+
sentAt: z.ZodMiniString<string>;
|
|
1384
|
+
timestamp: z.ZodMiniString<string>;
|
|
1370
1385
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1371
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
1386
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
1372
1387
|
componentId: z.ZodMiniString<string>;
|
|
1373
1388
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1374
|
-
variantIndex: z.ZodMiniNumber<number
|
|
1389
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1375
1390
|
type: z.ZodMiniLiteral<"component">;
|
|
1376
1391
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1377
1392
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1389,14 +1404,14 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1389
1404
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1390
1405
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1391
1406
|
}, z.core.$strip>;
|
|
1392
|
-
gdpr: z.ZodMiniObject<{
|
|
1407
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1393
1408
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1394
|
-
}, z.core.$strip
|
|
1409
|
+
}, z.core.$strip>>;
|
|
1395
1410
|
library: z.ZodMiniObject<{
|
|
1396
1411
|
name: z.ZodMiniString<string>;
|
|
1397
1412
|
version: z.ZodMiniString<string>;
|
|
1398
1413
|
}, z.core.$strip>;
|
|
1399
|
-
locale: z.ZodMiniString<string
|
|
1414
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1400
1415
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1401
1416
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1402
1417
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1414,7 +1429,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1414
1429
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1415
1430
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1416
1431
|
path: z.ZodMiniString<string>;
|
|
1417
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1432
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1418
1433
|
referrer: z.ZodMiniString<string>;
|
|
1419
1434
|
search: z.ZodMiniString<string>;
|
|
1420
1435
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1424,15 +1439,16 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1424
1439
|
name: z.ZodMiniString<string>;
|
|
1425
1440
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1426
1441
|
}, z.core.$strip>;
|
|
1442
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1427
1443
|
messageId: z.ZodMiniString<string>;
|
|
1428
|
-
originalTimestamp: z.
|
|
1429
|
-
sentAt: z.
|
|
1430
|
-
timestamp: z.
|
|
1444
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1445
|
+
sentAt: z.ZodMiniString<string>;
|
|
1446
|
+
timestamp: z.ZodMiniString<string>;
|
|
1431
1447
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1432
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
1448
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
1433
1449
|
componentId: z.ZodMiniString<string>;
|
|
1434
1450
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1435
|
-
variantIndex: z.ZodMiniNumber<number
|
|
1451
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1436
1452
|
type: z.ZodMiniLiteral<"component_click">;
|
|
1437
1453
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1438
1454
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -1448,14 +1464,14 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1448
1464
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1449
1465
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1450
1466
|
}, z.core.$strip>;
|
|
1451
|
-
gdpr: z.ZodMiniObject<{
|
|
1467
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1452
1468
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1453
|
-
}, z.core.$strip
|
|
1469
|
+
}, z.core.$strip>>;
|
|
1454
1470
|
library: z.ZodMiniObject<{
|
|
1455
1471
|
name: z.ZodMiniString<string>;
|
|
1456
1472
|
version: z.ZodMiniString<string>;
|
|
1457
1473
|
}, z.core.$strip>;
|
|
1458
|
-
locale: z.ZodMiniString<string
|
|
1474
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1459
1475
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1460
1476
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1461
1477
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1473,7 +1489,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1473
1489
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1474
1490
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1475
1491
|
path: z.ZodMiniString<string>;
|
|
1476
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1492
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1477
1493
|
referrer: z.ZodMiniString<string>;
|
|
1478
1494
|
search: z.ZodMiniString<string>;
|
|
1479
1495
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1483,15 +1499,16 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1483
1499
|
name: z.ZodMiniString<string>;
|
|
1484
1500
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1485
1501
|
}, z.core.$strip>;
|
|
1502
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1486
1503
|
messageId: z.ZodMiniString<string>;
|
|
1487
|
-
originalTimestamp: z.
|
|
1488
|
-
sentAt: z.
|
|
1489
|
-
timestamp: z.
|
|
1504
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1505
|
+
sentAt: z.ZodMiniString<string>;
|
|
1506
|
+
timestamp: z.ZodMiniString<string>;
|
|
1490
1507
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1491
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
1508
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
1492
1509
|
componentId: z.ZodMiniString<string>;
|
|
1493
1510
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1494
|
-
variantIndex: z.ZodMiniNumber<number
|
|
1511
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1495
1512
|
type: z.ZodMiniLiteral<"component_hover">;
|
|
1496
1513
|
hoverDurationMs: z.ZodMiniNumber<number>;
|
|
1497
1514
|
hoverId: z.ZodMiniString<string>;
|
|
@@ -1509,14 +1526,14 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1509
1526
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1510
1527
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1511
1528
|
}, z.core.$strip>;
|
|
1512
|
-
gdpr: z.ZodMiniObject<{
|
|
1529
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1513
1530
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1514
|
-
}, z.core.$strip
|
|
1531
|
+
}, z.core.$strip>>;
|
|
1515
1532
|
library: z.ZodMiniObject<{
|
|
1516
1533
|
name: z.ZodMiniString<string>;
|
|
1517
1534
|
version: z.ZodMiniString<string>;
|
|
1518
1535
|
}, z.core.$strip>;
|
|
1519
|
-
locale: z.ZodMiniString<string
|
|
1536
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1520
1537
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1521
1538
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1522
1539
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1534,7 +1551,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1534
1551
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1535
1552
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1536
1553
|
path: z.ZodMiniString<string>;
|
|
1537
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1554
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1538
1555
|
referrer: z.ZodMiniString<string>;
|
|
1539
1556
|
search: z.ZodMiniString<string>;
|
|
1540
1557
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1544,10 +1561,11 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1544
1561
|
name: z.ZodMiniString<string>;
|
|
1545
1562
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1546
1563
|
}, z.core.$strip>;
|
|
1564
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1547
1565
|
messageId: z.ZodMiniString<string>;
|
|
1548
|
-
originalTimestamp: z.
|
|
1549
|
-
sentAt: z.
|
|
1550
|
-
timestamp: z.
|
|
1566
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1567
|
+
sentAt: z.ZodMiniString<string>;
|
|
1568
|
+
timestamp: z.ZodMiniString<string>;
|
|
1551
1569
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1552
1570
|
entityId: z.ZodMiniString<string>;
|
|
1553
1571
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -1563,7 +1581,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1563
1581
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1564
1582
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1565
1583
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
1566
|
-
viewDurationMs: z.
|
|
1584
|
+
viewDurationMs: z.ZodMiniInt;
|
|
1567
1585
|
viewId: z.ZodMiniString<string>;
|
|
1568
1586
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1569
1587
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -1579,14 +1597,14 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1579
1597
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1580
1598
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1581
1599
|
}, z.core.$strip>;
|
|
1582
|
-
gdpr: z.ZodMiniObject<{
|
|
1600
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1583
1601
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1584
|
-
}, z.core.$strip
|
|
1602
|
+
}, z.core.$strip>>;
|
|
1585
1603
|
library: z.ZodMiniObject<{
|
|
1586
1604
|
name: z.ZodMiniString<string>;
|
|
1587
1605
|
version: z.ZodMiniString<string>;
|
|
1588
1606
|
}, z.core.$strip>;
|
|
1589
|
-
locale: z.ZodMiniString<string
|
|
1607
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1590
1608
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1591
1609
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1592
1610
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1604,7 +1622,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1604
1622
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1605
1623
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1606
1624
|
path: z.ZodMiniString<string>;
|
|
1607
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1625
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1608
1626
|
referrer: z.ZodMiniString<string>;
|
|
1609
1627
|
search: z.ZodMiniString<string>;
|
|
1610
1628
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1614,10 +1632,11 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1614
1632
|
name: z.ZodMiniString<string>;
|
|
1615
1633
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1616
1634
|
}, z.core.$strip>;
|
|
1635
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1617
1636
|
messageId: z.ZodMiniString<string>;
|
|
1618
|
-
originalTimestamp: z.
|
|
1619
|
-
sentAt: z.
|
|
1620
|
-
timestamp: z.
|
|
1637
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1638
|
+
sentAt: z.ZodMiniString<string>;
|
|
1639
|
+
timestamp: z.ZodMiniString<string>;
|
|
1621
1640
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1622
1641
|
entityId: z.ZodMiniString<string>;
|
|
1623
1642
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -1647,14 +1666,14 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1647
1666
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1648
1667
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1649
1668
|
}, z.core.$strip>;
|
|
1650
|
-
gdpr: z.ZodMiniObject<{
|
|
1669
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1651
1670
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1652
|
-
}, z.core.$strip
|
|
1671
|
+
}, z.core.$strip>>;
|
|
1653
1672
|
library: z.ZodMiniObject<{
|
|
1654
1673
|
name: z.ZodMiniString<string>;
|
|
1655
1674
|
version: z.ZodMiniString<string>;
|
|
1656
1675
|
}, z.core.$strip>;
|
|
1657
|
-
locale: z.ZodMiniString<string
|
|
1676
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1658
1677
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1659
1678
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1660
1679
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1672,7 +1691,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1672
1691
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1673
1692
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1674
1693
|
path: z.ZodMiniString<string>;
|
|
1675
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1694
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1676
1695
|
referrer: z.ZodMiniString<string>;
|
|
1677
1696
|
search: z.ZodMiniString<string>;
|
|
1678
1697
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1682,10 +1701,11 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1682
1701
|
name: z.ZodMiniString<string>;
|
|
1683
1702
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1684
1703
|
}, z.core.$strip>;
|
|
1704
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1685
1705
|
messageId: z.ZodMiniString<string>;
|
|
1686
|
-
originalTimestamp: z.
|
|
1687
|
-
sentAt: z.
|
|
1688
|
-
timestamp: z.
|
|
1706
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1707
|
+
sentAt: z.ZodMiniString<string>;
|
|
1708
|
+
timestamp: z.ZodMiniString<string>;
|
|
1689
1709
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1690
1710
|
entityId: z.ZodMiniString<string>;
|
|
1691
1711
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -1701,7 +1721,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1701
1721
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1702
1722
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1703
1723
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
1704
|
-
hoverDurationMs: z.
|
|
1724
|
+
hoverDurationMs: z.ZodMiniInt;
|
|
1705
1725
|
hoverId: z.ZodMiniString<string>;
|
|
1706
1726
|
}, z.core.$strip>], "type">>;
|
|
1707
1727
|
}, z.core.$strip>;
|
|
@@ -1722,19 +1742,46 @@ export declare type BatchInsightsEvent = z.infer<typeof BatchInsightsEvent>;
|
|
|
1722
1742
|
* @public
|
|
1723
1743
|
*/
|
|
1724
1744
|
export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
1725
|
-
/**
|
|
1726
|
-
* Partial profile information used to associate events with a user.
|
|
1727
|
-
*
|
|
1728
|
-
* @see {@link PartialProfile}
|
|
1729
|
-
*/
|
|
1730
1745
|
profile: z.ZodMiniObject<{
|
|
1731
1746
|
id: z.ZodMiniString<string>;
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1747
|
+
stableId: z.ZodMiniString<string>;
|
|
1748
|
+
random: z.ZodMiniNumber<number>;
|
|
1749
|
+
audiences: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
1750
|
+
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
1751
|
+
location: z.ZodMiniObject<{
|
|
1752
|
+
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1753
|
+
latitude: z.ZodMiniNumber<number>;
|
|
1754
|
+
longitude: z.ZodMiniNumber<number>;
|
|
1755
|
+
}, z.core.$strip>>;
|
|
1756
|
+
city: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1757
|
+
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1758
|
+
region: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1759
|
+
regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1760
|
+
country: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1761
|
+
countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1762
|
+
continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1763
|
+
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1764
|
+
}, z.core.$strip>;
|
|
1765
|
+
session: z.ZodMiniObject<{
|
|
1766
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1767
|
+
isReturningVisitor: z.ZodMiniBoolean<boolean>;
|
|
1768
|
+
landingPage: z.ZodMiniObject<{
|
|
1769
|
+
path: z.ZodMiniString<string>;
|
|
1770
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1771
|
+
referrer: z.ZodMiniString<string>;
|
|
1772
|
+
search: z.ZodMiniString<string>;
|
|
1773
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1774
|
+
url: z.ZodMiniString<string>;
|
|
1775
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
1776
|
+
count: z.ZodMiniNumber<number>;
|
|
1777
|
+
activeSessionLength: z.ZodMiniNumber<number>;
|
|
1778
|
+
averageSessionLength: z.ZodMiniNumber<number>;
|
|
1779
|
+
}, z.core.$strip>;
|
|
1780
|
+
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1781
|
+
US: "US";
|
|
1782
|
+
EU: "EU";
|
|
1783
|
+
}>>;
|
|
1784
|
+
}, z.core.$strip>;
|
|
1738
1785
|
events: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1739
1786
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
1740
1787
|
context: z.ZodMiniObject<{
|
|
@@ -1749,14 +1796,14 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1749
1796
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1750
1797
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1751
1798
|
}, z.core.$strip>;
|
|
1752
|
-
gdpr: z.ZodMiniObject<{
|
|
1799
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1753
1800
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1754
|
-
}, z.core.$strip
|
|
1801
|
+
}, z.core.$strip>>;
|
|
1755
1802
|
library: z.ZodMiniObject<{
|
|
1756
1803
|
name: z.ZodMiniString<string>;
|
|
1757
1804
|
version: z.ZodMiniString<string>;
|
|
1758
1805
|
}, z.core.$strip>;
|
|
1759
|
-
locale: z.ZodMiniString<string
|
|
1806
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1760
1807
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1761
1808
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1762
1809
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1774,7 +1821,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1774
1821
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1775
1822
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1776
1823
|
path: z.ZodMiniString<string>;
|
|
1777
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1824
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1778
1825
|
referrer: z.ZodMiniString<string>;
|
|
1779
1826
|
search: z.ZodMiniString<string>;
|
|
1780
1827
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1784,15 +1831,16 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1784
1831
|
name: z.ZodMiniString<string>;
|
|
1785
1832
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1786
1833
|
}, z.core.$strip>;
|
|
1834
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1787
1835
|
messageId: z.ZodMiniString<string>;
|
|
1788
|
-
originalTimestamp: z.
|
|
1789
|
-
sentAt: z.
|
|
1790
|
-
timestamp: z.
|
|
1836
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1837
|
+
sentAt: z.ZodMiniString<string>;
|
|
1838
|
+
timestamp: z.ZodMiniString<string>;
|
|
1791
1839
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1792
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
1840
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
1793
1841
|
componentId: z.ZodMiniString<string>;
|
|
1794
1842
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1795
|
-
variantIndex: z.ZodMiniNumber<number
|
|
1843
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1796
1844
|
type: z.ZodMiniLiteral<"component">;
|
|
1797
1845
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1798
1846
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1810,14 +1858,14 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1810
1858
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1811
1859
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1812
1860
|
}, z.core.$strip>;
|
|
1813
|
-
gdpr: z.ZodMiniObject<{
|
|
1861
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1814
1862
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1815
|
-
}, z.core.$strip
|
|
1863
|
+
}, z.core.$strip>>;
|
|
1816
1864
|
library: z.ZodMiniObject<{
|
|
1817
1865
|
name: z.ZodMiniString<string>;
|
|
1818
1866
|
version: z.ZodMiniString<string>;
|
|
1819
1867
|
}, z.core.$strip>;
|
|
1820
|
-
locale: z.ZodMiniString<string
|
|
1868
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1821
1869
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1822
1870
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1823
1871
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1835,7 +1883,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1835
1883
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1836
1884
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1837
1885
|
path: z.ZodMiniString<string>;
|
|
1838
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1886
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1839
1887
|
referrer: z.ZodMiniString<string>;
|
|
1840
1888
|
search: z.ZodMiniString<string>;
|
|
1841
1889
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1845,15 +1893,16 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1845
1893
|
name: z.ZodMiniString<string>;
|
|
1846
1894
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1847
1895
|
}, z.core.$strip>;
|
|
1896
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1848
1897
|
messageId: z.ZodMiniString<string>;
|
|
1849
|
-
originalTimestamp: z.
|
|
1850
|
-
sentAt: z.
|
|
1851
|
-
timestamp: z.
|
|
1898
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1899
|
+
sentAt: z.ZodMiniString<string>;
|
|
1900
|
+
timestamp: z.ZodMiniString<string>;
|
|
1852
1901
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1853
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
1902
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
1854
1903
|
componentId: z.ZodMiniString<string>;
|
|
1855
1904
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1856
|
-
variantIndex: z.ZodMiniNumber<number
|
|
1905
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1857
1906
|
type: z.ZodMiniLiteral<"component_click">;
|
|
1858
1907
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1859
1908
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -1869,14 +1918,14 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1869
1918
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1870
1919
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1871
1920
|
}, z.core.$strip>;
|
|
1872
|
-
gdpr: z.ZodMiniObject<{
|
|
1921
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1873
1922
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1874
|
-
}, z.core.$strip
|
|
1923
|
+
}, z.core.$strip>>;
|
|
1875
1924
|
library: z.ZodMiniObject<{
|
|
1876
1925
|
name: z.ZodMiniString<string>;
|
|
1877
1926
|
version: z.ZodMiniString<string>;
|
|
1878
1927
|
}, z.core.$strip>;
|
|
1879
|
-
locale: z.ZodMiniString<string
|
|
1928
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1880
1929
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1881
1930
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1882
1931
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1894,7 +1943,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1894
1943
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1895
1944
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1896
1945
|
path: z.ZodMiniString<string>;
|
|
1897
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
1946
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1898
1947
|
referrer: z.ZodMiniString<string>;
|
|
1899
1948
|
search: z.ZodMiniString<string>;
|
|
1900
1949
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1904,15 +1953,16 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1904
1953
|
name: z.ZodMiniString<string>;
|
|
1905
1954
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1906
1955
|
}, z.core.$strip>;
|
|
1956
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1907
1957
|
messageId: z.ZodMiniString<string>;
|
|
1908
|
-
originalTimestamp: z.
|
|
1909
|
-
sentAt: z.
|
|
1910
|
-
timestamp: z.
|
|
1958
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
1959
|
+
sentAt: z.ZodMiniString<string>;
|
|
1960
|
+
timestamp: z.ZodMiniString<string>;
|
|
1911
1961
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1912
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
1962
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
1913
1963
|
componentId: z.ZodMiniString<string>;
|
|
1914
1964
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1915
|
-
variantIndex: z.ZodMiniNumber<number
|
|
1965
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1916
1966
|
type: z.ZodMiniLiteral<"component_hover">;
|
|
1917
1967
|
hoverDurationMs: z.ZodMiniNumber<number>;
|
|
1918
1968
|
hoverId: z.ZodMiniString<string>;
|
|
@@ -1930,14 +1980,14 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1930
1980
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1931
1981
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1932
1982
|
}, z.core.$strip>;
|
|
1933
|
-
gdpr: z.ZodMiniObject<{
|
|
1983
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1934
1984
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
1935
|
-
}, z.core.$strip
|
|
1985
|
+
}, z.core.$strip>>;
|
|
1936
1986
|
library: z.ZodMiniObject<{
|
|
1937
1987
|
name: z.ZodMiniString<string>;
|
|
1938
1988
|
version: z.ZodMiniString<string>;
|
|
1939
1989
|
}, z.core.$strip>;
|
|
1940
|
-
locale: z.ZodMiniString<string
|
|
1990
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
1941
1991
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1942
1992
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1943
1993
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -1955,7 +2005,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1955
2005
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1956
2006
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1957
2007
|
path: z.ZodMiniString<string>;
|
|
1958
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2008
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1959
2009
|
referrer: z.ZodMiniString<string>;
|
|
1960
2010
|
search: z.ZodMiniString<string>;
|
|
1961
2011
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -1965,10 +2015,11 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1965
2015
|
name: z.ZodMiniString<string>;
|
|
1966
2016
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
1967
2017
|
}, z.core.$strip>;
|
|
2018
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1968
2019
|
messageId: z.ZodMiniString<string>;
|
|
1969
|
-
originalTimestamp: z.
|
|
1970
|
-
sentAt: z.
|
|
1971
|
-
timestamp: z.
|
|
2020
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
2021
|
+
sentAt: z.ZodMiniString<string>;
|
|
2022
|
+
timestamp: z.ZodMiniString<string>;
|
|
1972
2023
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1973
2024
|
entityId: z.ZodMiniString<string>;
|
|
1974
2025
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -1984,7 +2035,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1984
2035
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1985
2036
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1986
2037
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
1987
|
-
viewDurationMs: z.
|
|
2038
|
+
viewDurationMs: z.ZodMiniInt;
|
|
1988
2039
|
viewId: z.ZodMiniString<string>;
|
|
1989
2040
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1990
2041
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -2000,14 +2051,14 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2000
2051
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2001
2052
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2002
2053
|
}, z.core.$strip>;
|
|
2003
|
-
gdpr: z.ZodMiniObject<{
|
|
2054
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2004
2055
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
2005
|
-
}, z.core.$strip
|
|
2056
|
+
}, z.core.$strip>>;
|
|
2006
2057
|
library: z.ZodMiniObject<{
|
|
2007
2058
|
name: z.ZodMiniString<string>;
|
|
2008
2059
|
version: z.ZodMiniString<string>;
|
|
2009
2060
|
}, z.core.$strip>;
|
|
2010
|
-
locale: z.ZodMiniString<string
|
|
2061
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
2011
2062
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2012
2063
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2013
2064
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -2025,7 +2076,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2025
2076
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2026
2077
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2027
2078
|
path: z.ZodMiniString<string>;
|
|
2028
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2079
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2029
2080
|
referrer: z.ZodMiniString<string>;
|
|
2030
2081
|
search: z.ZodMiniString<string>;
|
|
2031
2082
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -2035,10 +2086,11 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2035
2086
|
name: z.ZodMiniString<string>;
|
|
2036
2087
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
2037
2088
|
}, z.core.$strip>;
|
|
2089
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2038
2090
|
messageId: z.ZodMiniString<string>;
|
|
2039
|
-
originalTimestamp: z.
|
|
2040
|
-
sentAt: z.
|
|
2041
|
-
timestamp: z.
|
|
2091
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
2092
|
+
sentAt: z.ZodMiniString<string>;
|
|
2093
|
+
timestamp: z.ZodMiniString<string>;
|
|
2042
2094
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2043
2095
|
entityId: z.ZodMiniString<string>;
|
|
2044
2096
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -2068,14 +2120,14 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2068
2120
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2069
2121
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2070
2122
|
}, z.core.$strip>;
|
|
2071
|
-
gdpr: z.ZodMiniObject<{
|
|
2123
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2072
2124
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
2073
|
-
}, z.core.$strip
|
|
2125
|
+
}, z.core.$strip>>;
|
|
2074
2126
|
library: z.ZodMiniObject<{
|
|
2075
2127
|
name: z.ZodMiniString<string>;
|
|
2076
2128
|
version: z.ZodMiniString<string>;
|
|
2077
2129
|
}, z.core.$strip>;
|
|
2078
|
-
locale: z.ZodMiniString<string
|
|
2130
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
2079
2131
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2080
2132
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2081
2133
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -2093,7 +2145,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2093
2145
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2094
2146
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2095
2147
|
path: z.ZodMiniString<string>;
|
|
2096
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2148
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2097
2149
|
referrer: z.ZodMiniString<string>;
|
|
2098
2150
|
search: z.ZodMiniString<string>;
|
|
2099
2151
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -2103,10 +2155,11 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2103
2155
|
name: z.ZodMiniString<string>;
|
|
2104
2156
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
2105
2157
|
}, z.core.$strip>;
|
|
2158
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2106
2159
|
messageId: z.ZodMiniString<string>;
|
|
2107
|
-
originalTimestamp: z.
|
|
2108
|
-
sentAt: z.
|
|
2109
|
-
timestamp: z.
|
|
2160
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
2161
|
+
sentAt: z.ZodMiniString<string>;
|
|
2162
|
+
timestamp: z.ZodMiniString<string>;
|
|
2110
2163
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2111
2164
|
entityId: z.ZodMiniString<string>;
|
|
2112
2165
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -2122,7 +2175,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2122
2175
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2123
2176
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2124
2177
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
2125
|
-
hoverDurationMs: z.
|
|
2178
|
+
hoverDurationMs: z.ZodMiniInt;
|
|
2126
2179
|
hoverId: z.ZodMiniString<string>;
|
|
2127
2180
|
}, z.core.$strip>], "type">>;
|
|
2128
2181
|
}, z.core.$strip>>;
|
|
@@ -2143,25 +2196,10 @@ export declare type BatchInsightsEventArray = z.infer<typeof BatchInsightsEventA
|
|
|
2143
2196
|
* @public
|
|
2144
2197
|
*/
|
|
2145
2198
|
export declare const Campaign: z.ZodMiniObject<{
|
|
2146
|
-
/**
|
|
2147
|
-
* Name of the campaign (e.g., `utm_campaign`).
|
|
2148
|
-
*/
|
|
2149
2199
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2150
|
-
/**
|
|
2151
|
-
* Campaign source (e.g., `utm_source`).
|
|
2152
|
-
*/
|
|
2153
2200
|
source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2154
|
-
/**
|
|
2155
|
-
* Campaign medium (e.g., `utm_medium`).
|
|
2156
|
-
*/
|
|
2157
2201
|
medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2158
|
-
/**
|
|
2159
|
-
* Campaign term (e.g., `utm_term`).
|
|
2160
|
-
*/
|
|
2161
2202
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2162
|
-
/**
|
|
2163
|
-
* Campaign content (e.g., `utm_content`).
|
|
2164
|
-
*/
|
|
2165
2203
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2166
2204
|
}, z.core.$strip>;
|
|
2167
2205
|
|
|
@@ -2180,16 +2218,7 @@ export declare type Campaign = z.infer<typeof Campaign>;
|
|
|
2180
2218
|
export declare const Change: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2181
2219
|
key: z.ZodMiniString<string>;
|
|
2182
2220
|
meta: z.ZodMiniObject<{
|
|
2183
|
-
/**
|
|
2184
|
-
* Identifier of the personalization or experiment experience.
|
|
2185
|
-
*/
|
|
2186
2221
|
experienceId: z.ZodMiniString<string>;
|
|
2187
|
-
/**
|
|
2188
|
-
* Index of the variant within the experience configuration.
|
|
2189
|
-
*
|
|
2190
|
-
* @remarks
|
|
2191
|
-
* Typically corresponds to the array index in the experience's distribution.
|
|
2192
|
-
*/
|
|
2193
2222
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2194
2223
|
}, z.core.$strip>;
|
|
2195
2224
|
type: z.ZodMiniLiteral<"Variable">;
|
|
@@ -2198,13 +2227,7 @@ export declare const Change: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
|
2198
2227
|
id: z.ZodMiniString<string>;
|
|
2199
2228
|
variantId: z.ZodMiniString<string>;
|
|
2200
2229
|
meta: z.ZodMiniObject<{
|
|
2201
|
-
/**
|
|
2202
|
-
* Identifier of the optimization that produced this change.
|
|
2203
|
-
*/
|
|
2204
2230
|
optimizationId: z.ZodMiniString<string>;
|
|
2205
|
-
/**
|
|
2206
|
-
* Index of the variant within the optimization's distribution.
|
|
2207
|
-
*/
|
|
2208
2231
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2209
2232
|
}, z.core.$strip>;
|
|
2210
2233
|
type: z.ZodMiniLiteral<"Experience">;
|
|
@@ -2212,13 +2235,7 @@ export declare const Change: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
|
2212
2235
|
id: z.ZodMiniString<string>;
|
|
2213
2236
|
variantId: z.ZodMiniString<string>;
|
|
2214
2237
|
meta: z.ZodMiniObject<{
|
|
2215
|
-
/**
|
|
2216
|
-
* Identifier of the optimization that produced this change.
|
|
2217
|
-
*/
|
|
2218
2238
|
optimizationId: z.ZodMiniString<string>;
|
|
2219
|
-
/**
|
|
2220
|
-
* Index of the variant within the optimization's distribution.
|
|
2221
|
-
*/
|
|
2222
2239
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2223
2240
|
}, z.core.$strip>;
|
|
2224
2241
|
type: z.ZodMiniLiteral<"Fragment">;
|
|
@@ -2239,16 +2256,7 @@ export declare type Change = z.infer<typeof Change>;
|
|
|
2239
2256
|
export declare const ChangeArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2240
2257
|
key: z.ZodMiniString<string>;
|
|
2241
2258
|
meta: z.ZodMiniObject<{
|
|
2242
|
-
/**
|
|
2243
|
-
* Identifier of the personalization or experiment experience.
|
|
2244
|
-
*/
|
|
2245
2259
|
experienceId: z.ZodMiniString<string>;
|
|
2246
|
-
/**
|
|
2247
|
-
* Index of the variant within the experience configuration.
|
|
2248
|
-
*
|
|
2249
|
-
* @remarks
|
|
2250
|
-
* Typically corresponds to the array index in the experience's distribution.
|
|
2251
|
-
*/
|
|
2252
2260
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2253
2261
|
}, z.core.$strip>;
|
|
2254
2262
|
type: z.ZodMiniLiteral<"Variable">;
|
|
@@ -2257,13 +2265,7 @@ export declare const ChangeArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.
|
|
|
2257
2265
|
id: z.ZodMiniString<string>;
|
|
2258
2266
|
variantId: z.ZodMiniString<string>;
|
|
2259
2267
|
meta: z.ZodMiniObject<{
|
|
2260
|
-
/**
|
|
2261
|
-
* Identifier of the optimization that produced this change.
|
|
2262
|
-
*/
|
|
2263
2268
|
optimizationId: z.ZodMiniString<string>;
|
|
2264
|
-
/**
|
|
2265
|
-
* Index of the variant within the optimization's distribution.
|
|
2266
|
-
*/
|
|
2267
2269
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2268
2270
|
}, z.core.$strip>;
|
|
2269
2271
|
type: z.ZodMiniLiteral<"Experience">;
|
|
@@ -2271,13 +2273,7 @@ export declare const ChangeArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.
|
|
|
2271
2273
|
id: z.ZodMiniString<string>;
|
|
2272
2274
|
variantId: z.ZodMiniString<string>;
|
|
2273
2275
|
meta: z.ZodMiniObject<{
|
|
2274
|
-
/**
|
|
2275
|
-
* Identifier of the optimization that produced this change.
|
|
2276
|
-
*/
|
|
2277
2276
|
optimizationId: z.ZodMiniString<string>;
|
|
2278
|
-
/**
|
|
2279
|
-
* Index of the variant within the optimization's distribution.
|
|
2280
|
-
*/
|
|
2281
2277
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2282
2278
|
}, z.core.$strip>;
|
|
2283
2279
|
type: z.ZodMiniLiteral<"Fragment">;
|
|
@@ -2299,35 +2295,14 @@ export declare type ChangeArray = z.infer<typeof ChangeArray>;
|
|
|
2299
2295
|
* @internal
|
|
2300
2296
|
*/
|
|
2301
2297
|
export declare const ChangeBase: z.ZodMiniObject<{
|
|
2302
|
-
/**
|
|
2303
|
-
* Key identifying the subject of the change.
|
|
2304
|
-
*/
|
|
2305
2298
|
key: z.ZodMiniString<string>;
|
|
2306
|
-
/**
|
|
2307
|
-
* Discriminator for the change type.
|
|
2308
|
-
*
|
|
2309
|
-
* @remarks
|
|
2310
|
-
* Can be one of {@link ChangeType} or an arbitrary string for unknown types.
|
|
2311
|
-
*/
|
|
2312
2299
|
type: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
|
|
2313
2300
|
Experience: "Experience";
|
|
2314
2301
|
Variable: "Variable";
|
|
2315
2302
|
Fragment: "Fragment";
|
|
2316
2303
|
}>, z.ZodMiniString<string>]>;
|
|
2317
|
-
/**
|
|
2318
|
-
* Metadata describing the originating experience and variant index.
|
|
2319
|
-
*/
|
|
2320
2304
|
meta: z.ZodMiniObject<{
|
|
2321
|
-
/**
|
|
2322
|
-
* Identifier of the personalization or experiment experience.
|
|
2323
|
-
*/
|
|
2324
2305
|
experienceId: z.ZodMiniString<string>;
|
|
2325
|
-
/**
|
|
2326
|
-
* Index of the variant within the experience configuration.
|
|
2327
|
-
*
|
|
2328
|
-
* @remarks
|
|
2329
|
-
* Typically corresponds to the array index in the experience's distribution.
|
|
2330
|
-
*/
|
|
2331
2306
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2332
2307
|
}, z.core.$strip>;
|
|
2333
2308
|
}, z.core.$strip>;
|
|
@@ -2385,14 +2360,14 @@ export declare const ClickEvent: z.ZodMiniObject<{
|
|
|
2385
2360
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2386
2361
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2387
2362
|
}, z.core.$strip>;
|
|
2388
|
-
gdpr: z.ZodMiniObject<{
|
|
2363
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2389
2364
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
2390
|
-
}, z.core.$strip
|
|
2365
|
+
}, z.core.$strip>>;
|
|
2391
2366
|
library: z.ZodMiniObject<{
|
|
2392
2367
|
name: z.ZodMiniString<string>;
|
|
2393
2368
|
version: z.ZodMiniString<string>;
|
|
2394
2369
|
}, z.core.$strip>;
|
|
2395
|
-
locale: z.ZodMiniString<string
|
|
2370
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
2396
2371
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2397
2372
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2398
2373
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -2410,7 +2385,7 @@ export declare const ClickEvent: z.ZodMiniObject<{
|
|
|
2410
2385
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2411
2386
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2412
2387
|
path: z.ZodMiniString<string>;
|
|
2413
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2388
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2414
2389
|
referrer: z.ZodMiniString<string>;
|
|
2415
2390
|
search: z.ZodMiniString<string>;
|
|
2416
2391
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -2420,15 +2395,16 @@ export declare const ClickEvent: z.ZodMiniObject<{
|
|
|
2420
2395
|
name: z.ZodMiniString<string>;
|
|
2421
2396
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
2422
2397
|
}, z.core.$strip>;
|
|
2398
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2423
2399
|
messageId: z.ZodMiniString<string>;
|
|
2424
|
-
originalTimestamp: z.
|
|
2425
|
-
sentAt: z.
|
|
2426
|
-
timestamp: z.
|
|
2400
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
2401
|
+
sentAt: z.ZodMiniString<string>;
|
|
2402
|
+
timestamp: z.ZodMiniString<string>;
|
|
2427
2403
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2428
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
2404
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
2429
2405
|
componentId: z.ZodMiniString<string>;
|
|
2430
2406
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2431
|
-
variantIndex: z.ZodMiniNumber<number
|
|
2407
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2432
2408
|
type: z.ZodMiniLiteral<"component_click">;
|
|
2433
2409
|
}, z.core.$strip>;
|
|
2434
2410
|
|
|
@@ -2463,25 +2439,10 @@ export declare type Dictionary = z.infer<typeof Dictionary>;
|
|
|
2463
2439
|
* @internal
|
|
2464
2440
|
*/
|
|
2465
2441
|
export declare const EntityChangeBase: z.ZodMiniObject<{
|
|
2466
|
-
/**
|
|
2467
|
-
* Identifier of the entity affected by the change.
|
|
2468
|
-
*/
|
|
2469
2442
|
id: z.ZodMiniString<string>;
|
|
2470
|
-
/**
|
|
2471
|
-
* Identifier of the selected variant.
|
|
2472
|
-
*/
|
|
2473
2443
|
variantId: z.ZodMiniString<string>;
|
|
2474
|
-
/**
|
|
2475
|
-
* Metadata describing the originating optimization and variant index.
|
|
2476
|
-
*/
|
|
2477
2444
|
meta: z.ZodMiniObject<{
|
|
2478
|
-
/**
|
|
2479
|
-
* Identifier of the optimization that produced this change.
|
|
2480
|
-
*/
|
|
2481
2445
|
optimizationId: z.ZodMiniString<string>;
|
|
2482
|
-
/**
|
|
2483
|
-
* Index of the variant within the optimization's distribution.
|
|
2484
|
-
*/
|
|
2485
2446
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2486
2447
|
}, z.core.$strip>;
|
|
2487
2448
|
}, z.core.$strip>;
|
|
@@ -2505,14 +2466,14 @@ export declare const ExoClickEvent: z.ZodMiniObject<{
|
|
|
2505
2466
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2506
2467
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2507
2468
|
}, z.core.$strip>;
|
|
2508
|
-
gdpr: z.ZodMiniObject<{
|
|
2469
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2509
2470
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
2510
|
-
}, z.core.$strip
|
|
2471
|
+
}, z.core.$strip>>;
|
|
2511
2472
|
library: z.ZodMiniObject<{
|
|
2512
2473
|
name: z.ZodMiniString<string>;
|
|
2513
2474
|
version: z.ZodMiniString<string>;
|
|
2514
2475
|
}, z.core.$strip>;
|
|
2515
|
-
locale: z.ZodMiniString<string
|
|
2476
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
2516
2477
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2517
2478
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2518
2479
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -2530,7 +2491,7 @@ export declare const ExoClickEvent: z.ZodMiniObject<{
|
|
|
2530
2491
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2531
2492
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2532
2493
|
path: z.ZodMiniString<string>;
|
|
2533
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2494
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2534
2495
|
referrer: z.ZodMiniString<string>;
|
|
2535
2496
|
search: z.ZodMiniString<string>;
|
|
2536
2497
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -2540,10 +2501,11 @@ export declare const ExoClickEvent: z.ZodMiniObject<{
|
|
|
2540
2501
|
name: z.ZodMiniString<string>;
|
|
2541
2502
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
2542
2503
|
}, z.core.$strip>;
|
|
2504
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2543
2505
|
messageId: z.ZodMiniString<string>;
|
|
2544
|
-
originalTimestamp: z.
|
|
2545
|
-
sentAt: z.
|
|
2546
|
-
timestamp: z.
|
|
2506
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
2507
|
+
sentAt: z.ZodMiniString<string>;
|
|
2508
|
+
timestamp: z.ZodMiniString<string>;
|
|
2547
2509
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2548
2510
|
entityId: z.ZodMiniString<string>;
|
|
2549
2511
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -2604,14 +2566,14 @@ export declare const ExoEventProperties: z.ZodMiniObject<{
|
|
|
2604
2566
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2605
2567
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2606
2568
|
}, z.core.$strip>;
|
|
2607
|
-
gdpr: z.ZodMiniObject<{
|
|
2569
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2608
2570
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
2609
|
-
}, z.core.$strip
|
|
2571
|
+
}, z.core.$strip>>;
|
|
2610
2572
|
library: z.ZodMiniObject<{
|
|
2611
2573
|
name: z.ZodMiniString<string>;
|
|
2612
2574
|
version: z.ZodMiniString<string>;
|
|
2613
2575
|
}, z.core.$strip>;
|
|
2614
|
-
locale: z.ZodMiniString<string
|
|
2576
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
2615
2577
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2616
2578
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2617
2579
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -2629,7 +2591,7 @@ export declare const ExoEventProperties: z.ZodMiniObject<{
|
|
|
2629
2591
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2630
2592
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2631
2593
|
path: z.ZodMiniString<string>;
|
|
2632
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2594
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2633
2595
|
referrer: z.ZodMiniString<string>;
|
|
2634
2596
|
search: z.ZodMiniString<string>;
|
|
2635
2597
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -2639,10 +2601,11 @@ export declare const ExoEventProperties: z.ZodMiniObject<{
|
|
|
2639
2601
|
name: z.ZodMiniString<string>;
|
|
2640
2602
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
2641
2603
|
}, z.core.$strip>;
|
|
2604
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2642
2605
|
messageId: z.ZodMiniString<string>;
|
|
2643
|
-
originalTimestamp: z.
|
|
2644
|
-
sentAt: z.
|
|
2645
|
-
timestamp: z.
|
|
2606
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
2607
|
+
sentAt: z.ZodMiniString<string>;
|
|
2608
|
+
timestamp: z.ZodMiniString<string>;
|
|
2646
2609
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2647
2610
|
entityId: z.ZodMiniString<string>;
|
|
2648
2611
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -2685,14 +2648,14 @@ export declare const ExoHoverEvent: z.ZodMiniObject<{
|
|
|
2685
2648
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2686
2649
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2687
2650
|
}, z.core.$strip>;
|
|
2688
|
-
gdpr: z.ZodMiniObject<{
|
|
2651
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2689
2652
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
2690
|
-
}, z.core.$strip
|
|
2653
|
+
}, z.core.$strip>>;
|
|
2691
2654
|
library: z.ZodMiniObject<{
|
|
2692
2655
|
name: z.ZodMiniString<string>;
|
|
2693
2656
|
version: z.ZodMiniString<string>;
|
|
2694
2657
|
}, z.core.$strip>;
|
|
2695
|
-
locale: z.ZodMiniString<string
|
|
2658
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
2696
2659
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2697
2660
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2698
2661
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -2710,7 +2673,7 @@ export declare const ExoHoverEvent: z.ZodMiniObject<{
|
|
|
2710
2673
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2711
2674
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2712
2675
|
path: z.ZodMiniString<string>;
|
|
2713
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2676
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2714
2677
|
referrer: z.ZodMiniString<string>;
|
|
2715
2678
|
search: z.ZodMiniString<string>;
|
|
2716
2679
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -2720,10 +2683,11 @@ export declare const ExoHoverEvent: z.ZodMiniObject<{
|
|
|
2720
2683
|
name: z.ZodMiniString<string>;
|
|
2721
2684
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
2722
2685
|
}, z.core.$strip>;
|
|
2686
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2723
2687
|
messageId: z.ZodMiniString<string>;
|
|
2724
|
-
originalTimestamp: z.
|
|
2725
|
-
sentAt: z.
|
|
2726
|
-
timestamp: z.
|
|
2688
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
2689
|
+
sentAt: z.ZodMiniString<string>;
|
|
2690
|
+
timestamp: z.ZodMiniString<string>;
|
|
2727
2691
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2728
2692
|
entityId: z.ZodMiniString<string>;
|
|
2729
2693
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -2739,7 +2703,7 @@ export declare const ExoHoverEvent: z.ZodMiniObject<{
|
|
|
2739
2703
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2740
2704
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2741
2705
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
2742
|
-
hoverDurationMs: z.
|
|
2706
|
+
hoverDurationMs: z.ZodMiniInt;
|
|
2743
2707
|
hoverId: z.ZodMiniString<string>;
|
|
2744
2708
|
}, z.core.$strip>;
|
|
2745
2709
|
|
|
@@ -2769,14 +2733,14 @@ export declare const ExoViewEvent: z.ZodMiniObject<{
|
|
|
2769
2733
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2770
2734
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2771
2735
|
}, z.core.$strip>;
|
|
2772
|
-
gdpr: z.ZodMiniObject<{
|
|
2736
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2773
2737
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
2774
|
-
}, z.core.$strip
|
|
2738
|
+
}, z.core.$strip>>;
|
|
2775
2739
|
library: z.ZodMiniObject<{
|
|
2776
2740
|
name: z.ZodMiniString<string>;
|
|
2777
2741
|
version: z.ZodMiniString<string>;
|
|
2778
2742
|
}, z.core.$strip>;
|
|
2779
|
-
locale: z.ZodMiniString<string
|
|
2743
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
2780
2744
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2781
2745
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2782
2746
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -2794,7 +2758,7 @@ export declare const ExoViewEvent: z.ZodMiniObject<{
|
|
|
2794
2758
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2795
2759
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2796
2760
|
path: z.ZodMiniString<string>;
|
|
2797
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2761
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2798
2762
|
referrer: z.ZodMiniString<string>;
|
|
2799
2763
|
search: z.ZodMiniString<string>;
|
|
2800
2764
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -2804,10 +2768,11 @@ export declare const ExoViewEvent: z.ZodMiniObject<{
|
|
|
2804
2768
|
name: z.ZodMiniString<string>;
|
|
2805
2769
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
2806
2770
|
}, z.core.$strip>;
|
|
2771
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2807
2772
|
messageId: z.ZodMiniString<string>;
|
|
2808
|
-
originalTimestamp: z.
|
|
2809
|
-
sentAt: z.
|
|
2810
|
-
timestamp: z.
|
|
2773
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
2774
|
+
sentAt: z.ZodMiniString<string>;
|
|
2775
|
+
timestamp: z.ZodMiniString<string>;
|
|
2811
2776
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2812
2777
|
entityId: z.ZodMiniString<string>;
|
|
2813
2778
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -2823,7 +2788,7 @@ export declare const ExoViewEvent: z.ZodMiniObject<{
|
|
|
2823
2788
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2824
2789
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2825
2790
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
2826
|
-
viewDurationMs: z.
|
|
2791
|
+
viewDurationMs: z.ZodMiniInt;
|
|
2827
2792
|
viewId: z.ZodMiniString<string>;
|
|
2828
2793
|
}, z.core.$strip>;
|
|
2829
2794
|
|
|
@@ -2843,13 +2808,7 @@ export declare const ExperienceChange: z.ZodMiniObject<{
|
|
|
2843
2808
|
id: z.ZodMiniString<string>;
|
|
2844
2809
|
variantId: z.ZodMiniString<string>;
|
|
2845
2810
|
meta: z.ZodMiniObject<{
|
|
2846
|
-
/**
|
|
2847
|
-
* Identifier of the optimization that produced this change.
|
|
2848
|
-
*/
|
|
2849
2811
|
optimizationId: z.ZodMiniString<string>;
|
|
2850
|
-
/**
|
|
2851
|
-
* Index of the variant within the optimization's distribution.
|
|
2852
|
-
*/
|
|
2853
2812
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2854
2813
|
}, z.core.$strip>;
|
|
2855
2814
|
type: z.ZodMiniLiteral<"Experience">;
|
|
@@ -2872,9 +2831,6 @@ export declare type ExperienceChange = z.infer<typeof ExperienceChange>;
|
|
|
2872
2831
|
* @public
|
|
2873
2832
|
*/
|
|
2874
2833
|
export declare const ExperienceData: z.ZodMiniObject<{
|
|
2875
|
-
/**
|
|
2876
|
-
* Profile associated with the evaluated events.
|
|
2877
|
-
*/
|
|
2878
2834
|
profile: z.ZodMiniObject<{
|
|
2879
2835
|
id: z.ZodMiniString<string>;
|
|
2880
2836
|
stableId: z.ZodMiniString<string>;
|
|
@@ -2896,11 +2852,11 @@ export declare const ExperienceData: z.ZodMiniObject<{
|
|
|
2896
2852
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2897
2853
|
}, z.core.$strip>;
|
|
2898
2854
|
session: z.ZodMiniObject<{
|
|
2899
|
-
id: z.ZodMiniString<string
|
|
2855
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2900
2856
|
isReturningVisitor: z.ZodMiniBoolean<boolean>;
|
|
2901
2857
|
landingPage: z.ZodMiniObject<{
|
|
2902
2858
|
path: z.ZodMiniString<string>;
|
|
2903
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2859
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2904
2860
|
referrer: z.ZodMiniString<string>;
|
|
2905
2861
|
search: z.ZodMiniString<string>;
|
|
2906
2862
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -2910,23 +2866,17 @@ export declare const ExperienceData: z.ZodMiniObject<{
|
|
|
2910
2866
|
activeSessionLength: z.ZodMiniNumber<number>;
|
|
2911
2867
|
averageSessionLength: z.ZodMiniNumber<number>;
|
|
2912
2868
|
}, z.core.$strip>;
|
|
2869
|
+
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2870
|
+
US: "US";
|
|
2871
|
+
EU: "EU";
|
|
2872
|
+
}>>;
|
|
2913
2873
|
}, z.core.$strip>;
|
|
2914
|
-
/**
|
|
2915
|
-
* Selected experiences and variants for the profile.
|
|
2916
|
-
*
|
|
2917
|
-
* @see {@link SelectedOptimizationArray}
|
|
2918
|
-
*/
|
|
2919
2874
|
experiences: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2920
2875
|
experienceId: z.ZodMiniString<string>;
|
|
2921
2876
|
variantIndex: z.ZodMiniNumber<number>;
|
|
2922
2877
|
variants: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2923
2878
|
sticky: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniBoolean<boolean>>>;
|
|
2924
2879
|
}, z.core.$strip>>;
|
|
2925
|
-
/**
|
|
2926
|
-
* Used for Custom Flags.
|
|
2927
|
-
*
|
|
2928
|
-
* @see {@link ChangeArray}
|
|
2929
|
-
*/
|
|
2930
2880
|
changes: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2931
2881
|
key: z.ZodMiniString<string>;
|
|
2932
2882
|
meta: z.ZodMiniObject<{
|
|
@@ -2984,14 +2934,14 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
2984
2934
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2985
2935
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2986
2936
|
}, z.core.$strip>;
|
|
2987
|
-
gdpr: z.ZodMiniObject<{
|
|
2937
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2988
2938
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
2989
|
-
}, z.core.$strip
|
|
2939
|
+
}, z.core.$strip>>;
|
|
2990
2940
|
library: z.ZodMiniObject<{
|
|
2991
2941
|
name: z.ZodMiniString<string>;
|
|
2992
2942
|
version: z.ZodMiniString<string>;
|
|
2993
2943
|
}, z.core.$strip>;
|
|
2994
|
-
locale: z.ZodMiniString<string
|
|
2944
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
2995
2945
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2996
2946
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2997
2947
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3009,7 +2959,7 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3009
2959
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3010
2960
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3011
2961
|
path: z.ZodMiniString<string>;
|
|
3012
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2962
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3013
2963
|
referrer: z.ZodMiniString<string>;
|
|
3014
2964
|
search: z.ZodMiniString<string>;
|
|
3015
2965
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3019,15 +2969,16 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3019
2969
|
name: z.ZodMiniString<string>;
|
|
3020
2970
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3021
2971
|
}, z.core.$strip>;
|
|
2972
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3022
2973
|
messageId: z.ZodMiniString<string>;
|
|
3023
|
-
originalTimestamp: z.
|
|
3024
|
-
sentAt: z.
|
|
3025
|
-
timestamp: z.
|
|
2974
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
2975
|
+
sentAt: z.ZodMiniString<string>;
|
|
2976
|
+
timestamp: z.ZodMiniString<string>;
|
|
3026
2977
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3027
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
2978
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
3028
2979
|
componentId: z.ZodMiniString<string>;
|
|
3029
2980
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3030
|
-
variantIndex: z.ZodMiniNumber<number
|
|
2981
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3031
2982
|
type: z.ZodMiniLiteral<"component">;
|
|
3032
2983
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3033
2984
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3045,14 +2996,14 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3045
2996
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3046
2997
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3047
2998
|
}, z.core.$strip>;
|
|
3048
|
-
gdpr: z.ZodMiniObject<{
|
|
2999
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3049
3000
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3050
|
-
}, z.core.$strip
|
|
3001
|
+
}, z.core.$strip>>;
|
|
3051
3002
|
library: z.ZodMiniObject<{
|
|
3052
3003
|
name: z.ZodMiniString<string>;
|
|
3053
3004
|
version: z.ZodMiniString<string>;
|
|
3054
3005
|
}, z.core.$strip>;
|
|
3055
|
-
locale: z.ZodMiniString<string
|
|
3006
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3056
3007
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3057
3008
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3058
3009
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3070,7 +3021,7 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3070
3021
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3071
3022
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3072
3023
|
path: z.ZodMiniString<string>;
|
|
3073
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3024
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3074
3025
|
referrer: z.ZodMiniString<string>;
|
|
3075
3026
|
search: z.ZodMiniString<string>;
|
|
3076
3027
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3080,10 +3031,11 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3080
3031
|
name: z.ZodMiniString<string>;
|
|
3081
3032
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3082
3033
|
}, z.core.$strip>;
|
|
3034
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3083
3035
|
messageId: z.ZodMiniString<string>;
|
|
3084
|
-
originalTimestamp: z.
|
|
3085
|
-
sentAt: z.
|
|
3086
|
-
timestamp: z.
|
|
3036
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3037
|
+
sentAt: z.ZodMiniString<string>;
|
|
3038
|
+
timestamp: z.ZodMiniString<string>;
|
|
3087
3039
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3088
3040
|
entityId: z.ZodMiniString<string>;
|
|
3089
3041
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -3099,7 +3051,7 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3099
3051
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3100
3052
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3101
3053
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
3102
|
-
viewDurationMs: z.
|
|
3054
|
+
viewDurationMs: z.ZodMiniInt;
|
|
3103
3055
|
viewId: z.ZodMiniString<string>;
|
|
3104
3056
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
3105
3057
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -3115,14 +3067,14 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3115
3067
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3116
3068
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3117
3069
|
}, z.core.$strip>;
|
|
3118
|
-
gdpr: z.ZodMiniObject<{
|
|
3070
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3119
3071
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3120
|
-
}, z.core.$strip
|
|
3072
|
+
}, z.core.$strip>>;
|
|
3121
3073
|
library: z.ZodMiniObject<{
|
|
3122
3074
|
name: z.ZodMiniString<string>;
|
|
3123
3075
|
version: z.ZodMiniString<string>;
|
|
3124
3076
|
}, z.core.$strip>;
|
|
3125
|
-
locale: z.ZodMiniString<string
|
|
3077
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3126
3078
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3127
3079
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3128
3080
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3140,7 +3092,7 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3140
3092
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3141
3093
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3142
3094
|
path: z.ZodMiniString<string>;
|
|
3143
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3095
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3144
3096
|
referrer: z.ZodMiniString<string>;
|
|
3145
3097
|
search: z.ZodMiniString<string>;
|
|
3146
3098
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3150,29 +3102,31 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3150
3102
|
name: z.ZodMiniString<string>;
|
|
3151
3103
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3152
3104
|
}, z.core.$strip>;
|
|
3105
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3153
3106
|
messageId: z.ZodMiniString<string>;
|
|
3154
|
-
originalTimestamp: z.
|
|
3155
|
-
sentAt: z.
|
|
3156
|
-
timestamp: z.
|
|
3157
|
-
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3107
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3108
|
+
sentAt: z.ZodMiniString<string>;
|
|
3109
|
+
timestamp: z.ZodMiniString<string>;
|
|
3158
3110
|
type: z.ZodMiniLiteral<"identify">;
|
|
3159
3111
|
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
3112
|
+
userId: z.ZodMiniString<string>;
|
|
3160
3113
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
3161
3114
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
3115
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3162
3116
|
messageId: z.ZodMiniString<string>;
|
|
3163
|
-
originalTimestamp: z.
|
|
3164
|
-
sentAt: z.
|
|
3165
|
-
timestamp: z.
|
|
3117
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3118
|
+
sentAt: z.ZodMiniString<string>;
|
|
3119
|
+
timestamp: z.ZodMiniString<string>;
|
|
3166
3120
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3167
3121
|
type: z.ZodMiniLiteral<"page">;
|
|
3168
3122
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3169
3123
|
properties: z.ZodMiniObject<{
|
|
3170
3124
|
path: z.ZodMiniString<string>;
|
|
3171
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3125
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3172
3126
|
referrer: z.ZodMiniString<string>;
|
|
3173
3127
|
search: z.ZodMiniString<string>;
|
|
3174
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3175
3128
|
url: z.ZodMiniString<string>;
|
|
3129
|
+
title: z.ZodMiniString<string>;
|
|
3176
3130
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
3177
3131
|
context: z.ZodMiniObject<{
|
|
3178
3132
|
app: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -3186,14 +3140,14 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3186
3140
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3187
3141
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3188
3142
|
}, z.core.$strip>;
|
|
3189
|
-
gdpr: z.ZodMiniObject<{
|
|
3143
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3190
3144
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3191
|
-
}, z.core.$strip
|
|
3145
|
+
}, z.core.$strip>>;
|
|
3192
3146
|
library: z.ZodMiniObject<{
|
|
3193
3147
|
name: z.ZodMiniString<string>;
|
|
3194
3148
|
version: z.ZodMiniString<string>;
|
|
3195
3149
|
}, z.core.$strip>;
|
|
3196
|
-
locale: z.ZodMiniString<string
|
|
3150
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3197
3151
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3198
3152
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3199
3153
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3209,21 +3163,22 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3209
3163
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3210
3164
|
}, z.core.$strip>>;
|
|
3211
3165
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3212
|
-
page: z.ZodMiniObject<{
|
|
3166
|
+
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3213
3167
|
path: z.ZodMiniString<string>;
|
|
3214
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3168
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3215
3169
|
referrer: z.ZodMiniString<string>;
|
|
3216
3170
|
search: z.ZodMiniString<string>;
|
|
3217
3171
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3218
3172
|
url: z.ZodMiniString<string>;
|
|
3219
|
-
}, z.core.$catchall<z.ZodMiniJSONSchema
|
|
3173
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3220
3174
|
}, z.core.$strip>;
|
|
3221
3175
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
3222
3176
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
3177
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3223
3178
|
messageId: z.ZodMiniString<string>;
|
|
3224
|
-
originalTimestamp: z.
|
|
3225
|
-
sentAt: z.
|
|
3226
|
-
timestamp: z.
|
|
3179
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3180
|
+
sentAt: z.ZodMiniString<string>;
|
|
3181
|
+
timestamp: z.ZodMiniString<string>;
|
|
3227
3182
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3228
3183
|
type: z.ZodMiniLiteral<"screen">;
|
|
3229
3184
|
name: z.ZodMiniString<string>;
|
|
@@ -3240,14 +3195,14 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3240
3195
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3241
3196
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3242
3197
|
}, z.core.$strip>;
|
|
3243
|
-
gdpr: z.ZodMiniObject<{
|
|
3198
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3244
3199
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3245
|
-
}, z.core.$strip
|
|
3200
|
+
}, z.core.$strip>>;
|
|
3246
3201
|
library: z.ZodMiniObject<{
|
|
3247
3202
|
name: z.ZodMiniString<string>;
|
|
3248
3203
|
version: z.ZodMiniString<string>;
|
|
3249
3204
|
}, z.core.$strip>;
|
|
3250
|
-
locale: z.ZodMiniString<string
|
|
3205
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3251
3206
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3252
3207
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3253
3208
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3281,14 +3236,14 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3281
3236
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3282
3237
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3283
3238
|
}, z.core.$strip>;
|
|
3284
|
-
gdpr: z.ZodMiniObject<{
|
|
3239
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3285
3240
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3286
|
-
}, z.core.$strip
|
|
3241
|
+
}, z.core.$strip>>;
|
|
3287
3242
|
library: z.ZodMiniObject<{
|
|
3288
3243
|
name: z.ZodMiniString<string>;
|
|
3289
3244
|
version: z.ZodMiniString<string>;
|
|
3290
3245
|
}, z.core.$strip>;
|
|
3291
|
-
locale: z.ZodMiniString<string
|
|
3246
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3292
3247
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3293
3248
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3294
3249
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3306,7 +3261,7 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3306
3261
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3307
3262
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3308
3263
|
path: z.ZodMiniString<string>;
|
|
3309
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3264
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3310
3265
|
referrer: z.ZodMiniString<string>;
|
|
3311
3266
|
search: z.ZodMiniString<string>;
|
|
3312
3267
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3316,10 +3271,11 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3316
3271
|
name: z.ZodMiniString<string>;
|
|
3317
3272
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3318
3273
|
}, z.core.$strip>;
|
|
3274
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3319
3275
|
messageId: z.ZodMiniString<string>;
|
|
3320
|
-
originalTimestamp: z.
|
|
3321
|
-
sentAt: z.
|
|
3322
|
-
timestamp: z.
|
|
3276
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3277
|
+
sentAt: z.ZodMiniString<string>;
|
|
3278
|
+
timestamp: z.ZodMiniString<string>;
|
|
3323
3279
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3324
3280
|
type: z.ZodMiniLiteral<"track">;
|
|
3325
3281
|
event: z.ZodMiniString<string>;
|
|
@@ -3352,14 +3308,14 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3352
3308
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3353
3309
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3354
3310
|
}, z.core.$strip>;
|
|
3355
|
-
gdpr: z.ZodMiniObject<{
|
|
3311
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3356
3312
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3357
|
-
}, z.core.$strip
|
|
3313
|
+
}, z.core.$strip>>;
|
|
3358
3314
|
library: z.ZodMiniObject<{
|
|
3359
3315
|
name: z.ZodMiniString<string>;
|
|
3360
3316
|
version: z.ZodMiniString<string>;
|
|
3361
3317
|
}, z.core.$strip>;
|
|
3362
|
-
locale: z.ZodMiniString<string
|
|
3318
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3363
3319
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3364
3320
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3365
3321
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3377,7 +3333,7 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3377
3333
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3378
3334
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3379
3335
|
path: z.ZodMiniString<string>;
|
|
3380
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3336
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3381
3337
|
referrer: z.ZodMiniString<string>;
|
|
3382
3338
|
search: z.ZodMiniString<string>;
|
|
3383
3339
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3387,15 +3343,16 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3387
3343
|
name: z.ZodMiniString<string>;
|
|
3388
3344
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3389
3345
|
}, z.core.$strip>;
|
|
3346
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3390
3347
|
messageId: z.ZodMiniString<string>;
|
|
3391
|
-
originalTimestamp: z.
|
|
3392
|
-
sentAt: z.
|
|
3393
|
-
timestamp: z.
|
|
3348
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3349
|
+
sentAt: z.ZodMiniString<string>;
|
|
3350
|
+
timestamp: z.ZodMiniString<string>;
|
|
3394
3351
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3395
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
3352
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
3396
3353
|
componentId: z.ZodMiniString<string>;
|
|
3397
3354
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3398
|
-
variantIndex: z.ZodMiniNumber<number
|
|
3355
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3399
3356
|
type: z.ZodMiniLiteral<"component">;
|
|
3400
3357
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3401
3358
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3413,14 +3370,14 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3413
3370
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3414
3371
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3415
3372
|
}, z.core.$strip>;
|
|
3416
|
-
gdpr: z.ZodMiniObject<{
|
|
3373
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3417
3374
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3418
|
-
}, z.core.$strip
|
|
3375
|
+
}, z.core.$strip>>;
|
|
3419
3376
|
library: z.ZodMiniObject<{
|
|
3420
3377
|
name: z.ZodMiniString<string>;
|
|
3421
3378
|
version: z.ZodMiniString<string>;
|
|
3422
3379
|
}, z.core.$strip>;
|
|
3423
|
-
locale: z.ZodMiniString<string
|
|
3380
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3424
3381
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3425
3382
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3426
3383
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3438,7 +3395,7 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3438
3395
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3439
3396
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3440
3397
|
path: z.ZodMiniString<string>;
|
|
3441
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3398
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3442
3399
|
referrer: z.ZodMiniString<string>;
|
|
3443
3400
|
search: z.ZodMiniString<string>;
|
|
3444
3401
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3448,10 +3405,11 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3448
3405
|
name: z.ZodMiniString<string>;
|
|
3449
3406
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3450
3407
|
}, z.core.$strip>;
|
|
3408
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3451
3409
|
messageId: z.ZodMiniString<string>;
|
|
3452
|
-
originalTimestamp: z.
|
|
3453
|
-
sentAt: z.
|
|
3454
|
-
timestamp: z.
|
|
3410
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3411
|
+
sentAt: z.ZodMiniString<string>;
|
|
3412
|
+
timestamp: z.ZodMiniString<string>;
|
|
3455
3413
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3456
3414
|
entityId: z.ZodMiniString<string>;
|
|
3457
3415
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -3467,7 +3425,7 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3467
3425
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3468
3426
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3469
3427
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
3470
|
-
viewDurationMs: z.
|
|
3428
|
+
viewDurationMs: z.ZodMiniInt;
|
|
3471
3429
|
viewId: z.ZodMiniString<string>;
|
|
3472
3430
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
3473
3431
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -3483,14 +3441,14 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3483
3441
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3484
3442
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3485
3443
|
}, z.core.$strip>;
|
|
3486
|
-
gdpr: z.ZodMiniObject<{
|
|
3444
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3487
3445
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3488
|
-
}, z.core.$strip
|
|
3446
|
+
}, z.core.$strip>>;
|
|
3489
3447
|
library: z.ZodMiniObject<{
|
|
3490
3448
|
name: z.ZodMiniString<string>;
|
|
3491
3449
|
version: z.ZodMiniString<string>;
|
|
3492
3450
|
}, z.core.$strip>;
|
|
3493
|
-
locale: z.ZodMiniString<string
|
|
3451
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3494
3452
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3495
3453
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3496
3454
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3508,7 +3466,7 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3508
3466
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3509
3467
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3510
3468
|
path: z.ZodMiniString<string>;
|
|
3511
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3469
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3512
3470
|
referrer: z.ZodMiniString<string>;
|
|
3513
3471
|
search: z.ZodMiniString<string>;
|
|
3514
3472
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3518,29 +3476,31 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3518
3476
|
name: z.ZodMiniString<string>;
|
|
3519
3477
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3520
3478
|
}, z.core.$strip>;
|
|
3479
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3521
3480
|
messageId: z.ZodMiniString<string>;
|
|
3522
|
-
originalTimestamp: z.
|
|
3523
|
-
sentAt: z.
|
|
3524
|
-
timestamp: z.
|
|
3525
|
-
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3481
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3482
|
+
sentAt: z.ZodMiniString<string>;
|
|
3483
|
+
timestamp: z.ZodMiniString<string>;
|
|
3526
3484
|
type: z.ZodMiniLiteral<"identify">;
|
|
3527
3485
|
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
3486
|
+
userId: z.ZodMiniString<string>;
|
|
3528
3487
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
3529
3488
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
3489
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3530
3490
|
messageId: z.ZodMiniString<string>;
|
|
3531
|
-
originalTimestamp: z.
|
|
3532
|
-
sentAt: z.
|
|
3533
|
-
timestamp: z.
|
|
3491
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3492
|
+
sentAt: z.ZodMiniString<string>;
|
|
3493
|
+
timestamp: z.ZodMiniString<string>;
|
|
3534
3494
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3535
3495
|
type: z.ZodMiniLiteral<"page">;
|
|
3536
3496
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3537
3497
|
properties: z.ZodMiniObject<{
|
|
3538
3498
|
path: z.ZodMiniString<string>;
|
|
3539
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3499
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3540
3500
|
referrer: z.ZodMiniString<string>;
|
|
3541
3501
|
search: z.ZodMiniString<string>;
|
|
3542
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3543
3502
|
url: z.ZodMiniString<string>;
|
|
3503
|
+
title: z.ZodMiniString<string>;
|
|
3544
3504
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
3545
3505
|
context: z.ZodMiniObject<{
|
|
3546
3506
|
app: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -3554,14 +3514,14 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3554
3514
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3555
3515
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3556
3516
|
}, z.core.$strip>;
|
|
3557
|
-
gdpr: z.ZodMiniObject<{
|
|
3517
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3558
3518
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3559
|
-
}, z.core.$strip
|
|
3519
|
+
}, z.core.$strip>>;
|
|
3560
3520
|
library: z.ZodMiniObject<{
|
|
3561
3521
|
name: z.ZodMiniString<string>;
|
|
3562
3522
|
version: z.ZodMiniString<string>;
|
|
3563
3523
|
}, z.core.$strip>;
|
|
3564
|
-
locale: z.ZodMiniString<string
|
|
3524
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3565
3525
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3566
3526
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3567
3527
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3577,21 +3537,22 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3577
3537
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3578
3538
|
}, z.core.$strip>>;
|
|
3579
3539
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3580
|
-
page: z.ZodMiniObject<{
|
|
3540
|
+
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3581
3541
|
path: z.ZodMiniString<string>;
|
|
3582
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3542
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3583
3543
|
referrer: z.ZodMiniString<string>;
|
|
3584
3544
|
search: z.ZodMiniString<string>;
|
|
3585
3545
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3586
3546
|
url: z.ZodMiniString<string>;
|
|
3587
|
-
}, z.core.$catchall<z.ZodMiniJSONSchema
|
|
3547
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3588
3548
|
}, z.core.$strip>;
|
|
3589
3549
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
3590
3550
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
3551
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3591
3552
|
messageId: z.ZodMiniString<string>;
|
|
3592
|
-
originalTimestamp: z.
|
|
3593
|
-
sentAt: z.
|
|
3594
|
-
timestamp: z.
|
|
3553
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3554
|
+
sentAt: z.ZodMiniString<string>;
|
|
3555
|
+
timestamp: z.ZodMiniString<string>;
|
|
3595
3556
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3596
3557
|
type: z.ZodMiniLiteral<"screen">;
|
|
3597
3558
|
name: z.ZodMiniString<string>;
|
|
@@ -3608,14 +3569,14 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3608
3569
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3609
3570
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3610
3571
|
}, z.core.$strip>;
|
|
3611
|
-
gdpr: z.ZodMiniObject<{
|
|
3572
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3612
3573
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3613
|
-
}, z.core.$strip
|
|
3574
|
+
}, z.core.$strip>>;
|
|
3614
3575
|
library: z.ZodMiniObject<{
|
|
3615
3576
|
name: z.ZodMiniString<string>;
|
|
3616
3577
|
version: z.ZodMiniString<string>;
|
|
3617
3578
|
}, z.core.$strip>;
|
|
3618
|
-
locale: z.ZodMiniString<string
|
|
3579
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3619
3580
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3620
3581
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3621
3582
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3649,14 +3610,14 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3649
3610
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3650
3611
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3651
3612
|
}, z.core.$strip>;
|
|
3652
|
-
gdpr: z.ZodMiniObject<{
|
|
3613
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3653
3614
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3654
|
-
}, z.core.$strip
|
|
3615
|
+
}, z.core.$strip>>;
|
|
3655
3616
|
library: z.ZodMiniObject<{
|
|
3656
3617
|
name: z.ZodMiniString<string>;
|
|
3657
3618
|
version: z.ZodMiniString<string>;
|
|
3658
3619
|
}, z.core.$strip>;
|
|
3659
|
-
locale: z.ZodMiniString<string
|
|
3620
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3660
3621
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3661
3622
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3662
3623
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3674,7 +3635,7 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3674
3635
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3675
3636
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3676
3637
|
path: z.ZodMiniString<string>;
|
|
3677
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3638
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3678
3639
|
referrer: z.ZodMiniString<string>;
|
|
3679
3640
|
search: z.ZodMiniString<string>;
|
|
3680
3641
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3684,10 +3645,11 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3684
3645
|
name: z.ZodMiniString<string>;
|
|
3685
3646
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3686
3647
|
}, z.core.$strip>;
|
|
3648
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3687
3649
|
messageId: z.ZodMiniString<string>;
|
|
3688
|
-
originalTimestamp: z.
|
|
3689
|
-
sentAt: z.
|
|
3690
|
-
timestamp: z.
|
|
3650
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3651
|
+
sentAt: z.ZodMiniString<string>;
|
|
3652
|
+
timestamp: z.ZodMiniString<string>;
|
|
3691
3653
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3692
3654
|
type: z.ZodMiniLiteral<"track">;
|
|
3693
3655
|
event: z.ZodMiniString<string>;
|
|
@@ -3718,12 +3680,6 @@ export declare type ExperienceEventType = ExperienceEvent['type'];
|
|
|
3718
3680
|
* @public
|
|
3719
3681
|
*/
|
|
3720
3682
|
export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
3721
|
-
/**
|
|
3722
|
-
* Experience events for the Experience API to evaluate.
|
|
3723
|
-
*
|
|
3724
|
-
* @remarks
|
|
3725
|
-
* Must contain at least one event.
|
|
3726
|
-
*/
|
|
3727
3683
|
events: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
3728
3684
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
3729
3685
|
context: z.ZodMiniObject<{
|
|
@@ -3738,14 +3694,14 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3738
3694
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3739
3695
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3740
3696
|
}, z.core.$strip>;
|
|
3741
|
-
gdpr: z.ZodMiniObject<{
|
|
3697
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3742
3698
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3743
|
-
}, z.core.$strip
|
|
3699
|
+
}, z.core.$strip>>;
|
|
3744
3700
|
library: z.ZodMiniObject<{
|
|
3745
3701
|
name: z.ZodMiniString<string>;
|
|
3746
3702
|
version: z.ZodMiniString<string>;
|
|
3747
3703
|
}, z.core.$strip>;
|
|
3748
|
-
locale: z.ZodMiniString<string
|
|
3704
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3749
3705
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3750
3706
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3751
3707
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3763,7 +3719,7 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3763
3719
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3764
3720
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3765
3721
|
path: z.ZodMiniString<string>;
|
|
3766
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3722
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3767
3723
|
referrer: z.ZodMiniString<string>;
|
|
3768
3724
|
search: z.ZodMiniString<string>;
|
|
3769
3725
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3773,15 +3729,16 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3773
3729
|
name: z.ZodMiniString<string>;
|
|
3774
3730
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3775
3731
|
}, z.core.$strip>;
|
|
3732
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3776
3733
|
messageId: z.ZodMiniString<string>;
|
|
3777
|
-
originalTimestamp: z.
|
|
3778
|
-
sentAt: z.
|
|
3779
|
-
timestamp: z.
|
|
3734
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3735
|
+
sentAt: z.ZodMiniString<string>;
|
|
3736
|
+
timestamp: z.ZodMiniString<string>;
|
|
3780
3737
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3781
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
3738
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
3782
3739
|
componentId: z.ZodMiniString<string>;
|
|
3783
3740
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3784
|
-
variantIndex: z.ZodMiniNumber<number
|
|
3741
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3785
3742
|
type: z.ZodMiniLiteral<"component">;
|
|
3786
3743
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3787
3744
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3799,14 +3756,14 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3799
3756
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3800
3757
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3801
3758
|
}, z.core.$strip>;
|
|
3802
|
-
gdpr: z.ZodMiniObject<{
|
|
3759
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3803
3760
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3804
|
-
}, z.core.$strip
|
|
3761
|
+
}, z.core.$strip>>;
|
|
3805
3762
|
library: z.ZodMiniObject<{
|
|
3806
3763
|
name: z.ZodMiniString<string>;
|
|
3807
3764
|
version: z.ZodMiniString<string>;
|
|
3808
3765
|
}, z.core.$strip>;
|
|
3809
|
-
locale: z.ZodMiniString<string
|
|
3766
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3810
3767
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3811
3768
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3812
3769
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3824,7 +3781,7 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3824
3781
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3825
3782
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3826
3783
|
path: z.ZodMiniString<string>;
|
|
3827
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3784
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3828
3785
|
referrer: z.ZodMiniString<string>;
|
|
3829
3786
|
search: z.ZodMiniString<string>;
|
|
3830
3787
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3834,10 +3791,11 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3834
3791
|
name: z.ZodMiniString<string>;
|
|
3835
3792
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3836
3793
|
}, z.core.$strip>;
|
|
3794
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3837
3795
|
messageId: z.ZodMiniString<string>;
|
|
3838
|
-
originalTimestamp: z.
|
|
3839
|
-
sentAt: z.
|
|
3840
|
-
timestamp: z.
|
|
3796
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3797
|
+
sentAt: z.ZodMiniString<string>;
|
|
3798
|
+
timestamp: z.ZodMiniString<string>;
|
|
3841
3799
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3842
3800
|
entityId: z.ZodMiniString<string>;
|
|
3843
3801
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -3853,7 +3811,7 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3853
3811
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3854
3812
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3855
3813
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
3856
|
-
viewDurationMs: z.
|
|
3814
|
+
viewDurationMs: z.ZodMiniInt;
|
|
3857
3815
|
viewId: z.ZodMiniString<string>;
|
|
3858
3816
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
3859
3817
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -3869,14 +3827,14 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3869
3827
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3870
3828
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3871
3829
|
}, z.core.$strip>;
|
|
3872
|
-
gdpr: z.ZodMiniObject<{
|
|
3830
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3873
3831
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3874
|
-
}, z.core.$strip
|
|
3832
|
+
}, z.core.$strip>>;
|
|
3875
3833
|
library: z.ZodMiniObject<{
|
|
3876
3834
|
name: z.ZodMiniString<string>;
|
|
3877
3835
|
version: z.ZodMiniString<string>;
|
|
3878
3836
|
}, z.core.$strip>;
|
|
3879
|
-
locale: z.ZodMiniString<string
|
|
3837
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3880
3838
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3881
3839
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3882
3840
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3894,7 +3852,7 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3894
3852
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3895
3853
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3896
3854
|
path: z.ZodMiniString<string>;
|
|
3897
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3855
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3898
3856
|
referrer: z.ZodMiniString<string>;
|
|
3899
3857
|
search: z.ZodMiniString<string>;
|
|
3900
3858
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -3904,29 +3862,31 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3904
3862
|
name: z.ZodMiniString<string>;
|
|
3905
3863
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3906
3864
|
}, z.core.$strip>;
|
|
3865
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3907
3866
|
messageId: z.ZodMiniString<string>;
|
|
3908
|
-
originalTimestamp: z.
|
|
3909
|
-
sentAt: z.
|
|
3910
|
-
timestamp: z.
|
|
3911
|
-
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3867
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3868
|
+
sentAt: z.ZodMiniString<string>;
|
|
3869
|
+
timestamp: z.ZodMiniString<string>;
|
|
3912
3870
|
type: z.ZodMiniLiteral<"identify">;
|
|
3913
3871
|
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
3872
|
+
userId: z.ZodMiniString<string>;
|
|
3914
3873
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
3915
3874
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
3875
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3916
3876
|
messageId: z.ZodMiniString<string>;
|
|
3917
|
-
originalTimestamp: z.
|
|
3918
|
-
sentAt: z.
|
|
3919
|
-
timestamp: z.
|
|
3877
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3878
|
+
sentAt: z.ZodMiniString<string>;
|
|
3879
|
+
timestamp: z.ZodMiniString<string>;
|
|
3920
3880
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3921
3881
|
type: z.ZodMiniLiteral<"page">;
|
|
3922
3882
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3923
3883
|
properties: z.ZodMiniObject<{
|
|
3924
3884
|
path: z.ZodMiniString<string>;
|
|
3925
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3885
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3926
3886
|
referrer: z.ZodMiniString<string>;
|
|
3927
3887
|
search: z.ZodMiniString<string>;
|
|
3928
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3929
3888
|
url: z.ZodMiniString<string>;
|
|
3889
|
+
title: z.ZodMiniString<string>;
|
|
3930
3890
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
3931
3891
|
context: z.ZodMiniObject<{
|
|
3932
3892
|
app: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -3940,14 +3900,14 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3940
3900
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3941
3901
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3942
3902
|
}, z.core.$strip>;
|
|
3943
|
-
gdpr: z.ZodMiniObject<{
|
|
3903
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3944
3904
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3945
|
-
}, z.core.$strip
|
|
3905
|
+
}, z.core.$strip>>;
|
|
3946
3906
|
library: z.ZodMiniObject<{
|
|
3947
3907
|
name: z.ZodMiniString<string>;
|
|
3948
3908
|
version: z.ZodMiniString<string>;
|
|
3949
3909
|
}, z.core.$strip>;
|
|
3950
|
-
locale: z.ZodMiniString<string
|
|
3910
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
3951
3911
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3952
3912
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3953
3913
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -3963,21 +3923,22 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3963
3923
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3964
3924
|
}, z.core.$strip>>;
|
|
3965
3925
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3966
|
-
page: z.ZodMiniObject<{
|
|
3926
|
+
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3967
3927
|
path: z.ZodMiniString<string>;
|
|
3968
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
3928
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
3969
3929
|
referrer: z.ZodMiniString<string>;
|
|
3970
3930
|
search: z.ZodMiniString<string>;
|
|
3971
3931
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3972
3932
|
url: z.ZodMiniString<string>;
|
|
3973
|
-
}, z.core.$catchall<z.ZodMiniJSONSchema
|
|
3933
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
3974
3934
|
}, z.core.$strip>;
|
|
3975
3935
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
3976
3936
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
3937
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3977
3938
|
messageId: z.ZodMiniString<string>;
|
|
3978
|
-
originalTimestamp: z.
|
|
3979
|
-
sentAt: z.
|
|
3980
|
-
timestamp: z.
|
|
3939
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
3940
|
+
sentAt: z.ZodMiniString<string>;
|
|
3941
|
+
timestamp: z.ZodMiniString<string>;
|
|
3981
3942
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3982
3943
|
type: z.ZodMiniLiteral<"screen">;
|
|
3983
3944
|
name: z.ZodMiniString<string>;
|
|
@@ -3994,14 +3955,14 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3994
3955
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3995
3956
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3996
3957
|
}, z.core.$strip>;
|
|
3997
|
-
gdpr: z.ZodMiniObject<{
|
|
3958
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
3998
3959
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
3999
|
-
}, z.core.$strip
|
|
3960
|
+
}, z.core.$strip>>;
|
|
4000
3961
|
library: z.ZodMiniObject<{
|
|
4001
3962
|
name: z.ZodMiniString<string>;
|
|
4002
3963
|
version: z.ZodMiniString<string>;
|
|
4003
3964
|
}, z.core.$strip>;
|
|
4004
|
-
locale: z.ZodMiniString<string
|
|
3965
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4005
3966
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4006
3967
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4007
3968
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4035,14 +3996,14 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
4035
3996
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4036
3997
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4037
3998
|
}, z.core.$strip>;
|
|
4038
|
-
gdpr: z.ZodMiniObject<{
|
|
3999
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4039
4000
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4040
|
-
}, z.core.$strip
|
|
4001
|
+
}, z.core.$strip>>;
|
|
4041
4002
|
library: z.ZodMiniObject<{
|
|
4042
4003
|
name: z.ZodMiniString<string>;
|
|
4043
4004
|
version: z.ZodMiniString<string>;
|
|
4044
4005
|
}, z.core.$strip>;
|
|
4045
|
-
locale: z.ZodMiniString<string
|
|
4006
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4046
4007
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4047
4008
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4048
4009
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4060,7 +4021,7 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
4060
4021
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4061
4022
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4062
4023
|
path: z.ZodMiniString<string>;
|
|
4063
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4024
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4064
4025
|
referrer: z.ZodMiniString<string>;
|
|
4065
4026
|
search: z.ZodMiniString<string>;
|
|
4066
4027
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4070,26 +4031,18 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
4070
4031
|
name: z.ZodMiniString<string>;
|
|
4071
4032
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4072
4033
|
}, z.core.$strip>;
|
|
4034
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4073
4035
|
messageId: z.ZodMiniString<string>;
|
|
4074
|
-
originalTimestamp: z.
|
|
4075
|
-
sentAt: z.
|
|
4076
|
-
timestamp: z.
|
|
4036
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4037
|
+
sentAt: z.ZodMiniString<string>;
|
|
4038
|
+
timestamp: z.ZodMiniString<string>;
|
|
4077
4039
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4078
4040
|
type: z.ZodMiniLiteral<"track">;
|
|
4079
4041
|
event: z.ZodMiniString<string>;
|
|
4080
4042
|
properties: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
4081
4043
|
}, z.core.$strip>], "type">>;
|
|
4082
|
-
/**
|
|
4083
|
-
* Optional configuration for this experience request.
|
|
4084
|
-
*/
|
|
4085
4044
|
options: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4086
|
-
/**
|
|
4087
|
-
* Features or capabilities to enable for this request.
|
|
4088
|
-
*/
|
|
4089
4045
|
features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
4090
|
-
/**
|
|
4091
|
-
* Location default for singular profile requests. Event `context.location` fields override it.
|
|
4092
|
-
*/
|
|
4093
4046
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4094
4047
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4095
4048
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4124,13 +4077,7 @@ export declare type ExperienceRequestData = z.infer<typeof ExperienceRequestData
|
|
|
4124
4077
|
* @public
|
|
4125
4078
|
*/
|
|
4126
4079
|
export declare const ExperienceRequestOptions: z.ZodMiniObject<{
|
|
4127
|
-
/**
|
|
4128
|
-
* Features or capabilities to enable for this request.
|
|
4129
|
-
*/
|
|
4130
4080
|
features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
4131
|
-
/**
|
|
4132
|
-
* Location default for singular profile requests. Event `context.location` fields override it.
|
|
4133
|
-
*/
|
|
4134
4081
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4135
4082
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4136
4083
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4168,9 +4115,6 @@ export declare const ExperienceResponse: z.ZodMiniObject<{
|
|
|
4168
4115
|
code: z.ZodMiniString<string>;
|
|
4169
4116
|
}, z.core.$strip>>;
|
|
4170
4117
|
data: z.ZodMiniObject<{
|
|
4171
|
-
/**
|
|
4172
|
-
* Profile associated with the evaluated events.
|
|
4173
|
-
*/
|
|
4174
4118
|
profile: z.ZodMiniObject<{
|
|
4175
4119
|
id: z.ZodMiniString<string>;
|
|
4176
4120
|
stableId: z.ZodMiniString<string>;
|
|
@@ -4192,11 +4136,11 @@ export declare const ExperienceResponse: z.ZodMiniObject<{
|
|
|
4192
4136
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4193
4137
|
}, z.core.$strip>;
|
|
4194
4138
|
session: z.ZodMiniObject<{
|
|
4195
|
-
id: z.ZodMiniString<string
|
|
4139
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4196
4140
|
isReturningVisitor: z.ZodMiniBoolean<boolean>;
|
|
4197
4141
|
landingPage: z.ZodMiniObject<{
|
|
4198
4142
|
path: z.ZodMiniString<string>;
|
|
4199
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4143
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4200
4144
|
referrer: z.ZodMiniString<string>;
|
|
4201
4145
|
search: z.ZodMiniString<string>;
|
|
4202
4146
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4206,23 +4150,17 @@ export declare const ExperienceResponse: z.ZodMiniObject<{
|
|
|
4206
4150
|
activeSessionLength: z.ZodMiniNumber<number>;
|
|
4207
4151
|
averageSessionLength: z.ZodMiniNumber<number>;
|
|
4208
4152
|
}, z.core.$strip>;
|
|
4153
|
+
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
4154
|
+
US: "US";
|
|
4155
|
+
EU: "EU";
|
|
4156
|
+
}>>;
|
|
4209
4157
|
}, z.core.$strip>;
|
|
4210
|
-
/**
|
|
4211
|
-
* Selected experiences and variants for the profile.
|
|
4212
|
-
*
|
|
4213
|
-
* @see {@link SelectedOptimizationArray}
|
|
4214
|
-
*/
|
|
4215
4158
|
experiences: z.ZodMiniArray<z.ZodMiniObject<{
|
|
4216
4159
|
experienceId: z.ZodMiniString<string>;
|
|
4217
4160
|
variantIndex: z.ZodMiniNumber<number>;
|
|
4218
4161
|
variants: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4219
4162
|
sticky: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniBoolean<boolean>>>;
|
|
4220
4163
|
}, z.core.$strip>>;
|
|
4221
|
-
/**
|
|
4222
|
-
* Used for Custom Flags.
|
|
4223
|
-
*
|
|
4224
|
-
* @see {@link ChangeArray}
|
|
4225
|
-
*/
|
|
4226
4164
|
changes: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
4227
4165
|
key: z.ZodMiniString<string>;
|
|
4228
4166
|
meta: z.ZodMiniObject<{
|
|
@@ -4274,13 +4212,7 @@ export declare const FragmentChange: z.ZodMiniObject<{
|
|
|
4274
4212
|
id: z.ZodMiniString<string>;
|
|
4275
4213
|
variantId: z.ZodMiniString<string>;
|
|
4276
4214
|
meta: z.ZodMiniObject<{
|
|
4277
|
-
/**
|
|
4278
|
-
* Identifier of the optimization that produced this change.
|
|
4279
|
-
*/
|
|
4280
4215
|
optimizationId: z.ZodMiniString<string>;
|
|
4281
|
-
/**
|
|
4282
|
-
* Index of the variant within the optimization's distribution.
|
|
4283
|
-
*/
|
|
4284
4216
|
variantIndex: z.ZodMiniNumber<number>;
|
|
4285
4217
|
}, z.core.$strip>;
|
|
4286
4218
|
type: z.ZodMiniLiteral<"Fragment">;
|
|
@@ -4302,57 +4234,17 @@ export declare type FragmentChange = z.infer<typeof FragmentChange>;
|
|
|
4302
4234
|
* @public
|
|
4303
4235
|
*/
|
|
4304
4236
|
export declare const GeoLocation: z.ZodMiniObject<{
|
|
4305
|
-
/**
|
|
4306
|
-
* Geographical coordinates for the location.
|
|
4307
|
-
*/
|
|
4308
4237
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4309
|
-
/**
|
|
4310
|
-
* Latitude component of the coordinates.
|
|
4311
|
-
*/
|
|
4312
4238
|
latitude: z.ZodMiniNumber<number>;
|
|
4313
|
-
/**
|
|
4314
|
-
* Longitude component of the coordinates.
|
|
4315
|
-
*/
|
|
4316
4239
|
longitude: z.ZodMiniNumber<number>;
|
|
4317
4240
|
}, z.core.$strip>>;
|
|
4318
|
-
/**
|
|
4319
|
-
* City name associated with the location.
|
|
4320
|
-
*/
|
|
4321
4241
|
city: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4322
|
-
/**
|
|
4323
|
-
* Postal or ZIP code associated with the location.
|
|
4324
|
-
*/
|
|
4325
4242
|
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4326
|
-
/**
|
|
4327
|
-
* Region or state name associated with the location.
|
|
4328
|
-
*/
|
|
4329
4243
|
region: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4330
|
-
/**
|
|
4331
|
-
* Region or state code associated with the location.
|
|
4332
|
-
*/
|
|
4333
4244
|
regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4334
|
-
/**
|
|
4335
|
-
* Country name associated with the location.
|
|
4336
|
-
*/
|
|
4337
4245
|
country: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4338
|
-
/**
|
|
4339
|
-
* Country code associated with the location.
|
|
4340
|
-
*
|
|
4341
|
-
* @remarks
|
|
4342
|
-
* Validated to exactly COUNTRY_CODE_LENGTH characters, typically
|
|
4343
|
-
* an ISO 3166-1 alpha-2 code.
|
|
4344
|
-
*/
|
|
4345
4246
|
countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4346
|
-
/**
|
|
4347
|
-
* Continent name associated with the location.
|
|
4348
|
-
*/
|
|
4349
4247
|
continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4350
|
-
/**
|
|
4351
|
-
* Time zone identifier associated with the location.
|
|
4352
|
-
*
|
|
4353
|
-
* @remarks
|
|
4354
|
-
* Typically an IANA time zone string (e.g., `"Europe/Berlin"`).
|
|
4355
|
-
*/
|
|
4356
4248
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4357
4249
|
}, z.core.$strip>;
|
|
4358
4250
|
|
|
@@ -4388,14 +4280,14 @@ export declare const HoverEvent: z.ZodMiniObject<{
|
|
|
4388
4280
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4389
4281
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4390
4282
|
}, z.core.$strip>;
|
|
4391
|
-
gdpr: z.ZodMiniObject<{
|
|
4283
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4392
4284
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4393
|
-
}, z.core.$strip
|
|
4285
|
+
}, z.core.$strip>>;
|
|
4394
4286
|
library: z.ZodMiniObject<{
|
|
4395
4287
|
name: z.ZodMiniString<string>;
|
|
4396
4288
|
version: z.ZodMiniString<string>;
|
|
4397
4289
|
}, z.core.$strip>;
|
|
4398
|
-
locale: z.ZodMiniString<string
|
|
4290
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4399
4291
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4400
4292
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4401
4293
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4413,7 +4305,7 @@ export declare const HoverEvent: z.ZodMiniObject<{
|
|
|
4413
4305
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4414
4306
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4415
4307
|
path: z.ZodMiniString<string>;
|
|
4416
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4308
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4417
4309
|
referrer: z.ZodMiniString<string>;
|
|
4418
4310
|
search: z.ZodMiniString<string>;
|
|
4419
4311
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4423,15 +4315,16 @@ export declare const HoverEvent: z.ZodMiniObject<{
|
|
|
4423
4315
|
name: z.ZodMiniString<string>;
|
|
4424
4316
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4425
4317
|
}, z.core.$strip>;
|
|
4318
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4426
4319
|
messageId: z.ZodMiniString<string>;
|
|
4427
|
-
originalTimestamp: z.
|
|
4428
|
-
sentAt: z.
|
|
4429
|
-
timestamp: z.
|
|
4320
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4321
|
+
sentAt: z.ZodMiniString<string>;
|
|
4322
|
+
timestamp: z.ZodMiniString<string>;
|
|
4430
4323
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4431
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
4324
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
4432
4325
|
componentId: z.ZodMiniString<string>;
|
|
4433
4326
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4434
|
-
variantIndex: z.ZodMiniNumber<number
|
|
4327
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4435
4328
|
type: z.ZodMiniLiteral<"component_hover">;
|
|
4436
4329
|
hoverDurationMs: z.ZodMiniNumber<number>;
|
|
4437
4330
|
hoverId: z.ZodMiniString<string>;
|
|
@@ -4468,14 +4361,14 @@ export declare const IdentifyEvent: z.ZodMiniObject<{
|
|
|
4468
4361
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4469
4362
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4470
4363
|
}, z.core.$strip>;
|
|
4471
|
-
gdpr: z.ZodMiniObject<{
|
|
4364
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4472
4365
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4473
|
-
}, z.core.$strip
|
|
4366
|
+
}, z.core.$strip>>;
|
|
4474
4367
|
library: z.ZodMiniObject<{
|
|
4475
4368
|
name: z.ZodMiniString<string>;
|
|
4476
4369
|
version: z.ZodMiniString<string>;
|
|
4477
4370
|
}, z.core.$strip>;
|
|
4478
|
-
locale: z.ZodMiniString<string
|
|
4371
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4479
4372
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4480
4373
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4481
4374
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4493,7 +4386,7 @@ export declare const IdentifyEvent: z.ZodMiniObject<{
|
|
|
4493
4386
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4494
4387
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4495
4388
|
path: z.ZodMiniString<string>;
|
|
4496
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4389
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4497
4390
|
referrer: z.ZodMiniString<string>;
|
|
4498
4391
|
search: z.ZodMiniString<string>;
|
|
4499
4392
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4503,13 +4396,14 @@ export declare const IdentifyEvent: z.ZodMiniObject<{
|
|
|
4503
4396
|
name: z.ZodMiniString<string>;
|
|
4504
4397
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4505
4398
|
}, z.core.$strip>;
|
|
4399
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4506
4400
|
messageId: z.ZodMiniString<string>;
|
|
4507
|
-
originalTimestamp: z.
|
|
4508
|
-
sentAt: z.
|
|
4509
|
-
timestamp: z.
|
|
4510
|
-
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4401
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4402
|
+
sentAt: z.ZodMiniString<string>;
|
|
4403
|
+
timestamp: z.ZodMiniString<string>;
|
|
4511
4404
|
type: z.ZodMiniLiteral<"identify">;
|
|
4512
4405
|
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
4406
|
+
userId: z.ZodMiniString<string>;
|
|
4513
4407
|
}, z.core.$strip>;
|
|
4514
4408
|
|
|
4515
4409
|
/**
|
|
@@ -4542,14 +4436,14 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4542
4436
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4543
4437
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4544
4438
|
}, z.core.$strip>;
|
|
4545
|
-
gdpr: z.ZodMiniObject<{
|
|
4439
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4546
4440
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4547
|
-
}, z.core.$strip
|
|
4441
|
+
}, z.core.$strip>>;
|
|
4548
4442
|
library: z.ZodMiniObject<{
|
|
4549
4443
|
name: z.ZodMiniString<string>;
|
|
4550
4444
|
version: z.ZodMiniString<string>;
|
|
4551
4445
|
}, z.core.$strip>;
|
|
4552
|
-
locale: z.ZodMiniString<string
|
|
4446
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4553
4447
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4554
4448
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4555
4449
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4567,7 +4461,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4567
4461
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4568
4462
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4569
4463
|
path: z.ZodMiniString<string>;
|
|
4570
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4464
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4571
4465
|
referrer: z.ZodMiniString<string>;
|
|
4572
4466
|
search: z.ZodMiniString<string>;
|
|
4573
4467
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4577,15 +4471,16 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4577
4471
|
name: z.ZodMiniString<string>;
|
|
4578
4472
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4579
4473
|
}, z.core.$strip>;
|
|
4474
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4580
4475
|
messageId: z.ZodMiniString<string>;
|
|
4581
|
-
originalTimestamp: z.
|
|
4582
|
-
sentAt: z.
|
|
4583
|
-
timestamp: z.
|
|
4476
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4477
|
+
sentAt: z.ZodMiniString<string>;
|
|
4478
|
+
timestamp: z.ZodMiniString<string>;
|
|
4584
4479
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4585
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
4480
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
4586
4481
|
componentId: z.ZodMiniString<string>;
|
|
4587
4482
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4588
|
-
variantIndex: z.ZodMiniNumber<number
|
|
4483
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4589
4484
|
type: z.ZodMiniLiteral<"component">;
|
|
4590
4485
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4591
4486
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4603,14 +4498,14 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4603
4498
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4604
4499
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4605
4500
|
}, z.core.$strip>;
|
|
4606
|
-
gdpr: z.ZodMiniObject<{
|
|
4501
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4607
4502
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4608
|
-
}, z.core.$strip
|
|
4503
|
+
}, z.core.$strip>>;
|
|
4609
4504
|
library: z.ZodMiniObject<{
|
|
4610
4505
|
name: z.ZodMiniString<string>;
|
|
4611
4506
|
version: z.ZodMiniString<string>;
|
|
4612
4507
|
}, z.core.$strip>;
|
|
4613
|
-
locale: z.ZodMiniString<string
|
|
4508
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4614
4509
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4615
4510
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4616
4511
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4628,7 +4523,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4628
4523
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4629
4524
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4630
4525
|
path: z.ZodMiniString<string>;
|
|
4631
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4526
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4632
4527
|
referrer: z.ZodMiniString<string>;
|
|
4633
4528
|
search: z.ZodMiniString<string>;
|
|
4634
4529
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4638,15 +4533,16 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4638
4533
|
name: z.ZodMiniString<string>;
|
|
4639
4534
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4640
4535
|
}, z.core.$strip>;
|
|
4536
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4641
4537
|
messageId: z.ZodMiniString<string>;
|
|
4642
|
-
originalTimestamp: z.
|
|
4643
|
-
sentAt: z.
|
|
4644
|
-
timestamp: z.
|
|
4538
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4539
|
+
sentAt: z.ZodMiniString<string>;
|
|
4540
|
+
timestamp: z.ZodMiniString<string>;
|
|
4645
4541
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4646
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
4542
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
4647
4543
|
componentId: z.ZodMiniString<string>;
|
|
4648
4544
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4649
|
-
variantIndex: z.ZodMiniNumber<number
|
|
4545
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4650
4546
|
type: z.ZodMiniLiteral<"component_click">;
|
|
4651
4547
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
4652
4548
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -4662,14 +4558,14 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4662
4558
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4663
4559
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4664
4560
|
}, z.core.$strip>;
|
|
4665
|
-
gdpr: z.ZodMiniObject<{
|
|
4561
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4666
4562
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4667
|
-
}, z.core.$strip
|
|
4563
|
+
}, z.core.$strip>>;
|
|
4668
4564
|
library: z.ZodMiniObject<{
|
|
4669
4565
|
name: z.ZodMiniString<string>;
|
|
4670
4566
|
version: z.ZodMiniString<string>;
|
|
4671
4567
|
}, z.core.$strip>;
|
|
4672
|
-
locale: z.ZodMiniString<string
|
|
4568
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4673
4569
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4674
4570
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4675
4571
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4687,7 +4583,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4687
4583
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4688
4584
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4689
4585
|
path: z.ZodMiniString<string>;
|
|
4690
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4586
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4691
4587
|
referrer: z.ZodMiniString<string>;
|
|
4692
4588
|
search: z.ZodMiniString<string>;
|
|
4693
4589
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4697,15 +4593,16 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4697
4593
|
name: z.ZodMiniString<string>;
|
|
4698
4594
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4699
4595
|
}, z.core.$strip>;
|
|
4596
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4700
4597
|
messageId: z.ZodMiniString<string>;
|
|
4701
|
-
originalTimestamp: z.
|
|
4702
|
-
sentAt: z.
|
|
4703
|
-
timestamp: z.
|
|
4598
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4599
|
+
sentAt: z.ZodMiniString<string>;
|
|
4600
|
+
timestamp: z.ZodMiniString<string>;
|
|
4704
4601
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4705
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
4602
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
4706
4603
|
componentId: z.ZodMiniString<string>;
|
|
4707
4604
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4708
|
-
variantIndex: z.ZodMiniNumber<number
|
|
4605
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4709
4606
|
type: z.ZodMiniLiteral<"component_hover">;
|
|
4710
4607
|
hoverDurationMs: z.ZodMiniNumber<number>;
|
|
4711
4608
|
hoverId: z.ZodMiniString<string>;
|
|
@@ -4723,14 +4620,14 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4723
4620
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4724
4621
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4725
4622
|
}, z.core.$strip>;
|
|
4726
|
-
gdpr: z.ZodMiniObject<{
|
|
4623
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4727
4624
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4728
|
-
}, z.core.$strip
|
|
4625
|
+
}, z.core.$strip>>;
|
|
4729
4626
|
library: z.ZodMiniObject<{
|
|
4730
4627
|
name: z.ZodMiniString<string>;
|
|
4731
4628
|
version: z.ZodMiniString<string>;
|
|
4732
4629
|
}, z.core.$strip>;
|
|
4733
|
-
locale: z.ZodMiniString<string
|
|
4630
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4734
4631
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4735
4632
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4736
4633
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4748,7 +4645,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4748
4645
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4749
4646
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4750
4647
|
path: z.ZodMiniString<string>;
|
|
4751
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4648
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4752
4649
|
referrer: z.ZodMiniString<string>;
|
|
4753
4650
|
search: z.ZodMiniString<string>;
|
|
4754
4651
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4758,10 +4655,11 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4758
4655
|
name: z.ZodMiniString<string>;
|
|
4759
4656
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4760
4657
|
}, z.core.$strip>;
|
|
4658
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4761
4659
|
messageId: z.ZodMiniString<string>;
|
|
4762
|
-
originalTimestamp: z.
|
|
4763
|
-
sentAt: z.
|
|
4764
|
-
timestamp: z.
|
|
4660
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4661
|
+
sentAt: z.ZodMiniString<string>;
|
|
4662
|
+
timestamp: z.ZodMiniString<string>;
|
|
4765
4663
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4766
4664
|
entityId: z.ZodMiniString<string>;
|
|
4767
4665
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -4777,7 +4675,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4777
4675
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4778
4676
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4779
4677
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
4780
|
-
viewDurationMs: z.
|
|
4678
|
+
viewDurationMs: z.ZodMiniInt;
|
|
4781
4679
|
viewId: z.ZodMiniString<string>;
|
|
4782
4680
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
4783
4681
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -4793,14 +4691,14 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4793
4691
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4794
4692
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4795
4693
|
}, z.core.$strip>;
|
|
4796
|
-
gdpr: z.ZodMiniObject<{
|
|
4694
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4797
4695
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4798
|
-
}, z.core.$strip
|
|
4696
|
+
}, z.core.$strip>>;
|
|
4799
4697
|
library: z.ZodMiniObject<{
|
|
4800
4698
|
name: z.ZodMiniString<string>;
|
|
4801
4699
|
version: z.ZodMiniString<string>;
|
|
4802
4700
|
}, z.core.$strip>;
|
|
4803
|
-
locale: z.ZodMiniString<string
|
|
4701
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4804
4702
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4805
4703
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4806
4704
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4818,7 +4716,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4818
4716
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4819
4717
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4820
4718
|
path: z.ZodMiniString<string>;
|
|
4821
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4719
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4822
4720
|
referrer: z.ZodMiniString<string>;
|
|
4823
4721
|
search: z.ZodMiniString<string>;
|
|
4824
4722
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4828,10 +4726,11 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4828
4726
|
name: z.ZodMiniString<string>;
|
|
4829
4727
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4830
4728
|
}, z.core.$strip>;
|
|
4729
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4831
4730
|
messageId: z.ZodMiniString<string>;
|
|
4832
|
-
originalTimestamp: z.
|
|
4833
|
-
sentAt: z.
|
|
4834
|
-
timestamp: z.
|
|
4731
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4732
|
+
sentAt: z.ZodMiniString<string>;
|
|
4733
|
+
timestamp: z.ZodMiniString<string>;
|
|
4835
4734
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4836
4735
|
entityId: z.ZodMiniString<string>;
|
|
4837
4736
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -4861,14 +4760,14 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4861
4760
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4862
4761
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4863
4762
|
}, z.core.$strip>;
|
|
4864
|
-
gdpr: z.ZodMiniObject<{
|
|
4763
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4865
4764
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4866
|
-
}, z.core.$strip
|
|
4765
|
+
}, z.core.$strip>>;
|
|
4867
4766
|
library: z.ZodMiniObject<{
|
|
4868
4767
|
name: z.ZodMiniString<string>;
|
|
4869
4768
|
version: z.ZodMiniString<string>;
|
|
4870
4769
|
}, z.core.$strip>;
|
|
4871
|
-
locale: z.ZodMiniString<string
|
|
4770
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4872
4771
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4873
4772
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4874
4773
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4886,7 +4785,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4886
4785
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4887
4786
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4888
4787
|
path: z.ZodMiniString<string>;
|
|
4889
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4788
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4890
4789
|
referrer: z.ZodMiniString<string>;
|
|
4891
4790
|
search: z.ZodMiniString<string>;
|
|
4892
4791
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4896,10 +4795,11 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4896
4795
|
name: z.ZodMiniString<string>;
|
|
4897
4796
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4898
4797
|
}, z.core.$strip>;
|
|
4798
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4899
4799
|
messageId: z.ZodMiniString<string>;
|
|
4900
|
-
originalTimestamp: z.
|
|
4901
|
-
sentAt: z.
|
|
4902
|
-
timestamp: z.
|
|
4800
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4801
|
+
sentAt: z.ZodMiniString<string>;
|
|
4802
|
+
timestamp: z.ZodMiniString<string>;
|
|
4903
4803
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4904
4804
|
entityId: z.ZodMiniString<string>;
|
|
4905
4805
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -4915,7 +4815,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4915
4815
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4916
4816
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4917
4817
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
4918
|
-
hoverDurationMs: z.
|
|
4818
|
+
hoverDurationMs: z.ZodMiniInt;
|
|
4919
4819
|
hoverId: z.ZodMiniString<string>;
|
|
4920
4820
|
}, z.core.$strip>], "type">;
|
|
4921
4821
|
|
|
@@ -4945,14 +4845,14 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
4945
4845
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4946
4846
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4947
4847
|
}, z.core.$strip>;
|
|
4948
|
-
gdpr: z.ZodMiniObject<{
|
|
4848
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4949
4849
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
4950
|
-
}, z.core.$strip
|
|
4850
|
+
}, z.core.$strip>>;
|
|
4951
4851
|
library: z.ZodMiniObject<{
|
|
4952
4852
|
name: z.ZodMiniString<string>;
|
|
4953
4853
|
version: z.ZodMiniString<string>;
|
|
4954
4854
|
}, z.core.$strip>;
|
|
4955
|
-
locale: z.ZodMiniString<string
|
|
4855
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
4956
4856
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4957
4857
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4958
4858
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -4970,7 +4870,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
4970
4870
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4971
4871
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4972
4872
|
path: z.ZodMiniString<string>;
|
|
4973
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4873
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
4974
4874
|
referrer: z.ZodMiniString<string>;
|
|
4975
4875
|
search: z.ZodMiniString<string>;
|
|
4976
4876
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -4980,15 +4880,16 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
4980
4880
|
name: z.ZodMiniString<string>;
|
|
4981
4881
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
4982
4882
|
}, z.core.$strip>;
|
|
4883
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4983
4884
|
messageId: z.ZodMiniString<string>;
|
|
4984
|
-
originalTimestamp: z.
|
|
4985
|
-
sentAt: z.
|
|
4986
|
-
timestamp: z.
|
|
4885
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4886
|
+
sentAt: z.ZodMiniString<string>;
|
|
4887
|
+
timestamp: z.ZodMiniString<string>;
|
|
4987
4888
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4988
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
4889
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
4989
4890
|
componentId: z.ZodMiniString<string>;
|
|
4990
4891
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4991
|
-
variantIndex: z.ZodMiniNumber<number
|
|
4892
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4992
4893
|
type: z.ZodMiniLiteral<"component">;
|
|
4993
4894
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4994
4895
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -5006,14 +4907,14 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5006
4907
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5007
4908
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5008
4909
|
}, z.core.$strip>;
|
|
5009
|
-
gdpr: z.ZodMiniObject<{
|
|
4910
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5010
4911
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5011
|
-
}, z.core.$strip
|
|
4912
|
+
}, z.core.$strip>>;
|
|
5012
4913
|
library: z.ZodMiniObject<{
|
|
5013
4914
|
name: z.ZodMiniString<string>;
|
|
5014
4915
|
version: z.ZodMiniString<string>;
|
|
5015
4916
|
}, z.core.$strip>;
|
|
5016
|
-
locale: z.ZodMiniString<string
|
|
4917
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5017
4918
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5018
4919
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5019
4920
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5031,7 +4932,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5031
4932
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5032
4933
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5033
4934
|
path: z.ZodMiniString<string>;
|
|
5034
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4935
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5035
4936
|
referrer: z.ZodMiniString<string>;
|
|
5036
4937
|
search: z.ZodMiniString<string>;
|
|
5037
4938
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -5041,15 +4942,16 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5041
4942
|
name: z.ZodMiniString<string>;
|
|
5042
4943
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
5043
4944
|
}, z.core.$strip>;
|
|
4945
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5044
4946
|
messageId: z.ZodMiniString<string>;
|
|
5045
|
-
originalTimestamp: z.
|
|
5046
|
-
sentAt: z.
|
|
5047
|
-
timestamp: z.
|
|
4947
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
4948
|
+
sentAt: z.ZodMiniString<string>;
|
|
4949
|
+
timestamp: z.ZodMiniString<string>;
|
|
5048
4950
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5049
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
4951
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
5050
4952
|
componentId: z.ZodMiniString<string>;
|
|
5051
4953
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5052
|
-
variantIndex: z.ZodMiniNumber<number
|
|
4954
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5053
4955
|
type: z.ZodMiniLiteral<"component_click">;
|
|
5054
4956
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
5055
4957
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -5065,14 +4967,14 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5065
4967
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5066
4968
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5067
4969
|
}, z.core.$strip>;
|
|
5068
|
-
gdpr: z.ZodMiniObject<{
|
|
4970
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5069
4971
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5070
|
-
}, z.core.$strip
|
|
4972
|
+
}, z.core.$strip>>;
|
|
5071
4973
|
library: z.ZodMiniObject<{
|
|
5072
4974
|
name: z.ZodMiniString<string>;
|
|
5073
4975
|
version: z.ZodMiniString<string>;
|
|
5074
4976
|
}, z.core.$strip>;
|
|
5075
|
-
locale: z.ZodMiniString<string
|
|
4977
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5076
4978
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5077
4979
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5078
4980
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5090,7 +4992,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5090
4992
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5091
4993
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5092
4994
|
path: z.ZodMiniString<string>;
|
|
5093
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
4995
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5094
4996
|
referrer: z.ZodMiniString<string>;
|
|
5095
4997
|
search: z.ZodMiniString<string>;
|
|
5096
4998
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -5100,15 +5002,16 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5100
5002
|
name: z.ZodMiniString<string>;
|
|
5101
5003
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
5102
5004
|
}, z.core.$strip>;
|
|
5005
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5103
5006
|
messageId: z.ZodMiniString<string>;
|
|
5104
|
-
originalTimestamp: z.
|
|
5105
|
-
sentAt: z.
|
|
5106
|
-
timestamp: z.
|
|
5007
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
5008
|
+
sentAt: z.ZodMiniString<string>;
|
|
5009
|
+
timestamp: z.ZodMiniString<string>;
|
|
5107
5010
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5108
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
5011
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
5109
5012
|
componentId: z.ZodMiniString<string>;
|
|
5110
5013
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5111
|
-
variantIndex: z.ZodMiniNumber<number
|
|
5014
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5112
5015
|
type: z.ZodMiniLiteral<"component_hover">;
|
|
5113
5016
|
hoverDurationMs: z.ZodMiniNumber<number>;
|
|
5114
5017
|
hoverId: z.ZodMiniString<string>;
|
|
@@ -5126,14 +5029,14 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5126
5029
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5127
5030
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5128
5031
|
}, z.core.$strip>;
|
|
5129
|
-
gdpr: z.ZodMiniObject<{
|
|
5032
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5130
5033
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5131
|
-
}, z.core.$strip
|
|
5034
|
+
}, z.core.$strip>>;
|
|
5132
5035
|
library: z.ZodMiniObject<{
|
|
5133
5036
|
name: z.ZodMiniString<string>;
|
|
5134
5037
|
version: z.ZodMiniString<string>;
|
|
5135
5038
|
}, z.core.$strip>;
|
|
5136
|
-
locale: z.ZodMiniString<string
|
|
5039
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5137
5040
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5138
5041
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5139
5042
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5151,7 +5054,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5151
5054
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5152
5055
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5153
5056
|
path: z.ZodMiniString<string>;
|
|
5154
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5057
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5155
5058
|
referrer: z.ZodMiniString<string>;
|
|
5156
5059
|
search: z.ZodMiniString<string>;
|
|
5157
5060
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -5161,10 +5064,11 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5161
5064
|
name: z.ZodMiniString<string>;
|
|
5162
5065
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
5163
5066
|
}, z.core.$strip>;
|
|
5067
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5164
5068
|
messageId: z.ZodMiniString<string>;
|
|
5165
|
-
originalTimestamp: z.
|
|
5166
|
-
sentAt: z.
|
|
5167
|
-
timestamp: z.
|
|
5069
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
5070
|
+
sentAt: z.ZodMiniString<string>;
|
|
5071
|
+
timestamp: z.ZodMiniString<string>;
|
|
5168
5072
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5169
5073
|
entityId: z.ZodMiniString<string>;
|
|
5170
5074
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -5180,7 +5084,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5180
5084
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5181
5085
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5182
5086
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
5183
|
-
viewDurationMs: z.
|
|
5087
|
+
viewDurationMs: z.ZodMiniInt;
|
|
5184
5088
|
viewId: z.ZodMiniString<string>;
|
|
5185
5089
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
5186
5090
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
@@ -5196,14 +5100,14 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5196
5100
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5197
5101
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5198
5102
|
}, z.core.$strip>;
|
|
5199
|
-
gdpr: z.ZodMiniObject<{
|
|
5103
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5200
5104
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5201
|
-
}, z.core.$strip
|
|
5105
|
+
}, z.core.$strip>>;
|
|
5202
5106
|
library: z.ZodMiniObject<{
|
|
5203
5107
|
name: z.ZodMiniString<string>;
|
|
5204
5108
|
version: z.ZodMiniString<string>;
|
|
5205
5109
|
}, z.core.$strip>;
|
|
5206
|
-
locale: z.ZodMiniString<string
|
|
5110
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5207
5111
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5208
5112
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5209
5113
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5221,7 +5125,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5221
5125
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5222
5126
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5223
5127
|
path: z.ZodMiniString<string>;
|
|
5224
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5128
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5225
5129
|
referrer: z.ZodMiniString<string>;
|
|
5226
5130
|
search: z.ZodMiniString<string>;
|
|
5227
5131
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -5231,10 +5135,11 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5231
5135
|
name: z.ZodMiniString<string>;
|
|
5232
5136
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
5233
5137
|
}, z.core.$strip>;
|
|
5138
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5234
5139
|
messageId: z.ZodMiniString<string>;
|
|
5235
|
-
originalTimestamp: z.
|
|
5236
|
-
sentAt: z.
|
|
5237
|
-
timestamp: z.
|
|
5140
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
5141
|
+
sentAt: z.ZodMiniString<string>;
|
|
5142
|
+
timestamp: z.ZodMiniString<string>;
|
|
5238
5143
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5239
5144
|
entityId: z.ZodMiniString<string>;
|
|
5240
5145
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -5264,14 +5169,14 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5264
5169
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5265
5170
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5266
5171
|
}, z.core.$strip>;
|
|
5267
|
-
gdpr: z.ZodMiniObject<{
|
|
5172
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5268
5173
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5269
|
-
}, z.core.$strip
|
|
5174
|
+
}, z.core.$strip>>;
|
|
5270
5175
|
library: z.ZodMiniObject<{
|
|
5271
5176
|
name: z.ZodMiniString<string>;
|
|
5272
5177
|
version: z.ZodMiniString<string>;
|
|
5273
5178
|
}, z.core.$strip>;
|
|
5274
|
-
locale: z.ZodMiniString<string
|
|
5179
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5275
5180
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5276
5181
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5277
5182
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5289,7 +5194,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5289
5194
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5290
5195
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5291
5196
|
path: z.ZodMiniString<string>;
|
|
5292
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5197
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5293
5198
|
referrer: z.ZodMiniString<string>;
|
|
5294
5199
|
search: z.ZodMiniString<string>;
|
|
5295
5200
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -5299,10 +5204,11 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5299
5204
|
name: z.ZodMiniString<string>;
|
|
5300
5205
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
5301
5206
|
}, z.core.$strip>;
|
|
5207
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5302
5208
|
messageId: z.ZodMiniString<string>;
|
|
5303
|
-
originalTimestamp: z.
|
|
5304
|
-
sentAt: z.
|
|
5305
|
-
timestamp: z.
|
|
5209
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
5210
|
+
sentAt: z.ZodMiniString<string>;
|
|
5211
|
+
timestamp: z.ZodMiniString<string>;
|
|
5306
5212
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5307
5213
|
entityId: z.ZodMiniString<string>;
|
|
5308
5214
|
entityKind: z.ZodMiniEnum<{
|
|
@@ -5318,7 +5224,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5318
5224
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5319
5225
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5320
5226
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
5321
|
-
hoverDurationMs: z.
|
|
5227
|
+
hoverDurationMs: z.ZodMiniInt;
|
|
5322
5228
|
hoverId: z.ZodMiniString<string>;
|
|
5323
5229
|
}, z.core.$strip>], "type">>;
|
|
5324
5230
|
|
|
@@ -5355,14 +5261,14 @@ export declare const InteractionEventProperties: z.ZodMiniObject<{
|
|
|
5355
5261
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5356
5262
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5357
5263
|
}, z.core.$strip>;
|
|
5358
|
-
gdpr: z.ZodMiniObject<{
|
|
5264
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5359
5265
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5360
|
-
}, z.core.$strip
|
|
5266
|
+
}, z.core.$strip>>;
|
|
5361
5267
|
library: z.ZodMiniObject<{
|
|
5362
5268
|
name: z.ZodMiniString<string>;
|
|
5363
5269
|
version: z.ZodMiniString<string>;
|
|
5364
5270
|
}, z.core.$strip>;
|
|
5365
|
-
locale: z.ZodMiniString<string
|
|
5271
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5366
5272
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5367
5273
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5368
5274
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5380,7 +5286,7 @@ export declare const InteractionEventProperties: z.ZodMiniObject<{
|
|
|
5380
5286
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5381
5287
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5382
5288
|
path: z.ZodMiniString<string>;
|
|
5383
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5289
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5384
5290
|
referrer: z.ZodMiniString<string>;
|
|
5385
5291
|
search: z.ZodMiniString<string>;
|
|
5386
5292
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -5390,15 +5296,16 @@ export declare const InteractionEventProperties: z.ZodMiniObject<{
|
|
|
5390
5296
|
name: z.ZodMiniString<string>;
|
|
5391
5297
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
5392
5298
|
}, z.core.$strip>;
|
|
5299
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5393
5300
|
messageId: z.ZodMiniString<string>;
|
|
5394
|
-
originalTimestamp: z.
|
|
5395
|
-
sentAt: z.
|
|
5396
|
-
timestamp: z.
|
|
5301
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
5302
|
+
sentAt: z.ZodMiniString<string>;
|
|
5303
|
+
timestamp: z.ZodMiniString<string>;
|
|
5397
5304
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5398
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
5305
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
5399
5306
|
componentId: z.ZodMiniString<string>;
|
|
5400
5307
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5401
|
-
variantIndex: z.ZodMiniNumber<number
|
|
5308
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5402
5309
|
}, z.core.$strip>;
|
|
5403
5310
|
|
|
5404
5311
|
/**
|
|
@@ -5434,13 +5341,7 @@ export declare type Json = z.infer<typeof z.json>;
|
|
|
5434
5341
|
* @public
|
|
5435
5342
|
*/
|
|
5436
5343
|
export declare const Library: z.ZodMiniObject<{
|
|
5437
|
-
/**
|
|
5438
|
-
* Name of the SDK/library (e.g., `"@contentful/optimization-web"`).
|
|
5439
|
-
*/
|
|
5440
5344
|
name: z.ZodMiniString<string>;
|
|
5441
|
-
/**
|
|
5442
|
-
* Version of the analytics library.
|
|
5443
|
-
*/
|
|
5444
5345
|
version: z.ZodMiniString<string>;
|
|
5445
5346
|
}, z.core.$strip>;
|
|
5446
5347
|
|
|
@@ -5477,29 +5378,11 @@ export declare type OptimizationData = Omit<ExperienceData, 'experiences'> & {
|
|
|
5477
5378
|
* @public
|
|
5478
5379
|
*/
|
|
5479
5380
|
export declare const Page: z.ZodMiniObject<{
|
|
5480
|
-
/**
|
|
5481
|
-
* Path component of the page URL (e.g., `/products/123`).
|
|
5482
|
-
*/
|
|
5483
5381
|
path: z.ZodMiniString<string>;
|
|
5484
|
-
|
|
5485
|
-
* Parsed query parameters for the page.
|
|
5486
|
-
*/
|
|
5487
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5488
|
-
/**
|
|
5489
|
-
* Referrer URL that led to the current page.
|
|
5490
|
-
*/
|
|
5382
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5491
5383
|
referrer: z.ZodMiniString<string>;
|
|
5492
|
-
/**
|
|
5493
|
-
* Raw search string including the leading `?` (e.g., `"?q=test"`).
|
|
5494
|
-
*/
|
|
5495
5384
|
search: z.ZodMiniString<string>;
|
|
5496
|
-
/**
|
|
5497
|
-
* Title of the page as seen by the user.
|
|
5498
|
-
*/
|
|
5499
5385
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5500
|
-
/**
|
|
5501
|
-
* Full URL of the page.
|
|
5502
|
-
*/
|
|
5503
5386
|
url: z.ZodMiniString<string>;
|
|
5504
5387
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
5505
5388
|
|
|
@@ -5527,14 +5410,14 @@ export declare const PageEventContext: z.ZodMiniObject<{
|
|
|
5527
5410
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5528
5411
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5529
5412
|
}, z.core.$strip>;
|
|
5530
|
-
gdpr: z.ZodMiniObject<{
|
|
5413
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5531
5414
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5532
|
-
}, z.core.$strip
|
|
5415
|
+
}, z.core.$strip>>;
|
|
5533
5416
|
library: z.ZodMiniObject<{
|
|
5534
5417
|
name: z.ZodMiniString<string>;
|
|
5535
5418
|
version: z.ZodMiniString<string>;
|
|
5536
5419
|
}, z.core.$strip>;
|
|
5537
|
-
locale: z.ZodMiniString<string
|
|
5420
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5538
5421
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5539
5422
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5540
5423
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5550,14 +5433,14 @@ export declare const PageEventContext: z.ZodMiniObject<{
|
|
|
5550
5433
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5551
5434
|
}, z.core.$strip>>;
|
|
5552
5435
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5553
|
-
page: z.ZodMiniObject<{
|
|
5436
|
+
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5554
5437
|
path: z.ZodMiniString<string>;
|
|
5555
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5438
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5556
5439
|
referrer: z.ZodMiniString<string>;
|
|
5557
5440
|
search: z.ZodMiniString<string>;
|
|
5558
5441
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5559
5442
|
url: z.ZodMiniString<string>;
|
|
5560
|
-
}, z.core.$catchall<z.ZodMiniJSONSchema
|
|
5443
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
5561
5444
|
}, z.core.$strip>;
|
|
5562
5445
|
|
|
5563
5446
|
/**
|
|
@@ -5580,20 +5463,21 @@ export declare type PageEventContext = z.infer<typeof PageEventContext>;
|
|
|
5580
5463
|
*/
|
|
5581
5464
|
export declare const PageViewEvent: z.ZodMiniObject<{
|
|
5582
5465
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
5466
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5583
5467
|
messageId: z.ZodMiniString<string>;
|
|
5584
|
-
originalTimestamp: z.
|
|
5585
|
-
sentAt: z.
|
|
5586
|
-
timestamp: z.
|
|
5468
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
5469
|
+
sentAt: z.ZodMiniString<string>;
|
|
5470
|
+
timestamp: z.ZodMiniString<string>;
|
|
5587
5471
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5588
5472
|
type: z.ZodMiniLiteral<"page">;
|
|
5589
5473
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5590
5474
|
properties: z.ZodMiniObject<{
|
|
5591
5475
|
path: z.ZodMiniString<string>;
|
|
5592
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5476
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5593
5477
|
referrer: z.ZodMiniString<string>;
|
|
5594
5478
|
search: z.ZodMiniString<string>;
|
|
5595
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5596
5479
|
url: z.ZodMiniString<string>;
|
|
5480
|
+
title: z.ZodMiniString<string>;
|
|
5597
5481
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
5598
5482
|
context: z.ZodMiniObject<{
|
|
5599
5483
|
app: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -5607,14 +5491,14 @@ export declare const PageViewEvent: z.ZodMiniObject<{
|
|
|
5607
5491
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5608
5492
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5609
5493
|
}, z.core.$strip>;
|
|
5610
|
-
gdpr: z.ZodMiniObject<{
|
|
5494
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5611
5495
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5612
|
-
}, z.core.$strip
|
|
5496
|
+
}, z.core.$strip>>;
|
|
5613
5497
|
library: z.ZodMiniObject<{
|
|
5614
5498
|
name: z.ZodMiniString<string>;
|
|
5615
5499
|
version: z.ZodMiniString<string>;
|
|
5616
5500
|
}, z.core.$strip>;
|
|
5617
|
-
locale: z.ZodMiniString<string
|
|
5501
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5618
5502
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5619
5503
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5620
5504
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5630,14 +5514,14 @@ export declare const PageViewEvent: z.ZodMiniObject<{
|
|
|
5630
5514
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5631
5515
|
}, z.core.$strip>>;
|
|
5632
5516
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5633
|
-
page: z.ZodMiniObject<{
|
|
5517
|
+
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5634
5518
|
path: z.ZodMiniString<string>;
|
|
5635
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5519
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5636
5520
|
referrer: z.ZodMiniString<string>;
|
|
5637
5521
|
search: z.ZodMiniString<string>;
|
|
5638
5522
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5639
5523
|
url: z.ZodMiniString<string>;
|
|
5640
|
-
}, z.core.$catchall<z.ZodMiniJSONSchema
|
|
5524
|
+
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
5641
5525
|
}, z.core.$strip>;
|
|
5642
5526
|
}, z.core.$strip>;
|
|
5643
5527
|
|
|
@@ -5651,34 +5535,7 @@ export declare type PageViewEvent = z.infer<typeof PageViewEvent>;
|
|
|
5651
5535
|
export declare function parseWithFriendlyError<T extends z.ZodMiniType>(schema: T, data: unknown): z.output<T>;
|
|
5652
5536
|
|
|
5653
5537
|
/**
|
|
5654
|
-
* Zod schema describing a
|
|
5655
|
-
* to the Experience & Insights APIs.
|
|
5656
|
-
*
|
|
5657
|
-
* @remarks
|
|
5658
|
-
* This schema enforces the presence of an `id` field and allows additional
|
|
5659
|
-
* JSON-serializable properties via `z.catchall`.
|
|
5660
|
-
*
|
|
5661
|
-
* @public
|
|
5662
|
-
*/
|
|
5663
|
-
export declare const PartialProfile: z.ZodMiniObject<{
|
|
5664
|
-
/**
|
|
5665
|
-
* Identifier of the profile.
|
|
5666
|
-
*
|
|
5667
|
-
* @remarks
|
|
5668
|
-
* Used to associate events with an existing profile.
|
|
5669
|
-
*/
|
|
5670
|
-
id: z.ZodMiniString<string>;
|
|
5671
|
-
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
5672
|
-
|
|
5673
|
-
/**
|
|
5674
|
-
* TypeScript type inferred from {@link PartialProfile}.
|
|
5675
|
-
*
|
|
5676
|
-
* @public
|
|
5677
|
-
*/
|
|
5678
|
-
export declare type PartialProfile = z.infer<typeof PartialProfile>;
|
|
5679
|
-
|
|
5680
|
-
/**
|
|
5681
|
-
* Zod schema describing a full user profile as received from the Experience API.
|
|
5538
|
+
* Zod schema describing a user profile returned by the Experience API and sent to Insights.
|
|
5682
5539
|
*
|
|
5683
5540
|
* @remarks
|
|
5684
5541
|
* Represents the server-side view of a profile, including identifiers,
|
|
@@ -5687,40 +5544,11 @@ export declare type PartialProfile = z.infer<typeof PartialProfile>;
|
|
|
5687
5544
|
* @public
|
|
5688
5545
|
*/
|
|
5689
5546
|
export declare const Profile: z.ZodMiniObject<{
|
|
5690
|
-
/**
|
|
5691
|
-
* Primary identifier of the profile.
|
|
5692
|
-
*/
|
|
5693
5547
|
id: z.ZodMiniString<string>;
|
|
5694
|
-
/**
|
|
5695
|
-
* Stable, long-lived identifier of the profile.
|
|
5696
|
-
*
|
|
5697
|
-
* @remarks
|
|
5698
|
-
* Intended to remain constant across sessions and devices when possible.
|
|
5699
|
-
* Usually equal to `id`.
|
|
5700
|
-
*/
|
|
5701
5548
|
stableId: z.ZodMiniString<string>;
|
|
5702
|
-
/**
|
|
5703
|
-
* Random value associated with the profile.
|
|
5704
|
-
*
|
|
5705
|
-
* @remarks
|
|
5706
|
-
* Often used for deterministic bucketing (e.g., in experiments).
|
|
5707
|
-
*/
|
|
5708
5549
|
random: z.ZodMiniNumber<number>;
|
|
5709
|
-
/**
|
|
5710
|
-
* List of audience identifiers that this profile belongs to.
|
|
5711
|
-
*/
|
|
5712
5550
|
audiences: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
5713
|
-
/**
|
|
5714
|
-
* Traits describing the profile (user-level attributes).
|
|
5715
|
-
*
|
|
5716
|
-
* @see {@link Traits}
|
|
5717
|
-
*/
|
|
5718
5551
|
traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
|
|
5719
|
-
/**
|
|
5720
|
-
* Geo-location information associated with the profile.
|
|
5721
|
-
*
|
|
5722
|
-
* @see {@link GeoLocation}
|
|
5723
|
-
*/
|
|
5724
5552
|
location: z.ZodMiniObject<{
|
|
5725
5553
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5726
5554
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5735,17 +5563,12 @@ export declare const Profile: z.ZodMiniObject<{
|
|
|
5735
5563
|
continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5736
5564
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5737
5565
|
}, z.core.$strip>;
|
|
5738
|
-
/**
|
|
5739
|
-
* Aggregated session statistics for the profile.
|
|
5740
|
-
*
|
|
5741
|
-
* @see {@link SessionStatistics}
|
|
5742
|
-
*/
|
|
5743
5566
|
session: z.ZodMiniObject<{
|
|
5744
|
-
id: z.ZodMiniString<string
|
|
5567
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5745
5568
|
isReturningVisitor: z.ZodMiniBoolean<boolean>;
|
|
5746
5569
|
landingPage: z.ZodMiniObject<{
|
|
5747
5570
|
path: z.ZodMiniString<string>;
|
|
5748
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5571
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5749
5572
|
referrer: z.ZodMiniString<string>;
|
|
5750
5573
|
search: z.ZodMiniString<string>;
|
|
5751
5574
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -5755,6 +5578,10 @@ export declare const Profile: z.ZodMiniObject<{
|
|
|
5755
5578
|
activeSessionLength: z.ZodMiniNumber<number>;
|
|
5756
5579
|
averageSessionLength: z.ZodMiniNumber<number>;
|
|
5757
5580
|
}, z.core.$strip>;
|
|
5581
|
+
jurisdiction: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
5582
|
+
US: "US";
|
|
5583
|
+
EU: "EU";
|
|
5584
|
+
}>>;
|
|
5758
5585
|
}, z.core.$strip>;
|
|
5759
5586
|
|
|
5760
5587
|
/**
|
|
@@ -5781,6 +5608,24 @@ export declare const Properties: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodM
|
|
|
5781
5608
|
*/
|
|
5782
5609
|
export declare type Properties = z.infer<typeof Properties>;
|
|
5783
5610
|
|
|
5611
|
+
/**
|
|
5612
|
+
* Zod schema describing parsed query parameters.
|
|
5613
|
+
*
|
|
5614
|
+
* @remarks
|
|
5615
|
+
* A key that appears once maps to its string value. A key that repeats maps to
|
|
5616
|
+
* an array of its values in order, as the Experience API accepts.
|
|
5617
|
+
*
|
|
5618
|
+
* @public
|
|
5619
|
+
*/
|
|
5620
|
+
export declare const Query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
5621
|
+
|
|
5622
|
+
/**
|
|
5623
|
+
* TypeScript type inferred from {@link Query}.
|
|
5624
|
+
*
|
|
5625
|
+
* @public
|
|
5626
|
+
*/
|
|
5627
|
+
export declare type Query = z.infer<typeof Query>;
|
|
5628
|
+
|
|
5784
5629
|
/**
|
|
5785
5630
|
* Zod schema describing the common envelope structure of responses
|
|
5786
5631
|
* from the Experience API.
|
|
@@ -5792,21 +5637,8 @@ export declare type Properties = z.infer<typeof Properties>;
|
|
|
5792
5637
|
* @public
|
|
5793
5638
|
*/
|
|
5794
5639
|
export declare const ResponseEnvelope: z.ZodMiniObject<{
|
|
5795
|
-
|
|
5796
|
-
* Response payload.
|
|
5797
|
-
*
|
|
5798
|
-
* @remarks
|
|
5799
|
-
* The base schema uses an empty object; specific responses extend this
|
|
5800
|
-
* with more detailed structures.
|
|
5801
|
-
*/
|
|
5802
|
-
data: z.ZodMiniObject<Record<never, z.core.SomeType>, z.core.$strip>;
|
|
5803
|
-
/**
|
|
5804
|
-
* Human-readable message accompanying the response.
|
|
5805
|
-
*/
|
|
5640
|
+
data: z.ZodMiniObject<{}, z.core.$strip>;
|
|
5806
5641
|
message: z.ZodMiniString<string>;
|
|
5807
|
-
/**
|
|
5808
|
-
* Error details, or `null` when the request succeeded.
|
|
5809
|
-
*/
|
|
5810
5642
|
error: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
5811
5643
|
code: z.ZodMiniString<string>;
|
|
5812
5644
|
}, z.core.$strip>>;
|
|
@@ -5829,9 +5661,6 @@ export declare type ResponseEnvelope = z.infer<typeof ResponseEnvelope>;
|
|
|
5829
5661
|
* @public
|
|
5830
5662
|
*/
|
|
5831
5663
|
declare const Screen_2: z.ZodMiniObject<{
|
|
5832
|
-
/**
|
|
5833
|
-
* Name or label for the screen.
|
|
5834
|
-
*/
|
|
5835
5664
|
name: z.ZodMiniString<string>;
|
|
5836
5665
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
5837
5666
|
|
|
@@ -5860,14 +5689,14 @@ export declare const ScreenEventContext: z.ZodMiniObject<{
|
|
|
5860
5689
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5861
5690
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5862
5691
|
}, z.core.$strip>;
|
|
5863
|
-
gdpr: z.ZodMiniObject<{
|
|
5692
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5864
5693
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5865
|
-
}, z.core.$strip
|
|
5694
|
+
}, z.core.$strip>>;
|
|
5866
5695
|
library: z.ZodMiniObject<{
|
|
5867
5696
|
name: z.ZodMiniString<string>;
|
|
5868
5697
|
version: z.ZodMiniString<string>;
|
|
5869
5698
|
}, z.core.$strip>;
|
|
5870
|
-
locale: z.ZodMiniString<string
|
|
5699
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5871
5700
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5872
5701
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5873
5702
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5908,10 +5737,11 @@ export declare type ScreenEventContext = z.infer<typeof ScreenEventContext>;
|
|
|
5908
5737
|
*/
|
|
5909
5738
|
export declare const ScreenViewEvent: z.ZodMiniObject<{
|
|
5910
5739
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
5740
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5911
5741
|
messageId: z.ZodMiniString<string>;
|
|
5912
|
-
originalTimestamp: z.
|
|
5913
|
-
sentAt: z.
|
|
5914
|
-
timestamp: z.
|
|
5742
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
5743
|
+
sentAt: z.ZodMiniString<string>;
|
|
5744
|
+
timestamp: z.ZodMiniString<string>;
|
|
5915
5745
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5916
5746
|
type: z.ZodMiniLiteral<"screen">;
|
|
5917
5747
|
name: z.ZodMiniString<string>;
|
|
@@ -5928,14 +5758,14 @@ export declare const ScreenViewEvent: z.ZodMiniObject<{
|
|
|
5928
5758
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5929
5759
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5930
5760
|
}, z.core.$strip>;
|
|
5931
|
-
gdpr: z.ZodMiniObject<{
|
|
5761
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5932
5762
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
5933
|
-
}, z.core.$strip
|
|
5763
|
+
}, z.core.$strip>>;
|
|
5934
5764
|
library: z.ZodMiniObject<{
|
|
5935
5765
|
name: z.ZodMiniString<string>;
|
|
5936
5766
|
version: z.ZodMiniString<string>;
|
|
5937
5767
|
}, z.core.$strip>;
|
|
5938
|
-
locale: z.ZodMiniString<string
|
|
5768
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
5939
5769
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5940
5770
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
5941
5771
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -5975,34 +5805,9 @@ export declare type ScreenViewEvent = z.infer<typeof ScreenViewEvent>;
|
|
|
5975
5805
|
* @public
|
|
5976
5806
|
*/
|
|
5977
5807
|
export declare const SelectedOptimization: z.ZodMiniObject<{
|
|
5978
|
-
/**
|
|
5979
|
-
* Identifier of the personalization or experiment experience.
|
|
5980
|
-
*/
|
|
5981
5808
|
experienceId: z.ZodMiniString<string>;
|
|
5982
|
-
/**
|
|
5983
|
-
* Index of the selected variant within the experience configuration.
|
|
5984
|
-
*
|
|
5985
|
-
* @remarks
|
|
5986
|
-
* Typically corresponds to the index of the selected `OptimizationConfig` entry.
|
|
5987
|
-
*/
|
|
5988
5809
|
variantIndex: z.ZodMiniNumber<number>;
|
|
5989
|
-
/**
|
|
5990
|
-
* Mapping of baseline entry IDs to their selected variant entry IDs.
|
|
5991
|
-
*
|
|
5992
|
-
* @remarks
|
|
5993
|
-
* The keys are component identifiers and the values are the
|
|
5994
|
-
* identifiers of the selected variant for that component.
|
|
5995
|
-
*/
|
|
5996
5810
|
variants: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5997
|
-
/**
|
|
5998
|
-
* Indicates whether this optimization selection is sticky for the user.
|
|
5999
|
-
*
|
|
6000
|
-
* @defaultValue false
|
|
6001
|
-
*
|
|
6002
|
-
* @remarks
|
|
6003
|
-
* Reuse sticky selections on subsequent requests for the same user rather
|
|
6004
|
-
* than re-allocating a new variant.
|
|
6005
|
-
*/
|
|
6006
5811
|
sticky: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniBoolean<boolean>>>;
|
|
6007
5812
|
}, z.core.$strip>;
|
|
6008
5813
|
|
|
@@ -6022,34 +5827,9 @@ export declare type SelectedOptimization = z.infer<typeof SelectedOptimization>;
|
|
|
6022
5827
|
* @public
|
|
6023
5828
|
*/
|
|
6024
5829
|
export declare const SelectedOptimizationArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
6025
|
-
/**
|
|
6026
|
-
* Identifier of the personalization or experiment experience.
|
|
6027
|
-
*/
|
|
6028
5830
|
experienceId: z.ZodMiniString<string>;
|
|
6029
|
-
/**
|
|
6030
|
-
* Index of the selected variant within the experience configuration.
|
|
6031
|
-
*
|
|
6032
|
-
* @remarks
|
|
6033
|
-
* Typically corresponds to the index of the selected `OptimizationConfig` entry.
|
|
6034
|
-
*/
|
|
6035
5831
|
variantIndex: z.ZodMiniNumber<number>;
|
|
6036
|
-
/**
|
|
6037
|
-
* Mapping of baseline entry IDs to their selected variant entry IDs.
|
|
6038
|
-
*
|
|
6039
|
-
* @remarks
|
|
6040
|
-
* The keys are component identifiers and the values are the
|
|
6041
|
-
* identifiers of the selected variant for that component.
|
|
6042
|
-
*/
|
|
6043
5832
|
variants: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
6044
|
-
/**
|
|
6045
|
-
* Indicates whether this optimization selection is sticky for the user.
|
|
6046
|
-
*
|
|
6047
|
-
* @defaultValue false
|
|
6048
|
-
*
|
|
6049
|
-
* @remarks
|
|
6050
|
-
* Reuse sticky selections on subsequent requests for the same user rather
|
|
6051
|
-
* than re-allocating a new variant.
|
|
6052
|
-
*/
|
|
6053
5833
|
sticky: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniBoolean<boolean>>>;
|
|
6054
5834
|
}, z.core.$strip>>;
|
|
6055
5835
|
|
|
@@ -6070,50 +5850,18 @@ export declare type SelectedOptimizationArray = z.infer<typeof SelectedOptimizat
|
|
|
6070
5850
|
* @public
|
|
6071
5851
|
*/
|
|
6072
5852
|
export declare const SessionStatistics: z.ZodMiniObject<{
|
|
6073
|
-
|
|
6074
|
-
* Unique identifier for this session statistics record.
|
|
6075
|
-
*/
|
|
6076
|
-
id: z.ZodMiniString<string>;
|
|
6077
|
-
/**
|
|
6078
|
-
* Indicates whether the visitor has been seen before.
|
|
6079
|
-
*
|
|
6080
|
-
* @remarks
|
|
6081
|
-
* `true` typically means the visitor has at least one prior session.
|
|
6082
|
-
*/
|
|
5853
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6083
5854
|
isReturningVisitor: z.ZodMiniBoolean<boolean>;
|
|
6084
|
-
/**
|
|
6085
|
-
* Landing page for the session.
|
|
6086
|
-
*
|
|
6087
|
-
* @remarks
|
|
6088
|
-
* Represents the first page the user visited in this session.
|
|
6089
|
-
*
|
|
6090
|
-
* @see {@link Page}
|
|
6091
|
-
*/
|
|
6092
5855
|
landingPage: z.ZodMiniObject<{
|
|
6093
5856
|
path: z.ZodMiniString<string>;
|
|
6094
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5857
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
6095
5858
|
referrer: z.ZodMiniString<string>;
|
|
6096
5859
|
search: z.ZodMiniString<string>;
|
|
6097
5860
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6098
5861
|
url: z.ZodMiniString<string>;
|
|
6099
5862
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>;
|
|
6100
|
-
/**
|
|
6101
|
-
* Number of sessions associated with this profile or identifier.
|
|
6102
|
-
*
|
|
6103
|
-
* @remarks
|
|
6104
|
-
* Often used in combination with `SessionStatistics.averageSessionLength`.
|
|
6105
|
-
*/
|
|
6106
5863
|
count: z.ZodMiniNumber<number>;
|
|
6107
|
-
/**
|
|
6108
|
-
* Duration of the active session.
|
|
6109
|
-
*/
|
|
6110
5864
|
activeSessionLength: z.ZodMiniNumber<number>;
|
|
6111
|
-
/**
|
|
6112
|
-
* Average session duration across all sessions represented by this record.
|
|
6113
|
-
*
|
|
6114
|
-
* @remarks
|
|
6115
|
-
* The unit must match `SessionStatistics.activeSessionLength`.
|
|
6116
|
-
*/
|
|
6117
5865
|
averageSessionLength: z.ZodMiniNumber<number>;
|
|
6118
5866
|
}, z.core.$strip>;
|
|
6119
5867
|
|
|
@@ -6149,14 +5897,14 @@ declare const TrackEvent_2: z.ZodMiniObject<{
|
|
|
6149
5897
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6150
5898
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6151
5899
|
}, z.core.$strip>;
|
|
6152
|
-
gdpr: z.ZodMiniObject<{
|
|
5900
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6153
5901
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
6154
|
-
}, z.core.$strip
|
|
5902
|
+
}, z.core.$strip>>;
|
|
6155
5903
|
library: z.ZodMiniObject<{
|
|
6156
5904
|
name: z.ZodMiniString<string>;
|
|
6157
5905
|
version: z.ZodMiniString<string>;
|
|
6158
5906
|
}, z.core.$strip>;
|
|
6159
|
-
locale: z.ZodMiniString<string
|
|
5907
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
6160
5908
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6161
5909
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6162
5910
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -6174,7 +5922,7 @@ declare const TrackEvent_2: z.ZodMiniObject<{
|
|
|
6174
5922
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6175
5923
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6176
5924
|
path: z.ZodMiniString<string>;
|
|
6177
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
5925
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
6178
5926
|
referrer: z.ZodMiniString<string>;
|
|
6179
5927
|
search: z.ZodMiniString<string>;
|
|
6180
5928
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -6184,10 +5932,11 @@ declare const TrackEvent_2: z.ZodMiniObject<{
|
|
|
6184
5932
|
name: z.ZodMiniString<string>;
|
|
6185
5933
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
6186
5934
|
}, z.core.$strip>;
|
|
5935
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6187
5936
|
messageId: z.ZodMiniString<string>;
|
|
6188
|
-
originalTimestamp: z.
|
|
6189
|
-
sentAt: z.
|
|
6190
|
-
timestamp: z.
|
|
5937
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
5938
|
+
sentAt: z.ZodMiniString<string>;
|
|
5939
|
+
timestamp: z.ZodMiniString<string>;
|
|
6191
5940
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6192
5941
|
type: z.ZodMiniLiteral<"track">;
|
|
6193
5942
|
event: z.ZodMiniString<string>;
|
|
@@ -6231,16 +5980,10 @@ export declare type Traits = z.infer<typeof Traits>;
|
|
|
6231
5980
|
* @public
|
|
6232
5981
|
*/
|
|
6233
5982
|
export declare const UniversalEventContext: z.ZodMiniObject<{
|
|
6234
|
-
/**
|
|
6235
|
-
* Application-level metadata.
|
|
6236
|
-
*/
|
|
6237
5983
|
app: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6238
5984
|
name: z.ZodMiniString<string>;
|
|
6239
5985
|
version: z.ZodMiniString<string>;
|
|
6240
5986
|
}, z.core.$strip>>;
|
|
6241
|
-
/**
|
|
6242
|
-
* Campaign attribution metadata.
|
|
6243
|
-
*/
|
|
6244
5987
|
campaign: z.ZodMiniObject<{
|
|
6245
5988
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6246
5989
|
source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -6248,29 +5991,14 @@ export declare const UniversalEventContext: z.ZodMiniObject<{
|
|
|
6248
5991
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6249
5992
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6250
5993
|
}, z.core.$strip>;
|
|
6251
|
-
|
|
6252
|
-
* GDPR-related consent information.
|
|
6253
|
-
*/
|
|
6254
|
-
gdpr: z.ZodMiniObject<{
|
|
6255
|
-
/**
|
|
6256
|
-
* Indicates whether the user has given consent.
|
|
6257
|
-
*/
|
|
5994
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6258
5995
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
6259
|
-
}, z.core.$strip
|
|
6260
|
-
/**
|
|
6261
|
-
* Analytics library metadata.
|
|
6262
|
-
*/
|
|
5996
|
+
}, z.core.$strip>>;
|
|
6263
5997
|
library: z.ZodMiniObject<{
|
|
6264
5998
|
name: z.ZodMiniString<string>;
|
|
6265
5999
|
version: z.ZodMiniString<string>;
|
|
6266
6000
|
}, z.core.$strip>;
|
|
6267
|
-
|
|
6268
|
-
* Locale identifier of the event (e.g., `"en-US"`).
|
|
6269
|
-
*/
|
|
6270
|
-
locale: z.ZodMiniString<string>;
|
|
6271
|
-
/**
|
|
6272
|
-
* Optional geo-location information associated with the event.
|
|
6273
|
-
*/
|
|
6001
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
6274
6002
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6275
6003
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6276
6004
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -6285,9 +6013,6 @@ export declare const UniversalEventContext: z.ZodMiniObject<{
|
|
|
6285
6013
|
continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6286
6014
|
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6287
6015
|
}, z.core.$strip>>;
|
|
6288
|
-
/**
|
|
6289
|
-
* User agent string of the client, if available.
|
|
6290
|
-
*/
|
|
6291
6016
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6292
6017
|
}, z.core.$strip>;
|
|
6293
6018
|
|
|
@@ -6308,15 +6033,7 @@ export declare type UniversalEventContext = z.infer<typeof UniversalEventContext
|
|
|
6308
6033
|
* @public
|
|
6309
6034
|
*/
|
|
6310
6035
|
export declare const UniversalEventProperties: z.ZodMiniObject<{
|
|
6311
|
-
/**
|
|
6312
|
-
* Channel from which the event originated.
|
|
6313
|
-
*
|
|
6314
|
-
* @see {@link Channel}
|
|
6315
|
-
*/
|
|
6316
6036
|
channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
|
|
6317
|
-
/**
|
|
6318
|
-
* Context object carrying environment and client metadata.
|
|
6319
|
-
*/
|
|
6320
6037
|
context: z.ZodMiniObject<{
|
|
6321
6038
|
app: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6322
6039
|
name: z.ZodMiniString<string>;
|
|
@@ -6329,17 +6046,14 @@ export declare const UniversalEventProperties: z.ZodMiniObject<{
|
|
|
6329
6046
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6330
6047
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6331
6048
|
}, z.core.$strip>;
|
|
6332
|
-
gdpr: z.ZodMiniObject<{
|
|
6333
|
-
/**
|
|
6334
|
-
* Indicates whether the user has given consent.
|
|
6335
|
-
*/
|
|
6049
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6336
6050
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
6337
|
-
}, z.core.$strip
|
|
6051
|
+
}, z.core.$strip>>;
|
|
6338
6052
|
library: z.ZodMiniObject<{
|
|
6339
6053
|
name: z.ZodMiniString<string>;
|
|
6340
6054
|
version: z.ZodMiniString<string>;
|
|
6341
6055
|
}, z.core.$strip>;
|
|
6342
|
-
locale: z.ZodMiniString<string
|
|
6056
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
6343
6057
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6344
6058
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6345
6059
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -6357,7 +6071,7 @@ export declare const UniversalEventProperties: z.ZodMiniObject<{
|
|
|
6357
6071
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6358
6072
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6359
6073
|
path: z.ZodMiniString<string>;
|
|
6360
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
6074
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
6361
6075
|
referrer: z.ZodMiniString<string>;
|
|
6362
6076
|
search: z.ZodMiniString<string>;
|
|
6363
6077
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -6367,37 +6081,11 @@ export declare const UniversalEventProperties: z.ZodMiniObject<{
|
|
|
6367
6081
|
name: z.ZodMiniString<string>;
|
|
6368
6082
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
6369
6083
|
}, z.core.$strip>;
|
|
6370
|
-
|
|
6371
|
-
* Unique identifier for this message.
|
|
6372
|
-
*
|
|
6373
|
-
* @remarks
|
|
6374
|
-
* Used to deduplicate events across retries and transports.
|
|
6375
|
-
*/
|
|
6084
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6376
6085
|
messageId: z.ZodMiniString<string>;
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
* @remarks
|
|
6381
|
-
* ISO 8601 datetime string.
|
|
6382
|
-
*/
|
|
6383
|
-
originalTimestamp: z.iso.ZodMiniISODateTime;
|
|
6384
|
-
/**
|
|
6385
|
-
* Timestamp when the event payload was sent.
|
|
6386
|
-
*
|
|
6387
|
-
* @remarks
|
|
6388
|
-
* ISO 8601 datetime string.
|
|
6389
|
-
*/
|
|
6390
|
-
sentAt: z.iso.ZodMiniISODateTime;
|
|
6391
|
-
/**
|
|
6392
|
-
* Timestamp when the event was recorded or processed.
|
|
6393
|
-
*
|
|
6394
|
-
* @remarks
|
|
6395
|
-
* ISO 8601 datetime string.
|
|
6396
|
-
*/
|
|
6397
|
-
timestamp: z.iso.ZodMiniISODateTime;
|
|
6398
|
-
/**
|
|
6399
|
-
* Identifier of the authenticated user, if known.
|
|
6400
|
-
*/
|
|
6086
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
6087
|
+
sentAt: z.ZodMiniString<string>;
|
|
6088
|
+
timestamp: z.ZodMiniString<string>;
|
|
6401
6089
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6402
6090
|
}, z.core.$strip>;
|
|
6403
6091
|
|
|
@@ -6420,16 +6108,7 @@ export declare type UniversalEventProperties = z.infer<typeof UniversalEventProp
|
|
|
6420
6108
|
export declare const UnknownChange: z.ZodMiniObject<{
|
|
6421
6109
|
key: z.ZodMiniString<string>;
|
|
6422
6110
|
meta: z.ZodMiniObject<{
|
|
6423
|
-
/**
|
|
6424
|
-
* Identifier of the personalization or experiment experience.
|
|
6425
|
-
*/
|
|
6426
6111
|
experienceId: z.ZodMiniString<string>;
|
|
6427
|
-
/**
|
|
6428
|
-
* Index of the variant within the experience configuration.
|
|
6429
|
-
*
|
|
6430
|
-
* @remarks
|
|
6431
|
-
* Typically corresponds to the array index in the experience's distribution.
|
|
6432
|
-
*/
|
|
6433
6112
|
variantIndex: z.ZodMiniNumber<number>;
|
|
6434
6113
|
}, z.core.$strip>;
|
|
6435
6114
|
type: z.ZodMiniString<string>;
|
|
@@ -6454,16 +6133,7 @@ export declare type UnknownChange = z.infer<typeof UnknownChange>;
|
|
|
6454
6133
|
export declare const VariableChange: z.ZodMiniObject<{
|
|
6455
6134
|
key: z.ZodMiniString<string>;
|
|
6456
6135
|
meta: z.ZodMiniObject<{
|
|
6457
|
-
/**
|
|
6458
|
-
* Identifier of the personalization or experiment experience.
|
|
6459
|
-
*/
|
|
6460
6136
|
experienceId: z.ZodMiniString<string>;
|
|
6461
|
-
/**
|
|
6462
|
-
* Index of the variant within the experience configuration.
|
|
6463
|
-
*
|
|
6464
|
-
* @remarks
|
|
6465
|
-
* Typically corresponds to the array index in the experience's distribution.
|
|
6466
|
-
*/
|
|
6467
6137
|
variantIndex: z.ZodMiniNumber<number>;
|
|
6468
6138
|
}, z.core.$strip>;
|
|
6469
6139
|
type: z.ZodMiniLiteral<"Variable">;
|
|
@@ -6512,14 +6182,14 @@ export declare const ViewEvent: z.ZodMiniObject<{
|
|
|
6512
6182
|
term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6513
6183
|
content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6514
6184
|
}, z.core.$strip>;
|
|
6515
|
-
gdpr: z.ZodMiniObject<{
|
|
6185
|
+
gdpr: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6516
6186
|
isConsentGiven: z.ZodMiniBoolean<boolean>;
|
|
6517
|
-
}, z.core.$strip
|
|
6187
|
+
}, z.core.$strip>>;
|
|
6518
6188
|
library: z.ZodMiniObject<{
|
|
6519
6189
|
name: z.ZodMiniString<string>;
|
|
6520
6190
|
version: z.ZodMiniString<string>;
|
|
6521
6191
|
}, z.core.$strip>;
|
|
6522
|
-
locale: z.ZodMiniString<string
|
|
6192
|
+
locale: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniString<string>>>;
|
|
6523
6193
|
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6524
6194
|
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6525
6195
|
latitude: z.ZodMiniNumber<number>;
|
|
@@ -6537,7 +6207,7 @@ export declare const ViewEvent: z.ZodMiniObject<{
|
|
|
6537
6207
|
userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6538
6208
|
page: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
6539
6209
|
path: z.ZodMiniString<string>;
|
|
6540
|
-
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
6210
|
+
query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
6541
6211
|
referrer: z.ZodMiniString<string>;
|
|
6542
6212
|
search: z.ZodMiniString<string>;
|
|
6543
6213
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -6547,15 +6217,16 @@ export declare const ViewEvent: z.ZodMiniObject<{
|
|
|
6547
6217
|
name: z.ZodMiniString<string>;
|
|
6548
6218
|
}, z.core.$catchall<z.ZodMiniJSONSchema>>>;
|
|
6549
6219
|
}, z.core.$strip>;
|
|
6220
|
+
anonymousId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6550
6221
|
messageId: z.ZodMiniString<string>;
|
|
6551
|
-
originalTimestamp: z.
|
|
6552
|
-
sentAt: z.
|
|
6553
|
-
timestamp: z.
|
|
6222
|
+
originalTimestamp: z.ZodMiniString<string>;
|
|
6223
|
+
sentAt: z.ZodMiniString<string>;
|
|
6224
|
+
timestamp: z.ZodMiniString<string>;
|
|
6554
6225
|
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6555
|
-
componentType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]
|
|
6226
|
+
componentType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Entry">, z.ZodMiniLiteral<"Variable">]>>;
|
|
6556
6227
|
componentId: z.ZodMiniString<string>;
|
|
6557
6228
|
experienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6558
|
-
variantIndex: z.ZodMiniNumber<number
|
|
6229
|
+
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
6559
6230
|
type: z.ZodMiniLiteral<"component">;
|
|
6560
6231
|
viewDurationMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
6561
6232
|
viewId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|