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

NumberValidateResponse

import type { NumberValidateResponse } from "https://aws-api.deno.dev/v0.4/services/pinpoint.ts?docs=full";

Provides information about a phone number.

interface NumberValidateResponse {
Carrier?: string | null;
City?: string | null;
CleansedPhoneNumberE164?: string | null;
CleansedPhoneNumberNational?: string | null;
Country?: string | null;
CountryCodeIso2?: string | null;
CountryCodeNumeric?: string | null;
County?: string | null;
OriginalCountryCodeIso2?: string | null;
OriginalPhoneNumber?: string | null;
PhoneType?: string | null;
PhoneTypeCode?: number | null;
Timezone?: string | null;
ZipCode?: string | null;
}

§Properties

§
Carrier?: string | null
[src]

The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.

§
City?: string | null
[src]

The name of the city where the phone number was originally registered.

§
CleansedPhoneNumberE164?: string | null
[src]

The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.

§
CleansedPhoneNumberNational?: string | null
[src]

The cleansed phone number, in the format for the location where the phone number was originally registered.

§
Country?: string | null
[src]

The name of the country or region where the phone number was originally registered.

§
CountryCodeIso2?: string | null
[src]

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.

§
CountryCodeNumeric?: string | null
[src]

The numeric code for the country or region where the phone number was originally registered.

§
County?: string | null
[src]

The name of the county where the phone number was originally registered.

§
OriginalCountryCodeIso2?: string | null
[src]

The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.

§
OriginalPhoneNumber?: string | null
[src]

The phone number that was sent in the request body.

§
PhoneType?: string | null
[src]

The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.

§
PhoneTypeCode?: number | null
[src]

The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).

§
Timezone?: string | null
[src]

The time zone for the location where the phone number was originally registered.

§
ZipCode?: string | null
[src]

The postal or ZIP code for the location where the phone number was originally registered.