Skip to content

Releases: team-telnyx/telnyx-php

QOL updates and SIM card activate/de-activate functions

13 Oct 20:48
2467aad
Compare
Choose a tag to compare
  • Added support for OBJECT_ID which allows you to rename the 'id' parameter. For special cases like \Telnyx\Call which uses 'call_control_id' instead of 'id'
  • Added Activate/Deactivate to SimCard.php
  • Added more tests to existing endpoints
  • Added coverage for core lib and traits
  • Removed dead code and unused files

Added support for webhook signature verification (#40)

24 Jul 14:24
ff38bf0
Compare
Choose a tag to compare
  • Added support for webhook signature verification: ED25519 verification and tests

  • Added way to set public key: Updated webhooks to take public key via \Telnyx\Telnyx::setPublicKey()

  • An examples directory has also been added to this project.

Updated error handling

23 Jun 22:48
94caa63
Compare
Choose a tag to compare

Improvements were made to error handling.

$e->getError() will return the full API error as a JSON object.

Uncaught exceptions will return as a clean string with all core details.

Added the balance and faxes endpoint

22 Jun 22:51
d9dfa70
Compare
Choose a tag to compare

Endpoints added:

  • /v2/balance
  • /v2/faxes

Updated Pagination Functionality

08 Apr 01:30
19a22b2
Compare
Choose a tag to compare

Pagination can now be used on collection endpoints via the nextPage() method.

Example

$outbound_voice_profiles_page_one = \Telnyx\OutboundVoiceProfile::All(["page" => ["size" => 5]]);
echo $outbound_voice_profiles_page_one;

$outbound_voice_profiles_page_two = $outbound_voice_profiles->nextPage();
echo $outbound_voice_profiles_page_two;

Added Call Control Applications Endpoint

02 Apr 01:54
d806b62
Compare
Choose a tag to compare

The /call_control_applciations endpoint has been added to the SDK in this release.

Added meta data to Collections endpoints

26 Mar 02:27
9e435ba
Compare
Choose a tag to compare
  • Updated Collections endpoints to return metadata for pagination
  • Added /sim_cards and /wireless/detail_records_reports endpoints

Added Inbound Channels, Outbound Voice Profiles, SIM Cards, Portouts Endpoints

18 Mar 21:41
a92ad77
Compare
Choose a tag to compare

Endpoints added:

  • /outbound_voice_profiles
  • /phone_numbers/inbound_channels
  • /sim_cards
  • /portouts

Outbound Voice Profiles Endpoint

17 Mar 00:06
cb230b4
Compare
Choose a tag to compare

Added new endpoint for Outbound Voice Profiles and updated tests.

New endpoint: /outbound_voice_profiles

Bugfix for isset()

13 Mar 16:57
807873c
Compare
Choose a tag to compare

Using isset() in ApiRequestor.php instead of array_key_exists()