// @generated by protoc-gen-connect-es v1.6.1 // @generated from file app/build/v1/build.proto (package viam.app.build.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import { GetLogsRequest, GetLogsResponse, LinkOrgRequest, LinkOrgResponse, LinkRepoRequest, LinkRepoResponse, ListAppLinksRequest, ListAppLinksResponse, ListJobsRequest, ListJobsResponse, ListRepoLinksRequest, ListRepoLinksResponse, RemoveAppLinkRequest, RemoveAppLinkResponse, StartBuildRequest, StartBuildResponse, StartPackageBuildRequest, StartPackageBuildResponse, StartReloadBuildRequest, StartReloadBuildResponse, StartSourceUploadBuildRequest, StartSourceUploadBuildResponse, UnlinkOrgRequest, UnlinkOrgResponse, UnlinkRepoRequest, UnlinkRepoResponse } from "./build_pb.js"; import { MethodKind } from "@bufbuild/protobuf"; /** * 2023-11-28: Unstable API. Will change. * * @generated from service viam.app.build.v1.BuildService */ export declare const BuildService: { readonly typeName: "viam.app.build.v1.BuildService", readonly methods: { /** * Asynchronously start a build of a Viam module, with one job per platform. * * @generated from rpc viam.app.build.v1.BuildService.StartBuild */ readonly startBuild: { readonly name: "StartBuild", readonly I: typeof StartBuildRequest, readonly O: typeof StartBuildResponse, readonly kind: MethodKind.Unary, }, /** * Fetch logs from a single job of a single build. * * @generated from rpc viam.app.build.v1.BuildService.GetLogs */ readonly getLogs: { readonly name: "GetLogs", readonly I: typeof GetLogsRequest, readonly O: typeof GetLogsResponse, readonly kind: MethodKind.ServerStreaming, }, /** * List the jobs for a module ordered by (build start time, alphabetical platform). * * @generated from rpc viam.app.build.v1.BuildService.ListJobs */ readonly listJobs: { readonly name: "ListJobs", readonly I: typeof ListJobsRequest, readonly O: typeof ListJobsResponse, readonly kind: MethodKind.Unary, }, /** * link a git repo to a module. * * @generated from rpc viam.app.build.v1.BuildService.LinkRepo */ readonly linkRepo: { readonly name: "LinkRepo", readonly I: typeof LinkRepoRequest, readonly O: typeof LinkRepoResponse, readonly kind: MethodKind.Unary, }, /** * delete a module-repo link. * * @generated from rpc viam.app.build.v1.BuildService.UnlinkRepo */ readonly unlinkRepo: { readonly name: "UnlinkRepo", readonly I: typeof UnlinkRepoRequest, readonly O: typeof UnlinkRepoResponse, readonly kind: MethodKind.Unary, }, /** * list module-repo links owned by user (directly or through orgs). * * @generated from rpc viam.app.build.v1.BuildService.ListRepoLinks */ readonly listRepoLinks: { readonly name: "ListRepoLinks", readonly I: typeof ListRepoLinksRequest, readonly O: typeof ListRepoLinksResponse, readonly kind: MethodKind.Unary, }, /** * list external oauth apps owned by user (directly or through orgs). * * @generated from rpc viam.app.build.v1.BuildService.ListAppLinks */ readonly listAppLinks: { readonly name: "ListAppLinks", readonly I: typeof ListAppLinksRequest, readonly O: typeof ListAppLinksResponse, readonly kind: MethodKind.Unary, }, /** * delete a viam-app link. * * @generated from rpc viam.app.build.v1.BuildService.RemoveAppLink */ readonly removeAppLink: { readonly name: "RemoveAppLink", readonly I: typeof RemoveAppLinkRequest, readonly O: typeof RemoveAppLinkResponse, readonly kind: MethodKind.Unary, }, /** * add an org to an oauth app link. * * @generated from rpc viam.app.build.v1.BuildService.LinkOrg */ readonly linkOrg: { readonly name: "LinkOrg", readonly I: typeof LinkOrgRequest, readonly O: typeof LinkOrgResponse, readonly kind: MethodKind.Unary, }, /** * remove an org from an oauth app link. * * @generated from rpc viam.app.build.v1.BuildService.UnlinkOrg */ readonly unlinkOrg: { readonly name: "UnlinkOrg", readonly I: typeof UnlinkOrgRequest, readonly O: typeof UnlinkOrgResponse, readonly kind: MethodKind.Unary, }, /** * upload the local dev environment and build a module for hot reloading * * @generated from rpc viam.app.build.v1.BuildService.StartReloadBuild */ readonly startReloadBuild: { readonly name: "StartReloadBuild", readonly I: typeof StartReloadBuildRequest, readonly O: typeof StartReloadBuildResponse, readonly kind: MethodKind.ClientStreaming, }, /** * upload the local dev environment and build a module to publish to the registry * * @generated from rpc viam.app.build.v1.BuildService.StartSourceUploadBuild */ readonly startSourceUploadBuild: { readonly name: "StartSourceUploadBuild", readonly I: typeof StartSourceUploadBuildRequest, readonly O: typeof StartSourceUploadBuildResponse, readonly kind: MethodKind.ClientStreaming, }, /** * Start a build where the source code is hosted by Viam * * @generated from rpc viam.app.build.v1.BuildService.StartPackageBuild */ readonly startPackageBuild: { readonly name: "StartPackageBuild", readonly I: typeof StartPackageBuildRequest, readonly O: typeof StartPackageBuildResponse, readonly kind: MethodKind.Unary, }, } };