@ledgerhq/device-management-kit 0.6.5 → 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 +40 -3
- 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/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/index.js +1 -1
- package/lib/cjs/src/api/index.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/InstallApp/InstallAppDeviceAction.js +1 -1
- package/lib/cjs/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.js.map +3 -3
- 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/UninstallApp/UninstallAppDeviceAction.js +1 -1
- package/lib/cjs/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.js.map +3 -3
- 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/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/model/DevicePinger.js +1 -1
- package/lib/cjs/src/internal/device-session/model/DevicePinger.js.map +3 -3
- 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/DeviceSessionStateHandler.js +1 -1
- package/lib/cjs/src/internal/device-session/model/DeviceSessionStateHandler.js.map +3 -3
- package/lib/cjs/src/internal/device-session/model/DeviceSessionStateHandler.test.js +1 -1
- package/lib/cjs/src/internal/device-session/model/DeviceSessionStateHandler.test.js.map +3 -3
- 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/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/discovery/use-case/DisconnectUseCase.test.js +1 -1
- package/lib/cjs/src/internal/discovery/use-case/DisconnectUseCase.test.js.map +2 -2
- 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/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/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/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/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/index.js +1 -1
- package/lib/esm/src/api/index.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/InstallApp/InstallAppDeviceAction.js +1 -1
- package/lib/esm/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.js.map +3 -3
- 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/UninstallApp/UninstallAppDeviceAction.js +1 -1
- package/lib/esm/src/api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction.js.map +3 -3
- 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/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/model/DevicePinger.js +1 -1
- package/lib/esm/src/internal/device-session/model/DevicePinger.js.map +3 -3
- 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/DeviceSessionStateHandler.js +1 -1
- package/lib/esm/src/internal/device-session/model/DeviceSessionStateHandler.js.map +3 -3
- package/lib/esm/src/internal/device-session/model/DeviceSessionStateHandler.test.js +1 -1
- package/lib/esm/src/internal/device-session/model/DeviceSessionStateHandler.test.js.map +3 -3
- 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/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/discovery/use-case/DisconnectUseCase.test.js +1 -1
- package/lib/esm/src/internal/discovery/use-case/DisconnectUseCase.test.js.map +2 -2
- 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/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/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/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 +11 -1
- 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 +5 -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 +6 -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.map +1 -1
- package/lib/types/src/api/secure-channel/device-action/InstallApp/InstallAppDeviceAction.d.ts.map +1 -1
- 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/UninstallApp/UninstallAppDeviceAction.d.ts.map +1 -1
- 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 +6 -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/model/DevicePinger.d.ts +1 -1
- package/lib/types/src/internal/device-session/model/DevicePinger.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/model/DeviceSession.d.ts +3 -1
- package/lib/types/src/internal/device-session/model/DeviceSession.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/model/DeviceSessionStateHandler.d.ts.map +1 -1
- package/lib/types/src/internal/device-session/model/Frame.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/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/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/service/DefaultSecureChannelService.d.ts +2 -2
- 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 +3 -3
- 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 +1 @@
|
|
1
|
-
{"version":3,"file":"ManagerApiDataSource.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/data/ManagerApiDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,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":"ManagerApiDataSource.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/data/ManagerApiDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,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;AAC5E,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,8BAA8B,EACpC,MAAM,oCAAoC,CAAC;AAE5C;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,UAAU,CACR,MAAM,EAAE,gBAAgB,GACvB,WAAW,CAAC,iBAAiB,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;IAEtD;;;;;OAKG;IACH,aAAa,CACX,MAAM,EAAE,kBAAkB,GACzB,WAAW,CAAC,iBAAiB,EAAE,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC;IAE7D;;;;;OAKG;IACH,gBAAgB,CACd,MAAM,EAAE,sBAAsB,GAC7B,WAAW,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAEjD;;;;;OAKG;IACH,kBAAkB,CAChB,MAAM,EAAE,wBAAwB,GAC/B,WAAW,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAEjD;;;;OAIG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpC;;OAEG;IACH,WAAW,IAAI,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,sBAAsB,CACpB,eAAe,EAAE,MAAM,GACtB,WAAW,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAEjD;;;;;OAKG;IACH,qBAAqB,CACnB,MAAM,EAAE,wBAAwB,GAC/B,WAAW,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,wBAAwB,CACtB,MAAM,EAAE,8BAA8B,GACrC,WAAW,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,mBAAmB,CACjB,MAAM,EAAE,yBAAyB,GAChC,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"}
|
@@ -5,32 +5,118 @@ export declare enum AppTypeDto {
|
|
5
5
|
tool = "tool",
|
6
6
|
swap = "swap"
|
7
7
|
}
|
8
|
+
export type DeviceVersionDto = {
|
9
|
+
id: Id | null;
|
10
|
+
name: string;
|
11
|
+
display_name: string | null;
|
12
|
+
target_id: string | null;
|
13
|
+
description: string | null;
|
14
|
+
device: Id;
|
15
|
+
providers: Id[];
|
16
|
+
mcu_versions: Id[];
|
17
|
+
se_firmware_final_versions: Id[];
|
18
|
+
osu_versions: Id[];
|
19
|
+
application_versions: Id[];
|
20
|
+
date_creation: string | null;
|
21
|
+
date_last_modified: string | null;
|
22
|
+
};
|
8
23
|
export type ApplicationDto = {
|
9
24
|
versionId: Id;
|
10
25
|
versionName: string;
|
11
|
-
versionDisplayName: string;
|
26
|
+
versionDisplayName: string | null;
|
12
27
|
version: string;
|
13
|
-
currencyId: string;
|
14
|
-
description: string;
|
15
|
-
applicationType: AppTypeDto;
|
28
|
+
currencyId: string | null;
|
29
|
+
description: string | null;
|
30
|
+
applicationType: AppTypeDto | null;
|
16
31
|
dateModified: string;
|
17
|
-
icon: string;
|
18
|
-
authorName: string;
|
19
|
-
supportURL: string;
|
20
|
-
contactURL: string;
|
21
|
-
sourceURL: string;
|
22
|
-
compatibleWallets: string;
|
23
|
-
hash: string;
|
24
|
-
perso: string;
|
25
|
-
firmware: string;
|
26
|
-
firmwareKey: string;
|
27
|
-
delete: string;
|
28
|
-
deleteKey: string;
|
29
|
-
bytes: number;
|
32
|
+
icon: string | null;
|
33
|
+
authorName: string | null;
|
34
|
+
supportURL: string | null;
|
35
|
+
contactURL: string | null;
|
36
|
+
sourceURL: string | null;
|
37
|
+
compatibleWallets: string | null;
|
38
|
+
hash: string | null;
|
39
|
+
perso: string | null;
|
40
|
+
firmware: string | null;
|
41
|
+
firmwareKey: string | null;
|
42
|
+
delete: string | null;
|
43
|
+
deleteKey: string | null;
|
44
|
+
bytes: number | null;
|
30
45
|
warning: string | null;
|
31
46
|
isDevTools: boolean;
|
32
|
-
category: number;
|
47
|
+
category: number | null;
|
33
48
|
parent: number | null;
|
34
49
|
parentName: string | null;
|
35
50
|
};
|
51
|
+
export type FirmwareOsuVersionDto = {
|
52
|
+
id: Id;
|
53
|
+
name: string;
|
54
|
+
description: string | null;
|
55
|
+
display_name: string | null;
|
56
|
+
notes: string | null;
|
57
|
+
perso: string | null;
|
58
|
+
firmware: string | null;
|
59
|
+
firmware_key: string | null;
|
60
|
+
hash: string | null;
|
61
|
+
next_se_firmware_final_version: Id | null;
|
62
|
+
previous_se_firmware_final_versions: Id[];
|
63
|
+
date_creation: string;
|
64
|
+
date_last_modified: string;
|
65
|
+
device_versions: Id[];
|
66
|
+
providers: Id[];
|
67
|
+
minimum_live_common_version: string | null;
|
68
|
+
};
|
69
|
+
export type FirmwareFinalVersionDto = {
|
70
|
+
id: Id;
|
71
|
+
name: string;
|
72
|
+
version: string;
|
73
|
+
se_firmware: Id | null;
|
74
|
+
description: string | null;
|
75
|
+
display_name: string | null;
|
76
|
+
notes: string | null;
|
77
|
+
perso: string | null;
|
78
|
+
firmware: string | null;
|
79
|
+
firmware_key: string | null;
|
80
|
+
hash: string | null;
|
81
|
+
distribution_ratio: number | null;
|
82
|
+
exclude_by_default: boolean;
|
83
|
+
osu_versions: FirmwareOsuVersionDto[];
|
84
|
+
date_creation: string;
|
85
|
+
date_last_modified: string;
|
86
|
+
device_versions: Id[];
|
87
|
+
mcu_versions: Id[];
|
88
|
+
application_versions: Id[];
|
89
|
+
providers: Id[];
|
90
|
+
bytes: number | null;
|
91
|
+
};
|
92
|
+
export type LatestFirmwareOsuVersionResponseDto = {
|
93
|
+
result: string;
|
94
|
+
se_firmware_osu_version: FirmwareOsuVersionDto | null;
|
95
|
+
};
|
96
|
+
export type McuVersionDto = {
|
97
|
+
id: Id;
|
98
|
+
mcu: Id;
|
99
|
+
name: string;
|
100
|
+
description: string | null;
|
101
|
+
providers: Id[];
|
102
|
+
device_versions: Id[];
|
103
|
+
from_bootloader_version: string;
|
104
|
+
from_bootloader_version_id: Id | null;
|
105
|
+
se_firmware_final_versions: Id[];
|
106
|
+
date_creation: string;
|
107
|
+
date_last_modified: string;
|
108
|
+
};
|
109
|
+
export type LanguagePackageVersionDto = {
|
110
|
+
language: string;
|
111
|
+
languagePackageVersionId: Id;
|
112
|
+
version: string;
|
113
|
+
language_package_id: Id;
|
114
|
+
apdu_install_url: string;
|
115
|
+
apdu_uninstall_url: string;
|
116
|
+
device_versions: Id[];
|
117
|
+
se_firmware_final_versions: Id[];
|
118
|
+
bytes: number;
|
119
|
+
date_creation: string;
|
120
|
+
date_last_modified: string;
|
121
|
+
};
|
36
122
|
//# sourceMappingURL=ManagerApiDto.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ManagerApiDto.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/data/ManagerApiDto.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,EAAE,GAAG,MAAM,CAAC;AAExB,oBAAY,UAAU;IACpB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE,EAAE,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"ManagerApiDto.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/data/ManagerApiDto.ts"],"names":[],"mappings":"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"}
|
@@ -3,6 +3,13 @@ export declare class AxiosManagerApiDataSource implements ManagerApiDataSource {
|
|
3
3
|
getAppList: import("vitest").Mock<(...args: any[]) => any>;
|
4
4
|
getDeviceVersion: import("vitest").Mock<(...args: any[]) => any>;
|
5
5
|
getFirmwareVersion: import("vitest").Mock<(...args: any[]) => any>;
|
6
|
+
getFirmwareVersionById: import("vitest").Mock<(...args: any[]) => any>;
|
7
|
+
getOsuFirmwareVersion: import("vitest").Mock<(...args: any[]) => any>;
|
8
|
+
getLatestFirmwareVersion: import("vitest").Mock<(...args: any[]) => any>;
|
9
|
+
getLanguagePackages: import("vitest").Mock<(...args: any[]) => any>;
|
6
10
|
getAppsByHash: import("vitest").Mock<(...args: any[]) => any>;
|
11
|
+
getMcuList: import("vitest").Mock<(...args: any[]) => any>;
|
12
|
+
setProvider: import("vitest").Mock<(...args: any[]) => any>;
|
13
|
+
getProvider: import("vitest").Mock<(...args: any[]) => any>;
|
7
14
|
}
|
8
15
|
//# sourceMappingURL=AxiosManagerApiDataSource.d.ts.map
|
package/lib/types/src/internal/manager-api/data/__mocks__/AxiosManagerApiDataSource.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AxiosManagerApiDataSource.d.ts","sourceRoot":"","sources":["../../../../../../../src/internal/manager-api/data/__mocks__/AxiosManagerApiDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAE5F,qBAAa,yBAA0B,YAAW,oBAAoB;IACpE,UAAU,iDAAW;IACrB,gBAAgB,iDAAW;IAC3B,kBAAkB,iDAAW;IAC7B,aAAa,iDAAW;
|
1
|
+
{"version":3,"file":"AxiosManagerApiDataSource.d.ts","sourceRoot":"","sources":["../../../../../../../src/internal/manager-api/data/__mocks__/AxiosManagerApiDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAE5F,qBAAa,yBAA0B,YAAW,oBAAoB;IACpE,UAAU,iDAAW;IACrB,gBAAgB,iDAAW;IAC3B,kBAAkB,iDAAW;IAC7B,sBAAsB,iDAAW;IACjC,qBAAqB,iDAAW;IAChC,wBAAwB,iDAAW;IACnC,mBAAmB,iDAAW;IAC9B,aAAa,iDAAW;IACxB,UAAU,iDAAW;IACrB,WAAW,iDAAW;IACtB,WAAW,iDAAW;CACvB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"managerApiModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/di/managerApiModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"managerApiModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/di/managerApiModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,uBAAuB,qBAAsB,YAAY,oBAiBlE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"managerApiTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/di/managerApiTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"managerApiTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/di/managerApiTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC"}
|
@@ -7,28 +7,28 @@ export declare enum AppType {
|
|
7
7
|
export type Application = {
|
8
8
|
versionId: number;
|
9
9
|
versionName: string;
|
10
|
-
versionDisplayName: string;
|
10
|
+
versionDisplayName: string | null;
|
11
11
|
version: string;
|
12
|
-
currencyId: string;
|
13
|
-
description: string;
|
14
|
-
applicationType: AppType;
|
12
|
+
currencyId: string | null;
|
13
|
+
description: string | null;
|
14
|
+
applicationType: AppType | null;
|
15
15
|
dateModified: string;
|
16
|
-
icon: string;
|
17
|
-
authorName: string;
|
18
|
-
supportURL: string;
|
19
|
-
contactURL: string;
|
20
|
-
sourceURL: string;
|
21
|
-
compatibleWallets: string;
|
16
|
+
icon: string | null;
|
17
|
+
authorName: string | null;
|
18
|
+
supportURL: string | null;
|
19
|
+
contactURL: string | null;
|
20
|
+
sourceURL: string | null;
|
21
|
+
compatibleWallets: string | null;
|
22
22
|
hash: string;
|
23
23
|
perso: string;
|
24
24
|
firmware: string;
|
25
25
|
firmwareKey: string;
|
26
26
|
delete: string;
|
27
27
|
deleteKey: string;
|
28
|
-
bytes: number;
|
28
|
+
bytes: number | null;
|
29
29
|
warning: string | null;
|
30
30
|
isDevTools: boolean;
|
31
|
-
category: number;
|
31
|
+
category: number | null;
|
32
32
|
parent: number | null;
|
33
33
|
parentName: string | null;
|
34
34
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/model/Application.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/model/Application.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC"}
|
@@ -1,3 +1,5 @@
|
|
1
1
|
export declare const DEFAULT_MANAGER_API_BASE_URL = "https://manager.api.live.ledger.com/api";
|
2
2
|
export declare const DEFAULT_MOCK_SERVER_BASE_URL = "http://localhost:8080";
|
3
|
+
export declare const DEFAULT_PROVIDER = 1;
|
4
|
+
export declare const DEFAULT_FIRMWARE_DISTRIBUTION_SALT = "0";
|
3
5
|
//# sourceMappingURL=Const.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Const.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/model/Const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,4CACE,CAAC;AAC5C,eAAO,MAAM,4BAA4B,0BAA0B,CAAC"}
|
1
|
+
{"version":3,"file":"Const.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/model/Const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,4CACE,CAAC;AAC5C,eAAO,MAAM,4BAA4B,0BAA0B,CAAC;AACpE,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAClC,eAAO,MAAM,kCAAkC,MAAM,CAAC"}
|
@@ -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":""}
|
@@ -2,7 +2,7 @@ import WebSocket from "isomorphic-ws";
|
|
2
2
|
import { 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 SecureChannelDataSource } from "../../secure-channel/data/SecureChannelDataSource";
|
7
7
|
import { WebSocketConnectionError } from "../../secure-channel/model/Errors";
|
8
8
|
import { type SecureChannelService } from "./SecureChannelService";
|
@@ -13,7 +13,7 @@ export declare class DefaultSecureChannelService implements SecureChannelService
|
|
13
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
15
|
uninstallApp(deviceInfo: GetOsVersionResponse, app: Pick<Application, "perso" | "delete" | "deleteKey" | "hash">): Either<WebSocketConnectionError, WebSocket>;
|
16
|
-
updateFirmware(deviceInfo: GetOsVersionResponse,
|
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,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,
|
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,7 +2,7 @@ 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
8
|
* Interface representing a secure channel service for device management.
|
@@ -39,10 +39,10 @@ export interface SecureChannelService {
|
|
39
39
|
/**
|
40
40
|
* Construct a WebSocket connection for updating the firmware of the device.
|
41
41
|
* @param deviceInfo - Response of the GetOsVersionCommand.
|
42
|
-
* @param
|
42
|
+
* @param osuFirmware - The osu firmware to be updated.
|
43
43
|
* @returns Either a WebSocketConnectionError or a WebSocket.
|
44
44
|
*/
|
45
|
-
updateFirmware(deviceInfo: GetOsVersionResponse,
|
45
|
+
updateFirmware(deviceInfo: GetOsVersionResponse, osuFirmware: OsuFirmware): Either<WebSocketConnectionError, WebSocket>;
|
46
46
|
/**
|
47
47
|
* Construct a WebSocket connection for updating the MCU (Microcontroller Unit) of the device.
|
48
48
|
* @param deviceInfo - Response of the GetOsVersionCommand.
|
@@ -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"}
|