UNPKG

manageengine-mdm

Version:

A TypeScript wrapper for the ManageEngine Mobile Device Manager Plus API

63 lines (62 loc) 1.76 kB
export interface Profile { creation_time: string; last_modified_time: string; profile_version: string; payloads?: string[]; last_modified_by: string; is_for_all_customers: boolean; profile_description?: string; created_by: string; collection_id: string; profile_name: string; profile_status: string; platform_type: string; is_moved_to_trash: boolean; profile_id: string; scope: string; profile_status_id: string; } export interface ProfileListResponse { profiles: Profile[]; } export interface ProfileCreateRequest { profile_name: string; profile_description?: string; platform_type: string; scope?: string; } export interface ProfileUpdateRequest { profile_name?: string; profile_description?: string; } export interface ProfileDeleteRequest { profile_ids: string[]; } export interface ProfilePayloadsResponse { payloads: string[]; } export interface PayloadDetailsResponse { payload_name: string; payloaditems: string[]; } export interface PasscodePayloadConfig { max_passcode_age?: number; require_alphanumeric?: boolean; max_failed_attempts?: number; min_passcode_length?: number; min_complex_chars?: number; no_of_passcode_maintained?: number; allow_simple_value?: boolean; auto_lock_idle_for?: number; max_grace_period?: number; } export interface IosCustomProfilePayloadConfig { custom_profile_file_id: string; allow_existing_payload?: boolean; custom_profile_type?: string; } export declare type PayloadName = 'passcodepolicy' | 'ioscustomprofiles'; export declare type PayloadConfig = { ['passcodepolicy']: PasscodePayloadConfig; ['ioscustomprofiles']: IosCustomProfilePayloadConfig; };