@thegrizzlylabs/react-native-genius-scan 5.0.0-beta6 → 5.0.0-beta7

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 (23) hide show
  1. package/android/build.gradle +1 -1
  2. package/ios/GSSDK/GSSDK.xcframework/Info.plist +5 -5
  3. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
  4. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +16 -3
  5. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
  6. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +536 -0
  7. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +25 -0
  8. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  9. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +25 -0
  10. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/documentFinder.tflite +0 -0
  11. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
  12. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +32 -6
  13. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
  14. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +536 -0
  15. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +25 -0
  16. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  17. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +25 -0
  18. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +536 -0
  19. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +25 -0
  20. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  21. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +25 -0
  22. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/documentFinder.tflite +0 -0
  23. package/package.json +1 -1
@@ -21,6 +21,27 @@ import Vision
21
21
  import _Concurrency
22
22
  import _StringProcessing
23
23
  import _SwiftConcurrencyShims
24
+ @objcMembers final public class GSKDocumentFinderResult {
25
+ @objc final public let imageType: GSSDK.GSKDocumentFinderImageType
26
+ @objc public init(imageType: GSSDK.GSKDocumentFinderImageType)
27
+ @objc deinit
28
+ }
29
+ @objcMembers final public class GSKDocumentFinder {
30
+ @objc public init()
31
+ final public func findDocument(inImage image: UIKit.UIImage) throws -> GSSDK.GSKDocumentFinderResult
32
+ @objc deinit
33
+ }
34
+ @objc @frozen public enum GSKDocumentFinderImageType : Swift.Int {
35
+ case noDocument
36
+ case unwarped
37
+ case warped
38
+ case enhanced
39
+ public init?(rawValue: Swift.Int)
40
+ public typealias RawValue = Swift.Int
41
+ public var rawValue: Swift.Int {
42
+ get
43
+ }
44
+ }
24
45
  @_hasMissingDesignatedInitializers @objc final public class GSKLicenseKeyRefresher : ObjectiveC.NSObject {
25
46
  public typealias LicenseKey = Swift.String
26
47
  @objc final public var licenseKey: GSSDK.GSKLicenseKeyRefresher.LicenseKey {
@@ -505,6 +526,10 @@ public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View
505
526
  extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
506
527
  public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
507
528
  }
529
+ extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
530
+ extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
531
+ extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
532
+ extension GSSDK.GSKDocumentFinderImageType : Swift.Sendable {}
508
533
  extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
509
534
  extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
510
535
  extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
@@ -21,6 +21,27 @@ import Vision
21
21
  import _Concurrency
22
22
  import _StringProcessing
23
23
  import _SwiftConcurrencyShims
24
+ @objcMembers final public class GSKDocumentFinderResult {
25
+ @objc final public let imageType: GSSDK.GSKDocumentFinderImageType
26
+ @objc public init(imageType: GSSDK.GSKDocumentFinderImageType)
27
+ @objc deinit
28
+ }
29
+ @objcMembers final public class GSKDocumentFinder {
30
+ @objc public init()
31
+ final public func findDocument(inImage image: UIKit.UIImage) throws -> GSSDK.GSKDocumentFinderResult
32
+ @objc deinit
33
+ }
34
+ @objc @frozen public enum GSKDocumentFinderImageType : Swift.Int {
35
+ case noDocument
36
+ case unwarped
37
+ case warped
38
+ case enhanced
39
+ public init?(rawValue: Swift.Int)
40
+ public typealias RawValue = Swift.Int
41
+ public var rawValue: Swift.Int {
42
+ get
43
+ }
44
+ }
24
45
  @_hasMissingDesignatedInitializers @objc final public class GSKLicenseKeyRefresher : ObjectiveC.NSObject {
25
46
  public typealias LicenseKey = Swift.String
26
47
  @objc final public var licenseKey: GSSDK.GSKLicenseKeyRefresher.LicenseKey {
@@ -505,6 +526,10 @@ public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View
505
526
  extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
506
527
  public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
507
528
  }
529
+ extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
530
+ extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
531
+ extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
532
+ extension GSSDK.GSKDocumentFinderImageType : Swift.Sendable {}
508
533
  extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
509
534
  extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
510
535
  extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
@@ -4,6 +4,500 @@
4
4
  "name": "TopLevel",
5
5
  "printedName": "TopLevel",
6
6
  "children": [
7
+ {
8
+ "kind": "Import",
9
+ "name": "Foundation",
10
+ "printedName": "Foundation",
11
+ "declKind": "Import",
12
+ "moduleName": "GSSDK",
13
+ "declAttributes": [
14
+ "RawDocComment"
15
+ ]
16
+ },
17
+ {
18
+ "kind": "Import",
19
+ "name": "GSSDKObjC",
20
+ "printedName": "GSSDKObjC",
21
+ "declKind": "Import",
22
+ "moduleName": "GSSDK",
23
+ "declAttributes": [
24
+ "ImplementationOnly"
25
+ ]
26
+ },
27
+ {
28
+ "kind": "TypeDecl",
29
+ "name": "GSKDocumentFinderResult",
30
+ "printedName": "GSKDocumentFinderResult",
31
+ "children": [
32
+ {
33
+ "kind": "Var",
34
+ "name": "imageType",
35
+ "printedName": "imageType",
36
+ "children": [
37
+ {
38
+ "kind": "TypeNominal",
39
+ "name": "GSKDocumentFinderImageType",
40
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
41
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
42
+ }
43
+ ],
44
+ "declKind": "Var",
45
+ "usr": "s:5GSSDK23GSKDocumentFinderResultC9imageTypeAA0bc5ImageF0Ovp",
46
+ "mangledName": "$s5GSSDK23GSKDocumentFinderResultC9imageTypeAA0bc5ImageF0Ovp",
47
+ "moduleName": "GSSDK",
48
+ "declAttributes": [
49
+ "Final",
50
+ "HasStorage",
51
+ "AccessControl",
52
+ "ObjC"
53
+ ],
54
+ "isLet": true,
55
+ "hasStorage": true,
56
+ "accessors": [
57
+ {
58
+ "kind": "Accessor",
59
+ "name": "Get",
60
+ "printedName": "Get()",
61
+ "children": [
62
+ {
63
+ "kind": "TypeNominal",
64
+ "name": "GSKDocumentFinderImageType",
65
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
66
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
67
+ }
68
+ ],
69
+ "declKind": "Accessor",
70
+ "usr": "s:5GSSDK23GSKDocumentFinderResultC9imageTypeAA0bc5ImageF0Ovg",
71
+ "mangledName": "$s5GSSDK23GSKDocumentFinderResultC9imageTypeAA0bc5ImageF0Ovg",
72
+ "moduleName": "GSSDK",
73
+ "implicit": true,
74
+ "declAttributes": [
75
+ "Final",
76
+ "ObjC"
77
+ ],
78
+ "accessorKind": "get"
79
+ }
80
+ ]
81
+ },
82
+ {
83
+ "kind": "Constructor",
84
+ "name": "init",
85
+ "printedName": "init(imageType:)",
86
+ "children": [
87
+ {
88
+ "kind": "TypeNominal",
89
+ "name": "GSKDocumentFinderResult",
90
+ "printedName": "GSSDK.GSKDocumentFinderResult",
91
+ "usr": "s:5GSSDK23GSKDocumentFinderResultC"
92
+ },
93
+ {
94
+ "kind": "TypeNominal",
95
+ "name": "GSKDocumentFinderImageType",
96
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
97
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
98
+ }
99
+ ],
100
+ "declKind": "Constructor",
101
+ "usr": "s:5GSSDK23GSKDocumentFinderResultC9imageTypeAcA0bc5ImageF0O_tcfc",
102
+ "mangledName": "$s5GSSDK23GSKDocumentFinderResultC9imageTypeAcA0bc5ImageF0O_tcfc",
103
+ "moduleName": "GSSDK",
104
+ "declAttributes": [
105
+ "AccessControl",
106
+ "ObjC"
107
+ ],
108
+ "init_kind": "Designated"
109
+ }
110
+ ],
111
+ "declKind": "Class",
112
+ "usr": "s:5GSSDK23GSKDocumentFinderResultC",
113
+ "mangledName": "$s5GSSDK23GSKDocumentFinderResultC",
114
+ "moduleName": "GSSDK",
115
+ "declAttributes": [
116
+ "Final",
117
+ "AccessControl",
118
+ "ObjCMembers",
119
+ "RawDocComment"
120
+ ]
121
+ },
122
+ {
123
+ "kind": "TypeDecl",
124
+ "name": "GSKDocumentFinder",
125
+ "printedName": "GSKDocumentFinder",
126
+ "children": [
127
+ {
128
+ "kind": "Constructor",
129
+ "name": "init",
130
+ "printedName": "init()",
131
+ "children": [
132
+ {
133
+ "kind": "TypeNominal",
134
+ "name": "GSKDocumentFinder",
135
+ "printedName": "GSSDK.GSKDocumentFinder",
136
+ "usr": "s:5GSSDK17GSKDocumentFinderC"
137
+ }
138
+ ],
139
+ "declKind": "Constructor",
140
+ "usr": "s:5GSSDK17GSKDocumentFinderCACycfc",
141
+ "mangledName": "$s5GSSDK17GSKDocumentFinderCACycfc",
142
+ "moduleName": "GSSDK",
143
+ "declAttributes": [
144
+ "AccessControl",
145
+ "ObjC"
146
+ ],
147
+ "init_kind": "Designated"
148
+ },
149
+ {
150
+ "kind": "Function",
151
+ "name": "findDocument",
152
+ "printedName": "findDocument(inImage:)",
153
+ "children": [
154
+ {
155
+ "kind": "TypeNominal",
156
+ "name": "GSKDocumentFinderResult",
157
+ "printedName": "GSSDK.GSKDocumentFinderResult",
158
+ "usr": "s:5GSSDK23GSKDocumentFinderResultC"
159
+ },
160
+ {
161
+ "kind": "TypeNominal",
162
+ "name": "UIImage",
163
+ "printedName": "UIKit.UIImage",
164
+ "usr": "c:objc(cs)UIImage"
165
+ }
166
+ ],
167
+ "declKind": "Func",
168
+ "usr": "s:5GSSDK17GSKDocumentFinderC12findDocument7inImageAA0bC6ResultCSo7UIImageC_tKF",
169
+ "mangledName": "$s5GSSDK17GSKDocumentFinderC12findDocument7inImageAA0bC6ResultCSo7UIImageC_tKF",
170
+ "moduleName": "GSSDK",
171
+ "declAttributes": [
172
+ "Final",
173
+ "AccessControl"
174
+ ],
175
+ "throwing": true,
176
+ "funcSelfKind": "NonMutating"
177
+ }
178
+ ],
179
+ "declKind": "Class",
180
+ "usr": "s:5GSSDK17GSKDocumentFinderC",
181
+ "mangledName": "$s5GSSDK17GSKDocumentFinderC",
182
+ "moduleName": "GSSDK",
183
+ "declAttributes": [
184
+ "Final",
185
+ "AccessControl",
186
+ "ObjCMembers",
187
+ "RawDocComment"
188
+ ]
189
+ },
190
+ {
191
+ "kind": "Import",
192
+ "name": "Foundation",
193
+ "printedName": "Foundation",
194
+ "declKind": "Import",
195
+ "moduleName": "GSSDK"
196
+ },
197
+ {
198
+ "kind": "TypeDecl",
199
+ "name": "GSKDocumentFinderImageType",
200
+ "printedName": "GSKDocumentFinderImageType",
201
+ "children": [
202
+ {
203
+ "kind": "Var",
204
+ "name": "noDocument",
205
+ "printedName": "noDocument",
206
+ "children": [
207
+ {
208
+ "kind": "TypeFunc",
209
+ "name": "Function",
210
+ "printedName": "(GSSDK.GSKDocumentFinderImageType.Type) -> GSSDK.GSKDocumentFinderImageType",
211
+ "children": [
212
+ {
213
+ "kind": "TypeNominal",
214
+ "name": "GSKDocumentFinderImageType",
215
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
216
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
217
+ },
218
+ {
219
+ "kind": "TypeNominal",
220
+ "name": "Metatype",
221
+ "printedName": "GSSDK.GSKDocumentFinderImageType.Type",
222
+ "children": [
223
+ {
224
+ "kind": "TypeNominal",
225
+ "name": "GSKDocumentFinderImageType",
226
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
227
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
228
+ }
229
+ ]
230
+ }
231
+ ]
232
+ }
233
+ ],
234
+ "declKind": "EnumElement",
235
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType@GSKDocumentFinderImageTypeNoDocument",
236
+ "mangledName": "$s5GSSDK26GSKDocumentFinderImageTypeO10noDocumentyA2CmF",
237
+ "moduleName": "GSSDK",
238
+ "declAttributes": [
239
+ "RawDocComment",
240
+ "ObjC"
241
+ ],
242
+ "fixedbinaryorder": 0
243
+ },
244
+ {
245
+ "kind": "Var",
246
+ "name": "unwarped",
247
+ "printedName": "unwarped",
248
+ "children": [
249
+ {
250
+ "kind": "TypeFunc",
251
+ "name": "Function",
252
+ "printedName": "(GSSDK.GSKDocumentFinderImageType.Type) -> GSSDK.GSKDocumentFinderImageType",
253
+ "children": [
254
+ {
255
+ "kind": "TypeNominal",
256
+ "name": "GSKDocumentFinderImageType",
257
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
258
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
259
+ },
260
+ {
261
+ "kind": "TypeNominal",
262
+ "name": "Metatype",
263
+ "printedName": "GSSDK.GSKDocumentFinderImageType.Type",
264
+ "children": [
265
+ {
266
+ "kind": "TypeNominal",
267
+ "name": "GSKDocumentFinderImageType",
268
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
269
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
270
+ }
271
+ ]
272
+ }
273
+ ]
274
+ }
275
+ ],
276
+ "declKind": "EnumElement",
277
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType@GSKDocumentFinderImageTypeUnwarped",
278
+ "mangledName": "$s5GSSDK26GSKDocumentFinderImageTypeO8unwarpedyA2CmF",
279
+ "moduleName": "GSSDK",
280
+ "declAttributes": [
281
+ "RawDocComment",
282
+ "ObjC"
283
+ ],
284
+ "fixedbinaryorder": 1
285
+ },
286
+ {
287
+ "kind": "Var",
288
+ "name": "warped",
289
+ "printedName": "warped",
290
+ "children": [
291
+ {
292
+ "kind": "TypeFunc",
293
+ "name": "Function",
294
+ "printedName": "(GSSDK.GSKDocumentFinderImageType.Type) -> GSSDK.GSKDocumentFinderImageType",
295
+ "children": [
296
+ {
297
+ "kind": "TypeNominal",
298
+ "name": "GSKDocumentFinderImageType",
299
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
300
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
301
+ },
302
+ {
303
+ "kind": "TypeNominal",
304
+ "name": "Metatype",
305
+ "printedName": "GSSDK.GSKDocumentFinderImageType.Type",
306
+ "children": [
307
+ {
308
+ "kind": "TypeNominal",
309
+ "name": "GSKDocumentFinderImageType",
310
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
311
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
312
+ }
313
+ ]
314
+ }
315
+ ]
316
+ }
317
+ ],
318
+ "declKind": "EnumElement",
319
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType@GSKDocumentFinderImageTypeWarped",
320
+ "mangledName": "$s5GSSDK26GSKDocumentFinderImageTypeO6warpedyA2CmF",
321
+ "moduleName": "GSSDK",
322
+ "declAttributes": [
323
+ "RawDocComment",
324
+ "ObjC"
325
+ ],
326
+ "fixedbinaryorder": 2
327
+ },
328
+ {
329
+ "kind": "Var",
330
+ "name": "enhanced",
331
+ "printedName": "enhanced",
332
+ "children": [
333
+ {
334
+ "kind": "TypeFunc",
335
+ "name": "Function",
336
+ "printedName": "(GSSDK.GSKDocumentFinderImageType.Type) -> GSSDK.GSKDocumentFinderImageType",
337
+ "children": [
338
+ {
339
+ "kind": "TypeNominal",
340
+ "name": "GSKDocumentFinderImageType",
341
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
342
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
343
+ },
344
+ {
345
+ "kind": "TypeNominal",
346
+ "name": "Metatype",
347
+ "printedName": "GSSDK.GSKDocumentFinderImageType.Type",
348
+ "children": [
349
+ {
350
+ "kind": "TypeNominal",
351
+ "name": "GSKDocumentFinderImageType",
352
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
353
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
354
+ }
355
+ ]
356
+ }
357
+ ]
358
+ }
359
+ ],
360
+ "declKind": "EnumElement",
361
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType@GSKDocumentFinderImageTypeEnhanced",
362
+ "mangledName": "$s5GSSDK26GSKDocumentFinderImageTypeO8enhancedyA2CmF",
363
+ "moduleName": "GSSDK",
364
+ "declAttributes": [
365
+ "RawDocComment",
366
+ "ObjC"
367
+ ],
368
+ "fixedbinaryorder": 3
369
+ },
370
+ {
371
+ "kind": "Constructor",
372
+ "name": "init",
373
+ "printedName": "init(rawValue:)",
374
+ "children": [
375
+ {
376
+ "kind": "TypeNominal",
377
+ "name": "Optional",
378
+ "printedName": "GSSDK.GSKDocumentFinderImageType?",
379
+ "children": [
380
+ {
381
+ "kind": "TypeNominal",
382
+ "name": "GSKDocumentFinderImageType",
383
+ "printedName": "GSSDK.GSKDocumentFinderImageType",
384
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType"
385
+ }
386
+ ],
387
+ "usr": "s:Sq"
388
+ },
389
+ {
390
+ "kind": "TypeNominal",
391
+ "name": "Int",
392
+ "printedName": "Swift.Int",
393
+ "usr": "s:Si"
394
+ }
395
+ ],
396
+ "declKind": "Constructor",
397
+ "usr": "s:5GSSDK26GSKDocumentFinderImageTypeO8rawValueACSgSi_tcfc",
398
+ "mangledName": "$s5GSSDK26GSKDocumentFinderImageTypeO8rawValueACSgSi_tcfc",
399
+ "moduleName": "GSSDK",
400
+ "implicit": true,
401
+ "init_kind": "Designated"
402
+ },
403
+ {
404
+ "kind": "Var",
405
+ "name": "rawValue",
406
+ "printedName": "rawValue",
407
+ "children": [
408
+ {
409
+ "kind": "TypeNominal",
410
+ "name": "Int",
411
+ "printedName": "Swift.Int",
412
+ "usr": "s:Si"
413
+ }
414
+ ],
415
+ "declKind": "Var",
416
+ "usr": "s:5GSSDK26GSKDocumentFinderImageTypeO8rawValueSivp",
417
+ "mangledName": "$s5GSSDK26GSKDocumentFinderImageTypeO8rawValueSivp",
418
+ "moduleName": "GSSDK",
419
+ "implicit": true,
420
+ "accessors": [
421
+ {
422
+ "kind": "Accessor",
423
+ "name": "Get",
424
+ "printedName": "Get()",
425
+ "children": [
426
+ {
427
+ "kind": "TypeNominal",
428
+ "name": "Int",
429
+ "printedName": "Swift.Int",
430
+ "usr": "s:Si"
431
+ }
432
+ ],
433
+ "declKind": "Accessor",
434
+ "usr": "s:5GSSDK26GSKDocumentFinderImageTypeO8rawValueSivg",
435
+ "mangledName": "$s5GSSDK26GSKDocumentFinderImageTypeO8rawValueSivg",
436
+ "moduleName": "GSSDK",
437
+ "implicit": true,
438
+ "accessorKind": "get"
439
+ }
440
+ ]
441
+ }
442
+ ],
443
+ "declKind": "Enum",
444
+ "usr": "c:@M@GSSDK@E@GSKDocumentFinderImageType",
445
+ "mangledName": "$s5GSSDK26GSKDocumentFinderImageTypeO",
446
+ "moduleName": "GSSDK",
447
+ "declAttributes": [
448
+ "AccessControl",
449
+ "Frozen",
450
+ "ObjC",
451
+ "RawDocComment"
452
+ ],
453
+ "enumRawTypeName": "Int",
454
+ "isEnumExhaustive": true,
455
+ "conformances": [
456
+ {
457
+ "kind": "Conformance",
458
+ "name": "Equatable",
459
+ "printedName": "Equatable",
460
+ "usr": "s:SQ",
461
+ "mangledName": "$sSQ"
462
+ },
463
+ {
464
+ "kind": "Conformance",
465
+ "name": "Hashable",
466
+ "printedName": "Hashable",
467
+ "usr": "s:SH",
468
+ "mangledName": "$sSH"
469
+ },
470
+ {
471
+ "kind": "Conformance",
472
+ "name": "RawRepresentable",
473
+ "printedName": "RawRepresentable",
474
+ "children": [
475
+ {
476
+ "kind": "TypeWitness",
477
+ "name": "RawValue",
478
+ "printedName": "RawValue",
479
+ "children": [
480
+ {
481
+ "kind": "TypeNominal",
482
+ "name": "Int",
483
+ "printedName": "Swift.Int",
484
+ "usr": "s:Si"
485
+ }
486
+ ]
487
+ }
488
+ ],
489
+ "usr": "s:SY",
490
+ "mangledName": "$sSY"
491
+ },
492
+ {
493
+ "kind": "Conformance",
494
+ "name": "Sendable",
495
+ "printedName": "Sendable",
496
+ "usr": "s:s8SendableP",
497
+ "mangledName": "$ss8SendableP"
498
+ }
499
+ ]
500
+ },
7
501
  {
8
502
  "kind": "Import",
9
503
  "name": "Foundation",
@@ -18733,6 +19227,48 @@
18733
19227
  "length": 4,
18734
19228
  "value": "true"
18735
19229
  },
19230
+ {
19231
+ "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Core\/GSKDocumentFinderImageType.swift",
19232
+ "kind": "IntegerLiteral",
19233
+ "offset": 307,
19234
+ "length": 8,
19235
+ "value": "1"
19236
+ },
19237
+ {
19238
+ "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Core\/GSKDocumentFinderImageType.swift",
19239
+ "kind": "IntegerLiteral",
19240
+ "offset": 417,
19241
+ "length": 6,
19242
+ "value": "2"
19243
+ },
19244
+ {
19245
+ "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Core\/GSKDocumentFinderImageType.swift",
19246
+ "kind": "IntegerLiteral",
19247
+ "offset": 543,
19248
+ "length": 8,
19249
+ "value": "3"
19250
+ },
19251
+ {
19252
+ "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Core\/GSKDocumentFinderImageType.swift",
19253
+ "kind": "IntegerLiteral",
19254
+ "offset": 307,
19255
+ "length": 8,
19256
+ "value": "1"
19257
+ },
19258
+ {
19259
+ "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Core\/GSKDocumentFinderImageType.swift",
19260
+ "kind": "IntegerLiteral",
19261
+ "offset": 417,
19262
+ "length": 6,
19263
+ "value": "2"
19264
+ },
19265
+ {
19266
+ "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Core\/GSKDocumentFinderImageType.swift",
19267
+ "kind": "IntegerLiteral",
19268
+ "offset": 543,
19269
+ "length": 8,
19270
+ "value": "3"
19271
+ },
18736
19272
  {
18737
19273
  "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Core\/GSKLicenseKeyAPI.swift",
18738
19274
  "kind": "StringLiteral",
@@ -21,6 +21,27 @@ import Vision
21
21
  import _Concurrency
22
22
  import _StringProcessing
23
23
  import _SwiftConcurrencyShims
24
+ @objcMembers final public class GSKDocumentFinderResult {
25
+ @objc final public let imageType: GSSDK.GSKDocumentFinderImageType
26
+ @objc public init(imageType: GSSDK.GSKDocumentFinderImageType)
27
+ @objc deinit
28
+ }
29
+ @objcMembers final public class GSKDocumentFinder {
30
+ @objc public init()
31
+ final public func findDocument(inImage image: UIKit.UIImage) throws -> GSSDK.GSKDocumentFinderResult
32
+ @objc deinit
33
+ }
34
+ @objc @frozen public enum GSKDocumentFinderImageType : Swift.Int {
35
+ case noDocument
36
+ case unwarped
37
+ case warped
38
+ case enhanced
39
+ public init?(rawValue: Swift.Int)
40
+ public typealias RawValue = Swift.Int
41
+ public var rawValue: Swift.Int {
42
+ get
43
+ }
44
+ }
24
45
  @_hasMissingDesignatedInitializers @objc final public class GSKLicenseKeyRefresher : ObjectiveC.NSObject {
25
46
  public typealias LicenseKey = Swift.String
26
47
  @objc final public var licenseKey: GSSDK.GSKLicenseKeyRefresher.LicenseKey {
@@ -505,6 +526,10 @@ public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View
505
526
  extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
506
527
  public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
507
528
  }
529
+ extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
530
+ extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
531
+ extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
532
+ extension GSSDK.GSKDocumentFinderImageType : Swift.Sendable {}
508
533
  extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
509
534
  extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
510
535
  extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}