@doorstepai/dropoff-sdk 2.1.2 → 2.2.2
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/CHANGELOG.md +66 -0
- package/README.md +308 -41
- package/android/build.gradle +5 -1
- package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepAIModule.kt +566 -2
- package/ios/DoorstepAI.mm +12 -2
- package/ios/DoorstepAI.swift +151 -2
- 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/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +10582 -5745
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +95 -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 +95 -4
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +10 -10
- 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 +3833 -2687
- 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/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +10582 -5745
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +95 -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 +95 -4
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +10582 -5745
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +95 -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 +95 -4
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +20 -20
- 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 +3833 -2687
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +3802 -2674
- package/lib/module/DoorstepAI.js +425 -12
- package/lib/module/DoorstepAI.js.map +1 -1
- package/lib/module/RootDoorstepAI.js +88 -26
- package/lib/module/RootDoorstepAI.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/DoorstepAI.d.ts +349 -7
- package/lib/typescript/src/DoorstepAI.d.ts.map +1 -1
- package/lib/typescript/src/RootDoorstepAI.d.ts +31 -3
- 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 +2 -1
- package/src/DoorstepAI.tsx +575 -23
- package/src/RootDoorstepAI.tsx +130 -47
- package/src/index.tsx +10 -0
|
@@ -13,10 +13,29 @@ import SQLite3
|
|
|
13
13
|
import Swift
|
|
14
14
|
import SwiftUI
|
|
15
15
|
import UIKit
|
|
16
|
+
import UserNotifications
|
|
17
|
+
import WebKit
|
|
16
18
|
import _Concurrency
|
|
17
19
|
import _StringProcessing
|
|
18
20
|
import _SwiftConcurrencyShims
|
|
21
|
+
import _WebKit_SwiftUI
|
|
19
22
|
import os
|
|
23
|
+
public enum EmbedMode : Swift.String, Swift.Sendable {
|
|
24
|
+
case preview
|
|
25
|
+
case compact
|
|
26
|
+
public init?(rawValue: Swift.String)
|
|
27
|
+
public typealias RawValue = Swift.String
|
|
28
|
+
public var rawValue: Swift.String {
|
|
29
|
+
get
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
@_Concurrency.MainActor @preconcurrency public struct DoorstepEmbedView : SwiftUICore.View {
|
|
33
|
+
@_Concurrency.MainActor @preconcurrency public init(address: Swift.String, deliveryID: Swift.String? = nil, linkAPI: Swift.String = "https://api.core.doorstep.ai", mode: SwiftUICore.Binding<DoorstepDropoffSDK.EmbedMode>? = nil, inlineHeight: CoreFoundation.CGFloat = 300, expandedHeight: CoreFoundation.CGFloat = 600, baseMap: Swift.String = "light", parkingText: Swift.String = "95% of drivers parked here", markerColor: Swift.String = "#027FB8", polygonColor: Swift.String = "#3291BC", parkingColor: Swift.String = "#FF847B", onModeChanged: ((DoorstepDropoffSDK.EmbedMode) -> Swift.Void)? = nil, onError: ((Swift.String) -> Swift.Void)? = nil)
|
|
34
|
+
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
35
|
+
get
|
|
36
|
+
}
|
|
37
|
+
public typealias Body = @_opaqueReturnTypeOf("$s18DoorstepDropoffSDK0A9EmbedViewV4bodyQrvp", 0) __
|
|
38
|
+
}
|
|
20
39
|
public enum SDKLogLevel : Swift.Int, Swift.Codable, Swift.Comparable {
|
|
21
40
|
case debug
|
|
22
41
|
case info
|
|
@@ -111,6 +130,7 @@ extension DoorstepDropoffSDK.AddressType : DoorstepDropoffSDK.AddressDesignation
|
|
|
111
130
|
public enum DoorstepAIError : Swift.Error {
|
|
112
131
|
case sessionCreationFailed(Swift.String)
|
|
113
132
|
case invalidAddress
|
|
133
|
+
case unknownDeliveryId(Swift.String)
|
|
114
134
|
}
|
|
115
135
|
public enum DropoffType : Swift.String, Swift.Codable {
|
|
116
136
|
case pod
|
|
@@ -128,9 +148,16 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
128
148
|
public static let geofenceSessionStoppedNotification: Foundation.Notification.Name
|
|
129
149
|
public static let sessionServerIdAssignedNotification: Foundation.Notification.Name
|
|
130
150
|
public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
|
|
151
|
+
public static func setDoorstepGoApiKey(key: Swift.String)
|
|
131
152
|
public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
|
|
132
|
-
public static func
|
|
153
|
+
public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void, forSessionIdentifier identifier: Swift.String)
|
|
154
|
+
@_Concurrency.MainActor public static func checkPermissions(_ permissions: [DoorstepDropoffSDK.DoorstepPermission] = DoorstepPermission.all) -> [DoorstepDropoffSDK.DoorstepPermission : DoorstepDropoffSDK.DoorstepPermissionStatus]
|
|
155
|
+
@_Concurrency.MainActor public static func checkPermission(_ permission: DoorstepDropoffSDK.DoorstepPermission) -> DoorstepDropoffSDK.DoorstepPermissionStatus
|
|
156
|
+
@_Concurrency.MainActor public static func checkPermissionsJson(_ permissions: [DoorstepDropoffSDK.DoorstepPermission] = DoorstepPermission.all) -> Swift.String
|
|
157
|
+
@_Concurrency.MainActor public static func requestPermissions(_ permissions: [DoorstepDropoffSDK.DoorstepPermission] = DoorstepPermission.all, onlyIfNotDetermined: Swift.Bool = true, timeout: Foundation.TimeInterval = 120, completion: ((DoorstepDropoffSDK.DoorstepPermissionRequestResult) -> Swift.Void)? = nil)
|
|
158
|
+
public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true, requestBluetooth: Swift.Bool = true, onlyIfNotDetermined: Swift.Bool = true)
|
|
133
159
|
public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
|
|
160
|
+
public static func debugStateJson() -> Swift.String
|
|
134
161
|
public static func enableDevMode(apiKey: Swift.String) async
|
|
135
162
|
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
|
|
136
163
|
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
|
|
@@ -151,6 +178,54 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
151
178
|
}
|
|
152
179
|
@objc deinit
|
|
153
180
|
}
|
|
181
|
+
public enum DoorstepPermission : Swift.String, Swift.CaseIterable, Swift.Sendable {
|
|
182
|
+
case locationWhenInUse
|
|
183
|
+
case locationAlways
|
|
184
|
+
case motionFitness
|
|
185
|
+
case bluetooth
|
|
186
|
+
public static let all: [DoorstepDropoffSDK.DoorstepPermission]
|
|
187
|
+
public static func from(wireName: Swift.String) -> DoorstepDropoffSDK.DoorstepPermission?
|
|
188
|
+
public init?(rawValue: Swift.String)
|
|
189
|
+
public typealias AllCases = [DoorstepDropoffSDK.DoorstepPermission]
|
|
190
|
+
public typealias RawValue = Swift.String
|
|
191
|
+
nonisolated public static var allCases: [DoorstepDropoffSDK.DoorstepPermission] {
|
|
192
|
+
get
|
|
193
|
+
}
|
|
194
|
+
public var rawValue: Swift.String {
|
|
195
|
+
get
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
public enum DoorstepPermissionState : Swift.String, Swift.Sendable {
|
|
199
|
+
case granted
|
|
200
|
+
case notDetermined
|
|
201
|
+
case whenInUseOnly
|
|
202
|
+
case denied
|
|
203
|
+
case permanentlyDenied
|
|
204
|
+
case restricted
|
|
205
|
+
case unavailable
|
|
206
|
+
case notDeclared
|
|
207
|
+
public init?(rawValue: Swift.String)
|
|
208
|
+
public typealias RawValue = Swift.String
|
|
209
|
+
public var rawValue: Swift.String {
|
|
210
|
+
get
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
public struct DoorstepPermissionStatus : Swift.Sendable {
|
|
214
|
+
public let permission: DoorstepDropoffSDK.DoorstepPermission
|
|
215
|
+
public let state: DoorstepDropoffSDK.DoorstepPermissionState
|
|
216
|
+
public let osStatus: Swift.String
|
|
217
|
+
public let canRequest: Swift.Bool
|
|
218
|
+
}
|
|
219
|
+
public struct DoorstepPermissionRequestResult : Swift.Sendable {
|
|
220
|
+
public let requested: [DoorstepDropoffSDK.DoorstepPermission]
|
|
221
|
+
public let alreadyDetermined: [DoorstepDropoffSDK.DoorstepPermission]
|
|
222
|
+
public let unavailable: [DoorstepDropoffSDK.DoorstepPermission]
|
|
223
|
+
public let deferred: [DoorstepDropoffSDK.DoorstepPermission : Swift.String]
|
|
224
|
+
public let statuses: [DoorstepDropoffSDK.DoorstepPermission : DoorstepDropoffSDK.DoorstepPermissionStatus]
|
|
225
|
+
public var didRequest: Swift.Bool {
|
|
226
|
+
get
|
|
227
|
+
}
|
|
228
|
+
}
|
|
154
229
|
public struct DeliveryStop : Swift.Codable, Swift.Sendable, Swift.Equatable {
|
|
155
230
|
public let deliveryId: Swift.String
|
|
156
231
|
public let address: Swift.String
|
|
@@ -180,12 +255,28 @@ public struct RouteGeofenceOptions : Swift.Codable, Swift.Sendable, Swift.Equata
|
|
|
180
255
|
}
|
|
181
256
|
public typealias Body = @_opaqueReturnTypeOf("$s18DoorstepDropoffSDK0A6AIRootV4bodyQrvp", 0) __
|
|
182
257
|
}
|
|
183
|
-
public var csvOnlyMode: Swift.Bool
|
|
184
|
-
|
|
185
|
-
|
|
258
|
+
public var csvOnlyMode: Swift.Bool {
|
|
259
|
+
get
|
|
260
|
+
}
|
|
261
|
+
public var lastCSVSessionDirectory: Foundation.URL? {
|
|
262
|
+
get
|
|
263
|
+
}
|
|
264
|
+
public var bleScanningEnabled: Swift.Bool {
|
|
265
|
+
get
|
|
266
|
+
}
|
|
267
|
+
extension DoorstepDropoffSDK.EmbedMode : Swift.Equatable {}
|
|
268
|
+
extension DoorstepDropoffSDK.EmbedMode : Swift.Hashable {}
|
|
269
|
+
extension DoorstepDropoffSDK.EmbedMode : Swift.RawRepresentable {}
|
|
270
|
+
extension DoorstepDropoffSDK.DoorstepEmbedView : Swift.Sendable {}
|
|
186
271
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.Hashable {}
|
|
187
272
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.RawRepresentable {}
|
|
188
273
|
extension DoorstepDropoffSDK.DropoffType : Swift.Equatable {}
|
|
189
274
|
extension DoorstepDropoffSDK.DropoffType : Swift.Hashable {}
|
|
190
275
|
extension DoorstepDropoffSDK.DropoffType : Swift.RawRepresentable {}
|
|
276
|
+
extension DoorstepDropoffSDK.DoorstepPermission : Swift.Equatable {}
|
|
277
|
+
extension DoorstepDropoffSDK.DoorstepPermission : Swift.Hashable {}
|
|
278
|
+
extension DoorstepDropoffSDK.DoorstepPermission : Swift.RawRepresentable {}
|
|
279
|
+
extension DoorstepDropoffSDK.DoorstepPermissionState : Swift.Equatable {}
|
|
280
|
+
extension DoorstepDropoffSDK.DoorstepPermissionState : Swift.Hashable {}
|
|
281
|
+
extension DoorstepDropoffSDK.DoorstepPermissionState : Swift.RawRepresentable {}
|
|
191
282
|
extension DoorstepDropoffSDK.DoorstepAIRoot : Swift.Sendable {}
|
|
Binary file
|
|
@@ -13,10 +13,29 @@ import SQLite3
|
|
|
13
13
|
import Swift
|
|
14
14
|
import SwiftUI
|
|
15
15
|
import UIKit
|
|
16
|
+
import UserNotifications
|
|
17
|
+
import WebKit
|
|
16
18
|
import _Concurrency
|
|
17
19
|
import _StringProcessing
|
|
18
20
|
import _SwiftConcurrencyShims
|
|
21
|
+
import _WebKit_SwiftUI
|
|
19
22
|
import os
|
|
23
|
+
public enum EmbedMode : Swift.String, Swift.Sendable {
|
|
24
|
+
case preview
|
|
25
|
+
case compact
|
|
26
|
+
public init?(rawValue: Swift.String)
|
|
27
|
+
public typealias RawValue = Swift.String
|
|
28
|
+
public var rawValue: Swift.String {
|
|
29
|
+
get
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
@_Concurrency.MainActor @preconcurrency public struct DoorstepEmbedView : SwiftUICore.View {
|
|
33
|
+
@_Concurrency.MainActor @preconcurrency public init(address: Swift.String, deliveryID: Swift.String? = nil, linkAPI: Swift.String = "https://api.core.doorstep.ai", mode: SwiftUICore.Binding<DoorstepDropoffSDK.EmbedMode>? = nil, inlineHeight: CoreFoundation.CGFloat = 300, expandedHeight: CoreFoundation.CGFloat = 600, baseMap: Swift.String = "light", parkingText: Swift.String = "95% of drivers parked here", markerColor: Swift.String = "#027FB8", polygonColor: Swift.String = "#3291BC", parkingColor: Swift.String = "#FF847B", onModeChanged: ((DoorstepDropoffSDK.EmbedMode) -> Swift.Void)? = nil, onError: ((Swift.String) -> Swift.Void)? = nil)
|
|
34
|
+
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
35
|
+
get
|
|
36
|
+
}
|
|
37
|
+
public typealias Body = @_opaqueReturnTypeOf("$s18DoorstepDropoffSDK0A9EmbedViewV4bodyQrvp", 0) __
|
|
38
|
+
}
|
|
20
39
|
public enum SDKLogLevel : Swift.Int, Swift.Codable, Swift.Comparable {
|
|
21
40
|
case debug
|
|
22
41
|
case info
|
|
@@ -111,6 +130,7 @@ extension DoorstepDropoffSDK.AddressType : DoorstepDropoffSDK.AddressDesignation
|
|
|
111
130
|
public enum DoorstepAIError : Swift.Error {
|
|
112
131
|
case sessionCreationFailed(Swift.String)
|
|
113
132
|
case invalidAddress
|
|
133
|
+
case unknownDeliveryId(Swift.String)
|
|
114
134
|
}
|
|
115
135
|
public enum DropoffType : Swift.String, Swift.Codable {
|
|
116
136
|
case pod
|
|
@@ -128,9 +148,16 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
128
148
|
public static let geofenceSessionStoppedNotification: Foundation.Notification.Name
|
|
129
149
|
public static let sessionServerIdAssignedNotification: Foundation.Notification.Name
|
|
130
150
|
public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
|
|
151
|
+
public static func setDoorstepGoApiKey(key: Swift.String)
|
|
131
152
|
public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
|
|
132
|
-
public static func
|
|
153
|
+
public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void, forSessionIdentifier identifier: Swift.String)
|
|
154
|
+
@_Concurrency.MainActor public static func checkPermissions(_ permissions: [DoorstepDropoffSDK.DoorstepPermission] = DoorstepPermission.all) -> [DoorstepDropoffSDK.DoorstepPermission : DoorstepDropoffSDK.DoorstepPermissionStatus]
|
|
155
|
+
@_Concurrency.MainActor public static func checkPermission(_ permission: DoorstepDropoffSDK.DoorstepPermission) -> DoorstepDropoffSDK.DoorstepPermissionStatus
|
|
156
|
+
@_Concurrency.MainActor public static func checkPermissionsJson(_ permissions: [DoorstepDropoffSDK.DoorstepPermission] = DoorstepPermission.all) -> Swift.String
|
|
157
|
+
@_Concurrency.MainActor public static func requestPermissions(_ permissions: [DoorstepDropoffSDK.DoorstepPermission] = DoorstepPermission.all, onlyIfNotDetermined: Swift.Bool = true, timeout: Foundation.TimeInterval = 120, completion: ((DoorstepDropoffSDK.DoorstepPermissionRequestResult) -> Swift.Void)? = nil)
|
|
158
|
+
public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true, requestBluetooth: Swift.Bool = true, onlyIfNotDetermined: Swift.Bool = true)
|
|
133
159
|
public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
|
|
160
|
+
public static func debugStateJson() -> Swift.String
|
|
134
161
|
public static func enableDevMode(apiKey: Swift.String) async
|
|
135
162
|
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
|
|
136
163
|
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
|
|
@@ -151,6 +178,54 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
151
178
|
}
|
|
152
179
|
@objc deinit
|
|
153
180
|
}
|
|
181
|
+
public enum DoorstepPermission : Swift.String, Swift.CaseIterable, Swift.Sendable {
|
|
182
|
+
case locationWhenInUse
|
|
183
|
+
case locationAlways
|
|
184
|
+
case motionFitness
|
|
185
|
+
case bluetooth
|
|
186
|
+
public static let all: [DoorstepDropoffSDK.DoorstepPermission]
|
|
187
|
+
public static func from(wireName: Swift.String) -> DoorstepDropoffSDK.DoorstepPermission?
|
|
188
|
+
public init?(rawValue: Swift.String)
|
|
189
|
+
public typealias AllCases = [DoorstepDropoffSDK.DoorstepPermission]
|
|
190
|
+
public typealias RawValue = Swift.String
|
|
191
|
+
nonisolated public static var allCases: [DoorstepDropoffSDK.DoorstepPermission] {
|
|
192
|
+
get
|
|
193
|
+
}
|
|
194
|
+
public var rawValue: Swift.String {
|
|
195
|
+
get
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
public enum DoorstepPermissionState : Swift.String, Swift.Sendable {
|
|
199
|
+
case granted
|
|
200
|
+
case notDetermined
|
|
201
|
+
case whenInUseOnly
|
|
202
|
+
case denied
|
|
203
|
+
case permanentlyDenied
|
|
204
|
+
case restricted
|
|
205
|
+
case unavailable
|
|
206
|
+
case notDeclared
|
|
207
|
+
public init?(rawValue: Swift.String)
|
|
208
|
+
public typealias RawValue = Swift.String
|
|
209
|
+
public var rawValue: Swift.String {
|
|
210
|
+
get
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
public struct DoorstepPermissionStatus : Swift.Sendable {
|
|
214
|
+
public let permission: DoorstepDropoffSDK.DoorstepPermission
|
|
215
|
+
public let state: DoorstepDropoffSDK.DoorstepPermissionState
|
|
216
|
+
public let osStatus: Swift.String
|
|
217
|
+
public let canRequest: Swift.Bool
|
|
218
|
+
}
|
|
219
|
+
public struct DoorstepPermissionRequestResult : Swift.Sendable {
|
|
220
|
+
public let requested: [DoorstepDropoffSDK.DoorstepPermission]
|
|
221
|
+
public let alreadyDetermined: [DoorstepDropoffSDK.DoorstepPermission]
|
|
222
|
+
public let unavailable: [DoorstepDropoffSDK.DoorstepPermission]
|
|
223
|
+
public let deferred: [DoorstepDropoffSDK.DoorstepPermission : Swift.String]
|
|
224
|
+
public let statuses: [DoorstepDropoffSDK.DoorstepPermission : DoorstepDropoffSDK.DoorstepPermissionStatus]
|
|
225
|
+
public var didRequest: Swift.Bool {
|
|
226
|
+
get
|
|
227
|
+
}
|
|
228
|
+
}
|
|
154
229
|
public struct DeliveryStop : Swift.Codable, Swift.Sendable, Swift.Equatable {
|
|
155
230
|
public let deliveryId: Swift.String
|
|
156
231
|
public let address: Swift.String
|
|
@@ -180,12 +255,28 @@ public struct RouteGeofenceOptions : Swift.Codable, Swift.Sendable, Swift.Equata
|
|
|
180
255
|
}
|
|
181
256
|
public typealias Body = @_opaqueReturnTypeOf("$s18DoorstepDropoffSDK0A6AIRootV4bodyQrvp", 0) __
|
|
182
257
|
}
|
|
183
|
-
public var csvOnlyMode: Swift.Bool
|
|
184
|
-
|
|
185
|
-
|
|
258
|
+
public var csvOnlyMode: Swift.Bool {
|
|
259
|
+
get
|
|
260
|
+
}
|
|
261
|
+
public var lastCSVSessionDirectory: Foundation.URL? {
|
|
262
|
+
get
|
|
263
|
+
}
|
|
264
|
+
public var bleScanningEnabled: Swift.Bool {
|
|
265
|
+
get
|
|
266
|
+
}
|
|
267
|
+
extension DoorstepDropoffSDK.EmbedMode : Swift.Equatable {}
|
|
268
|
+
extension DoorstepDropoffSDK.EmbedMode : Swift.Hashable {}
|
|
269
|
+
extension DoorstepDropoffSDK.EmbedMode : Swift.RawRepresentable {}
|
|
270
|
+
extension DoorstepDropoffSDK.DoorstepEmbedView : Swift.Sendable {}
|
|
186
271
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.Hashable {}
|
|
187
272
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.RawRepresentable {}
|
|
188
273
|
extension DoorstepDropoffSDK.DropoffType : Swift.Equatable {}
|
|
189
274
|
extension DoorstepDropoffSDK.DropoffType : Swift.Hashable {}
|
|
190
275
|
extension DoorstepDropoffSDK.DropoffType : Swift.RawRepresentable {}
|
|
276
|
+
extension DoorstepDropoffSDK.DoorstepPermission : Swift.Equatable {}
|
|
277
|
+
extension DoorstepDropoffSDK.DoorstepPermission : Swift.Hashable {}
|
|
278
|
+
extension DoorstepDropoffSDK.DoorstepPermission : Swift.RawRepresentable {}
|
|
279
|
+
extension DoorstepDropoffSDK.DoorstepPermissionState : Swift.Equatable {}
|
|
280
|
+
extension DoorstepDropoffSDK.DoorstepPermissionState : Swift.Hashable {}
|
|
281
|
+
extension DoorstepDropoffSDK.DoorstepPermissionState : Swift.RawRepresentable {}
|
|
191
282
|
extension DoorstepDropoffSDK.DoorstepAIRoot : Swift.Sendable {}
|