@doorstepai/dropoff-sdk 2.0.2 → 2.0.5
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 +43 -58
- package/ios/DoorstepAI.mm +14 -5
- package/ios/DoorstepAI.swift +53 -18
- 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/Headers/DoorstepDropoffSDK.h +1 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Headers/RateReducer.h +117 -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 +2341 -839
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +24 -24
- 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 +24 -24
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/PrivacyInfo.xcprivacy +39 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +35 -13
- 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 +2103 -1462
- 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/Headers/DoorstepDropoffSDK.h +1 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Headers/RateReducer.h +117 -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 +2341 -839
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +24 -24
- 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 +24 -24
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2341 -839
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +24 -24
- 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 +24 -24
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/PrivacyInfo.xcprivacy +39 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +45 -23
- 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 +2103 -1462
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +2093 -1457
- package/lib/module/DoorstepAI.js +91 -27
- package/lib/module/DoorstepAI.js.map +1 -1
- package/lib/module/RootDoorstepAI.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/DoorstepAI.d.ts +65 -5
- package/lib/typescript/src/DoorstepAI.d.ts.map +1 -1
- package/lib/typescript/src/RootDoorstepAI.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/DoorstepAI.tsx +260 -51
- package/src/RootDoorstepAI.tsx +0 -1
- package/src/index.tsx +6 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -
|
|
4
|
-
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
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.1
|
|
5
5
|
import Compression
|
|
6
6
|
import CoreLocation
|
|
7
7
|
import CoreMotion
|
|
8
8
|
@_exported import DoorstepDropoffSDK
|
|
9
9
|
import Foundation
|
|
10
10
|
import Network
|
|
11
|
+
import SQLite3
|
|
11
12
|
import Swift
|
|
12
13
|
import SwiftUI
|
|
13
14
|
import UIKit
|
|
@@ -22,9 +23,7 @@ public enum SDKLogLevel : Swift.Int, Swift.Codable, Swift.Comparable {
|
|
|
22
23
|
case error
|
|
23
24
|
case critical
|
|
24
25
|
public static func < (lhs: DoorstepDropoffSDK.SDKLogLevel, rhs: DoorstepDropoffSDK.SDKLogLevel) -> Swift.Bool
|
|
25
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
26
26
|
public init?(rawValue: Swift.Int)
|
|
27
|
-
#endif
|
|
28
27
|
public typealias RawValue = Swift.Int
|
|
29
28
|
public var rawValue: Swift.Int {
|
|
30
29
|
get
|
|
@@ -39,6 +38,13 @@ public struct AddressType {
|
|
|
39
38
|
public let postalCode: Swift.String
|
|
40
39
|
public init(streetNumber: Swift.String, route: Swift.String, subPremise: Swift.String, locality: Swift.String, administrativeAreaLevel1: Swift.String, postalCode: Swift.String)
|
|
41
40
|
}
|
|
41
|
+
public struct LatLngObject : Swift.Codable, Swift.Sendable {
|
|
42
|
+
public let lat: Swift.Double
|
|
43
|
+
public let lng: Swift.Double
|
|
44
|
+
public init(lat: Swift.Double, lng: Swift.Double)
|
|
45
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
46
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
47
|
+
}
|
|
42
48
|
public struct LatLngAddress : DoorstepDropoffSDK.AddressDesignation {
|
|
43
49
|
public let latitude: Swift.Double
|
|
44
50
|
public let longitude: Swift.Double
|
|
@@ -68,38 +74,30 @@ public enum DoorstepAIError : Swift.Error {
|
|
|
68
74
|
public enum DropoffType : Swift.String, Swift.Codable {
|
|
69
75
|
case pod
|
|
70
76
|
case non_pod
|
|
71
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
72
77
|
public init?(rawValue: Swift.String)
|
|
73
|
-
#endif
|
|
74
78
|
public typealias RawValue = Swift.String
|
|
75
79
|
public var rawValue: Swift.String {
|
|
76
80
|
get
|
|
77
81
|
}
|
|
78
82
|
}
|
|
79
83
|
@_hasMissingDesignatedInitializers public class DoorstepAI {
|
|
84
|
+
public static let configDidLoadNotification: Foundation.Notification.Name
|
|
85
|
+
public static let configDidFailToLoadNotification: Foundation.Notification.Name
|
|
80
86
|
public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
|
|
87
|
+
public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
|
|
88
|
+
public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true)
|
|
81
89
|
public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
|
|
82
90
|
public static func enableDevMode(apiKey: Swift.String) async
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
public static func
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
91
|
-
#endif
|
|
92
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
93
|
-
public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
94
|
-
#endif
|
|
95
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
96
|
-
public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
97
|
-
#endif
|
|
91
|
+
public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
92
|
+
@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, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
94
|
+
public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, 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, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
96
|
+
@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, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
98
98
|
public static func markDropoff(deliveryId: Swift.String, dropoffType: DoorstepDropoffSDK.DropoffType) async throws
|
|
99
99
|
public static func newEvent(eventName: Swift.String, deliveryId: Swift.String) async throws
|
|
100
100
|
public static func stopDelivery(deliveryId: Swift.String) async
|
|
101
|
-
public static func hasCachedData() -> Swift.Bool
|
|
102
|
-
public static func waitForCacheDataCompletion() async -> Swift.Bool
|
|
103
101
|
@objc deinit
|
|
104
102
|
}
|
|
105
103
|
@_Concurrency.MainActor @preconcurrency public struct DoorstepAIRoot : SwiftUICore.View {
|
|
@@ -109,6 +107,8 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
109
107
|
}
|
|
110
108
|
public typealias Body = @_opaqueReturnTypeOf("$s18DoorstepDropoffSDK0A6AIRootV4bodyQrvp", 0) __
|
|
111
109
|
}
|
|
110
|
+
public var csvOnlyMode: Swift.Bool
|
|
111
|
+
public var lastCSVSessionDirectory: Foundation.URL?
|
|
112
112
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.Hashable {}
|
|
113
113
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.RawRepresentable {}
|
|
114
114
|
extension DoorstepDropoffSDK.DropoffType : Swift.Equatable {}
|
|
Binary file
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -
|
|
4
|
-
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
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.1
|
|
5
5
|
import Compression
|
|
6
6
|
import CoreLocation
|
|
7
7
|
import CoreMotion
|
|
8
8
|
@_exported import DoorstepDropoffSDK
|
|
9
9
|
import Foundation
|
|
10
10
|
import Network
|
|
11
|
+
import SQLite3
|
|
11
12
|
import Swift
|
|
12
13
|
import SwiftUI
|
|
13
14
|
import UIKit
|
|
@@ -22,9 +23,7 @@ public enum SDKLogLevel : Swift.Int, Swift.Codable, Swift.Comparable {
|
|
|
22
23
|
case error
|
|
23
24
|
case critical
|
|
24
25
|
public static func < (lhs: DoorstepDropoffSDK.SDKLogLevel, rhs: DoorstepDropoffSDK.SDKLogLevel) -> Swift.Bool
|
|
25
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
26
26
|
public init?(rawValue: Swift.Int)
|
|
27
|
-
#endif
|
|
28
27
|
public typealias RawValue = Swift.Int
|
|
29
28
|
public var rawValue: Swift.Int {
|
|
30
29
|
get
|
|
@@ -39,6 +38,13 @@ public struct AddressType {
|
|
|
39
38
|
public let postalCode: Swift.String
|
|
40
39
|
public init(streetNumber: Swift.String, route: Swift.String, subPremise: Swift.String, locality: Swift.String, administrativeAreaLevel1: Swift.String, postalCode: Swift.String)
|
|
41
40
|
}
|
|
41
|
+
public struct LatLngObject : Swift.Codable, Swift.Sendable {
|
|
42
|
+
public let lat: Swift.Double
|
|
43
|
+
public let lng: Swift.Double
|
|
44
|
+
public init(lat: Swift.Double, lng: Swift.Double)
|
|
45
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
46
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
47
|
+
}
|
|
42
48
|
public struct LatLngAddress : DoorstepDropoffSDK.AddressDesignation {
|
|
43
49
|
public let latitude: Swift.Double
|
|
44
50
|
public let longitude: Swift.Double
|
|
@@ -68,38 +74,30 @@ public enum DoorstepAIError : Swift.Error {
|
|
|
68
74
|
public enum DropoffType : Swift.String, Swift.Codable {
|
|
69
75
|
case pod
|
|
70
76
|
case non_pod
|
|
71
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
72
77
|
public init?(rawValue: Swift.String)
|
|
73
|
-
#endif
|
|
74
78
|
public typealias RawValue = Swift.String
|
|
75
79
|
public var rawValue: Swift.String {
|
|
76
80
|
get
|
|
77
81
|
}
|
|
78
82
|
}
|
|
79
83
|
@_hasMissingDesignatedInitializers public class DoorstepAI {
|
|
84
|
+
public static let configDidLoadNotification: Foundation.Notification.Name
|
|
85
|
+
public static let configDidFailToLoadNotification: Foundation.Notification.Name
|
|
80
86
|
public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
|
|
87
|
+
public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
|
|
88
|
+
public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true)
|
|
81
89
|
public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
|
|
82
90
|
public static func enableDevMode(apiKey: Swift.String) async
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
public static func
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
91
|
-
#endif
|
|
92
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
93
|
-
public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
94
|
-
#endif
|
|
95
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
96
|
-
public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
97
|
-
#endif
|
|
91
|
+
public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
92
|
+
@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, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
94
|
+
public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, 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, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
96
|
+
@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, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
98
98
|
public static func markDropoff(deliveryId: Swift.String, dropoffType: DoorstepDropoffSDK.DropoffType) async throws
|
|
99
99
|
public static func newEvent(eventName: Swift.String, deliveryId: Swift.String) async throws
|
|
100
100
|
public static func stopDelivery(deliveryId: Swift.String) async
|
|
101
|
-
public static func hasCachedData() -> Swift.Bool
|
|
102
|
-
public static func waitForCacheDataCompletion() async -> Swift.Bool
|
|
103
101
|
@objc deinit
|
|
104
102
|
}
|
|
105
103
|
@_Concurrency.MainActor @preconcurrency public struct DoorstepAIRoot : SwiftUICore.View {
|
|
@@ -109,6 +107,8 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
109
107
|
}
|
|
110
108
|
public typealias Body = @_opaqueReturnTypeOf("$s18DoorstepDropoffSDK0A6AIRootV4bodyQrvp", 0) __
|
|
111
109
|
}
|
|
110
|
+
public var csvOnlyMode: Swift.Bool
|
|
111
|
+
public var lastCSVSessionDirectory: Foundation.URL?
|
|
112
112
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.Hashable {}
|
|
113
113
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.RawRepresentable {}
|
|
114
114
|
extension DoorstepDropoffSDK.DropoffType : Swift.Equatable {}
|