@doorstepai/dropoff-sdk-capacitor 1.0.2 → 1.0.3

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 (38) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/ai/doorstep/dropoffsdk/capacitor/DoorstepAIDropoffSDKPlugin.kt +133 -1
  3. package/dist/docs.json +282 -1
  4. package/dist/esm/definitions.d.ts +69 -6
  5. package/dist/esm/index.js.map +1 -1
  6. package/dist/esm/web.d.ts +13 -1
  7. package/dist/esm/web.js +15 -0
  8. package/dist/esm/web.js.map +1 -1
  9. package/dist/plugin.cjs.js +15 -2
  10. package/dist/plugin.cjs.js.map +1 -1
  11. package/dist/plugin.js +15 -2
  12. package/dist/plugin.js.map +1 -1
  13. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
  14. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Info.plist +0 -0
  15. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +5365 -1558
  16. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +82 -9
  17. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  18. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface +82 -9
  19. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +11 -11
  20. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
  21. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2630 -2113
  22. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
  23. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Info.plist +0 -0
  24. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +5365 -1558
  25. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +82 -9
  26. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  27. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +82 -9
  28. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +5365 -1558
  29. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +82 -9
  30. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  31. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +82 -9
  32. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +21 -21
  33. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
  34. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2630 -2113
  35. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +2616 -2102
  36. package/ios/Plugin/DoorstepAIDropoffSDKPlugin.m +5 -0
  37. package/ios/Plugin/DoorstepAIDropoffSDKPlugin.swift +132 -1
  38. package/package.json +1 -1
@@ -1,8 +1,9 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101)
2
+ // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
3
3
  // swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name DoorstepDropoffSDK
4
- // swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2
4
+ // swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
5
5
  import Compression
6
+ import CoreBluetooth
6
7
  import CoreLocation
7
8
  import CoreMotion
8
9
  @_exported import DoorstepDropoffSDK
@@ -29,6 +30,46 @@ public enum SDKLogLevel : Swift.Int, Swift.Codable, Swift.Comparable {
29
30
  get
30
31
  }
31
32
  }
33
+ public struct LiveStreamSnapshot {
34
+ public let stream: Swift.String
35
+ public let count: Swift.Int64
36
+ public let rateHz: Swift.Double
37
+ public let lastAgeMs: Swift.Int64
38
+ public let latest: Swift.Double?
39
+ public let recent: [Swift.Float]
40
+ }
41
+ public struct LiveAxisSnapshot {
42
+ public let x: [Swift.Float]
43
+ public let y: [Swift.Float]
44
+ public let z: [Swift.Float]
45
+ public let latestX: Swift.Double?
46
+ public let latestY: Swift.Double?
47
+ public let latestZ: Swift.Double?
48
+ }
49
+ public struct LiveDeviceEntry {
50
+ public let id: Swift.String
51
+ public let label: Swift.String?
52
+ public let rssi: Swift.Int
53
+ public let ageMs: Swift.Int64
54
+ public let extra: [Swift.String : Swift.String]
55
+ }
56
+ public struct LiveLatLng {
57
+ public let lat: Swift.Double
58
+ public let lon: Swift.Double
59
+ public let tsMs: Swift.Int64
60
+ }
61
+ @_hasMissingDesignatedInitializers final public class LiveMonitor {
62
+ public static let shared: DoorstepDropoffSDK.LiveMonitor
63
+ final public var enabled: Swift.Bool {
64
+ get
65
+ }
66
+ final public func setEnabled(_ on: Swift.Bool)
67
+ final public func snapshot(_ stream: Swift.String, _ nowMs: Swift.Int64) -> DoorstepDropoffSDK.LiveStreamSnapshot
68
+ final public func axisSnapshot(_ stream: Swift.String) -> DoorstepDropoffSDK.LiveAxisSnapshot?
69
+ final public func deviceList(_ stream: Swift.String, _ nowMs: Swift.Int64) -> [DoorstepDropoffSDK.LiveDeviceEntry]
70
+ final public func locationTrack() -> [DoorstepDropoffSDK.LiveLatLng]
71
+ @objc deinit
72
+ }
32
73
  public struct AddressType {
33
74
  public let streetNumber: Swift.String
34
75
  public let route: Swift.String
@@ -83,23 +124,54 @@ public enum DropoffType : Swift.String, Swift.Codable {
83
124
  @_hasMissingDesignatedInitializers public class DoorstepAI {
84
125
  public static let configDidLoadNotification: Foundation.Notification.Name
85
126
  public static let configDidFailToLoadNotification: Foundation.Notification.Name
127
+ public static let geofenceSessionStartedNotification: Foundation.Notification.Name
128
+ public static let geofenceSessionStoppedNotification: Foundation.Notification.Name
86
129
  public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
87
130
  public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
88
- public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true)
131
+ public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true, requestBluetooth: Swift.Bool = false)
89
132
  public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
90
133
  public static func enableDevMode(apiKey: Swift.String) async
91
- public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
134
+ public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
92
135
  @available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
93
- public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
94
- public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, customerId: Swift.String? = nil, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
95
- public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
136
+ public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
137
+ public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
138
+ public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
96
139
  @available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
97
- public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
140
+ public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
98
141
  public static func markDropoff(deliveryId: Swift.String, dropoffType: DoorstepDropoffSDK.DropoffType) async throws
99
- public static func newEvent(eventName: Swift.String, deliveryId: Swift.String) async throws
142
+ public static func newEvent(eventName: Swift.String, deliveryId: Swift.String, timestamp: Swift.Double? = nil) async throws
100
143
  public static func stopDelivery(deliveryId: Swift.String) async
144
+ public static func startRouteGeofencing(stops: [DoorstepDropoffSDK.DeliveryStop], options: DoorstepDropoffSDK.RouteGeofenceOptions = RouteGeofenceOptions())
145
+ public static func updateRouteStops(_ stops: [DoorstepDropoffSDK.DeliveryStop])
146
+ public static func stopRouteGeofencing()
147
+ public static func resumeRouteGeofencingIfNeeded()
148
+ public static var monitoredStops: [DoorstepDropoffSDK.DeliveryStop] {
149
+ get
150
+ }
101
151
  @objc deinit
102
152
  }
153
+ public struct DeliveryStop : Swift.Codable, Swift.Sendable, Swift.Equatable {
154
+ public let deliveryId: Swift.String
155
+ public let address: Swift.String
156
+ public let latitude: Swift.Double
157
+ public let longitude: Swift.Double
158
+ public let radiusMeters: Swift.Double?
159
+ public let customerId: Swift.String?
160
+ public let driverId: Swift.String?
161
+ public init(deliveryId: Swift.String, address: Swift.String, latitude: Swift.Double, longitude: Swift.Double, radiusMeters: Swift.Double? = nil, customerId: Swift.String? = nil, driverId: Swift.String? = nil)
162
+ public static func == (a: DoorstepDropoffSDK.DeliveryStop, b: DoorstepDropoffSDK.DeliveryStop) -> Swift.Bool
163
+ public func encode(to encoder: any Swift.Encoder) throws
164
+ public init(from decoder: any Swift.Decoder) throws
165
+ }
166
+ public struct RouteGeofenceOptions : Swift.Codable, Swift.Sendable, Swift.Equatable {
167
+ public var defaultRadiusMeters: Swift.Double
168
+ public var timeoutSeconds: Foundation.TimeInterval?
169
+ public var autoStopAfterDropoffSeconds: Foundation.TimeInterval?
170
+ public init(defaultRadiusMeters: Swift.Double = 250, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil)
171
+ public static func == (a: DoorstepDropoffSDK.RouteGeofenceOptions, b: DoorstepDropoffSDK.RouteGeofenceOptions) -> Swift.Bool
172
+ public func encode(to encoder: any Swift.Encoder) throws
173
+ public init(from decoder: any Swift.Decoder) throws
174
+ }
103
175
  @_Concurrency.MainActor @preconcurrency public struct DoorstepAIRoot : SwiftUICore.View {
104
176
  @_Concurrency.MainActor @preconcurrency public init()
105
177
  @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
@@ -109,6 +181,7 @@ public enum DropoffType : Swift.String, Swift.Codable {
109
181
  }
110
182
  public var csvOnlyMode: Swift.Bool
111
183
  public var lastCSVSessionDirectory: Foundation.URL?
184
+ public var bleScanningEnabled: Swift.Bool
112
185
  extension DoorstepDropoffSDK.SDKLogLevel : Swift.Hashable {}
113
186
  extension DoorstepDropoffSDK.SDKLogLevel : Swift.RawRepresentable {}
114
187
  extension DoorstepDropoffSDK.DropoffType : Swift.Equatable {}
@@ -1,8 +1,9 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101)
2
+ // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
3
3
  // swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name DoorstepDropoffSDK
4
- // swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2
4
+ // swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
5
5
  import Compression
6
+ import CoreBluetooth
6
7
  import CoreLocation
7
8
  import CoreMotion
8
9
  @_exported import DoorstepDropoffSDK
@@ -29,6 +30,46 @@ public enum SDKLogLevel : Swift.Int, Swift.Codable, Swift.Comparable {
29
30
  get
30
31
  }
31
32
  }
33
+ public struct LiveStreamSnapshot {
34
+ public let stream: Swift.String
35
+ public let count: Swift.Int64
36
+ public let rateHz: Swift.Double
37
+ public let lastAgeMs: Swift.Int64
38
+ public let latest: Swift.Double?
39
+ public let recent: [Swift.Float]
40
+ }
41
+ public struct LiveAxisSnapshot {
42
+ public let x: [Swift.Float]
43
+ public let y: [Swift.Float]
44
+ public let z: [Swift.Float]
45
+ public let latestX: Swift.Double?
46
+ public let latestY: Swift.Double?
47
+ public let latestZ: Swift.Double?
48
+ }
49
+ public struct LiveDeviceEntry {
50
+ public let id: Swift.String
51
+ public let label: Swift.String?
52
+ public let rssi: Swift.Int
53
+ public let ageMs: Swift.Int64
54
+ public let extra: [Swift.String : Swift.String]
55
+ }
56
+ public struct LiveLatLng {
57
+ public let lat: Swift.Double
58
+ public let lon: Swift.Double
59
+ public let tsMs: Swift.Int64
60
+ }
61
+ @_hasMissingDesignatedInitializers final public class LiveMonitor {
62
+ public static let shared: DoorstepDropoffSDK.LiveMonitor
63
+ final public var enabled: Swift.Bool {
64
+ get
65
+ }
66
+ final public func setEnabled(_ on: Swift.Bool)
67
+ final public func snapshot(_ stream: Swift.String, _ nowMs: Swift.Int64) -> DoorstepDropoffSDK.LiveStreamSnapshot
68
+ final public func axisSnapshot(_ stream: Swift.String) -> DoorstepDropoffSDK.LiveAxisSnapshot?
69
+ final public func deviceList(_ stream: Swift.String, _ nowMs: Swift.Int64) -> [DoorstepDropoffSDK.LiveDeviceEntry]
70
+ final public func locationTrack() -> [DoorstepDropoffSDK.LiveLatLng]
71
+ @objc deinit
72
+ }
32
73
  public struct AddressType {
33
74
  public let streetNumber: Swift.String
34
75
  public let route: Swift.String
@@ -83,23 +124,54 @@ public enum DropoffType : Swift.String, Swift.Codable {
83
124
  @_hasMissingDesignatedInitializers public class DoorstepAI {
84
125
  public static let configDidLoadNotification: Foundation.Notification.Name
85
126
  public static let configDidFailToLoadNotification: Foundation.Notification.Name
127
+ public static let geofenceSessionStartedNotification: Foundation.Notification.Name
128
+ public static let geofenceSessionStoppedNotification: Foundation.Notification.Name
86
129
  public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
87
130
  public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
88
- public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true)
131
+ public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true, requestBluetooth: Swift.Bool = false)
89
132
  public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
90
133
  public static func enableDevMode(apiKey: Swift.String) async
91
- public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
134
+ public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
92
135
  @available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
93
- public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
94
- public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, customerId: Swift.String? = nil, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
95
- public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
136
+ public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
137
+ public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
138
+ public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
96
139
  @available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
97
- public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
140
+ public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
98
141
  public static func markDropoff(deliveryId: Swift.String, dropoffType: DoorstepDropoffSDK.DropoffType) async throws
99
- public static func newEvent(eventName: Swift.String, deliveryId: Swift.String) async throws
142
+ public static func newEvent(eventName: Swift.String, deliveryId: Swift.String, timestamp: Swift.Double? = nil) async throws
100
143
  public static func stopDelivery(deliveryId: Swift.String) async
144
+ public static func startRouteGeofencing(stops: [DoorstepDropoffSDK.DeliveryStop], options: DoorstepDropoffSDK.RouteGeofenceOptions = RouteGeofenceOptions())
145
+ public static func updateRouteStops(_ stops: [DoorstepDropoffSDK.DeliveryStop])
146
+ public static func stopRouteGeofencing()
147
+ public static func resumeRouteGeofencingIfNeeded()
148
+ public static var monitoredStops: [DoorstepDropoffSDK.DeliveryStop] {
149
+ get
150
+ }
101
151
  @objc deinit
102
152
  }
153
+ public struct DeliveryStop : Swift.Codable, Swift.Sendable, Swift.Equatable {
154
+ public let deliveryId: Swift.String
155
+ public let address: Swift.String
156
+ public let latitude: Swift.Double
157
+ public let longitude: Swift.Double
158
+ public let radiusMeters: Swift.Double?
159
+ public let customerId: Swift.String?
160
+ public let driverId: Swift.String?
161
+ public init(deliveryId: Swift.String, address: Swift.String, latitude: Swift.Double, longitude: Swift.Double, radiusMeters: Swift.Double? = nil, customerId: Swift.String? = nil, driverId: Swift.String? = nil)
162
+ public static func == (a: DoorstepDropoffSDK.DeliveryStop, b: DoorstepDropoffSDK.DeliveryStop) -> Swift.Bool
163
+ public func encode(to encoder: any Swift.Encoder) throws
164
+ public init(from decoder: any Swift.Decoder) throws
165
+ }
166
+ public struct RouteGeofenceOptions : Swift.Codable, Swift.Sendable, Swift.Equatable {
167
+ public var defaultRadiusMeters: Swift.Double
168
+ public var timeoutSeconds: Foundation.TimeInterval?
169
+ public var autoStopAfterDropoffSeconds: Foundation.TimeInterval?
170
+ public init(defaultRadiusMeters: Swift.Double = 250, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil)
171
+ public static func == (a: DoorstepDropoffSDK.RouteGeofenceOptions, b: DoorstepDropoffSDK.RouteGeofenceOptions) -> Swift.Bool
172
+ public func encode(to encoder: any Swift.Encoder) throws
173
+ public init(from decoder: any Swift.Decoder) throws
174
+ }
103
175
  @_Concurrency.MainActor @preconcurrency public struct DoorstepAIRoot : SwiftUICore.View {
104
176
  @_Concurrency.MainActor @preconcurrency public init()
105
177
  @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
@@ -109,6 +181,7 @@ public enum DropoffType : Swift.String, Swift.Codable {
109
181
  }
110
182
  public var csvOnlyMode: Swift.Bool
111
183
  public var lastCSVSessionDirectory: Foundation.URL?
184
+ public var bleScanningEnabled: Swift.Bool
112
185
  extension DoorstepDropoffSDK.SDKLogLevel : Swift.Hashable {}
113
186
  extension DoorstepDropoffSDK.SDKLogLevel : Swift.RawRepresentable {}
114
187
  extension DoorstepDropoffSDK.DropoffType : Swift.Equatable {}
@@ -14,27 +14,27 @@
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- KYV0Bj2HHnicBKnmk9dnINrHP6c=
17
+ JOcQ9WLQ+zPfu6GisJYsyd6m/PY=
18
18
  </data>
19
19
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json</key>
20
20
  <data>
21
- MwjuHk3S1y5rr/PuSkvNSMjxOiA=
21
+ TqTy4Vqg6Qr2PEyLZxxKroEgEdU=
22
22
  </data>
23
23
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
24
24
  <data>
25
- K0ozSSVBCiGlyu08hCDomPcbnYk=
25
+ L5kcrdlmBWk7POEmNape+OC9dgk=
26
26
  </data>
27
27
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
28
28
  <data>
29
- utHe3RmyPtd7Z2tNHsO4BVqrH2I=
29
+ 0QCd1ismgk2BWhmWXm3NjoRCjo4=
30
30
  </data>
31
31
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
32
32
  <data>
33
- K0ozSSVBCiGlyu08hCDomPcbnYk=
33
+ L5kcrdlmBWk7POEmNape+OC9dgk=
34
34
  </data>
35
35
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
36
36
  <data>
37
- sCcx/jYiqwxSzpUlOCHR1haVIlo=
37
+ 15Hn4qRLRvWgSxmSCB5lI4aqj1Y=
38
38
  </data>
39
39
  <key>Modules/module.modulemap</key>
40
40
  <data>
@@ -65,35 +65,35 @@
65
65
  <dict>
66
66
  <key>hash2</key>
67
67
  <data>
68
- AZ+abBHb4LgveUKddob2RUy8jZDFMPS6AvsDjOnJ+zk=
68
+ fmnDwPQgkjBoafaWpXc2BYxVRrtA4vuejv0LWNqOxwE=
69
69
  </data>
70
70
  </dict>
71
71
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
72
72
  <dict>
73
73
  <key>hash2</key>
74
74
  <data>
75
- t+YX2paVsvmnSmeH+FLNTITgJWTcgcbVO37GxMGW9kw=
75
+ gNMdObWGybbgcAG3L044KPBQRLMHnNB6ZK3Rq4rhjbM=
76
76
  </data>
77
77
  </dict>
78
78
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
79
79
  <dict>
80
80
  <key>hash2</key>
81
81
  <data>
82
- MkpeG1lLF6p+ML649s5bh0QONs1Xy8rGnSK6pYbkPo4=
82
+ 4coTi5wWvUWasGzngekYTN8Pi/auhI+wFIq4oHkJrS8=
83
83
  </data>
84
84
  </dict>
85
85
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
86
86
  <dict>
87
87
  <key>hash2</key>
88
88
  <data>
89
- t+YX2paVsvmnSmeH+FLNTITgJWTcgcbVO37GxMGW9kw=
89
+ gNMdObWGybbgcAG3L044KPBQRLMHnNB6ZK3Rq4rhjbM=
90
90
  </data>
91
91
  </dict>
92
92
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
93
93
  <dict>
94
94
  <key>hash2</key>
95
95
  <data>
96
- mkAw+q62hGLYmskFVzXtSyOUxOd8ptY2X0+1ztTxr90=
96
+ ksEmEMo50Byce8BQN5WZqqlbLT2xZP/eZ1h7IIBR0fg=
97
97
  </data>
98
98
  </dict>
99
99
  <key>Modules/module.modulemap</key>