Added new logs, operating hours, queues, and variables endpoints and consumer and queue webhook events

Added

New Logs API.

  • GET /v2/contact_center/sms

New Operating Hours APIs.

  • GET /v2/contact_center/business_hours
  • POST /v2/contact_center/business_hours
  • GET /v2/contact_center/business_hours/{businessHourId}
  • PATCH /v2/contact_center/business_hours/{businessHourId}
  • DELETE /v2/contact_center/business_hours/{businessHourId}
  • GET /v2/contact_center/business_hours/{businessHourId}/flows
  • GET /v2/contact_center/business_hours/{businessHourId}/queues

New Queues API.

  • GET /v2/contact_center/queues/{queueId}/operating_hours

New Variables APIs.

  • GET /v2/contact_center/variables/groups
  • POST /v2/contact_center/variables/groups
  • PATCH /v2/contact_center/variables/groups/{variableGroupId}
  • GET /v2/contact_center/variables/groups/{variableGroupId}
  • DELETE /v2/contact_center/variables/groups/{variableGroupId}
  • GET /v2/contact_center/variables
  • POST /v2/contact_center/variables
  • GET /v2/contact_center/variables/{variableId}
  • PATCH /v2/contact_center/variables/{variableId}
  • DELETE /v2/contact_center/variables/{variableId}

New Consumer webhook events.

  • contact_center.engagement_consumer_notified
  • contact_center.engagement_consumer_answered
  • contact_center.engagement_consumer_ended

New Queue webhook events.

  • contact_center.queue_agent_assigned
  • contact_center.queue_agent_unassigned
  • contact_center.queue_supervisor_assigned
  • contact_center.queue_supervisor_unassigned

Changed

New Zendesk and ServiceNow values for client_integration field in the Users APIs and webhook event.

  • POST /v2/contact_center/users
  • PATCH /v2/contact_center/users
  • GET /v2/contact_center/users
  • PATCH /v2/contact_center/users/{userId}
  • GET /v2/contact_center/users/{userId}
  • POST /v2/contact_center/users/batch
  • contact_center.user_created

Fixed

Fixed response field end_time to return the correct value in the Reports API.

  • GET /v2/contact_center/analytics/agents/status_history

Fixed webhook events to trigger properly in the Queues webhook events.

  • contact_center.queue_created
  • contact_center.queue_deleted

Fixed request field overflow_to_queue_id to update correctly in the Queues API.

  • PATCH /v2/contact_center/queues/{queueId}