import { _PhoneNumberCapabilities, _UnmarshalledPhoneNumberCapabilities } from "./_PhoneNumberCapabilities"; import { _PhoneNumberAssociation, _UnmarshalledPhoneNumberAssociation } from "./_PhoneNumberAssociation"; /** *

A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice Connector.

*/ export interface _PhoneNumber { /** *

The phone number ID.

*/ PhoneNumberId?: string; /** *

The phone number, in E.164 format.

*/ E164PhoneNumber?: string; /** *

The phone number type.

*/ Type?: "Local" | "TollFree" | string; /** *

The phone number product type.

*/ ProductType?: "BusinessCalling" | "VoiceConnector" | string; /** *

The phone number status.

*/ Status?: "AcquireInProgress" | "AcquireFailed" | "Unassigned" | "Assigned" | "ReleaseInProgress" | "DeleteInProgress" | "ReleaseFailed" | "DeleteFailed" | string; /** *

The phone number capabilities.

*/ Capabilities?: _PhoneNumberCapabilities; /** *

The phone number associations.

*/ Associations?: Array<_PhoneNumberAssociation> | Iterable<_PhoneNumberAssociation>; /** *

The phone number creation timestamp, in ISO 8601 format.

*/ CreatedTimestamp?: Date | string | number; /** *

The updated phone number timestamp, in ISO 8601 format.

*/ UpdatedTimestamp?: Date | string | number; /** *

The deleted phone number timestamp, in ISO 8601 format.

*/ DeletionTimestamp?: Date | string | number; } export interface _UnmarshalledPhoneNumber extends _PhoneNumber { /** *

The phone number capabilities.

*/ Capabilities?: _UnmarshalledPhoneNumberCapabilities; /** *

The phone number associations.

*/ Associations?: Array<_UnmarshalledPhoneNumberAssociation>; /** *

The phone number creation timestamp, in ISO 8601 format.

*/ CreatedTimestamp?: Date; /** *

The updated phone number timestamp, in ISO 8601 format.

*/ UpdatedTimestamp?: Date; /** *

The deleted phone number timestamp, in ISO 8601 format.

*/ DeletionTimestamp?: Date; }