@leaflow/sdk 0.0.0-dev.451.gfd4baf5 → 0.0.0-dev.453.gab53eb4

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 (274) hide show
  1. package/README.md +15 -0
  2. package/dist/fleet/v1/generated/functions.d.ts +1710 -0
  3. package/dist/fleet/v1/generated/functions.js +1655 -0
  4. package/dist/fleet/v1/generated/models.d.ts +1534 -0
  5. package/dist/fleet/v1/generated/models.js +97 -0
  6. package/dist/fleet/v1/generated/schemas.zod.d.ts +1172 -0
  7. package/dist/fleet/v1/generated/schemas.zod.js +1291 -0
  8. package/dist/fleet/v1/generated/validators/accountList.zod.d.ts +250 -0
  9. package/dist/fleet/v1/generated/validators/accountList.zod.js +234 -0
  10. package/dist/fleet/v1/generated/validators/accountResource.zod.d.ts +244 -0
  11. package/dist/fleet/v1/generated/validators/accountResource.zod.js +242 -0
  12. package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.d.ts +232 -0
  13. package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.js +234 -0
  14. package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.d.ts +234 -0
  15. package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.js +240 -0
  16. package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.d.ts +231 -0
  17. package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.js +231 -0
  18. package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.d.ts +231 -0
  19. package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.js +229 -0
  20. package/dist/fleet/v1/generated/validators/createGroupRequest.zod.d.ts +231 -0
  21. package/dist/fleet/v1/generated/validators/createGroupRequest.zod.js +230 -0
  22. package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.d.ts +236 -0
  23. package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.js +243 -0
  24. package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.d.ts +247 -0
  25. package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.js +233 -0
  26. package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.d.ts +248 -0
  27. package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.js +261 -0
  28. package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.d.ts +277 -0
  29. package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.js +241 -0
  30. package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.d.ts +236 -0
  31. package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.js +238 -0
  32. package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.d.ts +232 -0
  33. package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.js +233 -0
  34. package/dist/fleet/v1/generated/validators/createSessionRequest.zod.d.ts +240 -0
  35. package/dist/fleet/v1/generated/validators/createSessionRequest.zod.js +231 -0
  36. package/dist/fleet/v1/generated/validators/cursorPagination.zod.d.ts +232 -0
  37. package/dist/fleet/v1/generated/validators/cursorPagination.zod.js +232 -0
  38. package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.d.ts +232 -0
  39. package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.js +230 -0
  40. package/dist/fleet/v1/generated/validators/desktopOptions.zod.d.ts +242 -0
  41. package/dist/fleet/v1/generated/validators/desktopOptions.zod.js +254 -0
  42. package/dist/fleet/v1/generated/validators/desktopState.zod.d.ts +235 -0
  43. package/dist/fleet/v1/generated/validators/desktopState.zod.js +231 -0
  44. package/dist/fleet/v1/generated/validators/directoryName.zod.d.ts +231 -0
  45. package/dist/fleet/v1/generated/validators/directoryName.zod.js +234 -0
  46. package/dist/fleet/v1/generated/validators/enrollmentResource.zod.d.ts +243 -0
  47. package/dist/fleet/v1/generated/validators/enrollmentResource.zod.js +241 -0
  48. package/dist/fleet/v1/generated/validators/enrollmentState.zod.d.ts +233 -0
  49. package/dist/fleet/v1/generated/validators/enrollmentState.zod.js +229 -0
  50. package/dist/fleet/v1/generated/validators/error.zod.d.ts +243 -0
  51. package/dist/fleet/v1/generated/validators/error.zod.js +232 -0
  52. package/dist/fleet/v1/generated/validators/errorStatus.zod.d.ts +241 -0
  53. package/dist/fleet/v1/generated/validators/errorStatus.zod.js +256 -0
  54. package/dist/fleet/v1/generated/validators/featureState.zod.d.ts +232 -0
  55. package/dist/fleet/v1/generated/validators/featureState.zod.js +229 -0
  56. package/dist/fleet/v1/generated/validators/fieldViolation.zod.d.ts +232 -0
  57. package/dist/fleet/v1/generated/validators/fieldViolation.zod.js +235 -0
  58. package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.d.ts +232 -0
  59. package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.js +230 -0
  60. package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.d.ts +245 -0
  61. package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.js +232 -0
  62. package/dist/fleet/v1/generated/validators/groupList.zod.d.ts +242 -0
  63. package/dist/fleet/v1/generated/validators/groupList.zod.js +234 -0
  64. package/dist/fleet/v1/generated/validators/groupResource.zod.d.ts +237 -0
  65. package/dist/fleet/v1/generated/validators/groupResource.zod.js +235 -0
  66. package/dist/fleet/v1/generated/validators/iceCandidate.zod.d.ts +234 -0
  67. package/dist/fleet/v1/generated/validators/iceCandidate.zod.js +241 -0
  68. package/dist/fleet/v1/generated/validators/iceServer.zod.d.ts +233 -0
  69. package/dist/fleet/v1/generated/validators/iceServer.zod.js +236 -0
  70. package/dist/fleet/v1/generated/validators/listAccountsParams.zod.d.ts +239 -0
  71. package/dist/fleet/v1/generated/validators/listAccountsParams.zod.js +241 -0
  72. package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.d.ts +236 -0
  73. package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.js +242 -0
  74. package/dist/fleet/v1/generated/validators/listGroupsParams.zod.d.ts +236 -0
  75. package/dist/fleet/v1/generated/validators/listGroupsParams.zod.js +238 -0
  76. package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.d.ts +240 -0
  77. package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.js +244 -0
  78. package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.d.ts +236 -0
  79. package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.js +242 -0
  80. package/dist/fleet/v1/generated/validators/listMachinesParams.zod.d.ts +238 -0
  81. package/dist/fleet/v1/generated/validators/listMachinesParams.zod.js +240 -0
  82. package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.d.ts +239 -0
  83. package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.js +241 -0
  84. package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.d.ts +236 -0
  85. package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.js +242 -0
  86. package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.d.ts +244 -0
  87. package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.js +245 -0
  88. package/dist/fleet/v1/generated/validators/listSessionsParams.zod.d.ts +240 -0
  89. package/dist/fleet/v1/generated/validators/listSessionsParams.zod.js +242 -0
  90. package/dist/fleet/v1/generated/validators/machineEventList.zod.d.ts +244 -0
  91. package/dist/fleet/v1/generated/validators/machineEventList.zod.js +234 -0
  92. package/dist/fleet/v1/generated/validators/machineEventResource.zod.d.ts +238 -0
  93. package/dist/fleet/v1/generated/validators/machineEventResource.zod.js +238 -0
  94. package/dist/fleet/v1/generated/validators/machineEventType.zod.d.ts +232 -0
  95. package/dist/fleet/v1/generated/validators/machineEventType.zod.js +229 -0
  96. package/dist/fleet/v1/generated/validators/machineFeature.zod.d.ts +237 -0
  97. package/dist/fleet/v1/generated/validators/machineFeature.zod.js +239 -0
  98. package/dist/fleet/v1/generated/validators/machineList.zod.d.ts +261 -0
  99. package/dist/fleet/v1/generated/validators/machineList.zod.js +234 -0
  100. package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.d.ts +250 -0
  101. package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.js +234 -0
  102. package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.d.ts +244 -0
  103. package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.js +249 -0
  104. package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.d.ts +234 -0
  105. package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.js +229 -0
  106. package/dist/fleet/v1/generated/validators/machineResource.zod.d.ts +256 -0
  107. package/dist/fleet/v1/generated/validators/machineResource.zod.js +257 -0
  108. package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.d.ts +240 -0
  109. package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.js +246 -0
  110. package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.d.ts +279 -0
  111. package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.js +232 -0
  112. package/dist/fleet/v1/generated/validators/mcpImplementation.zod.d.ts +233 -0
  113. package/dist/fleet/v1/generated/validators/mcpImplementation.zod.js +231 -0
  114. package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.d.ts +237 -0
  115. package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.js +237 -0
  116. package/dist/fleet/v1/generated/validators/mcpServerResource.zod.d.ts +265 -0
  117. package/dist/fleet/v1/generated/validators/mcpServerResource.zod.js +256 -0
  118. package/dist/fleet/v1/generated/validators/mcpToolList.zod.d.ts +252 -0
  119. package/dist/fleet/v1/generated/validators/mcpToolList.zod.js +235 -0
  120. package/dist/fleet/v1/generated/validators/mcpToolResource.zod.d.ts +237 -0
  121. package/dist/fleet/v1/generated/validators/mcpToolResource.zod.js +243 -0
  122. package/dist/fleet/v1/generated/validators/mcpTransport.zod.d.ts +233 -0
  123. package/dist/fleet/v1/generated/validators/mcpTransport.zod.js +229 -0
  124. package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.d.ts +240 -0
  125. package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.js +231 -0
  126. package/dist/fleet/v1/generated/validators/migrationStep.zod.d.ts +232 -0
  127. package/dist/fleet/v1/generated/validators/migrationStep.zod.js +233 -0
  128. package/dist/fleet/v1/generated/validators/namedIdentity.zod.d.ts +233 -0
  129. package/dist/fleet/v1/generated/validators/namedIdentity.zod.js +233 -0
  130. package/dist/fleet/v1/generated/validators/offsetPagination.zod.d.ts +234 -0
  131. package/dist/fleet/v1/generated/validators/offsetPagination.zod.js +234 -0
  132. package/dist/fleet/v1/generated/validators/operatingSystem.zod.d.ts +233 -0
  133. package/dist/fleet/v1/generated/validators/operatingSystem.zod.js +233 -0
  134. package/dist/fleet/v1/generated/validators/participantList.zod.d.ts +242 -0
  135. package/dist/fleet/v1/generated/validators/participantList.zod.js +230 -0
  136. package/dist/fleet/v1/generated/validators/participantResource.zod.d.ts +240 -0
  137. package/dist/fleet/v1/generated/validators/participantResource.zod.js +242 -0
  138. package/dist/fleet/v1/generated/validators/peerConnection.zod.d.ts +241 -0
  139. package/dist/fleet/v1/generated/validators/peerConnection.zod.js +242 -0
  140. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.d.ts +241 -0
  141. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.js +234 -0
  142. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.d.ts +235 -0
  143. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.js +236 -0
  144. package/dist/fleet/v1/generated/validators/privilegeDecider.zod.d.ts +232 -0
  145. package/dist/fleet/v1/generated/validators/privilegeDecider.zod.js +229 -0
  146. package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.d.ts +258 -0
  147. package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.js +234 -0
  148. package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.d.ts +253 -0
  149. package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.js +255 -0
  150. package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.d.ts +235 -0
  151. package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.js +229 -0
  152. package/dist/fleet/v1/generated/validators/publicKey.zod.d.ts +230 -0
  153. package/dist/fleet/v1/generated/validators/publicKey.zod.js +231 -0
  154. package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.d.ts +236 -0
  155. package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.js +235 -0
  156. package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.d.ts +257 -0
  157. package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.js +238 -0
  158. package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.d.ts +233 -0
  159. package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.js +237 -0
  160. package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.d.ts +240 -0
  161. package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.js +236 -0
  162. package/dist/fleet/v1/generated/validators/runCommandRequest.zod.d.ts +235 -0
  163. package/dist/fleet/v1/generated/validators/runCommandRequest.zod.js +242 -0
  164. package/dist/fleet/v1/generated/validators/runCommandResponse.zod.d.ts +237 -0
  165. package/dist/fleet/v1/generated/validators/runCommandResponse.zod.js +245 -0
  166. package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.d.ts +234 -0
  167. package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.js +239 -0
  168. package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.d.ts +231 -0
  169. package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.js +231 -0
  170. package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.d.ts +242 -0
  171. package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.js +242 -0
  172. package/dist/fleet/v1/generated/validators/sessionList.zod.d.ts +274 -0
  173. package/dist/fleet/v1/generated/validators/sessionList.zod.js +234 -0
  174. package/dist/fleet/v1/generated/validators/sessionMode.zod.d.ts +232 -0
  175. package/dist/fleet/v1/generated/validators/sessionMode.zod.js +229 -0
  176. package/dist/fleet/v1/generated/validators/sessionResource.zod.d.ts +268 -0
  177. package/dist/fleet/v1/generated/validators/sessionResource.zod.js +254 -0
  178. package/dist/fleet/v1/generated/validators/sessionState.zod.d.ts +234 -0
  179. package/dist/fleet/v1/generated/validators/sessionState.zod.js +229 -0
  180. package/dist/fleet/v1/generated/validators/signedMessage.zod.d.ts +233 -0
  181. package/dist/fleet/v1/generated/validators/signedMessage.zod.js +235 -0
  182. package/dist/fleet/v1/generated/validators/signingKey.zod.d.ts +232 -0
  183. package/dist/fleet/v1/generated/validators/signingKey.zod.js +233 -0
  184. package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.d.ts +235 -0
  185. package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.js +240 -0
  186. package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.d.ts +231 -0
  187. package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.js +230 -0
  188. package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.d.ts +232 -0
  189. package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.js +230 -0
  190. package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.d.ts +254 -0
  191. package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.js +282 -0
  192. package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.d.ts +279 -0
  193. package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.js +232 -0
  194. package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.d.ts +231 -0
  195. package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.js +232 -0
  196. package/dist/fleet/v1/index.d.ts +3 -0
  197. package/dist/fleet/v1/index.js +3 -0
  198. package/dist/index.d.ts +1 -0
  199. package/dist/index.js +1 -0
  200. package/dist/proto/google/rpc/status_pb.d.ts +48 -0
  201. package/dist/proto/google/rpc/status_pb.js +24 -0
  202. package/dist/proto/leaflow/fleet/audio/v1/audio_pb.d.ts +262 -0
  203. package/dist/proto/leaflow/fleet/audio/v1/audio_pb.js +51 -0
  204. package/dist/proto/leaflow/fleet/camera/v1/camera_pb.d.ts +265 -0
  205. package/dist/proto/leaflow/fleet/camera/v1/camera_pb.js +70 -0
  206. package/dist/proto/leaflow/fleet/command/v1/command_pb.d.ts +158 -0
  207. package/dist/proto/leaflow/fleet/command/v1/command_pb.js +25 -0
  208. package/dist/proto/leaflow/fleet/control/v1/control_pb.d.ts +1226 -0
  209. package/dist/proto/leaflow/fleet/control/v1/control_pb.js +354 -0
  210. package/dist/proto/leaflow/fleet/device/v1/device_pb.d.ts +422 -0
  211. package/dist/proto/leaflow/fleet/device/v1/device_pb.js +183 -0
  212. package/dist/proto/leaflow/fleet/directory/v1/directory_pb.d.ts +429 -0
  213. package/dist/proto/leaflow/fleet/directory/v1/directory_pb.js +78 -0
  214. package/dist/proto/leaflow/fleet/exec/v1/exec_pb.d.ts +287 -0
  215. package/dist/proto/leaflow/fleet/exec/v1/exec_pb.js +78 -0
  216. package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.d.ts +731 -0
  217. package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.js +163 -0
  218. package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.d.ts +347 -0
  219. package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.js +124 -0
  220. package/dist/proto/leaflow/fleet/host/v1/host_pb.d.ts +619 -0
  221. package/dist/proto/leaflow/fleet/host/v1/host_pb.js +206 -0
  222. package/dist/proto/leaflow/fleet/logs/v1/logs_pb.d.ts +293 -0
  223. package/dist/proto/leaflow/fleet/logs/v1/logs_pb.js +90 -0
  224. package/dist/proto/leaflow/fleet/machine/v1/machine_pb.d.ts +448 -0
  225. package/dist/proto/leaflow/fleet/machine/v1/machine_pb.js +157 -0
  226. package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.d.ts +891 -0
  227. package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.js +306 -0
  228. package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.d.ts +688 -0
  229. package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.js +209 -0
  230. package/dist/proto/leaflow/fleet/printing/v1/printing_pb.d.ts +741 -0
  231. package/dist/proto/leaflow/fleet/printing/v1/printing_pb.js +260 -0
  232. package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.d.ts +569 -0
  233. package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.js +168 -0
  234. package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.d.ts +234 -0
  235. package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.js +70 -0
  236. package/dist/proto/leaflow/fleet/session/v1/session_pb.d.ts +411 -0
  237. package/dist/proto/leaflow/fleet/session/v1/session_pb.js +130 -0
  238. package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.d.ts +163 -0
  239. package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.js +64 -0
  240. package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.d.ts +297 -0
  241. package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.js +54 -0
  242. package/dist/proto/leaflow/fleet/transport/v1/transport_pb.d.ts +1055 -0
  243. package/dist/proto/leaflow/fleet/transport/v1/transport_pb.js +251 -0
  244. package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.d.ts +1298 -0
  245. package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.js +437 -0
  246. package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.d.ts +888 -0
  247. package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.js +210 -0
  248. package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.d.ts +231 -0
  249. package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.js +63 -0
  250. package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.d.ts +965 -0
  251. package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.js +239 -0
  252. package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.d.ts +201 -0
  253. package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.js +34 -0
  254. package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +1489 -0
  255. package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +256 -0
  256. package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.d.ts +380 -0
  257. package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.js +89 -0
  258. package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.d.ts +587 -0
  259. package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.js +139 -0
  260. package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.d.ts +69 -0
  261. package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.js +19 -0
  262. package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.d.ts +1463 -0
  263. package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.js +321 -0
  264. package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.d.ts +93 -0
  265. package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.js +24 -0
  266. package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.d.ts +414 -0
  267. package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.js +137 -0
  268. package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.d.ts +928 -0
  269. package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.js +413 -0
  270. package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.d.ts +1559 -0
  271. package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.js +664 -0
  272. package/dist/routes.d.ts +440 -0
  273. package/dist/routes.js +495 -0
  274. package/package.json +11 -3
@@ -0,0 +1,1463 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Duration } from "@bufbuild/protobuf/wkt";
3
+ import type { Status } from "../../../../../google/rpc/status_pb.js";
4
+ import type { Rectangle } from "../../display/v1/display_pb.js";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file leaflow/fleet/virtualdesktop/input/v1/input.proto.
8
+ */
9
+ export declare const file_leaflow_fleet_virtualdesktop_input_v1_input: GenFile;
10
+ /**
11
+ * A message from the participant on the input channel.
12
+ *
13
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.ClientMessage
14
+ */
15
+ export type ClientMessage = Message<"leaflow.fleet.virtualdesktop.input.v1.ClientMessage"> & {
16
+ /**
17
+ * The message.
18
+ *
19
+ * @generated from oneof leaflow.fleet.virtualdesktop.input.v1.ClientMessage.message
20
+ */
21
+ message: {
22
+ /**
23
+ * A key was pressed or released.
24
+ *
25
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.KeyEvent key_event = 1;
26
+ */
27
+ value: KeyEvent;
28
+ case: "keyEvent";
29
+ } | {
30
+ /**
31
+ * The pointer moved. Sent as a Datagram.
32
+ *
33
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.PointerMotion pointer_motion = 2;
34
+ */
35
+ value: PointerMotion;
36
+ case: "pointerMotion";
37
+ } | {
38
+ /**
39
+ * A pointer button was pressed or released.
40
+ *
41
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.PointerButton pointer_button = 3;
42
+ */
43
+ value: PointerButton;
44
+ case: "pointerButton";
45
+ } | {
46
+ /**
47
+ * The wheel or touchpad scrolled.
48
+ *
49
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.PointerWheel pointer_wheel = 4;
50
+ */
51
+ value: PointerWheel;
52
+ case: "pointerWheel";
53
+ } | {
54
+ /**
55
+ * Text to insert.
56
+ *
57
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.InsertText insert_text = 5;
58
+ */
59
+ value: InsertText;
60
+ case: "insertText";
61
+ } | {
62
+ /**
63
+ * A step of a composition of the participant's input method.
64
+ *
65
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.Composition composition = 6;
66
+ */
67
+ value: Composition;
68
+ case: "composition";
69
+ } | {
70
+ case: undefined;
71
+ value?: undefined;
72
+ };
73
+ };
74
+ /**
75
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.ClientMessage.
76
+ * Use `create(ClientMessageSchema)` to create a new message.
77
+ */
78
+ export declare const ClientMessageSchema: GenMessage<ClientMessage>;
79
+ /**
80
+ * A message from the session on the input channel.
81
+ *
82
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.ServerMessage
83
+ */
84
+ export type ServerMessage = Message<"leaflow.fleet.virtualdesktop.input.v1.ServerMessage"> & {
85
+ /**
86
+ * The message.
87
+ *
88
+ * @generated from oneof leaflow.fleet.virtualdesktop.input.v1.ServerMessage.message
89
+ */
90
+ message: {
91
+ /**
92
+ * The focused text field changed.
93
+ *
94
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.TextInputState text_input_state = 1;
95
+ */
96
+ value: TextInputState;
97
+ case: "textInputState";
98
+ } | {
99
+ /**
100
+ * Key, pointer or wheel input was dropped.
101
+ *
102
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.InputError input_error = 2;
103
+ */
104
+ value: InputError;
105
+ case: "inputError";
106
+ } | {
107
+ /**
108
+ * Inserted or composed text was dropped.
109
+ *
110
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.TextInputError text_input_error = 3;
111
+ */
112
+ value: TextInputError;
113
+ case: "textInputError";
114
+ } | {
115
+ case: undefined;
116
+ value?: undefined;
117
+ };
118
+ };
119
+ /**
120
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.ServerMessage.
121
+ * Use `create(ServerMessageSchema)` to create a new message.
122
+ */
123
+ export declare const ServerMessageSchema: GenMessage<ServerMessage>;
124
+ /**
125
+ * A physical key was pressed or released (RFC 6143 KeyEvent). The session
126
+ * turns off X auto-repeat; the participant sends its repeated key presses as
127
+ * further presses, and releases every pressed key when it loses focus.
128
+ *
129
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.KeyEvent
130
+ */
131
+ export type KeyEvent = Message<"leaflow.fleet.virtualdesktop.input.v1.KeyEvent"> & {
132
+ /**
133
+ * The position in the input order.
134
+ *
135
+ * @generated from field: uint64 input_seq = 1;
136
+ */
137
+ inputSeq: bigint;
138
+ /**
139
+ * A press or a release.
140
+ *
141
+ * @generated from field: bool pressed = 2;
142
+ */
143
+ pressed: boolean;
144
+ /**
145
+ * The X keysym, such as 0x61 for "a" or 0xff0d for Return, or 0x01000000
146
+ * plus the code point for other characters. A release carries the keysym
147
+ * of its press. 0 when unknown; the session then uses code.
148
+ *
149
+ * @generated from field: uint32 keysym = 3;
150
+ */
151
+ keysym: number;
152
+ /**
153
+ * The physical key as a W3C UI Events KeyboardEvent code value, such as
154
+ * "KeyA". Empty when unknown.
155
+ *
156
+ * @generated from field: string code = 4;
157
+ */
158
+ code: string;
159
+ /**
160
+ * The lock keys after the event, so a Caps Lock press carries the new
161
+ * state. The session sets its lock modifiers to match before typing the key,
162
+ * compensating Shift for the letters Caps Lock inverts, and applies a lock
163
+ * key press as state instead of typing it. Unset: every lock is off.
164
+ *
165
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.LockKeyState lock_key_state = 5;
166
+ */
167
+ lockKeyState?: LockKeyState | undefined;
168
+ /**
169
+ * The window the participant shows focused. When another window has the X
170
+ * focus the session activates this one first, because a WindowActivate sent
171
+ * on the window channel may arrive later. 0: the window with the X focus. For
172
+ * a window that is gone, presses are dropped and releases still typed.
173
+ *
174
+ * @generated from field: uint64 window_id = 6;
175
+ */
176
+ windowId: bigint;
177
+ /**
178
+ * The sequence of the latest clipboard content this participant offered,
179
+ * until the session confirmed it. See "Clipboard before paste".
180
+ *
181
+ * @generated from field: optional uint64 clipboard_sequence = 7;
182
+ */
183
+ clipboardSequence?: bigint | undefined;
184
+ };
185
+ /**
186
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.KeyEvent.
187
+ * Use `create(KeyEventSchema)` to create a new message.
188
+ */
189
+ export declare const KeyEventSchema: GenMessage<KeyEvent>;
190
+ /**
191
+ * The state of the lock keys (MS-RDPBCGR TS_SYNC_EVENT; W3C UI Events
192
+ * getModifierState).
193
+ *
194
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.LockKeyState
195
+ */
196
+ export type LockKeyState = Message<"leaflow.fleet.virtualdesktop.input.v1.LockKeyState"> & {
197
+ /**
198
+ * Caps Lock is on.
199
+ *
200
+ * @generated from field: bool caps_lock = 1;
201
+ */
202
+ capsLock: boolean;
203
+ /**
204
+ * Num Lock is on.
205
+ *
206
+ * @generated from field: bool num_lock = 2;
207
+ */
208
+ numLock: boolean;
209
+ /**
210
+ * Scroll Lock is on.
211
+ *
212
+ * @generated from field: bool scroll_lock = 3;
213
+ */
214
+ scrollLock: boolean;
215
+ };
216
+ /**
217
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.LockKeyState.
218
+ * Use `create(LockKeyStateSchema)` to create a new message.
219
+ */
220
+ export declare const LockKeyStateSchema: GenMessage<LockKeyState>;
221
+ /**
222
+ * The pointer moved (RFC 6143 PointerEvent; Xpra pointer-motion). Only the
223
+ * latest position matters; at most one per animation frame.
224
+ *
225
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.PointerMotion
226
+ */
227
+ export type PointerMotion = Message<"leaflow.fleet.virtualdesktop.input.v1.PointerMotion"> & {
228
+ /**
229
+ * The position in the input order.
230
+ *
231
+ * @generated from field: uint64 input_seq = 1;
232
+ */
233
+ inputSeq: bigint;
234
+ /**
235
+ * The window the point is relative to.
236
+ *
237
+ * @generated from field: uint64 window_id = 2;
238
+ */
239
+ windowId: bigint;
240
+ /**
241
+ * The point.
242
+ *
243
+ * @generated from field: sint32 x = 3;
244
+ */
245
+ x: number;
246
+ /**
247
+ * See x.
248
+ *
249
+ * @generated from field: sint32 y = 4;
250
+ */
251
+ y: number;
252
+ /**
253
+ * input_seq of the last other input the participant sent before this motion;
254
+ * 0 when none.
255
+ *
256
+ * @generated from field: uint64 after_input_seq = 5;
257
+ */
258
+ afterInputSeq: bigint;
259
+ };
260
+ /**
261
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.PointerMotion.
262
+ * Use `create(PointerMotionSchema)` to create a new message.
263
+ */
264
+ export declare const PointerMotionSchema: GenMessage<PointerMotion>;
265
+ /**
266
+ * A pointer button was pressed or released. It carries its own position, and
267
+ * the session moves the pointer there first, so a lost motion never moves a
268
+ * click.
269
+ *
270
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.PointerButton
271
+ */
272
+ export type PointerButton = Message<"leaflow.fleet.virtualdesktop.input.v1.PointerButton"> & {
273
+ /**
274
+ * The position in the input order.
275
+ *
276
+ * @generated from field: uint64 input_seq = 1;
277
+ */
278
+ inputSeq: bigint;
279
+ /**
280
+ * The window the point is relative to.
281
+ *
282
+ * @generated from field: uint64 window_id = 2;
283
+ */
284
+ windowId: bigint;
285
+ /**
286
+ * The point.
287
+ *
288
+ * @generated from field: sint32 x = 3;
289
+ */
290
+ x: number;
291
+ /**
292
+ * See x.
293
+ *
294
+ * @generated from field: sint32 y = 4;
295
+ */
296
+ y: number;
297
+ /**
298
+ * The X button number from 1: 1 left, 2 middle, 3 right, 8 back, 9
299
+ * forward. Scrolling uses PointerWheel.
300
+ *
301
+ * @generated from field: uint32 button = 5;
302
+ */
303
+ button: number;
304
+ /**
305
+ * A press or a release.
306
+ *
307
+ * @generated from field: bool pressed = 6;
308
+ */
309
+ pressed: boolean;
310
+ /**
311
+ * The sequence of the latest clipboard content this participant offered,
312
+ * until the session confirmed it. See "Clipboard before paste".
313
+ *
314
+ * @generated from field: optional uint64 clipboard_sequence = 7;
315
+ */
316
+ clipboardSequence?: bigint | undefined;
317
+ };
318
+ /**
319
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.PointerButton.
320
+ * Use `create(PointerButtonSchema)` to create a new message.
321
+ */
322
+ export declare const PointerButtonSchema: GenMessage<PointerButton>;
323
+ /**
324
+ * The wheel or touchpad scrolled. The participant adds up the deltas of an
325
+ * animation frame into one message; the session turns every 120 units into
326
+ * one X button 4 to 7 click and keeps the remainder.
327
+ *
328
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.PointerWheel
329
+ */
330
+ export type PointerWheel = Message<"leaflow.fleet.virtualdesktop.input.v1.PointerWheel"> & {
331
+ /**
332
+ * The position in the input order.
333
+ *
334
+ * @generated from field: uint64 input_seq = 1;
335
+ */
336
+ inputSeq: bigint;
337
+ /**
338
+ * The window the point is relative to.
339
+ *
340
+ * @generated from field: uint64 window_id = 2;
341
+ */
342
+ windowId: bigint;
343
+ /**
344
+ * The point.
345
+ *
346
+ * @generated from field: sint32 x = 3;
347
+ */
348
+ x: number;
349
+ /**
350
+ * See x.
351
+ *
352
+ * @generated from field: sint32 y = 4;
353
+ */
354
+ y: number;
355
+ /**
356
+ * Horizontal scroll in value120 units (Wayland wl_pointer axis_value120);
357
+ * positive scrolls right.
358
+ *
359
+ * @generated from field: sint32 delta_x = 5;
360
+ */
361
+ deltaX: number;
362
+ /**
363
+ * Vertical scroll in value120 units; positive scrolls down.
364
+ *
365
+ * @generated from field: sint32 delta_y = 6;
366
+ */
367
+ deltaY: number;
368
+ };
369
+ /**
370
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.PointerWheel.
371
+ * Use `create(PointerWheelSchema)` to create a new message.
372
+ */
373
+ export declare const PointerWheelSchema: GenMessage<PointerWheel>;
374
+ /**
375
+ * The focused editor of the session, as its native input method context
376
+ * reports it. Sent when the input channel opens and whenever the focus, the
377
+ * caret or the editor changes.
378
+ *
379
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.TextInputState
380
+ */
381
+ export type TextInputState = Message<"leaflow.fleet.virtualdesktop.input.v1.TextInputState"> & {
382
+ /**
383
+ * The window of the focused editor. 0 when no window has focus.
384
+ *
385
+ * @generated from field: uint64 window_id = 1;
386
+ */
387
+ windowId: bigint;
388
+ /**
389
+ * An editable control or a terminal has focus and accepts text, whether
390
+ * or not its caret is known. The participant keeps a local text field focused
391
+ * while it is set, so that its own input method can start.
392
+ *
393
+ * @generated from field: bool enabled = 2;
394
+ */
395
+ enabled: boolean;
396
+ /**
397
+ * The caret, relative to the window, for placing the input method's
398
+ * candidate window. Unset when the application does not report it
399
+ * reliably; text input still works.
400
+ *
401
+ * @generated from field: leaflow.fleet.virtualdesktop.display.v1.Rectangle cursor_rectangle = 3;
402
+ */
403
+ cursorRectangle?: Rectangle | undefined;
404
+ /**
405
+ * Window.resize_counter the rectangles belong to. The participant does not
406
+ * apply rectangles of an earlier window size.
407
+ *
408
+ * @generated from field: uint64 resize_counter = 4;
409
+ */
410
+ resizeCounter: bigint;
411
+ /**
412
+ * Where cursor_rectangle came from. UNSPECIFIED when it is unset.
413
+ *
414
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.CursorSource cursor_source = 5;
415
+ */
416
+ cursorSource: CursorSource;
417
+ /**
418
+ * Identifies the focused editor within the session, opaque. Different
419
+ * editors of one window differ; moving the caret or resizing does not change
420
+ * it. Empty when nothing editable has focus or it cannot be verified.
421
+ *
422
+ * @generated from field: string input_context_id = 6;
423
+ */
424
+ inputContextId: string;
425
+ /**
426
+ * Grows whenever editing focus moves, is lost or comes back; not when the
427
+ * caret moves. Compositions and composed text are bound to it.
428
+ *
429
+ * @generated from field: uint64 focus_serial = 7;
430
+ */
431
+ focusSerial: bigint;
432
+ /**
433
+ * The bounds of the focused control, relative to the window (AT-SPI2
434
+ * Component.GetExtents; EditContext controlBounds). The participant may
435
+ * anchor its candidate window there when cursor_rectangle is unset; it never
436
+ * treats it as the caret.
437
+ *
438
+ * @generated from field: leaflow.fleet.virtualdesktop.display.v1.Rectangle control_rectangle = 8;
439
+ */
440
+ controlRectangle?: Rectangle | undefined;
441
+ /**
442
+ * The editor's native input context takes Composition messages: preedit
443
+ * text and the real keys consumed while composing. Otherwise the participant
444
+ * sends only InsertText.
445
+ *
446
+ * @generated from field: bool composition_supported = 9;
447
+ */
448
+ compositionSupported: boolean;
449
+ };
450
+ /**
451
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.TextInputState.
452
+ * Use `create(TextInputStateSchema)` to create a new message.
453
+ */
454
+ export declare const TextInputStateSchema: GenMessage<TextInputState>;
455
+ /**
456
+ * Text to insert (W3C Input Events inputType).
457
+ *
458
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.InsertText
459
+ */
460
+ export type InsertText = Message<"leaflow.fleet.virtualdesktop.input.v1.InsertText"> & {
461
+ /**
462
+ * The position in the input order.
463
+ *
464
+ * @generated from field: uint64 input_seq = 1;
465
+ */
466
+ inputSeq: bigint;
467
+ /**
468
+ * The text, UTF-8. Not empty.
469
+ *
470
+ * @generated from field: string text = 2;
471
+ */
472
+ text: string;
473
+ /**
474
+ * The window of the editor, from TextInputState. A window that is gone or
475
+ * no longer focused cancels the insertion; it is never activated for it.
476
+ *
477
+ * @generated from field: uint64 window_id = 3;
478
+ */
479
+ windowId: bigint;
480
+ /**
481
+ * TextInputState.input_context_id of the editor.
482
+ *
483
+ * @generated from field: string input_context_id = 4;
484
+ */
485
+ inputContextId: string;
486
+ /**
487
+ * TextInputState.focus_serial when the composition began. Checked for
488
+ * INSERT_FROM_COMPOSITION only.
489
+ *
490
+ * @generated from field: uint64 focus_serial = 5;
491
+ */
492
+ focusSerial: bigint;
493
+ /**
494
+ * What the insertion is.
495
+ *
496
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.InputType input_type = 6;
497
+ */
498
+ inputType: InputType;
499
+ };
500
+ /**
501
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.InsertText.
502
+ * Use `create(InsertTextSchema)` to create a new message.
503
+ */
504
+ export declare const InsertTextSchema: GenMessage<InsertText>;
505
+ /**
506
+ * A step of a composition of the participant's input method (W3C UI Events
507
+ * CompositionEvent; EditContext). Sent only while
508
+ * TextInputState.composition_supported is set.
509
+ *
510
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.Composition
511
+ */
512
+ export type Composition = Message<"leaflow.fleet.virtualdesktop.input.v1.Composition"> & {
513
+ /**
514
+ * The position in the input order.
515
+ *
516
+ * @generated from field: uint64 input_seq = 1;
517
+ */
518
+ inputSeq: bigint;
519
+ /**
520
+ * The window of the editor.
521
+ *
522
+ * @generated from field: uint64 window_id = 2;
523
+ */
524
+ windowId: bigint;
525
+ /**
526
+ * TextInputState.input_context_id of the editor.
527
+ *
528
+ * @generated from field: string input_context_id = 3;
529
+ */
530
+ inputContextId: string;
531
+ /**
532
+ * TextInputState.focus_serial when the composition began.
533
+ *
534
+ * @generated from field: uint64 focus_serial = 4;
535
+ */
536
+ focusSerial: bigint;
537
+ /**
538
+ * Window.resize_counter when the composition began.
539
+ *
540
+ * @generated from field: uint64 resize_counter = 5;
541
+ */
542
+ resizeCounter: bigint;
543
+ /**
544
+ * Chosen by the participant at BEGIN, unique on the connection; the later
545
+ * phases repeat it.
546
+ *
547
+ * @generated from field: uint64 composition_id = 6;
548
+ */
549
+ compositionId: bigint;
550
+ /**
551
+ * The step.
552
+ *
553
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.CompositionPhase phase = 7;
554
+ */
555
+ phase: CompositionPhase;
556
+ /**
557
+ * UPDATE and COMMIT: the preedit or committed text, UTF-8, at most 64 KiB.
558
+ * May be empty to end an empty composition. Empty for the other phases.
559
+ *
560
+ * @generated from field: string text = 8;
561
+ */
562
+ text: string;
563
+ /**
564
+ * UPDATE and COMMIT: the start of the preedit selection, in UTF-16 code
565
+ * units as EditContext counts them, on a code point boundary. 0 for the
566
+ * other phases.
567
+ *
568
+ * @generated from field: uint32 selection_start = 9;
569
+ */
570
+ selectionStart: number;
571
+ /**
572
+ * The end of the preedit selection, not before selection_start.
573
+ *
574
+ * @generated from field: uint32 selection_end = 10;
575
+ */
576
+ selectionEnd: number;
577
+ /**
578
+ * KEY only: the key.
579
+ *
580
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.CompositionKey key = 11;
581
+ */
582
+ key?: CompositionKey | undefined;
583
+ };
584
+ /**
585
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.Composition.
586
+ * Use `create(CompositionSchema)` to create a new message.
587
+ */
588
+ export declare const CompositionSchema: GenMessage<Composition>;
589
+ /**
590
+ * A real key consumed while composing. Never made up from text.
591
+ *
592
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.CompositionKey
593
+ */
594
+ export type CompositionKey = Message<"leaflow.fleet.virtualdesktop.input.v1.CompositionKey"> & {
595
+ /**
596
+ * A press or a release.
597
+ *
598
+ * @generated from field: bool pressed = 1;
599
+ */
600
+ pressed: boolean;
601
+ /**
602
+ * The W3C UI Events KeyboardEvent code value of the actual event, at most
603
+ * 64 bytes. A key without a code is not sent.
604
+ *
605
+ * @generated from field: string code = 2;
606
+ */
607
+ code: string;
608
+ /**
609
+ * The lock keys, as in KeyEvent.
610
+ *
611
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.LockKeyState lock_key_state = 3;
612
+ */
613
+ lockKeyState?: LockKeyState | undefined;
614
+ };
615
+ /**
616
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.CompositionKey.
617
+ * Use `create(CompositionKeySchema)` to create a new message.
618
+ */
619
+ export declare const CompositionKeySchema: GenMessage<CompositionKey>;
620
+ /**
621
+ * The session dropped a KeyEvent, PointerButton or PointerWheel. Its
622
+ * google.rpc.ErrorInfo reason is one of:
623
+ * CLIPBOARD_INPUT_DEPENDENCY_FAILED the clipboard content it named was not
624
+ * in place in time;
625
+ * INPUT_QUEUE_FULL too much input waited to be applied.
626
+ *
627
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.InputError
628
+ */
629
+ export type InputError = Message<"leaflow.fleet.virtualdesktop.input.v1.InputError"> & {
630
+ /**
631
+ * input_seq of the dropped input.
632
+ *
633
+ * @generated from field: uint64 input_seq = 1;
634
+ */
635
+ inputSeq: bigint;
636
+ /**
637
+ * Its window.
638
+ *
639
+ * @generated from field: uint64 window_id = 2;
640
+ */
641
+ windowId: bigint;
642
+ /**
643
+ * Why.
644
+ *
645
+ * @generated from field: google.rpc.Status error = 3;
646
+ */
647
+ error?: Status | undefined;
648
+ };
649
+ /**
650
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.InputError.
651
+ * Use `create(InputErrorSchema)` to create a new message.
652
+ */
653
+ export declare const InputErrorSchema: GenMessage<InputError>;
654
+ /**
655
+ * The session dropped an InsertText or a Composition. Its
656
+ * google.rpc.ErrorInfo reason is one of:
657
+ * TEXT_INPUT_CONTEXT_CHANGED the editor of the text changed;
658
+ * TEXT_INPUT_NOT_DELIVERED the text could not be handed over;
659
+ * TEXT_INPUT_UNCONFIRMED the application did not confirm the text
660
+ * (see paused);
661
+ * NATIVE_COMPOSITION_CANCELLED the native input context ended the
662
+ * composition.
663
+ *
664
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.TextInputError
665
+ */
666
+ export type TextInputError = Message<"leaflow.fleet.virtualdesktop.input.v1.TextInputError"> & {
667
+ /**
668
+ * input_seq of the dropped input.
669
+ *
670
+ * @generated from field: uint64 input_seq = 1;
671
+ */
672
+ inputSeq: bigint;
673
+ /**
674
+ * Its window.
675
+ *
676
+ * @generated from field: uint64 window_id = 2;
677
+ */
678
+ windowId: bigint;
679
+ /**
680
+ * The editor it was bound to, as when it was sent.
681
+ *
682
+ * @generated from field: string input_context_id = 3;
683
+ */
684
+ inputContextId: string;
685
+ /**
686
+ * Its focus_serial, as when it was sent.
687
+ *
688
+ * @generated from field: uint64 focus_serial = 4;
689
+ */
690
+ focusSerial: bigint;
691
+ /**
692
+ * The composition cancelled with it. 0: none. The participant ends only this
693
+ * composition; new ones may begin in the same editor.
694
+ *
695
+ * @generated from field: uint64 composition_id = 5;
696
+ */
697
+ compositionId: bigint;
698
+ /**
699
+ * Text input of this participant is paused: the session dropped text whose
700
+ * delivery the application did not confirm, without replaying it. Pointer,
701
+ * key and window input go on. Text is accepted again once a TextInputState
702
+ * names an editor with a larger focus_serial.
703
+ *
704
+ * @generated from field: bool paused = 6;
705
+ */
706
+ paused: boolean;
707
+ /**
708
+ * Why.
709
+ *
710
+ * @generated from field: google.rpc.Status error = 7;
711
+ */
712
+ error?: Status | undefined;
713
+ };
714
+ /**
715
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.TextInputError.
716
+ * Use `create(TextInputErrorSchema)` to create a new message.
717
+ */
718
+ export declare const TextInputErrorSchema: GenMessage<TextInputError>;
719
+ /**
720
+ * A point for input through calls.
721
+ *
722
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.Point
723
+ */
724
+ export type Point = Message<"leaflow.fleet.virtualdesktop.input.v1.Point"> & {
725
+ /**
726
+ * The window the point is relative to. 0: canvas coordinates; the input
727
+ * goes to the window shown there.
728
+ *
729
+ * @generated from field: uint64 window_id = 1;
730
+ */
731
+ windowId: bigint;
732
+ /**
733
+ * The point, within the window's client area.
734
+ *
735
+ * @generated from field: sint32 x = 2;
736
+ */
737
+ x: number;
738
+ /**
739
+ * See x.
740
+ *
741
+ * @generated from field: sint32 y = 3;
742
+ */
743
+ y: number;
744
+ /**
745
+ * Window.resize_counter the caller saw, such as in a capture. When the
746
+ * window's size changed since, the call fails with FAILED_PRECONDITION and
747
+ * reason WINDOW_RESIZED, before anything happens. 0: not checked.
748
+ *
749
+ * @generated from field: uint64 resize_counter = 4;
750
+ */
751
+ resizeCounter: bigint;
752
+ };
753
+ /**
754
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.Point.
755
+ * Use `create(PointSchema)` to create a new message.
756
+ */
757
+ export declare const PointSchema: GenMessage<Point>;
758
+ /**
759
+ * The request of Click.
760
+ *
761
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.ClickRequest
762
+ */
763
+ export type ClickRequest = Message<"leaflow.fleet.virtualdesktop.input.v1.ClickRequest"> & {
764
+ /**
765
+ * Where.
766
+ *
767
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.Point point = 1;
768
+ */
769
+ point?: Point | undefined;
770
+ /**
771
+ * The X button number, as in PointerButton. 0: 1.
772
+ *
773
+ * @generated from field: uint32 button = 2;
774
+ */
775
+ button: number;
776
+ /**
777
+ * Clicks in a row, 1 to 3. 0: 1.
778
+ *
779
+ * @generated from field: uint32 count = 3;
780
+ */
781
+ count: number;
782
+ /**
783
+ * Modifier keys held during the click, at most 8, such as ["Control_L"].
784
+ *
785
+ * @generated from field: repeated string modifiers = 4;
786
+ */
787
+ modifiers: string[];
788
+ };
789
+ /**
790
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.ClickRequest.
791
+ * Use `create(ClickRequestSchema)` to create a new message.
792
+ */
793
+ export declare const ClickRequestSchema: GenMessage<ClickRequest>;
794
+ /**
795
+ * The response of Click.
796
+ *
797
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.ClickResponse
798
+ */
799
+ export type ClickResponse = Message<"leaflow.fleet.virtualdesktop.input.v1.ClickResponse"> & {
800
+ /**
801
+ * The window that received the click. 0: none.
802
+ *
803
+ * @generated from field: uint64 window_id = 1;
804
+ */
805
+ windowId: bigint;
806
+ /**
807
+ * The session revision at which the click ended.
808
+ *
809
+ * @generated from field: uint64 revision = 2;
810
+ */
811
+ revision: bigint;
812
+ };
813
+ /**
814
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.ClickResponse.
815
+ * Use `create(ClickResponseSchema)` to create a new message.
816
+ */
817
+ export declare const ClickResponseSchema: GenMessage<ClickResponse>;
818
+ /**
819
+ * The request of MovePointer.
820
+ *
821
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.MovePointerRequest
822
+ */
823
+ export type MovePointerRequest = Message<"leaflow.fleet.virtualdesktop.input.v1.MovePointerRequest"> & {
824
+ /**
825
+ * Where.
826
+ *
827
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.Point point = 1;
828
+ */
829
+ point?: Point | undefined;
830
+ };
831
+ /**
832
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.MovePointerRequest.
833
+ * Use `create(MovePointerRequestSchema)` to create a new message.
834
+ */
835
+ export declare const MovePointerRequestSchema: GenMessage<MovePointerRequest>;
836
+ /**
837
+ * The response of MovePointer.
838
+ *
839
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.MovePointerResponse
840
+ */
841
+ export type MovePointerResponse = Message<"leaflow.fleet.virtualdesktop.input.v1.MovePointerResponse"> & {
842
+ /**
843
+ * The window under the pointer. 0: none.
844
+ *
845
+ * @generated from field: uint64 window_id = 1;
846
+ */
847
+ windowId: bigint;
848
+ /**
849
+ * The session revision at which the pointer arrived.
850
+ *
851
+ * @generated from field: uint64 revision = 2;
852
+ */
853
+ revision: bigint;
854
+ };
855
+ /**
856
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.MovePointerResponse.
857
+ * Use `create(MovePointerResponseSchema)` to create a new message.
858
+ */
859
+ export declare const MovePointerResponseSchema: GenMessage<MovePointerResponse>;
860
+ /**
861
+ * The request of Scroll.
862
+ *
863
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.ScrollRequest
864
+ */
865
+ export type ScrollRequest = Message<"leaflow.fleet.virtualdesktop.input.v1.ScrollRequest"> & {
866
+ /**
867
+ * Where the pointer is while scrolling.
868
+ *
869
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.Point point = 1;
870
+ */
871
+ point?: Point | undefined;
872
+ /**
873
+ * Horizontal scroll in value120 units, as PointerWheel, at most 12000
874
+ * either way; positive scrolls right.
875
+ *
876
+ * @generated from field: sint32 delta_x = 2;
877
+ */
878
+ deltaX: number;
879
+ /**
880
+ * Vertical scroll in value120 units, at most 12000 either way; positive
881
+ * scrolls down.
882
+ *
883
+ * @generated from field: sint32 delta_y = 3;
884
+ */
885
+ deltaY: number;
886
+ /**
887
+ * Modifier keys held while scrolling.
888
+ *
889
+ * @generated from field: repeated string modifiers = 4;
890
+ */
891
+ modifiers: string[];
892
+ };
893
+ /**
894
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.ScrollRequest.
895
+ * Use `create(ScrollRequestSchema)` to create a new message.
896
+ */
897
+ export declare const ScrollRequestSchema: GenMessage<ScrollRequest>;
898
+ /**
899
+ * The response of Scroll.
900
+ *
901
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.ScrollResponse
902
+ */
903
+ export type ScrollResponse = Message<"leaflow.fleet.virtualdesktop.input.v1.ScrollResponse"> & {
904
+ /**
905
+ * The window that received the scroll. 0: none.
906
+ *
907
+ * @generated from field: uint64 window_id = 1;
908
+ */
909
+ windowId: bigint;
910
+ /**
911
+ * The session revision at which the scroll ended.
912
+ *
913
+ * @generated from field: uint64 revision = 2;
914
+ */
915
+ revision: bigint;
916
+ };
917
+ /**
918
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.ScrollResponse.
919
+ * Use `create(ScrollResponseSchema)` to create a new message.
920
+ */
921
+ export declare const ScrollResponseSchema: GenMessage<ScrollResponse>;
922
+ /**
923
+ * The request of Drag.
924
+ *
925
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.DragRequest
926
+ */
927
+ export type DragRequest = Message<"leaflow.fleet.virtualdesktop.input.v1.DragRequest"> & {
928
+ /**
929
+ * Where the button goes down.
930
+ *
931
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.Point start = 1;
932
+ */
933
+ start?: Point | undefined;
934
+ /**
935
+ * Where it comes up.
936
+ *
937
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.Point end = 2;
938
+ */
939
+ end?: Point | undefined;
940
+ /**
941
+ * The X button number. 0: 1.
942
+ *
943
+ * @generated from field: uint32 button = 3;
944
+ */
945
+ button: number;
946
+ /**
947
+ * Modifier keys held during the drag.
948
+ *
949
+ * @generated from field: repeated string modifiers = 4;
950
+ */
951
+ modifiers: string[];
952
+ /**
953
+ * How long the pointer takes from start to end, at most 5 seconds. Unset:
954
+ * 350 milliseconds.
955
+ *
956
+ * @generated from field: google.protobuf.Duration duration = 5;
957
+ */
958
+ duration?: Duration | undefined;
959
+ };
960
+ /**
961
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.DragRequest.
962
+ * Use `create(DragRequestSchema)` to create a new message.
963
+ */
964
+ export declare const DragRequestSchema: GenMessage<DragRequest>;
965
+ /**
966
+ * The response of Drag.
967
+ *
968
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.DragResponse
969
+ */
970
+ export type DragResponse = Message<"leaflow.fleet.virtualdesktop.input.v1.DragResponse"> & {
971
+ /**
972
+ * The window under the end point. 0: none.
973
+ *
974
+ * @generated from field: uint64 window_id = 1;
975
+ */
976
+ windowId: bigint;
977
+ /**
978
+ * The session revision at which the button came up.
979
+ *
980
+ * @generated from field: uint64 revision = 2;
981
+ */
982
+ revision: bigint;
983
+ };
984
+ /**
985
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.DragResponse.
986
+ * Use `create(DragResponseSchema)` to create a new message.
987
+ */
988
+ export declare const DragResponseSchema: GenMessage<DragResponse>;
989
+ /**
990
+ * The request of PressKeys.
991
+ *
992
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.PressKeysRequest
993
+ */
994
+ export type PressKeysRequest = Message<"leaflow.fleet.virtualdesktop.input.v1.PressKeysRequest"> & {
995
+ /**
996
+ * The keys, 1 to 8, pressed in this order and released in reverse.
997
+ *
998
+ * @generated from field: repeated string keys = 1;
999
+ */
1000
+ keys: string[];
1001
+ /**
1002
+ * The window to activate first. 0: the active window.
1003
+ *
1004
+ * @generated from field: uint64 window_id = 2;
1005
+ */
1006
+ windowId: bigint;
1007
+ };
1008
+ /**
1009
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.PressKeysRequest.
1010
+ * Use `create(PressKeysRequestSchema)` to create a new message.
1011
+ */
1012
+ export declare const PressKeysRequestSchema: GenMessage<PressKeysRequest>;
1013
+ /**
1014
+ * The response of PressKeys.
1015
+ *
1016
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.PressKeysResponse
1017
+ */
1018
+ export type PressKeysResponse = Message<"leaflow.fleet.virtualdesktop.input.v1.PressKeysResponse"> & {
1019
+ /**
1020
+ * The window that received the keys. 0: none.
1021
+ *
1022
+ * @generated from field: uint64 window_id = 1;
1023
+ */
1024
+ windowId: bigint;
1025
+ /**
1026
+ * The session revision at which the last key came up.
1027
+ *
1028
+ * @generated from field: uint64 revision = 2;
1029
+ */
1030
+ revision: bigint;
1031
+ };
1032
+ /**
1033
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.PressKeysResponse.
1034
+ * Use `create(PressKeysResponseSchema)` to create a new message.
1035
+ */
1036
+ export declare const PressKeysResponseSchema: GenMessage<PressKeysResponse>;
1037
+ /**
1038
+ * The request of TypeText.
1039
+ *
1040
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.TypeTextRequest
1041
+ */
1042
+ export type TypeTextRequest = Message<"leaflow.fleet.virtualdesktop.input.v1.TypeTextRequest"> & {
1043
+ /**
1044
+ * The text, at most 16384 characters. Not empty.
1045
+ *
1046
+ * @generated from field: string text = 1;
1047
+ */
1048
+ text: string;
1049
+ };
1050
+ /**
1051
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.TypeTextRequest.
1052
+ * Use `create(TypeTextRequestSchema)` to create a new message.
1053
+ */
1054
+ export declare const TypeTextRequestSchema: GenMessage<TypeTextRequest>;
1055
+ /**
1056
+ * The response of TypeText.
1057
+ *
1058
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.TypeTextResponse
1059
+ */
1060
+ export type TypeTextResponse = Message<"leaflow.fleet.virtualdesktop.input.v1.TypeTextResponse"> & {
1061
+ /**
1062
+ * The window of the editor that received it. 0: none.
1063
+ *
1064
+ * @generated from field: uint64 window_id = 1;
1065
+ */
1066
+ windowId: bigint;
1067
+ /**
1068
+ * The session revision at which the text was typed.
1069
+ *
1070
+ * @generated from field: uint64 revision = 2;
1071
+ */
1072
+ revision: bigint;
1073
+ };
1074
+ /**
1075
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.TypeTextResponse.
1076
+ * Use `create(TypeTextResponseSchema)` to create a new message.
1077
+ */
1078
+ export declare const TypeTextResponseSchema: GenMessage<TypeTextResponse>;
1079
+ /**
1080
+ * The request of DispatchPointerButton.
1081
+ *
1082
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.DispatchPointerButtonRequest
1083
+ */
1084
+ export type DispatchPointerButtonRequest = Message<"leaflow.fleet.virtualdesktop.input.v1.DispatchPointerButtonRequest"> & {
1085
+ /**
1086
+ * Where. The pointer moves there first.
1087
+ *
1088
+ * @generated from field: leaflow.fleet.virtualdesktop.input.v1.Point point = 1;
1089
+ */
1090
+ point?: Point | undefined;
1091
+ /**
1092
+ * The X button number, as in PointerButton.
1093
+ *
1094
+ * @generated from field: uint32 button = 2;
1095
+ */
1096
+ button: number;
1097
+ /**
1098
+ * A press or a release.
1099
+ *
1100
+ * @generated from field: bool pressed = 3;
1101
+ */
1102
+ pressed: boolean;
1103
+ };
1104
+ /**
1105
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.DispatchPointerButtonRequest.
1106
+ * Use `create(DispatchPointerButtonRequestSchema)` to create a new message.
1107
+ */
1108
+ export declare const DispatchPointerButtonRequestSchema: GenMessage<DispatchPointerButtonRequest>;
1109
+ /**
1110
+ * The response of DispatchPointerButton.
1111
+ *
1112
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.DispatchPointerButtonResponse
1113
+ */
1114
+ export type DispatchPointerButtonResponse = Message<"leaflow.fleet.virtualdesktop.input.v1.DispatchPointerButtonResponse"> & {
1115
+ /**
1116
+ * The window that received it. 0: none.
1117
+ *
1118
+ * @generated from field: uint64 window_id = 1;
1119
+ */
1120
+ windowId: bigint;
1121
+ /**
1122
+ * The session revision at which it was injected.
1123
+ *
1124
+ * @generated from field: uint64 revision = 2;
1125
+ */
1126
+ revision: bigint;
1127
+ };
1128
+ /**
1129
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.DispatchPointerButtonResponse.
1130
+ * Use `create(DispatchPointerButtonResponseSchema)` to create a new message.
1131
+ */
1132
+ export declare const DispatchPointerButtonResponseSchema: GenMessage<DispatchPointerButtonResponse>;
1133
+ /**
1134
+ * The request of DispatchKey.
1135
+ *
1136
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.DispatchKeyRequest
1137
+ */
1138
+ export type DispatchKeyRequest = Message<"leaflow.fleet.virtualdesktop.input.v1.DispatchKeyRequest"> & {
1139
+ /**
1140
+ * The key.
1141
+ *
1142
+ * @generated from field: string key = 1;
1143
+ */
1144
+ key: string;
1145
+ /**
1146
+ * A press or a release.
1147
+ *
1148
+ * @generated from field: bool pressed = 2;
1149
+ */
1150
+ pressed: boolean;
1151
+ };
1152
+ /**
1153
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.DispatchKeyRequest.
1154
+ * Use `create(DispatchKeyRequestSchema)` to create a new message.
1155
+ */
1156
+ export declare const DispatchKeyRequestSchema: GenMessage<DispatchKeyRequest>;
1157
+ /**
1158
+ * The response of DispatchKey.
1159
+ *
1160
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.DispatchKeyResponse
1161
+ */
1162
+ export type DispatchKeyResponse = Message<"leaflow.fleet.virtualdesktop.input.v1.DispatchKeyResponse"> & {
1163
+ /**
1164
+ * The window with the X focus that received it. 0: none.
1165
+ *
1166
+ * @generated from field: uint64 window_id = 1;
1167
+ */
1168
+ windowId: bigint;
1169
+ /**
1170
+ * The session revision at which it was injected.
1171
+ *
1172
+ * @generated from field: uint64 revision = 2;
1173
+ */
1174
+ revision: bigint;
1175
+ };
1176
+ /**
1177
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.DispatchKeyResponse.
1178
+ * Use `create(DispatchKeyResponseSchema)` to create a new message.
1179
+ */
1180
+ export declare const DispatchKeyResponseSchema: GenMessage<DispatchKeyResponse>;
1181
+ /**
1182
+ * The request of GetPointerPosition.
1183
+ *
1184
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.GetPointerPositionRequest
1185
+ */
1186
+ export type GetPointerPositionRequest = Message<"leaflow.fleet.virtualdesktop.input.v1.GetPointerPositionRequest"> & {};
1187
+ /**
1188
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.GetPointerPositionRequest.
1189
+ * Use `create(GetPointerPositionRequestSchema)` to create a new message.
1190
+ */
1191
+ export declare const GetPointerPositionRequestSchema: GenMessage<GetPointerPositionRequest>;
1192
+ /**
1193
+ * The response of GetPointerPosition.
1194
+ *
1195
+ * @generated from message leaflow.fleet.virtualdesktop.input.v1.GetPointerPositionResponse
1196
+ */
1197
+ export type GetPointerPositionResponse = Message<"leaflow.fleet.virtualdesktop.input.v1.GetPointerPositionResponse"> & {
1198
+ /**
1199
+ * The pointer, in canvas coordinates.
1200
+ *
1201
+ * @generated from field: sint32 x = 1;
1202
+ */
1203
+ x: number;
1204
+ /**
1205
+ * See x.
1206
+ *
1207
+ * @generated from field: sint32 y = 2;
1208
+ */
1209
+ y: number;
1210
+ /**
1211
+ * The window under the pointer. 0: none.
1212
+ *
1213
+ * @generated from field: uint64 window_id = 3;
1214
+ */
1215
+ windowId: bigint;
1216
+ };
1217
+ /**
1218
+ * Describes the message leaflow.fleet.virtualdesktop.input.v1.GetPointerPositionResponse.
1219
+ * Use `create(GetPointerPositionResponseSchema)` to create a new message.
1220
+ */
1221
+ export declare const GetPointerPositionResponseSchema: GenMessage<GetPointerPositionResponse>;
1222
+ /**
1223
+ * Where a caret rectangle came from.
1224
+ *
1225
+ * @generated from enum leaflow.fleet.virtualdesktop.input.v1.CursorSource
1226
+ */
1227
+ export declare enum CursorSource {
1228
+ /**
1229
+ * @generated from enum value: CURSOR_SOURCE_UNSPECIFIED = 0;
1230
+ */
1231
+ UNSPECIFIED = 0,
1232
+ /**
1233
+ * The native input context reported it, such as by IBus
1234
+ * SetCursorLocation.
1235
+ *
1236
+ * @generated from enum value: CURSOR_SOURCE_INPUT_CONTEXT = 1;
1237
+ */
1238
+ INPUT_CONTEXT = 1,
1239
+ /**
1240
+ * An empty accessibility text range at the insertion point.
1241
+ *
1242
+ * @generated from enum value: CURSOR_SOURCE_TEXT_RANGE = 2;
1243
+ */
1244
+ TEXT_RANGE = 2,
1245
+ /**
1246
+ * The bounds of the character boundary at the accessibility caret offset.
1247
+ * The extent of the preceding character never stands in for it.
1248
+ *
1249
+ * @generated from enum value: CURSOR_SOURCE_CHARACTER_BOUNDARY = 3;
1250
+ */
1251
+ CHARACTER_BOUNDARY = 3
1252
+ }
1253
+ /**
1254
+ * Describes the enum leaflow.fleet.virtualdesktop.input.v1.CursorSource.
1255
+ */
1256
+ export declare const CursorSourceSchema: GenEnum<CursorSource>;
1257
+ /**
1258
+ * What an insertion is (W3C Input Events inputType).
1259
+ *
1260
+ * @generated from enum leaflow.fleet.virtualdesktop.input.v1.InputType
1261
+ */
1262
+ export declare enum InputType {
1263
+ /**
1264
+ * @generated from enum value: INPUT_TYPE_UNSPECIFIED = 0;
1265
+ */
1266
+ UNSPECIFIED = 0,
1267
+ /**
1268
+ * Ordinary text ("insertText"), such as from a virtual keyboard. It goes to
1269
+ * the editor focused once the input before it has been applied.
1270
+ *
1271
+ * @generated from enum value: INPUT_TYPE_INSERT_TEXT = 1;
1272
+ */
1273
+ INSERT_TEXT = 1,
1274
+ /**
1275
+ * The result of a composition ("insertFromComposition"). It goes only to
1276
+ * the editor the composition began in, and is cancelled when that editor
1277
+ * lost focus since.
1278
+ *
1279
+ * @generated from enum value: INPUT_TYPE_INSERT_FROM_COMPOSITION = 2;
1280
+ */
1281
+ INSERT_FROM_COMPOSITION = 2
1282
+ }
1283
+ /**
1284
+ * Describes the enum leaflow.fleet.virtualdesktop.input.v1.InputType.
1285
+ */
1286
+ export declare const InputTypeSchema: GenEnum<InputType>;
1287
+ /**
1288
+ * A step of a composition.
1289
+ *
1290
+ * @generated from enum leaflow.fleet.virtualdesktop.input.v1.CompositionPhase
1291
+ */
1292
+ export declare enum CompositionPhase {
1293
+ /**
1294
+ * @generated from enum value: COMPOSITION_PHASE_UNSPECIFIED = 0;
1295
+ */
1296
+ UNSPECIFIED = 0,
1297
+ /**
1298
+ * A composition begins ("compositionstart").
1299
+ *
1300
+ * @generated from enum value: COMPOSITION_PHASE_BEGIN = 1;
1301
+ */
1302
+ BEGIN = 1,
1303
+ /**
1304
+ * The preedit text changed ("compositionupdate").
1305
+ *
1306
+ * @generated from enum value: COMPOSITION_PHASE_UPDATE = 2;
1307
+ */
1308
+ UPDATE = 2,
1309
+ /**
1310
+ * A real key the input method consumed while composing. The session hands
1311
+ * it to the editor's native input context and waits until that context
1312
+ * consumed it.
1313
+ *
1314
+ * @generated from enum value: COMPOSITION_PHASE_KEY = 3;
1315
+ */
1316
+ KEY = 3,
1317
+ /**
1318
+ * The composition ended with text ("compositionend").
1319
+ *
1320
+ * @generated from enum value: COMPOSITION_PHASE_COMMIT = 4;
1321
+ */
1322
+ COMMIT = 4,
1323
+ /**
1324
+ * The composition was abandoned.
1325
+ *
1326
+ * @generated from enum value: COMPOSITION_PHASE_CANCEL = 5;
1327
+ */
1328
+ CANCEL = 5
1329
+ }
1330
+ /**
1331
+ * Describes the enum leaflow.fleet.virtualdesktop.input.v1.CompositionPhase.
1332
+ */
1333
+ export declare const CompositionPhaseSchema: GenEnum<CompositionPhase>;
1334
+ /**
1335
+ * Input through calls. Gestures run in the session as a whole, with the timing
1336
+ * of a person, so that double clicks, drags and key chords work whatever the
1337
+ * network delay (after the Chrome DevTools Protocol Input domain). Keys are
1338
+ * named as X keysym names (XStringToKeysym), such as "Return", "Control_L",
1339
+ * "F13" or "U20AC", or given as a single character, such as "/"; an unknown
1340
+ * name fails with INVALID_ARGUMENT and reason UNKNOWN_KEYSYM (metadata
1341
+ * "keysym"). Every call follows the rules for operation calls
1342
+ * (leaflow.fleet.virtualdesktop.lease.v1) and returns the session revision at
1343
+ * which it took effect.
1344
+ *
1345
+ * What a gesture presses is released when its call ends, however it ends. Keys
1346
+ * and buttons pressed with DispatchKey and DispatchPointerButton stay down
1347
+ * until released, until the participant leaves or until another participant
1348
+ * takes the input lease. A press of a pointer button brings the window it goes
1349
+ * to to the front, as a person's click does.
1350
+ *
1351
+ * Besides the refusals of those rules, calls fail with:
1352
+ * - NOT_FOUND and reason WINDOW_NOT_FOUND for a window that is gone
1353
+ * (metadata "windowId");
1354
+ * - FAILED_PRECONDITION and reason WINDOW_HIDDEN for a minimized window;
1355
+ * - FAILED_PRECONDITION and reason WINDOW_RESIZED, see Point;
1356
+ * - INVALID_ARGUMENT and reason OUT_OF_BOUNDS for a point outside its
1357
+ * window or the canvas;
1358
+ * - FAILED_PRECONDITION and reason WINDOW_NOT_ACTIVATED when the window
1359
+ * could not be brought to the front or given the keyboard focus;
1360
+ * - UNAVAILABLE and reason INPUT_UNAVAILABLE when the window system did not
1361
+ * apply the input in time;
1362
+ * - for TypeText, FAILED_PRECONDITION and reason TEXT_INPUT_NOT_DELIVERED
1363
+ * when the text was not handed to the editor, or TEXT_INPUT_UNCONFIRMED
1364
+ * when the application did not confirm it (EXECUTION_STATE_UNKNOWN).
1365
+ *
1366
+ * @generated from service leaflow.fleet.virtualdesktop.input.v1.InputService
1367
+ */
1368
+ export declare const InputService: GenService<{
1369
+ /**
1370
+ * Clicks a point, once or up to three times in a row.
1371
+ *
1372
+ * @generated from rpc leaflow.fleet.virtualdesktop.input.v1.InputService.Click
1373
+ */
1374
+ click: {
1375
+ methodKind: "unary";
1376
+ input: typeof ClickRequestSchema;
1377
+ output: typeof ClickResponseSchema;
1378
+ };
1379
+ /**
1380
+ * Moves the pointer to a point.
1381
+ *
1382
+ * @generated from rpc leaflow.fleet.virtualdesktop.input.v1.InputService.MovePointer
1383
+ */
1384
+ movePointer: {
1385
+ methodKind: "unary";
1386
+ input: typeof MovePointerRequestSchema;
1387
+ output: typeof MovePointerResponseSchema;
1388
+ };
1389
+ /**
1390
+ * Scrolls at a point.
1391
+ *
1392
+ * @generated from rpc leaflow.fleet.virtualdesktop.input.v1.InputService.Scroll
1393
+ */
1394
+ scroll: {
1395
+ methodKind: "unary";
1396
+ input: typeof ScrollRequestSchema;
1397
+ output: typeof ScrollResponseSchema;
1398
+ };
1399
+ /**
1400
+ * Presses a button at one point, moves to another and releases it there.
1401
+ *
1402
+ * @generated from rpc leaflow.fleet.virtualdesktop.input.v1.InputService.Drag
1403
+ */
1404
+ drag: {
1405
+ methodKind: "unary";
1406
+ input: typeof DragRequestSchema;
1407
+ output: typeof DragResponseSchema;
1408
+ };
1409
+ /**
1410
+ * Presses keys in order and releases them in reverse, such as
1411
+ * ["Control_L", "s"].
1412
+ *
1413
+ * @generated from rpc leaflow.fleet.virtualdesktop.input.v1.InputService.PressKeys
1414
+ */
1415
+ pressKeys: {
1416
+ methodKind: "unary";
1417
+ input: typeof PressKeysRequestSchema;
1418
+ output: typeof PressKeysResponseSchema;
1419
+ };
1420
+ /**
1421
+ * Types text into the focused editor the way a participant's InsertText goes:
1422
+ * through its input method context when it has one, else its accessible
1423
+ * text interface, and into a terminal as keys.
1424
+ *
1425
+ * @generated from rpc leaflow.fleet.virtualdesktop.input.v1.InputService.TypeText
1426
+ */
1427
+ typeText: {
1428
+ methodKind: "unary";
1429
+ input: typeof TypeTextRequestSchema;
1430
+ output: typeof TypeTextResponseSchema;
1431
+ };
1432
+ /**
1433
+ * Presses or releases a pointer button, for gestures the calls above do
1434
+ * not cover, such as a long press.
1435
+ *
1436
+ * @generated from rpc leaflow.fleet.virtualdesktop.input.v1.InputService.DispatchPointerButton
1437
+ */
1438
+ dispatchPointerButton: {
1439
+ methodKind: "unary";
1440
+ input: typeof DispatchPointerButtonRequestSchema;
1441
+ output: typeof DispatchPointerButtonResponseSchema;
1442
+ };
1443
+ /**
1444
+ * Presses or releases a key, for gestures the calls above do not cover.
1445
+ *
1446
+ * @generated from rpc leaflow.fleet.virtualdesktop.input.v1.InputService.DispatchKey
1447
+ */
1448
+ dispatchKey: {
1449
+ methodKind: "unary";
1450
+ input: typeof DispatchKeyRequestSchema;
1451
+ output: typeof DispatchKeyResponseSchema;
1452
+ };
1453
+ /**
1454
+ * Returns where the pointer is (X11 QueryPointer).
1455
+ *
1456
+ * @generated from rpc leaflow.fleet.virtualdesktop.input.v1.InputService.GetPointerPosition
1457
+ */
1458
+ getPointerPosition: {
1459
+ methodKind: "unary";
1460
+ input: typeof GetPointerPositionRequestSchema;
1461
+ output: typeof GetPointerPositionResponseSchema;
1462
+ };
1463
+ }>;