@rewired/telnyx-10dlc
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @rewired/telnyx-10dlc

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

136 kB

Total Files

110

Last publish

Collaborators

  • ikehz
  • derrick-pr
  • quantumaashish
  • ben-pr-p
  • bchrobot
  • mgoldfield
  • priyachatwani