File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import type {
66 SDKInitConfig ,
77} from './sdkRuntimeModels' ;
88import { Dictionary } from './utils' ;
9+ import type { IConsentRuleValue } from './consent' ;
910import {
1011 AsyncUploader ,
1112 IFetchPayload ,
@@ -61,13 +62,6 @@ export interface IFilteringConsentRuleValues {
6162 values : IConsentRuleValue [ ] ;
6263}
6364
64- export interface IConsentRuleValue {
65- // Server-side consent filters can return hashed consent purposes as numbers.
66- consentPurpose : string | number ;
67- hasConsented : boolean ;
68- }
69-
70-
7165export interface IConfigResponse {
7266 appName : string ;
7367 dataPlanResult : DataPlanResult ;
Original file line number Diff line number Diff line change 77import { Dictionary , isObject } from './utils' ;
88import KitFilterHelper from './kitFilterHelper' ;
99import Constants from './constants' ;
10- import type { IConsentRuleValue } from './configAPIClient' ;
1110import { IMParticleUser } from './identity-user-interfaces' ;
1211import { IMParticleWebSDKInstance } from './mp-instance' ;
1312
@@ -89,6 +88,12 @@ export interface IConsentStateV2DTO {
8988 ccpa ?: ICCPAConsentStateV2DTO ;
9089}
9190
91+ export interface IConsentRuleValue {
92+ // Server-side consent filters can return hashed consent purposes as numbers.
93+ consentPurpose : string | number ;
94+ hasConsented : boolean ;
95+ }
96+
9297export interface IConsentRules {
9398 includeOnMatch : boolean ;
9499 values : IConsentRuleValue [ ] ;
You can’t perform that action at this time.
0 commit comments