Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 671 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 671 Bytes

Telnyx 10 DLC Client

This library is autogenerated based on the Swagger spec available here: https://developers.telnyx.com/docs/v2/messaging/10dlc#api-access-and-documentation

Usage

import { OpenAPI, BrandsService } from '@rewired/telnyx-10dlc';

// Set Bearer token
OpenAPI.TOKEN = process.env.TELNYX_API_KEY;

// List 10DLC Brands
BrandsService.listBrandsBrandGet().then(console.log).catch(console.error);

Updating

# Update source URL
vi ./scripts/generate-api.ts

# Regenerate TS library
yarn generate

# Commit changes
git add scripts/ gen/
git commit -m "feat: update swagger spec"

# Cut release
yarn release
git push --follow-tags