@doorstepai/dropoff-sdk 2.0.8 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepAIModule.kt +159 -2
- package/ios/DoorstepAI.mm +20 -2
- package/ios/DoorstepAI.swift +140 -5
- package/ios/DoorstepDropoffSDK.xcframework/Info.plist +5 -5
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Info.plist +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +5341 -1609
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +77 -4
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface +77 -4
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +11 -11
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2630 -2116
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Info.plist +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +5341 -1609
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +77 -4
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +77 -4
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +5341 -1609
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +77 -4
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +77 -4
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +21 -21
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2630 -2116
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +2616 -2105
- package/lib/module/DoorstepAI.js +102 -5
- package/lib/module/DoorstepAI.js.map +1 -1
- package/lib/module/RootDoorstepAI.js +10 -1
- package/lib/module/RootDoorstepAI.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/DoorstepAI.d.ts +72 -3
- package/lib/typescript/src/DoorstepAI.d.ts.map +1 -1
- package/lib/typescript/src/RootDoorstepAI.d.ts +4 -1
- package/lib/typescript/src/RootDoorstepAI.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/DoorstepAI.tsx +162 -6
- package/src/RootDoorstepAI.tsx +18 -1
- package/src/index.tsx +4 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.3.
|
|
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-simulator -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.
|
|
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,9 +124,11 @@ 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
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
|
|
@@ -96,10 +139,39 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
96
139
|
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
|
|
97
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 {}
|
|
Binary file
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.3.
|
|
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-simulator -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.
|
|
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,9 +124,11 @@ 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
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
|
|
@@ -96,10 +139,39 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
96
139
|
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
|
|
97
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 {}
|