Skip to main content

Phone

number

schemas.phone.number().getValue({ format: '+53 #### ## ##' }) // '+53 5417 35 99'
ArgumentDescription
formatFormat of the phone number. Example: '###'

prefix

schemas.phone.prefix().getValue() // '+53'

callDuration

schemas.phone.callDuration().getValue({ min: 10, max: 30 }) // '27:30'
schemas.phone.callDuration().getValue() // '20:52'
ArgumentDescription
minMinimun minutes of the call. Default 0
maxMaximun minutes of the call. Default 59