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) • 3.04 kB
TypeScript
import { ServiceType } from "@protobuf-ts/runtime-rpc";
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { PaymentsAccount } from "../resources/payments_account";
/**
* Request message for fetching all accessible payments accounts.
*
* @generated from protobuf message google.ads.googleads.v11.services.ListPaymentsAccountsRequest
*/
export interface ListPaymentsAccountsRequest {
/**
* Required. The ID of the customer to apply the PaymentsAccount list operation to.
*
* @generated from protobuf field: string customer_id = 1;
*/
customerId: string;
}
/**
* Response message for [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v11.services.PaymentsAccountService.ListPaymentsAccounts].
*
* @generated from protobuf message google.ads.googleads.v11.services.ListPaymentsAccountsResponse
*/
export interface ListPaymentsAccountsResponse {
/**
* The list of accessible payments accounts.
*
* @generated from protobuf field: repeated google.ads.googleads.v11.resources.PaymentsAccount payments_accounts = 1;
*/
paymentsAccounts: PaymentsAccount[];
}
declare class ListPaymentsAccountsRequest$Type extends MessageType<ListPaymentsAccountsRequest> {
constructor();
create(value?: PartialMessage<ListPaymentsAccountsRequest>): ListPaymentsAccountsRequest;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPaymentsAccountsRequest): ListPaymentsAccountsRequest;
internalBinaryWrite(message: ListPaymentsAccountsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.services.ListPaymentsAccountsRequest
*/
export declare const ListPaymentsAccountsRequest: ListPaymentsAccountsRequest$Type;
declare class ListPaymentsAccountsResponse$Type extends MessageType<ListPaymentsAccountsResponse> {
constructor();
create(value?: PartialMessage<ListPaymentsAccountsResponse>): ListPaymentsAccountsResponse;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPaymentsAccountsResponse): ListPaymentsAccountsResponse;
internalBinaryWrite(message: ListPaymentsAccountsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.services.ListPaymentsAccountsResponse
*/
export declare const ListPaymentsAccountsResponse: ListPaymentsAccountsResponse$Type;
/**
* @generated ServiceType for protobuf service google.ads.googleads.v11.services.PaymentsAccountService
*/
export declare const PaymentsAccountService: ServiceType;
export {};