@leaflow/sdk 0.0.0-dev.451.gfd4baf5 → 0.0.0-dev.455.ge99314c

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 +1717 -0
  3. package/dist/fleet/v1/generated/functions.js +1662 -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 +1179 -0
  7. package/dist/fleet/v1/generated/schemas.zod.js +1298 -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 +898 -0
  227. package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.js +309 -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,888 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Icon } from "../../display/v1/display_pb.js";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file leaflow/fleet/virtualdesktop/application/v1/application.proto.
7
+ */
8
+ export declare const file_leaflow_fleet_virtualdesktop_application_v1_application: GenFile;
9
+ /**
10
+ * A message from the session on the application channel.
11
+ *
12
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.ServerMessage
13
+ */
14
+ export type ServerMessage = Message<"leaflow.fleet.virtualdesktop.application.v1.ServerMessage"> & {
15
+ /**
16
+ * The message.
17
+ *
18
+ * @generated from oneof leaflow.fleet.virtualdesktop.application.v1.ServerMessage.message
19
+ */
20
+ message: {
21
+ /**
22
+ * The applications menu, in full.
23
+ *
24
+ * @generated from field: leaflow.fleet.virtualdesktop.application.v1.ApplicationMenu application_menu = 1;
25
+ */
26
+ value: ApplicationMenu;
27
+ case: "applicationMenu";
28
+ } | {
29
+ /**
30
+ * A desktop icon as it is now, in full: new when the participant does not
31
+ * know its uri, otherwise replacing what the participant had.
32
+ *
33
+ * @generated from field: leaflow.fleet.virtualdesktop.application.v1.DesktopIcon desktop_icon = 2;
34
+ */
35
+ value: DesktopIcon;
36
+ case: "desktopIcon";
37
+ } | {
38
+ /**
39
+ * A desktop icon is gone.
40
+ *
41
+ * @generated from field: leaflow.fleet.virtualdesktop.application.v1.DesktopIconRemoved desktop_icon_removed = 3;
42
+ */
43
+ value: DesktopIconRemoved;
44
+ case: "desktopIconRemoved";
45
+ } | {
46
+ /**
47
+ * Ends the snapshot.
48
+ *
49
+ * @generated from field: leaflow.fleet.virtualdesktop.application.v1.SnapshotEnd snapshot_end = 4;
50
+ */
51
+ value: SnapshotEnd;
52
+ case: "snapshotEnd";
53
+ } | {
54
+ case: undefined;
55
+ value?: undefined;
56
+ };
57
+ };
58
+ /**
59
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.ServerMessage.
60
+ * Use `create(ServerMessageSchema)` to create a new message.
61
+ */
62
+ export declare const ServerMessageSchema: GenMessage<ServerMessage>;
63
+ /**
64
+ * The applications menu, sent in full whenever it changes. The session
65
+ * watches the applications, menus and desktop-directories directories and
66
+ * sends at most one menu per 500 milliseconds. Applications appear by desktop
67
+ * file ID; their details come from ListApplications.
68
+ *
69
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.ApplicationMenu
70
+ */
71
+ export type ApplicationMenu = Message<"leaflow.fleet.virtualdesktop.application.v1.ApplicationMenu"> & {
72
+ /**
73
+ * Grows with every change of the menu or of any application.
74
+ *
75
+ * @generated from field: uint64 revision = 1;
76
+ */
77
+ revision: bigint;
78
+ /**
79
+ * The root menu. Without a menu definition, an unnamed menu of every
80
+ * application menus show (not NoDisplay), by desktop file ID.
81
+ *
82
+ * @generated from field: leaflow.fleet.virtualdesktop.application.v1.Menu root = 2;
83
+ */
84
+ root?: Menu | undefined;
85
+ };
86
+ /**
87
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.ApplicationMenu.
88
+ * Use `create(ApplicationMenuSchema)` to create a new message.
89
+ */
90
+ export declare const ApplicationMenuSchema: GenMessage<ApplicationMenu>;
91
+ /**
92
+ * A menu after merging, rule evaluation and layout (Desktop Menu
93
+ * Specification <Menu>; inline submenus already inlined).
94
+ *
95
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.Menu
96
+ */
97
+ export type Menu = Message<"leaflow.fleet.virtualdesktop.application.v1.Menu"> & {
98
+ /**
99
+ * Its menu path, such as "Settings/Screensavers"; empty for the root.
100
+ * Stable across revisions.
101
+ *
102
+ * @generated from field: string menu_path = 1;
103
+ */
104
+ menuPath: string;
105
+ /**
106
+ * The Name of its directory entry, else its <Name>; empty without a menu
107
+ * definition.
108
+ *
109
+ * @generated from field: string display_name = 2;
110
+ */
111
+ displayName: string;
112
+ /**
113
+ * The Comment of its directory entry. May be empty.
114
+ *
115
+ * @generated from field: string comment = 3;
116
+ */
117
+ comment: string;
118
+ /**
119
+ * The Icon of its directory entry. Unset when none.
120
+ *
121
+ * @generated from field: leaflow.fleet.virtualdesktop.display.v1.Icon icon = 4;
122
+ */
123
+ icon?: Icon | undefined;
124
+ /**
125
+ * Its children in display order (the resolved <Layout>).
126
+ *
127
+ * @generated from field: repeated leaflow.fleet.virtualdesktop.application.v1.MenuElement elements = 5;
128
+ */
129
+ elements: MenuElement[];
130
+ };
131
+ /**
132
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.Menu.
133
+ * Use `create(MenuSchema)` to create a new message.
134
+ */
135
+ export declare const MenuSchema: GenMessage<Menu>;
136
+ /**
137
+ * One element of a menu.
138
+ *
139
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.MenuElement
140
+ */
141
+ export type MenuElement = Message<"leaflow.fleet.virtualdesktop.application.v1.MenuElement"> & {
142
+ /**
143
+ * The element.
144
+ *
145
+ * @generated from oneof leaflow.fleet.virtualdesktop.application.v1.MenuElement.element
146
+ */
147
+ element: {
148
+ /**
149
+ * A submenu (<Menuname>).
150
+ *
151
+ * @generated from field: leaflow.fleet.virtualdesktop.application.v1.Menu menu = 1;
152
+ */
153
+ value: Menu;
154
+ case: "menu";
155
+ } | {
156
+ /**
157
+ * An application (<Filename>), by desktop file ID.
158
+ *
159
+ * @generated from field: string desktop_file_id = 2;
160
+ */
161
+ value: string;
162
+ case: "desktopFileId";
163
+ } | {
164
+ /**
165
+ * A separator (<Separator>). Leading, trailing and doubled separators
166
+ * are already removed.
167
+ *
168
+ * @generated from field: leaflow.fleet.virtualdesktop.application.v1.Separator separator = 3;
169
+ */
170
+ value: Separator;
171
+ case: "separator";
172
+ } | {
173
+ case: undefined;
174
+ value?: undefined;
175
+ };
176
+ };
177
+ /**
178
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.MenuElement.
179
+ * Use `create(MenuElementSchema)` to create a new message.
180
+ */
181
+ export declare const MenuElementSchema: GenMessage<MenuElement>;
182
+ /**
183
+ * A separator.
184
+ *
185
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.Separator
186
+ */
187
+ export type Separator = Message<"leaflow.fleet.virtualdesktop.application.v1.Separator"> & {};
188
+ /**
189
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.Separator.
190
+ * Use `create(SeparatorSchema)` to create a new message.
191
+ */
192
+ export declare const SeparatorSchema: GenMessage<Separator>;
193
+ /**
194
+ * An application: a desktop entry of type Application, named by its desktop
195
+ * file ID. Entries that are Hidden or fail TryExec are not listed. OnlyShowIn
196
+ * and NotShowIn address desktop environments, which a session is not; they
197
+ * are ignored.
198
+ *
199
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.Application
200
+ */
201
+ export type Application = Message<"leaflow.fleet.virtualdesktop.application.v1.Application"> & {
202
+ /**
203
+ * Its desktop file ID, such as "org.gnome.TextEditor.desktop".
204
+ *
205
+ * @generated from field: string desktop_file_id = 1;
206
+ */
207
+ desktopFileId: string;
208
+ /**
209
+ * Its Name.
210
+ *
211
+ * @generated from field: string display_name = 2;
212
+ */
213
+ displayName: string;
214
+ /**
215
+ * Its GenericName, such as "Text Editor". May be empty.
216
+ *
217
+ * @generated from field: string generic_name = 3;
218
+ */
219
+ genericName: string;
220
+ /**
221
+ * Its Comment, used as the tooltip. May be empty.
222
+ *
223
+ * @generated from field: string comment = 4;
224
+ */
225
+ comment: string;
226
+ /**
227
+ * Its Icon in the icon theme, else "applications-other".
228
+ *
229
+ * @generated from field: leaflow.fleet.virtualdesktop.display.v1.Icon icon = 5;
230
+ */
231
+ icon?: Icon | undefined;
232
+ /**
233
+ * Its Categories, such as ["Utility", "TextEditor"].
234
+ *
235
+ * @generated from field: repeated string categories = 6;
236
+ */
237
+ categories: string[];
238
+ /**
239
+ * Its Keywords, for search.
240
+ *
241
+ * @generated from field: repeated string keywords = 7;
242
+ */
243
+ keywords: string[];
244
+ /**
245
+ * It runs in a terminal (Terminal); the session wraps it in its terminal
246
+ * emulator.
247
+ *
248
+ * @generated from field: bool terminal = 8;
249
+ */
250
+ terminal: boolean;
251
+ /**
252
+ * Its additional actions (Actions), in order.
253
+ *
254
+ * @generated from field: repeated leaflow.fleet.virtualdesktop.application.v1.ApplicationAction actions = 9;
255
+ */
256
+ actions: ApplicationAction[];
257
+ /**
258
+ * The media types it opens (MimeType), for "Open With".
259
+ *
260
+ * @generated from field: repeated string mime_types = 10;
261
+ */
262
+ mimeTypes: string[];
263
+ /**
264
+ * Menus do not show it (NoDisplay); it still opens files and names windows.
265
+ *
266
+ * @generated from field: bool no_display = 11;
267
+ */
268
+ noDisplay: boolean;
269
+ };
270
+ /**
271
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.Application.
272
+ * Use `create(ApplicationSchema)` to create a new message.
273
+ */
274
+ export declare const ApplicationSchema: GenMessage<Application>;
275
+ /**
276
+ * An additional action of an application (a Desktop Action group).
277
+ *
278
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.ApplicationAction
279
+ */
280
+ export type ApplicationAction = Message<"leaflow.fleet.virtualdesktop.application.v1.ApplicationAction"> & {
281
+ /**
282
+ * Its action identifier, such as "new-window".
283
+ *
284
+ * @generated from field: string action_id = 1;
285
+ */
286
+ actionId: string;
287
+ /**
288
+ * Its Name.
289
+ *
290
+ * @generated from field: string display_name = 2;
291
+ */
292
+ displayName: string;
293
+ /**
294
+ * Its Icon. Unset when none.
295
+ *
296
+ * @generated from field: leaflow.fleet.virtualdesktop.display.v1.Icon icon = 3;
297
+ */
298
+ icon?: Icon | undefined;
299
+ };
300
+ /**
301
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.ApplicationAction.
302
+ * Use `create(ApplicationActionSchema)` to create a new message.
303
+ */
304
+ export declare const ApplicationActionSchema: GenMessage<ApplicationAction>;
305
+ /**
306
+ * An icon on the desktop. Hidden files are not shown. Participants keep icon
307
+ * positions themselves, keyed by uri.
308
+ *
309
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.DesktopIcon
310
+ */
311
+ export type DesktopIcon = Message<"leaflow.fleet.virtualdesktop.application.v1.DesktopIcon"> & {
312
+ /**
313
+ * Identifies the icon: file:///home/<user>, file:///, trash:/// or the
314
+ * file URI of the entry (RFC 8089), percent-encoded. A rename removes the
315
+ * icon and adds another.
316
+ *
317
+ * @generated from field: string uri = 1;
318
+ */
319
+ uri: string;
320
+ /**
321
+ * What it shows. Never changes for a uri.
322
+ *
323
+ * @generated from field: leaflow.fleet.virtualdesktop.application.v1.DesktopIconType type = 2;
324
+ */
325
+ type: DesktopIconType;
326
+ /**
327
+ * Its label: the Name of a launcher, or the file name. Empty for Home, File
328
+ * System and Trash, which participants name.
329
+ *
330
+ * @generated from field: string display_name = 3;
331
+ */
332
+ displayName: string;
333
+ /**
334
+ * Its icon: "user-home", "drive-harddisk", "user-trash" or
335
+ * "user-trash-full", a launcher's Icon, or the icon of the file's media
336
+ * type with its generic fallback (Shared MIME-info).
337
+ *
338
+ * @generated from field: leaflow.fleet.virtualdesktop.display.v1.Icon icon = 4;
339
+ */
340
+ icon?: Icon | undefined;
341
+ /**
342
+ * REGULAR_FILE only: its media type, such as "inode/directory" or
343
+ * "application/x-desktop" for launchers.
344
+ *
345
+ * @generated from field: string mime_type = 5;
346
+ */
347
+ mimeType: string;
348
+ /**
349
+ * The entry is a symbolic link.
350
+ *
351
+ * @generated from field: bool symbolic_link = 6;
352
+ */
353
+ symbolicLink: boolean;
354
+ /**
355
+ * Launchers only: it is trusted, so opening it runs it without asking. A
356
+ * launcher outside XDG_DATA_DIRS needs the executable bit.
357
+ *
358
+ * @generated from field: bool trusted = 7;
359
+ */
360
+ trusted: boolean;
361
+ /**
362
+ * TRASH only: the number of items in the trash; 0 selects "user-trash".
363
+ *
364
+ * @generated from field: optional uint32 trash_item_count = 8;
365
+ */
366
+ trashItemCount?: number | undefined;
367
+ };
368
+ /**
369
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.DesktopIcon.
370
+ * Use `create(DesktopIconSchema)` to create a new message.
371
+ */
372
+ export declare const DesktopIconSchema: GenMessage<DesktopIcon>;
373
+ /**
374
+ * A desktop icon is gone.
375
+ *
376
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.DesktopIconRemoved
377
+ */
378
+ export type DesktopIconRemoved = Message<"leaflow.fleet.virtualdesktop.application.v1.DesktopIconRemoved"> & {
379
+ /**
380
+ * DesktopIcon.uri.
381
+ *
382
+ * @generated from field: string uri = 1;
383
+ */
384
+ uri: string;
385
+ };
386
+ /**
387
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.DesktopIconRemoved.
388
+ * Use `create(DesktopIconRemovedSchema)` to create a new message.
389
+ */
390
+ export declare const DesktopIconRemovedSchema: GenMessage<DesktopIconRemoved>;
391
+ /**
392
+ * Ends the snapshot.
393
+ *
394
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.SnapshotEnd
395
+ */
396
+ export type SnapshotEnd = Message<"leaflow.fleet.virtualdesktop.application.v1.SnapshotEnd"> & {};
397
+ /**
398
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.SnapshotEnd.
399
+ * Use `create(SnapshotEndSchema)` to create a new message.
400
+ */
401
+ export declare const SnapshotEndSchema: GenMessage<SnapshotEnd>;
402
+ /**
403
+ * The request of ListApplications.
404
+ *
405
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.ListApplicationsRequest
406
+ */
407
+ export type ListApplicationsRequest = Message<"leaflow.fleet.virtualdesktop.application.v1.ListApplicationsRequest"> & {
408
+ /**
409
+ * At most 500. 0: the session chooses.
410
+ *
411
+ * @generated from field: uint32 page_size = 1;
412
+ */
413
+ pageSize: number;
414
+ /**
415
+ * From the previous response. Empty for the first page. A token of an
416
+ * older revision fails with INVALID_ARGUMENT.
417
+ *
418
+ * @generated from field: string page_token = 2;
419
+ */
420
+ pageToken: string;
421
+ };
422
+ /**
423
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.ListApplicationsRequest.
424
+ * Use `create(ListApplicationsRequestSchema)` to create a new message.
425
+ */
426
+ export declare const ListApplicationsRequestSchema: GenMessage<ListApplicationsRequest>;
427
+ /**
428
+ * The response of ListApplications.
429
+ *
430
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.ListApplicationsResponse
431
+ */
432
+ export type ListApplicationsResponse = Message<"leaflow.fleet.virtualdesktop.application.v1.ListApplicationsResponse"> & {
433
+ /**
434
+ * The applications of this page, by desktop file ID.
435
+ *
436
+ * @generated from field: repeated leaflow.fleet.virtualdesktop.application.v1.Application applications = 1;
437
+ */
438
+ applications: Application[];
439
+ /**
440
+ * Empty on the last page.
441
+ *
442
+ * @generated from field: string next_page_token = 2;
443
+ */
444
+ nextPageToken: string;
445
+ /**
446
+ * ApplicationMenu.revision the page belongs to. When it changes between
447
+ * pages, the participant starts again from the first page.
448
+ *
449
+ * @generated from field: uint64 revision = 3;
450
+ */
451
+ revision: bigint;
452
+ };
453
+ /**
454
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.ListApplicationsResponse.
455
+ * Use `create(ListApplicationsResponseSchema)` to create a new message.
456
+ */
457
+ export declare const ListApplicationsResponseSchema: GenMessage<ListApplicationsResponse>;
458
+ /**
459
+ * The request of LaunchApplication.
460
+ *
461
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.LaunchApplicationRequest
462
+ */
463
+ export type LaunchApplicationRequest = Message<"leaflow.fleet.virtualdesktop.application.v1.LaunchApplicationRequest"> & {
464
+ /**
465
+ * The application. An unknown one, or one whose TryExec fails, fails with
466
+ * NOT_FOUND.
467
+ *
468
+ * @generated from field: string desktop_file_id = 1;
469
+ */
470
+ desktopFileId: string;
471
+ /**
472
+ * An ApplicationAction.action_id to run instead of the application. Empty:
473
+ * the application.
474
+ *
475
+ * @generated from field: string action_id = 2;
476
+ */
477
+ actionId: string;
478
+ /**
479
+ * Files or URLs to open (the %f, %F, %u and %U field codes). A URI that is
480
+ * not acceptable, such as a URL for an application that opens only local
481
+ * files, fails with INVALID_ARGUMENT.
482
+ *
483
+ * @generated from field: repeated string uris = 3;
484
+ */
485
+ uris: string[];
486
+ };
487
+ /**
488
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.LaunchApplicationRequest.
489
+ * Use `create(LaunchApplicationRequestSchema)` to create a new message.
490
+ */
491
+ export declare const LaunchApplicationRequestSchema: GenMessage<LaunchApplicationRequest>;
492
+ /**
493
+ * The response of LaunchApplication. When the program exits with a failure
494
+ * before showing a window the call fails with ABORTED; when no window appears
495
+ * within 30 seconds (StartupNotify) or 5 seconds (otherwise) it fails with
496
+ * DEADLINE_EXCEEDED, though the program may still be running.
497
+ *
498
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.LaunchApplicationResponse
499
+ */
500
+ export type LaunchApplicationResponse = Message<"leaflow.fleet.virtualdesktop.application.v1.LaunchApplicationResponse"> & {
501
+ /**
502
+ * The startup notification ID given to the program (DESKTOP_STARTUP_ID).
503
+ *
504
+ * @generated from field: string startup_id = 1;
505
+ */
506
+ startupId: string;
507
+ /**
508
+ * The first window of the launch. Unset when none was matched, such as when
509
+ * the program handed the request to an instance already running.
510
+ *
511
+ * @generated from field: optional uint64 window_id = 2;
512
+ */
513
+ windowId?: bigint | undefined;
514
+ /**
515
+ * The session revision at which the startup sequence ended.
516
+ *
517
+ * @generated from field: uint64 revision = 3;
518
+ */
519
+ revision: bigint;
520
+ };
521
+ /**
522
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.LaunchApplicationResponse.
523
+ * Use `create(LaunchApplicationResponseSchema)` to create a new message.
524
+ */
525
+ export declare const LaunchApplicationResponseSchema: GenMessage<LaunchApplicationResponse>;
526
+ /**
527
+ * The request of OpenUri.
528
+ *
529
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.OpenUriRequest
530
+ */
531
+ export type OpenUriRequest = Message<"leaflow.fleet.virtualdesktop.application.v1.OpenUriRequest"> & {
532
+ /**
533
+ * DesktopIcon.uri, or another file URI or trash:///. An unsupported scheme
534
+ * fails with INVALID_ARGUMENT; a missing file, or one no application
535
+ * opens, with NOT_FOUND.
536
+ *
537
+ * @generated from field: string uri = 1;
538
+ */
539
+ uri: string;
540
+ /**
541
+ * How the person answered for an untrusted launcher. A launcher that is not
542
+ * trusted fails with FAILED_PRECONDITION and reason UNTRUSTED_LAUNCHER,
543
+ * naming the launcher but not its Exec line; the participant asks its person
544
+ * and, if they agree, calls again with their answer.
545
+ *
546
+ * @generated from field: leaflow.fleet.virtualdesktop.application.v1.LauncherConfirmation launcher_confirmation = 2;
547
+ */
548
+ launcherConfirmation: LauncherConfirmation;
549
+ };
550
+ /**
551
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.OpenUriRequest.
552
+ * Use `create(OpenUriRequestSchema)` to create a new message.
553
+ */
554
+ export declare const OpenUriRequestSchema: GenMessage<OpenUriRequest>;
555
+ /**
556
+ * The response of OpenUri. It fails as LaunchApplication does.
557
+ *
558
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.OpenUriResponse
559
+ */
560
+ export type OpenUriResponse = Message<"leaflow.fleet.virtualdesktop.application.v1.OpenUriResponse"> & {
561
+ /**
562
+ * The startup notification ID of the program started to open it. Empty
563
+ * when none was started, such as when the file manager was asked over
564
+ * D-Bus.
565
+ *
566
+ * @generated from field: string startup_id = 1;
567
+ */
568
+ startupId: string;
569
+ /**
570
+ * The first window of the launch. Unset when none.
571
+ *
572
+ * @generated from field: optional uint64 window_id = 2;
573
+ */
574
+ windowId?: bigint | undefined;
575
+ /**
576
+ * The session revision at which the startup sequence ended.
577
+ *
578
+ * @generated from field: uint64 revision = 3;
579
+ */
580
+ revision: bigint;
581
+ };
582
+ /**
583
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.OpenUriResponse.
584
+ * Use `create(OpenUriResponseSchema)` to create a new message.
585
+ */
586
+ export declare const OpenUriResponseSchema: GenMessage<OpenUriResponse>;
587
+ /**
588
+ * A process of the session.
589
+ *
590
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.Process
591
+ */
592
+ export type Process = Message<"leaflow.fleet.virtualdesktop.application.v1.Process"> & {
593
+ /**
594
+ * Its process ID.
595
+ *
596
+ * @generated from field: uint32 pid = 1;
597
+ */
598
+ pid: number;
599
+ /**
600
+ * Its executable name, such as "firefox" (Linux /proc/[pid]/comm).
601
+ *
602
+ * @generated from field: string name = 2;
603
+ */
604
+ name: string;
605
+ /**
606
+ * The desktop file ID of its application. Empty when unknown.
607
+ *
608
+ * @generated from field: string desktop_file_id = 3;
609
+ */
610
+ desktopFileId: string;
611
+ /**
612
+ * The windows it owns, in the ids of the window channel.
613
+ *
614
+ * @generated from field: repeated uint64 window_ids = 4;
615
+ */
616
+ windowIds: bigint[];
617
+ /**
618
+ * When it started.
619
+ *
620
+ * @generated from field: google.protobuf.Timestamp started_at = 5;
621
+ */
622
+ startedAt?: Timestamp | undefined;
623
+ };
624
+ /**
625
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.Process.
626
+ * Use `create(ProcessSchema)` to create a new message.
627
+ */
628
+ export declare const ProcessSchema: GenMessage<Process>;
629
+ /**
630
+ * The request of ListProcesses.
631
+ *
632
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.ListProcessesRequest
633
+ */
634
+ export type ListProcessesRequest = Message<"leaflow.fleet.virtualdesktop.application.v1.ListProcessesRequest"> & {
635
+ /**
636
+ * At most 1000. 0: 200.
637
+ *
638
+ * @generated from field: uint32 page_size = 1;
639
+ */
640
+ pageSize: number;
641
+ /**
642
+ * From the previous response. Empty for the first page.
643
+ *
644
+ * @generated from field: string page_token = 2;
645
+ */
646
+ pageToken: string;
647
+ /**
648
+ * Lists every process of the session, not only those that own a window or
649
+ * belong to an application, such as one running only in the tray.
650
+ *
651
+ * @generated from field: bool include_all = 3;
652
+ */
653
+ includeAll: boolean;
654
+ };
655
+ /**
656
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.ListProcessesRequest.
657
+ * Use `create(ListProcessesRequestSchema)` to create a new message.
658
+ */
659
+ export declare const ListProcessesRequestSchema: GenMessage<ListProcessesRequest>;
660
+ /**
661
+ * The response of ListProcesses.
662
+ *
663
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.ListProcessesResponse
664
+ */
665
+ export type ListProcessesResponse = Message<"leaflow.fleet.virtualdesktop.application.v1.ListProcessesResponse"> & {
666
+ /**
667
+ * The processes, by pid.
668
+ *
669
+ * @generated from field: repeated leaflow.fleet.virtualdesktop.application.v1.Process processes = 1;
670
+ */
671
+ processes: Process[];
672
+ /**
673
+ * Empty on the last page.
674
+ *
675
+ * @generated from field: string next_page_token = 2;
676
+ */
677
+ nextPageToken: string;
678
+ };
679
+ /**
680
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.ListProcessesResponse.
681
+ * Use `create(ListProcessesResponseSchema)` to create a new message.
682
+ */
683
+ export declare const ListProcessesResponseSchema: GenMessage<ListProcessesResponse>;
684
+ /**
685
+ * The request of TerminateProcess.
686
+ *
687
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.TerminateProcessRequest
688
+ */
689
+ export type TerminateProcessRequest = Message<"leaflow.fleet.virtualdesktop.application.v1.TerminateProcessRequest"> & {
690
+ /**
691
+ * A process of the session. Others fail with NOT_FOUND and reason
692
+ * PROCESS_NOT_FOUND.
693
+ *
694
+ * @generated from field: uint32 pid = 1;
695
+ */
696
+ pid: number;
697
+ /**
698
+ * Kills it at once (SIGKILL) instead of asking it to end (SIGTERM).
699
+ *
700
+ * @generated from field: bool force = 2;
701
+ */
702
+ force: boolean;
703
+ };
704
+ /**
705
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.TerminateProcessRequest.
706
+ * Use `create(TerminateProcessRequestSchema)` to create a new message.
707
+ */
708
+ export declare const TerminateProcessRequestSchema: GenMessage<TerminateProcessRequest>;
709
+ /**
710
+ * The response of TerminateProcess. The process may take a while to end; its
711
+ * windows disappear from the window channel when it does.
712
+ *
713
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.TerminateProcessResponse
714
+ */
715
+ export type TerminateProcessResponse = Message<"leaflow.fleet.virtualdesktop.application.v1.TerminateProcessResponse"> & {
716
+ /**
717
+ * The session revision at which the signal was sent.
718
+ *
719
+ * @generated from field: uint64 revision = 1;
720
+ */
721
+ revision: bigint;
722
+ };
723
+ /**
724
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.TerminateProcessResponse.
725
+ * Use `create(TerminateProcessResponseSchema)` to create a new message.
726
+ */
727
+ export declare const TerminateProcessResponseSchema: GenMessage<TerminateProcessResponse>;
728
+ /**
729
+ * Allows a participant to launch applications and open URIs. Carried in the
730
+ * participant's signed authorization; without it the participant can only look.
731
+ *
732
+ * @generated from message leaflow.fleet.virtualdesktop.application.v1.ApplicationPolicy
733
+ */
734
+ export type ApplicationPolicy = Message<"leaflow.fleet.virtualdesktop.application.v1.ApplicationPolicy"> & {};
735
+ /**
736
+ * Describes the message leaflow.fleet.virtualdesktop.application.v1.ApplicationPolicy.
737
+ * Use `create(ApplicationPolicySchema)` to create a new message.
738
+ */
739
+ export declare const ApplicationPolicySchema: GenMessage<ApplicationPolicy>;
740
+ /**
741
+ * What a desktop icon shows.
742
+ *
743
+ * @generated from enum leaflow.fleet.virtualdesktop.application.v1.DesktopIconType
744
+ */
745
+ export declare enum DesktopIconType {
746
+ /**
747
+ * @generated from enum value: DESKTOP_ICON_TYPE_UNSPECIFIED = 0;
748
+ */
749
+ UNSPECIFIED = 0,
750
+ /**
751
+ * The home folder.
752
+ *
753
+ * @generated from enum value: DESKTOP_ICON_TYPE_HOME = 1;
754
+ */
755
+ HOME = 1,
756
+ /**
757
+ * The root of the file system.
758
+ *
759
+ * @generated from enum value: DESKTOP_ICON_TYPE_FILESYSTEM = 2;
760
+ */
761
+ FILESYSTEM = 2,
762
+ /**
763
+ * The trash (freedesktop Trash Specification).
764
+ *
765
+ * @generated from enum value: DESKTOP_ICON_TYPE_TRASH = 3;
766
+ */
767
+ TRASH = 3,
768
+ /**
769
+ * A removable volume. Not used yet.
770
+ *
771
+ * @generated from enum value: DESKTOP_ICON_TYPE_VOLUME = 4;
772
+ */
773
+ VOLUME = 4,
774
+ /**
775
+ * An entry of XDG_DESKTOP_DIR: a directory, a launcher or another file.
776
+ *
777
+ * @generated from enum value: DESKTOP_ICON_TYPE_REGULAR_FILE = 5;
778
+ */
779
+ REGULAR_FILE = 5
780
+ }
781
+ /**
782
+ * Describes the enum leaflow.fleet.virtualdesktop.application.v1.DesktopIconType.
783
+ */
784
+ export declare const DesktopIconTypeSchema: GenEnum<DesktopIconType>;
785
+ /**
786
+ * What a person answered when asked about an untrusted launcher, besides
787
+ * cancelling.
788
+ *
789
+ * @generated from enum leaflow.fleet.virtualdesktop.application.v1.LauncherConfirmation
790
+ */
791
+ export declare enum LauncherConfirmation {
792
+ /**
793
+ * @generated from enum value: LAUNCHER_CONFIRMATION_UNSPECIFIED = 0;
794
+ */
795
+ UNSPECIFIED = 0,
796
+ /**
797
+ * Nobody was asked; an untrusted launcher is not run.
798
+ *
799
+ * @generated from enum value: LAUNCHER_CONFIRMATION_NONE = 1;
800
+ */
801
+ NONE = 1,
802
+ /**
803
+ * Run it this once and leave it untrusted ("Launch Anyway").
804
+ *
805
+ * @generated from enum value: LAUNCHER_CONFIRMATION_LAUNCH_ANYWAY = 2;
806
+ */
807
+ LAUNCH_ANYWAY = 2,
808
+ /**
809
+ * Mark it trusted, by setting the owner's executable bit, then run it
810
+ * ("Mark As Trusted And Launch").
811
+ *
812
+ * @generated from enum value: LAUNCHER_CONFIRMATION_MARK_TRUSTED = 3;
813
+ */
814
+ MARK_TRUSTED = 3
815
+ }
816
+ /**
817
+ * Describes the enum leaflow.fleet.virtualdesktop.application.v1.LauncherConfirmation.
818
+ */
819
+ export declare const LauncherConfirmationSchema: GenEnum<LauncherConfirmation>;
820
+ /**
821
+ * Lists applications and their processes, launches and ends them. Launching,
822
+ * opening and terminating need an ApplicationPolicy and a participant that is
823
+ * not read-only; otherwise they fail with PERMISSION_DENIED.
824
+ *
825
+ * @generated from service leaflow.fleet.virtualdesktop.application.v1.ApplicationService
826
+ */
827
+ export declare const ApplicationService: GenService<{
828
+ /**
829
+ * Lists the applications, NoDisplay ones included, a page at a time.
830
+ *
831
+ * @generated from rpc leaflow.fleet.virtualdesktop.application.v1.ApplicationService.ListApplications
832
+ */
833
+ listApplications: {
834
+ methodKind: "unary";
835
+ input: typeof ListApplicationsRequestSchema;
836
+ output: typeof ListApplicationsResponseSchema;
837
+ };
838
+ /**
839
+ * Starts an application, or one of its actions, possibly with files or
840
+ * URLs to open ("Open With"). It returns when the startup sequence ends
841
+ * (freedesktop Startup Notification Protocol): a window of the launch
842
+ * appeared, the program failed, or the wait ended. Windows are matched by
843
+ * their startup notification ID, then by StartupWMClass against WM_CLASS,
844
+ * then by the process belonging to the launch.
845
+ *
846
+ * @generated from rpc leaflow.fleet.virtualdesktop.application.v1.ApplicationService.LaunchApplication
847
+ */
848
+ launchApplication: {
849
+ methodKind: "unary";
850
+ input: typeof LaunchApplicationRequestSchema;
851
+ output: typeof LaunchApplicationResponseSchema;
852
+ };
853
+ /**
854
+ * Opens a desktop icon, or any file or folder, as a double click on the
855
+ * desktop does: folders in the file manager, trusted launchers are run,
856
+ * other files open in the default application of their media type
857
+ * (freedesktop mime-apps). Other executable files are opened, not run. It
858
+ * returns as LaunchApplication does.
859
+ *
860
+ * @generated from rpc leaflow.fleet.virtualdesktop.application.v1.ApplicationService.OpenUri
861
+ */
862
+ openUri: {
863
+ methodKind: "unary";
864
+ input: typeof OpenUriRequestSchema;
865
+ output: typeof OpenUriResponseSchema;
866
+ };
867
+ /**
868
+ * Lists the processes of the session that belong to an application.
869
+ *
870
+ * @generated from rpc leaflow.fleet.virtualdesktop.application.v1.ApplicationService.ListProcesses
871
+ */
872
+ listProcesses: {
873
+ methodKind: "unary";
874
+ input: typeof ListProcessesRequestSchema;
875
+ output: typeof ListProcessesResponseSchema;
876
+ };
877
+ /**
878
+ * Ends a process of the session. It acts on the session and follows the
879
+ * rules for operation calls (leaflow.fleet.virtualdesktop.lease.v1).
880
+ *
881
+ * @generated from rpc leaflow.fleet.virtualdesktop.application.v1.ApplicationService.TerminateProcess
882
+ */
883
+ terminateProcess: {
884
+ methodKind: "unary";
885
+ input: typeof TerminateProcessRequestSchema;
886
+ output: typeof TerminateProcessResponseSchema;
887
+ };
888
+ }>;