@uniformdev/context 18.16.1-alpha.6 → 18.17.1-alpha.13

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/dist/api/api.d.ts CHANGED
@@ -1,7 +1,4 @@
1
- import { A as AggregateGetParameters, a as AggregateGetResponse, b as AggregatePutParameters, c as AggregateDeleteParameters, D as DimensionDefinition, d as DimensionGetParameters, e as DimensionGetResponse, E as EnrichmentGetParameters, f as EnrichmentGetResponse, g as EnrichmentPutParameters, h as EnrichmentDeleteParameters, i as EnrichmentValuePutParameters, j as EnrichmentValueDeleteParameters, M as ManifestGetParameters, k as ManifestGetResponse, Q as QuirkGetParameters, l as QuirkGetResponse, m as QuirkPutParameters, n as QuirkDeleteParameters, S as SignalGetParameters, o as SignalGetResponse, p as SignalPutParameters, q as SignalDeleteParameters, T as TestGetParameters, r as TestGetResponse, s as TestPutParameters, t as TestDeleteParameters } from '../contextTypes-defd0c5d.js';
2
- export { x as Aggregate, C as ContextDefinitions, F as CookieCriteria, J as CurrentPageCriteria, u as EnrichmentCategory, v as EnrichmentCategoryWithValues, w as EnrichmentValue, I as EventCriteria, P as PageViewCountCriteria, G as QueryStringCriteria, y as Quirk, H as QuirkCriteria, R as RootSignalCriteriaGroup, B as SignalWithId, z as Test } from '../contextTypes-defd0c5d.js';
3
- import { I as ManifestV2 } from '../types-1c9fdbd2.js';
4
- import '../v2-manifest.swagger-74a3dcac.js';
1
+ import { as as paths$7, I as ManifestV2 } from '../types-6909e78d.js';
5
2
  import 'mitt';
6
3
 
7
4
  type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
@@ -49,6 +46,1721 @@ declare class ApiClient<TOptions extends ClientOptions = ClientOptions> {
49
46
  }
50
47
  declare function handleRateLimits(callApi: () => Promise<Response>): Promise<Response>;
51
48
 
49
+ interface components$6 {
50
+ schemas: {
51
+ EnrichmentCategory: {
52
+ /** @description The maximum visitor score allowed for enrichment keys in this category */
53
+ cap: number;
54
+ };
55
+ PreviewSignal: components$6["schemas"]["Signal"] & {
56
+ /** @description Friendly name of the signal */
57
+ name: string;
58
+ /** @description Description of the signal */
59
+ description?: string;
60
+ };
61
+ Signal: {
62
+ /** @description The signal strength per activation (each time its criteria are true, this score is added) */
63
+ str: number;
64
+ /** @description The maximum visitor score allowed for this signal */
65
+ cap: number;
66
+ /**
67
+ * @description How long the signal's score should persist
68
+ * 's' = current session (expires after a period of inactivity)
69
+ * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
70
+ * 't' = transient (score tracks the current state of the criteria every time scores are updated)
71
+ *
72
+ * @enum {string}
73
+ */
74
+ dur: "s" | "p" | "t";
75
+ crit: components$6["schemas"]["RootSignalCriteriaGroup"];
76
+ };
77
+ RootSignalCriteriaGroup: {
78
+ /**
79
+ * @description Criteria type (Group of other criteria)
80
+ * @enum {string}
81
+ */
82
+ type: "G";
83
+ /**
84
+ * @description The logical operator to apply to the criteria groups
85
+ * & = AND
86
+ * | = OR
87
+ *
88
+ * Default is `&` if unspecified.
89
+ *
90
+ * @default &
91
+ * @enum {string}
92
+ */
93
+ op?: "&" | "|";
94
+ /** @description The criteria clauses that make up this grouping of criteria */
95
+ clauses: (components$6["schemas"]["SignalCriteriaGroup"] | components$6["schemas"]["SignalCriteria"])[];
96
+ };
97
+ SignalCriteriaGroup: {
98
+ /**
99
+ * @description Criteria type (Group of other criteria)
100
+ * @enum {string}
101
+ */
102
+ type: "G";
103
+ /**
104
+ * @description The logical operator to apply to the criteria groups
105
+ * & = AND
106
+ * | = OR
107
+ *
108
+ * Default is `&` if unspecified.
109
+ *
110
+ * @enum {string}
111
+ */
112
+ op?: "&" | "|";
113
+ /** @description The criteria clauses that make up this grouping of criteria */
114
+ clauses: (components$6["schemas"]["SignalCriteriaGroup"] | components$6["schemas"]["SignalCriteria"])[];
115
+ };
116
+ SignalCriteria: components$6["schemas"]["CookieCriteria"] | components$6["schemas"]["QueryStringCriteria"] | components$6["schemas"]["QuirkCriteria"] | components$6["schemas"]["EventCriteria"] | components$6["schemas"]["CurrentPageCriteria"] | components$6["schemas"]["PageViewCountCriteria"];
117
+ /** @description Matches a URL query string parameter value */
118
+ QueryStringCriteria: {
119
+ /** @enum {string} */
120
+ type: "QS";
121
+ /** @description The name of the query string parameter to match */
122
+ queryName: string;
123
+ /** @description The value to match the query string parameter against */
124
+ match: components$6["schemas"]["StringMatch"];
125
+ };
126
+ /** @description Matches a web cookie value */
127
+ CookieCriteria: {
128
+ /** @enum {string} */
129
+ type: "CK";
130
+ /** @description The name of the cookie to match */
131
+ cookieName: string;
132
+ /** @description The value to match the cookie against */
133
+ match: components$6["schemas"]["StringMatch"];
134
+ };
135
+ /** @description Matches a visitor quirk key and value */
136
+ QuirkCriteria: {
137
+ /** @enum {string} */
138
+ type: "QK";
139
+ /** @description The name of the quirk key to match */
140
+ key: string;
141
+ /** @description The quirk value to match against */
142
+ match: components$6["schemas"]["StringMatch"];
143
+ };
144
+ /** @description Matches an analytics event name being fired */
145
+ EventCriteria: {
146
+ /** @enum {string} */
147
+ type: "EVT";
148
+ /** @description How to match the event name */
149
+ event: components$6["schemas"]["StringMatch"];
150
+ };
151
+ /**
152
+ * @description Matches the current page's absolute path (i.e. /path/to/page.html)
153
+ * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
154
+ */
155
+ CurrentPageCriteria: {
156
+ /** @enum {string} */
157
+ type: "PV";
158
+ /** @description The page/route path to match as a page that has been visited */
159
+ path: components$6["schemas"]["StringMatch"];
160
+ };
161
+ PageViewCountCriteria: {
162
+ /** @enum {string} */
163
+ type: "PVC";
164
+ /** @description The expression to match the page view count against */
165
+ match: components$6["schemas"]["NumberMatch"];
166
+ };
167
+ /** @description Describes a match expression on a string */
168
+ StringMatch: {
169
+ /** @description The right hand side of the match expression */
170
+ rhs: string;
171
+ /**
172
+ * @description The match operator
173
+ * '=' = exact match
174
+ * '~' = contains match
175
+ * '//' = regular expression match
176
+ *
177
+ * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
178
+ *
179
+ * @enum {string}
180
+ */
181
+ op: "=" | "~" | "//" | "!=" | "!~" | "!//";
182
+ /** @description The case sensitivity of the match. Defaults to false if unspecified. */
183
+ cs?: boolean;
184
+ } | {
185
+ /**
186
+ * @description The type of match to perform
187
+ * '*' = exists with any value
188
+ * '!*' = does not exist
189
+ *
190
+ * @enum {string}
191
+ */
192
+ op: "*" | "!*";
193
+ };
194
+ /** @description Describes a match expression on a number */
195
+ NumberMatch: {
196
+ /** @description The right hand side of the match expression */
197
+ rhs: number;
198
+ /**
199
+ * @description The type of match to perform
200
+ * '=' = exact match
201
+ * '!=' = not an exact match
202
+ * '<' = less than match expression
203
+ * '>' = greater than match expression
204
+ *
205
+ * @enum {string}
206
+ */
207
+ op: "=" | "<" | ">" | "!=";
208
+ };
209
+ /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience. */
210
+ AggregateDimension: {
211
+ /** @description Input dimensions to the aggregate dimension */
212
+ inputs: components$6["schemas"]["AggregateDimensionInput"][];
213
+ };
214
+ /** @description Defines an input dimension to an aggregate dimension */
215
+ AggregateDimensionInput: {
216
+ /**
217
+ * @description Dimension name to reference as an input.
218
+ * For enrichment inputs, use CATEGORY_KEY as the dimension.
219
+ * Enrichments, signals, and other aggregate dimensions may be referenced.
220
+ *
221
+ * Note that creating a cycle of aggregate dimensions is allowed, however
222
+ * the final score will _ignore_ the cycled aggregate dimension in the result.
223
+ * This can be used to create mutually exclusive aggregates.
224
+ */
225
+ dim: string;
226
+ /**
227
+ * @description The sign of the input dimension controls how it affects the aggregate dimension's final score.
228
+ *
229
+ * '+' = add to the final score
230
+ * '-' = subtract from the final score
231
+ * 'c' = clear the final score (if the input dimension has any score at all, this aggreate will have no score regardless of other inputs)
232
+ *
233
+ * Default if unspecified: '+'
234
+ *
235
+ * @default +
236
+ * @enum {string}
237
+ */
238
+ sign?: "+" | "-" | "c";
239
+ };
240
+ Test: {
241
+ /** @description Winning variation ID - if set, the test will not run and this variation is shown to all visitors (the test is closed) */
242
+ wv?: string;
243
+ };
244
+ };
245
+ }
246
+
247
+ /**
248
+ * This file was auto-generated by openapi-typescript.
249
+ * Do not make direct changes to the file.
250
+ */
251
+ interface paths$6 {
252
+ "/api/v1/enrichment-values": {
253
+ put: {
254
+ responses: {
255
+ /** OK */
256
+ 204: never;
257
+ 400: external$6["swagger.yml"]["components"]["responses"]["BadRequestError"];
258
+ 401: external$6["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
259
+ 403: external$6["swagger.yml"]["components"]["responses"]["ForbiddenError"];
260
+ 429: external$6["swagger.yml"]["components"]["responses"]["RateLimitError"];
261
+ 500: external$6["swagger.yml"]["components"]["responses"]["InternalServerError"];
262
+ };
263
+ requestBody: {
264
+ content: {
265
+ "application/json": {
266
+ enrichmentValue: external$6["v1-enrichments.swagger.yml"]["components"]["schemas"]["EnrichmentValue"];
267
+ enrichmentId: string;
268
+ /** Format: uuid */
269
+ projectId: string;
270
+ };
271
+ };
272
+ };
273
+ };
274
+ delete: {
275
+ responses: {
276
+ /** OK */
277
+ 204: never;
278
+ 400: external$6["swagger.yml"]["components"]["responses"]["BadRequestError"];
279
+ 401: external$6["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
280
+ 403: external$6["swagger.yml"]["components"]["responses"]["ForbiddenError"];
281
+ /** Parent enrichment category was not found */
282
+ 404: unknown;
283
+ 429: external$6["swagger.yml"]["components"]["responses"]["RateLimitError"];
284
+ 500: external$6["swagger.yml"]["components"]["responses"]["InternalServerError"];
285
+ };
286
+ requestBody: {
287
+ content: {
288
+ "application/json": {
289
+ enrichmentId: string;
290
+ /** Format: uuid */
291
+ projectId: string;
292
+ enrichmentValueId: string;
293
+ };
294
+ };
295
+ };
296
+ };
297
+ /** Handles preflight requests. This endpoint allows CORS. */
298
+ options: {
299
+ responses: {
300
+ /** OK */
301
+ 204: never;
302
+ };
303
+ };
304
+ };
305
+ }
306
+ interface external$6 {
307
+ "swagger.yml": {
308
+ paths: {};
309
+ components: {
310
+ schemas: {
311
+ Error: {
312
+ /** @description Error message(s) that occurred while processing the request */
313
+ errorMessage?: string[] | string;
314
+ };
315
+ };
316
+ responses: {
317
+ /** Request input validation failed */
318
+ BadRequestError: {
319
+ content: {
320
+ "application/json": external$6["swagger.yml"]["components"]["schemas"]["Error"];
321
+ };
322
+ };
323
+ /** API key or token was not valid */
324
+ UnauthorizedError: {
325
+ content: {
326
+ "application/json": external$6["swagger.yml"]["components"]["schemas"]["Error"];
327
+ };
328
+ };
329
+ /** Permission was denied */
330
+ ForbiddenError: {
331
+ content: {
332
+ "application/json": external$6["swagger.yml"]["components"]["schemas"]["Error"];
333
+ };
334
+ };
335
+ /** Resource not found */
336
+ NotFoundError: {
337
+ content: {
338
+ "application/json": external$6["swagger.yml"]["components"]["schemas"]["Error"];
339
+ };
340
+ };
341
+ /** Too many requests in allowed time period */
342
+ RateLimitError: unknown;
343
+ /** Execution error occurred */
344
+ InternalServerError: unknown;
345
+ };
346
+ };
347
+ operations: {};
348
+ };
349
+ "v1-enrichments.swagger.yml": {
350
+ paths: {
351
+ "/api/v1/enrichments": {
352
+ get: {
353
+ parameters: {
354
+ query: {
355
+ projectId: string;
356
+ };
357
+ };
358
+ responses: {
359
+ /** OK */
360
+ 200: {
361
+ content: {
362
+ "application/json": {
363
+ enrichments: external$6["v1-enrichments.swagger.yml"]["components"]["schemas"]["EnrichmentCategoryWithValues"][];
364
+ };
365
+ };
366
+ };
367
+ 400: external$6["swagger.yml"]["components"]["responses"]["BadRequestError"];
368
+ 401: external$6["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
369
+ 403: external$6["swagger.yml"]["components"]["responses"]["ForbiddenError"];
370
+ 429: external$6["swagger.yml"]["components"]["responses"]["RateLimitError"];
371
+ 500: external$6["swagger.yml"]["components"]["responses"]["InternalServerError"];
372
+ };
373
+ };
374
+ put: {
375
+ responses: {
376
+ /** OK */
377
+ 204: never;
378
+ 400: external$6["swagger.yml"]["components"]["responses"]["BadRequestError"];
379
+ 401: external$6["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
380
+ 403: external$6["swagger.yml"]["components"]["responses"]["ForbiddenError"];
381
+ 429: external$6["swagger.yml"]["components"]["responses"]["RateLimitError"];
382
+ 500: external$6["swagger.yml"]["components"]["responses"]["InternalServerError"];
383
+ };
384
+ requestBody: {
385
+ content: {
386
+ "application/json": {
387
+ enrichment: external$6["v1-enrichments.swagger.yml"]["components"]["schemas"]["EnrichmentCategory"];
388
+ /** Format: uuid */
389
+ projectId: string;
390
+ };
391
+ };
392
+ };
393
+ };
394
+ delete: {
395
+ responses: {
396
+ /** OK */
397
+ 204: never;
398
+ 400: external$6["swagger.yml"]["components"]["responses"]["BadRequestError"];
399
+ 401: external$6["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
400
+ 403: external$6["swagger.yml"]["components"]["responses"]["ForbiddenError"];
401
+ 429: external$6["swagger.yml"]["components"]["responses"]["RateLimitError"];
402
+ 500: external$6["swagger.yml"]["components"]["responses"]["InternalServerError"];
403
+ };
404
+ requestBody: {
405
+ content: {
406
+ "application/json": {
407
+ enrichmentId: string;
408
+ /** Format: uuid */
409
+ projectId: string;
410
+ };
411
+ };
412
+ };
413
+ };
414
+ /** Handles preflight requests. This endpoint allows CORS. */
415
+ options: {
416
+ responses: {
417
+ /** OK */
418
+ 204: never;
419
+ };
420
+ };
421
+ };
422
+ };
423
+ components: {
424
+ schemas: {
425
+ EnrichmentCategory: {
426
+ /** @description Public ID of the enrichment category */
427
+ id: string;
428
+ /** @description Display name of the enrichment category */
429
+ name: string;
430
+ /** @description Optional sort order of the enrichment category (if not set, sorts by name) */
431
+ sortOrder?: number | null;
432
+ /**
433
+ * @description The maximum visitor score allowed for enrichment keys in this category
434
+ * @default 99999999
435
+ */
436
+ cap?: number;
437
+ };
438
+ EnrichmentCategoryWithValues: external$6["v1-enrichments.swagger.yml"]["components"]["schemas"]["EnrichmentCategory"] & {
439
+ values: external$6["v1-enrichments.swagger.yml"]["components"]["schemas"]["EnrichmentValue"][];
440
+ };
441
+ EnrichmentValue: {
442
+ /** @description Public ID of the enrichment value */
443
+ id: string;
444
+ /** @description Display name of the enrichment value */
445
+ value: string;
446
+ /** @description Optional sort order of the enrichment value (if not set, sorts by name) */
447
+ sortOrder?: number | null;
448
+ };
449
+ };
450
+ };
451
+ operations: {};
452
+ };
453
+ }
454
+
455
+ /**
456
+ * This file was auto-generated by openapi-typescript.
457
+ * Do not make direct changes to the file.
458
+ */
459
+ interface paths$5 {
460
+ "/api/v1/enrichments": {
461
+ get: {
462
+ parameters: {
463
+ query: {
464
+ projectId: string;
465
+ };
466
+ };
467
+ responses: {
468
+ /** OK */
469
+ 200: {
470
+ content: {
471
+ "application/json": {
472
+ enrichments: components$5["schemas"]["EnrichmentCategoryWithValues"][];
473
+ };
474
+ };
475
+ };
476
+ 400: external$5["swagger.yml"]["components"]["responses"]["BadRequestError"];
477
+ 401: external$5["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
478
+ 403: external$5["swagger.yml"]["components"]["responses"]["ForbiddenError"];
479
+ 429: external$5["swagger.yml"]["components"]["responses"]["RateLimitError"];
480
+ 500: external$5["swagger.yml"]["components"]["responses"]["InternalServerError"];
481
+ };
482
+ };
483
+ put: {
484
+ responses: {
485
+ /** OK */
486
+ 204: never;
487
+ 400: external$5["swagger.yml"]["components"]["responses"]["BadRequestError"];
488
+ 401: external$5["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
489
+ 403: external$5["swagger.yml"]["components"]["responses"]["ForbiddenError"];
490
+ 429: external$5["swagger.yml"]["components"]["responses"]["RateLimitError"];
491
+ 500: external$5["swagger.yml"]["components"]["responses"]["InternalServerError"];
492
+ };
493
+ requestBody: {
494
+ content: {
495
+ "application/json": {
496
+ enrichment: components$5["schemas"]["EnrichmentCategory"];
497
+ /** Format: uuid */
498
+ projectId: string;
499
+ };
500
+ };
501
+ };
502
+ };
503
+ delete: {
504
+ responses: {
505
+ /** OK */
506
+ 204: never;
507
+ 400: external$5["swagger.yml"]["components"]["responses"]["BadRequestError"];
508
+ 401: external$5["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
509
+ 403: external$5["swagger.yml"]["components"]["responses"]["ForbiddenError"];
510
+ 429: external$5["swagger.yml"]["components"]["responses"]["RateLimitError"];
511
+ 500: external$5["swagger.yml"]["components"]["responses"]["InternalServerError"];
512
+ };
513
+ requestBody: {
514
+ content: {
515
+ "application/json": {
516
+ enrichmentId: string;
517
+ /** Format: uuid */
518
+ projectId: string;
519
+ };
520
+ };
521
+ };
522
+ };
523
+ /** Handles preflight requests. This endpoint allows CORS. */
524
+ options: {
525
+ responses: {
526
+ /** OK */
527
+ 204: never;
528
+ };
529
+ };
530
+ };
531
+ }
532
+ interface components$5 {
533
+ schemas: {
534
+ EnrichmentCategory: {
535
+ /** @description Public ID of the enrichment category */
536
+ id: string;
537
+ /** @description Display name of the enrichment category */
538
+ name: string;
539
+ /** @description Optional sort order of the enrichment category (if not set, sorts by name) */
540
+ sortOrder?: number | null;
541
+ /**
542
+ * @description The maximum visitor score allowed for enrichment keys in this category
543
+ * @default 99999999
544
+ */
545
+ cap?: number;
546
+ };
547
+ EnrichmentCategoryWithValues: components$5["schemas"]["EnrichmentCategory"] & {
548
+ values: components$5["schemas"]["EnrichmentValue"][];
549
+ };
550
+ EnrichmentValue: {
551
+ /** @description Public ID of the enrichment value */
552
+ id: string;
553
+ /** @description Display name of the enrichment value */
554
+ value: string;
555
+ /** @description Optional sort order of the enrichment value (if not set, sorts by name) */
556
+ sortOrder?: number | null;
557
+ };
558
+ };
559
+ }
560
+ interface external$5 {
561
+ "swagger.yml": {
562
+ paths: {};
563
+ components: {
564
+ schemas: {
565
+ Error: {
566
+ /** @description Error message(s) that occurred while processing the request */
567
+ errorMessage?: string[] | string;
568
+ };
569
+ };
570
+ responses: {
571
+ /** Request input validation failed */
572
+ BadRequestError: {
573
+ content: {
574
+ "application/json": external$5["swagger.yml"]["components"]["schemas"]["Error"];
575
+ };
576
+ };
577
+ /** API key or token was not valid */
578
+ UnauthorizedError: {
579
+ content: {
580
+ "application/json": external$5["swagger.yml"]["components"]["schemas"]["Error"];
581
+ };
582
+ };
583
+ /** Permission was denied */
584
+ ForbiddenError: {
585
+ content: {
586
+ "application/json": external$5["swagger.yml"]["components"]["schemas"]["Error"];
587
+ };
588
+ };
589
+ /** Resource not found */
590
+ NotFoundError: {
591
+ content: {
592
+ "application/json": external$5["swagger.yml"]["components"]["schemas"]["Error"];
593
+ };
594
+ };
595
+ /** Too many requests in allowed time period */
596
+ RateLimitError: unknown;
597
+ /** Execution error occurred */
598
+ InternalServerError: unknown;
599
+ };
600
+ };
601
+ operations: {};
602
+ };
603
+ }
604
+
605
+ /**
606
+ * This file was auto-generated by openapi-typescript.
607
+ * Do not make direct changes to the file.
608
+ */
609
+ interface paths$4 {
610
+ "/api/v2/aggregate": {
611
+ get: {
612
+ parameters: {
613
+ query: {
614
+ /** The project to fetch aggregates for */
615
+ projectId: string;
616
+ /** Limit the results to a specific aggregate ID */
617
+ aggregateId?: string;
618
+ /**
619
+ * Limit the results to a specific aggregate type
620
+ * 0: Audience
621
+ * 1: Intent
622
+ */
623
+ type?: 0 | 1;
624
+ };
625
+ };
626
+ responses: {
627
+ /** OK */
628
+ 200: {
629
+ content: {
630
+ "application/json": {
631
+ aggregates: components$4["schemas"]["AggregateData"][];
632
+ };
633
+ };
634
+ };
635
+ 400: external$4["swagger.yml"]["components"]["responses"]["BadRequestError"];
636
+ 401: external$4["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
637
+ 403: external$4["swagger.yml"]["components"]["responses"]["ForbiddenError"];
638
+ 429: external$4["swagger.yml"]["components"]["responses"]["RateLimitError"];
639
+ 500: external$4["swagger.yml"]["components"]["responses"]["InternalServerError"];
640
+ };
641
+ };
642
+ put: {
643
+ responses: {
644
+ /** OK */
645
+ 204: never;
646
+ 400: external$4["swagger.yml"]["components"]["responses"]["BadRequestError"];
647
+ 401: external$4["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
648
+ 403: external$4["swagger.yml"]["components"]["responses"]["ForbiddenError"];
649
+ 429: external$4["swagger.yml"]["components"]["responses"]["RateLimitError"];
650
+ 500: external$4["swagger.yml"]["components"]["responses"]["InternalServerError"];
651
+ };
652
+ requestBody: {
653
+ content: {
654
+ "application/json": {
655
+ aggregate: components$4["schemas"]["AggregateData"];
656
+ /** Format: uuid */
657
+ projectId: string;
658
+ /**
659
+ * @description Skips updating aggregate inputs and upserts only the aggregate definition.
660
+ * Inputs data is still required, but is ignored and not saved or validated.
661
+ * Useful when creating aggregates that reference each other: Create the definitions, then the inputs.
662
+ *
663
+ * @default false
664
+ */
665
+ skipInputs?: boolean;
666
+ };
667
+ };
668
+ };
669
+ };
670
+ delete: {
671
+ responses: {
672
+ /** OK */
673
+ 204: never;
674
+ 400: external$4["swagger.yml"]["components"]["responses"]["BadRequestError"];
675
+ 401: external$4["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
676
+ 403: external$4["swagger.yml"]["components"]["responses"]["ForbiddenError"];
677
+ 429: external$4["swagger.yml"]["components"]["responses"]["RateLimitError"];
678
+ 500: external$4["swagger.yml"]["components"]["responses"]["InternalServerError"];
679
+ };
680
+ requestBody: {
681
+ content: {
682
+ "application/json": {
683
+ aggregateId: string;
684
+ /** Format: uuid */
685
+ projectId: string;
686
+ };
687
+ };
688
+ };
689
+ };
690
+ /** Handles preflight requests. This endpoint allows CORS. */
691
+ options: {
692
+ responses: {
693
+ /** OK */
694
+ 204: never;
695
+ };
696
+ };
697
+ };
698
+ }
699
+ interface components$4 {
700
+ schemas: {
701
+ AggregateData: {
702
+ id: string;
703
+ name: string;
704
+ description?: string;
705
+ /**
706
+ * @description The type of aggregate
707
+ * 0: Audience
708
+ * 1: Intent
709
+ *
710
+ * @enum {number}
711
+ */
712
+ type: 0 | 1;
713
+ inputs: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["AggregateDimensionInput"][];
714
+ };
715
+ };
716
+ }
717
+ interface external$4 {
718
+ "swagger.yml": {
719
+ paths: {};
720
+ components: {
721
+ schemas: {
722
+ Error: {
723
+ /** @description Error message(s) that occurred while processing the request */
724
+ errorMessage?: string[] | string;
725
+ };
726
+ };
727
+ responses: {
728
+ /** Request input validation failed */
729
+ BadRequestError: {
730
+ content: {
731
+ "application/json": external$4["swagger.yml"]["components"]["schemas"]["Error"];
732
+ };
733
+ };
734
+ /** API key or token was not valid */
735
+ UnauthorizedError: {
736
+ content: {
737
+ "application/json": external$4["swagger.yml"]["components"]["schemas"]["Error"];
738
+ };
739
+ };
740
+ /** Permission was denied */
741
+ ForbiddenError: {
742
+ content: {
743
+ "application/json": external$4["swagger.yml"]["components"]["schemas"]["Error"];
744
+ };
745
+ };
746
+ /** Resource not found */
747
+ NotFoundError: {
748
+ content: {
749
+ "application/json": external$4["swagger.yml"]["components"]["schemas"]["Error"];
750
+ };
751
+ };
752
+ /** Too many requests in allowed time period */
753
+ RateLimitError: unknown;
754
+ /** Execution error occurred */
755
+ InternalServerError: unknown;
756
+ };
757
+ };
758
+ operations: {};
759
+ };
760
+ "uniform-context-types.swagger.yml": {
761
+ paths: {};
762
+ components: {
763
+ schemas: {
764
+ EnrichmentCategory: {
765
+ /** @description The maximum visitor score allowed for enrichment keys in this category */
766
+ cap: number;
767
+ };
768
+ PreviewSignal: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["Signal"] & {
769
+ /** @description Friendly name of the signal */
770
+ name: string;
771
+ /** @description Description of the signal */
772
+ description?: string;
773
+ };
774
+ Signal: {
775
+ /** @description The signal strength per activation (each time its criteria are true, this score is added) */
776
+ str: number;
777
+ /** @description The maximum visitor score allowed for this signal */
778
+ cap: number;
779
+ /**
780
+ * @description How long the signal's score should persist
781
+ * 's' = current session (expires after a period of inactivity)
782
+ * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
783
+ * 't' = transient (score tracks the current state of the criteria every time scores are updated)
784
+ *
785
+ * @enum {string}
786
+ */
787
+ dur: "s" | "p" | "t";
788
+ crit: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["RootSignalCriteriaGroup"];
789
+ };
790
+ RootSignalCriteriaGroup: {
791
+ /**
792
+ * @description Criteria type (Group of other criteria)
793
+ * @enum {string}
794
+ */
795
+ type: "G";
796
+ /**
797
+ * @description The logical operator to apply to the criteria groups
798
+ * & = AND
799
+ * | = OR
800
+ *
801
+ * Default is `&` if unspecified.
802
+ *
803
+ * @default &
804
+ * @enum {string}
805
+ */
806
+ op?: "&" | "|";
807
+ /** @description The criteria clauses that make up this grouping of criteria */
808
+ clauses: (external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
809
+ };
810
+ SignalCriteriaGroup: {
811
+ /**
812
+ * @description Criteria type (Group of other criteria)
813
+ * @enum {string}
814
+ */
815
+ type: "G";
816
+ /**
817
+ * @description The logical operator to apply to the criteria groups
818
+ * & = AND
819
+ * | = OR
820
+ *
821
+ * Default is `&` if unspecified.
822
+ *
823
+ * @enum {string}
824
+ */
825
+ op?: "&" | "|";
826
+ /** @description The criteria clauses that make up this grouping of criteria */
827
+ clauses: (external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
828
+ };
829
+ SignalCriteria: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["CookieCriteria"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["QueryStringCriteria"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["QuirkCriteria"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["EventCriteria"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["CurrentPageCriteria"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["PageViewCountCriteria"];
830
+ /** @description Matches a URL query string parameter value */
831
+ QueryStringCriteria: {
832
+ /** @enum {string} */
833
+ type: "QS";
834
+ /** @description The name of the query string parameter to match */
835
+ queryName: string;
836
+ /** @description The value to match the query string parameter against */
837
+ match: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
838
+ };
839
+ /** @description Matches a web cookie value */
840
+ CookieCriteria: {
841
+ /** @enum {string} */
842
+ type: "CK";
843
+ /** @description The name of the cookie to match */
844
+ cookieName: string;
845
+ /** @description The value to match the cookie against */
846
+ match: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
847
+ };
848
+ /** @description Matches a visitor quirk key and value */
849
+ QuirkCriteria: {
850
+ /** @enum {string} */
851
+ type: "QK";
852
+ /** @description The name of the quirk key to match */
853
+ key: string;
854
+ /** @description The quirk value to match against */
855
+ match: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
856
+ };
857
+ /** @description Matches an analytics event name being fired */
858
+ EventCriteria: {
859
+ /** @enum {string} */
860
+ type: "EVT";
861
+ /** @description How to match the event name */
862
+ event: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
863
+ };
864
+ /**
865
+ * @description Matches the current page's absolute path (i.e. /path/to/page.html)
866
+ * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
867
+ */
868
+ CurrentPageCriteria: {
869
+ /** @enum {string} */
870
+ type: "PV";
871
+ /** @description The page/route path to match as a page that has been visited */
872
+ path: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
873
+ };
874
+ PageViewCountCriteria: {
875
+ /** @enum {string} */
876
+ type: "PVC";
877
+ /** @description The expression to match the page view count against */
878
+ match: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["NumberMatch"];
879
+ };
880
+ /** @description Describes a match expression on a string */
881
+ StringMatch: {
882
+ /** @description The right hand side of the match expression */
883
+ rhs: string;
884
+ /**
885
+ * @description The match operator
886
+ * '=' = exact match
887
+ * '~' = contains match
888
+ * '//' = regular expression match
889
+ *
890
+ * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
891
+ *
892
+ * @enum {string}
893
+ */
894
+ op: "=" | "~" | "//" | "!=" | "!~" | "!//";
895
+ /** @description The case sensitivity of the match. Defaults to false if unspecified. */
896
+ cs?: boolean;
897
+ } | {
898
+ /**
899
+ * @description The type of match to perform
900
+ * '*' = exists with any value
901
+ * '!*' = does not exist
902
+ *
903
+ * @enum {string}
904
+ */
905
+ op: "*" | "!*";
906
+ };
907
+ /** @description Describes a match expression on a number */
908
+ NumberMatch: {
909
+ /** @description The right hand side of the match expression */
910
+ rhs: number;
911
+ /**
912
+ * @description The type of match to perform
913
+ * '=' = exact match
914
+ * '!=' = not an exact match
915
+ * '<' = less than match expression
916
+ * '>' = greater than match expression
917
+ *
918
+ * @enum {string}
919
+ */
920
+ op: "=" | "<" | ">" | "!=";
921
+ };
922
+ /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience. */
923
+ AggregateDimension: {
924
+ /** @description Input dimensions to the aggregate dimension */
925
+ inputs: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["AggregateDimensionInput"][];
926
+ };
927
+ /** @description Defines an input dimension to an aggregate dimension */
928
+ AggregateDimensionInput: {
929
+ /**
930
+ * @description Dimension name to reference as an input.
931
+ * For enrichment inputs, use CATEGORY_KEY as the dimension.
932
+ * Enrichments, signals, and other aggregate dimensions may be referenced.
933
+ *
934
+ * Note that creating a cycle of aggregate dimensions is allowed, however
935
+ * the final score will _ignore_ the cycled aggregate dimension in the result.
936
+ * This can be used to create mutually exclusive aggregates.
937
+ */
938
+ dim: string;
939
+ /**
940
+ * @description The sign of the input dimension controls how it affects the aggregate dimension's final score.
941
+ *
942
+ * '+' = add to the final score
943
+ * '-' = subtract from the final score
944
+ * 'c' = clear the final score (if the input dimension has any score at all, this aggreate will have no score regardless of other inputs)
945
+ *
946
+ * Default if unspecified: '+'
947
+ *
948
+ * @default +
949
+ * @enum {string}
950
+ */
951
+ sign?: "+" | "-" | "c";
952
+ };
953
+ Test: {
954
+ /** @description Winning variation ID - if set, the test will not run and this variation is shown to all visitors (the test is closed) */
955
+ wv?: string;
956
+ };
957
+ };
958
+ };
959
+ operations: {};
960
+ };
961
+ }
962
+
963
+ /**
964
+ * This file was auto-generated by openapi-typescript.
965
+ * Do not make direct changes to the file.
966
+ */
967
+ interface paths$3 {
968
+ "/api/v2/dimension": {
969
+ get: {
970
+ parameters: {
971
+ query: {
972
+ /** The project to fetch dimensions for */
973
+ projectId: string;
974
+ };
975
+ };
976
+ responses: {
977
+ /** OK */
978
+ 200: {
979
+ content: {
980
+ "application/json": {
981
+ dimensions: components$3["schemas"]["DimensionDefinition"][];
982
+ };
983
+ };
984
+ };
985
+ 400: external$3["swagger.yml"]["components"]["responses"]["BadRequestError"];
986
+ 401: external$3["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
987
+ 403: external$3["swagger.yml"]["components"]["responses"]["ForbiddenError"];
988
+ 429: external$3["swagger.yml"]["components"]["responses"]["RateLimitError"];
989
+ 500: external$3["swagger.yml"]["components"]["responses"]["InternalServerError"];
990
+ };
991
+ };
992
+ /** Handles preflight requests. This endpoint allows CORS. */
993
+ options: {
994
+ responses: {
995
+ /** OK */
996
+ 204: never;
997
+ };
998
+ };
999
+ };
1000
+ }
1001
+ interface components$3 {
1002
+ schemas: {
1003
+ DimensionDefinition: {
1004
+ /** @description The dimension name (score key) */
1005
+ dim: string;
1006
+ /**
1007
+ * @description The dimension type
1008
+ * AGG: Aggregation (intent or audience)
1009
+ * ENR: Enrichment
1010
+ * SIG: Signal
1011
+ *
1012
+ * @enum {string}
1013
+ */
1014
+ category: "AGG" | "ENR" | "SIG";
1015
+ /**
1016
+ * @description Subtype of the dimension
1017
+ * AGG:0: Audience
1018
+ * AGG:1: Intent
1019
+ * ENR: Enrichment Category name
1020
+ * SIG: null
1021
+ */
1022
+ subcategory?: string;
1023
+ /** @description The dimension's name (without category) */
1024
+ name: string;
1025
+ /** @description The minimum score possible for the dimension */
1026
+ min: number;
1027
+ /** @description The maximum score possible for the dimension */
1028
+ cap: number;
1029
+ };
1030
+ };
1031
+ }
1032
+ interface external$3 {
1033
+ "swagger.yml": {
1034
+ paths: {};
1035
+ components: {
1036
+ schemas: {
1037
+ Error: {
1038
+ /** @description Error message(s) that occurred while processing the request */
1039
+ errorMessage?: string[] | string;
1040
+ };
1041
+ };
1042
+ responses: {
1043
+ /** Request input validation failed */
1044
+ BadRequestError: {
1045
+ content: {
1046
+ "application/json": external$3["swagger.yml"]["components"]["schemas"]["Error"];
1047
+ };
1048
+ };
1049
+ /** API key or token was not valid */
1050
+ UnauthorizedError: {
1051
+ content: {
1052
+ "application/json": external$3["swagger.yml"]["components"]["schemas"]["Error"];
1053
+ };
1054
+ };
1055
+ /** Permission was denied */
1056
+ ForbiddenError: {
1057
+ content: {
1058
+ "application/json": external$3["swagger.yml"]["components"]["schemas"]["Error"];
1059
+ };
1060
+ };
1061
+ /** Resource not found */
1062
+ NotFoundError: {
1063
+ content: {
1064
+ "application/json": external$3["swagger.yml"]["components"]["schemas"]["Error"];
1065
+ };
1066
+ };
1067
+ /** Too many requests in allowed time period */
1068
+ RateLimitError: unknown;
1069
+ /** Execution error occurred */
1070
+ InternalServerError: unknown;
1071
+ };
1072
+ };
1073
+ operations: {};
1074
+ };
1075
+ }
1076
+
1077
+ /**
1078
+ * This file was auto-generated by openapi-typescript.
1079
+ * Do not make direct changes to the file.
1080
+ */
1081
+ interface paths$2 {
1082
+ "/api/v2/quirk": {
1083
+ /** Gets quirk definitions for a project */
1084
+ get: {
1085
+ parameters: {
1086
+ query: {
1087
+ /** The project to fetch quirk definitions for */
1088
+ projectId: string;
1089
+ /** Limit the results to a specific quirk ID */
1090
+ quirkId?: string;
1091
+ /** Include quirks that are defined by integrations */
1092
+ withIntegrations?: boolean;
1093
+ };
1094
+ };
1095
+ responses: {
1096
+ /** OK */
1097
+ 200: {
1098
+ content: {
1099
+ "application/json": {
1100
+ quirks: components$2["schemas"]["Quirk"][];
1101
+ };
1102
+ };
1103
+ };
1104
+ 400: external$2["swagger.yml"]["components"]["responses"]["BadRequestError"];
1105
+ 401: external$2["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1106
+ 403: external$2["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1107
+ 429: external$2["swagger.yml"]["components"]["responses"]["RateLimitError"];
1108
+ 500: external$2["swagger.yml"]["components"]["responses"]["InternalServerError"];
1109
+ };
1110
+ };
1111
+ put: {
1112
+ responses: {
1113
+ /** OK */
1114
+ 204: never;
1115
+ 400: external$2["swagger.yml"]["components"]["responses"]["BadRequestError"];
1116
+ 401: external$2["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1117
+ 403: external$2["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1118
+ 429: external$2["swagger.yml"]["components"]["responses"]["RateLimitError"];
1119
+ 500: external$2["swagger.yml"]["components"]["responses"]["InternalServerError"];
1120
+ };
1121
+ requestBody: {
1122
+ content: {
1123
+ "application/json": {
1124
+ quirk: components$2["schemas"]["Quirk"];
1125
+ /** Format: uuid */
1126
+ projectId: string;
1127
+ };
1128
+ };
1129
+ };
1130
+ };
1131
+ delete: {
1132
+ responses: {
1133
+ /** OK */
1134
+ 204: never;
1135
+ 400: external$2["swagger.yml"]["components"]["responses"]["BadRequestError"];
1136
+ 401: external$2["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1137
+ 403: external$2["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1138
+ 429: external$2["swagger.yml"]["components"]["responses"]["RateLimitError"];
1139
+ 500: external$2["swagger.yml"]["components"]["responses"]["InternalServerError"];
1140
+ };
1141
+ requestBody: {
1142
+ content: {
1143
+ "application/json": {
1144
+ quirkId: string;
1145
+ /** Format: uuid */
1146
+ projectId: string;
1147
+ };
1148
+ };
1149
+ };
1150
+ };
1151
+ /** Handles preflight requests. This endpoint allows CORS. */
1152
+ options: {
1153
+ responses: {
1154
+ /** OK */
1155
+ 204: never;
1156
+ };
1157
+ };
1158
+ };
1159
+ }
1160
+ interface components$2 {
1161
+ schemas: {
1162
+ Quirk: {
1163
+ id: string;
1164
+ name: string;
1165
+ description?: string | null;
1166
+ options?: components$2["schemas"]["QuirkOptions"][];
1167
+ source?: components$2["schemas"]["QuirkSource"];
1168
+ };
1169
+ QuirkOptions: {
1170
+ name: string;
1171
+ value: string;
1172
+ };
1173
+ /** @description The source of this quirk. When not defined, it is user specified. */
1174
+ QuirkSource: {
1175
+ name: string;
1176
+ id: string;
1177
+ };
1178
+ };
1179
+ }
1180
+ interface external$2 {
1181
+ "swagger.yml": {
1182
+ paths: {};
1183
+ components: {
1184
+ schemas: {
1185
+ Error: {
1186
+ /** @description Error message(s) that occurred while processing the request */
1187
+ errorMessage?: string[] | string;
1188
+ };
1189
+ };
1190
+ responses: {
1191
+ /** Request input validation failed */
1192
+ BadRequestError: {
1193
+ content: {
1194
+ "application/json": external$2["swagger.yml"]["components"]["schemas"]["Error"];
1195
+ };
1196
+ };
1197
+ /** API key or token was not valid */
1198
+ UnauthorizedError: {
1199
+ content: {
1200
+ "application/json": external$2["swagger.yml"]["components"]["schemas"]["Error"];
1201
+ };
1202
+ };
1203
+ /** Permission was denied */
1204
+ ForbiddenError: {
1205
+ content: {
1206
+ "application/json": external$2["swagger.yml"]["components"]["schemas"]["Error"];
1207
+ };
1208
+ };
1209
+ /** Resource not found */
1210
+ NotFoundError: {
1211
+ content: {
1212
+ "application/json": external$2["swagger.yml"]["components"]["schemas"]["Error"];
1213
+ };
1214
+ };
1215
+ /** Too many requests in allowed time period */
1216
+ RateLimitError: unknown;
1217
+ /** Execution error occurred */
1218
+ InternalServerError: unknown;
1219
+ };
1220
+ };
1221
+ operations: {};
1222
+ };
1223
+ }
1224
+
1225
+ /**
1226
+ * This file was auto-generated by openapi-typescript.
1227
+ * Do not make direct changes to the file.
1228
+ */
1229
+ interface paths$1 {
1230
+ "/api/v2/signal": {
1231
+ get: {
1232
+ parameters: {
1233
+ query: {
1234
+ /** The project to fetch signals for */
1235
+ projectId: string;
1236
+ /** Limit the results to a specific signal ID */
1237
+ signalId?: string;
1238
+ };
1239
+ };
1240
+ responses: {
1241
+ /** OK */
1242
+ 200: {
1243
+ content: {
1244
+ "application/json": {
1245
+ signals: components$1["schemas"]["SignalWithId"][];
1246
+ };
1247
+ };
1248
+ };
1249
+ 400: external$1["swagger.yml"]["components"]["responses"]["BadRequestError"];
1250
+ 401: external$1["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1251
+ 403: external$1["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1252
+ 429: external$1["swagger.yml"]["components"]["responses"]["RateLimitError"];
1253
+ 500: external$1["swagger.yml"]["components"]["responses"]["InternalServerError"];
1254
+ };
1255
+ };
1256
+ put: {
1257
+ responses: {
1258
+ /** OK */
1259
+ 204: never;
1260
+ 400: external$1["swagger.yml"]["components"]["responses"]["BadRequestError"];
1261
+ 401: external$1["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1262
+ 403: external$1["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1263
+ 429: external$1["swagger.yml"]["components"]["responses"]["RateLimitError"];
1264
+ 500: external$1["swagger.yml"]["components"]["responses"]["InternalServerError"];
1265
+ };
1266
+ requestBody: {
1267
+ content: {
1268
+ "application/json": {
1269
+ signal: components$1["schemas"]["SignalWithId"];
1270
+ /** Format: uuid */
1271
+ projectId: string;
1272
+ };
1273
+ };
1274
+ };
1275
+ };
1276
+ delete: {
1277
+ responses: {
1278
+ /** OK */
1279
+ 204: never;
1280
+ 400: external$1["swagger.yml"]["components"]["responses"]["BadRequestError"];
1281
+ 401: external$1["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1282
+ 403: external$1["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1283
+ 429: external$1["swagger.yml"]["components"]["responses"]["RateLimitError"];
1284
+ 500: external$1["swagger.yml"]["components"]["responses"]["InternalServerError"];
1285
+ };
1286
+ requestBody: {
1287
+ content: {
1288
+ "application/json": {
1289
+ signalId: string;
1290
+ /** Format: uuid */
1291
+ projectId: string;
1292
+ };
1293
+ };
1294
+ };
1295
+ };
1296
+ /** Handles preflight requests. This endpoint allows CORS. */
1297
+ options: {
1298
+ responses: {
1299
+ /** OK */
1300
+ 204: never;
1301
+ };
1302
+ };
1303
+ };
1304
+ }
1305
+ interface components$1 {
1306
+ schemas: {
1307
+ SignalWithId: {
1308
+ id: string;
1309
+ } & external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["PreviewSignal"];
1310
+ };
1311
+ }
1312
+ interface external$1 {
1313
+ "swagger.yml": {
1314
+ paths: {};
1315
+ components: {
1316
+ schemas: {
1317
+ Error: {
1318
+ /** @description Error message(s) that occurred while processing the request */
1319
+ errorMessage?: string[] | string;
1320
+ };
1321
+ };
1322
+ responses: {
1323
+ /** Request input validation failed */
1324
+ BadRequestError: {
1325
+ content: {
1326
+ "application/json": external$1["swagger.yml"]["components"]["schemas"]["Error"];
1327
+ };
1328
+ };
1329
+ /** API key or token was not valid */
1330
+ UnauthorizedError: {
1331
+ content: {
1332
+ "application/json": external$1["swagger.yml"]["components"]["schemas"]["Error"];
1333
+ };
1334
+ };
1335
+ /** Permission was denied */
1336
+ ForbiddenError: {
1337
+ content: {
1338
+ "application/json": external$1["swagger.yml"]["components"]["schemas"]["Error"];
1339
+ };
1340
+ };
1341
+ /** Resource not found */
1342
+ NotFoundError: {
1343
+ content: {
1344
+ "application/json": external$1["swagger.yml"]["components"]["schemas"]["Error"];
1345
+ };
1346
+ };
1347
+ /** Too many requests in allowed time period */
1348
+ RateLimitError: unknown;
1349
+ /** Execution error occurred */
1350
+ InternalServerError: unknown;
1351
+ };
1352
+ };
1353
+ operations: {};
1354
+ };
1355
+ "uniform-context-types.swagger.yml": {
1356
+ paths: {};
1357
+ components: {
1358
+ schemas: {
1359
+ EnrichmentCategory: {
1360
+ /** @description The maximum visitor score allowed for enrichment keys in this category */
1361
+ cap: number;
1362
+ };
1363
+ PreviewSignal: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["Signal"] & {
1364
+ /** @description Friendly name of the signal */
1365
+ name: string;
1366
+ /** @description Description of the signal */
1367
+ description?: string;
1368
+ };
1369
+ Signal: {
1370
+ /** @description The signal strength per activation (each time its criteria are true, this score is added) */
1371
+ str: number;
1372
+ /** @description The maximum visitor score allowed for this signal */
1373
+ cap: number;
1374
+ /**
1375
+ * @description How long the signal's score should persist
1376
+ * 's' = current session (expires after a period of inactivity)
1377
+ * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
1378
+ * 't' = transient (score tracks the current state of the criteria every time scores are updated)
1379
+ *
1380
+ * @enum {string}
1381
+ */
1382
+ dur: "s" | "p" | "t";
1383
+ crit: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["RootSignalCriteriaGroup"];
1384
+ };
1385
+ RootSignalCriteriaGroup: {
1386
+ /**
1387
+ * @description Criteria type (Group of other criteria)
1388
+ * @enum {string}
1389
+ */
1390
+ type: "G";
1391
+ /**
1392
+ * @description The logical operator to apply to the criteria groups
1393
+ * & = AND
1394
+ * | = OR
1395
+ *
1396
+ * Default is `&` if unspecified.
1397
+ *
1398
+ * @default &
1399
+ * @enum {string}
1400
+ */
1401
+ op?: "&" | "|";
1402
+ /** @description The criteria clauses that make up this grouping of criteria */
1403
+ clauses: (external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
1404
+ };
1405
+ SignalCriteriaGroup: {
1406
+ /**
1407
+ * @description Criteria type (Group of other criteria)
1408
+ * @enum {string}
1409
+ */
1410
+ type: "G";
1411
+ /**
1412
+ * @description The logical operator to apply to the criteria groups
1413
+ * & = AND
1414
+ * | = OR
1415
+ *
1416
+ * Default is `&` if unspecified.
1417
+ *
1418
+ * @enum {string}
1419
+ */
1420
+ op?: "&" | "|";
1421
+ /** @description The criteria clauses that make up this grouping of criteria */
1422
+ clauses: (external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
1423
+ };
1424
+ SignalCriteria: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["CookieCriteria"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["QueryStringCriteria"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["QuirkCriteria"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["EventCriteria"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["CurrentPageCriteria"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["PageViewCountCriteria"];
1425
+ /** @description Matches a URL query string parameter value */
1426
+ QueryStringCriteria: {
1427
+ /** @enum {string} */
1428
+ type: "QS";
1429
+ /** @description The name of the query string parameter to match */
1430
+ queryName: string;
1431
+ /** @description The value to match the query string parameter against */
1432
+ match: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
1433
+ };
1434
+ /** @description Matches a web cookie value */
1435
+ CookieCriteria: {
1436
+ /** @enum {string} */
1437
+ type: "CK";
1438
+ /** @description The name of the cookie to match */
1439
+ cookieName: string;
1440
+ /** @description The value to match the cookie against */
1441
+ match: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
1442
+ };
1443
+ /** @description Matches a visitor quirk key and value */
1444
+ QuirkCriteria: {
1445
+ /** @enum {string} */
1446
+ type: "QK";
1447
+ /** @description The name of the quirk key to match */
1448
+ key: string;
1449
+ /** @description The quirk value to match against */
1450
+ match: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
1451
+ };
1452
+ /** @description Matches an analytics event name being fired */
1453
+ EventCriteria: {
1454
+ /** @enum {string} */
1455
+ type: "EVT";
1456
+ /** @description How to match the event name */
1457
+ event: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
1458
+ };
1459
+ /**
1460
+ * @description Matches the current page's absolute path (i.e. /path/to/page.html)
1461
+ * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
1462
+ */
1463
+ CurrentPageCriteria: {
1464
+ /** @enum {string} */
1465
+ type: "PV";
1466
+ /** @description The page/route path to match as a page that has been visited */
1467
+ path: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
1468
+ };
1469
+ PageViewCountCriteria: {
1470
+ /** @enum {string} */
1471
+ type: "PVC";
1472
+ /** @description The expression to match the page view count against */
1473
+ match: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["NumberMatch"];
1474
+ };
1475
+ /** @description Describes a match expression on a string */
1476
+ StringMatch: {
1477
+ /** @description The right hand side of the match expression */
1478
+ rhs: string;
1479
+ /**
1480
+ * @description The match operator
1481
+ * '=' = exact match
1482
+ * '~' = contains match
1483
+ * '//' = regular expression match
1484
+ *
1485
+ * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
1486
+ *
1487
+ * @enum {string}
1488
+ */
1489
+ op: "=" | "~" | "//" | "!=" | "!~" | "!//";
1490
+ /** @description The case sensitivity of the match. Defaults to false if unspecified. */
1491
+ cs?: boolean;
1492
+ } | {
1493
+ /**
1494
+ * @description The type of match to perform
1495
+ * '*' = exists with any value
1496
+ * '!*' = does not exist
1497
+ *
1498
+ * @enum {string}
1499
+ */
1500
+ op: "*" | "!*";
1501
+ };
1502
+ /** @description Describes a match expression on a number */
1503
+ NumberMatch: {
1504
+ /** @description The right hand side of the match expression */
1505
+ rhs: number;
1506
+ /**
1507
+ * @description The type of match to perform
1508
+ * '=' = exact match
1509
+ * '!=' = not an exact match
1510
+ * '<' = less than match expression
1511
+ * '>' = greater than match expression
1512
+ *
1513
+ * @enum {string}
1514
+ */
1515
+ op: "=" | "<" | ">" | "!=";
1516
+ };
1517
+ /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience. */
1518
+ AggregateDimension: {
1519
+ /** @description Input dimensions to the aggregate dimension */
1520
+ inputs: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["AggregateDimensionInput"][];
1521
+ };
1522
+ /** @description Defines an input dimension to an aggregate dimension */
1523
+ AggregateDimensionInput: {
1524
+ /**
1525
+ * @description Dimension name to reference as an input.
1526
+ * For enrichment inputs, use CATEGORY_KEY as the dimension.
1527
+ * Enrichments, signals, and other aggregate dimensions may be referenced.
1528
+ *
1529
+ * Note that creating a cycle of aggregate dimensions is allowed, however
1530
+ * the final score will _ignore_ the cycled aggregate dimension in the result.
1531
+ * This can be used to create mutually exclusive aggregates.
1532
+ */
1533
+ dim: string;
1534
+ /**
1535
+ * @description The sign of the input dimension controls how it affects the aggregate dimension's final score.
1536
+ *
1537
+ * '+' = add to the final score
1538
+ * '-' = subtract from the final score
1539
+ * 'c' = clear the final score (if the input dimension has any score at all, this aggreate will have no score regardless of other inputs)
1540
+ *
1541
+ * Default if unspecified: '+'
1542
+ *
1543
+ * @default +
1544
+ * @enum {string}
1545
+ */
1546
+ sign?: "+" | "-" | "c";
1547
+ };
1548
+ Test: {
1549
+ /** @description Winning variation ID - if set, the test will not run and this variation is shown to all visitors (the test is closed) */
1550
+ wv?: string;
1551
+ };
1552
+ };
1553
+ };
1554
+ operations: {};
1555
+ };
1556
+ }
1557
+
1558
+ /**
1559
+ * This file was auto-generated by openapi-typescript.
1560
+ * Do not make direct changes to the file.
1561
+ */
1562
+ interface paths {
1563
+ "/api/v2/test": {
1564
+ /** Gets A/B test definitions for a project */
1565
+ get: {
1566
+ parameters: {
1567
+ query: {
1568
+ /** The project to fetch tests for */
1569
+ projectId: string;
1570
+ /** Limit the results to a specific test public ID */
1571
+ testId?: string;
1572
+ };
1573
+ };
1574
+ responses: {
1575
+ /** OK */
1576
+ 200: {
1577
+ content: {
1578
+ "application/json": {
1579
+ tests: components["schemas"]["Test"][];
1580
+ };
1581
+ };
1582
+ };
1583
+ 400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
1584
+ 401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1585
+ 403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1586
+ 429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
1587
+ 500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
1588
+ };
1589
+ };
1590
+ put: {
1591
+ responses: {
1592
+ /** OK */
1593
+ 204: never;
1594
+ 400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
1595
+ 401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1596
+ 403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1597
+ 429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
1598
+ 500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
1599
+ };
1600
+ requestBody: {
1601
+ content: {
1602
+ "application/json": {
1603
+ test: components["schemas"]["Test"];
1604
+ /** Format: uuid */
1605
+ projectId: string;
1606
+ };
1607
+ };
1608
+ };
1609
+ };
1610
+ delete: {
1611
+ responses: {
1612
+ /** OK */
1613
+ 204: never;
1614
+ 400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
1615
+ 401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1616
+ 403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1617
+ 429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
1618
+ 500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
1619
+ };
1620
+ requestBody: {
1621
+ content: {
1622
+ "application/json": {
1623
+ testId: string;
1624
+ /** Format: uuid */
1625
+ projectId: string;
1626
+ };
1627
+ };
1628
+ };
1629
+ };
1630
+ /** Handles preflight requests. This endpoint allows CORS. */
1631
+ options: {
1632
+ responses: {
1633
+ /** OK */
1634
+ 204: never;
1635
+ };
1636
+ };
1637
+ };
1638
+ }
1639
+ interface components {
1640
+ schemas: {
1641
+ Test: {
1642
+ id: string;
1643
+ name: string;
1644
+ winning_variant_id?: string;
1645
+ default_variant_id?: string;
1646
+ /** @default false */
1647
+ closed?: boolean;
1648
+ };
1649
+ };
1650
+ }
1651
+ interface external {
1652
+ "swagger.yml": {
1653
+ paths: {};
1654
+ components: {
1655
+ schemas: {
1656
+ Error: {
1657
+ /** @description Error message(s) that occurred while processing the request */
1658
+ errorMessage?: string[] | string;
1659
+ };
1660
+ };
1661
+ responses: {
1662
+ /** Request input validation failed */
1663
+ BadRequestError: {
1664
+ content: {
1665
+ "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
1666
+ };
1667
+ };
1668
+ /** API key or token was not valid */
1669
+ UnauthorizedError: {
1670
+ content: {
1671
+ "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
1672
+ };
1673
+ };
1674
+ /** Permission was denied */
1675
+ ForbiddenError: {
1676
+ content: {
1677
+ "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
1678
+ };
1679
+ };
1680
+ /** Resource not found */
1681
+ NotFoundError: {
1682
+ content: {
1683
+ "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
1684
+ };
1685
+ };
1686
+ /** Too many requests in allowed time period */
1687
+ RateLimitError: unknown;
1688
+ /** Execution error occurred */
1689
+ InternalServerError: unknown;
1690
+ };
1691
+ };
1692
+ operations: {};
1693
+ };
1694
+ }
1695
+
1696
+ type EnrichmentGet = paths$5['/api/v1/enrichments']['get'];
1697
+ type EnrichmentGetParameters = EnrichmentGet['parameters']['query'];
1698
+ type EnrichmentGetResponse = EnrichmentGet['responses']['200']['content']['application/json'];
1699
+ type EnrichmentCategory = components$5['schemas']['EnrichmentCategory'];
1700
+ type EnrichmentCategoryWithValues = components$5['schemas']['EnrichmentCategoryWithValues'];
1701
+ type EnrichmentValue = components$5['schemas']['EnrichmentValue'];
1702
+ type EnrichmentPut = paths$5['/api/v1/enrichments']['put'];
1703
+ type EnrichmentPutParameters = EnrichmentPut['requestBody']['content']['application/json'];
1704
+ type EnrichmentDelete = paths$5['/api/v1/enrichments']['delete'];
1705
+ type EnrichmentDeleteParameters = EnrichmentDelete['requestBody']['content']['application/json'];
1706
+ type EnrichmentValuePut = paths$6['/api/v1/enrichment-values']['put'];
1707
+ type EnrichmentValuePutParameters = EnrichmentValuePut['requestBody']['content']['application/json'];
1708
+ type EnrichmentValueDelete = paths$6['/api/v1/enrichment-values']['delete'];
1709
+ type EnrichmentValueDeleteParameters = EnrichmentValueDelete['requestBody']['content']['application/json'];
1710
+ type ManifestGet = paths$7['/api/v2/manifest']['get'];
1711
+ type ManifestGetParameters = ManifestGet['parameters']['query'];
1712
+ type ManifestGetResponse = ManifestGet['responses']['200']['content']['application/json'];
1713
+ type AggregateGet = paths$4['/api/v2/aggregate']['get'];
1714
+ type AggregateGetParameters = AggregateGet['parameters']['query'];
1715
+ type AggregateGetResponse = AggregateGet['responses']['200']['content']['application/json'];
1716
+ type Aggregate = components$4['schemas']['AggregateData'];
1717
+ type AggregatePut = paths$4['/api/v2/aggregate']['put'];
1718
+ type AggregatePutParameters = AggregatePut['requestBody']['content']['application/json'];
1719
+ type AggregateDelete = paths$4['/api/v2/aggregate']['delete'];
1720
+ type AggregateDeleteParameters = AggregateDelete['requestBody']['content']['application/json'];
1721
+ type DimensionGet = paths$3['/api/v2/dimension']['get'];
1722
+ type DimensionGetParameters = DimensionGet['parameters']['query'];
1723
+ type DimensionGetResponse = DimensionGet['responses']['200']['content']['application/json'];
1724
+ type DimensionDefinition = components$3['schemas']['DimensionDefinition'];
1725
+ type QuirkGet = paths$2['/api/v2/quirk']['get'];
1726
+ type QuirkGetParameters = QuirkGet['parameters']['query'];
1727
+ type QuirkGetResponse = QuirkGet['responses']['200']['content']['application/json'];
1728
+ type Quirk = components$2['schemas']['Quirk'];
1729
+ type QuirkPut = paths$2['/api/v2/quirk']['put'];
1730
+ type QuirkPutParameters = QuirkPut['requestBody']['content']['application/json'];
1731
+ type QuirkDelete = paths$2['/api/v2/quirk']['delete'];
1732
+ type QuirkDeleteParameters = QuirkDelete['requestBody']['content']['application/json'];
1733
+ type TestGet = paths['/api/v2/test']['get'];
1734
+ type TestGetParameters = TestGet['parameters']['query'];
1735
+ type TestGetResponse = TestGet['responses']['200']['content']['application/json'];
1736
+ type Test = components['schemas']['Test'];
1737
+ type TestPut = paths['/api/v2/test']['put'];
1738
+ type TestPutParameters = TestPut['requestBody']['content']['application/json'];
1739
+ type TestDelete = paths['/api/v2/test']['delete'];
1740
+ type TestDeleteParameters = TestDelete['requestBody']['content']['application/json'];
1741
+ type SignalGet = paths$1['/api/v2/signal']['get'];
1742
+ type SignalGetParameters = SignalGet['parameters']['query'];
1743
+ type SignalGetResponse = SignalGet['responses']['200']['content']['application/json'];
1744
+ type SignalWithId = components$1['schemas']['SignalWithId'];
1745
+ type RootSignalCriteriaGroup = components$6['schemas']['RootSignalCriteriaGroup'];
1746
+ type CookieCriteria = components$6['schemas']['CookieCriteria'];
1747
+ type QueryStringCriteria = components$6['schemas']['QueryStringCriteria'];
1748
+ type QuirkCriteria = components$6['schemas']['QuirkCriteria'];
1749
+ type EventCriteria = components$6['schemas']['EventCriteria'];
1750
+ type CurrentPageCriteria = components$6['schemas']['CurrentPageCriteria'];
1751
+ type PageViewCountCriteria = components$6['schemas']['PageViewCountCriteria'];
1752
+ type SignalPut = paths$1['/api/v2/signal']['put'];
1753
+ type SignalPutParameters = SignalPut['requestBody']['content']['application/json'];
1754
+ type SignalDelete = paths$1['/api/v2/signal']['delete'];
1755
+ type SignalDeleteParameters = SignalDelete['requestBody']['content']['application/json'];
1756
+ type ContextDefinitions = {
1757
+ aggregates?: Array<Aggregate>;
1758
+ quirks?: Array<Quirk>;
1759
+ signals?: Array<SignalWithId>;
1760
+ enrichments?: Array<EnrichmentCategoryWithValues>;
1761
+ tests?: Array<Test>;
1762
+ };
1763
+
52
1764
  declare class AggregateClient extends ApiClient {
53
1765
  #private;
54
1766
  constructor(options: ClientOptions);
@@ -170,6 +1882,12 @@ declare class TestClient extends ApiClient {
170
1882
  /** Deletes a Test */
171
1883
  remove(body: ExceptProject<TestDeleteParameters>): Promise<void>;
172
1884
  }
1885
+ declare class UncachedTestClient extends TestClient {
1886
+ constructor(options: Omit<ClientOptions, 'bypassCache'>);
1887
+ }
1888
+ declare class CachedTestClient extends TestClient {
1889
+ constructor(options: Omit<ClientOptions, 'bypassCache'>);
1890
+ }
173
1891
 
174
1892
  declare class ContextClient {
175
1893
  constructor(options: ClientOptions);
@@ -188,4 +1906,4 @@ declare class CachedContextClient extends ContextClient {
188
1906
  constructor(options: Omit<ClientOptions, 'bypassCache'>);
189
1907
  }
190
1908
 
191
- export { AggregateClient, AggregateDeleteParameters, AggregateGetParameters, AggregateGetResponse, AggregatePutParameters, ApiClient, ApiClientError, CachedAggregateClient, CachedContextClient, CachedDimensionClient, CachedEnrichmentClient, CachedManifestClient, CachedQuirkClient, CachedSignalClient, ClientOptions, ContextClient, DimensionClient, DimensionDefinition, DimensionDisplayData, DimensionGetParameters, DimensionGetResponse, EnrichmentClient, EnrichmentDeleteParameters, EnrichmentGetParameters, EnrichmentGetResponse, EnrichmentPutParameters, EnrichmentValueDeleteParameters, EnrichmentValuePutParameters, ExceptProject, LimitPolicy, ManifestClient, ManifestGetParameters, ManifestGetResponse, QuirkClient, QuirkDeleteParameters, QuirkGetParameters, QuirkGetResponse, QuirkPutParameters, SignalClient, SignalDeleteParameters, SignalGetParameters, SignalGetResponse, SignalPutParameters, TestDeleteParameters, TestGetParameters, TestGetResponse, TestPutParameters, UncachedAggregateClient, UncachedContextClient, UncachedDimensionClient, UncachedEnrichmentClient, UncachedManifestClient, UncachedQuirkClient, UncachedSignalClient, computeDimensionDefinitionDisplayData, computeDimensionDisplayData, computeDimensionDisplayName, handleRateLimits, nullLimitPolicy };
1909
+ export { Aggregate, AggregateClient, AggregateDeleteParameters, AggregateGetParameters, AggregateGetResponse, AggregatePutParameters, ApiClient, ApiClientError, CachedAggregateClient, CachedContextClient, CachedDimensionClient, CachedEnrichmentClient, CachedManifestClient, CachedQuirkClient, CachedSignalClient, CachedTestClient, ClientOptions, ContextClient, ContextDefinitions, CookieCriteria, CurrentPageCriteria, DimensionClient, DimensionDefinition, DimensionDisplayData, DimensionGetParameters, DimensionGetResponse, EnrichmentCategory, EnrichmentCategoryWithValues, EnrichmentClient, EnrichmentDeleteParameters, EnrichmentGetParameters, EnrichmentGetResponse, EnrichmentPutParameters, EnrichmentValue, EnrichmentValueDeleteParameters, EnrichmentValuePutParameters, EventCriteria, ExceptProject, LimitPolicy, ManifestClient, ManifestGetParameters, ManifestGetResponse, PageViewCountCriteria, QueryStringCriteria, Quirk, QuirkClient, QuirkCriteria, QuirkDeleteParameters, QuirkGetParameters, QuirkGetResponse, QuirkPutParameters, RootSignalCriteriaGroup, SignalClient, SignalDeleteParameters, SignalGetParameters, SignalGetResponse, SignalPutParameters, SignalWithId, Test, TestClient, TestDeleteParameters, TestGetParameters, TestGetResponse, TestPutParameters, UncachedAggregateClient, UncachedContextClient, UncachedDimensionClient, UncachedEnrichmentClient, UncachedManifestClient, UncachedQuirkClient, UncachedSignalClient, UncachedTestClient, computeDimensionDefinitionDisplayData, computeDimensionDisplayData, computeDimensionDisplayName, handleRateLimits, nullLimitPolicy };