UNPKG

@apideck/node

Version:
75 lines (74 loc) 1.88 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 PhoneNumber */ export interface PhoneNumber { /** * The phone number * @type {string} * @memberof PhoneNumber */ number: string; /** * Unique identifier of the phone number * @type {string} * @memberof PhoneNumber */ id?: string | null; /** * The country code of the phone number, e.g. +1 * @type {string} * @memberof PhoneNumber */ country_code?: string | null; /** * The area code of the phone number, e.g. 323 * @type {string} * @memberof PhoneNumber */ area_code?: string | null; /** * The extension of the phone number * @type {string} * @memberof PhoneNumber */ extension?: string | null; /** * The type of phone number * @type {string} * @memberof PhoneNumber */ type?: PhoneNumberType; } /** * @export * @enum {string} */ export declare enum PhoneNumberType { primary = "primary", secondary = "secondary", home = "home", work = "work", office = "office", mobile = "mobile", assistant = "assistant", fax = "fax", direct_dial_in = "direct-dial-in", personal = "personal", other = "other" } export declare function PhoneNumberFromJSON(json: any): PhoneNumber; export declare function PhoneNumberFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhoneNumber; export declare function PhoneNumberToJSON(value?: PhoneNumber | null): any;