ozone-type
Advanced tools
Comparing version 4.1.3-alpha.1 to 4.1.3-alpha.2
@@ -49,2 +49,5 @@ export declare type UUID = string; | ||
}; | ||
export declare type Patch<T> = { | ||
[P in keyof T]?: T[P] | null; | ||
}; | ||
export declare class Item { | ||
@@ -51,0 +54,0 @@ constructor(src?: Item); |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("article") | ||
export class Article extends Item { | ||
@OzoneType('article') | ||
export class Article extends Item { | ||
category?: UUID | ||
@@ -12,3 +12,3 @@ description?: { [key: string]: string; } | ||
constructor(src:Article) { | ||
constructor(src: Article) { | ||
super(src) | ||
@@ -15,0 +15,0 @@ this.category = src.category |
@@ -1,9 +0,9 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("article.category") | ||
export class ArticleCategory extends Item { | ||
@OzoneType('article.category') | ||
export class ArticleCategory extends Item { | ||
description?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
constructor(src:ArticleCategory) { | ||
constructor(src: ArticleCategory) { | ||
super(src) | ||
@@ -10,0 +10,0 @@ this.description = src.description |
import { FlowrLogoitem } from './FlowrLogoitem' | ||
import { Media } from './Media' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("audio") | ||
export class Audio extends Media implements FlowrLogoitem { | ||
@OzoneType('audio') | ||
export class Audio extends Media implements FlowrLogoitem { | ||
highlightLogo?: UUID | ||
logo?: UUID | ||
constructor(src:Audio) { | ||
constructor(src: Audio) { | ||
super(src) | ||
@@ -13,0 +13,0 @@ this.highlightLogo = src.highlightLogo |
import { Media } from './Media' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("basket") | ||
export class Basket extends Media { | ||
basketItems?: UUID[] | ||
@OzoneType('basket') | ||
export class Basket extends Media { | ||
basketItems?: UUID[] | ||
constructor(src:Basket) { | ||
constructor(src: Basket) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.basketItems = src.basketItems |
import { Media } from './Media' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("batch") | ||
export class Batch extends Media { | ||
batchItems?: UUID[] | ||
@OzoneType('batch') | ||
export class Batch extends Media { | ||
batchItems?: UUID[] | ||
constructor(src:Batch) { | ||
constructor(src: Batch) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.batchItems = src.batchItems |
@@ -6,7 +6,7 @@ import { ChannelInput } from './ChannelInput' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel") | ||
export class Channel extends Item implements RestrictedContent, FlowrLogoitem { | ||
aliases?: string[] | ||
@OzoneType('channel') | ||
export class Channel extends Item implements RestrictedContent, FlowrLogoitem { | ||
aliases?: string[] | ||
bufferDuration?: number | ||
@@ -16,3 +16,3 @@ cbUrl?: string | ||
channelUuid?: UUID | ||
defaultPackages?: string[] | ||
defaultPackages?: string[] | ||
enabled?: boolean | ||
@@ -22,5 +22,5 @@ highlightLogo?: UUID | ||
input?: ChannelInput | ||
keywords?: string[] | ||
languageIndexes?: string[] | ||
languages?: string[] | ||
keywords?: string[] | ||
languageIndexes?: string[] | ||
languages?: string[] | ||
logo?: UUID | ||
@@ -31,10 +31,10 @@ multicastUrl?: string | ||
restricted?: boolean | ||
scenes?: string[] | ||
scenes?: string[] | ||
storage?: string | ||
transcoderEnabled?: boolean | ||
transcodingEnabled?: boolean | ||
tvGuideNames?: string[] | ||
tvGuideNames?: string[] | ||
verticalRes?: number | ||
constructor(src:Channel) { | ||
constructor(src: Channel) { | ||
super(src) | ||
@@ -41,0 +41,0 @@ this.aliases = src.aliases |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel.input") | ||
export class ChannelInput extends Item { | ||
@OzoneType('channel.input') | ||
export class ChannelInput extends Item { | ||
} |
import { ChannelInput } from './ChannelInput' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel.input.multicast") | ||
export class ChannelInputMulticast extends ChannelInput { | ||
@OzoneType('channel.input.multicast') | ||
export class ChannelInputMulticast extends ChannelInput { | ||
url: string | ||
constructor(src:ChannelInputMulticast) { | ||
constructor(src: ChannelInputMulticast) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.url = src.url |
import { ChannelInput } from './ChannelInput' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel.input.rtmp") | ||
export class ChannelInputRtmp extends ChannelInput { | ||
@OzoneType('channel.input.rtmp') | ||
export class ChannelInputRtmp extends ChannelInput { | ||
port: number | ||
constructor(src:ChannelInputRtmp) { | ||
constructor(src: ChannelInputRtmp) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.port = src.port |
import { ChannelInput } from './ChannelInput' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel.input.screencast") | ||
export class ChannelInputScreencast extends ChannelInput { | ||
@OzoneType('channel.input.screencast') | ||
export class ChannelInputScreencast extends ChannelInput { | ||
timeZone?: string | ||
url: string | ||
constructor(src:ChannelInputScreencast) { | ||
constructor(src: ChannelInputScreencast) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.timeZone = src.timeZone |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel.output") | ||
export class ChannelOutput extends Item { | ||
@OzoneType('channel.output') | ||
export class ChannelOutput extends Item { | ||
} |
import { ChannelOutput } from './ChannelOutput' | ||
import { ChannelTranscoding } from './ChannelTranscoding' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel.output.recording") | ||
export class ChannelOutputRecording extends ChannelOutput { | ||
@OzoneType('channel.output.recording') | ||
export class ChannelOutputRecording extends ChannelOutput { | ||
autostart?: boolean | ||
@@ -13,5 +13,5 @@ bufferDuration?: number | ||
storage?: string | ||
transcodings?: ChannelTranscoding[] | ||
transcodings?: ChannelTranscoding[] | ||
constructor(src:ChannelOutputRecording) { | ||
constructor(src: ChannelOutputRecording) { | ||
super(src) | ||
@@ -18,0 +18,0 @@ this.autostart = src.autostart |
import { ChannelOutput } from './ChannelOutput' | ||
import { ChannelTranscoding } from './ChannelTranscoding' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel.output.streaming") | ||
export class ChannelOutputStreaming extends ChannelOutput { | ||
@OzoneType('channel.output.streaming') | ||
export class ChannelOutputStreaming extends ChannelOutput { | ||
bitrate?: number | ||
@@ -13,3 +13,3 @@ bufferSize?: number | ||
constructor(src:ChannelOutputStreaming) { | ||
constructor(src: ChannelOutputStreaming) { | ||
super(src) | ||
@@ -16,0 +16,0 @@ this.bitrate = src.bitrate |
import { File } from './File' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel.segment") | ||
export class ChannelSegment extends File { | ||
@OzoneType('channel.segment') | ||
export class ChannelSegment extends File { | ||
channelId: UUID | ||
@@ -13,3 +13,3 @@ md5: string | ||
constructor(src:ChannelSegment) { | ||
constructor(src: ChannelSegment) { | ||
super(src) | ||
@@ -16,0 +16,0 @@ this.channelId = src.channelId |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("channel.transcoding") | ||
export class ChannelTranscoding extends Item { | ||
@OzoneType('channel.transcoding') | ||
export class ChannelTranscoding extends Item { | ||
audioFormat?: string | ||
@@ -15,3 +15,3 @@ bitrate?: number | ||
constructor(src:ChannelTranscoding) { | ||
constructor(src: ChannelTranscoding) { | ||
super(src) | ||
@@ -18,0 +18,0 @@ this.audioFormat = src.audioFormat |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("collection") | ||
export class Collection extends Item { | ||
@OzoneType('collection') | ||
export class Collection extends Item { | ||
} |
import { Metric } from './Metric' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("counter") | ||
export class Counter extends Metric { | ||
@OzoneType('counter') | ||
export class Counter extends Metric { | ||
count?: number | ||
constructor(src:Counter) { | ||
constructor(src: Counter) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.count = src.count |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.action") | ||
export class DeviceAction extends Item { | ||
@OzoneType('device.action') | ||
export class DeviceAction extends Item { | ||
} |
import { DeviceAction } from './DeviceAction' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.action.changetenant") | ||
export class DeviceActionChangetenant extends DeviceAction { | ||
@OzoneType('device.action.changetenant') | ||
export class DeviceActionChangetenant extends DeviceAction { | ||
tenantId: UUID | ||
constructor(src:DeviceActionChangetenant) { | ||
constructor(src: DeviceActionChangetenant) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.tenantId = src.tenantId |
import { DeviceAction } from './DeviceAction' | ||
import { DeviceEvent } from './DeviceEvent' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.action.event") | ||
export class DeviceActionEvent extends DeviceEvent { | ||
@OzoneType('device.action.event') | ||
export class DeviceActionEvent extends DeviceEvent { | ||
action: DeviceAction | ||
constructor(src:DeviceActionEvent) { | ||
constructor(src: DeviceActionEvent) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.action = src.action |
import { DeviceAction } from './DeviceAction' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.action.turnon") | ||
export class DeviceActionTurnon extends DeviceAction { | ||
@OzoneType('device.action.turnon') | ||
export class DeviceActionTurnon extends DeviceAction { | ||
ttl?: number | ||
constructor(src:DeviceActionTurnon) { | ||
constructor(src: DeviceActionTurnon) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.ttl = src.ttl |
import { Event } from './Event' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.event") | ||
export class DeviceEvent extends Event { | ||
devices?: UUID[] | ||
@OzoneType('device.event') | ||
export class DeviceEvent extends Event { | ||
devices?: UUID[] | ||
network?: UUID | ||
constructor(src:DeviceEvent) { | ||
constructor(src: DeviceEvent) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.devices = src.devices |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.firmware") | ||
export class DeviceFirmware extends Item { | ||
@OzoneType('device.firmware') | ||
export class DeviceFirmware extends Item { | ||
binary?: UUID | ||
@@ -11,3 +11,3 @@ byteSize?: number | ||
constructor(src:DeviceFirmware) { | ||
constructor(src: DeviceFirmware) { | ||
super(src) | ||
@@ -14,0 +14,0 @@ this.binary = src.binary |
import { DeviceFirmware } from './DeviceFirmware' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.firmware.tizen") | ||
export class DeviceFirmwareTizen extends DeviceFirmware { | ||
@OzoneType('device.firmware.tizen') | ||
export class DeviceFirmwareTizen extends DeviceFirmware { | ||
} |
import { FlowrFrontendSettings } from './FlowrFrontendSettings' | ||
import { Principal } from './Principal' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.info") | ||
export class DeviceInfo extends Item implements Principal { | ||
@OzoneType('device.info') | ||
export class DeviceInfo extends Item implements Principal { | ||
activeMacAddress?: string | ||
deviceType?: string | ||
deviceVersion?: string | ||
extraInformation?: string[] | ||
extraInformation?: string[] | ||
frontendSettings?: FlowrFrontendSettings | ||
@@ -22,3 +22,3 @@ frontendVersion?: string | ||
principalName?: string | ||
roles?: UUID[] | ||
roles?: UUID[] | ||
secret?: string | ||
@@ -30,3 +30,3 @@ serialNumber?: string | ||
constructor(src:DeviceInfo) { | ||
constructor(src: DeviceInfo) { | ||
super(src) | ||
@@ -33,0 +33,0 @@ this.activeMacAddress = src.activeMacAddress |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message") | ||
export class DeviceMessage extends Item { | ||
@OzoneType('device.message') | ||
export class DeviceMessage extends Item { | ||
} |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.alert") | ||
export class DeviceMessageAlert extends DeviceMessage { | ||
@OzoneType('device.message.alert') | ||
export class DeviceMessageAlert extends DeviceMessage { | ||
message: string | ||
constructor(src:DeviceMessageAlert) { | ||
constructor(src: DeviceMessageAlert) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.message = src.message |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.email") | ||
export class DeviceMessageEmail extends DeviceMessage { | ||
@OzoneType('device.message.email') | ||
export class DeviceMessageEmail extends DeviceMessage { | ||
from?: string | ||
@@ -11,3 +11,3 @@ message: string | ||
constructor(src:DeviceMessageEmail) { | ||
constructor(src: DeviceMessageEmail) { | ||
super(src) | ||
@@ -14,0 +14,0 @@ this.from = src.from |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.enablevorlon") | ||
export class DeviceMessageEnablevorlon extends DeviceMessage { | ||
@OzoneType('device.message.enablevorlon') | ||
export class DeviceMessageEnablevorlon extends DeviceMessage { | ||
dashboard?: string | ||
constructor(src:DeviceMessageEnablevorlon) { | ||
constructor(src: DeviceMessageEnablevorlon) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.dashboard = src.dashboard |
import { DeviceEvent } from './DeviceEvent' | ||
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.event") | ||
export class DeviceMessageEvent extends DeviceEvent { | ||
@OzoneType('device.message.event') | ||
export class DeviceMessageEvent extends DeviceEvent { | ||
message: DeviceMessage | ||
users?: UUID[] | ||
users?: UUID[] | ||
constructor(src:DeviceMessageEvent) { | ||
constructor(src: DeviceMessageEvent) { | ||
super(src) | ||
@@ -13,0 +13,0 @@ this.message = src.message |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.forcechannel") | ||
export class DeviceMessageForcechannel extends DeviceMessage { | ||
@OzoneType('device.message.forcechannel') | ||
export class DeviceMessageForcechannel extends DeviceMessage { | ||
itemId?: string | ||
@@ -13,3 +13,3 @@ lang?: string | ||
constructor(src:DeviceMessageForcechannel) { | ||
constructor(src: DeviceMessageForcechannel) { | ||
super(src) | ||
@@ -16,0 +16,0 @@ this.itemId = src.itemId |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.fromdevice") | ||
export class DeviceMessageFromdevice extends DeviceMessage { | ||
@OzoneType('device.message.fromdevice') | ||
export class DeviceMessageFromdevice extends DeviceMessage { | ||
sender: UUID | ||
constructor(src:DeviceMessageFromdevice) { | ||
constructor(src: DeviceMessageFromdevice) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.sender = src.sender |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.keypress") | ||
export class DeviceMessageKeypress extends DeviceMessage { | ||
@OzoneType('device.message.keypress') | ||
export class DeviceMessageKeypress extends DeviceMessage { | ||
eventName: string | ||
key?: string | ||
constructor(src:DeviceMessageKeypress) { | ||
constructor(src: DeviceMessageKeypress) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.eventName = src.eventName |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.logs") | ||
export class DeviceMessageLogs extends DeviceMessage { | ||
@OzoneType('device.message.logs') | ||
export class DeviceMessageLogs extends DeviceMessage { | ||
activate?: boolean | ||
constructor(src:DeviceMessageLogs) { | ||
constructor(src: DeviceMessageLogs) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.activate = src.activate |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.messagedeleted") | ||
export class DeviceMessageMessagedeleted extends DeviceMessage { | ||
@OzoneType('device.message.messagedeleted') | ||
export class DeviceMessageMessagedeleted extends DeviceMessage { | ||
messageId: UUID | ||
constructor(src:DeviceMessageMessagedeleted) { | ||
constructor(src: DeviceMessageMessagedeleted) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.messageId = src.messageId |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.notice") | ||
export class DeviceMessageNotice extends DeviceMessage { | ||
@OzoneType('device.message.notice') | ||
export class DeviceMessageNotice extends DeviceMessage { | ||
duration?: number | ||
message: string | ||
constructor(src:DeviceMessageNotice) { | ||
constructor(src: DeviceMessageNotice) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.duration = src.duration |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.reboot") | ||
export class DeviceMessageReboot extends DeviceMessage { | ||
@OzoneType('device.message.reboot') | ||
export class DeviceMessageReboot extends DeviceMessage { | ||
} |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.refresh") | ||
export class DeviceMessageRefresh extends DeviceMessage { | ||
@OzoneType('device.message.refresh') | ||
export class DeviceMessageRefresh extends DeviceMessage { | ||
} |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.reload") | ||
export class DeviceMessageReload extends DeviceMessage { | ||
@OzoneType('device.message.reload') | ||
export class DeviceMessageReload extends DeviceMessage { | ||
} |
import { DeviceMessageFromdevice } from './DeviceMessageFromdevice' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.reply") | ||
@OzoneType('device.message.reply') | ||
export class DeviceMessageReply extends DeviceMessageFromdevice { | ||
originalMessage: UUID | ||
constructor(src:DeviceMessageReply) { | ||
constructor(src: DeviceMessageReply) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.originalMessage = src.originalMessage |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.takescreenshot") | ||
export class DeviceMessageTakescreenshot extends DeviceMessage { | ||
delay?: number[] | ||
@OzoneType('device.message.takescreenshot') | ||
export class DeviceMessageTakescreenshot extends DeviceMessage { | ||
delay?: number[] | ||
inputDeviceId: UUID | ||
screenshotId?: string | ||
constructor(src:DeviceMessageTakescreenshot) { | ||
constructor(src: DeviceMessageTakescreenshot) { | ||
super(src) | ||
@@ -13,0 +13,0 @@ this.delay = src.delay |
import { DeviceMessageReply } from './DeviceMessageReply' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.takescreenshotreply") | ||
export class DeviceMessageTakescreenshotreply extends DeviceMessageReply { | ||
screenshots?: UUID[] | ||
@OzoneType('device.message.takescreenshotreply') | ||
export class DeviceMessageTakescreenshotreply extends DeviceMessageReply { | ||
screenshots?: UUID[] | ||
constructor(src:DeviceMessageTakescreenshotreply) { | ||
constructor(src: DeviceMessageTakescreenshotreply) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.screenshots = src.screenshots |
import { DeviceMessage } from './DeviceMessage' | ||
import { DeviceMessageTicketingTicket } from './DeviceMessageTicketingTicket' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.ticketing") | ||
export class DeviceMessageTicketing extends DeviceMessage { | ||
@OzoneType('device.message.ticketing') | ||
export class DeviceMessageTicketing extends DeviceMessage { | ||
action?: string | ||
location?: string | ||
ticketList?: DeviceMessageTicketingTicket[] | ||
ticketList?: DeviceMessageTicketingTicket[] | ||
constructor(src:DeviceMessageTicketing) { | ||
constructor(src: DeviceMessageTicketing) { | ||
super(src) | ||
@@ -14,0 +14,0 @@ this.action = src.action |
import { DeviceMessage } from './DeviceMessage' | ||
import { DeviceMessageTicketingVisitor } from './DeviceMessageTicketingVisitor' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.ticketing.ticket") | ||
export class DeviceMessageTicketingTicket extends DeviceMessage { | ||
@OzoneType('device.message.ticketing.ticket') | ||
export class DeviceMessageTicketingTicket extends DeviceMessage { | ||
status?: string | ||
@@ -12,3 +12,3 @@ ticketId?: string | ||
constructor(src:DeviceMessageTicketingTicket) { | ||
constructor(src: DeviceMessageTicketingTicket) { | ||
super(src) | ||
@@ -15,0 +15,0 @@ this.status = src.status |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.ticketing.visitor") | ||
export class DeviceMessageTicketingVisitor extends DeviceMessage { | ||
@OzoneType('device.message.ticketing.visitor') | ||
export class DeviceMessageTicketingVisitor extends DeviceMessage { | ||
firstName?: string | ||
lastName?: string | ||
constructor(src:DeviceMessageTicketingVisitor) { | ||
constructor(src: DeviceMessageTicketingVisitor) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.firstName = src.firstName |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.turnoff") | ||
export class DeviceMessageTurnoff extends DeviceMessage { | ||
@OzoneType('device.message.turnoff') | ||
export class DeviceMessageTurnoff extends DeviceMessage { | ||
} |
import { DeviceMessage } from './DeviceMessage' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("device.message.update") | ||
export class DeviceMessageUpdate extends DeviceMessage { | ||
@OzoneType('device.message.update') | ||
export class DeviceMessageUpdate extends DeviceMessage { | ||
firmwareId: UUID | ||
constructor(src:DeviceMessageUpdate) { | ||
constructor(src: DeviceMessageUpdate) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.firmwareId = src.firmwareId |
import { Metric } from './Metric' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("distributionSummary") | ||
export class DistributionSummary extends Metric { | ||
@OzoneType('distributionSummary') | ||
export class DistributionSummary extends Metric { | ||
count?: number | ||
@@ -12,3 +12,3 @@ max?: number | ||
constructor(src:DistributionSummary) { | ||
constructor(src: DistributionSummary) { | ||
super(src) | ||
@@ -15,0 +15,0 @@ this.count = src.count |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("dns.record") | ||
export class DnsRecord extends Item { | ||
@OzoneType('dns.record') | ||
export class DnsRecord extends Item { | ||
dns: UUID | ||
@@ -11,3 +11,3 @@ recordName: string | ||
constructor(src:DnsRecord) { | ||
constructor(src: DnsRecord) { | ||
super(src) | ||
@@ -14,0 +14,0 @@ this.dns = src.dns |
@@ -1,8 +0,8 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("dns.service") | ||
export class DnsService extends Item { | ||
forwarders?: string[] | ||
@OzoneType('dns.service') | ||
export class DnsService extends Item { | ||
forwarders?: string[] | ||
constructor(src:DnsService) { | ||
constructor(src: DnsService) { | ||
super(src) | ||
@@ -9,0 +9,0 @@ this.forwarders = src.forwarders |
import { Media } from './Media' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("document") | ||
export class Document extends Media { | ||
@OzoneType('document') | ||
export class Document extends Media { | ||
} |
@@ -1,9 +0,9 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("documenttemplate") | ||
export class Documenttemplate extends Item { | ||
@OzoneType('documenttemplate') | ||
export class Documenttemplate extends Item { | ||
destination?: string | ||
template?: string | ||
constructor(src:Documenttemplate) { | ||
constructor(src: Documenttemplate) { | ||
super(src) | ||
@@ -10,0 +10,0 @@ this.destination = src.destination |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("eshop.order") | ||
export class EshopOrder extends Item { | ||
@OzoneType('eshop.order') | ||
export class EshopOrder extends Item { | ||
body: string | ||
@@ -9,3 +9,3 @@ creationDate: Instant | ||
constructor(src:EshopOrder) { | ||
constructor(src: EshopOrder) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.body = src.body |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("event") | ||
export class Event extends Item { | ||
@OzoneType('event') | ||
export class Event extends Item { | ||
} |
@@ -1,4 +0,4 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Externalmedia { | ||
export interface Externalmedia { | ||
externalId?: string | ||
@@ -5,0 +5,0 @@ externalSource?: string |
import { Externalmedia } from './Externalmedia' | ||
import { Video } from './Video' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("externalvideo") | ||
export class Externalvideo extends Video implements Externalmedia { | ||
@OzoneType('externalvideo') | ||
export class Externalvideo extends Video implements Externalmedia { | ||
externalDate?: Instant | ||
@@ -14,3 +14,3 @@ externalId?: string | ||
constructor(src:Externalvideo) { | ||
constructor(src: Externalvideo) { | ||
super(src) | ||
@@ -17,0 +17,0 @@ this.externalDate = src.externalDate |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("file") | ||
export class File extends Item { | ||
@OzoneType('file') | ||
export class File extends Item { | ||
blob?: UUID | ||
@@ -9,5 +9,5 @@ fileType?: UUID | ||
uti?: string | ||
utiHierarchy?: string[] | ||
utiHierarchy?: string[] | ||
constructor(src:File) { | ||
constructor(src: File) { | ||
super(src) | ||
@@ -14,0 +14,0 @@ this.blob = src.blob |
import { Principal } from './Principal' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowr.agent") | ||
export class FlowrAgent extends Item implements Principal { | ||
@OzoneType('flowr.agent') | ||
export class FlowrAgent extends Item implements Principal { | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
network: UUID | ||
networks: UUID[] | ||
networks: UUID[] | ||
principalName?: string | ||
roles?: UUID[] | ||
roles?: UUID[] | ||
secret?: string | ||
websocketUrl?: string | ||
constructor(src:FlowrAgent) { | ||
constructor(src: FlowrAgent) { | ||
super(src) | ||
@@ -18,0 +18,0 @@ this.lastLoginDate = src.lastLoginDate |
@@ -1,9 +0,9 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowrconfig") | ||
export class Flowrconfig extends Item { | ||
@OzoneType('flowrconfig') | ||
export class Flowrconfig extends Item { | ||
backendVersion?: number | ||
rootFolder?: UUID | ||
constructor(src:Flowrconfig) { | ||
constructor(src: Flowrconfig) { | ||
super(src) | ||
@@ -10,0 +10,0 @@ this.backendVersion = src.backendVersion |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowr.doctemplate") | ||
export class FlowrDoctemplate extends Item { | ||
@OzoneType('flowr.doctemplate') | ||
export class FlowrDoctemplate extends Item { | ||
attachmentName?: string | ||
@@ -13,3 +13,3 @@ attachmentTemplate?: string | ||
constructor(src:FlowrDoctemplate) { | ||
constructor(src: FlowrDoctemplate) { | ||
super(src) | ||
@@ -16,0 +16,0 @@ this.attachmentName = src.attachmentName |
import { Recording } from './Recording' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowrecording") | ||
export class Flowrecording extends Recording { | ||
@OzoneType('flowrecording') | ||
export class Flowrecording extends Recording { | ||
description?: string | ||
@@ -12,3 +12,3 @@ deviceId: UUID | ||
constructor(src:Flowrecording) { | ||
constructor(src: Flowrecording) { | ||
super(src) | ||
@@ -15,0 +15,0 @@ this.description = src.description |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowr.epg") | ||
export class FlowrEpg extends Item { | ||
@OzoneType('flowr.epg') | ||
export class FlowrEpg extends Item { | ||
timezone?: string | ||
@@ -9,3 +9,3 @@ url?: string | ||
constructor(src:FlowrEpg) { | ||
constructor(src: FlowrEpg) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.timezone = src.timezone |
import { FlowrGeolocation } from './FlowrGeolocation' | ||
import { FlowrRemoteControlSettings } from './FlowrRemoteControlSettings' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowr.frontend.settings") | ||
export class FlowrFrontendSettings extends Item { | ||
@OzoneType('flowr.frontend.settings') | ||
export class FlowrFrontendSettings extends Item { | ||
audioLanguage?: string | ||
@@ -16,3 +16,3 @@ autoUpdate?: boolean | ||
maxVolume?: number | ||
preferredContent?: UUID[] | ||
preferredContent?: UUID[] | ||
startVolume?: number | ||
@@ -22,3 +22,3 @@ subtitlesLanguage?: string | ||
constructor(src:FlowrFrontendSettings) { | ||
constructor(src: FlowrFrontendSettings) { | ||
super(src) | ||
@@ -25,0 +25,0 @@ this.audioLanguage = src.audioLanguage |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowr.geolocation") | ||
export class FlowrGeolocation extends Item { | ||
@OzoneType('flowr.geolocation') | ||
export class FlowrGeolocation extends Item { | ||
address?: string | ||
@@ -9,3 +9,3 @@ latitude?: number | ||
constructor(src:FlowrGeolocation) { | ||
constructor(src: FlowrGeolocation) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.address = src.address |
import { SubscriptionAction } from './SubscriptionAction' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowr.grantcontent") | ||
export class FlowrGrantcontent extends SubscriptionAction { | ||
actionRoles?: string[] | ||
tags?: string[] | ||
@OzoneType('flowr.grantcontent') | ||
export class FlowrGrantcontent extends SubscriptionAction { | ||
actionRoles?: string[] | ||
tags?: string[] | ||
unlimitedRights?: boolean | ||
constructor(src:FlowrGrantcontent) { | ||
constructor(src: FlowrGrantcontent) { | ||
super(src) | ||
@@ -13,0 +13,0 @@ this.actionRoles = src.actionRoles |
@@ -1,6 +0,6 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface FlowrLogoitem { | ||
export interface FlowrLogoitem { | ||
highlightLogo?: UUID | ||
logo?: UUID | ||
} |
@@ -1,4 +0,4 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface FlowrMedia { | ||
export interface FlowrMedia { | ||
localizedDescription?: { [key: string]: string; } | ||
@@ -5,0 +5,0 @@ localizedName?: { [key: string]: string; } |
import { ServiceInfo } from './ServiceInfo' | ||
import { TimestampedItem } from './TimestampedItem' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowr.mediaplay") | ||
export class FlowrMediaplay extends TimestampedItem implements ServiceInfo { | ||
@OzoneType('flowr.mediaplay') | ||
export class FlowrMediaplay extends TimestampedItem implements ServiceInfo { | ||
description?: string | ||
@@ -21,3 +21,3 @@ effectivelyPlayedDuration?: number | ||
constructor(src:FlowrMediaplay) { | ||
constructor(src: FlowrMediaplay) { | ||
super(src) | ||
@@ -24,0 +24,0 @@ this.description = src.description |
@@ -1,8 +0,8 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowr.remote.control.settings") | ||
export class FlowrRemoteControlSettings extends Item { | ||
@OzoneType('flowr.remote.control.settings') | ||
export class FlowrRemoteControlSettings extends Item { | ||
disableIR?: boolean | ||
constructor(src:FlowrRemoteControlSettings) { | ||
constructor(src: FlowrRemoteControlSettings) { | ||
super(src) | ||
@@ -9,0 +9,0 @@ this.disableIR = src.disableIR |
import { ServiceInfo } from './ServiceInfo' | ||
import { TimestampedItem } from './TimestampedItem' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("flowr.scenesdisplay") | ||
export class FlowrScenesdisplay extends TimestampedItem implements ServiceInfo { | ||
@OzoneType('flowr.scenesdisplay') | ||
export class FlowrScenesdisplay extends TimestampedItem implements ServiceInfo { | ||
description?: string | ||
@@ -18,3 +18,3 @@ displayId?: UUID | ||
constructor(src:FlowrScenesdisplay) { | ||
constructor(src: FlowrScenesdisplay) { | ||
super(src) | ||
@@ -21,0 +21,0 @@ this.description = src.description |
@@ -1,4 +0,4 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface FlowrVod { | ||
export interface FlowrVod { | ||
actors?: string | ||
@@ -5,0 +5,0 @@ editors?: string |
import { Media } from './Media' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("folder") | ||
export class Folder extends Media { | ||
@OzoneType('folder') | ||
export class Folder extends Media { | ||
} |
import { Metric } from './Metric' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("functionCounter") | ||
export class FunctionCounter extends Metric { | ||
@OzoneType('functionCounter') | ||
export class FunctionCounter extends Metric { | ||
count?: number | ||
constructor(src:FunctionCounter) { | ||
constructor(src: FunctionCounter) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.count = src.count |
import { Metric } from './Metric' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("functionTimer") | ||
export class FunctionTimer extends Metric { | ||
@OzoneType('functionTimer') | ||
export class FunctionTimer extends Metric { | ||
count?: number | ||
@@ -11,3 +11,3 @@ mean?: number | ||
constructor(src:FunctionTimer) { | ||
constructor(src: FunctionTimer) { | ||
super(src) | ||
@@ -14,0 +14,0 @@ this.count = src.count |
import { Metric } from './Metric' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("gauge") | ||
export class Gauge extends Metric { | ||
@OzoneType('gauge') | ||
export class Gauge extends Metric { | ||
value?: number | ||
constructor(src:Gauge) { | ||
constructor(src: Gauge) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.value = src.value |
import { RestrictedContent } from './RestrictedContent' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("gui") | ||
export class Gui extends Item implements RestrictedContent { | ||
@OzoneType('gui') | ||
export class Gui extends Item implements RestrictedContent { | ||
guiUuid?: UUID | ||
@@ -13,8 +13,8 @@ i18n?: string | ||
onlyShowIfAssetsAvailable?: boolean | ||
packages?: string[] | ||
packages?: string[] | ||
parent?: UUID | ||
restricted?: boolean | ||
tags?: string[] | ||
tags?: string[] | ||
constructor(src:Gui) { | ||
constructor(src: Gui) { | ||
super(src) | ||
@@ -21,0 +21,0 @@ this.guiUuid = src.guiUuid |
import { Media } from './Media' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("image") | ||
export class Image extends Media { | ||
@OzoneType('image') | ||
export class Image extends Media { | ||
dpi?: number | ||
constructor(src:Image) { | ||
constructor(src: Image) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.dpi = src.dpi |
import { DeviceInfo } from './DeviceInfo' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("input.device") | ||
export class InputDevice extends DeviceInfo { | ||
@OzoneType('input.device') | ||
export class InputDevice extends DeviceInfo { | ||
targetDevice?: UUID | ||
constructor(src:InputDevice) { | ||
constructor(src: InputDevice) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.targetDevice = src.targetDevice |
@@ -42,2 +42,7 @@ export type UUID = string | ||
export type Patch<T> = { | ||
[P in keyof T]?: T[P] | null; | ||
} | ||
@OzoneType('item') | ||
export class Item { | ||
@@ -44,0 +49,0 @@ constructor (src?: Item) { |
import { InputDevice } from './InputDevice' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("joystick") | ||
export class Joystick extends InputDevice { | ||
@OzoneType('joystick') | ||
export class Joystick extends InputDevice { | ||
} |
import { Media } from './Media' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("list") | ||
export class ListModel extends Media { | ||
listItems?: UUID[] | ||
@OzoneType('list') | ||
export class ListModel extends Media { | ||
listItems?: UUID[] | ||
constructor(src:ListModel) { | ||
constructor(src: ListModel) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.listItems = src.listItems |
import { ServiceInfo } from './ServiceInfo' | ||
import { TimestampedItem } from './TimestampedItem' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("logItem") | ||
export class LogItem extends TimestampedItem implements ServiceInfo { | ||
@OzoneType('logItem') | ||
export class LogItem extends TimestampedItem implements ServiceInfo { | ||
category: string | ||
@@ -18,3 +18,3 @@ instanceId: string | ||
constructor(src:LogItem) { | ||
constructor(src: LogItem) { | ||
super(src) | ||
@@ -21,0 +21,0 @@ this.category = src.category |
import { Metric } from './Metric' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("longTaskTimer") | ||
export class LongTaskTimer extends Metric { | ||
@OzoneType('longTaskTimer') | ||
export class LongTaskTimer extends Metric { | ||
duration?: number | ||
constructor(src:LongTaskTimer) { | ||
constructor(src: LongTaskTimer) { | ||
super(src) | ||
@@ -11,0 +11,0 @@ this.duration = src.duration |
@@ -5,6 +5,6 @@ import { FlowrMedia } from './FlowrMedia' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("media") | ||
export class Media extends Item implements TagsCustom, FlowrMedia, RestrictedContent { | ||
@OzoneType('media') | ||
export class Media extends Item implements TagsCustom, FlowrMedia, RestrictedContent { | ||
byLine?: string | ||
@@ -14,3 +14,3 @@ caption?: string | ||
city?: string | ||
collections?: UUID[] | ||
collections?: UUID[] | ||
country?: string | ||
@@ -20,9 +20,9 @@ creationDate?: Instant | ||
date?: Instant | ||
derivedFiles?: UUID[] | ||
derivedFiles?: UUID[] | ||
file?: UUID | ||
fileUTI?: string[] | ||
fileUTI?: string[] | ||
fullText?: UUID | ||
height?: number | ||
indexed_fulltext?: string | ||
keywords?: string[] | ||
keywords?: string[] | ||
length?: number | ||
@@ -39,3 +39,3 @@ localizedDescription?: { [key: string]: string; } | ||
previewRatio?: number | ||
publications?: string[] | ||
publications?: string[] | ||
representedBy?: UUID | ||
@@ -46,3 +46,3 @@ restricted?: boolean | ||
status?: string | ||
stocks?: UUID[] | ||
stocks?: UUID[] | ||
title?: string | ||
@@ -52,3 +52,3 @@ usage?: string | ||
constructor(src:Media) { | ||
constructor(src: Media) { | ||
super(src) | ||
@@ -55,0 +55,0 @@ this.byLine = src.byLine |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("message") | ||
export class Message extends Item { | ||
@OzoneType('message') | ||
export class Message extends Item { | ||
attachments?: string | ||
@@ -22,3 +22,3 @@ body?: string | ||
constructor(src:Message) { | ||
constructor(src: Message) { | ||
super(src) | ||
@@ -25,0 +25,0 @@ this.attachments = src.attachments |
import { ServiceInfo } from './ServiceInfo' | ||
import { TimestampedItem } from './TimestampedItem' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("metric") | ||
export class Metric extends TimestampedItem implements ServiceInfo { | ||
@OzoneType('metric') | ||
export class Metric extends TimestampedItem implements ServiceInfo { | ||
instanceId: string | ||
@@ -12,5 +12,5 @@ properties?: { [key: string]:string; } | ||
serviceName?: string | ||
tags?: string[] | ||
tags?: string[] | ||
constructor(src:Metric) { | ||
constructor(src: Metric) { | ||
super(src) | ||
@@ -17,0 +17,0 @@ this.instanceId = src.instanceId |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("network") | ||
export class Network extends Item { | ||
@OzoneType('network') | ||
export class Network extends Item { | ||
address: string | ||
@@ -10,3 +10,3 @@ dns?: UUID | ||
constructor(src:Network) { | ||
constructor(src: Network) { | ||
super(src) | ||
@@ -13,0 +13,0 @@ this.address = src.address |
import { FlowrFrontendSettings } from './FlowrFrontendSettings' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("organization.info") | ||
export class OrganizationInfo extends Item { | ||
@OzoneType('organization.info') | ||
export class OrganizationInfo extends Item { | ||
frontendSettings?: FlowrFrontendSettings | ||
@@ -14,3 +14,3 @@ rootGuiId?: UUID | ||
constructor(src:OrganizationInfo) { | ||
constructor(src: OrganizationInfo) { | ||
super(src) | ||
@@ -17,0 +17,0 @@ this.frontendSettings = src.frontendSettings |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("passingtime") | ||
export class Passingtime extends Item { | ||
@OzoneType('passingtime') | ||
export class Passingtime extends Item { | ||
expectedArrivalTime?: Instant | ||
@@ -9,3 +9,3 @@ lineId?: number | ||
constructor(src:Passingtime) { | ||
constructor(src: Passingtime) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.expectedArrivalTime = src.expectedArrivalTime |
import { File } from './File' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("playlist") | ||
export class Playlist extends File { | ||
@OzoneType('playlist') | ||
export class Playlist extends File { | ||
} |
import { File } from './File' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("playlist.folder") | ||
export class PlaylistFolder extends File { | ||
@OzoneType('playlist.folder') | ||
export class PlaylistFolder extends File { | ||
} |
@@ -1,9 +0,9 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("postingindex") | ||
export class Postingindex extends Item { | ||
@OzoneType('postingindex') | ||
export class Postingindex extends Item { | ||
creationDate?: number | ||
sequentialIndex?: number | ||
constructor(src:Postingindex) { | ||
constructor(src: Postingindex) { | ||
super(src) | ||
@@ -10,0 +10,0 @@ this.creationDate = src.creationDate |
@@ -1,8 +0,8 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Principal { | ||
export interface Principal { | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
roles?: UUID[] | ||
roles?: UUID[] | ||
secret?: string | ||
} |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("recording") | ||
export class Recording extends Item { | ||
@OzoneType('recording') | ||
export class Recording extends Item { | ||
channelId: UUID | ||
@@ -11,3 +11,3 @@ duration?: number | ||
constructor(src:Recording) { | ||
constructor(src: Recording) { | ||
super(src) | ||
@@ -14,0 +14,0 @@ this.channelId = src.channelId |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("reservation") | ||
export class Reservation extends Item { | ||
@OzoneType('reservation') | ||
export class Reservation extends Item { | ||
a0?: string | ||
@@ -41,3 +41,3 @@ a1?: string | ||
constructor(src:Reservation) { | ||
constructor(src: Reservation) { | ||
super(src) | ||
@@ -44,0 +44,0 @@ this.a0 = src.a0 |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface RestrictedContent { | ||
export interface RestrictedContent { | ||
restricted?: boolean | ||
} |
@@ -1,9 +0,9 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("room") | ||
export class Room extends Item { | ||
@OzoneType('room') | ||
export class Room extends Item { | ||
roomNumber?: string | ||
wakeUps?: string[] | ||
wakeUps?: string[] | ||
constructor(src:Room) { | ||
constructor(src: Room) { | ||
super(src) | ||
@@ -10,0 +10,0 @@ this.roomNumber = src.roomNumber |
@@ -1,4 +0,4 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface ServiceInfo { | ||
export interface ServiceInfo { | ||
instanceId: string | ||
@@ -5,0 +5,0 @@ properties?: { [key: string]:string; } |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("stock") | ||
export class Stock extends Item { | ||
@OzoneType('stock') | ||
export class Stock extends Item { | ||
} |
@@ -1,8 +0,8 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("subscription") | ||
export class Subscription extends Item { | ||
@OzoneType('subscription') | ||
export class Subscription extends Item { | ||
action?: UUID | ||
description?: string | ||
devices?: UUID[] | ||
devices?: UUID[] | ||
endDate?: Instant | ||
@@ -12,3 +12,3 @@ isActive?: boolean | ||
constructor(src:Subscription) { | ||
constructor(src: Subscription) { | ||
super(src) | ||
@@ -15,0 +15,0 @@ this.action = src.action |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("subscription.action") | ||
export class SubscriptionAction extends Item { | ||
@OzoneType('subscription.action') | ||
export class SubscriptionAction extends Item { | ||
} |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("survey") | ||
export class Survey extends Item { | ||
@OzoneType('survey') | ||
export class Survey extends Item { | ||
category?: UUID | ||
@@ -9,3 +9,3 @@ index?: number | ||
constructor(src:Survey) { | ||
constructor(src: Survey) { | ||
super(src) | ||
@@ -12,0 +12,0 @@ this.category = src.category |
@@ -1,9 +0,9 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("survey.category") | ||
export class SurveyCategory extends Item { | ||
@OzoneType('survey.category') | ||
export class SurveyCategory extends Item { | ||
description?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
constructor(src:SurveyCategory) { | ||
constructor(src: SurveyCategory) { | ||
super(src) | ||
@@ -10,0 +10,0 @@ this.description = src.description |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("survey.response") | ||
export class SurveyResponse extends Item { | ||
@OzoneType('survey.response') | ||
export class SurveyResponse extends Item { | ||
creationDate: Instant | ||
@@ -12,3 +12,3 @@ device: UUID | ||
constructor(src:SurveyResponse) { | ||
constructor(src: SurveyResponse) { | ||
super(src) | ||
@@ -15,0 +15,0 @@ this.creationDate = src.creationDate |
@@ -1,4 +0,4 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface TagsCustom { | ||
export interface TagsCustom { | ||
} |
import { Gauge } from './Gauge' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("timeGauge") | ||
export class TimeGauge extends Gauge { | ||
@OzoneType('timeGauge') | ||
export class TimeGauge extends Gauge { | ||
} |
import { Metric } from './Metric' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("timer") | ||
export class Timer extends Metric { | ||
@OzoneType('timer') | ||
export class Timer extends Metric { | ||
count?: number | ||
@@ -12,3 +12,3 @@ max?: number | ||
constructor(src:Timer) { | ||
constructor(src: Timer) { | ||
super(src) | ||
@@ -15,0 +15,0 @@ this.count = src.count |
@@ -1,8 +0,8 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("timestampedItem") | ||
export class TimestampedItem extends Item { | ||
@OzoneType('timestampedItem') | ||
export class TimestampedItem extends Item { | ||
date?: Instant | ||
constructor(src:TimestampedItem) { | ||
constructor(src: TimestampedItem) { | ||
super(src) | ||
@@ -9,0 +9,0 @@ this.date = src.date |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("tizenfirmware") | ||
export class Tizenfirmware extends Item { | ||
@OzoneType('tizenfirmware') | ||
export class Tizenfirmware extends Item { | ||
binary?: UUID | ||
@@ -11,3 +11,3 @@ description?: string | ||
constructor(src:Tizenfirmware) { | ||
constructor(src: Tizenfirmware) { | ||
super(src) | ||
@@ -14,0 +14,0 @@ this.binary = src.binary |
@@ -1,5 +0,5 @@ | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("vehicleposition") | ||
export class Vehicleposition extends Item { | ||
@OzoneType('vehicleposition') | ||
export class Vehicleposition extends Item { | ||
directionId?: number | ||
@@ -10,3 +10,3 @@ distanceFromPoint?: number | ||
constructor(src:Vehicleposition) { | ||
constructor(src: Vehicleposition) { | ||
super(src) | ||
@@ -13,0 +13,0 @@ this.directionId = src.directionId |
@@ -5,6 +5,6 @@ import { FlowrLogoitem } from './FlowrLogoitem' | ||
import {Item, UUID, Instant, OzoneType} from './Item' | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
@OzoneType("video") | ||
export class Video extends Media implements FlowrLogoitem, FlowrVod { | ||
@OzoneType('video') | ||
export class Video extends Media implements FlowrLogoitem, FlowrVod { | ||
actors?: string | ||
@@ -27,3 +27,3 @@ editors?: string | ||
constructor(src:Video) { | ||
constructor(src: Video) { | ||
super(src) | ||
@@ -30,0 +30,0 @@ this.actors = src.actors |
{ | ||
"name": "ozone-type", | ||
"version": "4.1.3-alpha.1", | ||
"version": "4.1.3-alpha.2", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1873995
20544
0