UNPKG

manageengine-mdm

Version:

A TypeScript wrapper for the ManageEngine Mobile Device Manager Plus API

105 lines (104 loc) 2.81 kB
export interface ReleaseLabel { release_label_type: string; release_label_name: string; release_label_id: string; app_version: string; } export interface App { app_id: string; app_name: string; app_category: string; app_type: string; version: string; platform_type: string; description?: string; icon?: string; added_time: string; modified_time: string; release_labels?: ReleaseLabel[]; bundle_identifier?: string; store_url?: string; is_app_paid?: boolean; country_code?: string; store_id?: string; } export interface AppListResponse { apps: App[]; } export interface AppCreateRequest { app_name: string; app_type: number; app_file: number; app_category_id: number; supported_devices: number; release_label_id: number; display_image?: number; description?: string; app_store_country_code?: string; bundle_identifier?: string; prevent_backup?: boolean; full_image?: number; } export interface AppUpdateRequest { platform_type: number; app_type: number; app_category_id: number; app_name: string; bundle_identifier: string; app_version: string; supported_devices: number; description?: string; remove_app_with_profile?: boolean; prevent_backup?: boolean; app_file?: number; force_update_in_label?: boolean; } export interface AppDeviceRequest { device_ids: number[]; silent_install?: boolean; notify_user_via_email?: boolean; } export interface AppGroupRequest { group_ids: number[]; silent_install?: boolean; notify_user_via_email?: boolean; } export interface AppApproveRequest { silent_install: boolean; retire_old_version: boolean; notify_user_via_email: boolean; version_label?: string; distribute_update?: boolean; } export interface CreateLabelRequest { channel_name: string; } export interface CreateLabelResponse { release_label_id: number; } export interface AppLocationDetails { businessstore_id: string; location_name: string; token_id: string; total_license: string; } export interface AppDetailedResponse extends App { app_distributed_devices_count: number; is_multiple_app_version_available: boolean; supported_devices: number; is_downgrade_available: boolean; is_for_all_customers: boolean; profile_name: string; app_version_code?: string; app_distributed_group_count: number; app_category_name: string; app_group_id: string; remove_app_with_profile?: boolean; release_label_display_name?: string; is_delete_applicable: boolean; app_file?: number; private_app: number; is_distributable: boolean; is_purchased_from_portal: boolean; app_location_details?: AppLocationDetails[]; }