@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.
- package/README.md +15 -0
- package/dist/fleet/v1/generated/functions.d.ts +1710 -0
- package/dist/fleet/v1/generated/functions.js +1655 -0
- package/dist/fleet/v1/generated/models.d.ts +1534 -0
- package/dist/fleet/v1/generated/models.js +97 -0
- package/dist/fleet/v1/generated/schemas.zod.d.ts +1172 -0
- package/dist/fleet/v1/generated/schemas.zod.js +1291 -0
- package/dist/fleet/v1/generated/validators/accountList.zod.d.ts +250 -0
- package/dist/fleet/v1/generated/validators/accountList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/accountResource.zod.d.ts +244 -0
- package/dist/fleet/v1/generated/validators/accountResource.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.js +240 -0
- package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/createGroupRequest.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/createGroupRequest.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.js +243 -0
- package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.d.ts +247 -0
- package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.d.ts +248 -0
- package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.js +261 -0
- package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.d.ts +277 -0
- package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.js +238 -0
- package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/createSessionRequest.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/createSessionRequest.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/cursorPagination.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/cursorPagination.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/desktopOptions.zod.d.ts +242 -0
- package/dist/fleet/v1/generated/validators/desktopOptions.zod.js +254 -0
- package/dist/fleet/v1/generated/validators/desktopState.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/desktopState.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/directoryName.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/directoryName.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/enrollmentResource.zod.d.ts +243 -0
- package/dist/fleet/v1/generated/validators/enrollmentResource.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/enrollmentState.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/enrollmentState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/error.zod.d.ts +243 -0
- package/dist/fleet/v1/generated/validators/error.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/errorStatus.zod.d.ts +241 -0
- package/dist/fleet/v1/generated/validators/errorStatus.zod.js +256 -0
- package/dist/fleet/v1/generated/validators/featureState.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/featureState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/fieldViolation.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/fieldViolation.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.d.ts +245 -0
- package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/groupList.zod.d.ts +242 -0
- package/dist/fleet/v1/generated/validators/groupList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/groupResource.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/groupResource.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/iceCandidate.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/iceCandidate.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/iceServer.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/iceServer.zod.js +236 -0
- package/dist/fleet/v1/generated/validators/listAccountsParams.zod.d.ts +239 -0
- package/dist/fleet/v1/generated/validators/listAccountsParams.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/listGroupsParams.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/listGroupsParams.zod.js +238 -0
- package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.js +244 -0
- package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/listMachinesParams.zod.d.ts +238 -0
- package/dist/fleet/v1/generated/validators/listMachinesParams.zod.js +240 -0
- package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.d.ts +239 -0
- package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.js +241 -0
- package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.d.ts +244 -0
- package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.js +245 -0
- package/dist/fleet/v1/generated/validators/listSessionsParams.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/listSessionsParams.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/machineEventList.zod.d.ts +244 -0
- package/dist/fleet/v1/generated/validators/machineEventList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/machineEventResource.zod.d.ts +238 -0
- package/dist/fleet/v1/generated/validators/machineEventResource.zod.js +238 -0
- package/dist/fleet/v1/generated/validators/machineEventType.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/machineEventType.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/machineFeature.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/machineFeature.zod.js +239 -0
- package/dist/fleet/v1/generated/validators/machineList.zod.d.ts +261 -0
- package/dist/fleet/v1/generated/validators/machineList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.d.ts +250 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.d.ts +244 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.js +249 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/machineResource.zod.d.ts +256 -0
- package/dist/fleet/v1/generated/validators/machineResource.zod.js +257 -0
- package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.js +246 -0
- package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.d.ts +279 -0
- package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/mcpImplementation.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/mcpImplementation.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.js +237 -0
- package/dist/fleet/v1/generated/validators/mcpServerResource.zod.d.ts +265 -0
- package/dist/fleet/v1/generated/validators/mcpServerResource.zod.js +256 -0
- package/dist/fleet/v1/generated/validators/mcpToolList.zod.d.ts +252 -0
- package/dist/fleet/v1/generated/validators/mcpToolList.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/mcpToolResource.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/mcpToolResource.zod.js +243 -0
- package/dist/fleet/v1/generated/validators/mcpTransport.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/mcpTransport.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/migrationStep.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/migrationStep.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/namedIdentity.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/namedIdentity.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/offsetPagination.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/offsetPagination.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/operatingSystem.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/operatingSystem.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/participantList.zod.d.ts +242 -0
- package/dist/fleet/v1/generated/validators/participantList.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/participantResource.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/participantResource.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/peerConnection.zod.d.ts +241 -0
- package/dist/fleet/v1/generated/validators/peerConnection.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.d.ts +241 -0
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.js +236 -0
- package/dist/fleet/v1/generated/validators/privilegeDecider.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/privilegeDecider.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.d.ts +258 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.d.ts +253 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.js +255 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/publicKey.zod.d.ts +230 -0
- package/dist/fleet/v1/generated/validators/publicKey.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.d.ts +236 -0
- package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.d.ts +257 -0
- package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.js +238 -0
- package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.js +237 -0
- package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.d.ts +240 -0
- package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.js +236 -0
- package/dist/fleet/v1/generated/validators/runCommandRequest.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/runCommandRequest.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/runCommandResponse.zod.d.ts +237 -0
- package/dist/fleet/v1/generated/validators/runCommandResponse.zod.js +245 -0
- package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.js +239 -0
- package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.js +231 -0
- package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.d.ts +242 -0
- package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.js +242 -0
- package/dist/fleet/v1/generated/validators/sessionList.zod.d.ts +274 -0
- package/dist/fleet/v1/generated/validators/sessionList.zod.js +234 -0
- package/dist/fleet/v1/generated/validators/sessionMode.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/sessionMode.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/sessionResource.zod.d.ts +268 -0
- package/dist/fleet/v1/generated/validators/sessionResource.zod.js +254 -0
- package/dist/fleet/v1/generated/validators/sessionState.zod.d.ts +234 -0
- package/dist/fleet/v1/generated/validators/sessionState.zod.js +229 -0
- package/dist/fleet/v1/generated/validators/signedMessage.zod.d.ts +233 -0
- package/dist/fleet/v1/generated/validators/signedMessage.zod.js +235 -0
- package/dist/fleet/v1/generated/validators/signingKey.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/signingKey.zod.js +233 -0
- package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.d.ts +235 -0
- package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.js +240 -0
- package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.d.ts +232 -0
- package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.js +230 -0
- package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.d.ts +254 -0
- package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.js +282 -0
- package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.d.ts +279 -0
- package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.js +232 -0
- package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.d.ts +231 -0
- package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.js +232 -0
- package/dist/fleet/v1/index.d.ts +3 -0
- package/dist/fleet/v1/index.js +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/proto/google/rpc/status_pb.d.ts +48 -0
- package/dist/proto/google/rpc/status_pb.js +24 -0
- package/dist/proto/leaflow/fleet/audio/v1/audio_pb.d.ts +262 -0
- package/dist/proto/leaflow/fleet/audio/v1/audio_pb.js +51 -0
- package/dist/proto/leaflow/fleet/camera/v1/camera_pb.d.ts +265 -0
- package/dist/proto/leaflow/fleet/camera/v1/camera_pb.js +70 -0
- package/dist/proto/leaflow/fleet/command/v1/command_pb.d.ts +158 -0
- package/dist/proto/leaflow/fleet/command/v1/command_pb.js +25 -0
- package/dist/proto/leaflow/fleet/control/v1/control_pb.d.ts +1226 -0
- package/dist/proto/leaflow/fleet/control/v1/control_pb.js +354 -0
- package/dist/proto/leaflow/fleet/device/v1/device_pb.d.ts +422 -0
- package/dist/proto/leaflow/fleet/device/v1/device_pb.js +183 -0
- package/dist/proto/leaflow/fleet/directory/v1/directory_pb.d.ts +429 -0
- package/dist/proto/leaflow/fleet/directory/v1/directory_pb.js +78 -0
- package/dist/proto/leaflow/fleet/exec/v1/exec_pb.d.ts +287 -0
- package/dist/proto/leaflow/fleet/exec/v1/exec_pb.js +78 -0
- package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.d.ts +731 -0
- package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.js +163 -0
- package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.d.ts +347 -0
- package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.js +124 -0
- package/dist/proto/leaflow/fleet/host/v1/host_pb.d.ts +619 -0
- package/dist/proto/leaflow/fleet/host/v1/host_pb.js +206 -0
- package/dist/proto/leaflow/fleet/logs/v1/logs_pb.d.ts +293 -0
- package/dist/proto/leaflow/fleet/logs/v1/logs_pb.js +90 -0
- package/dist/proto/leaflow/fleet/machine/v1/machine_pb.d.ts +448 -0
- package/dist/proto/leaflow/fleet/machine/v1/machine_pb.js +157 -0
- package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.d.ts +891 -0
- package/dist/proto/leaflow/fleet/mcp/v1/mcp_pb.js +306 -0
- package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.d.ts +688 -0
- package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.js +209 -0
- package/dist/proto/leaflow/fleet/printing/v1/printing_pb.d.ts +741 -0
- package/dist/proto/leaflow/fleet/printing/v1/printing_pb.js +260 -0
- package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.d.ts +569 -0
- package/dist/proto/leaflow/fleet/privilege/v1/privilege_pb.js +168 -0
- package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.d.ts +234 -0
- package/dist/proto/leaflow/fleet/rpc/v1/rpc_pb.js +70 -0
- package/dist/proto/leaflow/fleet/session/v1/session_pb.d.ts +411 -0
- package/dist/proto/leaflow/fleet/session/v1/session_pb.js +130 -0
- package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.d.ts +163 -0
- package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.js +64 -0
- package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.d.ts +297 -0
- package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.js +54 -0
- package/dist/proto/leaflow/fleet/transport/v1/transport_pb.d.ts +1055 -0
- package/dist/proto/leaflow/fleet/transport/v1/transport_pb.js +251 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.d.ts +1298 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/accessibility/v1/accessibility_pb.js +437 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.d.ts +888 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/application/v1/application_pb.js +210 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.d.ts +231 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/capture/v1/capture_pb.js +63 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.d.ts +965 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/change/v1/change_pb.js +239 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.d.ts +201 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/cursor/v1/cursor_pb.js +34 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +1489 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +256 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.d.ts +380 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/display/v1/display_pb.js +89 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.d.ts +587 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/draw/v1/draw_pb.js +139 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.d.ts +69 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.js +19 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.d.ts +1463 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.js +321 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.d.ts +93 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/lease/v1/lease_pb.js +24 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.d.ts +414 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/notification/v1/notification_pb.js +137 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.d.ts +928 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/tray/v1/tray_pb.js +413 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.d.ts +1559 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/window/v1/window_pb.js +664 -0
- package/dist/routes.d.ts +440 -0
- package/dist/routes.js +495 -0
- package/package.json +11 -3
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file leaflow/fleet/machine/v1/machine.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_leaflow_fleet_machine_v1_machine: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* The request of EnrollMachine.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message leaflow.fleet.machine.v1.EnrollMachineRequest
|
|
12
|
+
*/
|
|
13
|
+
export type EnrollMachineRequest = Message<"leaflow.fleet.machine.v1.EnrollMachineRequest"> & {
|
|
14
|
+
/**
|
|
15
|
+
* The host name (uname(2) nodename), the machine's first name.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: string hostname = 1;
|
|
18
|
+
*/
|
|
19
|
+
hostname: string;
|
|
20
|
+
/**
|
|
21
|
+
* A registration token created on the platform for this machine, or empty
|
|
22
|
+
* to wait for approval by pairing code. A bearer secret that enrolls once:
|
|
23
|
+
* send it only on a control connection whose certificate was verified, read
|
|
24
|
+
* it only from a file that only root can read, never log it, and delete it
|
|
25
|
+
* once the machine is enrolled.
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: string registration_token = 2;
|
|
28
|
+
*/
|
|
29
|
+
registrationToken: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message leaflow.fleet.machine.v1.EnrollMachineRequest.
|
|
33
|
+
* Use `create(EnrollMachineRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export declare const EnrollMachineRequestSchema: GenMessage<EnrollMachineRequest>;
|
|
36
|
+
/**
|
|
37
|
+
* The response of EnrollMachine.
|
|
38
|
+
*
|
|
39
|
+
* @generated from message leaflow.fleet.machine.v1.EnrollMachineResponse
|
|
40
|
+
*/
|
|
41
|
+
export type EnrollMachineResponse = Message<"leaflow.fleet.machine.v1.EnrollMachineResponse"> & {
|
|
42
|
+
/**
|
|
43
|
+
* The decision so far.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: leaflow.fleet.machine.v1.EnrollmentState state = 1;
|
|
46
|
+
*/
|
|
47
|
+
state: EnrollmentState;
|
|
48
|
+
/**
|
|
49
|
+
* The machine. APPROVED only. The daemon keeps it with its private key,
|
|
50
|
+
* readable by root only.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string machine_id = 2;
|
|
53
|
+
*/
|
|
54
|
+
machineId: string;
|
|
55
|
+
/**
|
|
56
|
+
* A code that names the request, to show on the machine and to match
|
|
57
|
+
* with the request on the service. Both sides derive it from the public
|
|
58
|
+
* key: Crockford's Base32 of the first 50 bits of the SHA-256 of the ASCII
|
|
59
|
+
* bytes "leaflow.fleet.machine.v1.EnrollMachineResponse.pairing_code", one
|
|
60
|
+
* zero byte and the key, written "XXXXX-XXXXX". It is not a secret.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: string pairing_code = 3;
|
|
63
|
+
*/
|
|
64
|
+
pairingCode: string;
|
|
65
|
+
/**
|
|
66
|
+
* PENDING only: how long to wait before calling again.
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: google.protobuf.Duration retry_after = 4;
|
|
69
|
+
*/
|
|
70
|
+
retryAfter?: Duration | undefined;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message leaflow.fleet.machine.v1.EnrollMachineResponse.
|
|
74
|
+
* Use `create(EnrollMachineResponseSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export declare const EnrollMachineResponseSchema: GenMessage<EnrollMachineResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* The operating system, from /etc/os-release (os-release(5)).
|
|
79
|
+
*
|
|
80
|
+
* @generated from message leaflow.fleet.machine.v1.OsRelease
|
|
81
|
+
*/
|
|
82
|
+
export type OsRelease = Message<"leaflow.fleet.machine.v1.OsRelease"> & {
|
|
83
|
+
/**
|
|
84
|
+
* ID=, such as "debian".
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: string id = 1;
|
|
87
|
+
*/
|
|
88
|
+
id: string;
|
|
89
|
+
/**
|
|
90
|
+
* VERSION_ID=, such as "13".
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: string version_id = 2;
|
|
93
|
+
*/
|
|
94
|
+
versionId: string;
|
|
95
|
+
/**
|
|
96
|
+
* PRETTY_NAME=, such as "Debian GNU/Linux 13 (trixie)".
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: string pretty_name = 3;
|
|
99
|
+
*/
|
|
100
|
+
prettyName: string;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message leaflow.fleet.machine.v1.OsRelease.
|
|
104
|
+
* Use `create(OsReleaseSchema)` to create a new message.
|
|
105
|
+
*/
|
|
106
|
+
export declare const OsReleaseSchema: GenMessage<OsRelease>;
|
|
107
|
+
/**
|
|
108
|
+
* A feature the machine offers.
|
|
109
|
+
*
|
|
110
|
+
* @generated from message leaflow.fleet.machine.v1.Feature
|
|
111
|
+
*/
|
|
112
|
+
export type Feature = Message<"leaflow.fleet.machine.v1.Feature"> & {
|
|
113
|
+
/**
|
|
114
|
+
* The full name of the package that defines it, such as
|
|
115
|
+
* "leaflow.fleet.directory.v1".
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: string name = 1;
|
|
118
|
+
*/
|
|
119
|
+
name: string;
|
|
120
|
+
/**
|
|
121
|
+
* Whether it can be used now.
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: leaflow.fleet.machine.v1.FeatureState state = 2;
|
|
124
|
+
*/
|
|
125
|
+
state: FeatureState;
|
|
126
|
+
/**
|
|
127
|
+
* UNAVAILABLE only: why, plain text for people, at most 1024 bytes, such
|
|
128
|
+
* as "Xvfb is not installed".
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string reason = 3;
|
|
131
|
+
*/
|
|
132
|
+
reason: string;
|
|
133
|
+
/**
|
|
134
|
+
* What the feature can do on this machine, as the dotted names its package
|
|
135
|
+
* defines. Names a receiver does not know are ignored.
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: repeated string details = 4;
|
|
138
|
+
*/
|
|
139
|
+
details: string[];
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message leaflow.fleet.machine.v1.Feature.
|
|
143
|
+
* Use `create(FeatureSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export declare const FeatureSchema: GenMessage<Feature>;
|
|
146
|
+
/**
|
|
147
|
+
* The request of ReportMachineStatus.
|
|
148
|
+
*
|
|
149
|
+
* @generated from message leaflow.fleet.machine.v1.ReportMachineStatusRequest
|
|
150
|
+
*/
|
|
151
|
+
export type ReportMachineStatusRequest = Message<"leaflow.fleet.machine.v1.ReportMachineStatusRequest"> & {
|
|
152
|
+
/**
|
|
153
|
+
* /proc/sys/kernel/random/boot_id, new on every boot.
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: string boot_id = 1;
|
|
156
|
+
*/
|
|
157
|
+
bootId: string;
|
|
158
|
+
/**
|
|
159
|
+
* The host name (uname(2) nodename).
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: string hostname = 2;
|
|
162
|
+
*/
|
|
163
|
+
hostname: string;
|
|
164
|
+
/**
|
|
165
|
+
* The operating system.
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: leaflow.fleet.machine.v1.OsRelease os_release = 3;
|
|
168
|
+
*/
|
|
169
|
+
osRelease?: OsRelease | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* The kernel release (uname(2) release), such as "6.12.43+deb13-amd64".
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: string kernel_release = 4;
|
|
174
|
+
*/
|
|
175
|
+
kernelRelease: string;
|
|
176
|
+
/**
|
|
177
|
+
* The hardware (uname(2) machine), such as "x86_64".
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: string architecture = 5;
|
|
180
|
+
*/
|
|
181
|
+
architecture: string;
|
|
182
|
+
/**
|
|
183
|
+
* The Agent's version (Semantic Versioning 2.0.0), such as "1.4.0".
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: string agent_version = 6;
|
|
186
|
+
*/
|
|
187
|
+
agentVersion: string;
|
|
188
|
+
/**
|
|
189
|
+
* The features the Agent has installed, available or not. A feature
|
|
190
|
+
* missing here is not installed.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: repeated leaflow.fleet.machine.v1.Feature features = 7;
|
|
193
|
+
*/
|
|
194
|
+
features: Feature[];
|
|
195
|
+
/**
|
|
196
|
+
* Orders the reports the daemon sends on this connection by when it
|
|
197
|
+
* observed what they report (leaflow.fleet.control.v1 Reports): it
|
|
198
|
+
* increases with every report, 1 for the first, and a report sent again
|
|
199
|
+
* keeps its sequence.
|
|
200
|
+
*
|
|
201
|
+
* @generated from field: uint64 sequence = 8;
|
|
202
|
+
*/
|
|
203
|
+
sequence: bigint;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* Describes the message leaflow.fleet.machine.v1.ReportMachineStatusRequest.
|
|
207
|
+
* Use `create(ReportMachineStatusRequestSchema)` to create a new message.
|
|
208
|
+
*/
|
|
209
|
+
export declare const ReportMachineStatusRequestSchema: GenMessage<ReportMachineStatusRequest>;
|
|
210
|
+
/**
|
|
211
|
+
* The response of ReportMachineStatus.
|
|
212
|
+
*
|
|
213
|
+
* @generated from message leaflow.fleet.machine.v1.ReportMachineStatusResponse
|
|
214
|
+
*/
|
|
215
|
+
export type ReportMachineStatusResponse = Message<"leaflow.fleet.machine.v1.ReportMachineStatusResponse"> & {};
|
|
216
|
+
/**
|
|
217
|
+
* Describes the message leaflow.fleet.machine.v1.ReportMachineStatusResponse.
|
|
218
|
+
* Use `create(ReportMachineStatusResponseSchema)` to create a new message.
|
|
219
|
+
*/
|
|
220
|
+
export declare const ReportMachineStatusResponseSchema: GenMessage<ReportMachineStatusResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* The request of ReportMachineEvents.
|
|
223
|
+
*
|
|
224
|
+
* @generated from message leaflow.fleet.machine.v1.ReportMachineEventsRequest
|
|
225
|
+
*/
|
|
226
|
+
export type ReportMachineEventsRequest = Message<"leaflow.fleet.machine.v1.ReportMachineEventsRequest"> & {
|
|
227
|
+
/**
|
|
228
|
+
* The events, oldest first, at most 100.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: repeated leaflow.fleet.machine.v1.MachineEvent events = 1;
|
|
231
|
+
*/
|
|
232
|
+
events: MachineEvent[];
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Describes the message leaflow.fleet.machine.v1.ReportMachineEventsRequest.
|
|
236
|
+
* Use `create(ReportMachineEventsRequestSchema)` to create a new message.
|
|
237
|
+
*/
|
|
238
|
+
export declare const ReportMachineEventsRequestSchema: GenMessage<ReportMachineEventsRequest>;
|
|
239
|
+
/**
|
|
240
|
+
* The response of ReportMachineEvents.
|
|
241
|
+
*
|
|
242
|
+
* @generated from message leaflow.fleet.machine.v1.ReportMachineEventsResponse
|
|
243
|
+
*/
|
|
244
|
+
export type ReportMachineEventsResponse = Message<"leaflow.fleet.machine.v1.ReportMachineEventsResponse"> & {};
|
|
245
|
+
/**
|
|
246
|
+
* Describes the message leaflow.fleet.machine.v1.ReportMachineEventsResponse.
|
|
247
|
+
* Use `create(ReportMachineEventsResponseSchema)` to create a new message.
|
|
248
|
+
*/
|
|
249
|
+
export declare const ReportMachineEventsResponseSchema: GenMessage<ReportMachineEventsResponse>;
|
|
250
|
+
/**
|
|
251
|
+
* Something that happened on the machine.
|
|
252
|
+
*
|
|
253
|
+
* @generated from message leaflow.fleet.machine.v1.MachineEvent
|
|
254
|
+
*/
|
|
255
|
+
export type MachineEvent = Message<"leaflow.fleet.machine.v1.MachineEvent"> & {
|
|
256
|
+
/**
|
|
257
|
+
* Chosen by the daemon, unique on the machine, such as a UUID; at most 64
|
|
258
|
+
* bytes.
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: string event_id = 1;
|
|
261
|
+
*/
|
|
262
|
+
eventId: string;
|
|
263
|
+
/**
|
|
264
|
+
* What happened.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: leaflow.fleet.machine.v1.MachineEventType type = 2;
|
|
267
|
+
*/
|
|
268
|
+
type: MachineEventType;
|
|
269
|
+
/**
|
|
270
|
+
* When it happened, on the machine's clock.
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: google.protobuf.Timestamp occurred_at = 3;
|
|
273
|
+
*/
|
|
274
|
+
occurredAt?: Timestamp | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* The values of the event, with the keys its type names. At most 16
|
|
277
|
+
* entries; keys at most 64 bytes, values at most 256 bytes.
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: map<string, string> metadata = 4;
|
|
280
|
+
*/
|
|
281
|
+
metadata: {
|
|
282
|
+
[key: string]: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* Describes the message leaflow.fleet.machine.v1.MachineEvent.
|
|
287
|
+
* Use `create(MachineEventSchema)` to create a new message.
|
|
288
|
+
*/
|
|
289
|
+
export declare const MachineEventSchema: GenMessage<MachineEvent>;
|
|
290
|
+
/**
|
|
291
|
+
* The decision on an enrollment.
|
|
292
|
+
*
|
|
293
|
+
* @generated from enum leaflow.fleet.machine.v1.EnrollmentState
|
|
294
|
+
*/
|
|
295
|
+
export declare enum EnrollmentState {
|
|
296
|
+
/**
|
|
297
|
+
* @generated from enum value: ENROLLMENT_STATE_UNSPECIFIED = 0;
|
|
298
|
+
*/
|
|
299
|
+
UNSPECIFIED = 0,
|
|
300
|
+
/**
|
|
301
|
+
* Not decided yet. The daemon shows the pairing code and calls again.
|
|
302
|
+
*
|
|
303
|
+
* @generated from enum value: ENROLLMENT_STATE_PENDING = 1;
|
|
304
|
+
*/
|
|
305
|
+
PENDING = 1,
|
|
306
|
+
/**
|
|
307
|
+
* Approved; machine_id is set.
|
|
308
|
+
*
|
|
309
|
+
* @generated from enum value: ENROLLMENT_STATE_APPROVED = 2;
|
|
310
|
+
*/
|
|
311
|
+
APPROVED = 2,
|
|
312
|
+
/**
|
|
313
|
+
* Denied. Final for the key: the daemon stops and says so.
|
|
314
|
+
*
|
|
315
|
+
* @generated from enum value: ENROLLMENT_STATE_DENIED = 3;
|
|
316
|
+
*/
|
|
317
|
+
DENIED = 3
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Describes the enum leaflow.fleet.machine.v1.EnrollmentState.
|
|
321
|
+
*/
|
|
322
|
+
export declare const EnrollmentStateSchema: GenEnum<EnrollmentState>;
|
|
323
|
+
/**
|
|
324
|
+
* Whether a feature can be used.
|
|
325
|
+
*
|
|
326
|
+
* @generated from enum leaflow.fleet.machine.v1.FeatureState
|
|
327
|
+
*/
|
|
328
|
+
export declare enum FeatureState {
|
|
329
|
+
/**
|
|
330
|
+
* @generated from enum value: FEATURE_STATE_UNSPECIFIED = 0;
|
|
331
|
+
*/
|
|
332
|
+
UNSPECIFIED = 0,
|
|
333
|
+
/**
|
|
334
|
+
* Installed and usable.
|
|
335
|
+
*
|
|
336
|
+
* @generated from enum value: FEATURE_STATE_AVAILABLE = 1;
|
|
337
|
+
*/
|
|
338
|
+
AVAILABLE = 1,
|
|
339
|
+
/**
|
|
340
|
+
* Installed but not usable now; Feature.reason says why.
|
|
341
|
+
*
|
|
342
|
+
* @generated from enum value: FEATURE_STATE_UNAVAILABLE = 2;
|
|
343
|
+
*/
|
|
344
|
+
UNAVAILABLE = 2
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Describes the enum leaflow.fleet.machine.v1.FeatureState.
|
|
348
|
+
*/
|
|
349
|
+
export declare const FeatureStateSchema: GenEnum<FeatureState>;
|
|
350
|
+
/**
|
|
351
|
+
* What happened on a machine.
|
|
352
|
+
*
|
|
353
|
+
* @generated from enum leaflow.fleet.machine.v1.MachineEventType
|
|
354
|
+
*/
|
|
355
|
+
export declare enum MachineEventType {
|
|
356
|
+
/**
|
|
357
|
+
* @generated from enum value: MACHINE_EVENT_TYPE_UNSPECIFIED = 0;
|
|
358
|
+
*/
|
|
359
|
+
UNSPECIFIED = 0,
|
|
360
|
+
/**
|
|
361
|
+
* A directory account (leaflow.fleet.directory.v1) is not served because a
|
|
362
|
+
* local account uses its name or its uid, or because its uid is within the
|
|
363
|
+
* subordinate ids of a local user. Metadata "username", and "conflict":
|
|
364
|
+
* "name", "uid" or "subordinate".
|
|
365
|
+
*
|
|
366
|
+
* @generated from enum value: MACHINE_EVENT_TYPE_DIRECTORY_ACCOUNT_CONFLICT = 1;
|
|
367
|
+
*/
|
|
368
|
+
DIRECTORY_ACCOUNT_CONFLICT = 1,
|
|
369
|
+
/**
|
|
370
|
+
* A directory group is not served because a local group uses its name or
|
|
371
|
+
* its gid, or because its gid is within the subordinate ids of a local
|
|
372
|
+
* user. Metadata "groupName", and "conflict": "name", "gid" or
|
|
373
|
+
* "subordinate".
|
|
374
|
+
*
|
|
375
|
+
* @generated from enum value: MACHINE_EVENT_TYPE_DIRECTORY_GROUP_CONFLICT = 2;
|
|
376
|
+
*/
|
|
377
|
+
DIRECTORY_GROUP_CONFLICT = 2
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Describes the enum leaflow.fleet.machine.v1.MachineEventType.
|
|
381
|
+
*/
|
|
382
|
+
export declare const MachineEventTypeSchema: GenEnum<MachineEventType>;
|
|
383
|
+
/**
|
|
384
|
+
* Enrolls machines and takes their reports. Served by the service on daemon
|
|
385
|
+
* connections.
|
|
386
|
+
*
|
|
387
|
+
* @generated from service leaflow.fleet.machine.v1.MachineRegistryService
|
|
388
|
+
*/
|
|
389
|
+
export declare const MachineRegistryService: GenService<{
|
|
390
|
+
/**
|
|
391
|
+
* Asks to enroll the key of the connection's enrollment credential, or
|
|
392
|
+
* returns the decision on it. Only on a connection with an enrollment
|
|
393
|
+
* credential; calling again with the same key continues the same request.
|
|
394
|
+
*
|
|
395
|
+
* With a registration_token the key is approved at once into the machine
|
|
396
|
+
* the token was created for, and the response is APPROVED with that
|
|
397
|
+
* machine_id. Calling again with the same key and the same token returns
|
|
398
|
+
* the same answer, so a daemon that stopped before keeping its identity can
|
|
399
|
+
* call again.
|
|
400
|
+
*
|
|
401
|
+
* Fails with:
|
|
402
|
+
* - UNAVAILABLE and reason ENROLLMENT_UNAVAILABLE when the service cannot
|
|
403
|
+
* record the request now; call again with backoff;
|
|
404
|
+
* - PERMISSION_DENIED and reason REGISTRATION_TOKEN_INVALID when the
|
|
405
|
+
* registration token is unknown, expired, revoked or used by another
|
|
406
|
+
* key, or the key already belongs to a machine or was denied. Nothing
|
|
407
|
+
* is recorded and no request is left pending: the daemon stops and says
|
|
408
|
+
* so. Without the token the daemon can ask for approval by pairing code.
|
|
409
|
+
*
|
|
410
|
+
* @generated from rpc leaflow.fleet.machine.v1.MachineRegistryService.EnrollMachine
|
|
411
|
+
*/
|
|
412
|
+
enrollMachine: {
|
|
413
|
+
methodKind: "unary";
|
|
414
|
+
input: typeof EnrollMachineRequestSchema;
|
|
415
|
+
output: typeof EnrollMachineResponseSchema;
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* Reports the machine and its features. The latest report replaces the
|
|
419
|
+
* previous one.
|
|
420
|
+
*
|
|
421
|
+
* @generated from rpc leaflow.fleet.machine.v1.MachineRegistryService.ReportMachineStatus
|
|
422
|
+
*/
|
|
423
|
+
reportMachineStatus: {
|
|
424
|
+
methodKind: "unary";
|
|
425
|
+
input: typeof ReportMachineStatusRequestSchema;
|
|
426
|
+
output: typeof ReportMachineStatusResponseSchema;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* Records events the people who manage the machine should see, such as a
|
|
430
|
+
* directory account the daemon does not serve. The daemon reports a
|
|
431
|
+
* condition when it begins, not again while it lasts, and never reports
|
|
432
|
+
* what happens inside sessions. An event whose event_id the service has
|
|
433
|
+
* recorded is recorded once, so that a call can be repeated after its
|
|
434
|
+
* answer was lost. The service ignores types it does not know and keeps
|
|
435
|
+
* events for a limited time.
|
|
436
|
+
*
|
|
437
|
+
* Fails with RESOURCE_EXHAUSTED and reason MACHINE_EVENTS_LIMITED when the
|
|
438
|
+
* machine reports more than the service accepts now; report them again
|
|
439
|
+
* later.
|
|
440
|
+
*
|
|
441
|
+
* @generated from rpc leaflow.fleet.machine.v1.MachineRegistryService.ReportMachineEvents
|
|
442
|
+
*/
|
|
443
|
+
reportMachineEvents: {
|
|
444
|
+
methodKind: "unary";
|
|
445
|
+
input: typeof ReportMachineEventsRequestSchema;
|
|
446
|
+
output: typeof ReportMachineEventsResponseSchema;
|
|
447
|
+
};
|
|
448
|
+
}>;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file leaflow/fleet/machine/v1/machine.proto (package leaflow.fleet.machine.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file leaflow/fleet/machine/v1/machine.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_leaflow_fleet_machine_v1_machine = /*@__PURE__*/ fileDesc("CiZsZWFmbG93L2ZsZWV0L21hY2hpbmUvdjEvbWFjaGluZS5wcm90bxIYbGVhZmxvdy5mbGVldC5tYWNoaW5lLnYxIkQKFEVucm9sbE1hY2hpbmVSZXF1ZXN0EhAKCGhvc3RuYW1lGAEgASgJEhoKEnJlZ2lzdHJhdGlvbl90b2tlbhgCIAEoCSKrAQoVRW5yb2xsTWFjaGluZVJlc3BvbnNlEjgKBXN0YXRlGAEgASgOMikubGVhZmxvdy5mbGVldC5tYWNoaW5lLnYxLkVucm9sbG1lbnRTdGF0ZRISCgptYWNoaW5lX2lkGAIgASgJEhQKDHBhaXJpbmdfY29kZRgDIAEoCRIuCgtyZXRyeV9hZnRlchgEIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbiJACglPc1JlbGVhc2USCgoCaWQYASABKAkSEgoKdmVyc2lvbl9pZBgCIAEoCRITCgtwcmV0dHlfbmFtZRgDIAEoCSJvCgdGZWF0dXJlEgwKBG5hbWUYASABKAkSNQoFc3RhdGUYAiABKA4yJi5sZWFmbG93LmZsZWV0Lm1hY2hpbmUudjEuRmVhdHVyZVN0YXRlEg4KBnJlYXNvbhgDIAEoCRIPCgdkZXRhaWxzGAQgAygJIoQCChpSZXBvcnRNYWNoaW5lU3RhdHVzUmVxdWVzdBIPCgdib290X2lkGAEgASgJEhAKCGhvc3RuYW1lGAIgASgJEjcKCm9zX3JlbGVhc2UYAyABKAsyIy5sZWFmbG93LmZsZWV0Lm1hY2hpbmUudjEuT3NSZWxlYXNlEhYKDmtlcm5lbF9yZWxlYXNlGAQgASgJEhQKDGFyY2hpdGVjdHVyZRgFIAEoCRIVCg1hZ2VudF92ZXJzaW9uGAYgASgJEjMKCGZlYXR1cmVzGAcgAygLMiEubGVhZmxvdy5mbGVldC5tYWNoaW5lLnYxLkZlYXR1cmUSEAoIc2VxdWVuY2UYCCABKAQiHQobUmVwb3J0TWFjaGluZVN0YXR1c1Jlc3BvbnNlIlQKGlJlcG9ydE1hY2hpbmVFdmVudHNSZXF1ZXN0EjYKBmV2ZW50cxgBIAMoCzImLmxlYWZsb3cuZmxlZXQubWFjaGluZS52MS5NYWNoaW5lRXZlbnQiHQobUmVwb3J0TWFjaGluZUV2ZW50c1Jlc3BvbnNlIoQCCgxNYWNoaW5lRXZlbnQSEAoIZXZlbnRfaWQYASABKAkSOAoEdHlwZRgCIAEoDjIqLmxlYWZsb3cuZmxlZXQubWFjaGluZS52MS5NYWNoaW5lRXZlbnRUeXBlEi8KC29jY3VycmVkX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJGCghtZXRhZGF0YRgEIAMoCzI0LmxlYWZsb3cuZmxlZXQubWFjaGluZS52MS5NYWNoaW5lRXZlbnQuTWV0YWRhdGFFbnRyeRovCg1NZXRhZGF0YUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEqjQEKD0Vucm9sbG1lbnRTdGF0ZRIgChxFTlJPTExNRU5UX1NUQVRFX1VOU1BFQ0lGSUVEEAASHAoYRU5ST0xMTUVOVF9TVEFURV9QRU5ESU5HEAESHQoZRU5ST0xMTUVOVF9TVEFURV9BUFBST1ZFRBACEhsKF0VOUk9MTE1FTlRfU1RBVEVfREVOSUVEEAMqaQoMRmVhdHVyZVN0YXRlEh0KGUZFQVRVUkVfU1RBVEVfVU5TUEVDSUZJRUQQABIbChdGRUFUVVJFX1NUQVRFX0FWQUlMQUJMRRABEh0KGUZFQVRVUkVfU1RBVEVfVU5BVkFJTEFCTEUQAiqaAQoQTWFjaGluZUV2ZW50VHlwZRIiCh5NQUNISU5FX0VWRU5UX1RZUEVfVU5TUEVDSUZJRUQQABIxCi1NQUNISU5FX0VWRU5UX1RZUEVfRElSRUNUT1JZX0FDQ09VTlRfQ09ORkxJQ1QQARIvCitNQUNISU5FX0VWRU5UX1RZUEVfRElSRUNUT1JZX0dST1VQX0NPTkZMSUNUEAIyowMKFk1hY2hpbmVSZWdpc3RyeVNlcnZpY2USdQoNRW5yb2xsTWFjaGluZRIuLmxlYWZsb3cuZmxlZXQubWFjaGluZS52MS5FbnJvbGxNYWNoaW5lUmVxdWVzdBovLmxlYWZsb3cuZmxlZXQubWFjaGluZS52MS5FbnJvbGxNYWNoaW5lUmVzcG9uc2UiA5ACAhKHAQoTUmVwb3J0TWFjaGluZVN0YXR1cxI0LmxlYWZsb3cuZmxlZXQubWFjaGluZS52MS5SZXBvcnRNYWNoaW5lU3RhdHVzUmVxdWVzdBo1LmxlYWZsb3cuZmxlZXQubWFjaGluZS52MS5SZXBvcnRNYWNoaW5lU3RhdHVzUmVzcG9uc2UiA5ACAhKHAQoTUmVwb3J0TWFjaGluZUV2ZW50cxI0LmxlYWZsb3cuZmxlZXQubWFjaGluZS52MS5SZXBvcnRNYWNoaW5lRXZlbnRzUmVxdWVzdBo1LmxlYWZsb3cuZmxlZXQubWFjaGluZS52MS5SZXBvcnRNYWNoaW5lRXZlbnRzUmVzcG9uc2UiA5ACAkI+WjxnaXRodWIuY29tL2xlYWZsb3dhcGlzL2xlYWZsb3ctZ28vZmxlZXQvbWFjaGluZS92MTttYWNoaW5ldjFiBnByb3RvMw", [file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message leaflow.fleet.machine.v1.EnrollMachineRequest.
|
|
12
|
+
* Use `create(EnrollMachineRequestSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const EnrollMachineRequestSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_machine_v1_machine, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message leaflow.fleet.machine.v1.EnrollMachineResponse.
|
|
17
|
+
* Use `create(EnrollMachineResponseSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const EnrollMachineResponseSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_machine_v1_machine, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message leaflow.fleet.machine.v1.OsRelease.
|
|
22
|
+
* Use `create(OsReleaseSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const OsReleaseSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_machine_v1_machine, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message leaflow.fleet.machine.v1.Feature.
|
|
27
|
+
* Use `create(FeatureSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const FeatureSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_machine_v1_machine, 3);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message leaflow.fleet.machine.v1.ReportMachineStatusRequest.
|
|
32
|
+
* Use `create(ReportMachineStatusRequestSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const ReportMachineStatusRequestSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_machine_v1_machine, 4);
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message leaflow.fleet.machine.v1.ReportMachineStatusResponse.
|
|
37
|
+
* Use `create(ReportMachineStatusResponseSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const ReportMachineStatusResponseSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_machine_v1_machine, 5);
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message leaflow.fleet.machine.v1.ReportMachineEventsRequest.
|
|
42
|
+
* Use `create(ReportMachineEventsRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const ReportMachineEventsRequestSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_machine_v1_machine, 6);
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message leaflow.fleet.machine.v1.ReportMachineEventsResponse.
|
|
47
|
+
* Use `create(ReportMachineEventsResponseSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const ReportMachineEventsResponseSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_machine_v1_machine, 7);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message leaflow.fleet.machine.v1.MachineEvent.
|
|
52
|
+
* Use `create(MachineEventSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const MachineEventSchema = /*@__PURE__*/ messageDesc(file_leaflow_fleet_machine_v1_machine, 8);
|
|
55
|
+
/**
|
|
56
|
+
* The decision on an enrollment.
|
|
57
|
+
*
|
|
58
|
+
* @generated from enum leaflow.fleet.machine.v1.EnrollmentState
|
|
59
|
+
*/
|
|
60
|
+
export var EnrollmentState;
|
|
61
|
+
(function (EnrollmentState) {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from enum value: ENROLLMENT_STATE_UNSPECIFIED = 0;
|
|
64
|
+
*/
|
|
65
|
+
EnrollmentState[EnrollmentState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
66
|
+
/**
|
|
67
|
+
* Not decided yet. The daemon shows the pairing code and calls again.
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum value: ENROLLMENT_STATE_PENDING = 1;
|
|
70
|
+
*/
|
|
71
|
+
EnrollmentState[EnrollmentState["PENDING"] = 1] = "PENDING";
|
|
72
|
+
/**
|
|
73
|
+
* Approved; machine_id is set.
|
|
74
|
+
*
|
|
75
|
+
* @generated from enum value: ENROLLMENT_STATE_APPROVED = 2;
|
|
76
|
+
*/
|
|
77
|
+
EnrollmentState[EnrollmentState["APPROVED"] = 2] = "APPROVED";
|
|
78
|
+
/**
|
|
79
|
+
* Denied. Final for the key: the daemon stops and says so.
|
|
80
|
+
*
|
|
81
|
+
* @generated from enum value: ENROLLMENT_STATE_DENIED = 3;
|
|
82
|
+
*/
|
|
83
|
+
EnrollmentState[EnrollmentState["DENIED"] = 3] = "DENIED";
|
|
84
|
+
})(EnrollmentState || (EnrollmentState = {}));
|
|
85
|
+
/**
|
|
86
|
+
* Describes the enum leaflow.fleet.machine.v1.EnrollmentState.
|
|
87
|
+
*/
|
|
88
|
+
export const EnrollmentStateSchema = /*@__PURE__*/ enumDesc(file_leaflow_fleet_machine_v1_machine, 0);
|
|
89
|
+
/**
|
|
90
|
+
* Whether a feature can be used.
|
|
91
|
+
*
|
|
92
|
+
* @generated from enum leaflow.fleet.machine.v1.FeatureState
|
|
93
|
+
*/
|
|
94
|
+
export var FeatureState;
|
|
95
|
+
(function (FeatureState) {
|
|
96
|
+
/**
|
|
97
|
+
* @generated from enum value: FEATURE_STATE_UNSPECIFIED = 0;
|
|
98
|
+
*/
|
|
99
|
+
FeatureState[FeatureState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
100
|
+
/**
|
|
101
|
+
* Installed and usable.
|
|
102
|
+
*
|
|
103
|
+
* @generated from enum value: FEATURE_STATE_AVAILABLE = 1;
|
|
104
|
+
*/
|
|
105
|
+
FeatureState[FeatureState["AVAILABLE"] = 1] = "AVAILABLE";
|
|
106
|
+
/**
|
|
107
|
+
* Installed but not usable now; Feature.reason says why.
|
|
108
|
+
*
|
|
109
|
+
* @generated from enum value: FEATURE_STATE_UNAVAILABLE = 2;
|
|
110
|
+
*/
|
|
111
|
+
FeatureState[FeatureState["UNAVAILABLE"] = 2] = "UNAVAILABLE";
|
|
112
|
+
})(FeatureState || (FeatureState = {}));
|
|
113
|
+
/**
|
|
114
|
+
* Describes the enum leaflow.fleet.machine.v1.FeatureState.
|
|
115
|
+
*/
|
|
116
|
+
export const FeatureStateSchema = /*@__PURE__*/ enumDesc(file_leaflow_fleet_machine_v1_machine, 1);
|
|
117
|
+
/**
|
|
118
|
+
* What happened on a machine.
|
|
119
|
+
*
|
|
120
|
+
* @generated from enum leaflow.fleet.machine.v1.MachineEventType
|
|
121
|
+
*/
|
|
122
|
+
export var MachineEventType;
|
|
123
|
+
(function (MachineEventType) {
|
|
124
|
+
/**
|
|
125
|
+
* @generated from enum value: MACHINE_EVENT_TYPE_UNSPECIFIED = 0;
|
|
126
|
+
*/
|
|
127
|
+
MachineEventType[MachineEventType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
128
|
+
/**
|
|
129
|
+
* A directory account (leaflow.fleet.directory.v1) is not served because a
|
|
130
|
+
* local account uses its name or its uid, or because its uid is within the
|
|
131
|
+
* subordinate ids of a local user. Metadata "username", and "conflict":
|
|
132
|
+
* "name", "uid" or "subordinate".
|
|
133
|
+
*
|
|
134
|
+
* @generated from enum value: MACHINE_EVENT_TYPE_DIRECTORY_ACCOUNT_CONFLICT = 1;
|
|
135
|
+
*/
|
|
136
|
+
MachineEventType[MachineEventType["DIRECTORY_ACCOUNT_CONFLICT"] = 1] = "DIRECTORY_ACCOUNT_CONFLICT";
|
|
137
|
+
/**
|
|
138
|
+
* A directory group is not served because a local group uses its name or
|
|
139
|
+
* its gid, or because its gid is within the subordinate ids of a local
|
|
140
|
+
* user. Metadata "groupName", and "conflict": "name", "gid" or
|
|
141
|
+
* "subordinate".
|
|
142
|
+
*
|
|
143
|
+
* @generated from enum value: MACHINE_EVENT_TYPE_DIRECTORY_GROUP_CONFLICT = 2;
|
|
144
|
+
*/
|
|
145
|
+
MachineEventType[MachineEventType["DIRECTORY_GROUP_CONFLICT"] = 2] = "DIRECTORY_GROUP_CONFLICT";
|
|
146
|
+
})(MachineEventType || (MachineEventType = {}));
|
|
147
|
+
/**
|
|
148
|
+
* Describes the enum leaflow.fleet.machine.v1.MachineEventType.
|
|
149
|
+
*/
|
|
150
|
+
export const MachineEventTypeSchema = /*@__PURE__*/ enumDesc(file_leaflow_fleet_machine_v1_machine, 2);
|
|
151
|
+
/**
|
|
152
|
+
* Enrolls machines and takes their reports. Served by the service on daemon
|
|
153
|
+
* connections.
|
|
154
|
+
*
|
|
155
|
+
* @generated from service leaflow.fleet.machine.v1.MachineRegistryService
|
|
156
|
+
*/
|
|
157
|
+
export const MachineRegistryService = /*@__PURE__*/ serviceDesc(file_leaflow_fleet_machine_v1_machine, 0);
|