Class BillingClient

Constructors

Properties

client: PromiseClient<{
    methods: {
        getCurrentMonthUsage: {
            I: typeof GetCurrentMonthUsageRequest;
            O: typeof GetCurrentMonthUsageResponse;
            kind: Unary;
            name: "GetCurrentMonthUsage";
        };
        getInvoicePdf: {
            I: typeof GetInvoicePdfRequest;
            O: typeof GetInvoicePdfResponse;
            kind: ServerStreaming;
            name: "GetInvoicePdf";
        };
        getInvoicesSummary: {
            I: typeof GetInvoicesSummaryRequest;
            O: typeof GetInvoicesSummaryResponse;
            kind: Unary;
            name: "GetInvoicesSummary";
        };
        getOrgBillingInformation: {
            I: typeof GetOrgBillingInformationRequest;
            O: typeof GetOrgBillingInformationResponse;
            kind: Unary;
            name: "GetOrgBillingInformation";
        };
        sendPaymentRequiredEmail: {
            I: typeof SendPaymentRequiredEmailRequest;
            O: typeof SendPaymentRequiredEmailResponse;
            kind: Unary;
            name: "SendPaymentRequiredEmail";
        };
    };
    typeName: "viam.app.v1.BillingService";
}>

Type declaration

Methods

  • Parameters

    • orgId: string

    Returns Promise<GetCurrentMonthUsageResponse>

  • Parameters

    • id: string
    • orgId: string

    Returns Promise<Uint8Array>

Generated using TypeDoc