import { Contiguity } from 'contiguity';const contiguity = new Contiguity('contiguity_sk_...');// Step 1: Find available numbersconst available = await contiguity.lease.available();console.log('Available numbers:', available);// Step 2: Lease a numberconst number = '+1234567890';const lease = await contiguity.lease.create(number, { billing_method: 'monthly'});console.log('Leased number:', lease);// Step 3: View all your leased numbersconst myNumbers = await contiguity.lease.leased();console.log('My numbers:', myNumbers);// Step 4: Get details about a specific numberconst details = await contiguity.lease.details(number);console.log('Number details:', details);// Step 5: Use the number to send messagesawait contiguity.text.send({ from: number, to: '+0987654321', message: 'Hello from my leased number!'});// Step 6: Terminate the lease when no longer neededawait contiguity.lease.terminate(number);console.log('Lease terminated');