timelimit-server/docs/schema/serializedapplogicaction.md
2022-07-25 02:00:00 +02:00

62 KiB

SerializedAppLogicAction Schema

https://timelimit.io/SerializedAppLogicAction
Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Cannot be instantiated Yes Unknown status Unknown identifiability Forbidden Allowed none SerializedAppLogicAction.schema.json

SerializedAppLogicAction Type

merged type (SerializedAppLogicAction)

any of

SerializedAppLogicAction Definitions

Definitions group SerializedAddInstalledAppsAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedAddInstalledAppsAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
apps array Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"ADD_INSTALLED_APPS"

apps

apps

apps Type

object[] (SerializedInstalledApp)

Definitions group SerializedInstalledApp

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp"}
Property Type Required Nullable Defined by
packageName string Required cannot be null SerializedAppLogicAction
title string Required cannot be null SerializedAppLogicAction
isLaunchable boolean Required cannot be null SerializedAppLogicAction
recommendation string Required cannot be null SerializedAppLogicAction

packageName

packageName

packageName Type

string

title

title

title Type

string

isLaunchable

isLaunchable

isLaunchable Type

boolean

recommendation

recommendation

recommendation Type

string (AppRecommendation)

recommendation Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"blacklist"
"none"
"whitelist"

Definitions group AppRecommendation

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/AppRecommendation"}
Property Type Required Nullable Defined by

Definitions group SerializedAddUsedTimeAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedAddUsedTimeAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
categoryId string Required cannot be null SerializedAppLogicAction
day number Required cannot be null SerializedAppLogicAction
timeToAdd number Required cannot be null SerializedAppLogicAction
extraTimeToSubtract number Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"ADD_USED_TIME"

categoryId

categoryId

categoryId Type

string

day

day

day Type

number

timeToAdd

timeToAdd

timeToAdd Type

number

extraTimeToSubtract

extraTimeToSubtract

extraTimeToSubtract Type

number

Definitions group SerializedAddUsedTimeActionVersion2

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedAddUsedTimeActionVersion2"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
d number Required cannot be null SerializedAppLogicAction
i array Required cannot be null SerializedAppLogicAction
t number Optional cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"ADD_USED_TIME_V2"

d

d

d Type

number

i

i

i Type

object[] (Details)

t

t

t Type

number

Definitions group SerializedFinishKeyRequestAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedFinishKeyRequestAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
dsn number Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"FINISH_KEY_REQUEST"

dsn

dsn

dsn Type

number

Definitions group SerializedForceSyncAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedForceSyncAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"FORCE_SYNC"

Definitions group SerializedReplyToKeyRequestAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedReplyToKeyRequestAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
rsn number Required cannot be null SerializedAppLogicAction
tempKey string Required cannot be null SerializedAppLogicAction
encryptedKey string Required cannot be null SerializedAppLogicAction
signature string Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"REPLY_TO_KEY_REQUEST"

rsn

rsn

rsn Type

number

tempKey

tempKey

tempKey Type

string

encryptedKey

encryptedKey

encryptedKey Type

string

signature

signature

signature Type

string

Definitions group SerializedMarkTaskPendingAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedMarkTaskPendingAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
taskId string Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"MARK_TASK_PENDING"

taskId

taskId

taskId Type

string

Definitions group SerializedUpdateInstalledAppsAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedUpdateInstalledAppsAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
b string Optional cannot be null SerializedAppLogicAction
d string Optional cannot be null SerializedAppLogicAction
w boolean Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"UPDATE_INSTALLED_APPS"

b

b

b Type

string

d

d

d Type

string

w

w

w Type

boolean

Definitions group SerializedRemoveInstalledAppsAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedRemoveInstalledAppsAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
packageNames array Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"REMOVE_INSTALLED_APPS"

packageNames

packageNames

packageNames Type

string[]

Definitions group SerializedSendKeyRequestAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedSendKeyRequestAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
dsn number Required cannot be null SerializedAppLogicAction
deviceId string Optional cannot be null SerializedAppLogicAction
categoryId string Optional cannot be null SerializedAppLogicAction
dataType number Required cannot be null SerializedAppLogicAction
tempKey string Required cannot be null SerializedAppLogicAction
signature string Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"SEND_KEY_REQUEST"

dsn

dsn

dsn Type

number

deviceId

deviceId

deviceId Type

string

categoryId

categoryId

categoryId Type

string

dataType

dataType

dataType Type

number

tempKey

tempKey

tempKey Type

string

signature

signature

signature Type

string

Definitions group SerializedSignOutAtDeviceAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedSignOutAtDeviceAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"SIGN_OUT_AT_DEVICE"

Definitions group SerialiezdTriedDisablingDeviceAdminAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerialiezdTriedDisablingDeviceAdminAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"TRIED_DISABLING_DEVICE_ADMIN"

Definitions group SerializedUpdateAppActivitiesAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedUpdateAppActivitiesAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
removed array Required cannot be null SerializedAppLogicAction
updatedOrAdded array Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"UPDATE_APP_ACTIVITIES"

removed

removed

removed Type

an array where each item follows the corresponding schema in the following list:

  1. Untitled string in SerializedAppLogicAction

  2. Untitled string in SerializedAppLogicAction

updatedOrAdded

updatedOrAdded

updatedOrAdded Type

object[] (SerializedAppActivityItem)

Definitions group SerializedAppActivityItem

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedAppActivityItem"}
Property Type Required Nullable Defined by
p string Required cannot be null SerializedAppLogicAction
c string Required cannot be null SerializedAppLogicAction
t string Required cannot be null SerializedAppLogicAction

p

p

p Type

string

c

c

c Type

string

t

t

t Type

string

Definitions group SerializedUpdateDeviceStatusAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedUpdateDeviceStatusAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
protectionLevel string Optional cannot be null SerializedAppLogicAction
usageStats string Optional cannot be null SerializedAppLogicAction
notificationAccess string Optional cannot be null SerializedAppLogicAction
overlayPermission string Optional cannot be null SerializedAppLogicAction
accessibilityServiceEnabled boolean Optional cannot be null SerializedAppLogicAction
appVersion number Optional cannot be null SerializedAppLogicAction
didReboot boolean Optional cannot be null SerializedAppLogicAction
isQOrLaterNow boolean Optional cannot be null SerializedAppLogicAction
addedManipulationFlags number Optional cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"UPDATE_DEVICE_STATUS"

protectionLevel

protectionLevel

protectionLevel Type

string

protectionLevel Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"device owner"
"none"
"password device admin"
"simple device admin"

usageStats

usageStats

usageStats Type

string

usageStats Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"granted"
"not granted"
"not required"

notificationAccess

notificationAccess

notificationAccess Type

string

notificationAccess Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"granted"
"not granted"
"not supported"

overlayPermission

overlayPermission

overlayPermission Type

string

overlayPermission Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"granted"
"not granted"
"not required"

accessibilityServiceEnabled

accessibilityServiceEnabled

accessibilityServiceEnabled Type

boolean

appVersion

appVersion

appVersion Type

number

didReboot

didReboot

didReboot Type

boolean

isQOrLaterNow

isQOrLaterNow

isQOrLaterNow Type

boolean

addedManipulationFlags

addedManipulationFlags

addedManipulationFlags Type

number

Definitions group SerializedUploadDevicePublicKeyAction

Reference this group by using

{"$ref":"https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedUploadDevicePublicKeyAction"}
Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
key string Required cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"UPLOAD_DEVICE_PUBLIC_KEY"

key

key

key Type

string