ozone-type
Advanced tools
Comparing version 4.2.2 to 4.14.8
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; | ||
@@ -28,9 +28,9 @@ multicastUrl?: string; | ||
restricted?: boolean; | ||
scenes?: [string]; | ||
scenes?: string[]; | ||
storage?: string; | ||
transcoderEnabled?: boolean; | ||
transcodingEnabled?: boolean; | ||
tvGuideNames?: [string]; | ||
tvGuideNames?: string[]; | ||
verticalRes?: number; | ||
constructor(src: Channel); | ||
} |
@@ -9,4 +9,4 @@ import { ChannelOutput } from './ChannelOutput'; | ||
storage?: string; | ||
transcodings?: [ChannelTranscoding]; | ||
transcodings?: ChannelTranscoding[]; | ||
constructor(src: ChannelOutputRecording); | ||
} |
import { Event } from './Event'; | ||
import { UUID } from './Item'; | ||
export declare class DeviceEvent extends Event { | ||
devices?: [UUID]; | ||
devices?: UUID[]; | ||
network?: UUID; | ||
constructor(src: DeviceEvent); | ||
} |
@@ -8,3 +8,3 @@ import { FlowrFrontendSettings } from './FlowrFrontendSettings'; | ||
deviceVersion?: string; | ||
extraInformation?: [string]; | ||
extraInformation?: string[]; | ||
frontendSettings?: FlowrFrontendSettings; | ||
@@ -20,3 +20,3 @@ frontendVersion?: string; | ||
principalName?: string; | ||
roles?: [UUID]; | ||
roles?: UUID[]; | ||
secret?: string; | ||
@@ -23,0 +23,0 @@ serialNumber?: string; |
@@ -6,4 +6,5 @@ import { DeviceEvent } from './DeviceEvent'; | ||
message: DeviceMessage; | ||
users?: [UUID]; | ||
users?: UUID[]; | ||
shouldBeAcknowledged: boolean; | ||
constructor(src: DeviceMessageEvent); | ||
} |
import { DeviceMessage } from './DeviceMessage'; | ||
import { UUID } from './Item'; | ||
export declare class DeviceMessageTakescreenshot extends DeviceMessage { | ||
delay?: [number]; | ||
delay?: number[]; | ||
inputDeviceId: UUID; | ||
@@ -6,0 +6,0 @@ screenshotId?: string; |
import { DeviceMessageReply } from './DeviceMessageReply'; | ||
import { UUID } from './Item'; | ||
export declare class DeviceMessageTakescreenshotreply extends DeviceMessageReply { | ||
screenshots?: [UUID]; | ||
screenshots?: UUID[]; | ||
constructor(src: DeviceMessageTakescreenshotreply); | ||
} |
@@ -6,4 +6,4 @@ import { DeviceMessage } from './DeviceMessage'; | ||
location?: string; | ||
ticketList?: [DeviceMessageTicketingTicket]; | ||
ticketList?: DeviceMessageTicketingTicket[]; | ||
constructor(src: DeviceMessageTicketing); | ||
} |
import { Item } from './Item'; | ||
export declare class DnsService extends Item { | ||
forwarders?: [string]; | ||
forwarders?: string[]; | ||
constructor(src: DnsService); | ||
} |
@@ -9,4 +9,4 @@ import { Item, UUID } from './Item'; | ||
uti?: string; | ||
utiHierarchy?: [string]; | ||
utiHierarchy?: string[]; | ||
constructor(src: File); | ||
} |
@@ -7,5 +7,5 @@ import { Principal } from './Principal'; | ||
network: UUID; | ||
networks: [UUID]; | ||
networks: UUID[]; | ||
principalName?: string; | ||
roles?: [UUID]; | ||
roles?: UUID[]; | ||
secret?: string; | ||
@@ -12,0 +12,0 @@ websocketUrl?: string; |
@@ -13,3 +13,3 @@ import { FlowrGeolocation } from './FlowrGeolocation'; | ||
maxVolume?: number; | ||
preferredContent?: [UUID]; | ||
preferredContent?: UUID[]; | ||
startVolume?: number; | ||
@@ -16,0 +16,0 @@ subtitlesLanguage?: string; |
import { SubscriptionAction } from './SubscriptionAction'; | ||
export declare class FlowrGrantcontent extends SubscriptionAction { | ||
actionRoles?: [string]; | ||
tags?: [string]; | ||
actionRoles?: string[]; | ||
tags?: string[]; | ||
unlimitedRights?: boolean; | ||
constructor(src: FlowrGrantcontent); | ||
} |
@@ -10,7 +10,7 @@ import { RestrictedContent } from './RestrictedContent'; | ||
onlyShowIfAssetsAvailable?: boolean; | ||
packages?: [string]; | ||
packages?: string[]; | ||
parent?: UUID; | ||
restricted?: boolean; | ||
tags?: [string]; | ||
tags?: string[]; | ||
constructor(src: Gui); | ||
} |
export declare type UUID = string; | ||
export declare type Instant = string; | ||
export interface ItemError { | ||
fields?: [string]; | ||
fields?: string[]; | ||
message?: string; | ||
@@ -18,5 +18,5 @@ } | ||
persistence: Persistence; | ||
validityErrors?: [ValidityError]; | ||
securityErrors?: [SecurityError]; | ||
persistenceErrors?: [PersistenceError]; | ||
validityErrors?: ValidityError[]; | ||
securityErrors?: SecurityError[]; | ||
persistenceErrors?: PersistenceError[]; | ||
} | ||
@@ -50,4 +50,11 @@ export declare enum State { | ||
}; | ||
export declare type AbsentFromPatchProps = '_meta' | 'creationUser' | 'modificationUser'; | ||
export declare type NonNullablePatchProps = 'id' | 'version' | 'type'; | ||
export declare type NullablePatchProps<T extends Item> = Exclude<keyof T, NonNullablePatchProps | AbsentFromPatchProps>; | ||
export declare type Patch<T extends Item> = { | ||
[P in NullablePatchProps<T>]?: T[P] | null; | ||
} & { | ||
[P in NonNullablePatchProps]?: T[P]; | ||
}; | ||
export declare class Item { | ||
constructor(src?: Item); | ||
id?: UUID; | ||
@@ -59,6 +66,7 @@ version?: UUID; | ||
deleted?: boolean; | ||
traits?: [string]; | ||
traits?: string[]; | ||
tenant?: UUID; | ||
creationUser?: UUID; | ||
modificationUser?: UUID; | ||
constructor(src?: Item); | ||
} | ||
@@ -65,0 +73,0 @@ export declare class GenericItem extends Item { |
import { Media } from './Media'; | ||
import { UUID } from './Item'; | ||
export declare class ListModel extends Media { | ||
listItems?: [UUID]; | ||
listItems?: UUID[]; | ||
constructor(src: ListModel); | ||
} |
@@ -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,3 +43,3 @@ localizedDescription?: { | ||
previewRatio?: number; | ||
publications?: [string]; | ||
publications?: string[]; | ||
representedBy?: UUID; | ||
@@ -50,3 +50,3 @@ restricted?: boolean; | ||
status?: string; | ||
stocks?: [UUID]; | ||
stocks?: UUID[]; | ||
title?: string; | ||
@@ -53,0 +53,0 @@ usage?: string; |
@@ -10,4 +10,4 @@ import { ServiceInfo } from './ServiceInfo'; | ||
serviceName?: string; | ||
tags?: [string]; | ||
tags?: string[]; | ||
constructor(src: Metric); | ||
} |
@@ -5,4 +5,4 @@ import { UUID, Instant } from './Item'; | ||
lastLoginIpAddress?: string; | ||
roles?: [UUID]; | ||
roles?: UUID[]; | ||
secret?: string; | ||
} |
import { Item } from './Item'; | ||
export declare class Room extends Item { | ||
roomNumber?: string; | ||
wakeUps?: [string]; | ||
wakeUps?: string[]; | ||
constructor(src: Room); | ||
} |
@@ -5,3 +5,3 @@ import { Item, UUID, Instant } from './Item'; | ||
description?: string; | ||
devices?: [UUID]; | ||
devices?: UUID[]; | ||
endDate?: Instant; | ||
@@ -8,0 +8,0 @@ isActive?: boolean; |
@@ -1,4 +0,3 @@ | ||
export * from './api/api'; | ||
export * from './model/models'; | ||
export * from './variables'; | ||
export * from './configuration'; |
@@ -1,28 +0,21 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('article') | ||
export class Article extends Item { | ||
category?: UUID | ||
description?: { [key: string]: string; } | ||
index?: number | ||
localizedName?: { [key: string]: string; } | ||
logo?: UUID | ||
price?: number | ||
export interface Article extends models.Item { | ||
localizedName?: { [key: string]: string; }; | ||
price?: number; | ||
logo?: string; | ||
index?: number; | ||
description?: { [key: string]: string; }; | ||
category?: string; | ||
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 | ||
} | ||
} |
@@ -1,20 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('article.category') | ||
export class ArticleCategory extends Item { | ||
description?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
export interface ArticleCategory extends models.Item { | ||
localizedName?: { [key: string]: string; }; | ||
description?: { [key: string]: string; }; | ||
constructor(src: ArticleCategory) { | ||
super(src) | ||
this.description = src.description | ||
this.localizedName = src.localizedName | ||
} | ||
} |
@@ -1,20 +0,16 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { FlowrLogoitem } from './FlowrLogoitem' | ||
import { Media } from './Media' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Audio extends models.Media { | ||
highlightLogo?: string; | ||
@OzoneType('audio') | ||
export class Audio extends Media implements FlowrLogoitem { | ||
highlightLogo?: UUID | ||
logo?: UUID | ||
logo?: string; | ||
constructor(src: Audio) { | ||
super(src) | ||
this.highlightLogo = src.highlightLogo | ||
this.logo = src.logo | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Media } from './Media' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Basket extends models.Media { | ||
basketItems?: Array<string>; | ||
@OzoneType('basket') | ||
export class Basket extends Media { | ||
basketItems?: UUID[] | ||
constructor(src: Basket) { | ||
super(src) | ||
this.basketItems = src.basketItems | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Media } from './Media' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Batch extends models.Media { | ||
batchItems?: Array<string>; | ||
@OzoneType('batch') | ||
export class Batch extends Media { | ||
batchItems?: UUID[] | ||
constructor(src: Batch) { | ||
super(src) | ||
this.batchItems = src.batchItems | ||
} | ||
} |
@@ -1,64 +0,62 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { ChannelInput } from './ChannelInput' | ||
import { ChannelOutput } from './ChannelOutput' | ||
import { FlowrLogoitem } from './FlowrLogoitem' | ||
import { RestrictedContent } from './RestrictedContent' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Channel extends models.Item { | ||
restricted?: boolean; | ||
@OzoneType('channel') | ||
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 | ||
highlightLogo?: string; | ||
logo?: string; | ||
ottUrl?: string; | ||
aliases?: Array<string>; | ||
keywords?: Array<string>; | ||
languages?: Array<string>; | ||
tvGuideNames?: Array<string>; | ||
verticalRes?: number; | ||
channelUuid?: string; | ||
channelType?: string; | ||
storage?: string; | ||
multicastUrl?: string; | ||
enabled?: boolean; | ||
languageIndexes?: Array<string>; | ||
cbUrl?: string; | ||
output?: any; | ||
input?: any; | ||
transcodingEnabled?: boolean; | ||
bufferDuration?: number; | ||
transcoderEnabled?: boolean; | ||
defaultPackages?: Array<string>; | ||
scenes?: Array<string>; | ||
horizontalRes?: 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 | ||
} | ||
} |
@@ -1,26 +0,21 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { File } from './File' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface ChannelSegment extends models.File { | ||
outputId?: number; | ||
@OzoneType('channel.segment') | ||
export class ChannelSegment extends File { | ||
channelId: UUID | ||
md5: string | ||
outputId: number | ||
start: Instant | ||
stop: Instant | ||
stop?: models.Date; | ||
start?: models.Date; | ||
channelId?: string; | ||
md5?: string; | ||
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 | ||
} | ||
} |
@@ -1,16 +0,5 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface Collection extends models.Item { | ||
@OzoneType('collection') | ||
export class Collection extends Item { | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Metric } from './Metric' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Counter extends models.Metric { | ||
count?: number; | ||
@OzoneType('counter') | ||
export class Counter extends Metric { | ||
count?: number | ||
constructor(src: Counter) { | ||
super(src) | ||
this.count = src.count | ||
} | ||
} |
@@ -1,16 +0,5 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface DeviceAction extends models.Item { | ||
@OzoneType('device.action') | ||
export class DeviceAction extends Item { | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceAction } from './DeviceAction' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceActionChangetenant extends models.DeviceAction { | ||
tenantId?: string; | ||
@OzoneType('device.action.changetenant') | ||
export class DeviceActionChangetenant extends DeviceAction { | ||
tenantId: UUID | ||
constructor(src: DeviceActionChangetenant) { | ||
super(src) | ||
this.tenantId = src.tenantId | ||
} | ||
} |
@@ -1,18 +0,14 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceAction } from './DeviceAction' | ||
import { DeviceEvent } from './DeviceEvent' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceActionEvent extends models.DeviceEvent { | ||
action?: any; | ||
@OzoneType('device.action.event') | ||
export class DeviceActionEvent extends DeviceEvent { | ||
action: DeviceAction | ||
constructor(src: DeviceActionEvent) { | ||
super(src) | ||
this.action = src.action | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceAction } from './DeviceAction' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceActionTurnon extends models.DeviceAction { | ||
ttl?: number; | ||
@OzoneType('device.action.turnon') | ||
export class DeviceActionTurnon extends DeviceAction { | ||
ttl?: number | ||
constructor(src: DeviceActionTurnon) { | ||
super(src) | ||
this.ttl = src.ttl | ||
} | ||
} |
@@ -1,20 +0,15 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Event } from './Event' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceEvent extends models.Event { | ||
devices?: Array<string>; | ||
@OzoneType('device.event') | ||
export class DeviceEvent extends Event { | ||
devices?: UUID[] | ||
network?: UUID | ||
network?: string; | ||
constructor(src: DeviceEvent) { | ||
super(src) | ||
this.devices = src.devices | ||
this.network = src.network | ||
} | ||
} |
@@ -1,26 +0,19 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('device.firmware') | ||
export class DeviceFirmware extends Item { | ||
binary?: UUID | ||
byteSize?: number | ||
description?: string | ||
fileName?: string | ||
softwareVersion?: string | ||
export interface DeviceFirmware extends models.Item { | ||
fileName?: string; | ||
byteSize?: number; | ||
binary?: string; | ||
description?: 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 | ||
} | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceFirmware } from './DeviceFirmware' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceFirmwareTizen extends models.DeviceFirmware { | ||
@OzoneType('device.firmware.tizen') | ||
export class DeviceFirmwareTizen extends DeviceFirmware { | ||
} |
@@ -1,52 +0,52 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { FlowrFrontendSettings } from './FlowrFrontendSettings' | ||
import { Principal } from './Principal' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceInfo extends models.Item { | ||
lastLoginIpAddress?: string; | ||
@OzoneType('device.info') | ||
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 | ||
roles?: Array<string>; | ||
lastLoginDate?: models.Date; | ||
deviceType?: string; | ||
serialNumber?: string; | ||
linkedUser?: string; | ||
activeMacAddress?: string; | ||
deviceVersion?: string; | ||
validMacAddress?: string; | ||
network?: string; | ||
macAddress?: string; | ||
extraInformation?: Array<string>; | ||
model?: string; | ||
location?: string; | ||
subLocation?: string; | ||
frontendVersion?: string; | ||
frontendSettings?: any; | ||
status?: 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 | ||
} | ||
} |
@@ -1,16 +0,5 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface DeviceMessage extends models.Item { | ||
@OzoneType('device.message') | ||
export class DeviceMessage extends Item { | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageAlert extends models.DeviceMessage { | ||
message?: string; | ||
@OzoneType('device.message.alert') | ||
export class DeviceMessageAlert extends DeviceMessage { | ||
message: string | ||
constructor(src: DeviceMessageAlert) { | ||
super(src) | ||
this.message = src.message | ||
} | ||
} |
@@ -1,22 +0,17 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageEmail extends models.DeviceMessage { | ||
subject?: string; | ||
@OzoneType('device.message.email') | ||
export class DeviceMessageEmail extends DeviceMessage { | ||
from?: string | ||
message: string | ||
subject?: string | ||
from?: string; | ||
message?: string; | ||
constructor(src: DeviceMessageEmail) { | ||
super(src) | ||
this.from = src.from | ||
this.message = src.message | ||
this.subject = src.subject | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageEnablevorlon extends models.DeviceMessage { | ||
dashboard?: string; | ||
@OzoneType('device.message.enablevorlon') | ||
export class DeviceMessageEnablevorlon extends DeviceMessage { | ||
dashboard?: string | ||
constructor(src: DeviceMessageEnablevorlon) { | ||
super(src) | ||
this.dashboard = src.dashboard | ||
} | ||
} |
@@ -1,20 +0,18 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceEvent } from './DeviceEvent' | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageEvent extends models.DeviceEvent { | ||
message?: any; | ||
@OzoneType('device.message.event') | ||
export class DeviceMessageEvent extends DeviceEvent { | ||
message: DeviceMessage | ||
users?: UUID[] | ||
shouldBeAcknowledged: boolean | ||
users?: Array<string>; | ||
constructor(src: DeviceMessageEvent) { | ||
super(src) | ||
this.message = src.message | ||
this.users = src.users | ||
this.shouldBeAcknowledged = src.shouldBeAcknowledged | ||
} | ||
} |
@@ -1,26 +0,21 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageForcechannel extends models.DeviceMessage { | ||
volume?: number; | ||
@OzoneType('device.message.forcechannel') | ||
export class DeviceMessageForcechannel extends DeviceMessage { | ||
itemId?: string | ||
lang?: string | ||
route: string | ||
sceneId?: string | ||
volume?: number | ||
itemId?: string; | ||
route?: string; | ||
sceneId?: string; | ||
lang?: string; | ||
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 | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageFromdevice extends models.DeviceMessage { | ||
sender?: string; | ||
@OzoneType('device.message.fromdevice') | ||
export class DeviceMessageFromdevice extends DeviceMessage { | ||
sender: UUID | ||
constructor(src: DeviceMessageFromdevice) { | ||
super(src) | ||
this.sender = src.sender | ||
} | ||
} |
@@ -1,20 +0,15 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageKeypress extends models.DeviceMessage { | ||
eventName?: string; | ||
@OzoneType('device.message.keypress') | ||
export class DeviceMessageKeypress extends DeviceMessage { | ||
eventName: string | ||
key?: string | ||
key?: string; | ||
constructor(src: DeviceMessageKeypress) { | ||
super(src) | ||
this.eventName = src.eventName | ||
this.key = src.key | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageLogs extends models.DeviceMessage { | ||
activate?: boolean; | ||
@OzoneType('device.message.logs') | ||
export class DeviceMessageLogs extends DeviceMessage { | ||
activate?: boolean | ||
constructor(src: DeviceMessageLogs) { | ||
super(src) | ||
this.activate = src.activate | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageMessagedeleted extends models.DeviceMessage { | ||
messageId?: string; | ||
@OzoneType('device.message.messagedeleted') | ||
export class DeviceMessageMessagedeleted extends DeviceMessage { | ||
messageId: UUID | ||
constructor(src: DeviceMessageMessagedeleted) { | ||
super(src) | ||
this.messageId = src.messageId | ||
} | ||
} |
@@ -1,20 +0,15 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageNotice extends models.DeviceMessage { | ||
duration?: number; | ||
@OzoneType('device.message.notice') | ||
export class DeviceMessageNotice extends DeviceMessage { | ||
duration?: number | ||
message: string | ||
message?: string; | ||
constructor(src: DeviceMessageNotice) { | ||
super(src) | ||
this.duration = src.duration | ||
this.message = src.message | ||
} | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageReboot extends models.DeviceMessage { | ||
@OzoneType('device.message.reboot') | ||
export class DeviceMessageReboot extends DeviceMessage { | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageRefresh extends models.DeviceMessage { | ||
@OzoneType('device.message.refresh') | ||
export class DeviceMessageRefresh extends DeviceMessage { | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageReload extends models.DeviceMessage { | ||
@OzoneType('device.message.reload') | ||
export class DeviceMessageReload extends DeviceMessage { | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessageFromdevice } from './DeviceMessageFromdevice' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageReply extends models.DeviceMessageFromdevice { | ||
originalMessage?: string; | ||
@OzoneType('device.message.reply') | ||
export class DeviceMessageReply extends DeviceMessageFromdevice { | ||
originalMessage: UUID | ||
constructor(src: DeviceMessageReply) { | ||
super(src) | ||
this.originalMessage = src.originalMessage | ||
} | ||
} |
@@ -1,22 +0,17 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageTakescreenshot extends models.DeviceMessage { | ||
inputDeviceId?: string; | ||
@OzoneType('device.message.takescreenshot') | ||
export class DeviceMessageTakescreenshot extends DeviceMessage { | ||
delay?: number[] | ||
inputDeviceId: UUID | ||
screenshotId?: string | ||
screenshotId?: string; | ||
delay?: Array<number>; | ||
constructor(src: DeviceMessageTakescreenshot) { | ||
super(src) | ||
this.delay = src.delay | ||
this.inputDeviceId = src.inputDeviceId | ||
this.screenshotId = src.screenshotId | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessageReply } from './DeviceMessageReply' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageTakescreenshotreply extends models.DeviceMessageReply { | ||
screenshots?: Array<string>; | ||
@OzoneType('device.message.takescreenshotreply') | ||
export class DeviceMessageTakescreenshotreply extends DeviceMessageReply { | ||
screenshots?: UUID[] | ||
constructor(src: DeviceMessageTakescreenshotreply) { | ||
super(src) | ||
this.screenshots = src.screenshots | ||
} | ||
} |
@@ -1,22 +0,18 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import { DeviceMessageTicketingTicket } from './DeviceMessageTicketingTicket' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageTicketing extends models.DeviceMessage { | ||
ticketList?: Array<any>; | ||
@OzoneType('device.message.ticketing') | ||
export class DeviceMessageTicketing extends DeviceMessage { | ||
action?: string | ||
location?: string | ||
ticketList?: DeviceMessageTicketingTicket[] | ||
action?: string; | ||
location?: string; | ||
constructor(src: DeviceMessageTicketing) { | ||
super(src) | ||
this.action = src.action | ||
this.location = src.location | ||
this.ticketList = src.ticketList | ||
} | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageTurnoff extends models.DeviceMessage { | ||
@OzoneType('device.message.turnoff') | ||
export class DeviceMessageTurnoff extends DeviceMessage { | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceMessage } from './DeviceMessage' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DeviceMessageUpdate extends models.DeviceMessage { | ||
firmwareId?: string; | ||
@OzoneType('device.message.update') | ||
export class DeviceMessageUpdate extends DeviceMessage { | ||
firmwareId: UUID | ||
constructor(src: DeviceMessageUpdate) { | ||
super(src) | ||
this.firmwareId = src.firmwareId | ||
} | ||
} |
@@ -1,24 +0,19 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Metric } from './Metric' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface DistributionSummary extends models.Metric { | ||
totalAmount?: number; | ||
@OzoneType('distributionSummary') | ||
export class DistributionSummary extends Metric { | ||
count?: number | ||
max?: number | ||
mean?: number | ||
totalAmount?: number | ||
max?: number; | ||
mean?: number; | ||
count?: number; | ||
constructor(src: DistributionSummary) { | ||
super(src) | ||
this.count = src.count | ||
this.max = src.max | ||
this.mean = src.mean | ||
this.totalAmount = src.totalAmount | ||
} | ||
} |
@@ -1,26 +0,19 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('dns.record') | ||
export class DnsRecord extends Item { | ||
dns: UUID | ||
recordName: string | ||
recordType: string | ||
ttl: number | ||
value: string | ||
export interface DnsRecord extends models.Item { | ||
recordType?: string; | ||
recordName?: string; | ||
dns?: string; | ||
value?: string; | ||
ttl?: number; | ||
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 | ||
} | ||
} |
@@ -1,18 +0,11 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('dns.service') | ||
export class DnsService extends Item { | ||
forwarders?: string[] | ||
export interface DnsService extends models.Item { | ||
forwarders?: Array<string>; | ||
constructor(src: DnsService) { | ||
super(src) | ||
this.forwarders = src.forwarders | ||
} | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Media } from './Media' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Document extends models.Media { | ||
@OzoneType('document') | ||
export class Document extends Media { | ||
} |
@@ -1,20 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('documenttemplate') | ||
export class Documenttemplate extends Item { | ||
destination?: string | ||
template?: string | ||
export interface Documenttemplate extends models.Item { | ||
template?: string; | ||
destination?: string; | ||
constructor(src: Documenttemplate) { | ||
super(src) | ||
this.destination = src.destination | ||
this.template = src.template | ||
} | ||
} |
@@ -1,22 +0,15 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('eshop.order') | ||
export class EshopOrder extends Item { | ||
body: string | ||
creationDate: Instant | ||
device: UUID | ||
export interface EshopOrder extends models.Item { | ||
creationDate?: models.Date; | ||
body?: string; | ||
device?: string; | ||
constructor(src: EshopOrder) { | ||
super(src) | ||
this.body = src.body | ||
this.creationDate = src.creationDate | ||
this.device = src.device | ||
} | ||
} |
@@ -1,16 +0,5 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface Event extends models.Item { | ||
@OzoneType('event') | ||
export class Event extends Item { | ||
} |
@@ -1,22 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface Externalmedia { | ||
externalURL?: string; | ||
externalId?: string; | ||
externalSource?: string; | ||
externalId?: string | ||
externalSource?: string | ||
externalURL?: string | ||
} |
@@ -1,24 +0,22 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Externalmedia } from './Externalmedia' | ||
import { Video } from './Video' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Externalvideo extends models.Video { | ||
externalURL?: string; | ||
@OzoneType('externalvideo') | ||
export class Externalvideo extends Video implements Externalmedia { | ||
externalDate?: Instant | ||
externalId?: string | ||
externalSource?: string | ||
externalURL?: string | ||
externalValidityDate?: Instant | ||
externalId?: string; | ||
externalSource?: string; | ||
externalDate?: models.Date; | ||
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 | ||
} | ||
} |
@@ -1,24 +0,19 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('file') | ||
export class File extends Item { | ||
blob?: UUID | ||
fileType?: UUID | ||
subFiles?: { [key: string]:UUID; } | ||
uti?: string | ||
utiHierarchy?: string[] | ||
export interface File extends models.Item { | ||
subFiles?: {[key: string]:string}; | ||
blob?: string; | ||
uti?: string; | ||
fileType?: 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 | ||
} | ||
} |
@@ -1,26 +0,27 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Principal } from './Principal' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface FlowrAgent extends models.Item { | ||
lastLoginIpAddress?: string; | ||
@OzoneType('flowr.agent') | ||
export class FlowrAgent extends Item implements Principal { | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
network: UUID | ||
networks: UUID[] | ||
principalName?: string | ||
roles?: UUID[] | ||
secret?: string | ||
websocketUrl?: string | ||
roles?: Array<string>; | ||
lastLoginDate?: models.Date; | ||
websocketUrl?: string; | ||
network?: 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 | ||
} | ||
} |
@@ -1,20 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('flowrconfig') | ||
export class Flowrconfig extends Item { | ||
backendVersion?: number | ||
rootFolder?: UUID | ||
export interface Flowrconfig extends models.Item { | ||
rootFolder?: string; | ||
backendVersion?: number; | ||
constructor(src: Flowrconfig) { | ||
super(src) | ||
this.backendVersion = src.backendVersion | ||
this.rootFolder = src.rootFolder | ||
} | ||
} |
@@ -1,30 +0,23 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('flowr.doctemplate') | ||
export class FlowrDoctemplate extends Item { | ||
attachmentName?: string | ||
attachmentTemplate?: string | ||
bodyTemplate?: string | ||
destination?: string | ||
identifier?: string | ||
language?: string | ||
subjectTemplate?: string | ||
export interface FlowrDoctemplate extends models.Item { | ||
identifier?: string; | ||
attachmentTemplate?: string; | ||
bodyTemplate?: string; | ||
destination?: string; | ||
attachmentName?: 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 | ||
} | ||
} |
@@ -1,24 +0,19 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Recording } from './Recording' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Flowrecording extends models.Recording { | ||
summary?: string; | ||
@OzoneType('flowrecording') | ||
export class Flowrecording extends Recording { | ||
description?: string | ||
deviceId: UUID | ||
summary?: string | ||
thumbnail?: string | ||
thumbnail?: string; | ||
description?: string; | ||
deviceId?: string; | ||
constructor(src: Flowrecording) { | ||
super(src) | ||
this.description = src.description | ||
this.deviceId = src.deviceId | ||
this.summary = src.summary | ||
this.thumbnail = src.thumbnail | ||
} | ||
} |
@@ -1,22 +0,15 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('flowr.epg') | ||
export class FlowrEpg extends Item { | ||
timezone?: string | ||
url?: string | ||
xslt?: string | ||
export interface FlowrEpg extends models.Item { | ||
timezone?: string; | ||
xslt?: string; | ||
url?: string; | ||
constructor(src: FlowrEpg) { | ||
super(src) | ||
this.timezone = src.timezone | ||
this.url = src.url | ||
this.xslt = src.xslt | ||
} | ||
} |
@@ -1,38 +0,36 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { FlowrGeolocation } from './FlowrGeolocation' | ||
import { FlowrRemoteControlSettings } from './FlowrRemoteControlSettings' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface FlowrFrontendSettings extends models.Item { | ||
subtitlesLanguage?: string; | ||
@OzoneType('flowr.frontend.settings') | ||
export class FlowrFrontendSettings extends Item { | ||
audioLanguage?: string | ||
autoUpdate?: boolean | ||
bootPageId?: UUID | ||
flowrRemoteControlSettings?: FlowrRemoteControlSettings | ||
interfaceLanguage?: string | ||
lastChannelId?: UUID | ||
location?: FlowrGeolocation | ||
maxVolume?: number | ||
preferredContent?: UUID[] | ||
startVolume?: number | ||
subtitlesLanguage?: string | ||
user?: UUID | ||
autoUpdate?: boolean; | ||
interfaceLanguage?: string; | ||
lastChannelId?: string; | ||
bootPageId?: string; | ||
startVolume?: number; | ||
audioLanguage?: string; | ||
location?: any; | ||
preferredContent?: Array<string>; | ||
user?: string; | ||
maxVolume?: number; | ||
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 | ||
} | ||
} |
@@ -1,22 +0,17 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { SubscriptionAction } from './SubscriptionAction' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface FlowrGrantcontent extends models.SubscriptionAction { | ||
actionRoles?: Array<string>; | ||
@OzoneType('flowr.grantcontent') | ||
export class FlowrGrantcontent extends SubscriptionAction { | ||
actionRoles?: string[] | ||
tags?: string[] | ||
unlimitedRights?: boolean | ||
unlimitedRights?: boolean; | ||
tags?: Array<string>; | ||
constructor(src: FlowrGrantcontent) { | ||
super(src) | ||
this.actionRoles = src.actionRoles | ||
this.tags = src.tags | ||
this.unlimitedRights = src.unlimitedRights | ||
} | ||
} |
@@ -1,20 +0,6 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface FlowrLogoitem { | ||
highlightLogo?: string; | ||
logo?: string; | ||
highlightLogo?: UUID | ||
logo?: UUID | ||
} |
@@ -1,28 +0,10 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface FlowrMedia { | ||
localizedShortDescription?: { [key: string]: string; }; | ||
localizedName?: { [key: string]: string; }; | ||
usage?: string; | ||
mediaUuid?: string; | ||
localizedDescription?: { [key: string]: string; }; | ||
localizedTitle?: { [key: string]: string; }; | ||
localizedDescription?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
localizedShortDescription?: { [key: string]: string; } | ||
localizedTitle?: { [key: string]: string; } | ||
mediaUuid?: UUID | ||
usage?: string | ||
} |
@@ -1,38 +0,36 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { ServiceInfo } from './ServiceInfo' | ||
import { TimestampedItem } from './TimestampedItem' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface FlowrMediaplay extends models.TimestampedItem { | ||
instanceId?: string; | ||
@OzoneType('flowr.mediaplay') | ||
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 | ||
replicaId?: string; | ||
serviceName?: string; | ||
properties?: { [key: string]: string; }; | ||
totalDuration?: number; | ||
itemId?: string; | ||
description?: string; | ||
userAgent?: string; | ||
ratioEffectiveTotal?: number; | ||
url?: string; | ||
effectivelyPlayedDuration?: number; | ||
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 | ||
} | ||
} |
@@ -1,44 +0,18 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface FlowrVod { | ||
realisators?: string; | ||
groupingId?: string; | ||
year?: number; | ||
presentators?: string; | ||
language?: string; | ||
seasonNumber?: number; | ||
episodeNumber?: number; | ||
actors?: string; | ||
highlight?: boolean; | ||
subTitle?: { [key: string]: string; }; | ||
parentalGuidance?: number; | ||
vodType?: string; | ||
genre?: string; | ||
editors?: string; | ||
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 | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Media } from './Media' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Folder extends models.Media { | ||
@OzoneType('folder') | ||
export class Folder extends Media { | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Metric } from './Metric' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface FunctionCounter extends models.Metric { | ||
count?: number; | ||
@OzoneType('functionCounter') | ||
export class FunctionCounter extends Metric { | ||
count?: number | ||
constructor(src: FunctionCounter) { | ||
super(src) | ||
this.count = src.count | ||
} | ||
} |
@@ -1,22 +0,17 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Metric } from './Metric' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface FunctionTimer extends models.Metric { | ||
mean?: number; | ||
@OzoneType('functionTimer') | ||
export class FunctionTimer extends Metric { | ||
count?: number | ||
mean?: number | ||
totalTime?: number | ||
totalTime?: number; | ||
count?: number; | ||
constructor(src: FunctionTimer) { | ||
super(src) | ||
this.count = src.count | ||
this.mean = src.mean | ||
this.totalTime = src.totalTime | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Metric } from './Metric' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Gauge extends models.Metric { | ||
value?: number; | ||
@OzoneType('gauge') | ||
export class Gauge extends Metric { | ||
value?: number | ||
constructor(src: Gauge) { | ||
super(src) | ||
this.value = src.value | ||
} | ||
} |
@@ -1,36 +0,31 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { RestrictedContent } from './RestrictedContent' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Gui extends models.Item { | ||
restricted?: boolean; | ||
@OzoneType('gui') | ||
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[] | ||
onlyShowIfAssetsAvailable?: boolean; | ||
parent?: string; | ||
indexLow?: number; | ||
indexHi?: number; | ||
packages?: Array<string>; | ||
inheritedFrom?: string; | ||
guiUuid?: string; | ||
i18n?: string; | ||
tags?: Array<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 | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Media } from './Media' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Image extends models.Media { | ||
dpi?: number; | ||
@OzoneType('image') | ||
export class Image extends Media { | ||
dpi?: number | ||
constructor(src: Image) { | ||
super(src) | ||
this.dpi = src.dpi | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { DeviceInfo } from './DeviceInfo' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface InputDevice extends models.DeviceInfo { | ||
targetDevice?: string; | ||
@OzoneType('input.device') | ||
export class InputDevice extends DeviceInfo { | ||
targetDevice?: UUID | ||
constructor(src: InputDevice) { | ||
super(src) | ||
this.targetDevice = src.targetDevice | ||
} | ||
} |
@@ -1,39 +0,123 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
export type UUID = string | ||
export type Instant = string | ||
import * as models from './models'; | ||
export interface ItemError { | ||
fields?: string[] | ||
message?: string | ||
} | ||
export interface Item { | ||
deleted?: boolean; | ||
export interface ValidityError extends ItemError {} | ||
creationUser?: string; | ||
export interface SecurityError extends ItemError {} | ||
traits?: Array<string>; | ||
export interface PersistenceError extends ItemError {} | ||
organization?: number; | ||
export interface ItemMeta { | ||
state: State | ||
validity: Validity | ||
security: Security | ||
persistence: Persistence | ||
validityErrors?: ValidityError[] | ||
securityErrors?: SecurityError[] | ||
persistenceErrors?: PersistenceError[] | ||
} | ||
modificationUser?: string; | ||
export enum State { | ||
OK = 'OK', | ||
ERROR = 'ERROR' | ||
} | ||
name?: string; | ||
export enum Validity { VALID = 'VALID', INVALID = 'INVALID', UNKNOWN = 'UNKNOWN' } | ||
export enum Security { ALLOWED = 'ALLOWED', FORBIDDEN = 'FORBIDDEN', UNKNOWN = 'UNKNOWN' } | ||
export enum Persistence { NEW = 'NEW', DIRTY = 'DIRTY', SAVED = 'SAVED', SAVE_ERROR = 'SAVE_ERROR' } | ||
meta?: models.ItemMeta; | ||
export type FromOzone<T extends Item> = T & { | ||
id: UUID | ||
version: UUID | ||
_meta: ItemMeta | ||
tenant: UUID | ||
type: string | ||
} | ||
id?: string; | ||
export type AbsentFromPatchProps = '_meta' | 'creationUser' | 'modificationUser' | ||
type: string; | ||
export type NonNullablePatchProps = 'id' | 'version' | 'type' | ||
version?: string; | ||
export type NullablePatchProps<T extends Item> = Exclude<keyof T, NonNullablePatchProps | AbsentFromPatchProps> | ||
tenant?: string; | ||
export type Patch<T extends Item> = { | ||
[P in NullablePatchProps<T>]?: T[P] | null | ||
} & { | ||
[P in NonNullablePatchProps]?: T[P] | ||
} | ||
[key: string]: any; | ||
@OzoneType('item') | ||
export class Item { | ||
id?: UUID | ||
version?: UUID | ||
type?:string | ||
_meta?: ItemMeta | ||
name?: string | ||
deleted?: boolean | ||
traits?: string[] | ||
tenant?: UUID | ||
creationUser?: UUID | ||
modificationUser?: UUID | ||
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 | ||
} | ||
} | ||
} | ||
function toPatch<T extends Item>(item:T): Patch<T> { | ||
let patch : any = {} | ||
for (let prop of Object.getOwnPropertyNames(item)) { | ||
if (prop in ['_meta', 'creationUser', 'modificationUser']) { | ||
continue | ||
} | ||
const val:any = (item as any)[prop] | ||
if (val !== undefined) { | ||
patch[prop] = val | ||
} | ||
} | ||
return patch as Patch<T> | ||
} | ||
function toPatchWithUndefinedAsNull<T extends Item>(item:T): Patch<T> { | ||
let patch : any = {} | ||
for (let prop of Object.getOwnPropertyNames(item)) { | ||
if (prop in ['_meta', 'creationUser', 'modificationUser']) { | ||
continue | ||
} | ||
const val:any = (item as any)[prop] | ||
if (val === undefined) { | ||
patch[prop] = null | ||
} else { | ||
patch[prop] = val | ||
} | ||
} | ||
return patch as Patch<T> | ||
} | ||
export class GenericItem extends Item { | ||
[key: string]: any; | ||
} | ||
export function OzoneType(typeIdentifier:string) { | ||
return function <T extends {new(...args:any[]):{}}>(constructor:T) { | ||
return class extends constructor { | ||
type = typeIdentifier | ||
} | ||
} | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { InputDevice } from './InputDevice' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Joystick extends models.InputDevice { | ||
@OzoneType('joystick') | ||
export class Joystick extends InputDevice { | ||
} |
@@ -1,34 +0,30 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { ServiceInfo } from './ServiceInfo' | ||
import { TimestampedItem } from './TimestampedItem' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface LogItem extends models.TimestampedItem { | ||
instanceId?: string; | ||
@OzoneType('logItem') | ||
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 | ||
replicaId?: string; | ||
serviceName?: string; | ||
properties?: { [key: string]: string; }; | ||
severity?: string; | ||
stackTrace?: string; | ||
thread?: string; | ||
message?: string; | ||
category?: 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 | ||
} | ||
} |
@@ -1,18 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Metric } from './Metric' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface LongTaskTimer extends models.Metric { | ||
duration?: number; | ||
@OzoneType('longTaskTimer') | ||
export class LongTaskTimer extends Metric { | ||
duration?: number | ||
constructor(src: LongTaskTimer) { | ||
super(src) | ||
this.duration = src.duration | ||
} | ||
} |
@@ -1,88 +0,87 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { FlowrMedia } from './FlowrMedia' | ||
import { RestrictedContent } from './RestrictedContent' | ||
import { TagsCustom } from './TagsCustom' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Media extends models.Item { | ||
localizedShortDescription?: { [key: string]: string; }; | ||
@OzoneType('media') | ||
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 | ||
localizedName?: { [key: string]: string; }; | ||
usage?: string; | ||
mediaUuid?: string; | ||
localizedDescription?: { [key: string]: string; }; | ||
localizedTitle?: { [key: string]: string; }; | ||
restricted?: boolean; | ||
date?: models.Date; | ||
country?: string; | ||
keywords?: Array<string>; | ||
city?: string; | ||
fileUTI?: Array<string>; | ||
fullText?: string; | ||
caption?: string; | ||
source?: string; | ||
representedBy?: string; | ||
title?: string; | ||
stocks?: Array<string>; | ||
parentFolder?: string; | ||
file?: string; | ||
previewDate?: models.Date; | ||
collections?: Array<string>; | ||
credit?: string; | ||
height?: number; | ||
byLine?: string; | ||
previewRatio?: number; | ||
length?: number; | ||
creationDate?: models.Date; | ||
derivedFiles?: Array<string>; | ||
modificationDate?: models.Date; | ||
specialInstructions?: string; | ||
width?: number; | ||
objectName?: string; | ||
category?: string; | ||
publications?: Array<string>; | ||
status?: string; | ||
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 | ||
} | ||
} |
@@ -1,48 +0,41 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('message') | ||
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 | ||
export interface Message extends models.Item { | ||
date?: number; | ||
fidelioId?: number; | ||
read?: number; | ||
attachments?: string; | ||
toDeviceId?: string; | ||
subject?: string; | ||
externalId?: number; | ||
priority?: number; | ||
body?: string; | ||
creationDate?: number; | ||
internalLink?: string; | ||
messageType?: string; | ||
from?: string; | ||
time?: number; | ||
toRoomNumber?: string; | ||
toReservationNumber?: number; | ||
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 | ||
} | ||
} |
@@ -1,26 +0,22 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { ServiceInfo } from './ServiceInfo' | ||
import { TimestampedItem } from './TimestampedItem' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Metric extends models.TimestampedItem { | ||
instanceId?: string; | ||
@OzoneType('metric') | ||
export class Metric extends TimestampedItem implements ServiceInfo { | ||
instanceId: string | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
tags?: string[] | ||
replicaId?: string; | ||
serviceName?: string; | ||
properties?: { [key: string]: string; }; | ||
tags?: Array<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 | ||
} | ||
} |
@@ -366,3 +366,2 @@ export * from './AdminPermission'; | ||
export * from './ItemIdsSearchResult'; | ||
export * from './ItemMeta'; | ||
export * from './ItemPermission'; | ||
@@ -489,3 +488,2 @@ export * from './ItemPrincipalFieldQuery'; | ||
export * from './SearchRequest'; | ||
export * from './SecurityError'; | ||
export * from './ServiceInfo'; | ||
@@ -560,3 +558,2 @@ export * from './SessionData'; | ||
export * from './User'; | ||
export * from './ValidityError'; | ||
export * from './Vehicleposition'; | ||
@@ -574,3 +571,1 @@ export * from './VehiclepositionIdsSearchResult'; | ||
export * from './WildcardQuery'; | ||
export type UUID = string |
@@ -1,24 +0,17 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('network') | ||
export class Network extends Item { | ||
address: string | ||
dns?: UUID | ||
netmask: string | ||
websocketUrl?: string | ||
export interface Network extends models.Item { | ||
address?: string; | ||
netmask?: string; | ||
dns?: string; | ||
websocketUrl?: string; | ||
constructor(src: Network) { | ||
super(src) | ||
this.address = src.address | ||
this.dns = src.dns | ||
this.netmask = src.netmask | ||
this.websocketUrl = src.websocketUrl | ||
} | ||
} |
@@ -1,28 +0,23 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { FlowrFrontendSettings } from './FlowrFrontendSettings' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface OrganizationInfo extends models.Item { | ||
settings?: string; | ||
@OzoneType('organization.info') | ||
export class OrganizationInfo extends Item { | ||
frontendSettings?: FlowrFrontendSettings | ||
rootGuiId?: UUID | ||
secret?: UUID | ||
settings?: string | ||
signageGuiId?: UUID | ||
storyboards?: string | ||
rootGuiId?: string; | ||
secret?: string; | ||
frontendSettings?: any; | ||
storyboards?: string; | ||
signageGuiId?: 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 | ||
} | ||
} |
@@ -1,22 +0,15 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('passingtime') | ||
export class Passingtime extends Item { | ||
expectedArrivalTime?: Instant | ||
lineId?: number | ||
pointId?: number | ||
export interface Passingtime extends models.Item { | ||
pointId?: number; | ||
lineId?: number; | ||
expectedArrivalTime?: models.Date; | ||
constructor(src: Passingtime) { | ||
super(src) | ||
this.expectedArrivalTime = src.expectedArrivalTime | ||
this.lineId = src.lineId | ||
this.pointId = src.pointId | ||
} | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { File } from './File' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Playlist extends models.File { | ||
@OzoneType('playlist') | ||
export class Playlist extends File { | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { File } from './File' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface PlaylistFolder extends models.File { | ||
@OzoneType('playlist.folder') | ||
export class PlaylistFolder extends File { | ||
} |
@@ -1,20 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('postingindex') | ||
export class Postingindex extends Item { | ||
creationDate?: number | ||
sequentialIndex?: number | ||
export interface Postingindex extends models.Item { | ||
creationDate?: number; | ||
sequentialIndex?: number; | ||
constructor(src: Postingindex) { | ||
super(src) | ||
this.creationDate = src.creationDate | ||
this.sequentialIndex = src.sequentialIndex | ||
} | ||
} |
@@ -1,22 +0,8 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface Principal { | ||
lastLoginIpAddress?: string; | ||
roles?: Array<string>; | ||
lastLoginDate?: models.Date; | ||
lastLoginDate?: Instant | ||
lastLoginIpAddress?: string | ||
roles?: UUID[] | ||
secret?: string | ||
} |
@@ -1,26 +0,19 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('recording') | ||
export class Recording extends Item { | ||
channelId: UUID | ||
duration?: number | ||
start: Instant | ||
stop: Instant | ||
video?: UUID | ||
export interface Recording extends models.Item { | ||
duration?: number; | ||
stop?: models.Date; | ||
start?: models.Date; | ||
video?: string; | ||
channelId?: string; | ||
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 | ||
} | ||
} |
@@ -1,86 +0,79 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('reservation') | ||
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 | ||
export interface Reservation extends models.Item { | ||
date?: number; | ||
roomNumber?: string; | ||
shareFlag?: string; | ||
visitNumber?: string; | ||
guestVipStatus?: string; | ||
lastMutationDate?: number; | ||
guestName?: string; | ||
workstationId?: string; | ||
noPostStatus?: string; | ||
guestLanguage?: string; | ||
guestDepartureDate?: number; | ||
swapFlag?: string; | ||
classOfService?: string; | ||
videoRights?: string; | ||
minibarRights?: string; | ||
guestArrivalDate?: number; | ||
profileNumber?: string; | ||
a0?: string; | ||
a1?: string; | ||
a2?: string; | ||
a3?: string; | ||
guestGroupNumber?: string; | ||
a4?: string; | ||
a5?: string; | ||
tvRights?: string; | ||
a6?: string; | ||
a7?: string; | ||
a8?: string; | ||
guestFirstName?: string; | ||
a9?: string; | ||
guestTitle?: string; | ||
reservationNumber?: number; | ||
oldRoomNumber?: string; | ||
time?: number; | ||
checkOut?: number; | ||
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 | ||
} | ||
} |
@@ -1,18 +0,5 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface RestrictedContent { | ||
restricted?: boolean; | ||
restricted?: boolean | ||
} |
@@ -1,20 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('room') | ||
export class Room extends Item { | ||
roomNumber?: string | ||
wakeUps?: string[] | ||
export interface Room extends models.Item { | ||
roomNumber?: string; | ||
wakeUps?: Array<string>; | ||
constructor(src: Room) { | ||
super(src) | ||
this.roomNumber = src.roomNumber | ||
this.wakeUps = src.wakeUps | ||
} | ||
} |
@@ -1,24 +0,8 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface ServiceInfo { | ||
instanceId?: string; | ||
replicaId?: string; | ||
serviceName?: string; | ||
properties?: { [key: string]: string; }; | ||
instanceId: string | ||
properties?: { [key: string]:string; } | ||
replicaId?: string | ||
serviceName?: string | ||
} |
@@ -1,16 +0,5 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface Stock extends models.Item { | ||
@OzoneType('stock') | ||
export class Stock extends Item { | ||
} |
@@ -1,28 +0,21 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('subscription') | ||
export class Subscription extends Item { | ||
action?: UUID | ||
description?: string | ||
devices?: UUID[] | ||
endDate?: Instant | ||
isActive?: boolean | ||
startDate?: Instant | ||
export interface Subscription extends models.Item { | ||
devices?: Array<string>; | ||
endDate?: models.Date; | ||
action?: string; | ||
description?: string; | ||
isActive?: boolean; | ||
startDate?: models.Date; | ||
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 | ||
} | ||
} |
@@ -1,16 +0,5 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface SubscriptionAction extends models.Item { | ||
@OzoneType('subscription.action') | ||
export class SubscriptionAction extends Item { | ||
} |
@@ -1,22 +0,15 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('survey') | ||
export class Survey extends Item { | ||
category?: UUID | ||
index?: number | ||
question?: { [key: string]: string; } | ||
export interface Survey extends models.Item { | ||
question?: { [key: string]: string; }; | ||
index?: number; | ||
category?: string; | ||
constructor(src: Survey) { | ||
super(src) | ||
this.category = src.category | ||
this.index = src.index | ||
this.question = src.question | ||
} | ||
} |
@@ -1,20 +0,13 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('survey.category') | ||
export class SurveyCategory extends Item { | ||
description?: { [key: string]: string; } | ||
localizedName?: { [key: string]: string; } | ||
export interface SurveyCategory extends models.Item { | ||
localizedName?: { [key: string]: string; }; | ||
description?: { [key: string]: string; }; | ||
constructor(src: SurveyCategory) { | ||
super(src) | ||
this.description = src.description | ||
this.localizedName = src.localizedName | ||
} | ||
} |
@@ -1,28 +0,21 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('survey.response') | ||
export class SurveyResponse extends Item { | ||
creationDate: Instant | ||
device: UUID | ||
lang: string | ||
response: string | ||
submitId: UUID | ||
survey: UUID | ||
export interface SurveyResponse extends models.Item { | ||
response?: string; | ||
survey?: string; | ||
creationDate?: models.Date; | ||
lang?: string; | ||
device?: string; | ||
submitId?: string; | ||
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 | ||
} | ||
} |
@@ -1,16 +0,4 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
export interface TagsCustom { | ||
} |
@@ -1,16 +0,7 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Gauge } from './Gauge' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface TimeGauge extends models.Gauge { | ||
@OzoneType('timeGauge') | ||
export class TimeGauge extends Gauge { | ||
} |
@@ -1,24 +0,19 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Metric } from './Metric' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Timer extends models.Metric { | ||
max?: number; | ||
@OzoneType('timer') | ||
export class Timer extends Metric { | ||
count?: number | ||
max?: number | ||
mean?: number | ||
totalTime?: number | ||
mean?: number; | ||
totalTime?: number; | ||
count?: number; | ||
constructor(src: Timer) { | ||
super(src) | ||
this.count = src.count | ||
this.max = src.max | ||
this.mean = src.mean | ||
this.totalTime = src.totalTime | ||
} | ||
} |
@@ -1,18 +0,11 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('timestampedItem') | ||
export class TimestampedItem extends Item { | ||
date?: Instant | ||
export interface TimestampedItem extends models.Item { | ||
date?: models.Date; | ||
constructor(src: TimestampedItem) { | ||
super(src) | ||
this.date = src.date | ||
} | ||
} |
@@ -1,26 +0,19 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('tizenfirmware') | ||
export class Tizenfirmware extends Item { | ||
binary?: UUID | ||
description?: string | ||
fileName?: string | ||
size_byte?: number | ||
swVersion?: string | ||
export interface Tizenfirmware extends models.Item { | ||
fileName?: string; | ||
sizeByte?: number; | ||
swVersion?: string; | ||
binary?: string; | ||
description?: 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 | ||
} | ||
} |
@@ -1,24 +0,17 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
import * as models from './models'; | ||
@OzoneType('vehicleposition') | ||
export class Vehicleposition extends Item { | ||
directionId?: number | ||
distanceFromPoint?: number | ||
lineId?: number | ||
pointId?: number | ||
export interface Vehicleposition extends models.Item { | ||
pointId?: number; | ||
directionId?: number; | ||
lineId?: number; | ||
distanceFromPoint?: number; | ||
constructor(src: Vehicleposition) { | ||
super(src) | ||
this.directionId = src.directionId | ||
this.distanceFromPoint = src.distanceFromPoint | ||
this.lineId = src.lineId | ||
this.pointId = src.pointId | ||
} | ||
} |
@@ -1,48 +0,45 @@ | ||
/** | ||
* Ozone | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: 3.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { FlowrLogoitem } from './FlowrLogoitem' | ||
import { FlowrVod } from './FlowrVod' | ||
import { Media } from './Media' | ||
import * as models from './models'; | ||
import { Item, UUID, Instant, OzoneType } from './Item' | ||
export interface Video extends models.Media { | ||
highlightLogo?: string; | ||
@OzoneType('video') | ||
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 | ||
logo?: string; | ||
realisators?: string; | ||
groupingId?: string; | ||
year?: number; | ||
presentators?: string; | ||
language?: string; | ||
seasonNumber?: number; | ||
episodeNumber?: number; | ||
actors?: string; | ||
highlight?: boolean; | ||
subTitle?: { [key: string]: string; }; | ||
parentalGuidance?: number; | ||
vodType?: string; | ||
genre?: string; | ||
editors?: string; | ||
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.2.2", | ||
"version": "4.14.8", | ||
"publishConfig": { | ||
@@ -8,7 +8,7 @@ "access": "public" | ||
"description": "ozone type declaration package", | ||
"main": "", | ||
"types": "./ozone/include.d.ts", | ||
"main": "dist/models.js", | ||
"types": "dist/models.d.ts", | ||
"scripts": { | ||
"tsc": "../../../node_modules/.bin/tsc", | ||
"prepublish": "", | ||
"prepublish": "npm run tsc", | ||
"doc": "../../../node_modules/.bin/typedoc --excludeExternals --out doc/ ozone/model/" | ||
@@ -21,4 +21,3 @@ }, | ||
"author": "", | ||
"license": "ISC", | ||
"gitHead": "247552d5525acb2e7dc29fd43ecad12dd2ca311b" | ||
"license": "ISC" | ||
} |
@@ -14,4 +14,13 @@ [![NPM version][npm-image]][npm-url] | ||
This is a two-step process. First generate code using swagger-codegen: | ||
``` | ||
swagger-codegen generate -i swagger.json -l typescript-angular2 -o ozone | ||
``` | ||
Then generate Ozone Item classes using oz. For example: | ||
``` | ||
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 | ||
``` | ||
tsc | ||
@@ -18,0 +27,0 @@ git add ozone/model/* |
{ | ||
"compilerOptions": { | ||
"target": "es2015", // Use of ES6 | ||
"module": "amd", // Module strategy that is likely to be use with official Polymer/typeScript support. See PolymerLabs/IMD | ||
"target": "es5", // Use of ES6 | ||
"module": "esnext", // Module strategy that is likely to be use with official Polymer/typeScript support. See PolymerLabs/IMD | ||
"experimentalDecorators": true, // | ||
@@ -10,7 +10,13 @@ "emitDecoratorMetadata": true, | ||
"noImplicitAny" : true, | ||
"lib": ["es2017", "dom"], | ||
"lib": [ | ||
"es2017", | ||
"es6", | ||
"es5", | ||
"dom" | ||
], | ||
"declaration": true, /* Generates corresponding '.d.ts' file. */ | ||
"rootDir": "./angular/model" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ | ||
} | ||
"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
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
2247699
1789
30177
33