@awarevue/api-types 1.0.40 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/device/display.d.ts
CHANGED
|
@@ -6,20 +6,23 @@ export interface DisplaySetViewCommand {
|
|
|
6
6
|
command: 'display.set-view';
|
|
7
7
|
params: {
|
|
8
8
|
tile: {
|
|
9
|
-
|
|
9
|
+
item: ({
|
|
10
|
+
type: 'camera';
|
|
10
11
|
username: string;
|
|
11
12
|
password: string;
|
|
12
13
|
streams: {
|
|
13
14
|
resolution: string | null;
|
|
14
15
|
rtspUrl: string;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
|
+
} | {
|
|
18
|
+
type: 'empty';
|
|
19
|
+
})[];
|
|
17
20
|
}[];
|
|
18
21
|
};
|
|
19
22
|
}
|
|
20
23
|
export type DisplayCommand = DisplaySetViewCommand;
|
|
21
24
|
export interface DisplayStateDto {
|
|
22
|
-
|
|
25
|
+
connected: Record<string, boolean>;
|
|
23
26
|
}
|
|
24
27
|
export declare const sDisplayUnitOfflineEvent: z.ZodObject<{
|
|
25
28
|
kind: z.ZodLiteral<"display-unit-offline">;
|
package/dist/device-command.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { AlarmCommand } from './device/alarm';
|
|
|
2
2
|
import { CameraCommand } from './device/camera';
|
|
3
3
|
import { CameraLiftCommand } from './device/camera-lift';
|
|
4
4
|
import { DeviceGatewayCommand } from './device/device-gateway';
|
|
5
|
+
import { DisplayCommand } from './device/display';
|
|
5
6
|
import { DoorCommand } from './device/door';
|
|
6
7
|
import { IntercomTerminalCommand } from './device/intercom-terminal';
|
|
7
8
|
import { IoBoardCommand } from './device/io-board';
|
|
@@ -10,7 +11,7 @@ import { PresenceTrackerCommand } from './device/presence-tracker';
|
|
|
10
11
|
import { ReaderCommand } from './device/reader/index';
|
|
11
12
|
import { ServerCommand } from './device/server';
|
|
12
13
|
import { PermissionId } from './permissions';
|
|
13
|
-
export type AnyDeviceCommand = ServerCommand | DeviceGatewayCommand | CameraCommand | DoorCommand | ReaderCommand | IoBoardCommand | CameraLiftCommand | AlarmCommand | IntercomTerminalCommand | PbxCommand | PresenceTrackerCommand;
|
|
14
|
+
export type AnyDeviceCommand = ServerCommand | DeviceGatewayCommand | CameraCommand | DoorCommand | ReaderCommand | IoBoardCommand | CameraLiftCommand | AlarmCommand | IntercomTerminalCommand | PbxCommand | PresenceTrackerCommand | DisplayCommand;
|
|
14
15
|
export type CommandRun<TCommand extends AnyDeviceCommand = AnyDeviceCommand> = {
|
|
15
16
|
timestamp: number;
|
|
16
17
|
requestId: string;
|
package/dist/device-command.js
CHANGED
|
@@ -107,4 +107,8 @@ exports.commandDescriptions = {
|
|
|
107
107
|
permission: 'presence:update',
|
|
108
108
|
},
|
|
109
109
|
'server.run-macro': { description: 'Run Macro', permission: 'macro:run' },
|
|
110
|
+
'display.set-view': {
|
|
111
|
+
description: 'Display Set View',
|
|
112
|
+
permission: 'display:read',
|
|
113
|
+
},
|
|
110
114
|
};
|
package/dist/package.json
CHANGED