Moved AssetTokenCache from 'utils' to 'asset' directory
RENAME
src/utils/AssetTokenCache.ts
src/integration/asset/AssetTokenCache.ts
-import { AssetConnectionToken } from '../types/Asset';
-import { AssetConnectionType } from '../types/Setting';
-import Tenant from '../types/Tenant';
+import { AssetConnectionToken } from '../../types/Asset';
+import Tenant from '../../types/Tenant';
import moment from 'moment';
export default class AssetTokenCache {

MODIFY
src/integration/asset/iothink/IothinkAssetIntegration.ts
src/integration/asset/iothink/IothinkAssetIntegration.ts
import Asset, { AssetConnectionToken, AssetType, IothinkProperty } from '../../../types/Asset';
-import { AssetConnectionSetting, AssetConnectionType, AssetSetting } from '../../../types/Setting';
+import { AssetConnectionSetting, AssetSetting } from '../../../types/Setting';
import { AbstractCurrentConsumption } from '../../../types/Consumption';
import AssetIntegration from '../AssetIntegration';
-import AssetTokenCache from '../../../utils/AssetTokenCache';
+import AssetTokenCache from '../AssetTokenCache';
import AxiosFactory from '../../../utils/AxiosFactory';
import { AxiosInstance } from 'axios';
import BackendError from '../../../exception/BackendError';

MODIFY
src/integration/asset/wit/WitAssetIntegration.ts
src/integration/asset/wit/WitAssetIntegration.ts
@@ -3,7 +3,7 @@ import { AssetConnectionSetting, AssetSetting } from '../../../types/Setting';
import { AbstractCurrentConsumption } from '../../../types/Consumption';
import AssetIntegration from '../AssetIntegration';
-import AssetTokenCache from '../../../utils/AssetTokenCache';
+import AssetTokenCache from '../AssetTokenCache';
import AxiosFactory from '../../../utils/AxiosFactory';
import { AxiosInstance } from 'axios';
import BackendError from '../../../exception/BackendError';

Moved AssetTokenCache from 'utils' to 'asset' directory