securiti-consent-sdk 1.135.0-9rc → 1.136.0-10rc
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/NitroSecuritiConsentSdk.podspec +1 -1
- package/android/build.gradle +1 -1
- package/ios/HybridConsentSDK.swift +1 -0
- package/lib/index.d.ts +20 -0
- package/nitrogen/generated/android/NitroSecuritiConsentSdkOnLoad.cpp +1 -2
- package/nitrogen/generated/android/c++/JHybridConsentSDKSpec.cpp +7 -2
- package/nitrogen/generated/android/c++/JHybridConsentSDKSpec.hpp +2 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/AppPermission.kt +19 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/BannerConfig.kt +65 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/CmpSDKOptions.kt +23 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/CustomColors.kt +17 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/Func_void_bool.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PermissionConsent.kt +7 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PostConsentsRequest.kt +25 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/Purpose.kt +25 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PurposeConsent.kt +9 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/SDK.kt +19 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/SettingsPrompt.kt +11 -0
- package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.cpp +13 -13
- package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.hpp +148 -85
- package/nitrogen/generated/ios/NitroSecuritiConsentSdkAutolinking.mm +1 -1
- package/nitrogen/generated/ios/NitroSecuritiConsentSdkAutolinking.swift +2 -2
- package/nitrogen/generated/ios/c++/HybridConsentSDKSpecSwift.hpp +4 -2
- package/nitrogen/generated/ios/swift/AppPermission.swift +12 -6
- package/nitrogen/generated/ios/swift/BannerConfig.swift +47 -24
- 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_bool.swift +6 -5
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__optional_BannerConfig_.swift +3 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_SettingsPrompt_.swift +3 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_AppPermission_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_Purpose_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_SDK_.swift +1 -0
- package/nitrogen/generated/ios/swift/HybridConsentSDKSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridConsentSDKSpec_cxx.swift +15 -6
- 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/nitrogen/generated/shared/c++/AppPermission.hpp +4 -6
- package/nitrogen/generated/shared/c++/BannerConfig.hpp +7 -9
- package/nitrogen/generated/shared/c++/CmpSDKOptions.hpp +4 -6
- package/nitrogen/generated/shared/c++/CustomColors.hpp +5 -7
- package/nitrogen/generated/shared/c++/HybridConsentSDKSpec.hpp +3 -3
- package/nitrogen/generated/shared/c++/PermissionConsent.hpp +4 -6
- package/nitrogen/generated/shared/c++/PostConsentsRequest.hpp +11 -13
- package/nitrogen/generated/shared/c++/Purpose.hpp +8 -10
- package/nitrogen/generated/shared/c++/PurposeConsent.hpp +4 -6
- package/nitrogen/generated/shared/c++/SDK.hpp +4 -6
- package/nitrogen/generated/shared/c++/SettingsPrompt.hpp +5 -7
- package/package.json +1 -1
|
@@ -66,9 +66,15 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
66
66
|
* Specialized version of `std::optional<std::string>`.
|
|
67
67
|
*/
|
|
68
68
|
using std__optional_std__string_ = std::optional<std::string>;
|
|
69
|
-
inline std::optional<std::string> create_std__optional_std__string_(const std::string& value) {
|
|
69
|
+
inline std::optional<std::string> create_std__optional_std__string_(const std::string& value) noexcept {
|
|
70
70
|
return std::optional<std::string>(value);
|
|
71
71
|
}
|
|
72
|
+
inline bool has_value_std__optional_std__string_(const std::optional<std::string>& optional) noexcept {
|
|
73
|
+
return optional.has_value();
|
|
74
|
+
}
|
|
75
|
+
inline std::string get_std__optional_std__string_(const std::optional<std::string>& optional) noexcept {
|
|
76
|
+
return *optional;
|
|
77
|
+
}
|
|
72
78
|
|
|
73
79
|
// pragma MARK: std::function<void(bool /* isReady */)>
|
|
74
80
|
/**
|
|
@@ -81,14 +87,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
81
87
|
class Func_void_bool_Wrapper final {
|
|
82
88
|
public:
|
|
83
89
|
explicit Func_void_bool_Wrapper(std::function<void(bool /* isReady */)>&& func): _function(std::make_unique<std::function<void(bool /* isReady */)>>(std::move(func))) {}
|
|
84
|
-
inline void call(bool isReady) const {
|
|
90
|
+
inline void call(bool isReady) const noexcept {
|
|
85
91
|
_function->operator()(isReady);
|
|
86
92
|
}
|
|
87
93
|
private:
|
|
88
94
|
std::unique_ptr<std::function<void(bool /* isReady */)>> _function;
|
|
89
95
|
} SWIFT_NONCOPYABLE;
|
|
90
|
-
Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper);
|
|
91
|
-
inline Func_void_bool_Wrapper wrap_Func_void_bool(Func_void_bool value) {
|
|
96
|
+
Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
97
|
+
inline Func_void_bool_Wrapper wrap_Func_void_bool(Func_void_bool value) noexcept {
|
|
92
98
|
return Func_void_bool_Wrapper(std::move(value));
|
|
93
99
|
}
|
|
94
100
|
|
|
@@ -97,10 +103,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
97
103
|
* Specialized version of `std::shared_ptr<Promise<std::string>>`.
|
|
98
104
|
*/
|
|
99
105
|
using std__shared_ptr_Promise_std__string__ = std::shared_ptr<Promise<std::string>>;
|
|
100
|
-
inline std::shared_ptr<Promise<std::string>> create_std__shared_ptr_Promise_std__string__() {
|
|
106
|
+
inline std::shared_ptr<Promise<std::string>> create_std__shared_ptr_Promise_std__string__() noexcept {
|
|
101
107
|
return Promise<std::string>::create();
|
|
102
108
|
}
|
|
103
|
-
inline PromiseHolder<std::string> wrap_std__shared_ptr_Promise_std__string__(std::shared_ptr<Promise<std::string>> promise) {
|
|
109
|
+
inline PromiseHolder<std::string> wrap_std__shared_ptr_Promise_std__string__(std::shared_ptr<Promise<std::string>> promise) noexcept {
|
|
104
110
|
return PromiseHolder<std::string>(std::move(promise));
|
|
105
111
|
}
|
|
106
112
|
|
|
@@ -115,14 +121,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
115
121
|
class Func_void_std__string_Wrapper final {
|
|
116
122
|
public:
|
|
117
123
|
explicit Func_void_std__string_Wrapper(std::function<void(const std::string& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::string& /* result */)>>(std::move(func))) {}
|
|
118
|
-
inline void call(std::string result) const {
|
|
124
|
+
inline void call(std::string result) const noexcept {
|
|
119
125
|
_function->operator()(result);
|
|
120
126
|
}
|
|
121
127
|
private:
|
|
122
128
|
std::unique_ptr<std::function<void(const std::string& /* result */)>> _function;
|
|
123
129
|
} SWIFT_NONCOPYABLE;
|
|
124
|
-
Func_void_std__string create_Func_void_std__string(void* _Nonnull swiftClosureWrapper);
|
|
125
|
-
inline Func_void_std__string_Wrapper wrap_Func_void_std__string(Func_void_std__string value) {
|
|
130
|
+
Func_void_std__string create_Func_void_std__string(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
131
|
+
inline Func_void_std__string_Wrapper wrap_Func_void_std__string(Func_void_std__string value) noexcept {
|
|
126
132
|
return Func_void_std__string_Wrapper(std::move(value));
|
|
127
133
|
}
|
|
128
134
|
|
|
@@ -137,14 +143,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
137
143
|
class Func_void_std__exception_ptr_Wrapper final {
|
|
138
144
|
public:
|
|
139
145
|
explicit Func_void_std__exception_ptr_Wrapper(std::function<void(const std::exception_ptr& /* error */)>&& func): _function(std::make_unique<std::function<void(const std::exception_ptr& /* error */)>>(std::move(func))) {}
|
|
140
|
-
inline void call(std::exception_ptr error) const {
|
|
146
|
+
inline void call(std::exception_ptr error) const noexcept {
|
|
141
147
|
_function->operator()(error);
|
|
142
148
|
}
|
|
143
149
|
private:
|
|
144
150
|
std::unique_ptr<std::function<void(const std::exception_ptr& /* error */)>> _function;
|
|
145
151
|
} SWIFT_NONCOPYABLE;
|
|
146
|
-
Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper);
|
|
147
|
-
inline Func_void_std__exception_ptr_Wrapper wrap_Func_void_std__exception_ptr(Func_void_std__exception_ptr value) {
|
|
152
|
+
Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
153
|
+
inline Func_void_std__exception_ptr_Wrapper wrap_Func_void_std__exception_ptr(Func_void_std__exception_ptr value) noexcept {
|
|
148
154
|
return Func_void_std__exception_ptr_Wrapper(std::move(value));
|
|
149
155
|
}
|
|
150
156
|
|
|
@@ -153,25 +159,37 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
153
159
|
* Specialized version of `std::optional<double>`.
|
|
154
160
|
*/
|
|
155
161
|
using std__optional_double_ = std::optional<double>;
|
|
156
|
-
inline std::optional<double> create_std__optional_double_(const double& value) {
|
|
162
|
+
inline std::optional<double> create_std__optional_double_(const double& value) noexcept {
|
|
157
163
|
return std::optional<double>(value);
|
|
158
164
|
}
|
|
165
|
+
inline bool has_value_std__optional_double_(const std::optional<double>& optional) noexcept {
|
|
166
|
+
return optional.has_value();
|
|
167
|
+
}
|
|
168
|
+
inline double get_std__optional_double_(const std::optional<double>& optional) noexcept {
|
|
169
|
+
return *optional;
|
|
170
|
+
}
|
|
159
171
|
|
|
160
172
|
// pragma MARK: std::optional<bool>
|
|
161
173
|
/**
|
|
162
174
|
* Specialized version of `std::optional<bool>`.
|
|
163
175
|
*/
|
|
164
176
|
using std__optional_bool_ = std::optional<bool>;
|
|
165
|
-
inline std::optional<bool> create_std__optional_bool_(const bool& value) {
|
|
177
|
+
inline std::optional<bool> create_std__optional_bool_(const bool& value) noexcept {
|
|
166
178
|
return std::optional<bool>(value);
|
|
167
179
|
}
|
|
180
|
+
inline bool has_value_std__optional_bool_(const std::optional<bool>& optional) noexcept {
|
|
181
|
+
return optional.has_value();
|
|
182
|
+
}
|
|
183
|
+
inline bool get_std__optional_bool_(const std::optional<bool>& optional) noexcept {
|
|
184
|
+
return *optional;
|
|
185
|
+
}
|
|
168
186
|
|
|
169
187
|
// pragma MARK: std::vector<AppPermission>
|
|
170
188
|
/**
|
|
171
189
|
* Specialized version of `std::vector<AppPermission>`.
|
|
172
190
|
*/
|
|
173
191
|
using std__vector_AppPermission_ = std::vector<AppPermission>;
|
|
174
|
-
inline std::vector<AppPermission> create_std__vector_AppPermission_(size_t size) {
|
|
192
|
+
inline std::vector<AppPermission> create_std__vector_AppPermission_(size_t size) noexcept {
|
|
175
193
|
std::vector<AppPermission> vector;
|
|
176
194
|
vector.reserve(size);
|
|
177
195
|
return vector;
|
|
@@ -182,10 +200,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
182
200
|
* Specialized version of `std::shared_ptr<Promise<std::vector<AppPermission>>>`.
|
|
183
201
|
*/
|
|
184
202
|
using std__shared_ptr_Promise_std__vector_AppPermission___ = std::shared_ptr<Promise<std::vector<AppPermission>>>;
|
|
185
|
-
inline std::shared_ptr<Promise<std::vector<AppPermission>>> create_std__shared_ptr_Promise_std__vector_AppPermission___() {
|
|
203
|
+
inline std::shared_ptr<Promise<std::vector<AppPermission>>> create_std__shared_ptr_Promise_std__vector_AppPermission___() noexcept {
|
|
186
204
|
return Promise<std::vector<AppPermission>>::create();
|
|
187
205
|
}
|
|
188
|
-
inline PromiseHolder<std::vector<AppPermission>> wrap_std__shared_ptr_Promise_std__vector_AppPermission___(std::shared_ptr<Promise<std::vector<AppPermission>>> promise) {
|
|
206
|
+
inline PromiseHolder<std::vector<AppPermission>> wrap_std__shared_ptr_Promise_std__vector_AppPermission___(std::shared_ptr<Promise<std::vector<AppPermission>>> promise) noexcept {
|
|
189
207
|
return PromiseHolder<std::vector<AppPermission>>(std::move(promise));
|
|
190
208
|
}
|
|
191
209
|
|
|
@@ -200,14 +218,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
200
218
|
class Func_void_std__vector_AppPermission__Wrapper final {
|
|
201
219
|
public:
|
|
202
220
|
explicit Func_void_std__vector_AppPermission__Wrapper(std::function<void(const std::vector<AppPermission>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::vector<AppPermission>& /* result */)>>(std::move(func))) {}
|
|
203
|
-
inline void call(std::vector<AppPermission> result) const {
|
|
221
|
+
inline void call(std::vector<AppPermission> result) const noexcept {
|
|
204
222
|
_function->operator()(result);
|
|
205
223
|
}
|
|
206
224
|
private:
|
|
207
225
|
std::unique_ptr<std::function<void(const std::vector<AppPermission>& /* result */)>> _function;
|
|
208
226
|
} SWIFT_NONCOPYABLE;
|
|
209
|
-
Func_void_std__vector_AppPermission_ create_Func_void_std__vector_AppPermission_(void* _Nonnull swiftClosureWrapper);
|
|
210
|
-
inline Func_void_std__vector_AppPermission__Wrapper wrap_Func_void_std__vector_AppPermission_(Func_void_std__vector_AppPermission_ value) {
|
|
227
|
+
Func_void_std__vector_AppPermission_ create_Func_void_std__vector_AppPermission_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
228
|
+
inline Func_void_std__vector_AppPermission__Wrapper wrap_Func_void_std__vector_AppPermission_(Func_void_std__vector_AppPermission_ value) noexcept {
|
|
211
229
|
return Func_void_std__vector_AppPermission__Wrapper(std::move(value));
|
|
212
230
|
}
|
|
213
231
|
|
|
@@ -216,7 +234,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
216
234
|
* Specialized version of `std::vector<std::string>`.
|
|
217
235
|
*/
|
|
218
236
|
using std__vector_std__string_ = std::vector<std::string>;
|
|
219
|
-
inline std::vector<std::string> create_std__vector_std__string_(size_t size) {
|
|
237
|
+
inline std::vector<std::string> create_std__vector_std__string_(size_t size) noexcept {
|
|
220
238
|
std::vector<std::string> vector;
|
|
221
239
|
vector.reserve(size);
|
|
222
240
|
return vector;
|
|
@@ -227,16 +245,22 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
227
245
|
* Specialized version of `std::optional<std::vector<std::string>>`.
|
|
228
246
|
*/
|
|
229
247
|
using std__optional_std__vector_std__string__ = std::optional<std::vector<std::string>>;
|
|
230
|
-
inline std::optional<std::vector<std::string>> create_std__optional_std__vector_std__string__(const std::vector<std::string>& value) {
|
|
248
|
+
inline std::optional<std::vector<std::string>> create_std__optional_std__vector_std__string__(const std::vector<std::string>& value) noexcept {
|
|
231
249
|
return std::optional<std::vector<std::string>>(value);
|
|
232
250
|
}
|
|
251
|
+
inline bool has_value_std__optional_std__vector_std__string__(const std::optional<std::vector<std::string>>& optional) noexcept {
|
|
252
|
+
return optional.has_value();
|
|
253
|
+
}
|
|
254
|
+
inline std::vector<std::string> get_std__optional_std__vector_std__string__(const std::optional<std::vector<std::string>>& optional) noexcept {
|
|
255
|
+
return *optional;
|
|
256
|
+
}
|
|
233
257
|
|
|
234
258
|
// pragma MARK: std::vector<SDK>
|
|
235
259
|
/**
|
|
236
260
|
* Specialized version of `std::vector<SDK>`.
|
|
237
261
|
*/
|
|
238
262
|
using std__vector_SDK_ = std::vector<SDK>;
|
|
239
|
-
inline std::vector<SDK> create_std__vector_SDK_(size_t size) {
|
|
263
|
+
inline std::vector<SDK> create_std__vector_SDK_(size_t size) noexcept {
|
|
240
264
|
std::vector<SDK> vector;
|
|
241
265
|
vector.reserve(size);
|
|
242
266
|
return vector;
|
|
@@ -247,16 +271,22 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
247
271
|
* Specialized version of `std::optional<std::vector<SDK>>`.
|
|
248
272
|
*/
|
|
249
273
|
using std__optional_std__vector_SDK__ = std::optional<std::vector<SDK>>;
|
|
250
|
-
inline std::optional<std::vector<SDK>> create_std__optional_std__vector_SDK__(const std::vector<SDK>& value) {
|
|
274
|
+
inline std::optional<std::vector<SDK>> create_std__optional_std__vector_SDK__(const std::vector<SDK>& value) noexcept {
|
|
251
275
|
return std::optional<std::vector<SDK>>(value);
|
|
252
276
|
}
|
|
277
|
+
inline bool has_value_std__optional_std__vector_SDK__(const std::optional<std::vector<SDK>>& optional) noexcept {
|
|
278
|
+
return optional.has_value();
|
|
279
|
+
}
|
|
280
|
+
inline std::vector<SDK> get_std__optional_std__vector_SDK__(const std::optional<std::vector<SDK>>& optional) noexcept {
|
|
281
|
+
return *optional;
|
|
282
|
+
}
|
|
253
283
|
|
|
254
284
|
// pragma MARK: std::vector<Purpose>
|
|
255
285
|
/**
|
|
256
286
|
* Specialized version of `std::vector<Purpose>`.
|
|
257
287
|
*/
|
|
258
288
|
using std__vector_Purpose_ = std::vector<Purpose>;
|
|
259
|
-
inline std::vector<Purpose> create_std__vector_Purpose_(size_t size) {
|
|
289
|
+
inline std::vector<Purpose> create_std__vector_Purpose_(size_t size) noexcept {
|
|
260
290
|
std::vector<Purpose> vector;
|
|
261
291
|
vector.reserve(size);
|
|
262
292
|
return vector;
|
|
@@ -267,10 +297,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
267
297
|
* Specialized version of `std::shared_ptr<Promise<std::vector<Purpose>>>`.
|
|
268
298
|
*/
|
|
269
299
|
using std__shared_ptr_Promise_std__vector_Purpose___ = std::shared_ptr<Promise<std::vector<Purpose>>>;
|
|
270
|
-
inline std::shared_ptr<Promise<std::vector<Purpose>>> create_std__shared_ptr_Promise_std__vector_Purpose___() {
|
|
300
|
+
inline std::shared_ptr<Promise<std::vector<Purpose>>> create_std__shared_ptr_Promise_std__vector_Purpose___() noexcept {
|
|
271
301
|
return Promise<std::vector<Purpose>>::create();
|
|
272
302
|
}
|
|
273
|
-
inline PromiseHolder<std::vector<Purpose>> wrap_std__shared_ptr_Promise_std__vector_Purpose___(std::shared_ptr<Promise<std::vector<Purpose>>> promise) {
|
|
303
|
+
inline PromiseHolder<std::vector<Purpose>> wrap_std__shared_ptr_Promise_std__vector_Purpose___(std::shared_ptr<Promise<std::vector<Purpose>>> promise) noexcept {
|
|
274
304
|
return PromiseHolder<std::vector<Purpose>>(std::move(promise));
|
|
275
305
|
}
|
|
276
306
|
|
|
@@ -285,14 +315,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
285
315
|
class Func_void_std__vector_Purpose__Wrapper final {
|
|
286
316
|
public:
|
|
287
317
|
explicit Func_void_std__vector_Purpose__Wrapper(std::function<void(const std::vector<Purpose>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::vector<Purpose>& /* result */)>>(std::move(func))) {}
|
|
288
|
-
inline void call(std::vector<Purpose> result) const {
|
|
318
|
+
inline void call(std::vector<Purpose> result) const noexcept {
|
|
289
319
|
_function->operator()(result);
|
|
290
320
|
}
|
|
291
321
|
private:
|
|
292
322
|
std::unique_ptr<std::function<void(const std::vector<Purpose>& /* result */)>> _function;
|
|
293
323
|
} SWIFT_NONCOPYABLE;
|
|
294
|
-
Func_void_std__vector_Purpose_ create_Func_void_std__vector_Purpose_(void* _Nonnull swiftClosureWrapper);
|
|
295
|
-
inline Func_void_std__vector_Purpose__Wrapper wrap_Func_void_std__vector_Purpose_(Func_void_std__vector_Purpose_ value) {
|
|
324
|
+
Func_void_std__vector_Purpose_ create_Func_void_std__vector_Purpose_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
325
|
+
inline Func_void_std__vector_Purpose__Wrapper wrap_Func_void_std__vector_Purpose_(Func_void_std__vector_Purpose_ value) noexcept {
|
|
296
326
|
return Func_void_std__vector_Purpose__Wrapper(std::move(value));
|
|
297
327
|
}
|
|
298
328
|
|
|
@@ -301,10 +331,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
301
331
|
* Specialized version of `std::shared_ptr<Promise<std::vector<SDK>>>`.
|
|
302
332
|
*/
|
|
303
333
|
using std__shared_ptr_Promise_std__vector_SDK___ = std::shared_ptr<Promise<std::vector<SDK>>>;
|
|
304
|
-
inline std::shared_ptr<Promise<std::vector<SDK>>> create_std__shared_ptr_Promise_std__vector_SDK___() {
|
|
334
|
+
inline std::shared_ptr<Promise<std::vector<SDK>>> create_std__shared_ptr_Promise_std__vector_SDK___() noexcept {
|
|
305
335
|
return Promise<std::vector<SDK>>::create();
|
|
306
336
|
}
|
|
307
|
-
inline PromiseHolder<std::vector<SDK>> wrap_std__shared_ptr_Promise_std__vector_SDK___(std::shared_ptr<Promise<std::vector<SDK>>> promise) {
|
|
337
|
+
inline PromiseHolder<std::vector<SDK>> wrap_std__shared_ptr_Promise_std__vector_SDK___(std::shared_ptr<Promise<std::vector<SDK>>> promise) noexcept {
|
|
308
338
|
return PromiseHolder<std::vector<SDK>>(std::move(promise));
|
|
309
339
|
}
|
|
310
340
|
|
|
@@ -319,14 +349,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
319
349
|
class Func_void_std__vector_SDK__Wrapper final {
|
|
320
350
|
public:
|
|
321
351
|
explicit Func_void_std__vector_SDK__Wrapper(std::function<void(const std::vector<SDK>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::vector<SDK>& /* result */)>>(std::move(func))) {}
|
|
322
|
-
inline void call(std::vector<SDK> result) const {
|
|
352
|
+
inline void call(std::vector<SDK> result) const noexcept {
|
|
323
353
|
_function->operator()(result);
|
|
324
354
|
}
|
|
325
355
|
private:
|
|
326
356
|
std::unique_ptr<std::function<void(const std::vector<SDK>& /* result */)>> _function;
|
|
327
357
|
} SWIFT_NONCOPYABLE;
|
|
328
|
-
Func_void_std__vector_SDK_ create_Func_void_std__vector_SDK_(void* _Nonnull swiftClosureWrapper);
|
|
329
|
-
inline Func_void_std__vector_SDK__Wrapper wrap_Func_void_std__vector_SDK_(Func_void_std__vector_SDK_ value) {
|
|
358
|
+
Func_void_std__vector_SDK_ create_Func_void_std__vector_SDK_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
359
|
+
inline Func_void_std__vector_SDK__Wrapper wrap_Func_void_std__vector_SDK_(Func_void_std__vector_SDK_ value) noexcept {
|
|
330
360
|
return Func_void_std__vector_SDK__Wrapper(std::move(value));
|
|
331
361
|
}
|
|
332
362
|
|
|
@@ -335,21 +365,27 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
335
365
|
* Specialized version of `std::optional<CustomColors>`.
|
|
336
366
|
*/
|
|
337
367
|
using std__optional_CustomColors_ = std::optional<CustomColors>;
|
|
338
|
-
inline std::optional<CustomColors> create_std__optional_CustomColors_(const CustomColors& value) {
|
|
368
|
+
inline std::optional<CustomColors> create_std__optional_CustomColors_(const CustomColors& value) noexcept {
|
|
339
369
|
return std::optional<CustomColors>(value);
|
|
340
370
|
}
|
|
371
|
+
inline bool has_value_std__optional_CustomColors_(const std::optional<CustomColors>& optional) noexcept {
|
|
372
|
+
return optional.has_value();
|
|
373
|
+
}
|
|
374
|
+
inline CustomColors get_std__optional_CustomColors_(const std::optional<CustomColors>& optional) noexcept {
|
|
375
|
+
return *optional;
|
|
376
|
+
}
|
|
341
377
|
|
|
342
378
|
// pragma MARK: std::unordered_map<std::string, std::string>
|
|
343
379
|
/**
|
|
344
380
|
* Specialized version of `std::unordered_map<std::string, std::string>`.
|
|
345
381
|
*/
|
|
346
382
|
using std__unordered_map_std__string__std__string_ = std::unordered_map<std::string, std::string>;
|
|
347
|
-
inline std::unordered_map<std::string, std::string> create_std__unordered_map_std__string__std__string_(size_t size) {
|
|
383
|
+
inline std::unordered_map<std::string, std::string> create_std__unordered_map_std__string__std__string_(size_t size) noexcept {
|
|
348
384
|
std::unordered_map<std::string, std::string> map;
|
|
349
385
|
map.reserve(size);
|
|
350
386
|
return map;
|
|
351
387
|
}
|
|
352
|
-
inline std::vector<std::string> get_std__unordered_map_std__string__std__string__keys(const std__unordered_map_std__string__std__string_& map) {
|
|
388
|
+
inline std::vector<std::string> get_std__unordered_map_std__string__std__string__keys(const std__unordered_map_std__string__std__string_& map) noexcept {
|
|
353
389
|
std::vector<std::string> keys;
|
|
354
390
|
keys.reserve(map.size());
|
|
355
391
|
for (const auto& entry : map) {
|
|
@@ -357,7 +393,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
357
393
|
}
|
|
358
394
|
return keys;
|
|
359
395
|
}
|
|
360
|
-
inline
|
|
396
|
+
inline std::string get_std__unordered_map_std__string__std__string__value(const std__unordered_map_std__string__std__string_& map, const std::string& key) noexcept {
|
|
397
|
+
return map.find(key)->second;
|
|
398
|
+
}
|
|
399
|
+
inline void emplace_std__unordered_map_std__string__std__string_(std__unordered_map_std__string__std__string_& map, const std::string& key, const std::string& value) noexcept {
|
|
361
400
|
map.emplace(key, value);
|
|
362
401
|
}
|
|
363
402
|
|
|
@@ -366,28 +405,40 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
366
405
|
* Specialized version of `std::optional<std::unordered_map<std::string, std::string>>`.
|
|
367
406
|
*/
|
|
368
407
|
using std__optional_std__unordered_map_std__string__std__string__ = std::optional<std::unordered_map<std::string, std::string>>;
|
|
369
|
-
inline std::optional<std::unordered_map<std::string, std::string>> create_std__optional_std__unordered_map_std__string__std__string__(const std::unordered_map<std::string, std::string>& value) {
|
|
408
|
+
inline std::optional<std::unordered_map<std::string, std::string>> create_std__optional_std__unordered_map_std__string__std__string__(const std::unordered_map<std::string, std::string>& value) noexcept {
|
|
370
409
|
return std::optional<std::unordered_map<std::string, std::string>>(value);
|
|
371
410
|
}
|
|
411
|
+
inline bool has_value_std__optional_std__unordered_map_std__string__std__string__(const std::optional<std::unordered_map<std::string, std::string>>& optional) noexcept {
|
|
412
|
+
return optional.has_value();
|
|
413
|
+
}
|
|
414
|
+
inline std::unordered_map<std::string, std::string> get_std__optional_std__unordered_map_std__string__std__string__(const std::optional<std::unordered_map<std::string, std::string>>& optional) noexcept {
|
|
415
|
+
return *optional;
|
|
416
|
+
}
|
|
372
417
|
|
|
373
418
|
// pragma MARK: std::optional<BannerConfig>
|
|
374
419
|
/**
|
|
375
420
|
* Specialized version of `std::optional<BannerConfig>`.
|
|
376
421
|
*/
|
|
377
422
|
using std__optional_BannerConfig_ = std::optional<BannerConfig>;
|
|
378
|
-
inline std::optional<BannerConfig> create_std__optional_BannerConfig_(const BannerConfig& value) {
|
|
423
|
+
inline std::optional<BannerConfig> create_std__optional_BannerConfig_(const BannerConfig& value) noexcept {
|
|
379
424
|
return std::optional<BannerConfig>(value);
|
|
380
425
|
}
|
|
426
|
+
inline bool has_value_std__optional_BannerConfig_(const std::optional<BannerConfig>& optional) noexcept {
|
|
427
|
+
return optional.has_value();
|
|
428
|
+
}
|
|
429
|
+
inline BannerConfig get_std__optional_BannerConfig_(const std::optional<BannerConfig>& optional) noexcept {
|
|
430
|
+
return *optional;
|
|
431
|
+
}
|
|
381
432
|
|
|
382
433
|
// pragma MARK: std::shared_ptr<Promise<std::optional<BannerConfig>>>
|
|
383
434
|
/**
|
|
384
435
|
* Specialized version of `std::shared_ptr<Promise<std::optional<BannerConfig>>>`.
|
|
385
436
|
*/
|
|
386
437
|
using std__shared_ptr_Promise_std__optional_BannerConfig___ = std::shared_ptr<Promise<std::optional<BannerConfig>>>;
|
|
387
|
-
inline std::shared_ptr<Promise<std::optional<BannerConfig>>> create_std__shared_ptr_Promise_std__optional_BannerConfig___() {
|
|
438
|
+
inline std::shared_ptr<Promise<std::optional<BannerConfig>>> create_std__shared_ptr_Promise_std__optional_BannerConfig___() noexcept {
|
|
388
439
|
return Promise<std::optional<BannerConfig>>::create();
|
|
389
440
|
}
|
|
390
|
-
inline PromiseHolder<std::optional<BannerConfig>> wrap_std__shared_ptr_Promise_std__optional_BannerConfig___(std::shared_ptr<Promise<std::optional<BannerConfig>>> promise) {
|
|
441
|
+
inline PromiseHolder<std::optional<BannerConfig>> wrap_std__shared_ptr_Promise_std__optional_BannerConfig___(std::shared_ptr<Promise<std::optional<BannerConfig>>> promise) noexcept {
|
|
391
442
|
return PromiseHolder<std::optional<BannerConfig>>(std::move(promise));
|
|
392
443
|
}
|
|
393
444
|
|
|
@@ -402,14 +453,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
402
453
|
class Func_void_std__optional_BannerConfig__Wrapper final {
|
|
403
454
|
public:
|
|
404
455
|
explicit Func_void_std__optional_BannerConfig__Wrapper(std::function<void(const std::optional<BannerConfig>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::optional<BannerConfig>& /* result */)>>(std::move(func))) {}
|
|
405
|
-
inline void call(std::optional<BannerConfig> result) const {
|
|
456
|
+
inline void call(std::optional<BannerConfig> result) const noexcept {
|
|
406
457
|
_function->operator()(result);
|
|
407
458
|
}
|
|
408
459
|
private:
|
|
409
460
|
std::unique_ptr<std::function<void(const std::optional<BannerConfig>& /* result */)>> _function;
|
|
410
461
|
} SWIFT_NONCOPYABLE;
|
|
411
|
-
Func_void_std__optional_BannerConfig_ create_Func_void_std__optional_BannerConfig_(void* _Nonnull swiftClosureWrapper);
|
|
412
|
-
inline Func_void_std__optional_BannerConfig__Wrapper wrap_Func_void_std__optional_BannerConfig_(Func_void_std__optional_BannerConfig_ value) {
|
|
462
|
+
Func_void_std__optional_BannerConfig_ create_Func_void_std__optional_BannerConfig_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
463
|
+
inline Func_void_std__optional_BannerConfig__Wrapper wrap_Func_void_std__optional_BannerConfig_(Func_void_std__optional_BannerConfig_ value) noexcept {
|
|
413
464
|
return Func_void_std__optional_BannerConfig__Wrapper(std::move(value));
|
|
414
465
|
}
|
|
415
466
|
|
|
@@ -418,28 +469,40 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
418
469
|
* Specialized version of `std::optional<CmpSDKOptions>`.
|
|
419
470
|
*/
|
|
420
471
|
using std__optional_CmpSDKOptions_ = std::optional<CmpSDKOptions>;
|
|
421
|
-
inline std::optional<CmpSDKOptions> create_std__optional_CmpSDKOptions_(const CmpSDKOptions& value) {
|
|
472
|
+
inline std::optional<CmpSDKOptions> create_std__optional_CmpSDKOptions_(const CmpSDKOptions& value) noexcept {
|
|
422
473
|
return std::optional<CmpSDKOptions>(value);
|
|
423
474
|
}
|
|
475
|
+
inline bool has_value_std__optional_CmpSDKOptions_(const std::optional<CmpSDKOptions>& optional) noexcept {
|
|
476
|
+
return optional.has_value();
|
|
477
|
+
}
|
|
478
|
+
inline CmpSDKOptions get_std__optional_CmpSDKOptions_(const std::optional<CmpSDKOptions>& optional) noexcept {
|
|
479
|
+
return *optional;
|
|
480
|
+
}
|
|
424
481
|
|
|
425
482
|
// pragma MARK: std::optional<SettingsPrompt>
|
|
426
483
|
/**
|
|
427
484
|
* Specialized version of `std::optional<SettingsPrompt>`.
|
|
428
485
|
*/
|
|
429
486
|
using std__optional_SettingsPrompt_ = std::optional<SettingsPrompt>;
|
|
430
|
-
inline std::optional<SettingsPrompt> create_std__optional_SettingsPrompt_(const SettingsPrompt& value) {
|
|
487
|
+
inline std::optional<SettingsPrompt> create_std__optional_SettingsPrompt_(const SettingsPrompt& value) noexcept {
|
|
431
488
|
return std::optional<SettingsPrompt>(value);
|
|
432
489
|
}
|
|
490
|
+
inline bool has_value_std__optional_SettingsPrompt_(const std::optional<SettingsPrompt>& optional) noexcept {
|
|
491
|
+
return optional.has_value();
|
|
492
|
+
}
|
|
493
|
+
inline SettingsPrompt get_std__optional_SettingsPrompt_(const std::optional<SettingsPrompt>& optional) noexcept {
|
|
494
|
+
return *optional;
|
|
495
|
+
}
|
|
433
496
|
|
|
434
497
|
// pragma MARK: std::shared_ptr<Promise<std::optional<SettingsPrompt>>>
|
|
435
498
|
/**
|
|
436
499
|
* Specialized version of `std::shared_ptr<Promise<std::optional<SettingsPrompt>>>`.
|
|
437
500
|
*/
|
|
438
501
|
using std__shared_ptr_Promise_std__optional_SettingsPrompt___ = std::shared_ptr<Promise<std::optional<SettingsPrompt>>>;
|
|
439
|
-
inline std::shared_ptr<Promise<std::optional<SettingsPrompt>>> create_std__shared_ptr_Promise_std__optional_SettingsPrompt___() {
|
|
502
|
+
inline std::shared_ptr<Promise<std::optional<SettingsPrompt>>> create_std__shared_ptr_Promise_std__optional_SettingsPrompt___() noexcept {
|
|
440
503
|
return Promise<std::optional<SettingsPrompt>>::create();
|
|
441
504
|
}
|
|
442
|
-
inline PromiseHolder<std::optional<SettingsPrompt>> wrap_std__shared_ptr_Promise_std__optional_SettingsPrompt___(std::shared_ptr<Promise<std::optional<SettingsPrompt>>> promise) {
|
|
505
|
+
inline PromiseHolder<std::optional<SettingsPrompt>> wrap_std__shared_ptr_Promise_std__optional_SettingsPrompt___(std::shared_ptr<Promise<std::optional<SettingsPrompt>>> promise) noexcept {
|
|
443
506
|
return PromiseHolder<std::optional<SettingsPrompt>>(std::move(promise));
|
|
444
507
|
}
|
|
445
508
|
|
|
@@ -454,14 +517,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
454
517
|
class Func_void_std__optional_SettingsPrompt__Wrapper final {
|
|
455
518
|
public:
|
|
456
519
|
explicit Func_void_std__optional_SettingsPrompt__Wrapper(std::function<void(const std::optional<SettingsPrompt>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::optional<SettingsPrompt>& /* result */)>>(std::move(func))) {}
|
|
457
|
-
inline void call(std::optional<SettingsPrompt> result) const {
|
|
520
|
+
inline void call(std::optional<SettingsPrompt> result) const noexcept {
|
|
458
521
|
_function->operator()(result);
|
|
459
522
|
}
|
|
460
523
|
private:
|
|
461
524
|
std::unique_ptr<std::function<void(const std::optional<SettingsPrompt>& /* result */)>> _function;
|
|
462
525
|
} SWIFT_NONCOPYABLE;
|
|
463
|
-
Func_void_std__optional_SettingsPrompt_ create_Func_void_std__optional_SettingsPrompt_(void* _Nonnull swiftClosureWrapper);
|
|
464
|
-
inline Func_void_std__optional_SettingsPrompt__Wrapper wrap_Func_void_std__optional_SettingsPrompt_(Func_void_std__optional_SettingsPrompt_ value) {
|
|
526
|
+
Func_void_std__optional_SettingsPrompt_ create_Func_void_std__optional_SettingsPrompt_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
527
|
+
inline Func_void_std__optional_SettingsPrompt__Wrapper wrap_Func_void_std__optional_SettingsPrompt_(Func_void_std__optional_SettingsPrompt_ value) noexcept {
|
|
465
528
|
return Func_void_std__optional_SettingsPrompt__Wrapper(std::move(value));
|
|
466
529
|
}
|
|
467
530
|
|
|
@@ -470,10 +533,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
470
533
|
* Specialized version of `std::shared_ptr<Promise<bool>>`.
|
|
471
534
|
*/
|
|
472
535
|
using std__shared_ptr_Promise_bool__ = std::shared_ptr<Promise<bool>>;
|
|
473
|
-
inline std::shared_ptr<Promise<bool>> create_std__shared_ptr_Promise_bool__() {
|
|
536
|
+
inline std::shared_ptr<Promise<bool>> create_std__shared_ptr_Promise_bool__() noexcept {
|
|
474
537
|
return Promise<bool>::create();
|
|
475
538
|
}
|
|
476
|
-
inline PromiseHolder<bool> wrap_std__shared_ptr_Promise_bool__(std::shared_ptr<Promise<bool>> promise) {
|
|
539
|
+
inline PromiseHolder<bool> wrap_std__shared_ptr_Promise_bool__(std::shared_ptr<Promise<bool>> promise) noexcept {
|
|
477
540
|
return PromiseHolder<bool>(std::move(promise));
|
|
478
541
|
}
|
|
479
542
|
|
|
@@ -482,7 +545,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
482
545
|
* Specialized version of `std::vector<PurposeConsent>`.
|
|
483
546
|
*/
|
|
484
547
|
using std__vector_PurposeConsent_ = std::vector<PurposeConsent>;
|
|
485
|
-
inline std::vector<PurposeConsent> create_std__vector_PurposeConsent_(size_t size) {
|
|
548
|
+
inline std::vector<PurposeConsent> create_std__vector_PurposeConsent_(size_t size) noexcept {
|
|
486
549
|
std::vector<PurposeConsent> vector;
|
|
487
550
|
vector.reserve(size);
|
|
488
551
|
return vector;
|
|
@@ -493,111 +556,111 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
493
556
|
* Specialized version of `std::vector<PermissionConsent>`.
|
|
494
557
|
*/
|
|
495
558
|
using std__vector_PermissionConsent_ = std::vector<PermissionConsent>;
|
|
496
|
-
inline std::vector<PermissionConsent> create_std__vector_PermissionConsent_(size_t size) {
|
|
559
|
+
inline std::vector<PermissionConsent> create_std__vector_PermissionConsent_(size_t size) noexcept {
|
|
497
560
|
std::vector<PermissionConsent> vector;
|
|
498
561
|
vector.reserve(size);
|
|
499
562
|
return vector;
|
|
500
563
|
}
|
|
501
564
|
|
|
502
|
-
// pragma MARK: std::shared_ptr<
|
|
565
|
+
// pragma MARK: std::shared_ptr<HybridConsentSDKSpec>
|
|
503
566
|
/**
|
|
504
|
-
* Specialized version of `std::shared_ptr<
|
|
567
|
+
* Specialized version of `std::shared_ptr<HybridConsentSDKSpec>`.
|
|
505
568
|
*/
|
|
506
|
-
using
|
|
507
|
-
std::shared_ptr<
|
|
508
|
-
void* _Nonnull
|
|
569
|
+
using std__shared_ptr_HybridConsentSDKSpec_ = std::shared_ptr<HybridConsentSDKSpec>;
|
|
570
|
+
std::shared_ptr<HybridConsentSDKSpec> create_std__shared_ptr_HybridConsentSDKSpec_(void* _Nonnull swiftUnsafePointer) noexcept;
|
|
571
|
+
void* _Nonnull get_std__shared_ptr_HybridConsentSDKSpec_(std__shared_ptr_HybridConsentSDKSpec_ cppType) noexcept;
|
|
509
572
|
|
|
510
|
-
// pragma MARK: std::weak_ptr<
|
|
511
|
-
using
|
|
512
|
-
inline
|
|
573
|
+
// pragma MARK: std::weak_ptr<HybridConsentSDKSpec>
|
|
574
|
+
using std__weak_ptr_HybridConsentSDKSpec_ = std::weak_ptr<HybridConsentSDKSpec>;
|
|
575
|
+
inline std__weak_ptr_HybridConsentSDKSpec_ weakify_std__shared_ptr_HybridConsentSDKSpec_(const std::shared_ptr<HybridConsentSDKSpec>& strong) noexcept { return strong; }
|
|
513
576
|
|
|
514
577
|
// pragma MARK: Result<void>
|
|
515
578
|
using Result_void_ = Result<void>;
|
|
516
|
-
inline Result_void_ create_Result_void_() {
|
|
579
|
+
inline Result_void_ create_Result_void_() noexcept {
|
|
517
580
|
return Result<void>::withValue();
|
|
518
581
|
}
|
|
519
|
-
inline Result_void_ create_Result_void_(const std::exception_ptr& error) {
|
|
582
|
+
inline Result_void_ create_Result_void_(const std::exception_ptr& error) noexcept {
|
|
520
583
|
return Result<void>::withError(error);
|
|
521
584
|
}
|
|
522
585
|
|
|
523
586
|
// pragma MARK: Result<bool>
|
|
524
587
|
using Result_bool_ = Result<bool>;
|
|
525
|
-
inline Result_bool_ create_Result_bool_(bool value) {
|
|
588
|
+
inline Result_bool_ create_Result_bool_(bool value) noexcept {
|
|
526
589
|
return Result<bool>::withValue(std::move(value));
|
|
527
590
|
}
|
|
528
|
-
inline Result_bool_ create_Result_bool_(const std::exception_ptr& error) {
|
|
591
|
+
inline Result_bool_ create_Result_bool_(const std::exception_ptr& error) noexcept {
|
|
529
592
|
return Result<bool>::withError(error);
|
|
530
593
|
}
|
|
531
594
|
|
|
532
595
|
// pragma MARK: Result<std::shared_ptr<Promise<std::string>>>
|
|
533
596
|
using Result_std__shared_ptr_Promise_std__string___ = Result<std::shared_ptr<Promise<std::string>>>;
|
|
534
|
-
inline Result_std__shared_ptr_Promise_std__string___ create_Result_std__shared_ptr_Promise_std__string___(const std::shared_ptr<Promise<std::string>>& value) {
|
|
597
|
+
inline Result_std__shared_ptr_Promise_std__string___ create_Result_std__shared_ptr_Promise_std__string___(const std::shared_ptr<Promise<std::string>>& value) noexcept {
|
|
535
598
|
return Result<std::shared_ptr<Promise<std::string>>>::withValue(value);
|
|
536
599
|
}
|
|
537
|
-
inline Result_std__shared_ptr_Promise_std__string___ create_Result_std__shared_ptr_Promise_std__string___(const std::exception_ptr& error) {
|
|
600
|
+
inline Result_std__shared_ptr_Promise_std__string___ create_Result_std__shared_ptr_Promise_std__string___(const std::exception_ptr& error) noexcept {
|
|
538
601
|
return Result<std::shared_ptr<Promise<std::string>>>::withError(error);
|
|
539
602
|
}
|
|
540
603
|
|
|
541
604
|
// pragma MARK: Result<std::shared_ptr<Promise<std::vector<AppPermission>>>>
|
|
542
605
|
using Result_std__shared_ptr_Promise_std__vector_AppPermission____ = Result<std::shared_ptr<Promise<std::vector<AppPermission>>>>;
|
|
543
|
-
inline Result_std__shared_ptr_Promise_std__vector_AppPermission____ create_Result_std__shared_ptr_Promise_std__vector_AppPermission____(const std::shared_ptr<Promise<std::vector<AppPermission>>>& value) {
|
|
606
|
+
inline Result_std__shared_ptr_Promise_std__vector_AppPermission____ create_Result_std__shared_ptr_Promise_std__vector_AppPermission____(const std::shared_ptr<Promise<std::vector<AppPermission>>>& value) noexcept {
|
|
544
607
|
return Result<std::shared_ptr<Promise<std::vector<AppPermission>>>>::withValue(value);
|
|
545
608
|
}
|
|
546
|
-
inline Result_std__shared_ptr_Promise_std__vector_AppPermission____ create_Result_std__shared_ptr_Promise_std__vector_AppPermission____(const std::exception_ptr& error) {
|
|
609
|
+
inline Result_std__shared_ptr_Promise_std__vector_AppPermission____ create_Result_std__shared_ptr_Promise_std__vector_AppPermission____(const std::exception_ptr& error) noexcept {
|
|
547
610
|
return Result<std::shared_ptr<Promise<std::vector<AppPermission>>>>::withError(error);
|
|
548
611
|
}
|
|
549
612
|
|
|
550
613
|
// pragma MARK: Result<std::shared_ptr<Promise<std::vector<Purpose>>>>
|
|
551
614
|
using Result_std__shared_ptr_Promise_std__vector_Purpose____ = Result<std::shared_ptr<Promise<std::vector<Purpose>>>>;
|
|
552
|
-
inline Result_std__shared_ptr_Promise_std__vector_Purpose____ create_Result_std__shared_ptr_Promise_std__vector_Purpose____(const std::shared_ptr<Promise<std::vector<Purpose>>>& value) {
|
|
615
|
+
inline Result_std__shared_ptr_Promise_std__vector_Purpose____ create_Result_std__shared_ptr_Promise_std__vector_Purpose____(const std::shared_ptr<Promise<std::vector<Purpose>>>& value) noexcept {
|
|
553
616
|
return Result<std::shared_ptr<Promise<std::vector<Purpose>>>>::withValue(value);
|
|
554
617
|
}
|
|
555
|
-
inline Result_std__shared_ptr_Promise_std__vector_Purpose____ create_Result_std__shared_ptr_Promise_std__vector_Purpose____(const std::exception_ptr& error) {
|
|
618
|
+
inline Result_std__shared_ptr_Promise_std__vector_Purpose____ create_Result_std__shared_ptr_Promise_std__vector_Purpose____(const std::exception_ptr& error) noexcept {
|
|
556
619
|
return Result<std::shared_ptr<Promise<std::vector<Purpose>>>>::withError(error);
|
|
557
620
|
}
|
|
558
621
|
|
|
559
622
|
// pragma MARK: Result<std::shared_ptr<Promise<std::vector<SDK>>>>
|
|
560
623
|
using Result_std__shared_ptr_Promise_std__vector_SDK____ = Result<std::shared_ptr<Promise<std::vector<SDK>>>>;
|
|
561
|
-
inline Result_std__shared_ptr_Promise_std__vector_SDK____ create_Result_std__shared_ptr_Promise_std__vector_SDK____(const std::shared_ptr<Promise<std::vector<SDK>>>& value) {
|
|
624
|
+
inline Result_std__shared_ptr_Promise_std__vector_SDK____ create_Result_std__shared_ptr_Promise_std__vector_SDK____(const std::shared_ptr<Promise<std::vector<SDK>>>& value) noexcept {
|
|
562
625
|
return Result<std::shared_ptr<Promise<std::vector<SDK>>>>::withValue(value);
|
|
563
626
|
}
|
|
564
|
-
inline Result_std__shared_ptr_Promise_std__vector_SDK____ create_Result_std__shared_ptr_Promise_std__vector_SDK____(const std::exception_ptr& error) {
|
|
627
|
+
inline Result_std__shared_ptr_Promise_std__vector_SDK____ create_Result_std__shared_ptr_Promise_std__vector_SDK____(const std::exception_ptr& error) noexcept {
|
|
565
628
|
return Result<std::shared_ptr<Promise<std::vector<SDK>>>>::withError(error);
|
|
566
629
|
}
|
|
567
630
|
|
|
568
631
|
// pragma MARK: Result<std::shared_ptr<Promise<std::optional<BannerConfig>>>>
|
|
569
632
|
using Result_std__shared_ptr_Promise_std__optional_BannerConfig____ = Result<std::shared_ptr<Promise<std::optional<BannerConfig>>>>;
|
|
570
|
-
inline Result_std__shared_ptr_Promise_std__optional_BannerConfig____ create_Result_std__shared_ptr_Promise_std__optional_BannerConfig____(const std::shared_ptr<Promise<std::optional<BannerConfig>>>& value) {
|
|
633
|
+
inline Result_std__shared_ptr_Promise_std__optional_BannerConfig____ create_Result_std__shared_ptr_Promise_std__optional_BannerConfig____(const std::shared_ptr<Promise<std::optional<BannerConfig>>>& value) noexcept {
|
|
571
634
|
return Result<std::shared_ptr<Promise<std::optional<BannerConfig>>>>::withValue(value);
|
|
572
635
|
}
|
|
573
|
-
inline Result_std__shared_ptr_Promise_std__optional_BannerConfig____ create_Result_std__shared_ptr_Promise_std__optional_BannerConfig____(const std::exception_ptr& error) {
|
|
636
|
+
inline Result_std__shared_ptr_Promise_std__optional_BannerConfig____ create_Result_std__shared_ptr_Promise_std__optional_BannerConfig____(const std::exception_ptr& error) noexcept {
|
|
574
637
|
return Result<std::shared_ptr<Promise<std::optional<BannerConfig>>>>::withError(error);
|
|
575
638
|
}
|
|
576
639
|
|
|
577
640
|
// pragma MARK: Result<std::optional<CmpSDKOptions>>
|
|
578
641
|
using Result_std__optional_CmpSDKOptions__ = Result<std::optional<CmpSDKOptions>>;
|
|
579
|
-
inline Result_std__optional_CmpSDKOptions__ create_Result_std__optional_CmpSDKOptions__(const std::optional<CmpSDKOptions>& value) {
|
|
642
|
+
inline Result_std__optional_CmpSDKOptions__ create_Result_std__optional_CmpSDKOptions__(const std::optional<CmpSDKOptions>& value) noexcept {
|
|
580
643
|
return Result<std::optional<CmpSDKOptions>>::withValue(value);
|
|
581
644
|
}
|
|
582
|
-
inline Result_std__optional_CmpSDKOptions__ create_Result_std__optional_CmpSDKOptions__(const std::exception_ptr& error) {
|
|
645
|
+
inline Result_std__optional_CmpSDKOptions__ create_Result_std__optional_CmpSDKOptions__(const std::exception_ptr& error) noexcept {
|
|
583
646
|
return Result<std::optional<CmpSDKOptions>>::withError(error);
|
|
584
647
|
}
|
|
585
648
|
|
|
586
649
|
// pragma MARK: Result<std::shared_ptr<Promise<std::optional<SettingsPrompt>>>>
|
|
587
650
|
using Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ = Result<std::shared_ptr<Promise<std::optional<SettingsPrompt>>>>;
|
|
588
|
-
inline Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ create_Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____(const std::shared_ptr<Promise<std::optional<SettingsPrompt>>>& value) {
|
|
651
|
+
inline Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ create_Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____(const std::shared_ptr<Promise<std::optional<SettingsPrompt>>>& value) noexcept {
|
|
589
652
|
return Result<std::shared_ptr<Promise<std::optional<SettingsPrompt>>>>::withValue(value);
|
|
590
653
|
}
|
|
591
|
-
inline Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ create_Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____(const std::exception_ptr& error) {
|
|
654
|
+
inline Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ create_Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____(const std::exception_ptr& error) noexcept {
|
|
592
655
|
return Result<std::shared_ptr<Promise<std::optional<SettingsPrompt>>>>::withError(error);
|
|
593
656
|
}
|
|
594
657
|
|
|
595
658
|
// pragma MARK: Result<std::shared_ptr<Promise<bool>>>
|
|
596
659
|
using Result_std__shared_ptr_Promise_bool___ = Result<std::shared_ptr<Promise<bool>>>;
|
|
597
|
-
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::shared_ptr<Promise<bool>>& value) {
|
|
660
|
+
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::shared_ptr<Promise<bool>>& value) noexcept {
|
|
598
661
|
return Result<std::shared_ptr<Promise<bool>>>::withValue(value);
|
|
599
662
|
}
|
|
600
|
-
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::exception_ptr& error) {
|
|
663
|
+
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::exception_ptr& error) noexcept {
|
|
601
664
|
return Result<std::shared_ptr<Promise<bool>>>::withError(error);
|
|
602
665
|
}
|
|
603
666
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
HybridObjectRegistry::registerHybridObjectConstructor(
|
|
25
25
|
"ConsentSDK",
|
|
26
26
|
[]() -> std::shared_ptr<HybridObject> {
|
|
27
|
-
std::shared_ptr<
|
|
27
|
+
std::shared_ptr<HybridConsentSDKSpec> hybridObject = NitroSecuritiConsentSdk::NitroSecuritiConsentSdkAutolinking::createConsentSDK();
|
|
28
28
|
return hybridObject;
|
|
29
29
|
}
|
|
30
30
|
);
|
|
@@ -15,9 +15,9 @@ public final class NitroSecuritiConsentSdkAutolinking {
|
|
|
15
15
|
* This is generated by Nitrogen and will initialize the class specified
|
|
16
16
|
* in the `"autolinking"` property of `nitro.json` (in this case, `HybridConsentSDK`).
|
|
17
17
|
*/
|
|
18
|
-
public static func createConsentSDK() -> bridge.
|
|
18
|
+
public static func createConsentSDK() -> bridge.std__shared_ptr_HybridConsentSDKSpec_ {
|
|
19
19
|
let hybridObject = HybridConsentSDK()
|
|
20
|
-
return { () -> bridge.
|
|
20
|
+
return { () -> bridge.std__shared_ptr_HybridConsentSDKSpec_ in
|
|
21
21
|
let __cxxWrapped = hybridObject.getCxxWrapper()
|
|
22
22
|
return __cxxWrapped.getCxxPart()
|
|
23
23
|
}()
|