@basmilius/apple-airplay 0.7.2 → 0.8.0

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.
Files changed (108) hide show
  1. package/dist/chunk-0Lt9GpW0.mjs +1 -0
  2. package/dist/index.d.mts +10035 -0
  3. package/dist/index.d.mts.map +1 -0
  4. package/dist/index.mjs +4 -0
  5. package/dist/index.mjs.map +1 -0
  6. package/package.json +14 -13
  7. package/dist/audioStream.d.ts +0 -13
  8. package/dist/baseStream.d.ts +0 -12
  9. package/dist/controlStream.d.ts +0 -17
  10. package/dist/dataStream.d.ts +0 -34
  11. package/dist/dataStreamMessages.d.ts +0 -20
  12. package/dist/eventStream.d.ts +0 -9
  13. package/dist/index.d.ts +0 -10
  14. package/dist/index.js +0 -6091
  15. package/dist/pairing.d.ts +0 -20
  16. package/dist/proto/Artwork_pb.d.ts +0 -64
  17. package/dist/proto/AudioFadeMessage_pb.d.ts +0 -30
  18. package/dist/proto/AudioFadeResponseMessage_pb.d.ts +0 -25
  19. package/dist/proto/AudioFormatSettingsMessage_pb.d.ts +0 -20
  20. package/dist/proto/ClientUpdatesConfigMessage_pb.d.ts +0 -50
  21. package/dist/proto/CommandInfo_pb.d.ts +0 -452
  22. package/dist/proto/CommandOptions_pb.d.ts +0 -359
  23. package/dist/proto/Common_pb.d.ts +0 -306
  24. package/dist/proto/ConfigureConnectionMessage_pb.d.ts +0 -41
  25. package/dist/proto/ContentItemMetadata_pb.d.ts +0 -812
  26. package/dist/proto/ContentItem_pb.d.ts +0 -135
  27. package/dist/proto/CryptoPairingMessage_pb.d.ts +0 -45
  28. package/dist/proto/DeviceInfoMessage_pb.d.ts +0 -270
  29. package/dist/proto/Dictionary_pb.d.ts +0 -84
  30. package/dist/proto/GenericMessage_pb.d.ts +0 -29
  31. package/dist/proto/GetKeyboardSessionMessage_pb.d.ts +0 -20
  32. package/dist/proto/GetRemoteTextInputSessionMessage_pb.d.ts +0 -20
  33. package/dist/proto/GetStateMessage_pb.d.ts +0 -20
  34. package/dist/proto/GetVolumeMessage_pb.d.ts +0 -25
  35. package/dist/proto/GetVolumeMutedMessage_pb.d.ts +0 -25
  36. package/dist/proto/GetVolumeMutedResultMessage_pb.d.ts +0 -25
  37. package/dist/proto/GetVolumeResultMessage_pb.d.ts +0 -25
  38. package/dist/proto/KeyboardMessage_pb.d.ts +0 -321
  39. package/dist/proto/LanguageOption_pb.d.ts +0 -36
  40. package/dist/proto/LyricsItem_pb.d.ts +0 -46
  41. package/dist/proto/ModifyOutputContextRequestMessage_pb.d.ts +0 -71
  42. package/dist/proto/NotificationMessage_pb.d.ts +0 -34
  43. package/dist/proto/NowPlayingClient_pb.d.ts +0 -46
  44. package/dist/proto/NowPlayingInfo_pb.d.ts +0 -89
  45. package/dist/proto/NowPlayingPlayer_pb.d.ts +0 -44
  46. package/dist/proto/OriginClientPropertiesMessage_pb.d.ts +0 -25
  47. package/dist/proto/Origin_pb.d.ts +0 -58
  48. package/dist/proto/PlaybackQueueCapabilities_pb.d.ts +0 -28
  49. package/dist/proto/PlaybackQueueContext_pb.d.ts +0 -20
  50. package/dist/proto/PlaybackQueueRequestMessage_pb.d.ts +0 -119
  51. package/dist/proto/PlaybackQueue_pb.d.ts +0 -64
  52. package/dist/proto/PlayerClientPropertiesMessage_pb.d.ts +0 -30
  53. package/dist/proto/PlayerPath_pb.d.ts +0 -31
  54. package/dist/proto/ProtocolMessage_pb.d.ts +0 -675
  55. package/dist/proto/RegisterForGameControllerEventsMessage_pb.d.ts +0 -50
  56. package/dist/proto/RegisterHIDDeviceMessage_pb.d.ts +0 -26
  57. package/dist/proto/RegisterHIDDeviceResultMessage_pb.d.ts +0 -29
  58. package/dist/proto/RegisterVoiceInputDeviceMessage_pb.d.ts +0 -26
  59. package/dist/proto/RegisterVoiceInputDeviceResponseMessage_pb.d.ts +0 -29
  60. package/dist/proto/RemoteTextInputMessage_pb.d.ts +0 -33
  61. package/dist/proto/RemoveClientMessage_pb.d.ts +0 -26
  62. package/dist/proto/RemoveEndpointsMessage_pb.d.ts +0 -25
  63. package/dist/proto/RemoveOutputDevicesMessage_pb.d.ts +0 -29
  64. package/dist/proto/RemovePlayerMessage_pb.d.ts +0 -26
  65. package/dist/proto/SendButtonEventMessage_pb.d.ts +0 -33
  66. package/dist/proto/SendCommandMessage_pb.d.ts +0 -36
  67. package/dist/proto/SendCommandResultMessage_pb.d.ts +0 -363
  68. package/dist/proto/SendHIDEventMessage_pb.d.ts +0 -56
  69. package/dist/proto/SendHIDReportMessage_pb.d.ts +0 -29
  70. package/dist/proto/SendPackedVirtualTouchEventMessage_pb.d.ts +0 -60
  71. package/dist/proto/SendVirtualTouchEventMessage_pb.d.ts +0 -55
  72. package/dist/proto/SendVoiceInputMessage_pb.d.ts +0 -122
  73. package/dist/proto/SetArtworkMessage_pb.d.ts +0 -25
  74. package/dist/proto/SetConnectionStateMessage_pb.d.ts +0 -50
  75. package/dist/proto/SetDefaultSupportedCommandsMessage_pb.d.ts +0 -70
  76. package/dist/proto/SetDiscoveryModeMessage_pb.d.ts +0 -29
  77. package/dist/proto/SetHiliteModeMessage_pb.d.ts +0 -25
  78. package/dist/proto/SetNowPlayingClientMessage_pb.d.ts +0 -26
  79. package/dist/proto/SetNowPlayingPlayerMessage_pb.d.ts +0 -26
  80. package/dist/proto/SetReadyStateMessage_pb.d.ts +0 -20
  81. package/dist/proto/SetRecordingStateMessage_pb.d.ts +0 -46
  82. package/dist/proto/SetStateMessage_pb.d.ts +0 -68
  83. package/dist/proto/SetVolumeMessage_pb.d.ts +0 -29
  84. package/dist/proto/SetVolumeMutedMessage_pb.d.ts +0 -29
  85. package/dist/proto/SupportedCommands_pb.d.ts +0 -21
  86. package/dist/proto/SystemPlaybackQueue_pb.d.ts +0 -96
  87. package/dist/proto/TextInputMessage_pb.d.ts +0 -73
  88. package/dist/proto/TransactionKey_pb.d.ts +0 -24
  89. package/dist/proto/TransactionMessage_pb.d.ts +0 -35
  90. package/dist/proto/TransactionPacket_pb.d.ts +0 -37
  91. package/dist/proto/TransactionPackets_pb.d.ts +0 -21
  92. package/dist/proto/Transcript_pb.d.ts +0 -40
  93. package/dist/proto/UpdateClientMessage_pb.d.ts +0 -26
  94. package/dist/proto/UpdateContentItemArtworkMessage_pb.d.ts +0 -31
  95. package/dist/proto/UpdateContentItemMessage_pb.d.ts +0 -31
  96. package/dist/proto/UpdateEndPointsMessage_pb.d.ts +0 -72
  97. package/dist/proto/UpdateOutputDeviceMessage_pb.d.ts +0 -322
  98. package/dist/proto/UpdatePlayerPath_pb.d.ts +0 -26
  99. package/dist/proto/VirtualTouchDeviceDescriptorMessage_pb.d.ts +0 -32
  100. package/dist/proto/VoiceInputDeviceDescriptorMessage_pb.d.ts +0 -25
  101. package/dist/proto/VolumeControlAvailabilityMessage_pb.d.ts +0 -66
  102. package/dist/proto/VolumeControlCapabilitiesDidChangeMessage_pb.d.ts +0 -34
  103. package/dist/proto/VolumeDidChangeMessage_pb.d.ts +0 -33
  104. package/dist/proto/VolumeMutedDidChangeMessage_pb.d.ts +0 -29
  105. package/dist/proto/WakeDeviceMessage_pb.d.ts +0 -20
  106. package/dist/proto/index.d.ts +0 -90
  107. package/dist/protocol.d.ts +0 -25
  108. package/dist/utils.d.ts +0 -11
@@ -1,363 +0,0 @@
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>;
@@ -1,56 +0,0 @@
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 SendHIDEventMessage.proto.
6
- */
7
- export declare const file_SendHIDEventMessage: GenFile;
8
- /**
9
- * @generated from message SendHIDEventMessage
10
- */
11
- export type SendHIDEventMessage = Message<"SendHIDEventMessage"> & {
12
- /**
13
- * This data corresponds to a "keyboardEvent" in IOHIDEvent.h encoded as raw
14
- * data. Here is one source:
15
- *
16
- * https://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-308/IOHIDFamily/IOHIDEvent.h.auto.html
17
- *
18
- * The interesting parts are:
19
- * - usagePage (UInt32)
20
- * - usage (Uint32)
21
- * - down (bool)
22
- *
23
- * The parameters usagePage and usage corresponds to the key being pressed.
24
- * It is mapped to the USB HID values, which can be found here:
25
- *
26
- * https://github.com/Daij-Djan/DDHidLib/blob/master/usb_hid_usages.txt
27
- *
28
- * Pressing left key would for instance map to usagePage=0x01, usage=0x8B. In
29
- * the hid data, these values are stored as big endian uint16 values in the
30
- * mentioned order. So the same example would be: 0x0001008B0001, assuming
31
- * down = true (key being pressed). For each key press, the same usagePage
32
- * and usage are sent with down=true and down=false (key down + key up).
33
- *
34
- * There is a bit of magic in the raw data that's just not decoded yet, but
35
- * that doesn't matter. Just use this and it will work:
36
- *
37
- * 438922cf080200000000000000000000010000000000000002000000200000000300000001000000000000<data>0000000000000001000000
38
- *
39
- * <data> corresponds to the values above, e.g. 0001008B0001. The first 8
40
- * bytes is a timestamp (mach AbsoluteTime). It's a bit tricky to derive but
41
- * tvOS seems to accept old timestamps here. So it's probably fine to send
42
- * anything.
43
- *
44
- * @generated from field: optional bytes hidEventData = 1;
45
- */
46
- hidEventData: Uint8Array;
47
- };
48
- /**
49
- * Describes the message SendHIDEventMessage.
50
- * Use `create(SendHIDEventMessageSchema)` to create a new message.
51
- */
52
- export declare const SendHIDEventMessageSchema: GenMessage<SendHIDEventMessage>;
53
- /**
54
- * @generated from extension: optional SendHIDEventMessage sendHIDEventMessage = 13;
55
- */
56
- export declare const sendHIDEventMessage: GenExtension<ProtocolMessage, SendHIDEventMessage>;
@@ -1,29 +0,0 @@
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 SendHIDReportMessage.proto.
6
- */
7
- export declare const file_SendHIDReportMessage: GenFile;
8
- /**
9
- * @generated from message SendHIDReportMessage
10
- */
11
- export type SendHIDReportMessage = Message<"SendHIDReportMessage"> & {
12
- /**
13
- * @generated from field: optional string virtualDeviceID = 1;
14
- */
15
- virtualDeviceID: string;
16
- /**
17
- * @generated from field: optional bytes report = 2;
18
- */
19
- report: Uint8Array;
20
- };
21
- /**
22
- * Describes the message SendHIDReportMessage.
23
- * Use `create(SendHIDReportMessageSchema)` to create a new message.
24
- */
25
- export declare const SendHIDReportMessageSchema: GenMessage<SendHIDReportMessage>;
26
- /**
27
- * @generated from extension: optional SendHIDReportMessage sendHIDReportMessage = 14;
28
- */
29
- export declare const sendHIDReportMessage: GenExtension<ProtocolMessage, SendHIDReportMessage>;
@@ -1,60 +0,0 @@
1
- import type { GenEnum, 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 SendPackedVirtualTouchEventMessage.proto.
6
- */
7
- export declare const file_SendPackedVirtualTouchEventMessage: GenFile;
8
- /**
9
- * @generated from message SendPackedVirtualTouchEventMessage
10
- */
11
- export type SendPackedVirtualTouchEventMessage = Message<"SendPackedVirtualTouchEventMessage"> & {
12
- /**
13
- * The packed version of VirtualTouchEvent contains X, Y, phase, deviceID
14
- * and finger stored as a byte array. Each value is written as 16bit little
15
- * endian integers.
16
- *
17
- * @generated from field: optional bytes data = 1;
18
- */
19
- data: Uint8Array;
20
- };
21
- /**
22
- * Describes the message SendPackedVirtualTouchEventMessage.
23
- * Use `create(SendPackedVirtualTouchEventMessageSchema)` to create a new message.
24
- */
25
- export declare const SendPackedVirtualTouchEventMessageSchema: GenMessage<SendPackedVirtualTouchEventMessage>;
26
- /**
27
- * Corresponds to "phase" in data
28
- *
29
- * @generated from enum SendPackedVirtualTouchEventMessage.Phase
30
- */
31
- export declare enum SendPackedVirtualTouchEventMessage_Phase {
32
- /**
33
- * @generated from enum value: Began = 1;
34
- */
35
- Began = 1,
36
- /**
37
- * @generated from enum value: Moved = 2;
38
- */
39
- Moved = 2,
40
- /**
41
- * @generated from enum value: Stationary = 3;
42
- */
43
- Stationary = 3,
44
- /**
45
- * @generated from enum value: Ended = 4;
46
- */
47
- Ended = 4,
48
- /**
49
- * @generated from enum value: Cancelled = 5;
50
- */
51
- Cancelled = 5
52
- }
53
- /**
54
- * Describes the enum SendPackedVirtualTouchEventMessage.Phase.
55
- */
56
- export declare const SendPackedVirtualTouchEventMessage_PhaseSchema: GenEnum<SendPackedVirtualTouchEventMessage_Phase>;
57
- /**
58
- * @generated from extension: optional SendPackedVirtualTouchEventMessage sendPackedVirtualTouchEventMessage = 47;
59
- */
60
- export declare const sendPackedVirtualTouchEventMessage: GenExtension<ProtocolMessage, SendPackedVirtualTouchEventMessage>;
@@ -1,55 +0,0 @@
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 SendVirtualTouchEventMessage.proto.
6
- */
7
- export declare const file_SendVirtualTouchEventMessage: GenFile;
8
- /**
9
- * @generated from message SendVirtualTouchEventMessage
10
- */
11
- export type SendVirtualTouchEventMessage = Message<"SendVirtualTouchEventMessage"> & {
12
- /**
13
- * @generated from field: optional uint64 virtualDeviceID = 1;
14
- */
15
- virtualDeviceID: bigint;
16
- /**
17
- * @generated from field: optional VirtualTouchEvent event = 2;
18
- */
19
- event?: VirtualTouchEvent;
20
- };
21
- /**
22
- * Describes the message SendVirtualTouchEventMessage.
23
- * Use `create(SendVirtualTouchEventMessageSchema)` to create a new message.
24
- */
25
- export declare const SendVirtualTouchEventMessageSchema: GenMessage<SendVirtualTouchEventMessage>;
26
- /**
27
- * @generated from message VirtualTouchEvent
28
- */
29
- export type VirtualTouchEvent = Message<"VirtualTouchEvent"> & {
30
- /**
31
- * @generated from field: optional uint64 x = 1;
32
- */
33
- x: bigint;
34
- /**
35
- * @generated from field: optional uint64 y = 2;
36
- */
37
- y: bigint;
38
- /**
39
- * @generated from field: optional uint32 phase = 3;
40
- */
41
- phase: number;
42
- /**
43
- * @generated from field: optional uint32 finger = 4;
44
- */
45
- finger: number;
46
- };
47
- /**
48
- * Describes the message VirtualTouchEvent.
49
- * Use `create(VirtualTouchEventSchema)` to create a new message.
50
- */
51
- export declare const VirtualTouchEventSchema: GenMessage<VirtualTouchEvent>;
52
- /**
53
- * @generated from extension: optional SendVirtualTouchEventMessage sendVirtualTouchEventMessage = 15;
54
- */
55
- export declare const sendVirtualTouchEventMessage: GenExtension<ProtocolMessage, SendVirtualTouchEventMessage>;
@@ -1,122 +0,0 @@
1
- import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
- import type { ProtocolMessage } from "./ProtocolMessage_pb";
3
- import type { AudioFormatSettings } from "./AudioFormatSettingsMessage_pb";
4
- import type { Message } from "@bufbuild/protobuf";
5
- /**
6
- * Describes the file SendVoiceInputMessage.proto.
7
- */
8
- export declare const file_SendVoiceInputMessage: GenFile;
9
- /**
10
- * @generated from message AudioStreamPacketDescription
11
- */
12
- export type AudioStreamPacketDescription = Message<"AudioStreamPacketDescription"> & {
13
- /**
14
- * @generated from field: optional int64 startOffset = 1;
15
- */
16
- startOffset: bigint;
17
- /**
18
- * @generated from field: optional uint32 variableFramesInPacket = 2;
19
- */
20
- variableFramesInPacket: number;
21
- /**
22
- * @generated from field: optional uint32 dataByteSize = 3;
23
- */
24
- dataByteSize: number;
25
- };
26
- /**
27
- * Describes the message AudioStreamPacketDescription.
28
- * Use `create(AudioStreamPacketDescriptionSchema)` to create a new message.
29
- */
30
- export declare const AudioStreamPacketDescriptionSchema: GenMessage<AudioStreamPacketDescription>;
31
- /**
32
- * @generated from message AudioBuffer
33
- */
34
- export type AudioBuffer = Message<"AudioBuffer"> & {
35
- /**
36
- * @generated from field: optional AudioFormatSettings formatSettings = 1;
37
- */
38
- formatSettings?: AudioFormatSettings;
39
- /**
40
- * @generated from field: optional int64 packetCapacity = 2;
41
- */
42
- packetCapacity: bigint;
43
- /**
44
- * @generated from field: optional int64 maximumPacketSize = 3;
45
- */
46
- maximumPacketSize: bigint;
47
- /**
48
- * @generated from field: optional int64 packetCount = 4;
49
- */
50
- packetCount: bigint;
51
- /**
52
- * @generated from field: optional bytes contents = 5;
53
- */
54
- contents: Uint8Array;
55
- /**
56
- * @generated from field: repeated AudioStreamPacketDescription packetDescriptions = 6;
57
- */
58
- packetDescriptions: AudioStreamPacketDescription[];
59
- };
60
- /**
61
- * Describes the message AudioBuffer.
62
- * Use `create(AudioBufferSchema)` to create a new message.
63
- */
64
- export declare const AudioBufferSchema: GenMessage<AudioBuffer>;
65
- /**
66
- * @generated from message AudioTime
67
- */
68
- export type AudioTime = Message<"AudioTime"> & {
69
- /**
70
- * @generated from field: optional double timestamp = 1;
71
- */
72
- timestamp: number;
73
- /**
74
- * @generated from field: optional double sampleRate = 2;
75
- */
76
- sampleRate: number;
77
- };
78
- /**
79
- * Describes the message AudioTime.
80
- * Use `create(AudioTimeSchema)` to create a new message.
81
- */
82
- export declare const AudioTimeSchema: GenMessage<AudioTime>;
83
- /**
84
- * @generated from message AudioDataBlock
85
- */
86
- export type AudioDataBlock = Message<"AudioDataBlock"> & {
87
- /**
88
- * @generated from field: optional AudioBuffer buffer = 1;
89
- */
90
- buffer?: AudioBuffer;
91
- /**
92
- * @generated from field: optional AudioTime time = 2;
93
- */
94
- time?: AudioTime;
95
- /**
96
- * @generated from field: optional double gain = 3;
97
- */
98
- gain: number;
99
- };
100
- /**
101
- * Describes the message AudioDataBlock.
102
- * Use `create(AudioDataBlockSchema)` to create a new message.
103
- */
104
- export declare const AudioDataBlockSchema: GenMessage<AudioDataBlock>;
105
- /**
106
- * @generated from message SendVoiceInputMessage
107
- */
108
- export type SendVoiceInputMessage = Message<"SendVoiceInputMessage"> & {
109
- /**
110
- * @generated from field: optional AudioDataBlock dataBlock = 1;
111
- */
112
- dataBlock?: AudioDataBlock;
113
- };
114
- /**
115
- * Describes the message SendVoiceInputMessage.
116
- * Use `create(SendVoiceInputMessageSchema)` to create a new message.
117
- */
118
- export declare const SendVoiceInputMessageSchema: GenMessage<SendVoiceInputMessage>;
119
- /**
120
- * @generated from extension: optional SendVoiceInputMessage sendVoiceInputMessage = 36;
121
- */
122
- export declare const sendVoiceInputMessage: GenExtension<ProtocolMessage, SendVoiceInputMessage>;