@ledgerhq/device-management-kit 0.6.4 → 0.7.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 +61 -8
- package/lib/cjs/package.json +23 -23
- package/lib/cjs/src/api/DeviceManagementKit.js +1 -1
- package/lib/cjs/src/api/DeviceManagementKit.js.map +3 -3
- package/lib/cjs/src/api/DeviceManagementKit.test.js +1 -1
- package/lib/cjs/src/api/DeviceManagementKit.test.js.map +3 -3
- package/lib/cjs/src/api/DeviceManagementKitBuilder.js +1 -1
- package/lib/cjs/src/api/DeviceManagementKitBuilder.js.map +2 -2
- package/lib/cjs/src/api/DmkConfig.js +1 -1
- package/lib/cjs/src/api/DmkConfig.js.map +1 -1
- package/lib/cjs/src/api/command/os/GetCustomImageSizeCommand.js +2 -0
- package/lib/cjs/src/api/command/os/GetCustomImageSizeCommand.js.map +7 -0
- package/lib/cjs/src/api/command/os/GetCustomImageSizeCommand.test.js +2 -0
- package/lib/cjs/src/api/command/os/GetCustomImageSizeCommand.test.js.map +7 -0
- package/lib/cjs/src/api/command/os/GetOsVersionCommand.js +1 -1
- package/lib/cjs/src/api/command/os/GetOsVersionCommand.js.map +3 -3
- package/lib/cjs/src/api/command/os/GetOsVersionCommand.test.js +1 -1
- package/lib/cjs/src/api/command/os/GetOsVersionCommand.test.js.map +3 -3
- package/lib/cjs/src/api/command/os/ListLanguagePackCommand.js +2 -0
- package/lib/cjs/src/api/command/os/ListLanguagePackCommand.js.map +7 -0
- package/lib/cjs/src/api/command/os/ListLanguagePackCommand.test.js +2 -0
- package/lib/cjs/src/api/command/os/ListLanguagePackCommand.test.js.map +7 -0
- package/lib/cjs/src/api/command/os/__mocks__/GetOsVersionCommand.js +1 -1
- package/lib/cjs/src/api/command/os/__mocks__/GetOsVersionCommand.js.map +2 -2
- package/lib/cjs/src/api/command/use-case/SendCommandUseCase.js +1 -1
- package/lib/cjs/src/api/command/use-case/SendCommandUseCase.js.map +3 -3
- package/lib/cjs/src/api/command/use-case/SendCommandUseCase.test.js +1 -1
- package/lib/cjs/src/api/command/use-case/SendCommandUseCase.test.js.map +3 -3
- package/lib/cjs/src/api/command/utils/CommandUtils.js +1 -1
- package/lib/cjs/src/api/command/utils/CommandUtils.js.map +3 -3
- package/lib/cjs/src/api/command/utils/CommandUtils.test.js +1 -1
- package/lib/cjs/src/api/command/utils/CommandUtils.test.js.map +3 -3
- package/lib/cjs/src/api/device-action/DeviceAction.js +1 -1
- package/lib/cjs/src/api/device-action/DeviceAction.js.map +1 -1
- package/lib/cjs/src/api/device-action/__test-utils__/makeInternalApi.js +1 -1
- package/lib/cjs/src/api/device-action/__test-utils__/makeInternalApi.js.map +3 -3
- package/lib/cjs/src/api/device-action/__test-utils__/setupTestMachine.js +1 -1
- package/lib/cjs/src/api/device-action/__test-utils__/setupTestMachine.js.map +3 -3
- package/lib/cjs/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction.js +1 -1
- package/lib/cjs/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction.js.map +2 -2
- package/lib/cjs/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction.test.js +1 -1
- package/lib/cjs/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction.test.js.map +2 -2
- package/lib/cjs/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceActionTypes.js +1 -1
- package/lib/cjs/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceActionTypes.js.map +1 -1
- package/lib/cjs/src/api/device-action/os/Errors.js +1 -1
- package/lib/cjs/src/api/device-action/os/Errors.js.map +3 -3
- package/lib/cjs/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.js +2 -0
- package/lib/cjs/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.js.map +7 -0
- package/lib/cjs/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.test.js +2 -0
- package/lib/cjs/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.test.js.map +7 -0
- package/lib/cjs/src/api/device-action/os/GetDeviceMetadata/types.js +2 -0
- package/lib/cjs/src/api/device-action/os/GetDeviceMetadata/types.js.map +7 -0
- package/lib/cjs/src/api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction.js +1 -1
- package/lib/cjs/src/api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction.js.map +2 -2
- package/lib/cjs/src/api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction.test.js +1 -1
- package/lib/cjs/src/api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction.test.js.map +2 -2
- package/lib/cjs/src/api/device-action/os/GoToDashboard/types.js +1 -1
- package/lib/cjs/src/api/device-action/os/GoToDashboard/types.js.map +1 -1
- package/lib/cjs/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.js +2 -0
- package/lib/cjs/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.js.map +7 -0
- package/lib/cjs/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.test.js +2 -0
- package/lib/cjs/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.test.js.map +7 -0
- package/lib/cjs/src/api/device-action/os/InstallOrUpdateApps/types.js +2 -0
- package/lib/cjs/src/api/device-action/os/InstallOrUpdateApps/types.js.map +7 -0
- package/lib/cjs/src/api/device-action/os/ListApps/ListAppsDeviceAction.js +1 -1
- package/lib/cjs/src/api/device-action/os/ListApps/ListAppsDeviceAction.js.map +2 -2
- package/lib/cjs/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.js +2 -0
- package/lib/cjs/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.js.map +7 -0
- package/lib/cjs/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.test.js +2 -0
- package/lib/cjs/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.test.js.map +7 -0
- package/lib/cjs/src/api/device-action/os/OpenAppWithDependencies/types.js +2 -0
- package/lib/cjs/src/api/device-action/os/OpenAppWithDependencies/types.js.map +7 -0
- package/lib/cjs/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction.js +1 -1
- package/lib/cjs/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction.js.map +2 -2
- package/lib/cjs/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction.test.js +1 -1
- package/lib/cjs/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction.test.js.map +2 -2
- package/lib/cjs/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceActionTypes.js.map +1 -1
- package/lib/cjs/src/api/device-action/task/BuildAppsInstallPlanTask.js +2 -0
- package/lib/cjs/src/api/device-action/task/BuildAppsInstallPlanTask.js.map +7 -0
- package/lib/cjs/src/api/device-action/task/BuildAppsInstallPlanTask.test.js +2 -0
- package/lib/cjs/src/api/device-action/task/BuildAppsInstallPlanTask.test.js.map +7 -0
- package/lib/cjs/src/api/device-action/task/GetApplicationsMetadataTask.js +2 -0
- package/lib/cjs/src/api/device-action/task/GetApplicationsMetadataTask.js.map +7 -0
- package/lib/cjs/src/api/device-action/task/GetApplicationsMetadataTask.test.js +2 -0
- package/lib/cjs/src/api/device-action/task/GetApplicationsMetadataTask.test.js.map +7 -0
- package/lib/cjs/src/api/device-action/task/GetFirmwareMetadataTask.js +2 -0
- package/lib/cjs/src/api/device-action/task/GetFirmwareMetadataTask.js.map +7 -0
- package/lib/cjs/src/api/device-action/task/GetFirmwareMetadataTask.test.js +2 -0
- package/lib/cjs/src/api/device-action/task/GetFirmwareMetadataTask.test.js.map +7 -0
- package/lib/cjs/src/api/device-action/task/PredictOutOfMemoryTask.js +2 -0
- package/lib/cjs/src/api/device-action/task/PredictOutOfMemoryTask.js.map +7 -0
- package/lib/cjs/src/api/device-action/task/PredictOutOfMemoryTask.test.js +2 -0
- package/lib/cjs/src/api/device-action/task/PredictOutOfMemoryTask.test.js.map +7 -0
- package/lib/cjs/src/api/device-model/data/StaticDeviceModelDataSource.js +1 -1
- package/lib/cjs/src/api/device-model/data/StaticDeviceModelDataSource.js.map +2 -2
- package/lib/cjs/src/api/device-model/model/DeviceModel.js +1 -1
- package/lib/cjs/src/api/device-model/model/DeviceModel.js.map +2 -2
- package/lib/cjs/src/api/device-model/model/DeviceModel.stub.js +1 -1
- package/lib/cjs/src/api/device-model/model/DeviceModel.stub.js.map +2 -2
- package/lib/cjs/src/api/device-session/DeviceSessionState.js +1 -1
- package/lib/cjs/src/api/device-session/DeviceSessionState.js.map +2 -2
- package/lib/cjs/src/api/device-session/use-case/DisableDeviceSessionRefresher.test.js +1 -1
- package/lib/cjs/src/api/device-session/use-case/DisableDeviceSessionRefresher.test.js.map +3 -3
- package/lib/cjs/src/api/index.js +1 -1
- package/lib/cjs/src/api/index.js.map +3 -3
- package/lib/cjs/src/api/logger-subscriber/service/WebLogsExporterLogger.test.js +1 -1
- package/lib/cjs/src/api/logger-subscriber/service/WebLogsExporterLogger.test.js.map +3 -3
- package/lib/cjs/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.js +1 -1
- package/lib/cjs/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.js.map +2 -2
- package/lib/cjs/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.test.js +1 -1
- package/lib/cjs/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.test.js.map +3 -3
- package/lib/cjs/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.js +2 -0
- package/lib/cjs/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.js.map +7 -0
- package/lib/cjs/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.test.js +2 -0
- package/lib/cjs/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.test.js.map +7 -0
- package/lib/cjs/src/api/secure-channel/device-action/InstallApp/types.js +2 -0
- package/lib/cjs/src/api/secure-channel/device-action/InstallApp/types.js.map +7 -0
- package/lib/cjs/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.js +1 -1
- package/lib/cjs/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.js.map +2 -2
- package/lib/cjs/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.test.js +1 -1
- package/lib/cjs/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.test.js.map +3 -3
- package/lib/cjs/src/api/secure-channel/device-action/ListInstalledApps/types.js +1 -1
- package/lib/cjs/src/api/secure-channel/device-action/ListInstalledApps/types.js.map +2 -2
- package/lib/cjs/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.js +2 -0
- package/lib/cjs/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.js.map +7 -0
- package/lib/cjs/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.test.js +2 -0
- package/lib/cjs/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.test.js.map +7 -0
- package/lib/cjs/src/api/secure-channel/device-action/UninstallApp/types.js +2 -0
- package/lib/cjs/src/api/secure-channel/device-action/UninstallApp/types.js.map +7 -0
- package/lib/cjs/src/api/secure-channel/utils.test.js +1 -1
- package/lib/cjs/src/api/secure-channel/utils.test.js.map +2 -2
- package/lib/cjs/src/api/transport/model/DeviceApduSender.js +2 -0
- package/lib/cjs/src/api/transport/model/DeviceApduSender.js.map +7 -0
- package/lib/cjs/src/api/transport/model/DeviceConnection.js +1 -1
- package/lib/cjs/src/api/transport/model/DeviceConnection.js.map +1 -1
- package/lib/cjs/src/api/transport/model/DeviceConnectionStateMachine.js +2 -0
- package/lib/cjs/src/api/transport/model/DeviceConnectionStateMachine.js.map +7 -0
- package/lib/cjs/src/api/transport/model/DiscoveredDevice.js.map +1 -1
- package/lib/cjs/src/api/transport/model/Errors.js +1 -1
- package/lib/cjs/src/api/transport/model/Errors.js.map +3 -3
- package/lib/cjs/src/api/transport/model/Transport.js.map +1 -1
- package/lib/cjs/src/api/transport/model/TransportConnectedDevice.test.js +1 -1
- package/lib/cjs/src/api/transport/model/TransportConnectedDevice.test.js.map +3 -3
- package/lib/cjs/src/api/types.js +1 -1
- package/lib/cjs/src/api/types.js.map +1 -1
- package/lib/cjs/src/di.js +1 -1
- package/lib/cjs/src/di.js.map +2 -2
- package/lib/cjs/src/internal/device-session/data/ApduResponseConst.js +1 -1
- package/lib/cjs/src/internal/device-session/data/ApduResponseConst.js.map +3 -3
- package/lib/cjs/src/internal/device-session/data/DeviceSessionRefresherConst.js +1 -1
- package/lib/cjs/src/internal/device-session/data/DeviceSessionRefresherConst.js.map +3 -3
- package/lib/cjs/src/internal/device-session/model/DevicePinger.js +2 -0
- package/lib/cjs/src/internal/device-session/model/DevicePinger.js.map +7 -0
- package/lib/cjs/src/internal/device-session/model/DevicePinger.test.js +2 -0
- package/lib/cjs/src/internal/device-session/model/DevicePinger.test.js.map +7 -0
- package/lib/cjs/src/internal/device-session/model/DeviceSession.js +1 -1
- package/lib/cjs/src/internal/device-session/model/DeviceSession.js.map +3 -3
- package/lib/cjs/src/internal/device-session/model/DeviceSession.stub.js +1 -1
- package/lib/cjs/src/internal/device-session/model/DeviceSession.stub.js.map +3 -3
- package/lib/cjs/src/internal/device-session/model/DeviceSessionEventDispatcher.js +2 -0
- package/lib/cjs/src/internal/device-session/model/DeviceSessionEventDispatcher.js.map +7 -0
- package/lib/cjs/src/internal/device-session/model/DeviceSessionEventDispatcher.test.js +2 -0
- package/lib/cjs/src/internal/device-session/model/DeviceSessionEventDispatcher.test.js.map +7 -0
- package/lib/cjs/src/internal/device-session/model/DeviceSessionRefresher.js +1 -1
- package/lib/cjs/src/internal/device-session/model/DeviceSessionRefresher.js.map +3 -3
- package/lib/cjs/src/internal/device-session/model/DeviceSessionRefresher.test.js +1 -1
- package/lib/cjs/src/internal/device-session/model/DeviceSessionRefresher.test.js.map +3 -3
- package/lib/cjs/src/internal/device-session/model/DeviceSessionStateHandler.js +2 -0
- package/lib/cjs/src/internal/device-session/model/DeviceSessionStateHandler.js.map +7 -0
- package/lib/cjs/src/internal/device-session/model/DeviceSessionStateHandler.test.js +2 -0
- package/lib/cjs/src/internal/device-session/model/DeviceSessionStateHandler.test.js.map +7 -0
- package/lib/cjs/src/internal/device-session/model/Frame.js +1 -1
- package/lib/cjs/src/internal/device-session/model/Frame.js.map +3 -3
- package/lib/cjs/src/internal/device-session/service/DefaultApduSenderService.js +1 -1
- package/lib/cjs/src/internal/device-session/service/DefaultApduSenderService.js.map +2 -2
- package/lib/cjs/src/internal/device-session/service/DefaultDeviceSessionService.test.js +1 -1
- package/lib/cjs/src/internal/device-session/service/DefaultDeviceSessionService.test.js.map +3 -3
- package/lib/cjs/src/internal/device-session/service/MutexService.js +2 -0
- package/lib/cjs/src/internal/device-session/service/MutexService.js.map +7 -0
- package/lib/cjs/src/internal/device-session/service/MutexService.test.js +2 -0
- package/lib/cjs/src/internal/device-session/service/MutexService.test.js.map +7 -0
- package/lib/cjs/src/internal/device-session/service/RefresherService.js +1 -1
- package/lib/cjs/src/internal/device-session/service/RefresherService.js.map +3 -3
- package/lib/cjs/src/internal/device-session/service/RefresherService.test.js +1 -1
- package/lib/cjs/src/internal/device-session/service/RefresherService.test.js.map +3 -3
- package/lib/cjs/src/internal/device-session/use-case/CloseSessionsUseCase.js +1 -1
- package/lib/cjs/src/internal/device-session/use-case/CloseSessionsUseCase.js.map +3 -3
- package/lib/cjs/src/internal/device-session/use-case/CloseSessionsUseCase.test.js +1 -1
- package/lib/cjs/src/internal/device-session/use-case/CloseSessionsUseCase.test.js.map +3 -3
- package/lib/cjs/src/internal/device-session/use-case/GetDeviceSessionStateUseCase.test.js +1 -1
- package/lib/cjs/src/internal/device-session/use-case/GetDeviceSessionStateUseCase.test.js.map +3 -3
- package/lib/cjs/src/internal/device-session/utils/deviceSessionUtils.js +2 -0
- package/lib/cjs/src/internal/device-session/utils/deviceSessionUtils.js.map +7 -0
- package/lib/cjs/src/internal/discovery/use-case/ConnectUseCase.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/ConnectUseCase.js.map +3 -3
- package/lib/cjs/src/internal/discovery/use-case/DisconnectUseCase.test.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/DisconnectUseCase.test.js.map +3 -3
- package/lib/cjs/src/internal/discovery/use-case/GetConnectedDeviceUseCase.test.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/GetConnectedDeviceUseCase.test.js.map +3 -3
- package/lib/cjs/src/internal/discovery/use-case/ListConnectedDevicesUseCase.test.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/ListConnectedDevicesUseCase.test.js.map +3 -3
- package/lib/cjs/src/internal/discovery/use-case/ListenToAvailableDevicesUseCase.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/ListenToAvailableDevicesUseCase.js.map +2 -2
- package/lib/cjs/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.js.map +3 -3
- package/lib/cjs/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.test.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.test.js.map +3 -3
- package/lib/cjs/src/internal/discovery/use-case/StartDiscoveringUseCase.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/StartDiscoveringUseCase.js.map +2 -2
- package/lib/cjs/src/internal/discovery/use-case/StartDiscoveringUseCase.test.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/StartDiscoveringUseCase.test.js.map +2 -2
- package/lib/cjs/src/internal/discovery/use-case/StopDiscoveringUseCase.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/StopDiscoveringUseCase.js.map +3 -3
- package/lib/cjs/src/internal/discovery/use-case/StopDiscoveringUseCase.test.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/StopDiscoveringUseCase.test.js.map +3 -3
- package/lib/cjs/src/internal/manager-api/data/AxiosManagerApiDataSource.js +1 -1
- package/lib/cjs/src/internal/manager-api/data/AxiosManagerApiDataSource.js.map +3 -3
- package/lib/cjs/src/internal/manager-api/data/AxiosManagerApiDataSource.test.js +1 -1
- package/lib/cjs/src/internal/manager-api/data/AxiosManagerApiDataSource.test.js.map +3 -3
- package/lib/cjs/src/internal/manager-api/data/ManagerApiDataSource.js +1 -1
- package/lib/cjs/src/internal/manager-api/data/ManagerApiDataSource.js.map +1 -1
- package/lib/cjs/src/internal/manager-api/data/ManagerApiDto.js +1 -1
- package/lib/cjs/src/internal/manager-api/data/ManagerApiDto.js.map +1 -1
- package/lib/cjs/src/internal/manager-api/data/__mocks__/AxiosManagerApiDataSource.js +1 -1
- package/lib/cjs/src/internal/manager-api/data/__mocks__/AxiosManagerApiDataSource.js.map +2 -2
- package/lib/cjs/src/internal/manager-api/di/managerApiModule.js +1 -1
- package/lib/cjs/src/internal/manager-api/di/managerApiModule.js.map +3 -3
- package/lib/cjs/src/internal/manager-api/di/managerApiModule.test.js +1 -1
- package/lib/cjs/src/internal/manager-api/di/managerApiModule.test.js.map +2 -2
- package/lib/cjs/src/internal/manager-api/di/managerApiTypes.js +1 -1
- package/lib/cjs/src/internal/manager-api/di/managerApiTypes.js.map +2 -2
- package/lib/cjs/src/internal/manager-api/model/Application.js +1 -1
- package/lib/cjs/src/internal/manager-api/model/Application.js.map +1 -1
- package/lib/cjs/src/internal/manager-api/model/Const.js +1 -1
- package/lib/cjs/src/internal/manager-api/model/Const.js.map +3 -3
- package/lib/cjs/src/internal/manager-api/model/Firmware.js +1 -1
- package/lib/cjs/src/internal/manager-api/model/Firmware.js.map +1 -1
- package/lib/cjs/src/internal/manager-api/model/Language.js +2 -0
- package/lib/cjs/src/internal/manager-api/model/Language.js.map +7 -0
- package/lib/cjs/src/internal/manager-api/model/Params.js +1 -1
- package/lib/cjs/src/internal/manager-api/model/Params.js.map +1 -1
- package/lib/cjs/src/internal/manager-api/service/DefaultManagerApiService.js +1 -1
- package/lib/cjs/src/internal/manager-api/service/DefaultManagerApiService.js.map +3 -3
- package/lib/cjs/src/internal/manager-api/service/DefaultManagerApiService.test.js +1 -1
- package/lib/cjs/src/internal/manager-api/service/DefaultManagerApiService.test.js.map +3 -3
- package/lib/cjs/src/internal/manager-api/service/ManagerApiService.js +1 -1
- package/lib/cjs/src/internal/manager-api/service/ManagerApiService.js.map +1 -1
- package/lib/cjs/src/internal/manager-api/use-case/SetProviderUseCase.js +2 -0
- package/lib/cjs/src/internal/manager-api/use-case/SetProviderUseCase.js.map +7 -0
- package/lib/cjs/src/internal/manager-api/use-case/SetProviderUseCase.test.js +2 -0
- package/lib/cjs/src/internal/manager-api/use-case/SetProviderUseCase.test.js.map +7 -0
- package/lib/cjs/src/internal/secure-channel/data/DefaultSecureChannelDataSource.test.js +1 -1
- package/lib/cjs/src/internal/secure-channel/data/DefaultSecureChannelDataSource.test.js.map +2 -2
- package/lib/cjs/src/internal/secure-channel/model/Params.js +1 -1
- package/lib/cjs/src/internal/secure-channel/model/Params.js.map +1 -1
- package/lib/cjs/src/internal/secure-channel/service/DefaultSecureChannelService.js +1 -1
- package/lib/cjs/src/internal/secure-channel/service/DefaultSecureChannelService.js.map +3 -3
- package/lib/cjs/src/internal/secure-channel/service/DefaultSecureChannelService.test.js +1 -1
- package/lib/cjs/src/internal/secure-channel/service/DefaultSecureChannelService.test.js.map +3 -3
- package/lib/cjs/src/internal/secure-channel/service/SecureChannelService.js +1 -1
- package/lib/cjs/src/internal/secure-channel/service/SecureChannelService.js.map +1 -1
- package/lib/cjs/src/internal/send/use-case/SendApduUseCase.js +1 -1
- package/lib/cjs/src/internal/send/use-case/SendApduUseCase.js.map +3 -3
- package/lib/cjs/src/internal/send/use-case/SendApduUseCase.test.js +1 -1
- package/lib/cjs/src/internal/send/use-case/SendApduUseCase.test.js.map +3 -3
- package/lib/cjs/src/internal/transport/di/transportModule.test.js +1 -1
- package/lib/cjs/src/internal/transport/di/transportModule.test.js.map +2 -2
- package/lib/cjs/src/internal/transport/service/DefaultTransportService.js +1 -1
- package/lib/cjs/src/internal/transport/service/DefaultTransportService.js.map +3 -3
- package/lib/cjs/src/internal/transport/service/TransportService.js +1 -1
- package/lib/cjs/src/internal/transport/service/TransportService.js.map +1 -1
- package/lib/cjs/src/internal/transport/service/__mocks__/DefaultTransportService.js +1 -1
- package/lib/cjs/src/internal/transport/service/__mocks__/DefaultTransportService.js.map +2 -2
- package/lib/esm/package.json +23 -23
- package/lib/esm/src/api/DeviceManagementKit.js +1 -1
- package/lib/esm/src/api/DeviceManagementKit.js.map +3 -3
- package/lib/esm/src/api/DeviceManagementKit.test.js +1 -1
- package/lib/esm/src/api/DeviceManagementKit.test.js.map +3 -3
- package/lib/esm/src/api/DeviceManagementKitBuilder.js +1 -1
- package/lib/esm/src/api/DeviceManagementKitBuilder.js.map +3 -3
- package/lib/esm/src/api/command/os/GetCustomImageSizeCommand.js +2 -0
- package/lib/esm/src/api/command/os/GetCustomImageSizeCommand.js.map +7 -0
- package/lib/esm/src/api/command/os/GetCustomImageSizeCommand.test.js +2 -0
- package/lib/esm/src/api/command/os/GetCustomImageSizeCommand.test.js.map +7 -0
- package/lib/esm/src/api/command/os/GetOsVersionCommand.js +1 -1
- package/lib/esm/src/api/command/os/GetOsVersionCommand.js.map +3 -3
- package/lib/esm/src/api/command/os/GetOsVersionCommand.test.js +1 -1
- package/lib/esm/src/api/command/os/GetOsVersionCommand.test.js.map +3 -3
- package/lib/esm/src/api/command/os/ListLanguagePackCommand.js +2 -0
- package/lib/esm/src/api/command/os/ListLanguagePackCommand.js.map +7 -0
- package/lib/esm/src/api/command/os/ListLanguagePackCommand.test.js +2 -0
- package/lib/esm/src/api/command/os/ListLanguagePackCommand.test.js.map +7 -0
- package/lib/esm/src/api/command/os/__mocks__/GetOsVersionCommand.js +1 -1
- package/lib/esm/src/api/command/os/__mocks__/GetOsVersionCommand.js.map +2 -2
- package/lib/esm/src/api/command/use-case/SendCommandUseCase.js +1 -1
- package/lib/esm/src/api/command/use-case/SendCommandUseCase.js.map +3 -3
- package/lib/esm/src/api/command/use-case/SendCommandUseCase.test.js +1 -1
- package/lib/esm/src/api/command/use-case/SendCommandUseCase.test.js.map +3 -3
- package/lib/esm/src/api/command/utils/CommandUtils.js +1 -1
- package/lib/esm/src/api/command/utils/CommandUtils.js.map +3 -3
- package/lib/esm/src/api/command/utils/CommandUtils.test.js +1 -1
- package/lib/esm/src/api/command/utils/CommandUtils.test.js.map +3 -3
- package/lib/esm/src/api/device-action/__test-utils__/makeInternalApi.js +1 -1
- package/lib/esm/src/api/device-action/__test-utils__/makeInternalApi.js.map +3 -3
- package/lib/esm/src/api/device-action/__test-utils__/setupTestMachine.js +1 -1
- package/lib/esm/src/api/device-action/__test-utils__/setupTestMachine.js.map +3 -3
- package/lib/esm/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction.js +1 -1
- package/lib/esm/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction.js.map +2 -2
- package/lib/esm/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction.test.js +1 -1
- package/lib/esm/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction.test.js.map +2 -2
- package/lib/esm/src/api/device-action/os/Errors.js +1 -1
- package/lib/esm/src/api/device-action/os/Errors.js.map +3 -3
- package/lib/esm/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.js +2 -0
- package/lib/esm/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.js.map +7 -0
- package/lib/esm/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.test.js +2 -0
- package/lib/esm/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.test.js.map +7 -0
- package/lib/esm/src/api/device-action/os/GetDeviceMetadata/types.js +1 -0
- package/lib/esm/src/api/device-action/os/GetDeviceMetadata/types.js.map +7 -0
- package/lib/esm/src/api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction.js +1 -1
- package/lib/esm/src/api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction.js.map +2 -2
- package/lib/esm/src/api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction.test.js +1 -1
- package/lib/esm/src/api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction.test.js.map +2 -2
- package/lib/esm/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.js +2 -0
- package/lib/esm/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.js.map +7 -0
- package/lib/esm/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.test.js +2 -0
- package/lib/esm/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.test.js.map +7 -0
- package/lib/esm/src/api/device-action/os/InstallOrUpdateApps/types.js +1 -0
- package/lib/esm/src/api/device-action/os/InstallOrUpdateApps/types.js.map +7 -0
- package/lib/esm/src/api/device-action/os/ListApps/ListAppsDeviceAction.js +1 -1
- package/lib/esm/src/api/device-action/os/ListApps/ListAppsDeviceAction.js.map +2 -2
- package/lib/esm/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.js +2 -0
- package/lib/esm/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.js.map +7 -0
- package/lib/esm/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.test.js +2 -0
- package/lib/esm/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.test.js.map +7 -0
- package/lib/esm/src/api/device-action/os/OpenAppWithDependencies/types.js +1 -0
- package/lib/esm/src/api/device-action/os/OpenAppWithDependencies/types.js.map +7 -0
- package/lib/esm/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction.js +1 -1
- package/lib/esm/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction.js.map +2 -2
- package/lib/esm/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction.test.js +1 -1
- package/lib/esm/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction.test.js.map +2 -2
- package/lib/esm/src/api/device-action/task/BuildAppsInstallPlanTask.js +2 -0
- package/lib/esm/src/api/device-action/task/BuildAppsInstallPlanTask.js.map +7 -0
- package/lib/esm/src/api/device-action/task/BuildAppsInstallPlanTask.test.js +2 -0
- package/lib/esm/src/api/device-action/task/BuildAppsInstallPlanTask.test.js.map +7 -0
- package/lib/esm/src/api/device-action/task/GetApplicationsMetadataTask.js +2 -0
- package/lib/esm/src/api/device-action/task/GetApplicationsMetadataTask.js.map +7 -0
- package/lib/esm/src/api/device-action/task/GetApplicationsMetadataTask.test.js +2 -0
- package/lib/esm/src/api/device-action/task/GetApplicationsMetadataTask.test.js.map +7 -0
- package/lib/esm/src/api/device-action/task/GetFirmwareMetadataTask.js +2 -0
- package/lib/esm/src/api/device-action/task/GetFirmwareMetadataTask.js.map +7 -0
- package/lib/esm/src/api/device-action/task/GetFirmwareMetadataTask.test.js +2 -0
- package/lib/esm/src/api/device-action/task/GetFirmwareMetadataTask.test.js.map +7 -0
- package/lib/esm/src/api/device-action/task/PredictOutOfMemoryTask.js +2 -0
- package/lib/esm/src/api/device-action/task/PredictOutOfMemoryTask.js.map +7 -0
- package/lib/esm/src/api/device-action/task/PredictOutOfMemoryTask.test.js +2 -0
- package/lib/esm/src/api/device-action/task/PredictOutOfMemoryTask.test.js.map +7 -0
- package/lib/esm/src/api/device-model/data/StaticDeviceModelDataSource.js +1 -1
- package/lib/esm/src/api/device-model/data/StaticDeviceModelDataSource.js.map +2 -2
- package/lib/esm/src/api/device-model/model/DeviceModel.js +1 -1
- package/lib/esm/src/api/device-model/model/DeviceModel.js.map +2 -2
- package/lib/esm/src/api/device-model/model/DeviceModel.stub.js +1 -1
- package/lib/esm/src/api/device-model/model/DeviceModel.stub.js.map +2 -2
- package/lib/esm/src/api/device-session/DeviceSessionState.js +1 -1
- package/lib/esm/src/api/device-session/DeviceSessionState.js.map +2 -2
- package/lib/esm/src/api/device-session/use-case/DisableDeviceSessionRefresher.test.js +1 -1
- package/lib/esm/src/api/device-session/use-case/DisableDeviceSessionRefresher.test.js.map +3 -3
- package/lib/esm/src/api/index.js +1 -1
- package/lib/esm/src/api/index.js.map +3 -3
- package/lib/esm/src/api/logger-subscriber/service/WebLogsExporterLogger.test.js +1 -1
- package/lib/esm/src/api/logger-subscriber/service/WebLogsExporterLogger.test.js.map +3 -3
- package/lib/esm/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.js +1 -1
- package/lib/esm/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.js.map +2 -2
- package/lib/esm/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.test.js +1 -1
- package/lib/esm/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.test.js.map +3 -3
- package/lib/esm/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.js +2 -0
- package/lib/esm/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.js.map +7 -0
- package/lib/esm/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.test.js +2 -0
- package/lib/esm/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.test.js.map +7 -0
- package/lib/esm/src/api/secure-channel/device-action/InstallApp/types.js +1 -0
- package/lib/esm/src/api/secure-channel/device-action/InstallApp/types.js.map +7 -0
- package/lib/esm/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.js +1 -1
- package/lib/esm/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.js.map +2 -2
- package/lib/esm/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.test.js +1 -1
- package/lib/esm/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.test.js.map +3 -3
- package/lib/esm/src/api/secure-channel/device-action/ListInstalledApps/types.js.map +2 -2
- package/lib/esm/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.js +2 -0
- package/lib/esm/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.js.map +7 -0
- package/lib/esm/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.test.js +2 -0
- package/lib/esm/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.test.js.map +7 -0
- package/lib/esm/src/api/secure-channel/device-action/UninstallApp/types.js +1 -0
- package/lib/esm/src/api/secure-channel/device-action/UninstallApp/types.js.map +7 -0
- package/lib/esm/src/api/secure-channel/utils.test.js +1 -1
- package/lib/esm/src/api/secure-channel/utils.test.js.map +2 -2
- package/lib/esm/src/api/transport/model/DeviceApduSender.js +1 -0
- package/lib/esm/src/api/transport/model/DeviceApduSender.js.map +7 -0
- package/lib/esm/src/api/transport/model/DeviceConnectionStateMachine.js +2 -0
- package/lib/esm/src/api/transport/model/DeviceConnectionStateMachine.js.map +7 -0
- package/lib/esm/src/api/transport/model/Errors.js +1 -1
- package/lib/esm/src/api/transport/model/Errors.js.map +3 -3
- package/lib/esm/src/api/transport/model/TransportConnectedDevice.test.js +1 -1
- package/lib/esm/src/api/transport/model/TransportConnectedDevice.test.js.map +3 -3
- package/lib/esm/src/di.js +1 -1
- package/lib/esm/src/di.js.map +3 -3
- package/lib/esm/src/internal/device-session/data/ApduResponseConst.js +1 -1
- package/lib/esm/src/internal/device-session/data/ApduResponseConst.js.map +3 -3
- package/lib/esm/src/internal/device-session/data/DeviceSessionRefresherConst.js +1 -1
- package/lib/esm/src/internal/device-session/data/DeviceSessionRefresherConst.js.map +3 -3
- package/lib/esm/src/internal/device-session/model/DevicePinger.js +2 -0
- package/lib/esm/src/internal/device-session/model/DevicePinger.js.map +7 -0
- package/lib/esm/src/internal/device-session/model/DevicePinger.test.js +2 -0
- package/lib/esm/src/internal/device-session/model/DevicePinger.test.js.map +7 -0
- package/lib/esm/src/internal/device-session/model/DeviceSession.js +1 -1
- package/lib/esm/src/internal/device-session/model/DeviceSession.js.map +3 -3
- package/lib/esm/src/internal/device-session/model/DeviceSession.stub.js +1 -1
- package/lib/esm/src/internal/device-session/model/DeviceSession.stub.js.map +3 -3
- package/lib/esm/src/internal/device-session/model/DeviceSessionEventDispatcher.js +2 -0
- package/lib/esm/src/internal/device-session/model/DeviceSessionEventDispatcher.js.map +7 -0
- package/lib/esm/src/internal/device-session/model/DeviceSessionEventDispatcher.test.js +2 -0
- package/lib/esm/src/internal/device-session/model/DeviceSessionEventDispatcher.test.js.map +7 -0
- package/lib/esm/src/internal/device-session/model/DeviceSessionRefresher.js +1 -1
- package/lib/esm/src/internal/device-session/model/DeviceSessionRefresher.js.map +3 -3
- package/lib/esm/src/internal/device-session/model/DeviceSessionRefresher.test.js +1 -1
- package/lib/esm/src/internal/device-session/model/DeviceSessionRefresher.test.js.map +3 -3
- package/lib/esm/src/internal/device-session/model/DeviceSessionStateHandler.js +2 -0
- package/lib/esm/src/internal/device-session/model/DeviceSessionStateHandler.js.map +7 -0
- package/lib/esm/src/internal/device-session/model/DeviceSessionStateHandler.test.js +2 -0
- package/lib/esm/src/internal/device-session/model/DeviceSessionStateHandler.test.js.map +7 -0
- package/lib/esm/src/internal/device-session/model/Frame.js +1 -1
- package/lib/esm/src/internal/device-session/model/Frame.js.map +3 -3
- package/lib/esm/src/internal/device-session/service/DefaultApduSenderService.js +1 -1
- package/lib/esm/src/internal/device-session/service/DefaultApduSenderService.js.map +2 -2
- package/lib/esm/src/internal/device-session/service/DefaultDeviceSessionService.test.js +1 -1
- package/lib/esm/src/internal/device-session/service/DefaultDeviceSessionService.test.js.map +3 -3
- package/lib/esm/src/internal/device-session/service/MutexService.js +2 -0
- package/lib/esm/src/internal/device-session/service/MutexService.js.map +7 -0
- package/lib/esm/src/internal/device-session/service/MutexService.test.js +2 -0
- package/lib/esm/src/internal/device-session/service/MutexService.test.js.map +7 -0
- package/lib/esm/src/internal/device-session/service/RefresherService.js +1 -1
- package/lib/esm/src/internal/device-session/service/RefresherService.js.map +3 -3
- package/lib/esm/src/internal/device-session/service/RefresherService.test.js +1 -1
- package/lib/esm/src/internal/device-session/service/RefresherService.test.js.map +3 -3
- package/lib/esm/src/internal/device-session/use-case/CloseSessionsUseCase.js +1 -1
- package/lib/esm/src/internal/device-session/use-case/CloseSessionsUseCase.js.map +3 -3
- package/lib/esm/src/internal/device-session/use-case/CloseSessionsUseCase.test.js +1 -1
- package/lib/esm/src/internal/device-session/use-case/CloseSessionsUseCase.test.js.map +3 -3
- package/lib/esm/src/internal/device-session/use-case/GetDeviceSessionStateUseCase.test.js +1 -1
- package/lib/esm/src/internal/device-session/use-case/GetDeviceSessionStateUseCase.test.js.map +3 -3
- package/lib/esm/src/internal/device-session/utils/deviceSessionUtils.js +2 -0
- package/lib/esm/src/internal/device-session/utils/deviceSessionUtils.js.map +7 -0
- package/lib/esm/src/internal/discovery/use-case/ConnectUseCase.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/ConnectUseCase.js.map +3 -3
- package/lib/esm/src/internal/discovery/use-case/DisconnectUseCase.test.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/DisconnectUseCase.test.js.map +3 -3
- package/lib/esm/src/internal/discovery/use-case/GetConnectedDeviceUseCase.test.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/GetConnectedDeviceUseCase.test.js.map +3 -3
- package/lib/esm/src/internal/discovery/use-case/ListConnectedDevicesUseCase.test.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/ListConnectedDevicesUseCase.test.js.map +3 -3
- package/lib/esm/src/internal/discovery/use-case/ListenToAvailableDevicesUseCase.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/ListenToAvailableDevicesUseCase.js.map +2 -2
- package/lib/esm/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.js.map +3 -3
- package/lib/esm/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.test.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.test.js.map +3 -3
- package/lib/esm/src/internal/discovery/use-case/StartDiscoveringUseCase.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/StartDiscoveringUseCase.js.map +2 -2
- package/lib/esm/src/internal/discovery/use-case/StartDiscoveringUseCase.test.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/StartDiscoveringUseCase.test.js.map +2 -2
- package/lib/esm/src/internal/discovery/use-case/StopDiscoveringUseCase.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/StopDiscoveringUseCase.js.map +3 -3
- package/lib/esm/src/internal/discovery/use-case/StopDiscoveringUseCase.test.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/StopDiscoveringUseCase.test.js.map +3 -3
- package/lib/esm/src/internal/manager-api/data/AxiosManagerApiDataSource.js +1 -1
- package/lib/esm/src/internal/manager-api/data/AxiosManagerApiDataSource.js.map +3 -3
- package/lib/esm/src/internal/manager-api/data/AxiosManagerApiDataSource.test.js +1 -1
- package/lib/esm/src/internal/manager-api/data/AxiosManagerApiDataSource.test.js.map +3 -3
- package/lib/esm/src/internal/manager-api/data/ManagerApiDto.js +1 -1
- package/lib/esm/src/internal/manager-api/data/ManagerApiDto.js.map +1 -1
- package/lib/esm/src/internal/manager-api/data/__mocks__/AxiosManagerApiDataSource.js +1 -1
- package/lib/esm/src/internal/manager-api/data/__mocks__/AxiosManagerApiDataSource.js.map +2 -2
- package/lib/esm/src/internal/manager-api/di/managerApiModule.js +1 -1
- package/lib/esm/src/internal/manager-api/di/managerApiModule.js.map +3 -3
- package/lib/esm/src/internal/manager-api/di/managerApiModule.test.js +1 -1
- package/lib/esm/src/internal/manager-api/di/managerApiModule.test.js.map +2 -2
- package/lib/esm/src/internal/manager-api/di/managerApiTypes.js +1 -1
- package/lib/esm/src/internal/manager-api/di/managerApiTypes.js.map +2 -2
- package/lib/esm/src/internal/manager-api/model/Application.js +1 -1
- package/lib/esm/src/internal/manager-api/model/Application.js.map +1 -1
- package/lib/esm/src/internal/manager-api/model/Const.js +1 -1
- package/lib/esm/src/internal/manager-api/model/Const.js.map +3 -3
- package/lib/esm/src/internal/manager-api/model/Language.js +1 -0
- package/lib/esm/src/internal/manager-api/model/Language.js.map +7 -0
- package/lib/esm/src/internal/manager-api/service/DefaultManagerApiService.js +1 -1
- package/lib/esm/src/internal/manager-api/service/DefaultManagerApiService.js.map +3 -3
- package/lib/esm/src/internal/manager-api/service/DefaultManagerApiService.test.js +1 -1
- package/lib/esm/src/internal/manager-api/service/DefaultManagerApiService.test.js.map +3 -3
- package/lib/esm/src/internal/manager-api/use-case/SetProviderUseCase.js +2 -0
- package/lib/esm/src/internal/manager-api/use-case/SetProviderUseCase.js.map +7 -0
- package/lib/esm/src/internal/manager-api/use-case/SetProviderUseCase.test.js +2 -0
- package/lib/esm/src/internal/manager-api/use-case/SetProviderUseCase.test.js.map +7 -0
- package/lib/esm/src/internal/secure-channel/data/DefaultSecureChannelDataSource.test.js +1 -1
- package/lib/esm/src/internal/secure-channel/data/DefaultSecureChannelDataSource.test.js.map +2 -2
- package/lib/esm/src/internal/secure-channel/service/DefaultSecureChannelService.js +1 -1
- package/lib/esm/src/internal/secure-channel/service/DefaultSecureChannelService.js.map +3 -3
- package/lib/esm/src/internal/secure-channel/service/DefaultSecureChannelService.test.js +1 -1
- package/lib/esm/src/internal/secure-channel/service/DefaultSecureChannelService.test.js.map +3 -3
- package/lib/esm/src/internal/send/use-case/SendApduUseCase.js +1 -1
- package/lib/esm/src/internal/send/use-case/SendApduUseCase.js.map +3 -3
- package/lib/esm/src/internal/send/use-case/SendApduUseCase.test.js +1 -1
- package/lib/esm/src/internal/send/use-case/SendApduUseCase.test.js.map +3 -3
- package/lib/esm/src/internal/transport/di/transportModule.test.js +1 -1
- package/lib/esm/src/internal/transport/di/transportModule.test.js.map +2 -2
- package/lib/esm/src/internal/transport/service/DefaultTransportService.js +1 -1
- package/lib/esm/src/internal/transport/service/DefaultTransportService.js.map +3 -3
- package/lib/esm/src/internal/transport/service/__mocks__/DefaultTransportService.js +1 -1
- package/lib/esm/src/internal/transport/service/__mocks__/DefaultTransportService.js.map +2 -2
- package/lib/types/src/api/DeviceManagementKit.d.ts +16 -2
- package/lib/types/src/api/DeviceManagementKit.d.ts.map +1 -1
- package/lib/types/src/api/DeviceManagementKitBuilder.d.ts.map +1 -1
- package/lib/types/src/api/DmkConfig.d.ts +2 -0
- package/lib/types/src/api/DmkConfig.d.ts.map +1 -1
- package/lib/types/src/api/command/os/GetCustomImageSizeCommand.d.ts +16 -0
- package/lib/types/src/api/command/os/GetCustomImageSizeCommand.d.ts.map +1 -0
- package/lib/types/src/api/command/os/GetCustomImageSizeCommand.test.d.ts +2 -0
- package/lib/types/src/api/command/os/GetCustomImageSizeCommand.test.d.ts.map +1 -0
- package/lib/types/src/api/command/os/GetOsVersionCommand.d.ts +30 -2
- package/lib/types/src/api/command/os/GetOsVersionCommand.d.ts.map +1 -1
- package/lib/types/src/api/command/os/ListLanguagePackCommand.d.ts +24 -0
- package/lib/types/src/api/command/os/ListLanguagePackCommand.d.ts.map +1 -0
- package/lib/types/src/api/command/os/ListLanguagePackCommand.test.d.ts +2 -0
- package/lib/types/src/api/command/os/ListLanguagePackCommand.test.d.ts.map +1 -0
- package/lib/types/src/api/command/os/__mocks__/GetOsVersionCommand.d.ts.map +1 -1
- package/lib/types/src/api/command/use-case/SendCommandUseCase.d.ts +5 -1
- package/lib/types/src/api/command/use-case/SendCommandUseCase.d.ts.map +1 -1
- package/lib/types/src/api/command/utils/CommandUtils.d.ts +1 -0
- package/lib/types/src/api/command/utils/CommandUtils.d.ts.map +1 -1
- package/lib/types/src/api/device-action/DeviceAction.d.ts +3 -1
- package/lib/types/src/api/device-action/DeviceAction.d.ts.map +1 -1
- package/lib/types/src/api/device-action/__test-utils__/makeInternalApi.d.ts.map +1 -1
- package/lib/types/src/api/device-action/__test-utils__/setupTestMachine.d.ts +9 -0
- package/lib/types/src/api/device-action/__test-utils__/setupTestMachine.d.ts.map +1 -1
- package/lib/types/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction.d.ts.map +1 -1
- package/lib/types/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceActionTypes.d.ts +1 -0
- package/lib/types/src/api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceActionTypes.d.ts.map +1 -1
- package/lib/types/src/api/device-action/os/Errors.d.ts +10 -0
- package/lib/types/src/api/device-action/os/Errors.d.ts.map +1 -1
- package/lib/types/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.d.ts +58 -0
- package/lib/types/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.d.ts.map +1 -0
- package/lib/types/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.test.d.ts +2 -0
- package/lib/types/src/api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction.test.d.ts.map +1 -0
- package/lib/types/src/api/device-action/os/GetDeviceMetadata/types.d.ts +27 -0
- package/lib/types/src/api/device-action/os/GetDeviceMetadata/types.d.ts.map +1 -0
- package/lib/types/src/api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction.d.ts.map +1 -1
- package/lib/types/src/api/device-action/os/GoToDashboard/types.d.ts +3 -4
- package/lib/types/src/api/device-action/os/GoToDashboard/types.d.ts.map +1 -1
- package/lib/types/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.d.ts +40 -0
- package/lib/types/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.d.ts.map +1 -0
- package/lib/types/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.test.d.ts +2 -0
- package/lib/types/src/api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction.test.d.ts.map +1 -0
- package/lib/types/src/api/device-action/os/InstallOrUpdateApps/types.d.ts +64 -0
- package/lib/types/src/api/device-action/os/InstallOrUpdateApps/types.d.ts.map +1 -0
- package/lib/types/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.d.ts +15 -0
- package/lib/types/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.d.ts.map +1 -0
- package/lib/types/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.test.d.ts +2 -0
- package/lib/types/src/api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction.test.d.ts.map +1 -0
- package/lib/types/src/api/device-action/os/OpenAppWithDependencies/types.d.ts +25 -0
- package/lib/types/src/api/device-action/os/OpenAppWithDependencies/types.d.ts.map +1 -0
- package/lib/types/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction.d.ts.map +1 -1
- package/lib/types/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceActionTypes.d.ts +1 -0
- package/lib/types/src/api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceActionTypes.d.ts.map +1 -1
- package/lib/types/src/api/device-action/task/BuildAppsInstallPlanTask.d.ts +30 -0
- package/lib/types/src/api/device-action/task/BuildAppsInstallPlanTask.d.ts.map +1 -0
- package/lib/types/src/api/device-action/task/BuildAppsInstallPlanTask.test.d.ts +2 -0
- package/lib/types/src/api/device-action/task/BuildAppsInstallPlanTask.test.d.ts.map +1 -0
- package/lib/types/src/api/device-action/task/GetApplicationsMetadataTask.d.ts +31 -0
- package/lib/types/src/api/device-action/task/GetApplicationsMetadataTask.d.ts.map +1 -0
- package/lib/types/src/api/device-action/task/GetApplicationsMetadataTask.test.d.ts +2 -0
- package/lib/types/src/api/device-action/task/GetApplicationsMetadataTask.test.d.ts.map +1 -0
- package/lib/types/src/api/device-action/task/GetFirmwareMetadataTask.d.ts +18 -0
- package/lib/types/src/api/device-action/task/GetFirmwareMetadataTask.d.ts.map +1 -0
- package/lib/types/src/api/device-action/task/GetFirmwareMetadataTask.test.d.ts +2 -0
- package/lib/types/src/api/device-action/task/GetFirmwareMetadataTask.test.d.ts.map +1 -0
- package/lib/types/src/api/device-action/task/PredictOutOfMemoryTask.d.ts +21 -0
- package/lib/types/src/api/device-action/task/PredictOutOfMemoryTask.d.ts.map +1 -0
- package/lib/types/src/api/device-action/task/PredictOutOfMemoryTask.test.d.ts +2 -0
- package/lib/types/src/api/device-action/task/PredictOutOfMemoryTask.test.d.ts.map +1 -0
- package/lib/types/src/api/device-model/data/StaticDeviceModelDataSource.d.ts.map +1 -1
- package/lib/types/src/api/device-model/model/DeviceModel.d.ts +2 -0
- package/lib/types/src/api/device-model/model/DeviceModel.d.ts.map +1 -1
- package/lib/types/src/api/device-model/model/DeviceModel.stub.d.ts.map +1 -1
- package/lib/types/src/api/device-session/DeviceSessionState.d.ts +93 -0
- package/lib/types/src/api/device-session/DeviceSessionState.d.ts.map +1 -1
- package/lib/types/src/api/index.d.ts +8 -1
- package/lib/types/src/api/index.d.ts.map +1 -1
- package/lib/types/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.d.ts +3 -3
- package/lib/types/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.d.ts.map +1 -1
- package/lib/types/src/api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction.test.d.ts +1 -0
- package/lib/types/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.d.ts +8 -0
- package/lib/types/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.d.ts.map +1 -0
- package/lib/types/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.test.d.ts +2 -0
- package/lib/types/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.test.d.ts.map +1 -0
- package/lib/types/src/api/secure-channel/device-action/InstallApp/types.d.ts +44 -0
- package/lib/types/src/api/secure-channel/device-action/InstallApp/types.d.ts.map +1 -0
- package/lib/types/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.d.ts +3 -3
- package/lib/types/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.d.ts.map +1 -1
- package/lib/types/src/api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction.test.d.ts +1 -0
- package/lib/types/src/api/secure-channel/device-action/ListInstalledApps/types.d.ts +1 -3
- package/lib/types/src/api/secure-channel/device-action/ListInstalledApps/types.d.ts.map +1 -1
- package/lib/types/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.d.ts +8 -0
- package/lib/types/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.d.ts.map +1 -0
- package/lib/types/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.test.d.ts +2 -0
- package/lib/types/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.test.d.ts.map +1 -0
- package/lib/types/src/api/secure-channel/device-action/UninstallApp/types.d.ts +41 -0
- package/lib/types/src/api/secure-channel/device-action/UninstallApp/types.d.ts.map +1 -0
- package/lib/types/src/api/transport/model/DeviceApduSender.d.ts +17 -0
- package/lib/types/src/api/transport/model/DeviceApduSender.d.ts.map +1 -0
- package/lib/types/src/api/transport/model/DeviceConnection.d.ts +2 -1
- package/lib/types/src/api/transport/model/DeviceConnection.d.ts.map +1 -1
- package/lib/types/src/api/transport/model/DeviceConnectionStateMachine.d.ts +62 -0
- package/lib/types/src/api/transport/model/DeviceConnectionStateMachine.d.ts.map +1 -0
- package/lib/types/src/api/transport/model/DiscoveredDevice.d.ts +1 -1
- package/lib/types/src/api/transport/model/DiscoveredDevice.d.ts.map +1 -1
- package/lib/types/src/api/transport/model/Errors.d.ts +22 -3
- package/lib/types/src/api/transport/model/Errors.d.ts.map +1 -1
- package/lib/types/src/api/transport/model/Transport.d.ts +1 -1
- package/lib/types/src/api/transport/model/Transport.d.ts.map +1 -1
- package/lib/types/src/api/types.d.ts +8 -2
- package/lib/types/src/api/types.d.ts.map +1 -1
- package/lib/types/src/di.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/data/ApduResponseConst.d.ts +1 -0
- package/lib/types/src/internal/device-session/data/ApduResponseConst.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/data/DeviceSessionRefresherConst.d.ts +6 -1
- package/lib/types/src/internal/device-session/data/DeviceSessionRefresherConst.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/model/DevicePinger.d.ts +18 -0
- package/lib/types/src/internal/device-session/model/DevicePinger.d.ts.map +1 -0
- package/lib/types/src/internal/device-session/model/DevicePinger.test.d.ts +2 -0
- package/lib/types/src/internal/device-session/model/DevicePinger.test.d.ts.map +1 -0
- package/lib/types/src/internal/device-session/model/DeviceSession.d.ts +21 -12
- package/lib/types/src/internal/device-session/model/DeviceSession.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/model/DeviceSession.stub.d.ts +2 -2
- package/lib/types/src/internal/device-session/model/DeviceSession.stub.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/model/DeviceSessionEventDispatcher.d.ts +35 -0
- package/lib/types/src/internal/device-session/model/DeviceSessionEventDispatcher.d.ts.map +1 -0
- package/lib/types/src/internal/device-session/model/DeviceSessionEventDispatcher.test.d.ts +2 -0
- package/lib/types/src/internal/device-session/model/DeviceSessionEventDispatcher.test.d.ts.map +1 -0
- package/lib/types/src/internal/device-session/model/DeviceSessionRefresher.d.ts +17 -79
- package/lib/types/src/internal/device-session/model/DeviceSessionRefresher.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/model/DeviceSessionStateHandler.d.ts +20 -0
- package/lib/types/src/internal/device-session/model/DeviceSessionStateHandler.d.ts.map +1 -0
- package/lib/types/src/internal/device-session/model/DeviceSessionStateHandler.test.d.ts +2 -0
- package/lib/types/src/internal/device-session/model/DeviceSessionStateHandler.test.d.ts.map +1 -0
- package/lib/types/src/internal/device-session/model/Frame.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/service/MutexService.d.ts +6 -0
- package/lib/types/src/internal/device-session/service/MutexService.d.ts.map +1 -0
- package/lib/types/src/internal/device-session/service/MutexService.test.d.ts +2 -0
- package/lib/types/src/internal/device-session/service/MutexService.test.d.ts.map +1 -0
- package/lib/types/src/internal/device-session/service/RefresherService.d.ts +7 -2
- package/lib/types/src/internal/device-session/service/RefresherService.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/use-case/CloseSessionsUseCase.d.ts +3 -1
- package/lib/types/src/internal/device-session/use-case/CloseSessionsUseCase.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/utils/deviceSessionUtils.d.ts +3 -0
- package/lib/types/src/internal/device-session/utils/deviceSessionUtils.d.ts.map +1 -0
- package/lib/types/src/internal/discovery/use-case/ConnectUseCase.d.ts +8 -1
- package/lib/types/src/internal/discovery/use-case/ConnectUseCase.d.ts.map +1 -1
- package/lib/types/src/internal/discovery/use-case/ListenToAvailableDevicesUseCase.d.ts +1 -1
- package/lib/types/src/internal/discovery/use-case/ListenToAvailableDevicesUseCase.d.ts.map +1 -1
- package/lib/types/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.d.ts +1 -1
- package/lib/types/src/internal/discovery/use-case/ListenToConnectedDeviceUseCase.d.ts.map +1 -1
- package/lib/types/src/internal/discovery/use-case/StartDiscoveringUseCase.d.ts +1 -1
- package/lib/types/src/internal/discovery/use-case/StartDiscoveringUseCase.d.ts.map +1 -1
- package/lib/types/src/internal/discovery/use-case/StopDiscoveringUseCase.d.ts +4 -2
- package/lib/types/src/internal/discovery/use-case/StopDiscoveringUseCase.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/data/AxiosManagerApiDataSource.d.ts +24 -5
- package/lib/types/src/internal/manager-api/data/AxiosManagerApiDataSource.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/data/ManagerApiDataSource.d.ts +51 -6
- package/lib/types/src/internal/manager-api/data/ManagerApiDataSource.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/data/ManagerApiDto.d.ts +104 -18
- package/lib/types/src/internal/manager-api/data/ManagerApiDto.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/data/__mocks__/AxiosManagerApiDataSource.d.ts +7 -0
- package/lib/types/src/internal/manager-api/data/__mocks__/AxiosManagerApiDataSource.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/di/managerApiModule.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/di/managerApiTypes.d.ts +1 -0
- package/lib/types/src/internal/manager-api/di/managerApiTypes.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/model/Application.d.ts +12 -12
- package/lib/types/src/internal/manager-api/model/Application.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/model/Const.d.ts +2 -0
- package/lib/types/src/internal/manager-api/model/Const.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/model/Firmware.d.ts +17 -3
- package/lib/types/src/internal/manager-api/model/Firmware.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/model/Language.d.ts +12 -0
- package/lib/types/src/internal/manager-api/model/Language.d.ts.map +1 -0
- package/lib/types/src/internal/manager-api/model/Params.d.ts +20 -6
- package/lib/types/src/internal/manager-api/model/Params.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/service/DefaultManagerApiService.d.ts +9 -3
- package/lib/types/src/internal/manager-api/service/DefaultManagerApiService.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/service/ManagerApiService.d.ts +42 -7
- package/lib/types/src/internal/manager-api/service/ManagerApiService.d.ts.map +1 -1
- package/lib/types/src/internal/manager-api/use-case/SetProviderUseCase.d.ts +13 -0
- package/lib/types/src/internal/manager-api/use-case/SetProviderUseCase.d.ts.map +1 -0
- package/lib/types/src/internal/manager-api/use-case/SetProviderUseCase.test.d.ts +2 -0
- package/lib/types/src/internal/manager-api/use-case/SetProviderUseCase.test.d.ts.map +1 -0
- package/lib/types/src/internal/secure-channel/model/Params.d.ts +3 -5
- package/lib/types/src/internal/secure-channel/model/Params.d.ts.map +1 -1
- package/lib/types/src/internal/secure-channel/service/DefaultSecureChannelService.d.ts +7 -7
- package/lib/types/src/internal/secure-channel/service/DefaultSecureChannelService.d.ts.map +1 -1
- package/lib/types/src/internal/secure-channel/service/SecureChannelService.d.ts +41 -7
- package/lib/types/src/internal/secure-channel/service/SecureChannelService.d.ts.map +1 -1
- package/lib/types/src/internal/send/use-case/SendApduUseCase.d.ts +5 -1
- package/lib/types/src/internal/send/use-case/SendApduUseCase.d.ts.map +1 -1
- package/lib/types/src/internal/transport/service/DefaultTransportService.d.ts +2 -0
- package/lib/types/src/internal/transport/service/DefaultTransportService.d.ts.map +1 -1
- package/lib/types/src/internal/transport/service/TransportService.d.ts +3 -1
- package/lib/types/src/internal/transport/service/TransportService.d.ts.map +1 -1
- package/lib/types/src/internal/transport/service/__mocks__/DefaultTransportService.d.ts +1 -0
- package/lib/types/src/internal/transport/service/__mocks__/DefaultTransportService.d.ts.map +1 -1
- package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
- package/package.json +15 -15
@@ -1,9 +1,23 @@
|
|
1
|
-
export type
|
1
|
+
export type OsuFirmware = {
|
2
2
|
id: number;
|
3
3
|
perso: string;
|
4
|
-
version: string;
|
5
4
|
firmware: string;
|
6
5
|
firmwareKey: string;
|
7
|
-
hash: string;
|
6
|
+
hash: string | null;
|
7
|
+
nextFinalFirmware: number;
|
8
|
+
};
|
9
|
+
export type FinalFirmware = {
|
10
|
+
id: number;
|
11
|
+
version: string;
|
12
|
+
perso: string;
|
13
|
+
firmware: string | null;
|
14
|
+
firmwareKey: string | null;
|
15
|
+
hash: string | null;
|
16
|
+
bytes: number | null;
|
17
|
+
mcuVersions: number[];
|
18
|
+
};
|
19
|
+
export type McuFirmware = {
|
20
|
+
id: number;
|
21
|
+
name: string;
|
8
22
|
};
|
9
23
|
//# sourceMappingURL=Firmware.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Firmware.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/model/Firmware.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"Firmware.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/model/Firmware.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export type LanguagePackage = {
|
2
|
+
language: string;
|
3
|
+
languagePackageVersionId: number;
|
4
|
+
version: string;
|
5
|
+
languagePackageId: number;
|
6
|
+
apduInstallUrl: string;
|
7
|
+
apduUninstallUrl: string;
|
8
|
+
bytes: number;
|
9
|
+
dateCreation: string;
|
10
|
+
dateLastModified: string;
|
11
|
+
};
|
12
|
+
//# sourceMappingURL=Language.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Language.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/model/Language.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,wBAAwB,EAAE,MAAM,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
@@ -2,12 +2,10 @@
|
|
2
2
|
* Parameters required to get the list of applications.
|
3
3
|
*
|
4
4
|
* @property targetId - The unique identifier of the target device, can be got from the response of the GetOsVersionCommand.
|
5
|
-
* @property provider - The provider identifier.
|
6
5
|
* @property firmwareVersionName - The firmware version of the device, can be obtained from the response of the GetOsVersionCommand, property name `seVersion`.
|
7
6
|
*/
|
8
7
|
export type GetAppListParams = {
|
9
8
|
targetId: string;
|
10
|
-
provider: number;
|
11
9
|
firmwareVersionName: string;
|
12
10
|
};
|
13
11
|
/**
|
@@ -22,22 +20,38 @@ export type GetAppByHashParams = {
|
|
22
20
|
* Parameters required to get the device version.
|
23
21
|
*
|
24
22
|
* @property targetId - The unique identifier of the target device.
|
25
|
-
* @property provider - The provider identifier.
|
26
23
|
*/
|
27
24
|
export type GetDeviceVersionParams = {
|
28
25
|
targetId: string;
|
29
|
-
provider: number;
|
30
26
|
};
|
31
27
|
/**
|
32
28
|
* Parameters required to get the firmware version of a device.
|
33
29
|
*
|
34
30
|
* @property version - The version of the firmware, can be got from the response of the getDeviceVersion HTTP request.
|
35
31
|
* @property deviceId - The unique identifier of the device, can be got from the GetOsVersionCommand response.
|
36
|
-
* @property provider - The identifier of the firmware provider.
|
37
32
|
*/
|
38
33
|
export type GetFirmwareVersionParams = {
|
39
34
|
version: string;
|
40
35
|
deviceId: number;
|
41
|
-
|
36
|
+
};
|
37
|
+
/**
|
38
|
+
* Parameters required to get the latest firmware available of a device.
|
39
|
+
*
|
40
|
+
* @property currentFinalFirmwareId - The ID of the current firmware. Can be retrieved through getFirmwareVersion.
|
41
|
+
* @property deviceId - The unique identifier of the device, can be got from the GetOsVersionCommand response.
|
42
|
+
*/
|
43
|
+
export type GetLatestFirmwareVersionParams = {
|
44
|
+
currentFinalFirmwareId: number;
|
45
|
+
deviceId: number;
|
46
|
+
};
|
47
|
+
/**
|
48
|
+
* Parameters required to get the available language packages for a device.
|
49
|
+
*
|
50
|
+
* @property deviceId - The unique identifier of the device, can be got from the GetOsVersionCommand response.
|
51
|
+
* @property currentFinalFirmwareId - The ID of the current firmware. Can be retrieved through getFirmwareVersion.
|
52
|
+
*/
|
53
|
+
export type GetLanguagePackagesParams = {
|
54
|
+
deviceId: number;
|
55
|
+
currentFinalFirmwareId: number;
|
42
56
|
};
|
43
57
|
//# sourceMappingURL=Params.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/model/Params.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/model/Params.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,sBAAsB,EAAE,MAAM,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,sBAAsB,EAAE,MAAM,CAAC;CAChC,CAAC"}
|
@@ -4,13 +4,19 @@ import { type ManagerApiDataSource } from "../../manager-api/data/ManagerApiData
|
|
4
4
|
import { type Application } from "../../manager-api/model/Application";
|
5
5
|
import { type DeviceVersion } from "../../manager-api/model/Device";
|
6
6
|
import { HttpFetchApiError } from "../../manager-api/model/Errors";
|
7
|
+
import { type FinalFirmware, type McuFirmware, type OsuFirmware } from "../../manager-api/model/Firmware";
|
7
8
|
import { type ManagerApiService } from "./ManagerApiService";
|
8
9
|
export declare class DefaultManagerApiService implements ManagerApiService {
|
9
10
|
private readonly dataSource;
|
10
11
|
constructor(dataSource: ManagerApiDataSource);
|
11
|
-
getAppList(deviceInfo: GetOsVersionResponse
|
12
|
-
getDeviceVersion(deviceInfo: GetOsVersionResponse
|
13
|
-
getFirmwareVersion(deviceInfo: GetOsVersionResponse, deviceVersion: DeviceVersion
|
12
|
+
getAppList(deviceInfo: GetOsVersionResponse): EitherAsync<HttpFetchApiError, Array<Application>>;
|
13
|
+
getDeviceVersion(deviceInfo: GetOsVersionResponse): EitherAsync<HttpFetchApiError, DeviceVersion>;
|
14
|
+
getFirmwareVersion(deviceInfo: GetOsVersionResponse, deviceVersion: DeviceVersion): EitherAsync<HttpFetchApiError, FinalFirmware>;
|
15
|
+
getOsuFirmwareVersion(deviceInfo: GetOsVersionResponse, deviceVersion: DeviceVersion): EitherAsync<HttpFetchApiError, OsuFirmware>;
|
16
|
+
getLatestFirmwareVersion(currentFirmware: FinalFirmware, deviceVersion: DeviceVersion): EitherAsync<HttpFetchApiError, OsuFirmware>;
|
17
|
+
getNextFirmwareVersion(osuFirmware: OsuFirmware): EitherAsync<HttpFetchApiError, FinalFirmware>;
|
18
|
+
getLanguagePackages(deviceVersion: DeviceVersion, currentFirmware: FinalFirmware): EitherAsync<HttpFetchApiError, import("../model/Language").LanguagePackage[]>;
|
19
|
+
getMcuList(): EitherAsync<HttpFetchApiError, Array<McuFirmware>>;
|
14
20
|
getAppsByHash(appHashes: Array<string>): EitherAsync<HttpFetchApiError, (Application | null)[]>;
|
15
21
|
}
|
16
22
|
//# sourceMappingURL=DefaultManagerApiService.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultManagerApiService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/service/DefaultManagerApiService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAE5F,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
1
|
+
{"version":3,"file":"DefaultManagerApiService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/service/DefaultManagerApiService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAE5F,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAU9C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,qBACa,wBAAyB,YAAW,iBAAiB;IAG9D,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAV,UAAU,EAAE,oBAAoB;IAGnD,UAAU,CACR,UAAU,EAAE,oBAAoB,GAC/B,WAAW,CAAC,iBAAiB,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAQrD,gBAAgB,CAAC,UAAU,EAAE,oBAAoB;IAOjD,kBAAkB,CAChB,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,aAAa;IAS9B,qBAAqB,CACnB,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,aAAa;IAS9B,wBAAwB,CACtB,eAAe,EAAE,aAAa,EAC9B,aAAa,EAAE,aAAa;IAS9B,sBAAsB,CAAC,WAAW,EAAE,WAAW;IAM/C,mBAAmB,CACjB,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,aAAa;IAShC,UAAU,IAAI,WAAW,CAAC,iBAAiB,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAIhE,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;CAuBvC"}
|
@@ -3,7 +3,8 @@ import { type GetOsVersionResponse } from "../../../api/command/os/GetOsVersionC
|
|
3
3
|
import { type Application } from "../../manager-api/model/Application";
|
4
4
|
import { type DeviceVersion } from "../../manager-api/model/Device";
|
5
5
|
import { type HttpFetchApiError } from "../../manager-api/model/Errors";
|
6
|
-
import { type FinalFirmware } from "../../manager-api/model/Firmware";
|
6
|
+
import { type FinalFirmware, type McuFirmware, type OsuFirmware } from "../../manager-api/model/Firmware";
|
7
|
+
import { type LanguagePackage } from "../../manager-api/model/Language";
|
7
8
|
/**
|
8
9
|
* Interface representing the Manager API service.
|
9
10
|
*/
|
@@ -12,10 +13,9 @@ export interface ManagerApiService {
|
|
12
13
|
* Retrieves the list of applications for a given device.
|
13
14
|
*
|
14
15
|
* @param deviceInfo - Response of the GetOsVersionCommand.
|
15
|
-
* @param provider - The provider identifier.
|
16
16
|
* @returns An `EitherAsync` containing either an `HttpFetchApiError` or an array of `Application` objects.
|
17
17
|
*/
|
18
|
-
getAppList(deviceInfo: GetOsVersionResponse
|
18
|
+
getAppList(deviceInfo: GetOsVersionResponse): EitherAsync<HttpFetchApiError, Array<Application>>;
|
19
19
|
/**
|
20
20
|
* Retrieves applications by their hash values.
|
21
21
|
*
|
@@ -27,18 +27,53 @@ export interface ManagerApiService {
|
|
27
27
|
* Retrieves the device version for a given device.
|
28
28
|
*
|
29
29
|
* @param deviceInfo - Response of the GetOsVersionCommand.
|
30
|
-
* @param provider - The provider identifier.
|
31
30
|
* @returns An `EitherAsync` containing either an `HttpFetchApiError` or a `DeviceVersion` object.
|
32
31
|
*/
|
33
|
-
getDeviceVersion(deviceInfo: GetOsVersionResponse
|
32
|
+
getDeviceVersion(deviceInfo: GetOsVersionResponse): EitherAsync<HttpFetchApiError, DeviceVersion>;
|
34
33
|
/**
|
35
34
|
* Retrieves the firmware version for a given device.
|
36
35
|
*
|
37
36
|
* @param deviceInfo - Response of the GetOsVersionCommand.
|
38
37
|
* @param deviceVersion - Response of the GetDeviceVersion HTTP request.
|
39
|
-
* @param provider - The provider identifier.
|
40
38
|
* @returns An `EitherAsync` containing either an `HttpFetchApiError` or a `FinalFirmware` object.
|
41
39
|
*/
|
42
|
-
getFirmwareVersion(deviceInfo: GetOsVersionResponse, deviceVersion: DeviceVersion
|
40
|
+
getFirmwareVersion(deviceInfo: GetOsVersionResponse, deviceVersion: DeviceVersion): EitherAsync<HttpFetchApiError, FinalFirmware>;
|
41
|
+
/**
|
42
|
+
* Retrieves an OSU firmware version for a given device.
|
43
|
+
*
|
44
|
+
* @param deviceInfo - Response of the GetOsVersionCommand.
|
45
|
+
* @param deviceVersion - Response of the GetDeviceVersion HTTP request.
|
46
|
+
* @returns An `EitherAsync` containing either an `HttpFetchApiError` or a `FinalFirmware` object.
|
47
|
+
*/
|
48
|
+
getOsuFirmwareVersion(deviceInfo: GetOsVersionResponse, deviceVersion: DeviceVersion): EitherAsync<HttpFetchApiError, OsuFirmware>;
|
49
|
+
/**
|
50
|
+
* Retrieves the latest firmware available for a given device.
|
51
|
+
*
|
52
|
+
* @param currentFirmware - Current firmware obtained from getFirmwareVersion.
|
53
|
+
* @param deviceVersion - Response of the GetDeviceVersion HTTP request.
|
54
|
+
* @returns An `EitherAsync` containing either an `HttpFetchApiError` or a `OsuFirmware` object.
|
55
|
+
*/
|
56
|
+
getLatestFirmwareVersion(currentFirmware: FinalFirmware, deviceVersion: DeviceVersion): EitherAsync<HttpFetchApiError, OsuFirmware>;
|
57
|
+
/**
|
58
|
+
* Retrieves the next final firmware following an OSU.
|
59
|
+
*
|
60
|
+
* @param osuFirmware - OSU firmware from which the next firmware should be fetched.
|
61
|
+
* @returns An `EitherAsync` containing either an `HttpFetchApiError` or a `FinalFirmware` object.
|
62
|
+
*/
|
63
|
+
getNextFirmwareVersion(osuFirmware: OsuFirmware): EitherAsync<HttpFetchApiError, FinalFirmware>;
|
64
|
+
/**
|
65
|
+
* Retrieves the available language packages for a device.
|
66
|
+
*
|
67
|
+
* @param deviceVersion - Response of the GetDeviceVersion HTTP request.
|
68
|
+
* @param currentFirmware - Current firmware obtained from getFirmwareVersion.
|
69
|
+
* @returns An `EitherAsync` containing either an `HttpFetchApiError` or the list of languages.
|
70
|
+
*/
|
71
|
+
getLanguagePackages(deviceVersion: DeviceVersion, currentFirmware: FinalFirmware): EitherAsync<HttpFetchApiError, Array<LanguagePackage>>;
|
72
|
+
/**
|
73
|
+
* Retrieves the list of available MCU firmwares.
|
74
|
+
*
|
75
|
+
* @returns An `EitherAsync` containing either an `HttpFetchApiError` or an array of `McuFirmware` objects.
|
76
|
+
*/
|
77
|
+
getMcuList(): EitherAsync<HttpFetchApiError, Array<McuFirmware>>;
|
43
78
|
}
|
44
79
|
//# sourceMappingURL=ManagerApiService.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ManagerApiService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/service/ManagerApiService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,
|
1
|
+
{"version":3,"file":"ManagerApiService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/service/ManagerApiService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,UAAU,CACR,UAAU,EAAE,oBAAoB,GAC/B,WAAW,CAAC,iBAAiB,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;IAEtD;;;;;OAKG;IACH,aAAa,CACX,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GACvB,WAAW,CAAC,iBAAiB,EAAE,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC;IAE7D;;;;;OAKG;IACH,gBAAgB,CACd,UAAU,EAAE,oBAAoB,GAC/B,WAAW,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAEjD;;;;;;OAMG;IACH,kBAAkB,CAChB,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,aAAa,GAC3B,WAAW,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAEjD;;;;;;OAMG;IACH,qBAAqB,CACnB,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,aAAa,GAC3B,WAAW,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;IAE/C;;;;;;OAMG;IACH,wBAAwB,CACtB,eAAe,EAAE,aAAa,EAC9B,aAAa,EAAE,aAAa,GAC3B,WAAW,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,sBAAsB,CACpB,WAAW,EAAE,WAAW,GACvB,WAAW,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAEjD;;;;;;OAMG;IACH,mBAAmB,CACjB,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,aAAa,GAC7B,WAAW,CAAC,iBAAiB,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;IAE1D;;;;OAIG;IACH,UAAU,IAAI,WAAW,CAAC,iBAAiB,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;CAClE"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { DeviceSessionService } from "../../device-session/service/DeviceSessionService";
|
2
|
+
import { type ManagerApiDataSource } from "../../manager-api/data/ManagerApiDataSource";
|
3
|
+
/**
|
4
|
+
* Use case to set the provider for the Manager API, this is used to set the
|
5
|
+
* provider for the Manager API data source at runtime.
|
6
|
+
*/
|
7
|
+
export declare class SetProviderUseCase {
|
8
|
+
private readonly sessionService;
|
9
|
+
private readonly managerApiDataSource;
|
10
|
+
constructor(sessionService: DeviceSessionService, managerApiDataSource: ManagerApiDataSource);
|
11
|
+
execute(provider: number): void;
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=SetProviderUseCase.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SetProviderUseCase.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/use-case/SetProviderUseCase.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAG5F;;;GAGG;AACH,qBACa,kBAAkB;IAG3B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,oBAAoB;gBAFpB,cAAc,EAAE,oBAAoB,EAEpC,oBAAoB,EAAE,oBAAoB;IAG7D,OAAO,CAAC,QAAQ,EAAE,MAAM;CAkBzB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SetProviderUseCase.test.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/use-case/SetProviderUseCase.test.ts"],"names":[],"mappings":""}
|
@@ -29,11 +29,9 @@ type FirmwareSubParams = {
|
|
29
29
|
/**
|
30
30
|
* Parameters specific to app operations.
|
31
31
|
*
|
32
|
-
* @property deleteKey - The key used to delete the app.
|
33
32
|
* @property hash - The hash of the app.
|
34
33
|
*/
|
35
|
-
type
|
36
|
-
deleteKey: string;
|
34
|
+
type AppHash = {
|
37
35
|
hash: string;
|
38
36
|
};
|
39
37
|
/**
|
@@ -70,7 +68,7 @@ export type UpdateFirmwareParams = BaseParams & FirmwareSubParams;
|
|
70
68
|
* @property deleteKey - The key used to delete the app.
|
71
69
|
* @property hash - The hash of the app.
|
72
70
|
*/
|
73
|
-
export type InstallAppsParams = BaseParams & FirmwareSubParams &
|
71
|
+
export type InstallAppsParams = BaseParams & FirmwareSubParams & AppHash;
|
74
72
|
/**
|
75
73
|
* Parameters for uninstalling apps.
|
76
74
|
*
|
@@ -81,6 +79,6 @@ export type InstallAppsParams = BaseParams & FirmwareSubParams & AppSubParams;
|
|
81
79
|
* @property deleteKey - The key used to delete the app.
|
82
80
|
* @property hash - The hash of the app.
|
83
81
|
*/
|
84
|
-
export type UninstallAppsParams = BaseParams & FirmwareSubParams &
|
82
|
+
export type UninstallAppsParams = BaseParams & FirmwareSubParams & AppHash;
|
85
83
|
export {};
|
86
84
|
//# sourceMappingURL=Params.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/secure-channel/model/Params.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,KAAK,YAAY,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAExC;;;;;GAKG;AACH,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/secure-channel/model/Params.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,KAAK,YAAY,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAExC;;;;;GAKG;AACH,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;GAIG;AACH,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC;AAEjD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,YAAY,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,MAAM,oBAAoB,GAAG,UAAU,GAAG,iBAAiB,CAAC;AAElE;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAAC;AAEzE;;;;;;;;;GASG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAAC"}
|
@@ -1,19 +1,19 @@
|
|
1
1
|
import WebSocket from "isomorphic-ws";
|
2
2
|
import { Either } from "purify-ts";
|
3
|
-
import { GetOsVersionResponse } from "../../../api/index";
|
4
|
-
import { Application } from "../../manager-api/model/Application";
|
5
|
-
import { FinalFirmware } from "../../manager-api/model/Firmware";
|
3
|
+
import { type GetOsVersionResponse } from "../../../api/index";
|
4
|
+
import { type Application } from "../../manager-api/model/Application";
|
5
|
+
import { type FinalFirmware, type OsuFirmware } from "../../manager-api/model/Firmware";
|
6
6
|
import { type SecureChannelDataSource } from "../../secure-channel/data/SecureChannelDataSource";
|
7
7
|
import { WebSocketConnectionError } from "../../secure-channel/model/Errors";
|
8
|
-
import { SecureChannelService } from "./SecureChannelService";
|
8
|
+
import { type SecureChannelService } from "./SecureChannelService";
|
9
9
|
export declare class DefaultSecureChannelService implements SecureChannelService {
|
10
10
|
private readonly dataSource;
|
11
11
|
constructor(dataSource: SecureChannelDataSource);
|
12
12
|
genuineCheck(deviceInfo: GetOsVersionResponse, finalFirmware: FinalFirmware): Either<WebSocketConnectionError, WebSocket>;
|
13
|
-
installApp(deviceInfo: GetOsVersionResponse, app: Application): Either<WebSocketConnectionError, WebSocket>;
|
13
|
+
installApp(deviceInfo: GetOsVersionResponse, app: Pick<Application, "perso" | "firmware" | "firmwareKey" | "hash">): Either<WebSocketConnectionError, WebSocket>;
|
14
14
|
listInstalledApps(deviceInfo: GetOsVersionResponse, finalFirmware: FinalFirmware): Either<WebSocketConnectionError, WebSocket>;
|
15
|
-
uninstallApp(deviceInfo: GetOsVersionResponse, app: Application): Either<WebSocketConnectionError, WebSocket>;
|
16
|
-
updateFirmware(deviceInfo: GetOsVersionResponse,
|
15
|
+
uninstallApp(deviceInfo: GetOsVersionResponse, app: Pick<Application, "perso" | "delete" | "deleteKey" | "hash">): Either<WebSocketConnectionError, WebSocket>;
|
16
|
+
updateFirmware(deviceInfo: GetOsVersionResponse, osuFirmware: OsuFirmware): Either<WebSocketConnectionError, WebSocket>;
|
17
17
|
updateMcu(deviceInfo: GetOsVersionResponse, param: {
|
18
18
|
version: string;
|
19
19
|
}): Either<WebSocketConnectionError, WebSocket>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultSecureChannelService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/secure-channel/service/DefaultSecureChannelService.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;
|
1
|
+
{"version":3,"file":"DefaultSecureChannelService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/secure-channel/service/DefaultSecureChannelService.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,uDAAuD,CAAC;AAErG,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAUjF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,qBACa,2BAA4B,YAAW,oBAAoB;IAGpE,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAV,UAAU,EAAE,uBAAuB;IAGtD,YAAY,CACV,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,aAAa,GAC3B,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC;IAQ9C,UAAU,CACR,UAAU,EAAE,oBAAoB,EAChC,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,MAAM,CAAC,GACpE,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC;IAY9C,iBAAiB,CACf,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,aAAa,GAC3B,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC;IAQ9C,YAAY,CACV,UAAU,EAAE,oBAAoB,EAChC,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC,GAChE,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC;IAY9C,cAAc,CACZ,UAAU,EAAE,oBAAoB,EAChC,WAAW,EAAE,WAAW,GACvB,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC;IAU9C,SAAS,CACP,UAAU,EAAE,oBAAoB,EAChC,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GACzB,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC;CAO/C"}
|
@@ -2,19 +2,53 @@ import type WebSocket from "isomorphic-ws";
|
|
2
2
|
import { type Either } from "purify-ts";
|
3
3
|
import { type GetOsVersionResponse } from "../../../api/index";
|
4
4
|
import { type Application } from "../../manager-api/model/Application";
|
5
|
-
import { type FinalFirmware } from "../../manager-api/model/Firmware";
|
5
|
+
import { type FinalFirmware, type OsuFirmware } from "../../manager-api/model/Firmware";
|
6
6
|
import { type WebSocketConnectionError } from "../../secure-channel/model/Errors";
|
7
7
|
/**
|
8
|
-
* Interface representing
|
9
|
-
* Some parameters are placeholders and will be updated when relative HTTP requests are ready.
|
8
|
+
* Interface representing a secure channel service for device management.
|
10
9
|
*/
|
11
10
|
export interface SecureChannelService {
|
11
|
+
/**
|
12
|
+
* Construct a WebSocket connection for genuine check.
|
13
|
+
* @param deviceInfo - Response of the GetOsVersionCommand.
|
14
|
+
* @param finalFirmware - Response of the GetFirmwareVersion HTTP request in manager API.
|
15
|
+
* @returns Either a WebSocketConnectionError or a WebSocket.
|
16
|
+
*/
|
12
17
|
genuineCheck(deviceInfo: GetOsVersionResponse, finalFirmware: FinalFirmware): Either<WebSocketConnectionError, WebSocket>;
|
13
|
-
|
18
|
+
/**
|
19
|
+
* Construct a WebSocket connection for installing an application.
|
20
|
+
* @param deviceInfo - Response of the GetOsVersionCommand.
|
21
|
+
* @param app - The application to be installed, must have perso, firmware, firmwareKey, and hash properties.
|
22
|
+
* @returns Either a WebSocketConnectionError or a WebSocket.
|
23
|
+
*/
|
24
|
+
installApp(deviceInfo: GetOsVersionResponse, app: Pick<Application, "perso" | "firmware" | "firmwareKey" | "hash">): Either<WebSocketConnectionError, WebSocket>;
|
25
|
+
/**
|
26
|
+
* Construct a WebSocket connection for listing installed applications.
|
27
|
+
* @param deviceInfo - Response of the GetOsVersionCommand.
|
28
|
+
* @param finalFirmware - Response of the GetFirmwareVersion HTTP request in manager API.
|
29
|
+
* @returns Either a WebSocketConnectionError or a WebSocket.
|
30
|
+
*/
|
14
31
|
listInstalledApps(deviceInfo: GetOsVersionResponse, finalFirmware: FinalFirmware): Either<WebSocketConnectionError, WebSocket>;
|
15
|
-
|
16
|
-
|
17
|
-
|
32
|
+
/**
|
33
|
+
* Construct a WebSocket connection for uninstalling an application.
|
34
|
+
* @param deviceInfo - Response of the GetOsVersionCommand.
|
35
|
+
* @param app - The application to be uninstalled, must have perso, delete, deleteKey, and hash properties.
|
36
|
+
* @returns Either a WebSocketConnectionError or a WebSocket.
|
37
|
+
*/
|
38
|
+
uninstallApp(deviceInfo: GetOsVersionResponse, app: Pick<Application, "perso" | "delete" | "deleteKey" | "hash">): Either<WebSocketConnectionError, WebSocket>;
|
39
|
+
/**
|
40
|
+
* Construct a WebSocket connection for updating the firmware of the device.
|
41
|
+
* @param deviceInfo - Response of the GetOsVersionCommand.
|
42
|
+
* @param osuFirmware - The osu firmware to be updated.
|
43
|
+
* @returns Either a WebSocketConnectionError or a WebSocket.
|
44
|
+
*/
|
45
|
+
updateFirmware(deviceInfo: GetOsVersionResponse, osuFirmware: OsuFirmware): Either<WebSocketConnectionError, WebSocket>;
|
46
|
+
/**
|
47
|
+
* Construct a WebSocket connection for updating the MCU (Microcontroller Unit) of the device.
|
48
|
+
* @param deviceInfo - Response of the GetOsVersionCommand.
|
49
|
+
* @param param - Parameters for the MCU update, including the version.
|
50
|
+
* @returns Either a WebSocketConnectionError or a WebSocket.
|
51
|
+
*/
|
18
52
|
updateMcu(deviceInfo: GetOsVersionResponse, param: {
|
19
53
|
version: string;
|
20
54
|
}): Either<WebSocketConnectionError, WebSocket>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SecureChannelService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/secure-channel/service/SecureChannelService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,
|
1
|
+
{"version":3,"file":"SecureChannelService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/secure-channel/service/SecureChannelService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEtF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,YAAY,CACV,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,aAAa,GAC3B,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,UAAU,CACR,UAAU,EAAE,oBAAoB,EAChC,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,MAAM,CAAC,GACpE,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,iBAAiB,CACf,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,aAAa,GAC3B,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,YAAY,CACV,UAAU,EAAE,oBAAoB,EAChC,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC,GAChE,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,cAAc,CACZ,UAAU,EAAE,oBAAoB,EAChC,WAAW,EAAE,WAAW,GACvB,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,SAAS,CACP,UAAU,EAAE,oBAAoB,EAChC,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GACzB,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;CAChD"}
|
@@ -14,6 +14,10 @@ export type SendApduUseCaseArgs = {
|
|
14
14
|
* Raw APDU to send to the device.
|
15
15
|
*/
|
16
16
|
apdu: Uint8Array;
|
17
|
+
/**
|
18
|
+
* The time, in milliseconds, to wait before aborting an operation.
|
19
|
+
*/
|
20
|
+
abortTimeout?: number;
|
17
21
|
};
|
18
22
|
/**
|
19
23
|
* Sends an APDU to a connected device.
|
@@ -22,6 +26,6 @@ export declare class SendApduUseCase {
|
|
22
26
|
private readonly _sessionService;
|
23
27
|
private readonly _logger;
|
24
28
|
constructor(sessionService: DeviceSessionService, loggerFactory: (tag: string) => LoggerPublisherService);
|
25
|
-
execute({ sessionId, apdu, }: SendApduUseCaseArgs): Promise<ApduResponse>;
|
29
|
+
execute({ sessionId, apdu, abortTimeout, }: SendApduUseCaseArgs): Promise<ApduResponse>;
|
26
30
|
}
|
27
31
|
//# sourceMappingURL=SendApduUseCase.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SendApduUseCase.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/send/use-case/SendApduUseCase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAGlG;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"SendApduUseCase.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/send/use-case/SendApduUseCase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAGlG;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,qBACa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAuB;IACvD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAyB;gBAI/C,cAAc,EAAE,oBAAoB,EAEpC,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB;IAMlD,OAAO,CAAC,EACZ,SAAS,EACT,IAAI,EACJ,YAAY,GACb,EAAE,mBAAmB,GAAG,OAAO,CAAC,YAAY,CAAC;CA6B/C"}
|
@@ -6,6 +6,7 @@ import { type DmkConfig } from "../../../api/DmkConfig";
|
|
6
6
|
import { LoggerPublisherService } from "../../../api/logger-publisher/service/LoggerPublisherService";
|
7
7
|
import { TransportAlreadyExistsError } from "../../../api/transport/model/Errors";
|
8
8
|
import { TransportFactory } from "../../../api/transport/model/Transport";
|
9
|
+
import { TransportConnectedDevice } from "../../../api/transport/model/TransportConnectedDevice";
|
9
10
|
import { Transport } from "../../../api/types";
|
10
11
|
import { TransportService } from "./TransportService";
|
11
12
|
export declare class DefaultTransportService implements TransportService {
|
@@ -21,5 +22,6 @@ export declare class DefaultTransportService implements TransportService {
|
|
21
22
|
private addTransportInternal;
|
22
23
|
getTransport(identifier: string): Maybe<Transport>;
|
23
24
|
getAllTransports(): Transport[];
|
25
|
+
closeConnection(connectedDevice: TransportConnectedDevice): void;
|
24
26
|
}
|
25
27
|
//# sourceMappingURL=DefaultTransportService.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultTransportService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/transport/service/DefaultTransportService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAQ,KAAK,EAAS,MAAM,WAAW,CAAC;AAEvD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAC9F,OAAO,EAEL,2BAA2B,EAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAMvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,qBACa,uBAAwB,YAAW,gBAAgB;IAQ5D,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IAIrC,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IAEvC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAE1C,OAAO,CAAC,QAAQ,CAAC,2BAA2B;IAjB9C,OAAO,CAAC,WAAW,CAAqC;IACxD,OAAO,CAAC,OAAO,CAAyB;gBAItC,WAAW,EAAE,gBAAgB,EAAE,EAEd,OAAO,EAAE,SAAS,EAElB,oBAAoB,EAAE,CACrC,GAAG,EAAE,MAAM,KACR,sBAAsB,EAEV,sBAAsB,EAAE,qBAAqB,EAE7C,yBAAyB,EAAE,wBAAwB,EAEnD,2BAA2B,EAAE,0BAA0B;IAuB1E,YAAY,CACV,OAAO,EAAE,gBAAgB,GACxB,MAAM,CAAC,2BAA2B,EAAE,IAAI,CAAC;IAY5C,OAAO,CAAC,oBAAoB;IAqB5B,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAIlD,gBAAgB,IAAI,SAAS,EAAE;
|
1
|
+
{"version":3,"file":"DefaultTransportService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/transport/service/DefaultTransportService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAQ,KAAK,EAAS,MAAM,WAAW,CAAC;AAEvD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAC9F,OAAO,EAEL,2BAA2B,EAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAMvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,qBACa,uBAAwB,YAAW,gBAAgB;IAQ5D,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IAIrC,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IAEvC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAE1C,OAAO,CAAC,QAAQ,CAAC,2BAA2B;IAjB9C,OAAO,CAAC,WAAW,CAAqC;IACxD,OAAO,CAAC,OAAO,CAAyB;gBAItC,WAAW,EAAE,gBAAgB,EAAE,EAEd,OAAO,EAAE,SAAS,EAElB,oBAAoB,EAAE,CACrC,GAAG,EAAE,MAAM,KACR,sBAAsB,EAEV,sBAAsB,EAAE,qBAAqB,EAE7C,yBAAyB,EAAE,wBAAwB,EAEnD,2BAA2B,EAAE,0BAA0B;IAuB1E,YAAY,CACV,OAAO,EAAE,gBAAgB,GACxB,MAAM,CAAC,2BAA2B,EAAE,IAAI,CAAC;IAY5C,OAAO,CAAC,oBAAoB;IAqB5B,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAIlD,gBAAgB,IAAI,SAAS,EAAE;IAI/B,eAAe,CAAC,eAAe,EAAE,wBAAwB;CAQ1D"}
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import { type Either, type Maybe } from "purify-ts";
|
2
|
-
import { type TransportAlreadyExistsError } from "../../../api/
|
2
|
+
import { type TransportAlreadyExistsError } from "../../../api/transport/model/Errors";
|
3
|
+
import { type TransportConnectedDevice } from "../../../api/transport/model/TransportConnectedDevice";
|
3
4
|
import { type Transport, type TransportFactory } from "../../../api/types";
|
4
5
|
export interface TransportService {
|
5
6
|
getTransport(transportId: string): Maybe<Transport>;
|
6
7
|
getAllTransports(): Transport[];
|
7
8
|
addTransport(factory: TransportFactory): Either<TransportAlreadyExistsError, void>;
|
9
|
+
closeConnection(connectedDevice: TransportConnectedDevice): void;
|
8
10
|
}
|
9
11
|
//# sourceMappingURL=TransportService.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TransportService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/transport/service/TransportService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,KAAK,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"TransportService.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/transport/service/TransportService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,KAAK,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnE,MAAM,WAAW,gBAAgB;IAC/B,YAAY,CAAC,WAAW,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;IACpD,gBAAgB,IAAI,SAAS,EAAE,CAAC;IAChC,YAAY,CACV,OAAO,EAAE,gBAAgB,GACxB,MAAM,CAAC,2BAA2B,EAAE,IAAI,CAAC,CAAC;IAC7C,eAAe,CAAC,eAAe,EAAE,wBAAwB,GAAG,IAAI,CAAC;CAClE"}
|
@@ -15,5 +15,6 @@ export declare class DefaultTransportService implements TransportService {
|
|
15
15
|
addTransportInternal: import("vitest").Mock<(...args: any[]) => any>;
|
16
16
|
getTransport: import("vitest").Mock<(...args: any[]) => any>;
|
17
17
|
getAllTransports: import("vitest").Mock<(...args: any[]) => any>;
|
18
|
+
closeConnection: import("vitest").Mock<(...args: any[]) => any>;
|
18
19
|
}
|
19
20
|
//# sourceMappingURL=DefaultTransportService.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultTransportService.d.ts","sourceRoot":"","sources":["../../../../../../../src/internal/transport/service/__mocks__/DefaultTransportService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,iCAAiC,EAAE,MAAM,uEAAuE,CAAC;AAC1H,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAIrF,qBAAa,uBAAwB,YAAW,gBAAgB;IAC9D,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAa;IAChD,oBAAoB,SAJO,MAAM,uCAII;IACrC,OAAO,EAAS,SAAS,CAAC;IAC1B,sBAAsB,EAAS,qBAAqB,CAAC;IACrD,yBAAyB,iDAAW;IACpC,2BAA2B,iDAAW;IACtC,OAAO,oCAAyC;IAEhD,YAAY,iDAAW;IACvB,oBAAoB,iDAAW;IAC/B,YAAY,iDAAW;IACvB,gBAAgB,iDAAW;
|
1
|
+
{"version":3,"file":"DefaultTransportService.d.ts","sourceRoot":"","sources":["../../../../../../../src/internal/transport/service/__mocks__/DefaultTransportService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,iCAAiC,EAAE,MAAM,uEAAuE,CAAC;AAC1H,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAIrF,qBAAa,uBAAwB,YAAW,gBAAgB;IAC9D,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAa;IAChD,oBAAoB,SAJO,MAAM,uCAII;IACrC,OAAO,EAAS,SAAS,CAAC;IAC1B,sBAAsB,EAAS,qBAAqB,CAAC;IACrD,yBAAyB,iDAAW;IACpC,2BAA2B,iDAAW;IACtC,OAAO,oCAAyC;IAEhD,YAAY,iDAAW;IACvB,oBAAoB,iDAAW;IAC/B,YAAY,iDAAW;IACvB,gBAAgB,iDAAW;IAC3B,eAAe,iDAAW;CAC3B"}
|