@uniformdev/context 16.2.0 → 16.2.1-alpha.320

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.
@@ -1,4 +1,4 @@
1
- import { p as paths$7 } from './v2-manifest.swagger-ff2af13e.js';
1
+ import { p as paths$7 } from './v2-manifest.swagger-2ea6ebb4.js';
2
2
 
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -382,6 +382,8 @@ interface paths$4 {
382
382
  * @description Skips updating aggregate inputs and upserts only the aggregate definition.
383
383
  * Inputs data is still required, but is ignored and not saved or validated.
384
384
  * Useful when creating aggregates that reference each other: Create the definitions, then the inputs.
385
+ *
386
+ * @default false
385
387
  */
386
388
  skipInputs?: boolean;
387
389
  };
@@ -420,6 +422,8 @@ interface components$5 {
420
422
  * @description The type of aggregate
421
423
  * 0: Audience
422
424
  * 1: Intent
425
+ *
426
+ * @enum {number}
423
427
  */
424
428
  type: 0 | 1;
425
429
  inputs: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["AggregateDimensionInput"][];
@@ -487,12 +491,17 @@ interface external$4 {
487
491
  * 's' = current session (expires after a period of inactivity)
488
492
  * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
489
493
  * 't' = transient (score tracks the current state of the criteria every time scores are updated)
494
+ *
495
+ * @enum {string}
490
496
  */
491
497
  dur: "s" | "p" | "t";
492
498
  crit: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["RootSignalCriteriaGroup"];
493
499
  };
494
500
  RootSignalCriteriaGroup: {
495
- /** @description Criteria type (Group of other criteria) */
501
+ /**
502
+ * @description Criteria type (Group of other criteria)
503
+ * @enum {string}
504
+ */
496
505
  type: "G";
497
506
  /**
498
507
  * @description The logical operator to apply to the criteria groups
@@ -502,13 +511,17 @@ interface external$4 {
502
511
  * Default is `&` if unspecified.
503
512
  *
504
513
  * @default &
514
+ * @enum {string}
505
515
  */
506
516
  op?: "&" | "|";
507
517
  /** @description The criteria clauses that make up this grouping of criteria */
508
518
  clauses: (external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
509
519
  };
510
520
  SignalCriteriaGroup: {
511
- /** @description Criteria type (Group of other criteria) */
521
+ /**
522
+ * @description Criteria type (Group of other criteria)
523
+ * @enum {string}
524
+ */
512
525
  type: "G";
513
526
  /**
514
527
  * @description The logical operator to apply to the criteria groups
@@ -516,6 +529,8 @@ interface external$4 {
516
529
  * | = OR
517
530
  *
518
531
  * Default is `&` if unspecified.
532
+ *
533
+ * @enum {string}
519
534
  */
520
535
  op?: "&" | "|";
521
536
  /** @description The criteria clauses that make up this grouping of criteria */
@@ -524,6 +539,7 @@ interface external$4 {
524
539
  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"];
525
540
  /** @description Matches a URL query string parameter value */
526
541
  QueryStringCriteria: {
542
+ /** @enum {string} */
527
543
  type: "QS";
528
544
  /** @description The name of the query string parameter to match */
529
545
  queryName: string;
@@ -532,6 +548,7 @@ interface external$4 {
532
548
  };
533
549
  /** @description Matches a web cookie value */
534
550
  CookieCriteria: {
551
+ /** @enum {string} */
535
552
  type: "CK";
536
553
  /** @description The name of the cookie to match */
537
554
  cookieName: string;
@@ -540,6 +557,7 @@ interface external$4 {
540
557
  };
541
558
  /** @description Matches a visitor quirk key and value */
542
559
  QuirkCriteria: {
560
+ /** @enum {string} */
543
561
  type: "QK";
544
562
  /** @description The name of the quirk key to match */
545
563
  key: string;
@@ -548,6 +566,7 @@ interface external$4 {
548
566
  };
549
567
  /** @description Matches an analytics event name being fired */
550
568
  EventCriteria: {
569
+ /** @enum {string} */
551
570
  type: "EVT";
552
571
  /** @description How to match the event name */
553
572
  event: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
@@ -557,11 +576,13 @@ interface external$4 {
557
576
  * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
558
577
  */
559
578
  CurrentPageCriteria: {
579
+ /** @enum {string} */
560
580
  type: "PV";
561
581
  /** @description The page/route path to match as a page that has been visited */
562
582
  path: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
563
583
  };
564
584
  PageViewCountCriteria: {
585
+ /** @enum {string} */
565
586
  type: "PVC";
566
587
  /** @description The expression to match the page view count against */
567
588
  match: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["NumberMatch"];
@@ -577,6 +598,8 @@ interface external$4 {
577
598
  * '//' = regular expression match
578
599
  *
579
600
  * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
601
+ *
602
+ * @enum {string}
580
603
  */
581
604
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
582
605
  /** @description The case sensitivity of the match. Defaults to false if unspecified. */
@@ -586,6 +609,8 @@ interface external$4 {
586
609
  * @description The type of match to perform
587
610
  * '*' = exists with any value
588
611
  * '!*' = does not exist
612
+ *
613
+ * @enum {string}
589
614
  */
590
615
  op: "*" | "!*";
591
616
  };
@@ -599,6 +624,8 @@ interface external$4 {
599
624
  * '!=' = not an exact match
600
625
  * '<' = less than match expression
601
626
  * '>' = greater than match expression
627
+ *
628
+ * @enum {string}
602
629
  */
603
630
  op: "=" | "<" | ">" | "!=";
604
631
  };
@@ -629,6 +656,7 @@ interface external$4 {
629
656
  * Default if unspecified: '+'
630
657
  *
631
658
  * @default +
659
+ * @enum {string}
632
660
  */
633
661
  sign?: "+" | "-" | "c";
634
662
  };
@@ -683,6 +711,8 @@ interface components$4 {
683
711
  * AGG: Aggregation (intent or audience)
684
712
  * ENR: Enrichment
685
713
  * SIG: Signal
714
+ *
715
+ * @enum {string}
686
716
  */
687
717
  category: "AGG" | "ENR" | "SIG";
688
718
  /**
@@ -957,6 +987,7 @@ interface components$2 {
957
987
  name: string;
958
988
  winning_variant_id?: string;
959
989
  default_variant_id?: string;
990
+ /** @default false */
960
991
  closed?: boolean;
961
992
  };
962
993
  };
@@ -1141,12 +1172,17 @@ interface external {
1141
1172
  * 's' = current session (expires after a period of inactivity)
1142
1173
  * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
1143
1174
  * 't' = transient (score tracks the current state of the criteria every time scores are updated)
1175
+ *
1176
+ * @enum {string}
1144
1177
  */
1145
1178
  dur: "s" | "p" | "t";
1146
1179
  crit: external["uniform-context-types.swagger.yml"]["components"]["schemas"]["RootSignalCriteriaGroup"];
1147
1180
  };
1148
1181
  RootSignalCriteriaGroup: {
1149
- /** @description Criteria type (Group of other criteria) */
1182
+ /**
1183
+ * @description Criteria type (Group of other criteria)
1184
+ * @enum {string}
1185
+ */
1150
1186
  type: "G";
1151
1187
  /**
1152
1188
  * @description The logical operator to apply to the criteria groups
@@ -1156,13 +1192,17 @@ interface external {
1156
1192
  * Default is `&` if unspecified.
1157
1193
  *
1158
1194
  * @default &
1195
+ * @enum {string}
1159
1196
  */
1160
1197
  op?: "&" | "|";
1161
1198
  /** @description The criteria clauses that make up this grouping of criteria */
1162
1199
  clauses: (external["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
1163
1200
  };
1164
1201
  SignalCriteriaGroup: {
1165
- /** @description Criteria type (Group of other criteria) */
1202
+ /**
1203
+ * @description Criteria type (Group of other criteria)
1204
+ * @enum {string}
1205
+ */
1166
1206
  type: "G";
1167
1207
  /**
1168
1208
  * @description The logical operator to apply to the criteria groups
@@ -1170,6 +1210,8 @@ interface external {
1170
1210
  * | = OR
1171
1211
  *
1172
1212
  * Default is `&` if unspecified.
1213
+ *
1214
+ * @enum {string}
1173
1215
  */
1174
1216
  op?: "&" | "|";
1175
1217
  /** @description The criteria clauses that make up this grouping of criteria */
@@ -1178,6 +1220,7 @@ interface external {
1178
1220
  SignalCriteria: external["uniform-context-types.swagger.yml"]["components"]["schemas"]["CookieCriteria"] | external["uniform-context-types.swagger.yml"]["components"]["schemas"]["QueryStringCriteria"] | external["uniform-context-types.swagger.yml"]["components"]["schemas"]["QuirkCriteria"] | external["uniform-context-types.swagger.yml"]["components"]["schemas"]["EventCriteria"] | external["uniform-context-types.swagger.yml"]["components"]["schemas"]["CurrentPageCriteria"] | external["uniform-context-types.swagger.yml"]["components"]["schemas"]["PageViewCountCriteria"];
1179
1221
  /** @description Matches a URL query string parameter value */
1180
1222
  QueryStringCriteria: {
1223
+ /** @enum {string} */
1181
1224
  type: "QS";
1182
1225
  /** @description The name of the query string parameter to match */
1183
1226
  queryName: string;
@@ -1186,6 +1229,7 @@ interface external {
1186
1229
  };
1187
1230
  /** @description Matches a web cookie value */
1188
1231
  CookieCriteria: {
1232
+ /** @enum {string} */
1189
1233
  type: "CK";
1190
1234
  /** @description The name of the cookie to match */
1191
1235
  cookieName: string;
@@ -1194,6 +1238,7 @@ interface external {
1194
1238
  };
1195
1239
  /** @description Matches a visitor quirk key and value */
1196
1240
  QuirkCriteria: {
1241
+ /** @enum {string} */
1197
1242
  type: "QK";
1198
1243
  /** @description The name of the quirk key to match */
1199
1244
  key: string;
@@ -1202,6 +1247,7 @@ interface external {
1202
1247
  };
1203
1248
  /** @description Matches an analytics event name being fired */
1204
1249
  EventCriteria: {
1250
+ /** @enum {string} */
1205
1251
  type: "EVT";
1206
1252
  /** @description How to match the event name */
1207
1253
  event: external["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
@@ -1211,11 +1257,13 @@ interface external {
1211
1257
  * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
1212
1258
  */
1213
1259
  CurrentPageCriteria: {
1260
+ /** @enum {string} */
1214
1261
  type: "PV";
1215
1262
  /** @description The page/route path to match as a page that has been visited */
1216
1263
  path: external["uniform-context-types.swagger.yml"]["components"]["schemas"]["StringMatch"];
1217
1264
  };
1218
1265
  PageViewCountCriteria: {
1266
+ /** @enum {string} */
1219
1267
  type: "PVC";
1220
1268
  /** @description The expression to match the page view count against */
1221
1269
  match: external["uniform-context-types.swagger.yml"]["components"]["schemas"]["NumberMatch"];
@@ -1231,6 +1279,8 @@ interface external {
1231
1279
  * '//' = regular expression match
1232
1280
  *
1233
1281
  * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
1282
+ *
1283
+ * @enum {string}
1234
1284
  */
1235
1285
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
1236
1286
  /** @description The case sensitivity of the match. Defaults to false if unspecified. */
@@ -1240,6 +1290,8 @@ interface external {
1240
1290
  * @description The type of match to perform
1241
1291
  * '*' = exists with any value
1242
1292
  * '!*' = does not exist
1293
+ *
1294
+ * @enum {string}
1243
1295
  */
1244
1296
  op: "*" | "!*";
1245
1297
  };
@@ -1253,6 +1305,8 @@ interface external {
1253
1305
  * '!=' = not an exact match
1254
1306
  * '<' = less than match expression
1255
1307
  * '>' = greater than match expression
1308
+ *
1309
+ * @enum {string}
1256
1310
  */
1257
1311
  op: "=" | "<" | ">" | "!=";
1258
1312
  };
@@ -1283,6 +1337,7 @@ interface external {
1283
1337
  * Default if unspecified: '+'
1284
1338
  *
1285
1339
  * @default +
1340
+ * @enum {string}
1286
1341
  */
1287
1342
  sign?: "+" | "-" | "c";
1288
1343
  };
@@ -1318,12 +1373,17 @@ interface components {
1318
1373
  * 's' = current session (expires after a period of inactivity)
1319
1374
  * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
1320
1375
  * 't' = transient (score tracks the current state of the criteria every time scores are updated)
1376
+ *
1377
+ * @enum {string}
1321
1378
  */
1322
1379
  dur: "s" | "p" | "t";
1323
1380
  crit: components["schemas"]["RootSignalCriteriaGroup"];
1324
1381
  };
1325
1382
  RootSignalCriteriaGroup: {
1326
- /** @description Criteria type (Group of other criteria) */
1383
+ /**
1384
+ * @description Criteria type (Group of other criteria)
1385
+ * @enum {string}
1386
+ */
1327
1387
  type: "G";
1328
1388
  /**
1329
1389
  * @description The logical operator to apply to the criteria groups
@@ -1333,13 +1393,17 @@ interface components {
1333
1393
  * Default is `&` if unspecified.
1334
1394
  *
1335
1395
  * @default &
1396
+ * @enum {string}
1336
1397
  */
1337
1398
  op?: "&" | "|";
1338
1399
  /** @description The criteria clauses that make up this grouping of criteria */
1339
1400
  clauses: (components["schemas"]["SignalCriteriaGroup"] | components["schemas"]["SignalCriteria"])[];
1340
1401
  };
1341
1402
  SignalCriteriaGroup: {
1342
- /** @description Criteria type (Group of other criteria) */
1403
+ /**
1404
+ * @description Criteria type (Group of other criteria)
1405
+ * @enum {string}
1406
+ */
1343
1407
  type: "G";
1344
1408
  /**
1345
1409
  * @description The logical operator to apply to the criteria groups
@@ -1347,6 +1411,8 @@ interface components {
1347
1411
  * | = OR
1348
1412
  *
1349
1413
  * Default is `&` if unspecified.
1414
+ *
1415
+ * @enum {string}
1350
1416
  */
1351
1417
  op?: "&" | "|";
1352
1418
  /** @description The criteria clauses that make up this grouping of criteria */
@@ -1355,6 +1421,7 @@ interface components {
1355
1421
  SignalCriteria: components["schemas"]["CookieCriteria"] | components["schemas"]["QueryStringCriteria"] | components["schemas"]["QuirkCriteria"] | components["schemas"]["EventCriteria"] | components["schemas"]["CurrentPageCriteria"] | components["schemas"]["PageViewCountCriteria"];
1356
1422
  /** @description Matches a URL query string parameter value */
1357
1423
  QueryStringCriteria: {
1424
+ /** @enum {string} */
1358
1425
  type: "QS";
1359
1426
  /** @description The name of the query string parameter to match */
1360
1427
  queryName: string;
@@ -1363,6 +1430,7 @@ interface components {
1363
1430
  };
1364
1431
  /** @description Matches a web cookie value */
1365
1432
  CookieCriteria: {
1433
+ /** @enum {string} */
1366
1434
  type: "CK";
1367
1435
  /** @description The name of the cookie to match */
1368
1436
  cookieName: string;
@@ -1371,6 +1439,7 @@ interface components {
1371
1439
  };
1372
1440
  /** @description Matches a visitor quirk key and value */
1373
1441
  QuirkCriteria: {
1442
+ /** @enum {string} */
1374
1443
  type: "QK";
1375
1444
  /** @description The name of the quirk key to match */
1376
1445
  key: string;
@@ -1379,6 +1448,7 @@ interface components {
1379
1448
  };
1380
1449
  /** @description Matches an analytics event name being fired */
1381
1450
  EventCriteria: {
1451
+ /** @enum {string} */
1382
1452
  type: "EVT";
1383
1453
  /** @description How to match the event name */
1384
1454
  event: components["schemas"]["StringMatch"];
@@ -1388,11 +1458,13 @@ interface components {
1388
1458
  * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
1389
1459
  */
1390
1460
  CurrentPageCriteria: {
1461
+ /** @enum {string} */
1391
1462
  type: "PV";
1392
1463
  /** @description The page/route path to match as a page that has been visited */
1393
1464
  path: components["schemas"]["StringMatch"];
1394
1465
  };
1395
1466
  PageViewCountCriteria: {
1467
+ /** @enum {string} */
1396
1468
  type: "PVC";
1397
1469
  /** @description The expression to match the page view count against */
1398
1470
  match: components["schemas"]["NumberMatch"];
@@ -1408,6 +1480,8 @@ interface components {
1408
1480
  * '//' = regular expression match
1409
1481
  *
1410
1482
  * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
1483
+ *
1484
+ * @enum {string}
1411
1485
  */
1412
1486
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
1413
1487
  /** @description The case sensitivity of the match. Defaults to false if unspecified. */
@@ -1417,6 +1491,8 @@ interface components {
1417
1491
  * @description The type of match to perform
1418
1492
  * '*' = exists with any value
1419
1493
  * '!*' = does not exist
1494
+ *
1495
+ * @enum {string}
1420
1496
  */
1421
1497
  op: "*" | "!*";
1422
1498
  };
@@ -1430,6 +1506,8 @@ interface components {
1430
1506
  * '!=' = not an exact match
1431
1507
  * '<' = less than match expression
1432
1508
  * '>' = greater than match expression
1509
+ *
1510
+ * @enum {string}
1433
1511
  */
1434
1512
  op: "=" | "<" | ">" | "!=";
1435
1513
  };
@@ -1460,6 +1538,7 @@ interface components {
1460
1538
  * Default if unspecified: '+'
1461
1539
  *
1462
1540
  * @default +
1541
+ * @enum {string}
1463
1542
  */
1464
1543
  sign?: "+" | "-" | "c";
1465
1544
  };