import { inspect, InspectOptions } from "util"; import V1 from "../V1"; import { ApiResponse } from "../../../base/ApiResponse"; export declare class NumbersV1SmsVerificationCheckRequest { /** * The phone number being verified in E.164 format. */ "to": string; /** * The 6 character verification code to check. */ "verificationCode": string; /** * A human-readable name for the caller ID. */ "friendlyName"?: string; constructor(payload: any); } /** * Options to pass to create a SmsVerificationCheckInstance */ export interface SmsVerificationCheckListInstanceCreateOptions { /** */ numbersV1SmsVerificationCheckRequest: NumbersV1SmsVerificationCheckRequest; } export interface SmsVerificationCheckSolution { } export interface SmsVerificationCheckListInstance { _version: V1; _solution: SmsVerificationCheckSolution; _uri: string; /** * Create a SmsVerificationCheckInstance * * @param params - Body for request * @param headers - header params for request * @param callback - Callback to handle processed record * * @returns Resolves to processed SmsVerificationCheckInstance */ create(params: NumbersV1SmsVerificationCheckRequest, headers?: any, callback?: (error: Error | null, item?: SmsVerificationCheckInstance) => any): Promise; /** * Create a SmsVerificationCheckInstance and return HTTP info * * @param params - Body for request * @param headers - header params for request * @param callback - Callback to handle processed record * * @returns Resolves to processed SmsVerificationCheckInstance with HTTP metadata */ createWithHttpInfo(params: NumbersV1SmsVerificationCheckRequest, headers?: any, callback?: (error: Error | null, item?: ApiResponse) => any): Promise>; /** * Provide a user-friendly representation */ toJSON(): any; [inspect.custom](_depth: any, options: InspectOptions): any; } export declare function SmsVerificationCheckListInstance(version: V1): SmsVerificationCheckListInstance; interface SmsVerificationCheckResource { to: string; verificationSid: string; status: string; callerIdSid: string; } export declare class SmsVerificationCheckInstance { protected _version: V1; constructor(_version: V1, payload: SmsVerificationCheckResource); /** * The phone number that was verified in E.164 format. */ to: string; /** * The unique SID of this verification resource. */ verificationSid: string; /** * The status of the verification (pending, approved, canceled). */ status: string; /** * The Caller ID SID created upon successful verification. */ callerIdSid: string; /** * Provide a user-friendly representation * * @returns Object */ toJSON(): { to: string; verificationSid: string; status: string; callerIdSid: string; }; [inspect.custom](_depth: any, options: InspectOptions): string; } export {};