Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Customer

import type { Customer } from "https://googleapis.deno.dev/v1/reseller:v1.ts";

When a Google customer's account is registered with a reseller, the customer's subscriptions for Google services are managed by this reseller. A customer is described by a primary domain name and a physical address.

interface Customer {
alternateEmail?: string;
customerDomain?: string;
customerDomainVerified?: boolean;
customerId?: string;
customerType?: "customerTypeUnspecified" | "domain" | "team";
kind?: string;
phoneNumber?: string;
postalAddress?: Address;
primaryAdmin?: PrimaryAdmin;
resourceUiUrl?: string;
}

§Properties

§
alternateEmail?: string
[src]

Like the "Customer email" in the reseller tools, this email is the secondary contact used if something happens to the customer's service such as service outage or a security issue. This property is required when creating a new "domain" customer and should not use the same domain as customerDomain. The alternateEmail field is not necessary to create a "team" customer.

§
customerDomain?: string
[src]

The customer's primary domain name string. customerDomain is required when creating a new customer. Do not include the www prefix in the domain when adding a customer.

§
customerDomainVerified?: boolean
[src]

Whether the customer's primary domain has been verified.

§
customerId?: string
[src]

This property will always be returned in a response as the unique identifier generated by Google. In a request, this property can be either the primary domain or the unique identifier generated by Google.

§
customerType?: "customerTypeUnspecified" | "domain" | "team"
[src]

Identifies the type of the customer. Acceptable values include: * domain: Implies a domain-verified customer (default). * team: Implies an email-verified customer. For more information, see managed teams.

§
kind?: string
[src]

Identifies the resource as a customer. Value: reseller#customer

§
phoneNumber?: string
[src]

Customer contact phone number. Must start with "+" followed by the country code. The rest of the number can be contiguous numbers or respect the phone local format conventions, but it must be a real phone number and not, for example, "123". This field is silently ignored if invalid.

§
postalAddress?: Address
[src]

A customer's address information. Each field has a limit of 255 charcters.

§
primaryAdmin?: PrimaryAdmin
[src]

The first admin details of the customer, present in case of TEAM customer.

§
resourceUiUrl?: string
[src]

URL to customer's Admin console dashboard. The read-only URL is generated by the API service. This is used if your client application requires the customer to complete a task in the Admin console.