Skip to content

v1.7.0

Choose a tag to compare

@Hurus111 Hurus111 released this 15 Oct 09:54
21433f8

What's Changed

Voice

  • Breaking: Voice API v2 MenuItem.onFail renamed to onFailure to match the API.
  • [Feature] Voice API v2 helpers:
    • Sinch Events: VoiceV2CallbackWebhooks.
    • Services: CallBehaviorHelper.
    • SVAML: CommandsSequenceCreator.
    • Destination: Destination.
    • VoiceName for ttsVoice and say.voiceName.
    • Commands: Calls, Recording, Amd, Webhook, Menu, Messages.
  • [Feature] Voice API v2 commands on CallRequest, CallPatchRequest and BatchRequest accept a single SVAML command or a list.
  • [Feature] Voice API v2 BatchDetails sessions expose the parameters used to start each session.
  • [Feature] Voice API v2 ServiceResponse exposes serviceSecret (returned by services.create, services.get and services.update).
  • [Bugfix] Voice API v2 batches.start now calls POST /v2/projects/{projectId}/batches.
  • [Tech] Voice API v2 WebhookRequest.call is now required; parseEvent() throws for events without a call object.