@basmilius/apple-airplay 0.0.11 → 0.0.12
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/index.d.ts +3 -0
- package/dist/index.js +12 -2
- package/dist/index.js.map +119 -3
- package/dist/proto/AudioFadeMessage_pb.d.ts +30 -0
- package/dist/proto/AudioFadeResponseMessage_pb.d.ts +25 -0
- package/dist/proto/AudioFormatSettingsMessage_pb.d.ts +20 -0
- package/dist/proto/ClientUpdatesConfigMessage_pb.d.ts +41 -0
- package/dist/proto/CommandInfo_pb.d.ts +452 -0
- package/dist/proto/CommandOptions_pb.d.ts +137 -0
- package/dist/proto/Common_pb.d.ts +306 -0
- package/dist/proto/ConfigureConnectionMessage_pb.d.ts +25 -0
- package/dist/proto/ContentItemMetadata_pb.d.ts +812 -0
- package/dist/proto/ContentItem_pb.d.ts +91 -0
- package/dist/proto/CryptoPairingMessage_pb.d.ts +45 -0
- package/dist/proto/DeviceInfoMessage_pb.d.ts +270 -0
- package/dist/proto/GenericMessage_pb.d.ts +29 -0
- package/dist/proto/GetKeyboardSessionMessage_pb.d.ts +20 -0
- package/dist/proto/GetRemoteTextInputSessionMessage_pb.d.ts +20 -0
- package/dist/proto/GetVolumeMessage_pb.d.ts +25 -0
- package/dist/proto/GetVolumeResultMessage_pb.d.ts +25 -0
- package/dist/proto/KeyboardMessage_pb.d.ts +321 -0
- package/dist/proto/LanguageOption_pb.d.ts +36 -0
- package/dist/proto/ModifyOutputContextRequestMessage_pb.d.ts +71 -0
- package/dist/proto/NotificationMessage_pb.d.ts +29 -0
- package/dist/proto/NowPlayingClient_pb.d.ts +46 -0
- package/dist/proto/NowPlayingInfo_pb.d.ts +89 -0
- package/dist/proto/NowPlayingPlayer_pb.d.ts +44 -0
- package/dist/proto/OriginClientPropertiesMessage_pb.d.ts +25 -0
- package/dist/proto/Origin_pb.d.ts +58 -0
- package/dist/proto/PlaybackQueueCapabilities_pb.d.ts +28 -0
- package/dist/proto/PlaybackQueueContext_pb.d.ts +20 -0
- package/dist/proto/PlaybackQueueRequestMessage_pb.d.ts +91 -0
- package/dist/proto/PlaybackQueue_pb.d.ts +47 -0
- package/dist/proto/PlayerClientPropertiesMessage_pb.d.ts +30 -0
- package/dist/proto/PlayerPath_pb.d.ts +31 -0
- package/dist/proto/ProtocolMessage_pb.d.ts +659 -0
- package/dist/proto/RegisterForGameControllerEventsMessage_pb.d.ts +50 -0
- package/dist/proto/RegisterHIDDeviceMessage_pb.d.ts +26 -0
- package/dist/proto/RegisterHIDDeviceResultMessage_pb.d.ts +29 -0
- package/dist/proto/RegisterVoiceInputDeviceMessage_pb.d.ts +26 -0
- package/dist/proto/RegisterVoiceInputDeviceResponseMessage_pb.d.ts +29 -0
- package/dist/proto/RemoteTextInputMessage_pb.d.ts +33 -0
- package/dist/proto/RemoveClientMessage_pb.d.ts +26 -0
- package/dist/proto/RemoveEndpointsMessage_pb.d.ts +25 -0
- package/dist/proto/RemoveOutputDevicesMessage_pb.d.ts +29 -0
- package/dist/proto/RemovePlayerMessage_pb.d.ts +26 -0
- package/dist/proto/SendButtonEventMessage_pb.d.ts +33 -0
- package/dist/proto/SendCommandMessage_pb.d.ts +36 -0
- package/dist/proto/SendCommandResultMessage_pb.d.ts +363 -0
- package/dist/proto/SendHIDEventMessage_pb.d.ts +56 -0
- package/dist/proto/SendPackedVirtualTouchEventMessage_pb.d.ts +60 -0
- package/dist/proto/SendVoiceInputMessage_pb.d.ts +122 -0
- package/dist/proto/SetArtworkMessage_pb.d.ts +25 -0
- package/dist/proto/SetConnectionStateMessage_pb.d.ts +50 -0
- package/dist/proto/SetDefaultSupportedCommandsMessage_pb.d.ts +70 -0
- package/dist/proto/SetDiscoveryModeMessage_pb.d.ts +29 -0
- package/dist/proto/SetHiliteModeMessage_pb.d.ts +25 -0
- package/dist/proto/SetNowPlayingClientMessage_pb.d.ts +26 -0
- package/dist/proto/SetNowPlayingPlayerMessage_pb.d.ts +26 -0
- package/dist/proto/SetRecordingStateMessage_pb.d.ts +46 -0
- package/dist/proto/SetStateMessage_pb.d.ts +68 -0
- package/dist/proto/SetVolumeMessage_pb.d.ts +29 -0
- package/dist/proto/SupportedCommands_pb.d.ts +21 -0
- package/dist/proto/TextInputMessage_pb.d.ts +73 -0
- package/dist/proto/TransactionKey_pb.d.ts +24 -0
- package/dist/proto/TransactionMessage_pb.d.ts +35 -0
- package/dist/proto/TransactionPacket_pb.d.ts +37 -0
- package/dist/proto/TransactionPackets_pb.d.ts +21 -0
- package/dist/proto/UpdateClientMessage_pb.d.ts +26 -0
- package/dist/proto/UpdateContentItemArtworkMessage_pb.d.ts +31 -0
- package/dist/proto/UpdateContentItemMessage_pb.d.ts +31 -0
- package/dist/proto/UpdateEndPointsMessage_pb.d.ts +72 -0
- package/dist/proto/UpdateOutputDeviceMessage_pb.d.ts +322 -0
- package/dist/proto/UpdatePlayerPath_pb.d.ts +26 -0
- package/dist/proto/VirtualTouchDeviceDescriptorMessage_pb.d.ts +32 -0
- package/dist/proto/VoiceInputDeviceDescriptorMessage_pb.d.ts +25 -0
- package/dist/proto/VolumeControlAvailabilityMessage_pb.d.ts +66 -0
- package/dist/proto/VolumeControlCapabilitiesDidChangeMessage_pb.d.ts +34 -0
- package/dist/proto/VolumeDidChangeMessage_pb.d.ts +33 -0
- package/dist/proto/WakeDeviceMessage_pb.d.ts +20 -0
- package/dist/proto/index.d.ts +77 -0
- package/dist/protocol/dataStream.d.ts +13 -0
- package/dist/protocol/dataStreamMessages.d.ts +9 -0
- package/dist/protocol/eventStream.d.ts +7 -0
- package/dist/protocol/index.d.ts +7 -0
- package/dist/protocol/pairing.d.ts +12 -0
- package/dist/protocol/protocol.d.ts +21 -0
- package/dist/protocol/rtsp.d.ts +15 -0
- package/dist/protocol/stream.d.ts +22 -0
- package/dist/protocol/utils.d.ts +18 -0
- package/dist/protocol/verify.d.ts +9 -0
- package/package.json +6 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { VirtualTouchDeviceDescriptor } from "./VirtualTouchDeviceDescriptorMessage_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file RegisterHIDDeviceMessage.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_RegisterHIDDeviceMessage: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message RegisterHIDDeviceMessage
|
|
11
|
+
*/
|
|
12
|
+
export type RegisterHIDDeviceMessage = Message<"RegisterHIDDeviceMessage"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: optional VirtualTouchDeviceDescriptor deviceDescriptor = 1;
|
|
15
|
+
*/
|
|
16
|
+
deviceDescriptor?: VirtualTouchDeviceDescriptor;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message RegisterHIDDeviceMessage.
|
|
20
|
+
* Use `create(RegisterHIDDeviceMessageSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export declare const RegisterHIDDeviceMessageSchema: GenMessage<RegisterHIDDeviceMessage>;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from extension: optional RegisterHIDDeviceMessage registerHIDDeviceMessage = 11;
|
|
25
|
+
*/
|
|
26
|
+
export declare const registerHIDDeviceMessage: GenExtension<ProtocolMessage, RegisterHIDDeviceMessage>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file RegisterHIDDeviceResultMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_RegisterHIDDeviceResultMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message RegisterHIDDeviceResultMessage
|
|
10
|
+
*/
|
|
11
|
+
export type RegisterHIDDeviceResultMessage = Message<"RegisterHIDDeviceResultMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional int32 errorCode = 1;
|
|
14
|
+
*/
|
|
15
|
+
errorCode: number;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: optional int32 deviceIdentifier = 2;
|
|
18
|
+
*/
|
|
19
|
+
deviceIdentifier: number;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message RegisterHIDDeviceResultMessage.
|
|
23
|
+
* Use `create(RegisterHIDDeviceResultMessageSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const RegisterHIDDeviceResultMessageSchema: GenMessage<RegisterHIDDeviceResultMessage>;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from extension: optional RegisterHIDDeviceResultMessage registerHIDDeviceResultMessage = 12;
|
|
28
|
+
*/
|
|
29
|
+
export declare const registerHIDDeviceResultMessage: GenExtension<ProtocolMessage, RegisterHIDDeviceResultMessage>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { VoiceInputDeviceDescriptor } from "./VoiceInputDeviceDescriptorMessage_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file RegisterVoiceInputDeviceMessage.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_RegisterVoiceInputDeviceMessage: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message RegisterVoiceInputDeviceMessage
|
|
11
|
+
*/
|
|
12
|
+
export type RegisterVoiceInputDeviceMessage = Message<"RegisterVoiceInputDeviceMessage"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: optional VoiceInputDeviceDescriptor deviceDescriptor = 1;
|
|
15
|
+
*/
|
|
16
|
+
deviceDescriptor?: VoiceInputDeviceDescriptor;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message RegisterVoiceInputDeviceMessage.
|
|
20
|
+
* Use `create(RegisterVoiceInputDeviceMessageSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export declare const RegisterVoiceInputDeviceMessageSchema: GenMessage<RegisterVoiceInputDeviceMessage>;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from extension: optional RegisterVoiceInputDeviceMessage registerVoiceInputDeviceMessage = 33;
|
|
25
|
+
*/
|
|
26
|
+
export declare const registerVoiceInputDeviceMessage: GenExtension<ProtocolMessage, RegisterVoiceInputDeviceMessage>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file RegisterVoiceInputDeviceResponseMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_RegisterVoiceInputDeviceResponseMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message RegisterVoiceInputDeviceResponseMessage
|
|
10
|
+
*/
|
|
11
|
+
export type RegisterVoiceInputDeviceResponseMessage = Message<"RegisterVoiceInputDeviceResponseMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional int32 deviceID = 1;
|
|
14
|
+
*/
|
|
15
|
+
deviceID: number;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: optional int32 errorCode = 2;
|
|
18
|
+
*/
|
|
19
|
+
errorCode: number;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message RegisterVoiceInputDeviceResponseMessage.
|
|
23
|
+
* Use `create(RegisterVoiceInputDeviceResponseMessageSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const RegisterVoiceInputDeviceResponseMessageSchema: GenMessage<RegisterVoiceInputDeviceResponseMessage>;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from extension: optional RegisterVoiceInputDeviceResponseMessage registerVoiceInputDeviceResponseMessage = 34;
|
|
28
|
+
*/
|
|
29
|
+
export declare const registerVoiceInputDeviceResponseMessage: GenExtension<ProtocolMessage, RegisterVoiceInputDeviceResponseMessage>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file RemoteTextInputMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_RemoteTextInputMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message RemoteTextInputMessage
|
|
10
|
+
*/
|
|
11
|
+
export type RemoteTextInputMessage = Message<"RemoteTextInputMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional double timestamp = 1;
|
|
14
|
+
*/
|
|
15
|
+
timestamp: number;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: optional uint64 version = 2;
|
|
18
|
+
*/
|
|
19
|
+
version: bigint;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: optional bytes data = 3;
|
|
22
|
+
*/
|
|
23
|
+
data: Uint8Array;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message RemoteTextInputMessage.
|
|
27
|
+
* Use `create(RemoteTextInputMessageSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const RemoteTextInputMessageSchema: GenMessage<RemoteTextInputMessage>;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from extension: optional RemoteTextInputMessage remoteTextInputMessage = 71;
|
|
32
|
+
*/
|
|
33
|
+
export declare const remoteTextInputMessage: GenExtension<ProtocolMessage, RemoteTextInputMessage>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { NowPlayingClient } from "./NowPlayingClient_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file RemoveClientMessage.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_RemoveClientMessage: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message RemoveClientMessage
|
|
11
|
+
*/
|
|
12
|
+
export type RemoveClientMessage = Message<"RemoveClientMessage"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: optional NowPlayingClient client = 1;
|
|
15
|
+
*/
|
|
16
|
+
client?: NowPlayingClient;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message RemoveClientMessage.
|
|
20
|
+
* Use `create(RemoveClientMessageSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export declare const RemoveClientMessageSchema: GenMessage<RemoveClientMessage>;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from extension: optional RemoveClientMessage removeClientMessage = 57;
|
|
25
|
+
*/
|
|
26
|
+
export declare const removeClientMessage: GenExtension<ProtocolMessage, RemoveClientMessage>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file RemoveEndpointsMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_RemoveEndpointsMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message RemoveEndpointsMessage
|
|
10
|
+
*/
|
|
11
|
+
export type RemoveEndpointsMessage = Message<"RemoveEndpointsMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: repeated string endpointUIDs = 1;
|
|
14
|
+
*/
|
|
15
|
+
endpointUIDs: string[];
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message RemoveEndpointsMessage.
|
|
19
|
+
* Use `create(RemoveEndpointsMessageSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export declare const RemoveEndpointsMessageSchema: GenMessage<RemoveEndpointsMessage>;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from extension: optional RemoveEndpointsMessage removeEndpointsMessage = 84;
|
|
24
|
+
*/
|
|
25
|
+
export declare const removeEndpointsMessage: GenExtension<ProtocolMessage, RemoveEndpointsMessage>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file RemoveOutputDevicesMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_RemoveOutputDevicesMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message RemoveOutputDevicesMessage
|
|
10
|
+
*/
|
|
11
|
+
export type RemoveOutputDevicesMessage = Message<"RemoveOutputDevicesMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: repeated string outputDeviceUIDs = 1;
|
|
14
|
+
*/
|
|
15
|
+
outputDeviceUIDs: string[];
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: optional string endpointUID = 2;
|
|
18
|
+
*/
|
|
19
|
+
endpointUID: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message RemoveOutputDevicesMessage.
|
|
23
|
+
* Use `create(RemoveOutputDevicesMessageSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const RemoveOutputDevicesMessageSchema: GenMessage<RemoveOutputDevicesMessage>;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from extension: optional RemoveOutputDevicesMessage removeOutputDevicesMessage = 70;
|
|
28
|
+
*/
|
|
29
|
+
export declare const removeOutputDevicesMessage: GenExtension<ProtocolMessage, RemoveOutputDevicesMessage>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { PlayerPath } from "./PlayerPath_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file RemovePlayerMessage.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_RemovePlayerMessage: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message RemovePlayerMessage
|
|
11
|
+
*/
|
|
12
|
+
export type RemovePlayerMessage = Message<"RemovePlayerMessage"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: optional PlayerPath playerPath = 1;
|
|
15
|
+
*/
|
|
16
|
+
playerPath?: PlayerPath;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message RemovePlayerMessage.
|
|
20
|
+
* Use `create(RemovePlayerMessageSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export declare const RemovePlayerMessageSchema: GenMessage<RemovePlayerMessage>;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from extension: optional RemovePlayerMessage removePlayerMessage = 58;
|
|
25
|
+
*/
|
|
26
|
+
export declare const removePlayerMessage: GenExtension<ProtocolMessage, RemovePlayerMessage>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SendButtonEventMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SendButtonEventMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SendButtonEventMessage
|
|
10
|
+
*/
|
|
11
|
+
export type SendButtonEventMessage = Message<"SendButtonEventMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional uint32 usagePage = 1;
|
|
14
|
+
*/
|
|
15
|
+
usagePage: number;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: optional uint32 usage = 2;
|
|
18
|
+
*/
|
|
19
|
+
usage: number;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: optional bool buttonDown = 3;
|
|
22
|
+
*/
|
|
23
|
+
buttonDown: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message SendButtonEventMessage.
|
|
27
|
+
* Use `create(SendButtonEventMessageSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const SendButtonEventMessageSchema: GenMessage<SendButtonEventMessage>;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from extension: optional SendButtonEventMessage sendButtonEventMessage = 43;
|
|
32
|
+
*/
|
|
33
|
+
export declare const sendButtonEventMessage: GenExtension<ProtocolMessage, SendButtonEventMessage>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Command } from "./CommandInfo_pb";
|
|
4
|
+
import type { CommandOptions } from "./CommandOptions_pb";
|
|
5
|
+
import type { PlayerPath } from "./PlayerPath_pb";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file SendCommandMessage.proto.
|
|
9
|
+
*/
|
|
10
|
+
export declare const file_SendCommandMessage: GenFile;
|
|
11
|
+
/**
|
|
12
|
+
* @generated from message SendCommandMessage
|
|
13
|
+
*/
|
|
14
|
+
export type SendCommandMessage = Message<"SendCommandMessage"> & {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: optional Command command = 1;
|
|
17
|
+
*/
|
|
18
|
+
command: Command;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: optional CommandOptions options = 2;
|
|
21
|
+
*/
|
|
22
|
+
options?: CommandOptions;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: optional PlayerPath playerPath = 3;
|
|
25
|
+
*/
|
|
26
|
+
playerPath?: PlayerPath;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message SendCommandMessage.
|
|
30
|
+
* Use `create(SendCommandMessageSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export declare const SendCommandMessageSchema: GenMessage<SendCommandMessage>;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from extension: optional SendCommandMessage sendCommandMessage = 6;
|
|
35
|
+
*/
|
|
36
|
+
export declare const sendCommandMessage: GenExtension<ProtocolMessage, SendCommandMessage>;
|
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { PlayerPath } from "./PlayerPath_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file SendCommandResultMessage.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_SendCommandResultMessage: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message SendError
|
|
11
|
+
*/
|
|
12
|
+
export type SendError = Message<"SendError"> & {};
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message SendError.
|
|
15
|
+
* Use `create(SendErrorSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export declare const SendErrorSchema: GenMessage<SendError>;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum SendError.Enum
|
|
20
|
+
*/
|
|
21
|
+
export declare enum SendError_Enum {
|
|
22
|
+
/**
|
|
23
|
+
* This is None in original message definitions (no-go with python)
|
|
24
|
+
*
|
|
25
|
+
* @generated from enum value: NoError = 0;
|
|
26
|
+
*/
|
|
27
|
+
NoError = 0,
|
|
28
|
+
/**
|
|
29
|
+
* @generated from enum value: ApplicationNotFound = 1;
|
|
30
|
+
*/
|
|
31
|
+
ApplicationNotFound = 1,
|
|
32
|
+
/**
|
|
33
|
+
* @generated from enum value: ConnectionFailed = 2;
|
|
34
|
+
*/
|
|
35
|
+
ConnectionFailed = 2,
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: Ignored = 3;
|
|
38
|
+
*/
|
|
39
|
+
Ignored = 3,
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: CouldNotLaunchApplication = 4;
|
|
42
|
+
*/
|
|
43
|
+
CouldNotLaunchApplication = 4,
|
|
44
|
+
/**
|
|
45
|
+
* @generated from enum value: TimedOut = 5;
|
|
46
|
+
*/
|
|
47
|
+
TimedOut = 5,
|
|
48
|
+
/**
|
|
49
|
+
* @generated from enum value: OriginDoesNotExist = 6;
|
|
50
|
+
*/
|
|
51
|
+
OriginDoesNotExist = 6,
|
|
52
|
+
/**
|
|
53
|
+
* @generated from enum value: InvalidOptions = 7;
|
|
54
|
+
*/
|
|
55
|
+
InvalidOptions = 7,
|
|
56
|
+
/**
|
|
57
|
+
* @generated from enum value: NoCommandHandlers = 8;
|
|
58
|
+
*/
|
|
59
|
+
NoCommandHandlers = 8,
|
|
60
|
+
/**
|
|
61
|
+
* @generated from enum value: ApplicationNotInstalled = 9;
|
|
62
|
+
*/
|
|
63
|
+
ApplicationNotInstalled = 9,
|
|
64
|
+
/**
|
|
65
|
+
* @generated from enum value: NotSupported = 10;
|
|
66
|
+
*/
|
|
67
|
+
NotSupported = 10
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Describes the enum SendError.Enum.
|
|
71
|
+
*/
|
|
72
|
+
export declare const SendError_EnumSchema: GenEnum<SendError_Enum>;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from message HandlerReturnStatus
|
|
75
|
+
*/
|
|
76
|
+
export type HandlerReturnStatus = Message<"HandlerReturnStatus"> & {};
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message HandlerReturnStatus.
|
|
79
|
+
* Use `create(HandlerReturnStatusSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export declare const HandlerReturnStatusSchema: GenMessage<HandlerReturnStatus>;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from enum HandlerReturnStatus.Enum
|
|
84
|
+
*/
|
|
85
|
+
export declare enum HandlerReturnStatus_Enum {
|
|
86
|
+
/**
|
|
87
|
+
* @generated from enum value: Success = 0;
|
|
88
|
+
*/
|
|
89
|
+
Success = 0,
|
|
90
|
+
/**
|
|
91
|
+
* @generated from enum value: NoSuchContent = 1;
|
|
92
|
+
*/
|
|
93
|
+
NoSuchContent = 1,
|
|
94
|
+
/**
|
|
95
|
+
* @generated from enum value: CommandFailed = 2;
|
|
96
|
+
*/
|
|
97
|
+
CommandFailed = 2,
|
|
98
|
+
/**
|
|
99
|
+
* @generated from enum value: NoActionableNowPlayingItem = 10;
|
|
100
|
+
*/
|
|
101
|
+
NoActionableNowPlayingItem = 10,
|
|
102
|
+
/**
|
|
103
|
+
* @generated from enum value: DeviceNotFound = 20;
|
|
104
|
+
*/
|
|
105
|
+
DeviceNotFound = 20,
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: UIKitLegacy = 3;
|
|
108
|
+
*/
|
|
109
|
+
UIKitLegacy = 3,
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: SkipAdProhibited = 100;
|
|
112
|
+
*/
|
|
113
|
+
SkipAdProhibited = 100,
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: QueueIsUserCurated = 101;
|
|
116
|
+
*/
|
|
117
|
+
QueueIsUserCurated = 101,
|
|
118
|
+
/**
|
|
119
|
+
* @generated from enum value: UserModifiedQueueDisabled = 102;
|
|
120
|
+
*/
|
|
121
|
+
UserModifiedQueueDisabled = 102,
|
|
122
|
+
/**
|
|
123
|
+
* @generated from enum value: UserQueueModificationNotSupportedForCurrentItem = 103;
|
|
124
|
+
*/
|
|
125
|
+
UserQueueModificationNotSupportedForCurrentItem = 103,
|
|
126
|
+
/**
|
|
127
|
+
* @generated from enum value: SubscriptionRequiredForSharedQueue = 104;
|
|
128
|
+
*/
|
|
129
|
+
SubscriptionRequiredForSharedQueue = 104,
|
|
130
|
+
/**
|
|
131
|
+
* @generated from enum value: InsertionPositionNotSpecified = 105;
|
|
132
|
+
*/
|
|
133
|
+
InsertionPositionNotSpecified = 105,
|
|
134
|
+
/**
|
|
135
|
+
* @generated from enum value: InvalidInsertionPosition = 106;
|
|
136
|
+
*/
|
|
137
|
+
InvalidInsertionPosition = 106,
|
|
138
|
+
/**
|
|
139
|
+
* @generated from enum value: RequestParametersOutOfBounds = 107;
|
|
140
|
+
*/
|
|
141
|
+
RequestParametersOutOfBounds = 107,
|
|
142
|
+
/**
|
|
143
|
+
* @generated from enum value: SkipLimitReached = 108;
|
|
144
|
+
*/
|
|
145
|
+
SkipLimitReached = 108,
|
|
146
|
+
/**
|
|
147
|
+
* @generated from enum value: AuthenticationFailure = 401;
|
|
148
|
+
*/
|
|
149
|
+
AuthenticationFailure = 401,
|
|
150
|
+
/**
|
|
151
|
+
* @generated from enum value: MediaServiceUnavailable = 501;
|
|
152
|
+
*/
|
|
153
|
+
MediaServiceUnavailable = 501
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Describes the enum HandlerReturnStatus.Enum.
|
|
157
|
+
*/
|
|
158
|
+
export declare const HandlerReturnStatus_EnumSchema: GenEnum<HandlerReturnStatus_Enum>;
|
|
159
|
+
/**
|
|
160
|
+
* @generated from message SendCommandStatusCode
|
|
161
|
+
*/
|
|
162
|
+
export type SendCommandStatusCode = Message<"SendCommandStatusCode"> & {};
|
|
163
|
+
/**
|
|
164
|
+
* Describes the message SendCommandStatusCode.
|
|
165
|
+
* Use `create(SendCommandStatusCodeSchema)` to create a new message.
|
|
166
|
+
*/
|
|
167
|
+
export declare const SendCommandStatusCodeSchema: GenMessage<SendCommandStatusCode>;
|
|
168
|
+
/**
|
|
169
|
+
* @generated from enum SendCommandStatusCode.Enum
|
|
170
|
+
*/
|
|
171
|
+
export declare enum SendCommandStatusCode_Enum {
|
|
172
|
+
/**
|
|
173
|
+
* @generated from enum value: Success = 0;
|
|
174
|
+
*/
|
|
175
|
+
Success = 0,
|
|
176
|
+
/**
|
|
177
|
+
* @generated from enum value: NoSuchContent = 1;
|
|
178
|
+
*/
|
|
179
|
+
NoSuchContent = 1,
|
|
180
|
+
/**
|
|
181
|
+
* @generated from enum value: CommandFailed = 2;
|
|
182
|
+
*/
|
|
183
|
+
CommandFailed = 2,
|
|
184
|
+
/**
|
|
185
|
+
* @generated from enum value: NoActionableNowPlayingItem = 10;
|
|
186
|
+
*/
|
|
187
|
+
NoActionableNowPlayingItem = 10,
|
|
188
|
+
/**
|
|
189
|
+
* @generated from enum value: DeviceNotFound = 20;
|
|
190
|
+
*/
|
|
191
|
+
DeviceNotFound = 20,
|
|
192
|
+
/**
|
|
193
|
+
* @generated from enum value: UIKitLegacy = 3;
|
|
194
|
+
*/
|
|
195
|
+
UIKitLegacy = 3,
|
|
196
|
+
/**
|
|
197
|
+
* @generated from enum value: SkipAdProhibited = 100;
|
|
198
|
+
*/
|
|
199
|
+
SkipAdProhibited = 100,
|
|
200
|
+
/**
|
|
201
|
+
* @generated from enum value: QueueIsUserCurated = 101;
|
|
202
|
+
*/
|
|
203
|
+
QueueIsUserCurated = 101,
|
|
204
|
+
/**
|
|
205
|
+
* @generated from enum value: UserModifiedQueueDisabled = 102;
|
|
206
|
+
*/
|
|
207
|
+
UserModifiedQueueDisabled = 102,
|
|
208
|
+
/**
|
|
209
|
+
* @generated from enum value: UserQueueModificationNotSupportedForCurrentItem = 103;
|
|
210
|
+
*/
|
|
211
|
+
UserQueueModificationNotSupportedForCurrentItem = 103,
|
|
212
|
+
/**
|
|
213
|
+
* @generated from enum value: SubscriptionRequiredForSharedQueue = 104;
|
|
214
|
+
*/
|
|
215
|
+
SubscriptionRequiredForSharedQueue = 104,
|
|
216
|
+
/**
|
|
217
|
+
* @generated from enum value: InsertionPositionNotSpecified = 105;
|
|
218
|
+
*/
|
|
219
|
+
InsertionPositionNotSpecified = 105,
|
|
220
|
+
/**
|
|
221
|
+
* @generated from enum value: InvalidInsertionPosition = 106;
|
|
222
|
+
*/
|
|
223
|
+
InvalidInsertionPosition = 106,
|
|
224
|
+
/**
|
|
225
|
+
* @generated from enum value: RequestParametersOutOfBounds = 107;
|
|
226
|
+
*/
|
|
227
|
+
RequestParametersOutOfBounds = 107,
|
|
228
|
+
/**
|
|
229
|
+
* @generated from enum value: SkipLimitReached = 108;
|
|
230
|
+
*/
|
|
231
|
+
SkipLimitReached = 108,
|
|
232
|
+
/**
|
|
233
|
+
* @generated from enum value: AuthenticationFailure = 401;
|
|
234
|
+
*/
|
|
235
|
+
AuthenticationFailure = 401,
|
|
236
|
+
/**
|
|
237
|
+
* @generated from enum value: MediaServiceUnavailable = 501;
|
|
238
|
+
*/
|
|
239
|
+
MediaServiceUnavailable = 501
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Describes the enum SendCommandStatusCode.Enum.
|
|
243
|
+
*/
|
|
244
|
+
export declare const SendCommandStatusCode_EnumSchema: GenEnum<SendCommandStatusCode_Enum>;
|
|
245
|
+
/**
|
|
246
|
+
* @generated from message SendCommandResultType
|
|
247
|
+
*/
|
|
248
|
+
export type SendCommandResultType = Message<"SendCommandResultType"> & {};
|
|
249
|
+
/**
|
|
250
|
+
* Describes the message SendCommandResultType.
|
|
251
|
+
* Use `create(SendCommandResultTypeSchema)` to create a new message.
|
|
252
|
+
*/
|
|
253
|
+
export declare const SendCommandResultTypeSchema: GenMessage<SendCommandResultType>;
|
|
254
|
+
/**
|
|
255
|
+
* @generated from enum SendCommandResultType.Enum
|
|
256
|
+
*/
|
|
257
|
+
export declare enum SendCommandResultType_Enum {
|
|
258
|
+
/**
|
|
259
|
+
* @generated from enum value: Dialog = 1;
|
|
260
|
+
*/
|
|
261
|
+
Dialog = 1,
|
|
262
|
+
/**
|
|
263
|
+
* @generated from enum value: Error = 2;
|
|
264
|
+
*/
|
|
265
|
+
Error = 2,
|
|
266
|
+
/**
|
|
267
|
+
* @generated from enum value: Custom = 999;
|
|
268
|
+
*/
|
|
269
|
+
Custom = 999
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Describes the enum SendCommandResultType.Enum.
|
|
273
|
+
*/
|
|
274
|
+
export declare const SendCommandResultType_EnumSchema: GenEnum<SendCommandResultType_Enum>;
|
|
275
|
+
/**
|
|
276
|
+
* @generated from message SendCommandResultStatus
|
|
277
|
+
*/
|
|
278
|
+
export type SendCommandResultStatus = Message<"SendCommandResultStatus"> & {
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: optional SendCommandStatusCode.Enum statusCode = 1;
|
|
281
|
+
*/
|
|
282
|
+
statusCode: SendCommandStatusCode_Enum;
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: optional SendCommandResultType.Enum type = 2;
|
|
285
|
+
*/
|
|
286
|
+
type: SendCommandResultType_Enum;
|
|
287
|
+
/**
|
|
288
|
+
* optional ... dialog = 3;
|
|
289
|
+
* optional ... error = 4;
|
|
290
|
+
*
|
|
291
|
+
* @generated from field: optional bytes customData = 5;
|
|
292
|
+
*/
|
|
293
|
+
customData: Uint8Array;
|
|
294
|
+
/**
|
|
295
|
+
* @generated from field: optional string customDataType = 6;
|
|
296
|
+
*/
|
|
297
|
+
customDataType: string;
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* Describes the message SendCommandResultStatus.
|
|
301
|
+
* Use `create(SendCommandResultStatusSchema)` to create a new message.
|
|
302
|
+
*/
|
|
303
|
+
export declare const SendCommandResultStatusSchema: GenMessage<SendCommandResultStatus>;
|
|
304
|
+
/**
|
|
305
|
+
* @generated from message SendCommandResult
|
|
306
|
+
*/
|
|
307
|
+
export type SendCommandResult = Message<"SendCommandResult"> & {
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: optional PlayerPath playerPath = 1;
|
|
310
|
+
*/
|
|
311
|
+
playerPath?: PlayerPath;
|
|
312
|
+
/**
|
|
313
|
+
* @generated from field: optional SendError.Enum sendError = 2;
|
|
314
|
+
*/
|
|
315
|
+
sendError: SendError_Enum;
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: repeated SendCommandResultStatus statuses = 3;
|
|
318
|
+
*/
|
|
319
|
+
statuses: SendCommandResultStatus[];
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Describes the message SendCommandResult.
|
|
323
|
+
* Use `create(SendCommandResultSchema)` to create a new message.
|
|
324
|
+
*/
|
|
325
|
+
export declare const SendCommandResultSchema: GenMessage<SendCommandResult>;
|
|
326
|
+
/**
|
|
327
|
+
* @generated from message SendCommandResultMessage
|
|
328
|
+
*/
|
|
329
|
+
export type SendCommandResultMessage = Message<"SendCommandResultMessage"> & {
|
|
330
|
+
/**
|
|
331
|
+
* @generated from field: optional SendError.Enum sendError = 1;
|
|
332
|
+
*/
|
|
333
|
+
sendError: SendError_Enum;
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: optional HandlerReturnStatus.Enum handlerReturnStatus = 2;
|
|
336
|
+
*/
|
|
337
|
+
handlerReturnStatus: HandlerReturnStatus_Enum;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: repeated bytes handlerReturnStatusDatas = 3;
|
|
340
|
+
*/
|
|
341
|
+
handlerReturnStatusDatas: Uint8Array[];
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: optional string commandID = 4;
|
|
344
|
+
*/
|
|
345
|
+
commandID: string;
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: optional PlayerPath playerPath = 5;
|
|
348
|
+
*/
|
|
349
|
+
playerPath?: PlayerPath;
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: optional SendCommandResult commandResult = 6;
|
|
352
|
+
*/
|
|
353
|
+
commandResult?: SendCommandResult;
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* Describes the message SendCommandResultMessage.
|
|
357
|
+
* Use `create(SendCommandResultMessageSchema)` to create a new message.
|
|
358
|
+
*/
|
|
359
|
+
export declare const SendCommandResultMessageSchema: GenMessage<SendCommandResultMessage>;
|
|
360
|
+
/**
|
|
361
|
+
* @generated from extension: optional SendCommandResultMessage sendCommandResultMessage = 7;
|
|
362
|
+
*/
|
|
363
|
+
export declare const sendCommandResultMessage: GenExtension<ProtocolMessage, SendCommandResultMessage>;
|