@os1-platform/dispatch-mobile 1.3.11 → 2.0.1
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/README.md +198 -30
- package/android/.gradle/7.0.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.2/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.2/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/7.2/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.idea/compiler.xml +6 -0
- package/android/.idea/gradle.xml +6 -1
- package/android/.idea/jarRepositories.xml +35 -0
- package/android/.idea/kotlinc.xml +6 -0
- package/android/.idea/misc.xml +6 -1
- package/android/local.properties +1 -1
- package/android/src/main/java/com/dispatchsdk/DispatchSdkPackage.kt +3 -1
- package/android/src/main/java/com/dispatchsdk/sharedPref/SharedPreferenceModule.kt +166 -0
- package/lib/commonjs/@types/assets/index.d.js +2 -0
- package/lib/commonjs/@types/assets/index.d.js.map +1 -0
- package/lib/commonjs/components/dispatch/DispatchExecNavigator.js +4 -4
- package/lib/commonjs/components/dispatch/DispatchExecNavigator.js.map +1 -1
- package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js +0 -28
- package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js.map +1 -1
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js +35 -35
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js.map +1 -1
- package/lib/commonjs/components/executiontasks/captureInput/utils.js +13 -0
- package/lib/commonjs/components/executiontasks/captureInput/utils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js +3 -7
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/deliver/DeliverETInput.js.map +1 -1
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js +181 -112
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js +16 -16
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js +37 -34
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js +2 -2
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js +52 -52
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js +71 -66
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/DropdownWidget.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -1
- package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js +2 -2
- package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js +3 -3
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureSchema.js.map +1 -1
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js +6 -3
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js +34 -34
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/PaymentUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js +54 -54
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js +33 -33
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js +33 -33
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js +3 -7
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js +106 -47
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/ScanET.js +326 -428
- package/lib/commonjs/components/executiontasks/scan/ScanET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/ScanSchema.js +13 -0
- package/lib/commonjs/components/executiontasks/scan/ScanSchema.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/interfaces.js +15 -1
- package/lib/commonjs/components/executiontasks/scan/interfaces.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/modalConstant.js +104 -0
- package/lib/commonjs/components/executiontasks/scan/modalConstant.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scan/sub_components/CScanner.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/DropDownUtils.js +72 -37
- package/lib/commonjs/components/executiontasks/scan/sub_components/DropDownUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/ERDropDown.js +9 -7
- package/lib/commonjs/components/executiontasks/scan/sub_components/ERDropDown.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/SummaryPage.js +1096 -0
- package/lib/commonjs/components/executiontasks/scan/sub_components/SummaryPage.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scan/utils.js +548 -159
- package/lib/commonjs/components/executiontasks/scan/utils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPET.js +52 -53
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/sub-components/OTPInput.js +4 -0
- package/lib/commonjs/components/executiontasks/validateOTP/sub-components/OTPInput.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/utils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js +1 -1
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js +1 -1
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpSchema.js.map +1 -1
- package/lib/commonjs/components/utils/index.js +14 -0
- package/lib/commonjs/components/utils/index.js.map +1 -0
- package/lib/commonjs/components/widgets/AlertDisplay.js.map +1 -1
- package/lib/commonjs/components/widgets/CancelOrderDialog.js.map +1 -1
- package/lib/commonjs/components/widgets/Card.js +88 -0
- package/lib/commonjs/components/widgets/Card.js.map +1 -0
- package/lib/commonjs/components/widgets/GoBackModal.js +48 -0
- package/lib/commonjs/components/widgets/GoBackModal.js.map +1 -0
- package/lib/commonjs/components/widgets/IconButton.js.map +1 -1
- package/lib/commonjs/components/widgets/ModalWidget.js +99 -0
- package/lib/commonjs/components/widgets/ModalWidget.js.map +1 -0
- package/lib/commonjs/components/widgets/ProgressDialog.js.map +1 -1
- package/lib/commonjs/components/widgets/SearchBar.js +74 -0
- package/lib/commonjs/components/widgets/SearchBar.js.map +1 -0
- package/lib/commonjs/components/widgets/SnackBarCustom.js +12 -4
- package/lib/commonjs/components/widgets/SnackBarCustom.js.map +1 -1
- package/lib/commonjs/components/widgets/SplitTextInput.js.map +1 -1
- package/lib/commonjs/components/widgets/TabsComponent.js +64 -0
- package/lib/commonjs/components/widgets/TabsComponent.js.map +1 -0
- package/lib/commonjs/constants/apiConstants.js +3 -1
- package/lib/commonjs/constants/apiConstants.js.map +1 -1
- package/lib/commonjs/constants/constants.js +2 -2
- package/lib/commonjs/constants/constants.js.map +1 -1
- package/lib/commonjs/events/EventDispatcher.js +1 -5
- package/lib/commonjs/events/EventDispatcher.js.map +1 -1
- package/lib/commonjs/events/constants.js +3 -1
- package/lib/commonjs/events/constants.js.map +1 -1
- package/lib/commonjs/events/interface.js.map +1 -1
- package/lib/commonjs/icons/file.js +24 -0
- package/lib/commonjs/icons/file.js.map +1 -0
- package/lib/commonjs/icons/interface.js +2 -0
- package/lib/commonjs/icons/interface.js.map +1 -0
- package/lib/commonjs/index.js +32 -13
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js +315 -609
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/EventCodeContainer.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/EventCodeRepo.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -1
- package/lib/commonjs/manager/jobRemoval/JobRemovalManager.js +21 -25
- package/lib/commonjs/manager/jobRemoval/JobRemovalManager.js.map +1 -1
- package/lib/commonjs/manager/location/LocationManager.js.map +1 -1
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js +15 -1
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js.map +1 -1
- package/lib/commonjs/manager/sdk/DispatchSdkCache.js +2 -2
- package/lib/commonjs/manager/sdk/DispatchSdkCache.js.map +1 -1
- package/lib/commonjs/manager/sdk/callbacksHandler.js +26 -0
- package/lib/commonjs/manager/sdk/callbacksHandler.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/AppSyncManager.js +15 -1
- package/lib/commonjs/manager/syncmanager/AppSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/DBConfig.js +36 -3
- package/lib/commonjs/manager/syncmanager/DBConfig.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/constants.js +17 -0
- package/lib/commonjs/manager/syncmanager/constants.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/database.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js +11 -17
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js +5 -6
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js +16 -6
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js +377 -26
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js +183 -65
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js +150 -37
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js.map +1 -1
- package/lib/commonjs/models/DispatchModels.js.map +1 -1
- package/lib/commonjs/models/execTasks/ETBaseModels.js +4 -0
- package/lib/commonjs/models/execTasks/ETBaseModels.js.map +1 -1
- package/lib/commonjs/models/sdk.js.map +1 -1
- package/lib/commonjs/native/signature/SignatureCapture.js.map +1 -1
- package/lib/commonjs/network/GraphQLClient.js.map +1 -1
- package/lib/commonjs/network/NetworkClient.js.map +1 -1
- package/lib/commonjs/network/NetworkUtils.js.map +1 -1
- package/lib/commonjs/network/client.js.map +1 -1
- package/lib/commonjs/resources/Login.js.map +1 -1
- package/lib/commonjs/resources/network.js.map +1 -1
- package/lib/commonjs/styles/SdkColors.js +4 -2
- package/lib/commonjs/styles/SdkColors.js.map +1 -1
- package/lib/commonjs/styles/executionTasks/CommonStyles.js +19 -10
- package/lib/commonjs/styles/executionTasks/CommonStyles.js.map +1 -1
- package/lib/commonjs/ui/screens/CancellationScreen.js +38 -7
- package/lib/commonjs/ui/screens/CancellationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CaptureInputScreen.js +11 -3
- package/lib/commonjs/ui/screens/CaptureInputScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js +11 -4
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DeliverScreen.js +26 -4
- package/lib/commonjs/ui/screens/DeliverScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DisplayScreen.js +11 -2
- package/lib/commonjs/ui/screens/DisplayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DoodleScreen.js +13 -6
- package/lib/commonjs/ui/screens/DoodleScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DropCashScreen.js +39 -15
- package/lib/commonjs/ui/screens/DropCashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ETScreensIndex.js +0 -7
- package/lib/commonjs/ui/screens/ETScreensIndex.js.map +1 -1
- package/lib/commonjs/ui/screens/FormsScreen.js +95 -28
- package/lib/commonjs/ui/screens/FormsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/GeofenceScreen.js +10 -2
- package/lib/commonjs/ui/screens/GeofenceScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HttpRequestScreen.js +10 -2
- package/lib/commonjs/ui/screens/HttpRequestScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js +26 -18
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentScreen.js +22 -11
- package/lib/commonjs/ui/screens/PaymentScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PickupScreen.js +34 -8
- package/lib/commonjs/ui/screens/PickupScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ScanScreen.js +72 -219
- package/lib/commonjs/ui/screens/ScanScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js +51 -16
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ValidateOTPScreen.js +13 -7
- package/lib/commonjs/ui/screens/ValidateOTPScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js.map +1 -1
- package/lib/commonjs/ui/uiConfig/RouteParams.js +20 -5
- package/lib/commonjs/ui/uiConfig/RouteParams.js.map +1 -1
- package/lib/commonjs/utils/ApiUtils.js +16 -2
- package/lib/commonjs/utils/ApiUtils.js.map +1 -1
- package/lib/commonjs/utils/ExecTaskUtils.js +33 -25
- package/lib/commonjs/utils/ExecTaskUtils.js.map +1 -1
- package/lib/commonjs/utils/Logger.js.map +1 -1
- package/lib/commonjs/utils/NetworkUtil.js.map +1 -1
- package/lib/commonjs/utils/SdkUtils.js.map +1 -1
- package/lib/commonjs/utils/SyncManagerUtils.js +37 -4
- package/lib/commonjs/utils/SyncManagerUtils.js.map +1 -1
- package/lib/commonjs/utils/fcm/FCM.js +64 -35
- package/lib/commonjs/utils/fcm/FCM.js.map +1 -1
- package/lib/commonjs/utils/fcm/FcmUtils.js +82 -46
- package/lib/commonjs/utils/fcm/FcmUtils.js.map +1 -1
- package/lib/commonjs/utils/helper.js.map +1 -1
- package/lib/commonjs/utils/hooks/useModal.js +53 -0
- package/lib/commonjs/utils/hooks/useModal.js.map +1 -0
- package/lib/commonjs/utils/loginHelper.js.map +1 -1
- package/lib/commonjs/utils/storage.js +37 -2
- package/lib/commonjs/utils/storage.js.map +1 -1
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/module/@types/assets/index.d.js +2 -0
- package/lib/module/@types/assets/index.d.js.map +1 -0
- package/lib/module/components/dispatch/DispatchExecNavigator.js +4 -4
- package/lib/module/components/dispatch/DispatchExecNavigator.js.map +1 -1
- package/lib/module/components/executiontasks/ExecutionTasksIndex.js +1 -5
- package/lib/module/components/executiontasks/ExecutionTasksIndex.js.map +1 -1
- package/lib/module/components/executiontasks/cancellation/CancelET.js.map +1 -1
- package/lib/module/components/executiontasks/captureInput/CaptureText.js +38 -37
- package/lib/module/components/executiontasks/captureInput/CaptureText.js.map +1 -1
- package/lib/module/components/executiontasks/captureInput/utils.js +7 -0
- package/lib/module/components/executiontasks/captureInput/utils.js.map +1 -0
- package/lib/module/components/executiontasks/deliver/DeliverET.js +4 -8
- package/lib/module/components/executiontasks/deliver/DeliverET.js.map +1 -1
- package/lib/module/components/executiontasks/deliver/DeliverETInput.js.map +1 -1
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js +183 -114
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/module/components/executiontasks/display/DisplayModalET.js +16 -16
- package/lib/module/components/executiontasks/display/DisplayModalET.js.map +1 -1
- package/lib/module/components/executiontasks/doodle/SignatureET.js +39 -36
- package/lib/module/components/executiontasks/doodle/SignatureET.js.map +1 -1
- package/lib/module/components/executiontasks/dropCash/DropCashET.js +2 -2
- package/lib/module/components/executiontasks/dropCash/DropCashET.js.map +1 -1
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js +53 -52
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js.map +1 -1
- package/lib/module/components/executiontasks/forms/FormGenerator.js +73 -68
- package/lib/module/components/executiontasks/forms/FormGenerator.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/DropdownWidget.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +1 -1
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -1
- package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js +3 -3
- package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -1
- package/lib/module/components/executiontasks/httpRequest/HttpRequestET.js +3 -3
- package/lib/module/components/executiontasks/httpRequest/HttpRequestET.js.map +1 -1
- package/lib/module/components/executiontasks/imageCapture/CaptureSchema.js.map +1 -1
- package/lib/module/components/executiontasks/imageCapture/CaptureUtils.js +6 -3
- package/lib/module/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -1
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js +36 -36
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js.map +1 -1
- package/lib/module/components/executiontasks/payments/PaymentUtils.js.map +1 -1
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js +55 -54
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js +35 -34
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js +35 -35
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/PickupET.js +4 -8
- package/lib/module/components/executiontasks/pickup/PickupET.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/SLPickupET.js +108 -49
- package/lib/module/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/module/components/executiontasks/scan/ScanET.js +332 -433
- package/lib/module/components/executiontasks/scan/ScanET.js.map +1 -1
- package/lib/module/components/executiontasks/scan/ScanSchema.js +16 -1
- package/lib/module/components/executiontasks/scan/ScanSchema.js.map +1 -1
- package/lib/module/components/executiontasks/scan/interfaces.js +12 -0
- package/lib/module/components/executiontasks/scan/interfaces.js.map +1 -1
- package/lib/module/components/executiontasks/scan/modalConstant.js +94 -0
- package/lib/module/components/executiontasks/scan/modalConstant.js.map +1 -0
- package/lib/module/components/executiontasks/scan/sub_components/CScanner.js.map +1 -1
- package/lib/module/components/executiontasks/scan/sub_components/DropDownUtils.js +72 -37
- package/lib/module/components/executiontasks/scan/sub_components/DropDownUtils.js.map +1 -1
- package/lib/module/components/executiontasks/scan/sub_components/ERDropDown.js +9 -7
- package/lib/module/components/executiontasks/scan/sub_components/ERDropDown.js.map +1 -1
- package/lib/module/components/executiontasks/scan/sub_components/SummaryPage.js +1089 -0
- package/lib/module/components/executiontasks/scan/sub_components/SummaryPage.js.map +1 -0
- package/lib/module/components/executiontasks/scan/utils.js +528 -160
- package/lib/module/components/executiontasks/scan/utils.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPET.js +54 -55
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPET.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/sub-components/OTPInput.js +4 -0
- package/lib/module/components/executiontasks/validateOTP/sub-components/OTPInput.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/utils.js.map +1 -1
- package/lib/module/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -1
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js +1 -1
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -1
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js +2 -2
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -1
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpSchema.js.map +1 -1
- package/lib/module/components/utils/index.js +8 -0
- package/lib/module/components/utils/index.js.map +1 -0
- package/lib/module/components/widgets/AlertDisplay.js.map +1 -1
- package/lib/module/components/widgets/CancelOrderDialog.js.map +1 -1
- package/lib/module/components/widgets/Card.js +80 -0
- package/lib/module/components/widgets/Card.js.map +1 -0
- package/lib/module/components/widgets/GoBackModal.js +40 -0
- package/lib/module/components/widgets/GoBackModal.js.map +1 -0
- package/lib/module/components/widgets/IconButton.js.map +1 -1
- package/lib/module/components/widgets/ModalWidget.js +92 -0
- package/lib/module/components/widgets/ModalWidget.js.map +1 -0
- package/lib/module/components/widgets/ProgressDialog.js.map +1 -1
- package/lib/module/components/widgets/SearchBar.js +66 -0
- package/lib/module/components/widgets/SearchBar.js.map +1 -0
- package/lib/module/components/widgets/SnackBarCustom.js +12 -4
- package/lib/module/components/widgets/SnackBarCustom.js.map +1 -1
- package/lib/module/components/widgets/SplitTextInput.js.map +1 -1
- package/lib/module/components/widgets/TabsComponent.js +55 -0
- package/lib/module/components/widgets/TabsComponent.js.map +1 -0
- package/lib/module/constants/apiConstants.js +3 -1
- package/lib/module/constants/apiConstants.js.map +1 -1
- package/lib/module/constants/constants.js +2 -2
- package/lib/module/constants/constants.js.map +1 -1
- package/lib/module/events/EventDispatcher.js +0 -3
- package/lib/module/events/EventDispatcher.js.map +1 -1
- package/lib/module/events/constants.js +3 -1
- package/lib/module/events/constants.js.map +1 -1
- package/lib/module/events/interface.js.map +1 -1
- package/lib/module/icons/file.js +16 -0
- package/lib/module/icons/file.js.map +1 -0
- package/lib/module/icons/interface.js +2 -0
- package/lib/module/icons/interface.js.map +1 -0
- package/lib/module/index.js +6 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/manager/dispatch/DispatchStateContainer.js +319 -610
- package/lib/module/manager/dispatch/DispatchStateContainer.js.map +1 -1
- package/lib/module/manager/dispatchCodes/EventCodeContainer.js.map +1 -1
- package/lib/module/manager/dispatchCodes/EventCodeRepo.js.map +1 -1
- package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -1
- package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -1
- package/lib/module/manager/jobRemoval/JobRemovalManager.js +21 -19
- package/lib/module/manager/jobRemoval/JobRemovalManager.js.map +1 -1
- package/lib/module/manager/location/LocationManager.js.map +1 -1
- package/lib/module/manager/sdk/DispatchSDKManager.js +15 -1
- package/lib/module/manager/sdk/DispatchSDKManager.js.map +1 -1
- package/lib/module/manager/sdk/DispatchSdkCache.js +2 -2
- package/lib/module/manager/sdk/DispatchSdkCache.js.map +1 -1
- package/lib/module/manager/sdk/callbacksHandler.js +19 -0
- package/lib/module/manager/sdk/callbacksHandler.js.map +1 -0
- package/lib/module/manager/syncmanager/AppSyncManager.js +15 -1
- package/lib/module/manager/syncmanager/AppSyncManager.js.map +1 -1
- package/lib/module/manager/syncmanager/DBConfig.js +32 -2
- package/lib/module/manager/syncmanager/DBConfig.js.map +1 -1
- package/lib/module/manager/syncmanager/constants.js +6 -0
- package/lib/module/manager/syncmanager/constants.js.map +1 -0
- package/lib/module/manager/syncmanager/database.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js +11 -17
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentManager.js +5 -6
- package/lib/module/manager/syncmanager/document/DocumentManager.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js +16 -6
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js.map +1 -1
- package/lib/module/manager/syncmanager/events/ETEventsManager.js +377 -25
- package/lib/module/manager/syncmanager/events/ETEventsManager.js.map +1 -1
- package/lib/module/manager/syncmanager/events/EventsSyncManager.js +183 -65
- package/lib/module/manager/syncmanager/events/EventsSyncManager.js.map +1 -1
- package/lib/module/manager/syncmanager/events/SyncHttpClient.js +147 -34
- package/lib/module/manager/syncmanager/events/SyncHttpClient.js.map +1 -1
- package/lib/module/models/DispatchModels.js.map +1 -1
- package/lib/module/models/execTasks/ETBaseModels.js +1 -1
- package/lib/module/models/execTasks/ETBaseModels.js.map +1 -1
- package/lib/module/models/sdk.js.map +1 -1
- package/lib/module/native/signature/SignatureCapture.js.map +1 -1
- package/lib/module/network/GraphQLClient.js.map +1 -1
- package/lib/module/network/NetworkClient.js.map +1 -1
- package/lib/module/network/NetworkUtils.js.map +1 -1
- package/lib/module/network/client.js.map +1 -1
- package/lib/module/resources/Login.js.map +1 -1
- package/lib/module/resources/network.js.map +1 -1
- package/lib/module/styles/SdkColors.js +4 -2
- package/lib/module/styles/SdkColors.js.map +1 -1
- package/lib/module/styles/executionTasks/CommonStyles.js +19 -10
- package/lib/module/styles/executionTasks/CommonStyles.js.map +1 -1
- package/lib/module/ui/screens/CancellationScreen.js +39 -8
- package/lib/module/ui/screens/CancellationScreen.js.map +1 -1
- package/lib/module/ui/screens/CaptureInputScreen.js +12 -4
- package/lib/module/ui/screens/CaptureInputScreen.js.map +1 -1
- package/lib/module/ui/screens/CompleteObjectiveScreen.js +12 -5
- package/lib/module/ui/screens/CompleteObjectiveScreen.js.map +1 -1
- package/lib/module/ui/screens/DeliverScreen.js +27 -5
- package/lib/module/ui/screens/DeliverScreen.js.map +1 -1
- package/lib/module/ui/screens/DisplayScreen.js +12 -3
- package/lib/module/ui/screens/DisplayScreen.js.map +1 -1
- package/lib/module/ui/screens/DoodleScreen.js +14 -7
- package/lib/module/ui/screens/DoodleScreen.js.map +1 -1
- package/lib/module/ui/screens/DropCashScreen.js +42 -16
- package/lib/module/ui/screens/DropCashScreen.js.map +1 -1
- package/lib/module/ui/screens/ETScreensIndex.js +1 -2
- package/lib/module/ui/screens/ETScreensIndex.js.map +1 -1
- package/lib/module/ui/screens/FormsScreen.js +96 -29
- package/lib/module/ui/screens/FormsScreen.js.map +1 -1
- package/lib/module/ui/screens/GeofenceScreen.js +11 -3
- package/lib/module/ui/screens/GeofenceScreen.js.map +1 -1
- package/lib/module/ui/screens/HttpRequestScreen.js +11 -3
- package/lib/module/ui/screens/HttpRequestScreen.js.map +1 -1
- package/lib/module/ui/screens/ImageCaptureScreen.js +27 -19
- package/lib/module/ui/screens/ImageCaptureScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentScreen.js +23 -12
- package/lib/module/ui/screens/PaymentScreen.js.map +1 -1
- package/lib/module/ui/screens/PickupScreen.js +36 -10
- package/lib/module/ui/screens/PickupScreen.js.map +1 -1
- package/lib/module/ui/screens/ScanScreen.js +74 -222
- package/lib/module/ui/screens/ScanScreen.js.map +1 -1
- package/lib/module/ui/screens/StartWorkFlowScreen.js +51 -16
- package/lib/module/ui/screens/StartWorkFlowScreen.js.map +1 -1
- package/lib/module/ui/screens/ValidateOTPScreen.js +14 -8
- package/lib/module/ui/screens/ValidateOTPScreen.js.map +1 -1
- package/lib/module/ui/screens/WithBaseDispatchScreen.js.map +1 -1
- package/lib/module/ui/uiConfig/RouteParams.js +19 -5
- package/lib/module/ui/uiConfig/RouteParams.js.map +1 -1
- package/lib/module/utils/ApiUtils.js +17 -2
- package/lib/module/utils/ApiUtils.js.map +1 -1
- package/lib/module/utils/ExecTaskUtils.js +33 -25
- package/lib/module/utils/ExecTaskUtils.js.map +1 -1
- package/lib/module/utils/Logger.js.map +1 -1
- package/lib/module/utils/NetworkUtil.js.map +1 -1
- package/lib/module/utils/SdkUtils.js.map +1 -1
- package/lib/module/utils/SyncManagerUtils.js +37 -4
- package/lib/module/utils/SyncManagerUtils.js.map +1 -1
- package/lib/module/utils/fcm/FCM.js +64 -35
- package/lib/module/utils/fcm/FCM.js.map +1 -1
- package/lib/module/utils/fcm/FcmUtils.js +82 -46
- package/lib/module/utils/fcm/FcmUtils.js.map +1 -1
- package/lib/module/utils/helper.js.map +1 -1
- package/lib/module/utils/hooks/useModal.js +43 -0
- package/lib/module/utils/hooks/useModal.js.map +1 -0
- package/lib/module/utils/loginHelper.js.map +1 -1
- package/lib/module/utils/storage.js +37 -2
- package/lib/module/utils/storage.js.map +1 -1
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/typescript/components/dispatch/DispatchExecNavigator.d.ts +2 -2
- package/lib/typescript/components/executiontasks/ExecutionTasksIndex.d.ts +3 -8
- package/lib/typescript/components/executiontasks/cancellation/CancelET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/captureInput/CaptureText.d.ts +2 -2
- package/lib/typescript/components/executiontasks/captureInput/utils.d.ts +1 -0
- package/lib/typescript/components/executiontasks/deliver/DeliverET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/deliver/DeliverETInput.d.ts +1 -0
- package/lib/typescript/components/executiontasks/deliver/SLDeliverET.d.ts +3 -3
- package/lib/typescript/components/executiontasks/display/DisplayModalET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/doodle/SignatureET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/dropCash/DropCashET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/dropCash/SLDropCash.d.ts +2 -2
- package/lib/typescript/components/executiontasks/forms/FormGenerator.d.ts +2 -2
- package/lib/typescript/components/executiontasks/forms/widgets/DateTimeWidget.d.ts +2 -2
- package/lib/typescript/components/executiontasks/forms/widgets/DropdownWidget.d.ts +2 -2
- package/lib/typescript/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.d.ts +2 -2
- package/lib/typescript/components/executiontasks/forms/widgets/TimeRangeSelector.d.ts +2 -2
- package/lib/typescript/components/executiontasks/httpRequest/HttpEtUtils.d.ts +1 -1
- package/lib/typescript/components/executiontasks/httpRequest/HttpRequestET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/imageCapture/CaptureSchema.d.ts +1 -0
- package/lib/typescript/components/executiontasks/imageCapture/ImageCapture.d.ts +2 -2
- package/lib/typescript/components/executiontasks/payments/completePayment/CompletePaymentET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/payments/init/InitPaymentET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/pickup/PickupET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/pickup/SLPickupET.d.ts +3 -3
- package/lib/typescript/components/executiontasks/scan/ScanET.d.ts +3 -3
- package/lib/typescript/components/executiontasks/scan/ScanSchema.d.ts +25 -9
- package/lib/typescript/components/executiontasks/scan/interfaces.d.ts +54 -1
- package/lib/typescript/components/executiontasks/scan/modalConstant.d.ts +37 -0
- package/lib/typescript/components/executiontasks/scan/sub_components/CScanner.d.ts +1 -1
- package/lib/typescript/components/executiontasks/scan/sub_components/DropDownUtils.d.ts +1 -1
- package/lib/typescript/components/executiontasks/scan/sub_components/ERDropDown.d.ts +1 -1
- package/lib/typescript/components/executiontasks/scan/sub_components/SummaryPage.d.ts +21 -0
- package/lib/typescript/components/executiontasks/scan/utils.d.ts +29 -13
- package/lib/typescript/components/executiontasks/validateOTP/ValidateOTPET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/validateOTP/sub-components/OTPInput.d.ts +2 -2
- package/lib/typescript/components/executiontasks/verifyLocation/VerifyLocationET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/verifyOtp/VerifyOtpET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/verifyOtp/VerifyOtpSchema.d.ts +3 -3
- package/lib/typescript/components/utils/index.d.ts +2 -0
- package/lib/typescript/components/widgets/CancelOrderDialog.d.ts +2 -2
- package/lib/typescript/components/widgets/Card.d.ts +17 -0
- package/lib/typescript/components/widgets/GoBackModal.d.ts +9 -0
- package/lib/typescript/components/widgets/IconButton.d.ts +2 -2
- package/lib/typescript/components/widgets/ModalWidget.d.ts +30 -0
- package/lib/typescript/components/widgets/ProgressDialog.d.ts +2 -2
- package/lib/typescript/components/widgets/SearchBar.d.ts +10 -0
- package/lib/typescript/components/widgets/SnackBarCustom.d.ts +3 -2
- package/lib/typescript/components/widgets/SplitTextInput.d.ts +2 -2
- package/lib/typescript/components/widgets/TabsComponent.d.ts +15 -0
- package/lib/typescript/constants/apiConstants.d.ts +1 -0
- package/lib/typescript/constants/constants.d.ts +2 -2
- package/lib/typescript/events/EventDispatcher.d.ts +0 -2
- package/lib/typescript/events/constants.d.ts +2 -0
- package/lib/typescript/events/interface.d.ts +1 -1
- package/lib/typescript/icons/file.d.ts +4 -0
- package/lib/typescript/icons/interface.d.ts +5 -0
- package/lib/typescript/index.d.ts +8 -6
- package/lib/typescript/manager/dispatch/DispatchStateContainer.d.ts +27 -19
- package/lib/typescript/manager/jobRemoval/JobRemovalManager.d.ts +0 -6
- package/lib/typescript/manager/sdk/DispatchSdkCache.d.ts +0 -1
- package/lib/typescript/manager/sdk/callbacksHandler.d.ts +13 -0
- package/lib/typescript/manager/syncmanager/AppSyncManager.d.ts +2 -1
- package/lib/typescript/manager/syncmanager/DBConfig.d.ts +63 -7
- package/lib/typescript/manager/syncmanager/constants.d.ts +5 -0
- package/lib/typescript/manager/syncmanager/document/DocumentManager.d.ts +1 -1
- package/lib/typescript/manager/syncmanager/document/DocumentSyncManager.d.ts +1 -1
- package/lib/typescript/manager/syncmanager/events/ETEventsManager.d.ts +11 -2
- package/lib/typescript/manager/syncmanager/events/EventsSyncManager.d.ts +3 -5
- package/lib/typescript/manager/syncmanager/events/SyncHttpClient.d.ts +4 -3
- package/lib/typescript/models/DispatchModels.d.ts +40 -41
- package/lib/typescript/models/execTasks/ETBaseModels.d.ts +21 -16
- package/lib/typescript/models/sdk.d.ts +7 -0
- package/lib/typescript/native/signature/SignatureCapture.d.ts +1 -1
- package/lib/typescript/styles/SdkColors.d.ts +1 -0
- package/lib/typescript/styles/executionTasks/CommonStyles.d.ts +16 -7
- package/lib/typescript/ui/screens/CancellationScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/CaptureInputScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/CompleteObjectiveScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/DeliverScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/DisplayScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/DoodleScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/DropCashScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/ETScreensIndex.d.ts +1 -2
- package/lib/typescript/ui/screens/FormsScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/GeofenceScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/HttpRequestScreen.d.ts +1 -1
- package/lib/typescript/ui/screens/ImageCaptureScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/PaymentScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/PickupScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/ScanScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/StartWorkFlowScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/ValidateOTPScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/WithBaseDispatchScreen.d.ts +2 -2
- package/lib/typescript/ui/uiConfig/RouteParams.d.ts +10 -4
- package/lib/typescript/utils/ExecTaskUtils.d.ts +5 -4
- package/lib/typescript/utils/SyncManagerUtils.d.ts +4 -5
- package/lib/typescript/utils/hooks/useModal.d.ts +6 -0
- package/lib/typescript/utils/storage.d.ts +15 -0
- package/package.json +5 -4
- package/tsconfig.json +0 -1
- package/android/.gradle/6.8/fileHashes/fileHashes.lock +0 -0
- package/android/.idea/workspace.xml +0 -131
- package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js +0 -26
- package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/ScanList.js +0 -134
- package/lib/commonjs/components/executiontasks/scan/sub_components/ScanList.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/CScanner.js +0 -105
- package/lib/commonjs/components/executiontasks/scanner/CScanner.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js +0 -27
- package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js +0 -164
- package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js +0 -15
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js +0 -40
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js +0 -93
- package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js +0 -278
- package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/ReasonDropDown.js +0 -83
- package/lib/commonjs/components/executiontasks/scanner/returns/ReasonDropDown.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js +0 -248
- package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js.map +0 -1
- package/lib/commonjs/ui/screens/RTScanScreen.js +0 -99
- package/lib/commonjs/ui/screens/RTScanScreen.js.map +0 -1
- package/lib/module/components/executiontasks/doodle/DoodleUtils.js +0 -19
- package/lib/module/components/executiontasks/doodle/DoodleUtils.js.map +0 -1
- package/lib/module/components/executiontasks/scan/sub_components/ScanList.js +0 -124
- package/lib/module/components/executiontasks/scan/sub_components/ScanList.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/CScanner.js +0 -96
- package/lib/module/components/executiontasks/scanner/CScanner.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/ScannerSchema.js +0 -24
- package/lib/module/components/executiontasks/scanner/ScannerSchema.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/ScannerUtils.js +0 -146
- package/lib/module/components/executiontasks/scanner/ScannerUtils.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js +0 -7
- package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js +0 -33
- package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js +0 -83
- package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/RTScan.js +0 -269
- package/lib/module/components/executiontasks/scanner/returns/RTScan.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js +0 -73
- package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/ScanList.js +0 -238
- package/lib/module/components/executiontasks/scanner/returns/ScanList.js.map +0 -1
- package/lib/module/ui/screens/RTScanScreen.js +0 -89
- package/lib/module/ui/screens/RTScanScreen.js.map +0 -1
- package/lib/typescript/components/executiontasks/doodle/DoodleUtils.d.ts +0 -3
- package/lib/typescript/components/executiontasks/scan/sub_components/ScanList.d.ts +0 -8
- package/lib/typescript/components/executiontasks/scanner/CScanner.d.ts +0 -7
- package/lib/typescript/components/executiontasks/scanner/ScannerSchema.d.ts +0 -75
- package/lib/typescript/components/executiontasks/scanner/ScannerUtils.d.ts +0 -15
- package/lib/typescript/components/executiontasks/scanner/returns/DropDownSelector.d.ts +0 -3
- package/lib/typescript/components/executiontasks/scanner/returns/DropDownUtils.d.ts +0 -2
- package/lib/typescript/components/executiontasks/scanner/returns/RTReasonSelection.d.ts +0 -7
- package/lib/typescript/components/executiontasks/scanner/returns/RTScan.d.ts +0 -4
- package/lib/typescript/components/executiontasks/scanner/returns/ReasonDropDown.d.ts +0 -14
- package/lib/typescript/components/executiontasks/scanner/returns/ScanList.d.ts +0 -17
- package/lib/typescript/ui/screens/RTScanScreen.d.ts +0 -3
- /package/android/.gradle/{6.8 → 7.0.2}/fileChanges/last-build.bin +0 -0
- /package/android/.gradle/{6.8 → 7.0.2}/gc.properties +0 -0
- /package/android/.gradle/{configuration-cache → 7.2/dependencies-accessors}/gc.properties +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IDispatchExecutor, IDispatch } from '@os1-platform/platform-coreos-execution-engine-sdk';
|
|
2
|
+
import { ExecutionTaskID } from '../../models/execTasks/ETConfig';
|
|
2
3
|
import type { ETSummary } from '../../models/execTasks/ETBaseModels';
|
|
3
|
-
import type { LockObjectiveState, QueryObjectiveState } from '../../models/DispatchModels';
|
|
4
4
|
import DispatchSdkCache from '../sdk/DispatchSdkCache';
|
|
5
|
-
import type { BaseETProps, JobObjectiveType, stateParams
|
|
5
|
+
import type { BaseETProps, JobObjectiveType, stateParams } from '../../models/DispatchModels';
|
|
6
6
|
export default class DispatchStateContainer {
|
|
7
7
|
cacheKeys: {
|
|
8
8
|
SDK_CONFIG: string;
|
|
@@ -11,44 +11,52 @@ export default class DispatchStateContainer {
|
|
|
11
11
|
FIREBASE_REGISTRATION_TOKEN: string;
|
|
12
12
|
REASON_FETCH_TIME: string;
|
|
13
13
|
CURRENT_WORKING_TASK_ID: string;
|
|
14
|
-
TASK_START_TIME: string;
|
|
15
14
|
};
|
|
16
15
|
cache: DispatchSdkCache;
|
|
17
16
|
get stateKeys(): string[];
|
|
18
17
|
set stateKeys(value: string[]);
|
|
19
|
-
get mappedStates(): Map<string,
|
|
20
|
-
set mappedStates(value: Map<string,
|
|
18
|
+
get mappedStates(): Map<string, IDispatch.IExecutionTaskQueryResponse>;
|
|
19
|
+
set mappedStates(value: Map<string, IDispatch.IExecutionTaskQueryResponse>);
|
|
21
20
|
private static instance;
|
|
22
|
-
private dispatchExecutor;
|
|
23
21
|
private successRoute;
|
|
24
22
|
private failureRoute;
|
|
25
23
|
private _stateKeys;
|
|
26
24
|
_jobObjectives: JobObjectiveType[] | null;
|
|
27
25
|
private _mappedStates;
|
|
26
|
+
private _mappedStatesData;
|
|
28
27
|
/**
|
|
29
28
|
* Call this function when dispatch data is fetched successfully in client app
|
|
30
29
|
* @param dispatchID
|
|
31
30
|
* @param jobs
|
|
32
|
-
* @param
|
|
31
|
+
* @param dispatchWorkflows
|
|
33
32
|
* @param maxTaskReattempt
|
|
34
33
|
*/
|
|
35
|
-
initDispatchExecutor(dispatchID: string, jobs: Job[],
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
34
|
+
initDispatchExecutor(dispatchID: string, jobs: IDispatchExecutor.Job[], dispatchWorkflows: {
|
|
35
|
+
[id: string]: IDispatchExecutor.Workflow;
|
|
36
|
+
}, maxTaskReattempt?: number): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @param mergedObjectiveId
|
|
40
|
+
* @returns IExecutionTaskQueryResponse {
|
|
41
|
+
* mergedObjectiveId: string;
|
|
42
|
+
* taskName: string;
|
|
43
|
+
* taskId: string;
|
|
44
|
+
* input: any;
|
|
45
|
+
* }
|
|
46
|
+
*/
|
|
47
|
+
queryNextET(mergedObjectiveId: Array<string>, statusFilter: IDispatchExecutor.ExecutionStatus[]): Promise<IDispatch.IExecutionTaskQueryResponse[]>;
|
|
48
|
+
private updateScanETOutputSharedPreference;
|
|
49
|
+
private updatePendingSharedPreference;
|
|
50
|
+
sendETOutput(etOutput: any, states: any, isMergedObjectiveBasedOutput?: boolean): Promise<void>;
|
|
51
|
+
private findPrefixKey;
|
|
42
52
|
static getInstance(): DispatchStateContainer;
|
|
43
|
-
fetchObjectiveState(objRef: string, jobID: string): string;
|
|
44
53
|
setSuccessRoute(route: string): void;
|
|
45
54
|
getSuccessRoute(): string | null;
|
|
46
55
|
setFailureRoute(route: string): void;
|
|
47
56
|
getFailureRoute(): string | null;
|
|
48
57
|
getObjectiveSummary(jobObjective: JobObjectiveType): Promise<ETSummary[]>;
|
|
49
|
-
navigateToNextTask(navigation: any, route: any, etOutput: any, etSuccess: boolean, entityCode: string, eTaskID:
|
|
50
|
-
private getJobObjectiveList;
|
|
58
|
+
navigateToNextTask(navigation: any, route: any, etOutput: any, etSuccess: boolean, entityCode: string, eTaskID: ExecutionTaskID, baseETProps: BaseETProps, isLastTask?: boolean, isMergeObjectiveBasedOutput?: boolean): Promise<void>;
|
|
51
59
|
moveToNextET(etOutput: any, baseETProps: BaseETProps, states: stateParams, navigation: any, isLastTask?: boolean): Promise<void>;
|
|
52
60
|
private saveAndProceedToNextET;
|
|
53
|
-
saveAndProceed(baseETProps: BaseETProps, etOutput: any, states: stateParams, navigation: any, isLastTask?: boolean,
|
|
61
|
+
saveAndProceed(baseETProps: BaseETProps, etOutput: any, states: stateParams, navigation: any, isLastTask?: boolean, isMergedObjectiveBasedOutput?: boolean): Promise<void>;
|
|
54
62
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export default class JobRemovalManager {
|
|
2
|
-
private static instance;
|
|
3
|
-
private constructor();
|
|
4
|
-
static getInstance(): JobRemovalManager;
|
|
5
|
-
handleRemoval(dispatchId: string, jobs: string[]): Promise<import("@os1-platform/mobile-execution-lib/lib/typescript/interfaces").JobRemovalResult>;
|
|
6
|
-
}
|
|
@@ -9,7 +9,6 @@ export default class DispatchSdkCache {
|
|
|
9
9
|
FIREBASE_REGISTRATION_TOKEN: string;
|
|
10
10
|
REASON_FETCH_TIME: string;
|
|
11
11
|
CURRENT_WORKING_TASK_ID: string;
|
|
12
|
-
TASK_START_TIME: string;
|
|
13
12
|
};
|
|
14
13
|
setObjectInCache(keyName: string, obj: any): Promise<void>;
|
|
15
14
|
getObjectFromCache(keyName: string): Promise<any>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare class CallbacksHandler {
|
|
2
|
+
private _callbackToFetchPhoneNumbers;
|
|
3
|
+
init(phoneCallback: (sdsIds: string[]) => Promise<{
|
|
4
|
+
key: string;
|
|
5
|
+
value: string[];
|
|
6
|
+
}>): void;
|
|
7
|
+
getPhoneNumbers(sdsIds: string[]): Promise<{
|
|
8
|
+
key: string;
|
|
9
|
+
value: string[];
|
|
10
|
+
} | null>;
|
|
11
|
+
}
|
|
12
|
+
declare const callbackHandler: CallbacksHandler;
|
|
13
|
+
export default callbackHandler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SdkSyncType } from '../../models/DispatchModels';
|
|
2
|
-
import type { DocumentRow, EventRow } from './DBConfig';
|
|
2
|
+
import type { BulkEvent, DocumentRow, EventRow } from './DBConfig';
|
|
3
3
|
export default class AppSyncManager {
|
|
4
4
|
private constructor();
|
|
5
5
|
private static instance;
|
|
@@ -22,4 +22,5 @@ export default class AppSyncManager {
|
|
|
22
22
|
getAllEvents(dispatchID?: string): Promise<EventRow[]>;
|
|
23
23
|
getAllDocuments(dispatchID?: string): Promise<DocumentRow[]>;
|
|
24
24
|
startSDKSyncManager(): void;
|
|
25
|
+
pushToQueue(pushData: BulkEvent): Promise<boolean>;
|
|
25
26
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IDispatch } from '@os1-platform/platform-coreos-execution-engine-sdk';
|
|
2
|
+
export type ExecEngineSyncType = IDispatch.SyncType;
|
|
3
|
+
export declare enum DispatchSyncType {
|
|
4
|
+
DEFAULT = "DEFAULT",
|
|
5
|
+
DISPATCH_UPDATE = "DISPATCH_UPDATE"
|
|
6
|
+
}
|
|
2
7
|
export declare const DATABASE_NAME = "DISPATCH_DB";
|
|
3
8
|
export declare const EVENTS_TABLE = "EVENTS_TABLE";
|
|
4
9
|
export declare const REASONS_TABLE = "REASONS_TABLE";
|
|
@@ -10,9 +15,10 @@ export declare const EVENTS_COLUMNS: {
|
|
|
10
15
|
SYNCED: string;
|
|
11
16
|
CONFIG: string;
|
|
12
17
|
SYNC_TYPE: string;
|
|
13
|
-
|
|
18
|
+
META: string;
|
|
14
19
|
SYNC_ERROR: string;
|
|
15
20
|
DISPATCH_ID: string;
|
|
21
|
+
DATA_LENGTH: string;
|
|
16
22
|
};
|
|
17
23
|
export declare const DOCUMENT_TABLE = "DOCUMENTS_TABLE";
|
|
18
24
|
export declare const DOCUMENT_COLUMNS: {
|
|
@@ -54,7 +60,7 @@ export type EventRow = {
|
|
|
54
60
|
payload: string;
|
|
55
61
|
synced: boolean;
|
|
56
62
|
config: string;
|
|
57
|
-
sync_type:
|
|
63
|
+
sync_type: ExecEngineSyncType | DispatchSyncType;
|
|
58
64
|
objective_ref: string;
|
|
59
65
|
sync_error: string;
|
|
60
66
|
dispatch_id: string;
|
|
@@ -88,10 +94,60 @@ export declare const EventColumns: {
|
|
|
88
94
|
SUCCESS_EVENT: string;
|
|
89
95
|
};
|
|
90
96
|
export interface BulkEvent {
|
|
91
|
-
syncType:
|
|
97
|
+
syncType: ExecEngineSyncType | DispatchSyncType;
|
|
92
98
|
dispatchId: string;
|
|
93
|
-
data:
|
|
94
|
-
|
|
95
|
-
|
|
99
|
+
data: any;
|
|
100
|
+
meta?: any;
|
|
101
|
+
}
|
|
102
|
+
export interface WFUpdateBulkEventData {
|
|
103
|
+
[customETName: string]: EventETData;
|
|
104
|
+
}
|
|
105
|
+
export interface EventETData {
|
|
106
|
+
output: any;
|
|
107
|
+
}
|
|
108
|
+
export interface WIUpdateOutputPayload {
|
|
109
|
+
dispatchId: string;
|
|
110
|
+
updatedBy: any;
|
|
111
|
+
workflows: Array<WorkflowUpdatePayload>;
|
|
112
|
+
}
|
|
113
|
+
export interface WorkflowUpdatePayload {
|
|
114
|
+
status: string;
|
|
115
|
+
timestamp: number;
|
|
116
|
+
attemptId: 1;
|
|
117
|
+
code: string;
|
|
118
|
+
data: any;
|
|
96
119
|
meta?: any;
|
|
120
|
+
__unmerged?: Array<UnmergedData>;
|
|
121
|
+
}
|
|
122
|
+
export interface UnmergedData {
|
|
123
|
+
workflowInstanceId: string;
|
|
124
|
+
jobId: string;
|
|
125
|
+
data?: any;
|
|
126
|
+
}
|
|
127
|
+
export interface CustodyData {
|
|
128
|
+
dispatchId: string;
|
|
129
|
+
jobId: string;
|
|
130
|
+
custodyEntity: string;
|
|
131
|
+
custodyLocationId: string;
|
|
132
|
+
custodyEntityAmount: number;
|
|
133
|
+
custodyEntityId: string;
|
|
134
|
+
}
|
|
135
|
+
export declare const WORKFLOW_INSTANCE_TABLE = "WF_INSTANCE_TABLE";
|
|
136
|
+
export declare const WORKFLOW_INSTANCE_COLUMNS: {
|
|
137
|
+
WORKFLOW_INSTANCE_ID: string;
|
|
138
|
+
MERGED_WORKFLOW_INSTANCE_ID: string;
|
|
139
|
+
JOB_ID: string;
|
|
140
|
+
SCANNABLE_ID: string;
|
|
141
|
+
INITIAL_MERGED_WORKFLOW_INSTANCE_ID: string;
|
|
142
|
+
STATUS: string;
|
|
143
|
+
JOB_WF_ID: string;
|
|
144
|
+
DISPLAY_DATA: string;
|
|
145
|
+
WORKFLOW_ID: string;
|
|
146
|
+
};
|
|
147
|
+
export interface SyncManagerPayload {
|
|
148
|
+
data: {
|
|
149
|
+
action: ExecEngineSyncType | DispatchSyncType;
|
|
150
|
+
payload: any;
|
|
151
|
+
};
|
|
152
|
+
length: number;
|
|
97
153
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const BULK_DATA_LIMIT = 1000;
|
|
2
|
+
export declare const LAST_SYNCED_EVENT_ID = "lastSyncedEventId";
|
|
3
|
+
export declare const SHARED_PREFERENCE_DISPATCH_ID = "sharedPreferenceDispatchId";
|
|
4
|
+
export declare const SHARED_PREFERENCE_SCAN_OUTPUT = "scanETMappedOutput";
|
|
5
|
+
export declare const SCAN_MERGED_OBJ_ID_OUTPUT = "scanMergedObjectiveIDs";
|
|
@@ -5,7 +5,7 @@ export default class DocumentManager {
|
|
|
5
5
|
private constructor();
|
|
6
6
|
static getInstance(): Promise<DocumentManager>;
|
|
7
7
|
init(): Promise<void>;
|
|
8
|
-
insertDocument(fmsFolderID: string | null, desc: string, dspID: string,
|
|
8
|
+
insertDocument(fmsFolderID: string | null, desc: string, dspID: string, base64: boolean, fileName: string, fileType: string, data?: string | null, filePath?: string | null, priority?: number): Promise<SQLResultSet>;
|
|
9
9
|
getAllDocuments(dispatchID?: string): Promise<DocumentRow[]>;
|
|
10
10
|
getAllUnsyncedDocs(): Promise<DocumentRow[]>;
|
|
11
11
|
deleteAllSyncedDocuments(dispatchID: string): Promise<SQLResultSet>;
|
|
@@ -14,7 +14,7 @@ export default class DocumentSyncManager {
|
|
|
14
14
|
static getInstance(): DocumentSyncManager;
|
|
15
15
|
startDocumentSync(): Promise<void>;
|
|
16
16
|
isSyncPending(): Promise<boolean>;
|
|
17
|
-
insertDocument(fmsFolderID: string | null, data: string | null, base64: boolean, desc: string, dspID: string,
|
|
17
|
+
insertDocument(fmsFolderID: string | null, data: string | null, base64: boolean, desc: string, dspID: string, filePath: string | null, fileType: string, fileName: string, priority?: number): Promise<SQLResultSet>;
|
|
18
18
|
forceDocumentSync(): Promise<void>;
|
|
19
19
|
private updateDocument;
|
|
20
20
|
private updateDocError;
|
|
@@ -7,14 +7,23 @@ export default class ETEventsManager {
|
|
|
7
7
|
static getInstance(): Promise<ETEventsManager>;
|
|
8
8
|
private static init;
|
|
9
9
|
insertEvent(sequence: number, payload: string, dspID: string, syncType: string, objectiveRef: string, config?: string): Promise<void>;
|
|
10
|
-
|
|
10
|
+
private getWFIPayload;
|
|
11
|
+
private getCustodyPayload;
|
|
12
|
+
private getJobRemovalPayload;
|
|
13
|
+
private getDispatchUpdatePayload;
|
|
14
|
+
private _modifyEventData;
|
|
15
|
+
private splitData;
|
|
16
|
+
insertQueueEvent(_eventData: BulkEvent): Promise<void>;
|
|
17
|
+
insertBulkEvent(_eventData: BulkEvent): Promise<void>;
|
|
11
18
|
getAllEvents(dispatchID?: string): Promise<EventRow[]>;
|
|
12
19
|
getAllUnsyncedEvents(): Promise<EventRow[]>;
|
|
13
|
-
deleteAllEvents(): Promise<
|
|
20
|
+
deleteAllEvents(): Promise<boolean>;
|
|
14
21
|
updateError(id: number, syncError: string): Promise<void>;
|
|
15
22
|
markEventSynced(id: number): Promise<void>;
|
|
16
23
|
getWorkflowUpdateEvents(syncType: string): Promise<EventRow[]>;
|
|
17
24
|
getJobRemovalEvents(syncType: string): Promise<EventRow[]>;
|
|
18
25
|
getCustodyBatch(dispatchID: string): Promise<EventRow[]>;
|
|
19
26
|
getObjectiveDetails(objectiveRef: string): Promise<EventRow[]>;
|
|
27
|
+
getRowToSync(id: string, dispatchId: string): Promise<EventRow[]>;
|
|
28
|
+
getBulkRowsToSync(id: string, dispatchId: string): Promise<EventRow[]>;
|
|
20
29
|
}
|
|
@@ -13,10 +13,6 @@ export default class EventsSyncManager {
|
|
|
13
13
|
initSyncManager(baseURL: string, retryCount: number): void;
|
|
14
14
|
static getInstance(): EventsSyncManager;
|
|
15
15
|
startSync(): Promise<void>;
|
|
16
|
-
private WorkflowUpdateEvent;
|
|
17
|
-
private CustodyBatchEvent;
|
|
18
|
-
private JobRemovalEvent;
|
|
19
|
-
startCustodyScans(custodyScans: EventRow[]): Promise<void>;
|
|
20
16
|
private updateEventError;
|
|
21
17
|
/**
|
|
22
18
|
* force sync events who retry count >3 This function can be called from app UI to sync the events forcefully
|
|
@@ -25,10 +21,12 @@ export default class EventsSyncManager {
|
|
|
25
21
|
isSyncPending(): Promise<boolean>;
|
|
26
22
|
private markEventSynced;
|
|
27
23
|
insertEvent(sequence: number, payload: string, dspID: string, syncType: string, objectiveRef: string, config?: string): Promise<void>;
|
|
28
|
-
insertBulkEvent(_bulkData: BulkEvent
|
|
24
|
+
insertBulkEvent(_bulkData: BulkEvent): Promise<void>;
|
|
25
|
+
insertQueueEvent(_pushData: BulkEvent): Promise<void>;
|
|
29
26
|
private checkForInitialization;
|
|
30
27
|
getObjectiveSummary(objectiveRef: string): Promise<any>;
|
|
31
28
|
private syncEventToServer;
|
|
29
|
+
private syncBulkEventToServer;
|
|
32
30
|
getAllEvents(dspID?: string): Promise<EventRow[]>;
|
|
33
31
|
clearEventsDB(): Promise<void>;
|
|
34
32
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import HttpClient from '../../../network/client';
|
|
2
|
-
import
|
|
2
|
+
import { DispatchSyncType, EventRow } from '../DBConfig';
|
|
3
3
|
import NetworkClient from '../../../network/NetworkClient';
|
|
4
|
-
import {
|
|
4
|
+
import { ExecEngineSyncType } from '../DBConfig';
|
|
5
5
|
export default class SyncHttpClient extends HttpClient {
|
|
6
6
|
protected readonly networkInstance: NetworkClient;
|
|
7
7
|
constructor(baseURL: string);
|
|
8
|
-
syncEvent(eventRow: EventRow[], syncType:
|
|
8
|
+
syncEvent(eventRow: EventRow[], syncType: ExecEngineSyncType | DispatchSyncType): Promise<boolean | null>;
|
|
9
|
+
syncBulkEvent(eventRow: EventRow[]): Promise<boolean | null>;
|
|
9
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IDispatch, IDispatchExecutor } from '@os1-platform/platform-coreos-execution-engine-sdk';
|
|
2
2
|
export interface BaseETProps {
|
|
3
3
|
showProgress: (loading: boolean) => void;
|
|
4
4
|
}
|
|
@@ -12,61 +12,60 @@ export interface JobObjectiveType {
|
|
|
12
12
|
groupId?: string;
|
|
13
13
|
additionalData?: any;
|
|
14
14
|
}
|
|
15
|
-
export interface stateWithObjRef {
|
|
16
|
-
nextState: state;
|
|
17
|
-
objRef: string;
|
|
18
|
-
jobId: string;
|
|
19
|
-
groupId?: string;
|
|
20
|
-
additionalData?: any;
|
|
21
|
-
}
|
|
22
15
|
export interface endEvent {
|
|
23
16
|
taskId: string;
|
|
24
17
|
nextTaskId: string;
|
|
25
18
|
timestamp: number;
|
|
26
|
-
|
|
19
|
+
customData?: any;
|
|
20
|
+
etData: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
23
|
+
meta?: any;
|
|
24
|
+
}
|
|
25
|
+
export interface onScanEvent {
|
|
26
|
+
taskId: string;
|
|
27
|
+
timestamp: number;
|
|
28
|
+
customData?: any;
|
|
29
|
+
etData: {
|
|
30
|
+
eventCode: string;
|
|
31
|
+
reasonCode: string;
|
|
32
|
+
success: boolean;
|
|
33
|
+
endTime: number;
|
|
34
|
+
scannedData: {
|
|
35
|
+
jobId: string;
|
|
36
|
+
scanValue: string;
|
|
37
|
+
shipmentFlow: string;
|
|
38
|
+
groupId: string;
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
meta?: any;
|
|
42
|
+
}
|
|
43
|
+
export interface onScanRemoveEvent {
|
|
44
|
+
taskId: string;
|
|
45
|
+
timestamp: number;
|
|
46
|
+
customData?: any;
|
|
27
47
|
etData: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
success?: boolean;
|
|
32
|
-
eventCode?: string;
|
|
33
|
-
reasonCode?: string;
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
};
|
|
48
|
+
scannedData: {
|
|
49
|
+
scanValue: string;
|
|
50
|
+
}[];
|
|
36
51
|
};
|
|
37
52
|
meta?: any;
|
|
38
53
|
}
|
|
39
54
|
export interface startEvent {
|
|
40
55
|
timestamp: number;
|
|
41
56
|
taskId: string;
|
|
42
|
-
|
|
57
|
+
customData?: any;
|
|
43
58
|
etData: {
|
|
44
|
-
[key: string]:
|
|
45
|
-
workflowInstanceId: string;
|
|
46
|
-
additionalData?: any;
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
};
|
|
59
|
+
[key: string]: any;
|
|
49
60
|
};
|
|
50
61
|
}
|
|
51
62
|
export interface stateParams {
|
|
52
|
-
next_states:
|
|
53
|
-
|
|
54
|
-
rootMetaData?: {
|
|
63
|
+
next_states: IDispatch.IExecutionTaskQueryResponse;
|
|
64
|
+
rootMetaData: {
|
|
55
65
|
meta: any;
|
|
66
|
+
customEventsData?: any;
|
|
67
|
+
statusFilter: IDispatchExecutor.ExecutionStatus[];
|
|
68
|
+
prefixedMergedObjectiveId: string;
|
|
56
69
|
};
|
|
57
|
-
|
|
58
|
-
pending_states_output?: any;
|
|
59
|
-
}
|
|
60
|
-
export interface QueryObjectiveState {
|
|
61
|
-
objectiveRef: string;
|
|
62
|
-
jobId: string;
|
|
63
|
-
}
|
|
64
|
-
export interface LockObjectiveState {
|
|
65
|
-
objectiveRef: string;
|
|
66
|
-
jobId: string;
|
|
67
|
-
state: state;
|
|
68
|
-
}
|
|
69
|
-
export interface LockPendingObjectiveState {
|
|
70
|
-
jobId: string;
|
|
71
|
-
_state: state;
|
|
70
|
+
has_multiple_ets?: boolean;
|
|
72
71
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { ExecutionTaskID } from './ETConfig';
|
|
1
2
|
export type BaseETResponse = {
|
|
3
|
+
id: ExecutionTaskID;
|
|
4
|
+
mergedObjectiveIds: Array<string>;
|
|
2
5
|
/**
|
|
3
6
|
* Success flag for the operation performed by user
|
|
4
7
|
*/
|
|
@@ -19,32 +22,22 @@ export type BaseETResponse = {
|
|
|
19
22
|
/**
|
|
20
23
|
* Epoch timestamp for the start of task
|
|
21
24
|
*/
|
|
22
|
-
startTime?: number;
|
|
23
25
|
/**
|
|
24
26
|
* Epoch timestamp for the end of task
|
|
25
27
|
*/
|
|
26
|
-
endTime?: number;
|
|
27
28
|
/**
|
|
28
29
|
* Location at start of task
|
|
29
30
|
*/
|
|
30
|
-
location?: {
|
|
31
|
-
/**
|
|
32
|
-
* Latitude
|
|
33
|
-
*/
|
|
34
|
-
latitude?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Longitude
|
|
37
|
-
*/
|
|
38
|
-
longitude?: string;
|
|
39
|
-
};
|
|
40
31
|
/**
|
|
41
|
-
*
|
|
32
|
+
* Latitude
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* Longitude
|
|
42
36
|
*/
|
|
43
|
-
userDetails: UserData;
|
|
44
37
|
/**
|
|
45
|
-
*
|
|
38
|
+
* Unique identifier of user performing the action
|
|
46
39
|
*/
|
|
47
|
-
|
|
40
|
+
userDetails: UserData;
|
|
48
41
|
};
|
|
49
42
|
};
|
|
50
43
|
export interface UserData {
|
|
@@ -75,6 +68,9 @@ export type BaseETRequest = {
|
|
|
75
68
|
[k: string]: any;
|
|
76
69
|
};
|
|
77
70
|
navigation?: any;
|
|
71
|
+
route?: any;
|
|
72
|
+
taskName: string;
|
|
73
|
+
mergedObjectiveId: Array<string>;
|
|
78
74
|
};
|
|
79
75
|
export type ApplicableReasons = {
|
|
80
76
|
[k: string]: string[];
|
|
@@ -86,6 +82,9 @@ export type NewApplicableReasons = {
|
|
|
86
82
|
failure: {
|
|
87
83
|
[k: string]: string[];
|
|
88
84
|
};
|
|
85
|
+
goBack?: {
|
|
86
|
+
[k: string]: string[];
|
|
87
|
+
};
|
|
89
88
|
};
|
|
90
89
|
export interface ETSummary {
|
|
91
90
|
name: string;
|
|
@@ -98,3 +97,9 @@ export interface CompleteSummary {
|
|
|
98
97
|
objectiveRef: string;
|
|
99
98
|
jobObjectiveSummary: ETSummary[];
|
|
100
99
|
}
|
|
100
|
+
export interface ObjectiveSummary {
|
|
101
|
+
entityCode: string;
|
|
102
|
+
eventCode: string;
|
|
103
|
+
reasonCode: string;
|
|
104
|
+
reasonCodeDesc?: string;
|
|
105
|
+
}
|
|
@@ -21,6 +21,13 @@ export interface DispatchSDKConfig {
|
|
|
21
21
|
interval: number;
|
|
22
22
|
};
|
|
23
23
|
eventMapping?: EventCodes[];
|
|
24
|
+
debugLevelLog?: Boolean;
|
|
25
|
+
callbacks?: {
|
|
26
|
+
fetchPhoneNumbersCallback?: (sdsIds: string[]) => Promise<{
|
|
27
|
+
key: string;
|
|
28
|
+
value: string[];
|
|
29
|
+
}>;
|
|
30
|
+
};
|
|
24
31
|
}
|
|
25
32
|
export declare enum ENVIRONMENT {
|
|
26
33
|
DEV = "dev",
|
|
@@ -6,7 +6,7 @@ declare class SignatureCapture extends React.Component<SignatureProps, any> {
|
|
|
6
6
|
onChange(event: any): void;
|
|
7
7
|
componentDidMount(): void;
|
|
8
8
|
componentWillUnmount(): void;
|
|
9
|
-
render(): JSX.Element;
|
|
9
|
+
render(): React.JSX.Element;
|
|
10
10
|
saveImage(): void;
|
|
11
11
|
resetImage(): void;
|
|
12
12
|
}
|
|
@@ -63,13 +63,12 @@ export declare const CommonStyles: {
|
|
|
63
63
|
};
|
|
64
64
|
nextButtonLabel: {
|
|
65
65
|
color: string;
|
|
66
|
-
fontFamily:
|
|
66
|
+
fontFamily: Fonts;
|
|
67
67
|
fontSize: number;
|
|
68
68
|
lineHeight: number;
|
|
69
|
-
letterSpacing: number;
|
|
70
69
|
textAlign: "center";
|
|
71
70
|
fontStyle: "normal";
|
|
72
|
-
fontWeight: "
|
|
71
|
+
fontWeight: "500";
|
|
73
72
|
};
|
|
74
73
|
cancelButton: {
|
|
75
74
|
borderWidth: number;
|
|
@@ -79,9 +78,20 @@ export declare const CommonStyles: {
|
|
|
79
78
|
color: string;
|
|
80
79
|
fontFamily: Fonts;
|
|
81
80
|
fontSize: number;
|
|
82
|
-
fontWeight: "
|
|
81
|
+
fontWeight: "500";
|
|
82
|
+
lineHeight: number;
|
|
83
|
+
textAlign: "center";
|
|
84
|
+
fontStyle: "normal";
|
|
85
|
+
};
|
|
86
|
+
mainExitButton: {
|
|
87
|
+
backgroundColor: string;
|
|
88
|
+
};
|
|
89
|
+
mainExitButtonLabel: {
|
|
90
|
+
color: string;
|
|
91
|
+
fontFamily: Fonts;
|
|
92
|
+
fontSize: number;
|
|
93
|
+
fontWeight: "500";
|
|
83
94
|
lineHeight: number;
|
|
84
|
-
letterSpacing: number;
|
|
85
95
|
textAlign: "center";
|
|
86
96
|
fontStyle: "normal";
|
|
87
97
|
};
|
|
@@ -93,9 +103,8 @@ export declare const CommonStyles: {
|
|
|
93
103
|
color: string;
|
|
94
104
|
fontFamily: Fonts;
|
|
95
105
|
fontSize: number;
|
|
96
|
-
fontWeight: "
|
|
106
|
+
fontWeight: "500";
|
|
97
107
|
lineHeight: number;
|
|
98
|
-
letterSpacing: number;
|
|
99
108
|
textAlign: "center";
|
|
100
109
|
fontStyle: "normal";
|
|
101
110
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -11,8 +11,7 @@ import PaymentScreen from './PaymentScreen';
|
|
|
11
11
|
import DisplayScreen from './DisplayScreen';
|
|
12
12
|
import CompleteObjectiveScreen from './CompleteObjectiveScreen';
|
|
13
13
|
import DropCashScreen from './DropCashScreen';
|
|
14
|
-
import RTScanScreen from './RTScanScreen';
|
|
15
14
|
import ScanScreen from './ScanScreen';
|
|
16
15
|
import HttpRequestScreen from './HttpRequestScreen';
|
|
17
16
|
import ValidateOTPScreen from './ValidateOTPScreen';
|
|
18
|
-
export { CancellationScreen, DeliverScreen, DoodleScreen, ImageCaptureScreen, FormsScreen, PickupScreen, StartWorkFlowScreen, CaptureInputScreen, GeofenceScreen, PaymentScreen, DisplayScreen, CompleteObjectiveScreen, DropCashScreen,
|
|
17
|
+
export { CancellationScreen, DeliverScreen, DoodleScreen, ImageCaptureScreen, FormsScreen, PickupScreen, StartWorkFlowScreen, CaptureInputScreen, GeofenceScreen, PaymentScreen, DisplayScreen, CompleteObjectiveScreen, DropCashScreen, ScanScreen, HttpRequestScreen, ValidateOTPScreen, };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
3
|
export default _default;
|