import * as pulumi from "@pulumi/pulumi"; export declare class Customer extends pulumi.CustomResource { /** * Get an existing Customer resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CustomerState, opts?: pulumi.CustomResourceOptions): Customer; /** * Returns true if the given object is an instance of Customer. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Customer; /** * Address map with fields related to the address: line1, line2, city, state, postalCode and country */ readonly address: pulumi.Output<{ [key: string]: string; } | undefined>; /** * An integer amount in cents that represents the customer’s current balance, which affect the customer’s future * invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases * the amount due on an invoice. */ readonly balance: pulumi.Output; /** * The default (auto-generated) prefix for the customer used to generate unique invoice numbers. */ readonly defaultInvoicePrefix: pulumi.Output; /** * An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard. */ readonly description: pulumi.Output; /** * Customer’s email address. It’s displayed alongside the customer in your dashboard and can be useful for searching * and tracking. This may be up to 512 characters. */ readonly email: pulumi.Output; /** * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. */ readonly invoicePrefix: pulumi.Output; /** * Default invoice settings for this customer. */ readonly invoiceSettings: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ readonly metadata: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The customer’s full name or business name. */ readonly name: pulumi.Output; /** * The sequence to be used on the customer’s next invoice. Defaults to 1. */ readonly nextInvoiceSequence: pulumi.Output; /** * The customer’s phone number. */ readonly phone: pulumi.Output; /** * Customer’s preferred languages, ordered by preference. */ readonly preferredLocales: pulumi.Output; /** * Shipping map with fields like name, phone and fields related to the address: line1, line2, city, state, postalCode and * country. */ readonly shipping: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Customer resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: CustomerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Customer resources. */ export interface CustomerState { /** * Address map with fields related to the address: line1, line2, city, state, postalCode and country */ address?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * An integer amount in cents that represents the customer’s current balance, which affect the customer’s future * invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases * the amount due on an invoice. */ balance?: pulumi.Input; /** * The default (auto-generated) prefix for the customer used to generate unique invoice numbers. */ defaultInvoicePrefix?: pulumi.Input; /** * An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard. */ description?: pulumi.Input; /** * Customer’s email address. It’s displayed alongside the customer in your dashboard and can be useful for searching * and tracking. This may be up to 512 characters. */ email?: pulumi.Input; /** * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. */ invoicePrefix?: pulumi.Input; /** * Default invoice settings for this customer. */ invoiceSettings?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The customer’s full name or business name. */ name?: pulumi.Input; /** * The sequence to be used on the customer’s next invoice. Defaults to 1. */ nextInvoiceSequence?: pulumi.Input; /** * The customer’s phone number. */ phone?: pulumi.Input; /** * Customer’s preferred languages, ordered by preference. */ preferredLocales?: pulumi.Input[]>; /** * Shipping map with fields like name, phone and fields related to the address: line1, line2, city, state, postalCode and * country. */ shipping?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Customer resource. */ export interface CustomerArgs { /** * Address map with fields related to the address: line1, line2, city, state, postalCode and country */ address?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * An integer amount in cents that represents the customer’s current balance, which affect the customer’s future * invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases * the amount due on an invoice. */ balance?: pulumi.Input; /** * An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard. */ description?: pulumi.Input; /** * Customer’s email address. It’s displayed alongside the customer in your dashboard and can be useful for searching * and tracking. This may be up to 512 characters. */ email?: pulumi.Input; /** * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. */ invoicePrefix?: pulumi.Input; /** * Default invoice settings for this customer. */ invoiceSettings?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The customer’s full name or business name. */ name?: pulumi.Input; /** * The sequence to be used on the customer’s next invoice. Defaults to 1. */ nextInvoiceSequence?: pulumi.Input; /** * The customer’s phone number. */ phone?: pulumi.Input; /** * Customer’s preferred languages, ordered by preference. */ preferredLocales?: pulumi.Input[]>; /** * Shipping map with fields like name, phone and fields related to the address: line1, line2, city, state, postalCode and * country. */ shipping?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }