@uniformdev/context 19.79.0 → 19.79.1-alpha.7

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 { av as paths$7, N as ManifestV2 } from '../types-9c370116.js';
1
+ import { aC as paths$7, N as ManifestV2 } from '../types-hntTSVbk.mjs';
2
2
  import 'mitt';
3
3
 
4
4
  type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
@@ -242,6 +242,59 @@ interface components$6 {
242
242
  /** @description Winning variation ID - if set, the test will not run and this variation is shown to all visitors (the test is closed) */
243
243
  wv?: string;
244
244
  };
245
+ Goal: components$6["schemas"]["SignalGoal"] | components$6["schemas"]["EnrichmentGoal"] | components$6["schemas"]["QuirkGoal"];
246
+ SignalGoal: {
247
+ /** @enum {string} */
248
+ type: "sig";
249
+ id: string;
250
+ /**
251
+ * @description The type of match to perform
252
+ * '=' = exact match
253
+ * '!=' = not an exact match
254
+ * '<' = less than match expression
255
+ * '>' = greater than match expression
256
+ *
257
+ * @enum {string}
258
+ */
259
+ op: "=" | "<" | ">" | "!=";
260
+ score: number;
261
+ };
262
+ EnrichmentGoal: {
263
+ /** @enum {string} */
264
+ type: "enr";
265
+ cat: string;
266
+ value: string;
267
+ /**
268
+ * @description The type of match to perform
269
+ * '=' = exact match
270
+ * '!=' = not an exact match
271
+ * '<' = less than match expression
272
+ * '>' = greater than match expression
273
+ *
274
+ * @enum {string}
275
+ */
276
+ op: "=" | "<" | ">" | "!=";
277
+ score: number;
278
+ };
279
+ QuirkGoal: {
280
+ /** @enum {string} */
281
+ type: "qrk";
282
+ id: string;
283
+ /**
284
+ * @description The match operator
285
+ * '=' = exact match
286
+ * '~' = contains match
287
+ * '//' = regular expression match
288
+ *
289
+ * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
290
+ *
291
+ * @enum {string}
292
+ */
293
+ op: "=" | "~" | "//" | "!=" | "!~" | "!//";
294
+ /** @description The case sensitivity of the match. Defaults to false if unspecified. */
295
+ cs?: boolean;
296
+ value: string;
297
+ };
245
298
  };
246
299
  }
247
300
 
@@ -955,6 +1008,59 @@ interface external$4 {
955
1008
  /** @description Winning variation ID - if set, the test will not run and this variation is shown to all visitors (the test is closed) */
956
1009
  wv?: string;
957
1010
  };
1011
+ Goal: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalGoal"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["EnrichmentGoal"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["QuirkGoal"];
1012
+ SignalGoal: {
1013
+ /** @enum {string} */
1014
+ type: "sig";
1015
+ id: string;
1016
+ /**
1017
+ * @description The type of match to perform
1018
+ * '=' = exact match
1019
+ * '!=' = not an exact match
1020
+ * '<' = less than match expression
1021
+ * '>' = greater than match expression
1022
+ *
1023
+ * @enum {string}
1024
+ */
1025
+ op: "=" | "<" | ">" | "!=";
1026
+ score: number;
1027
+ };
1028
+ EnrichmentGoal: {
1029
+ /** @enum {string} */
1030
+ type: "enr";
1031
+ cat: string;
1032
+ value: string;
1033
+ /**
1034
+ * @description The type of match to perform
1035
+ * '=' = exact match
1036
+ * '!=' = not an exact match
1037
+ * '<' = less than match expression
1038
+ * '>' = greater than match expression
1039
+ *
1040
+ * @enum {string}
1041
+ */
1042
+ op: "=" | "<" | ">" | "!=";
1043
+ score: number;
1044
+ };
1045
+ QuirkGoal: {
1046
+ /** @enum {string} */
1047
+ type: "qrk";
1048
+ id: string;
1049
+ /**
1050
+ * @description The match operator
1051
+ * '=' = exact match
1052
+ * '~' = contains match
1053
+ * '//' = regular expression match
1054
+ *
1055
+ * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
1056
+ *
1057
+ * @enum {string}
1058
+ */
1059
+ op: "=" | "~" | "//" | "!=" | "!~" | "!//";
1060
+ /** @description The case sensitivity of the match. Defaults to false if unspecified. */
1061
+ cs?: boolean;
1062
+ value: string;
1063
+ };
958
1064
  };
959
1065
  };
960
1066
  operations: {};
@@ -1550,6 +1656,59 @@ interface external$1 {
1550
1656
  /** @description Winning variation ID - if set, the test will not run and this variation is shown to all visitors (the test is closed) */
1551
1657
  wv?: string;
1552
1658
  };
1659
+ Goal: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalGoal"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["EnrichmentGoal"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["QuirkGoal"];
1660
+ SignalGoal: {
1661
+ /** @enum {string} */
1662
+ type: "sig";
1663
+ id: string;
1664
+ /**
1665
+ * @description The type of match to perform
1666
+ * '=' = exact match
1667
+ * '!=' = not an exact match
1668
+ * '<' = less than match expression
1669
+ * '>' = greater than match expression
1670
+ *
1671
+ * @enum {string}
1672
+ */
1673
+ op: "=" | "<" | ">" | "!=";
1674
+ score: number;
1675
+ };
1676
+ EnrichmentGoal: {
1677
+ /** @enum {string} */
1678
+ type: "enr";
1679
+ cat: string;
1680
+ value: string;
1681
+ /**
1682
+ * @description The type of match to perform
1683
+ * '=' = exact match
1684
+ * '!=' = not an exact match
1685
+ * '<' = less than match expression
1686
+ * '>' = greater than match expression
1687
+ *
1688
+ * @enum {string}
1689
+ */
1690
+ op: "=" | "<" | ">" | "!=";
1691
+ score: number;
1692
+ };
1693
+ QuirkGoal: {
1694
+ /** @enum {string} */
1695
+ type: "qrk";
1696
+ id: string;
1697
+ /**
1698
+ * @description The match operator
1699
+ * '=' = exact match
1700
+ * '~' = contains match
1701
+ * '//' = regular expression match
1702
+ *
1703
+ * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
1704
+ *
1705
+ * @enum {string}
1706
+ */
1707
+ op: "=" | "~" | "//" | "!=" | "!~" | "!//";
1708
+ /** @description The case sensitivity of the match. Defaults to false if unspecified. */
1709
+ cs?: boolean;
1710
+ value: string;
1711
+ };
1553
1712
  };
1554
1713
  };
1555
1714
  operations: {};
@@ -1907,4 +2066,4 @@ declare class CachedContextClient extends ContextClient {
1907
2066
  constructor(options: Omit<ClientOptions, 'bypassCache'>);
1908
2067
  }
1909
2068
 
1910
- 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, defaultLimitPolicy, handleRateLimits, nullLimitPolicy };
2069
+ export { type Aggregate, AggregateClient, type AggregateDeleteParameters, type AggregateGetParameters, type AggregateGetResponse, type AggregatePutParameters, ApiClient, ApiClientError, CachedAggregateClient, CachedContextClient, CachedDimensionClient, CachedEnrichmentClient, CachedManifestClient, CachedQuirkClient, CachedSignalClient, CachedTestClient, type ClientOptions, ContextClient, type ContextDefinitions, type CookieCriteria, type CurrentPageCriteria, DimensionClient, type DimensionDefinition, type DimensionDisplayData, type DimensionGetParameters, type DimensionGetResponse, type EnrichmentCategory, type EnrichmentCategoryWithValues, EnrichmentClient, type EnrichmentDeleteParameters, type EnrichmentGetParameters, type EnrichmentGetResponse, type EnrichmentPutParameters, type EnrichmentValue, type EnrichmentValueDeleteParameters, type EnrichmentValuePutParameters, type EventCriteria, type ExceptProject, type LimitPolicy, ManifestClient, type ManifestGetParameters, type ManifestGetResponse, type PageViewCountCriteria, type QueryStringCriteria, type Quirk, QuirkClient, type QuirkCriteria, type QuirkDeleteParameters, type QuirkGetParameters, type QuirkGetResponse, type QuirkPutParameters, type RootSignalCriteriaGroup, SignalClient, type SignalDeleteParameters, type SignalGetParameters, type SignalGetResponse, type SignalPutParameters, type SignalWithId, type Test, TestClient, type TestDeleteParameters, type TestGetParameters, type TestGetResponse, type TestPutParameters, UncachedAggregateClient, UncachedContextClient, UncachedDimensionClient, UncachedEnrichmentClient, UncachedManifestClient, UncachedQuirkClient, UncachedSignalClient, UncachedTestClient, computeDimensionDefinitionDisplayData, computeDimensionDisplayData, computeDimensionDisplayName, defaultLimitPolicy, handleRateLimits, nullLimitPolicy };
package/dist/api/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { av as paths$7, N as ManifestV2 } from '../types-9c370116.js';
1
+ import { aC as paths$7, N as ManifestV2 } from '../types-hntTSVbk.js';
2
2
  import 'mitt';
3
3
 
4
4
  type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
@@ -242,6 +242,59 @@ interface components$6 {
242
242
  /** @description Winning variation ID - if set, the test will not run and this variation is shown to all visitors (the test is closed) */
243
243
  wv?: string;
244
244
  };
245
+ Goal: components$6["schemas"]["SignalGoal"] | components$6["schemas"]["EnrichmentGoal"] | components$6["schemas"]["QuirkGoal"];
246
+ SignalGoal: {
247
+ /** @enum {string} */
248
+ type: "sig";
249
+ id: string;
250
+ /**
251
+ * @description The type of match to perform
252
+ * '=' = exact match
253
+ * '!=' = not an exact match
254
+ * '<' = less than match expression
255
+ * '>' = greater than match expression
256
+ *
257
+ * @enum {string}
258
+ */
259
+ op: "=" | "<" | ">" | "!=";
260
+ score: number;
261
+ };
262
+ EnrichmentGoal: {
263
+ /** @enum {string} */
264
+ type: "enr";
265
+ cat: string;
266
+ value: string;
267
+ /**
268
+ * @description The type of match to perform
269
+ * '=' = exact match
270
+ * '!=' = not an exact match
271
+ * '<' = less than match expression
272
+ * '>' = greater than match expression
273
+ *
274
+ * @enum {string}
275
+ */
276
+ op: "=" | "<" | ">" | "!=";
277
+ score: number;
278
+ };
279
+ QuirkGoal: {
280
+ /** @enum {string} */
281
+ type: "qrk";
282
+ id: string;
283
+ /**
284
+ * @description The match operator
285
+ * '=' = exact match
286
+ * '~' = contains match
287
+ * '//' = regular expression match
288
+ *
289
+ * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
290
+ *
291
+ * @enum {string}
292
+ */
293
+ op: "=" | "~" | "//" | "!=" | "!~" | "!//";
294
+ /** @description The case sensitivity of the match. Defaults to false if unspecified. */
295
+ cs?: boolean;
296
+ value: string;
297
+ };
245
298
  };
246
299
  }
247
300
 
@@ -955,6 +1008,59 @@ interface external$4 {
955
1008
  /** @description Winning variation ID - if set, the test will not run and this variation is shown to all visitors (the test is closed) */
956
1009
  wv?: string;
957
1010
  };
1011
+ Goal: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalGoal"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["EnrichmentGoal"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["QuirkGoal"];
1012
+ SignalGoal: {
1013
+ /** @enum {string} */
1014
+ type: "sig";
1015
+ id: string;
1016
+ /**
1017
+ * @description The type of match to perform
1018
+ * '=' = exact match
1019
+ * '!=' = not an exact match
1020
+ * '<' = less than match expression
1021
+ * '>' = greater than match expression
1022
+ *
1023
+ * @enum {string}
1024
+ */
1025
+ op: "=" | "<" | ">" | "!=";
1026
+ score: number;
1027
+ };
1028
+ EnrichmentGoal: {
1029
+ /** @enum {string} */
1030
+ type: "enr";
1031
+ cat: string;
1032
+ value: string;
1033
+ /**
1034
+ * @description The type of match to perform
1035
+ * '=' = exact match
1036
+ * '!=' = not an exact match
1037
+ * '<' = less than match expression
1038
+ * '>' = greater than match expression
1039
+ *
1040
+ * @enum {string}
1041
+ */
1042
+ op: "=" | "<" | ">" | "!=";
1043
+ score: number;
1044
+ };
1045
+ QuirkGoal: {
1046
+ /** @enum {string} */
1047
+ type: "qrk";
1048
+ id: string;
1049
+ /**
1050
+ * @description The match operator
1051
+ * '=' = exact match
1052
+ * '~' = contains match
1053
+ * '//' = regular expression match
1054
+ *
1055
+ * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
1056
+ *
1057
+ * @enum {string}
1058
+ */
1059
+ op: "=" | "~" | "//" | "!=" | "!~" | "!//";
1060
+ /** @description The case sensitivity of the match. Defaults to false if unspecified. */
1061
+ cs?: boolean;
1062
+ value: string;
1063
+ };
958
1064
  };
959
1065
  };
960
1066
  operations: {};
@@ -1550,6 +1656,59 @@ interface external$1 {
1550
1656
  /** @description Winning variation ID - if set, the test will not run and this variation is shown to all visitors (the test is closed) */
1551
1657
  wv?: string;
1552
1658
  };
1659
+ Goal: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalGoal"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["EnrichmentGoal"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["QuirkGoal"];
1660
+ SignalGoal: {
1661
+ /** @enum {string} */
1662
+ type: "sig";
1663
+ id: string;
1664
+ /**
1665
+ * @description The type of match to perform
1666
+ * '=' = exact match
1667
+ * '!=' = not an exact match
1668
+ * '<' = less than match expression
1669
+ * '>' = greater than match expression
1670
+ *
1671
+ * @enum {string}
1672
+ */
1673
+ op: "=" | "<" | ">" | "!=";
1674
+ score: number;
1675
+ };
1676
+ EnrichmentGoal: {
1677
+ /** @enum {string} */
1678
+ type: "enr";
1679
+ cat: string;
1680
+ value: string;
1681
+ /**
1682
+ * @description The type of match to perform
1683
+ * '=' = exact match
1684
+ * '!=' = not an exact match
1685
+ * '<' = less than match expression
1686
+ * '>' = greater than match expression
1687
+ *
1688
+ * @enum {string}
1689
+ */
1690
+ op: "=" | "<" | ">" | "!=";
1691
+ score: number;
1692
+ };
1693
+ QuirkGoal: {
1694
+ /** @enum {string} */
1695
+ type: "qrk";
1696
+ id: string;
1697
+ /**
1698
+ * @description The match operator
1699
+ * '=' = exact match
1700
+ * '~' = contains match
1701
+ * '//' = regular expression match
1702
+ *
1703
+ * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
1704
+ *
1705
+ * @enum {string}
1706
+ */
1707
+ op: "=" | "~" | "//" | "!=" | "!~" | "!//";
1708
+ /** @description The case sensitivity of the match. Defaults to false if unspecified. */
1709
+ cs?: boolean;
1710
+ value: string;
1711
+ };
1553
1712
  };
1554
1713
  };
1555
1714
  operations: {};
@@ -1907,4 +2066,4 @@ declare class CachedContextClient extends ContextClient {
1907
2066
  constructor(options: Omit<ClientOptions, 'bypassCache'>);
1908
2067
  }
1909
2068
 
1910
- 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, defaultLimitPolicy, handleRateLimits, nullLimitPolicy };
2069
+ export { type Aggregate, AggregateClient, type AggregateDeleteParameters, type AggregateGetParameters, type AggregateGetResponse, type AggregatePutParameters, ApiClient, ApiClientError, CachedAggregateClient, CachedContextClient, CachedDimensionClient, CachedEnrichmentClient, CachedManifestClient, CachedQuirkClient, CachedSignalClient, CachedTestClient, type ClientOptions, ContextClient, type ContextDefinitions, type CookieCriteria, type CurrentPageCriteria, DimensionClient, type DimensionDefinition, type DimensionDisplayData, type DimensionGetParameters, type DimensionGetResponse, type EnrichmentCategory, type EnrichmentCategoryWithValues, EnrichmentClient, type EnrichmentDeleteParameters, type EnrichmentGetParameters, type EnrichmentGetResponse, type EnrichmentPutParameters, type EnrichmentValue, type EnrichmentValueDeleteParameters, type EnrichmentValuePutParameters, type EventCriteria, type ExceptProject, type LimitPolicy, ManifestClient, type ManifestGetParameters, type ManifestGetResponse, type PageViewCountCriteria, type QueryStringCriteria, type Quirk, QuirkClient, type QuirkCriteria, type QuirkDeleteParameters, type QuirkGetParameters, type QuirkGetResponse, type QuirkPutParameters, type RootSignalCriteriaGroup, SignalClient, type SignalDeleteParameters, type SignalGetParameters, type SignalGetResponse, type SignalPutParameters, type SignalWithId, type Test, TestClient, type TestDeleteParameters, type TestGetParameters, type TestGetResponse, type TestPutParameters, UncachedAggregateClient, UncachedContextClient, UncachedDimensionClient, UncachedEnrichmentClient, UncachedManifestClient, UncachedQuirkClient, UncachedSignalClient, UncachedTestClient, computeDimensionDefinitionDisplayData, computeDimensionDisplayData, computeDimensionDisplayName, defaultLimitPolicy, handleRateLimits, nullLimitPolicy };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { O as OutputSeverity, L as LogDrain, C as ContextPlugin, S as ScoreVector, A as AggregateDimension, T as TransitionDataStore, a as StorageCommands, V as VisitorData, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-9c370116.js';
2
- export { _ as AggregateDimensionInput, a4 as BehaviorTag, h as CONTEXTUAL_EDITING_TEST_NAME, i as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, n as Context, l as ContextEvents, m as ContextInstance, j as ContextOptions, at as ContextState, au as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, ak as DecayOptions, q as DevToolsActions, t as DevToolsDataEvent, r as DevToolsEvent, x as DevToolsForgetEvent, u as DevToolsHelloEvent, s as DevToolsLogEvent, w as DevToolsRawCommandsEvent, p as DevToolsState, o as DevToolsUiVersion, v as DevToolsUpdateEvent, a1 as DimensionMatch, X as EnrichmentCategory, aq as EnrichmentData, ar as EventData, H as GroupCriteriaEvaluator, af as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, aa as ModifyScoreCommand, ab as ModifySessionScoreCommand, Y as NumberMatch, P as PersonalizationEvent, Q as PersonalizationManifest, a2 as PersonalizeOptions, a6 as PersonalizedResult, a5 as PersonalizedVariant, ao as Quirks, ai as SERVER_STATE_ID, ah as ServerToClientTransitionState, ac as SetConsentCommand, ag as SetControlGroupCommand, ad as SetQuirkCommand, ae as SetTestCommand, z as Severity, R as Signal, W as SignalCriteria, U as SignalCriteriaGroup, K as SignalData, a9 as StorageCommand, Z as TestDefinition, k as TestEvent, $ as TestOptions, a8 as TestResult, a7 as TestVariant, ap as Tests, aj as TransitionDataStoreEvents, an as VisitorDataStore, am as VisitorDataStoreEvents, al as VisitorDataStoreOptions, as as emptyVisitorData, a3 as personalizeVariations, a0 as testVariations } from './types-9c370116.js';
1
+ import { O as OutputSeverity, L as LogDrain, C as ContextPlugin, S as ScoreVector, A as AggregateDimension, T as TransitionDataStore, a as StorageCommands, V as VisitorData, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-hntTSVbk.mjs';
2
+ export { _ as AggregateDimensionInput, a8 as BehaviorTag, h as CONTEXTUAL_EDITING_TEST_NAME, i as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, n as Context, l as ContextEvents, m as ContextInstance, j as ContextOptions, az as ContextState, aA as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, ap as DecayOptions, q as DevToolsActions, t as DevToolsDataEvent, r as DevToolsEvent, x as DevToolsForgetEvent, u as DevToolsHelloEvent, s as DevToolsLogEvent, w as DevToolsRawCommandsEvent, p as DevToolsState, o as DevToolsUiVersion, v as DevToolsUpdateEvent, a5 as DimensionMatch, X as EnrichmentCategory, aw as EnrichmentData, a1 as EnrichmentGoal, ax as EventData, $ as Goal, aB as GoalStateUpdate, av as Goals, H as GroupCriteriaEvaluator, ak as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, af as ModifyScoreCommand, ag as ModifySessionScoreCommand, Y as NumberMatch, P as PersonalizationEvent, Q as PersonalizationManifest, a6 as PersonalizeOptions, aa as PersonalizedResult, a9 as PersonalizedVariant, a2 as QuirkGoal, at as Quirks, an as SERVER_STATE_ID, am as ServerToClientTransitionState, ah as SetConsentCommand, al as SetControlGroupCommand, ae as SetGoalCommand, ai as SetQuirkCommand, aj as SetTestCommand, z as Severity, R as Signal, W as SignalCriteria, U as SignalCriteriaGroup, K as SignalData, a0 as SignalGoal, ad as StorageCommand, Z as TestDefinition, k as TestEvent, a3 as TestOptions, ac as TestResult, ab as TestVariant, au as Tests, ao as TransitionDataStoreEvents, as as VisitorDataStore, ar as VisitorDataStoreEvents, aq as VisitorDataStoreOptions, ay as emptyVisitorData, a7 as personalizeVariations, a4 as testVariations } from './types-hntTSVbk.mjs';
3
3
  import Cookies from 'js-cookie';
4
4
  import 'mitt';
5
5
 
@@ -155,6 +155,15 @@ type EdgeTestComponentOptions = {
155
155
  };
156
156
  declare const EdgeNodeTagName = "nesitag";
157
157
 
158
+ type InsightsEndpoint = {
159
+ host: string;
160
+ apiKey: string;
161
+ };
162
+ type EnableUniformInsightsOptions = {
163
+ endpoint: InsightsEndpoint;
164
+ };
165
+ declare const enableUniformInsights: (options: EnableUniformInsightsOptions) => ContextPlugin;
166
+
158
167
  type QuickConnectConfig = {
159
168
  apiKey: string;
160
169
  projectId: string;
@@ -163,4 +172,4 @@ type QuickConnectConfig = {
163
172
  declare function serializeQuickConnect(config: QuickConnectConfig): string;
164
173
  declare function parseQuickConnect(serialized: string): Required<QuickConnectConfig>;
165
174
 
166
- export { AggregateDimension, ConsoleDebugLogDrainOptions, ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, EdgePersonalizeComponentOptions, EdgeTestComponentOptions, EdgeTransitionDataStore, EdgeTransitionDataStoreOptions, LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, QuickConnectConfig, ScoreVector, ScriptType, StorageCommands, StringMatch, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseQuickConnect, queryStringEvaluator, quirkEvaluator, serializeQuickConnect };
175
+ export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type EnableUniformInsightsOptions, type LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, type QuickConnectConfig, ScoreVector, ScriptType, StorageCommands, StringMatch, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, enableUniformInsights, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseQuickConnect, queryStringEvaluator, quirkEvaluator, serializeQuickConnect };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { O as OutputSeverity, L as LogDrain, C as ContextPlugin, S as ScoreVector, A as AggregateDimension, T as TransitionDataStore, a as StorageCommands, V as VisitorData, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-9c370116.js';
2
- export { _ as AggregateDimensionInput, a4 as BehaviorTag, h as CONTEXTUAL_EDITING_TEST_NAME, i as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, n as Context, l as ContextEvents, m as ContextInstance, j as ContextOptions, at as ContextState, au as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, ak as DecayOptions, q as DevToolsActions, t as DevToolsDataEvent, r as DevToolsEvent, x as DevToolsForgetEvent, u as DevToolsHelloEvent, s as DevToolsLogEvent, w as DevToolsRawCommandsEvent, p as DevToolsState, o as DevToolsUiVersion, v as DevToolsUpdateEvent, a1 as DimensionMatch, X as EnrichmentCategory, aq as EnrichmentData, ar as EventData, H as GroupCriteriaEvaluator, af as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, aa as ModifyScoreCommand, ab as ModifySessionScoreCommand, Y as NumberMatch, P as PersonalizationEvent, Q as PersonalizationManifest, a2 as PersonalizeOptions, a6 as PersonalizedResult, a5 as PersonalizedVariant, ao as Quirks, ai as SERVER_STATE_ID, ah as ServerToClientTransitionState, ac as SetConsentCommand, ag as SetControlGroupCommand, ad as SetQuirkCommand, ae as SetTestCommand, z as Severity, R as Signal, W as SignalCriteria, U as SignalCriteriaGroup, K as SignalData, a9 as StorageCommand, Z as TestDefinition, k as TestEvent, $ as TestOptions, a8 as TestResult, a7 as TestVariant, ap as Tests, aj as TransitionDataStoreEvents, an as VisitorDataStore, am as VisitorDataStoreEvents, al as VisitorDataStoreOptions, as as emptyVisitorData, a3 as personalizeVariations, a0 as testVariations } from './types-9c370116.js';
1
+ import { O as OutputSeverity, L as LogDrain, C as ContextPlugin, S as ScoreVector, A as AggregateDimension, T as TransitionDataStore, a as StorageCommands, V as VisitorData, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-hntTSVbk.js';
2
+ export { _ as AggregateDimensionInput, a8 as BehaviorTag, h as CONTEXTUAL_EDITING_TEST_NAME, i as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, n as Context, l as ContextEvents, m as ContextInstance, j as ContextOptions, az as ContextState, aA as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, ap as DecayOptions, q as DevToolsActions, t as DevToolsDataEvent, r as DevToolsEvent, x as DevToolsForgetEvent, u as DevToolsHelloEvent, s as DevToolsLogEvent, w as DevToolsRawCommandsEvent, p as DevToolsState, o as DevToolsUiVersion, v as DevToolsUpdateEvent, a5 as DimensionMatch, X as EnrichmentCategory, aw as EnrichmentData, a1 as EnrichmentGoal, ax as EventData, $ as Goal, aB as GoalStateUpdate, av as Goals, H as GroupCriteriaEvaluator, ak as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, af as ModifyScoreCommand, ag as ModifySessionScoreCommand, Y as NumberMatch, P as PersonalizationEvent, Q as PersonalizationManifest, a6 as PersonalizeOptions, aa as PersonalizedResult, a9 as PersonalizedVariant, a2 as QuirkGoal, at as Quirks, an as SERVER_STATE_ID, am as ServerToClientTransitionState, ah as SetConsentCommand, al as SetControlGroupCommand, ae as SetGoalCommand, ai as SetQuirkCommand, aj as SetTestCommand, z as Severity, R as Signal, W as SignalCriteria, U as SignalCriteriaGroup, K as SignalData, a0 as SignalGoal, ad as StorageCommand, Z as TestDefinition, k as TestEvent, a3 as TestOptions, ac as TestResult, ab as TestVariant, au as Tests, ao as TransitionDataStoreEvents, as as VisitorDataStore, ar as VisitorDataStoreEvents, aq as VisitorDataStoreOptions, ay as emptyVisitorData, a7 as personalizeVariations, a4 as testVariations } from './types-hntTSVbk.js';
3
3
  import Cookies from 'js-cookie';
4
4
  import 'mitt';
5
5
 
@@ -155,6 +155,15 @@ type EdgeTestComponentOptions = {
155
155
  };
156
156
  declare const EdgeNodeTagName = "nesitag";
157
157
 
158
+ type InsightsEndpoint = {
159
+ host: string;
160
+ apiKey: string;
161
+ };
162
+ type EnableUniformInsightsOptions = {
163
+ endpoint: InsightsEndpoint;
164
+ };
165
+ declare const enableUniformInsights: (options: EnableUniformInsightsOptions) => ContextPlugin;
166
+
158
167
  type QuickConnectConfig = {
159
168
  apiKey: string;
160
169
  projectId: string;
@@ -163,4 +172,4 @@ type QuickConnectConfig = {
163
172
  declare function serializeQuickConnect(config: QuickConnectConfig): string;
164
173
  declare function parseQuickConnect(serialized: string): Required<QuickConnectConfig>;
165
174
 
166
- export { AggregateDimension, ConsoleDebugLogDrainOptions, ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, EdgePersonalizeComponentOptions, EdgeTestComponentOptions, EdgeTransitionDataStore, EdgeTransitionDataStoreOptions, LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, QuickConnectConfig, ScoreVector, ScriptType, StorageCommands, StringMatch, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseQuickConnect, queryStringEvaluator, quirkEvaluator, serializeQuickConnect };
175
+ export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type EnableUniformInsightsOptions, type LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, type QuickConnectConfig, ScoreVector, ScriptType, StorageCommands, StringMatch, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, enableUniformInsights, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseQuickConnect, queryStringEvaluator, quirkEvaluator, serializeQuickConnect };