Skip to main content
Module

x/jamf_school/mod.ts>App

A simple, secure, correct, and modern Jamf School API wrapper. (Unofficial)
Latest
interface App
Re-export
import { type App } from "https://deno.land/x/jamf_school@0.5.0/mod.ts";

App represents an individual application.

The API does not provide any ways to edit the data on an app.

Properties

readonly
type: "App"

Discriminator for type checks.

readonly
id: number

The Jamf ID of the app.

readonly
appId: number | null

The app's unique ID, assigned once it's in the appropriate store.

This is sometimes called an Adam ID, iTunes ID, or App Store ID.

This will be null for in-house and enterprise apps.

readonly
isBook: boolean

Whether this app is actually not an app, but a book.

readonly
bundleId: string

The technical bundle identifier of the app.

readonly
icon: string

The URL of the icon of the app.

readonly
name: string

The name of the app.

readonly
version: string

Version number of the app. This may not follow semantic versioning.

readonly
price: number

A floating-point number representing the price of the app.

readonly
isTrashed: boolean

Whether or not the app is in the trash (deleted).

readonly
locationId: number

The ID of this app's location.

Methods

toJSON(): unknown

Return the data used to create this object.

toString(): string

The name of the app.

update(): Promise<void>

(Read) Update this apps's data.

Other apps created from the same data will not be updated.

getDevices(): Promise<Device[]>

(Read) Get all the devices that have this app.

getLocation(): Promise<Location | null>

(Read) Get the location this app belongs to.