UNPKG

@apideck/node

Version:
179 lines (178 loc) 4.25 kB
/** * Apideck * The Apideck OpenAPI Spec: SDK Optimized * * The version of the OpenAPI document: 10.13.0 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface Address */ export interface Address { /** * Unique identifier for the address. * @type {string} * @memberof Address */ id?: string | null; /** * The type of address. * @type {string} * @memberof Address */ type?: AddressType; /** * The address string. Some APIs don't provide structured address data. * @type {string} * @memberof Address */ string?: string | null; /** * The name of the address. * @type {string} * @memberof Address */ name?: string | null; /** * Line 1 of the address e.g. number, street, suite, apt #, etc. * @type {string} * @memberof Address */ line1?: string | null; /** * Line 2 of the address * @type {string} * @memberof Address */ line2?: string | null; /** * Line 3 of the address * @type {string} * @memberof Address */ line3?: string | null; /** * Line 4 of the address * @type {string} * @memberof Address */ line4?: string | null; /** * Street number * @type {string} * @memberof Address */ street_number?: string | null; /** * Name of city. * @type {string} * @memberof Address */ city?: string | null; /** * Name of state * @type {string} * @memberof Address */ state?: string | null; /** * Zip code or equivalent. * @type {string} * @memberof Address */ postal_code?: string | null; /** * country code according to ISO 3166-1 alpha-2. * @type {string} * @memberof Address */ country?: string | null; /** * Latitude of the address * @type {string} * @memberof Address */ latitude?: string | null; /** * Longitude of the address * @type {string} * @memberof Address */ longitude?: string | null; /** * Address field that holds a sublocality, such as a county * @type {string} * @memberof Address */ county?: string | null; /** * Name of the contact person at the address * @type {string} * @memberof Address */ contact_name?: string | null; /** * Salutation of the contact person at the address * @type {string} * @memberof Address */ salutation?: string | null; /** * Phone number of the address * @type {string} * @memberof Address */ phone_number?: string | null; /** * Fax number of the address * @type {string} * @memberof Address */ fax?: string | null; /** * Email address of the address * @type {string} * @memberof Address */ email?: string | null; /** * Website of the address * @type {string} * @memberof Address */ website?: string | null; /** * Additional notes * @type {string} * @memberof Address */ notes?: string | null; /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. * @type {string} * @memberof Address */ row_version?: string | null; } /** * @export * @enum {string} */ export declare enum AddressType { primary = "primary", secondary = "secondary", home = "home", office = "office", shipping = "shipping", billing = "billing", other = "other" } export declare function AddressFromJSON(json: any): Address; export declare function AddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): Address; export declare function AddressToJSON(value?: Address | null): any;