@usercentrics/react-native-sdk 2.7.8 → 2.7.10

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/CHANGELOG.md CHANGED
@@ -1,4 +1,20 @@
1
1
  [Release Notes](https://docs.usercentrics.com/cmp_in_app_sdk/latest/about/history/)
2
+ ### 2.7.10
3
+
4
+ ## Improvements
5
+
6
+ * [TCF] Performance improvement.
7
+
8
+ ## Features
9
+
10
+ * Stability improvements and bug fixes.
11
+
12
+ ### 2.7.9
13
+
14
+ ## Features
15
+
16
+ * Add a property to disable the system back button in the first layer
17
+
2
18
  ### 2.7.8
3
19
 
4
20
  ## Features
@@ -1,8 +1,8 @@
1
- def usercentrics_version = "2.7.8"
1
+ def usercentrics_version = "2.7.10"
2
2
  version usercentrics_version
3
3
 
4
4
  buildscript {
5
- ext.kotlin_version = '1.7.10'
5
+ ext.kotlin_version = '1.8.0'
6
6
 
7
7
  ext.safeExtGet = { prop, fallback ->
8
8
  return rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
@@ -27,7 +27,7 @@ apply plugin: 'com.android.library'
27
27
  apply plugin: 'kotlin-android'
28
28
 
29
29
  android {
30
- compileSdkVersion 31
30
+ compileSdkVersion 32
31
31
 
32
32
  compileOptions {
33
33
  sourceCompatibility JavaVersion.VERSION_1_8
@@ -309,7 +309,7 @@ class RNUsercentricsModuleTest {
309
309
  resultMap.getMap("userLocation")
310
310
  )
311
311
 
312
- assertEquals(GetCMPDataMock.expectedServices.serialize(), resultMap.getArray("services"))
312
+ assertEquals(GetCMPDataMock.expectedServices.serialize(), resultMap.getArray("services")!!)
313
313
  }
314
314
 
315
315
  @Test
@@ -35,57 +35,35 @@ internal class GetCMPDataMock {
35
35
  legalBasisList = listOf("Art. 6 para. 1 s. 1 lit. a GDPR"),
36
36
  retentionPeriodList = listOf(),
37
37
  subConsents = listOf(),
38
- cookieNames = listOf(),
39
38
  language = "en",
40
- isLatest = false,
41
- isShared = false,
42
- shareCustomConsent = "",
43
39
  linkToDpa = "",
44
- defaultConsentStatus = true,
45
40
  legalGround = "Art. 6 para. 1 s. 1 lit. c GDPR",
46
41
  optOutUrl = "",
47
42
  policyOfProcessorUrl = "https://usercentrics.com/de/datenschutzerklarung/",
48
43
  categorySlug = "essential",
49
- retentionPeriod = 0,
50
44
  retentionPeriodDescription = "The consent data (given consent and revocation of consent) are stored for three years. The data will then be deleted immediately or given to the person responsible on request in the form of a data export.",
51
- iabId = "5",
52
45
  dataProtectionOfficer = "datenschutz@usercentrics.com",
53
46
  privacyPolicyURL = "https://usercentrics.com/privacy-policy/",
54
47
  cookiePolicyURL = "",
55
48
  locationOfProcessing = "European Union",
56
49
  dataCollectedDescription = "",
57
- dataPurposesDescription = "",
58
- dataRecipientsDescription = "",
59
- legalBasisDescription = "",
60
- optOutDescription = "",
61
50
  thirdCountryTransfer = "Worldwide",
62
- defaultCategoryLabel = "Essential",
63
51
  description = "",
64
52
  isDeactivated = false,
65
53
  disableLegalBasis = false,
66
54
  )
67
55
  )
68
56
  private val fakeLabels = UsercentricsLabels(
69
- optin = "General Opt-In",
70
- dataScopes = "Data Scopes",
71
- dataAttributes = "Data Attributes",
72
57
  dataPurposes = "Data Purposes",
73
- dataProcessors = "Processing Company",
74
- dataControllers = "Data Controller",
75
58
  accepted = "yes",
76
59
  denied = "no",
77
60
  history = "History",
78
61
  settings = "Settings",
79
62
  subConsents = "Subservices",
80
- btnSelectAll = "Select all",
81
63
  btnAccept = "Accept",
82
64
  btnDeny = "Deny",
83
- btnChipName = "Privacy settings",
84
- statusActive = "active",
85
- statusInactive = "inactive",
86
65
  secondLayerTitle = "Privacy Settings Title",
87
66
  secondLayerDescriptionHtml = "Privacy Settings Description",
88
- btnSaveSettings = "Save settings",
89
67
  btnMore = "more",
90
68
  poweredBy = "Powered by <a href=\"https://usercentrics.com/?utm_source=cmp&utm_medium=powered_by\" rel=\"nofollow\" target=\"_blank\">Usercentrics Consent Management</a>",
91
69
  technologiesUsed = "Technologies Used",
@@ -101,29 +79,18 @@ internal class GetCMPDataMock {
101
79
  addressOfProcessingCompany = "Address of processing company",
102
80
  optOut = "Click here to opt out from this processor across all domains",
103
81
  policyOf = "Click here to read the privacy policy of the data processor",
104
- searchPlaceholder = "Search Services",
105
82
  dataCollectedInfo = "This list represents all (personal) data that is collected by or through the use of this service.",
106
83
  legalBasisInfo = "In the following the required legal basis for the processing of data is listed.",
107
- locationofProcessingInfo = "This is the primary location where the collected data is being processed. If the data is also processed in other countries, you are informed separately.",
108
- retentionPeriodInfo = "The retention period is the time span the collected data is saved for the processing purposes. The data needs to be deleted as soon as it is no longer needed for the stated processing purposes.",
109
84
  dataRecipientsList = "Data Recipients",
110
- dataRecipientsListInfo = "In the following the recipients of the data collected are listed.",
111
85
  transferToThirdCountriesInfo = "This service may forward the collected data to a different country. Please note that this service might transfer the data outside of the EU/EEA and to a country without the required data protection standards. If the data is transferred to the US, there is a risk that your data can be processed by US authorities, for control and surveillance measures, possibly without legal remedies. Below you can find a list of countries to which the data is being transferred. This can be for different reasons like storing or processing.",
112
- dataProtectionOfficerInfo = "Below you can find the email address of the data protection officer of the processing company.",
113
86
  linkToDpaInfo = "Data Processing Agreement",
114
87
  dataPurposesInfo = "This list represents the purposes of the data collection and processing.",
115
88
  technologiesUsedInfo = "This list represents all technologies this service uses to collect data. Typical technologies are Cookies and Pixels that are placed in the browser.",
116
89
  btnBannerReadMore = "Read more",
117
- consentDescription = "Description of the use of the data",
118
90
  descriptionOfService = "Description of Service",
119
91
  technology = "Technology being used to process the data",
120
92
  notAvailable = "not available",
121
- noResults = "No results",
122
- btnViewFullConsentsList = "Display all Services",
123
93
  date = "Date",
124
- comments = "Comments",
125
- ago = "ago",
126
- justNow = "just now",
127
94
  minute = "minute",
128
95
  minutes = "minutes",
129
96
  hour = "hour",
@@ -138,28 +105,14 @@ internal class GetCMPDataMock {
138
105
  categories = "Categories",
139
106
  language = "Language",
140
107
  btnSave = "Save Services",
141
- btnCancel = "Cancel changes",
142
- btnClose = "Close",
143
- btnReset = "Reset",
144
108
  btnMoreInfo = "More Info",
145
- btnAllOn = "Switch all on",
146
- btnAllOff = "Switch all off",
147
- btnSaveAndExit = "Save and close",
148
109
  btnBack = "Back",
149
- titleCenterPrimary = "Privacy Settings",
150
- titleCenterSecondary = "Privacy Settings",
151
- headerCenterPrimary = "Privacy settings",
152
- headerCenterSecondary = "Privacy settings",
153
- btnShowPrivacy = "Show privacy",
154
- btnActivateChangesAndCloseWindow = "Activate changes and close window",
155
110
  copy = "copy",
156
111
  copied = "copied",
157
112
  view = "view",
158
113
  more = "more",
159
114
  less = "less",
160
115
  consents = "Consents",
161
- btnModalSave = "Save settings",
162
- headerModalDescription = "Privacy settings",
163
116
  headerModal = "This tool helps you to select and deactivate various tags / trackers / analytic tools used on this website.",
164
117
  basic = "Basic",
165
118
  advanced = "Advanced",
@@ -168,21 +121,13 @@ internal class GetCMPDataMock {
168
121
  imprintLinkText = "Imprint",
169
122
  privacyPolicyLinkText = "Privacy Policy",
170
123
  cookiePolicyLinkText = "Cookie Policy",
171
- partnerPoweredByLinkText = "",
172
- iabBtnAcceptAll = "Accept All",
173
- iabCategoryNonIab = "Non IAB Vendors",
174
- iabCategoryNonIabDescription = "Vendors not yet registered with IAB Framework.",
175
124
  btnAcceptAll = "Accept All",
176
- iabViewByPurpose = "View by Purpose",
177
- iabExamplePersonalData = "Example for personal data: IP address",
178
- secondLayerAppendix = "",
179
125
  firstLayerTitle = "Privacy Settings",
180
126
  historyDescription = "",
181
127
  consentType = "Consent type",
182
128
  decision = "Decision",
183
129
  explicit = "Explicit",
184
130
  implicit = "Implicit",
185
- showMore = "Show more",
186
131
  storageInformation = "Storage Information",
187
132
  maximumAgeCookieStorage = "Maximum age of cookie storage",
188
133
  second = "second",
@@ -203,30 +148,15 @@ internal class GetCMPDataMock {
203
148
  anyDomain = "any domain (ex. first party cookie)",
204
149
  multipleDomains = "multiple subdomains may exist",
205
150
  storageInformationDescription = "Below you can see the longest potential duration for storage on a device, as set when using the cookie method of storage and if there are any other methods used.",
206
- storedInformation = "Stored Information",
207
- storedInformationDescription = "This service uses different means of storing information on a user’s device as listed below.",
208
- yesImplicit = "yes (website default)",
209
- noImplicit = "no (website default)"
210
151
  )
211
152
  private val fakeFirstLayer = FirstLayer(
212
- descriptionDefault = "",
213
- isCategoryTogglesEnabled = false,
214
- hideLanguageSwitch = false,
215
153
  hideButtonDeny = false,
216
- isOverlayEnabled = true,
217
- title = "",
218
- descriptionShort = "",
219
154
  )
220
155
  private val fakeSecondLayer = SecondLayer(
221
156
  tabsServicesLabel = "Services",
222
- tabsCategoriesIsEnabled = true,
223
- description = "",
224
157
  hideLanguageSwitch = false,
225
158
  tabsCategoriesLabel = "Categories",
226
159
  hideButtonDeny = false,
227
- tabsServicesIsEnabled = true,
228
- isOverlayEnabled = true,
229
- title = "",
230
160
  hideTogglesForServices = false
231
161
  )
232
162
  private val fakeTCF2Settings = TCF2Settings(
@@ -245,11 +175,8 @@ internal class GetCMPDataMock {
245
175
  hideLegitimateInterestToggles = false,
246
176
  secondLayerHideButtonDeny = false,
247
177
  secondLayerHideToggles = false,
248
- vendorToggleAll = false,
249
178
  togglesConsentToggleLabel = "Consent",
250
179
  labelsFeatures = "Features",
251
- firstLayerNoteGlobal =
252
- "Your choices for this website will be applied globally, which means they will be available to other websites that set your choices globally.",
253
180
  togglesSpecialFeaturesToggleOn = "On",
254
181
  vendorSpecialFeatures = "Special Features",
255
182
  appLayerNoteResurface =
@@ -273,8 +200,6 @@ internal class GetCMPDataMock {
273
200
  vendorFeatures = "Features",
274
201
  secondLayerDescription =
275
202
  "You can access more detailed information below regarding all purposes and third-party vendors implemented on this website. You can adjust your privacy settings based on specific purposes and/or at a vendor level at any time.",
276
- firstLayerNoteService =
277
- "Your choices for this website will be applied on this page only. You can change your Privacy Settings or withdraw your consent at any time by clicking on our Privacy Button.",
278
203
  publisherCountryCode = "DE",
279
204
  buttonsSaveLabel = "Save Settings",
280
205
  selectedVendorIds = listOf(),
@@ -282,8 +207,6 @@ internal class GetCMPDataMock {
282
207
  hideNonIabOnFirstLayer = false,
283
208
  linksManageSettingsLabel = "Manage Settings",
284
209
  firstLayerHideToggles = false,
285
- labelsDisclaimer =
286
- "All choices on this website will be applied globally, which means they will be available on other websites that set your choices globally. By clicking on our Privacy Button in the bottom left corner, you can change your settings or withdraw your consent at any time.",
287
210
  gdprApplies = true,
288
211
  linksVendorListLinkLabel = "Vendorlist",
289
212
  tabsPurposeLabel = "Purposes"
@@ -291,13 +214,9 @@ internal class GetCMPDataMock {
291
214
  private val fakeCCPASettings = CCPASettings(
292
215
  secondLayerHideLanguageSwitch = false,
293
216
  secondLayerTitle = "Privacy Settings Title",
294
- reshowCMP = true,
295
217
  iabAgreementExists = false,
296
218
  optOutNoticeLabel = "Do not sell my personal information",
297
- firstLayerHideLanguageSwitch = false,
298
219
  btnSave = "OK",
299
- firstLayerDescription =
300
- "We and our partners are using technologies like cookies and process personal data in order to improve your experience. In case of sale of your personal information you may exercise your consumer right to opt-out by activating the toggle 'Do Not Sell My Personal Information' below. For detailed information about the categories of personal information we collect and the purposes for which information may be used and which Data Processing Services may have access to this information please click on 'More Information' or refer to our privacy policy.",
301
220
  showOnPageLoad = false,
302
221
  btnMoreInfo = "More Information",
303
222
  firstLayerTitle = "Privacy Information",
@@ -326,54 +245,33 @@ internal class GetCMPDataMock {
326
245
  labels = fakeLabels,
327
246
  showInitialViewForVersionChange = listOf(),
328
247
  displayOnlyForEU = false,
329
- urlConsentInfo = "",
330
- updatedAt = "2020-10-26T14:21:05.933Z",
331
248
  secondLayer = fakeSecondLayer,
332
249
  cookiePolicyUrl = "",
333
250
  tcf2 = fakeTCF2Settings,
334
251
  ccpa = fakeCCPASettings,
335
- btnDenyIsVisible = true,
336
252
  privacyPolicyUrl = "https://usercentrics.com/privacy-policy/",
337
253
  firstLayer = fakeFirstLayer,
338
- showLanguageDropdown = true,
339
254
  imprintUrl = "https://usercentrics.com/legal-notice/",
340
- btnMoreInfoIsVisible = true,
341
255
  firstLayerDescriptionHtml = "Privacy Settings test description.",
342
256
  bannerMobileDescriptionIsActive = false,
343
- dataController = "GDPR",
344
257
  firstLayerMobileDescriptionHtml = "",
345
258
  version = "6.0.4",
346
- isLatest = true,
347
259
  language = "en",
348
260
  tcf2Enabled = false,
349
261
  settingsId = "lQ_Dio7QL",
350
262
  languagesAvailable = listOf("en", "de"),
351
- createdAt = "2020-10-26T14:21:05.933Z",
352
263
  enablePoweredBy = true,
353
264
  editableLanguages = listOf("en", "de"),
354
- partnerPoweredByLogoUrl = "",
355
265
  customization = fakeCustomization,
356
- moreInfoButtonUrl = "",
357
- iabConsentIsActive = false,
358
- partnerPoweredByUrl = ""
359
266
  )
360
267
 
361
268
  // From the debugger
362
269
  private val expectedFirstLayer = hashMapOf(
363
- "isOverlayEnabled" to true,
364
- "isCategoryTogglesEnabled" to false,
365
270
  "hideButtonDeny" to false,
366
- "hideLanguageSwitch" to false,
367
- "title" to "",
368
- "descriptionDefault" to "",
369
- "descriptionShort" to "",
370
271
  )
371
272
  private val expectedSecondLayer = hashMapOf(
372
273
  "tabsCategoriesLabel" to "Categories",
373
274
  "tabsServicesLabel" to "Services",
374
- "isOverlayEnabled" to true,
375
- "tabsCategoriesIsEnabled" to true,
376
- "tabsServicesIsEnabled" to true,
377
275
  "hideButtonDeny" to false,
378
276
  "hideLanguageSwitch" to false,
379
277
  )
@@ -483,14 +381,12 @@ internal class GetCMPDataMock {
483
381
  "resurfacePeriodEnded" to true,
484
382
  "resurfacePurposeChanged" to true,
485
383
  "resurfaceVendorAdded" to true,
486
- "vendorToggleAll" to false,
487
384
  "firstLayerDescription" to "We and our third-party vendors use technologies (e.g. cookies) to store and/or access information on user's devices in order to process personal data such as IP addresses or browsing data. You may consent to the processing of your personal data for the listed purposes below. Alternatively you can set your preferences before consenting or refuse to consent. Please note that some vendors may process your personal data based on their legitimate business interest and do not ask for your consent. To exercise your right to object to processing based on legitimate interest please view our vendorlist.",
488
385
  "firstLayerAdditionalInfo" to "",
489
386
  "secondLayerDescription" to "You can access more detailed information below regarding all purposes and third-party vendors implemented on this website. You can adjust your privacy settings based on specific purposes and/or at a vendor level at any time.",
490
387
  "togglesSpecialFeaturesToggleOn" to "On",
491
388
  "togglesSpecialFeaturesToggleOff" to "Off",
492
389
  "appLayerNoteResurface" to "You can change your privacy settings or withdraw your consent at any time by opening the menu point Privacy Settings.",
493
- "firstLayerNoteGlobal" to "Your choices for this website will be applied globally, which means they will be available to other websites that set your choices globally.",
494
390
  "firstLayerNoteResurface" to "You can change your privacy settings or withdraw your consent at any time by clicking on our Privacy Button.",
495
391
  )
496
392
  private val expectedCCPASettings = hashMapOf(
@@ -499,14 +395,11 @@ internal class GetCMPDataMock {
499
395
  "firstLayerTitle" to "Privacy Information",
500
396
  "isActive" to false,
501
397
  "showOnPageLoad" to false,
502
- "reshowCMP" to true,
503
398
  "reshowAfterDays" to 365,
504
399
  "iabAgreementExists" to false,
505
- "firstLayerDescription" to "We and our partners are using technologies like cookies and process personal data in order to improve your experience. In case of sale of your personal information you may exercise your consumer right to opt-out by activating the toggle 'Do Not Sell My Personal Information' below. For detailed information about the categories of personal information we collect and the purposes for which information may be used and which Data Processing Services may have access to this information please click on 'More Information' or refer to our privacy policy.",
506
400
  "appFirstLayerDescription" to "We and our partners are using technologies like cookies and process personal data in order to improve your experience. In case of sale of your personal information you may exercise your consumer right to opt-out by activating the toggle 'Do Not Sell My Personal Information' below. For detailed information about the categories of personal information we collect and the purposes for which information may be used and which Data Processing Services may have access to this information please refer to our privacy policy.",
507
401
  "firstLayerMobileDescriptionIsActive" to false,
508
402
  "firstLayerMobileDescription" to "We and our partners are using technologies like cookies and process personal data in order to improve your experience. In case of sale of your personal information you may exercise your consumer right to opt-out by activating the toggle 'Do Not Sell My Personal Information' below.",
509
- "firstLayerHideLanguageSwitch" to false,
510
403
  "secondLayerTitle" to "Privacy Settings Title",
511
404
  "secondLayerDescription" to "Here you can find detailed information about the categories of personal information we collect and the purposes for which information may be used and which Data Processing Services may have access to this information.",
512
405
  "secondLayerHideLanguageSwitch" to false,
@@ -527,36 +420,24 @@ internal class GetCMPDataMock {
527
420
  "labels" to expectedLabels,
528
421
  "showInitialViewForVersionChange" to listOf<Any>(),
529
422
  "displayOnlyForEU" to false,
530
- "urlConsentInfo" to "",
531
- "updatedAt" to "2020-10-26T14:21:05.933Z",
532
423
  "secondLayer" to expectedSecondLayer,
533
424
  "cookiePolicyUrl" to "",
534
425
  "tcf2" to expectedTCF2Settings,
535
426
  "ccpa" to expectedCCPASettings,
536
- "btnDenyIsVisible" to true,
537
427
  "privacyPolicyUrl" to "https://usercentrics.com/privacy-policy/",
538
428
  "firstLayer" to expectedFirstLayer,
539
- "showLanguageDropdown" to true,
540
429
  "imprintUrl" to "https://usercentrics.com/legal-notice/",
541
- "btnMoreInfoIsVisible" to true,
542
430
  "firstLayerDescriptionHtml" to "Privacy Settings test description.",
543
431
  "bannerMobileDescriptionIsActive" to false,
544
- "dataController" to "GDPR",
545
432
  "firstLayerMobileDescriptionHtml" to "",
546
433
  "version" to "6.0.4",
547
- "isLatest" to true,
548
434
  "language" to "en",
549
435
  "tcf2Enabled" to false,
550
436
  "settingsId" to "lQ_Dio7QL",
551
437
  "languagesAvailable" to listOf("en", "de"),
552
- "createdAt" to "2020-10-26T14:21:05.933Z",
553
438
  "enablePoweredBy" to true,
554
439
  "editableLanguages" to listOf("en", "de"),
555
- "partnerPoweredByLogoUrl" to "",
556
440
  "customization" to expectedCustomization,
557
- "moreInfoButtonUrl" to "",
558
- "iabConsentIsActive" to false,
559
- "partnerPoweredByUrl" to ""
560
441
  )
561
442
  val expectedCategories = listOf(
562
443
  hashMapOf(
@@ -592,31 +473,19 @@ internal class GetCMPDataMock {
592
473
  "legalBasisList" to listOf("Art. 6 para. 1 s. 1 lit. a GDPR"),
593
474
  "retentionPeriodList" to listOf<String>(),
594
475
  "subConsents" to listOf<String>(),
595
- "cookieNames" to listOf<String>(),
596
476
  "language" to "en",
597
- "isLatest" to false,
598
- "isShared" to false,
599
- "shareCustomConsent" to "",
600
477
  "linkToDpa" to "",
601
- "defaultConsentStatus" to true,
602
478
  "legalGround" to "Art. 6 para. 1 s. 1 lit. c GDPR",
603
479
  "optOutUrl" to "",
604
480
  "policyOfProcessorUrl" to "https://usercentrics.com/de/datenschutzerklarung/",
605
481
  "categorySlug" to "essential",
606
- "retentionPeriod" to 0L,
607
482
  "retentionPeriodDescription" to "The consent data (given consent and revocation of consent) are stored for three years. The data will then be deleted immediately or given to the person responsible on request in the form of a data export.",
608
- "iabId" to "5",
609
483
  "dataProtectionOfficer" to "datenschutz@usercentrics.com",
610
484
  "privacyPolicyURL" to "https://usercentrics.com/privacy-policy/",
611
485
  "cookiePolicyURL" to "",
612
486
  "locationOfProcessing" to "European Union",
613
487
  "dataCollectedDescription" to "",
614
- "dataPurposesDescription" to "",
615
- "dataRecipientsDescription" to "",
616
- "legalBasisDescription" to "",
617
- "optOutDescription" to "",
618
488
  "thirdCountryTransfer" to "Worldwide",
619
- "defaultCategoryLabel" to "Essential",
620
489
  "description" to "",
621
490
  "isDeactivated" to false,
622
491
  "disableLegalBasis" to false,
@@ -172,6 +172,7 @@ internal fun ReadableMap.generalStyleSettingsFromMap(assetManager: AssetManager)
172
172
  font = getMap("font")?.bannerFontFromMap(assetManager),
173
173
  logo = getMap("logo")?.bannerLogoFromMap(),
174
174
  links = getString("links")?.legalLinksFromEnumString(),
175
+ disableSystemBackButton = getBooleanOrNull("disableSystemBackButton")
175
176
  )
176
177
  }
177
178
 
@@ -189,7 +190,7 @@ internal fun ReadableMap.toggleStyleSettingsFromMap(): ToggleStyleSettings {
189
190
  internal fun String?.legalLinksFromEnumString(): LegalLinksSettings? {
190
191
  return when (this) {
191
192
  "BOTH" -> LegalLinksSettings.BOTH
192
- "NONE" -> LegalLinksSettings.NONE
193
+ "HIDDEN" -> LegalLinksSettings.HIDDEN
193
194
  "FIRST_LAYER_ONLY" -> LegalLinksSettings.FIRST_LAYER_ONLY
194
195
  "SECOND_LAYER_ONLY" -> LegalLinksSettings.SECOND_LAYER_ONLY
195
196
  else -> null
@@ -22,36 +22,24 @@ private fun UsercentricsSettings.serialize(): WritableMap {
22
22
  "showInitialViewForVersionChange" to showInitialViewForVersionChange,
23
23
  "reshowBanner" to reshowBanner,
24
24
  "displayOnlyForEU" to displayOnlyForEU,
25
- "urlConsentInfo" to urlConsentInfo,
26
- "updatedAt" to updatedAt,
27
25
  "secondLayer" to secondLayer.serialize(),
28
26
  "cookiePolicyUrl" to cookiePolicyUrl,
29
27
  "tcf2" to tcf2?.serialize(),
30
28
  "ccpa" to ccpa?.serialize(),
31
- "btnDenyIsVisible" to btnDenyIsVisible,
32
29
  "privacyPolicyUrl" to privacyPolicyUrl,
33
30
  "firstLayer" to firstLayer?.serialize(),
34
- "showLanguageDropdown" to showLanguageDropdown,
35
31
  "imprintUrl" to imprintUrl,
36
- "btnMoreInfoIsVisible" to btnMoreInfoIsVisible,
37
32
  "firstLayerDescriptionHtml" to firstLayerDescriptionHtml,
38
33
  "bannerMobileDescriptionIsActive" to bannerMobileDescriptionIsActive,
39
- "dataController" to dataController,
40
34
  "firstLayerMobileDescriptionHtml" to firstLayerMobileDescriptionHtml,
41
35
  "version" to version,
42
- "isLatest" to isLatest,
43
36
  "language" to language,
44
37
  "tcf2Enabled" to tcf2Enabled,
45
38
  "settingsId" to settingsId,
46
39
  "languagesAvailable" to languagesAvailable,
47
- "createdAt" to createdAt,
48
40
  "enablePoweredBy" to enablePoweredBy,
49
41
  "editableLanguages" to editableLanguages,
50
- "partnerPoweredByLogoUrl" to partnerPoweredByLogoUrl,
51
42
  "customization" to customization?.serialize(),
52
- "moreInfoButtonUrl" to moreInfoButtonUrl,
53
- "iabConsentIsActive" to iabConsentIsActive,
54
- "partnerPoweredByUrl" to partnerPoweredByUrl,
55
43
  ).toWritableMap()
56
44
  }
57
45
 
@@ -132,14 +120,11 @@ private fun CCPASettings.serialize(): WritableMap {
132
120
  "firstLayerTitle" to firstLayerTitle,
133
121
  "isActive" to isActive,
134
122
  "showOnPageLoad" to showOnPageLoad,
135
- "reshowCMP" to reshowCMP,
136
123
  "reshowAfterDays" to reshowAfterDays,
137
124
  "iabAgreementExists" to iabAgreementExists,
138
- "firstLayerDescription" to firstLayerDescription,
139
125
  "appFirstLayerDescription" to appFirstLayerDescription,
140
126
  "firstLayerMobileDescriptionIsActive" to firstLayerMobileDescriptionIsActive,
141
127
  "firstLayerMobileDescription" to firstLayerMobileDescription,
142
- "firstLayerHideLanguageSwitch" to firstLayerHideLanguageSwitch,
143
128
  "secondLayerTitle" to secondLayerTitle,
144
129
  "secondLayerDescription" to secondLayerDescription,
145
130
  "secondLayerHideLanguageSwitch" to secondLayerHideLanguageSwitch,
@@ -183,8 +168,6 @@ private fun TCF2Settings.serialize(): WritableMap {
183
168
  "purposeOneTreatment" to purposeOneTreatment,
184
169
  "selectedVendorIds" to selectedVendorIds,
185
170
  "gdprApplies" to gdprApplies,
186
- "consensuDomain" to consensuDomain,
187
- "consensuScriptPath" to consensuScriptPath,
188
171
  "selectedStacks" to selectedStacks,
189
172
  "disabledSpecialFeatures" to disabledSpecialFeatures,
190
173
  "firstLayerShowDescriptions" to firstLayerShowDescriptions,
@@ -192,14 +175,12 @@ private fun TCF2Settings.serialize(): WritableMap {
192
175
  "resurfacePeriodEnded" to resurfacePeriodEnded,
193
176
  "resurfacePurposeChanged" to resurfacePurposeChanged,
194
177
  "resurfaceVendorAdded" to resurfaceVendorAdded,
195
- "vendorToggleAll" to vendorToggleAll,
196
178
  "firstLayerDescription" to firstLayerDescription,
197
179
  "firstLayerAdditionalInfo" to firstLayerAdditionalInfo,
198
180
  "secondLayerDescription" to secondLayerDescription,
199
181
  "togglesSpecialFeaturesToggleOn" to togglesSpecialFeaturesToggleOn,
200
182
  "togglesSpecialFeaturesToggleOff" to togglesSpecialFeaturesToggleOff,
201
183
  "appLayerNoteResurface" to appLayerNoteResurface,
202
- "firstLayerNoteGlobal" to firstLayerNoteGlobal,
203
184
  "firstLayerNoteResurface" to firstLayerNoteResurface,
204
185
  ).toWritableMap()
205
186
  }
@@ -210,7 +191,6 @@ private fun UsercentricsCustomization.serialize(): WritableMap {
210
191
  "font" to font?.serialize(),
211
192
  "logoUrl" to logoUrl,
212
193
  "borderRadiusLayer" to borderRadiusLayer,
213
- "useBackgroundShadow" to useBackgroundShadow,
214
194
  "borderRadiusButton" to borderRadiusButton,
215
195
  "overlayOpacity" to overlayOpacity,
216
196
  ).toWritableMap()
@@ -251,13 +231,7 @@ private fun CustomizationColor.serialize(): WritableMap {
251
231
 
252
232
  private fun FirstLayer.serialize(): WritableMap {
253
233
  return mapOf(
254
- "isOverlayEnabled" to isOverlayEnabled,
255
- "isCategoryTogglesEnabled" to isCategoryTogglesEnabled,
256
234
  "hideButtonDeny" to hideButtonDeny,
257
- "hideLanguageSwitch" to hideLanguageSwitch,
258
- "title" to title,
259
- "descriptionDefault" to descriptionDefault,
260
- "descriptionShort" to descriptionShort,
261
235
  ).toWritableMap()
262
236
  }
263
237
 
@@ -267,9 +241,6 @@ private fun SecondLayer.serialize(): WritableMap {
267
241
  "tabsCategoriesLabel" to tabsCategoriesLabel,
268
242
  "tabsServicesLabel" to tabsServicesLabel,
269
243
  // Optional
270
- "isOverlayEnabled" to isOverlayEnabled,
271
- "tabsCategoriesIsEnabled" to tabsCategoriesIsEnabled,
272
- "tabsServicesIsEnabled" to tabsServicesIsEnabled,
273
244
  "hideButtonDeny" to hideButtonDeny,
274
245
  "hideLanguageSwitch" to hideLanguageSwitch,
275
246
  ).toWritableMap()
@@ -294,32 +265,19 @@ private fun UsercentricsService.serialize(): WritableMap {
294
265
  "legalBasisList" to legalBasisList,
295
266
  "retentionPeriodList" to retentionPeriodList,
296
267
  "subConsents" to subConsents,
297
- "cookieNames" to cookieNames,
298
268
  "language" to language,
299
- "isLatest" to isLatest,
300
- "isShared" to isShared,
301
- "shareCustomConsent" to shareCustomConsent,
302
269
  "linkToDpa" to linkToDpa,
303
- "defaultConsentStatus" to defaultConsentStatus,
304
270
  "legalGround" to legalGround,
305
271
  "optOutUrl" to optOutUrl,
306
272
  "policyOfProcessorUrl" to policyOfProcessorUrl,
307
273
  "categorySlug" to categorySlug,
308
- "retentionPeriod" to retentionPeriod,
309
274
  "retentionPeriodDescription" to retentionPeriodDescription,
310
- "iabId" to iabId,
311
- "iabv2Id" to iabv2Id,
312
275
  "dataProtectionOfficer" to dataProtectionOfficer,
313
276
  "privacyPolicyURL" to privacyPolicyURL,
314
277
  "cookiePolicyURL" to cookiePolicyURL,
315
278
  "locationOfProcessing" to locationOfProcessing,
316
279
  "dataCollectedDescription" to dataCollectedDescription,
317
- "dataPurposesDescription" to dataPurposesDescription,
318
- "dataRecipientsDescription" to dataRecipientsDescription,
319
- "legalBasisDescription" to legalBasisDescription,
320
- "optOutDescription" to optOutDescription,
321
280
  "thirdCountryTransfer" to thirdCountryTransfer,
322
- "defaultCategoryLabel" to defaultCategoryLabel,
323
281
  "description" to description,
324
282
  "cookieMaxAgeSeconds" to cookieMaxAgeSeconds,
325
283
  "usesNonCookieAccess" to usesNonCookieAccess,
@@ -285,8 +285,8 @@ extension LegalLinksSettings {
285
285
  return .both
286
286
  case "FIRST_LAYER_ONLY":
287
287
  return .firstLayerOnly
288
- case "NONE":
289
- return LegalLinksSettings.none
288
+ case "HIDDEN":
289
+ return LegalLinksSettings.hidden
290
290
  case "SECOND_LAYER_ONLY":
291
291
  return .secondLayerOnly
292
292
  default:
@@ -20,36 +20,24 @@ extension UsercentricsSettings {
20
20
  "showInitialViewForVersionChange": self.showInitialViewForVersionChange,
21
21
  "reshowBanner": self.reshowBanner as Any,
22
22
  "displayOnlyForEU" : self.displayOnlyForEU,
23
- "urlConsentInfo" : self.urlConsentInfo,
24
- "updatedAt" : self.updatedAt as Any,
25
23
  "secondLayer" : self.secondLayer.toDictionary() as Any,
26
24
  "cookiePolicyUrl": self.cookiePolicyUrl as Any,
27
25
  "tcf2": self.tcf2?.toDictionary() as Any,
28
26
  "ccpa": self.ccpa?.toDictionary() as Any,
29
- "btnDenyIsVisible": self.btnDenyIsVisible as Any,
30
27
  "privacyPolicyUrl": self.privacyPolicyUrl as Any,
31
28
  "firstLayer": self.firstLayer?.toDictionary() as Any,
32
- "showLanguageDropdown": self.showLanguageDropdown,
33
29
  "imprintUrl": self.imprintUrl as Any,
34
- "btnMoreInfoIsVisible": self.btnMoreInfoIsVisible,
35
30
  "firstLayerDescriptionHtml": self.firstLayerDescriptionHtml as Any,
36
31
  "bannerMobileDescriptionIsActive": self.bannerMobileDescriptionIsActive,
37
- "dataController": self.dataController as Any,
38
32
  "firstLayerMobileDescriptionHtml": self.firstLayerMobileDescriptionHtml as Any,
39
33
  "version": self.version,
40
- "isLatest": self.isLatest?.boolValue as Any,
41
34
  "language" : self.language,
42
35
  "tcf2Enabled" : self.tcf2Enabled,
43
36
  "settingsId" : self.settingsId,
44
37
  "languagesAvailable" : self.languagesAvailable,
45
- "createdAt" : self.createdAt as Any,
46
38
  "enablePoweredBy" : self.enablePoweredBy,
47
39
  "editableLanguages" : self.editableLanguages,
48
- "partnerPoweredByLogoUrl" : self.partnerPoweredByLogoUrl,
49
40
  "customization" : self.customization?.toDictionary() as Any,
50
- "moreInfoButtonUrl" : self.moreInfoButtonUrl,
51
- "iabConsentIsActive" : self.iabConsentIsActive,
52
- "partnerPoweredByUrl" : self.partnerPoweredByUrl,
53
41
  ]
54
42
  }
55
43
  }
@@ -134,14 +122,11 @@ extension CCPASettings {
134
122
  "firstLayerTitle" : self.firstLayerTitle,
135
123
  "isActive" : self.isActive,
136
124
  "showOnPageLoad" : self.showOnPageLoad,
137
- "reshowCMP" : self.reshowCMP,
138
125
  "reshowAfterDays" : self.reshowAfterDays,
139
126
  "iabAgreementExists" : self.iabAgreementExists,
140
- "firstLayerDescription" : self.firstLayerDescription as Any,
141
127
  "appFirstLayerDescription" : self.appFirstLayerDescription as Any,
142
128
  "firstLayerMobileDescriptionIsActive" : self.firstLayerMobileDescriptionIsActive,
143
129
  "firstLayerMobileDescription" : self.firstLayerMobileDescription as Any,
144
- "firstLayerHideLanguageSwitch" : self.firstLayerHideLanguageSwitch,
145
130
  "secondLayerTitle" : self.secondLayerTitle as Any,
146
131
  "secondLayerDescription" : self.secondLayerDescription as Any,
147
132
  "secondLayerHideLanguageSwitch" : self.secondLayerHideLanguageSwitch,
@@ -188,8 +173,6 @@ extension TCF2Settings {
188
173
  "purposeOneTreatment" : self.purposeOneTreatment,
189
174
  "selectedVendorIds" : self.selectedVendorIds,
190
175
  "gdprApplies" : self.gdprApplies,
191
- "consensuDomain" : self.consensuDomain as Any,
192
- "consensuScriptPath" : self.consensuScriptPath as Any,
193
176
  "selectedStacks" : self.selectedStacks,
194
177
  "disabledSpecialFeatures" : self.disabledSpecialFeatures,
195
178
  "firstLayerShowDescriptions" : self.firstLayerShowDescriptions,
@@ -197,14 +180,12 @@ extension TCF2Settings {
197
180
  "resurfacePeriodEnded" : self.resurfacePeriodEnded,
198
181
  "resurfacePurposeChanged" : self.resurfacePurposeChanged,
199
182
  "resurfaceVendorAdded" : self.resurfaceVendorAdded,
200
- "vendorToggleAll" : self.vendorToggleAll,
201
183
  "firstLayerDescription" : self.firstLayerDescription as Any,
202
184
  "firstLayerAdditionalInfo" : self.firstLayerAdditionalInfo as Any,
203
185
  "secondLayerDescription" : self.secondLayerDescription as Any,
204
186
  "togglesSpecialFeaturesToggleOn" : self.togglesSpecialFeaturesToggleOn as Any,
205
187
  "togglesSpecialFeaturesToggleOff" : self.togglesSpecialFeaturesToggleOff as Any,
206
188
  "appLayerNoteResurface" : self.appLayerNoteResurface as Any,
207
- "firstLayerNoteGlobal" : self.firstLayerNoteGlobal as Any,
208
189
  "firstLayerNoteResurface" : self.firstLayerNoteResurface as Any,
209
190
  ]
210
191
  }
@@ -218,7 +199,6 @@ extension UsercentricsCustomization {
218
199
  "font" : self.font?.toDictionary() as Any,
219
200
  "logoUrl" : self.logoUrl as Any,
220
201
  "borderRadiusLayer" : self.borderRadiusLayer as Any,
221
- "useBackgroundShadow" : self.useBackgroundShadow?.boolValue as Any,
222
202
  "borderRadiusButton" : self.borderRadiusButton as Any,
223
203
  "overlayOpacity" : self.overlayOpacity as Any,
224
204
  ]
@@ -271,13 +251,7 @@ extension CustomizationColor {
271
251
  extension FirstLayer {
272
252
  func toDictionary() -> NSDictionary {
273
253
  return [
274
- "isOverlayEnabled" : isOverlayEnabled?.boolValue as Any,
275
- "isCategoryTogglesEnabled" : isCategoryTogglesEnabled?.boolValue as Any,
276
254
  "hideButtonDeny" : hideButtonDeny?.boolValue as Any,
277
- "hideLanguageSwitch" : hideLanguageSwitch?.boolValue as Any,
278
- "title" : self.title as Any,
279
- "descriptionDefault" : self.descriptionDefault as Any,
280
- "descriptionShort" : self.descriptionShort as Any,
281
255
  ]
282
256
  }
283
257
  }
@@ -290,9 +264,6 @@ extension SecondLayer {
290
264
  // Required
291
265
  "tabsCategoriesLabel" : self.tabsCategoriesLabel,
292
266
  "tabsServicesLabel" : self.tabsServicesLabel,
293
- "isOverlayEnabled" : isOverlayEnabled?.boolValue as Any,
294
- "tabsCategoriesIsEnabled" : tabsCategoriesIsEnabled?.boolValue as Any,
295
- "tabsServicesIsEnabled" : tabsServicesIsEnabled?.boolValue as Any,
296
267
  "hideButtonDeny" : hideButtonDeny?.boolValue as Any,
297
268
  "hideLanguageSwitch" : hideLanguageSwitch?.boolValue as Any
298
269
  ]
@@ -321,32 +292,19 @@ extension UsercentricsService {
321
292
  "legalBasisList" : self.legalBasisList,
322
293
  "retentionPeriodList" : self.retentionPeriodList,
323
294
  "subConsents" : self.subConsents as Any,
324
- "cookieNames" : self.cookieNames as Any,
325
295
  "language" : self.language,
326
- "isLatest" : isLatest?.boolValue as Any,
327
- "isShared" : isShared?.boolValue as Any,
328
- "shareCustomConsent" : self.shareCustomConsent as Any,
329
296
  "linkToDpa" : self.linkToDpa,
330
- "defaultConsentStatus" : defaultConsentStatus?.boolValue as Any,
331
297
  "legalGround" : self.legalGround,
332
298
  "optOutUrl" : self.optOutUrl,
333
299
  "policyOfProcessorUrl" : self.policyOfProcessorUrl,
334
300
  "categorySlug" : self.categorySlug as Any,
335
- "retentionPeriod" : self.retentionPeriod as Any,
336
301
  "retentionPeriodDescription" : self.retentionPeriodDescription,
337
- "iabId" : self.iabId as Any,
338
- "iabv2Id" : self.iabv2Id as Any,
339
302
  "dataProtectionOfficer" : self.dataProtectionOfficer,
340
303
  "privacyPolicyURL" : self.privacyPolicyURL,
341
304
  "cookiePolicyURL" : self.cookiePolicyURL,
342
305
  "locationOfProcessing" : self.locationOfProcessing,
343
306
  "dataCollectedDescription" : self.dataCollectedDescription as Any,
344
- "dataPurposesDescription" : self.dataPurposesDescription as Any,
345
- "dataRecipientsDescription" : self.dataRecipientsDescription as Any,
346
- "legalBasisDescription" : self.legalBasisDescription as Any,
347
- "optOutDescription" : self.optOutDescription as Any,
348
307
  "thirdCountryTransfer" : self.thirdCountryTransfer,
349
- "defaultCategoryLabel" : self.defaultCategoryLabel as Any,
350
308
  "description" : self.description,
351
309
  "cookieMaxAgeSeconds" : self.cookieMaxAgeSeconds as Any,
352
310
  "usesNonCookieAccess" : usesNonCookieAccess?.boolValue as Any,
@@ -16,7 +16,7 @@ export declare enum LegalLinksSettings {
16
16
  firstLayerOnly = "FIRST_LAYER_ONLY",
17
17
  secondLayerOnly = "SECOND_LAYER_ONLY",
18
18
  both = "BOTH",
19
- none = "NONE"
19
+ hidden = "HIDDEN"
20
20
  }
21
21
  export declare class ToggleStyleSettings {
22
22
  activeBackgroundColorHex?: String;
@@ -38,7 +38,8 @@ export declare class GeneralStyleSettings {
38
38
  tabColorHex?: String;
39
39
  bordersColorHex?: String;
40
40
  toggleStyleSettings?: ToggleStyleSettings;
41
- constructor(font?: BannerFont, logo?: BannerLogo, links?: LegalLinksSettings, textColorHex?: String, layerBackgroundColorHex?: String, layerBackgroundSecondaryColorHex?: String, linkColorHex?: String, tabColorHex?: String, bordersColorHex?: String, toggleStyleSettings?: ToggleStyleSettings);
41
+ disableSystemBackButton?: Boolean;
42
+ constructor(font?: BannerFont, logo?: BannerLogo, links?: LegalLinksSettings, textColorHex?: String, layerBackgroundColorHex?: String, layerBackgroundSecondaryColorHex?: String, linkColorHex?: String, tabColorHex?: String, bordersColorHex?: String, toggleStyleSettings?: ToggleStyleSettings, disableSystemBackButton?: Boolean);
42
43
  }
43
44
  export declare class BannerSettings {
44
45
  firstLayerStyleSettings?: FirstLayerStyleSettings;
@@ -17,7 +17,7 @@ export var LegalLinksSettings;
17
17
  LegalLinksSettings["firstLayerOnly"] = "FIRST_LAYER_ONLY";
18
18
  LegalLinksSettings["secondLayerOnly"] = "SECOND_LAYER_ONLY";
19
19
  LegalLinksSettings["both"] = "BOTH";
20
- LegalLinksSettings["none"] = "NONE";
20
+ LegalLinksSettings["hidden"] = "HIDDEN";
21
21
  })(LegalLinksSettings || (LegalLinksSettings = {}));
22
22
  export class ToggleStyleSettings {
23
23
  constructor(activeBackgroundColorHex, inactiveBackgroundColorHex, disabledBackgroundColorHex, activeThumbColorHex, inactiveThumbColorHex, disabledThumbColorHex) {
@@ -30,7 +30,7 @@ export class ToggleStyleSettings {
30
30
  }
31
31
  }
32
32
  export class GeneralStyleSettings {
33
- constructor(font, logo, links, textColorHex, layerBackgroundColorHex, layerBackgroundSecondaryColorHex, linkColorHex, tabColorHex, bordersColorHex, toggleStyleSettings) {
33
+ constructor(font, logo, links, textColorHex, layerBackgroundColorHex, layerBackgroundSecondaryColorHex, linkColorHex, tabColorHex, bordersColorHex, toggleStyleSettings, disableSystemBackButton) {
34
34
  this.font = font;
35
35
  this.logo = logo;
36
36
  this.links = links;
@@ -41,6 +41,7 @@ export class GeneralStyleSettings {
41
41
  this.tabColorHex = tabColorHex;
42
42
  this.bordersColorHex = bordersColorHex;
43
43
  this.toggleStyleSettings = toggleStyleSettings;
44
+ this.disableSystemBackButton = disableSystemBackButton;
44
45
  }
45
46
  }
46
47
  export class BannerSettings {
@@ -1 +1 @@
1
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AC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;IAC3D,CAAC;CACJ;AAED,MAAM,OAAO,cAAc;IAMvB,YAAY,uBAAiD,EAAE,wBAAmD,EAAE,oBAA2C,EAAE,WAAoB;QACjL,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;QACvD,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAC;QACzD,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QACjD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;CACJ"}
@@ -4,17 +4,14 @@ export declare class CCPASettings {
4
4
  firstLayerTitle: string;
5
5
  isActive: boolean;
6
6
  showOnPageLoad: boolean;
7
- reshowCMP: boolean;
8
7
  reshowAfterDays: number;
9
8
  iabAgreementExists: boolean;
10
- firstLayerDescription: string;
11
9
  appFirstLayerDescription: string;
12
10
  firstLayerMobileDescriptionIsActive: boolean;
13
11
  firstLayerMobileDescription: string;
14
- firstLayerHideLanguageSwitch: boolean;
15
12
  secondLayerTitle: string;
16
13
  secondLayerDescription: string;
17
14
  secondLayerHideLanguageSwitch: boolean;
18
15
  btnMoreInfo: string;
19
- constructor(optOutNoticeLabel: string, btnSave: string, firstLayerTitle: string, isActive: boolean, showOnPageLoad: boolean, reshowCMP: boolean, reshowAfterDays: number, iabAgreementExists: boolean, firstLayerDescription: string, appFirstLayerDescription: string, firstLayerMobileDescriptionIsActive: boolean, firstLayerMobileDescription: string, firstLayerHideLanguageSwitch: boolean, secondLayerTitle: string, secondLayerDescription: string, secondLayerHideLanguageSwitch: boolean, btnMoreInfo: string);
16
+ constructor(optOutNoticeLabel: string, btnSave: string, firstLayerTitle: string, isActive: boolean, showOnPageLoad: boolean, reshowAfterDays: number, iabAgreementExists: boolean, appFirstLayerDescription: string, firstLayerMobileDescriptionIsActive: boolean, firstLayerMobileDescription: string, secondLayerTitle: string, secondLayerDescription: string, secondLayerHideLanguageSwitch: boolean, btnMoreInfo: string);
20
17
  }
@@ -1,18 +1,15 @@
1
1
  export class CCPASettings {
2
- constructor(optOutNoticeLabel, btnSave, firstLayerTitle, isActive, showOnPageLoad, reshowCMP, reshowAfterDays, iabAgreementExists, firstLayerDescription, appFirstLayerDescription, firstLayerMobileDescriptionIsActive, firstLayerMobileDescription, firstLayerHideLanguageSwitch, secondLayerTitle, secondLayerDescription, secondLayerHideLanguageSwitch, btnMoreInfo) {
2
+ constructor(optOutNoticeLabel, btnSave, firstLayerTitle, isActive, showOnPageLoad, reshowAfterDays, iabAgreementExists, appFirstLayerDescription, firstLayerMobileDescriptionIsActive, firstLayerMobileDescription, secondLayerTitle, secondLayerDescription, secondLayerHideLanguageSwitch, btnMoreInfo) {
3
3
  this.optOutNoticeLabel = optOutNoticeLabel;
4
4
  this.btnSave = btnSave;
5
5
  this.firstLayerTitle = firstLayerTitle;
6
6
  this.isActive = isActive;
7
7
  this.showOnPageLoad = showOnPageLoad;
8
- this.reshowCMP = reshowCMP;
9
8
  this.reshowAfterDays = reshowAfterDays;
10
9
  this.iabAgreementExists = iabAgreementExists;
11
- this.firstLayerDescription = firstLayerDescription;
12
10
  this.appFirstLayerDescription = appFirstLayerDescription;
13
11
  this.firstLayerMobileDescriptionIsActive = firstLayerMobileDescriptionIsActive;
14
12
  this.firstLayerMobileDescription = firstLayerMobileDescription;
15
- this.firstLayerHideLanguageSwitch = firstLayerHideLanguageSwitch;
16
13
  this.secondLayerTitle = secondLayerTitle;
17
14
  this.secondLayerDescription = secondLayerDescription;
18
15
  this.secondLayerHideLanguageSwitch = secondLayerHideLanguageSwitch;
@@ -1 +1 @@
1
- {"version":3,"file":"CCPASettings.js","sourceRoot":"","sources":["../../src/models/CCPASettings.tsx"],"names":[],"mappings":"AAAA,MAAM,OAAO,YAAY;IAmBvB,YACE,iB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B,wBAAgC,EAChC,mCAA4C,EAC5C,2BAAmC,EACnC,gBAAwB,EACxB,sBAA8B,EAC9B,6BAAsC,EACtC,WAAmB;QAEnB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;QAC5C,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAA;QACxD,IAAI,CAAC,mCAAmC,GAAG,mCAAmC,CAAA;QAC9E,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAA;QAC9D,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,6BAA6B,GAAG,6BAA6B,CAAA;QAClE,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;IAChC,CAAC;CAEF"}
@@ -31,8 +31,6 @@ export declare class TCF2Settings {
31
31
  purposeOneTreatment: boolean;
32
32
  selectedVendorIds: [number];
33
33
  gdprApplies: boolean;
34
- consensuDomain: string;
35
- consensuScriptPath: string;
36
34
  selectedStacks: [number];
37
35
  disabledSpecialFeatures: [number];
38
36
  firstLayerShowDescriptions: boolean;
@@ -40,14 +38,12 @@ export declare class TCF2Settings {
40
38
  resurfacePeriodEnded: boolean;
41
39
  resurfacePurposeChanged: boolean;
42
40
  resurfaceVendorAdded: boolean;
43
- vendorToggleAll: boolean;
44
41
  firstLayerDescription: string;
45
42
  firstLayerAdditionalInfo: string;
46
43
  secondLayerDescription: string;
47
44
  togglesSpecialFeaturesToggleOn: string;
48
45
  togglesSpecialFeaturesToggleOff: string;
49
46
  appLayerNoteResurface: string;
50
- firstLayerNoteGlobal: string;
51
47
  firstLayerNoteResurface: string;
52
- constructor(firstLayerTitle: string, secondLayerTitle: string, tabsPurposeLabel: string, tabsVendorsLabel: string, labelsFeatures: string, labelsIabVendors: string, labelsNonIabPurposes: string, labelsNonIabVendors: string, labelsPurposes: string, vendorFeatures: string, vendorLegitimateInterestPurposes: string, vendorPurpose: string, vendorSpecialFeatures: string, vendorSpecialPurposes: string, togglesConsentToggleLabel: string, togglesLegIntToggleLabel: string, buttonsAcceptAllLabel: string, buttonsDenyAllLabel: string, buttonsSaveLabel: string, linksManageSettingsLabel: string, linksVendorListLinkLabel: string, cmpId: number, cmpVersion: number, firstLayerHideToggles: boolean, secondLayerHideToggles: boolean, hideLegitimateInterestToggles: boolean, secondLayerHideButtonDeny: boolean, publisherCountryCode: string, purposeOneTreatment: boolean, selectedVendorIds: [number], gdprApplies: boolean, consensuDomain: string, consensuScriptPath: string, selectedStacks: [number], disabledSpecialFeatures: [number], firstLayerShowDescriptions: boolean, hideNonIabOnFirstLayer: boolean, resurfacePeriodEnded: boolean, resurfacePurposeChanged: boolean, resurfaceVendorAdded: boolean, vendorToggleAll: boolean, firstLayerDescription: string, firstLayerAdditionalInfo: string, secondLayerDescription: string, togglesSpecialFeaturesToggleOn: string, togglesSpecialFeaturesToggleOff: string, appLayerNoteResurface: string, firstLayerNoteGlobal: string, firstLayerNoteResurface: string, firstLayerHideButtonDeny?: boolean);
48
+ constructor(firstLayerTitle: string, secondLayerTitle: string, tabsPurposeLabel: string, tabsVendorsLabel: string, labelsFeatures: string, labelsIabVendors: string, labelsNonIabPurposes: string, labelsNonIabVendors: string, labelsPurposes: string, vendorFeatures: string, vendorLegitimateInterestPurposes: string, vendorPurpose: string, vendorSpecialFeatures: string, vendorSpecialPurposes: string, togglesConsentToggleLabel: string, togglesLegIntToggleLabel: string, buttonsAcceptAllLabel: string, buttonsDenyAllLabel: string, buttonsSaveLabel: string, linksManageSettingsLabel: string, linksVendorListLinkLabel: string, cmpId: number, cmpVersion: number, firstLayerHideToggles: boolean, secondLayerHideToggles: boolean, hideLegitimateInterestToggles: boolean, secondLayerHideButtonDeny: boolean, publisherCountryCode: string, purposeOneTreatment: boolean, selectedVendorIds: [number], gdprApplies: boolean, selectedStacks: [number], disabledSpecialFeatures: [number], firstLayerShowDescriptions: boolean, hideNonIabOnFirstLayer: boolean, resurfacePeriodEnded: boolean, resurfacePurposeChanged: boolean, resurfaceVendorAdded: boolean, firstLayerDescription: string, firstLayerAdditionalInfo: string, secondLayerDescription: string, togglesSpecialFeaturesToggleOn: string, togglesSpecialFeaturesToggleOff: string, appLayerNoteResurface: string, firstLayerNoteResurface: string, firstLayerHideButtonDeny?: boolean);
53
49
  }
@@ -1,5 +1,5 @@
1
1
  export class TCF2Settings {
2
- constructor(firstLayerTitle, secondLayerTitle, tabsPurposeLabel, tabsVendorsLabel, labelsFeatures, labelsIabVendors, labelsNonIabPurposes, labelsNonIabVendors, labelsPurposes, vendorFeatures, vendorLegitimateInterestPurposes, vendorPurpose, vendorSpecialFeatures, vendorSpecialPurposes, togglesConsentToggleLabel, togglesLegIntToggleLabel, buttonsAcceptAllLabel, buttonsDenyAllLabel, buttonsSaveLabel, linksManageSettingsLabel, linksVendorListLinkLabel, cmpId, cmpVersion, firstLayerHideToggles, secondLayerHideToggles, hideLegitimateInterestToggles, secondLayerHideButtonDeny, publisherCountryCode, purposeOneTreatment, selectedVendorIds, gdprApplies, consensuDomain, consensuScriptPath, selectedStacks, disabledSpecialFeatures, firstLayerShowDescriptions, hideNonIabOnFirstLayer, resurfacePeriodEnded, resurfacePurposeChanged, resurfaceVendorAdded, vendorToggleAll, firstLayerDescription, firstLayerAdditionalInfo, secondLayerDescription, togglesSpecialFeaturesToggleOn, togglesSpecialFeaturesToggleOff, appLayerNoteResurface, firstLayerNoteGlobal, firstLayerNoteResurface, firstLayerHideButtonDeny) {
2
+ constructor(firstLayerTitle, secondLayerTitle, tabsPurposeLabel, tabsVendorsLabel, labelsFeatures, labelsIabVendors, labelsNonIabPurposes, labelsNonIabVendors, labelsPurposes, vendorFeatures, vendorLegitimateInterestPurposes, vendorPurpose, vendorSpecialFeatures, vendorSpecialPurposes, togglesConsentToggleLabel, togglesLegIntToggleLabel, buttonsAcceptAllLabel, buttonsDenyAllLabel, buttonsSaveLabel, linksManageSettingsLabel, linksVendorListLinkLabel, cmpId, cmpVersion, firstLayerHideToggles, secondLayerHideToggles, hideLegitimateInterestToggles, secondLayerHideButtonDeny, publisherCountryCode, purposeOneTreatment, selectedVendorIds, gdprApplies, selectedStacks, disabledSpecialFeatures, firstLayerShowDescriptions, hideNonIabOnFirstLayer, resurfacePeriodEnded, resurfacePurposeChanged, resurfaceVendorAdded, firstLayerDescription, firstLayerAdditionalInfo, secondLayerDescription, togglesSpecialFeaturesToggleOn, togglesSpecialFeaturesToggleOff, appLayerNoteResurface, firstLayerNoteResurface, firstLayerHideButtonDeny) {
3
3
  this.firstLayerTitle = firstLayerTitle;
4
4
  this.secondLayerTitle = secondLayerTitle;
5
5
  this.tabsPurposeLabel = tabsPurposeLabel;
@@ -32,8 +32,6 @@ export class TCF2Settings {
32
32
  this.purposeOneTreatment = purposeOneTreatment;
33
33
  this.selectedVendorIds = selectedVendorIds;
34
34
  this.gdprApplies = gdprApplies;
35
- this.consensuDomain = consensuDomain;
36
- this.consensuScriptPath = consensuScriptPath;
37
35
  this.selectedStacks = selectedStacks;
38
36
  this.disabledSpecialFeatures = disabledSpecialFeatures;
39
37
  this.firstLayerShowDescriptions = firstLayerShowDescriptions;
@@ -41,14 +39,12 @@ export class TCF2Settings {
41
39
  this.resurfacePeriodEnded = resurfacePeriodEnded;
42
40
  this.resurfacePurposeChanged = resurfacePurposeChanged;
43
41
  this.resurfaceVendorAdded = resurfaceVendorAdded;
44
- this.vendorToggleAll = vendorToggleAll;
45
42
  this.firstLayerDescription = firstLayerDescription;
46
43
  this.firstLayerAdditionalInfo = firstLayerAdditionalInfo;
47
44
  this.secondLayerDescription = secondLayerDescription;
48
45
  this.togglesSpecialFeaturesToggleOn = togglesSpecialFeaturesToggleOn;
49
46
  this.togglesSpecialFeaturesToggleOff = togglesSpecialFeaturesToggleOff;
50
47
  this.appLayerNoteResurface = appLayerNoteResurface;
51
- this.firstLayerNoteGlobal = firstLayerNoteGlobal;
52
48
  this.firstLayerNoteResurface = firstLayerNoteResurface;
53
49
  }
54
50
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TCF2Settings.js","sourceRoot":"","sources":["../../src/models/TCF2Settings.tsx"],"names":[],"mappings":"AAAA,MAAM,OAAO,YAAY;IAqDvB,YACE,eAAuB,EACvB,gBAAwB,EACxB,gBAAwB,EACxB,gBAAwB,EACxB,cAAsB,EACtB,gBAAwB,EACxB,oBAA4B,EAC5B,mBAA2B,EAC3B,cAAsB,EACtB,cAAsB,EACtB,gCAAwC,EACxC,aAAqB,EACrB,qBAA6B,EAC7B,qBAA6B,EAC7B,yBAAiC,EACjC,wBAAgC,EAChC,qBAA6B,EAC7B,mBAA2B,EAC3B,gBAAwB,EACxB,wBAAgC,EAChC,wBAAgC,EAChC,KAAa,EACb,UAAkB,EAClB,qBAA8B,EAC9B,sBAA+B,EAC/B,6BAAsC,EACtC,yBAAkC,EAClC,oBAA4B,EAC5B,mBAA4B,EAC5B,iBAA2B,EAC3B,WAAoB,EACpB,cAAsB,EACtB,kBAA0B,EAC1B,cAAwB,EACxB,uBAAiC,EACjC,0BAAmC,EACnC,sBAA+B,EAC/B,oBAA6B,EAC7B,uBAAgC,EAChC,oBAA6B,EAC7B,eAAwB,EACxB,qBAA6B,EAC7B,wBAAgC,EAChC,sBAA8B,EAC9B,8BAAsC,EACtC,+BAAuC,EACvC,qBAA6B,EAC7B,oBAA4B,EAC5B,uBAA+B,EAC/B,wBAAkC;QAElC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,gBAAgB,GAAG,gBAAg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AAI,CAAC,8BAA8B,GAAG,8BAA8B,CAAA;QACpE,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAA;QACtE,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAA;QAClD,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;IACxD,CAAC;CAEF"}
@@ -17,35 +17,23 @@ export declare class UsercentricsService {
17
17
  legalBasisList: [string];
18
18
  retentionPeriodList: [string];
19
19
  subConsents: [string];
20
- cookieNames: [string];
21
20
  language: string;
22
- isLatest?: boolean;
23
- isShared?: boolean;
24
- shareCustomConsent: string;
25
21
  linkToDpa: string;
26
- defaultConsentStatus?: boolean;
27
22
  legalGround: string;
28
23
  optOutUrl: string;
29
24
  policyOfProcessorUrl: string;
30
- retentionPeriod: number;
31
25
  retentionPeriodDescription: string;
32
- iabId: string;
33
- iabv2Id: string;
34
26
  dataProtectionOfficer: string;
35
27
  privacyPolicyURL: string;
36
28
  cookiePolicyURL: string;
37
29
  locationOfProcessing: string;
38
30
  dataCollectedDescription: string;
39
- dataPurposesDescription: string;
40
- legalBasisDescription: string;
41
- optOutDescription: string;
42
31
  thirdCountryTransfer: string;
43
- defaultCategoryLabel: string;
44
32
  description: string;
45
33
  cookieMaxAgeSeconds: number;
46
34
  usesNonCookieAccess?: boolean;
47
35
  deviceStorageDisclosureUrl: string;
48
36
  isDeactivated?: boolean;
49
37
  disableLegalBasis?: boolean;
50
- constructor(templateId: string, version: string, categorySlug: string, type: string, isEssential: boolean, dataProcessor: string, dataPurposes: [string], processingCompany: string, nameOfProcessingCompany: string, addressOfProcessingCompany: string, descriptionOfService: string, languagesAvailable: [string], dataCollectedList: [string], dataPurposesList: [string], dataRecipientsList: [string], legalBasisList: [string], retentionPeriodList: [string], subConsents: [string], cookieNames: [string], language: string, shareCustomConsent: string, linkToDpa: string, legalGround: string, optOutUrl: string, policyOfProcessorUrl: string, retentionPeriod: number, retentionPeriodDescription: string, iabId: string, iabv2Id: string, dataProtectionOfficer: string, privacyPolicyURL: string, cookiePolicyURL: string, locationOfProcessing: string, dataCollectedDescription: string, dataPurposesDescription: string, legalBasisDescription: string, optOutDescription: string, thirdCountryTransfer: string, defaultCategoryLabel: string, description: string, cookieMaxAgeSeconds: number, deviceStorageDisclosureUrl: string, isDeactivated?: boolean, disableLegalBasis?: boolean, isLatest?: boolean, defaultConsentStatus?: boolean, usesNonCookieAccess?: boolean, isShared?: boolean);
38
+ constructor(templateId: string, version: string, categorySlug: string, type: string, isEssential: boolean, dataProcessor: string, dataPurposes: [string], processingCompany: string, nameOfProcessingCompany: string, addressOfProcessingCompany: string, descriptionOfService: string, languagesAvailable: [string], dataCollectedList: [string], dataPurposesList: [string], dataRecipientsList: [string], legalBasisList: [string], retentionPeriodList: [string], subConsents: [string], language: string, linkToDpa: string, legalGround: string, optOutUrl: string, policyOfProcessorUrl: string, retentionPeriod: number, retentionPeriodDescription: string, dataProtectionOfficer: string, privacyPolicyURL: string, cookiePolicyURL: string, locationOfProcessing: string, dataCollectedDescription: string, thirdCountryTransfer: string, description: string, cookieMaxAgeSeconds: number, deviceStorageDisclosureUrl: string, isDeactivated?: boolean, disableLegalBasis?: boolean, usesNonCookieAccess?: boolean);
51
39
  }
@@ -1,5 +1,5 @@
1
1
  export class UsercentricsService {
2
- constructor(templateId, version, categorySlug, type, isEssential, dataProcessor, dataPurposes, processingCompany, nameOfProcessingCompany, addressOfProcessingCompany, descriptionOfService, languagesAvailable, dataCollectedList, dataPurposesList, dataRecipientsList, legalBasisList, retentionPeriodList, subConsents, cookieNames, language, shareCustomConsent, linkToDpa, legalGround, optOutUrl, policyOfProcessorUrl, retentionPeriod, retentionPeriodDescription, iabId, iabv2Id, dataProtectionOfficer, privacyPolicyURL, cookiePolicyURL, locationOfProcessing, dataCollectedDescription, dataPurposesDescription, legalBasisDescription, optOutDescription, thirdCountryTransfer, defaultCategoryLabel, description, cookieMaxAgeSeconds, deviceStorageDisclosureUrl, isDeactivated, disableLegalBasis, isLatest, defaultConsentStatus, usesNonCookieAccess, isShared) {
2
+ constructor(templateId, version, categorySlug, type, isEssential, dataProcessor, dataPurposes, processingCompany, nameOfProcessingCompany, addressOfProcessingCompany, descriptionOfService, languagesAvailable, dataCollectedList, dataPurposesList, dataRecipientsList, legalBasisList, retentionPeriodList, subConsents, language, linkToDpa, legalGround, optOutUrl, policyOfProcessorUrl, retentionPeriod, retentionPeriodDescription, dataProtectionOfficer, privacyPolicyURL, cookiePolicyURL, locationOfProcessing, dataCollectedDescription, thirdCountryTransfer, description, cookieMaxAgeSeconds, deviceStorageDisclosureUrl, isDeactivated, disableLegalBasis, usesNonCookieAccess) {
3
3
  this.templateId = templateId;
4
4
  this.version = version;
5
5
  this.categorySlug = categorySlug;
@@ -17,30 +17,18 @@ export class UsercentricsService {
17
17
  this.legalBasisList = legalBasisList;
18
18
  this.retentionPeriodList = retentionPeriodList;
19
19
  this.subConsents = subConsents;
20
- this.cookieNames = cookieNames;
21
20
  this.language = language;
22
- this.isLatest = isLatest;
23
- this.isShared = isShared;
24
- this.shareCustomConsent = shareCustomConsent;
25
21
  this.linkToDpa = linkToDpa;
26
- this.defaultConsentStatus = defaultConsentStatus;
27
22
  this.legalGround = legalGround;
28
23
  this.optOutUrl = optOutUrl;
29
24
  this.policyOfProcessorUrl = policyOfProcessorUrl;
30
- this.retentionPeriod = retentionPeriod;
31
25
  this.retentionPeriodDescription = retentionPeriodDescription;
32
- this.iabId = iabId;
33
- this.iabv2Id = iabv2Id;
34
26
  this.dataProtectionOfficer = dataProtectionOfficer;
35
27
  this.privacyPolicyURL = privacyPolicyURL;
36
28
  this.cookiePolicyURL = cookiePolicyURL;
37
29
  this.locationOfProcessing = locationOfProcessing;
38
30
  this.dataCollectedDescription = dataCollectedDescription;
39
- this.dataPurposesDescription = dataPurposesDescription;
40
- this.legalBasisDescription = legalBasisDescription;
41
- this.optOutDescription = optOutDescription;
42
31
  this.thirdCountryTransfer = thirdCountryTransfer;
43
- this.defaultCategoryLabel = defaultCategoryLabel;
44
32
  this.description = description;
45
33
  this.cookieMaxAgeSeconds = cookieMaxAgeSeconds;
46
34
  this.usesNonCookieAccess = usesNonCookieAccess;
@@ -1 +1 @@
1
- {"version":3,"file":"UsercentricsService.js","sourceRoot":"","sources":["../../src/models/UsercentricsService.tsx"],"names":[],"mappings":"AAAA,MAAM,OAAO,mBAAmB;IA2D9B,YACE,UAAkB,EAClB,OAAe,EACf,YAAoB,EACpB,IAAY,EACZ,WAAoB,EACpB,aAAqB,EACrB,YAAsB,EACtB,iBAAyB,EACzB,uBAA+B,EAC/B,0BAAkC,EAClC,oBAA4B,EAC5B,kBAA4B,EAC5B,iBAA2B,EAC3B,gBAA0B,EAC1B,kBAA4B,EAC5B,cAAwB,EACxB,mBAA6B,EAC7B,WAAqB,EACrB,WAAqB,EACrB,QAAgB,EAChB,kBAA0B,EAC1B,SAAiB,EACjB,WAAmB,EACnB,SAAiB,EACjB,oBAA4B,EAC5B,eAAuB,EACvB,0BAAkC,EAClC,KAAa,EACb,OAAe,EACf,qBAA6B,EAC7B,gBAAwB,EACxB,eAAuB,EACvB,oBAA4B,EAC5B,wBAAgC,EAChC,uBAA+B,EAC/B,qBAA6B,EAC7B,iBAAyB,EACzB,oBAA4B,EAC5B,oBAA4B,EAC5B,WAAmB,EACnB,mBAA2B,EAC3B,0BAAkC,EAClC,aAAuB,EACvB,iBAA2B,EAC3B,QAAkB,EAClB,oBAA8B,EAC9B,mBAA6B,EAC7B,QAAkB;QAElB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,uBAAuB,G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BAAoB,CAAA;QAChD,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAA;QACxD,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;QACtD,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAA;QAClD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,0BAA0B,GAAG,0BAA0B,CAAA;QAC5D,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;IAChC,CAAC;CACF"}
1
+ {"version":3,"file":"UsercentricsService.js","sourceRoot":"","sources":["../../src/models/UsercentricsService.tsx"],"names":[],"mappings":"AAAA,MAAM,OAAO,mBAAmB;IA+C9B,YACE,UAAkB,EAClB,OAAe,EACf,YAAoB,EACpB,IAAY,EACZ,WAAoB,EACpB,aAAqB,EACrB,YAAsB,EACtB,iBAAyB,EACzB,uBAA+B,EAC/B,0BAAkC,EAClC,oBAA4B,EAC5B,kBAA4B,EAC5B,iBAA2B,EAC3B,gBAA0B,EAC1B,kBAA4B,EAC5B,cAAwB,EACxB,mBAA6B,EAC7B,WAAqB,EACrB,QAAgB,EAChB,SAAiB,EACjB,WAAmB,EACnB,SAAiB,EACjB,oBAA4B,EAC5B,eAAuB,EACvB,0BAAkC,EAClC,qBAA6B,EAC7B,gBAAwB,EACxB,eAAuB,EACvB,oBAA4B,EAC5B,wBAAgC,EAChC,oBAA4B,EAC5B,WAAmB,EACnB,mBAA2B,EAC3B,0BAAkC,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AAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAA;QACxD,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,0BAA0B,GAAG,0BAA0B,CAAA;QAC5D,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;IAChC,CAAC;CACF"}
@@ -4,25 +4,14 @@ import { UsercentricsLabels } from "./UsercentricsLabels";
4
4
  export declare class UsercentricsSettings {
5
5
  labels: UsercentricsLabels;
6
6
  version: string;
7
- urlConsentInfo: string;
8
7
  language: string;
9
- partnerPoweredByUrl: string;
10
- partnerPoweredByLogoUrl: string;
11
8
  imprintUrl: string;
12
9
  privacyPolicyUrl: string;
13
10
  cookiePolicyUrl: string;
14
11
  firstLayerDescriptionHtml: string;
15
12
  firstLayerMobileDescriptionHtml: string;
16
- dataController: string;
17
- createdAt: string;
18
- updatedAt: string;
19
13
  settingsId: string;
20
- isLatest?: boolean;
21
- btnMoreInfoIsVisible: boolean;
22
- btnDenyIsVisible: boolean;
23
- showLanguageDropdown: boolean;
24
14
  bannerMobileDescriptionIsActive: boolean;
25
- iabConsentIsActive: boolean;
26
15
  enablePoweredBy: boolean;
27
16
  displayOnlyForEU: boolean;
28
17
  tcf2Enabled: boolean;
@@ -35,27 +24,17 @@ export declare class UsercentricsSettings {
35
24
  customization?: string;
36
25
  firstLayer?: FirstLayer;
37
26
  secondLayer?: SecondLayer;
38
- moreInfoButtonUrl: string;
39
- constructor(labels: UsercentricsLabels, version: string, urlConsentInfo: string, language: string, partnerPoweredByUrl: string, partnerPoweredByLogoUrl: string, imprintUrl: string, privacyPolicyUrl: string, cookiePolicyUrl: string, firstLayerDescriptionHtml: string, firstLayerMobileDescriptionHtml: string, dataController: string, createdAt: string, updatedAt: string, settingsId: string, btnMoreInfoIsVisible: boolean, btnDenyIsVisible: boolean, showLanguageDropdown: boolean, bannerMobileDescriptionIsActive: boolean, iabConsentIsActive: boolean, enablePoweredBy: boolean, displayOnlyForEU: boolean, tcf2Enabled: boolean, reshowBanner: number, editableLanguages: [string], languagesAvailable: [string], showInitialViewForVersionChange: [string], moreInfoButtonUrl: string, isLatest?: boolean, ccpa?: CCPASettings, tcf2?: TCF2Settings, customization?: string, firstLayer?: FirstLayer, secondLayer?: SecondLayer);
27
+ constructor(labels: UsercentricsLabels, version: string, language: string, imprintUrl: string, privacyPolicyUrl: string, cookiePolicyUrl: string, firstLayerDescriptionHtml: string, firstLayerMobileDescriptionHtml: string, settingsId: string, bannerMobileDescriptionIsActive: boolean, enablePoweredBy: boolean, displayOnlyForEU: boolean, tcf2Enabled: boolean, reshowBanner: number, editableLanguages: [string], languagesAvailable: [string], showInitialViewForVersionChange: [string], ccpa?: CCPASettings, tcf2?: TCF2Settings, customization?: string, firstLayer?: FirstLayer, secondLayer?: SecondLayer);
40
28
  }
41
29
  declare class FirstLayer {
42
- isOverlayEnabled?: boolean;
43
- isCategoryTogglesEnabled?: boolean;
44
30
  hideButtonDeny?: boolean;
45
- hideLanguageSwitch?: boolean;
46
- title: string;
47
- descriptionDefault: string;
48
- descriptionShort: string;
49
- constructor(title: string, descriptionDefault: string, descriptionShort: string, isOverlayEnabled?: boolean, isCategoryTogglesEnabled?: boolean, hideButtonDeny?: boolean, hideLanguageSwitch?: boolean);
31
+ constructor(hideButtonDeny?: boolean);
50
32
  }
51
33
  declare class SecondLayer {
52
34
  tabsCategoriesLabel: string;
53
35
  tabsServicesLabel: string;
54
- isOverlayEnabled?: boolean;
55
- tabsCategoriesIsEnabled?: boolean;
56
- tabsServicesIsEnabled?: boolean;
57
36
  hideButtonDeny?: boolean;
58
37
  hideLanguageSwitch?: boolean;
59
- constructor(tabsCategoriesLabel: string, tabsServicesLabel: string, isOverlayEnabled?: boolean, tabsCategoriesIsEnabled?: boolean, tabsServicesIsEnabled?: boolean, hideButtonDeny?: boolean, hideLanguageSwitch?: boolean);
38
+ constructor(tabsCategoriesLabel: string, tabsServicesLabel: string, hideButtonDeny?: boolean, hideLanguageSwitch?: boolean);
60
39
  }
61
40
  export {};
@@ -1,26 +1,15 @@
1
1
  export class UsercentricsSettings {
2
- constructor(labels, version, urlConsentInfo, language, partnerPoweredByUrl, partnerPoweredByLogoUrl, imprintUrl, privacyPolicyUrl, cookiePolicyUrl, firstLayerDescriptionHtml, firstLayerMobileDescriptionHtml, dataController, createdAt, updatedAt, settingsId, btnMoreInfoIsVisible, btnDenyIsVisible, showLanguageDropdown, bannerMobileDescriptionIsActive, iabConsentIsActive, enablePoweredBy, displayOnlyForEU, tcf2Enabled, reshowBanner, editableLanguages, languagesAvailable, showInitialViewForVersionChange, moreInfoButtonUrl, isLatest, ccpa, tcf2, customization, firstLayer, secondLayer) {
2
+ constructor(labels, version, language, imprintUrl, privacyPolicyUrl, cookiePolicyUrl, firstLayerDescriptionHtml, firstLayerMobileDescriptionHtml, settingsId, bannerMobileDescriptionIsActive, enablePoweredBy, displayOnlyForEU, tcf2Enabled, reshowBanner, editableLanguages, languagesAvailable, showInitialViewForVersionChange, ccpa, tcf2, customization, firstLayer, secondLayer) {
3
3
  this.labels = labels;
4
4
  this.version = version;
5
- this.urlConsentInfo = urlConsentInfo;
6
5
  this.language = language;
7
- this.partnerPoweredByUrl = partnerPoweredByUrl;
8
- this.partnerPoweredByLogoUrl = partnerPoweredByLogoUrl;
9
6
  this.imprintUrl = imprintUrl;
10
7
  this.privacyPolicyUrl = privacyPolicyUrl;
11
8
  this.cookiePolicyUrl = cookiePolicyUrl;
12
9
  this.firstLayerDescriptionHtml = firstLayerDescriptionHtml;
13
10
  this.firstLayerMobileDescriptionHtml = firstLayerMobileDescriptionHtml;
14
- this.dataController = dataController;
15
- this.createdAt = createdAt;
16
- this.updatedAt = updatedAt;
17
11
  this.settingsId = settingsId;
18
- this.isLatest = isLatest;
19
- this.btnMoreInfoIsVisible = btnMoreInfoIsVisible;
20
- this.btnDenyIsVisible = btnDenyIsVisible;
21
- this.showLanguageDropdown = showLanguageDropdown;
22
12
  this.bannerMobileDescriptionIsActive = bannerMobileDescriptionIsActive;
23
- this.iabConsentIsActive = iabConsentIsActive;
24
13
  this.enablePoweredBy = enablePoweredBy;
25
14
  this.displayOnlyForEU = displayOnlyForEU;
26
15
  this.tcf2Enabled = tcf2Enabled;
@@ -33,27 +22,17 @@ export class UsercentricsSettings {
33
22
  this.customization = customization;
34
23
  this.firstLayer = firstLayer;
35
24
  this.secondLayer = secondLayer;
36
- this.moreInfoButtonUrl = moreInfoButtonUrl;
37
25
  }
38
26
  }
39
27
  class FirstLayer {
40
- constructor(title, descriptionDefault, descriptionShort, isOverlayEnabled, isCategoryTogglesEnabled, hideButtonDeny, hideLanguageSwitch) {
41
- this.isOverlayEnabled = isOverlayEnabled;
42
- this.isCategoryTogglesEnabled = isCategoryTogglesEnabled;
28
+ constructor(hideButtonDeny) {
43
29
  this.hideButtonDeny = hideButtonDeny;
44
- this.hideLanguageSwitch = hideLanguageSwitch;
45
- this.title = title;
46
- this.descriptionDefault = descriptionDefault;
47
- this.descriptionShort = descriptionShort;
48
30
  }
49
31
  }
50
32
  class SecondLayer {
51
- constructor(tabsCategoriesLabel, tabsServicesLabel, isOverlayEnabled, tabsCategoriesIsEnabled, tabsServicesIsEnabled, hideButtonDeny, hideLanguageSwitch) {
33
+ constructor(tabsCategoriesLabel, tabsServicesLabel, hideButtonDeny, hideLanguageSwitch) {
52
34
  this.tabsCategoriesLabel = tabsCategoriesLabel;
53
35
  this.tabsServicesLabel = tabsServicesLabel;
54
- this.isOverlayEnabled = isOverlayEnabled;
55
- this.tabsCategoriesIsEnabled = tabsCategoriesIsEnabled;
56
- this.tabsServicesIsEnabled = tabsServicesIsEnabled;
57
36
  this.hideButtonDeny = hideButtonDeny;
58
37
  this.hideLanguageSwitch = hideLanguageSwitch;
59
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UsercentricsSettings.js","sourceRoot":"","sources":["../../src/models/UsercentricsSettings.tsx"],"names":[],"mappings":"AAIA,MAAM,OAAO,oBAAoB;IAqC/B,YACE,MAA0B,EAC1B,OAAe,EACf,cAAsB,EACtB,QAAgB,EAChB,mBAA2B,EAC3B,uBAA+B,EAC/B,UAAkB,EAClB,gBAAwB,EACxB,eAAuB,EACvB,yBAAiC,EACjC,+BAAuC,EACvC,cAAsB,EACtB,SAAiB,EACjB,SAAiB,EACjB,UAAkB,EAClB,oBAA6B,EAC7B,gBAAyB,EACzB,oBAA6B,EAC7B,+BAAwC,EACxC,kBAA2B,EAC3B,eAAwB,EACxB,gBAAyB,EACzB,WAAoB,EACpB,YAAoB,EACpB,iBAA2B,EAC3B,kBAA4B,EAC5B,+BAAyC,EACzC,iBAAyB,EACzB,QAAkB,EAClB,IAAmB,EACnB,IAAmB,EACnB,aAAsB,EACtB,UAAuB,EACvB,WAAyB;QAEzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;QACtD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAA;QAC1D,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAA;QACtE,IAAI,CAAC,c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BAAwB,CAAA;QACxD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;QAC5C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;QAC5C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;IAC1C,CAAC;CACF;AAED,MAAM,WAAW;IASf,YACE,mBAA2B,EAC3B,iBAAyB,EACzB,gBAA0B,EAC1B,uBAAiC,EACjC,qBAA+B,EAC/B,cAAwB,EACxB,kBAA4B;QAE5B,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;QACtD,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAA;QAClD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;IAC9C,CAAC;CAEF"}
1
+ {"version":3,"file":"UsercentricsSettings.js","sourceRoot":"","sources":["../../src/models/UsercentricsSettings.tsx"],"names":[],"mappings":"AAIA,MAAM,OAAO,oBAAoB;IAyB/B,YACE,MAA0B,EAC1B,OAAe,EACf,QAAgB,EAChB,UAAkB,EAClB,gBAAwB,EACxB,eAAuB,EACvB,yBAAiC,EACjC,+BAAuC,EACvC,UAAkB,EAClB,+BAAwC,EACxC,eAAwB,EACxB,gBAAyB,EACzB,WAAoB,EACpB,YAAoB,EACpB,iBAA2B,EAC3B,kBAA4B,EAC5B,+BAAyC,EACzC,IAAmB,EACnB,IAAmB,EACnB,aAAsB,EACtB,UAAuB,EACvB,WAAyB;QAEzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,OAAO,GAAG,OAAO,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C,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;IAC9C,CAAC;CAEF"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@usercentrics/react-native-sdk",
3
- "version": "2.7.8",
3
+ "version": "2.7.10",
4
4
  "description": "Usercentrics SDK",
5
5
  "homepage": "https://usercentrics.com",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "author": "Usercentrics <developer@usercentrics.com>",
9
9
  "iosPackageName": "react-native-usercentrics",
10
- "iosPackageVersion": "2.7.8",
10
+ "iosPackageVersion": "2.7.10",
11
11
  "license": "SEE LICENSE IN LICENSE",
12
12
  "files": [
13
13
  "android",
@@ -77,5 +77,8 @@
77
77
  },
78
78
  "bugs": {
79
79
  "url": "https://github.com/Usercentrics/react-native-sdk/issues"
80
+ },
81
+ "dependencies": {
82
+ "@usercentrics/react-native-sdk": "^2.7.8"
80
83
  }
81
84
  }