Skip to content

v1.6.0

Latest

Choose a tag to compare

@Hurus111 Hurus111 released this 23 Sep 11:17
6b85509

What's Changed

SDK Client

  • [Feature] Add voiceV2Hostname to ApiHostname / SinchClientParameters to override the Voice API v2 hostname.
  • [Feature] Add transport-level settings on SinchClientParameters (TransportSettings).
  • [Feature] Add PaginationEnum.PAGE_LINK for Voice API v2 list pagination.
  • [Feature] Configurable HTTP 429 retries (retryPolicy, maxRetryCount, exponentialBackoff on SinchClientParameters) via WithRetryPolicy.
  • [Tech] Internal HTTP transport is based on HttpRequest/HttpResponse for existing ApiFetchClient calls.
  • [Deprecation] Mailgun-related settings are deprecated (MailgunCredentials, MailgunRegion, SupportedMailgunRegion, MAILGUN_HOSTNAME, mailgunHostname, and buildMailgunApiClientOptions). Mailgun was never released as a Node SDK product; these settings will be removed in a future major version.
  • [Deprecation] elasticSipTrunkingHostname is deprecated. Elastic SIP Trunking support will be removed in version 2 of the SDK.

Conversation

  • [Feature] Support sending new ReadMessageEvent events: sendReadMessageEvent().
  • [Feature] Support new display_mode field on ChoiceBase.

Elastic SIP Trunking

  • [Deprecation] Elastic SIP Trunking support is deprecated and will be removed in version 2 of the SDK.

Numbers

  • [Feature] CallbackPayload is now a union of CallbackPayloadActiveNumber and CallbackPayloadNumberOrder (discriminated by resourceType).

Provisioning

  • [Feature] Initial version with Webhooks API support.
  • [Feature] Support RCS Accounts API (provisioning.rcs.accounts): listActivities, createComment.

Voice

  • [Feature] Support Voice API v2:
    • Calls: start, list, get, interactByCallId, interactByCallName.
    • Batches: start, get, getDetails, stop.
    • Sessions: get.
    • Services: list, create, get, update, delete.
    • Payloads (SVAML): describe, validate.
    • Callback Webhooks: parseEvent, validateAuthenticationHeader, serializeResponse.

SDK Core

  • [Deprecation] Elastic SIP Trunking (elasticSipTrunking, @sinch/elastic-sip-trunking) is deprecated and will be removed in version 2 of the SDK.