ozone-type
Advanced tools
Comparing version 4.1.3-alpha.0 to 4.1.3-alpha.1
@@ -13,2 +13,3 @@ import { Item, UUID } from './Item'; | ||
price?: number; | ||
constructor(src: Article); | ||
} |
@@ -9,2 +9,3 @@ import { Item } from './Item'; | ||
}; | ||
constructor(src: ArticleCategory); | ||
} |
@@ -7,2 +7,3 @@ import { FlowrLogoitem } from './FlowrLogoitem'; | ||
logo?: UUID; | ||
constructor(src: Audio); | ||
} |
import { Media } from './Media'; | ||
import { UUID } from './Item'; | ||
export declare class Basket extends Media { | ||
basketItems?: [UUID]; | ||
basketItems?: UUID[]; | ||
constructor(src: Basket); | ||
} |
import { Media } from './Media'; | ||
import { UUID } from './Item'; | ||
export declare class Batch extends Media { | ||
batchItems?: [UUID]; | ||
batchItems?: UUID[]; | ||
constructor(src: Batch); | ||
} |
@@ -7,3 +7,3 @@ import { ChannelInput } from './ChannelInput'; | ||
export declare class Channel extends Item implements RestrictedContent, FlowrLogoitem { | ||
aliases?: [string]; | ||
aliases?: string[]; | ||
bufferDuration?: number; | ||
@@ -13,3 +13,3 @@ cbUrl?: string; | ||
channelUuid?: UUID; | ||
defaultPackages?: [string]; | ||
defaultPackages?: string[]; | ||
enabled?: boolean; | ||
@@ -19,5 +19,5 @@ highlightLogo?: UUID; | ||
input?: ChannelInput; | ||
keywords?: [string]; | ||
languageIndexes?: [string]; | ||
languages?: [string]; | ||
keywords?: string[]; | ||
languageIndexes?: string[]; | ||
languages?: string[]; | ||
logo?: UUID; | ||
@@ -27,9 +27,10 @@ multicastUrl?: string; | ||
output?: ChannelOutput; | ||
restricted: boolean; | ||
scenes?: [string]; | ||
restricted?: boolean; | ||
scenes?: string[]; | ||
storage?: string; | ||
transcoderEnabled?: boolean; | ||
transcodingEnabled?: boolean; | ||
tvGuideNames?: [string]; | ||
tvGuideNames?: string[]; | ||
verticalRes?: number; | ||
constructor(src: Channel); | ||
} |
import { ChannelInput } from './ChannelInput'; | ||
export declare class ChannelInputMulticast extends ChannelInput { | ||
url: string; | ||
constructor(src: ChannelInputMulticast); | ||
} |
import { ChannelInput } from './ChannelInput'; | ||
export declare class ChannelInputRtmp extends ChannelInput { | ||
port: number; | ||
constructor(src: ChannelInputRtmp); | ||
} |
@@ -5,2 +5,3 @@ import { ChannelInput } from './ChannelInput'; | ||
url: string; | ||
constructor(src: ChannelInputScreencast); | ||
} |
@@ -8,4 +8,5 @@ import { ChannelOutput } from './ChannelOutput'; | ||
segmentDuration?: number; | ||
storage: string; | ||
transcodings?: [ChannelTranscoding]; | ||
storage?: string; | ||
transcodings?: ChannelTranscoding[]; | ||
constructor(src: ChannelOutputRecording); | ||
} |
@@ -8,2 +8,3 @@ import { ChannelOutput } from './ChannelOutput'; | ||
url: string; | ||
constructor(src: ChannelOutputStreaming); | ||
} |
@@ -9,2 +9,3 @@ import { File } from './File'; | ||
stop: Instant; | ||
constructor(src: ChannelSegment); | ||
} |
import { Item } from './Item'; | ||
export declare class ChannelTranscoding extends Item { | ||
audioFormat: string; | ||
audioFormat?: string; | ||
bitrate?: number; | ||
bitrateVariation?: number; | ||
copySubtitles: boolean; | ||
deinterlace: boolean; | ||
copySubtitles?: boolean; | ||
deinterlace?: boolean; | ||
height?: number; | ||
rotation?: string; | ||
videoFormat: string; | ||
videoFormat?: string; | ||
width?: number; | ||
constructor(src: ChannelTranscoding); | ||
} |
import { Metric } from './Metric'; | ||
export declare class Counter extends Metric { | ||
count?: number; | ||
constructor(src: Counter); | ||
} |
@@ -5,2 +5,3 @@ import { DeviceAction } from './DeviceAction'; | ||
tenantId: UUID; | ||
constructor(src: DeviceActionChangetenant); | ||
} |
@@ -5,2 +5,3 @@ import { DeviceAction } from './DeviceAction'; | ||
action: DeviceAction; | ||
constructor(src: DeviceActionEvent); | ||
} |
import { DeviceAction } from './DeviceAction'; | ||
export declare class DeviceActionTurnon extends DeviceAction { | ||
ttl?: number; | ||
constructor(src: DeviceActionTurnon); | ||
} |
import { Event } from './Event'; | ||
import { UUID } from './Item'; | ||
export declare class DeviceEvent extends Event { | ||
devices?: [UUID]; | ||
devices?: UUID[]; | ||
network?: UUID; | ||
constructor(src: DeviceEvent); | ||
} |
@@ -8,2 +8,3 @@ import { Item, UUID } from './Item'; | ||
softwareVersion?: string; | ||
constructor(src: DeviceFirmware); | ||
} |
@@ -8,3 +8,3 @@ import { FlowrFrontendSettings } from './FlowrFrontendSettings'; | ||
deviceVersion?: string; | ||
extraInformation?: [string]; | ||
extraInformation?: string[]; | ||
frontendSettings?: FlowrFrontendSettings; | ||
@@ -19,4 +19,4 @@ frontendVersion?: string; | ||
network?: UUID; | ||
principalName: string; | ||
roles?: [UUID]; | ||
principalName?: string; | ||
roles?: UUID[]; | ||
secret?: string; | ||
@@ -27,2 +27,3 @@ serialNumber?: string; | ||
validMacAddress?: string; | ||
constructor(src: DeviceInfo); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
export declare class DeviceMessageAlert extends DeviceMessage { | ||
message: string; | ||
constructor(src: DeviceMessageAlert); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
export declare class DeviceMessageEmail extends DeviceMessage { | ||
from: string; | ||
from?: string; | ||
message: string; | ||
subject: string; | ||
subject?: string; | ||
constructor(src: DeviceMessageEmail); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
export declare class DeviceMessageEnablevorlon extends DeviceMessage { | ||
dashboard?: string; | ||
constructor(src: DeviceMessageEnablevorlon); | ||
} |
@@ -6,3 +6,4 @@ import { DeviceEvent } from './DeviceEvent'; | ||
message: DeviceMessage; | ||
users?: [UUID]; | ||
users?: UUID[]; | ||
constructor(src: DeviceMessageEvent); | ||
} |
@@ -8,2 +8,3 @@ import { DeviceMessage } from './DeviceMessage'; | ||
volume?: number; | ||
constructor(src: DeviceMessageForcechannel); | ||
} |
@@ -5,2 +5,3 @@ import { DeviceMessage } from './DeviceMessage'; | ||
sender: UUID; | ||
constructor(src: DeviceMessageFromdevice); | ||
} |
@@ -5,2 +5,3 @@ import { DeviceMessage } from './DeviceMessage'; | ||
key?: string; | ||
constructor(src: DeviceMessageKeypress); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
export declare class DeviceMessageLogs extends DeviceMessage { | ||
activate: boolean; | ||
activate?: boolean; | ||
constructor(src: DeviceMessageLogs); | ||
} |
@@ -5,2 +5,3 @@ import { DeviceMessage } from './DeviceMessage'; | ||
messageId: UUID; | ||
constructor(src: DeviceMessageMessagedeleted); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
export declare class DeviceMessageNotice extends DeviceMessage { | ||
duration: number; | ||
duration?: number; | ||
message: string; | ||
constructor(src: DeviceMessageNotice); | ||
} |
@@ -5,2 +5,3 @@ import { DeviceMessageFromdevice } from './DeviceMessageFromdevice'; | ||
originalMessage: UUID; | ||
constructor(src: DeviceMessageReply); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
import { UUID } from './Item'; | ||
export declare class DeviceMessageTakescreenshot extends DeviceMessage { | ||
delay?: [number]; | ||
delay?: number[]; | ||
inputDeviceId: UUID; | ||
screenshotId?: string; | ||
constructor(src: DeviceMessageTakescreenshot); | ||
} |
import { DeviceMessageReply } from './DeviceMessageReply'; | ||
import { UUID } from './Item'; | ||
export declare class DeviceMessageTakescreenshotreply extends DeviceMessageReply { | ||
screenshots?: [UUID]; | ||
screenshots?: UUID[]; | ||
constructor(src: DeviceMessageTakescreenshotreply); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
import { DeviceMessageTicketingTicket } from './DeviceMessageTicketingTicket'; | ||
export declare class DeviceMessageTicketing extends DeviceMessage { | ||
action: string; | ||
location: string; | ||
ticketList?: [DeviceMessageTicketingTicket]; | ||
action?: string; | ||
location?: string; | ||
ticketList?: DeviceMessageTicketingTicket[]; | ||
constructor(src: DeviceMessageTicketing); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
import { DeviceMessageTicketingVisitor } from './DeviceMessageTicketingVisitor'; | ||
export declare class DeviceMessageTicketingTicket extends DeviceMessage { | ||
status: string; | ||
ticketId: string; | ||
status?: string; | ||
ticketId?: string; | ||
visitor?: DeviceMessageTicketingVisitor; | ||
constructor(src: DeviceMessageTicketingTicket); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
export declare class DeviceMessageTicketingVisitor extends DeviceMessage { | ||
firstName: string; | ||
lastName: string; | ||
firstName?: string; | ||
lastName?: string; | ||
constructor(src: DeviceMessageTicketingVisitor); | ||
} |
@@ -5,2 +5,3 @@ import { DeviceMessage } from './DeviceMessage'; | ||
firmwareId: UUID; | ||
constructor(src: DeviceMessageUpdate); | ||
} |
@@ -7,2 +7,3 @@ import { Metric } from './Metric'; | ||
totalAmount?: number; | ||
constructor(src: DistributionSummary); | ||
} |
@@ -8,2 +8,3 @@ import { Item, UUID } from './Item'; | ||
value: string; | ||
constructor(src: DnsRecord); | ||
} |
import { Item } from './Item'; | ||
export declare class DnsService extends Item { | ||
forwarders?: [string]; | ||
forwarders?: string[]; | ||
constructor(src: DnsService); | ||
} |
@@ -5,2 +5,3 @@ import { Item } from './Item'; | ||
template?: string; | ||
constructor(src: Documenttemplate); | ||
} |
@@ -6,2 +6,3 @@ import { Item, UUID, Instant } from './Item'; | ||
device: UUID; | ||
constructor(src: EshopOrder); | ||
} |
@@ -10,2 +10,3 @@ import { Externalmedia } from './Externalmedia'; | ||
externalValidityDate?: Instant; | ||
constructor(src: Externalvideo); | ||
} |
@@ -9,3 +9,4 @@ import { Item, UUID } from './Item'; | ||
uti?: string; | ||
utiHierarchy?: [string]; | ||
utiHierarchy?: string[]; | ||
constructor(src: File); | ||
} |
@@ -7,7 +7,8 @@ import { Principal } from './Principal'; | ||
network: UUID; | ||
networks: [UUID]; | ||
principalName: string; | ||
roles?: [UUID]; | ||
networks: UUID[]; | ||
principalName?: string; | ||
roles?: UUID[]; | ||
secret?: string; | ||
websocketUrl?: string; | ||
constructor(src: FlowrAgent); | ||
} |
@@ -5,2 +5,3 @@ import { Item, UUID } from './Item'; | ||
rootFolder?: UUID; | ||
constructor(src: Flowrconfig); | ||
} |
@@ -10,2 +10,3 @@ import { Item } from './Item'; | ||
subjectTemplate?: string; | ||
constructor(src: FlowrDoctemplate); | ||
} |
@@ -8,2 +8,3 @@ import { Recording } from './Recording'; | ||
thumbnail?: string; | ||
constructor(src: Flowrecording); | ||
} |
@@ -6,2 +6,3 @@ import { Item } from './Item'; | ||
xslt?: string; | ||
constructor(src: FlowrEpg); | ||
} |
import { FlowrGeolocation } from './FlowrGeolocation'; | ||
import { FlowrRemoteControlSettings } from './FlowrRemoteControlSettings'; | ||
import { Item, UUID } from './Item'; | ||
@@ -7,2 +8,3 @@ export declare class FlowrFrontendSettings extends Item { | ||
bootPageId?: UUID; | ||
flowrRemoteControlSettings?: FlowrRemoteControlSettings; | ||
interfaceLanguage?: string; | ||
@@ -12,6 +14,7 @@ lastChannelId?: UUID; | ||
maxVolume?: number; | ||
preferredContent?: [UUID]; | ||
preferredContent?: UUID[]; | ||
startVolume?: number; | ||
subtitlesLanguage?: string; | ||
user?: UUID; | ||
constructor(src: FlowrFrontendSettings); | ||
} |
@@ -6,2 +6,3 @@ import { Item } from './Item'; | ||
longitude?: number; | ||
constructor(src: FlowrGeolocation); | ||
} |
import { SubscriptionAction } from './SubscriptionAction'; | ||
export declare class FlowrGrantcontent extends SubscriptionAction { | ||
actionRoles?: [string]; | ||
tags?: [string]; | ||
unlimitedRights: boolean; | ||
actionRoles?: string[]; | ||
tags?: string[]; | ||
unlimitedRights?: boolean; | ||
constructor(src: FlowrGrantcontent); | ||
} |
@@ -19,2 +19,3 @@ import { ServiceInfo } from './ServiceInfo'; | ||
userAgent?: string; | ||
constructor(src: FlowrMediaplay); | ||
} |
@@ -16,2 +16,3 @@ import { ServiceInfo } from './ServiceInfo'; | ||
userAgent?: string; | ||
constructor(src: FlowrScenesdisplay); | ||
} |
import { Metric } from './Metric'; | ||
export declare class FunctionCounter extends Metric { | ||
count?: number; | ||
constructor(src: FunctionCounter); | ||
} |
@@ -6,2 +6,3 @@ import { Metric } from './Metric'; | ||
totalTime?: number; | ||
constructor(src: FunctionTimer); | ||
} |
import { Metric } from './Metric'; | ||
export declare class Gauge extends Metric { | ||
value?: number; | ||
constructor(src: Gauge); | ||
} |
@@ -10,6 +10,7 @@ import { RestrictedContent } from './RestrictedContent'; | ||
onlyShowIfAssetsAvailable?: boolean; | ||
packages?: [string]; | ||
packages?: string[]; | ||
parent?: UUID; | ||
restricted: boolean; | ||
tags?: [string]; | ||
restricted?: boolean; | ||
tags?: string[]; | ||
constructor(src: Gui); | ||
} |
import { Media } from './Media'; | ||
export declare class Image extends Media { | ||
dpi?: number; | ||
constructor(src: Image); | ||
} |
@@ -5,2 +5,3 @@ import { DeviceInfo } from './DeviceInfo'; | ||
targetDevice?: UUID; | ||
constructor(src: InputDevice); | ||
} |
export declare type UUID = string; | ||
export declare type Instant = string; | ||
export declare class ItemError { | ||
fields?: [string]; | ||
export interface ItemError { | ||
fields?: string[]; | ||
message?: string; | ||
} | ||
export declare class ValidityError extends ItemError { | ||
export interface ValidityError extends ItemError { | ||
} | ||
export declare class SecurityError extends ItemError { | ||
export interface SecurityError extends ItemError { | ||
} | ||
export declare class PersistenceError extends ItemError { | ||
export interface PersistenceError extends ItemError { | ||
} | ||
export declare class ItemMeta { | ||
state?: State; | ||
validity?: Validity; | ||
security?: Security; | ||
persistence?: Persistence; | ||
validityErrors?: [ValidityError]; | ||
securityErrors?: [SecurityError]; | ||
persistenceErrors?: [PersistenceError]; | ||
export interface ItemMeta { | ||
state: State; | ||
validity: Validity; | ||
security: Security; | ||
persistence: Persistence; | ||
validityErrors?: ValidityError[]; | ||
securityErrors?: SecurityError[]; | ||
persistenceErrors?: PersistenceError[]; | ||
} | ||
@@ -42,11 +42,19 @@ export declare enum State { | ||
} | ||
export declare class Item { | ||
export declare type FromOzone<T extends Item> = T & { | ||
id: UUID; | ||
version: UUID; | ||
_meta: ItemMeta; | ||
tenant: UUID; | ||
type: string; | ||
_meta: ItemMeta; | ||
}; | ||
export declare class Item { | ||
constructor(src?: Item); | ||
id?: UUID; | ||
version?: UUID; | ||
type?: string; | ||
_meta?: ItemMeta; | ||
name?: string; | ||
deleted?: boolean; | ||
traits?: [string]; | ||
tenant: UUID; | ||
traits?: string[]; | ||
tenant?: UUID; | ||
creationUser?: UUID; | ||
@@ -53,0 +61,0 @@ modificationUser?: UUID; |
import { Media } from './Media'; | ||
import { UUID } from './Item'; | ||
export declare class ListModel extends Media { | ||
listItems?: [UUID]; | ||
listItems?: UUID[]; | ||
constructor(src: ListModel); | ||
} |
@@ -15,2 +15,3 @@ import { ServiceInfo } from './ServiceInfo'; | ||
thread: string; | ||
constructor(src: LogItem); | ||
} |
import { Metric } from './Metric'; | ||
export declare class LongTaskTimer extends Metric { | ||
duration?: number; | ||
constructor(src: LongTaskTimer); | ||
} |
@@ -10,3 +10,3 @@ import { FlowrMedia } from './FlowrMedia'; | ||
city?: string; | ||
collections?: [UUID]; | ||
collections?: UUID[]; | ||
country?: string; | ||
@@ -16,9 +16,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; | ||
@@ -43,12 +43,13 @@ localizedDescription?: { | ||
previewRatio?: number; | ||
publications?: [string]; | ||
publications?: string[]; | ||
representedBy?: UUID; | ||
restricted: boolean; | ||
restricted?: boolean; | ||
source?: string; | ||
specialInstructions?: string; | ||
status?: string; | ||
stocks?: [UUID]; | ||
stocks?: UUID[]; | ||
title?: string; | ||
usage?: string; | ||
width?: number; | ||
constructor(src: Media); | ||
} |
@@ -19,2 +19,3 @@ import { Item, UUID } from './Item'; | ||
toRoomNumber?: string; | ||
constructor(src: Message); | ||
} |
@@ -10,3 +10,4 @@ import { ServiceInfo } from './ServiceInfo'; | ||
serviceName?: string; | ||
tags?: [string]; | ||
tags?: string[]; | ||
constructor(src: Metric); | ||
} |
@@ -7,2 +7,3 @@ import { Item, UUID } from './Item'; | ||
websocketUrl?: string; | ||
constructor(src: Network); | ||
} |
@@ -10,2 +10,3 @@ import { FlowrFrontendSettings } from './FlowrFrontendSettings'; | ||
storyboards?: string; | ||
constructor(src: OrganizationInfo); | ||
} |
@@ -6,2 +6,3 @@ import { Item, Instant } from './Item'; | ||
pointId?: number; | ||
constructor(src: Passingtime); | ||
} |
@@ -5,2 +5,3 @@ import { Item } from './Item'; | ||
sequentialIndex?: number; | ||
constructor(src: Postingindex); | ||
} |
@@ -5,4 +5,4 @@ import { UUID, Instant } from './Item'; | ||
lastLoginIpAddress?: string; | ||
roles?: [UUID]; | ||
roles?: UUID[]; | ||
secret?: string; | ||
} |
@@ -8,2 +8,3 @@ import { Item, UUID, Instant } from './Item'; | ||
video?: UUID; | ||
constructor(src: Recording); | ||
} |
@@ -38,2 +38,3 @@ import { Item } from './Item'; | ||
workstationId?: string; | ||
constructor(src: Reservation); | ||
} |
export interface RestrictedContent { | ||
restricted: boolean; | ||
restricted?: boolean; | ||
} |
import { Item } from './Item'; | ||
export declare class Room extends Item { | ||
roomNumber?: string; | ||
wakeUps?: [string]; | ||
wakeUps?: string[]; | ||
constructor(src: Room); | ||
} |
@@ -5,6 +5,7 @@ import { Item, UUID, Instant } from './Item'; | ||
description?: string; | ||
devices?: [UUID]; | ||
devices?: UUID[]; | ||
endDate?: Instant; | ||
isActive: boolean; | ||
isActive?: boolean; | ||
startDate?: Instant; | ||
constructor(src: Subscription); | ||
} |
@@ -8,2 +8,3 @@ import { Item, UUID } from './Item'; | ||
}; | ||
constructor(src: Survey); | ||
} |
@@ -9,2 +9,3 @@ import { Item } from './Item'; | ||
}; | ||
constructor(src: SurveyCategory); | ||
} |
@@ -9,2 +9,3 @@ import { Item, UUID, Instant } from './Item'; | ||
survey: UUID; | ||
constructor(src: SurveyResponse); | ||
} |
@@ -7,2 +7,3 @@ import { Metric } from './Metric'; | ||
totalTime?: number; | ||
constructor(src: Timer); | ||
} |
import { Item, Instant } from './Item'; | ||
export declare class TimestampedItem extends Item { | ||
date?: Instant; | ||
constructor(src: TimestampedItem); | ||
} |
@@ -8,2 +8,3 @@ import { Item, UUID } from './Item'; | ||
swVersion?: string; | ||
constructor(src: Tizenfirmware); | ||
} |
@@ -7,2 +7,3 @@ import { Item } from './Item'; | ||
pointId?: number; | ||
constructor(src: Vehicleposition); | ||
} |
@@ -24,2 +24,3 @@ import { FlowrLogoitem } from './FlowrLogoitem'; | ||
year?: number; | ||
constructor(src: Video); | ||
} |
@@ -5,8 +5,18 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Article extends Item { | ||
category?: UUID | ||
description?: { [key: string]: string; } | ||
index?: number | ||
localizedName?: { [key: string]: string; } | ||
logo?: UUID | ||
price?: number | ||
} | ||
category?: UUID | ||
description?: { [key: string]: string; } | ||
index?: number | ||
localizedName?: { [key: string]: string; } | ||
logo?: UUID | ||
price?: number | ||
constructor(src:Article) { | ||
super(src) | ||
this.category = src.category | ||
this.description = src.description | ||
this.index = src.index | ||
this.localizedName = src.localizedName | ||
this.logo = src.logo | ||
this.price = src.price | ||
} | ||
} |
@@ -5,4 +5,10 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class ArticleCategory extends Item { | ||
description?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
} | ||
description?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
constructor(src:ArticleCategory) { | ||
super(src) | ||
this.description = src.description | ||
this.localizedName = src.localizedName | ||
} | ||
} |
@@ -8,4 +8,10 @@ import { FlowrLogoitem } from './FlowrLogoitem' | ||
export class Audio extends Media implements FlowrLogoitem { | ||
highlightLogo?: UUID | ||
logo?: UUID | ||
} | ||
highlightLogo?: UUID | ||
logo?: UUID | ||
constructor(src:Audio) { | ||
super(src) | ||
this.highlightLogo = src.highlightLogo | ||
this.logo = src.logo | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { Media } from './Media' | ||
export class Basket extends Media { | ||
basketItems?: [UUID] | ||
} | ||
basketItems?: UUID[] | ||
constructor(src:Basket) { | ||
super(src) | ||
this.basketItems = src.basketItems | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { Media } from './Media' | ||
export class Batch extends Media { | ||
batchItems?: [UUID] | ||
} | ||
batchItems?: UUID[] | ||
constructor(src:Batch) { | ||
super(src) | ||
this.batchItems = src.batchItems | ||
} | ||
} |
@@ -10,26 +10,54 @@ import { ChannelInput } from './ChannelInput' | ||
export class Channel extends Item implements RestrictedContent, FlowrLogoitem { | ||
aliases?: [string] | ||
bufferDuration?: number | ||
cbUrl?: string | ||
channelType?: string | ||
channelUuid?: UUID | ||
defaultPackages?: [string] | ||
enabled?: boolean | ||
highlightLogo?: UUID | ||
horizontalRes?: number | ||
input?: ChannelInput | ||
keywords?: [string] | ||
languageIndexes?: [string] | ||
languages?: [string] | ||
logo?: UUID | ||
multicastUrl?: string | ||
ottUrl?: string | ||
output?: ChannelOutput | ||
restricted: boolean | ||
scenes?: [string] | ||
storage?: string | ||
transcoderEnabled?: boolean | ||
transcodingEnabled?: boolean | ||
tvGuideNames?: [string] | ||
verticalRes?: number | ||
} | ||
aliases?: string[] | ||
bufferDuration?: number | ||
cbUrl?: string | ||
channelType?: string | ||
channelUuid?: UUID | ||
defaultPackages?: string[] | ||
enabled?: boolean | ||
highlightLogo?: UUID | ||
horizontalRes?: number | ||
input?: ChannelInput | ||
keywords?: string[] | ||
languageIndexes?: string[] | ||
languages?: string[] | ||
logo?: UUID | ||
multicastUrl?: string | ||
ottUrl?: string | ||
output?: ChannelOutput | ||
restricted?: boolean | ||
scenes?: string[] | ||
storage?: string | ||
transcoderEnabled?: boolean | ||
transcodingEnabled?: boolean | ||
tvGuideNames?: string[] | ||
verticalRes?: number | ||
constructor(src:Channel) { | ||
super(src) | ||
this.aliases = src.aliases | ||
this.bufferDuration = src.bufferDuration | ||
this.cbUrl = src.cbUrl | ||
this.channelType = src.channelType | ||
this.channelUuid = src.channelUuid | ||
this.defaultPackages = src.defaultPackages | ||
this.enabled = src.enabled | ||
this.highlightLogo = src.highlightLogo | ||
this.horizontalRes = src.horizontalRes | ||
this.input = src.input | ||
this.keywords = src.keywords | ||
this.languageIndexes = src.languageIndexes | ||
this.languages = src.languages | ||
this.logo = src.logo | ||
this.multicastUrl = src.multicastUrl | ||
this.ottUrl = src.ottUrl | ||
this.output = src.output | ||
this.restricted = src.restricted | ||
this.scenes = src.scenes | ||
this.storage = src.storage | ||
this.transcoderEnabled = src.transcoderEnabled | ||
this.transcodingEnabled = src.transcodingEnabled | ||
this.tvGuideNames = src.tvGuideNames | ||
this.verticalRes = src.verticalRes | ||
} | ||
} |
@@ -5,2 +5,2 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class ChannelInput extends Item { | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { ChannelInput } from './ChannelInput' | ||
export class ChannelInputMulticast extends ChannelInput { | ||
url: string | ||
} | ||
url: string | ||
constructor(src:ChannelInputMulticast) { | ||
super(src) | ||
this.url = src.url | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { ChannelInput } from './ChannelInput' | ||
export class ChannelInputRtmp extends ChannelInput { | ||
port: number | ||
} | ||
port: number | ||
constructor(src:ChannelInputRtmp) { | ||
super(src) | ||
this.port = src.port | ||
} | ||
} |
@@ -7,4 +7,10 @@ import { ChannelInput } from './ChannelInput' | ||
export class ChannelInputScreencast extends ChannelInput { | ||
timeZone?: string | ||
url: string | ||
} | ||
timeZone?: string | ||
url: string | ||
constructor(src:ChannelInputScreencast) { | ||
super(src) | ||
this.timeZone = src.timeZone | ||
this.url = src.url | ||
} | ||
} |
@@ -5,2 +5,2 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class ChannelOutput extends Item { | ||
} | ||
} |
@@ -8,8 +8,18 @@ import { ChannelOutput } from './ChannelOutput' | ||
export class ChannelOutputRecording extends ChannelOutput { | ||
autostart?: boolean | ||
bufferDuration?: number | ||
bufferStorage?: string | ||
segmentDuration?: number | ||
storage: string | ||
transcodings?: [ChannelTranscoding] | ||
} | ||
autostart?: boolean | ||
bufferDuration?: number | ||
bufferStorage?: string | ||
segmentDuration?: number | ||
storage?: string | ||
transcodings?: ChannelTranscoding[] | ||
constructor(src:ChannelOutputRecording) { | ||
super(src) | ||
this.autostart = src.autostart | ||
this.bufferDuration = src.bufferDuration | ||
this.bufferStorage = src.bufferStorage | ||
this.segmentDuration = src.segmentDuration | ||
this.storage = src.storage | ||
this.transcodings = src.transcodings | ||
} | ||
} |
@@ -8,6 +8,14 @@ import { ChannelOutput } from './ChannelOutput' | ||
export class ChannelOutputStreaming extends ChannelOutput { | ||
bitrate?: number | ||
bufferSize?: number | ||
transcoding?: ChannelTranscoding | ||
url: string | ||
} | ||
bitrate?: number | ||
bufferSize?: number | ||
transcoding?: ChannelTranscoding | ||
url: string | ||
constructor(src:ChannelOutputStreaming) { | ||
super(src) | ||
this.bitrate = src.bitrate | ||
this.bufferSize = src.bufferSize | ||
this.transcoding = src.transcoding | ||
this.url = src.url | ||
} | ||
} |
@@ -7,7 +7,16 @@ import { File } from './File' | ||
export class ChannelSegment extends File { | ||
channelId: UUID | ||
md5: string | ||
outputId: number | ||
start: Instant | ||
stop: Instant | ||
} | ||
channelId: UUID | ||
md5: string | ||
outputId: number | ||
start: Instant | ||
stop: Instant | ||
constructor(src:ChannelSegment) { | ||
super(src) | ||
this.channelId = src.channelId | ||
this.md5 = src.md5 | ||
this.outputId = src.outputId | ||
this.start = src.start | ||
this.stop = src.stop | ||
} | ||
} |
@@ -5,11 +5,24 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class ChannelTranscoding extends Item { | ||
audioFormat: string | ||
bitrate?: number | ||
bitrateVariation?: number | ||
copySubtitles: boolean | ||
deinterlace: boolean | ||
height?: number | ||
rotation?: string | ||
videoFormat: string | ||
width?: number | ||
} | ||
audioFormat?: string | ||
bitrate?: number | ||
bitrateVariation?: number | ||
copySubtitles?: boolean | ||
deinterlace?: boolean | ||
height?: number | ||
rotation?: string | ||
videoFormat?: string | ||
width?: number | ||
constructor(src:ChannelTranscoding) { | ||
super(src) | ||
this.audioFormat = src.audioFormat | ||
this.bitrate = src.bitrate | ||
this.bitrateVariation = src.bitrateVariation | ||
this.copySubtitles = src.copySubtitles | ||
this.deinterlace = src.deinterlace | ||
this.height = src.height | ||
this.rotation = src.rotation | ||
this.videoFormat = src.videoFormat | ||
this.width = src.width | ||
} | ||
} |
@@ -5,2 +5,2 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Collection extends Item { | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { Metric } from './Metric' | ||
export class Counter extends Metric { | ||
count?: number | ||
} | ||
count?: number | ||
constructor(src:Counter) { | ||
super(src) | ||
this.count = src.count | ||
} | ||
} |
@@ -5,2 +5,2 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class DeviceAction extends Item { | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceAction } from './DeviceAction' | ||
export class DeviceActionChangetenant extends DeviceAction { | ||
tenantId: UUID | ||
} | ||
tenantId: UUID | ||
constructor(src:DeviceActionChangetenant) { | ||
super(src) | ||
this.tenantId = src.tenantId | ||
} | ||
} |
@@ -8,3 +8,8 @@ import { DeviceAction } from './DeviceAction' | ||
export class DeviceActionEvent extends DeviceEvent { | ||
action: DeviceAction | ||
} | ||
action: DeviceAction | ||
constructor(src:DeviceActionEvent) { | ||
super(src) | ||
this.action = src.action | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceAction } from './DeviceAction' | ||
export class DeviceActionTurnon extends DeviceAction { | ||
ttl?: number | ||
} | ||
ttl?: number | ||
constructor(src:DeviceActionTurnon) { | ||
super(src) | ||
this.ttl = src.ttl | ||
} | ||
} |
@@ -7,4 +7,10 @@ import { Event } from './Event' | ||
export class DeviceEvent extends Event { | ||
devices?: [UUID] | ||
network?: UUID | ||
} | ||
devices?: UUID[] | ||
network?: UUID | ||
constructor(src:DeviceEvent) { | ||
super(src) | ||
this.devices = src.devices | ||
this.network = src.network | ||
} | ||
} |
@@ -5,7 +5,16 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class DeviceFirmware extends Item { | ||
binary?: UUID | ||
byteSize?: number | ||
description?: string | ||
fileName?: string | ||
softwareVersion?: string | ||
} | ||
binary?: UUID | ||
byteSize?: number | ||
description?: string | ||
fileName?: string | ||
softwareVersion?: string | ||
constructor(src:DeviceFirmware) { | ||
super(src) | ||
this.binary = src.binary | ||
this.byteSize = src.byteSize | ||
this.description = src.description | ||
this.fileName = src.fileName | ||
this.softwareVersion = src.softwareVersion | ||
} | ||
} |
@@ -7,2 +7,2 @@ import { DeviceFirmware } from './DeviceFirmware' | ||
export class DeviceFirmwareTizen extends DeviceFirmware { | ||
} | ||
} |
@@ -8,22 +8,46 @@ import { FlowrFrontendSettings } from './FlowrFrontendSettings' | ||
export class DeviceInfo extends Item implements Principal { | ||
activeMacAddress?: string | ||
deviceType?: string | ||
deviceVersion?: string | ||
extraInformation?: [string] | ||
frontendSettings?: FlowrFrontendSettings | ||
frontendVersion?: string | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
linkedUser?: UUID | ||
location?: string | ||
macAddress?: string | ||
model?: string | ||
network?: UUID | ||
principalName: string | ||
roles?: [UUID] | ||
secret?: string | ||
serialNumber?: string | ||
status?: string | ||
subLocation?: string | ||
validMacAddress?: string | ||
} | ||
activeMacAddress?: string | ||
deviceType?: string | ||
deviceVersion?: string | ||
extraInformation?: string[] | ||
frontendSettings?: FlowrFrontendSettings | ||
frontendVersion?: string | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
linkedUser?: UUID | ||
location?: string | ||
macAddress?: string | ||
model?: string | ||
network?: UUID | ||
principalName?: string | ||
roles?: UUID[] | ||
secret?: string | ||
serialNumber?: string | ||
status?: string | ||
subLocation?: string | ||
validMacAddress?: string | ||
constructor(src:DeviceInfo) { | ||
super(src) | ||
this.activeMacAddress = src.activeMacAddress | ||
this.deviceType = src.deviceType | ||
this.deviceVersion = src.deviceVersion | ||
this.extraInformation = src.extraInformation | ||
this.frontendSettings = src.frontendSettings | ||
this.frontendVersion = src.frontendVersion | ||
this.lastLoginDate = src.lastLoginDate | ||
this.lastLoginIpAddress = src.lastLoginIpAddress | ||
this.linkedUser = src.linkedUser | ||
this.location = src.location | ||
this.macAddress = src.macAddress | ||
this.model = src.model | ||
this.network = src.network | ||
this.principalName = src.principalName | ||
this.roles = src.roles | ||
this.secret = src.secret | ||
this.serialNumber = src.serialNumber | ||
this.status = src.status | ||
this.subLocation = src.subLocation | ||
this.validMacAddress = src.validMacAddress | ||
} | ||
} |
@@ -5,2 +5,2 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class DeviceMessage extends Item { | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageAlert extends DeviceMessage { | ||
message: string | ||
} | ||
message: string | ||
constructor(src:DeviceMessageAlert) { | ||
super(src) | ||
this.message = src.message | ||
} | ||
} |
@@ -7,5 +7,12 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageEmail extends DeviceMessage { | ||
from: string | ||
message: string | ||
subject: string | ||
} | ||
from?: string | ||
message: string | ||
subject?: string | ||
constructor(src:DeviceMessageEmail) { | ||
super(src) | ||
this.from = src.from | ||
this.message = src.message | ||
this.subject = src.subject | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageEnablevorlon extends DeviceMessage { | ||
dashboard?: string | ||
} | ||
dashboard?: string | ||
constructor(src:DeviceMessageEnablevorlon) { | ||
super(src) | ||
this.dashboard = src.dashboard | ||
} | ||
} |
@@ -8,4 +8,10 @@ import { DeviceEvent } from './DeviceEvent' | ||
export class DeviceMessageEvent extends DeviceEvent { | ||
message: DeviceMessage | ||
users?: [UUID] | ||
} | ||
message: DeviceMessage | ||
users?: UUID[] | ||
constructor(src:DeviceMessageEvent) { | ||
super(src) | ||
this.message = src.message | ||
this.users = src.users | ||
} | ||
} |
@@ -7,7 +7,16 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageForcechannel extends DeviceMessage { | ||
itemId?: string | ||
lang?: string | ||
route: string | ||
sceneId?: string | ||
volume?: number | ||
} | ||
itemId?: string | ||
lang?: string | ||
route: string | ||
sceneId?: string | ||
volume?: number | ||
constructor(src:DeviceMessageForcechannel) { | ||
super(src) | ||
this.itemId = src.itemId | ||
this.lang = src.lang | ||
this.route = src.route | ||
this.sceneId = src.sceneId | ||
this.volume = src.volume | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageFromdevice extends DeviceMessage { | ||
sender: UUID | ||
} | ||
sender: UUID | ||
constructor(src:DeviceMessageFromdevice) { | ||
super(src) | ||
this.sender = src.sender | ||
} | ||
} |
@@ -7,4 +7,10 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageKeypress extends DeviceMessage { | ||
eventName: string | ||
key?: string | ||
} | ||
eventName: string | ||
key?: string | ||
constructor(src:DeviceMessageKeypress) { | ||
super(src) | ||
this.eventName = src.eventName | ||
this.key = src.key | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageLogs extends DeviceMessage { | ||
activate: boolean | ||
} | ||
activate?: boolean | ||
constructor(src:DeviceMessageLogs) { | ||
super(src) | ||
this.activate = src.activate | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageMessagedeleted extends DeviceMessage { | ||
messageId: UUID | ||
} | ||
messageId: UUID | ||
constructor(src:DeviceMessageMessagedeleted) { | ||
super(src) | ||
this.messageId = src.messageId | ||
} | ||
} |
@@ -7,4 +7,10 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageNotice extends DeviceMessage { | ||
duration: number | ||
message: string | ||
} | ||
duration?: number | ||
message: string | ||
constructor(src:DeviceMessageNotice) { | ||
super(src) | ||
this.duration = src.duration | ||
this.message = src.message | ||
} | ||
} |
@@ -7,2 +7,2 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageReboot extends DeviceMessage { | ||
} | ||
} |
@@ -7,2 +7,2 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageRefresh extends DeviceMessage { | ||
} | ||
} |
@@ -7,2 +7,2 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageReload extends DeviceMessage { | ||
} | ||
} |
@@ -6,4 +6,9 @@ import { DeviceMessageFromdevice } from './DeviceMessageFromdevice' | ||
@OzoneType("device.message.reply") | ||
export class DeviceMessageReply extends DeviceMessageFromdevice { | ||
originalMessage: UUID | ||
} | ||
export class DeviceMessageReply extends DeviceMessageFromdevice { | ||
originalMessage: UUID | ||
constructor(src:DeviceMessageReply) { | ||
super(src) | ||
this.originalMessage = src.originalMessage | ||
} | ||
} |
@@ -7,5 +7,12 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageTakescreenshot extends DeviceMessage { | ||
delay?: [number] | ||
inputDeviceId: UUID | ||
screenshotId?: string | ||
} | ||
delay?: number[] | ||
inputDeviceId: UUID | ||
screenshotId?: string | ||
constructor(src:DeviceMessageTakescreenshot) { | ||
super(src) | ||
this.delay = src.delay | ||
this.inputDeviceId = src.inputDeviceId | ||
this.screenshotId = src.screenshotId | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceMessageReply } from './DeviceMessageReply' | ||
export class DeviceMessageTakescreenshotreply extends DeviceMessageReply { | ||
screenshots?: [UUID] | ||
} | ||
screenshots?: UUID[] | ||
constructor(src:DeviceMessageTakescreenshotreply) { | ||
super(src) | ||
this.screenshots = src.screenshots | ||
} | ||
} |
@@ -8,5 +8,12 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageTicketing extends DeviceMessage { | ||
action: string | ||
location: string | ||
ticketList?: [DeviceMessageTicketingTicket] | ||
} | ||
action?: string | ||
location?: string | ||
ticketList?: DeviceMessageTicketingTicket[] | ||
constructor(src:DeviceMessageTicketing) { | ||
super(src) | ||
this.action = src.action | ||
this.location = src.location | ||
this.ticketList = src.ticketList | ||
} | ||
} |
@@ -8,5 +8,12 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageTicketingTicket extends DeviceMessage { | ||
status: string | ||
ticketId: string | ||
visitor?: DeviceMessageTicketingVisitor | ||
} | ||
status?: string | ||
ticketId?: string | ||
visitor?: DeviceMessageTicketingVisitor | ||
constructor(src:DeviceMessageTicketingTicket) { | ||
super(src) | ||
this.status = src.status | ||
this.ticketId = src.ticketId | ||
this.visitor = src.visitor | ||
} | ||
} |
@@ -7,4 +7,10 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageTicketingVisitor extends DeviceMessage { | ||
firstName: string | ||
lastName: string | ||
} | ||
firstName?: string | ||
lastName?: string | ||
constructor(src:DeviceMessageTicketingVisitor) { | ||
super(src) | ||
this.firstName = src.firstName | ||
this.lastName = src.lastName | ||
} | ||
} |
@@ -7,2 +7,2 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageTurnoff extends DeviceMessage { | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceMessage } from './DeviceMessage' | ||
export class DeviceMessageUpdate extends DeviceMessage { | ||
firmwareId: UUID | ||
} | ||
firmwareId: UUID | ||
constructor(src:DeviceMessageUpdate) { | ||
super(src) | ||
this.firmwareId = src.firmwareId | ||
} | ||
} |
@@ -7,6 +7,14 @@ import { Metric } from './Metric' | ||
export class DistributionSummary extends Metric { | ||
count?: number | ||
max?: number | ||
mean?: number | ||
totalAmount?: number | ||
} | ||
count?: number | ||
max?: number | ||
mean?: number | ||
totalAmount?: number | ||
constructor(src:DistributionSummary) { | ||
super(src) | ||
this.count = src.count | ||
this.max = src.max | ||
this.mean = src.mean | ||
this.totalAmount = src.totalAmount | ||
} | ||
} |
@@ -5,7 +5,16 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class DnsRecord extends Item { | ||
dns: UUID | ||
recordName: string | ||
recordType: string | ||
ttl: number | ||
value: string | ||
} | ||
dns: UUID | ||
recordName: string | ||
recordType: string | ||
ttl: number | ||
value: string | ||
constructor(src:DnsRecord) { | ||
super(src) | ||
this.dns = src.dns | ||
this.recordName = src.recordName | ||
this.recordType = src.recordType | ||
this.ttl = src.ttl | ||
this.value = src.value | ||
} | ||
} |
@@ -5,3 +5,8 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class DnsService extends Item { | ||
forwarders?: [string] | ||
} | ||
forwarders?: string[] | ||
constructor(src:DnsService) { | ||
super(src) | ||
this.forwarders = src.forwarders | ||
} | ||
} |
@@ -7,2 +7,2 @@ import { Media } from './Media' | ||
export class Document extends Media { | ||
} | ||
} |
@@ -5,4 +5,10 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Documenttemplate extends Item { | ||
destination?: string | ||
template?: string | ||
} | ||
destination?: string | ||
template?: string | ||
constructor(src:Documenttemplate) { | ||
super(src) | ||
this.destination = src.destination | ||
this.template = src.template | ||
} | ||
} |
@@ -5,5 +5,12 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class EshopOrder extends Item { | ||
body: string | ||
creationDate: Instant | ||
device: UUID | ||
} | ||
body: string | ||
creationDate: Instant | ||
device: UUID | ||
constructor(src:EshopOrder) { | ||
super(src) | ||
this.body = src.body | ||
this.creationDate = src.creationDate | ||
this.device = src.device | ||
} | ||
} |
@@ -5,2 +5,2 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Event extends Item { | ||
} | ||
} |
import {Item, UUID, Instant, OzoneType} from './Item' | ||
export interface Externalmedia { | ||
externalId?: string | ||
externalSource?: string | ||
externalURL?: string | ||
} | ||
externalId?: string | ||
externalSource?: string | ||
externalURL?: string | ||
} |
@@ -8,7 +8,16 @@ import { Externalmedia } from './Externalmedia' | ||
export class Externalvideo extends Video implements Externalmedia { | ||
externalDate?: Instant | ||
externalId?: string | ||
externalSource?: string | ||
externalURL?: string | ||
externalValidityDate?: Instant | ||
} | ||
externalDate?: Instant | ||
externalId?: string | ||
externalSource?: string | ||
externalURL?: string | ||
externalValidityDate?: Instant | ||
constructor(src:Externalvideo) { | ||
super(src) | ||
this.externalDate = src.externalDate | ||
this.externalId = src.externalId | ||
this.externalSource = src.externalSource | ||
this.externalURL = src.externalURL | ||
this.externalValidityDate = src.externalValidityDate | ||
} | ||
} |
@@ -5,7 +5,16 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class File extends Item { | ||
blob?: UUID | ||
fileType?: UUID | ||
subFiles?: { [key: string]:UUID; } | ||
uti?: string | ||
utiHierarchy?: [string] | ||
} | ||
blob?: UUID | ||
fileType?: UUID | ||
subFiles?: { [key: string]:UUID; } | ||
uti?: string | ||
utiHierarchy?: string[] | ||
constructor(src:File) { | ||
super(src) | ||
this.blob = src.blob | ||
this.fileType = src.fileType | ||
this.subFiles = src.subFiles | ||
this.uti = src.uti | ||
this.utiHierarchy = src.utiHierarchy | ||
} | ||
} |
@@ -7,10 +7,22 @@ import { Principal } from './Principal' | ||
export class FlowrAgent extends Item implements Principal { | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
network: UUID | ||
networks: [UUID] | ||
principalName: string | ||
roles?: [UUID] | ||
secret?: string | ||
websocketUrl?: string | ||
} | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
network: UUID | ||
networks: UUID[] | ||
principalName?: string | ||
roles?: UUID[] | ||
secret?: string | ||
websocketUrl?: string | ||
constructor(src:FlowrAgent) { | ||
super(src) | ||
this.lastLoginDate = src.lastLoginDate | ||
this.lastLoginIpAddress = src.lastLoginIpAddress | ||
this.network = src.network | ||
this.networks = src.networks | ||
this.principalName = src.principalName | ||
this.roles = src.roles | ||
this.secret = src.secret | ||
this.websocketUrl = src.websocketUrl | ||
} | ||
} |
@@ -5,4 +5,10 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Flowrconfig extends Item { | ||
backendVersion?: number | ||
rootFolder?: UUID | ||
} | ||
backendVersion?: number | ||
rootFolder?: UUID | ||
constructor(src:Flowrconfig) { | ||
super(src) | ||
this.backendVersion = src.backendVersion | ||
this.rootFolder = src.rootFolder | ||
} | ||
} |
@@ -5,9 +5,20 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class FlowrDoctemplate extends Item { | ||
attachmentName?: string | ||
attachmentTemplate?: string | ||
bodyTemplate?: string | ||
destination?: string | ||
identifier?: string | ||
language?: string | ||
subjectTemplate?: string | ||
} | ||
attachmentName?: string | ||
attachmentTemplate?: string | ||
bodyTemplate?: string | ||
destination?: string | ||
identifier?: string | ||
language?: string | ||
subjectTemplate?: string | ||
constructor(src:FlowrDoctemplate) { | ||
super(src) | ||
this.attachmentName = src.attachmentName | ||
this.attachmentTemplate = src.attachmentTemplate | ||
this.bodyTemplate = src.bodyTemplate | ||
this.destination = src.destination | ||
this.identifier = src.identifier | ||
this.language = src.language | ||
this.subjectTemplate = src.subjectTemplate | ||
} | ||
} |
@@ -7,6 +7,14 @@ import { Recording } from './Recording' | ||
export class Flowrecording extends Recording { | ||
description?: string | ||
deviceId: UUID | ||
summary?: string | ||
thumbnail?: string | ||
} | ||
description?: string | ||
deviceId: UUID | ||
summary?: string | ||
thumbnail?: string | ||
constructor(src:Flowrecording) { | ||
super(src) | ||
this.description = src.description | ||
this.deviceId = src.deviceId | ||
this.summary = src.summary | ||
this.thumbnail = src.thumbnail | ||
} | ||
} |
@@ -5,5 +5,12 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class FlowrEpg extends Item { | ||
timezone?: string | ||
url?: string | ||
xslt?: string | ||
} | ||
timezone?: string | ||
url?: string | ||
xslt?: string | ||
constructor(src:FlowrEpg) { | ||
super(src) | ||
this.timezone = src.timezone | ||
this.url = src.url | ||
this.xslt = src.xslt | ||
} | ||
} |
import { FlowrGeolocation } from './FlowrGeolocation' | ||
import { FlowrRemoteControlSettings } from './FlowrRemoteControlSettings' | ||
@@ -7,13 +8,30 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class FlowrFrontendSettings extends Item { | ||
audioLanguage?: string | ||
autoUpdate?: boolean | ||
bootPageId?: UUID | ||
interfaceLanguage?: string | ||
lastChannelId?: UUID | ||
location?: FlowrGeolocation | ||
maxVolume?: number | ||
preferredContent?: [UUID] | ||
startVolume?: number | ||
subtitlesLanguage?: string | ||
user?: UUID | ||
} | ||
audioLanguage?: string | ||
autoUpdate?: boolean | ||
bootPageId?: UUID | ||
flowrRemoteControlSettings?: FlowrRemoteControlSettings | ||
interfaceLanguage?: string | ||
lastChannelId?: UUID | ||
location?: FlowrGeolocation | ||
maxVolume?: number | ||
preferredContent?: UUID[] | ||
startVolume?: number | ||
subtitlesLanguage?: string | ||
user?: UUID | ||
constructor(src:FlowrFrontendSettings) { | ||
super(src) | ||
this.audioLanguage = src.audioLanguage | ||
this.autoUpdate = src.autoUpdate | ||
this.bootPageId = src.bootPageId | ||
this.flowrRemoteControlSettings = src.flowrRemoteControlSettings | ||
this.interfaceLanguage = src.interfaceLanguage | ||
this.lastChannelId = src.lastChannelId | ||
this.location = src.location | ||
this.maxVolume = src.maxVolume | ||
this.preferredContent = src.preferredContent | ||
this.startVolume = src.startVolume | ||
this.subtitlesLanguage = src.subtitlesLanguage | ||
this.user = src.user | ||
} | ||
} |
@@ -5,5 +5,12 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class FlowrGeolocation extends Item { | ||
address?: string | ||
latitude?: number | ||
longitude?: number | ||
} | ||
address?: string | ||
latitude?: number | ||
longitude?: number | ||
constructor(src:FlowrGeolocation) { | ||
super(src) | ||
this.address = src.address | ||
this.latitude = src.latitude | ||
this.longitude = src.longitude | ||
} | ||
} |
@@ -7,5 +7,12 @@ import { SubscriptionAction } from './SubscriptionAction' | ||
export class FlowrGrantcontent extends SubscriptionAction { | ||
actionRoles?: [string] | ||
tags?: [string] | ||
unlimitedRights: boolean | ||
} | ||
actionRoles?: string[] | ||
tags?: string[] | ||
unlimitedRights?: boolean | ||
constructor(src:FlowrGrantcontent) { | ||
super(src) | ||
this.actionRoles = src.actionRoles | ||
this.tags = src.tags | ||
this.unlimitedRights = src.unlimitedRights | ||
} | ||
} |
import {Item, UUID, Instant, OzoneType} from './Item' | ||
export interface FlowrLogoitem { | ||
highlightLogo?: UUID | ||
logo?: UUID | ||
} | ||
highlightLogo?: UUID | ||
logo?: UUID | ||
} |
import {Item, UUID, Instant, OzoneType} from './Item' | ||
export interface FlowrMedia { | ||
localizedDescription?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
localizedShortDescription?: { [key: string]: string; } | ||
localizedTitle?: { [key: string]: string; } | ||
mediaUuid?: UUID | ||
usage?: string | ||
} | ||
localizedDescription?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
localizedShortDescription?: { [key: string]: string; } | ||
localizedTitle?: { [key: string]: string; } | ||
mediaUuid?: UUID | ||
usage?: string | ||
} |
@@ -8,14 +8,30 @@ import { ServiceInfo } from './ServiceInfo' | ||
export class FlowrMediaplay extends TimestampedItem implements ServiceInfo { | ||
description?: string | ||
effectivelyPlayedDuration?: number | ||
instanceId: string | ||
itemId?: UUID | ||
playId?: UUID | ||
properties?: { [key: string]:string; } | ||
ratioEffectiveTotal?: number | ||
replicaId?: string | ||
serviceName?: string | ||
totalDuration?: number | ||
url?: string | ||
userAgent?: string | ||
} | ||
description?: string | ||
effectivelyPlayedDuration?: number | ||
instanceId: string | ||
itemId?: UUID | ||
playId?: UUID | ||
properties?: { [key: string]:string; } | ||
ratioEffectiveTotal?: number | ||
replicaId?: string | ||
serviceName?: string | ||
totalDuration?: number | ||
url?: string | ||
userAgent?: string | ||
constructor(src:FlowrMediaplay) { | ||
super(src) | ||
this.description = src.description | ||
this.effectivelyPlayedDuration = src.effectivelyPlayedDuration | ||
this.instanceId = src.instanceId | ||
this.itemId = src.itemId | ||
this.playId = src.playId | ||
this.properties = src.properties | ||
this.ratioEffectiveTotal = src.ratioEffectiveTotal | ||
this.replicaId = src.replicaId | ||
this.serviceName = src.serviceName | ||
this.totalDuration = src.totalDuration | ||
this.url = src.url | ||
this.userAgent = src.userAgent | ||
} | ||
} |
@@ -8,11 +8,24 @@ import { ServiceInfo } from './ServiceInfo' | ||
export class FlowrScenesdisplay extends TimestampedItem implements ServiceInfo { | ||
description?: string | ||
displayId?: UUID | ||
duration?: number | ||
instanceId: string | ||
itemId?: UUID | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
userAgent?: string | ||
} | ||
description?: string | ||
displayId?: UUID | ||
duration?: number | ||
instanceId: string | ||
itemId?: UUID | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
userAgent?: string | ||
constructor(src:FlowrScenesdisplay) { | ||
super(src) | ||
this.description = src.description | ||
this.displayId = src.displayId | ||
this.duration = src.duration | ||
this.instanceId = src.instanceId | ||
this.itemId = src.itemId | ||
this.properties = src.properties | ||
this.replicaId = src.replicaId | ||
this.serviceName = src.serviceName | ||
this.userAgent = src.userAgent | ||
} | ||
} |
import {Item, UUID, Instant, OzoneType} from './Item' | ||
export interface FlowrVod { | ||
actors?: string | ||
editors?: string | ||
episodeNumber?: number | ||
genre?: string | ||
groupingId?: string | ||
highlight?: boolean | ||
language?: string | ||
parentalGuidance?: number | ||
presentators?: string | ||
realisators?: string | ||
seasonNumber?: number | ||
subTitle?: { [key: string]: string; } | ||
vodType?: string | ||
year?: number | ||
} | ||
actors?: string | ||
editors?: string | ||
episodeNumber?: number | ||
genre?: string | ||
groupingId?: string | ||
highlight?: boolean | ||
language?: string | ||
parentalGuidance?: number | ||
presentators?: string | ||
realisators?: string | ||
seasonNumber?: number | ||
subTitle?: { [key: string]: string; } | ||
vodType?: string | ||
year?: number | ||
} |
@@ -7,2 +7,2 @@ import { Media } from './Media' | ||
export class Folder extends Media { | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { Metric } from './Metric' | ||
export class FunctionCounter extends Metric { | ||
count?: number | ||
} | ||
count?: number | ||
constructor(src:FunctionCounter) { | ||
super(src) | ||
this.count = src.count | ||
} | ||
} |
@@ -7,5 +7,12 @@ import { Metric } from './Metric' | ||
export class FunctionTimer extends Metric { | ||
count?: number | ||
mean?: number | ||
totalTime?: number | ||
} | ||
count?: number | ||
mean?: number | ||
totalTime?: number | ||
constructor(src:FunctionTimer) { | ||
super(src) | ||
this.count = src.count | ||
this.mean = src.mean | ||
this.totalTime = src.totalTime | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { Metric } from './Metric' | ||
export class Gauge extends Metric { | ||
value?: number | ||
} | ||
value?: number | ||
constructor(src:Gauge) { | ||
super(src) | ||
this.value = src.value | ||
} | ||
} |
@@ -7,12 +7,26 @@ import { RestrictedContent } from './RestrictedContent' | ||
export class Gui extends Item implements RestrictedContent { | ||
guiUuid?: UUID | ||
i18n?: string | ||
indexHi?: number | ||
indexLow?: number | ||
inheritedFrom?: UUID | ||
onlyShowIfAssetsAvailable?: boolean | ||
packages?: [string] | ||
parent?: UUID | ||
restricted: boolean | ||
tags?: [string] | ||
} | ||
guiUuid?: UUID | ||
i18n?: string | ||
indexHi?: number | ||
indexLow?: number | ||
inheritedFrom?: UUID | ||
onlyShowIfAssetsAvailable?: boolean | ||
packages?: string[] | ||
parent?: UUID | ||
restricted?: boolean | ||
tags?: string[] | ||
constructor(src:Gui) { | ||
super(src) | ||
this.guiUuid = src.guiUuid | ||
this.i18n = src.i18n | ||
this.indexHi = src.indexHi | ||
this.indexLow = src.indexLow | ||
this.inheritedFrom = src.inheritedFrom | ||
this.onlyShowIfAssetsAvailable = src.onlyShowIfAssetsAvailable | ||
this.packages = src.packages | ||
this.parent = src.parent | ||
this.restricted = src.restricted | ||
this.tags = src.tags | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { Media } from './Media' | ||
export class Image extends Media { | ||
dpi?: number | ||
} | ||
dpi?: number | ||
constructor(src:Image) { | ||
super(src) | ||
this.dpi = src.dpi | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { DeviceInfo } from './DeviceInfo' | ||
export class InputDevice extends DeviceInfo { | ||
targetDevice?: UUID | ||
} | ||
targetDevice?: UUID | ||
constructor(src:InputDevice) { | ||
super(src) | ||
this.targetDevice = src.targetDevice | ||
} | ||
} |
@@ -1,25 +0,23 @@ | ||
export type UUID = string | ||
export type Instant = string | ||
export class ItemError { | ||
fields?: [string] | ||
export interface ItemError { | ||
fields?: string[] | ||
message?: string | ||
} | ||
export class ValidityError extends ItemError {} | ||
export interface ValidityError extends ItemError {} | ||
export class SecurityError extends ItemError {} | ||
export interface SecurityError extends ItemError {} | ||
export class PersistenceError extends ItemError {} | ||
export interface PersistenceError extends ItemError {} | ||
export class ItemMeta { | ||
state?: State | ||
validity?: Validity | ||
security?: Security | ||
persistence?: Persistence | ||
validityErrors?: [ValidityError] | ||
securityErrors?: [SecurityError] | ||
persistenceErrors?: [PersistenceError] | ||
export interface ItemMeta { | ||
state: State | ||
validity: Validity | ||
security: Security | ||
persistence: Persistence | ||
validityErrors?: ValidityError[] | ||
securityErrors?: SecurityError[] | ||
persistenceErrors?: PersistenceError[] | ||
} | ||
@@ -36,11 +34,34 @@ | ||
export class Item { | ||
export type FromOzone<T extends Item> = T & { | ||
id: UUID | ||
version: UUID | ||
type: string | ||
_meta: ItemMeta | ||
tenant: UUID | ||
type:string | ||
} | ||
export class Item { | ||
constructor (src?: Item) { | ||
if (src) { | ||
this.id = src.id | ||
this.version = src.version | ||
this.type = src.type | ||
this._meta = src._meta | ||
this.name = src.name | ||
this.deleted = src.deleted | ||
this.traits = src.traits | ||
this.tenant = src.tenant | ||
this.creationUser = src.creationUser | ||
this.modificationUser = src.modificationUser | ||
} | ||
} | ||
id?: UUID | ||
version?: UUID | ||
type?:string | ||
_meta?: ItemMeta | ||
name?: string | ||
deleted?: boolean | ||
traits?: [string] | ||
tenant: UUID | ||
traits?: string[] | ||
tenant?: UUID | ||
creationUser?: UUID | ||
@@ -47,0 +68,0 @@ modificationUser?: UUID |
@@ -7,2 +7,2 @@ import { InputDevice } from './InputDevice' | ||
export class Joystick extends InputDevice { | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { Media } from './Media' | ||
export class ListModel extends Media { | ||
listItems?: [UUID] | ||
} | ||
listItems?: UUID[] | ||
constructor(src:ListModel) { | ||
super(src) | ||
this.listItems = src.listItems | ||
} | ||
} |
@@ -8,11 +8,24 @@ import { ServiceInfo } from './ServiceInfo' | ||
export class LogItem extends TimestampedItem implements ServiceInfo { | ||
category: string | ||
instanceId: string | ||
message: string | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
severity: string | ||
stackTrace: string | ||
thread: string | ||
} | ||
category: string | ||
instanceId: string | ||
message: string | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
severity: string | ||
stackTrace: string | ||
thread: string | ||
constructor(src:LogItem) { | ||
super(src) | ||
this.category = src.category | ||
this.instanceId = src.instanceId | ||
this.message = src.message | ||
this.properties = src.properties | ||
this.replicaId = src.replicaId | ||
this.serviceName = src.serviceName | ||
this.severity = src.severity | ||
this.stackTrace = src.stackTrace | ||
this.thread = src.thread | ||
} | ||
} |
@@ -7,3 +7,8 @@ import { Metric } from './Metric' | ||
export class LongTaskTimer extends Metric { | ||
duration?: number | ||
} | ||
duration?: number | ||
constructor(src:LongTaskTimer) { | ||
super(src) | ||
this.duration = src.duration | ||
} | ||
} |
@@ -9,39 +9,80 @@ import { FlowrMedia } from './FlowrMedia' | ||
export class Media extends Item implements TagsCustom, FlowrMedia, RestrictedContent { | ||
byLine?: string | ||
caption?: string | ||
category?: string | ||
city?: string | ||
collections?: [UUID] | ||
country?: string | ||
creationDate?: Instant | ||
credit?: string | ||
date?: Instant | ||
derivedFiles?: [UUID] | ||
file?: UUID | ||
fileUTI?: [string] | ||
fullText?: UUID | ||
height?: number | ||
indexed_fulltext?: string | ||
keywords?: [string] | ||
length?: number | ||
localizedDescription?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
localizedShortDescription?: { [key: string]: string; } | ||
localizedTitle?: { [key: string]: string; } | ||
mediaUuid?: UUID | ||
modificationDate?: Instant | ||
objectName?: string | ||
parentFolder?: UUID | ||
previewDate?: Instant | ||
previewRatio?: number | ||
publications?: [string] | ||
representedBy?: UUID | ||
restricted: boolean | ||
source?: string | ||
specialInstructions?: string | ||
status?: string | ||
stocks?: [UUID] | ||
title?: string | ||
usage?: string | ||
width?: number | ||
} | ||
byLine?: string | ||
caption?: string | ||
category?: string | ||
city?: string | ||
collections?: UUID[] | ||
country?: string | ||
creationDate?: Instant | ||
credit?: string | ||
date?: Instant | ||
derivedFiles?: UUID[] | ||
file?: UUID | ||
fileUTI?: string[] | ||
fullText?: UUID | ||
height?: number | ||
indexed_fulltext?: string | ||
keywords?: string[] | ||
length?: number | ||
localizedDescription?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
localizedShortDescription?: { [key: string]: string; } | ||
localizedTitle?: { [key: string]: string; } | ||
mediaUuid?: UUID | ||
modificationDate?: Instant | ||
objectName?: string | ||
parentFolder?: UUID | ||
previewDate?: Instant | ||
previewRatio?: number | ||
publications?: string[] | ||
representedBy?: UUID | ||
restricted?: boolean | ||
source?: string | ||
specialInstructions?: string | ||
status?: string | ||
stocks?: UUID[] | ||
title?: string | ||
usage?: string | ||
width?: number | ||
constructor(src:Media) { | ||
super(src) | ||
this.byLine = src.byLine | ||
this.caption = src.caption | ||
this.category = src.category | ||
this.city = src.city | ||
this.collections = src.collections | ||
this.country = src.country | ||
this.creationDate = src.creationDate | ||
this.credit = src.credit | ||
this.date = src.date | ||
this.derivedFiles = src.derivedFiles | ||
this.file = src.file | ||
this.fileUTI = src.fileUTI | ||
this.fullText = src.fullText | ||
this.height = src.height | ||
this.indexed_fulltext = src.indexed_fulltext | ||
this.keywords = src.keywords | ||
this.length = src.length | ||
this.localizedDescription = src.localizedDescription | ||
this.localizedName = src.localizedName | ||
this.localizedShortDescription = src.localizedShortDescription | ||
this.localizedTitle = src.localizedTitle | ||
this.mediaUuid = src.mediaUuid | ||
this.modificationDate = src.modificationDate | ||
this.objectName = src.objectName | ||
this.parentFolder = src.parentFolder | ||
this.previewDate = src.previewDate | ||
this.previewRatio = src.previewRatio | ||
this.publications = src.publications | ||
this.representedBy = src.representedBy | ||
this.restricted = src.restricted | ||
this.source = src.source | ||
this.specialInstructions = src.specialInstructions | ||
this.status = src.status | ||
this.stocks = src.stocks | ||
this.title = src.title | ||
this.usage = src.usage | ||
this.width = src.width | ||
} | ||
} |
@@ -5,18 +5,38 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Message extends Item { | ||
attachments?: string | ||
body?: string | ||
creationDate?: number | ||
date?: number | ||
externalId?: number | ||
fidelioId?: number | ||
from?: string | ||
internalLink?: string | ||
messageType?: string | ||
priority?: number | ||
read?: number | ||
subject?: string | ||
time?: number | ||
toDeviceId?: UUID | ||
toReservationNumber?: number | ||
toRoomNumber?: string | ||
} | ||
attachments?: string | ||
body?: string | ||
creationDate?: number | ||
date?: number | ||
externalId?: number | ||
fidelioId?: number | ||
from?: string | ||
internalLink?: string | ||
messageType?: string | ||
priority?: number | ||
read?: number | ||
subject?: string | ||
time?: number | ||
toDeviceId?: UUID | ||
toReservationNumber?: number | ||
toRoomNumber?: string | ||
constructor(src:Message) { | ||
super(src) | ||
this.attachments = src.attachments | ||
this.body = src.body | ||
this.creationDate = src.creationDate | ||
this.date = src.date | ||
this.externalId = src.externalId | ||
this.fidelioId = src.fidelioId | ||
this.from = src.from | ||
this.internalLink = src.internalLink | ||
this.messageType = src.messageType | ||
this.priority = src.priority | ||
this.read = src.read | ||
this.subject = src.subject | ||
this.time = src.time | ||
this.toDeviceId = src.toDeviceId | ||
this.toReservationNumber = src.toReservationNumber | ||
this.toRoomNumber = src.toRoomNumber | ||
} | ||
} |
@@ -8,7 +8,16 @@ import { ServiceInfo } from './ServiceInfo' | ||
export class Metric extends TimestampedItem implements ServiceInfo { | ||
instanceId: string | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
tags?: [string] | ||
} | ||
instanceId: string | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
tags?: string[] | ||
constructor(src:Metric) { | ||
super(src) | ||
this.instanceId = src.instanceId | ||
this.properties = src.properties | ||
this.replicaId = src.replicaId | ||
this.serviceName = src.serviceName | ||
this.tags = src.tags | ||
} | ||
} |
@@ -5,6 +5,14 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Network extends Item { | ||
address: string | ||
dns?: UUID | ||
netmask: string | ||
websocketUrl?: string | ||
} | ||
address: string | ||
dns?: UUID | ||
netmask: string | ||
websocketUrl?: string | ||
constructor(src:Network) { | ||
super(src) | ||
this.address = src.address | ||
this.dns = src.dns | ||
this.netmask = src.netmask | ||
this.websocketUrl = src.websocketUrl | ||
} | ||
} |
@@ -7,8 +7,18 @@ import { FlowrFrontendSettings } from './FlowrFrontendSettings' | ||
export class OrganizationInfo extends Item { | ||
frontendSettings?: FlowrFrontendSettings | ||
rootGuiId?: UUID | ||
secret?: UUID | ||
settings?: string | ||
signageGuiId?: UUID | ||
storyboards?: string | ||
} | ||
frontendSettings?: FlowrFrontendSettings | ||
rootGuiId?: UUID | ||
secret?: UUID | ||
settings?: string | ||
signageGuiId?: UUID | ||
storyboards?: string | ||
constructor(src:OrganizationInfo) { | ||
super(src) | ||
this.frontendSettings = src.frontendSettings | ||
this.rootGuiId = src.rootGuiId | ||
this.secret = src.secret | ||
this.settings = src.settings | ||
this.signageGuiId = src.signageGuiId | ||
this.storyboards = src.storyboards | ||
} | ||
} |
@@ -5,5 +5,12 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Passingtime extends Item { | ||
expectedArrivalTime?: Instant | ||
lineId?: number | ||
pointId?: number | ||
} | ||
expectedArrivalTime?: Instant | ||
lineId?: number | ||
pointId?: number | ||
constructor(src:Passingtime) { | ||
super(src) | ||
this.expectedArrivalTime = src.expectedArrivalTime | ||
this.lineId = src.lineId | ||
this.pointId = src.pointId | ||
} | ||
} |
@@ -7,2 +7,2 @@ import { File } from './File' | ||
export class Playlist extends File { | ||
} | ||
} |
@@ -7,2 +7,2 @@ import { File } from './File' | ||
export class PlaylistFolder extends File { | ||
} | ||
} |
@@ -5,4 +5,10 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Postingindex extends Item { | ||
creationDate?: number | ||
sequentialIndex?: number | ||
} | ||
creationDate?: number | ||
sequentialIndex?: number | ||
constructor(src:Postingindex) { | ||
super(src) | ||
this.creationDate = src.creationDate | ||
this.sequentialIndex = src.sequentialIndex | ||
} | ||
} |
import {Item, UUID, Instant, OzoneType} from './Item' | ||
export interface Principal { | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
roles?: [UUID] | ||
secret?: string | ||
} | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
roles?: UUID[] | ||
secret?: string | ||
} |
@@ -5,7 +5,16 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Recording extends Item { | ||
channelId: UUID | ||
duration?: number | ||
start: Instant | ||
stop: Instant | ||
video?: UUID | ||
} | ||
channelId: UUID | ||
duration?: number | ||
start: Instant | ||
stop: Instant | ||
video?: UUID | ||
constructor(src:Recording) { | ||
super(src) | ||
this.channelId = src.channelId | ||
this.duration = src.duration | ||
this.start = src.start | ||
this.stop = src.stop | ||
this.video = src.video | ||
} | ||
} |
@@ -5,37 +5,76 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Reservation extends Item { | ||
a0?: string | ||
a1?: string | ||
a2?: string | ||
a3?: string | ||
a4?: string | ||
a5?: string | ||
a6?: string | ||
a7?: string | ||
a8?: string | ||
a9?: string | ||
checkOut?: number | ||
classOfService?: string | ||
date?: number | ||
guestArrivalDate?: number | ||
guestDepartureDate?: number | ||
guestFirstName?: string | ||
guestGroupNumber?: string | ||
guestLanguage?: string | ||
guestName?: string | ||
guestTitle?: string | ||
guestVipStatus?: string | ||
lastMutationDate?: number | ||
minibarRights?: string | ||
noPostStatus?: string | ||
oldRoomNumber?: string | ||
profileNumber?: string | ||
reservationNumber?: number | ||
roomNumber?: string | ||
shareFlag?: string | ||
swapFlag?: string | ||
time?: number | ||
tvRights?: string | ||
videoRights?: string | ||
visitNumber?: string | ||
workstationId?: string | ||
} | ||
a0?: string | ||
a1?: string | ||
a2?: string | ||
a3?: string | ||
a4?: string | ||
a5?: string | ||
a6?: string | ||
a7?: string | ||
a8?: string | ||
a9?: string | ||
checkOut?: number | ||
classOfService?: string | ||
date?: number | ||
guestArrivalDate?: number | ||
guestDepartureDate?: number | ||
guestFirstName?: string | ||
guestGroupNumber?: string | ||
guestLanguage?: string | ||
guestName?: string | ||
guestTitle?: string | ||
guestVipStatus?: string | ||
lastMutationDate?: number | ||
minibarRights?: string | ||
noPostStatus?: string | ||
oldRoomNumber?: string | ||
profileNumber?: string | ||
reservationNumber?: number | ||
roomNumber?: string | ||
shareFlag?: string | ||
swapFlag?: string | ||
time?: number | ||
tvRights?: string | ||
videoRights?: string | ||
visitNumber?: string | ||
workstationId?: string | ||
constructor(src:Reservation) { | ||
super(src) | ||
this.a0 = src.a0 | ||
this.a1 = src.a1 | ||
this.a2 = src.a2 | ||
this.a3 = src.a3 | ||
this.a4 = src.a4 | ||
this.a5 = src.a5 | ||
this.a6 = src.a6 | ||
this.a7 = src.a7 | ||
this.a8 = src.a8 | ||
this.a9 = src.a9 | ||
this.checkOut = src.checkOut | ||
this.classOfService = src.classOfService | ||
this.date = src.date | ||
this.guestArrivalDate = src.guestArrivalDate | ||
this.guestDepartureDate = src.guestDepartureDate | ||
this.guestFirstName = src.guestFirstName | ||
this.guestGroupNumber = src.guestGroupNumber | ||
this.guestLanguage = src.guestLanguage | ||
this.guestName = src.guestName | ||
this.guestTitle = src.guestTitle | ||
this.guestVipStatus = src.guestVipStatus | ||
this.lastMutationDate = src.lastMutationDate | ||
this.minibarRights = src.minibarRights | ||
this.noPostStatus = src.noPostStatus | ||
this.oldRoomNumber = src.oldRoomNumber | ||
this.profileNumber = src.profileNumber | ||
this.reservationNumber = src.reservationNumber | ||
this.roomNumber = src.roomNumber | ||
this.shareFlag = src.shareFlag | ||
this.swapFlag = src.swapFlag | ||
this.time = src.time | ||
this.tvRights = src.tvRights | ||
this.videoRights = src.videoRights | ||
this.visitNumber = src.visitNumber | ||
this.workstationId = src.workstationId | ||
} | ||
} |
import {Item, UUID, Instant, OzoneType} from './Item' | ||
export interface RestrictedContent { | ||
restricted: boolean | ||
} | ||
restricted?: boolean | ||
} |
@@ -5,4 +5,10 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Room extends Item { | ||
roomNumber?: string | ||
wakeUps?: [string] | ||
} | ||
roomNumber?: string | ||
wakeUps?: string[] | ||
constructor(src:Room) { | ||
super(src) | ||
this.roomNumber = src.roomNumber | ||
this.wakeUps = src.wakeUps | ||
} | ||
} |
import {Item, UUID, Instant, OzoneType} from './Item' | ||
export interface ServiceInfo { | ||
instanceId: string | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
} | ||
instanceId: string | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
} |
@@ -5,2 +5,2 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Stock extends Item { | ||
} | ||
} |
@@ -5,8 +5,18 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Subscription extends Item { | ||
action?: UUID | ||
description?: string | ||
devices?: [UUID] | ||
endDate?: Instant | ||
isActive: boolean | ||
startDate?: Instant | ||
} | ||
action?: UUID | ||
description?: string | ||
devices?: UUID[] | ||
endDate?: Instant | ||
isActive?: boolean | ||
startDate?: Instant | ||
constructor(src:Subscription) { | ||
super(src) | ||
this.action = src.action | ||
this.description = src.description | ||
this.devices = src.devices | ||
this.endDate = src.endDate | ||
this.isActive = src.isActive | ||
this.startDate = src.startDate | ||
} | ||
} |
@@ -5,2 +5,2 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class SubscriptionAction extends Item { | ||
} | ||
} |
@@ -5,5 +5,12 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Survey extends Item { | ||
category?: UUID | ||
index?: number | ||
question?: { [key: string]: string; } | ||
} | ||
category?: UUID | ||
index?: number | ||
question?: { [key: string]: string; } | ||
constructor(src:Survey) { | ||
super(src) | ||
this.category = src.category | ||
this.index = src.index | ||
this.question = src.question | ||
} | ||
} |
@@ -5,4 +5,10 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class SurveyCategory extends Item { | ||
description?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
} | ||
description?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
constructor(src:SurveyCategory) { | ||
super(src) | ||
this.description = src.description | ||
this.localizedName = src.localizedName | ||
} | ||
} |
@@ -5,8 +5,18 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class SurveyResponse extends Item { | ||
creationDate: Instant | ||
device: UUID | ||
lang: string | ||
response: string | ||
submitId: UUID | ||
survey: UUID | ||
} | ||
creationDate: Instant | ||
device: UUID | ||
lang: string | ||
response: string | ||
submitId: UUID | ||
survey: UUID | ||
constructor(src:SurveyResponse) { | ||
super(src) | ||
this.creationDate = src.creationDate | ||
this.device = src.device | ||
this.lang = src.lang | ||
this.response = src.response | ||
this.submitId = src.submitId | ||
this.survey = src.survey | ||
} | ||
} |
import {Item, UUID, Instant, OzoneType} from './Item' | ||
export interface TagsCustom { | ||
} | ||
} |
@@ -7,2 +7,2 @@ import { Gauge } from './Gauge' | ||
export class TimeGauge extends Gauge { | ||
} | ||
} |
@@ -7,6 +7,14 @@ import { Metric } from './Metric' | ||
export class Timer extends Metric { | ||
count?: number | ||
max?: number | ||
mean?: number | ||
totalTime?: number | ||
} | ||
count?: number | ||
max?: number | ||
mean?: number | ||
totalTime?: number | ||
constructor(src:Timer) { | ||
super(src) | ||
this.count = src.count | ||
this.max = src.max | ||
this.mean = src.mean | ||
this.totalTime = src.totalTime | ||
} | ||
} |
@@ -5,3 +5,8 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class TimestampedItem extends Item { | ||
date?: Instant | ||
} | ||
date?: Instant | ||
constructor(src:TimestampedItem) { | ||
super(src) | ||
this.date = src.date | ||
} | ||
} |
@@ -5,7 +5,16 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Tizenfirmware extends Item { | ||
binary?: UUID | ||
description?: string | ||
fileName?: string | ||
size_byte?: number | ||
swVersion?: string | ||
} | ||
binary?: UUID | ||
description?: string | ||
fileName?: string | ||
size_byte?: number | ||
swVersion?: string | ||
constructor(src:Tizenfirmware) { | ||
super(src) | ||
this.binary = src.binary | ||
this.description = src.description | ||
this.fileName = src.fileName | ||
this.size_byte = src.size_byte | ||
this.swVersion = src.swVersion | ||
} | ||
} |
@@ -5,6 +5,14 @@ import {Item, UUID, Instant, OzoneType} from './Item' | ||
export class Vehicleposition extends Item { | ||
directionId?: number | ||
distanceFromPoint?: number | ||
lineId?: number | ||
pointId?: number | ||
} | ||
directionId?: number | ||
distanceFromPoint?: number | ||
lineId?: number | ||
pointId?: number | ||
constructor(src:Vehicleposition) { | ||
super(src) | ||
this.directionId = src.directionId | ||
this.distanceFromPoint = src.distanceFromPoint | ||
this.lineId = src.lineId | ||
this.pointId = src.pointId | ||
} | ||
} |
@@ -9,18 +9,38 @@ import { FlowrLogoitem } from './FlowrLogoitem' | ||
export class Video extends Media implements FlowrLogoitem, FlowrVod { | ||
actors?: string | ||
editors?: string | ||
episodeNumber?: number | ||
genre?: string | ||
groupingId?: string | ||
highlight?: boolean | ||
highlightLogo?: UUID | ||
language?: string | ||
logo?: UUID | ||
parentalGuidance?: number | ||
presentators?: string | ||
realisators?: string | ||
seasonNumber?: number | ||
subTitle?: { [key: string]: string; } | ||
vodType?: string | ||
year?: number | ||
} | ||
actors?: string | ||
editors?: string | ||
episodeNumber?: number | ||
genre?: string | ||
groupingId?: string | ||
highlight?: boolean | ||
highlightLogo?: UUID | ||
language?: string | ||
logo?: UUID | ||
parentalGuidance?: number | ||
presentators?: string | ||
realisators?: string | ||
seasonNumber?: number | ||
subTitle?: { [key: string]: string; } | ||
vodType?: string | ||
year?: number | ||
constructor(src:Video) { | ||
super(src) | ||
this.actors = src.actors | ||
this.editors = src.editors | ||
this.episodeNumber = src.episodeNumber | ||
this.genre = src.genre | ||
this.groupingId = src.groupingId | ||
this.highlight = src.highlight | ||
this.highlightLogo = src.highlightLogo | ||
this.language = src.language | ||
this.logo = src.logo | ||
this.parentalGuidance = src.parentalGuidance | ||
this.presentators = src.presentators | ||
this.realisators = src.realisators | ||
this.seasonNumber = src.seasonNumber | ||
this.subTitle = src.subTitle | ||
this.vodType = src.vodType | ||
this.year = src.year | ||
} | ||
} |
{ | ||
"name": "ozone-type", | ||
"version": "4.1.3-alpha.0", | ||
"version": "4.1.3-alpha.1", | ||
"publishConfig": { | ||
@@ -20,4 +20,3 @@ "access": "public" | ||
"author": "", | ||
"license": "ISC", | ||
"gitHead": "fa213345912d8fc1396b60f4cd3e941428e24059" | ||
"license": "ISC" | ||
} |
@@ -21,3 +21,3 @@ [![NPM version][npm-image]][npm-url] | ||
``` | ||
oz -u taktik -s https://test.flowr.cloud/ozone -p <password> generate --target typescript -o ./ozone-components/packages/ozone-helper/ozone-type/ozone/model | ||
oz -u taktik -s https://test.flowr.cloud/ozone -p <password> generate --package "" --target typescript -o ./ozone-components/packages/ozone-helper/ozone-type/ozone/model | ||
``` | ||
@@ -24,0 +24,0 @@ |
@@ -17,5 +17,6 @@ { | ||
"declaration": true, /* Generates corresponding '.d.ts' file. */ | ||
"outDir": "./dist" | ||
"outDir": "./dist", | ||
"strict": true | ||
}, | ||
"include": ["ozone"] | ||
} |
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
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
1873994
2
20537
1197
1