@os1-platform/dispatch-mobile 1.0.8 → 2.0.0
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 +310 -74
- package/android/.gradle/7.0.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.0.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.0.2/gc.properties +0 -0
- package/android/.gradle/7.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.2/dependencies-accessors/gc.properties +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 -0
- 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/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/compiler.xml +6 -0
- package/android/.idea/gradle.xml +18 -0
- package/android/.idea/jarRepositories.xml +35 -0
- package/android/.idea/kotlinc.xml +6 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/gradle.properties +1 -1
- package/android/local.properties +8 -0
- package/android/src/main/AndroidManifest.xml +0 -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 +50 -43
- package/lib/commonjs/components/dispatch/DispatchExecNavigator.js.map +1 -1
- package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js +10 -48
- package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js.map +1 -1
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js +142 -23
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/cancellation/CancellationSchema.js.map +1 -1
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js +66 -18
- 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 +6 -16
- 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 +212 -95
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js +16 -25
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js +65 -29
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js +5 -19
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js +74 -30
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js +139 -50
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js +3 -26
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/DropdownWidget.js +49 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/DropdownWidget.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +2 -17
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js +0 -10
- package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -1
- package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js +5 -14
- package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js +3 -15
- 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 +11 -36
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js +73 -48
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/PaymentStyles.js +0 -4
- package/lib/commonjs/components/executiontasks/payments/PaymentStyles.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/PaymentUtils.js +0 -2
- package/lib/commonjs/components/executiontasks/payments/PaymentUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js +76 -29
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js +63 -24
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js +71 -22
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js +5 -15
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js +138 -32
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/ScanET.js +741 -0
- package/lib/commonjs/components/executiontasks/scan/ScanET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scan/ScanSchema.js +19 -0
- package/lib/commonjs/components/executiontasks/scan/ScanSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scan/constants.js +19 -0
- package/lib/commonjs/components/executiontasks/scan/constants.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scan/interfaces.js +43 -0
- package/lib/commonjs/components/executiontasks/scan/interfaces.js.map +1 -0
- 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/{scanner → scan/sub_components}/CScanner.js +9 -29
- package/lib/commonjs/components/executiontasks/scan/sub_components/CScanner.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scan/sub_components/DropDownUtils.js +109 -0
- package/lib/commonjs/components/executiontasks/scan/sub_components/DropDownUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/{scanner/returns/ReasonDropDown.js → scan/sub_components/ERDropDown.js} +72 -55
- package/lib/commonjs/components/executiontasks/scan/sub_components/ERDropDown.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scan/sub_components/SummaryPage.js +1099 -0
- package/lib/commonjs/components/executiontasks/scan/sub_components/SummaryPage.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scan/utils.js +762 -0
- package/lib/commonjs/components/executiontasks/scan/utils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPET.js +333 -0
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPSchema.js +14 -0
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/validateOTP/constants.js +37 -0
- package/lib/commonjs/components/executiontasks/validateOTP/constants.js.map +1 -0
- package/lib/commonjs/components/executiontasks/validateOTP/sub-components/OTPInput.js +63 -0
- package/lib/commonjs/components/executiontasks/validateOTP/sub-components/OTPInput.js.map +1 -0
- package/lib/commonjs/components/executiontasks/validateOTP/utils.js +147 -0
- package/lib/commonjs/components/executiontasks/validateOTP/utils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js +0 -13
- package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js +4 -17
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js +3 -18
- 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 +0 -5
- package/lib/commonjs/components/widgets/AlertDisplay.js.map +1 -1
- package/lib/commonjs/components/widgets/CancelOrderDialog.js +0 -12
- 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 +34 -0
- package/lib/commonjs/components/widgets/IconButton.js.map +1 -0
- 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 +0 -7
- 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 +48 -40
- package/lib/commonjs/components/widgets/SnackBarCustom.js.map +1 -1
- package/lib/commonjs/components/widgets/SplitTextInput.js +93 -0
- package/lib/commonjs/components/widgets/SplitTextInput.js.map +1 -0
- package/lib/commonjs/components/widgets/TabsComponent.js +64 -0
- package/lib/commonjs/components/widgets/TabsComponent.js.map +1 -0
- package/lib/commonjs/components/widgets/Toaster.js +0 -2
- package/lib/commonjs/components/widgets/Toaster.js.map +1 -1
- package/lib/commonjs/config/DispatchSDKConfig.js +4 -5
- package/lib/commonjs/config/DispatchSDKConfig.js.map +1 -1
- package/lib/commonjs/constants/apiConstants.js +17 -0
- package/lib/commonjs/constants/apiConstants.js.map +1 -0
- package/lib/commonjs/constants/constants.js +7 -3
- package/lib/commonjs/constants/constants.js.map +1 -1
- package/lib/commonjs/constants/statuscode.js +3 -5
- package/lib/commonjs/constants/statuscode.js.map +1 -1
- package/lib/commonjs/errors/BaseError.js +3 -8
- package/lib/commonjs/errors/BaseError.js.map +1 -1
- package/lib/commonjs/errors/ErrorCodes.js +7 -6
- package/lib/commonjs/errors/ErrorCodes.js.map +1 -1
- package/lib/commonjs/events/EventDispatcher.js +23 -0
- package/lib/commonjs/events/EventDispatcher.js.map +1 -0
- package/lib/commonjs/events/EventListener.js +20 -0
- package/lib/commonjs/events/EventListener.js.map +1 -0
- package/lib/commonjs/events/constants.js +15 -0
- package/lib/commonjs/events/constants.js.map +1 -0
- package/lib/commonjs/events/index.js +11 -0
- package/lib/commonjs/events/index.js.map +1 -0
- package/lib/commonjs/events/interface.js +2 -0
- package/lib/commonjs/events/interface.js.map +1 -0
- package/lib/commonjs/index.js +40 -35
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js +328 -272
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/EventCodeContainer.js +55 -4
- package/lib/commonjs/manager/dispatchCodes/EventCodeContainer.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/EventCodeRepo.js +70 -0
- package/lib/commonjs/manager/dispatchCodes/EventCodeRepo.js.map +1 -0
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js +3 -29
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js +6 -20
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -1
- package/lib/commonjs/manager/jobRemoval/JobRemovalManager.js +23 -0
- package/lib/commonjs/manager/jobRemoval/JobRemovalManager.js.map +1 -0
- package/lib/commonjs/manager/location/LocationManager.js +3 -20
- package/lib/commonjs/manager/location/LocationManager.js.map +1 -1
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js +23 -37
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js.map +1 -1
- package/lib/commonjs/manager/sdk/DispatchSdkCache.js +6 -17
- 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 +26 -46
- package/lib/commonjs/manager/syncmanager/AppSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/DBConfig.js +48 -9
- package/lib/commonjs/manager/syncmanager/DBConfig.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/NativeSyncManager.js +0 -2
- package/lib/commonjs/manager/syncmanager/NativeSyncManager.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 +28 -12
- package/lib/commonjs/manager/syncmanager/database.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js +11 -36
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js +8 -26
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js +19 -58
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js +414 -29
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js +208 -103
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js +157 -36
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js.map +1 -1
- package/lib/commonjs/models/DispatchModels.js +4 -5
- package/lib/commonjs/models/DispatchModels.js.map +1 -1
- package/lib/commonjs/models/ReasonCodes.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/execTasks/ETConfig.js +28 -35
- package/lib/commonjs/models/execTasks/ETConfig.js.map +1 -1
- package/lib/commonjs/models/sdk.js +4 -5
- package/lib/commonjs/models/sdk.js.map +1 -1
- package/lib/commonjs/native/signature/SignatureCapture.js +3 -24
- package/lib/commonjs/native/signature/SignatureCapture.js.map +1 -1
- package/lib/commonjs/network/GraphQLClient.js +7 -35
- package/lib/commonjs/network/GraphQLClient.js.map +1 -1
- package/lib/commonjs/network/NetworkClient.js +2 -13
- package/lib/commonjs/network/NetworkClient.js.map +1 -1
- package/lib/commonjs/network/NetworkUtils.js +10 -8
- package/lib/commonjs/network/NetworkUtils.js.map +1 -1
- package/lib/commonjs/network/Queries.js +0 -2
- package/lib/commonjs/network/Queries.js.map +1 -1
- package/lib/commonjs/network/client.js +6 -21
- package/lib/commonjs/network/client.js.map +1 -1
- package/lib/commonjs/res/strings.js.map +1 -1
- package/lib/commonjs/resources/Login.js +4 -15
- package/lib/commonjs/resources/Login.js.map +1 -1
- package/lib/commonjs/resources/network.js +3 -8
- package/lib/commonjs/resources/network.js.map +1 -1
- package/lib/commonjs/styles/SdkColors.js +10 -8
- package/lib/commonjs/styles/SdkColors.js.map +1 -1
- package/lib/commonjs/styles/executionTasks/CommonStyles.js +58 -25
- package/lib/commonjs/styles/executionTasks/CommonStyles.js.map +1 -1
- package/lib/commonjs/ui/screens/CancellationScreen.js +67 -27
- package/lib/commonjs/ui/screens/CancellationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CaptureInputScreen.js +15 -16
- package/lib/commonjs/ui/screens/CaptureInputScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js +11 -23
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DeliverScreen.js +30 -17
- package/lib/commonjs/ui/screens/DeliverScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DisplayScreen.js +17 -13
- package/lib/commonjs/ui/screens/DisplayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DoodleScreen.js +17 -20
- package/lib/commonjs/ui/screens/DoodleScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DropCashScreen.js +43 -31
- package/lib/commonjs/ui/screens/DropCashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ETScreensIndex.js +10 -19
- package/lib/commonjs/ui/screens/ETScreensIndex.js.map +1 -1
- package/lib/commonjs/ui/screens/FormsScreen.js +105 -17
- package/lib/commonjs/ui/screens/FormsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/GeofenceScreen.js +16 -14
- package/lib/commonjs/ui/screens/GeofenceScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HttpRequestScreen.js +14 -11
- package/lib/commonjs/ui/screens/HttpRequestScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js +38 -17
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentScreen.js +28 -29
- package/lib/commonjs/ui/screens/PaymentScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PickupScreen.js +41 -19
- package/lib/commonjs/ui/screens/PickupScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ScanScreen.js +121 -0
- package/lib/commonjs/ui/screens/ScanScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js +64 -38
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ValidateOTPScreen.js +55 -0
- package/lib/commonjs/ui/screens/ValidateOTPScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js +0 -10
- package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js.map +1 -1
- package/lib/commonjs/ui/uiConfig/RouteParams.js +24 -1
- package/lib/commonjs/ui/uiConfig/RouteParams.js.map +1 -1
- package/lib/commonjs/utils/ApiUtils.js +129 -0
- package/lib/commonjs/utils/ApiUtils.js.map +1 -0
- package/lib/commonjs/utils/ExecTaskUtils.js +111 -41
- package/lib/commonjs/utils/ExecTaskUtils.js.map +1 -1
- package/lib/commonjs/utils/Logger.js +10 -29
- package/lib/commonjs/utils/Logger.js.map +1 -1
- package/lib/commonjs/utils/NetworkUtil.js +3 -19
- package/lib/commonjs/utils/NetworkUtil.js.map +1 -1
- package/lib/commonjs/utils/SdkUtils.js +2 -31
- package/lib/commonjs/utils/SdkUtils.js.map +1 -1
- package/lib/commonjs/utils/SyncManagerUtils.js +61 -43
- package/lib/commonjs/utils/SyncManagerUtils.js.map +1 -1
- package/lib/commonjs/utils/fcm/FCM.js +59 -11
- package/lib/commonjs/utils/fcm/FCM.js.map +1 -1
- package/lib/commonjs/utils/fcm/FcmUtils.js +82 -21
- package/lib/commonjs/utils/fcm/FcmUtils.js.map +1 -1
- package/lib/commonjs/utils/helper.js +0 -5
- 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/hooks/useTimer.js +44 -0
- package/lib/commonjs/utils/hooks/useTimer.js.map +1 -0
- package/lib/commonjs/utils/loginHelper.js +6 -18
- package/lib/commonjs/utils/loginHelper.js.map +1 -1
- package/lib/commonjs/utils/storage.js +87 -31
- package/lib/commonjs/utils/storage.js.map +1 -1
- package/lib/commonjs/utils/utils.js +8 -11
- 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 +50 -32
- package/lib/module/components/dispatch/DispatchExecNavigator.js.map +1 -1
- package/lib/module/components/executiontasks/ExecutionTasksIndex.js +3 -5
- package/lib/module/components/executiontasks/ExecutionTasksIndex.js.map +1 -1
- package/lib/module/components/executiontasks/cancellation/CancelET.js +145 -19
- package/lib/module/components/executiontasks/cancellation/CancelET.js.map +1 -1
- package/lib/module/components/executiontasks/cancellation/CancellationSchema.js.map +1 -1
- package/lib/module/components/executiontasks/captureInput/CaptureText.js +68 -10
- 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 +6 -7
- 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 +214 -86
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/module/components/executiontasks/display/DisplayModalET.js +16 -15
- package/lib/module/components/executiontasks/display/DisplayModalET.js.map +1 -1
- package/lib/module/components/executiontasks/doodle/SignatureET.js +68 -15
- package/lib/module/components/executiontasks/doodle/SignatureET.js.map +1 -1
- package/lib/module/components/executiontasks/dropCash/DropCashET.js +5 -6
- package/lib/module/components/executiontasks/dropCash/DropCashET.js.map +1 -1
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js +75 -20
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js.map +1 -1
- package/lib/module/components/executiontasks/forms/FormGenerator.js +142 -37
- package/lib/module/components/executiontasks/forms/FormGenerator.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js +3 -15
- package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/DropdownWidget.js +39 -0
- package/lib/module/components/executiontasks/forms/widgets/DropdownWidget.js.map +1 -0
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +2 -6
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/TimeRangeSelector.js +0 -3
- package/lib/module/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -1
- package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js +6 -4
- package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -1
- package/lib/module/components/executiontasks/httpRequest/HttpRequestET.js +3 -6
- 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 +11 -11
- package/lib/module/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -1
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js +75 -35
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js.map +1 -1
- package/lib/module/components/executiontasks/payments/PaymentStyles.js.map +1 -1
- package/lib/module/components/executiontasks/payments/PaymentUtils.js.map +1 -1
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js +77 -18
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js +64 -11
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js +72 -11
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/PickupET.js +5 -6
- package/lib/module/components/executiontasks/pickup/PickupET.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/SLPickupET.js +141 -25
- package/lib/module/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/module/components/executiontasks/scan/ScanET.js +732 -0
- package/lib/module/components/executiontasks/scan/ScanET.js.map +1 -0
- package/lib/module/components/executiontasks/scan/ScanSchema.js +17 -0
- package/lib/module/components/executiontasks/scan/ScanSchema.js.map +1 -0
- package/lib/module/components/executiontasks/scan/constants.js +7 -0
- package/lib/module/components/executiontasks/scan/constants.js.map +1 -0
- package/lib/module/components/executiontasks/scan/interfaces.js +33 -0
- package/lib/module/components/executiontasks/scan/interfaces.js.map +1 -0
- 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/{scanner → scan/sub_components}/CScanner.js +9 -16
- package/lib/module/components/executiontasks/scan/sub_components/CScanner.js.map +1 -0
- package/lib/module/components/executiontasks/scan/sub_components/DropDownUtils.js +101 -0
- package/lib/module/components/executiontasks/scan/sub_components/DropDownUtils.js.map +1 -0
- package/lib/module/components/executiontasks/scan/sub_components/ERDropDown.js +107 -0
- package/lib/module/components/executiontasks/scan/sub_components/ERDropDown.js.map +1 -0
- package/lib/module/components/executiontasks/scan/sub_components/SummaryPage.js +1092 -0
- package/lib/module/components/executiontasks/scan/sub_components/SummaryPage.js.map +1 -0
- package/lib/module/components/executiontasks/scan/utils.js +726 -0
- package/lib/module/components/executiontasks/scan/utils.js.map +1 -0
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPET.js +324 -0
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPET.js.map +1 -0
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPSchema.js +8 -0
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPSchema.js.map +1 -0
- package/lib/module/components/executiontasks/validateOTP/constants.js +25 -0
- package/lib/module/components/executiontasks/validateOTP/constants.js.map +1 -0
- package/lib/module/components/executiontasks/validateOTP/sub-components/OTPInput.js +53 -0
- package/lib/module/components/executiontasks/validateOTP/sub-components/OTPInput.js.map +1 -0
- package/lib/module/components/executiontasks/validateOTP/utils.js +133 -0
- package/lib/module/components/executiontasks/validateOTP/utils.js.map +1 -0
- package/lib/module/components/executiontasks/verifyLocation/GeofenceUtils.js +0 -6
- package/lib/module/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -1
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js +4 -3
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -1
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js +5 -9
- 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 +0 -2
- 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 +26 -0
- package/lib/module/components/widgets/IconButton.js.map +1 -0
- 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 +0 -2
- 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 +46 -20
- package/lib/module/components/widgets/SnackBarCustom.js.map +1 -1
- package/lib/module/components/widgets/SplitTextInput.js +84 -0
- package/lib/module/components/widgets/SplitTextInput.js.map +1 -0
- package/lib/module/components/widgets/TabsComponent.js +55 -0
- package/lib/module/components/widgets/TabsComponent.js.map +1 -0
- package/lib/module/components/widgets/Toaster.js.map +1 -1
- package/lib/module/config/DispatchSDKConfig.js +3 -4
- package/lib/module/config/DispatchSDKConfig.js.map +1 -1
- package/lib/module/constants/apiConstants.js +9 -0
- package/lib/module/constants/apiConstants.js.map +1 -0
- package/lib/module/constants/constants.js +4 -2
- package/lib/module/constants/constants.js.map +1 -1
- package/lib/module/constants/statuscode.js +3 -5
- package/lib/module/constants/statuscode.js.map +1 -1
- package/lib/module/errors/BaseError.js +3 -6
- package/lib/module/errors/BaseError.js.map +1 -1
- package/lib/module/errors/ErrorCodes.js +5 -5
- package/lib/module/errors/ErrorCodes.js.map +1 -1
- package/lib/module/events/EventDispatcher.js +16 -0
- package/lib/module/events/EventDispatcher.js.map +1 -0
- package/lib/module/events/EventListener.js +13 -0
- package/lib/module/events/EventListener.js.map +1 -0
- package/lib/module/events/constants.js +8 -0
- package/lib/module/events/constants.js.map +1 -0
- package/lib/module/events/index.js +3 -0
- package/lib/module/events/index.js.map +1 -0
- package/lib/module/events/interface.js +2 -0
- package/lib/module/events/interface.js.map +1 -0
- package/lib/module/index.js +9 -5
- package/lib/module/index.js.map +1 -1
- package/lib/module/manager/dispatch/DispatchStateContainer.js +334 -247
- package/lib/module/manager/dispatch/DispatchStateContainer.js.map +1 -1
- package/lib/module/manager/dispatchCodes/EventCodeContainer.js +52 -2
- package/lib/module/manager/dispatchCodes/EventCodeContainer.js.map +1 -1
- package/lib/module/manager/dispatchCodes/EventCodeRepo.js +61 -0
- package/lib/module/manager/dispatchCodes/EventCodeRepo.js.map +1 -0
- package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js +3 -16
- package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -1
- package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js +6 -14
- package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -1
- package/lib/module/manager/jobRemoval/JobRemovalManager.js +22 -0
- package/lib/module/manager/jobRemoval/JobRemovalManager.js.map +1 -0
- package/lib/module/manager/location/LocationManager.js +3 -14
- package/lib/module/manager/location/LocationManager.js.map +1 -1
- package/lib/module/manager/sdk/DispatchSDKManager.js +23 -15
- package/lib/module/manager/sdk/DispatchSDKManager.js.map +1 -1
- package/lib/module/manager/sdk/DispatchSdkCache.js +6 -13
- 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 +26 -26
- package/lib/module/manager/syncmanager/AppSyncManager.js.map +1 -1
- package/lib/module/manager/syncmanager/DBConfig.js +41 -7
- package/lib/module/manager/syncmanager/DBConfig.js.map +1 -1
- package/lib/module/manager/syncmanager/NativeSyncManager.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 +27 -3
- package/lib/module/manager/syncmanager/database.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js +11 -24
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentManager.js +8 -20
- package/lib/module/manager/syncmanager/document/DocumentManager.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js +19 -41
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js.map +1 -1
- package/lib/module/manager/syncmanager/events/ETEventsManager.js +415 -22
- package/lib/module/manager/syncmanager/events/ETEventsManager.js.map +1 -1
- package/lib/module/manager/syncmanager/events/EventsSyncManager.js +209 -82
- package/lib/module/manager/syncmanager/events/EventsSyncManager.js.map +1 -1
- package/lib/module/manager/syncmanager/events/SyncHttpClient.js +152 -24
- package/lib/module/manager/syncmanager/events/SyncHttpClient.js.map +1 -1
- package/lib/module/models/DispatchModels.js +3 -4
- package/lib/module/models/DispatchModels.js.map +1 -1
- package/lib/module/models/ReasonCodes.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/execTasks/ETConfig.js +22 -29
- package/lib/module/models/execTasks/ETConfig.js.map +1 -1
- package/lib/module/models/sdk.js +3 -4
- package/lib/module/models/sdk.js.map +1 -1
- package/lib/module/native/signature/SignatureCapture.js +3 -18
- package/lib/module/native/signature/SignatureCapture.js.map +1 -1
- package/lib/module/network/GraphQLClient.js +6 -26
- package/lib/module/network/GraphQLClient.js.map +1 -1
- package/lib/module/network/NetworkClient.js +2 -6
- package/lib/module/network/NetworkClient.js.map +1 -1
- package/lib/module/network/NetworkUtils.js +10 -3
- package/lib/module/network/NetworkUtils.js.map +1 -1
- package/lib/module/network/Queries.js.map +1 -1
- package/lib/module/network/client.js +7 -17
- package/lib/module/network/client.js.map +1 -1
- package/lib/module/res/strings.js.map +1 -1
- package/lib/module/resources/Login.js +4 -13
- package/lib/module/resources/Login.js.map +1 -1
- package/lib/module/resources/network.js +3 -6
- package/lib/module/resources/network.js.map +1 -1
- package/lib/module/styles/SdkColors.js +9 -7
- package/lib/module/styles/SdkColors.js.map +1 -1
- package/lib/module/styles/executionTasks/CommonStyles.js +57 -14
- package/lib/module/styles/executionTasks/CommonStyles.js.map +1 -1
- package/lib/module/ui/screens/CancellationScreen.js +68 -15
- package/lib/module/ui/screens/CancellationScreen.js.map +1 -1
- package/lib/module/ui/screens/CaptureInputScreen.js +17 -6
- package/lib/module/ui/screens/CaptureInputScreen.js.map +1 -1
- package/lib/module/ui/screens/CompleteObjectiveScreen.js +12 -8
- package/lib/module/ui/screens/CompleteObjectiveScreen.js.map +1 -1
- package/lib/module/ui/screens/DeliverScreen.js +32 -7
- package/lib/module/ui/screens/DeliverScreen.js.map +1 -1
- package/lib/module/ui/screens/DisplayScreen.js +16 -6
- package/lib/module/ui/screens/DisplayScreen.js.map +1 -1
- package/lib/module/ui/screens/DoodleScreen.js +19 -9
- package/lib/module/ui/screens/DoodleScreen.js.map +1 -1
- package/lib/module/ui/screens/DropCashScreen.js +45 -19
- package/lib/module/ui/screens/DropCashScreen.js.map +1 -1
- package/lib/module/ui/screens/ETScreensIndex.js +3 -2
- package/lib/module/ui/screens/ETScreensIndex.js.map +1 -1
- package/lib/module/ui/screens/FormsScreen.js +104 -9
- package/lib/module/ui/screens/FormsScreen.js.map +1 -1
- package/lib/module/ui/screens/GeofenceScreen.js +15 -6
- package/lib/module/ui/screens/GeofenceScreen.js.map +1 -1
- package/lib/module/ui/screens/HttpRequestScreen.js +15 -5
- package/lib/module/ui/screens/HttpRequestScreen.js.map +1 -1
- package/lib/module/ui/screens/ImageCaptureScreen.js +37 -9
- package/lib/module/ui/screens/ImageCaptureScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentScreen.js +30 -17
- package/lib/module/ui/screens/PaymentScreen.js.map +1 -1
- package/lib/module/ui/screens/PickupScreen.js +40 -12
- package/lib/module/ui/screens/PickupScreen.js.map +1 -1
- package/lib/module/ui/screens/ScanScreen.js +111 -0
- package/lib/module/ui/screens/ScanScreen.js.map +1 -0
- package/lib/module/ui/screens/StartWorkFlowScreen.js +64 -16
- package/lib/module/ui/screens/StartWorkFlowScreen.js.map +1 -1
- package/lib/module/ui/screens/ValidateOTPScreen.js +45 -0
- package/lib/module/ui/screens/ValidateOTPScreen.js.map +1 -0
- package/lib/module/ui/screens/WithBaseDispatchScreen.js +0 -3
- package/lib/module/ui/screens/WithBaseDispatchScreen.js.map +1 -1
- package/lib/module/ui/uiConfig/RouteParams.js +23 -1
- package/lib/module/ui/uiConfig/RouteParams.js.map +1 -1
- package/lib/module/utils/ApiUtils.js +116 -0
- package/lib/module/utils/ApiUtils.js.map +1 -0
- package/lib/module/utils/ExecTaskUtils.js +110 -31
- package/lib/module/utils/ExecTaskUtils.js.map +1 -1
- package/lib/module/utils/Logger.js +9 -21
- package/lib/module/utils/Logger.js.map +1 -1
- package/lib/module/utils/NetworkUtil.js +3 -15
- package/lib/module/utils/NetworkUtil.js.map +1 -1
- package/lib/module/utils/SdkUtils.js +2 -15
- package/lib/module/utils/SdkUtils.js.map +1 -1
- package/lib/module/utils/SyncManagerUtils.js +62 -14
- package/lib/module/utils/SyncManagerUtils.js.map +1 -1
- package/lib/module/utils/fcm/FCM.js +63 -3
- package/lib/module/utils/fcm/FCM.js.map +1 -1
- package/lib/module/utils/fcm/FcmUtils.js +86 -7
- package/lib/module/utils/fcm/FcmUtils.js.map +1 -1
- package/lib/module/utils/helper.js +0 -3
- 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/hooks/useTimer.js +37 -0
- package/lib/module/utils/hooks/useTimer.js.map +1 -0
- package/lib/module/utils/loginHelper.js +6 -16
- package/lib/module/utils/loginHelper.js.map +1 -1
- package/lib/module/utils/storage.js +86 -29
- package/lib/module/utils/storage.js.map +1 -1
- package/lib/module/utils/utils.js +8 -6
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/typescript/components/dispatch/DispatchExecNavigator.d.ts +2 -2
- package/lib/typescript/components/executiontasks/CompletedWFSchema.d.ts +2 -2
- package/lib/typescript/components/executiontasks/ExecutionTasksIndex.d.ts +6 -7
- package/lib/typescript/components/executiontasks/cancellation/CancelET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/cancellation/CancellationSchema.d.ts +10 -5
- package/lib/typescript/components/executiontasks/captureInput/CaptureInputSchema.d.ts +7 -7
- 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 +8 -7
- 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/display/DisplaySchema.d.ts +5 -5
- package/lib/typescript/components/executiontasks/doodle/SignatureET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/doodle/SignatureSchema.d.ts +7 -7
- package/lib/typescript/components/executiontasks/dropCash/DropCashET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/dropCash/DropCashSchema.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/FormSchema.d.ts +2 -2
- package/lib/typescript/components/executiontasks/forms/widgets/DateTimeWidget.d.ts +3 -3
- package/lib/typescript/components/executiontasks/forms/widgets/DropdownWidget.d.ts +9 -0
- 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/httpRequest/HttpRequestETSchema.d.ts +6 -6
- package/lib/typescript/components/executiontasks/imageCapture/CaptureSchema.d.ts +17 -11
- 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/completePayment/CompletePaymentSchema.d.ts +2 -2
- package/lib/typescript/components/executiontasks/payments/init/InitPaymentET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/payments/init/InitPaymentSchema.d.ts +3 -3
- package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentET.d.ts +2 -2
- package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentSchema.d.ts +2 -2
- package/lib/typescript/components/executiontasks/pickup/PickpSchema.d.ts +3 -3
- 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 +16 -0
- package/lib/typescript/components/executiontasks/scan/ScanSchema.d.ts +86 -0
- package/lib/typescript/components/executiontasks/scan/constants.d.ts +6 -0
- package/lib/typescript/components/executiontasks/scan/interfaces.d.ts +94 -0
- package/lib/typescript/components/executiontasks/scan/modalConstant.d.ts +37 -0
- package/lib/typescript/components/executiontasks/{scanner → scan/sub_components}/CScanner.d.ts +1 -1
- package/lib/typescript/components/executiontasks/scan/sub_components/DropDownUtils.d.ts +7 -0
- package/lib/typescript/components/executiontasks/scan/sub_components/ERDropDown.d.ts +17 -0
- package/lib/typescript/components/executiontasks/scan/sub_components/SummaryPage.d.ts +21 -0
- package/lib/typescript/components/executiontasks/scan/utils.d.ts +37 -0
- package/lib/typescript/components/executiontasks/validateOTP/ValidateOTPET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/validateOTP/ValidateOTPSchema.d.ts +54 -0
- package/lib/typescript/components/executiontasks/validateOTP/constants.d.ts +10 -0
- package/lib/typescript/components/executiontasks/validateOTP/sub-components/OTPInput.d.ts +12 -0
- package/lib/typescript/components/executiontasks/validateOTP/utils.d.ts +7 -0
- package/lib/typescript/components/executiontasks/verifyInput/VerifyInputSchema.d.ts +8 -8
- package/lib/typescript/components/executiontasks/verifyLocation/VerifyLocSchema.d.ts +9 -9
- 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 +6 -6
- 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 +9 -0
- 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 +10 -5
- package/lib/typescript/components/widgets/SplitTextInput.d.ts +12 -0
- package/lib/typescript/components/widgets/TabsComponent.d.ts +15 -0
- package/lib/typescript/constants/apiConstants.d.ts +7 -0
- package/lib/typescript/constants/constants.d.ts +4 -2
- package/lib/typescript/errors/ErrorCodes.d.ts +3 -1
- package/lib/typescript/events/EventDispatcher.d.ts +3 -0
- package/lib/typescript/events/EventListener.d.ts +5 -0
- package/lib/typescript/events/constants.d.ts +7 -0
- package/lib/typescript/events/index.d.ts +2 -0
- package/lib/typescript/events/interface.d.ts +1 -0
- package/lib/typescript/index.d.ts +12 -9
- package/lib/typescript/manager/dispatch/DispatchStateContainer.d.ts +38 -17
- package/lib/typescript/manager/dispatchCodes/EventCodeContainer.d.ts +12 -1
- package/lib/typescript/manager/dispatchCodes/EventCodeRepo.d.ts +13 -0
- package/lib/typescript/manager/jobRemoval/JobRemovalManager.d.ts +0 -0
- package/lib/typescript/manager/sdk/DispatchSdkCache.d.ts +1 -0
- package/lib/typescript/manager/sdk/callbacksHandler.d.ts +13 -0
- package/lib/typescript/manager/syncmanager/AppSyncManager.d.ts +3 -1
- package/lib/typescript/manager/syncmanager/DBConfig.d.ts +80 -4
- package/lib/typescript/manager/syncmanager/constants.d.ts +5 -0
- package/lib/typescript/manager/syncmanager/database.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/document/models.d.ts +1 -1
- package/lib/typescript/manager/syncmanager/events/ETEventsManager.d.ts +15 -2
- package/lib/typescript/manager/syncmanager/events/EventsSyncManager.d.ts +4 -2
- package/lib/typescript/manager/syncmanager/events/SyncHttpClient.d.ts +6 -3
- package/lib/typescript/models/DispatchModels.d.ts +59 -5
- package/lib/typescript/models/ReasonCodes.d.ts +5 -0
- package/lib/typescript/models/auth.d.ts +1 -1
- package/lib/typescript/models/execTasks/ETBaseModels.d.ts +44 -20
- package/lib/typescript/models/execTasks/ETConfig.d.ts +8 -4
- package/lib/typescript/models/sdk.d.ts +12 -0
- package/lib/typescript/native/signature/SignatureCapture.d.ts +2 -2
- package/lib/typescript/network/NetworkUtils.d.ts +1 -5
- package/lib/typescript/styles/SdkColors.d.ts +2 -0
- package/lib/typescript/styles/executionTasks/CommonStyles.d.ts +50 -5
- 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 +3 -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 +3 -0
- package/lib/typescript/ui/screens/StartWorkFlowScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/ValidateOTPScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/WithBaseDispatchScreen.d.ts +2 -2
- package/lib/typescript/ui/uiConfig/RouteParams.d.ts +14 -0
- package/lib/typescript/utils/ApiUtils.d.ts +61 -0
- package/lib/typescript/utils/ExecTaskUtils.d.ts +10 -4
- package/lib/typescript/utils/NetworkUtil.d.ts +1 -1
- package/lib/typescript/utils/SyncManagerUtils.d.ts +4 -3
- package/lib/typescript/utils/hooks/useModal.d.ts +6 -0
- package/lib/typescript/utils/hooks/useTimer.d.ts +5 -0
- package/lib/typescript/utils/storage.d.ts +32 -0
- package/package.json +26 -26
- package/tsconfig.json +9 -9
- package/file_unzip.js +0 -5
- package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js +0 -28
- package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/CScanner.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js +0 -32
- package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js +0 -193
- package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js +0 -20
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js +0 -49
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js +0 -107
- package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js +0 -317
- package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/ReasonDropDown.js.map +0 -1
- package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js +0 -276
- package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js.map +0 -1
- package/lib/commonjs/ui/screens/RTScanScreen.js +0 -118
- 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/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 -158
- package/lib/module/components/executiontasks/scanner/ScannerUtils.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js +0 -9
- package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js +0 -38
- package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js +0 -86
- package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/RTScan.js +0 -287
- package/lib/module/components/executiontasks/scanner/returns/RTScan.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js +0 -80
- package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js.map +0 -1
- package/lib/module/components/executiontasks/scanner/returns/ScanList.js +0 -253
- package/lib/module/components/executiontasks/scanner/returns/ScanList.js.map +0 -1
- package/lib/module/ui/screens/RTScanScreen.js +0 -93
- 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/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 -3
- 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/mobile-execution-lib-0.6.4.tgz +0 -0
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
* Length (in cm)
|
|
3
3
|
*/
|
|
4
4
|
import type { BaseETRequest, BaseETResponse } from '../../../models/execTasks/ETBaseModels';
|
|
5
|
-
export
|
|
5
|
+
export type Length = number;
|
|
6
6
|
/**
|
|
7
7
|
* Breadth (in cm)
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type Breadth = number;
|
|
10
10
|
/**
|
|
11
11
|
* Maximum Size limit (in kb) of doodle image
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type MaxFileSize = number;
|
|
14
14
|
/**
|
|
15
15
|
* Pen colour hex code
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export type PenColor = string;
|
|
18
18
|
/**
|
|
19
19
|
* Any manual instruction to display for the Operator
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
22
|
-
export
|
|
21
|
+
export type Instruction = string;
|
|
22
|
+
export type SignatureInput = BaseETRequest & {
|
|
23
23
|
resolution: Dimension;
|
|
24
24
|
fileSizeLimit: MaxFileSize;
|
|
25
25
|
penColor?: PenColor;
|
|
@@ -45,4 +45,4 @@ export interface SignatureBaseResponse {
|
|
|
45
45
|
name: string;
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
export
|
|
48
|
+
export type SignatureOutput = BaseETResponse & SignatureBaseResponse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { DropCashInput } from './DropCashSchema';
|
|
3
|
-
declare const DropCashET: (props: DropCashInput) => JSX.Element;
|
|
3
|
+
declare const DropCashET: (props: DropCashInput) => React.JSX.Element;
|
|
4
4
|
export default DropCashET;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { BaseETRequest, BaseETResponse } from '../../../models/execTasks/ETBaseModels';
|
|
5
5
|
import type { ETAmount } from '../payments/init/InitPaymentSchema';
|
|
6
|
-
export
|
|
6
|
+
export type DropCashInput = BaseETRequest & {
|
|
7
7
|
expectedAmount: ETAmount;
|
|
8
8
|
confirmAmount?: boolean;
|
|
9
9
|
onSubmitET: (etOutput: DropCashOutput) => void;
|
|
10
10
|
confirmCustodyExchange?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type DropCashOutput = BaseETResponse & {
|
|
13
13
|
/**
|
|
14
14
|
* Amount collected (ISO 4217)
|
|
15
15
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { DropCashInput } from './DropCashSchema';
|
|
3
|
-
declare const SLDropCash: (
|
|
3
|
+
declare const SLDropCash: (props: DropCashInput) => React.JSX.Element;
|
|
4
4
|
export default SLDropCash;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { FormInputSchema } from './FormSchema';
|
|
3
|
-
declare const FormGenerator: (props: FormInputSchema) => JSX.Element;
|
|
3
|
+
declare const FormGenerator: (props: FormInputSchema) => React.JSX.Element;
|
|
4
4
|
export default FormGenerator;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseETRequest, BaseETResponse } from '../../../models/execTasks/ETBaseModels';
|
|
2
|
-
export
|
|
2
|
+
export type FormInputSchema = BaseETRequest & {
|
|
3
3
|
jsonSchema: JSONSchema;
|
|
4
4
|
uiSchema: UISchame;
|
|
5
5
|
onError: (e: any) => void;
|
|
@@ -17,7 +17,7 @@ export interface JSONSchema {
|
|
|
17
17
|
export interface UISchame {
|
|
18
18
|
[k: string]: unknown;
|
|
19
19
|
}
|
|
20
|
-
export
|
|
20
|
+
export type FormOutputSchema = BaseETResponse & {
|
|
21
21
|
data: {
|
|
22
22
|
[k: string]: unknown;
|
|
23
23
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { WidgetProps } from '@rjsf/core';
|
|
3
|
-
|
|
3
|
+
type DateWidgetProps = WidgetProps & {
|
|
4
4
|
minDate?: Date;
|
|
5
5
|
maxDate?: Date;
|
|
6
6
|
};
|
|
7
|
-
declare const DateTimeWidget: ({ id, label, value, onChange, onFocus, autofocus, options, rawErrors, maxDate, }: DateWidgetProps) => JSX.Element;
|
|
7
|
+
declare const DateTimeWidget: ({ id, label, value, onChange, onFocus, autofocus, options, rawErrors, maxDate, }: DateWidgetProps) => React.JSX.Element;
|
|
8
8
|
/**
|
|
9
9
|
* max and min date has to be implemented
|
|
10
10
|
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { WidgetProps } from '@rjsf/core';
|
|
3
|
+
type DropdownWidgetProps = WidgetProps & {
|
|
4
|
+
options: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
declare const DropdownWidget: (props: DropdownWidgetProps) => React.JSX.Element;
|
|
9
|
+
export default DropdownWidget;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { WidgetProps } from '@rjsf/core';
|
|
3
|
-
declare const QRBarcodeScannerWidget: ({ id, label, value, onChange, onFocus, autofocus, rawErrors, }: WidgetProps) => JSX.Element;
|
|
3
|
+
declare const QRBarcodeScannerWidget: ({ id, label, value, onChange, onFocus, autofocus, rawErrors, }: WidgetProps) => React.JSX.Element;
|
|
4
4
|
export interface ScannerDialogProps {
|
|
5
5
|
onSubmitDialog: (value: string) => void;
|
|
6
6
|
onModalClose: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { WidgetProps } from '@rjsf/core';
|
|
3
|
-
declare const TimeRangeSelector: (props: WidgetProps) => JSX.Element;
|
|
3
|
+
declare const TimeRangeSelector: (props: WidgetProps) => React.JSX.Element;
|
|
4
4
|
export default TimeRangeSelector;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { APIData, HttpRequestETOutput } from './HttpRequestETSchema';
|
|
2
2
|
export declare function getApiResponse(apiData: APIData): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
3
|
export declare function getOutputUsingJsonpath(json: object, jsonPath: string): any;
|
|
4
|
-
export declare function getHttpETOutput(apiResponse: object, jsonPath: string, success: boolean): Promise<HttpRequestETOutput>;
|
|
4
|
+
export declare function getHttpETOutput(apiResponse: object, jsonPath: string, success: boolean, mergedObjectiveId: Array<string>): Promise<HttpRequestETOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { HttpRequestETInput } from './HttpRequestETSchema';
|
|
3
|
-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const HttpRequestET: (props: HttpRequestETInput) => React.JSX.Element;
|
|
4
4
|
export default HttpRequestET;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import type { BaseETRequest, BaseETResponse } from '../../../models/execTasks/ETBaseModels';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type HTTPMethod = 'PUT' | 'POST' | 'GET';
|
|
3
|
+
export type HeaderKey = string;
|
|
4
|
+
export type HeaderValue = string;
|
|
5
5
|
/**
|
|
6
6
|
* API headers
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type Headers = {
|
|
9
9
|
key?: HeaderKey;
|
|
10
10
|
value?: HeaderValue;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type HttpRequestETInput = BaseETRequest & {
|
|
13
13
|
api: APIData;
|
|
14
14
|
onSubmitET: (value: HttpRequestETOutput) => void;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* API Details
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type HttpRequestETOutput = BaseETResponse & {
|
|
20
20
|
apiResponse: object;
|
|
21
21
|
};
|
|
22
22
|
export interface APIData {
|
|
@@ -16,13 +16,13 @@ export interface CapturedImage {
|
|
|
16
16
|
*/
|
|
17
17
|
timestamp: number;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
19
|
+
export type CaptureOutput = BaseETResponse & {
|
|
20
20
|
/**
|
|
21
21
|
* Array of captured images
|
|
22
22
|
*/
|
|
23
23
|
captures?: CapturedImage[];
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type ImageData = {
|
|
26
26
|
id: string;
|
|
27
27
|
path: string;
|
|
28
28
|
url: string;
|
|
@@ -31,42 +31,48 @@ export declare type ImageData = {
|
|
|
31
31
|
/**
|
|
32
32
|
* Length (in cm)
|
|
33
33
|
*/
|
|
34
|
-
export
|
|
34
|
+
export type Length = number;
|
|
35
35
|
/**
|
|
36
36
|
* Breadth (in cm)
|
|
37
37
|
*/
|
|
38
|
-
export
|
|
38
|
+
export type Breadth = number;
|
|
39
39
|
/**
|
|
40
40
|
* Maximum Size limit (in kb) of image to be captured
|
|
41
41
|
*/
|
|
42
|
-
export
|
|
42
|
+
export type MaxFileSize = number;
|
|
43
43
|
/**
|
|
44
44
|
* Mode of capturing image
|
|
45
45
|
*/
|
|
46
|
-
export
|
|
46
|
+
export type CaptureMode = 'SINGLE' | 'MULTI';
|
|
47
47
|
/**
|
|
48
48
|
* Max limit of images to be captured in multi-capture mode
|
|
49
49
|
*/
|
|
50
|
-
export
|
|
50
|
+
export type MaxImageCount = number;
|
|
51
51
|
/**
|
|
52
52
|
* Title of instruction
|
|
53
53
|
*/
|
|
54
|
-
export
|
|
54
|
+
export type Title = string;
|
|
55
55
|
/**
|
|
56
56
|
* Message of instruction
|
|
57
57
|
*/
|
|
58
|
-
export
|
|
58
|
+
export type Message = string;
|
|
59
59
|
/**
|
|
60
60
|
* Can go back
|
|
61
61
|
*/
|
|
62
|
-
export
|
|
63
|
-
export
|
|
62
|
+
export type CanGoBack = boolean;
|
|
63
|
+
export type MultiAdditionalConfig = '1' | 'N';
|
|
64
|
+
export interface AdditionalMultiConfig {
|
|
65
|
+
minCaptureCount: MultiAdditionalConfig;
|
|
66
|
+
}
|
|
67
|
+
export type CaptureInput = BaseETRequest & {
|
|
64
68
|
resolution: Resolution;
|
|
65
69
|
fileSizeLimit: MaxFileSize;
|
|
66
70
|
captureMode: CaptureMode;
|
|
67
71
|
captureCountLimit?: MaxImageCount;
|
|
72
|
+
additionalMultiConfig?: AdditionalMultiConfig;
|
|
68
73
|
onSubmitET: (etOutput: CaptureOutput) => void;
|
|
69
74
|
} & {
|
|
75
|
+
captureCount: number;
|
|
70
76
|
jobIds: string[];
|
|
71
77
|
objRefs: string[];
|
|
72
78
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { CaptureInput } from './CaptureSchema';
|
|
3
|
-
declare const ImageCapture: (props: CaptureInput) => JSX.Element;
|
|
3
|
+
declare const ImageCapture: (props: CaptureInput) => React.JSX.Element;
|
|
4
4
|
export default ImageCapture;
|
package/lib/typescript/components/executiontasks/payments/completePayment/CompletePaymentET.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { CompletePaymentInput } from './CompletePaymentSchema';
|
|
3
|
-
declare const CompletePaymentET: (
|
|
3
|
+
declare const CompletePaymentET: (props: CompletePaymentInput) => React.JSX.Element;
|
|
4
4
|
export default CompletePaymentET;
|
package/lib/typescript/components/executiontasks/payments/completePayment/CompletePaymentSchema.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { BaseETRequest, BaseETResponse } from '../../../../models/execTasks/ETBaseModels';
|
|
5
5
|
import type { ETAmount } from '../init/InitPaymentSchema';
|
|
6
|
-
export
|
|
6
|
+
export type CompletePaymentInput = BaseETRequest & {
|
|
7
7
|
paymentMode: string;
|
|
8
8
|
expectedAmount: ETAmount;
|
|
9
9
|
collectedAmount: ETAmount;
|
|
@@ -11,7 +11,7 @@ export declare type CompletePaymentInput = BaseETRequest & {
|
|
|
11
11
|
tenantTransactionId: string;
|
|
12
12
|
onSubmitET: (etOut: CompletePaymentOutput) => void;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type CompletePaymentOutput = BaseETResponse & {
|
|
15
15
|
tenantTransactionId: string;
|
|
16
16
|
paymentMode: string;
|
|
17
17
|
collectedAmount: ETAmount;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { InitPaymentInput } from './InitPaymentSchema';
|
|
3
|
-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const InitPaymentET: (props: InitPaymentInput) => React.JSX.Element;
|
|
4
4
|
export default InitPaymentET;
|
|
@@ -5,8 +5,8 @@ import type { BaseETRequest, BaseETResponse } from '../../../../models/execTasks
|
|
|
5
5
|
/**
|
|
6
6
|
* List of allowed Modes
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type AllowedModes = 'CASH' | 'UPI' | 'PAYMENT_LINK';
|
|
9
|
+
export type InitPaymentInput = BaseETRequest & {
|
|
10
10
|
amount: ETAmount;
|
|
11
11
|
allowedModes: string[];
|
|
12
12
|
onSubmitET: (output: InitPaymentOutput) => void;
|
|
@@ -19,7 +19,7 @@ export interface ETAmount {
|
|
|
19
19
|
currencyCode: string;
|
|
20
20
|
minorUnit?: number;
|
|
21
21
|
}
|
|
22
|
-
export
|
|
22
|
+
export type InitPaymentOutput = BaseETResponse & {
|
|
23
23
|
/**
|
|
24
24
|
* Unique transaction id
|
|
25
25
|
*/
|
package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentET.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ProcessPaymentInput } from './ProcessPaymentSchema';
|
|
3
|
-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const ProcessPaymentET: (props: ProcessPaymentInput) => React.JSX.Element;
|
|
4
4
|
export default ProcessPaymentET;
|
package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentSchema.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { ETAmount } from '../init/InitPaymentSchema';
|
|
|
6
6
|
/**
|
|
7
7
|
* Payment mode
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type ProcessPaymentInput = BaseETRequest & {
|
|
10
10
|
amount: ETAmount;
|
|
11
11
|
paymentMode: string;
|
|
12
12
|
transactionId: string;
|
|
@@ -15,7 +15,7 @@ export declare type ProcessPaymentInput = BaseETRequest & {
|
|
|
15
15
|
/**
|
|
16
16
|
* Amount to be collected (ISO 4217)
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
18
|
+
export type ProcessPaymentOutput = BaseETResponse & {
|
|
19
19
|
/**
|
|
20
20
|
* Unique transaction id
|
|
21
21
|
*/
|
|
@@ -6,18 +6,18 @@ import type { BaseETRequest } from '../../../models/execTasks/ETBaseModels';
|
|
|
6
6
|
/**
|
|
7
7
|
* Any manual instruction to display for the Operator to work on
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type Instruction = string;
|
|
10
10
|
export interface PickupRemarks {
|
|
11
11
|
pickupRemark: string;
|
|
12
12
|
success: boolean;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type PickupETInput = BaseETRequest & {
|
|
15
15
|
items: LineItem[];
|
|
16
16
|
pickupCount?: number;
|
|
17
17
|
confirmCustodyExchange?: boolean;
|
|
18
18
|
onSubmitET(pickupRemark: PickupETOutput): void;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type PickupETOutput = BaseETResponse & {
|
|
21
21
|
/**
|
|
22
22
|
* Remark captured at time of delivery
|
|
23
23
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { PickupETInput } from './PickpSchema';
|
|
3
|
-
declare const PickupET: (props: PickupETInput) => JSX.Element;
|
|
3
|
+
declare const PickupET: (props: PickupETInput) => React.JSX.Element;
|
|
4
4
|
export default PickupET;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { PickupETInput } from './PickpSchema';
|
|
3
3
|
import type { LineItem } from '../deliver/DeliverETInput';
|
|
4
4
|
export declare const renderItem: ({ item }: {
|
|
5
5
|
item: LineItem;
|
|
6
|
-
}) => JSX.Element;
|
|
7
|
-
declare const SLPickupET: (props: PickupETInput) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
|
+
declare const SLPickupET: (props: PickupETInput) => React.JSX.Element;
|
|
8
8
|
export default SLPickupET;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ScannerInput } from './ScanSchema';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param props interface ScannerInput
|
|
6
|
+
* @returns JSX
|
|
7
|
+
*
|
|
8
|
+
* props has key validation which defines different UI cases
|
|
9
|
+
* validation: interface Validation
|
|
10
|
+
*
|
|
11
|
+
* when validation.selectedIndex === 0 => Receives validation.logic as array of scans
|
|
12
|
+
* when validation.selectedIndex === 1 => Receives validation.logic as validation regex
|
|
13
|
+
* when validation.selectedIndex === 0 => Receives validation.logic as API
|
|
14
|
+
*/
|
|
15
|
+
declare const ScanET: (props: ScannerInput) => React.JSX.Element;
|
|
16
|
+
export default ScanET;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { PathParams, QueryParams } from '../../../utils/ApiUtils';
|
|
2
|
+
import type { BaseETRequest, BaseETResponse } from '../../../models/execTasks/ETBaseModels';
|
|
3
|
+
import type { Headers, HTTPMethod, HTTPRequestBody } from '../httpRequest/HttpRequestETSchema';
|
|
4
|
+
import { BaseETProps } from '../../../models/DispatchModels';
|
|
5
|
+
export type ScanType = Array<ScannerType>;
|
|
6
|
+
export type ScannerType = 'QRCODE' | 'aztec' | 'codabar' | 'code39' | 'code93' | 'code128' | 'datamatrix' | 'ean13' | 'ean8' | 'itf14' | 'pdf417' | 'upc_e';
|
|
7
|
+
export type ScanMode = 'SINGLE' | 'MULTI';
|
|
8
|
+
export type MaxScanCount = number;
|
|
9
|
+
export type Scans = Array<string>;
|
|
10
|
+
export type ValidationRegex = string;
|
|
11
|
+
export interface API {
|
|
12
|
+
uri: string;
|
|
13
|
+
timeout?: number;
|
|
14
|
+
httpMethod: HTTPMethod;
|
|
15
|
+
headers?: Headers[];
|
|
16
|
+
requestBody?: HTTPRequestBody;
|
|
17
|
+
queryParams?: QueryParams[];
|
|
18
|
+
pathParams?: PathParams[];
|
|
19
|
+
responseJsonLogic: object;
|
|
20
|
+
errorJsonLogic: object;
|
|
21
|
+
}
|
|
22
|
+
export interface Validation {
|
|
23
|
+
selectedIndex: number;
|
|
24
|
+
logic: Scans | ValidationRegex | API;
|
|
25
|
+
}
|
|
26
|
+
export type MultiAdditionalConfig = 'ALL_OR_NONE' | 'SUBSET_OF_LIST';
|
|
27
|
+
export interface AdditionalMultiConfig {
|
|
28
|
+
validationType: MultiAdditionalConfig;
|
|
29
|
+
}
|
|
30
|
+
export interface ERCode {
|
|
31
|
+
eventCode: string;
|
|
32
|
+
reasonCode?: string[];
|
|
33
|
+
}
|
|
34
|
+
export interface DefaultERC {
|
|
35
|
+
eventCode: string;
|
|
36
|
+
reasonCode?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface ScannedInput {
|
|
39
|
+
scanType: ScanType;
|
|
40
|
+
}
|
|
41
|
+
export type ScannerInput = BaseETRequest & AdditionData & {
|
|
42
|
+
scannedInput: ScannedInput;
|
|
43
|
+
scanMode: ScanMode;
|
|
44
|
+
scanCountLimit?: MaxScanCount;
|
|
45
|
+
validation: Validation;
|
|
46
|
+
additionalMultiConfig?: AdditionalMultiConfig;
|
|
47
|
+
defaultERC: DefaultERC;
|
|
48
|
+
ercSelector?: ERCode[];
|
|
49
|
+
exitOnError?: boolean;
|
|
50
|
+
scanToMerge?: boolean;
|
|
51
|
+
meta?: {
|
|
52
|
+
[k: string]: any;
|
|
53
|
+
};
|
|
54
|
+
persistData: boolean;
|
|
55
|
+
onSubmitET: (scanETOutput: ScannerOutput) => void;
|
|
56
|
+
} & BaseETProps;
|
|
57
|
+
export interface ScanData {
|
|
58
|
+
value: string;
|
|
59
|
+
validated?: boolean;
|
|
60
|
+
timestamp: number;
|
|
61
|
+
}
|
|
62
|
+
export interface ScannerOutput {
|
|
63
|
+
[mergedObjectiveId: string]: {
|
|
64
|
+
output: BaseETResponse;
|
|
65
|
+
count: number;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export interface AdditionData {
|
|
69
|
+
wfMeta: any;
|
|
70
|
+
mergedObjectiveId: string;
|
|
71
|
+
}
|
|
72
|
+
export interface IWIMappingUpdate {
|
|
73
|
+
data: {
|
|
74
|
+
scanned: number;
|
|
75
|
+
total: number;
|
|
76
|
+
mwId: string;
|
|
77
|
+
jobId: string;
|
|
78
|
+
displayInfo: any;
|
|
79
|
+
previousMWID: string;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export declare enum DeliverState {
|
|
83
|
+
CANCELLED = "CANCELLED",
|
|
84
|
+
DELIVERE_LATER = "DELIVER_LATER",
|
|
85
|
+
DELIVER_NOW = "DELIVER_NOW"
|
|
86
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const MAX_SHIPMENT_REACHED = "Max count of allowed shipments reached";
|
|
2
|
+
export declare const EMPTY_AWB = "Empty Shipment ID";
|
|
3
|
+
export declare const SHIPMENT_ALREADY_ADDED = "Shipment #<shipment_id> already added";
|
|
4
|
+
export declare const ADD_SHIPMENT = "Shipment #<shipment_id> scanned successfully";
|
|
5
|
+
export declare const INVALID_SHIPMENT = "Scanned Shipment is not a part of this order";
|
|
6
|
+
export declare const ER_MISSING = "Select Event code from drodown to scan shipment #<shipment_id>";
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { SnackBarType } from 'src/components/widgets/SnackBarCustom';
|
|
2
|
+
import { ScannerOutput } from './ScanSchema';
|
|
3
|
+
import { IDispatchExecutor } from '@os1-platform/platform-coreos-execution-engine-sdk';
|
|
4
|
+
export declare enum ExpoBarcodeTypes {
|
|
5
|
+
QRCODE = "QRCODE",
|
|
6
|
+
aztec = "aztec",
|
|
7
|
+
codabar = "codabar",
|
|
8
|
+
code39 = "code39",
|
|
9
|
+
code93 = "code93",
|
|
10
|
+
code128 = "code128",
|
|
11
|
+
datamatrix = "datamatrix",
|
|
12
|
+
ean13 = "ean13",
|
|
13
|
+
ean8 = "ean8",
|
|
14
|
+
itf14 = "itf14",
|
|
15
|
+
pdf417 = "pdf417",
|
|
16
|
+
upc_e = "upc_e"
|
|
17
|
+
}
|
|
18
|
+
export declare enum SCAN_STATUS {
|
|
19
|
+
SCANNED = 0,
|
|
20
|
+
FAILED = 1
|
|
21
|
+
}
|
|
22
|
+
export interface ScannedItemData {
|
|
23
|
+
value: string;
|
|
24
|
+
validated?: boolean;
|
|
25
|
+
timestamp?: number;
|
|
26
|
+
reasonCode?: string;
|
|
27
|
+
reasonText?: string;
|
|
28
|
+
success?: boolean;
|
|
29
|
+
scanStatus: SCAN_STATUS;
|
|
30
|
+
}
|
|
31
|
+
export interface MergedScan {
|
|
32
|
+
value: string;
|
|
33
|
+
mergedObjectiveId?: string;
|
|
34
|
+
validated?: boolean;
|
|
35
|
+
timestamp?: number;
|
|
36
|
+
scanStatus?: SCAN_STATUS;
|
|
37
|
+
eventCode?: string;
|
|
38
|
+
reasonCode?: string;
|
|
39
|
+
success?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface BlindScan {
|
|
42
|
+
maxCount: number;
|
|
43
|
+
scannedCount: number;
|
|
44
|
+
}
|
|
45
|
+
export declare enum PROCEED_STATUS {
|
|
46
|
+
DELIVER_NOW = "DELIVER_NOW",
|
|
47
|
+
DELIVER_LATER = "DELIVER_LATER"
|
|
48
|
+
}
|
|
49
|
+
export declare enum SummaryPageTabs {
|
|
50
|
+
ALL = "All",
|
|
51
|
+
PENDING = "Pending",
|
|
52
|
+
DELIVERED = "Delivered",
|
|
53
|
+
UNDELIVERED = "Undelivered"
|
|
54
|
+
}
|
|
55
|
+
export interface DisplaySummary {
|
|
56
|
+
scanId: string;
|
|
57
|
+
eventCode: string;
|
|
58
|
+
reasonCode: string;
|
|
59
|
+
clientName?: string;
|
|
60
|
+
orderId?: string;
|
|
61
|
+
prefixedMergedObjectiveId: string;
|
|
62
|
+
lastStatus: IDispatchExecutor.ExecutionStatus;
|
|
63
|
+
}
|
|
64
|
+
export type ListItem = DisplaySummary & {
|
|
65
|
+
index: number;
|
|
66
|
+
};
|
|
67
|
+
export interface SummaryDisplayData {
|
|
68
|
+
data: DisplaySummary[];
|
|
69
|
+
totalCount: number;
|
|
70
|
+
}
|
|
71
|
+
export interface ADD_SCAN {
|
|
72
|
+
status: boolean;
|
|
73
|
+
message: string;
|
|
74
|
+
type: SnackBarType;
|
|
75
|
+
exit?: boolean;
|
|
76
|
+
data?: any;
|
|
77
|
+
}
|
|
78
|
+
export interface SCAN_MERGED_OBJ_ID_INTEFACE {
|
|
79
|
+
[prefixedMergedObjectiveId: string]: SCANNED_RECORD;
|
|
80
|
+
}
|
|
81
|
+
export interface SCANNED_RECORD {
|
|
82
|
+
success: string[];
|
|
83
|
+
failure: string[];
|
|
84
|
+
pending: string[];
|
|
85
|
+
}
|
|
86
|
+
export interface SHARED_PREF_SCAN_OUTPUT_INTERFACE {
|
|
87
|
+
[prefixedMergedObjectiveId: string]: ScannerOutput;
|
|
88
|
+
}
|
|
89
|
+
export interface TabRecord {
|
|
90
|
+
[SummaryPageTabs.ALL]: number;
|
|
91
|
+
[SummaryPageTabs.PENDING]: number;
|
|
92
|
+
[SummaryPageTabs.DELIVERED]: number;
|
|
93
|
+
[SummaryPageTabs.UNDELIVERED]: number;
|
|
94
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ModalHookProps } from '../../../utils/hooks/useModal';
|
|
3
|
+
interface UndeliveredShipmentModalInput {
|
|
4
|
+
pendingCount: number;
|
|
5
|
+
primaryButtonPress: () => any;
|
|
6
|
+
secondaryButtonPress: () => any;
|
|
7
|
+
primaryButtonStyles: any;
|
|
8
|
+
secondaryButtonStyles: any;
|
|
9
|
+
renderAdditionalButton: () => JSX.Element;
|
|
10
|
+
}
|
|
11
|
+
export declare const undeliveredShipmentModal: (input: UndeliveredShipmentModalInput) => ModalHookProps;
|
|
12
|
+
interface ERCModalInput {
|
|
13
|
+
renderChildren: () => JSX.Element;
|
|
14
|
+
primaryButtonPress: () => any;
|
|
15
|
+
secondaryButtonPress: () => any;
|
|
16
|
+
primaryButtonStyles: any;
|
|
17
|
+
secondaryButtonStyles: any;
|
|
18
|
+
}
|
|
19
|
+
export declare const ercModal: (input: ERCModalInput) => ModalHookProps;
|
|
20
|
+
interface RemoveShipmentModalInput {
|
|
21
|
+
primaryButtonPress: () => any;
|
|
22
|
+
secondaryButtonPress: () => any;
|
|
23
|
+
subTitleStyle: any;
|
|
24
|
+
primaryButtonStyles: any;
|
|
25
|
+
secondaryButtonStyles: any;
|
|
26
|
+
}
|
|
27
|
+
export declare const removeShipmentModal: (input: RemoveShipmentModalInput) => ModalHookProps;
|
|
28
|
+
interface EditERCModalInput {
|
|
29
|
+
renderChildren: () => JSX.Element;
|
|
30
|
+
buttonStyles: any;
|
|
31
|
+
primaryButtonPress: () => any;
|
|
32
|
+
secondaryButtonPress: () => any;
|
|
33
|
+
primaryButtonStyles: any;
|
|
34
|
+
secondaryButtonStyles: any;
|
|
35
|
+
}
|
|
36
|
+
export declare const editERCModal: (input: EditERCModalInput) => ModalHookProps;
|
|
37
|
+
export {};
|
package/lib/typescript/components/executiontasks/{scanner → scan/sub_components}/CScanner.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.MemoExoticComponent<(props: CScannerProps) => JSX.Element>;
|
|
2
|
+
declare const _default: React.MemoExoticComponent<(props: CScannerProps) => React.JSX.Element>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export interface CScannerProps {
|
|
5
5
|
barCodeTypes: any[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ercItem } from './ERDropDown';
|
|
2
|
+
import type { DefaultERC, ERCode } from '../ScanSchema';
|
|
3
|
+
export declare function getErcDropDownItems(type: 'EVENT' | 'REASON', list: ERCode[], eventCode?: string): Promise<ercItem[] | []>;
|
|
4
|
+
export declare function getDefaultERCLabel(defaultERC: DefaultERC): Promise<{
|
|
5
|
+
eventCode: string;
|
|
6
|
+
reasonCode: string;
|
|
7
|
+
}>;
|