securiti-consent-sdk 1.136.0-7rc → 1.136.0-8rc
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/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.cpp +10 -10
- package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.hpp +142 -82
- package/nitrogen/generated/ios/swift/AppPermission.swift +12 -6
- package/nitrogen/generated/ios/swift/BannerConfig.swift +46 -23
- package/nitrogen/generated/ios/swift/CmpSDKOptions.swift +8 -4
- package/nitrogen/generated/ios/swift/CustomColors.swift +16 -8
- package/nitrogen/generated/ios/swift/Func_void_std__optional_BannerConfig_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_SettingsPrompt_.swift +2 -1
- package/nitrogen/generated/ios/swift/PostConsentsRequest.swift +4 -2
- package/nitrogen/generated/ios/swift/Purpose.swift +14 -7
- package/nitrogen/generated/ios/swift/SDK.swift +14 -7
- package/nitrogen/generated/ios/swift/SettingsPrompt.swift +10 -5
- package/package.json +1 -1
|
@@ -97,7 +97,8 @@ public extension AppPermission {
|
|
|
97
97
|
@inline(__always)
|
|
98
98
|
get {
|
|
99
99
|
return { () -> String? in
|
|
100
|
-
if
|
|
100
|
+
if bridge.has_value_std__optional_std__string_(self.__name) {
|
|
101
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__name)
|
|
101
102
|
return String(__unwrapped)
|
|
102
103
|
} else {
|
|
103
104
|
return nil
|
|
@@ -120,7 +121,8 @@ public extension AppPermission {
|
|
|
120
121
|
@inline(__always)
|
|
121
122
|
get {
|
|
122
123
|
return { () -> String? in
|
|
123
|
-
if
|
|
124
|
+
if bridge.has_value_std__optional_std__string_(self.__permissionId) {
|
|
125
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__permissionId)
|
|
124
126
|
return String(__unwrapped)
|
|
125
127
|
} else {
|
|
126
128
|
return nil
|
|
@@ -143,7 +145,8 @@ public extension AppPermission {
|
|
|
143
145
|
@inline(__always)
|
|
144
146
|
get {
|
|
145
147
|
return { () -> String? in
|
|
146
|
-
if
|
|
148
|
+
if bridge.has_value_std__optional_std__string_(self.__description) {
|
|
149
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__description)
|
|
147
150
|
return String(__unwrapped)
|
|
148
151
|
} else {
|
|
149
152
|
return nil
|
|
@@ -166,7 +169,8 @@ public extension AppPermission {
|
|
|
166
169
|
@inline(__always)
|
|
167
170
|
get {
|
|
168
171
|
return { () -> String? in
|
|
169
|
-
if
|
|
172
|
+
if bridge.has_value_std__optional_std__string_(self.__group) {
|
|
173
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__group)
|
|
170
174
|
return String(__unwrapped)
|
|
171
175
|
} else {
|
|
172
176
|
return nil
|
|
@@ -206,7 +210,8 @@ public extension AppPermission {
|
|
|
206
210
|
@inline(__always)
|
|
207
211
|
get {
|
|
208
212
|
return { () -> String? in
|
|
209
|
-
if
|
|
213
|
+
if bridge.has_value_std__optional_std__string_(self.__consentStatus) {
|
|
214
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__consentStatus)
|
|
210
215
|
return String(__unwrapped)
|
|
211
216
|
} else {
|
|
212
217
|
return nil
|
|
@@ -229,7 +234,8 @@ public extension AppPermission {
|
|
|
229
234
|
@inline(__always)
|
|
230
235
|
get {
|
|
231
236
|
return { () -> String? in
|
|
232
|
-
if
|
|
237
|
+
if bridge.has_value_std__optional_std__string_(self.__nameMap) {
|
|
238
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__nameMap)
|
|
233
239
|
return String(__unwrapped)
|
|
234
240
|
} else {
|
|
235
241
|
return nil
|
|
@@ -309,7 +309,8 @@ public extension BannerConfig {
|
|
|
309
309
|
@inline(__always)
|
|
310
310
|
get {
|
|
311
311
|
return { () -> String? in
|
|
312
|
-
if
|
|
312
|
+
if bridge.has_value_std__optional_std__string_(self.__name) {
|
|
313
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__name)
|
|
313
314
|
return String(__unwrapped)
|
|
314
315
|
} else {
|
|
315
316
|
return nil
|
|
@@ -332,7 +333,8 @@ public extension BannerConfig {
|
|
|
332
333
|
@inline(__always)
|
|
333
334
|
get {
|
|
334
335
|
return { () -> String? in
|
|
335
|
-
if
|
|
336
|
+
if bridge.has_value_std__optional_std__string_(self.__dsrPortalLink) {
|
|
337
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__dsrPortalLink)
|
|
336
338
|
return String(__unwrapped)
|
|
337
339
|
} else {
|
|
338
340
|
return nil
|
|
@@ -355,7 +357,8 @@ public extension BannerConfig {
|
|
|
355
357
|
@inline(__always)
|
|
356
358
|
get {
|
|
357
359
|
return { () -> String? in
|
|
358
|
-
if
|
|
360
|
+
if bridge.has_value_std__optional_std__string_(self.__complianceType) {
|
|
361
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__complianceType)
|
|
359
362
|
return String(__unwrapped)
|
|
360
363
|
} else {
|
|
361
364
|
return nil
|
|
@@ -378,7 +381,8 @@ public extension BannerConfig {
|
|
|
378
381
|
@inline(__always)
|
|
379
382
|
get {
|
|
380
383
|
return { () -> String? in
|
|
381
|
-
if
|
|
384
|
+
if bridge.has_value_std__optional_std__string_(self.__bannerReappearanceTime) {
|
|
385
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__bannerReappearanceTime)
|
|
382
386
|
return String(__unwrapped)
|
|
383
387
|
} else {
|
|
384
388
|
return nil
|
|
@@ -401,7 +405,8 @@ public extension BannerConfig {
|
|
|
401
405
|
@inline(__always)
|
|
402
406
|
get {
|
|
403
407
|
return { () -> String? in
|
|
404
|
-
if
|
|
408
|
+
if bridge.has_value_std__optional_std__string_(self.__privacyNoticeLink) {
|
|
409
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__privacyNoticeLink)
|
|
405
410
|
return String(__unwrapped)
|
|
406
411
|
} else {
|
|
407
412
|
return nil
|
|
@@ -424,7 +429,8 @@ public extension BannerConfig {
|
|
|
424
429
|
@inline(__always)
|
|
425
430
|
get {
|
|
426
431
|
return { () -> String? in
|
|
427
|
-
if
|
|
432
|
+
if bridge.has_value_std__optional_std__string_(self.__accept) {
|
|
433
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__accept)
|
|
428
434
|
return String(__unwrapped)
|
|
429
435
|
} else {
|
|
430
436
|
return nil
|
|
@@ -447,7 +453,8 @@ public extension BannerConfig {
|
|
|
447
453
|
@inline(__always)
|
|
448
454
|
get {
|
|
449
455
|
return { () -> String? in
|
|
450
|
-
if
|
|
456
|
+
if bridge.has_value_std__optional_std__string_(self.__reject) {
|
|
457
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__reject)
|
|
451
458
|
return String(__unwrapped)
|
|
452
459
|
} else {
|
|
453
460
|
return nil
|
|
@@ -470,7 +477,8 @@ public extension BannerConfig {
|
|
|
470
477
|
@inline(__always)
|
|
471
478
|
get {
|
|
472
479
|
return { () -> String? in
|
|
473
|
-
if
|
|
480
|
+
if bridge.has_value_std__optional_std__string_(self.__bannerText) {
|
|
481
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__bannerText)
|
|
474
482
|
return String(__unwrapped)
|
|
475
483
|
} else {
|
|
476
484
|
return nil
|
|
@@ -493,7 +501,8 @@ public extension BannerConfig {
|
|
|
493
501
|
@inline(__always)
|
|
494
502
|
get {
|
|
495
503
|
return { () -> String? in
|
|
496
|
-
if
|
|
504
|
+
if bridge.has_value_std__optional_std__string_(self.__bannerHeading) {
|
|
505
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__bannerHeading)
|
|
497
506
|
return String(__unwrapped)
|
|
498
507
|
} else {
|
|
499
508
|
return nil
|
|
@@ -516,7 +525,8 @@ public extension BannerConfig {
|
|
|
516
525
|
@inline(__always)
|
|
517
526
|
get {
|
|
518
527
|
return { () -> String? in
|
|
519
|
-
if
|
|
528
|
+
if bridge.has_value_std__optional_std__string_(self.__sdkTabHeading) {
|
|
529
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__sdkTabHeading)
|
|
520
530
|
return String(__unwrapped)
|
|
521
531
|
} else {
|
|
522
532
|
return nil
|
|
@@ -539,7 +549,8 @@ public extension BannerConfig {
|
|
|
539
549
|
@inline(__always)
|
|
540
550
|
get {
|
|
541
551
|
return { () -> String? in
|
|
542
|
-
if
|
|
552
|
+
if bridge.has_value_std__optional_std__string_(self.__privacyNoticeText) {
|
|
553
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__privacyNoticeText)
|
|
543
554
|
return String(__unwrapped)
|
|
544
555
|
} else {
|
|
545
556
|
return nil
|
|
@@ -562,7 +573,8 @@ public extension BannerConfig {
|
|
|
562
573
|
@inline(__always)
|
|
563
574
|
get {
|
|
564
575
|
return { () -> String? in
|
|
565
|
-
if
|
|
576
|
+
if bridge.has_value_std__optional_std__string_(self.__preferenceCenterLink) {
|
|
577
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__preferenceCenterLink)
|
|
566
578
|
return String(__unwrapped)
|
|
567
579
|
} else {
|
|
568
580
|
return nil
|
|
@@ -585,7 +597,8 @@ public extension BannerConfig {
|
|
|
585
597
|
@inline(__always)
|
|
586
598
|
get {
|
|
587
599
|
return { () -> String? in
|
|
588
|
-
if
|
|
600
|
+
if bridge.has_value_std__optional_std__string_(self.__permissionsTabHeading) {
|
|
601
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__permissionsTabHeading)
|
|
589
602
|
return String(__unwrapped)
|
|
590
603
|
} else {
|
|
591
604
|
return nil
|
|
@@ -608,7 +621,8 @@ public extension BannerConfig {
|
|
|
608
621
|
@inline(__always)
|
|
609
622
|
get {
|
|
610
623
|
return { () -> String? in
|
|
611
|
-
if
|
|
624
|
+
if bridge.has_value_std__optional_std__string_(self.__permissionsTabGuidance) {
|
|
625
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__permissionsTabGuidance)
|
|
612
626
|
return String(__unwrapped)
|
|
613
627
|
} else {
|
|
614
628
|
return nil
|
|
@@ -631,7 +645,8 @@ public extension BannerConfig {
|
|
|
631
645
|
@inline(__always)
|
|
632
646
|
get {
|
|
633
647
|
return { () -> String? in
|
|
634
|
-
if
|
|
648
|
+
if bridge.has_value_std__optional_std__string_(self.__preferenceCenterHeading) {
|
|
649
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__preferenceCenterHeading)
|
|
635
650
|
return String(__unwrapped)
|
|
636
651
|
} else {
|
|
637
652
|
return nil
|
|
@@ -654,7 +669,8 @@ public extension BannerConfig {
|
|
|
654
669
|
@inline(__always)
|
|
655
670
|
get {
|
|
656
671
|
return { () -> String? in
|
|
657
|
-
if
|
|
672
|
+
if bridge.has_value_std__optional_std__string_(self.__preferenceCenterGuidance) {
|
|
673
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__preferenceCenterGuidance)
|
|
658
674
|
return String(__unwrapped)
|
|
659
675
|
} else {
|
|
660
676
|
return nil
|
|
@@ -677,7 +693,8 @@ public extension BannerConfig {
|
|
|
677
693
|
@inline(__always)
|
|
678
694
|
get {
|
|
679
695
|
return { () -> String? in
|
|
680
|
-
if
|
|
696
|
+
if bridge.has_value_std__optional_std__string_(self.__permissionsTabDescription) {
|
|
697
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__permissionsTabDescription)
|
|
681
698
|
return String(__unwrapped)
|
|
682
699
|
} else {
|
|
683
700
|
return nil
|
|
@@ -700,7 +717,8 @@ public extension BannerConfig {
|
|
|
700
717
|
@inline(__always)
|
|
701
718
|
get {
|
|
702
719
|
return { () -> String? in
|
|
703
|
-
if
|
|
720
|
+
if bridge.has_value_std__optional_std__string_(self.__preferenceCenterDescription) {
|
|
721
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__preferenceCenterDescription)
|
|
704
722
|
return String(__unwrapped)
|
|
705
723
|
} else {
|
|
706
724
|
return nil
|
|
@@ -774,7 +792,8 @@ public extension BannerConfig {
|
|
|
774
792
|
@inline(__always)
|
|
775
793
|
get {
|
|
776
794
|
return { () -> String? in
|
|
777
|
-
if
|
|
795
|
+
if bridge.has_value_std__optional_std__string_(self.__bannerPosition) {
|
|
796
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__bannerPosition)
|
|
778
797
|
return String(__unwrapped)
|
|
779
798
|
} else {
|
|
780
799
|
return nil
|
|
@@ -797,7 +816,8 @@ public extension BannerConfig {
|
|
|
797
816
|
@inline(__always)
|
|
798
817
|
get {
|
|
799
818
|
return { () -> String? in
|
|
800
|
-
if
|
|
819
|
+
if bridge.has_value_std__optional_std__string_(self.__buttonShape) {
|
|
820
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__buttonShape)
|
|
801
821
|
return String(__unwrapped)
|
|
802
822
|
} else {
|
|
803
823
|
return nil
|
|
@@ -820,7 +840,8 @@ public extension BannerConfig {
|
|
|
820
840
|
@inline(__always)
|
|
821
841
|
get {
|
|
822
842
|
return { () -> String? in
|
|
823
|
-
if
|
|
843
|
+
if bridge.has_value_std__optional_std__string_(self.__companyLogo) {
|
|
844
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__companyLogo)
|
|
824
845
|
return String(__unwrapped)
|
|
825
846
|
} else {
|
|
826
847
|
return nil
|
|
@@ -843,7 +864,8 @@ public extension BannerConfig {
|
|
|
843
864
|
@inline(__always)
|
|
844
865
|
get {
|
|
845
866
|
return { () -> CustomColors? in
|
|
846
|
-
if
|
|
867
|
+
if bridge.has_value_std__optional_CustomColors_(self.__customPaletteTheme) {
|
|
868
|
+
let __unwrapped = bridge.get_std__optional_CustomColors_(self.__customPaletteTheme)
|
|
847
869
|
return __unwrapped
|
|
848
870
|
} else {
|
|
849
871
|
return nil
|
|
@@ -883,7 +905,8 @@ public extension BannerConfig {
|
|
|
883
905
|
@inline(__always)
|
|
884
906
|
get {
|
|
885
907
|
return { () -> Dictionary<String, String>? in
|
|
886
|
-
if
|
|
908
|
+
if bridge.has_value_std__optional_std__unordered_map_std__string__std__string__(self.__translations) {
|
|
909
|
+
let __unwrapped = bridge.get_std__optional_std__unordered_map_std__string__std__string__(self.__translations)
|
|
887
910
|
return { () -> Dictionary<String, String> in
|
|
888
911
|
var __dictionary = Dictionary<String, String>(minimumCapacity: __unwrapped.size())
|
|
889
912
|
let __keys = bridge.get_std__unordered_map_std__string__std__string__keys(__unwrapped)
|
|
@@ -127,7 +127,8 @@ public extension CmpSDKOptions {
|
|
|
127
127
|
@inline(__always)
|
|
128
128
|
get {
|
|
129
129
|
return { () -> String? in
|
|
130
|
-
if
|
|
130
|
+
if bridge.has_value_std__optional_std__string_(self.__subjectId) {
|
|
131
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__subjectId)
|
|
131
132
|
return String(__unwrapped)
|
|
132
133
|
} else {
|
|
133
134
|
return nil
|
|
@@ -150,7 +151,8 @@ public extension CmpSDKOptions {
|
|
|
150
151
|
@inline(__always)
|
|
151
152
|
get {
|
|
152
153
|
return { () -> String? in
|
|
153
|
-
if
|
|
154
|
+
if bridge.has_value_std__optional_std__string_(self.__languageCode) {
|
|
155
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__languageCode)
|
|
154
156
|
return String(__unwrapped)
|
|
155
157
|
} else {
|
|
156
158
|
return nil
|
|
@@ -173,7 +175,8 @@ public extension CmpSDKOptions {
|
|
|
173
175
|
@inline(__always)
|
|
174
176
|
get {
|
|
175
177
|
return { () -> String? in
|
|
176
|
-
if
|
|
178
|
+
if bridge.has_value_std__optional_std__string_(self.__locationCode) {
|
|
179
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__locationCode)
|
|
177
180
|
return String(__unwrapped)
|
|
178
181
|
} else {
|
|
179
182
|
return nil
|
|
@@ -196,7 +199,8 @@ public extension CmpSDKOptions {
|
|
|
196
199
|
@inline(__always)
|
|
197
200
|
get {
|
|
198
201
|
return { () -> String? in
|
|
199
|
-
if
|
|
202
|
+
if bridge.has_value_std__optional_std__string_(self.__mode) {
|
|
203
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__mode)
|
|
200
204
|
return String(__unwrapped)
|
|
201
205
|
} else {
|
|
202
206
|
return nil
|
|
@@ -74,7 +74,8 @@ public extension CustomColors {
|
|
|
74
74
|
@inline(__always)
|
|
75
75
|
get {
|
|
76
76
|
return { () -> String? in
|
|
77
|
-
if
|
|
77
|
+
if bridge.has_value_std__optional_std__string_(self.__buttonBackground) {
|
|
78
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__buttonBackground)
|
|
78
79
|
return String(__unwrapped)
|
|
79
80
|
} else {
|
|
80
81
|
return nil
|
|
@@ -97,7 +98,8 @@ public extension CustomColors {
|
|
|
97
98
|
@inline(__always)
|
|
98
99
|
get {
|
|
99
100
|
return { () -> String? in
|
|
100
|
-
if
|
|
101
|
+
if bridge.has_value_std__optional_std__string_(self.__buttonText) {
|
|
102
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__buttonText)
|
|
101
103
|
return String(__unwrapped)
|
|
102
104
|
} else {
|
|
103
105
|
return nil
|
|
@@ -120,7 +122,8 @@ public extension CustomColors {
|
|
|
120
122
|
@inline(__always)
|
|
121
123
|
get {
|
|
122
124
|
return { () -> String? in
|
|
123
|
-
if
|
|
125
|
+
if bridge.has_value_std__optional_std__string_(self.__buttonBorder) {
|
|
126
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__buttonBorder)
|
|
124
127
|
return String(__unwrapped)
|
|
125
128
|
} else {
|
|
126
129
|
return nil
|
|
@@ -143,7 +146,8 @@ public extension CustomColors {
|
|
|
143
146
|
@inline(__always)
|
|
144
147
|
get {
|
|
145
148
|
return { () -> String? in
|
|
146
|
-
if
|
|
149
|
+
if bridge.has_value_std__optional_std__string_(self.__bannerBackground) {
|
|
150
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__bannerBackground)
|
|
147
151
|
return String(__unwrapped)
|
|
148
152
|
} else {
|
|
149
153
|
return nil
|
|
@@ -166,7 +170,8 @@ public extension CustomColors {
|
|
|
166
170
|
@inline(__always)
|
|
167
171
|
get {
|
|
168
172
|
return { () -> String? in
|
|
169
|
-
if
|
|
173
|
+
if bridge.has_value_std__optional_std__string_(self.__bannerText) {
|
|
174
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__bannerText)
|
|
170
175
|
return String(__unwrapped)
|
|
171
176
|
} else {
|
|
172
177
|
return nil
|
|
@@ -189,7 +194,8 @@ public extension CustomColors {
|
|
|
189
194
|
@inline(__always)
|
|
190
195
|
get {
|
|
191
196
|
return { () -> String? in
|
|
192
|
-
if
|
|
197
|
+
if bridge.has_value_std__optional_std__string_(self.__bannerLinks) {
|
|
198
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__bannerLinks)
|
|
193
199
|
return String(__unwrapped)
|
|
194
200
|
} else {
|
|
195
201
|
return nil
|
|
@@ -212,7 +218,8 @@ public extension CustomColors {
|
|
|
212
218
|
@inline(__always)
|
|
213
219
|
get {
|
|
214
220
|
return { () -> String? in
|
|
215
|
-
if
|
|
221
|
+
if bridge.has_value_std__optional_std__string_(self.__preferenceCenterFooterBackground) {
|
|
222
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__preferenceCenterFooterBackground)
|
|
216
223
|
return String(__unwrapped)
|
|
217
224
|
} else {
|
|
218
225
|
return nil
|
|
@@ -235,7 +242,8 @@ public extension CustomColors {
|
|
|
235
242
|
@inline(__always)
|
|
236
243
|
get {
|
|
237
244
|
return { () -> String? in
|
|
238
|
-
if
|
|
245
|
+
if bridge.has_value_std__optional_std__string_(self.__preferenceCenterFooterSelector) {
|
|
246
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__preferenceCenterFooterSelector)
|
|
239
247
|
return String(__unwrapped)
|
|
240
248
|
} else {
|
|
241
249
|
return nil
|
|
@@ -24,7 +24,8 @@ public final class Func_void_std__optional_BannerConfig_ {
|
|
|
24
24
|
@inline(__always)
|
|
25
25
|
public func call(value: bridge.std__optional_BannerConfig_) -> Void {
|
|
26
26
|
self.closure({ () -> BannerConfig? in
|
|
27
|
-
if
|
|
27
|
+
if bridge.has_value_std__optional_BannerConfig_(value) {
|
|
28
|
+
let __unwrapped = bridge.get_std__optional_BannerConfig_(value)
|
|
28
29
|
return __unwrapped
|
|
29
30
|
} else {
|
|
30
31
|
return nil
|
|
@@ -24,7 +24,8 @@ public final class Func_void_std__optional_SettingsPrompt_ {
|
|
|
24
24
|
@inline(__always)
|
|
25
25
|
public func call(value: bridge.std__optional_SettingsPrompt_) -> Void {
|
|
26
26
|
self.closure({ () -> SettingsPrompt? in
|
|
27
|
-
if
|
|
27
|
+
if bridge.has_value_std__optional_SettingsPrompt_(value) {
|
|
28
|
+
let __unwrapped = bridge.get_std__optional_SettingsPrompt_(value)
|
|
28
29
|
return __unwrapped
|
|
29
30
|
} else {
|
|
30
31
|
return nil
|
|
@@ -172,7 +172,8 @@ public extension PostConsentsRequest {
|
|
|
172
172
|
@inline(__always)
|
|
173
173
|
get {
|
|
174
174
|
return { () -> String? in
|
|
175
|
-
if
|
|
175
|
+
if bridge.has_value_std__optional_std__string_(self.__sdkVersion) {
|
|
176
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__sdkVersion)
|
|
176
177
|
return String(__unwrapped)
|
|
177
178
|
} else {
|
|
178
179
|
return nil
|
|
@@ -195,7 +196,8 @@ public extension PostConsentsRequest {
|
|
|
195
196
|
@inline(__always)
|
|
196
197
|
get {
|
|
197
198
|
return { () -> String? in
|
|
198
|
-
if
|
|
199
|
+
if bridge.has_value_std__optional_std__string_(self.__platform) {
|
|
200
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__platform)
|
|
199
201
|
return String(__unwrapped)
|
|
200
202
|
} else {
|
|
201
203
|
return nil
|
|
@@ -121,7 +121,8 @@ public extension Purpose {
|
|
|
121
121
|
@inline(__always)
|
|
122
122
|
get {
|
|
123
123
|
return { () -> String? in
|
|
124
|
-
if
|
|
124
|
+
if bridge.has_value_std__optional_std__string_(self.__purposeName) {
|
|
125
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__purposeName)
|
|
125
126
|
return String(__unwrapped)
|
|
126
127
|
} else {
|
|
127
128
|
return nil
|
|
@@ -144,7 +145,8 @@ public extension Purpose {
|
|
|
144
145
|
@inline(__always)
|
|
145
146
|
get {
|
|
146
147
|
return { () -> String? in
|
|
147
|
-
if
|
|
148
|
+
if bridge.has_value_std__optional_std__string_(self.__purposeDescription) {
|
|
149
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__purposeDescription)
|
|
148
150
|
return String(__unwrapped)
|
|
149
151
|
} else {
|
|
150
152
|
return nil
|
|
@@ -167,7 +169,8 @@ public extension Purpose {
|
|
|
167
169
|
@inline(__always)
|
|
168
170
|
get {
|
|
169
171
|
return { () -> [SDK]? in
|
|
170
|
-
if
|
|
172
|
+
if bridge.has_value_std__optional_std__vector_SDK__(self.__sdks) {
|
|
173
|
+
let __unwrapped = bridge.get_std__optional_std__vector_SDK__(self.__sdks)
|
|
171
174
|
return __unwrapped.map({ __item in __item })
|
|
172
175
|
} else {
|
|
173
176
|
return nil
|
|
@@ -196,7 +199,8 @@ public extension Purpose {
|
|
|
196
199
|
@inline(__always)
|
|
197
200
|
get {
|
|
198
201
|
return { () -> String? in
|
|
199
|
-
if
|
|
202
|
+
if bridge.has_value_std__optional_std__string_(self.__consentStatus) {
|
|
203
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__consentStatus)
|
|
200
204
|
return String(__unwrapped)
|
|
201
205
|
} else {
|
|
202
206
|
return nil
|
|
@@ -236,7 +240,8 @@ public extension Purpose {
|
|
|
236
240
|
@inline(__always)
|
|
237
241
|
get {
|
|
238
242
|
return { () -> String? in
|
|
239
|
-
if
|
|
243
|
+
if bridge.has_value_std__optional_std__string_(self.__optOutText) {
|
|
244
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__optOutText)
|
|
240
245
|
return String(__unwrapped)
|
|
241
246
|
} else {
|
|
242
247
|
return nil
|
|
@@ -293,7 +298,8 @@ public extension Purpose {
|
|
|
293
298
|
@inline(__always)
|
|
294
299
|
get {
|
|
295
300
|
return { () -> String? in
|
|
296
|
-
if
|
|
301
|
+
if bridge.has_value_std__optional_std__string_(self.__gadDescription) {
|
|
302
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__gadDescription)
|
|
297
303
|
return String(__unwrapped)
|
|
298
304
|
} else {
|
|
299
305
|
return nil
|
|
@@ -333,7 +339,8 @@ public extension Purpose {
|
|
|
333
339
|
@inline(__always)
|
|
334
340
|
get {
|
|
335
341
|
return { () -> String? in
|
|
336
|
-
if
|
|
342
|
+
if bridge.has_value_std__optional_std__string_(self.__attDescription) {
|
|
343
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__attDescription)
|
|
337
344
|
return String(__unwrapped)
|
|
338
345
|
} else {
|
|
339
346
|
return nil
|
|
@@ -103,7 +103,8 @@ public extension SDK {
|
|
|
103
103
|
@inline(__always)
|
|
104
104
|
get {
|
|
105
105
|
return { () -> String? in
|
|
106
|
-
if
|
|
106
|
+
if bridge.has_value_std__optional_std__string_(self.__namespaceId) {
|
|
107
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__namespaceId)
|
|
107
108
|
return String(__unwrapped)
|
|
108
109
|
} else {
|
|
109
110
|
return nil
|
|
@@ -126,7 +127,8 @@ public extension SDK {
|
|
|
126
127
|
@inline(__always)
|
|
127
128
|
get {
|
|
128
129
|
return { () -> String? in
|
|
129
|
-
if
|
|
130
|
+
if bridge.has_value_std__optional_std__string_(self.__sdkName) {
|
|
131
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__sdkName)
|
|
130
132
|
return String(__unwrapped)
|
|
131
133
|
} else {
|
|
132
134
|
return nil
|
|
@@ -149,7 +151,8 @@ public extension SDK {
|
|
|
149
151
|
@inline(__always)
|
|
150
152
|
get {
|
|
151
153
|
return { () -> String? in
|
|
152
|
-
if
|
|
154
|
+
if bridge.has_value_std__optional_std__string_(self.__sdkDescription) {
|
|
155
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__sdkDescription)
|
|
153
156
|
return String(__unwrapped)
|
|
154
157
|
} else {
|
|
155
158
|
return nil
|
|
@@ -172,7 +175,8 @@ public extension SDK {
|
|
|
172
175
|
@inline(__always)
|
|
173
176
|
get {
|
|
174
177
|
return { () -> String? in
|
|
175
|
-
if
|
|
178
|
+
if bridge.has_value_std__optional_std__string_(self.__vendor) {
|
|
179
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__vendor)
|
|
176
180
|
return String(__unwrapped)
|
|
177
181
|
} else {
|
|
178
182
|
return nil
|
|
@@ -195,7 +199,8 @@ public extension SDK {
|
|
|
195
199
|
@inline(__always)
|
|
196
200
|
get {
|
|
197
201
|
return { () -> String? in
|
|
198
|
-
if
|
|
202
|
+
if bridge.has_value_std__optional_std__string_(self.__logoBase64) {
|
|
203
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__logoBase64)
|
|
199
204
|
return String(__unwrapped)
|
|
200
205
|
} else {
|
|
201
206
|
return nil
|
|
@@ -218,7 +223,8 @@ public extension SDK {
|
|
|
218
223
|
@inline(__always)
|
|
219
224
|
get {
|
|
220
225
|
return { () -> String? in
|
|
221
|
-
if
|
|
226
|
+
if bridge.has_value_std__optional_std__string_(self.__website) {
|
|
227
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__website)
|
|
222
228
|
return String(__unwrapped)
|
|
223
229
|
} else {
|
|
224
230
|
return nil
|
|
@@ -241,7 +247,8 @@ public extension SDK {
|
|
|
241
247
|
@inline(__always)
|
|
242
248
|
get {
|
|
243
249
|
return { () -> [String]? in
|
|
244
|
-
if
|
|
250
|
+
if bridge.has_value_std__optional_std__vector_std__string__(self.__matchedBy) {
|
|
251
|
+
let __unwrapped = bridge.get_std__optional_std__vector_std__string__(self.__matchedBy)
|
|
245
252
|
return __unwrapped.map({ __item in String(__item) })
|
|
246
253
|
} else {
|
|
247
254
|
return nil
|
|
@@ -62,7 +62,8 @@ public extension SettingsPrompt {
|
|
|
62
62
|
@inline(__always)
|
|
63
63
|
get {
|
|
64
64
|
return { () -> String? in
|
|
65
|
-
if
|
|
65
|
+
if bridge.has_value_std__optional_std__string_(self.__promptHeading) {
|
|
66
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__promptHeading)
|
|
66
67
|
return String(__unwrapped)
|
|
67
68
|
} else {
|
|
68
69
|
return nil
|
|
@@ -85,7 +86,8 @@ public extension SettingsPrompt {
|
|
|
85
86
|
@inline(__always)
|
|
86
87
|
get {
|
|
87
88
|
return { () -> String? in
|
|
88
|
-
if
|
|
89
|
+
if bridge.has_value_std__optional_std__string_(self.__promptMessage) {
|
|
90
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__promptMessage)
|
|
89
91
|
return String(__unwrapped)
|
|
90
92
|
} else {
|
|
91
93
|
return nil
|
|
@@ -108,7 +110,8 @@ public extension SettingsPrompt {
|
|
|
108
110
|
@inline(__always)
|
|
109
111
|
get {
|
|
110
112
|
return { () -> String? in
|
|
111
|
-
if
|
|
113
|
+
if bridge.has_value_std__optional_std__string_(self.__settingsButtonText) {
|
|
114
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__settingsButtonText)
|
|
112
115
|
return String(__unwrapped)
|
|
113
116
|
} else {
|
|
114
117
|
return nil
|
|
@@ -131,7 +134,8 @@ public extension SettingsPrompt {
|
|
|
131
134
|
@inline(__always)
|
|
132
135
|
get {
|
|
133
136
|
return { () -> String? in
|
|
134
|
-
if
|
|
137
|
+
if bridge.has_value_std__optional_std__string_(self.__notNowButtonText) {
|
|
138
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__notNowButtonText)
|
|
135
139
|
return String(__unwrapped)
|
|
136
140
|
} else {
|
|
137
141
|
return nil
|
|
@@ -154,7 +158,8 @@ public extension SettingsPrompt {
|
|
|
154
158
|
@inline(__always)
|
|
155
159
|
get {
|
|
156
160
|
return { () -> [String]? in
|
|
157
|
-
if
|
|
161
|
+
if bridge.has_value_std__optional_std__vector_std__string__(self.__permissions) {
|
|
162
|
+
let __unwrapped = bridge.get_std__optional_std__vector_std__string__(self.__permissions)
|
|
158
163
|
return __unwrapped.map({ __item in String(__item) })
|
|
159
164
|
} else {
|
|
160
165
|
return nil
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "securiti-consent-sdk",
|
|
3
|
-
"version": "1.136.0-
|
|
3
|
+
"version": "1.136.0-8rc",
|
|
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",
|