@ninetailed/experience.js-utils 3.3.0-beta.0 → 3.3.1-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.cjs +12 -2
- package/index.js +12 -2
- package/package.json +3 -3
- package/types/Audience.d.ts +6 -0
- package/types/Experience.d.ts +327 -84
package/index.cjs
CHANGED
|
@@ -6,7 +6,9 @@ var experience_jsShared = require('@ninetailed/experience.js-shared');
|
|
|
6
6
|
var zod = require('zod');
|
|
7
7
|
|
|
8
8
|
const Audience = zod.z.object({
|
|
9
|
-
id: zod.z.string()
|
|
9
|
+
id: zod.z.string(),
|
|
10
|
+
name: zod.z.string().optional(),
|
|
11
|
+
description: zod.z.string().optional()
|
|
10
12
|
});
|
|
11
13
|
|
|
12
14
|
const Config = zod.z.object({
|
|
@@ -72,6 +74,10 @@ const ExperienceSchema = zod.z.object({
|
|
|
72
74
|
* The name of the experience (Short Text)
|
|
73
75
|
*/
|
|
74
76
|
name: zod.z.string(),
|
|
77
|
+
/**
|
|
78
|
+
* The description of the experience (Short Text)
|
|
79
|
+
*/
|
|
80
|
+
description: zod.z.string().optional(),
|
|
75
81
|
/**
|
|
76
82
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
77
83
|
*/
|
|
@@ -149,6 +155,8 @@ class ExperienceMapper {
|
|
|
149
155
|
const {
|
|
150
156
|
id,
|
|
151
157
|
type,
|
|
158
|
+
name,
|
|
159
|
+
description,
|
|
152
160
|
audience,
|
|
153
161
|
config,
|
|
154
162
|
variants
|
|
@@ -159,7 +167,9 @@ class ExperienceMapper {
|
|
|
159
167
|
} = config;
|
|
160
168
|
return Object.assign(Object.assign({
|
|
161
169
|
id,
|
|
162
|
-
type: type
|
|
170
|
+
type: type,
|
|
171
|
+
name,
|
|
172
|
+
description
|
|
163
173
|
}, audience ? {
|
|
164
174
|
audience
|
|
165
175
|
} : {}), {
|
package/index.js
CHANGED
|
@@ -2,7 +2,9 @@ import { logger } from '@ninetailed/experience.js-shared';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
const Audience = z.object({
|
|
5
|
-
id: z.string()
|
|
5
|
+
id: z.string(),
|
|
6
|
+
name: z.string().optional(),
|
|
7
|
+
description: z.string().optional()
|
|
6
8
|
});
|
|
7
9
|
|
|
8
10
|
const Config = z.object({
|
|
@@ -68,6 +70,10 @@ const ExperienceSchema = z.object({
|
|
|
68
70
|
* The name of the experience (Short Text)
|
|
69
71
|
*/
|
|
70
72
|
name: z.string(),
|
|
73
|
+
/**
|
|
74
|
+
* The description of the experience (Short Text)
|
|
75
|
+
*/
|
|
76
|
+
description: z.string().optional(),
|
|
71
77
|
/**
|
|
72
78
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
73
79
|
*/
|
|
@@ -145,6 +151,8 @@ class ExperienceMapper {
|
|
|
145
151
|
const {
|
|
146
152
|
id,
|
|
147
153
|
type,
|
|
154
|
+
name,
|
|
155
|
+
description,
|
|
148
156
|
audience,
|
|
149
157
|
config,
|
|
150
158
|
variants
|
|
@@ -155,7 +163,9 @@ class ExperienceMapper {
|
|
|
155
163
|
} = config;
|
|
156
164
|
return Object.assign(Object.assign({
|
|
157
165
|
id,
|
|
158
|
-
type: type
|
|
166
|
+
type: type,
|
|
167
|
+
name,
|
|
168
|
+
description
|
|
159
169
|
}, audience ? {
|
|
160
170
|
audience
|
|
161
171
|
} : {}), {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ninetailed/experience.js-utils",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1-beta.0",
|
|
4
4
|
"module": "./index.js",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@ninetailed/experience.js": "3.3.
|
|
10
|
-
"@ninetailed/experience.js-shared": "3.3.
|
|
9
|
+
"@ninetailed/experience.js": "3.3.1-beta.0",
|
|
10
|
+
"@ninetailed/experience.js-shared": "3.3.1-beta.0",
|
|
11
11
|
"zod": "3.20.2"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {}
|
package/types/Audience.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const Audience: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
name?: string | undefined;
|
|
8
|
+
description?: string | undefined;
|
|
5
9
|
id: string;
|
|
6
10
|
}, {
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
description?: string | undefined;
|
|
7
13
|
id: string;
|
|
8
14
|
}>;
|
|
9
15
|
export type AudienceLike = z.input<typeof Audience>;
|
package/types/Experience.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ export declare const ExperienceSchema: z.ZodObject<{
|
|
|
6
6
|
* The name of the experience (Short Text)
|
|
7
7
|
*/
|
|
8
8
|
name: z.ZodString;
|
|
9
|
+
/**
|
|
10
|
+
* The description of the experience (Short Text)
|
|
11
|
+
*/
|
|
12
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
13
|
/**
|
|
10
14
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
11
15
|
*/
|
|
@@ -14,9 +18,9 @@ export declare const ExperienceSchema: z.ZodObject<{
|
|
|
14
18
|
* The config of the experience (JSON)
|
|
15
19
|
*/
|
|
16
20
|
config: z.ZodDefault<z.ZodObject<{
|
|
17
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
18
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
19
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
21
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
22
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
23
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20
24
|
baseline: z.ZodObject<{
|
|
21
25
|
id: z.ZodDefault<z.ZodString>;
|
|
22
26
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -50,7 +54,7 @@ export declare const ExperienceSchema: z.ZodObject<{
|
|
|
50
54
|
id?: string | undefined;
|
|
51
55
|
hidden?: boolean | undefined;
|
|
52
56
|
}[];
|
|
53
|
-
}>, "many"
|
|
57
|
+
}>, "many">>>;
|
|
54
58
|
}, "strip", z.ZodTypeAny, {
|
|
55
59
|
distribution: number[];
|
|
56
60
|
traffic: number;
|
|
@@ -81,9 +85,15 @@ export declare const ExperienceSchema: z.ZodObject<{
|
|
|
81
85
|
*/
|
|
82
86
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
83
87
|
id: z.ZodString;
|
|
88
|
+
name: z.ZodOptional<z.ZodString>;
|
|
89
|
+
description: z.ZodOptional<z.ZodString>;
|
|
84
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
name?: string | undefined;
|
|
92
|
+
description?: string | undefined;
|
|
85
93
|
id: string;
|
|
86
94
|
}, {
|
|
95
|
+
name?: string | undefined;
|
|
96
|
+
description?: string | undefined;
|
|
87
97
|
id: string;
|
|
88
98
|
}>>>;
|
|
89
99
|
/**
|
|
@@ -102,7 +112,10 @@ export declare const ExperienceSchema: z.ZodObject<{
|
|
|
102
112
|
id: string;
|
|
103
113
|
}[], unknown>>;
|
|
104
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
description?: string | undefined;
|
|
105
116
|
audience?: {
|
|
117
|
+
name?: string | undefined;
|
|
118
|
+
description?: string | undefined;
|
|
106
119
|
id: string;
|
|
107
120
|
} | null | undefined;
|
|
108
121
|
id: string;
|
|
@@ -126,6 +139,7 @@ export declare const ExperienceSchema: z.ZodObject<{
|
|
|
126
139
|
}[];
|
|
127
140
|
};
|
|
128
141
|
}, {
|
|
142
|
+
description?: string | undefined;
|
|
129
143
|
variants?: unknown;
|
|
130
144
|
config?: {
|
|
131
145
|
distribution?: number[] | undefined;
|
|
@@ -141,6 +155,8 @@ export declare const ExperienceSchema: z.ZodObject<{
|
|
|
141
155
|
}[] | undefined;
|
|
142
156
|
} | undefined;
|
|
143
157
|
audience?: {
|
|
158
|
+
name?: string | undefined;
|
|
159
|
+
description?: string | undefined;
|
|
144
160
|
id: string;
|
|
145
161
|
} | null | undefined;
|
|
146
162
|
id: string;
|
|
@@ -158,6 +174,7 @@ export type Experience<Variant extends Reference = Reference> = Omit<ExperienceO
|
|
|
158
174
|
export declare const Experience: {
|
|
159
175
|
parse: <T extends Reference>(input: ExperienceLike<T>) => Experience<T>;
|
|
160
176
|
safeParse: <T_1 extends Reference>(input: ExperienceLike<T_1>) => z.SafeParseError<{
|
|
177
|
+
description?: string | undefined;
|
|
161
178
|
variants?: unknown;
|
|
162
179
|
config?: {
|
|
163
180
|
distribution?: number[] | undefined;
|
|
@@ -173,6 +190,8 @@ export declare const Experience: {
|
|
|
173
190
|
}[] | undefined;
|
|
174
191
|
} | undefined;
|
|
175
192
|
audience?: {
|
|
193
|
+
name?: string | undefined;
|
|
194
|
+
description?: string | undefined;
|
|
176
195
|
id: string;
|
|
177
196
|
} | null | undefined;
|
|
178
197
|
id: string;
|
|
@@ -181,7 +200,10 @@ export declare const Experience: {
|
|
|
181
200
|
}> | {
|
|
182
201
|
data: {
|
|
183
202
|
variants: T_1[];
|
|
203
|
+
description?: string | undefined;
|
|
184
204
|
audience?: {
|
|
205
|
+
name?: string | undefined;
|
|
206
|
+
description?: string | undefined;
|
|
185
207
|
id: string;
|
|
186
208
|
} | null | undefined;
|
|
187
209
|
id: string;
|
|
@@ -209,6 +231,10 @@ export declare const Experience: {
|
|
|
209
231
|
* The name of the experience (Short Text)
|
|
210
232
|
*/
|
|
211
233
|
name: z.ZodString;
|
|
234
|
+
/**
|
|
235
|
+
* The description of the experience (Short Text)
|
|
236
|
+
*/
|
|
237
|
+
description: z.ZodOptional<z.ZodString>;
|
|
212
238
|
/**
|
|
213
239
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
214
240
|
*/
|
|
@@ -217,9 +243,9 @@ export declare const Experience: {
|
|
|
217
243
|
* The config of the experience (JSON)
|
|
218
244
|
*/
|
|
219
245
|
config: z.ZodDefault<z.ZodObject<{
|
|
220
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
221
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
222
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
246
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
247
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
248
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
223
249
|
baseline: z.ZodObject<{
|
|
224
250
|
id: z.ZodDefault<z.ZodString>;
|
|
225
251
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -253,7 +279,7 @@ export declare const Experience: {
|
|
|
253
279
|
id?: string | undefined;
|
|
254
280
|
hidden?: boolean | undefined;
|
|
255
281
|
}[];
|
|
256
|
-
}>, "many"
|
|
282
|
+
}>, "many">>>;
|
|
257
283
|
}, "strip", z.ZodTypeAny, {
|
|
258
284
|
distribution: number[];
|
|
259
285
|
traffic: number;
|
|
@@ -284,9 +310,15 @@ export declare const Experience: {
|
|
|
284
310
|
*/
|
|
285
311
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
286
312
|
id: z.ZodString;
|
|
313
|
+
name: z.ZodOptional<z.ZodString>;
|
|
314
|
+
description: z.ZodOptional<z.ZodString>;
|
|
287
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
name?: string | undefined;
|
|
317
|
+
description?: string | undefined;
|
|
288
318
|
id: string;
|
|
289
319
|
}, {
|
|
320
|
+
name?: string | undefined;
|
|
321
|
+
description?: string | undefined;
|
|
290
322
|
id: string;
|
|
291
323
|
}>>>;
|
|
292
324
|
/**
|
|
@@ -305,7 +337,10 @@ export declare const Experience: {
|
|
|
305
337
|
id: string;
|
|
306
338
|
}[], unknown>>;
|
|
307
339
|
}, "passthrough", z.ZodTypeAny, {
|
|
340
|
+
description?: string | undefined;
|
|
308
341
|
audience?: {
|
|
342
|
+
name?: string | undefined;
|
|
343
|
+
description?: string | undefined;
|
|
309
344
|
id: string;
|
|
310
345
|
} | null | undefined;
|
|
311
346
|
id: string;
|
|
@@ -329,6 +364,7 @@ export declare const Experience: {
|
|
|
329
364
|
}[];
|
|
330
365
|
};
|
|
331
366
|
}, {
|
|
367
|
+
description?: string | undefined;
|
|
332
368
|
variants?: unknown;
|
|
333
369
|
config?: {
|
|
334
370
|
distribution?: number[] | undefined;
|
|
@@ -344,6 +380,8 @@ export declare const Experience: {
|
|
|
344
380
|
}[] | undefined;
|
|
345
381
|
} | undefined;
|
|
346
382
|
audience?: {
|
|
383
|
+
name?: string | undefined;
|
|
384
|
+
description?: string | undefined;
|
|
347
385
|
id: string;
|
|
348
386
|
} | null | undefined;
|
|
349
387
|
id: string;
|
|
@@ -356,6 +394,10 @@ export declare const Experience: {
|
|
|
356
394
|
* The name of the experience (Short Text)
|
|
357
395
|
*/
|
|
358
396
|
name: z.ZodString;
|
|
397
|
+
/**
|
|
398
|
+
* The description of the experience (Short Text)
|
|
399
|
+
*/
|
|
400
|
+
description: z.ZodOptional<z.ZodString>;
|
|
359
401
|
/**
|
|
360
402
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
361
403
|
*/
|
|
@@ -364,9 +406,9 @@ export declare const Experience: {
|
|
|
364
406
|
* The config of the experience (JSON)
|
|
365
407
|
*/
|
|
366
408
|
config: z.ZodDefault<z.ZodObject<{
|
|
367
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
368
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
369
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
409
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
410
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
411
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
370
412
|
baseline: z.ZodObject<{
|
|
371
413
|
id: z.ZodDefault<z.ZodString>;
|
|
372
414
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -400,7 +442,7 @@ export declare const Experience: {
|
|
|
400
442
|
id?: string | undefined;
|
|
401
443
|
hidden?: boolean | undefined;
|
|
402
444
|
}[];
|
|
403
|
-
}>, "many"
|
|
445
|
+
}>, "many">>>;
|
|
404
446
|
}, "strip", z.ZodTypeAny, {
|
|
405
447
|
distribution: number[];
|
|
406
448
|
traffic: number;
|
|
@@ -431,9 +473,15 @@ export declare const Experience: {
|
|
|
431
473
|
*/
|
|
432
474
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
433
475
|
id: z.ZodString;
|
|
476
|
+
name: z.ZodOptional<z.ZodString>;
|
|
477
|
+
description: z.ZodOptional<z.ZodString>;
|
|
434
478
|
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
name?: string | undefined;
|
|
480
|
+
description?: string | undefined;
|
|
435
481
|
id: string;
|
|
436
482
|
}, {
|
|
483
|
+
name?: string | undefined;
|
|
484
|
+
description?: string | undefined;
|
|
437
485
|
id: string;
|
|
438
486
|
}>>>;
|
|
439
487
|
/**
|
|
@@ -457,6 +505,10 @@ export declare const Experience: {
|
|
|
457
505
|
* The name of the experience (Short Text)
|
|
458
506
|
*/
|
|
459
507
|
name: z.ZodString;
|
|
508
|
+
/**
|
|
509
|
+
* The description of the experience (Short Text)
|
|
510
|
+
*/
|
|
511
|
+
description: z.ZodOptional<z.ZodString>;
|
|
460
512
|
/**
|
|
461
513
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
462
514
|
*/
|
|
@@ -465,9 +517,9 @@ export declare const Experience: {
|
|
|
465
517
|
* The config of the experience (JSON)
|
|
466
518
|
*/
|
|
467
519
|
config: z.ZodDefault<z.ZodObject<{
|
|
468
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
469
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
470
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
520
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
521
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
522
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
471
523
|
baseline: z.ZodObject<{
|
|
472
524
|
id: z.ZodDefault<z.ZodString>;
|
|
473
525
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -501,7 +553,7 @@ export declare const Experience: {
|
|
|
501
553
|
id?: string | undefined;
|
|
502
554
|
hidden?: boolean | undefined;
|
|
503
555
|
}[];
|
|
504
|
-
}>, "many"
|
|
556
|
+
}>, "many">>>;
|
|
505
557
|
}, "strip", z.ZodTypeAny, {
|
|
506
558
|
distribution: number[];
|
|
507
559
|
traffic: number;
|
|
@@ -532,9 +584,15 @@ export declare const Experience: {
|
|
|
532
584
|
*/
|
|
533
585
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
534
586
|
id: z.ZodString;
|
|
587
|
+
name: z.ZodOptional<z.ZodString>;
|
|
588
|
+
description: z.ZodOptional<z.ZodString>;
|
|
535
589
|
}, "strip", z.ZodTypeAny, {
|
|
590
|
+
name?: string | undefined;
|
|
591
|
+
description?: string | undefined;
|
|
536
592
|
id: string;
|
|
537
593
|
}, {
|
|
594
|
+
name?: string | undefined;
|
|
595
|
+
description?: string | undefined;
|
|
538
596
|
id: string;
|
|
539
597
|
}>>>;
|
|
540
598
|
/**
|
|
@@ -558,6 +616,10 @@ export declare const Experience: {
|
|
|
558
616
|
* The name of the experience (Short Text)
|
|
559
617
|
*/
|
|
560
618
|
name: z.ZodString;
|
|
619
|
+
/**
|
|
620
|
+
* The description of the experience (Short Text)
|
|
621
|
+
*/
|
|
622
|
+
description: z.ZodOptional<z.ZodString>;
|
|
561
623
|
/**
|
|
562
624
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
563
625
|
*/
|
|
@@ -566,9 +628,9 @@ export declare const Experience: {
|
|
|
566
628
|
* The config of the experience (JSON)
|
|
567
629
|
*/
|
|
568
630
|
config: z.ZodDefault<z.ZodObject<{
|
|
569
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
570
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
571
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
631
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
632
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
633
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
572
634
|
baseline: z.ZodObject<{
|
|
573
635
|
id: z.ZodDefault<z.ZodString>;
|
|
574
636
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -602,7 +664,7 @@ export declare const Experience: {
|
|
|
602
664
|
id?: string | undefined;
|
|
603
665
|
hidden?: boolean | undefined;
|
|
604
666
|
}[];
|
|
605
|
-
}>, "many"
|
|
667
|
+
}>, "many">>>;
|
|
606
668
|
}, "strip", z.ZodTypeAny, {
|
|
607
669
|
distribution: number[];
|
|
608
670
|
traffic: number;
|
|
@@ -633,9 +695,15 @@ export declare const Experience: {
|
|
|
633
695
|
*/
|
|
634
696
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
635
697
|
id: z.ZodString;
|
|
698
|
+
name: z.ZodOptional<z.ZodString>;
|
|
699
|
+
description: z.ZodOptional<z.ZodString>;
|
|
636
700
|
}, "strip", z.ZodTypeAny, {
|
|
701
|
+
name?: string | undefined;
|
|
702
|
+
description?: string | undefined;
|
|
637
703
|
id: string;
|
|
638
704
|
}, {
|
|
705
|
+
name?: string | undefined;
|
|
706
|
+
description?: string | undefined;
|
|
639
707
|
id: string;
|
|
640
708
|
}>>>;
|
|
641
709
|
/**
|
|
@@ -659,6 +727,10 @@ export declare const Experience: {
|
|
|
659
727
|
* The name of the experience (Short Text)
|
|
660
728
|
*/
|
|
661
729
|
name: z.ZodString;
|
|
730
|
+
/**
|
|
731
|
+
* The description of the experience (Short Text)
|
|
732
|
+
*/
|
|
733
|
+
description: z.ZodOptional<z.ZodString>;
|
|
662
734
|
/**
|
|
663
735
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
664
736
|
*/
|
|
@@ -667,9 +739,9 @@ export declare const Experience: {
|
|
|
667
739
|
* The config of the experience (JSON)
|
|
668
740
|
*/
|
|
669
741
|
config: z.ZodDefault<z.ZodObject<{
|
|
670
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
671
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
672
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
742
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
743
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
744
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
673
745
|
baseline: z.ZodObject<{
|
|
674
746
|
id: z.ZodDefault<z.ZodString>;
|
|
675
747
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -703,7 +775,7 @@ export declare const Experience: {
|
|
|
703
775
|
id?: string | undefined;
|
|
704
776
|
hidden?: boolean | undefined;
|
|
705
777
|
}[];
|
|
706
|
-
}>, "many"
|
|
778
|
+
}>, "many">>>;
|
|
707
779
|
}, "strip", z.ZodTypeAny, {
|
|
708
780
|
distribution: number[];
|
|
709
781
|
traffic: number;
|
|
@@ -734,9 +806,15 @@ export declare const Experience: {
|
|
|
734
806
|
*/
|
|
735
807
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
736
808
|
id: z.ZodString;
|
|
809
|
+
name: z.ZodOptional<z.ZodString>;
|
|
810
|
+
description: z.ZodOptional<z.ZodString>;
|
|
737
811
|
}, "strip", z.ZodTypeAny, {
|
|
812
|
+
name?: string | undefined;
|
|
813
|
+
description?: string | undefined;
|
|
738
814
|
id: string;
|
|
739
815
|
}, {
|
|
816
|
+
name?: string | undefined;
|
|
817
|
+
description?: string | undefined;
|
|
740
818
|
id: string;
|
|
741
819
|
}>>>;
|
|
742
820
|
/**
|
|
@@ -760,6 +838,10 @@ export declare const Experience: {
|
|
|
760
838
|
* The name of the experience (Short Text)
|
|
761
839
|
*/
|
|
762
840
|
name: z.ZodString;
|
|
841
|
+
/**
|
|
842
|
+
* The description of the experience (Short Text)
|
|
843
|
+
*/
|
|
844
|
+
description: z.ZodOptional<z.ZodString>;
|
|
763
845
|
/**
|
|
764
846
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
765
847
|
*/
|
|
@@ -768,9 +850,9 @@ export declare const Experience: {
|
|
|
768
850
|
* The config of the experience (JSON)
|
|
769
851
|
*/
|
|
770
852
|
config: z.ZodDefault<z.ZodObject<{
|
|
771
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
772
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
773
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
853
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
854
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
855
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
774
856
|
baseline: z.ZodObject<{
|
|
775
857
|
id: z.ZodDefault<z.ZodString>;
|
|
776
858
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -804,7 +886,7 @@ export declare const Experience: {
|
|
|
804
886
|
id?: string | undefined;
|
|
805
887
|
hidden?: boolean | undefined;
|
|
806
888
|
}[];
|
|
807
|
-
}>, "many"
|
|
889
|
+
}>, "many">>>;
|
|
808
890
|
}, "strip", z.ZodTypeAny, {
|
|
809
891
|
distribution: number[];
|
|
810
892
|
traffic: number;
|
|
@@ -835,9 +917,15 @@ export declare const Experience: {
|
|
|
835
917
|
*/
|
|
836
918
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
837
919
|
id: z.ZodString;
|
|
920
|
+
name: z.ZodOptional<z.ZodString>;
|
|
921
|
+
description: z.ZodOptional<z.ZodString>;
|
|
838
922
|
}, "strip", z.ZodTypeAny, {
|
|
923
|
+
name?: string | undefined;
|
|
924
|
+
description?: string | undefined;
|
|
839
925
|
id: string;
|
|
840
926
|
}, {
|
|
927
|
+
name?: string | undefined;
|
|
928
|
+
description?: string | undefined;
|
|
841
929
|
id: string;
|
|
842
930
|
}>>>;
|
|
843
931
|
/**
|
|
@@ -861,6 +949,10 @@ export declare const Experience: {
|
|
|
861
949
|
* The name of the experience (Short Text)
|
|
862
950
|
*/
|
|
863
951
|
name: z.ZodString;
|
|
952
|
+
/**
|
|
953
|
+
* The description of the experience (Short Text)
|
|
954
|
+
*/
|
|
955
|
+
description: z.ZodOptional<z.ZodString>;
|
|
864
956
|
/**
|
|
865
957
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
866
958
|
*/
|
|
@@ -869,9 +961,9 @@ export declare const Experience: {
|
|
|
869
961
|
* The config of the experience (JSON)
|
|
870
962
|
*/
|
|
871
963
|
config: z.ZodDefault<z.ZodObject<{
|
|
872
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
873
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
874
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
964
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
965
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
966
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
875
967
|
baseline: z.ZodObject<{
|
|
876
968
|
id: z.ZodDefault<z.ZodString>;
|
|
877
969
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -905,7 +997,7 @@ export declare const Experience: {
|
|
|
905
997
|
id?: string | undefined;
|
|
906
998
|
hidden?: boolean | undefined;
|
|
907
999
|
}[];
|
|
908
|
-
}>, "many"
|
|
1000
|
+
}>, "many">>>;
|
|
909
1001
|
}, "strip", z.ZodTypeAny, {
|
|
910
1002
|
distribution: number[];
|
|
911
1003
|
traffic: number;
|
|
@@ -936,9 +1028,15 @@ export declare const Experience: {
|
|
|
936
1028
|
*/
|
|
937
1029
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
938
1030
|
id: z.ZodString;
|
|
1031
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
description: z.ZodOptional<z.ZodString>;
|
|
939
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1034
|
+
name?: string | undefined;
|
|
1035
|
+
description?: string | undefined;
|
|
940
1036
|
id: string;
|
|
941
1037
|
}, {
|
|
1038
|
+
name?: string | undefined;
|
|
1039
|
+
description?: string | undefined;
|
|
942
1040
|
id: string;
|
|
943
1041
|
}>>>;
|
|
944
1042
|
/**
|
|
@@ -962,6 +1060,10 @@ export declare const Experience: {
|
|
|
962
1060
|
* The name of the experience (Short Text)
|
|
963
1061
|
*/
|
|
964
1062
|
name: z.ZodString;
|
|
1063
|
+
/**
|
|
1064
|
+
* The description of the experience (Short Text)
|
|
1065
|
+
*/
|
|
1066
|
+
description: z.ZodOptional<z.ZodString>;
|
|
965
1067
|
/**
|
|
966
1068
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
967
1069
|
*/
|
|
@@ -970,9 +1072,9 @@ export declare const Experience: {
|
|
|
970
1072
|
* The config of the experience (JSON)
|
|
971
1073
|
*/
|
|
972
1074
|
config: z.ZodDefault<z.ZodObject<{
|
|
973
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
974
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
975
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1075
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1076
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1077
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
976
1078
|
baseline: z.ZodObject<{
|
|
977
1079
|
id: z.ZodDefault<z.ZodString>;
|
|
978
1080
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1006,7 +1108,7 @@ export declare const Experience: {
|
|
|
1006
1108
|
id?: string | undefined;
|
|
1007
1109
|
hidden?: boolean | undefined;
|
|
1008
1110
|
}[];
|
|
1009
|
-
}>, "many"
|
|
1111
|
+
}>, "many">>>;
|
|
1010
1112
|
}, "strip", z.ZodTypeAny, {
|
|
1011
1113
|
distribution: number[];
|
|
1012
1114
|
traffic: number;
|
|
@@ -1037,9 +1139,15 @@ export declare const Experience: {
|
|
|
1037
1139
|
*/
|
|
1038
1140
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1039
1141
|
id: z.ZodString;
|
|
1142
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1040
1144
|
}, "strip", z.ZodTypeAny, {
|
|
1145
|
+
name?: string | undefined;
|
|
1146
|
+
description?: string | undefined;
|
|
1041
1147
|
id: string;
|
|
1042
1148
|
}, {
|
|
1149
|
+
name?: string | undefined;
|
|
1150
|
+
description?: string | undefined;
|
|
1043
1151
|
id: string;
|
|
1044
1152
|
}>>>;
|
|
1045
1153
|
/**
|
|
@@ -1063,6 +1171,10 @@ export declare const Experience: {
|
|
|
1063
1171
|
* The name of the experience (Short Text)
|
|
1064
1172
|
*/
|
|
1065
1173
|
name: z.ZodString;
|
|
1174
|
+
/**
|
|
1175
|
+
* The description of the experience (Short Text)
|
|
1176
|
+
*/
|
|
1177
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1066
1178
|
/**
|
|
1067
1179
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1068
1180
|
*/
|
|
@@ -1071,9 +1183,9 @@ export declare const Experience: {
|
|
|
1071
1183
|
* The config of the experience (JSON)
|
|
1072
1184
|
*/
|
|
1073
1185
|
config: z.ZodDefault<z.ZodObject<{
|
|
1074
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1075
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1076
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1186
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1187
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1188
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1077
1189
|
baseline: z.ZodObject<{
|
|
1078
1190
|
id: z.ZodDefault<z.ZodString>;
|
|
1079
1191
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1107,7 +1219,7 @@ export declare const Experience: {
|
|
|
1107
1219
|
id?: string | undefined;
|
|
1108
1220
|
hidden?: boolean | undefined;
|
|
1109
1221
|
}[];
|
|
1110
|
-
}>, "many"
|
|
1222
|
+
}>, "many">>>;
|
|
1111
1223
|
}, "strip", z.ZodTypeAny, {
|
|
1112
1224
|
distribution: number[];
|
|
1113
1225
|
traffic: number;
|
|
@@ -1138,9 +1250,15 @@ export declare const Experience: {
|
|
|
1138
1250
|
*/
|
|
1139
1251
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1140
1252
|
id: z.ZodString;
|
|
1253
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1141
1255
|
}, "strip", z.ZodTypeAny, {
|
|
1256
|
+
name?: string | undefined;
|
|
1257
|
+
description?: string | undefined;
|
|
1142
1258
|
id: string;
|
|
1143
1259
|
}, {
|
|
1260
|
+
name?: string | undefined;
|
|
1261
|
+
description?: string | undefined;
|
|
1144
1262
|
id: string;
|
|
1145
1263
|
}>>>;
|
|
1146
1264
|
/**
|
|
@@ -1164,6 +1282,10 @@ export declare const Experience: {
|
|
|
1164
1282
|
* The name of the experience (Short Text)
|
|
1165
1283
|
*/
|
|
1166
1284
|
name: z.ZodString;
|
|
1285
|
+
/**
|
|
1286
|
+
* The description of the experience (Short Text)
|
|
1287
|
+
*/
|
|
1288
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1167
1289
|
/**
|
|
1168
1290
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1169
1291
|
*/
|
|
@@ -1172,9 +1294,9 @@ export declare const Experience: {
|
|
|
1172
1294
|
* The config of the experience (JSON)
|
|
1173
1295
|
*/
|
|
1174
1296
|
config: z.ZodDefault<z.ZodObject<{
|
|
1175
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1176
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1177
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1297
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1298
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1299
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1178
1300
|
baseline: z.ZodObject<{
|
|
1179
1301
|
id: z.ZodDefault<z.ZodString>;
|
|
1180
1302
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1208,7 +1330,7 @@ export declare const Experience: {
|
|
|
1208
1330
|
id?: string | undefined;
|
|
1209
1331
|
hidden?: boolean | undefined;
|
|
1210
1332
|
}[];
|
|
1211
|
-
}>, "many"
|
|
1333
|
+
}>, "many">>>;
|
|
1212
1334
|
}, "strip", z.ZodTypeAny, {
|
|
1213
1335
|
distribution: number[];
|
|
1214
1336
|
traffic: number;
|
|
@@ -1239,9 +1361,15 @@ export declare const Experience: {
|
|
|
1239
1361
|
*/
|
|
1240
1362
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1241
1363
|
id: z.ZodString;
|
|
1364
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1365
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1242
1366
|
}, "strip", z.ZodTypeAny, {
|
|
1367
|
+
name?: string | undefined;
|
|
1368
|
+
description?: string | undefined;
|
|
1243
1369
|
id: string;
|
|
1244
1370
|
}, {
|
|
1371
|
+
name?: string | undefined;
|
|
1372
|
+
description?: string | undefined;
|
|
1245
1373
|
id: string;
|
|
1246
1374
|
}>>>;
|
|
1247
1375
|
/**
|
|
@@ -1266,6 +1394,10 @@ export declare const Experience: {
|
|
|
1266
1394
|
* The name of the experience (Short Text)
|
|
1267
1395
|
*/
|
|
1268
1396
|
name: z.ZodString;
|
|
1397
|
+
/**
|
|
1398
|
+
* The description of the experience (Short Text)
|
|
1399
|
+
*/
|
|
1400
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1269
1401
|
/**
|
|
1270
1402
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1271
1403
|
*/
|
|
@@ -1274,9 +1406,9 @@ export declare const Experience: {
|
|
|
1274
1406
|
* The config of the experience (JSON)
|
|
1275
1407
|
*/
|
|
1276
1408
|
config: z.ZodDefault<z.ZodObject<{
|
|
1277
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1278
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1279
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1409
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1410
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1411
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1280
1412
|
baseline: z.ZodObject<{
|
|
1281
1413
|
id: z.ZodDefault<z.ZodString>;
|
|
1282
1414
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1310,7 +1442,7 @@ export declare const Experience: {
|
|
|
1310
1442
|
id?: string | undefined;
|
|
1311
1443
|
hidden?: boolean | undefined;
|
|
1312
1444
|
}[];
|
|
1313
|
-
}>, "many"
|
|
1445
|
+
}>, "many">>>;
|
|
1314
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1315
1447
|
distribution: number[];
|
|
1316
1448
|
traffic: number;
|
|
@@ -1341,9 +1473,15 @@ export declare const Experience: {
|
|
|
1341
1473
|
*/
|
|
1342
1474
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1343
1475
|
id: z.ZodString;
|
|
1476
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1344
1478
|
}, "strip", z.ZodTypeAny, {
|
|
1479
|
+
name?: string | undefined;
|
|
1480
|
+
description?: string | undefined;
|
|
1345
1481
|
id: string;
|
|
1346
1482
|
}, {
|
|
1483
|
+
name?: string | undefined;
|
|
1484
|
+
description?: string | undefined;
|
|
1347
1485
|
id: string;
|
|
1348
1486
|
}>>>;
|
|
1349
1487
|
/**
|
|
@@ -1367,6 +1505,10 @@ export declare const Experience: {
|
|
|
1367
1505
|
* The name of the experience (Short Text)
|
|
1368
1506
|
*/
|
|
1369
1507
|
name: z.ZodString;
|
|
1508
|
+
/**
|
|
1509
|
+
* The description of the experience (Short Text)
|
|
1510
|
+
*/
|
|
1511
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1370
1512
|
/**
|
|
1371
1513
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1372
1514
|
*/
|
|
@@ -1375,9 +1517,9 @@ export declare const Experience: {
|
|
|
1375
1517
|
* The config of the experience (JSON)
|
|
1376
1518
|
*/
|
|
1377
1519
|
config: z.ZodDefault<z.ZodObject<{
|
|
1378
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1379
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1380
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1520
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1521
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1522
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1381
1523
|
baseline: z.ZodObject<{
|
|
1382
1524
|
id: z.ZodDefault<z.ZodString>;
|
|
1383
1525
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1411,7 +1553,7 @@ export declare const Experience: {
|
|
|
1411
1553
|
id?: string | undefined;
|
|
1412
1554
|
hidden?: boolean | undefined;
|
|
1413
1555
|
}[];
|
|
1414
|
-
}>, "many"
|
|
1556
|
+
}>, "many">>>;
|
|
1415
1557
|
}, "strip", z.ZodTypeAny, {
|
|
1416
1558
|
distribution: number[];
|
|
1417
1559
|
traffic: number;
|
|
@@ -1442,9 +1584,15 @@ export declare const Experience: {
|
|
|
1442
1584
|
*/
|
|
1443
1585
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1444
1586
|
id: z.ZodString;
|
|
1587
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1588
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1445
1589
|
}, "strip", z.ZodTypeAny, {
|
|
1590
|
+
name?: string | undefined;
|
|
1591
|
+
description?: string | undefined;
|
|
1446
1592
|
id: string;
|
|
1447
1593
|
}, {
|
|
1594
|
+
name?: string | undefined;
|
|
1595
|
+
description?: string | undefined;
|
|
1448
1596
|
id: string;
|
|
1449
1597
|
}>>>;
|
|
1450
1598
|
/**
|
|
@@ -1468,6 +1616,10 @@ export declare const Experience: {
|
|
|
1468
1616
|
* The name of the experience (Short Text)
|
|
1469
1617
|
*/
|
|
1470
1618
|
name: z.ZodString;
|
|
1619
|
+
/**
|
|
1620
|
+
* The description of the experience (Short Text)
|
|
1621
|
+
*/
|
|
1622
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1471
1623
|
/**
|
|
1472
1624
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1473
1625
|
*/
|
|
@@ -1476,9 +1628,9 @@ export declare const Experience: {
|
|
|
1476
1628
|
* The config of the experience (JSON)
|
|
1477
1629
|
*/
|
|
1478
1630
|
config: z.ZodDefault<z.ZodObject<{
|
|
1479
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1480
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1481
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1631
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1632
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1633
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1482
1634
|
baseline: z.ZodObject<{
|
|
1483
1635
|
id: z.ZodDefault<z.ZodString>;
|
|
1484
1636
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1512,7 +1664,7 @@ export declare const Experience: {
|
|
|
1512
1664
|
id?: string | undefined;
|
|
1513
1665
|
hidden?: boolean | undefined;
|
|
1514
1666
|
}[];
|
|
1515
|
-
}>, "many"
|
|
1667
|
+
}>, "many">>>;
|
|
1516
1668
|
}, "strip", z.ZodTypeAny, {
|
|
1517
1669
|
distribution: number[];
|
|
1518
1670
|
traffic: number;
|
|
@@ -1543,9 +1695,15 @@ export declare const Experience: {
|
|
|
1543
1695
|
*/
|
|
1544
1696
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1545
1697
|
id: z.ZodString;
|
|
1698
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1546
1700
|
}, "strip", z.ZodTypeAny, {
|
|
1701
|
+
name?: string | undefined;
|
|
1702
|
+
description?: string | undefined;
|
|
1547
1703
|
id: string;
|
|
1548
1704
|
}, {
|
|
1705
|
+
name?: string | undefined;
|
|
1706
|
+
description?: string | undefined;
|
|
1549
1707
|
id: string;
|
|
1550
1708
|
}>>>;
|
|
1551
1709
|
/**
|
|
@@ -1569,6 +1727,10 @@ export declare const Experience: {
|
|
|
1569
1727
|
* The name of the experience (Short Text)
|
|
1570
1728
|
*/
|
|
1571
1729
|
name: z.ZodString;
|
|
1730
|
+
/**
|
|
1731
|
+
* The description of the experience (Short Text)
|
|
1732
|
+
*/
|
|
1733
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1572
1734
|
/**
|
|
1573
1735
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1574
1736
|
*/
|
|
@@ -1577,9 +1739,9 @@ export declare const Experience: {
|
|
|
1577
1739
|
* The config of the experience (JSON)
|
|
1578
1740
|
*/
|
|
1579
1741
|
config: z.ZodDefault<z.ZodObject<{
|
|
1580
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1581
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1582
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1742
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1743
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1744
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1583
1745
|
baseline: z.ZodObject<{
|
|
1584
1746
|
id: z.ZodDefault<z.ZodString>;
|
|
1585
1747
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1613,7 +1775,7 @@ export declare const Experience: {
|
|
|
1613
1775
|
id?: string | undefined;
|
|
1614
1776
|
hidden?: boolean | undefined;
|
|
1615
1777
|
}[];
|
|
1616
|
-
}>, "many"
|
|
1778
|
+
}>, "many">>>;
|
|
1617
1779
|
}, "strip", z.ZodTypeAny, {
|
|
1618
1780
|
distribution: number[];
|
|
1619
1781
|
traffic: number;
|
|
@@ -1644,9 +1806,15 @@ export declare const Experience: {
|
|
|
1644
1806
|
*/
|
|
1645
1807
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1646
1808
|
id: z.ZodString;
|
|
1809
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1810
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1647
1811
|
}, "strip", z.ZodTypeAny, {
|
|
1812
|
+
name?: string | undefined;
|
|
1813
|
+
description?: string | undefined;
|
|
1648
1814
|
id: string;
|
|
1649
1815
|
}, {
|
|
1816
|
+
name?: string | undefined;
|
|
1817
|
+
description?: string | undefined;
|
|
1650
1818
|
id: string;
|
|
1651
1819
|
}>>>;
|
|
1652
1820
|
/**
|
|
@@ -1670,6 +1838,10 @@ export declare const Experience: {
|
|
|
1670
1838
|
* The name of the experience (Short Text)
|
|
1671
1839
|
*/
|
|
1672
1840
|
name: z.ZodString;
|
|
1841
|
+
/**
|
|
1842
|
+
* The description of the experience (Short Text)
|
|
1843
|
+
*/
|
|
1844
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1673
1845
|
/**
|
|
1674
1846
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1675
1847
|
*/
|
|
@@ -1678,9 +1850,9 @@ export declare const Experience: {
|
|
|
1678
1850
|
* The config of the experience (JSON)
|
|
1679
1851
|
*/
|
|
1680
1852
|
config: z.ZodDefault<z.ZodObject<{
|
|
1681
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1682
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1683
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1853
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1854
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1855
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1684
1856
|
baseline: z.ZodObject<{
|
|
1685
1857
|
id: z.ZodDefault<z.ZodString>;
|
|
1686
1858
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1714,7 +1886,7 @@ export declare const Experience: {
|
|
|
1714
1886
|
id?: string | undefined;
|
|
1715
1887
|
hidden?: boolean | undefined;
|
|
1716
1888
|
}[];
|
|
1717
|
-
}>, "many"
|
|
1889
|
+
}>, "many">>>;
|
|
1718
1890
|
}, "strip", z.ZodTypeAny, {
|
|
1719
1891
|
distribution: number[];
|
|
1720
1892
|
traffic: number;
|
|
@@ -1745,9 +1917,15 @@ export declare const Experience: {
|
|
|
1745
1917
|
*/
|
|
1746
1918
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1747
1919
|
id: z.ZodString;
|
|
1920
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1921
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1748
1922
|
}, "strip", z.ZodTypeAny, {
|
|
1923
|
+
name?: string | undefined;
|
|
1924
|
+
description?: string | undefined;
|
|
1749
1925
|
id: string;
|
|
1750
1926
|
}, {
|
|
1927
|
+
name?: string | undefined;
|
|
1928
|
+
description?: string | undefined;
|
|
1751
1929
|
id: string;
|
|
1752
1930
|
}>>>;
|
|
1753
1931
|
/**
|
|
@@ -1771,6 +1949,10 @@ export declare const Experience: {
|
|
|
1771
1949
|
* The name of the experience (Short Text)
|
|
1772
1950
|
*/
|
|
1773
1951
|
name: z.ZodString;
|
|
1952
|
+
/**
|
|
1953
|
+
* The description of the experience (Short Text)
|
|
1954
|
+
*/
|
|
1955
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1774
1956
|
/**
|
|
1775
1957
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1776
1958
|
*/
|
|
@@ -1779,9 +1961,9 @@ export declare const Experience: {
|
|
|
1779
1961
|
* The config of the experience (JSON)
|
|
1780
1962
|
*/
|
|
1781
1963
|
config: z.ZodDefault<z.ZodObject<{
|
|
1782
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1783
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1784
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1964
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1965
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1966
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1785
1967
|
baseline: z.ZodObject<{
|
|
1786
1968
|
id: z.ZodDefault<z.ZodString>;
|
|
1787
1969
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1815,7 +1997,7 @@ export declare const Experience: {
|
|
|
1815
1997
|
id?: string | undefined;
|
|
1816
1998
|
hidden?: boolean | undefined;
|
|
1817
1999
|
}[];
|
|
1818
|
-
}>, "many"
|
|
2000
|
+
}>, "many">>>;
|
|
1819
2001
|
}, "strip", z.ZodTypeAny, {
|
|
1820
2002
|
distribution: number[];
|
|
1821
2003
|
traffic: number;
|
|
@@ -1846,9 +2028,15 @@ export declare const Experience: {
|
|
|
1846
2028
|
*/
|
|
1847
2029
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1848
2030
|
id: z.ZodString;
|
|
2031
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2032
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1849
2033
|
}, "strip", z.ZodTypeAny, {
|
|
2034
|
+
name?: string | undefined;
|
|
2035
|
+
description?: string | undefined;
|
|
1850
2036
|
id: string;
|
|
1851
2037
|
}, {
|
|
2038
|
+
name?: string | undefined;
|
|
2039
|
+
description?: string | undefined;
|
|
1852
2040
|
id: string;
|
|
1853
2041
|
}>>>;
|
|
1854
2042
|
/**
|
|
@@ -1872,6 +2060,10 @@ export declare const Experience: {
|
|
|
1872
2060
|
* The name of the experience (Short Text)
|
|
1873
2061
|
*/
|
|
1874
2062
|
name: z.ZodString;
|
|
2063
|
+
/**
|
|
2064
|
+
* The description of the experience (Short Text)
|
|
2065
|
+
*/
|
|
2066
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1875
2067
|
/**
|
|
1876
2068
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1877
2069
|
*/
|
|
@@ -1880,9 +2072,9 @@ export declare const Experience: {
|
|
|
1880
2072
|
* The config of the experience (JSON)
|
|
1881
2073
|
*/
|
|
1882
2074
|
config: z.ZodDefault<z.ZodObject<{
|
|
1883
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1884
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1885
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2075
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
2076
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2077
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1886
2078
|
baseline: z.ZodObject<{
|
|
1887
2079
|
id: z.ZodDefault<z.ZodString>;
|
|
1888
2080
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1916,7 +2108,7 @@ export declare const Experience: {
|
|
|
1916
2108
|
id?: string | undefined;
|
|
1917
2109
|
hidden?: boolean | undefined;
|
|
1918
2110
|
}[];
|
|
1919
|
-
}>, "many"
|
|
2111
|
+
}>, "many">>>;
|
|
1920
2112
|
}, "strip", z.ZodTypeAny, {
|
|
1921
2113
|
distribution: number[];
|
|
1922
2114
|
traffic: number;
|
|
@@ -1947,9 +2139,15 @@ export declare const Experience: {
|
|
|
1947
2139
|
*/
|
|
1948
2140
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1949
2141
|
id: z.ZodString;
|
|
2142
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2143
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1950
2144
|
}, "strip", z.ZodTypeAny, {
|
|
2145
|
+
name?: string | undefined;
|
|
2146
|
+
description?: string | undefined;
|
|
1951
2147
|
id: string;
|
|
1952
2148
|
}, {
|
|
2149
|
+
name?: string | undefined;
|
|
2150
|
+
description?: string | undefined;
|
|
1953
2151
|
id: string;
|
|
1954
2152
|
}>>>;
|
|
1955
2153
|
/**
|
|
@@ -1973,6 +2171,10 @@ export declare const Experience: {
|
|
|
1973
2171
|
* The name of the experience (Short Text)
|
|
1974
2172
|
*/
|
|
1975
2173
|
name: z.ZodString;
|
|
2174
|
+
/**
|
|
2175
|
+
* The description of the experience (Short Text)
|
|
2176
|
+
*/
|
|
2177
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1976
2178
|
/**
|
|
1977
2179
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
1978
2180
|
*/
|
|
@@ -1981,9 +2183,9 @@ export declare const Experience: {
|
|
|
1981
2183
|
* The config of the experience (JSON)
|
|
1982
2184
|
*/
|
|
1983
2185
|
config: z.ZodDefault<z.ZodObject<{
|
|
1984
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
1985
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
1986
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2186
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
2187
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2188
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1987
2189
|
baseline: z.ZodObject<{
|
|
1988
2190
|
id: z.ZodDefault<z.ZodString>;
|
|
1989
2191
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2017,7 +2219,7 @@ export declare const Experience: {
|
|
|
2017
2219
|
id?: string | undefined;
|
|
2018
2220
|
hidden?: boolean | undefined;
|
|
2019
2221
|
}[];
|
|
2020
|
-
}>, "many"
|
|
2222
|
+
}>, "many">>>;
|
|
2021
2223
|
}, "strip", z.ZodTypeAny, {
|
|
2022
2224
|
distribution: number[];
|
|
2023
2225
|
traffic: number;
|
|
@@ -2048,9 +2250,15 @@ export declare const Experience: {
|
|
|
2048
2250
|
*/
|
|
2049
2251
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2050
2252
|
id: z.ZodString;
|
|
2253
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2254
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2051
2255
|
}, "strip", z.ZodTypeAny, {
|
|
2256
|
+
name?: string | undefined;
|
|
2257
|
+
description?: string | undefined;
|
|
2052
2258
|
id: string;
|
|
2053
2259
|
}, {
|
|
2260
|
+
name?: string | undefined;
|
|
2261
|
+
description?: string | undefined;
|
|
2054
2262
|
id: string;
|
|
2055
2263
|
}>>>;
|
|
2056
2264
|
/**
|
|
@@ -2074,6 +2282,10 @@ export declare const Experience: {
|
|
|
2074
2282
|
* The name of the experience (Short Text)
|
|
2075
2283
|
*/
|
|
2076
2284
|
name: z.ZodString;
|
|
2285
|
+
/**
|
|
2286
|
+
* The description of the experience (Short Text)
|
|
2287
|
+
*/
|
|
2288
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2077
2289
|
/**
|
|
2078
2290
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
2079
2291
|
*/
|
|
@@ -2082,9 +2294,9 @@ export declare const Experience: {
|
|
|
2082
2294
|
* The config of the experience (JSON)
|
|
2083
2295
|
*/
|
|
2084
2296
|
config: z.ZodDefault<z.ZodObject<{
|
|
2085
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
2086
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
2087
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2297
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
2298
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2299
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2088
2300
|
baseline: z.ZodObject<{
|
|
2089
2301
|
id: z.ZodDefault<z.ZodString>;
|
|
2090
2302
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2118,7 +2330,7 @@ export declare const Experience: {
|
|
|
2118
2330
|
id?: string | undefined;
|
|
2119
2331
|
hidden?: boolean | undefined;
|
|
2120
2332
|
}[];
|
|
2121
|
-
}>, "many"
|
|
2333
|
+
}>, "many">>>;
|
|
2122
2334
|
}, "strip", z.ZodTypeAny, {
|
|
2123
2335
|
distribution: number[];
|
|
2124
2336
|
traffic: number;
|
|
@@ -2149,9 +2361,15 @@ export declare const Experience: {
|
|
|
2149
2361
|
*/
|
|
2150
2362
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2151
2363
|
id: z.ZodString;
|
|
2364
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2152
2366
|
}, "strip", z.ZodTypeAny, {
|
|
2367
|
+
name?: string | undefined;
|
|
2368
|
+
description?: string | undefined;
|
|
2153
2369
|
id: string;
|
|
2154
2370
|
}, {
|
|
2371
|
+
name?: string | undefined;
|
|
2372
|
+
description?: string | undefined;
|
|
2155
2373
|
id: string;
|
|
2156
2374
|
}>>>;
|
|
2157
2375
|
/**
|
|
@@ -2171,7 +2389,10 @@ export declare const Experience: {
|
|
|
2171
2389
|
}[], unknown>>;
|
|
2172
2390
|
}, Augmentation_1>[k_7]["_input"]; } : never>[k_6]; } : never>;
|
|
2173
2391
|
_type: {
|
|
2392
|
+
description?: string | undefined;
|
|
2174
2393
|
audience?: {
|
|
2394
|
+
name?: string | undefined;
|
|
2395
|
+
description?: string | undefined;
|
|
2175
2396
|
id: string;
|
|
2176
2397
|
} | null | undefined;
|
|
2177
2398
|
id: string;
|
|
@@ -2196,7 +2417,10 @@ export declare const Experience: {
|
|
|
2196
2417
|
};
|
|
2197
2418
|
};
|
|
2198
2419
|
_output: {
|
|
2420
|
+
description?: string | undefined;
|
|
2199
2421
|
audience?: {
|
|
2422
|
+
name?: string | undefined;
|
|
2423
|
+
description?: string | undefined;
|
|
2200
2424
|
id: string;
|
|
2201
2425
|
} | null | undefined;
|
|
2202
2426
|
id: string;
|
|
@@ -2221,6 +2445,7 @@ export declare const Experience: {
|
|
|
2221
2445
|
};
|
|
2222
2446
|
};
|
|
2223
2447
|
_input: {
|
|
2448
|
+
description?: string | undefined;
|
|
2224
2449
|
variants?: unknown;
|
|
2225
2450
|
config?: {
|
|
2226
2451
|
distribution?: number[] | undefined;
|
|
@@ -2236,6 +2461,8 @@ export declare const Experience: {
|
|
|
2236
2461
|
}[] | undefined;
|
|
2237
2462
|
} | undefined;
|
|
2238
2463
|
audience?: {
|
|
2464
|
+
name?: string | undefined;
|
|
2465
|
+
description?: string | undefined;
|
|
2239
2466
|
id: string;
|
|
2240
2467
|
} | null | undefined;
|
|
2241
2468
|
id: string;
|
|
@@ -2248,6 +2475,10 @@ export declare const Experience: {
|
|
|
2248
2475
|
* The name of the experience (Short Text)
|
|
2249
2476
|
*/
|
|
2250
2477
|
name: z.ZodString;
|
|
2478
|
+
/**
|
|
2479
|
+
* The description of the experience (Short Text)
|
|
2480
|
+
*/
|
|
2481
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2251
2482
|
/**
|
|
2252
2483
|
* The type if the experience (nt_experiment | nt_personalization)
|
|
2253
2484
|
*/
|
|
@@ -2256,9 +2487,9 @@ export declare const Experience: {
|
|
|
2256
2487
|
* The config of the experience (JSON)
|
|
2257
2488
|
*/
|
|
2258
2489
|
config: z.ZodDefault<z.ZodObject<{
|
|
2259
|
-
distribution: z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
2260
|
-
traffic: z.ZodDefault<z.ZodNumber
|
|
2261
|
-
components: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2490
|
+
distribution: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
2491
|
+
traffic: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2492
|
+
components: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2262
2493
|
baseline: z.ZodObject<{
|
|
2263
2494
|
id: z.ZodDefault<z.ZodString>;
|
|
2264
2495
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2292,7 +2523,7 @@ export declare const Experience: {
|
|
|
2292
2523
|
id?: string | undefined;
|
|
2293
2524
|
hidden?: boolean | undefined;
|
|
2294
2525
|
}[];
|
|
2295
|
-
}>, "many"
|
|
2526
|
+
}>, "many">>>;
|
|
2296
2527
|
}, "strip", z.ZodTypeAny, {
|
|
2297
2528
|
distribution: number[];
|
|
2298
2529
|
traffic: number;
|
|
@@ -2323,9 +2554,15 @@ export declare const Experience: {
|
|
|
2323
2554
|
*/
|
|
2324
2555
|
audience: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2325
2556
|
id: z.ZodString;
|
|
2557
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2558
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2326
2559
|
}, "strip", z.ZodTypeAny, {
|
|
2560
|
+
name?: string | undefined;
|
|
2561
|
+
description?: string | undefined;
|
|
2327
2562
|
id: string;
|
|
2328
2563
|
}, {
|
|
2564
|
+
name?: string | undefined;
|
|
2565
|
+
description?: string | undefined;
|
|
2329
2566
|
id: string;
|
|
2330
2567
|
}>>>;
|
|
2331
2568
|
/**
|
|
@@ -2345,6 +2582,7 @@ export declare const Experience: {
|
|
|
2345
2582
|
}[], unknown>>;
|
|
2346
2583
|
}, "strip", z.ZodTypeAny>;
|
|
2347
2584
|
spa: (data: unknown, params?: Partial<z.ParseParams> | undefined) => Promise<z.SafeParseReturnType<{
|
|
2585
|
+
description?: string | undefined;
|
|
2348
2586
|
variants?: unknown;
|
|
2349
2587
|
config?: {
|
|
2350
2588
|
distribution?: number[] | undefined;
|
|
@@ -2360,13 +2598,18 @@ export declare const Experience: {
|
|
|
2360
2598
|
}[] | undefined;
|
|
2361
2599
|
} | undefined;
|
|
2362
2600
|
audience?: {
|
|
2601
|
+
name?: string | undefined;
|
|
2602
|
+
description?: string | undefined;
|
|
2363
2603
|
id: string;
|
|
2364
2604
|
} | null | undefined;
|
|
2365
2605
|
id: string;
|
|
2366
2606
|
name: string;
|
|
2367
2607
|
type: string;
|
|
2368
2608
|
}, {
|
|
2609
|
+
description?: string | undefined;
|
|
2369
2610
|
audience?: {
|
|
2611
|
+
name?: string | undefined;
|
|
2612
|
+
description?: string | undefined;
|
|
2370
2613
|
id: string;
|
|
2371
2614
|
} | null | undefined;
|
|
2372
2615
|
id: string;
|