import { inspect, InspectOptions } from "util"; import V1 from "../V1"; import { ApiResponse } from "../../../base/ApiResponse"; export declare class NumbersV1SmsVerificationRequest { /** * The phone number to verify in E.164 format. */ "to": string; /** * The locale for the verification SMS message. */ "locale"?: string; /** * A human-readable name for the caller ID. */ "friendlyName"?: string; constructor(payload: any); } export declare class NumbersV1SmsVerificationSendCodeAttempts { "attemptSid"?: string; "time"?: string; constructor(payload: any); } /** * Options to pass to create a SmsVerificationInstance */ export interface SmsVerificationListInstanceCreateOptions { /** */ numbersV1SmsVerificationRequest: NumbersV1SmsVerificationRequest; } export interface SmsVerificationSolution { } export interface SmsVerificationListInstance { _version: V1; _solution: SmsVerificationSolution; _uri: string; /** * Create a SmsVerificationInstance * * @param params - Body for request * @param headers - header params for request * @param callback - Callback to handle processed record * * @returns Resolves to processed SmsVerificationInstance */ create(params: NumbersV1SmsVerificationRequest, headers?: any, callback?: (error: Error | null, item?: SmsVerificationInstance) => any): Promise; /** * Create a SmsVerificationInstance 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 SmsVerificationInstance with HTTP metadata */ createWithHttpInfo(params: NumbersV1SmsVerificationRequest, 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 SmsVerificationListInstance(version: V1): SmsVerificationListInstance; interface SmsVerificationResource { to: string; verificationSid: string; sendCodeAttempts: Array; } export declare class SmsVerificationInstance { protected _version: V1; constructor(_version: V1, payload: SmsVerificationResource); /** * The phone number being verified in E.164 format. */ to: string; /** * The unique SID of this verification resource. */ verificationSid: string; /** * An array of verification attempt objects. */ sendCodeAttempts: Array; /** * Provide a user-friendly representation * * @returns Object */ toJSON(): { to: string; verificationSid: string; sendCodeAttempts: NumbersV1SmsVerificationSendCodeAttempts[]; }; [inspect.custom](_depth: any, options: InspectOptions): string; } export {};