@doorstepai/dropoff-sdk 1.0.30 → 1.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/android/build.gradle +2 -1
  2. package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepAIModule.kt +107 -3
  3. package/ios/DoorstepAI.mm +16 -1
  4. package/ios/DoorstepAI.swift +53 -2
  5. package/ios/DoorstepDropoffSDK.xcframework/Info.plist +5 -5
  6. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
  7. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Info.plist +0 -0
  8. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +306 -12
  9. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +14 -4
  10. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  11. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface +14 -4
  12. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +11 -11
  13. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
  14. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +816 -780
  15. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
  16. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Info.plist +0 -0
  17. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +306 -12
  18. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +14 -4
  19. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  20. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -4
  21. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +306 -12
  22. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +14 -4
  23. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  24. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +14 -4
  25. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +21 -21
  26. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
  27. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +816 -780
  28. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +815 -782
  29. package/lib/module/DoorstepAI.js +64 -16
  30. package/lib/module/DoorstepAI.js.map +1 -1
  31. package/lib/typescript/src/DoorstepAI.d.ts +2 -1
  32. package/lib/typescript/src/DoorstepAI.d.ts.map +1 -1
  33. package/package.json +1 -1
  34. package/src/DoorstepAI.tsx +71 -16
@@ -510,6 +510,204 @@
510
510
  }
511
511
  ]
512
512
  },
513
+ {
514
+ "kind": "TypeDecl",
515
+ "name": "LatLngAddress",
516
+ "printedName": "LatLngAddress",
517
+ "children": [
518
+ {
519
+ "kind": "Var",
520
+ "name": "latitude",
521
+ "printedName": "latitude",
522
+ "children": [
523
+ {
524
+ "kind": "TypeNominal",
525
+ "name": "Double",
526
+ "printedName": "Swift.Double",
527
+ "usr": "s:Sd"
528
+ }
529
+ ],
530
+ "declKind": "Var",
531
+ "usr": "s:18DoorstepDropoffSDK13LatLngAddressV8latitudeSdvp",
532
+ "mangledName": "$s18DoorstepDropoffSDK13LatLngAddressV8latitudeSdvp",
533
+ "moduleName": "DoorstepDropoffSDK",
534
+ "declAttributes": [
535
+ "HasStorage",
536
+ "AccessControl"
537
+ ],
538
+ "isLet": true,
539
+ "hasStorage": true,
540
+ "accessors": [
541
+ {
542
+ "kind": "Accessor",
543
+ "name": "Get",
544
+ "printedName": "Get()",
545
+ "children": [
546
+ {
547
+ "kind": "TypeNominal",
548
+ "name": "Double",
549
+ "printedName": "Swift.Double",
550
+ "usr": "s:Sd"
551
+ }
552
+ ],
553
+ "declKind": "Accessor",
554
+ "usr": "s:18DoorstepDropoffSDK13LatLngAddressV8latitudeSdvg",
555
+ "mangledName": "$s18DoorstepDropoffSDK13LatLngAddressV8latitudeSdvg",
556
+ "moduleName": "DoorstepDropoffSDK",
557
+ "implicit": true,
558
+ "accessorKind": "get"
559
+ }
560
+ ]
561
+ },
562
+ {
563
+ "kind": "Var",
564
+ "name": "longitude",
565
+ "printedName": "longitude",
566
+ "children": [
567
+ {
568
+ "kind": "TypeNominal",
569
+ "name": "Double",
570
+ "printedName": "Swift.Double",
571
+ "usr": "s:Sd"
572
+ }
573
+ ],
574
+ "declKind": "Var",
575
+ "usr": "s:18DoorstepDropoffSDK13LatLngAddressV9longitudeSdvp",
576
+ "mangledName": "$s18DoorstepDropoffSDK13LatLngAddressV9longitudeSdvp",
577
+ "moduleName": "DoorstepDropoffSDK",
578
+ "declAttributes": [
579
+ "HasStorage",
580
+ "AccessControl"
581
+ ],
582
+ "isLet": true,
583
+ "hasStorage": true,
584
+ "accessors": [
585
+ {
586
+ "kind": "Accessor",
587
+ "name": "Get",
588
+ "printedName": "Get()",
589
+ "children": [
590
+ {
591
+ "kind": "TypeNominal",
592
+ "name": "Double",
593
+ "printedName": "Swift.Double",
594
+ "usr": "s:Sd"
595
+ }
596
+ ],
597
+ "declKind": "Accessor",
598
+ "usr": "s:18DoorstepDropoffSDK13LatLngAddressV9longitudeSdvg",
599
+ "mangledName": "$s18DoorstepDropoffSDK13LatLngAddressV9longitudeSdvg",
600
+ "moduleName": "DoorstepDropoffSDK",
601
+ "implicit": true,
602
+ "accessorKind": "get"
603
+ }
604
+ ]
605
+ },
606
+ {
607
+ "kind": "Constructor",
608
+ "name": "init",
609
+ "printedName": "init(latitude:longitude:)",
610
+ "children": [
611
+ {
612
+ "kind": "TypeNominal",
613
+ "name": "LatLngAddress",
614
+ "printedName": "DoorstepDropoffSDK.LatLngAddress",
615
+ "usr": "s:18DoorstepDropoffSDK13LatLngAddressV"
616
+ },
617
+ {
618
+ "kind": "TypeNominal",
619
+ "name": "Double",
620
+ "printedName": "Swift.Double",
621
+ "usr": "s:Sd"
622
+ },
623
+ {
624
+ "kind": "TypeNominal",
625
+ "name": "Double",
626
+ "printedName": "Swift.Double",
627
+ "usr": "s:Sd"
628
+ }
629
+ ],
630
+ "declKind": "Constructor",
631
+ "usr": "s:18DoorstepDropoffSDK13LatLngAddressV8latitude9longitudeACSd_Sdtcfc",
632
+ "mangledName": "$s18DoorstepDropoffSDK13LatLngAddressV8latitude9longitudeACSd_Sdtcfc",
633
+ "moduleName": "DoorstepDropoffSDK",
634
+ "declAttributes": [
635
+ "AccessControl"
636
+ ],
637
+ "init_kind": "Designated"
638
+ },
639
+ {
640
+ "kind": "Var",
641
+ "name": "addressString",
642
+ "printedName": "addressString",
643
+ "children": [
644
+ {
645
+ "kind": "TypeNominal",
646
+ "name": "String",
647
+ "printedName": "Swift.String",
648
+ "usr": "s:SS"
649
+ }
650
+ ],
651
+ "declKind": "Var",
652
+ "usr": "s:18DoorstepDropoffSDK13LatLngAddressV13addressStringSSvp",
653
+ "mangledName": "$s18DoorstepDropoffSDK13LatLngAddressV13addressStringSSvp",
654
+ "moduleName": "DoorstepDropoffSDK",
655
+ "declAttributes": [
656
+ "AccessControl"
657
+ ],
658
+ "accessors": [
659
+ {
660
+ "kind": "Accessor",
661
+ "name": "Get",
662
+ "printedName": "Get()",
663
+ "children": [
664
+ {
665
+ "kind": "TypeNominal",
666
+ "name": "String",
667
+ "printedName": "Swift.String",
668
+ "usr": "s:SS"
669
+ }
670
+ ],
671
+ "declKind": "Accessor",
672
+ "usr": "s:18DoorstepDropoffSDK13LatLngAddressV13addressStringSSvg",
673
+ "mangledName": "$s18DoorstepDropoffSDK13LatLngAddressV13addressStringSSvg",
674
+ "moduleName": "DoorstepDropoffSDK",
675
+ "accessorKind": "get"
676
+ }
677
+ ]
678
+ }
679
+ ],
680
+ "declKind": "Struct",
681
+ "usr": "s:18DoorstepDropoffSDK13LatLngAddressV",
682
+ "mangledName": "$s18DoorstepDropoffSDK13LatLngAddressV",
683
+ "moduleName": "DoorstepDropoffSDK",
684
+ "declAttributes": [
685
+ "AccessControl"
686
+ ],
687
+ "conformances": [
688
+ {
689
+ "kind": "Conformance",
690
+ "name": "Copyable",
691
+ "printedName": "Copyable",
692
+ "usr": "s:s8CopyableP",
693
+ "mangledName": "$ss8CopyableP"
694
+ },
695
+ {
696
+ "kind": "Conformance",
697
+ "name": "Escapable",
698
+ "printedName": "Escapable",
699
+ "usr": "s:s9EscapableP",
700
+ "mangledName": "$ss9EscapableP"
701
+ },
702
+ {
703
+ "kind": "Conformance",
704
+ "name": "AddressDesignation",
705
+ "printedName": "AddressDesignation",
706
+ "usr": "s:18DoorstepDropoffSDK18AddressDesignationP",
707
+ "mangledName": "$s18DoorstepDropoffSDK18AddressDesignationP"
708
+ }
709
+ ]
710
+ },
513
711
  {
514
712
  "kind": "TypeDecl",
515
713
  "name": "AddressDesignation",
@@ -728,7 +926,7 @@
728
926
  {
729
927
  "kind": "Function",
730
928
  "name": "setApiKey",
731
- "printedName": "setApiKey(key:)",
929
+ "printedName": "setApiKey(key:initCollectors:)",
732
930
  "children": [
733
931
  {
734
932
  "kind": "TypeNominal",
@@ -740,11 +938,18 @@
740
938
  "name": "String",
741
939
  "printedName": "Swift.String",
742
940
  "usr": "s:SS"
941
+ },
942
+ {
943
+ "kind": "TypeNominal",
944
+ "name": "Bool",
945
+ "printedName": "Swift.Bool",
946
+ "hasDefaultArg": true,
947
+ "usr": "s:Sb"
743
948
  }
744
949
  ],
745
950
  "declKind": "Func",
746
- "usr": "s:18DoorstepDropoffSDK0A2AIC9setApiKey3keyySS_tFZ",
747
- "mangledName": "$s18DoorstepDropoffSDK0A2AIC9setApiKey3keyySS_tFZ",
951
+ "usr": "s:18DoorstepDropoffSDK0A2AIC9setApiKey3key14initCollectorsySS_SbtFZ",
952
+ "mangledName": "$s18DoorstepDropoffSDK0A2AIC9setApiKey3key14initCollectorsySS_SbtFZ",
748
953
  "moduleName": "DoorstepDropoffSDK",
749
954
  "static": true,
750
955
  "declAttributes": [
@@ -756,17 +961,23 @@
756
961
  {
757
962
  "kind": "Function",
758
963
  "name": "enableDevMode",
759
- "printedName": "enableDevMode()",
964
+ "printedName": "enableDevMode(apiKey:)",
760
965
  "children": [
761
966
  {
762
967
  "kind": "TypeNominal",
763
968
  "name": "Void",
764
969
  "printedName": "()"
970
+ },
971
+ {
972
+ "kind": "TypeNominal",
973
+ "name": "String",
974
+ "printedName": "Swift.String",
975
+ "usr": "s:SS"
765
976
  }
766
977
  ],
767
978
  "declKind": "Func",
768
- "usr": "s:18DoorstepDropoffSDK0A2AIC13enableDevModeyyFZ",
769
- "mangledName": "$s18DoorstepDropoffSDK0A2AIC13enableDevModeyyFZ",
979
+ "usr": "s:18DoorstepDropoffSDK0A2AIC13enableDevMode6apiKeyySS_tYaFZ",
980
+ "mangledName": "$s18DoorstepDropoffSDK0A2AIC13enableDevMode6apiKeyySS_tYaFZ",
770
981
  "moduleName": "DoorstepDropoffSDK",
771
982
  "static": true,
772
983
  "declAttributes": [
@@ -880,6 +1091,82 @@
880
1091
  "throwing": true,
881
1092
  "funcSelfKind": "NonMutating"
882
1093
  },
1094
+ {
1095
+ "kind": "Function",
1096
+ "name": "startDeliveryByAddressString",
1097
+ "printedName": "startDeliveryByAddressString(address:deliveryId:)",
1098
+ "children": [
1099
+ {
1100
+ "kind": "TypeNominal",
1101
+ "name": "Void",
1102
+ "printedName": "()"
1103
+ },
1104
+ {
1105
+ "kind": "TypeNominal",
1106
+ "name": "String",
1107
+ "printedName": "Swift.String",
1108
+ "usr": "s:SS"
1109
+ },
1110
+ {
1111
+ "kind": "TypeNominal",
1112
+ "name": "String",
1113
+ "printedName": "Swift.String",
1114
+ "usr": "s:SS"
1115
+ }
1116
+ ],
1117
+ "declKind": "Func",
1118
+ "usr": "s:18DoorstepDropoffSDK0A2AIC28startDeliveryByAddressString7address10deliveryIdySS_SStYaKFZ",
1119
+ "mangledName": "$s18DoorstepDropoffSDK0A2AIC28startDeliveryByAddressString7address10deliveryIdySS_SStYaKFZ",
1120
+ "moduleName": "DoorstepDropoffSDK",
1121
+ "static": true,
1122
+ "declAttributes": [
1123
+ "Final",
1124
+ "AccessControl"
1125
+ ],
1126
+ "throwing": true,
1127
+ "funcSelfKind": "NonMutating"
1128
+ },
1129
+ {
1130
+ "kind": "Function",
1131
+ "name": "startDeliveryByLatLng",
1132
+ "printedName": "startDeliveryByLatLng(latitude:longitude:deliveryId:)",
1133
+ "children": [
1134
+ {
1135
+ "kind": "TypeNominal",
1136
+ "name": "Void",
1137
+ "printedName": "()"
1138
+ },
1139
+ {
1140
+ "kind": "TypeNominal",
1141
+ "name": "Double",
1142
+ "printedName": "Swift.Double",
1143
+ "usr": "s:Sd"
1144
+ },
1145
+ {
1146
+ "kind": "TypeNominal",
1147
+ "name": "Double",
1148
+ "printedName": "Swift.Double",
1149
+ "usr": "s:Sd"
1150
+ },
1151
+ {
1152
+ "kind": "TypeNominal",
1153
+ "name": "String",
1154
+ "printedName": "Swift.String",
1155
+ "usr": "s:SS"
1156
+ }
1157
+ ],
1158
+ "declKind": "Func",
1159
+ "usr": "s:18DoorstepDropoffSDK0A2AIC21startDeliveryByLatLng8latitude9longitude10deliveryIdySd_SdSStYaKFZ",
1160
+ "mangledName": "$s18DoorstepDropoffSDK0A2AIC21startDeliveryByLatLng8latitude9longitude10deliveryIdySd_SdSStYaKFZ",
1161
+ "moduleName": "DoorstepDropoffSDK",
1162
+ "static": true,
1163
+ "declAttributes": [
1164
+ "Final",
1165
+ "AccessControl"
1166
+ ],
1167
+ "throwing": true,
1168
+ "funcSelfKind": "NonMutating"
1169
+ },
883
1170
  {
884
1171
  "kind": "Function",
885
1172
  "name": "newEvent",
@@ -2023,35 +2310,42 @@
2023
2310
  {
2024
2311
  "filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/SDKs\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/DoorstepAI.swift",
2025
2312
  "kind": "Array",
2026
- "offset": 1361,
2313
+ "offset": 1779,
2027
2314
  "length": 2,
2028
2315
  "value": "[]"
2029
2316
  },
2030
2317
  {
2031
2318
  "filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/SDKs\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/DoorstepAI.swift",
2032
2319
  "kind": "BooleanLiteral",
2033
- "offset": 1395,
2320
+ "offset": 1813,
2321
+ "length": 5,
2322
+ "value": "false"
2323
+ },
2324
+ {
2325
+ "filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/SDKs\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/DoorstepAI.swift",
2326
+ "kind": "BooleanLiteral",
2327
+ "offset": 1893,
2034
2328
  "length": 5,
2035
2329
  "value": "false"
2036
2330
  },
2037
2331
  {
2038
2332
  "filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/SDKs\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/src\/DataHolder.swift",
2039
2333
  "kind": "BooleanLiteral",
2040
- "offset": 397,
2334
+ "offset": 398,
2041
2335
  "length": 5,
2042
2336
  "value": "false"
2043
2337
  },
2044
2338
  {
2045
2339
  "filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/SDKs\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/src\/DataHolder.swift",
2046
2340
  "kind": "StringLiteral",
2047
- "offset": 443,
2341
+ "offset": 444,
2048
2342
  "length": 13,
2049
2343
  "value": "\"dataCollect\""
2050
2344
  },
2051
2345
  {
2052
2346
  "filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/SDKs\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/src\/LocationManager.swift",
2053
2347
  "kind": "BooleanLiteral",
2054
- "offset": 920,
2348
+ "offset": 931,
2055
2349
  "length": 5,
2056
2350
  "value": "false"
2057
2351
  },
@@ -2065,7 +2359,7 @@
2065
2359
  {
2066
2360
  "filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/SDKs\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/Environment.swift",
2067
2361
  "kind": "StringLiteral",
2068
- "offset": 159,
2362
+ "offset": 163,
2069
2363
  "length": 42,
2070
2364
  "value": "\"https:\/\/collection.api.track.doorstep.ai\""
2071
2365
  },
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
2
+ // swift-compiler-version: Apple Swift version 6.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
3
3
  // swift-module-flags: -target x86_64-apple-ios17.5-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2
4
+ // swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.1
5
5
  import Compression
6
6
  import CoreLocation
7
7
  import CoreMotion
@@ -24,6 +24,14 @@ public struct AddressType {
24
24
  public let postalCode: Swift.String
25
25
  public init(streetNumber: Swift.String, route: Swift.String, subPremise: Swift.String, locality: Swift.String, administrativeAreaLevel1: Swift.String, postalCode: Swift.String)
26
26
  }
27
+ public struct LatLngAddress : DoorstepDropoffSDK.AddressDesignation {
28
+ public let latitude: Swift.Double
29
+ public let longitude: Swift.Double
30
+ public init(latitude: Swift.Double, longitude: Swift.Double)
31
+ public var addressString: Swift.String {
32
+ get
33
+ }
34
+ }
27
35
  public protocol AddressDesignation {
28
36
  var addressString: Swift.String { get }
29
37
  }
@@ -42,11 +50,13 @@ public enum DoorstepAIError : Swift.Error {
42
50
  case invalidAddress
43
51
  }
44
52
  @_hasMissingDesignatedInitializers public class DoorstepAI {
45
- public static func setApiKey(key: Swift.String)
46
- public static func enableDevMode()
53
+ public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = false)
54
+ public static func enableDevMode(apiKey: Swift.String) async
47
55
  public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String) async throws
48
56
  public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String) async throws
49
57
  public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String) async throws
58
+ public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String) async throws
59
+ public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, deliveryId: Swift.String) async throws
50
60
  public static func newEvent(eventName: Swift.String, deliveryId: Swift.String) async throws
51
61
  public static func stopDelivery(deliveryId: Swift.String) async
52
62
  public static func hasCachedData() -> Swift.Bool
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
2
+ // swift-compiler-version: Apple Swift version 6.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
3
3
  // swift-module-flags: -target x86_64-apple-ios17.5-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -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.2
4
+ // swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.1
5
5
  import Compression
6
6
  import CoreLocation
7
7
  import CoreMotion
@@ -24,6 +24,14 @@ public struct AddressType {
24
24
  public let postalCode: Swift.String
25
25
  public init(streetNumber: Swift.String, route: Swift.String, subPremise: Swift.String, locality: Swift.String, administrativeAreaLevel1: Swift.String, postalCode: Swift.String)
26
26
  }
27
+ public struct LatLngAddress : DoorstepDropoffSDK.AddressDesignation {
28
+ public let latitude: Swift.Double
29
+ public let longitude: Swift.Double
30
+ public init(latitude: Swift.Double, longitude: Swift.Double)
31
+ public var addressString: Swift.String {
32
+ get
33
+ }
34
+ }
27
35
  public protocol AddressDesignation {
28
36
  var addressString: Swift.String { get }
29
37
  }
@@ -42,11 +50,13 @@ public enum DoorstepAIError : Swift.Error {
42
50
  case invalidAddress
43
51
  }
44
52
  @_hasMissingDesignatedInitializers public class DoorstepAI {
45
- public static func setApiKey(key: Swift.String)
46
- public static func enableDevMode()
53
+ public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = false)
54
+ public static func enableDevMode(apiKey: Swift.String) async
47
55
  public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String) async throws
48
56
  public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String) async throws
49
57
  public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String) async throws
58
+ public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String) async throws
59
+ public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, deliveryId: Swift.String) async throws
50
60
  public static func newEvent(eventName: Swift.String, deliveryId: Swift.String) async throws
51
61
  public static func stopDelivery(deliveryId: Swift.String) async
52
62
  public static func hasCachedData() -> Swift.Bool
@@ -10,47 +10,47 @@
10
10
  </data>
11
11
  <key>Info.plist</key>
12
12
  <data>
13
- xYMISViHuKHRUj8FDmMJukoE45w=
13
+ QBAYVMCxB9yhlBcerpYZ6JjbhH0=
14
14
  </data>
15
15
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
16
16
  <data>
17
- lk4EZ8C2WB2TWCx+ocZTKSyTdkI=
17
+ KPPFsVhaUM483dDZ6VaEW2pxxJg=
18
18
  </data>
19
19
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
20
20
  <data>
21
- Y9piToc9YjDi5T31Ch3IEf6CeY4=
21
+ FSkAGkUrbpauK/dCHhaEO0O525w=
22
22
  </data>
23
23
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
24
24
  <data>
25
- 3afjGsqRid7VZtFcbXyfJrDveXE=
25
+ bejdSfngXNrJIu/y5Vv5Zbny+Jc=
26
26
  </data>
27
27
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
28
28
  <data>
29
- Y9piToc9YjDi5T31Ch3IEf6CeY4=
29
+ FSkAGkUrbpauK/dCHhaEO0O525w=
30
30
  </data>
31
31
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
32
32
  <data>
33
- Y5wLHW7qC5G4rpfg2OTbxf2HV7c=
33
+ lxSbm5qIqnt5/mo+0S3j/EhDvJE=
34
34
  </data>
35
35
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
36
36
  <data>
37
- lk4EZ8C2WB2TWCx+ocZTKSyTdkI=
37
+ KPPFsVhaUM483dDZ6VaEW2pxxJg=
38
38
  </data>
39
39
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
40
40
  <data>
41
- 9tFYuZl6cC201h79ByEonUyIuBY=
41
+ /J9jp+PhPygsURjS2Bqhxv5NPcQ=
42
42
  </data>
43
43
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
44
44
  <data>
45
- 2gDgOhccS4YWMzxjBN4pGsJKffw=
45
+ hOL9roMiOSXLg+fM5b8PrIzOrQo=
46
46
  </data>
47
47
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
48
48
  <data>
49
- 9tFYuZl6cC201h79ByEonUyIuBY=
49
+ /J9jp+PhPygsURjS2Bqhxv5NPcQ=
50
50
  </data>
51
51
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
52
52
  <data>
53
- yRttgsD4mUBaOKzJhtxGqYeF73E=
53
+ SGfba6BLDUuJXYU9eKTQmq19I+A=
54
54
  </data>
55
55
  <key>Modules/module.modulemap</key>
56
56
  <data>
@@ -70,70 +70,70 @@
70
70
  <dict>
71
71
  <key>hash2</key>
72
72
  <data>
73
- sbgjv4doVjaBvmBS3W/frn4bmSb0HfnIVGJ2HpFtr18=
73
+ LhqSVRFt0wfBZ5kZgagsmtctVsaWlNJg7K2AV27+4So=
74
74
  </data>
75
75
  </dict>
76
76
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
77
77
  <dict>
78
78
  <key>hash2</key>
79
79
  <data>
80
- sXPOjwR9eHbdK1kpL11yVBAzFefahR0zNG2nxE5hwFs=
80
+ 4pDGU/6iRwSCVx+BLGK3uJJCcRlLkJUIgInWBcpKHGY=
81
81
  </data>
82
82
  </dict>
83
83
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
84
84
  <dict>
85
85
  <key>hash2</key>
86
86
  <data>
87
- HVplxxn6YOlMj0D/gJS44OUma/bkz5NeGWXcQ2twt4M=
87
+ d4VO2jSc1ieZ1qmIxFs2m8vsXfJ/8rpKPQaGlOrR5is=
88
88
  </data>
89
89
  </dict>
90
90
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
91
91
  <dict>
92
92
  <key>hash2</key>
93
93
  <data>
94
- sXPOjwR9eHbdK1kpL11yVBAzFefahR0zNG2nxE5hwFs=
94
+ 4pDGU/6iRwSCVx+BLGK3uJJCcRlLkJUIgInWBcpKHGY=
95
95
  </data>
96
96
  </dict>
97
97
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
98
98
  <dict>
99
99
  <key>hash2</key>
100
100
  <data>
101
- kYlTZBURKrg73fnQF+x7EcSP6QKWfkf/qdjfaw1Byy4=
101
+ pc66xqbYQ7cdRmRfp/9zS3F1Ok7TD2gdmUV0WFbp1dE=
102
102
  </data>
103
103
  </dict>
104
104
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
105
105
  <dict>
106
106
  <key>hash2</key>
107
107
  <data>
108
- sbgjv4doVjaBvmBS3W/frn4bmSb0HfnIVGJ2HpFtr18=
108
+ LhqSVRFt0wfBZ5kZgagsmtctVsaWlNJg7K2AV27+4So=
109
109
  </data>
110
110
  </dict>
111
111
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
112
112
  <dict>
113
113
  <key>hash2</key>
114
114
  <data>
115
- qA73k1Wf/tuogvz4HH9OivzdDb7GFwbjtY8ZnPogb9Y=
115
+ EopWH28BOZuaKH65UipLlnrbGzBacwGOhvOzoRYb53s=
116
116
  </data>
117
117
  </dict>
118
118
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
119
119
  <dict>
120
120
  <key>hash2</key>
121
121
  <data>
122
- ovSGJIspxwTNSSnwbEXEnepLeDeBhnwA13jJNV8sZyU=
122
+ +9D/rULVbhfAPYCBlds1sCFXp2ZdnpeUiIqi11opK2Q=
123
123
  </data>
124
124
  </dict>
125
125
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
126
126
  <dict>
127
127
  <key>hash2</key>
128
128
  <data>
129
- qA73k1Wf/tuogvz4HH9OivzdDb7GFwbjtY8ZnPogb9Y=
129
+ EopWH28BOZuaKH65UipLlnrbGzBacwGOhvOzoRYb53s=
130
130
  </data>
131
131
  </dict>
132
132
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
133
133
  <dict>
134
134
  <key>hash2</key>
135
135
  <data>
136
- gu5j9Hcdv3pJuWyKiilus/R1lE64TsOAPsw39d12qmU=
136
+ U5DnMPWJqPcrRFrxnbKOVC1qoeNkrJ2/B2JRDobRAq0=
137
137
  </data>
138
138
  </dict>
139
139
  <key>Modules/module.modulemap</key>