Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V2.0.0 Add Typescript support (#185)
* DOTCOM-3581: update deps and add typescript default config (#177) * update deps and add typescript default config * update prettier config * DOTCOM-3583: convert base files to typescript (#179) * update deps and add typescript default config * convert Telnyx main to typescript * bump version to v2 alpha * update changelog * convert Error and Telnyx method to typescript * update utils * convert autoPagination, makeRequest, TelnyxMethod and Webhooks * convert TelnyxResource * remove extra lint file * add types folder * update code comments on framework naming * specify error types * update eslint rules * add types generated from openapi specs * add TelnyxIncomingHttpHeaders type * add BalanceResource type defs * DOTCOM-3584: convert resource files and tests to typescript (#181) * update deps and add typescript default config * convert Telnyx main to typescript * bump version to v2 alpha * update changelog * convert Error and Telnyx method to typescript * update utils * convert autoPagination, makeRequest, TelnyxMethod and Webhooks * convert TelnyxResource * remove extra lint file * add types folder * update code comments on framework naming * specify error types * update eslint rules * add types generated from openapi specs * add TelnyxIncomingHttpHeaders type * add BalanceResource type defs * convert resource files and tests to typescript * update overall test setup * add autoPagination, telnyx, utils and Balance specs * add Webhooks tests * add autoPagination, telnyx.node, TelnyxResource, Webhooks and utils test * add MessagingProfiles resource * remove stale coverage report on README * fix Webhooks and utils tests * fix autoPagination specs * perform nock cleanup * fix Resources tests * fix Telnyx Module tests * update workflow to avoid timeouts * update test setup for Node 18 * add all resources * update legacy Payment resource * add import to Resources * add missing Resources tests * update Calls and Messaging types according to API specs * fix typos * fix Calls missing types and methods * update Call examples to Typescript * remove previous Call example * add Messaging example * update npm and node target versions * update examples lockfile and changelog * add more detailed instructions on env setup * update legacy Resources * update instructions for v2 usage * fix npm publish flow * release alpha.1 * update examples to use 2.0.0-alpha.1 * fix AI resource * update nested resources typing * update examples * add Addresses example * update resources method names and missing d types * remove unused resources * update changelog * update stale resources * add missing Messages endpoints * update type declarations * update changelog and bump alpha version * update changelog * update examples * update optional types * export events type defs * fix nested resources logic * FIX: README Typo (#186) * bump to beta * fix nested resources methods names * fix identity resources * add missing Texml resource methods * add missing inventory resources and methods * update package deps * add missing Errors type def * add Versions info * update changelog * update examples telnyx package dependency version * add contributing section * fix transformResponseData usage * fix porting types * update examples to use beta 4 * update telnyx api types * fix telnyx api types dupes * update events * update portout events resource * update telephony credentials resource * fix managed accounts tests * update sim cards resource * remove unused Number Order Documents resource * update changelog * update tsconfig and lib to include js extension * bump version to beta 5 * add connections example * update examples to use beta 5 * add numbers example * fix WebhookHeader type in type definitions * 2.0.0-beta.6 * fix linter on cc example * update tests * v2.0.0 --------- Co-authored-by: mpareja-godaddy <83242342+mpareja-godaddy@users.noreply.github.com>
- Loading branch information