@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
11 lines • 741 B
TypeScript
import { IdentityService, IExternalIdentity, IManagedObject, InventoryService } from '@c8y/client';
export type ExportedAsset = IManagedObject & {
externalIdentity: IExternalIdentity;
};
export type ImportedAsset = IManagedObject & {
suggestedDevice: IManagedObject | null;
};
export declare function getExternalIdentityByTargetId(targetId: string | number, identityService: IdentityService): Promise<IExternalIdentity>;
export declare function targetDetails(targetId: string | number, inventoryService: InventoryService): Promise<IManagedObject>;
export declare function resolveSuggestedAsset(exportedDevice: ExportedAsset, contextDevice: IManagedObject): Promise<IManagedObject | null>;
//# sourceMappingURL=shared-helpers.d.ts.map