securiti-consent-sdk 1.136.0-2rc → 1.136.0-3rc

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.
@@ -29,6 +29,7 @@ namespace margelo::nitro::securiticonsentsdk {
29
29
  // C++ constructor (called from Java via `initHybrid()`)
30
30
  explicit JHybridConsentSDKSpec(jni::alias_ref<jhybridobject> jThis) :
31
31
  HybridObject(HybridConsentSDKSpec::TAG),
32
+ HybridBase(jThis),
32
33
  _javaPart(jni::make_global(jThis)) {}
33
34
 
34
35
  public:
@@ -21,14 +21,32 @@ data class AppPermission
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val id: Double?,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val name: String?,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val permissionId: String?,
33
+ @DoNotStrip
34
+ @Keep
27
35
  val description: String?,
36
+ @DoNotStrip
37
+ @Keep
28
38
  val group: String?,
39
+ @DoNotStrip
40
+ @Keep
29
41
  val groupId: Double?,
42
+ @DoNotStrip
43
+ @Keep
30
44
  val consentStatus: String?,
45
+ @DoNotStrip
46
+ @Keep
31
47
  val nameMap: String?,
48
+ @DoNotStrip
49
+ @Keep
32
50
  val isSettingsPromptEnabled: Boolean?
33
51
  ) {
34
52
  /* main constructor */
@@ -21,37 +21,101 @@ data class BannerConfig
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val hideCloseButton: Boolean?,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val hideAcceptButton: Boolean?,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val embedDSRPortalLink: Boolean?,
33
+ @DoNotStrip
34
+ @Keep
27
35
  val recordConsentUponAppStart: Boolean?,
36
+ @DoNotStrip
37
+ @Keep
28
38
  val hideToggleForEssentialCategories: Boolean?,
39
+ @DoNotStrip
40
+ @Keep
29
41
  val name: String?,
42
+ @DoNotStrip
43
+ @Keep
30
44
  val dsrPortalLink: String?,
45
+ @DoNotStrip
46
+ @Keep
31
47
  val complianceType: String?,
48
+ @DoNotStrip
49
+ @Keep
32
50
  val bannerReappearanceTime: String?,
51
+ @DoNotStrip
52
+ @Keep
33
53
  val privacyNoticeLink: String?,
54
+ @DoNotStrip
55
+ @Keep
34
56
  val accept: String?,
57
+ @DoNotStrip
58
+ @Keep
35
59
  val reject: String?,
60
+ @DoNotStrip
61
+ @Keep
36
62
  val bannerText: String?,
63
+ @DoNotStrip
64
+ @Keep
37
65
  val bannerHeading: String?,
66
+ @DoNotStrip
67
+ @Keep
38
68
  val sdkTabHeading: String?,
69
+ @DoNotStrip
70
+ @Keep
39
71
  val privacyNoticeText: String?,
72
+ @DoNotStrip
73
+ @Keep
40
74
  val preferenceCenterLink: String?,
75
+ @DoNotStrip
76
+ @Keep
41
77
  val permissionsTabHeading: String?,
78
+ @DoNotStrip
79
+ @Keep
42
80
  val permissionsTabGuidance: String?,
81
+ @DoNotStrip
82
+ @Keep
43
83
  val preferenceCenterHeading: String?,
84
+ @DoNotStrip
85
+ @Keep
44
86
  val preferenceCenterGuidance: String?,
87
+ @DoNotStrip
88
+ @Keep
45
89
  val permissionsTabDescription: String?,
90
+ @DoNotStrip
91
+ @Keep
46
92
  val preferenceCenterDescription: String?,
93
+ @DoNotStrip
94
+ @Keep
47
95
  val showPoweredBySecuritiLogo: Boolean?,
96
+ @DoNotStrip
97
+ @Keep
48
98
  val showDescriptionTextWithPrefCenterToggle: Boolean?,
99
+ @DoNotStrip
100
+ @Keep
49
101
  val paletteTheme: Double?,
102
+ @DoNotStrip
103
+ @Keep
50
104
  val bannerPosition: String?,
105
+ @DoNotStrip
106
+ @Keep
51
107
  val buttonShape: String?,
108
+ @DoNotStrip
109
+ @Keep
52
110
  val companyLogo: String?,
111
+ @DoNotStrip
112
+ @Keep
53
113
  val customPaletteTheme: CustomColors?,
114
+ @DoNotStrip
115
+ @Keep
54
116
  val shouldShowSettingsPrompt: Boolean?,
117
+ @DoNotStrip
118
+ @Keep
55
119
  val translations: Map<String, String>?
56
120
  ) {
57
121
  /* main constructor */
@@ -21,16 +21,38 @@ data class CmpSDKOptions
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val appURL: String,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val cdnURL: String,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val tenantID: String,
33
+ @DoNotStrip
34
+ @Keep
27
35
  val appID: String,
36
+ @DoNotStrip
37
+ @Keep
28
38
  val testingMode: Boolean,
39
+ @DoNotStrip
40
+ @Keep
29
41
  val loggerLevel: String,
42
+ @DoNotStrip
43
+ @Keep
30
44
  val consentsCheckInterval: Double,
45
+ @DoNotStrip
46
+ @Keep
31
47
  val subjectId: String?,
48
+ @DoNotStrip
49
+ @Keep
32
50
  val languageCode: String?,
51
+ @DoNotStrip
52
+ @Keep
33
53
  val locationCode: String?,
54
+ @DoNotStrip
55
+ @Keep
34
56
  val mode: String?
35
57
  ) {
36
58
  /* main constructor */
@@ -21,13 +21,29 @@ data class CustomColors
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val buttonBackground: String?,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val buttonText: String?,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val buttonBorder: String?,
33
+ @DoNotStrip
34
+ @Keep
27
35
  val bannerBackground: String?,
36
+ @DoNotStrip
37
+ @Keep
28
38
  val bannerText: String?,
39
+ @DoNotStrip
40
+ @Keep
29
41
  val bannerLinks: String?,
42
+ @DoNotStrip
43
+ @Keep
30
44
  val preferenceCenterFooterBackground: String?,
45
+ @DoNotStrip
46
+ @Keep
31
47
  val preferenceCenterFooterSelector: String?
32
48
  ) {
33
49
  /* main constructor */
@@ -21,8 +21,14 @@ data class PermissionConsent
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val permission: String,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val consentStatus: String,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val timestamp: Double
27
33
  ) {
28
34
  /* main constructor */
@@ -21,17 +21,41 @@ data class PostConsentsRequest
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val uuid: String,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val appUUID: String,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val device: String,
33
+ @DoNotStrip
34
+ @Keep
27
35
  val implicitConsent: Boolean,
36
+ @DoNotStrip
37
+ @Keep
28
38
  val version: Double,
39
+ @DoNotStrip
40
+ @Keep
29
41
  val purposeConsents: Array<PurposeConsent>,
42
+ @DoNotStrip
43
+ @Keep
30
44
  val permissions: Array<PermissionConsent>,
45
+ @DoNotStrip
46
+ @Keep
31
47
  val isTestMode: Boolean,
48
+ @DoNotStrip
49
+ @Keep
32
50
  val adId: String,
51
+ @DoNotStrip
52
+ @Keep
33
53
  val bannerInfo: String,
54
+ @DoNotStrip
55
+ @Keep
34
56
  val sdkVersion: String?,
57
+ @DoNotStrip
58
+ @Keep
35
59
  val platform: String?
36
60
  ) {
37
61
  /* main constructor */
@@ -21,17 +21,41 @@ data class Purpose
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val purposeId: Double?,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val purposeName: String?,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val purposeDescription: String?,
33
+ @DoNotStrip
34
+ @Keep
27
35
  val sdks: Array<SDK>?,
36
+ @DoNotStrip
37
+ @Keep
28
38
  val consentStatus: String?,
39
+ @DoNotStrip
40
+ @Keep
29
41
  val disableOptOut: Boolean?,
42
+ @DoNotStrip
43
+ @Keep
30
44
  val optOutText: String?,
45
+ @DoNotStrip
46
+ @Keep
31
47
  val hideDetails: Boolean?,
48
+ @DoNotStrip
49
+ @Keep
32
50
  val isGADMapped: Boolean?,
51
+ @DoNotStrip
52
+ @Keep
33
53
  val gadDescription: String?,
54
+ @DoNotStrip
55
+ @Keep
34
56
  val isATTMapped: Boolean?,
57
+ @DoNotStrip
58
+ @Keep
35
59
  val attDescription: String?
36
60
  ) {
37
61
  /* main constructor */
@@ -21,9 +21,17 @@ data class PurposeConsent
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val purposeID: Double,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val consentStatus: String,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val timestamp: Double,
33
+ @DoNotStrip
34
+ @Keep
27
35
  val isEssential: Boolean
28
36
  ) {
29
37
  /* main constructor */
@@ -21,14 +21,32 @@ data class SDK
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val sdkId: Double?,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val namespaceId: String?,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val sdkName: String?,
33
+ @DoNotStrip
34
+ @Keep
27
35
  val sdkDescription: String?,
36
+ @DoNotStrip
37
+ @Keep
28
38
  val vendor: String?,
39
+ @DoNotStrip
40
+ @Keep
29
41
  val logoBase64: String?,
42
+ @DoNotStrip
43
+ @Keep
30
44
  val website: String?,
45
+ @DoNotStrip
46
+ @Keep
31
47
  val matchedBy: Array<String>?,
48
+ @DoNotStrip
49
+ @Keep
32
50
  val collectingData: Boolean?
33
51
  ) {
34
52
  /* main constructor */
@@ -21,10 +21,20 @@ data class SettingsPrompt
21
21
  @DoNotStrip
22
22
  @Keep
23
23
  constructor(
24
+ @DoNotStrip
25
+ @Keep
24
26
  val promptHeading: String?,
27
+ @DoNotStrip
28
+ @Keep
25
29
  val promptMessage: String?,
30
+ @DoNotStrip
31
+ @Keep
26
32
  val settingsButtonText: String?,
33
+ @DoNotStrip
34
+ @Keep
27
35
  val notNowButtonText: String?,
36
+ @DoNotStrip
37
+ @Keep
28
38
  val permissions: Array<String>?
29
39
  ) {
30
40
  /* main constructor */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "securiti-consent-sdk",
3
- "version": "1.136.0-2rc",
3
+ "version": "1.136.0-3rc",
4
4
  "description": "A React Native Library for managing user consent preferences and compliance with privacy regulations. Integrates with Securiti's Consent Management Platform.",
5
5
  "main": "lib/index",
6
6
  "module": "lib/index",