import { ApplicationEntity, JWKS, UserEntity, GroupEntity, OrganizationEntity, DEVICE_REGISTRATION_STATUS, DeviceSystemData, DEVICE_ROLES_GLOBAL, DEVICE_USER_IDENTITY_ASSURANCE_LEVEL, LabelEntity } from '../..'; export declare class RegisterDeviceDto { publicKey: JWKS; title?: string; location?: string; domain: string; /** * Automation * - For roles ADMIN_TERMINAL, REGISTRATION_TERMINAL and SERVER * a related application is created automaticallys */ role?: DEVICE_ROLES_GLOBAL; configVersion?: string; keySecurity?: string; keyType?: string; /** * For ex. 'Linux' */ operatingSystem?: string; /** * For ex. '5.13.13' */ operatingSystemRelease?: string; /** * For ex. 'x86_64' */ systemArchitecture?: string; /** * In bytes * for ex. '16458022912' for 16.4 GB */ systemMemory?: number; } export declare class RegisterDeviceResponseDto { verification_code: string; } /** * success: returns status, deviceId * error: message */ export declare class DeviceRegistrationStatus { status?: DEVICE_REGISTRATION_STATUS; deviceId?: string; clientId: string; message?: string; } export declare class GetDeviceRegistrationStatus { verification_code: string; } export declare class ApproveDeviceRegistration extends GetDeviceRegistrationStatus { role?: DEVICE_ROLES_GLOBAL; } export declare class RejectDeviceRegistration extends GetDeviceRegistrationStatus { } export declare class CreateDeviceDto { title: string; location: string; role: DEVICE_ROLES_GLOBAL; systemData?: DeviceSystemData; isEnabled?: boolean; organization: OrganizationEntity; groups: GroupEntity[]; clientId?: string; createdByUser?: UserEntity; userIdentityAssuranceLevel: DEVICE_USER_IDENTITY_ASSURANCE_LEVEL; } export declare class UpdateDeviceDto { title?: string; location?: string; registrationComplete?: boolean; groups?: GroupEntity[]; userIdentityAssuranceLevel?: DEVICE_USER_IDENTITY_ASSURANCE_LEVEL; isEnabled?: boolean; labels?: LabelEntity[]; } export declare class UpdateDeviceAfterApprovalDto extends UpdateDeviceDto { role?: DEVICE_ROLES_GLOBAL; registrationCompleted: boolean; createdByUser: UserEntity; applications?: ApplicationEntity[]; } export declare class UpdateDeviceAfterRegistrationSuccessDto extends UpdateDeviceDto { clientId?: string; isEnabled?: boolean; } export declare class DeviceRegistrationCacheDto { deviceRegistration?: any; deviceId: string; clientId: string; status: DEVICE_REGISTRATION_STATUS; }