@ninetailed/experience.js-utils-contentful 2.0.0-beta.9 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2213 @@
1
+ import { z } from 'zod';
2
+ export declare const ExperienceFields: z.ZodObject<{
3
+ /**
4
+ * The name of the experience (Short Text)
5
+ */
6
+ nt_name: z.ZodString;
7
+ /**
8
+ * The type if the experience (nt_experiment | nt_personalization)
9
+ */
10
+ nt_type: z.ZodUnion<[z.ZodLiteral<"nt_experiment">, z.ZodLiteral<"nt_personalization">]>;
11
+ /**
12
+ * The config of the experience (JSON)
13
+ */
14
+ nt_config: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15
+ distribution: z.ZodArray<z.ZodNumber, "many">;
16
+ traffic: z.ZodNumber;
17
+ components: z.ZodArray<z.ZodObject<{
18
+ baseline: z.ZodObject<{
19
+ id: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ id: string;
22
+ }, {
23
+ id: string;
24
+ }>;
25
+ variants: z.ZodArray<z.ZodObject<{
26
+ id: z.ZodString;
27
+ hidden: z.ZodBoolean;
28
+ }, "strip", z.ZodTypeAny, {
29
+ id: string;
30
+ hidden: boolean;
31
+ }, {
32
+ id: string;
33
+ hidden: boolean;
34
+ }>, "many">;
35
+ }, "strip", z.ZodTypeAny, {
36
+ baseline: {
37
+ id: string;
38
+ };
39
+ variants: {
40
+ id: string;
41
+ hidden: boolean;
42
+ }[];
43
+ }, {
44
+ baseline: {
45
+ id: string;
46
+ };
47
+ variants: {
48
+ id: string;
49
+ hidden: boolean;
50
+ }[];
51
+ }>, "many">;
52
+ }, "strip", z.ZodTypeAny, {
53
+ distribution: number[];
54
+ traffic: number;
55
+ components: {
56
+ baseline: {
57
+ id: string;
58
+ };
59
+ variants: {
60
+ id: string;
61
+ hidden: boolean;
62
+ }[];
63
+ }[];
64
+ }, {
65
+ distribution: number[];
66
+ traffic: number;
67
+ components: {
68
+ baseline: {
69
+ id: string;
70
+ };
71
+ variants: {
72
+ id: string;
73
+ hidden: boolean;
74
+ }[];
75
+ }[];
76
+ }>>>;
77
+ /**
78
+ * The audience of the experience (Audience)
79
+ */
80
+ nt_audience: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
81
+ sys: z.ZodObject<{
82
+ type: z.ZodString;
83
+ id: z.ZodString;
84
+ createdAt: z.ZodString;
85
+ updatedAt: z.ZodString;
86
+ locale: z.ZodString;
87
+ revision: z.ZodOptional<z.ZodNumber>;
88
+ space: z.ZodOptional<z.ZodObject<{
89
+ sys: z.ZodObject<z.extendShape<{
90
+ type: z.ZodLiteral<"Link">;
91
+ linkType: z.ZodString;
92
+ id: z.ZodString;
93
+ }, {
94
+ linkType: z.ZodLiteral<"Space">;
95
+ }>, "strip", z.ZodTypeAny, {
96
+ type: "Link";
97
+ id: string;
98
+ linkType: "Space";
99
+ }, {
100
+ type: "Link";
101
+ id: string;
102
+ linkType: "Space";
103
+ }>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ sys: {
106
+ type: "Link";
107
+ id: string;
108
+ linkType: "Space";
109
+ };
110
+ }, {
111
+ sys: {
112
+ type: "Link";
113
+ id: string;
114
+ linkType: "Space";
115
+ };
116
+ }>>;
117
+ environment: z.ZodOptional<z.ZodObject<{
118
+ sys: z.ZodObject<z.extendShape<{
119
+ type: z.ZodLiteral<"Link">;
120
+ linkType: z.ZodString;
121
+ id: z.ZodString;
122
+ }, {
123
+ linkType: z.ZodLiteral<"Environment">;
124
+ }>, "strip", z.ZodTypeAny, {
125
+ type: "Link";
126
+ id: string;
127
+ linkType: "Environment";
128
+ }, {
129
+ type: "Link";
130
+ id: string;
131
+ linkType: "Environment";
132
+ }>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ sys: {
135
+ type: "Link";
136
+ id: string;
137
+ linkType: "Environment";
138
+ };
139
+ }, {
140
+ sys: {
141
+ type: "Link";
142
+ id: string;
143
+ linkType: "Environment";
144
+ };
145
+ }>>;
146
+ contentType: z.ZodObject<{
147
+ sys: z.ZodObject<z.extendShape<{
148
+ type: z.ZodLiteral<"Link">;
149
+ linkType: z.ZodString;
150
+ id: z.ZodString;
151
+ }, {
152
+ linkType: z.ZodLiteral<"ContentType">;
153
+ }>, "strip", z.ZodTypeAny, {
154
+ type: "Link";
155
+ id: string;
156
+ linkType: "ContentType";
157
+ }, {
158
+ type: "Link";
159
+ id: string;
160
+ linkType: "ContentType";
161
+ }>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ sys: {
164
+ type: "Link";
165
+ id: string;
166
+ linkType: "ContentType";
167
+ };
168
+ }, {
169
+ sys: {
170
+ type: "Link";
171
+ id: string;
172
+ linkType: "ContentType";
173
+ };
174
+ }>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ revision?: number | undefined;
177
+ space?: {
178
+ sys: {
179
+ type: "Link";
180
+ id: string;
181
+ linkType: "Space";
182
+ };
183
+ } | undefined;
184
+ environment?: {
185
+ sys: {
186
+ type: "Link";
187
+ id: string;
188
+ linkType: "Environment";
189
+ };
190
+ } | undefined;
191
+ type: string;
192
+ id: string;
193
+ createdAt: string;
194
+ updatedAt: string;
195
+ locale: string;
196
+ contentType: {
197
+ sys: {
198
+ type: "Link";
199
+ id: string;
200
+ linkType: "ContentType";
201
+ };
202
+ };
203
+ }, {
204
+ revision?: number | undefined;
205
+ space?: {
206
+ sys: {
207
+ type: "Link";
208
+ id: string;
209
+ linkType: "Space";
210
+ };
211
+ } | undefined;
212
+ environment?: {
213
+ sys: {
214
+ type: "Link";
215
+ id: string;
216
+ linkType: "Environment";
217
+ };
218
+ } | undefined;
219
+ type: string;
220
+ id: string;
221
+ createdAt: string;
222
+ updatedAt: string;
223
+ locale: string;
224
+ contentType: {
225
+ sys: {
226
+ type: "Link";
227
+ id: string;
228
+ linkType: "ContentType";
229
+ };
230
+ };
231
+ }>;
232
+ fields: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
233
+ metadata: z.ZodObject<{
234
+ tags: z.ZodArray<z.ZodObject<{
235
+ sys: z.ZodObject<z.extendShape<{
236
+ type: z.ZodLiteral<"Link">;
237
+ linkType: z.ZodString;
238
+ id: z.ZodString;
239
+ }, {
240
+ linkType: z.ZodLiteral<"Tag">;
241
+ }>, "strip", z.ZodTypeAny, {
242
+ type: "Link";
243
+ id: string;
244
+ linkType: "Tag";
245
+ }, {
246
+ type: "Link";
247
+ id: string;
248
+ linkType: "Tag";
249
+ }>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ sys: {
252
+ type: "Link";
253
+ id: string;
254
+ linkType: "Tag";
255
+ };
256
+ }, {
257
+ sys: {
258
+ type: "Link";
259
+ id: string;
260
+ linkType: "Tag";
261
+ };
262
+ }>, "many">;
263
+ }, "strip", z.ZodTypeAny, {
264
+ tags: {
265
+ sys: {
266
+ type: "Link";
267
+ id: string;
268
+ linkType: "Tag";
269
+ };
270
+ }[];
271
+ }, {
272
+ tags: {
273
+ sys: {
274
+ type: "Link";
275
+ id: string;
276
+ linkType: "Tag";
277
+ };
278
+ }[];
279
+ }>;
280
+ }, {
281
+ fields: z.ZodObject<{
282
+ nt_name: z.ZodString;
283
+ nt_audience_id: z.ZodString;
284
+ }, "strip", z.ZodTypeAny, {
285
+ nt_name: string;
286
+ nt_audience_id: string;
287
+ }, {
288
+ nt_name: string;
289
+ nt_audience_id: string;
290
+ }>;
291
+ }>, "strip", z.ZodTypeAny, {
292
+ sys: {
293
+ revision?: number | undefined;
294
+ space?: {
295
+ sys: {
296
+ type: "Link";
297
+ id: string;
298
+ linkType: "Space";
299
+ };
300
+ } | undefined;
301
+ environment?: {
302
+ sys: {
303
+ type: "Link";
304
+ id: string;
305
+ linkType: "Environment";
306
+ };
307
+ } | undefined;
308
+ type: string;
309
+ id: string;
310
+ createdAt: string;
311
+ updatedAt: string;
312
+ locale: string;
313
+ contentType: {
314
+ sys: {
315
+ type: "Link";
316
+ id: string;
317
+ linkType: "ContentType";
318
+ };
319
+ };
320
+ };
321
+ fields: {
322
+ nt_name: string;
323
+ nt_audience_id: string;
324
+ };
325
+ metadata: {
326
+ tags: {
327
+ sys: {
328
+ type: "Link";
329
+ id: string;
330
+ linkType: "Tag";
331
+ };
332
+ }[];
333
+ };
334
+ }, {
335
+ sys: {
336
+ revision?: number | undefined;
337
+ space?: {
338
+ sys: {
339
+ type: "Link";
340
+ id: string;
341
+ linkType: "Space";
342
+ };
343
+ } | undefined;
344
+ environment?: {
345
+ sys: {
346
+ type: "Link";
347
+ id: string;
348
+ linkType: "Environment";
349
+ };
350
+ } | undefined;
351
+ type: string;
352
+ id: string;
353
+ createdAt: string;
354
+ updatedAt: string;
355
+ locale: string;
356
+ contentType: {
357
+ sys: {
358
+ type: "Link";
359
+ id: string;
360
+ linkType: "ContentType";
361
+ };
362
+ };
363
+ };
364
+ fields: {
365
+ nt_name: string;
366
+ nt_audience_id: string;
367
+ };
368
+ metadata: {
369
+ tags: {
370
+ sys: {
371
+ type: "Link";
372
+ id: string;
373
+ linkType: "Tag";
374
+ };
375
+ }[];
376
+ };
377
+ }>>>;
378
+ /**
379
+ * All used variants of the experience (Contentful references to other Content Types)
380
+ */
381
+ nt_variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
382
+ sys: z.ZodObject<{
383
+ type: z.ZodString;
384
+ id: z.ZodString;
385
+ createdAt: z.ZodString;
386
+ updatedAt: z.ZodString;
387
+ locale: z.ZodString;
388
+ revision: z.ZodOptional<z.ZodNumber>;
389
+ space: z.ZodOptional<z.ZodObject<{
390
+ sys: z.ZodObject<z.extendShape<{
391
+ type: z.ZodLiteral<"Link">;
392
+ linkType: z.ZodString;
393
+ id: z.ZodString;
394
+ }, {
395
+ linkType: z.ZodLiteral<"Space">;
396
+ }>, "strip", z.ZodTypeAny, {
397
+ type: "Link";
398
+ id: string;
399
+ linkType: "Space";
400
+ }, {
401
+ type: "Link";
402
+ id: string;
403
+ linkType: "Space";
404
+ }>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ sys: {
407
+ type: "Link";
408
+ id: string;
409
+ linkType: "Space";
410
+ };
411
+ }, {
412
+ sys: {
413
+ type: "Link";
414
+ id: string;
415
+ linkType: "Space";
416
+ };
417
+ }>>;
418
+ environment: z.ZodOptional<z.ZodObject<{
419
+ sys: z.ZodObject<z.extendShape<{
420
+ type: z.ZodLiteral<"Link">;
421
+ linkType: z.ZodString;
422
+ id: z.ZodString;
423
+ }, {
424
+ linkType: z.ZodLiteral<"Environment">;
425
+ }>, "strip", z.ZodTypeAny, {
426
+ type: "Link";
427
+ id: string;
428
+ linkType: "Environment";
429
+ }, {
430
+ type: "Link";
431
+ id: string;
432
+ linkType: "Environment";
433
+ }>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ sys: {
436
+ type: "Link";
437
+ id: string;
438
+ linkType: "Environment";
439
+ };
440
+ }, {
441
+ sys: {
442
+ type: "Link";
443
+ id: string;
444
+ linkType: "Environment";
445
+ };
446
+ }>>;
447
+ contentType: z.ZodObject<{
448
+ sys: z.ZodObject<z.extendShape<{
449
+ type: z.ZodLiteral<"Link">;
450
+ linkType: z.ZodString;
451
+ id: z.ZodString;
452
+ }, {
453
+ linkType: z.ZodLiteral<"ContentType">;
454
+ }>, "strip", z.ZodTypeAny, {
455
+ type: "Link";
456
+ id: string;
457
+ linkType: "ContentType";
458
+ }, {
459
+ type: "Link";
460
+ id: string;
461
+ linkType: "ContentType";
462
+ }>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ sys: {
465
+ type: "Link";
466
+ id: string;
467
+ linkType: "ContentType";
468
+ };
469
+ }, {
470
+ sys: {
471
+ type: "Link";
472
+ id: string;
473
+ linkType: "ContentType";
474
+ };
475
+ }>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ revision?: number | undefined;
478
+ space?: {
479
+ sys: {
480
+ type: "Link";
481
+ id: string;
482
+ linkType: "Space";
483
+ };
484
+ } | undefined;
485
+ environment?: {
486
+ sys: {
487
+ type: "Link";
488
+ id: string;
489
+ linkType: "Environment";
490
+ };
491
+ } | undefined;
492
+ type: string;
493
+ id: string;
494
+ createdAt: string;
495
+ updatedAt: string;
496
+ locale: string;
497
+ contentType: {
498
+ sys: {
499
+ type: "Link";
500
+ id: string;
501
+ linkType: "ContentType";
502
+ };
503
+ };
504
+ }, {
505
+ revision?: number | undefined;
506
+ space?: {
507
+ sys: {
508
+ type: "Link";
509
+ id: string;
510
+ linkType: "Space";
511
+ };
512
+ } | undefined;
513
+ environment?: {
514
+ sys: {
515
+ type: "Link";
516
+ id: string;
517
+ linkType: "Environment";
518
+ };
519
+ } | undefined;
520
+ type: string;
521
+ id: string;
522
+ createdAt: string;
523
+ updatedAt: string;
524
+ locale: string;
525
+ contentType: {
526
+ sys: {
527
+ type: "Link";
528
+ id: string;
529
+ linkType: "ContentType";
530
+ };
531
+ };
532
+ }>;
533
+ fields: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
534
+ metadata: z.ZodObject<{
535
+ tags: z.ZodArray<z.ZodObject<{
536
+ sys: z.ZodObject<z.extendShape<{
537
+ type: z.ZodLiteral<"Link">;
538
+ linkType: z.ZodString;
539
+ id: z.ZodString;
540
+ }, {
541
+ linkType: z.ZodLiteral<"Tag">;
542
+ }>, "strip", z.ZodTypeAny, {
543
+ type: "Link";
544
+ id: string;
545
+ linkType: "Tag";
546
+ }, {
547
+ type: "Link";
548
+ id: string;
549
+ linkType: "Tag";
550
+ }>;
551
+ }, "strip", z.ZodTypeAny, {
552
+ sys: {
553
+ type: "Link";
554
+ id: string;
555
+ linkType: "Tag";
556
+ };
557
+ }, {
558
+ sys: {
559
+ type: "Link";
560
+ id: string;
561
+ linkType: "Tag";
562
+ };
563
+ }>, "many">;
564
+ }, "strip", z.ZodTypeAny, {
565
+ tags: {
566
+ sys: {
567
+ type: "Link";
568
+ id: string;
569
+ linkType: "Tag";
570
+ };
571
+ }[];
572
+ }, {
573
+ tags: {
574
+ sys: {
575
+ type: "Link";
576
+ id: string;
577
+ linkType: "Tag";
578
+ };
579
+ }[];
580
+ }>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ sys: {
583
+ revision?: number | undefined;
584
+ space?: {
585
+ sys: {
586
+ type: "Link";
587
+ id: string;
588
+ linkType: "Space";
589
+ };
590
+ } | undefined;
591
+ environment?: {
592
+ sys: {
593
+ type: "Link";
594
+ id: string;
595
+ linkType: "Environment";
596
+ };
597
+ } | undefined;
598
+ type: string;
599
+ id: string;
600
+ createdAt: string;
601
+ updatedAt: string;
602
+ locale: string;
603
+ contentType: {
604
+ sys: {
605
+ type: "Link";
606
+ id: string;
607
+ linkType: "ContentType";
608
+ };
609
+ };
610
+ };
611
+ fields: {};
612
+ metadata: {
613
+ tags: {
614
+ sys: {
615
+ type: "Link";
616
+ id: string;
617
+ linkType: "Tag";
618
+ };
619
+ }[];
620
+ };
621
+ }, {
622
+ sys: {
623
+ revision?: number | undefined;
624
+ space?: {
625
+ sys: {
626
+ type: "Link";
627
+ id: string;
628
+ linkType: "Space";
629
+ };
630
+ } | undefined;
631
+ environment?: {
632
+ sys: {
633
+ type: "Link";
634
+ id: string;
635
+ linkType: "Environment";
636
+ };
637
+ } | undefined;
638
+ type: string;
639
+ id: string;
640
+ createdAt: string;
641
+ updatedAt: string;
642
+ locale: string;
643
+ contentType: {
644
+ sys: {
645
+ type: "Link";
646
+ id: string;
647
+ linkType: "ContentType";
648
+ };
649
+ };
650
+ };
651
+ fields: {};
652
+ metadata: {
653
+ tags: {
654
+ sys: {
655
+ type: "Link";
656
+ id: string;
657
+ linkType: "Tag";
658
+ };
659
+ }[];
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?: {
677
+ sys: {
678
+ revision?: number | undefined;
679
+ space?: {
680
+ sys: {
681
+ type: "Link";
682
+ id: string;
683
+ linkType: "Space";
684
+ };
685
+ } | undefined;
686
+ environment?: {
687
+ sys: {
688
+ type: "Link";
689
+ id: string;
690
+ linkType: "Environment";
691
+ };
692
+ } | undefined;
693
+ type: string;
694
+ id: string;
695
+ createdAt: string;
696
+ updatedAt: string;
697
+ locale: string;
698
+ contentType: {
699
+ sys: {
700
+ type: "Link";
701
+ id: string;
702
+ linkType: "ContentType";
703
+ };
704
+ };
705
+ };
706
+ fields: {
707
+ nt_name: string;
708
+ nt_audience_id: string;
709
+ };
710
+ metadata: {
711
+ tags: {
712
+ sys: {
713
+ type: "Link";
714
+ id: string;
715
+ linkType: "Tag";
716
+ };
717
+ }[];
718
+ };
719
+ } | null | undefined;
720
+ nt_name: string;
721
+ nt_type: "nt_experiment" | "nt_personalization";
722
+ nt_variants: {
723
+ sys: {
724
+ revision?: number | undefined;
725
+ space?: {
726
+ sys: {
727
+ type: "Link";
728
+ id: string;
729
+ linkType: "Space";
730
+ };
731
+ } | undefined;
732
+ environment?: {
733
+ sys: {
734
+ type: "Link";
735
+ id: string;
736
+ linkType: "Environment";
737
+ };
738
+ } | undefined;
739
+ type: string;
740
+ id: string;
741
+ createdAt: string;
742
+ updatedAt: string;
743
+ locale: string;
744
+ contentType: {
745
+ sys: {
746
+ type: "Link";
747
+ id: string;
748
+ linkType: "ContentType";
749
+ };
750
+ };
751
+ };
752
+ fields: {};
753
+ metadata: {
754
+ tags: {
755
+ sys: {
756
+ type: "Link";
757
+ id: string;
758
+ linkType: "Tag";
759
+ };
760
+ }[];
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?: {
778
+ sys: {
779
+ revision?: number | undefined;
780
+ space?: {
781
+ sys: {
782
+ type: "Link";
783
+ id: string;
784
+ linkType: "Space";
785
+ };
786
+ } | undefined;
787
+ environment?: {
788
+ sys: {
789
+ type: "Link";
790
+ id: string;
791
+ linkType: "Environment";
792
+ };
793
+ } | undefined;
794
+ type: string;
795
+ id: string;
796
+ createdAt: string;
797
+ updatedAt: string;
798
+ locale: string;
799
+ contentType: {
800
+ sys: {
801
+ type: "Link";
802
+ id: string;
803
+ linkType: "ContentType";
804
+ };
805
+ };
806
+ };
807
+ fields: {
808
+ nt_name: string;
809
+ nt_audience_id: string;
810
+ };
811
+ metadata: {
812
+ tags: {
813
+ sys: {
814
+ type: "Link";
815
+ id: string;
816
+ linkType: "Tag";
817
+ };
818
+ }[];
819
+ };
820
+ } | null | undefined;
821
+ nt_variants?: {
822
+ sys: {
823
+ revision?: number | undefined;
824
+ space?: {
825
+ sys: {
826
+ type: "Link";
827
+ id: string;
828
+ linkType: "Space";
829
+ };
830
+ } | undefined;
831
+ environment?: {
832
+ sys: {
833
+ type: "Link";
834
+ id: string;
835
+ linkType: "Environment";
836
+ };
837
+ } | undefined;
838
+ type: string;
839
+ id: string;
840
+ createdAt: string;
841
+ updatedAt: string;
842
+ locale: string;
843
+ contentType: {
844
+ sys: {
845
+ type: "Link";
846
+ id: string;
847
+ linkType: "ContentType";
848
+ };
849
+ };
850
+ };
851
+ fields: {};
852
+ metadata: {
853
+ tags: {
854
+ sys: {
855
+ type: "Link";
856
+ id: string;
857
+ linkType: "Tag";
858
+ };
859
+ }[];
860
+ };
861
+ }[] | undefined;
862
+ nt_name: string;
863
+ nt_type: "nt_experiment" | "nt_personalization";
864
+ }>;
865
+ export declare type ExperienceFields = z.infer<typeof ExperienceFields>;
866
+ export declare const ExperienceEntry: z.ZodObject<z.extendShape<{
867
+ sys: z.ZodObject<{
868
+ type: z.ZodString;
869
+ id: z.ZodString;
870
+ createdAt: z.ZodString;
871
+ updatedAt: z.ZodString;
872
+ locale: z.ZodString;
873
+ revision: z.ZodOptional<z.ZodNumber>;
874
+ space: z.ZodOptional<z.ZodObject<{
875
+ sys: z.ZodObject<z.extendShape<{
876
+ type: z.ZodLiteral<"Link">;
877
+ linkType: z.ZodString;
878
+ id: z.ZodString;
879
+ }, {
880
+ linkType: z.ZodLiteral<"Space">;
881
+ }>, "strip", z.ZodTypeAny, {
882
+ type: "Link";
883
+ id: string;
884
+ linkType: "Space";
885
+ }, {
886
+ type: "Link";
887
+ id: string;
888
+ linkType: "Space";
889
+ }>;
890
+ }, "strip", z.ZodTypeAny, {
891
+ sys: {
892
+ type: "Link";
893
+ id: string;
894
+ linkType: "Space";
895
+ };
896
+ }, {
897
+ sys: {
898
+ type: "Link";
899
+ id: string;
900
+ linkType: "Space";
901
+ };
902
+ }>>;
903
+ environment: z.ZodOptional<z.ZodObject<{
904
+ sys: z.ZodObject<z.extendShape<{
905
+ type: z.ZodLiteral<"Link">;
906
+ linkType: z.ZodString;
907
+ id: z.ZodString;
908
+ }, {
909
+ linkType: z.ZodLiteral<"Environment">;
910
+ }>, "strip", z.ZodTypeAny, {
911
+ type: "Link";
912
+ id: string;
913
+ linkType: "Environment";
914
+ }, {
915
+ type: "Link";
916
+ id: string;
917
+ linkType: "Environment";
918
+ }>;
919
+ }, "strip", z.ZodTypeAny, {
920
+ sys: {
921
+ type: "Link";
922
+ id: string;
923
+ linkType: "Environment";
924
+ };
925
+ }, {
926
+ sys: {
927
+ type: "Link";
928
+ id: string;
929
+ linkType: "Environment";
930
+ };
931
+ }>>;
932
+ contentType: z.ZodObject<{
933
+ sys: z.ZodObject<z.extendShape<{
934
+ type: z.ZodLiteral<"Link">;
935
+ linkType: z.ZodString;
936
+ id: z.ZodString;
937
+ }, {
938
+ linkType: z.ZodLiteral<"ContentType">;
939
+ }>, "strip", z.ZodTypeAny, {
940
+ type: "Link";
941
+ id: string;
942
+ linkType: "ContentType";
943
+ }, {
944
+ type: "Link";
945
+ id: string;
946
+ linkType: "ContentType";
947
+ }>;
948
+ }, "strip", z.ZodTypeAny, {
949
+ sys: {
950
+ type: "Link";
951
+ id: string;
952
+ linkType: "ContentType";
953
+ };
954
+ }, {
955
+ sys: {
956
+ type: "Link";
957
+ id: string;
958
+ linkType: "ContentType";
959
+ };
960
+ }>;
961
+ }, "strip", z.ZodTypeAny, {
962
+ revision?: number | undefined;
963
+ space?: {
964
+ sys: {
965
+ type: "Link";
966
+ id: string;
967
+ linkType: "Space";
968
+ };
969
+ } | undefined;
970
+ environment?: {
971
+ sys: {
972
+ type: "Link";
973
+ id: string;
974
+ linkType: "Environment";
975
+ };
976
+ } | undefined;
977
+ type: string;
978
+ id: string;
979
+ createdAt: string;
980
+ updatedAt: string;
981
+ locale: string;
982
+ contentType: {
983
+ sys: {
984
+ type: "Link";
985
+ id: string;
986
+ linkType: "ContentType";
987
+ };
988
+ };
989
+ }, {
990
+ revision?: number | undefined;
991
+ space?: {
992
+ sys: {
993
+ type: "Link";
994
+ id: string;
995
+ linkType: "Space";
996
+ };
997
+ } | undefined;
998
+ environment?: {
999
+ sys: {
1000
+ type: "Link";
1001
+ id: string;
1002
+ linkType: "Environment";
1003
+ };
1004
+ } | undefined;
1005
+ type: string;
1006
+ id: string;
1007
+ createdAt: string;
1008
+ updatedAt: string;
1009
+ locale: string;
1010
+ contentType: {
1011
+ sys: {
1012
+ type: "Link";
1013
+ id: string;
1014
+ linkType: "ContentType";
1015
+ };
1016
+ };
1017
+ }>;
1018
+ fields: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1019
+ metadata: z.ZodObject<{
1020
+ tags: z.ZodArray<z.ZodObject<{
1021
+ sys: z.ZodObject<z.extendShape<{
1022
+ type: z.ZodLiteral<"Link">;
1023
+ linkType: z.ZodString;
1024
+ id: z.ZodString;
1025
+ }, {
1026
+ linkType: z.ZodLiteral<"Tag">;
1027
+ }>, "strip", z.ZodTypeAny, {
1028
+ type: "Link";
1029
+ id: string;
1030
+ linkType: "Tag";
1031
+ }, {
1032
+ type: "Link";
1033
+ id: string;
1034
+ linkType: "Tag";
1035
+ }>;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ sys: {
1038
+ type: "Link";
1039
+ id: string;
1040
+ linkType: "Tag";
1041
+ };
1042
+ }, {
1043
+ sys: {
1044
+ type: "Link";
1045
+ id: string;
1046
+ linkType: "Tag";
1047
+ };
1048
+ }>, "many">;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ tags: {
1051
+ sys: {
1052
+ type: "Link";
1053
+ id: string;
1054
+ linkType: "Tag";
1055
+ };
1056
+ }[];
1057
+ }, {
1058
+ tags: {
1059
+ sys: {
1060
+ type: "Link";
1061
+ id: string;
1062
+ linkType: "Tag";
1063
+ };
1064
+ }[];
1065
+ }>;
1066
+ }, {
1067
+ fields: z.ZodObject<{
1068
+ /**
1069
+ * The name of the experience (Short Text)
1070
+ */
1071
+ nt_name: z.ZodString;
1072
+ /**
1073
+ * The type if the experience (nt_experiment | nt_personalization)
1074
+ */
1075
+ nt_type: z.ZodUnion<[z.ZodLiteral<"nt_experiment">, z.ZodLiteral<"nt_personalization">]>;
1076
+ /**
1077
+ * The config of the experience (JSON)
1078
+ */
1079
+ nt_config: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1080
+ distribution: z.ZodArray<z.ZodNumber, "many">;
1081
+ traffic: z.ZodNumber;
1082
+ components: z.ZodArray<z.ZodObject<{
1083
+ baseline: z.ZodObject<{
1084
+ id: z.ZodString;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ id: string;
1087
+ }, {
1088
+ id: string;
1089
+ }>;
1090
+ variants: z.ZodArray<z.ZodObject<{
1091
+ id: z.ZodString;
1092
+ hidden: z.ZodBoolean;
1093
+ }, "strip", z.ZodTypeAny, {
1094
+ id: string;
1095
+ hidden: boolean;
1096
+ }, {
1097
+ id: string;
1098
+ hidden: boolean;
1099
+ }>, "many">;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ baseline: {
1102
+ id: string;
1103
+ };
1104
+ variants: {
1105
+ id: string;
1106
+ hidden: boolean;
1107
+ }[];
1108
+ }, {
1109
+ baseline: {
1110
+ id: string;
1111
+ };
1112
+ variants: {
1113
+ id: string;
1114
+ hidden: boolean;
1115
+ }[];
1116
+ }>, "many">;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ distribution: number[];
1119
+ traffic: number;
1120
+ components: {
1121
+ baseline: {
1122
+ id: string;
1123
+ };
1124
+ variants: {
1125
+ id: string;
1126
+ hidden: boolean;
1127
+ }[];
1128
+ }[];
1129
+ }, {
1130
+ distribution: number[];
1131
+ traffic: number;
1132
+ components: {
1133
+ baseline: {
1134
+ id: string;
1135
+ };
1136
+ variants: {
1137
+ id: string;
1138
+ hidden: boolean;
1139
+ }[];
1140
+ }[];
1141
+ }>>>;
1142
+ /**
1143
+ * The audience of the experience (Audience)
1144
+ */
1145
+ nt_audience: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
1146
+ sys: z.ZodObject<{
1147
+ type: z.ZodString;
1148
+ id: z.ZodString;
1149
+ createdAt: z.ZodString;
1150
+ updatedAt: z.ZodString;
1151
+ locale: z.ZodString;
1152
+ revision: z.ZodOptional<z.ZodNumber>;
1153
+ space: z.ZodOptional<z.ZodObject<{
1154
+ sys: z.ZodObject<z.extendShape<{
1155
+ type: z.ZodLiteral<"Link">;
1156
+ linkType: z.ZodString;
1157
+ id: z.ZodString;
1158
+ }, {
1159
+ linkType: z.ZodLiteral<"Space">;
1160
+ }>, "strip", z.ZodTypeAny, {
1161
+ type: "Link";
1162
+ id: string;
1163
+ linkType: "Space";
1164
+ }, {
1165
+ type: "Link";
1166
+ id: string;
1167
+ linkType: "Space";
1168
+ }>;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ sys: {
1171
+ type: "Link";
1172
+ id: string;
1173
+ linkType: "Space";
1174
+ };
1175
+ }, {
1176
+ sys: {
1177
+ type: "Link";
1178
+ id: string;
1179
+ linkType: "Space";
1180
+ };
1181
+ }>>;
1182
+ environment: z.ZodOptional<z.ZodObject<{
1183
+ sys: z.ZodObject<z.extendShape<{
1184
+ type: z.ZodLiteral<"Link">;
1185
+ linkType: z.ZodString;
1186
+ id: z.ZodString;
1187
+ }, {
1188
+ linkType: z.ZodLiteral<"Environment">;
1189
+ }>, "strip", z.ZodTypeAny, {
1190
+ type: "Link";
1191
+ id: string;
1192
+ linkType: "Environment";
1193
+ }, {
1194
+ type: "Link";
1195
+ id: string;
1196
+ linkType: "Environment";
1197
+ }>;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ sys: {
1200
+ type: "Link";
1201
+ id: string;
1202
+ linkType: "Environment";
1203
+ };
1204
+ }, {
1205
+ sys: {
1206
+ type: "Link";
1207
+ id: string;
1208
+ linkType: "Environment";
1209
+ };
1210
+ }>>;
1211
+ contentType: z.ZodObject<{
1212
+ sys: z.ZodObject<z.extendShape<{
1213
+ type: z.ZodLiteral<"Link">;
1214
+ linkType: z.ZodString;
1215
+ id: z.ZodString;
1216
+ }, {
1217
+ linkType: z.ZodLiteral<"ContentType">;
1218
+ }>, "strip", z.ZodTypeAny, {
1219
+ type: "Link";
1220
+ id: string;
1221
+ linkType: "ContentType";
1222
+ }, {
1223
+ type: "Link";
1224
+ id: string;
1225
+ linkType: "ContentType";
1226
+ }>;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ sys: {
1229
+ type: "Link";
1230
+ id: string;
1231
+ linkType: "ContentType";
1232
+ };
1233
+ }, {
1234
+ sys: {
1235
+ type: "Link";
1236
+ id: string;
1237
+ linkType: "ContentType";
1238
+ };
1239
+ }>;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ revision?: number | undefined;
1242
+ space?: {
1243
+ sys: {
1244
+ type: "Link";
1245
+ id: string;
1246
+ linkType: "Space";
1247
+ };
1248
+ } | undefined;
1249
+ environment?: {
1250
+ sys: {
1251
+ type: "Link";
1252
+ id: string;
1253
+ linkType: "Environment";
1254
+ };
1255
+ } | undefined;
1256
+ type: string;
1257
+ id: string;
1258
+ createdAt: string;
1259
+ updatedAt: string;
1260
+ locale: string;
1261
+ contentType: {
1262
+ sys: {
1263
+ type: "Link";
1264
+ id: string;
1265
+ linkType: "ContentType";
1266
+ };
1267
+ };
1268
+ }, {
1269
+ revision?: number | undefined;
1270
+ space?: {
1271
+ sys: {
1272
+ type: "Link";
1273
+ id: string;
1274
+ linkType: "Space";
1275
+ };
1276
+ } | undefined;
1277
+ environment?: {
1278
+ sys: {
1279
+ type: "Link";
1280
+ id: string;
1281
+ linkType: "Environment";
1282
+ };
1283
+ } | undefined;
1284
+ type: string;
1285
+ id: string;
1286
+ createdAt: string;
1287
+ updatedAt: string;
1288
+ locale: string;
1289
+ contentType: {
1290
+ sys: {
1291
+ type: "Link";
1292
+ id: string;
1293
+ linkType: "ContentType";
1294
+ };
1295
+ };
1296
+ }>;
1297
+ fields: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1298
+ metadata: z.ZodObject<{
1299
+ tags: z.ZodArray<z.ZodObject<{
1300
+ sys: z.ZodObject<z.extendShape<{
1301
+ type: z.ZodLiteral<"Link">;
1302
+ linkType: z.ZodString;
1303
+ id: z.ZodString;
1304
+ }, {
1305
+ linkType: z.ZodLiteral<"Tag">;
1306
+ }>, "strip", z.ZodTypeAny, {
1307
+ type: "Link";
1308
+ id: string;
1309
+ linkType: "Tag";
1310
+ }, {
1311
+ type: "Link";
1312
+ id: string;
1313
+ linkType: "Tag";
1314
+ }>;
1315
+ }, "strip", z.ZodTypeAny, {
1316
+ sys: {
1317
+ type: "Link";
1318
+ id: string;
1319
+ linkType: "Tag";
1320
+ };
1321
+ }, {
1322
+ sys: {
1323
+ type: "Link";
1324
+ id: string;
1325
+ linkType: "Tag";
1326
+ };
1327
+ }>, "many">;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ tags: {
1330
+ sys: {
1331
+ type: "Link";
1332
+ id: string;
1333
+ linkType: "Tag";
1334
+ };
1335
+ }[];
1336
+ }, {
1337
+ tags: {
1338
+ sys: {
1339
+ type: "Link";
1340
+ id: string;
1341
+ linkType: "Tag";
1342
+ };
1343
+ }[];
1344
+ }>;
1345
+ }, {
1346
+ fields: z.ZodObject<{
1347
+ nt_name: z.ZodString;
1348
+ nt_audience_id: z.ZodString;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ nt_name: string;
1351
+ nt_audience_id: string;
1352
+ }, {
1353
+ nt_name: string;
1354
+ nt_audience_id: string;
1355
+ }>;
1356
+ }>, "strip", z.ZodTypeAny, {
1357
+ sys: {
1358
+ revision?: number | undefined;
1359
+ space?: {
1360
+ sys: {
1361
+ type: "Link";
1362
+ id: string;
1363
+ linkType: "Space";
1364
+ };
1365
+ } | undefined;
1366
+ environment?: {
1367
+ sys: {
1368
+ type: "Link";
1369
+ id: string;
1370
+ linkType: "Environment";
1371
+ };
1372
+ } | undefined;
1373
+ type: string;
1374
+ id: string;
1375
+ createdAt: string;
1376
+ updatedAt: string;
1377
+ locale: string;
1378
+ contentType: {
1379
+ sys: {
1380
+ type: "Link";
1381
+ id: string;
1382
+ linkType: "ContentType";
1383
+ };
1384
+ };
1385
+ };
1386
+ fields: {
1387
+ nt_name: string;
1388
+ nt_audience_id: string;
1389
+ };
1390
+ metadata: {
1391
+ tags: {
1392
+ sys: {
1393
+ type: "Link";
1394
+ id: string;
1395
+ linkType: "Tag";
1396
+ };
1397
+ }[];
1398
+ };
1399
+ }, {
1400
+ sys: {
1401
+ revision?: number | undefined;
1402
+ space?: {
1403
+ sys: {
1404
+ type: "Link";
1405
+ id: string;
1406
+ linkType: "Space";
1407
+ };
1408
+ } | undefined;
1409
+ environment?: {
1410
+ sys: {
1411
+ type: "Link";
1412
+ id: string;
1413
+ linkType: "Environment";
1414
+ };
1415
+ } | undefined;
1416
+ type: string;
1417
+ id: string;
1418
+ createdAt: string;
1419
+ updatedAt: string;
1420
+ locale: string;
1421
+ contentType: {
1422
+ sys: {
1423
+ type: "Link";
1424
+ id: string;
1425
+ linkType: "ContentType";
1426
+ };
1427
+ };
1428
+ };
1429
+ fields: {
1430
+ nt_name: string;
1431
+ nt_audience_id: string;
1432
+ };
1433
+ metadata: {
1434
+ tags: {
1435
+ sys: {
1436
+ type: "Link";
1437
+ id: string;
1438
+ linkType: "Tag";
1439
+ };
1440
+ }[];
1441
+ };
1442
+ }>>>;
1443
+ /**
1444
+ * All used variants of the experience (Contentful references to other Content Types)
1445
+ */
1446
+ nt_variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
1447
+ sys: z.ZodObject<{
1448
+ type: z.ZodString;
1449
+ id: z.ZodString;
1450
+ createdAt: z.ZodString;
1451
+ updatedAt: z.ZodString;
1452
+ locale: z.ZodString;
1453
+ revision: z.ZodOptional<z.ZodNumber>;
1454
+ space: z.ZodOptional<z.ZodObject<{
1455
+ sys: z.ZodObject<z.extendShape<{
1456
+ type: z.ZodLiteral<"Link">;
1457
+ linkType: z.ZodString;
1458
+ id: z.ZodString;
1459
+ }, {
1460
+ linkType: z.ZodLiteral<"Space">;
1461
+ }>, "strip", z.ZodTypeAny, {
1462
+ type: "Link";
1463
+ id: string;
1464
+ linkType: "Space";
1465
+ }, {
1466
+ type: "Link";
1467
+ id: string;
1468
+ linkType: "Space";
1469
+ }>;
1470
+ }, "strip", z.ZodTypeAny, {
1471
+ sys: {
1472
+ type: "Link";
1473
+ id: string;
1474
+ linkType: "Space";
1475
+ };
1476
+ }, {
1477
+ sys: {
1478
+ type: "Link";
1479
+ id: string;
1480
+ linkType: "Space";
1481
+ };
1482
+ }>>;
1483
+ environment: z.ZodOptional<z.ZodObject<{
1484
+ sys: z.ZodObject<z.extendShape<{
1485
+ type: z.ZodLiteral<"Link">;
1486
+ linkType: z.ZodString;
1487
+ id: z.ZodString;
1488
+ }, {
1489
+ linkType: z.ZodLiteral<"Environment">;
1490
+ }>, "strip", z.ZodTypeAny, {
1491
+ type: "Link";
1492
+ id: string;
1493
+ linkType: "Environment";
1494
+ }, {
1495
+ type: "Link";
1496
+ id: string;
1497
+ linkType: "Environment";
1498
+ }>;
1499
+ }, "strip", z.ZodTypeAny, {
1500
+ sys: {
1501
+ type: "Link";
1502
+ id: string;
1503
+ linkType: "Environment";
1504
+ };
1505
+ }, {
1506
+ sys: {
1507
+ type: "Link";
1508
+ id: string;
1509
+ linkType: "Environment";
1510
+ };
1511
+ }>>;
1512
+ contentType: z.ZodObject<{
1513
+ sys: z.ZodObject<z.extendShape<{
1514
+ type: z.ZodLiteral<"Link">;
1515
+ linkType: z.ZodString;
1516
+ id: z.ZodString;
1517
+ }, {
1518
+ linkType: z.ZodLiteral<"ContentType">;
1519
+ }>, "strip", z.ZodTypeAny, {
1520
+ type: "Link";
1521
+ id: string;
1522
+ linkType: "ContentType";
1523
+ }, {
1524
+ type: "Link";
1525
+ id: string;
1526
+ linkType: "ContentType";
1527
+ }>;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ sys: {
1530
+ type: "Link";
1531
+ id: string;
1532
+ linkType: "ContentType";
1533
+ };
1534
+ }, {
1535
+ sys: {
1536
+ type: "Link";
1537
+ id: string;
1538
+ linkType: "ContentType";
1539
+ };
1540
+ }>;
1541
+ }, "strip", z.ZodTypeAny, {
1542
+ revision?: number | undefined;
1543
+ space?: {
1544
+ sys: {
1545
+ type: "Link";
1546
+ id: string;
1547
+ linkType: "Space";
1548
+ };
1549
+ } | undefined;
1550
+ environment?: {
1551
+ sys: {
1552
+ type: "Link";
1553
+ id: string;
1554
+ linkType: "Environment";
1555
+ };
1556
+ } | undefined;
1557
+ type: string;
1558
+ id: string;
1559
+ createdAt: string;
1560
+ updatedAt: string;
1561
+ locale: string;
1562
+ contentType: {
1563
+ sys: {
1564
+ type: "Link";
1565
+ id: string;
1566
+ linkType: "ContentType";
1567
+ };
1568
+ };
1569
+ }, {
1570
+ revision?: number | undefined;
1571
+ space?: {
1572
+ sys: {
1573
+ type: "Link";
1574
+ id: string;
1575
+ linkType: "Space";
1576
+ };
1577
+ } | undefined;
1578
+ environment?: {
1579
+ sys: {
1580
+ type: "Link";
1581
+ id: string;
1582
+ linkType: "Environment";
1583
+ };
1584
+ } | undefined;
1585
+ type: string;
1586
+ id: string;
1587
+ createdAt: string;
1588
+ updatedAt: string;
1589
+ locale: string;
1590
+ contentType: {
1591
+ sys: {
1592
+ type: "Link";
1593
+ id: string;
1594
+ linkType: "ContentType";
1595
+ };
1596
+ };
1597
+ }>;
1598
+ fields: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1599
+ metadata: z.ZodObject<{
1600
+ tags: z.ZodArray<z.ZodObject<{
1601
+ sys: z.ZodObject<z.extendShape<{
1602
+ type: z.ZodLiteral<"Link">;
1603
+ linkType: z.ZodString;
1604
+ id: z.ZodString;
1605
+ }, {
1606
+ linkType: z.ZodLiteral<"Tag">;
1607
+ }>, "strip", z.ZodTypeAny, {
1608
+ type: "Link";
1609
+ id: string;
1610
+ linkType: "Tag";
1611
+ }, {
1612
+ type: "Link";
1613
+ id: string;
1614
+ linkType: "Tag";
1615
+ }>;
1616
+ }, "strip", z.ZodTypeAny, {
1617
+ sys: {
1618
+ type: "Link";
1619
+ id: string;
1620
+ linkType: "Tag";
1621
+ };
1622
+ }, {
1623
+ sys: {
1624
+ type: "Link";
1625
+ id: string;
1626
+ linkType: "Tag";
1627
+ };
1628
+ }>, "many">;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ tags: {
1631
+ sys: {
1632
+ type: "Link";
1633
+ id: string;
1634
+ linkType: "Tag";
1635
+ };
1636
+ }[];
1637
+ }, {
1638
+ tags: {
1639
+ sys: {
1640
+ type: "Link";
1641
+ id: string;
1642
+ linkType: "Tag";
1643
+ };
1644
+ }[];
1645
+ }>;
1646
+ }, "strip", z.ZodTypeAny, {
1647
+ sys: {
1648
+ revision?: number | undefined;
1649
+ space?: {
1650
+ sys: {
1651
+ type: "Link";
1652
+ id: string;
1653
+ linkType: "Space";
1654
+ };
1655
+ } | undefined;
1656
+ environment?: {
1657
+ sys: {
1658
+ type: "Link";
1659
+ id: string;
1660
+ linkType: "Environment";
1661
+ };
1662
+ } | undefined;
1663
+ type: string;
1664
+ id: string;
1665
+ createdAt: string;
1666
+ updatedAt: string;
1667
+ locale: string;
1668
+ contentType: {
1669
+ sys: {
1670
+ type: "Link";
1671
+ id: string;
1672
+ linkType: "ContentType";
1673
+ };
1674
+ };
1675
+ };
1676
+ fields: {};
1677
+ metadata: {
1678
+ tags: {
1679
+ sys: {
1680
+ type: "Link";
1681
+ id: string;
1682
+ linkType: "Tag";
1683
+ };
1684
+ }[];
1685
+ };
1686
+ }, {
1687
+ sys: {
1688
+ revision?: number | undefined;
1689
+ space?: {
1690
+ sys: {
1691
+ type: "Link";
1692
+ id: string;
1693
+ linkType: "Space";
1694
+ };
1695
+ } | undefined;
1696
+ environment?: {
1697
+ sys: {
1698
+ type: "Link";
1699
+ id: string;
1700
+ linkType: "Environment";
1701
+ };
1702
+ } | undefined;
1703
+ type: string;
1704
+ id: string;
1705
+ createdAt: string;
1706
+ updatedAt: string;
1707
+ locale: string;
1708
+ contentType: {
1709
+ sys: {
1710
+ type: "Link";
1711
+ id: string;
1712
+ linkType: "ContentType";
1713
+ };
1714
+ };
1715
+ };
1716
+ fields: {};
1717
+ metadata: {
1718
+ tags: {
1719
+ sys: {
1720
+ type: "Link";
1721
+ id: string;
1722
+ linkType: "Tag";
1723
+ };
1724
+ }[];
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?: {
1742
+ sys: {
1743
+ revision?: number | undefined;
1744
+ space?: {
1745
+ sys: {
1746
+ type: "Link";
1747
+ id: string;
1748
+ linkType: "Space";
1749
+ };
1750
+ } | undefined;
1751
+ environment?: {
1752
+ sys: {
1753
+ type: "Link";
1754
+ id: string;
1755
+ linkType: "Environment";
1756
+ };
1757
+ } | undefined;
1758
+ type: string;
1759
+ id: string;
1760
+ createdAt: string;
1761
+ updatedAt: string;
1762
+ locale: string;
1763
+ contentType: {
1764
+ sys: {
1765
+ type: "Link";
1766
+ id: string;
1767
+ linkType: "ContentType";
1768
+ };
1769
+ };
1770
+ };
1771
+ fields: {
1772
+ nt_name: string;
1773
+ nt_audience_id: string;
1774
+ };
1775
+ metadata: {
1776
+ tags: {
1777
+ sys: {
1778
+ type: "Link";
1779
+ id: string;
1780
+ linkType: "Tag";
1781
+ };
1782
+ }[];
1783
+ };
1784
+ } | null | undefined;
1785
+ nt_name: string;
1786
+ nt_type: "nt_experiment" | "nt_personalization";
1787
+ nt_variants: {
1788
+ sys: {
1789
+ revision?: number | undefined;
1790
+ space?: {
1791
+ sys: {
1792
+ type: "Link";
1793
+ id: string;
1794
+ linkType: "Space";
1795
+ };
1796
+ } | undefined;
1797
+ environment?: {
1798
+ sys: {
1799
+ type: "Link";
1800
+ id: string;
1801
+ linkType: "Environment";
1802
+ };
1803
+ } | undefined;
1804
+ type: string;
1805
+ id: string;
1806
+ createdAt: string;
1807
+ updatedAt: string;
1808
+ locale: string;
1809
+ contentType: {
1810
+ sys: {
1811
+ type: "Link";
1812
+ id: string;
1813
+ linkType: "ContentType";
1814
+ };
1815
+ };
1816
+ };
1817
+ fields: {};
1818
+ metadata: {
1819
+ tags: {
1820
+ sys: {
1821
+ type: "Link";
1822
+ id: string;
1823
+ linkType: "Tag";
1824
+ };
1825
+ }[];
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?: {
1843
+ sys: {
1844
+ revision?: number | undefined;
1845
+ space?: {
1846
+ sys: {
1847
+ type: "Link";
1848
+ id: string;
1849
+ linkType: "Space";
1850
+ };
1851
+ } | undefined;
1852
+ environment?: {
1853
+ sys: {
1854
+ type: "Link";
1855
+ id: string;
1856
+ linkType: "Environment";
1857
+ };
1858
+ } | undefined;
1859
+ type: string;
1860
+ id: string;
1861
+ createdAt: string;
1862
+ updatedAt: string;
1863
+ locale: string;
1864
+ contentType: {
1865
+ sys: {
1866
+ type: "Link";
1867
+ id: string;
1868
+ linkType: "ContentType";
1869
+ };
1870
+ };
1871
+ };
1872
+ fields: {
1873
+ nt_name: string;
1874
+ nt_audience_id: string;
1875
+ };
1876
+ metadata: {
1877
+ tags: {
1878
+ sys: {
1879
+ type: "Link";
1880
+ id: string;
1881
+ linkType: "Tag";
1882
+ };
1883
+ }[];
1884
+ };
1885
+ } | null | undefined;
1886
+ nt_variants?: {
1887
+ sys: {
1888
+ revision?: number | undefined;
1889
+ space?: {
1890
+ sys: {
1891
+ type: "Link";
1892
+ id: string;
1893
+ linkType: "Space";
1894
+ };
1895
+ } | undefined;
1896
+ environment?: {
1897
+ sys: {
1898
+ type: "Link";
1899
+ id: string;
1900
+ linkType: "Environment";
1901
+ };
1902
+ } | undefined;
1903
+ type: string;
1904
+ id: string;
1905
+ createdAt: string;
1906
+ updatedAt: string;
1907
+ locale: string;
1908
+ contentType: {
1909
+ sys: {
1910
+ type: "Link";
1911
+ id: string;
1912
+ linkType: "ContentType";
1913
+ };
1914
+ };
1915
+ };
1916
+ fields: {};
1917
+ metadata: {
1918
+ tags: {
1919
+ sys: {
1920
+ type: "Link";
1921
+ id: string;
1922
+ linkType: "Tag";
1923
+ };
1924
+ }[];
1925
+ };
1926
+ }[] | undefined;
1927
+ nt_name: string;
1928
+ nt_type: "nt_experiment" | "nt_personalization";
1929
+ }>;
1930
+ }>, "strip", z.ZodTypeAny, {
1931
+ sys: {
1932
+ revision?: number | undefined;
1933
+ space?: {
1934
+ sys: {
1935
+ type: "Link";
1936
+ id: string;
1937
+ linkType: "Space";
1938
+ };
1939
+ } | undefined;
1940
+ environment?: {
1941
+ sys: {
1942
+ type: "Link";
1943
+ id: string;
1944
+ linkType: "Environment";
1945
+ };
1946
+ } | undefined;
1947
+ type: string;
1948
+ id: string;
1949
+ createdAt: string;
1950
+ updatedAt: string;
1951
+ locale: string;
1952
+ contentType: {
1953
+ sys: {
1954
+ type: "Link";
1955
+ id: string;
1956
+ linkType: "ContentType";
1957
+ };
1958
+ };
1959
+ };
1960
+ 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
+ nt_audience?: {
1975
+ sys: {
1976
+ revision?: number | undefined;
1977
+ space?: {
1978
+ sys: {
1979
+ type: "Link";
1980
+ id: string;
1981
+ linkType: "Space";
1982
+ };
1983
+ } | undefined;
1984
+ environment?: {
1985
+ sys: {
1986
+ type: "Link";
1987
+ id: string;
1988
+ linkType: "Environment";
1989
+ };
1990
+ } | undefined;
1991
+ type: string;
1992
+ id: string;
1993
+ createdAt: string;
1994
+ updatedAt: string;
1995
+ locale: string;
1996
+ contentType: {
1997
+ sys: {
1998
+ type: "Link";
1999
+ id: string;
2000
+ linkType: "ContentType";
2001
+ };
2002
+ };
2003
+ };
2004
+ fields: {
2005
+ nt_name: string;
2006
+ nt_audience_id: string;
2007
+ };
2008
+ metadata: {
2009
+ tags: {
2010
+ sys: {
2011
+ type: "Link";
2012
+ id: string;
2013
+ linkType: "Tag";
2014
+ };
2015
+ }[];
2016
+ };
2017
+ } | null | undefined;
2018
+ nt_name: string;
2019
+ nt_type: "nt_experiment" | "nt_personalization";
2020
+ nt_variants: {
2021
+ sys: {
2022
+ revision?: number | undefined;
2023
+ space?: {
2024
+ sys: {
2025
+ type: "Link";
2026
+ id: string;
2027
+ linkType: "Space";
2028
+ };
2029
+ } | undefined;
2030
+ environment?: {
2031
+ sys: {
2032
+ type: "Link";
2033
+ id: string;
2034
+ linkType: "Environment";
2035
+ };
2036
+ } | undefined;
2037
+ type: string;
2038
+ id: string;
2039
+ createdAt: string;
2040
+ updatedAt: string;
2041
+ locale: string;
2042
+ contentType: {
2043
+ sys: {
2044
+ type: "Link";
2045
+ id: string;
2046
+ linkType: "ContentType";
2047
+ };
2048
+ };
2049
+ };
2050
+ fields: {};
2051
+ metadata: {
2052
+ tags: {
2053
+ sys: {
2054
+ type: "Link";
2055
+ id: string;
2056
+ linkType: "Tag";
2057
+ };
2058
+ }[];
2059
+ };
2060
+ }[];
2061
+ };
2062
+ metadata: {
2063
+ tags: {
2064
+ sys: {
2065
+ type: "Link";
2066
+ id: string;
2067
+ linkType: "Tag";
2068
+ };
2069
+ }[];
2070
+ };
2071
+ }, {
2072
+ sys: {
2073
+ revision?: number | undefined;
2074
+ space?: {
2075
+ sys: {
2076
+ type: "Link";
2077
+ id: string;
2078
+ linkType: "Space";
2079
+ };
2080
+ } | undefined;
2081
+ environment?: {
2082
+ sys: {
2083
+ type: "Link";
2084
+ id: string;
2085
+ linkType: "Environment";
2086
+ };
2087
+ } | undefined;
2088
+ type: string;
2089
+ id: string;
2090
+ createdAt: string;
2091
+ updatedAt: string;
2092
+ locale: string;
2093
+ contentType: {
2094
+ sys: {
2095
+ type: "Link";
2096
+ id: string;
2097
+ linkType: "ContentType";
2098
+ };
2099
+ };
2100
+ };
2101
+ 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
+ nt_audience?: {
2116
+ sys: {
2117
+ revision?: number | undefined;
2118
+ space?: {
2119
+ sys: {
2120
+ type: "Link";
2121
+ id: string;
2122
+ linkType: "Space";
2123
+ };
2124
+ } | undefined;
2125
+ environment?: {
2126
+ sys: {
2127
+ type: "Link";
2128
+ id: string;
2129
+ linkType: "Environment";
2130
+ };
2131
+ } | undefined;
2132
+ type: string;
2133
+ id: string;
2134
+ createdAt: string;
2135
+ updatedAt: string;
2136
+ locale: string;
2137
+ contentType: {
2138
+ sys: {
2139
+ type: "Link";
2140
+ id: string;
2141
+ linkType: "ContentType";
2142
+ };
2143
+ };
2144
+ };
2145
+ fields: {
2146
+ nt_name: string;
2147
+ nt_audience_id: string;
2148
+ };
2149
+ metadata: {
2150
+ tags: {
2151
+ sys: {
2152
+ type: "Link";
2153
+ id: string;
2154
+ linkType: "Tag";
2155
+ };
2156
+ }[];
2157
+ };
2158
+ } | null | undefined;
2159
+ nt_variants?: {
2160
+ sys: {
2161
+ revision?: number | undefined;
2162
+ space?: {
2163
+ sys: {
2164
+ type: "Link";
2165
+ id: string;
2166
+ linkType: "Space";
2167
+ };
2168
+ } | undefined;
2169
+ environment?: {
2170
+ sys: {
2171
+ type: "Link";
2172
+ id: string;
2173
+ linkType: "Environment";
2174
+ };
2175
+ } | undefined;
2176
+ type: string;
2177
+ id: string;
2178
+ createdAt: string;
2179
+ updatedAt: string;
2180
+ locale: string;
2181
+ contentType: {
2182
+ sys: {
2183
+ type: "Link";
2184
+ id: string;
2185
+ linkType: "ContentType";
2186
+ };
2187
+ };
2188
+ };
2189
+ fields: {};
2190
+ metadata: {
2191
+ tags: {
2192
+ sys: {
2193
+ type: "Link";
2194
+ id: string;
2195
+ linkType: "Tag";
2196
+ };
2197
+ }[];
2198
+ };
2199
+ }[] | undefined;
2200
+ nt_name: string;
2201
+ nt_type: "nt_experiment" | "nt_personalization";
2202
+ };
2203
+ metadata: {
2204
+ tags: {
2205
+ sys: {
2206
+ type: "Link";
2207
+ id: string;
2208
+ linkType: "Tag";
2209
+ };
2210
+ }[];
2211
+ };
2212
+ }>;
2213
+ export declare type ExperienceEntry = z.infer<typeof ExperienceEntry>;