@ninetailed/experience.js-utils-contentful 2.1.2-beta.0 → 2.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +50 -83
- package/index.umd.js +50 -95
- package/lib/AudienceMapper.d.ts +2 -3
- package/lib/ExperienceMapper.d.ts +6 -6
- package/lib/isAudienceEntry.d.ts +26 -26
- package/lib/isEntry.d.ts +26 -26
- package/lib/isExperienceEntry.d.ts +68 -68
- package/package.json +4 -3
- package/types/AudienceEntry.d.ts +49 -49
- package/types/Entry.d.ts +1 -1
- package/types/ExperienceEntry.d.ts +535 -519
- package/types/ExperimentEntry.d.ts +2185 -0
- package/types/index.d.ts +1 -0
|
@@ -11,26 +11,29 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
11
11
|
/**
|
|
12
12
|
* The config of the experience (JSON)
|
|
13
13
|
*/
|
|
14
|
-
nt_config: z.
|
|
15
|
-
distribution: z.ZodArray<z.ZodNumber, "many"
|
|
16
|
-
traffic: z.ZodNumber
|
|
17
|
-
components: z.ZodArray<z.ZodObject<{
|
|
14
|
+
nt_config: z.ZodObject<{
|
|
15
|
+
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
|
|
16
|
+
traffic: z.ZodDefault<z.ZodNumber>;
|
|
17
|
+
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
18
18
|
baseline: z.ZodObject<{
|
|
19
|
-
id: z.ZodString
|
|
19
|
+
id: z.ZodDefault<z.ZodString>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
id: string;
|
|
22
22
|
}, {
|
|
23
|
-
id
|
|
23
|
+
id?: string | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
variants: z.ZodArray<z.ZodObject<{
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
/**
|
|
27
|
+
* The config of the experience (JSON)
|
|
28
|
+
*/
|
|
29
|
+
id: z.ZodDefault<z.ZodString>;
|
|
30
|
+
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
28
31
|
}, "strip", z.ZodTypeAny, {
|
|
29
32
|
id: string;
|
|
30
33
|
hidden: boolean;
|
|
31
34
|
}, {
|
|
32
|
-
id
|
|
33
|
-
hidden
|
|
35
|
+
id?: string | undefined;
|
|
36
|
+
hidden?: boolean | undefined;
|
|
34
37
|
}>, "many">;
|
|
35
38
|
}, "strip", z.ZodTypeAny, {
|
|
36
39
|
baseline: {
|
|
@@ -42,13 +45,13 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
42
45
|
}[];
|
|
43
46
|
}, {
|
|
44
47
|
baseline: {
|
|
45
|
-
id
|
|
48
|
+
id?: string | undefined;
|
|
46
49
|
};
|
|
47
50
|
variants: {
|
|
48
|
-
id
|
|
49
|
-
hidden
|
|
51
|
+
id?: string | undefined;
|
|
52
|
+
hidden?: boolean | undefined;
|
|
50
53
|
}[];
|
|
51
|
-
}>, "many"
|
|
54
|
+
}>, "many">>;
|
|
52
55
|
}, "strip", z.ZodTypeAny, {
|
|
53
56
|
distribution: number[];
|
|
54
57
|
traffic: number;
|
|
@@ -62,28 +65,30 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
62
65
|
}[];
|
|
63
66
|
}[];
|
|
64
67
|
}, {
|
|
65
|
-
distribution
|
|
66
|
-
traffic
|
|
67
|
-
components
|
|
68
|
+
distribution?: number[] | undefined;
|
|
69
|
+
traffic?: number | undefined;
|
|
70
|
+
components?: {
|
|
68
71
|
baseline: {
|
|
69
|
-
id
|
|
72
|
+
id?: string | undefined;
|
|
70
73
|
};
|
|
71
74
|
variants: {
|
|
72
|
-
id
|
|
73
|
-
hidden
|
|
75
|
+
id?: string | undefined;
|
|
76
|
+
hidden?: boolean | undefined;
|
|
74
77
|
}[];
|
|
75
|
-
}[];
|
|
76
|
-
}
|
|
78
|
+
}[] | undefined;
|
|
79
|
+
}>;
|
|
77
80
|
/**
|
|
78
81
|
* The audience of the experience (Audience)
|
|
79
82
|
*/
|
|
80
83
|
nt_audience: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
|
|
81
84
|
sys: z.ZodObject<{
|
|
82
|
-
type: z.ZodString
|
|
85
|
+
type: z.ZodOptional<z.ZodString>; /**
|
|
86
|
+
* The name of the experience (Short Text)
|
|
87
|
+
*/
|
|
83
88
|
id: z.ZodString;
|
|
84
|
-
createdAt: z.ZodString
|
|
85
|
-
updatedAt: z.ZodString
|
|
86
|
-
locale: z.ZodString
|
|
89
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
90
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
91
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
87
92
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
88
93
|
space: z.ZodOptional<z.ZodObject<{
|
|
89
94
|
sys: z.ZodObject<z.extendShape<{
|
|
@@ -143,7 +148,7 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
143
148
|
linkType: "Environment";
|
|
144
149
|
};
|
|
145
150
|
}>>;
|
|
146
|
-
contentType: z.ZodObject<{
|
|
151
|
+
contentType: z.ZodOptional<z.ZodObject<{
|
|
147
152
|
sys: z.ZodObject<z.extendShape<{
|
|
148
153
|
type: z.ZodLiteral<"Link">;
|
|
149
154
|
linkType: z.ZodString;
|
|
@@ -171,8 +176,12 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
171
176
|
id: string;
|
|
172
177
|
linkType: "ContentType";
|
|
173
178
|
};
|
|
174
|
-
}
|
|
179
|
+
}>>;
|
|
175
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
type?: string | undefined;
|
|
182
|
+
createdAt?: string | undefined;
|
|
183
|
+
updatedAt?: string | undefined;
|
|
184
|
+
locale?: string | undefined;
|
|
176
185
|
revision?: number | undefined;
|
|
177
186
|
space?: {
|
|
178
187
|
sys: {
|
|
@@ -188,19 +197,19 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
188
197
|
linkType: "Environment";
|
|
189
198
|
};
|
|
190
199
|
} | undefined;
|
|
191
|
-
|
|
192
|
-
id: string;
|
|
193
|
-
createdAt: string;
|
|
194
|
-
updatedAt: string;
|
|
195
|
-
locale: string;
|
|
196
|
-
contentType: {
|
|
200
|
+
contentType?: {
|
|
197
201
|
sys: {
|
|
198
202
|
type: "Link";
|
|
199
203
|
id: string;
|
|
200
204
|
linkType: "ContentType";
|
|
201
205
|
};
|
|
202
|
-
};
|
|
206
|
+
} | undefined;
|
|
207
|
+
id: string;
|
|
203
208
|
}, {
|
|
209
|
+
type?: string | undefined;
|
|
210
|
+
createdAt?: string | undefined;
|
|
211
|
+
updatedAt?: string | undefined;
|
|
212
|
+
locale?: string | undefined;
|
|
204
213
|
revision?: number | undefined;
|
|
205
214
|
space?: {
|
|
206
215
|
sys: {
|
|
@@ -216,21 +225,17 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
216
225
|
linkType: "Environment";
|
|
217
226
|
};
|
|
218
227
|
} | undefined;
|
|
219
|
-
|
|
220
|
-
id: string;
|
|
221
|
-
createdAt: string;
|
|
222
|
-
updatedAt: string;
|
|
223
|
-
locale: string;
|
|
224
|
-
contentType: {
|
|
228
|
+
contentType?: {
|
|
225
229
|
sys: {
|
|
226
230
|
type: "Link";
|
|
227
231
|
id: string;
|
|
228
232
|
linkType: "ContentType";
|
|
229
233
|
};
|
|
230
|
-
};
|
|
234
|
+
} | undefined;
|
|
235
|
+
id: string;
|
|
231
236
|
}>;
|
|
232
|
-
fields: z.ZodObject<{}, "
|
|
233
|
-
metadata: z.ZodObject<{
|
|
237
|
+
fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
|
|
238
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
234
239
|
tags: z.ZodArray<z.ZodObject<{
|
|
235
240
|
sys: z.ZodObject<z.extendShape<{
|
|
236
241
|
type: z.ZodLiteral<"Link">;
|
|
@@ -276,7 +281,7 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
276
281
|
linkType: "Tag";
|
|
277
282
|
};
|
|
278
283
|
}[];
|
|
279
|
-
}
|
|
284
|
+
}>>;
|
|
280
285
|
}, {
|
|
281
286
|
fields: z.ZodObject<{
|
|
282
287
|
nt_name: z.ZodString;
|
|
@@ -289,7 +294,20 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
289
294
|
nt_audience_id: string;
|
|
290
295
|
}>;
|
|
291
296
|
}>, "strip", z.ZodTypeAny, {
|
|
297
|
+
metadata?: {
|
|
298
|
+
tags: {
|
|
299
|
+
sys: {
|
|
300
|
+
type: "Link";
|
|
301
|
+
id: string;
|
|
302
|
+
linkType: "Tag";
|
|
303
|
+
};
|
|
304
|
+
}[];
|
|
305
|
+
} | undefined;
|
|
292
306
|
sys: {
|
|
307
|
+
type?: string | undefined;
|
|
308
|
+
createdAt?: string | undefined;
|
|
309
|
+
updatedAt?: string | undefined;
|
|
310
|
+
locale?: string | undefined;
|
|
293
311
|
revision?: number | undefined;
|
|
294
312
|
space?: {
|
|
295
313
|
sys: {
|
|
@@ -305,24 +323,21 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
305
323
|
linkType: "Environment";
|
|
306
324
|
};
|
|
307
325
|
} | undefined;
|
|
308
|
-
|
|
309
|
-
id: string;
|
|
310
|
-
createdAt: string;
|
|
311
|
-
updatedAt: string;
|
|
312
|
-
locale: string;
|
|
313
|
-
contentType: {
|
|
326
|
+
contentType?: {
|
|
314
327
|
sys: {
|
|
315
328
|
type: "Link";
|
|
316
329
|
id: string;
|
|
317
330
|
linkType: "ContentType";
|
|
318
331
|
};
|
|
319
|
-
};
|
|
332
|
+
} | undefined;
|
|
333
|
+
id: string;
|
|
320
334
|
};
|
|
321
335
|
fields: {
|
|
322
336
|
nt_name: string;
|
|
323
337
|
nt_audience_id: string;
|
|
324
338
|
};
|
|
325
|
-
|
|
339
|
+
}, {
|
|
340
|
+
metadata?: {
|
|
326
341
|
tags: {
|
|
327
342
|
sys: {
|
|
328
343
|
type: "Link";
|
|
@@ -330,9 +345,12 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
330
345
|
linkType: "Tag";
|
|
331
346
|
};
|
|
332
347
|
}[];
|
|
333
|
-
};
|
|
334
|
-
}, {
|
|
348
|
+
} | undefined;
|
|
335
349
|
sys: {
|
|
350
|
+
type?: string | undefined;
|
|
351
|
+
createdAt?: string | undefined;
|
|
352
|
+
updatedAt?: string | undefined;
|
|
353
|
+
locale?: string | undefined;
|
|
336
354
|
revision?: number | undefined;
|
|
337
355
|
space?: {
|
|
338
356
|
sys: {
|
|
@@ -348,43 +366,32 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
348
366
|
linkType: "Environment";
|
|
349
367
|
};
|
|
350
368
|
} | undefined;
|
|
351
|
-
|
|
352
|
-
id: string;
|
|
353
|
-
createdAt: string;
|
|
354
|
-
updatedAt: string;
|
|
355
|
-
locale: string;
|
|
356
|
-
contentType: {
|
|
369
|
+
contentType?: {
|
|
357
370
|
sys: {
|
|
358
371
|
type: "Link";
|
|
359
372
|
id: string;
|
|
360
373
|
linkType: "ContentType";
|
|
361
374
|
};
|
|
362
|
-
};
|
|
375
|
+
} | undefined;
|
|
376
|
+
id: string;
|
|
363
377
|
};
|
|
364
378
|
fields: {
|
|
365
379
|
nt_name: string;
|
|
366
380
|
nt_audience_id: string;
|
|
367
381
|
};
|
|
368
|
-
metadata: {
|
|
369
|
-
tags: {
|
|
370
|
-
sys: {
|
|
371
|
-
type: "Link";
|
|
372
|
-
id: string;
|
|
373
|
-
linkType: "Tag";
|
|
374
|
-
};
|
|
375
|
-
}[];
|
|
376
|
-
};
|
|
377
382
|
}>>>;
|
|
378
383
|
/**
|
|
379
384
|
* All used variants of the experience (Contentful references to other Content Types)
|
|
380
385
|
*/
|
|
381
386
|
nt_variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
382
387
|
sys: z.ZodObject<{
|
|
383
|
-
type: z.ZodString
|
|
388
|
+
type: z.ZodOptional<z.ZodString>; /**
|
|
389
|
+
* The name of the experience (Short Text)
|
|
390
|
+
*/
|
|
384
391
|
id: z.ZodString;
|
|
385
|
-
createdAt: z.ZodString
|
|
386
|
-
updatedAt: z.ZodString
|
|
387
|
-
locale: z.ZodString
|
|
392
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
393
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
394
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
388
395
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
389
396
|
space: z.ZodOptional<z.ZodObject<{
|
|
390
397
|
sys: z.ZodObject<z.extendShape<{
|
|
@@ -444,7 +451,7 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
444
451
|
linkType: "Environment";
|
|
445
452
|
};
|
|
446
453
|
}>>;
|
|
447
|
-
contentType: z.ZodObject<{
|
|
454
|
+
contentType: z.ZodOptional<z.ZodObject<{
|
|
448
455
|
sys: z.ZodObject<z.extendShape<{
|
|
449
456
|
type: z.ZodLiteral<"Link">;
|
|
450
457
|
linkType: z.ZodString;
|
|
@@ -472,8 +479,12 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
472
479
|
id: string;
|
|
473
480
|
linkType: "ContentType";
|
|
474
481
|
};
|
|
475
|
-
}
|
|
482
|
+
}>>;
|
|
476
483
|
}, "strip", z.ZodTypeAny, {
|
|
484
|
+
type?: string | undefined;
|
|
485
|
+
createdAt?: string | undefined;
|
|
486
|
+
updatedAt?: string | undefined;
|
|
487
|
+
locale?: string | undefined;
|
|
477
488
|
revision?: number | undefined;
|
|
478
489
|
space?: {
|
|
479
490
|
sys: {
|
|
@@ -489,19 +500,19 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
489
500
|
linkType: "Environment";
|
|
490
501
|
};
|
|
491
502
|
} | undefined;
|
|
492
|
-
|
|
493
|
-
id: string;
|
|
494
|
-
createdAt: string;
|
|
495
|
-
updatedAt: string;
|
|
496
|
-
locale: string;
|
|
497
|
-
contentType: {
|
|
503
|
+
contentType?: {
|
|
498
504
|
sys: {
|
|
499
505
|
type: "Link";
|
|
500
506
|
id: string;
|
|
501
507
|
linkType: "ContentType";
|
|
502
508
|
};
|
|
503
|
-
};
|
|
509
|
+
} | undefined;
|
|
510
|
+
id: string;
|
|
504
511
|
}, {
|
|
512
|
+
type?: string | undefined;
|
|
513
|
+
createdAt?: string | undefined;
|
|
514
|
+
updatedAt?: string | undefined;
|
|
515
|
+
locale?: string | undefined;
|
|
505
516
|
revision?: number | undefined;
|
|
506
517
|
space?: {
|
|
507
518
|
sys: {
|
|
@@ -517,21 +528,17 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
517
528
|
linkType: "Environment";
|
|
518
529
|
};
|
|
519
530
|
} | undefined;
|
|
520
|
-
|
|
521
|
-
id: string;
|
|
522
|
-
createdAt: string;
|
|
523
|
-
updatedAt: string;
|
|
524
|
-
locale: string;
|
|
525
|
-
contentType: {
|
|
531
|
+
contentType?: {
|
|
526
532
|
sys: {
|
|
527
533
|
type: "Link";
|
|
528
534
|
id: string;
|
|
529
535
|
linkType: "ContentType";
|
|
530
536
|
};
|
|
531
|
-
};
|
|
537
|
+
} | undefined;
|
|
538
|
+
id: string;
|
|
532
539
|
}>;
|
|
533
|
-
fields: z.ZodObject<{}, "
|
|
534
|
-
metadata: z.ZodObject<{
|
|
540
|
+
fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
|
|
541
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
535
542
|
tags: z.ZodArray<z.ZodObject<{
|
|
536
543
|
sys: z.ZodObject<z.extendShape<{
|
|
537
544
|
type: z.ZodLiteral<"Link">;
|
|
@@ -577,9 +584,22 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
577
584
|
linkType: "Tag";
|
|
578
585
|
};
|
|
579
586
|
}[];
|
|
580
|
-
}
|
|
587
|
+
}>>;
|
|
581
588
|
}, "strip", z.ZodTypeAny, {
|
|
589
|
+
metadata?: {
|
|
590
|
+
tags: {
|
|
591
|
+
sys: {
|
|
592
|
+
type: "Link";
|
|
593
|
+
id: string;
|
|
594
|
+
linkType: "Tag";
|
|
595
|
+
};
|
|
596
|
+
}[];
|
|
597
|
+
} | undefined;
|
|
582
598
|
sys: {
|
|
599
|
+
type?: string | undefined;
|
|
600
|
+
createdAt?: string | undefined;
|
|
601
|
+
updatedAt?: string | undefined;
|
|
602
|
+
locale?: string | undefined;
|
|
583
603
|
revision?: number | undefined;
|
|
584
604
|
space?: {
|
|
585
605
|
sys: {
|
|
@@ -595,21 +615,18 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
595
615
|
linkType: "Environment";
|
|
596
616
|
};
|
|
597
617
|
} | undefined;
|
|
598
|
-
|
|
599
|
-
id: string;
|
|
600
|
-
createdAt: string;
|
|
601
|
-
updatedAt: string;
|
|
602
|
-
locale: string;
|
|
603
|
-
contentType: {
|
|
618
|
+
contentType?: {
|
|
604
619
|
sys: {
|
|
605
620
|
type: "Link";
|
|
606
621
|
id: string;
|
|
607
622
|
linkType: "ContentType";
|
|
608
623
|
};
|
|
609
|
-
};
|
|
624
|
+
} | undefined;
|
|
625
|
+
id: string;
|
|
610
626
|
};
|
|
611
627
|
fields: {};
|
|
612
|
-
|
|
628
|
+
}, {
|
|
629
|
+
metadata?: {
|
|
613
630
|
tags: {
|
|
614
631
|
sys: {
|
|
615
632
|
type: "Link";
|
|
@@ -617,9 +634,12 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
617
634
|
linkType: "Tag";
|
|
618
635
|
};
|
|
619
636
|
}[];
|
|
620
|
-
};
|
|
621
|
-
}, {
|
|
637
|
+
} | undefined;
|
|
622
638
|
sys: {
|
|
639
|
+
type?: string | undefined;
|
|
640
|
+
createdAt?: string | undefined;
|
|
641
|
+
updatedAt?: string | undefined;
|
|
642
|
+
locale?: string | undefined;
|
|
623
643
|
revision?: number | undefined;
|
|
624
644
|
space?: {
|
|
625
645
|
sys: {
|
|
@@ -635,21 +655,20 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
635
655
|
linkType: "Environment";
|
|
636
656
|
};
|
|
637
657
|
} | undefined;
|
|
638
|
-
|
|
639
|
-
id: string;
|
|
640
|
-
createdAt: string;
|
|
641
|
-
updatedAt: string;
|
|
642
|
-
locale: string;
|
|
643
|
-
contentType: {
|
|
658
|
+
contentType?: {
|
|
644
659
|
sys: {
|
|
645
660
|
type: "Link";
|
|
646
661
|
id: string;
|
|
647
662
|
linkType: "ContentType";
|
|
648
663
|
};
|
|
649
|
-
};
|
|
664
|
+
} | undefined;
|
|
665
|
+
id: string;
|
|
650
666
|
};
|
|
651
667
|
fields: {};
|
|
652
|
-
|
|
668
|
+
}>, "many">>;
|
|
669
|
+
}, "strip", z.ZodTypeAny, {
|
|
670
|
+
nt_audience?: {
|
|
671
|
+
metadata?: {
|
|
653
672
|
tags: {
|
|
654
673
|
sys: {
|
|
655
674
|
type: "Link";
|
|
@@ -657,24 +676,12 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
657
676
|
linkType: "Tag";
|
|
658
677
|
};
|
|
659
678
|
}[];
|
|
660
|
-
};
|
|
661
|
-
}>, "many">>;
|
|
662
|
-
}, "strip", z.ZodTypeAny, {
|
|
663
|
-
nt_config?: {
|
|
664
|
-
distribution: number[];
|
|
665
|
-
traffic: number;
|
|
666
|
-
components: {
|
|
667
|
-
baseline: {
|
|
668
|
-
id: string;
|
|
669
|
-
};
|
|
670
|
-
variants: {
|
|
671
|
-
id: string;
|
|
672
|
-
hidden: boolean;
|
|
673
|
-
}[];
|
|
674
|
-
}[];
|
|
675
|
-
} | null | undefined;
|
|
676
|
-
nt_audience?: {
|
|
679
|
+
} | undefined;
|
|
677
680
|
sys: {
|
|
681
|
+
type?: string | undefined;
|
|
682
|
+
createdAt?: string | undefined;
|
|
683
|
+
updatedAt?: string | undefined;
|
|
684
|
+
locale?: string | undefined;
|
|
678
685
|
revision?: number | undefined;
|
|
679
686
|
space?: {
|
|
680
687
|
sys: {
|
|
@@ -690,24 +697,37 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
690
697
|
linkType: "Environment";
|
|
691
698
|
};
|
|
692
699
|
} | undefined;
|
|
693
|
-
|
|
694
|
-
id: string;
|
|
695
|
-
createdAt: string;
|
|
696
|
-
updatedAt: string;
|
|
697
|
-
locale: string;
|
|
698
|
-
contentType: {
|
|
700
|
+
contentType?: {
|
|
699
701
|
sys: {
|
|
700
702
|
type: "Link";
|
|
701
703
|
id: string;
|
|
702
704
|
linkType: "ContentType";
|
|
703
705
|
};
|
|
704
|
-
};
|
|
706
|
+
} | undefined;
|
|
707
|
+
id: string;
|
|
705
708
|
};
|
|
706
709
|
fields: {
|
|
707
710
|
nt_name: string;
|
|
708
711
|
nt_audience_id: string;
|
|
709
712
|
};
|
|
710
|
-
|
|
713
|
+
} | null | undefined;
|
|
714
|
+
nt_name: string;
|
|
715
|
+
nt_type: "nt_experiment" | "nt_personalization";
|
|
716
|
+
nt_config: {
|
|
717
|
+
distribution: number[];
|
|
718
|
+
traffic: number;
|
|
719
|
+
components: {
|
|
720
|
+
baseline: {
|
|
721
|
+
id: string;
|
|
722
|
+
};
|
|
723
|
+
variants: {
|
|
724
|
+
id: string;
|
|
725
|
+
hidden: boolean;
|
|
726
|
+
}[];
|
|
727
|
+
}[];
|
|
728
|
+
};
|
|
729
|
+
nt_variants: {
|
|
730
|
+
metadata?: {
|
|
711
731
|
tags: {
|
|
712
732
|
sys: {
|
|
713
733
|
type: "Link";
|
|
@@ -715,12 +735,12 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
715
735
|
linkType: "Tag";
|
|
716
736
|
};
|
|
717
737
|
}[];
|
|
718
|
-
};
|
|
719
|
-
} | null | undefined;
|
|
720
|
-
nt_name: string;
|
|
721
|
-
nt_type: "nt_experiment" | "nt_personalization";
|
|
722
|
-
nt_variants: {
|
|
738
|
+
} | undefined;
|
|
723
739
|
sys: {
|
|
740
|
+
type?: string | undefined;
|
|
741
|
+
createdAt?: string | undefined;
|
|
742
|
+
updatedAt?: string | undefined;
|
|
743
|
+
locale?: string | undefined;
|
|
724
744
|
revision?: number | undefined;
|
|
725
745
|
space?: {
|
|
726
746
|
sys: {
|
|
@@ -736,21 +756,20 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
736
756
|
linkType: "Environment";
|
|
737
757
|
};
|
|
738
758
|
} | undefined;
|
|
739
|
-
|
|
740
|
-
id: string;
|
|
741
|
-
createdAt: string;
|
|
742
|
-
updatedAt: string;
|
|
743
|
-
locale: string;
|
|
744
|
-
contentType: {
|
|
759
|
+
contentType?: {
|
|
745
760
|
sys: {
|
|
746
761
|
type: "Link";
|
|
747
762
|
id: string;
|
|
748
763
|
linkType: "ContentType";
|
|
749
764
|
};
|
|
750
|
-
};
|
|
765
|
+
} | undefined;
|
|
766
|
+
id: string;
|
|
751
767
|
};
|
|
752
768
|
fields: {};
|
|
753
|
-
|
|
769
|
+
}[];
|
|
770
|
+
}, {
|
|
771
|
+
nt_audience?: {
|
|
772
|
+
metadata?: {
|
|
754
773
|
tags: {
|
|
755
774
|
sys: {
|
|
756
775
|
type: "Link";
|
|
@@ -758,24 +777,12 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
758
777
|
linkType: "Tag";
|
|
759
778
|
};
|
|
760
779
|
}[];
|
|
761
|
-
};
|
|
762
|
-
}[];
|
|
763
|
-
}, {
|
|
764
|
-
nt_config?: {
|
|
765
|
-
distribution: number[];
|
|
766
|
-
traffic: number;
|
|
767
|
-
components: {
|
|
768
|
-
baseline: {
|
|
769
|
-
id: string;
|
|
770
|
-
};
|
|
771
|
-
variants: {
|
|
772
|
-
id: string;
|
|
773
|
-
hidden: boolean;
|
|
774
|
-
}[];
|
|
775
|
-
}[];
|
|
776
|
-
} | null | undefined;
|
|
777
|
-
nt_audience?: {
|
|
780
|
+
} | undefined;
|
|
778
781
|
sys: {
|
|
782
|
+
type?: string | undefined;
|
|
783
|
+
createdAt?: string | undefined;
|
|
784
|
+
updatedAt?: string | undefined;
|
|
785
|
+
locale?: string | undefined;
|
|
779
786
|
revision?: number | undefined;
|
|
780
787
|
space?: {
|
|
781
788
|
sys: {
|
|
@@ -791,24 +798,22 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
791
798
|
linkType: "Environment";
|
|
792
799
|
};
|
|
793
800
|
} | undefined;
|
|
794
|
-
|
|
795
|
-
id: string;
|
|
796
|
-
createdAt: string;
|
|
797
|
-
updatedAt: string;
|
|
798
|
-
locale: string;
|
|
799
|
-
contentType: {
|
|
801
|
+
contentType?: {
|
|
800
802
|
sys: {
|
|
801
803
|
type: "Link";
|
|
802
804
|
id: string;
|
|
803
805
|
linkType: "ContentType";
|
|
804
806
|
};
|
|
805
|
-
};
|
|
807
|
+
} | undefined;
|
|
808
|
+
id: string;
|
|
806
809
|
};
|
|
807
810
|
fields: {
|
|
808
811
|
nt_name: string;
|
|
809
812
|
nt_audience_id: string;
|
|
810
813
|
};
|
|
811
|
-
|
|
814
|
+
} | null | undefined;
|
|
815
|
+
nt_variants?: {
|
|
816
|
+
metadata?: {
|
|
812
817
|
tags: {
|
|
813
818
|
sys: {
|
|
814
819
|
type: "Link";
|
|
@@ -816,10 +821,12 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
816
821
|
linkType: "Tag";
|
|
817
822
|
};
|
|
818
823
|
}[];
|
|
819
|
-
};
|
|
820
|
-
} | null | undefined;
|
|
821
|
-
nt_variants?: {
|
|
824
|
+
} | undefined;
|
|
822
825
|
sys: {
|
|
826
|
+
type?: string | undefined;
|
|
827
|
+
createdAt?: string | undefined;
|
|
828
|
+
updatedAt?: string | undefined;
|
|
829
|
+
locale?: string | undefined;
|
|
823
830
|
revision?: number | undefined;
|
|
824
831
|
space?: {
|
|
825
832
|
sys: {
|
|
@@ -835,41 +842,43 @@ export declare const ExperienceFields: z.ZodObject<{
|
|
|
835
842
|
linkType: "Environment";
|
|
836
843
|
};
|
|
837
844
|
} | undefined;
|
|
838
|
-
|
|
839
|
-
id: string;
|
|
840
|
-
createdAt: string;
|
|
841
|
-
updatedAt: string;
|
|
842
|
-
locale: string;
|
|
843
|
-
contentType: {
|
|
845
|
+
contentType?: {
|
|
844
846
|
sys: {
|
|
845
847
|
type: "Link";
|
|
846
848
|
id: string;
|
|
847
849
|
linkType: "ContentType";
|
|
848
850
|
};
|
|
849
|
-
};
|
|
851
|
+
} | undefined;
|
|
852
|
+
id: string;
|
|
850
853
|
};
|
|
851
854
|
fields: {};
|
|
852
|
-
metadata: {
|
|
853
|
-
tags: {
|
|
854
|
-
sys: {
|
|
855
|
-
type: "Link";
|
|
856
|
-
id: string;
|
|
857
|
-
linkType: "Tag";
|
|
858
|
-
};
|
|
859
|
-
}[];
|
|
860
|
-
};
|
|
861
855
|
}[] | undefined;
|
|
862
856
|
nt_name: string;
|
|
863
857
|
nt_type: "nt_experiment" | "nt_personalization";
|
|
858
|
+
nt_config: {
|
|
859
|
+
distribution?: number[] | undefined;
|
|
860
|
+
traffic?: number | undefined;
|
|
861
|
+
components?: {
|
|
862
|
+
baseline: {
|
|
863
|
+
id?: string | undefined;
|
|
864
|
+
};
|
|
865
|
+
variants: {
|
|
866
|
+
id?: string | undefined;
|
|
867
|
+
hidden?: boolean | undefined;
|
|
868
|
+
}[];
|
|
869
|
+
}[] | undefined;
|
|
870
|
+
};
|
|
864
871
|
}>;
|
|
865
872
|
export declare type ExperienceFields = z.infer<typeof ExperienceFields>;
|
|
866
873
|
export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
867
874
|
sys: z.ZodObject<{
|
|
868
|
-
type: z.ZodString
|
|
875
|
+
type: z.ZodOptional<z.ZodString>; /**
|
|
876
|
+
* The name of the experience (Short Text)
|
|
877
|
+
*/
|
|
869
878
|
id: z.ZodString;
|
|
870
|
-
createdAt: z.ZodString
|
|
871
|
-
updatedAt: z.ZodString
|
|
872
|
-
locale: z.ZodString
|
|
879
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
880
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
881
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
873
882
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
874
883
|
space: z.ZodOptional<z.ZodObject<{
|
|
875
884
|
sys: z.ZodObject<z.extendShape<{
|
|
@@ -929,7 +938,7 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
929
938
|
linkType: "Environment";
|
|
930
939
|
};
|
|
931
940
|
}>>;
|
|
932
|
-
contentType: z.ZodObject<{
|
|
941
|
+
contentType: z.ZodOptional<z.ZodObject<{
|
|
933
942
|
sys: z.ZodObject<z.extendShape<{
|
|
934
943
|
type: z.ZodLiteral<"Link">;
|
|
935
944
|
linkType: z.ZodString;
|
|
@@ -957,8 +966,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
957
966
|
id: string;
|
|
958
967
|
linkType: "ContentType";
|
|
959
968
|
};
|
|
960
|
-
}
|
|
969
|
+
}>>;
|
|
961
970
|
}, "strip", z.ZodTypeAny, {
|
|
971
|
+
type?: string | undefined;
|
|
972
|
+
createdAt?: string | undefined;
|
|
973
|
+
updatedAt?: string | undefined;
|
|
974
|
+
locale?: string | undefined;
|
|
962
975
|
revision?: number | undefined;
|
|
963
976
|
space?: {
|
|
964
977
|
sys: {
|
|
@@ -974,19 +987,19 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
974
987
|
linkType: "Environment";
|
|
975
988
|
};
|
|
976
989
|
} | undefined;
|
|
977
|
-
|
|
978
|
-
id: string;
|
|
979
|
-
createdAt: string;
|
|
980
|
-
updatedAt: string;
|
|
981
|
-
locale: string;
|
|
982
|
-
contentType: {
|
|
990
|
+
contentType?: {
|
|
983
991
|
sys: {
|
|
984
992
|
type: "Link";
|
|
985
993
|
id: string;
|
|
986
994
|
linkType: "ContentType";
|
|
987
995
|
};
|
|
988
|
-
};
|
|
996
|
+
} | undefined;
|
|
997
|
+
id: string;
|
|
989
998
|
}, {
|
|
999
|
+
type?: string | undefined;
|
|
1000
|
+
createdAt?: string | undefined;
|
|
1001
|
+
updatedAt?: string | undefined;
|
|
1002
|
+
locale?: string | undefined;
|
|
990
1003
|
revision?: number | undefined;
|
|
991
1004
|
space?: {
|
|
992
1005
|
sys: {
|
|
@@ -1002,21 +1015,17 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1002
1015
|
linkType: "Environment";
|
|
1003
1016
|
};
|
|
1004
1017
|
} | undefined;
|
|
1005
|
-
|
|
1006
|
-
id: string;
|
|
1007
|
-
createdAt: string;
|
|
1008
|
-
updatedAt: string;
|
|
1009
|
-
locale: string;
|
|
1010
|
-
contentType: {
|
|
1018
|
+
contentType?: {
|
|
1011
1019
|
sys: {
|
|
1012
1020
|
type: "Link";
|
|
1013
1021
|
id: string;
|
|
1014
1022
|
linkType: "ContentType";
|
|
1015
1023
|
};
|
|
1016
|
-
};
|
|
1024
|
+
} | undefined;
|
|
1025
|
+
id: string;
|
|
1017
1026
|
}>;
|
|
1018
|
-
fields: z.ZodObject<{}, "
|
|
1019
|
-
metadata: z.ZodObject<{
|
|
1027
|
+
fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
|
|
1028
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
1020
1029
|
tags: z.ZodArray<z.ZodObject<{
|
|
1021
1030
|
sys: z.ZodObject<z.extendShape<{
|
|
1022
1031
|
type: z.ZodLiteral<"Link">;
|
|
@@ -1062,7 +1071,7 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1062
1071
|
linkType: "Tag";
|
|
1063
1072
|
};
|
|
1064
1073
|
}[];
|
|
1065
|
-
}
|
|
1074
|
+
}>>;
|
|
1066
1075
|
}, {
|
|
1067
1076
|
fields: z.ZodObject<{
|
|
1068
1077
|
/**
|
|
@@ -1076,26 +1085,29 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1076
1085
|
/**
|
|
1077
1086
|
* The config of the experience (JSON)
|
|
1078
1087
|
*/
|
|
1079
|
-
nt_config: z.
|
|
1080
|
-
distribution: z.ZodArray<z.ZodNumber, "many"
|
|
1081
|
-
traffic: z.ZodNumber
|
|
1082
|
-
components: z.ZodArray<z.ZodObject<{
|
|
1088
|
+
nt_config: z.ZodObject<{
|
|
1089
|
+
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
|
|
1090
|
+
traffic: z.ZodDefault<z.ZodNumber>;
|
|
1091
|
+
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1083
1092
|
baseline: z.ZodObject<{
|
|
1084
|
-
id: z.ZodString
|
|
1093
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1085
1094
|
}, "strip", z.ZodTypeAny, {
|
|
1086
1095
|
id: string;
|
|
1087
1096
|
}, {
|
|
1088
|
-
id
|
|
1097
|
+
id?: string | undefined;
|
|
1089
1098
|
}>;
|
|
1090
1099
|
variants: z.ZodArray<z.ZodObject<{
|
|
1091
|
-
|
|
1092
|
-
|
|
1100
|
+
/**
|
|
1101
|
+
* The config of the experience (JSON)
|
|
1102
|
+
*/
|
|
1103
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1104
|
+
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
1093
1105
|
}, "strip", z.ZodTypeAny, {
|
|
1094
1106
|
id: string;
|
|
1095
1107
|
hidden: boolean;
|
|
1096
1108
|
}, {
|
|
1097
|
-
id
|
|
1098
|
-
hidden
|
|
1109
|
+
id?: string | undefined;
|
|
1110
|
+
hidden?: boolean | undefined;
|
|
1099
1111
|
}>, "many">;
|
|
1100
1112
|
}, "strip", z.ZodTypeAny, {
|
|
1101
1113
|
baseline: {
|
|
@@ -1107,13 +1119,13 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1107
1119
|
}[];
|
|
1108
1120
|
}, {
|
|
1109
1121
|
baseline: {
|
|
1110
|
-
id
|
|
1122
|
+
id?: string | undefined;
|
|
1111
1123
|
};
|
|
1112
1124
|
variants: {
|
|
1113
|
-
id
|
|
1114
|
-
hidden
|
|
1125
|
+
id?: string | undefined;
|
|
1126
|
+
hidden?: boolean | undefined;
|
|
1115
1127
|
}[];
|
|
1116
|
-
}>, "many"
|
|
1128
|
+
}>, "many">>;
|
|
1117
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1118
1130
|
distribution: number[];
|
|
1119
1131
|
traffic: number;
|
|
@@ -1127,28 +1139,30 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1127
1139
|
}[];
|
|
1128
1140
|
}[];
|
|
1129
1141
|
}, {
|
|
1130
|
-
distribution
|
|
1131
|
-
traffic
|
|
1132
|
-
components
|
|
1142
|
+
distribution?: number[] | undefined;
|
|
1143
|
+
traffic?: number | undefined;
|
|
1144
|
+
components?: {
|
|
1133
1145
|
baseline: {
|
|
1134
|
-
id
|
|
1146
|
+
id?: string | undefined;
|
|
1135
1147
|
};
|
|
1136
1148
|
variants: {
|
|
1137
|
-
id
|
|
1138
|
-
hidden
|
|
1149
|
+
id?: string | undefined;
|
|
1150
|
+
hidden?: boolean | undefined;
|
|
1139
1151
|
}[];
|
|
1140
|
-
}[];
|
|
1141
|
-
}
|
|
1152
|
+
}[] | undefined;
|
|
1153
|
+
}>;
|
|
1142
1154
|
/**
|
|
1143
1155
|
* The audience of the experience (Audience)
|
|
1144
1156
|
*/
|
|
1145
1157
|
nt_audience: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
|
|
1146
1158
|
sys: z.ZodObject<{
|
|
1147
|
-
type: z.ZodString
|
|
1159
|
+
type: z.ZodOptional<z.ZodString>; /**
|
|
1160
|
+
* The name of the experience (Short Text)
|
|
1161
|
+
*/
|
|
1148
1162
|
id: z.ZodString;
|
|
1149
|
-
createdAt: z.ZodString
|
|
1150
|
-
updatedAt: z.ZodString
|
|
1151
|
-
locale: z.ZodString
|
|
1163
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1152
1166
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
1153
1167
|
space: z.ZodOptional<z.ZodObject<{
|
|
1154
1168
|
sys: z.ZodObject<z.extendShape<{
|
|
@@ -1208,7 +1222,7 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1208
1222
|
linkType: "Environment";
|
|
1209
1223
|
};
|
|
1210
1224
|
}>>;
|
|
1211
|
-
contentType: z.ZodObject<{
|
|
1225
|
+
contentType: z.ZodOptional<z.ZodObject<{
|
|
1212
1226
|
sys: z.ZodObject<z.extendShape<{
|
|
1213
1227
|
type: z.ZodLiteral<"Link">;
|
|
1214
1228
|
linkType: z.ZodString;
|
|
@@ -1236,8 +1250,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1236
1250
|
id: string;
|
|
1237
1251
|
linkType: "ContentType";
|
|
1238
1252
|
};
|
|
1239
|
-
}
|
|
1253
|
+
}>>;
|
|
1240
1254
|
}, "strip", z.ZodTypeAny, {
|
|
1255
|
+
type?: string | undefined;
|
|
1256
|
+
createdAt?: string | undefined;
|
|
1257
|
+
updatedAt?: string | undefined;
|
|
1258
|
+
locale?: string | undefined;
|
|
1241
1259
|
revision?: number | undefined;
|
|
1242
1260
|
space?: {
|
|
1243
1261
|
sys: {
|
|
@@ -1253,19 +1271,19 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1253
1271
|
linkType: "Environment";
|
|
1254
1272
|
};
|
|
1255
1273
|
} | undefined;
|
|
1256
|
-
|
|
1257
|
-
id: string;
|
|
1258
|
-
createdAt: string;
|
|
1259
|
-
updatedAt: string;
|
|
1260
|
-
locale: string;
|
|
1261
|
-
contentType: {
|
|
1274
|
+
contentType?: {
|
|
1262
1275
|
sys: {
|
|
1263
1276
|
type: "Link";
|
|
1264
1277
|
id: string;
|
|
1265
1278
|
linkType: "ContentType";
|
|
1266
1279
|
};
|
|
1267
|
-
};
|
|
1280
|
+
} | undefined;
|
|
1281
|
+
id: string;
|
|
1268
1282
|
}, {
|
|
1283
|
+
type?: string | undefined;
|
|
1284
|
+
createdAt?: string | undefined;
|
|
1285
|
+
updatedAt?: string | undefined;
|
|
1286
|
+
locale?: string | undefined;
|
|
1269
1287
|
revision?: number | undefined;
|
|
1270
1288
|
space?: {
|
|
1271
1289
|
sys: {
|
|
@@ -1281,21 +1299,17 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1281
1299
|
linkType: "Environment";
|
|
1282
1300
|
};
|
|
1283
1301
|
} | undefined;
|
|
1284
|
-
|
|
1285
|
-
id: string;
|
|
1286
|
-
createdAt: string;
|
|
1287
|
-
updatedAt: string;
|
|
1288
|
-
locale: string;
|
|
1289
|
-
contentType: {
|
|
1302
|
+
contentType?: {
|
|
1290
1303
|
sys: {
|
|
1291
1304
|
type: "Link";
|
|
1292
1305
|
id: string;
|
|
1293
1306
|
linkType: "ContentType";
|
|
1294
1307
|
};
|
|
1295
|
-
};
|
|
1308
|
+
} | undefined;
|
|
1309
|
+
id: string;
|
|
1296
1310
|
}>;
|
|
1297
|
-
fields: z.ZodObject<{}, "
|
|
1298
|
-
metadata: z.ZodObject<{
|
|
1311
|
+
fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
|
|
1312
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
1299
1313
|
tags: z.ZodArray<z.ZodObject<{
|
|
1300
1314
|
sys: z.ZodObject<z.extendShape<{
|
|
1301
1315
|
type: z.ZodLiteral<"Link">;
|
|
@@ -1341,7 +1355,7 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1341
1355
|
linkType: "Tag";
|
|
1342
1356
|
};
|
|
1343
1357
|
}[];
|
|
1344
|
-
}
|
|
1358
|
+
}>>;
|
|
1345
1359
|
}, {
|
|
1346
1360
|
fields: z.ZodObject<{
|
|
1347
1361
|
nt_name: z.ZodString;
|
|
@@ -1354,7 +1368,20 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1354
1368
|
nt_audience_id: string;
|
|
1355
1369
|
}>;
|
|
1356
1370
|
}>, "strip", z.ZodTypeAny, {
|
|
1371
|
+
metadata?: {
|
|
1372
|
+
tags: {
|
|
1373
|
+
sys: {
|
|
1374
|
+
type: "Link";
|
|
1375
|
+
id: string;
|
|
1376
|
+
linkType: "Tag";
|
|
1377
|
+
};
|
|
1378
|
+
}[];
|
|
1379
|
+
} | undefined;
|
|
1357
1380
|
sys: {
|
|
1381
|
+
type?: string | undefined;
|
|
1382
|
+
createdAt?: string | undefined;
|
|
1383
|
+
updatedAt?: string | undefined;
|
|
1384
|
+
locale?: string | undefined;
|
|
1358
1385
|
revision?: number | undefined;
|
|
1359
1386
|
space?: {
|
|
1360
1387
|
sys: {
|
|
@@ -1370,24 +1397,21 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1370
1397
|
linkType: "Environment";
|
|
1371
1398
|
};
|
|
1372
1399
|
} | undefined;
|
|
1373
|
-
|
|
1374
|
-
id: string;
|
|
1375
|
-
createdAt: string;
|
|
1376
|
-
updatedAt: string;
|
|
1377
|
-
locale: string;
|
|
1378
|
-
contentType: {
|
|
1400
|
+
contentType?: {
|
|
1379
1401
|
sys: {
|
|
1380
1402
|
type: "Link";
|
|
1381
1403
|
id: string;
|
|
1382
1404
|
linkType: "ContentType";
|
|
1383
1405
|
};
|
|
1384
|
-
};
|
|
1406
|
+
} | undefined;
|
|
1407
|
+
id: string;
|
|
1385
1408
|
};
|
|
1386
1409
|
fields: {
|
|
1387
1410
|
nt_name: string;
|
|
1388
1411
|
nt_audience_id: string;
|
|
1389
1412
|
};
|
|
1390
|
-
|
|
1413
|
+
}, {
|
|
1414
|
+
metadata?: {
|
|
1391
1415
|
tags: {
|
|
1392
1416
|
sys: {
|
|
1393
1417
|
type: "Link";
|
|
@@ -1395,9 +1419,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1395
1419
|
linkType: "Tag";
|
|
1396
1420
|
};
|
|
1397
1421
|
}[];
|
|
1398
|
-
};
|
|
1399
|
-
}, {
|
|
1422
|
+
} | undefined;
|
|
1400
1423
|
sys: {
|
|
1424
|
+
type?: string | undefined;
|
|
1425
|
+
createdAt?: string | undefined;
|
|
1426
|
+
updatedAt?: string | undefined;
|
|
1427
|
+
locale?: string | undefined;
|
|
1401
1428
|
revision?: number | undefined;
|
|
1402
1429
|
space?: {
|
|
1403
1430
|
sys: {
|
|
@@ -1413,43 +1440,32 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1413
1440
|
linkType: "Environment";
|
|
1414
1441
|
};
|
|
1415
1442
|
} | undefined;
|
|
1416
|
-
|
|
1417
|
-
id: string;
|
|
1418
|
-
createdAt: string;
|
|
1419
|
-
updatedAt: string;
|
|
1420
|
-
locale: string;
|
|
1421
|
-
contentType: {
|
|
1443
|
+
contentType?: {
|
|
1422
1444
|
sys: {
|
|
1423
1445
|
type: "Link";
|
|
1424
1446
|
id: string;
|
|
1425
1447
|
linkType: "ContentType";
|
|
1426
1448
|
};
|
|
1427
|
-
};
|
|
1449
|
+
} | undefined;
|
|
1450
|
+
id: string;
|
|
1428
1451
|
};
|
|
1429
1452
|
fields: {
|
|
1430
1453
|
nt_name: string;
|
|
1431
1454
|
nt_audience_id: string;
|
|
1432
1455
|
};
|
|
1433
|
-
metadata: {
|
|
1434
|
-
tags: {
|
|
1435
|
-
sys: {
|
|
1436
|
-
type: "Link";
|
|
1437
|
-
id: string;
|
|
1438
|
-
linkType: "Tag";
|
|
1439
|
-
};
|
|
1440
|
-
}[];
|
|
1441
|
-
};
|
|
1442
1456
|
}>>>;
|
|
1443
1457
|
/**
|
|
1444
1458
|
* All used variants of the experience (Contentful references to other Content Types)
|
|
1445
1459
|
*/
|
|
1446
1460
|
nt_variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1447
1461
|
sys: z.ZodObject<{
|
|
1448
|
-
type: z.ZodString
|
|
1462
|
+
type: z.ZodOptional<z.ZodString>; /**
|
|
1463
|
+
* The name of the experience (Short Text)
|
|
1464
|
+
*/
|
|
1449
1465
|
id: z.ZodString;
|
|
1450
|
-
createdAt: z.ZodString
|
|
1451
|
-
updatedAt: z.ZodString
|
|
1452
|
-
locale: z.ZodString
|
|
1466
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1453
1469
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
1454
1470
|
space: z.ZodOptional<z.ZodObject<{
|
|
1455
1471
|
sys: z.ZodObject<z.extendShape<{
|
|
@@ -1509,7 +1525,7 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1509
1525
|
linkType: "Environment";
|
|
1510
1526
|
};
|
|
1511
1527
|
}>>;
|
|
1512
|
-
contentType: z.ZodObject<{
|
|
1528
|
+
contentType: z.ZodOptional<z.ZodObject<{
|
|
1513
1529
|
sys: z.ZodObject<z.extendShape<{
|
|
1514
1530
|
type: z.ZodLiteral<"Link">;
|
|
1515
1531
|
linkType: z.ZodString;
|
|
@@ -1537,8 +1553,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1537
1553
|
id: string;
|
|
1538
1554
|
linkType: "ContentType";
|
|
1539
1555
|
};
|
|
1540
|
-
}
|
|
1556
|
+
}>>;
|
|
1541
1557
|
}, "strip", z.ZodTypeAny, {
|
|
1558
|
+
type?: string | undefined;
|
|
1559
|
+
createdAt?: string | undefined;
|
|
1560
|
+
updatedAt?: string | undefined;
|
|
1561
|
+
locale?: string | undefined;
|
|
1542
1562
|
revision?: number | undefined;
|
|
1543
1563
|
space?: {
|
|
1544
1564
|
sys: {
|
|
@@ -1554,19 +1574,19 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1554
1574
|
linkType: "Environment";
|
|
1555
1575
|
};
|
|
1556
1576
|
} | undefined;
|
|
1557
|
-
|
|
1558
|
-
id: string;
|
|
1559
|
-
createdAt: string;
|
|
1560
|
-
updatedAt: string;
|
|
1561
|
-
locale: string;
|
|
1562
|
-
contentType: {
|
|
1577
|
+
contentType?: {
|
|
1563
1578
|
sys: {
|
|
1564
1579
|
type: "Link";
|
|
1565
1580
|
id: string;
|
|
1566
1581
|
linkType: "ContentType";
|
|
1567
1582
|
};
|
|
1568
|
-
};
|
|
1583
|
+
} | undefined;
|
|
1584
|
+
id: string;
|
|
1569
1585
|
}, {
|
|
1586
|
+
type?: string | undefined;
|
|
1587
|
+
createdAt?: string | undefined;
|
|
1588
|
+
updatedAt?: string | undefined;
|
|
1589
|
+
locale?: string | undefined;
|
|
1570
1590
|
revision?: number | undefined;
|
|
1571
1591
|
space?: {
|
|
1572
1592
|
sys: {
|
|
@@ -1582,21 +1602,17 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1582
1602
|
linkType: "Environment";
|
|
1583
1603
|
};
|
|
1584
1604
|
} | undefined;
|
|
1585
|
-
|
|
1586
|
-
id: string;
|
|
1587
|
-
createdAt: string;
|
|
1588
|
-
updatedAt: string;
|
|
1589
|
-
locale: string;
|
|
1590
|
-
contentType: {
|
|
1605
|
+
contentType?: {
|
|
1591
1606
|
sys: {
|
|
1592
1607
|
type: "Link";
|
|
1593
1608
|
id: string;
|
|
1594
1609
|
linkType: "ContentType";
|
|
1595
1610
|
};
|
|
1596
|
-
};
|
|
1611
|
+
} | undefined;
|
|
1612
|
+
id: string;
|
|
1597
1613
|
}>;
|
|
1598
|
-
fields: z.ZodObject<{}, "
|
|
1599
|
-
metadata: z.ZodObject<{
|
|
1614
|
+
fields: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
|
|
1615
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
1600
1616
|
tags: z.ZodArray<z.ZodObject<{
|
|
1601
1617
|
sys: z.ZodObject<z.extendShape<{
|
|
1602
1618
|
type: z.ZodLiteral<"Link">;
|
|
@@ -1642,9 +1658,22 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1642
1658
|
linkType: "Tag";
|
|
1643
1659
|
};
|
|
1644
1660
|
}[];
|
|
1645
|
-
}
|
|
1661
|
+
}>>;
|
|
1646
1662
|
}, "strip", z.ZodTypeAny, {
|
|
1663
|
+
metadata?: {
|
|
1664
|
+
tags: {
|
|
1665
|
+
sys: {
|
|
1666
|
+
type: "Link";
|
|
1667
|
+
id: string;
|
|
1668
|
+
linkType: "Tag";
|
|
1669
|
+
};
|
|
1670
|
+
}[];
|
|
1671
|
+
} | undefined;
|
|
1647
1672
|
sys: {
|
|
1673
|
+
type?: string | undefined;
|
|
1674
|
+
createdAt?: string | undefined;
|
|
1675
|
+
updatedAt?: string | undefined;
|
|
1676
|
+
locale?: string | undefined;
|
|
1648
1677
|
revision?: number | undefined;
|
|
1649
1678
|
space?: {
|
|
1650
1679
|
sys: {
|
|
@@ -1660,21 +1689,18 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1660
1689
|
linkType: "Environment";
|
|
1661
1690
|
};
|
|
1662
1691
|
} | undefined;
|
|
1663
|
-
|
|
1664
|
-
id: string;
|
|
1665
|
-
createdAt: string;
|
|
1666
|
-
updatedAt: string;
|
|
1667
|
-
locale: string;
|
|
1668
|
-
contentType: {
|
|
1692
|
+
contentType?: {
|
|
1669
1693
|
sys: {
|
|
1670
1694
|
type: "Link";
|
|
1671
1695
|
id: string;
|
|
1672
1696
|
linkType: "ContentType";
|
|
1673
1697
|
};
|
|
1674
|
-
};
|
|
1698
|
+
} | undefined;
|
|
1699
|
+
id: string;
|
|
1675
1700
|
};
|
|
1676
1701
|
fields: {};
|
|
1677
|
-
|
|
1702
|
+
}, {
|
|
1703
|
+
metadata?: {
|
|
1678
1704
|
tags: {
|
|
1679
1705
|
sys: {
|
|
1680
1706
|
type: "Link";
|
|
@@ -1682,9 +1708,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1682
1708
|
linkType: "Tag";
|
|
1683
1709
|
};
|
|
1684
1710
|
}[];
|
|
1685
|
-
};
|
|
1686
|
-
}, {
|
|
1711
|
+
} | undefined;
|
|
1687
1712
|
sys: {
|
|
1713
|
+
type?: string | undefined;
|
|
1714
|
+
createdAt?: string | undefined;
|
|
1715
|
+
updatedAt?: string | undefined;
|
|
1716
|
+
locale?: string | undefined;
|
|
1688
1717
|
revision?: number | undefined;
|
|
1689
1718
|
space?: {
|
|
1690
1719
|
sys: {
|
|
@@ -1700,21 +1729,20 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1700
1729
|
linkType: "Environment";
|
|
1701
1730
|
};
|
|
1702
1731
|
} | undefined;
|
|
1703
|
-
|
|
1704
|
-
id: string;
|
|
1705
|
-
createdAt: string;
|
|
1706
|
-
updatedAt: string;
|
|
1707
|
-
locale: string;
|
|
1708
|
-
contentType: {
|
|
1732
|
+
contentType?: {
|
|
1709
1733
|
sys: {
|
|
1710
1734
|
type: "Link";
|
|
1711
1735
|
id: string;
|
|
1712
1736
|
linkType: "ContentType";
|
|
1713
1737
|
};
|
|
1714
|
-
};
|
|
1738
|
+
} | undefined;
|
|
1739
|
+
id: string;
|
|
1715
1740
|
};
|
|
1716
1741
|
fields: {};
|
|
1717
|
-
|
|
1742
|
+
}>, "many">>;
|
|
1743
|
+
}, "strip", z.ZodTypeAny, {
|
|
1744
|
+
nt_audience?: {
|
|
1745
|
+
metadata?: {
|
|
1718
1746
|
tags: {
|
|
1719
1747
|
sys: {
|
|
1720
1748
|
type: "Link";
|
|
@@ -1722,24 +1750,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1722
1750
|
linkType: "Tag";
|
|
1723
1751
|
};
|
|
1724
1752
|
}[];
|
|
1725
|
-
};
|
|
1726
|
-
}>, "many">>;
|
|
1727
|
-
}, "strip", z.ZodTypeAny, {
|
|
1728
|
-
nt_config?: {
|
|
1729
|
-
distribution: number[];
|
|
1730
|
-
traffic: number;
|
|
1731
|
-
components: {
|
|
1732
|
-
baseline: {
|
|
1733
|
-
id: string;
|
|
1734
|
-
};
|
|
1735
|
-
variants: {
|
|
1736
|
-
id: string;
|
|
1737
|
-
hidden: boolean;
|
|
1738
|
-
}[];
|
|
1739
|
-
}[];
|
|
1740
|
-
} | null | undefined;
|
|
1741
|
-
nt_audience?: {
|
|
1753
|
+
} | undefined;
|
|
1742
1754
|
sys: {
|
|
1755
|
+
type?: string | undefined;
|
|
1756
|
+
createdAt?: string | undefined;
|
|
1757
|
+
updatedAt?: string | undefined;
|
|
1758
|
+
locale?: string | undefined;
|
|
1743
1759
|
revision?: number | undefined;
|
|
1744
1760
|
space?: {
|
|
1745
1761
|
sys: {
|
|
@@ -1755,24 +1771,37 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1755
1771
|
linkType: "Environment";
|
|
1756
1772
|
};
|
|
1757
1773
|
} | undefined;
|
|
1758
|
-
|
|
1759
|
-
id: string;
|
|
1760
|
-
createdAt: string;
|
|
1761
|
-
updatedAt: string;
|
|
1762
|
-
locale: string;
|
|
1763
|
-
contentType: {
|
|
1774
|
+
contentType?: {
|
|
1764
1775
|
sys: {
|
|
1765
1776
|
type: "Link";
|
|
1766
1777
|
id: string;
|
|
1767
1778
|
linkType: "ContentType";
|
|
1768
1779
|
};
|
|
1769
|
-
};
|
|
1780
|
+
} | undefined;
|
|
1781
|
+
id: string;
|
|
1770
1782
|
};
|
|
1771
1783
|
fields: {
|
|
1772
1784
|
nt_name: string;
|
|
1773
1785
|
nt_audience_id: string;
|
|
1774
1786
|
};
|
|
1775
|
-
|
|
1787
|
+
} | null | undefined;
|
|
1788
|
+
nt_name: string;
|
|
1789
|
+
nt_type: "nt_experiment" | "nt_personalization";
|
|
1790
|
+
nt_config: {
|
|
1791
|
+
distribution: number[];
|
|
1792
|
+
traffic: number;
|
|
1793
|
+
components: {
|
|
1794
|
+
baseline: {
|
|
1795
|
+
id: string;
|
|
1796
|
+
};
|
|
1797
|
+
variants: {
|
|
1798
|
+
id: string;
|
|
1799
|
+
hidden: boolean;
|
|
1800
|
+
}[];
|
|
1801
|
+
}[];
|
|
1802
|
+
};
|
|
1803
|
+
nt_variants: {
|
|
1804
|
+
metadata?: {
|
|
1776
1805
|
tags: {
|
|
1777
1806
|
sys: {
|
|
1778
1807
|
type: "Link";
|
|
@@ -1780,12 +1809,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1780
1809
|
linkType: "Tag";
|
|
1781
1810
|
};
|
|
1782
1811
|
}[];
|
|
1783
|
-
};
|
|
1784
|
-
} | null | undefined;
|
|
1785
|
-
nt_name: string;
|
|
1786
|
-
nt_type: "nt_experiment" | "nt_personalization";
|
|
1787
|
-
nt_variants: {
|
|
1812
|
+
} | undefined;
|
|
1788
1813
|
sys: {
|
|
1814
|
+
type?: string | undefined;
|
|
1815
|
+
createdAt?: string | undefined;
|
|
1816
|
+
updatedAt?: string | undefined;
|
|
1817
|
+
locale?: string | undefined;
|
|
1789
1818
|
revision?: number | undefined;
|
|
1790
1819
|
space?: {
|
|
1791
1820
|
sys: {
|
|
@@ -1801,21 +1830,20 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1801
1830
|
linkType: "Environment";
|
|
1802
1831
|
};
|
|
1803
1832
|
} | undefined;
|
|
1804
|
-
|
|
1805
|
-
id: string;
|
|
1806
|
-
createdAt: string;
|
|
1807
|
-
updatedAt: string;
|
|
1808
|
-
locale: string;
|
|
1809
|
-
contentType: {
|
|
1833
|
+
contentType?: {
|
|
1810
1834
|
sys: {
|
|
1811
1835
|
type: "Link";
|
|
1812
1836
|
id: string;
|
|
1813
1837
|
linkType: "ContentType";
|
|
1814
1838
|
};
|
|
1815
|
-
};
|
|
1839
|
+
} | undefined;
|
|
1840
|
+
id: string;
|
|
1816
1841
|
};
|
|
1817
1842
|
fields: {};
|
|
1818
|
-
|
|
1843
|
+
}[];
|
|
1844
|
+
}, {
|
|
1845
|
+
nt_audience?: {
|
|
1846
|
+
metadata?: {
|
|
1819
1847
|
tags: {
|
|
1820
1848
|
sys: {
|
|
1821
1849
|
type: "Link";
|
|
@@ -1823,24 +1851,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1823
1851
|
linkType: "Tag";
|
|
1824
1852
|
};
|
|
1825
1853
|
}[];
|
|
1826
|
-
};
|
|
1827
|
-
}[];
|
|
1828
|
-
}, {
|
|
1829
|
-
nt_config?: {
|
|
1830
|
-
distribution: number[];
|
|
1831
|
-
traffic: number;
|
|
1832
|
-
components: {
|
|
1833
|
-
baseline: {
|
|
1834
|
-
id: string;
|
|
1835
|
-
};
|
|
1836
|
-
variants: {
|
|
1837
|
-
id: string;
|
|
1838
|
-
hidden: boolean;
|
|
1839
|
-
}[];
|
|
1840
|
-
}[];
|
|
1841
|
-
} | null | undefined;
|
|
1842
|
-
nt_audience?: {
|
|
1854
|
+
} | undefined;
|
|
1843
1855
|
sys: {
|
|
1856
|
+
type?: string | undefined;
|
|
1857
|
+
createdAt?: string | undefined;
|
|
1858
|
+
updatedAt?: string | undefined;
|
|
1859
|
+
locale?: string | undefined;
|
|
1844
1860
|
revision?: number | undefined;
|
|
1845
1861
|
space?: {
|
|
1846
1862
|
sys: {
|
|
@@ -1856,24 +1872,22 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1856
1872
|
linkType: "Environment";
|
|
1857
1873
|
};
|
|
1858
1874
|
} | undefined;
|
|
1859
|
-
|
|
1860
|
-
id: string;
|
|
1861
|
-
createdAt: string;
|
|
1862
|
-
updatedAt: string;
|
|
1863
|
-
locale: string;
|
|
1864
|
-
contentType: {
|
|
1875
|
+
contentType?: {
|
|
1865
1876
|
sys: {
|
|
1866
1877
|
type: "Link";
|
|
1867
1878
|
id: string;
|
|
1868
1879
|
linkType: "ContentType";
|
|
1869
1880
|
};
|
|
1870
|
-
};
|
|
1881
|
+
} | undefined;
|
|
1882
|
+
id: string;
|
|
1871
1883
|
};
|
|
1872
1884
|
fields: {
|
|
1873
1885
|
nt_name: string;
|
|
1874
1886
|
nt_audience_id: string;
|
|
1875
1887
|
};
|
|
1876
|
-
|
|
1888
|
+
} | null | undefined;
|
|
1889
|
+
nt_variants?: {
|
|
1890
|
+
metadata?: {
|
|
1877
1891
|
tags: {
|
|
1878
1892
|
sys: {
|
|
1879
1893
|
type: "Link";
|
|
@@ -1881,10 +1895,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1881
1895
|
linkType: "Tag";
|
|
1882
1896
|
};
|
|
1883
1897
|
}[];
|
|
1884
|
-
};
|
|
1885
|
-
} | null | undefined;
|
|
1886
|
-
nt_variants?: {
|
|
1898
|
+
} | undefined;
|
|
1887
1899
|
sys: {
|
|
1900
|
+
type?: string | undefined;
|
|
1901
|
+
createdAt?: string | undefined;
|
|
1902
|
+
updatedAt?: string | undefined;
|
|
1903
|
+
locale?: string | undefined;
|
|
1888
1904
|
revision?: number | undefined;
|
|
1889
1905
|
space?: {
|
|
1890
1906
|
sys: {
|
|
@@ -1900,35 +1916,48 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1900
1916
|
linkType: "Environment";
|
|
1901
1917
|
};
|
|
1902
1918
|
} | undefined;
|
|
1903
|
-
|
|
1904
|
-
id: string;
|
|
1905
|
-
createdAt: string;
|
|
1906
|
-
updatedAt: string;
|
|
1907
|
-
locale: string;
|
|
1908
|
-
contentType: {
|
|
1919
|
+
contentType?: {
|
|
1909
1920
|
sys: {
|
|
1910
1921
|
type: "Link";
|
|
1911
1922
|
id: string;
|
|
1912
1923
|
linkType: "ContentType";
|
|
1913
1924
|
};
|
|
1914
|
-
};
|
|
1925
|
+
} | undefined;
|
|
1926
|
+
id: string;
|
|
1915
1927
|
};
|
|
1916
1928
|
fields: {};
|
|
1917
|
-
metadata: {
|
|
1918
|
-
tags: {
|
|
1919
|
-
sys: {
|
|
1920
|
-
type: "Link";
|
|
1921
|
-
id: string;
|
|
1922
|
-
linkType: "Tag";
|
|
1923
|
-
};
|
|
1924
|
-
}[];
|
|
1925
|
-
};
|
|
1926
1929
|
}[] | undefined;
|
|
1927
1930
|
nt_name: string;
|
|
1928
1931
|
nt_type: "nt_experiment" | "nt_personalization";
|
|
1932
|
+
nt_config: {
|
|
1933
|
+
distribution?: number[] | undefined;
|
|
1934
|
+
traffic?: number | undefined;
|
|
1935
|
+
components?: {
|
|
1936
|
+
baseline: {
|
|
1937
|
+
id?: string | undefined;
|
|
1938
|
+
};
|
|
1939
|
+
variants: {
|
|
1940
|
+
id?: string | undefined;
|
|
1941
|
+
hidden?: boolean | undefined;
|
|
1942
|
+
}[];
|
|
1943
|
+
}[] | undefined;
|
|
1944
|
+
};
|
|
1929
1945
|
}>;
|
|
1930
1946
|
}>, "strip", z.ZodTypeAny, {
|
|
1947
|
+
metadata?: {
|
|
1948
|
+
tags: {
|
|
1949
|
+
sys: {
|
|
1950
|
+
type: "Link";
|
|
1951
|
+
id: string;
|
|
1952
|
+
linkType: "Tag";
|
|
1953
|
+
};
|
|
1954
|
+
}[];
|
|
1955
|
+
} | undefined;
|
|
1931
1956
|
sys: {
|
|
1957
|
+
type?: string | undefined;
|
|
1958
|
+
createdAt?: string | undefined;
|
|
1959
|
+
updatedAt?: string | undefined;
|
|
1960
|
+
locale?: string | undefined;
|
|
1932
1961
|
revision?: number | undefined;
|
|
1933
1962
|
space?: {
|
|
1934
1963
|
sys: {
|
|
@@ -1944,35 +1973,31 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1944
1973
|
linkType: "Environment";
|
|
1945
1974
|
};
|
|
1946
1975
|
} | undefined;
|
|
1947
|
-
|
|
1948
|
-
id: string;
|
|
1949
|
-
createdAt: string;
|
|
1950
|
-
updatedAt: string;
|
|
1951
|
-
locale: string;
|
|
1952
|
-
contentType: {
|
|
1976
|
+
contentType?: {
|
|
1953
1977
|
sys: {
|
|
1954
1978
|
type: "Link";
|
|
1955
1979
|
id: string;
|
|
1956
1980
|
linkType: "ContentType";
|
|
1957
1981
|
};
|
|
1958
|
-
};
|
|
1982
|
+
} | undefined;
|
|
1983
|
+
id: string;
|
|
1959
1984
|
};
|
|
1960
1985
|
fields: {
|
|
1961
|
-
nt_config?: {
|
|
1962
|
-
distribution: number[];
|
|
1963
|
-
traffic: number;
|
|
1964
|
-
components: {
|
|
1965
|
-
baseline: {
|
|
1966
|
-
id: string;
|
|
1967
|
-
};
|
|
1968
|
-
variants: {
|
|
1969
|
-
id: string;
|
|
1970
|
-
hidden: boolean;
|
|
1971
|
-
}[];
|
|
1972
|
-
}[];
|
|
1973
|
-
} | null | undefined;
|
|
1974
1986
|
nt_audience?: {
|
|
1987
|
+
metadata?: {
|
|
1988
|
+
tags: {
|
|
1989
|
+
sys: {
|
|
1990
|
+
type: "Link";
|
|
1991
|
+
id: string;
|
|
1992
|
+
linkType: "Tag";
|
|
1993
|
+
};
|
|
1994
|
+
}[];
|
|
1995
|
+
} | undefined;
|
|
1975
1996
|
sys: {
|
|
1997
|
+
type?: string | undefined;
|
|
1998
|
+
createdAt?: string | undefined;
|
|
1999
|
+
updatedAt?: string | undefined;
|
|
2000
|
+
locale?: string | undefined;
|
|
1976
2001
|
revision?: number | undefined;
|
|
1977
2002
|
space?: {
|
|
1978
2003
|
sys: {
|
|
@@ -1988,24 +2013,37 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
1988
2013
|
linkType: "Environment";
|
|
1989
2014
|
};
|
|
1990
2015
|
} | undefined;
|
|
1991
|
-
|
|
1992
|
-
id: string;
|
|
1993
|
-
createdAt: string;
|
|
1994
|
-
updatedAt: string;
|
|
1995
|
-
locale: string;
|
|
1996
|
-
contentType: {
|
|
2016
|
+
contentType?: {
|
|
1997
2017
|
sys: {
|
|
1998
2018
|
type: "Link";
|
|
1999
2019
|
id: string;
|
|
2000
2020
|
linkType: "ContentType";
|
|
2001
2021
|
};
|
|
2002
|
-
};
|
|
2022
|
+
} | undefined;
|
|
2023
|
+
id: string;
|
|
2003
2024
|
};
|
|
2004
2025
|
fields: {
|
|
2005
2026
|
nt_name: string;
|
|
2006
2027
|
nt_audience_id: string;
|
|
2007
2028
|
};
|
|
2008
|
-
|
|
2029
|
+
} | null | undefined;
|
|
2030
|
+
nt_name: string;
|
|
2031
|
+
nt_type: "nt_experiment" | "nt_personalization";
|
|
2032
|
+
nt_config: {
|
|
2033
|
+
distribution: number[];
|
|
2034
|
+
traffic: number;
|
|
2035
|
+
components: {
|
|
2036
|
+
baseline: {
|
|
2037
|
+
id: string;
|
|
2038
|
+
};
|
|
2039
|
+
variants: {
|
|
2040
|
+
id: string;
|
|
2041
|
+
hidden: boolean;
|
|
2042
|
+
}[];
|
|
2043
|
+
}[];
|
|
2044
|
+
};
|
|
2045
|
+
nt_variants: {
|
|
2046
|
+
metadata?: {
|
|
2009
2047
|
tags: {
|
|
2010
2048
|
sys: {
|
|
2011
2049
|
type: "Link";
|
|
@@ -2013,12 +2051,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
2013
2051
|
linkType: "Tag";
|
|
2014
2052
|
};
|
|
2015
2053
|
}[];
|
|
2016
|
-
};
|
|
2017
|
-
} | null | undefined;
|
|
2018
|
-
nt_name: string;
|
|
2019
|
-
nt_type: "nt_experiment" | "nt_personalization";
|
|
2020
|
-
nt_variants: {
|
|
2054
|
+
} | undefined;
|
|
2021
2055
|
sys: {
|
|
2056
|
+
type?: string | undefined;
|
|
2057
|
+
createdAt?: string | undefined;
|
|
2058
|
+
updatedAt?: string | undefined;
|
|
2059
|
+
locale?: string | undefined;
|
|
2022
2060
|
revision?: number | undefined;
|
|
2023
2061
|
space?: {
|
|
2024
2062
|
sys: {
|
|
@@ -2034,32 +2072,20 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
2034
2072
|
linkType: "Environment";
|
|
2035
2073
|
};
|
|
2036
2074
|
} | undefined;
|
|
2037
|
-
|
|
2038
|
-
id: string;
|
|
2039
|
-
createdAt: string;
|
|
2040
|
-
updatedAt: string;
|
|
2041
|
-
locale: string;
|
|
2042
|
-
contentType: {
|
|
2075
|
+
contentType?: {
|
|
2043
2076
|
sys: {
|
|
2044
2077
|
type: "Link";
|
|
2045
2078
|
id: string;
|
|
2046
2079
|
linkType: "ContentType";
|
|
2047
2080
|
};
|
|
2048
|
-
};
|
|
2081
|
+
} | undefined;
|
|
2082
|
+
id: string;
|
|
2049
2083
|
};
|
|
2050
2084
|
fields: {};
|
|
2051
|
-
metadata: {
|
|
2052
|
-
tags: {
|
|
2053
|
-
sys: {
|
|
2054
|
-
type: "Link";
|
|
2055
|
-
id: string;
|
|
2056
|
-
linkType: "Tag";
|
|
2057
|
-
};
|
|
2058
|
-
}[];
|
|
2059
|
-
};
|
|
2060
2085
|
}[];
|
|
2061
2086
|
};
|
|
2062
|
-
|
|
2087
|
+
}, {
|
|
2088
|
+
metadata?: {
|
|
2063
2089
|
tags: {
|
|
2064
2090
|
sys: {
|
|
2065
2091
|
type: "Link";
|
|
@@ -2067,9 +2093,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
2067
2093
|
linkType: "Tag";
|
|
2068
2094
|
};
|
|
2069
2095
|
}[];
|
|
2070
|
-
};
|
|
2071
|
-
}, {
|
|
2096
|
+
} | undefined;
|
|
2072
2097
|
sys: {
|
|
2098
|
+
type?: string | undefined;
|
|
2099
|
+
createdAt?: string | undefined;
|
|
2100
|
+
updatedAt?: string | undefined;
|
|
2101
|
+
locale?: string | undefined;
|
|
2073
2102
|
revision?: number | undefined;
|
|
2074
2103
|
space?: {
|
|
2075
2104
|
sys: {
|
|
@@ -2085,35 +2114,31 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
2085
2114
|
linkType: "Environment";
|
|
2086
2115
|
};
|
|
2087
2116
|
} | undefined;
|
|
2088
|
-
|
|
2089
|
-
id: string;
|
|
2090
|
-
createdAt: string;
|
|
2091
|
-
updatedAt: string;
|
|
2092
|
-
locale: string;
|
|
2093
|
-
contentType: {
|
|
2117
|
+
contentType?: {
|
|
2094
2118
|
sys: {
|
|
2095
2119
|
type: "Link";
|
|
2096
2120
|
id: string;
|
|
2097
2121
|
linkType: "ContentType";
|
|
2098
2122
|
};
|
|
2099
|
-
};
|
|
2123
|
+
} | undefined;
|
|
2124
|
+
id: string;
|
|
2100
2125
|
};
|
|
2101
2126
|
fields: {
|
|
2102
|
-
nt_config?: {
|
|
2103
|
-
distribution: number[];
|
|
2104
|
-
traffic: number;
|
|
2105
|
-
components: {
|
|
2106
|
-
baseline: {
|
|
2107
|
-
id: string;
|
|
2108
|
-
};
|
|
2109
|
-
variants: {
|
|
2110
|
-
id: string;
|
|
2111
|
-
hidden: boolean;
|
|
2112
|
-
}[];
|
|
2113
|
-
}[];
|
|
2114
|
-
} | null | undefined;
|
|
2115
2127
|
nt_audience?: {
|
|
2128
|
+
metadata?: {
|
|
2129
|
+
tags: {
|
|
2130
|
+
sys: {
|
|
2131
|
+
type: "Link";
|
|
2132
|
+
id: string;
|
|
2133
|
+
linkType: "Tag";
|
|
2134
|
+
};
|
|
2135
|
+
}[];
|
|
2136
|
+
} | undefined;
|
|
2116
2137
|
sys: {
|
|
2138
|
+
type?: string | undefined;
|
|
2139
|
+
createdAt?: string | undefined;
|
|
2140
|
+
updatedAt?: string | undefined;
|
|
2141
|
+
locale?: string | undefined;
|
|
2117
2142
|
revision?: number | undefined;
|
|
2118
2143
|
space?: {
|
|
2119
2144
|
sys: {
|
|
@@ -2129,24 +2154,22 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
2129
2154
|
linkType: "Environment";
|
|
2130
2155
|
};
|
|
2131
2156
|
} | undefined;
|
|
2132
|
-
|
|
2133
|
-
id: string;
|
|
2134
|
-
createdAt: string;
|
|
2135
|
-
updatedAt: string;
|
|
2136
|
-
locale: string;
|
|
2137
|
-
contentType: {
|
|
2157
|
+
contentType?: {
|
|
2138
2158
|
sys: {
|
|
2139
2159
|
type: "Link";
|
|
2140
2160
|
id: string;
|
|
2141
2161
|
linkType: "ContentType";
|
|
2142
2162
|
};
|
|
2143
|
-
};
|
|
2163
|
+
} | undefined;
|
|
2164
|
+
id: string;
|
|
2144
2165
|
};
|
|
2145
2166
|
fields: {
|
|
2146
2167
|
nt_name: string;
|
|
2147
2168
|
nt_audience_id: string;
|
|
2148
2169
|
};
|
|
2149
|
-
|
|
2170
|
+
} | null | undefined;
|
|
2171
|
+
nt_variants?: {
|
|
2172
|
+
metadata?: {
|
|
2150
2173
|
tags: {
|
|
2151
2174
|
sys: {
|
|
2152
2175
|
type: "Link";
|
|
@@ -2154,10 +2177,12 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
2154
2177
|
linkType: "Tag";
|
|
2155
2178
|
};
|
|
2156
2179
|
}[];
|
|
2157
|
-
};
|
|
2158
|
-
} | null | undefined;
|
|
2159
|
-
nt_variants?: {
|
|
2180
|
+
} | undefined;
|
|
2160
2181
|
sys: {
|
|
2182
|
+
type?: string | undefined;
|
|
2183
|
+
createdAt?: string | undefined;
|
|
2184
|
+
updatedAt?: string | undefined;
|
|
2185
|
+
locale?: string | undefined;
|
|
2161
2186
|
revision?: number | undefined;
|
|
2162
2187
|
space?: {
|
|
2163
2188
|
sys: {
|
|
@@ -2173,41 +2198,32 @@ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
|
|
|
2173
2198
|
linkType: "Environment";
|
|
2174
2199
|
};
|
|
2175
2200
|
} | undefined;
|
|
2176
|
-
|
|
2177
|
-
id: string;
|
|
2178
|
-
createdAt: string;
|
|
2179
|
-
updatedAt: string;
|
|
2180
|
-
locale: string;
|
|
2181
|
-
contentType: {
|
|
2201
|
+
contentType?: {
|
|
2182
2202
|
sys: {
|
|
2183
2203
|
type: "Link";
|
|
2184
2204
|
id: string;
|
|
2185
2205
|
linkType: "ContentType";
|
|
2186
2206
|
};
|
|
2187
|
-
};
|
|
2207
|
+
} | undefined;
|
|
2208
|
+
id: string;
|
|
2188
2209
|
};
|
|
2189
2210
|
fields: {};
|
|
2190
|
-
metadata: {
|
|
2191
|
-
tags: {
|
|
2192
|
-
sys: {
|
|
2193
|
-
type: "Link";
|
|
2194
|
-
id: string;
|
|
2195
|
-
linkType: "Tag";
|
|
2196
|
-
};
|
|
2197
|
-
}[];
|
|
2198
|
-
};
|
|
2199
2211
|
}[] | undefined;
|
|
2200
2212
|
nt_name: string;
|
|
2201
2213
|
nt_type: "nt_experiment" | "nt_personalization";
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2214
|
+
nt_config: {
|
|
2215
|
+
distribution?: number[] | undefined;
|
|
2216
|
+
traffic?: number | undefined;
|
|
2217
|
+
components?: {
|
|
2218
|
+
baseline: {
|
|
2219
|
+
id?: string | undefined;
|
|
2220
|
+
};
|
|
2221
|
+
variants: {
|
|
2222
|
+
id?: string | undefined;
|
|
2223
|
+
hidden?: boolean | undefined;
|
|
2224
|
+
}[];
|
|
2225
|
+
}[] | undefined;
|
|
2226
|
+
};
|
|
2211
2227
|
};
|
|
2212
2228
|
}>;
|
|
2213
2229
|
export declare type ExperienceEntry = z.infer<typeof ExperienceEntry>;
|