// @generated by protoc-gen-connect-es v1.5.0 // @generated from file app/v1/billing.proto (package viam.app.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import { ChargeOrganizationRequest, ChargeOrganizationResponse, CreateInvoiceAndChargeImmediatelyRequest, CreateInvoiceAndChargeImmediatelyResponse, GetAvailableBillingTiersRequest, GetAvailableBillingTiersResponse, GetCurrentMonthUsageRequest, GetCurrentMonthUsageResponse, GetInvoicePdfRequest, GetInvoicePdfResponse, GetInvoicesSummaryRequest, GetInvoicesSummaryResponse, GetLocationBillingOrganizationRequest, GetLocationBillingOrganizationResponse, GetOrgBillingInformationRequest, GetOrgBillingInformationResponse, SendPaymentRequiredEmailRequest, SendPaymentRequiredEmailResponse, UpdateLocationBillingOrganizationRequest, UpdateLocationBillingOrganizationResponse, UpdateOrganizationBillingTierRequest, UpdateOrganizationBillingTierResponse } from "./billing_pb.js"; import { MethodKind } from "@bufbuild/protobuf"; /** * @generated from service viam.app.v1.BillingService */ export declare const BillingService: { readonly typeName: "viam.app.v1.BillingService", readonly methods: { /** * Detailed breakdown of current month's costs * * @generated from rpc viam.app.v1.BillingService.GetCurrentMonthUsage */ readonly getCurrentMonthUsage: { readonly name: "GetCurrentMonthUsage", readonly I: typeof GetCurrentMonthUsageRequest, readonly O: typeof GetCurrentMonthUsageResponse, readonly kind: MethodKind.Unary, }, /** * Org-level information (like billing email and payment details) * * @generated from rpc viam.app.v1.BillingService.GetOrgBillingInformation */ readonly getOrgBillingInformation: { readonly name: "GetOrgBillingInformation", readonly I: typeof GetOrgBillingInformationRequest, readonly O: typeof GetOrgBillingInformationResponse, readonly kind: MethodKind.Unary, }, /** * Total outstanding balance and previous invoices * * @generated from rpc viam.app.v1.BillingService.GetInvoicesSummary */ readonly getInvoicesSummary: { readonly name: "GetInvoicesSummary", readonly I: typeof GetInvoicesSummaryRequest, readonly O: typeof GetInvoicesSummaryResponse, readonly kind: MethodKind.Unary, }, /** * Download a PDF invoice * * @generated from rpc viam.app.v1.BillingService.GetInvoicePdf */ readonly getInvoicePdf: { readonly name: "GetInvoicePdf", readonly I: typeof GetInvoicePdfRequest, readonly O: typeof GetInvoicePdfResponse, readonly kind: MethodKind.ServerStreaming, }, /** * Send an email with a prompt to the user's org's billing page. * * @generated from rpc viam.app.v1.BillingService.SendPaymentRequiredEmail */ readonly sendPaymentRequiredEmail: { readonly name: "SendPaymentRequiredEmail", readonly I: typeof SendPaymentRequiredEmailRequest, readonly O: typeof SendPaymentRequiredEmailResponse, readonly kind: MethodKind.Unary, }, /** * Get available billing tiers that can be assigned to organizations * * @generated from rpc viam.app.v1.BillingService.GetAvailableBillingTiers */ readonly getAvailableBillingTiers: { readonly name: "GetAvailableBillingTiers", readonly I: typeof GetAvailableBillingTiersRequest, readonly O: typeof GetAvailableBillingTiersResponse, readonly kind: MethodKind.Unary, }, /** * Update an organization's billing tier * * @generated from rpc viam.app.v1.BillingService.UpdateOrganizationBillingTier */ readonly updateOrganizationBillingTier: { readonly name: "UpdateOrganizationBillingTier", readonly I: typeof UpdateOrganizationBillingTierRequest, readonly O: typeof UpdateOrganizationBillingTierResponse, readonly kind: MethodKind.Unary, }, /** * Get the billing organization for a location * * @generated from rpc viam.app.v1.BillingService.GetLocationBillingOrganization */ readonly getLocationBillingOrganization: { readonly name: "GetLocationBillingOrganization", readonly I: typeof GetLocationBillingOrganizationRequest, readonly O: typeof GetLocationBillingOrganizationResponse, readonly kind: MethodKind.Unary, }, /** * Update the billing organization for a location * * @generated from rpc viam.app.v1.BillingService.UpdateLocationBillingOrganization */ readonly updateLocationBillingOrganization: { readonly name: "UpdateLocationBillingOrganization", readonly I: typeof UpdateLocationBillingOrganizationRequest, readonly O: typeof UpdateLocationBillingOrganizationResponse, readonly kind: MethodKind.Unary, }, /** * Charge an organization on the spot * * @generated from rpc viam.app.v1.BillingService.ChargeOrganization */ readonly chargeOrganization: { readonly name: "ChargeOrganization", readonly I: typeof ChargeOrganizationRequest, readonly O: typeof ChargeOrganizationResponse, readonly kind: MethodKind.Unary, }, /** * Deprecated: Use ChargeOrganization instead * * @generated from rpc viam.app.v1.BillingService.CreateInvoiceAndChargeImmediately */ readonly createInvoiceAndChargeImmediately: { readonly name: "CreateInvoiceAndChargeImmediately", readonly I: typeof CreateInvoiceAndChargeImmediatelyRequest, readonly O: typeof CreateInvoiceAndChargeImmediatelyResponse, readonly kind: MethodKind.Unary, }, } };