@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.
- package/android/build.gradle +1 -1
- package/android/src/main/java/ai/doorstep/dropoffsdk/capacitor/DoorstepAIDropoffSDKPlugin.kt +133 -1
- package/dist/docs.json +282 -1
- package/dist/esm/definitions.d.ts +69 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/web.d.ts +13 -1
- package/dist/esm/web.js +15 -0
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +15 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +15 -2
- package/dist/plugin.js.map +1 -1
- 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 +5365 -1558
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +82 -9
- 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 +82 -9
- 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 -2113
- 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 +5365 -1558
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +82 -9
- 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 +82 -9
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +5365 -1558
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +82 -9
- 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 +82 -9
- 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 -2113
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +2616 -2102
- package/ios/Plugin/DoorstepAIDropoffSDKPlugin.m +5 -0
- package/ios/Plugin/DoorstepAIDropoffSDKPlugin.swift +132 -1
- 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
|
+
// 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 x86_64-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,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 {}
|
|
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 x86_64-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,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,47 +14,47 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
o0aKoGy+SKbxoGsEcD7PKHz/mbY=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
TqTy4Vqg6Qr2PEyLZxxKroEgEdU=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
OygxZGpk3d3Hgz/qUDQvXyDG9Mg=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
neRVsszJRJLJNlz1r8QDv8OIB8k=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
OygxZGpk3d3Hgz/qUDQvXyDG9Mg=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
9sZwZM/JBmsrI1tR+O7FTuOLdBM=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
TqTy4Vqg6Qr2PEyLZxxKroEgEdU=
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
JO1dequKJYSN4OYkGYezaAocfFA=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
B2tHGBYZu7/+/x9+sYe+OAi9dcM=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
JO1dequKJYSN4OYkGYezaAocfFA=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
1CpwF1Y626ZlbeCGj7d/DBE2UJc=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/module.modulemap</key>
|
|
60
60
|
<data>
|
|
@@ -85,70 +85,70 @@
|
|
|
85
85
|
<dict>
|
|
86
86
|
<key>hash2</key>
|
|
87
87
|
<data>
|
|
88
|
-
|
|
88
|
+
fmnDwPQgkjBoafaWpXc2BYxVRrtA4vuejv0LWNqOxwE=
|
|
89
89
|
</data>
|
|
90
90
|
</dict>
|
|
91
91
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
92
92
|
<dict>
|
|
93
93
|
<key>hash2</key>
|
|
94
94
|
<data>
|
|
95
|
-
|
|
95
|
+
AJJOIYi7NFH4JvcxTr1VL6/02pgEdwPW3LaQxcgTDe8=
|
|
96
96
|
</data>
|
|
97
97
|
</dict>
|
|
98
98
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
99
99
|
<dict>
|
|
100
100
|
<key>hash2</key>
|
|
101
101
|
<data>
|
|
102
|
-
|
|
102
|
+
uLv2Jff9fIRaMiv1HN37YmBc1vxtjD6v6f/ZGJzAbQI=
|
|
103
103
|
</data>
|
|
104
104
|
</dict>
|
|
105
105
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
106
106
|
<dict>
|
|
107
107
|
<key>hash2</key>
|
|
108
108
|
<data>
|
|
109
|
-
|
|
109
|
+
AJJOIYi7NFH4JvcxTr1VL6/02pgEdwPW3LaQxcgTDe8=
|
|
110
110
|
</data>
|
|
111
111
|
</dict>
|
|
112
112
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
113
113
|
<dict>
|
|
114
114
|
<key>hash2</key>
|
|
115
115
|
<data>
|
|
116
|
-
|
|
116
|
+
ZAhJDLkH+GBlIgtKsR2pdP7sUmlmxZfc/7niFXgAcZU=
|
|
117
117
|
</data>
|
|
118
118
|
</dict>
|
|
119
119
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
120
120
|
<dict>
|
|
121
121
|
<key>hash2</key>
|
|
122
122
|
<data>
|
|
123
|
-
|
|
123
|
+
fmnDwPQgkjBoafaWpXc2BYxVRrtA4vuejv0LWNqOxwE=
|
|
124
124
|
</data>
|
|
125
125
|
</dict>
|
|
126
126
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
127
127
|
<dict>
|
|
128
128
|
<key>hash2</key>
|
|
129
129
|
<data>
|
|
130
|
-
|
|
130
|
+
eu5iWCqeSq3ABD0GDVuG+wBV2Ffhj99leuQzHbR/KNE=
|
|
131
131
|
</data>
|
|
132
132
|
</dict>
|
|
133
133
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
134
134
|
<dict>
|
|
135
135
|
<key>hash2</key>
|
|
136
136
|
<data>
|
|
137
|
-
|
|
137
|
+
oB7F3QX+erSqwJ9nzt8xrIPFjAO6qz2jpecT8JCLrkw=
|
|
138
138
|
</data>
|
|
139
139
|
</dict>
|
|
140
140
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
141
141
|
<dict>
|
|
142
142
|
<key>hash2</key>
|
|
143
143
|
<data>
|
|
144
|
-
|
|
144
|
+
eu5iWCqeSq3ABD0GDVuG+wBV2Ffhj99leuQzHbR/KNE=
|
|
145
145
|
</data>
|
|
146
146
|
</dict>
|
|
147
147
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
148
148
|
<dict>
|
|
149
149
|
<key>hash2</key>
|
|
150
150
|
<data>
|
|
151
|
-
|
|
151
|
+
JKFQLsU22tq04oVEPfcEE7F6IF2DIiNXVEpmXuZMoSc=
|
|
152
152
|
</data>
|
|
153
153
|
</dict>
|
|
154
154
|
<key>Modules/module.modulemap</key>
|