@infilect-sdk/infiviz-shots-react-sdk 1.2.26 → 1.2.27

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 (21) hide show
  1. package/README.md +8 -0
  2. package/android/build.gradle +1 -1
  3. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/InfivizShotSDK +0 -0
  4. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios.abi.json +2734 -2138
  5. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +30 -19
  6. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  7. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios.swiftinterface +30 -19
  8. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/default_english.json +1 -1
  9. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/shotsSDK.storyboardc/xUL-ol-gRQ-view-6A8-mO-Rhi.nib +0 -0
  10. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/InfivizShotSDK +0 -0
  11. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +2734 -2138
  12. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +30 -19
  13. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  14. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +30 -19
  15. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2734 -2138
  16. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +30 -19
  17. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  18. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +30 -19
  19. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/default_english.json +1 -1
  20. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/shotsSDK.storyboardc/xUL-ol-gRQ-view-6A8-mO-Rhi.nib +0 -0
  21. package/package.json +1 -1
@@ -11,7 +11,6 @@ import CoreData
11
11
  import CoreImage
12
12
  import CoreLocation
13
13
  import CoreML
14
- import CoreServices
15
14
  import CoreVideo
16
15
  import CryptoKit
17
16
  import DeveloperToolsSupport
@@ -21,13 +20,16 @@ import ImageIO
21
20
  import MobileCoreServices
22
21
  import Network
23
22
  import Photos
23
+ import PhotosUI
24
24
  import Security
25
25
  import Swift
26
26
  import SwiftUI
27
27
  import SystemConfiguration
28
28
  import UIKit
29
+ import UniformTypeIdentifiers
29
30
  import Vision
30
31
  import _Concurrency
32
+ import _PhotosUI_SwiftUI
31
33
  import _StringProcessing
32
34
  import _SwiftConcurrencyShims
33
35
  extension UIKit.UITextField {
@@ -242,6 +244,23 @@ public struct ImageMetaData : Swift.Codable {
242
244
  @_hasMissingDesignatedInitializers final public class RealTimeView {
243
245
  @objc deinit
244
246
  }
247
+ public struct SDKStatus : Swift.Codable {
248
+ public let sdkInitialized: Swift.Bool
249
+ public let tokenValid: Swift.Bool
250
+ public let batteryPercent: Swift.Double
251
+ public let diskFreeMB: Swift.Double
252
+ public let diskConsumedMB: Swift.Double
253
+ public let ramFreeMB: Swift.Double
254
+ public let ramConsumedMB: Swift.Double
255
+ public let computeLoadPercent: Swift.Double
256
+ public let networkKbps: Swift.Double
257
+ public let timestamp: Swift.Int64
258
+ public init(sdkInitialized: Swift.Bool, tokenValid: Swift.Bool, batteryPercent: Swift.Double, diskFreeMB: Swift.Double, diskConsumedMB: Swift.Double, ramFreeMB: Swift.Double, ramConsumedMB: Swift.Double, computeLoadPercent: Swift.Double, networkKbps: Swift.Double, timestamp: Swift.Double = Date().timeIntervalSince1970)
259
+ public func toDictionary() -> [Swift.String : Any]
260
+ public func toJSONString() -> Swift.String?
261
+ public func encode(to encoder: any Swift.Encoder) throws
262
+ public init(from decoder: any Swift.Decoder) throws
263
+ }
245
264
  @objc @_inheritsConvenienceInitializers nonisolated public class DBMLModels : CoreData.NSManagedObject {
246
265
  @objc override nonisolated dynamic public init(entity: CoreData.NSEntityDescription, insertInto context: CoreData.NSManagedObjectContext?)
247
266
  @objc deinit
@@ -936,23 +955,6 @@ public struct RAMInfo {
936
955
  get
937
956
  }
938
957
  }
939
- public struct SDKStatus : Swift.Codable {
940
- public let sdkInitialized: Swift.Bool
941
- public let tokenValid: Swift.Bool
942
- public let batteryPercent: Swift.Double
943
- public let diskFreeMB: Swift.Double
944
- public let diskConsumedMB: Swift.Double
945
- public let ramFreeMB: Swift.Double
946
- public let ramConsumedMB: Swift.Double
947
- public let computeLoadPercent: Swift.Double
948
- public let networkKbps: Swift.Double
949
- public let timestamp: Swift.Int64
950
- public init(sdkInitialized: Swift.Bool, tokenValid: Swift.Bool, batteryPercent: Swift.Double, diskFreeMB: Swift.Double, diskConsumedMB: Swift.Double, ramFreeMB: Swift.Double, ramConsumedMB: Swift.Double, computeLoadPercent: Swift.Double, networkKbps: Swift.Double, timestamp: Swift.Double = Date().timeIntervalSince1970)
951
- public func toDictionary() -> [Swift.String : Any]
952
- public func toJSONString() -> Swift.String?
953
- public func encode(to encoder: any Swift.Encoder) throws
954
- public init(from decoder: any Swift.Decoder) throws
955
- }
956
958
  public enum CircularScrolling {
957
959
  public struct Configuration {
958
960
  public static var none: InfivizShotSDK.CircularScrollingConfigurationBuilder<InfivizShotSDK.CircularScrolling.None> {
@@ -2692,7 +2694,7 @@ extension InfivizShotSDK.DBMLModels : Swift.Identifiable {
2692
2694
  case logAnalyticsEventDataArchivalSuccess(minArchivalPeriod: Swift.Double?, maxArchivalPeriod: Swift.Double?)
2693
2695
  case logAnalyticsEventDataArchivalFailed(minArchivalPeriod: Swift.Double?, maxArchivalPeriod: Swift.Double?)
2694
2696
  case logAnalyticsEventDataArchivalCompleted(minArchivalPeriod: Swift.Double?, maxArchivalPeriod: Swift.Double?)
2695
- case logSdkException(externalSessionId: Swift.String?, exceptionMessage: Swift.String?, requestUrl: Swift.String?)
2697
+ case logSdkException(externalSessionId: Swift.String?, exceptionMessage: Swift.String?, requestUrl: Swift.String?, httpStatusCode: Swift.Int?)
2696
2698
  case logLowInternetConnectionDetected(externalSessionId: Swift.String?, calculatedBandwidthKbps: Swift.String?, connectionStatus: Swift.String?, networkState: Swift.String?, url: Swift.String?)
2697
2699
  case logProcessingSLABreached(sessionId: Swift.String, imageCount: Swift.Int, baseSLASec: Swift.Int, bufferSec: Swift.Int, effectiveSLA: Swift.Int, elapsedTimeSec: Swift.Int)
2698
2700
  case logImageUploadSlow(sessionId: Swift.String, imageUri: Swift.String, uploadDurationSec: Swift.Double, derivedUploadSpeedKbps: Swift.Double, reasonCode: Swift.Int)
@@ -3140,6 +3142,10 @@ public enum APIError : Swift.Error, Foundation.LocalizedError {
3140
3142
  case maxPhotoLimitExceeded
3141
3143
  case maxPhotoLimitOneGoExceeded
3142
3144
  case storeIDCannotBeNull
3145
+ case invalidStoreId
3146
+ case unsupportedPhotoType(photoType: Swift.String)
3147
+ case unsupportedDirection(direction: Swift.String)
3148
+ case missingCategory
3143
3149
  case invalidDateFormat
3144
3150
  case noActionsFound
3145
3151
  case actionableInsightsNotEnabled
@@ -3174,6 +3180,11 @@ public enum APIError : Swift.Error, Foundation.LocalizedError {
3174
3180
  get
3175
3181
  }
3176
3182
  }
3183
+ extension InfivizShotSDK.APIError {
3184
+ public var analyticsHttpStatusCode: Swift.Int? {
3185
+ get
3186
+ }
3187
+ }
3177
3188
  public enum ErrorType : Swift.String {
3178
3189
  case api
3179
3190
  case system
@@ -11,7 +11,6 @@ import CoreData
11
11
  import CoreImage
12
12
  import CoreLocation
13
13
  import CoreML
14
- import CoreServices
15
14
  import CoreVideo
16
15
  import CryptoKit
17
16
  import DeveloperToolsSupport
@@ -21,13 +20,16 @@ import ImageIO
21
20
  import MobileCoreServices
22
21
  import Network
23
22
  import Photos
23
+ import PhotosUI
24
24
  import Security
25
25
  import Swift
26
26
  import SwiftUI
27
27
  import SystemConfiguration
28
28
  import UIKit
29
+ import UniformTypeIdentifiers
29
30
  import Vision
30
31
  import _Concurrency
32
+ import _PhotosUI_SwiftUI
31
33
  import _StringProcessing
32
34
  import _SwiftConcurrencyShims
33
35
  extension UIKit.UITextField {
@@ -242,6 +244,23 @@ public struct ImageMetaData : Swift.Codable {
242
244
  @_hasMissingDesignatedInitializers final public class RealTimeView {
243
245
  @objc deinit
244
246
  }
247
+ public struct SDKStatus : Swift.Codable {
248
+ public let sdkInitialized: Swift.Bool
249
+ public let tokenValid: Swift.Bool
250
+ public let batteryPercent: Swift.Double
251
+ public let diskFreeMB: Swift.Double
252
+ public let diskConsumedMB: Swift.Double
253
+ public let ramFreeMB: Swift.Double
254
+ public let ramConsumedMB: Swift.Double
255
+ public let computeLoadPercent: Swift.Double
256
+ public let networkKbps: Swift.Double
257
+ public let timestamp: Swift.Int64
258
+ public init(sdkInitialized: Swift.Bool, tokenValid: Swift.Bool, batteryPercent: Swift.Double, diskFreeMB: Swift.Double, diskConsumedMB: Swift.Double, ramFreeMB: Swift.Double, ramConsumedMB: Swift.Double, computeLoadPercent: Swift.Double, networkKbps: Swift.Double, timestamp: Swift.Double = Date().timeIntervalSince1970)
259
+ public func toDictionary() -> [Swift.String : Any]
260
+ public func toJSONString() -> Swift.String?
261
+ public func encode(to encoder: any Swift.Encoder) throws
262
+ public init(from decoder: any Swift.Decoder) throws
263
+ }
245
264
  @objc @_inheritsConvenienceInitializers nonisolated public class DBMLModels : CoreData.NSManagedObject {
246
265
  @objc override nonisolated dynamic public init(entity: CoreData.NSEntityDescription, insertInto context: CoreData.NSManagedObjectContext?)
247
266
  @objc deinit
@@ -936,23 +955,6 @@ public struct RAMInfo {
936
955
  get
937
956
  }
938
957
  }
939
- public struct SDKStatus : Swift.Codable {
940
- public let sdkInitialized: Swift.Bool
941
- public let tokenValid: Swift.Bool
942
- public let batteryPercent: Swift.Double
943
- public let diskFreeMB: Swift.Double
944
- public let diskConsumedMB: Swift.Double
945
- public let ramFreeMB: Swift.Double
946
- public let ramConsumedMB: Swift.Double
947
- public let computeLoadPercent: Swift.Double
948
- public let networkKbps: Swift.Double
949
- public let timestamp: Swift.Int64
950
- public init(sdkInitialized: Swift.Bool, tokenValid: Swift.Bool, batteryPercent: Swift.Double, diskFreeMB: Swift.Double, diskConsumedMB: Swift.Double, ramFreeMB: Swift.Double, ramConsumedMB: Swift.Double, computeLoadPercent: Swift.Double, networkKbps: Swift.Double, timestamp: Swift.Double = Date().timeIntervalSince1970)
951
- public func toDictionary() -> [Swift.String : Any]
952
- public func toJSONString() -> Swift.String?
953
- public func encode(to encoder: any Swift.Encoder) throws
954
- public init(from decoder: any Swift.Decoder) throws
955
- }
956
958
  public enum CircularScrolling {
957
959
  public struct Configuration {
958
960
  public static var none: InfivizShotSDK.CircularScrollingConfigurationBuilder<InfivizShotSDK.CircularScrolling.None> {
@@ -2692,7 +2694,7 @@ extension InfivizShotSDK.DBMLModels : Swift.Identifiable {
2692
2694
  case logAnalyticsEventDataArchivalSuccess(minArchivalPeriod: Swift.Double?, maxArchivalPeriod: Swift.Double?)
2693
2695
  case logAnalyticsEventDataArchivalFailed(minArchivalPeriod: Swift.Double?, maxArchivalPeriod: Swift.Double?)
2694
2696
  case logAnalyticsEventDataArchivalCompleted(minArchivalPeriod: Swift.Double?, maxArchivalPeriod: Swift.Double?)
2695
- case logSdkException(externalSessionId: Swift.String?, exceptionMessage: Swift.String?, requestUrl: Swift.String?)
2697
+ case logSdkException(externalSessionId: Swift.String?, exceptionMessage: Swift.String?, requestUrl: Swift.String?, httpStatusCode: Swift.Int?)
2696
2698
  case logLowInternetConnectionDetected(externalSessionId: Swift.String?, calculatedBandwidthKbps: Swift.String?, connectionStatus: Swift.String?, networkState: Swift.String?, url: Swift.String?)
2697
2699
  case logProcessingSLABreached(sessionId: Swift.String, imageCount: Swift.Int, baseSLASec: Swift.Int, bufferSec: Swift.Int, effectiveSLA: Swift.Int, elapsedTimeSec: Swift.Int)
2698
2700
  case logImageUploadSlow(sessionId: Swift.String, imageUri: Swift.String, uploadDurationSec: Swift.Double, derivedUploadSpeedKbps: Swift.Double, reasonCode: Swift.Int)
@@ -3140,6 +3142,10 @@ public enum APIError : Swift.Error, Foundation.LocalizedError {
3140
3142
  case maxPhotoLimitExceeded
3141
3143
  case maxPhotoLimitOneGoExceeded
3142
3144
  case storeIDCannotBeNull
3145
+ case invalidStoreId
3146
+ case unsupportedPhotoType(photoType: Swift.String)
3147
+ case unsupportedDirection(direction: Swift.String)
3148
+ case missingCategory
3143
3149
  case invalidDateFormat
3144
3150
  case noActionsFound
3145
3151
  case actionableInsightsNotEnabled
@@ -3174,6 +3180,11 @@ public enum APIError : Swift.Error, Foundation.LocalizedError {
3174
3180
  get
3175
3181
  }
3176
3182
  }
3183
+ extension InfivizShotSDK.APIError {
3184
+ public var analyticsHttpStatusCode: Swift.Int? {
3185
+ get
3186
+ }
3187
+ }
3177
3188
  public enum ErrorType : Swift.String {
3178
3189
  case api
3179
3190
  case system
@@ -56,7 +56,7 @@
56
56
  , "active": true
57
57
  },
58
58
  "camera_screen_camera_permission": {
59
- "value": "Camera permission is not given. Please allow camera form settings."
59
+ "value": "Camera permission is not granted. Please allow camera access from Settings."
60
60
  , "active": true
61
61
  },
62
62
  "push_notification_permission": {