@leaflow/sdk 0.185.0 → 0.187.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/canopy/v1/generated/models.d.ts +100 -20
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/totalsResource.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +5 -5
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +5 -5
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +5 -5
- 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,1226 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Any, Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Call, CallCancel, CallResult } from "../../rpc/v1/rpc_pb.js";
|
|
4
|
+
import type { Migration, Signal } from "../../transport/v1/transport_pb.js";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file leaflow/fleet/control/v1/control.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_leaflow_fleet_control_v1_control: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* A message from an endpoint.
|
|
12
|
+
*
|
|
13
|
+
* @generated from message leaflow.fleet.control.v1.ClientMessage
|
|
14
|
+
*/
|
|
15
|
+
export type ClientMessage = Message<"leaflow.fleet.control.v1.ClientMessage"> & {
|
|
16
|
+
/**
|
|
17
|
+
* The message.
|
|
18
|
+
*
|
|
19
|
+
* @generated from oneof leaflow.fleet.control.v1.ClientMessage.message
|
|
20
|
+
*/
|
|
21
|
+
message: {
|
|
22
|
+
/**
|
|
23
|
+
* The endpoint's credential. The first message.
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: leaflow.fleet.control.v1.ClientHello client_hello = 1;
|
|
26
|
+
*/
|
|
27
|
+
value: ClientHello;
|
|
28
|
+
case: "clientHello";
|
|
29
|
+
} | {
|
|
30
|
+
/**
|
|
31
|
+
* Asks the service to answer with a Pong.
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: leaflow.fleet.control.v1.Ping ping = 2;
|
|
34
|
+
*/
|
|
35
|
+
value: Ping;
|
|
36
|
+
case: "ping";
|
|
37
|
+
} | {
|
|
38
|
+
/**
|
|
39
|
+
* Answers a Ping of the service.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: leaflow.fleet.control.v1.Pong pong = 3;
|
|
42
|
+
*/
|
|
43
|
+
value: Pong;
|
|
44
|
+
case: "pong";
|
|
45
|
+
} | {
|
|
46
|
+
/**
|
|
47
|
+
* Starts a call of a method the service serves.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: leaflow.fleet.rpc.v1.Call call = 4;
|
|
50
|
+
*/
|
|
51
|
+
value: Call;
|
|
52
|
+
case: "call";
|
|
53
|
+
} | {
|
|
54
|
+
/**
|
|
55
|
+
* Answers a call of the service.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: leaflow.fleet.rpc.v1.CallResult call_result = 5;
|
|
58
|
+
*/
|
|
59
|
+
value: CallResult;
|
|
60
|
+
case: "callResult";
|
|
61
|
+
} | {
|
|
62
|
+
/**
|
|
63
|
+
* Cancels a call of the endpoint.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: leaflow.fleet.rpc.v1.CallCancel call_cancel = 6;
|
|
66
|
+
*/
|
|
67
|
+
value: CallCancel;
|
|
68
|
+
case: "callCancel";
|
|
69
|
+
} | {
|
|
70
|
+
/**
|
|
71
|
+
* Signaling for a PeerConnection. Session processes only.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: leaflow.fleet.transport.v1.Signal signal = 7;
|
|
74
|
+
*/
|
|
75
|
+
value: Signal;
|
|
76
|
+
case: "signal";
|
|
77
|
+
} | {
|
|
78
|
+
/**
|
|
79
|
+
* A step of a migration. Session processes only.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: leaflow.fleet.transport.v1.Migration migration = 8;
|
|
82
|
+
*/
|
|
83
|
+
value: Migration;
|
|
84
|
+
case: "migration";
|
|
85
|
+
} | {
|
|
86
|
+
/**
|
|
87
|
+
* The endpoint closes the connection.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: leaflow.fleet.control.v1.Close close = 9;
|
|
90
|
+
*/
|
|
91
|
+
value: Close;
|
|
92
|
+
case: "close";
|
|
93
|
+
} | {
|
|
94
|
+
/**
|
|
95
|
+
* A piece of a message too large to send whole.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: leaflow.fleet.control.v1.Fragment fragment = 10;
|
|
98
|
+
*/
|
|
99
|
+
value: Fragment;
|
|
100
|
+
case: "fragment";
|
|
101
|
+
} | {
|
|
102
|
+
case: undefined;
|
|
103
|
+
value?: undefined;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message leaflow.fleet.control.v1.ClientMessage.
|
|
108
|
+
* Use `create(ClientMessageSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const ClientMessageSchema: GenMessage<ClientMessage>;
|
|
111
|
+
/**
|
|
112
|
+
* A message from the service.
|
|
113
|
+
*
|
|
114
|
+
* @generated from message leaflow.fleet.control.v1.ServerMessage
|
|
115
|
+
*/
|
|
116
|
+
export type ServerMessage = Message<"leaflow.fleet.control.v1.ServerMessage"> & {
|
|
117
|
+
/**
|
|
118
|
+
* The message.
|
|
119
|
+
*
|
|
120
|
+
* @generated from oneof leaflow.fleet.control.v1.ServerMessage.message
|
|
121
|
+
*/
|
|
122
|
+
message: {
|
|
123
|
+
/**
|
|
124
|
+
* The challenge and limits. The first message.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: leaflow.fleet.control.v1.ServerHello server_hello = 1;
|
|
127
|
+
*/
|
|
128
|
+
value: ServerHello;
|
|
129
|
+
case: "serverHello";
|
|
130
|
+
} | {
|
|
131
|
+
/**
|
|
132
|
+
* The service accepted ClientHello.
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: leaflow.fleet.control.v1.Welcome welcome = 2;
|
|
135
|
+
*/
|
|
136
|
+
value: Welcome;
|
|
137
|
+
case: "welcome";
|
|
138
|
+
} | {
|
|
139
|
+
/**
|
|
140
|
+
* Asks the endpoint to answer with a Pong.
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: leaflow.fleet.control.v1.Ping ping = 3;
|
|
143
|
+
*/
|
|
144
|
+
value: Ping;
|
|
145
|
+
case: "ping";
|
|
146
|
+
} | {
|
|
147
|
+
/**
|
|
148
|
+
* Answers a Ping of the endpoint.
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: leaflow.fleet.control.v1.Pong pong = 4;
|
|
151
|
+
*/
|
|
152
|
+
value: Pong;
|
|
153
|
+
case: "pong";
|
|
154
|
+
} | {
|
|
155
|
+
/**
|
|
156
|
+
* Starts a call of a method the endpoint serves.
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: leaflow.fleet.rpc.v1.Call call = 5;
|
|
159
|
+
*/
|
|
160
|
+
value: Call;
|
|
161
|
+
case: "call";
|
|
162
|
+
} | {
|
|
163
|
+
/**
|
|
164
|
+
* Answers a call of the endpoint.
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: leaflow.fleet.rpc.v1.CallResult call_result = 6;
|
|
167
|
+
*/
|
|
168
|
+
value: CallResult;
|
|
169
|
+
case: "callResult";
|
|
170
|
+
} | {
|
|
171
|
+
/**
|
|
172
|
+
* Cancels a call of the service.
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: leaflow.fleet.rpc.v1.CallCancel call_cancel = 7;
|
|
175
|
+
*/
|
|
176
|
+
value: CallCancel;
|
|
177
|
+
case: "callCancel";
|
|
178
|
+
} | {
|
|
179
|
+
/**
|
|
180
|
+
* Signaling for a PeerConnection, from its participant through the Fleet
|
|
181
|
+
* API. To session processes only.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: leaflow.fleet.transport.v1.Signal signal = 8;
|
|
184
|
+
*/
|
|
185
|
+
value: Signal;
|
|
186
|
+
case: "signal";
|
|
187
|
+
} | {
|
|
188
|
+
/**
|
|
189
|
+
* A step of a migration, from its participant through the Fleet API. To
|
|
190
|
+
* session processes only.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: leaflow.fleet.transport.v1.Migration migration = 9;
|
|
193
|
+
*/
|
|
194
|
+
value: Migration;
|
|
195
|
+
case: "migration";
|
|
196
|
+
} | {
|
|
197
|
+
/**
|
|
198
|
+
* The keys the service signs with, after they changed.
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: leaflow.fleet.control.v1.SigningKeys signing_keys = 10;
|
|
201
|
+
*/
|
|
202
|
+
value: SigningKeys;
|
|
203
|
+
case: "signingKeys";
|
|
204
|
+
} | {
|
|
205
|
+
/**
|
|
206
|
+
* The service closes the connection.
|
|
207
|
+
*
|
|
208
|
+
* @generated from field: leaflow.fleet.control.v1.Close close = 11;
|
|
209
|
+
*/
|
|
210
|
+
value: Close;
|
|
211
|
+
case: "close";
|
|
212
|
+
} | {
|
|
213
|
+
/**
|
|
214
|
+
* A piece of a message too large to send whole.
|
|
215
|
+
*
|
|
216
|
+
* @generated from field: leaflow.fleet.control.v1.Fragment fragment = 12;
|
|
217
|
+
*/
|
|
218
|
+
value: Fragment;
|
|
219
|
+
case: "fragment";
|
|
220
|
+
} | {
|
|
221
|
+
case: undefined;
|
|
222
|
+
value?: undefined;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Describes the message leaflow.fleet.control.v1.ServerMessage.
|
|
227
|
+
* Use `create(ServerMessageSchema)` to create a new message.
|
|
228
|
+
*/
|
|
229
|
+
export declare const ServerMessageSchema: GenMessage<ServerMessage>;
|
|
230
|
+
/**
|
|
231
|
+
* The service's side of the handshake. Every field is set; an endpoint closes
|
|
232
|
+
* with PROTOCOL_ERROR a ServerHello that lacks one.
|
|
233
|
+
*
|
|
234
|
+
* @generated from message leaflow.fleet.control.v1.ServerHello
|
|
235
|
+
*/
|
|
236
|
+
export type ServerHello = Message<"leaflow.fleet.control.v1.ServerHello"> & {
|
|
237
|
+
/**
|
|
238
|
+
* The HTTPS origin (RFC 6454) that names the service, such as
|
|
239
|
+
* "https://fleet.leaflow.cloud": the issuer of everything it signs.
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: string issuer = 1;
|
|
242
|
+
*/
|
|
243
|
+
issuer: string;
|
|
244
|
+
/**
|
|
245
|
+
* 32 random bytes, new for this connection, that the credential signs.
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: bytes challenge = 2;
|
|
248
|
+
*/
|
|
249
|
+
challenge: Uint8Array;
|
|
250
|
+
/**
|
|
251
|
+
* How long the endpoint may send nothing before it sends a Ping.
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: google.protobuf.Duration ping_interval = 3;
|
|
254
|
+
*/
|
|
255
|
+
pingInterval?: Duration | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* How long either side waits without receiving anything before it closes
|
|
258
|
+
* the connection.
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: google.protobuf.Duration idle_timeout = 4;
|
|
261
|
+
*/
|
|
262
|
+
idleTimeout?: Duration | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* The largest WebSocket message, in bytes, either end may send. At least
|
|
265
|
+
* 512 KiB, so that a Fragment always fits.
|
|
266
|
+
*
|
|
267
|
+
* @generated from field: uint32 max_message_size = 5;
|
|
268
|
+
*/
|
|
269
|
+
maxMessageSize: number;
|
|
270
|
+
/**
|
|
271
|
+
* How many calls of the endpoint may run on the service at a time. At
|
|
272
|
+
* least 1.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: uint32 max_concurrent_calls = 6;
|
|
275
|
+
*/
|
|
276
|
+
maxConcurrentCalls: number;
|
|
277
|
+
/**
|
|
278
|
+
* How fast the endpoint's message bucket refills, in messages a second
|
|
279
|
+
* (see Flow). At least 1.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: uint32 messages_per_second = 7;
|
|
282
|
+
*/
|
|
283
|
+
messagesPerSecond: number;
|
|
284
|
+
/**
|
|
285
|
+
* How many tokens the endpoint's message bucket holds (see Flow). At
|
|
286
|
+
* least 1.
|
|
287
|
+
*
|
|
288
|
+
* @generated from field: uint32 message_burst = 8;
|
|
289
|
+
*/
|
|
290
|
+
messageBurst: number;
|
|
291
|
+
/**
|
|
292
|
+
* How fast the endpoint's byte bucket refills, in bytes a second (see
|
|
293
|
+
* Flow). At least 1.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: uint32 bytes_per_second = 9;
|
|
296
|
+
*/
|
|
297
|
+
bytesPerSecond: number;
|
|
298
|
+
/**
|
|
299
|
+
* How many bytes the endpoint's byte bucket holds (see Flow). At least
|
|
300
|
+
* max_message_size, so that any message fits.
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: uint32 byte_burst = 10;
|
|
303
|
+
*/
|
|
304
|
+
byteBurst: number;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* Describes the message leaflow.fleet.control.v1.ServerHello.
|
|
308
|
+
* Use `create(ServerHelloSchema)` to create a new message.
|
|
309
|
+
*/
|
|
310
|
+
export declare const ServerHelloSchema: GenMessage<ServerHello>;
|
|
311
|
+
/**
|
|
312
|
+
* The endpoint's side of the handshake.
|
|
313
|
+
*
|
|
314
|
+
* @generated from message leaflow.fleet.control.v1.ClientHello
|
|
315
|
+
*/
|
|
316
|
+
export type ClientHello = Message<"leaflow.fleet.control.v1.ClientHello"> & {
|
|
317
|
+
/**
|
|
318
|
+
* Who the endpoint is. Its case decides what the connection may do.
|
|
319
|
+
*
|
|
320
|
+
* @generated from oneof leaflow.fleet.control.v1.ClientHello.credential
|
|
321
|
+
*/
|
|
322
|
+
credential: {
|
|
323
|
+
/**
|
|
324
|
+
* The daemon of an enrolled machine.
|
|
325
|
+
*
|
|
326
|
+
* @generated from field: leaflow.fleet.control.v1.MachineCredential machine = 1;
|
|
327
|
+
*/
|
|
328
|
+
value: MachineCredential;
|
|
329
|
+
case: "machine";
|
|
330
|
+
} | {
|
|
331
|
+
/**
|
|
332
|
+
* The daemon of a machine that is enrolling.
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: leaflow.fleet.control.v1.EnrollmentCredential enrollment = 2;
|
|
335
|
+
*/
|
|
336
|
+
value: EnrollmentCredential;
|
|
337
|
+
case: "enrollment";
|
|
338
|
+
} | {
|
|
339
|
+
/**
|
|
340
|
+
* A session process.
|
|
341
|
+
*
|
|
342
|
+
* @generated from field: leaflow.fleet.control.v1.SessionCredential session = 3;
|
|
343
|
+
*/
|
|
344
|
+
value: SessionCredential;
|
|
345
|
+
case: "session";
|
|
346
|
+
} | {
|
|
347
|
+
case: undefined;
|
|
348
|
+
value?: undefined;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* The endpoint software, such as "leaflow-fleet-agent/1.0.0". For
|
|
352
|
+
* diagnostics only. A machine reports its Agent's version with
|
|
353
|
+
* leaflow.fleet.machine.v1.
|
|
354
|
+
*
|
|
355
|
+
* @generated from field: string user_agent = 5;
|
|
356
|
+
*/
|
|
357
|
+
userAgent: string;
|
|
358
|
+
/**
|
|
359
|
+
* 16 random bytes that the endpoint process chooses when it starts and keeps
|
|
360
|
+
* for all its connections. They tell a connection of the same process from
|
|
361
|
+
* one of a process that started anew, whose calls in flight were lost (see
|
|
362
|
+
* Disconnection).
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: bytes instance_id = 6;
|
|
365
|
+
*/
|
|
366
|
+
instanceId: Uint8Array;
|
|
367
|
+
/**
|
|
368
|
+
* The request_ids of the calls the service made that this process received
|
|
369
|
+
* on an earlier connection and has not answered on an open one (see
|
|
370
|
+
* Disconnection). The process names each until the call's timeout has
|
|
371
|
+
* passed; at most 1024.
|
|
372
|
+
*
|
|
373
|
+
* @generated from field: repeated string received_request_ids = 7;
|
|
374
|
+
*/
|
|
375
|
+
receivedRequestIds: string[];
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Describes the message leaflow.fleet.control.v1.ClientHello.
|
|
379
|
+
* Use `create(ClientHelloSchema)` to create a new message.
|
|
380
|
+
*/
|
|
381
|
+
export declare const ClientHelloSchema: GenMessage<ClientHello>;
|
|
382
|
+
/**
|
|
383
|
+
* The daemon of an enrolled machine, with its machine key.
|
|
384
|
+
*
|
|
385
|
+
* @generated from message leaflow.fleet.control.v1.MachineCredential
|
|
386
|
+
*/
|
|
387
|
+
export type MachineCredential = Message<"leaflow.fleet.control.v1.MachineCredential"> & {
|
|
388
|
+
/**
|
|
389
|
+
* The machine, as EnrollMachine returned it.
|
|
390
|
+
*
|
|
391
|
+
* @generated from field: string machine_id = 1;
|
|
392
|
+
*/
|
|
393
|
+
machineId: string;
|
|
394
|
+
/**
|
|
395
|
+
* The Ed25519 signature by the machine key over the ASCII bytes
|
|
396
|
+
* "leaflow.fleet.control.v1.MachineCredential", one zero byte and
|
|
397
|
+
* ServerHello.challenge.
|
|
398
|
+
*
|
|
399
|
+
* @generated from field: bytes signature = 2;
|
|
400
|
+
*/
|
|
401
|
+
signature: Uint8Array;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* Describes the message leaflow.fleet.control.v1.MachineCredential.
|
|
405
|
+
* Use `create(MachineCredentialSchema)` to create a new message.
|
|
406
|
+
*/
|
|
407
|
+
export declare const MachineCredentialSchema: GenMessage<MachineCredential>;
|
|
408
|
+
/**
|
|
409
|
+
* The daemon of a machine that is not enrolled yet, with the machine key it
|
|
410
|
+
* generated. Any key that signs is admitted, but only to call EnrollMachine.
|
|
411
|
+
*
|
|
412
|
+
* @generated from message leaflow.fleet.control.v1.EnrollmentCredential
|
|
413
|
+
*/
|
|
414
|
+
export type EnrollmentCredential = Message<"leaflow.fleet.control.v1.EnrollmentCredential"> & {
|
|
415
|
+
/**
|
|
416
|
+
* The Ed25519 public key, 32 bytes.
|
|
417
|
+
*
|
|
418
|
+
* @generated from field: bytes public_key = 1;
|
|
419
|
+
*/
|
|
420
|
+
publicKey: Uint8Array;
|
|
421
|
+
/**
|
|
422
|
+
* The signature by public_key over the ASCII bytes
|
|
423
|
+
* "leaflow.fleet.control.v1.EnrollmentCredential", one zero byte
|
|
424
|
+
* and ServerHello.challenge.
|
|
425
|
+
*
|
|
426
|
+
* @generated from field: bytes signature = 2;
|
|
427
|
+
*/
|
|
428
|
+
signature: Uint8Array;
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* Describes the message leaflow.fleet.control.v1.EnrollmentCredential.
|
|
432
|
+
* Use `create(EnrollmentCredentialSchema)` to create a new message.
|
|
433
|
+
*/
|
|
434
|
+
export declare const EnrollmentCredentialSchema: GenMessage<EnrollmentCredential>;
|
|
435
|
+
/**
|
|
436
|
+
* A session process, with the key its machine delegated to it.
|
|
437
|
+
*
|
|
438
|
+
* @generated from message leaflow.fleet.control.v1.SessionCredential
|
|
439
|
+
*/
|
|
440
|
+
export type SessionCredential = Message<"leaflow.fleet.control.v1.SessionCredential"> & {
|
|
441
|
+
/**
|
|
442
|
+
* A serialized SessionDelegation.
|
|
443
|
+
*
|
|
444
|
+
* @generated from field: bytes delegation = 1;
|
|
445
|
+
*/
|
|
446
|
+
delegation: Uint8Array;
|
|
447
|
+
/**
|
|
448
|
+
* The Ed25519 signature by the machine key over the ASCII bytes
|
|
449
|
+
* "leaflow.fleet.control.v1.SessionDelegation", one zero byte and
|
|
450
|
+
* delegation.
|
|
451
|
+
*
|
|
452
|
+
* @generated from field: bytes delegation_signature = 2;
|
|
453
|
+
*/
|
|
454
|
+
delegationSignature: Uint8Array;
|
|
455
|
+
/**
|
|
456
|
+
* The signature by SessionDelegation.session_public_key over the ASCII
|
|
457
|
+
* bytes "leaflow.fleet.control.v1.SessionCredential", one zero
|
|
458
|
+
* byte and ServerHello.challenge.
|
|
459
|
+
*
|
|
460
|
+
* @generated from field: bytes signature = 3;
|
|
461
|
+
*/
|
|
462
|
+
signature: Uint8Array;
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* Describes the message leaflow.fleet.control.v1.SessionCredential.
|
|
466
|
+
* Use `create(SessionCredentialSchema)` to create a new message.
|
|
467
|
+
*/
|
|
468
|
+
export declare const SessionCredentialSchema: GenMessage<SessionCredential>;
|
|
469
|
+
/**
|
|
470
|
+
* The daemon's statement that a key acts for one of its sessions. The daemon
|
|
471
|
+
* signs it without asking the service; the service also checks that the
|
|
472
|
+
* session belongs to the machine and has not ended, and otherwise closes with
|
|
473
|
+
* SESSION_NOT_FOUND.
|
|
474
|
+
*
|
|
475
|
+
* @generated from message leaflow.fleet.control.v1.SessionDelegation
|
|
476
|
+
*/
|
|
477
|
+
export type SessionDelegation = Message<"leaflow.fleet.control.v1.SessionDelegation"> & {
|
|
478
|
+
/**
|
|
479
|
+
* The machine that signs.
|
|
480
|
+
*
|
|
481
|
+
* @generated from field: string machine_id = 1;
|
|
482
|
+
*/
|
|
483
|
+
machineId: string;
|
|
484
|
+
/**
|
|
485
|
+
* The session the key acts for.
|
|
486
|
+
*
|
|
487
|
+
* @generated from field: string session_id = 2;
|
|
488
|
+
*/
|
|
489
|
+
sessionId: string;
|
|
490
|
+
/**
|
|
491
|
+
* The session process's Ed25519 public key, 32 bytes. Its private half
|
|
492
|
+
* never leaves that process, and a process that starts again makes a new
|
|
493
|
+
* one.
|
|
494
|
+
*
|
|
495
|
+
* @generated from field: bytes session_public_key = 3;
|
|
496
|
+
*/
|
|
497
|
+
sessionPublicKey: Uint8Array;
|
|
498
|
+
/**
|
|
499
|
+
* When the daemon signed it. Refused when more than 5 minutes ahead of the
|
|
500
|
+
* service's clock.
|
|
501
|
+
*
|
|
502
|
+
* @generated from field: google.protobuf.Timestamp issued_at = 4;
|
|
503
|
+
*/
|
|
504
|
+
issuedAt?: Timestamp | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* At most 15 minutes after issued_at. Refused once this time and 5 more
|
|
507
|
+
* minutes have passed. It bounds the handshake only, not the connection.
|
|
508
|
+
*
|
|
509
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 5;
|
|
510
|
+
*/
|
|
511
|
+
expiresAt?: Timestamp | undefined;
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* Describes the message leaflow.fleet.control.v1.SessionDelegation.
|
|
515
|
+
* Use `create(SessionDelegationSchema)` to create a new message.
|
|
516
|
+
*/
|
|
517
|
+
export declare const SessionDelegationSchema: GenMessage<SessionDelegation>;
|
|
518
|
+
/**
|
|
519
|
+
* The service accepted ClientHello.
|
|
520
|
+
*
|
|
521
|
+
* @generated from message leaflow.fleet.control.v1.Welcome
|
|
522
|
+
*/
|
|
523
|
+
export type Welcome = Message<"leaflow.fleet.control.v1.Welcome"> & {
|
|
524
|
+
/**
|
|
525
|
+
* The connection.
|
|
526
|
+
*
|
|
527
|
+
* @generated from field: uint64 connection_id = 1;
|
|
528
|
+
*/
|
|
529
|
+
connectionId: bigint;
|
|
530
|
+
/**
|
|
531
|
+
* The machine. Empty while enrolling.
|
|
532
|
+
*
|
|
533
|
+
* @generated from field: string machine_id = 2;
|
|
534
|
+
*/
|
|
535
|
+
machineId: string;
|
|
536
|
+
/**
|
|
537
|
+
* The session. Session processes only.
|
|
538
|
+
*
|
|
539
|
+
* @generated from field: string session_id = 3;
|
|
540
|
+
*/
|
|
541
|
+
sessionId: string;
|
|
542
|
+
/**
|
|
543
|
+
* The keys the service signs with.
|
|
544
|
+
*
|
|
545
|
+
* @generated from field: leaflow.fleet.control.v1.SigningKeys signing_keys = 4;
|
|
546
|
+
*/
|
|
547
|
+
signingKeys?: SigningKeys | undefined;
|
|
548
|
+
/**
|
|
549
|
+
* How long, after this connection drops, the endpoint keeps the results of
|
|
550
|
+
* the calls it received on it (see Disconnection) and, for a session
|
|
551
|
+
* process, the service keeps the session's participants (see Resumption).
|
|
552
|
+
*
|
|
553
|
+
* @generated from field: google.protobuf.Duration resume_grace = 5;
|
|
554
|
+
*/
|
|
555
|
+
resumeGrace?: Duration | undefined;
|
|
556
|
+
/**
|
|
557
|
+
* This connection follows one of the same process (ClientHello.instance_id);
|
|
558
|
+
* for a session process, also within resume_grace, so that the session kept
|
|
559
|
+
* its participants.
|
|
560
|
+
*
|
|
561
|
+
* @generated from field: bool resumed = 6;
|
|
562
|
+
*/
|
|
563
|
+
resumed: boolean;
|
|
564
|
+
};
|
|
565
|
+
/**
|
|
566
|
+
* Describes the message leaflow.fleet.control.v1.Welcome.
|
|
567
|
+
* Use `create(WelcomeSchema)` to create a new message.
|
|
568
|
+
*/
|
|
569
|
+
export declare const WelcomeSchema: GenMessage<Welcome>;
|
|
570
|
+
/**
|
|
571
|
+
* The keys the service signs with, all of them. Replaces the previous set.
|
|
572
|
+
*
|
|
573
|
+
* @generated from message leaflow.fleet.control.v1.SigningKeys
|
|
574
|
+
*/
|
|
575
|
+
export type SigningKeys = Message<"leaflow.fleet.control.v1.SigningKeys"> & {
|
|
576
|
+
/**
|
|
577
|
+
* At most 8.
|
|
578
|
+
*
|
|
579
|
+
* @generated from field: repeated leaflow.fleet.control.v1.PublicKey keys = 1;
|
|
580
|
+
*/
|
|
581
|
+
keys: PublicKey[];
|
|
582
|
+
};
|
|
583
|
+
/**
|
|
584
|
+
* Describes the message leaflow.fleet.control.v1.SigningKeys.
|
|
585
|
+
* Use `create(SigningKeysSchema)` to create a new message.
|
|
586
|
+
*/
|
|
587
|
+
export declare const SigningKeysSchema: GenMessage<SigningKeys>;
|
|
588
|
+
/**
|
|
589
|
+
* A public key of the service.
|
|
590
|
+
*
|
|
591
|
+
* @generated from message leaflow.fleet.control.v1.PublicKey
|
|
592
|
+
*/
|
|
593
|
+
export type PublicKey = Message<"leaflow.fleet.control.v1.PublicKey"> & {
|
|
594
|
+
/**
|
|
595
|
+
* The key_id that signed statements name.
|
|
596
|
+
*
|
|
597
|
+
* @generated from field: string key_id = 1;
|
|
598
|
+
*/
|
|
599
|
+
keyId: string;
|
|
600
|
+
/**
|
|
601
|
+
* The key.
|
|
602
|
+
*
|
|
603
|
+
* @generated from oneof leaflow.fleet.control.v1.PublicKey.key
|
|
604
|
+
*/
|
|
605
|
+
key: {
|
|
606
|
+
/**
|
|
607
|
+
* An Ed25519 public key (RFC 8032), 32 bytes.
|
|
608
|
+
*
|
|
609
|
+
* @generated from field: bytes ed25519 = 2;
|
|
610
|
+
*/
|
|
611
|
+
value: Uint8Array;
|
|
612
|
+
case: "ed25519";
|
|
613
|
+
} | {
|
|
614
|
+
case: undefined;
|
|
615
|
+
value?: undefined;
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
/**
|
|
619
|
+
* Describes the message leaflow.fleet.control.v1.PublicKey.
|
|
620
|
+
* Use `create(PublicKeySchema)` to create a new message.
|
|
621
|
+
*/
|
|
622
|
+
export declare const PublicKeySchema: GenMessage<PublicKey>;
|
|
623
|
+
/**
|
|
624
|
+
* The service's statement of what one participant may do in one session. The
|
|
625
|
+
* session takes who the participant is and what it may do from here, never from
|
|
626
|
+
* the participant.
|
|
627
|
+
*
|
|
628
|
+
* @generated from message leaflow.fleet.control.v1.Authorization
|
|
629
|
+
*/
|
|
630
|
+
export type Authorization = Message<"leaflow.fleet.control.v1.Authorization"> & {
|
|
631
|
+
/**
|
|
632
|
+
* ServerHello.issuer of the service that signed it.
|
|
633
|
+
*
|
|
634
|
+
* @generated from field: string issuer = 1;
|
|
635
|
+
*/
|
|
636
|
+
issuer: string;
|
|
637
|
+
/**
|
|
638
|
+
* The machine of the session.
|
|
639
|
+
*
|
|
640
|
+
* @generated from field: string machine_id = 2;
|
|
641
|
+
*/
|
|
642
|
+
machineId: string;
|
|
643
|
+
/**
|
|
644
|
+
* The session.
|
|
645
|
+
*
|
|
646
|
+
* @generated from field: string session_id = 3;
|
|
647
|
+
*/
|
|
648
|
+
sessionId: string;
|
|
649
|
+
/**
|
|
650
|
+
* The participant.
|
|
651
|
+
*
|
|
652
|
+
* @generated from field: uint64 participant_id = 4;
|
|
653
|
+
*/
|
|
654
|
+
participantId: bigint;
|
|
655
|
+
/**
|
|
656
|
+
* The platform user the participant acts for.
|
|
657
|
+
*
|
|
658
|
+
* @generated from field: string user_id = 5;
|
|
659
|
+
*/
|
|
660
|
+
userId: string;
|
|
661
|
+
/**
|
|
662
|
+
* The user's name, plain text.
|
|
663
|
+
*
|
|
664
|
+
* @generated from field: string display_name = 6;
|
|
665
|
+
*/
|
|
666
|
+
displayName: string;
|
|
667
|
+
/**
|
|
668
|
+
* The name the client gave itself when it created the participant, such
|
|
669
|
+
* as "console" or "assistant", at most 64 bytes. Neither unique nor
|
|
670
|
+
* verified: it lets people tell participants apart and grants nothing.
|
|
671
|
+
*
|
|
672
|
+
* @generated from field: string client_name = 7;
|
|
673
|
+
*/
|
|
674
|
+
clientName: string;
|
|
675
|
+
/**
|
|
676
|
+
* The participant's Ed25519 public key, 32 bytes. The session accepts only
|
|
677
|
+
* a PeerConnection whose participant Hello is signed with it
|
|
678
|
+
* (leaflow.fleet.transport.v1).
|
|
679
|
+
*
|
|
680
|
+
* @generated from field: bytes participant_public_key = 9;
|
|
681
|
+
*/
|
|
682
|
+
participantPublicKey: Uint8Array;
|
|
683
|
+
/**
|
|
684
|
+
* The participant may only watch, whatever policies say.
|
|
685
|
+
*
|
|
686
|
+
* @generated from field: bool read_only = 11;
|
|
687
|
+
*/
|
|
688
|
+
readOnly: boolean;
|
|
689
|
+
/**
|
|
690
|
+
* The policies of the domains the participant may use, at most one of each
|
|
691
|
+
* type, such as a leaflow.fleet.filetransfer.v1.FileTransferPolicy.
|
|
692
|
+
* A domain whose policy is missing is denied. A type the session does not
|
|
693
|
+
* know is ignored.
|
|
694
|
+
*
|
|
695
|
+
* @generated from field: repeated google.protobuf.Any policies = 12;
|
|
696
|
+
*/
|
|
697
|
+
policies: Any[];
|
|
698
|
+
/**
|
|
699
|
+
* When the service issued it. Refused when more than 5 minutes ahead of the
|
|
700
|
+
* session's clock.
|
|
701
|
+
*
|
|
702
|
+
* @generated from field: google.protobuf.Timestamp issued_at = 13;
|
|
703
|
+
*/
|
|
704
|
+
issuedAt?: Timestamp | undefined;
|
|
705
|
+
/**
|
|
706
|
+
* When it ends. The session refuses it, and ends the participant's
|
|
707
|
+
* connection, once this time and 5 more minutes have passed.
|
|
708
|
+
*
|
|
709
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 14;
|
|
710
|
+
*/
|
|
711
|
+
expiresAt?: Timestamp | undefined;
|
|
712
|
+
};
|
|
713
|
+
/**
|
|
714
|
+
* Describes the message leaflow.fleet.control.v1.Authorization.
|
|
715
|
+
* Use `create(AuthorizationSchema)` to create a new message.
|
|
716
|
+
*/
|
|
717
|
+
export declare const AuthorizationSchema: GenMessage<Authorization>;
|
|
718
|
+
/**
|
|
719
|
+
* An Authorization signed by the service.
|
|
720
|
+
*
|
|
721
|
+
* @generated from message leaflow.fleet.control.v1.SignedAuthorization
|
|
722
|
+
*/
|
|
723
|
+
export type SignedAuthorization = Message<"leaflow.fleet.control.v1.SignedAuthorization"> & {
|
|
724
|
+
/**
|
|
725
|
+
* PublicKey.key_id of the key that signed it.
|
|
726
|
+
*
|
|
727
|
+
* @generated from field: string key_id = 1;
|
|
728
|
+
*/
|
|
729
|
+
keyId: string;
|
|
730
|
+
/**
|
|
731
|
+
* A serialized Authorization. Receivers decode it from these bytes only
|
|
732
|
+
* after the signature verified, and keep the bytes: others refer to their
|
|
733
|
+
* SHA-256.
|
|
734
|
+
*
|
|
735
|
+
* @generated from field: bytes authorization = 2;
|
|
736
|
+
*/
|
|
737
|
+
authorization: Uint8Array;
|
|
738
|
+
/**
|
|
739
|
+
* The Ed25519 signature over the ASCII bytes
|
|
740
|
+
* "leaflow.fleet.control.v1.Authorization", one zero byte and
|
|
741
|
+
* authorization.
|
|
742
|
+
*
|
|
743
|
+
* @generated from field: bytes signature = 3;
|
|
744
|
+
*/
|
|
745
|
+
signature: Uint8Array;
|
|
746
|
+
};
|
|
747
|
+
/**
|
|
748
|
+
* Describes the message leaflow.fleet.control.v1.SignedAuthorization.
|
|
749
|
+
* Use `create(SignedAuthorizationSchema)` to create a new message.
|
|
750
|
+
*/
|
|
751
|
+
export declare const SignedAuthorizationSchema: GenMessage<SignedAuthorization>;
|
|
752
|
+
/**
|
|
753
|
+
* Asks the peer to answer with a Pong at once (RFC 6455 §5.5.2).
|
|
754
|
+
*
|
|
755
|
+
* @generated from message leaflow.fleet.control.v1.Ping
|
|
756
|
+
*/
|
|
757
|
+
export type Ping = Message<"leaflow.fleet.control.v1.Ping"> & {
|
|
758
|
+
/**
|
|
759
|
+
* A value of the sender's monotonic clock, in milliseconds. Only the
|
|
760
|
+
* sender interprets it.
|
|
761
|
+
*
|
|
762
|
+
* @generated from field: uint64 monotonic_ms = 1;
|
|
763
|
+
*/
|
|
764
|
+
monotonicMs: bigint;
|
|
765
|
+
};
|
|
766
|
+
/**
|
|
767
|
+
* Describes the message leaflow.fleet.control.v1.Ping.
|
|
768
|
+
* Use `create(PingSchema)` to create a new message.
|
|
769
|
+
*/
|
|
770
|
+
export declare const PingSchema: GenMessage<Ping>;
|
|
771
|
+
/**
|
|
772
|
+
* Answers a Ping (RFC 6455 §5.5.3).
|
|
773
|
+
*
|
|
774
|
+
* @generated from message leaflow.fleet.control.v1.Pong
|
|
775
|
+
*/
|
|
776
|
+
export type Pong = Message<"leaflow.fleet.control.v1.Pong"> & {
|
|
777
|
+
/**
|
|
778
|
+
* Ping.monotonic_ms, unchanged.
|
|
779
|
+
*
|
|
780
|
+
* @generated from field: uint64 monotonic_ms = 1;
|
|
781
|
+
*/
|
|
782
|
+
monotonicMs: bigint;
|
|
783
|
+
};
|
|
784
|
+
/**
|
|
785
|
+
* Describes the message leaflow.fleet.control.v1.Pong.
|
|
786
|
+
* Use `create(PongSchema)` to create a new message.
|
|
787
|
+
*/
|
|
788
|
+
export declare const PongSchema: GenMessage<Pong>;
|
|
789
|
+
/**
|
|
790
|
+
* A piece of the encoding of a ClientMessage or ServerMessage larger than
|
|
791
|
+
* 256 KiB (see Fragments).
|
|
792
|
+
*
|
|
793
|
+
* @generated from message leaflow.fleet.control.v1.Fragment
|
|
794
|
+
*/
|
|
795
|
+
export type Fragment = Message<"leaflow.fleet.control.v1.Fragment"> & {
|
|
796
|
+
/**
|
|
797
|
+
* Names the message among the messages the sender is sending in fragments
|
|
798
|
+
* on the connection.
|
|
799
|
+
*
|
|
800
|
+
* @generated from field: uint64 message_id = 1;
|
|
801
|
+
*/
|
|
802
|
+
messageId: bigint;
|
|
803
|
+
/**
|
|
804
|
+
* The next bytes of the encoding, at most 256 KiB.
|
|
805
|
+
*
|
|
806
|
+
* @generated from field: bytes data = 2;
|
|
807
|
+
*/
|
|
808
|
+
data: Uint8Array;
|
|
809
|
+
/**
|
|
810
|
+
* Set on the last fragment of the message.
|
|
811
|
+
*
|
|
812
|
+
* @generated from field: bool final = 3;
|
|
813
|
+
*/
|
|
814
|
+
final: boolean;
|
|
815
|
+
};
|
|
816
|
+
/**
|
|
817
|
+
* Describes the message leaflow.fleet.control.v1.Fragment.
|
|
818
|
+
* Use `create(FragmentSchema)` to create a new message.
|
|
819
|
+
*/
|
|
820
|
+
export declare const FragmentSchema: GenMessage<Fragment>;
|
|
821
|
+
/**
|
|
822
|
+
* Ends the connection in order. The sender then closes the WebSocket with
|
|
823
|
+
* code 4000 plus the reason's number (RFC 6455 §7.4.2), which stands for the
|
|
824
|
+
* reason when this message is lost.
|
|
825
|
+
*
|
|
826
|
+
* @generated from message leaflow.fleet.control.v1.Close
|
|
827
|
+
*/
|
|
828
|
+
export type Close = Message<"leaflow.fleet.control.v1.Close"> & {
|
|
829
|
+
/**
|
|
830
|
+
* Why the connection ends.
|
|
831
|
+
*
|
|
832
|
+
* @generated from field: leaflow.fleet.control.v1.CloseReason reason = 1;
|
|
833
|
+
*/
|
|
834
|
+
reason: CloseReason;
|
|
835
|
+
/**
|
|
836
|
+
* Plain text for logs, at most 1024 bytes.
|
|
837
|
+
*
|
|
838
|
+
* @generated from field: string reason_phrase = 2;
|
|
839
|
+
*/
|
|
840
|
+
reasonPhrase: string;
|
|
841
|
+
/**
|
|
842
|
+
* How long to wait at least before connecting again (see Reconnection).
|
|
843
|
+
* Always set with OVERLOADED; set with SERVER_UPGRADE, spread over up to 10
|
|
844
|
+
* seconds across connections so that they do not all come back at once.
|
|
845
|
+
*
|
|
846
|
+
* @generated from field: google.protobuf.Duration retry_delay = 3;
|
|
847
|
+
*/
|
|
848
|
+
retryDelay?: Duration | undefined;
|
|
849
|
+
};
|
|
850
|
+
/**
|
|
851
|
+
* Describes the message leaflow.fleet.control.v1.Close.
|
|
852
|
+
* Use `create(CloseSchema)` to create a new message.
|
|
853
|
+
*/
|
|
854
|
+
export declare const CloseSchema: GenMessage<Close>;
|
|
855
|
+
/**
|
|
856
|
+
* The request of AttachParticipant.
|
|
857
|
+
*
|
|
858
|
+
* @generated from message leaflow.fleet.control.v1.AttachParticipantRequest
|
|
859
|
+
*/
|
|
860
|
+
export type AttachParticipantRequest = Message<"leaflow.fleet.control.v1.AttachParticipantRequest"> & {
|
|
861
|
+
/**
|
|
862
|
+
* The participant's authorization, the same one the Fleet API returned for
|
|
863
|
+
* the participant.
|
|
864
|
+
*
|
|
865
|
+
* @generated from field: leaflow.fleet.control.v1.SignedAuthorization authorization = 1;
|
|
866
|
+
*/
|
|
867
|
+
authorization?: SignedAuthorization | undefined;
|
|
868
|
+
};
|
|
869
|
+
/**
|
|
870
|
+
* Describes the message leaflow.fleet.control.v1.AttachParticipantRequest.
|
|
871
|
+
* Use `create(AttachParticipantRequestSchema)` to create a new message.
|
|
872
|
+
*/
|
|
873
|
+
export declare const AttachParticipantRequestSchema: GenMessage<AttachParticipantRequest>;
|
|
874
|
+
/**
|
|
875
|
+
* The response of AttachParticipant.
|
|
876
|
+
*
|
|
877
|
+
* @generated from message leaflow.fleet.control.v1.AttachParticipantResponse
|
|
878
|
+
*/
|
|
879
|
+
export type AttachParticipantResponse = Message<"leaflow.fleet.control.v1.AttachParticipantResponse"> & {};
|
|
880
|
+
/**
|
|
881
|
+
* Describes the message leaflow.fleet.control.v1.AttachParticipantResponse.
|
|
882
|
+
* Use `create(AttachParticipantResponseSchema)` to create a new message.
|
|
883
|
+
*/
|
|
884
|
+
export declare const AttachParticipantResponseSchema: GenMessage<AttachParticipantResponse>;
|
|
885
|
+
/**
|
|
886
|
+
* The request of UpdateParticipantAuthorization.
|
|
887
|
+
*
|
|
888
|
+
* @generated from message leaflow.fleet.control.v1.UpdateParticipantAuthorizationRequest
|
|
889
|
+
*/
|
|
890
|
+
export type UpdateParticipantAuthorizationRequest = Message<"leaflow.fleet.control.v1.UpdateParticipantAuthorizationRequest"> & {
|
|
891
|
+
/**
|
|
892
|
+
* The renewed authorization.
|
|
893
|
+
*
|
|
894
|
+
* @generated from field: leaflow.fleet.control.v1.SignedAuthorization authorization = 1;
|
|
895
|
+
*/
|
|
896
|
+
authorization?: SignedAuthorization | undefined;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* Describes the message leaflow.fleet.control.v1.UpdateParticipantAuthorizationRequest.
|
|
900
|
+
* Use `create(UpdateParticipantAuthorizationRequestSchema)` to create a new message.
|
|
901
|
+
*/
|
|
902
|
+
export declare const UpdateParticipantAuthorizationRequestSchema: GenMessage<UpdateParticipantAuthorizationRequest>;
|
|
903
|
+
/**
|
|
904
|
+
* The response of UpdateParticipantAuthorization.
|
|
905
|
+
*
|
|
906
|
+
* @generated from message leaflow.fleet.control.v1.UpdateParticipantAuthorizationResponse
|
|
907
|
+
*/
|
|
908
|
+
export type UpdateParticipantAuthorizationResponse = Message<"leaflow.fleet.control.v1.UpdateParticipantAuthorizationResponse"> & {};
|
|
909
|
+
/**
|
|
910
|
+
* Describes the message leaflow.fleet.control.v1.UpdateParticipantAuthorizationResponse.
|
|
911
|
+
* Use `create(UpdateParticipantAuthorizationResponseSchema)` to create a new message.
|
|
912
|
+
*/
|
|
913
|
+
export declare const UpdateParticipantAuthorizationResponseSchema: GenMessage<UpdateParticipantAuthorizationResponse>;
|
|
914
|
+
/**
|
|
915
|
+
* The request of DetachParticipant.
|
|
916
|
+
*
|
|
917
|
+
* @generated from message leaflow.fleet.control.v1.DetachParticipantRequest
|
|
918
|
+
*/
|
|
919
|
+
export type DetachParticipantRequest = Message<"leaflow.fleet.control.v1.DetachParticipantRequest"> & {
|
|
920
|
+
/**
|
|
921
|
+
* The participant.
|
|
922
|
+
*
|
|
923
|
+
* @generated from field: uint64 participant_id = 1;
|
|
924
|
+
*/
|
|
925
|
+
participantId: bigint;
|
|
926
|
+
/**
|
|
927
|
+
* Why it ends.
|
|
928
|
+
*
|
|
929
|
+
* @generated from field: leaflow.fleet.control.v1.ParticipantEndReason reason = 2;
|
|
930
|
+
*/
|
|
931
|
+
reason: ParticipantEndReason;
|
|
932
|
+
};
|
|
933
|
+
/**
|
|
934
|
+
* Describes the message leaflow.fleet.control.v1.DetachParticipantRequest.
|
|
935
|
+
* Use `create(DetachParticipantRequestSchema)` to create a new message.
|
|
936
|
+
*/
|
|
937
|
+
export declare const DetachParticipantRequestSchema: GenMessage<DetachParticipantRequest>;
|
|
938
|
+
/**
|
|
939
|
+
* The response of DetachParticipant.
|
|
940
|
+
*
|
|
941
|
+
* @generated from message leaflow.fleet.control.v1.DetachParticipantResponse
|
|
942
|
+
*/
|
|
943
|
+
export type DetachParticipantResponse = Message<"leaflow.fleet.control.v1.DetachParticipantResponse"> & {};
|
|
944
|
+
/**
|
|
945
|
+
* Describes the message leaflow.fleet.control.v1.DetachParticipantResponse.
|
|
946
|
+
* Use `create(DetachParticipantResponseSchema)` to create a new message.
|
|
947
|
+
*/
|
|
948
|
+
export declare const DetachParticipantResponseSchema: GenMessage<DetachParticipantResponse>;
|
|
949
|
+
/**
|
|
950
|
+
* Why a control connection ends.
|
|
951
|
+
*
|
|
952
|
+
* @generated from enum leaflow.fleet.control.v1.CloseReason
|
|
953
|
+
*/
|
|
954
|
+
export declare enum CloseReason {
|
|
955
|
+
/**
|
|
956
|
+
* @generated from enum value: CLOSE_REASON_UNSPECIFIED = 0;
|
|
957
|
+
*/
|
|
958
|
+
UNSPECIFIED = 0,
|
|
959
|
+
/**
|
|
960
|
+
* An ordinary close. Either side.
|
|
961
|
+
*
|
|
962
|
+
* @generated from enum value: CLOSE_REASON_DONE = 1;
|
|
963
|
+
*/
|
|
964
|
+
DONE = 1,
|
|
965
|
+
/**
|
|
966
|
+
* The endpoint goes away. Endpoint only.
|
|
967
|
+
*
|
|
968
|
+
* @generated from enum value: CLOSE_REASON_CLIENT_EXIT = 2;
|
|
969
|
+
*/
|
|
970
|
+
CLIENT_EXIT = 2,
|
|
971
|
+
/**
|
|
972
|
+
* The service shuts down. Service only.
|
|
973
|
+
*
|
|
974
|
+
* @generated from enum value: CLOSE_REASON_SERVER_SHUTDOWN = 3;
|
|
975
|
+
*/
|
|
976
|
+
SERVER_SHUTDOWN = 3,
|
|
977
|
+
/**
|
|
978
|
+
* The service restarts; connect again after retry_delay. Service only.
|
|
979
|
+
*
|
|
980
|
+
* @generated from enum value: CLOSE_REASON_SERVER_UPGRADE = 4;
|
|
981
|
+
*/
|
|
982
|
+
SERVER_UPGRADE = 4,
|
|
983
|
+
/**
|
|
984
|
+
* Nothing arrived for idle_timeout. Either side.
|
|
985
|
+
*
|
|
986
|
+
* @generated from enum value: CLOSE_REASON_PING_TIMEOUT = 5;
|
|
987
|
+
*/
|
|
988
|
+
PING_TIMEOUT = 5,
|
|
989
|
+
/**
|
|
990
|
+
* ClientHello did not arrive in time. Service only.
|
|
991
|
+
*
|
|
992
|
+
* @generated from enum value: CLOSE_REASON_HELLO_TIMEOUT = 6;
|
|
993
|
+
*/
|
|
994
|
+
HELLO_TIMEOUT = 6,
|
|
995
|
+
/**
|
|
996
|
+
* A malformed or unexpected message. Either side.
|
|
997
|
+
*
|
|
998
|
+
* @generated from enum value: CLOSE_REASON_PROTOCOL_ERROR = 7;
|
|
999
|
+
*/
|
|
1000
|
+
PROTOCOL_ERROR = 7,
|
|
1001
|
+
/**
|
|
1002
|
+
* A message larger than max_message_size, or one joined from fragments
|
|
1003
|
+
* larger than 16 MiB. Either side.
|
|
1004
|
+
*
|
|
1005
|
+
* @generated from enum value: CLOSE_REASON_MESSAGE_TOO_BIG = 8;
|
|
1006
|
+
*/
|
|
1007
|
+
MESSAGE_TOO_BIG = 8,
|
|
1008
|
+
/**
|
|
1009
|
+
* The credential did not verify, or names an unknown machine or another
|
|
1010
|
+
* key. For a machine credential it is final: the daemon stops and its
|
|
1011
|
+
* machine must enroll again. Service only.
|
|
1012
|
+
*
|
|
1013
|
+
* @generated from enum value: CLOSE_REASON_AUTHENTICATION_FAILED = 9;
|
|
1014
|
+
*/
|
|
1015
|
+
AUTHENTICATION_FAILED = 9,
|
|
1016
|
+
/**
|
|
1017
|
+
* The endpoint is known but not allowed, such as the daemon of a removed
|
|
1018
|
+
* machine. Service only.
|
|
1019
|
+
*
|
|
1020
|
+
* @generated from enum value: CLOSE_REASON_PERMISSION_DENIED = 10;
|
|
1021
|
+
*/
|
|
1022
|
+
PERMISSION_DENIED = 10,
|
|
1023
|
+
/**
|
|
1024
|
+
* The session named by the credential does not exist or has ended.
|
|
1025
|
+
* Service only.
|
|
1026
|
+
*
|
|
1027
|
+
* @generated from enum value: CLOSE_REASON_SESSION_NOT_FOUND = 11;
|
|
1028
|
+
*/
|
|
1029
|
+
SESSION_NOT_FOUND = 11,
|
|
1030
|
+
/**
|
|
1031
|
+
* A newer connection with the same identity replaced this one, such as a
|
|
1032
|
+
* daemon that connected again. Service only.
|
|
1033
|
+
*
|
|
1034
|
+
* @generated from enum value: CLOSE_REASON_CONNECTION_REPLACED = 12;
|
|
1035
|
+
*/
|
|
1036
|
+
CONNECTION_REPLACED = 12,
|
|
1037
|
+
/**
|
|
1038
|
+
* The session ends. Session process only, just before its session ends.
|
|
1039
|
+
*
|
|
1040
|
+
* @generated from enum value: CLOSE_REASON_SESSION_EXIT = 13;
|
|
1041
|
+
*/
|
|
1042
|
+
SESSION_EXIT = 13,
|
|
1043
|
+
/**
|
|
1044
|
+
* A rule or a rate limit was broken. Either side.
|
|
1045
|
+
*
|
|
1046
|
+
* @generated from enum value: CLOSE_REASON_POLICY_VIOLATION = 16;
|
|
1047
|
+
*/
|
|
1048
|
+
POLICY_VIOLATION = 16,
|
|
1049
|
+
/**
|
|
1050
|
+
* The sender failed. Either side.
|
|
1051
|
+
*
|
|
1052
|
+
* @generated from enum value: CLOSE_REASON_INTERNAL_ERROR = 17;
|
|
1053
|
+
*/
|
|
1054
|
+
INTERNAL_ERROR = 17,
|
|
1055
|
+
/**
|
|
1056
|
+
* The service cannot serve the connection now, or the endpoint connected
|
|
1057
|
+
* too often; connect again after retry_delay, which is always set. Service
|
|
1058
|
+
* only.
|
|
1059
|
+
*
|
|
1060
|
+
* @generated from enum value: CLOSE_REASON_OVERLOADED = 18;
|
|
1061
|
+
*/
|
|
1062
|
+
OVERLOADED = 18,
|
|
1063
|
+
/**
|
|
1064
|
+
* The endpoint did not read what the service sent as it arrived. Service
|
|
1065
|
+
* only.
|
|
1066
|
+
*
|
|
1067
|
+
* @generated from enum value: CLOSE_REASON_ENDPOINT_TOO_SLOW = 19;
|
|
1068
|
+
*/
|
|
1069
|
+
ENDPOINT_TOO_SLOW = 19
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Describes the enum leaflow.fleet.control.v1.CloseReason.
|
|
1073
|
+
*/
|
|
1074
|
+
export declare const CloseReasonSchema: GenEnum<CloseReason>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Why a participant ends. The session learns it with DetachParticipant, and the
|
|
1077
|
+
* participant's user through the participant.ended event of the Fleet API.
|
|
1078
|
+
*
|
|
1079
|
+
* @generated from enum leaflow.fleet.control.v1.ParticipantEndReason
|
|
1080
|
+
*/
|
|
1081
|
+
export declare enum ParticipantEndReason {
|
|
1082
|
+
/**
|
|
1083
|
+
* @generated from enum value: PARTICIPANT_END_REASON_UNSPECIFIED = 0;
|
|
1084
|
+
*/
|
|
1085
|
+
UNSPECIFIED = 0,
|
|
1086
|
+
/**
|
|
1087
|
+
* Its user ended it.
|
|
1088
|
+
*
|
|
1089
|
+
* @generated from enum value: PARTICIPANT_END_REASON_LEFT = 1;
|
|
1090
|
+
*/
|
|
1091
|
+
LEFT = 1,
|
|
1092
|
+
/**
|
|
1093
|
+
* Someone else ended it, such as the owner of the session or an operator.
|
|
1094
|
+
*
|
|
1095
|
+
* @generated from enum value: PARTICIPANT_END_REASON_REMOVED = 2;
|
|
1096
|
+
*/
|
|
1097
|
+
REMOVED = 2,
|
|
1098
|
+
/**
|
|
1099
|
+
* It was not renewed before its lease ran out.
|
|
1100
|
+
*
|
|
1101
|
+
* @generated from enum value: PARTICIPANT_END_REASON_LEASE_EXPIRED = 3;
|
|
1102
|
+
*/
|
|
1103
|
+
LEASE_EXPIRED = 3,
|
|
1104
|
+
/**
|
|
1105
|
+
* Its session ended.
|
|
1106
|
+
*
|
|
1107
|
+
* @generated from enum value: PARTICIPANT_END_REASON_SESSION_ENDED = 4;
|
|
1108
|
+
*/
|
|
1109
|
+
SESSION_ENDED = 4,
|
|
1110
|
+
/**
|
|
1111
|
+
* The session's process did not connect again within Welcome.resume_grace.
|
|
1112
|
+
*
|
|
1113
|
+
* @generated from enum value: PARTICIPANT_END_REASON_SESSION_PROCESS_LOST = 5;
|
|
1114
|
+
*/
|
|
1115
|
+
SESSION_PROCESS_LOST = 5,
|
|
1116
|
+
/**
|
|
1117
|
+
* A permission it was created with was revoked from its user: what the
|
|
1118
|
+
* user is granted in the machine's project no longer covers what it may do.
|
|
1119
|
+
*
|
|
1120
|
+
* @generated from enum value: PARTICIPANT_END_REASON_PERMISSION_REVOKED = 6;
|
|
1121
|
+
*/
|
|
1122
|
+
PERMISSION_REVOKED = 6,
|
|
1123
|
+
/**
|
|
1124
|
+
* Its machine was removed from the project.
|
|
1125
|
+
*
|
|
1126
|
+
* @generated from enum value: PARTICIPANT_END_REASON_MACHINE_REMOVED = 7;
|
|
1127
|
+
*/
|
|
1128
|
+
MACHINE_REMOVED = 7,
|
|
1129
|
+
/**
|
|
1130
|
+
* The key that signed its authorization was revoked.
|
|
1131
|
+
*
|
|
1132
|
+
* @generated from enum value: PARTICIPANT_END_REASON_KEY_REVOKED = 8;
|
|
1133
|
+
*/
|
|
1134
|
+
KEY_REVOKED = 8,
|
|
1135
|
+
/**
|
|
1136
|
+
* Its first PeerConnection did not start, so it was never handed to its
|
|
1137
|
+
* client.
|
|
1138
|
+
*
|
|
1139
|
+
* @generated from enum value: PARTICIPANT_END_REASON_NOT_ADMITTED = 9;
|
|
1140
|
+
*/
|
|
1141
|
+
NOT_ADMITTED = 9,
|
|
1142
|
+
/**
|
|
1143
|
+
* Its user is no longer a member of the machine's project: the user left
|
|
1144
|
+
* or was removed.
|
|
1145
|
+
*
|
|
1146
|
+
* @generated from enum value: PARTICIPANT_END_REASON_MEMBERSHIP_ENDED = 10;
|
|
1147
|
+
*/
|
|
1148
|
+
MEMBERSHIP_ENDED = 10,
|
|
1149
|
+
/**
|
|
1150
|
+
* Its user's account is no longer active: it was suspended or banned, or
|
|
1151
|
+
* its deletion was requested.
|
|
1152
|
+
*
|
|
1153
|
+
* @generated from enum value: PARTICIPANT_END_REASON_USER_INACTIVE = 11;
|
|
1154
|
+
*/
|
|
1155
|
+
USER_INACTIVE = 11,
|
|
1156
|
+
/**
|
|
1157
|
+
* Deletion of the machine's project was requested.
|
|
1158
|
+
*
|
|
1159
|
+
* @generated from enum value: PARTICIPANT_END_REASON_PROJECT_DELETION_REQUESTED = 12;
|
|
1160
|
+
*/
|
|
1161
|
+
PROJECT_DELETION_REQUESTED = 12
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
* Describes the enum leaflow.fleet.control.v1.ParticipantEndReason.
|
|
1165
|
+
*/
|
|
1166
|
+
export declare const ParticipantEndReasonSchema: GenEnum<ParticipantEndReason>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Admits participants to a session and ends them. Served by the session process
|
|
1169
|
+
* on its control connection; the service calls it when a participant
|
|
1170
|
+
* is created, renewed or ends through the Fleet API.
|
|
1171
|
+
*
|
|
1172
|
+
* @generated from service leaflow.fleet.control.v1.ParticipantService
|
|
1173
|
+
*/
|
|
1174
|
+
export declare const ParticipantService: GenService<{
|
|
1175
|
+
/**
|
|
1176
|
+
* Admits a participant, before any of its signaling. The session verifies
|
|
1177
|
+
* the signature with a key of SigningKeys; that issuer, machine_id and
|
|
1178
|
+
* session_id are its own; and the lifetime. It then accepts the
|
|
1179
|
+
* PeerConnections of participant_id whose participant Hello is signed with
|
|
1180
|
+
* participant_public_key. Attaching an attached participant again with the
|
|
1181
|
+
* same authorization succeeds.
|
|
1182
|
+
*
|
|
1183
|
+
* Fails with PERMISSION_DENIED and reason AUTHORIZATION_INVALID when the
|
|
1184
|
+
* authorization does not verify.
|
|
1185
|
+
*
|
|
1186
|
+
* @generated from rpc leaflow.fleet.control.v1.ParticipantService.AttachParticipant
|
|
1187
|
+
*/
|
|
1188
|
+
attachParticipant: {
|
|
1189
|
+
methodKind: "unary";
|
|
1190
|
+
input: typeof AttachParticipantRequestSchema;
|
|
1191
|
+
output: typeof AttachParticipantResponseSchema;
|
|
1192
|
+
};
|
|
1193
|
+
/**
|
|
1194
|
+
* Replaces an attached participant's authorization with a renewed one,
|
|
1195
|
+
* verified as in AttachParticipant. Replacing it with the one the participant
|
|
1196
|
+
* holds already succeeds.
|
|
1197
|
+
*
|
|
1198
|
+
* Fails with:
|
|
1199
|
+
* - NOT_FOUND and reason PARTICIPANT_NOT_FOUND for a participant not
|
|
1200
|
+
* attached;
|
|
1201
|
+
* - PERMISSION_DENIED and reason AUTHORIZATION_INVALID when it does not
|
|
1202
|
+
* verify;
|
|
1203
|
+
* - FAILED_PRECONDITION and reason AUTHORIZATION_CHANGED when it differs
|
|
1204
|
+
* from the current one in more than later issued_at and expires_at.
|
|
1205
|
+
*
|
|
1206
|
+
* @generated from rpc leaflow.fleet.control.v1.ParticipantService.UpdateParticipantAuthorization
|
|
1207
|
+
*/
|
|
1208
|
+
updateParticipantAuthorization: {
|
|
1209
|
+
methodKind: "unary";
|
|
1210
|
+
input: typeof UpdateParticipantAuthorizationRequestSchema;
|
|
1211
|
+
output: typeof UpdateParticipantAuthorizationResponseSchema;
|
|
1212
|
+
};
|
|
1213
|
+
/**
|
|
1214
|
+
* Ends a participant. The session closes its PeerConnections and releases
|
|
1215
|
+
* what it held, such as pressed keys and the input lease, and answers once
|
|
1216
|
+
* the participant can do nothing more in the session. Detaching a participant
|
|
1217
|
+
* that is not attached succeeds.
|
|
1218
|
+
*
|
|
1219
|
+
* @generated from rpc leaflow.fleet.control.v1.ParticipantService.DetachParticipant
|
|
1220
|
+
*/
|
|
1221
|
+
detachParticipant: {
|
|
1222
|
+
methodKind: "unary";
|
|
1223
|
+
input: typeof DetachParticipantRequestSchema;
|
|
1224
|
+
output: typeof DetachParticipantResponseSchema;
|
|
1225
|
+
};
|
|
1226
|
+
}>;
|