google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
60 lines (59 loc) • 2.42 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { ListInvoicesResponse } from "./invoice_service";
import type { ListInvoicesRequest } from "./invoice_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* A service to fetch invoices issued for a billing setup during a given month.
*
* @generated from protobuf service google.ads.googleads.v11.services.InvoiceService
*/
export interface IInvoiceServiceClient {
/**
* Returns all invoices associated with a billing setup, for a given month.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [InvoiceError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: ListInvoices(google.ads.googleads.v11.services.ListInvoicesRequest) returns (google.ads.googleads.v11.services.ListInvoicesResponse);
*/
listInvoices(input: ListInvoicesRequest, options?: RpcOptions): UnaryCall<ListInvoicesRequest, ListInvoicesResponse>;
}
/**
* A service to fetch invoices issued for a billing setup during a given month.
*
* @generated from protobuf service google.ads.googleads.v11.services.InvoiceService
*/
export declare class InvoiceServiceClient implements IInvoiceServiceClient, ServiceInfo {
private readonly _transport;
typeName: string;
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
options: {
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
};
constructor(_transport: RpcTransport);
/**
* Returns all invoices associated with a billing setup, for a given month.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [InvoiceError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: ListInvoices(google.ads.googleads.v11.services.ListInvoicesRequest) returns (google.ads.googleads.v11.services.ListInvoicesResponse);
*/
listInvoices(input: ListInvoicesRequest, options?: RpcOptions): UnaryCall<ListInvoicesRequest, ListInvoicesResponse>;
}