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