@thegrizzlylabs/react-native-genius-scan 4.5.2 → 4.6.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.
Files changed (54) hide show
  1. package/README.md +19 -6
  2. package/android/build.gradle +3 -3
  3. package/android/src/main/java/com/geniusscansdk/reactnative/RNGeniusScanModule.java +7 -0
  4. package/index.js +1 -0
  5. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/GSSDKCore +0 -0
  6. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Headers/GSKPDFDocument.h +9 -1
  7. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Headers/GSSDKCore-Swift.h +300 -0
  8. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Info.plist +0 -0
  9. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios.abi.json +523 -0
  10. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios.private.swiftinterface +25 -0
  11. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  12. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios.swiftinterface +25 -0
  13. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Modules/module.modulemap +5 -0
  14. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/GSSDKCore +0 -0
  15. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Headers/GSKPDFDocument.h +9 -1
  16. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Headers/GSSDKCore-Swift.h +596 -0
  17. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Info.plist +0 -0
  18. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios-simulator.abi.json +523 -0
  19. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +25 -0
  20. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  21. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +25 -0
  22. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/x86_64-apple-ios-simulator.abi.json +523 -0
  23. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +25 -0
  24. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  25. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +25 -0
  26. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/module.modulemap +5 -0
  27. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/GSSDKOCR +0 -0
  28. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/Info.plist +0 -0
  29. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/GSSDKOCR +0 -0
  30. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/Info.plist +0 -0
  31. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Assets.car +0 -0
  32. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
  33. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Headers/GSSDKScanFlow-Swift.h +47 -2
  34. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Info.plist +0 -0
  35. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios.abi.json +1655 -0
  36. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios.private.swiftinterface +64 -0
  37. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  38. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios.swiftinterface +14 -12
  39. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Modules/module.modulemap +2 -2
  40. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Assets.car +0 -0
  41. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
  42. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Headers/GSSDKScanFlow-Swift.h +84 -4
  43. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Info.plist +0 -0
  44. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios-simulator.abi.json +1655 -0
  45. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +64 -0
  46. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  47. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -12
  48. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/x86_64-apple-ios-simulator.abi.json +1655 -0
  49. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +64 -0
  50. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  51. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +14 -12
  52. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/module.modulemap +2 -2
  53. package/ios/RNGeniusScan.m +27 -0
  54. package/package.json +1 -1
@@ -0,0 +1,596 @@
1
+ #if 0
2
+ #elif defined(__arm64__) && __arm64__
3
+ // Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
4
+ #ifndef GSSDKCORE_SWIFT_H
5
+ #define GSSDKCORE_SWIFT_H
6
+ #pragma clang diagnostic push
7
+ #pragma clang diagnostic ignored "-Wgcc-compat"
8
+
9
+ #if !defined(__has_include)
10
+ # define __has_include(x) 0
11
+ #endif
12
+ #if !defined(__has_attribute)
13
+ # define __has_attribute(x) 0
14
+ #endif
15
+ #if !defined(__has_feature)
16
+ # define __has_feature(x) 0
17
+ #endif
18
+ #if !defined(__has_warning)
19
+ # define __has_warning(x) 0
20
+ #endif
21
+
22
+ #if __has_include(<swift/objc-prologue.h>)
23
+ # include <swift/objc-prologue.h>
24
+ #endif
25
+
26
+ #pragma clang diagnostic ignored "-Wduplicate-method-match"
27
+ #pragma clang diagnostic ignored "-Wauto-import"
28
+ #if defined(__OBJC__)
29
+ #include <Foundation/Foundation.h>
30
+ #endif
31
+ #if defined(__cplusplus)
32
+ #include <cstdint>
33
+ #include <cstddef>
34
+ #include <cstdbool>
35
+ #else
36
+ #include <stdint.h>
37
+ #include <stddef.h>
38
+ #include <stdbool.h>
39
+ #endif
40
+
41
+ #if !defined(SWIFT_TYPEDEFS)
42
+ # define SWIFT_TYPEDEFS 1
43
+ # if __has_include(<uchar.h>)
44
+ # include <uchar.h>
45
+ # elif !defined(__cplusplus)
46
+ typedef uint_least16_t char16_t;
47
+ typedef uint_least32_t char32_t;
48
+ # endif
49
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
50
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
51
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
52
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
53
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
54
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
55
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
56
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
57
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
58
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
59
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
60
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
61
+ #endif
62
+
63
+ #if !defined(SWIFT_PASTE)
64
+ # define SWIFT_PASTE_HELPER(x, y) x##y
65
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
66
+ #endif
67
+ #if !defined(SWIFT_METATYPE)
68
+ # define SWIFT_METATYPE(X) Class
69
+ #endif
70
+ #if !defined(SWIFT_CLASS_PROPERTY)
71
+ # if __has_feature(objc_class_property)
72
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
73
+ # else
74
+ # define SWIFT_CLASS_PROPERTY(...)
75
+ # endif
76
+ #endif
77
+
78
+ #if __has_attribute(objc_runtime_name)
79
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
80
+ #else
81
+ # define SWIFT_RUNTIME_NAME(X)
82
+ #endif
83
+ #if __has_attribute(swift_name)
84
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
85
+ #else
86
+ # define SWIFT_COMPILE_NAME(X)
87
+ #endif
88
+ #if __has_attribute(objc_method_family)
89
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
90
+ #else
91
+ # define SWIFT_METHOD_FAMILY(X)
92
+ #endif
93
+ #if __has_attribute(noescape)
94
+ # define SWIFT_NOESCAPE __attribute__((noescape))
95
+ #else
96
+ # define SWIFT_NOESCAPE
97
+ #endif
98
+ #if __has_attribute(ns_consumed)
99
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
100
+ #else
101
+ # define SWIFT_RELEASES_ARGUMENT
102
+ #endif
103
+ #if __has_attribute(warn_unused_result)
104
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
105
+ #else
106
+ # define SWIFT_WARN_UNUSED_RESULT
107
+ #endif
108
+ #if __has_attribute(noreturn)
109
+ # define SWIFT_NORETURN __attribute__((noreturn))
110
+ #else
111
+ # define SWIFT_NORETURN
112
+ #endif
113
+ #if !defined(SWIFT_CLASS_EXTRA)
114
+ # define SWIFT_CLASS_EXTRA
115
+ #endif
116
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
117
+ # define SWIFT_PROTOCOL_EXTRA
118
+ #endif
119
+ #if !defined(SWIFT_ENUM_EXTRA)
120
+ # define SWIFT_ENUM_EXTRA
121
+ #endif
122
+ #if !defined(SWIFT_CLASS)
123
+ # if __has_attribute(objc_subclassing_restricted)
124
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
125
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
126
+ # else
127
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
128
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
129
+ # endif
130
+ #endif
131
+ #if !defined(SWIFT_RESILIENT_CLASS)
132
+ # if __has_attribute(objc_class_stub)
133
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
134
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
135
+ # else
136
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
137
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
138
+ # endif
139
+ #endif
140
+
141
+ #if !defined(SWIFT_PROTOCOL)
142
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
143
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
144
+ #endif
145
+
146
+ #if !defined(SWIFT_EXTENSION)
147
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
148
+ #endif
149
+
150
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
151
+ # if __has_attribute(objc_designated_initializer)
152
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
153
+ # else
154
+ # define OBJC_DESIGNATED_INITIALIZER
155
+ # endif
156
+ #endif
157
+ #if !defined(SWIFT_ENUM_ATTR)
158
+ # if defined(__has_attribute) && __has_attribute(enum_extensibility)
159
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
160
+ # else
161
+ # define SWIFT_ENUM_ATTR(_extensibility)
162
+ # endif
163
+ #endif
164
+ #if !defined(SWIFT_ENUM)
165
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
166
+ # if __has_feature(generalized_swift_name)
167
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
168
+ # else
169
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
170
+ # endif
171
+ #endif
172
+ #if !defined(SWIFT_UNAVAILABLE)
173
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
174
+ #endif
175
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
176
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
177
+ #endif
178
+ #if !defined(SWIFT_AVAILABILITY)
179
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
180
+ #endif
181
+ #if !defined(SWIFT_WEAK_IMPORT)
182
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
183
+ #endif
184
+ #if !defined(SWIFT_DEPRECATED)
185
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
186
+ #endif
187
+ #if !defined(SWIFT_DEPRECATED_MSG)
188
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
189
+ #endif
190
+ #if __has_feature(attribute_diagnose_if_objc)
191
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
192
+ #else
193
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
194
+ #endif
195
+ #if defined(__OBJC__)
196
+ #if !defined(IBSegueAction)
197
+ # define IBSegueAction
198
+ #endif
199
+ #endif
200
+ #if !defined(SWIFT_EXTERN)
201
+ # if defined(__cplusplus)
202
+ # define SWIFT_EXTERN extern "C"
203
+ # else
204
+ # define SWIFT_EXTERN extern
205
+ # endif
206
+ #endif
207
+ #if !defined(SWIFT_CALL)
208
+ # define SWIFT_CALL __attribute__((swiftcall))
209
+ #endif
210
+ #if defined(__cplusplus)
211
+ #if !defined(SWIFT_NOEXCEPT)
212
+ # define SWIFT_NOEXCEPT noexcept
213
+ #endif
214
+ #else
215
+ #if !defined(SWIFT_NOEXCEPT)
216
+ # define SWIFT_NOEXCEPT
217
+ #endif
218
+ #endif
219
+ #if defined(__cplusplus)
220
+ #if !defined(SWIFT_CXX_INT_DEFINED)
221
+ #define SWIFT_CXX_INT_DEFINED
222
+ namespace swift {
223
+ using Int = ptrdiff_t;
224
+ using UInt = size_t;
225
+ }
226
+ #endif
227
+ #endif
228
+ #if defined(__OBJC__)
229
+ #if __has_feature(modules)
230
+ #if __has_warning("-Watimport-in-framework-header")
231
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
232
+ #endif
233
+ @import Foundation;
234
+ @import ObjectiveC;
235
+ #endif
236
+
237
+ #import <GSSDKCore/GSSDKCore.h>
238
+
239
+ #endif
240
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
241
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
242
+ #if __has_warning("-Wpragma-clang-attribute")
243
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
244
+ #endif
245
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
246
+ #pragma clang diagnostic ignored "-Wnullability"
247
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
248
+
249
+ #if __has_attribute(external_source_symbol)
250
+ # pragma push_macro("any")
251
+ # undef any
252
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GSSDKCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
253
+ # pragma pop_macro("any")
254
+ #endif
255
+
256
+ #if defined(__OBJC__)
257
+ @class GSKPDFDocument;
258
+ @class GSKDocumentGeneratorConfiguration;
259
+
260
+ /// This class exposes the capacility to generate a PDF document file.
261
+ SWIFT_CLASS("_TtC9GSSDKCore20GSKDocumentGenerator")
262
+ @interface GSKDocumentGenerator : NSObject
263
+ /// Generates a document file based on a document model and a generator configuration.
264
+ - (BOOL)generate:(GSKPDFDocument * _Nonnull)document configuration:(GSKDocumentGeneratorConfiguration * _Nonnull)configuration error:(NSError * _Nullable * _Nullable)error;
265
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
266
+ @end
267
+
268
+ @class NSString;
269
+
270
+ SWIFT_CLASS("_TtC9GSSDKCore33GSKDocumentGeneratorConfiguration")
271
+ @interface GSKDocumentGeneratorConfiguration : NSObject
272
+ /// The path where the generated document will be written
273
+ @property (nonatomic, readonly, copy) NSString * _Nonnull outputFilePath;
274
+ - (nonnull instancetype)initWithOutputFilePath:(NSString * _Nonnull)outputFilePath OBJC_DESIGNATED_INITIALIZER;
275
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
276
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
277
+ @end
278
+
279
+
280
+ @interface GSKDocumentGeneratorConfiguration (SWIFT_EXTENSION(GSSDKCore))
281
+ - (nullable instancetype)initWithDictionary:(NSDictionary<NSString *, id> * _Nonnull)dictionary error:(NSError * _Nullable * _Nullable)error;
282
+ @end
283
+
284
+
285
+ @interface GSKPDFDocument (SWIFT_EXTENSION(GSSDKCore))
286
+ - (nullable instancetype)initWithDictionary:(NSDictionary<NSString *, id> * _Nonnull)dictionary error:(NSError * _Nullable * _Nullable)error;
287
+ @end
288
+
289
+ #endif
290
+ #if defined(__cplusplus)
291
+ #endif
292
+ #if __has_attribute(external_source_symbol)
293
+ # pragma clang attribute pop
294
+ #endif
295
+ #pragma clang diagnostic pop
296
+ #endif
297
+
298
+ #elif defined(__x86_64__) && __x86_64__
299
+ // Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
300
+ #ifndef GSSDKCORE_SWIFT_H
301
+ #define GSSDKCORE_SWIFT_H
302
+ #pragma clang diagnostic push
303
+ #pragma clang diagnostic ignored "-Wgcc-compat"
304
+
305
+ #if !defined(__has_include)
306
+ # define __has_include(x) 0
307
+ #endif
308
+ #if !defined(__has_attribute)
309
+ # define __has_attribute(x) 0
310
+ #endif
311
+ #if !defined(__has_feature)
312
+ # define __has_feature(x) 0
313
+ #endif
314
+ #if !defined(__has_warning)
315
+ # define __has_warning(x) 0
316
+ #endif
317
+
318
+ #if __has_include(<swift/objc-prologue.h>)
319
+ # include <swift/objc-prologue.h>
320
+ #endif
321
+
322
+ #pragma clang diagnostic ignored "-Wduplicate-method-match"
323
+ #pragma clang diagnostic ignored "-Wauto-import"
324
+ #if defined(__OBJC__)
325
+ #include <Foundation/Foundation.h>
326
+ #endif
327
+ #if defined(__cplusplus)
328
+ #include <cstdint>
329
+ #include <cstddef>
330
+ #include <cstdbool>
331
+ #else
332
+ #include <stdint.h>
333
+ #include <stddef.h>
334
+ #include <stdbool.h>
335
+ #endif
336
+
337
+ #if !defined(SWIFT_TYPEDEFS)
338
+ # define SWIFT_TYPEDEFS 1
339
+ # if __has_include(<uchar.h>)
340
+ # include <uchar.h>
341
+ # elif !defined(__cplusplus)
342
+ typedef uint_least16_t char16_t;
343
+ typedef uint_least32_t char32_t;
344
+ # endif
345
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
346
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
347
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
348
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
349
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
350
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
351
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
352
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
353
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
354
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
355
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
356
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
357
+ #endif
358
+
359
+ #if !defined(SWIFT_PASTE)
360
+ # define SWIFT_PASTE_HELPER(x, y) x##y
361
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
362
+ #endif
363
+ #if !defined(SWIFT_METATYPE)
364
+ # define SWIFT_METATYPE(X) Class
365
+ #endif
366
+ #if !defined(SWIFT_CLASS_PROPERTY)
367
+ # if __has_feature(objc_class_property)
368
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
369
+ # else
370
+ # define SWIFT_CLASS_PROPERTY(...)
371
+ # endif
372
+ #endif
373
+
374
+ #if __has_attribute(objc_runtime_name)
375
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
376
+ #else
377
+ # define SWIFT_RUNTIME_NAME(X)
378
+ #endif
379
+ #if __has_attribute(swift_name)
380
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
381
+ #else
382
+ # define SWIFT_COMPILE_NAME(X)
383
+ #endif
384
+ #if __has_attribute(objc_method_family)
385
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
386
+ #else
387
+ # define SWIFT_METHOD_FAMILY(X)
388
+ #endif
389
+ #if __has_attribute(noescape)
390
+ # define SWIFT_NOESCAPE __attribute__((noescape))
391
+ #else
392
+ # define SWIFT_NOESCAPE
393
+ #endif
394
+ #if __has_attribute(ns_consumed)
395
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
396
+ #else
397
+ # define SWIFT_RELEASES_ARGUMENT
398
+ #endif
399
+ #if __has_attribute(warn_unused_result)
400
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
401
+ #else
402
+ # define SWIFT_WARN_UNUSED_RESULT
403
+ #endif
404
+ #if __has_attribute(noreturn)
405
+ # define SWIFT_NORETURN __attribute__((noreturn))
406
+ #else
407
+ # define SWIFT_NORETURN
408
+ #endif
409
+ #if !defined(SWIFT_CLASS_EXTRA)
410
+ # define SWIFT_CLASS_EXTRA
411
+ #endif
412
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
413
+ # define SWIFT_PROTOCOL_EXTRA
414
+ #endif
415
+ #if !defined(SWIFT_ENUM_EXTRA)
416
+ # define SWIFT_ENUM_EXTRA
417
+ #endif
418
+ #if !defined(SWIFT_CLASS)
419
+ # if __has_attribute(objc_subclassing_restricted)
420
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
421
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
422
+ # else
423
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
424
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
425
+ # endif
426
+ #endif
427
+ #if !defined(SWIFT_RESILIENT_CLASS)
428
+ # if __has_attribute(objc_class_stub)
429
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
430
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
431
+ # else
432
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
433
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
434
+ # endif
435
+ #endif
436
+
437
+ #if !defined(SWIFT_PROTOCOL)
438
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
439
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
440
+ #endif
441
+
442
+ #if !defined(SWIFT_EXTENSION)
443
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
444
+ #endif
445
+
446
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
447
+ # if __has_attribute(objc_designated_initializer)
448
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
449
+ # else
450
+ # define OBJC_DESIGNATED_INITIALIZER
451
+ # endif
452
+ #endif
453
+ #if !defined(SWIFT_ENUM_ATTR)
454
+ # if defined(__has_attribute) && __has_attribute(enum_extensibility)
455
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
456
+ # else
457
+ # define SWIFT_ENUM_ATTR(_extensibility)
458
+ # endif
459
+ #endif
460
+ #if !defined(SWIFT_ENUM)
461
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
462
+ # if __has_feature(generalized_swift_name)
463
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
464
+ # else
465
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
466
+ # endif
467
+ #endif
468
+ #if !defined(SWIFT_UNAVAILABLE)
469
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
470
+ #endif
471
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
472
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
473
+ #endif
474
+ #if !defined(SWIFT_AVAILABILITY)
475
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
476
+ #endif
477
+ #if !defined(SWIFT_WEAK_IMPORT)
478
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
479
+ #endif
480
+ #if !defined(SWIFT_DEPRECATED)
481
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
482
+ #endif
483
+ #if !defined(SWIFT_DEPRECATED_MSG)
484
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
485
+ #endif
486
+ #if __has_feature(attribute_diagnose_if_objc)
487
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
488
+ #else
489
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
490
+ #endif
491
+ #if defined(__OBJC__)
492
+ #if !defined(IBSegueAction)
493
+ # define IBSegueAction
494
+ #endif
495
+ #endif
496
+ #if !defined(SWIFT_EXTERN)
497
+ # if defined(__cplusplus)
498
+ # define SWIFT_EXTERN extern "C"
499
+ # else
500
+ # define SWIFT_EXTERN extern
501
+ # endif
502
+ #endif
503
+ #if !defined(SWIFT_CALL)
504
+ # define SWIFT_CALL __attribute__((swiftcall))
505
+ #endif
506
+ #if defined(__cplusplus)
507
+ #if !defined(SWIFT_NOEXCEPT)
508
+ # define SWIFT_NOEXCEPT noexcept
509
+ #endif
510
+ #else
511
+ #if !defined(SWIFT_NOEXCEPT)
512
+ # define SWIFT_NOEXCEPT
513
+ #endif
514
+ #endif
515
+ #if defined(__cplusplus)
516
+ #if !defined(SWIFT_CXX_INT_DEFINED)
517
+ #define SWIFT_CXX_INT_DEFINED
518
+ namespace swift {
519
+ using Int = ptrdiff_t;
520
+ using UInt = size_t;
521
+ }
522
+ #endif
523
+ #endif
524
+ #if defined(__OBJC__)
525
+ #if __has_feature(modules)
526
+ #if __has_warning("-Watimport-in-framework-header")
527
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
528
+ #endif
529
+ @import Foundation;
530
+ @import ObjectiveC;
531
+ #endif
532
+
533
+ #import <GSSDKCore/GSSDKCore.h>
534
+
535
+ #endif
536
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
537
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
538
+ #if __has_warning("-Wpragma-clang-attribute")
539
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
540
+ #endif
541
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
542
+ #pragma clang diagnostic ignored "-Wnullability"
543
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
544
+
545
+ #if __has_attribute(external_source_symbol)
546
+ # pragma push_macro("any")
547
+ # undef any
548
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GSSDKCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
549
+ # pragma pop_macro("any")
550
+ #endif
551
+
552
+ #if defined(__OBJC__)
553
+ @class GSKPDFDocument;
554
+ @class GSKDocumentGeneratorConfiguration;
555
+
556
+ /// This class exposes the capacility to generate a PDF document file.
557
+ SWIFT_CLASS("_TtC9GSSDKCore20GSKDocumentGenerator")
558
+ @interface GSKDocumentGenerator : NSObject
559
+ /// Generates a document file based on a document model and a generator configuration.
560
+ - (BOOL)generate:(GSKPDFDocument * _Nonnull)document configuration:(GSKDocumentGeneratorConfiguration * _Nonnull)configuration error:(NSError * _Nullable * _Nullable)error;
561
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
562
+ @end
563
+
564
+ @class NSString;
565
+
566
+ SWIFT_CLASS("_TtC9GSSDKCore33GSKDocumentGeneratorConfiguration")
567
+ @interface GSKDocumentGeneratorConfiguration : NSObject
568
+ /// The path where the generated document will be written
569
+ @property (nonatomic, readonly, copy) NSString * _Nonnull outputFilePath;
570
+ - (nonnull instancetype)initWithOutputFilePath:(NSString * _Nonnull)outputFilePath OBJC_DESIGNATED_INITIALIZER;
571
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
572
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
573
+ @end
574
+
575
+
576
+ @interface GSKDocumentGeneratorConfiguration (SWIFT_EXTENSION(GSSDKCore))
577
+ - (nullable instancetype)initWithDictionary:(NSDictionary<NSString *, id> * _Nonnull)dictionary error:(NSError * _Nullable * _Nullable)error;
578
+ @end
579
+
580
+
581
+ @interface GSKPDFDocument (SWIFT_EXTENSION(GSSDKCore))
582
+ - (nullable instancetype)initWithDictionary:(NSDictionary<NSString *, id> * _Nonnull)dictionary error:(NSError * _Nullable * _Nullable)error;
583
+ @end
584
+
585
+ #endif
586
+ #if defined(__cplusplus)
587
+ #endif
588
+ #if __has_attribute(external_source_symbol)
589
+ # pragma clang attribute pop
590
+ #endif
591
+ #pragma clang diagnostic pop
592
+ #endif
593
+
594
+ #else
595
+ #error unsupported Swift architecture
596
+ #endif