Commit 66d6d0d
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>1 parent b09c0f4 commit 66d6d0d
File tree
568 files changed
+108539
-22394
lines changed- .github/workflows
- examples
- addresses
- call-control
- connections
- messaging
- numbers
- webhook-signing
- call-control
- lib
- resources
- plop-templates
- src
- resources
- test
- resources
- utils
- testUtils
- test
- resources
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
568 files changed
+108539
-22394
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
| 4 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments