bandwidth-sdk 18.1.3 → 18.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +56 -10
  3. data/README.md +2 -0
  4. data/UPDATING_MODEL_TESTS.md +17 -2
  5. data/bandwidth-sdk.gemspec +2 -2
  6. data/bandwidth.yml +190 -51
  7. data/coverage/.last_run.json +1 -1
  8. data/coverage/.resultset.json +819 -144
  9. data/coverage/index.html +15708 -8440
  10. data/custom_templates/configuration.mustache +6 -2
  11. data/custom_templates/gemspec.mustache +1 -1
  12. data/docs/AnswerCallback.md +4 -2
  13. data/docs/BridgeCompleteCallback.md +1 -1
  14. data/docs/BridgeTargetCompleteCallback.md +1 -1
  15. data/docs/ConferenceCompletedCallback.md +1 -1
  16. data/docs/ConferenceCreatedCallback.md +1 -1
  17. data/docs/ConferenceMemberExitCallback.md +1 -1
  18. data/docs/ConferenceMemberJoinCallback.md +1 -1
  19. data/docs/ConferenceRecordingAvailableCallback.md +1 -1
  20. data/docs/ConferenceRedirectCallback.md +1 -1
  21. data/docs/DisconnectCallback.md +6 -2
  22. data/docs/DtmfCallback.md +1 -1
  23. data/docs/GatherCallback.md +1 -1
  24. data/docs/InitiateCallback.md +6 -2
  25. data/docs/MachineDetectionCompleteCallback.md +1 -1
  26. data/docs/MediaApi.md +8 -8
  27. data/docs/MessagesApi.md +4 -4
  28. data/docs/MultiChannelApi.md +2 -2
  29. data/docs/RbmActionBase.md +1 -1
  30. data/docs/RbmSuggestionResponse.md +1 -1
  31. data/docs/RecordingAvailableCallback.md +1 -1
  32. data/docs/RecordingCompleteCallback.md +1 -1
  33. data/docs/RedirectCallback.md +1 -1
  34. data/docs/ReferCallStatusEnum.md +15 -0
  35. data/docs/ReferCompleteCallback.md +46 -0
  36. data/docs/TranscriptionAvailableCallback.md +1 -1
  37. data/docs/TransferAnswerCallback.md +1 -1
  38. data/docs/TransferCompleteCallback.md +1 -1
  39. data/docs/TransferDisconnectCallback.md +1 -1
  40. data/lib/bandwidth-sdk/api/calls_api.rb +6 -6
  41. data/lib/bandwidth-sdk/api/conferences_api.rb +10 -10
  42. data/lib/bandwidth-sdk/api/endpoints_api.rb +6 -6
  43. data/lib/bandwidth-sdk/api/media_api.rb +13 -13
  44. data/lib/bandwidth-sdk/api/messages_api.rb +7 -7
  45. data/lib/bandwidth-sdk/api/mfa_api.rb +4 -4
  46. data/lib/bandwidth-sdk/api/multi_channel_api.rb +4 -4
  47. data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +4 -4
  48. data/lib/bandwidth-sdk/api/recordings_api.rb +11 -11
  49. data/lib/bandwidth-sdk/api/statistics_api.rb +2 -2
  50. data/lib/bandwidth-sdk/api/toll_free_verification_api.rb +9 -9
  51. data/lib/bandwidth-sdk/api/transcriptions_api.rb +4 -4
  52. data/lib/bandwidth-sdk/api_client.rb +1 -1
  53. data/lib/bandwidth-sdk/api_error.rb +1 -1
  54. data/lib/bandwidth-sdk/api_model_base.rb +1 -1
  55. data/lib/bandwidth-sdk/configuration.rb +7 -3
  56. data/lib/bandwidth-sdk/models/account_statistics.rb +1 -1
  57. data/lib/bandwidth-sdk/models/additional_denial_reason.rb +1 -1
  58. data/lib/bandwidth-sdk/models/address.rb +1 -1
  59. data/lib/bandwidth-sdk/models/answer_callback.rb +17 -7
  60. data/lib/bandwidth-sdk/models/async_lookup_request.rb +1 -1
  61. data/lib/bandwidth-sdk/models/blocked_webhook.rb +1 -1
  62. data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +2 -2
  63. data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +2 -2
  64. data/lib/bandwidth-sdk/models/brtc_error.rb +1 -1
  65. data/lib/bandwidth-sdk/models/brtc_error_response.rb +1 -1
  66. data/lib/bandwidth-sdk/models/brtc_error_source.rb +1 -1
  67. data/lib/bandwidth-sdk/models/brtc_link.rb +1 -1
  68. data/lib/bandwidth-sdk/models/business_entity_type_enum.rb +1 -1
  69. data/lib/bandwidth-sdk/models/business_registration_type_enum.rb +1 -1
  70. data/lib/bandwidth-sdk/models/bxml/root.rb +1 -1
  71. data/lib/bandwidth-sdk/models/bxml/verb.rb +1 -1
  72. data/lib/bandwidth-sdk/models/bxml/verbs/gather.rb +1 -1
  73. data/lib/bandwidth-sdk/models/bxml/verbs/refer.rb +24 -0
  74. data/lib/bandwidth-sdk/models/bxml/verbs/sip_uri.rb +3 -1
  75. data/lib/bandwidth-sdk/models/bxml/verbs/speak_sentence.rb +1 -1
  76. data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
  77. data/lib/bandwidth-sdk/models/call_recording_metadata.rb +1 -1
  78. data/lib/bandwidth-sdk/models/call_state.rb +1 -1
  79. data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
  80. data/lib/bandwidth-sdk/models/call_transcription.rb +1 -1
  81. data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +1 -1
  82. data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +1 -1
  83. data/lib/bandwidth-sdk/models/call_transcription_response.rb +1 -1
  84. data/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +1 -1
  85. data/lib/bandwidth-sdk/models/callback.rb +1 -1
  86. data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
  87. data/lib/bandwidth-sdk/models/card_width_enum.rb +1 -1
  88. data/lib/bandwidth-sdk/models/code_request.rb +1 -1
  89. data/lib/bandwidth-sdk/models/completed_lookup_status_enum.rb +1 -1
  90. data/lib/bandwidth-sdk/models/conference.rb +1 -1
  91. data/lib/bandwidth-sdk/models/conference_completed_callback.rb +2 -2
  92. data/lib/bandwidth-sdk/models/conference_created_callback.rb +2 -2
  93. data/lib/bandwidth-sdk/models/conference_member.rb +1 -1
  94. data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +2 -2
  95. data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +2 -2
  96. data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +2 -2
  97. data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +1 -1
  98. data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +2 -2
  99. data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
  100. data/lib/bandwidth-sdk/models/contact.rb +1 -1
  101. data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response.rb +1 -1
  102. data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response_data.rb +1 -1
  103. data/lib/bandwidth-sdk/models/create_call.rb +1 -1
  104. data/lib/bandwidth-sdk/models/create_call_response.rb +1 -1
  105. data/lib/bandwidth-sdk/models/create_endpoint_request_base.rb +1 -1
  106. data/lib/bandwidth-sdk/models/create_endpoint_response.rb +1 -1
  107. data/lib/bandwidth-sdk/models/create_endpoint_response_data.rb +1 -1
  108. data/lib/bandwidth-sdk/models/create_message_request_error.rb +1 -1
  109. data/lib/bandwidth-sdk/models/create_multi_channel_message_response.rb +1 -1
  110. data/lib/bandwidth-sdk/models/create_sync_lookup_response.rb +1 -1
  111. data/lib/bandwidth-sdk/models/create_sync_lookup_response_data.rb +1 -1
  112. data/lib/bandwidth-sdk/models/create_web_rtc_connection_request.rb +1 -1
  113. data/lib/bandwidth-sdk/models/deactivation_event_enum.rb +1 -1
  114. data/lib/bandwidth-sdk/models/device.rb +1 -1
  115. data/lib/bandwidth-sdk/models/device_status_enum.rb +1 -1
  116. data/lib/bandwidth-sdk/models/disconnect_callback.rb +27 -7
  117. data/lib/bandwidth-sdk/models/diversion.rb +1 -1
  118. data/lib/bandwidth-sdk/models/dtmf_callback.rb +2 -2
  119. data/lib/bandwidth-sdk/models/endpoint.rb +1 -1
  120. data/lib/bandwidth-sdk/models/endpoint_direction_enum.rb +1 -1
  121. data/lib/bandwidth-sdk/models/endpoint_event.rb +1 -1
  122. data/lib/bandwidth-sdk/models/endpoint_event_type_enum.rb +1 -1
  123. data/lib/bandwidth-sdk/models/endpoint_response.rb +1 -1
  124. data/lib/bandwidth-sdk/models/endpoint_status_enum.rb +1 -1
  125. data/lib/bandwidth-sdk/models/endpoint_type_enum.rb +1 -1
  126. data/lib/bandwidth-sdk/models/endpoints.rb +1 -1
  127. data/lib/bandwidth-sdk/models/error_object.rb +1 -1
  128. data/lib/bandwidth-sdk/models/error_source.rb +1 -1
  129. data/lib/bandwidth-sdk/models/failure_webhook.rb +1 -1
  130. data/lib/bandwidth-sdk/models/field_error.rb +1 -1
  131. data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
  132. data/lib/bandwidth-sdk/models/gather_callback.rb +2 -2
  133. data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response.rb +1 -1
  134. data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response_data.rb +1 -1
  135. data/lib/bandwidth-sdk/models/in_progress_lookup_status_enum.rb +1 -1
  136. data/lib/bandwidth-sdk/models/inbound_callback.rb +1 -1
  137. data/lib/bandwidth-sdk/models/inbound_callback_message.rb +1 -1
  138. data/lib/bandwidth-sdk/models/inbound_callback_type_enum.rb +1 -1
  139. data/lib/bandwidth-sdk/models/initiate_callback.rb +28 -6
  140. data/lib/bandwidth-sdk/models/latest_message_delivery_status_enum.rb +1 -1
  141. data/lib/bandwidth-sdk/models/line_type_enum.rb +1 -1
  142. data/lib/bandwidth-sdk/models/link.rb +1 -1
  143. data/lib/bandwidth-sdk/models/link_schema.rb +1 -1
  144. data/lib/bandwidth-sdk/models/links_object.rb +1 -1
  145. data/lib/bandwidth-sdk/models/list_endpoints_response.rb +1 -1
  146. data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
  147. data/lib/bandwidth-sdk/models/list_message_item.rb +1 -1
  148. data/lib/bandwidth-sdk/models/lookup_error_response.rb +1 -1
  149. data/lib/bandwidth-sdk/models/lookup_error_schema.rb +1 -1
  150. data/lib/bandwidth-sdk/models/lookup_error_schema_meta.rb +1 -1
  151. data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
  152. data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +2 -2
  153. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
  154. data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
  155. data/lib/bandwidth-sdk/models/machine_detection_result.rb +1 -1
  156. data/lib/bandwidth-sdk/models/media.rb +1 -1
  157. data/lib/bandwidth-sdk/models/message.rb +1 -1
  158. data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
  159. data/lib/bandwidth-sdk/models/message_request.rb +1 -1
  160. data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
  161. data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
  162. data/lib/bandwidth-sdk/models/messages_list.rb +1 -1
  163. data/lib/bandwidth-sdk/models/messaging_code_response.rb +1 -1
  164. data/lib/bandwidth-sdk/models/messaging_request_error.rb +1 -1
  165. data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +1 -1
  166. data/lib/bandwidth-sdk/models/mfa_request_error.rb +1 -1
  167. data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +1 -1
  168. data/lib/bandwidth-sdk/models/mms_message_content.rb +1 -1
  169. data/lib/bandwidth-sdk/models/mms_message_content_file.rb +1 -1
  170. data/lib/bandwidth-sdk/models/multi_channel_action.rb +1 -1
  171. data/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb +1 -1
  172. data/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_object.rb +1 -1
  173. data/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_response_object.rb +1 -1
  174. data/lib/bandwidth-sdk/models/multi_channel_channel_list_object_base.rb +1 -1
  175. data/lib/bandwidth-sdk/models/multi_channel_channel_list_owner_object.rb +1 -1
  176. data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object.rb +1 -1
  177. data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object_all_of_content.rb +1 -1
  178. data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_response_object.rb +1 -1
  179. data/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb +1 -1
  180. data/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb +1 -1
  181. data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_object.rb +1 -1
  182. data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_response_object.rb +1 -1
  183. data/lib/bandwidth-sdk/models/multi_channel_error.rb +1 -1
  184. data/lib/bandwidth-sdk/models/multi_channel_message_channel_enum.rb +1 -1
  185. data/lib/bandwidth-sdk/models/multi_channel_message_content.rb +1 -1
  186. data/lib/bandwidth-sdk/models/multi_channel_message_request.rb +1 -1
  187. data/lib/bandwidth-sdk/models/multi_channel_message_response_data.rb +1 -1
  188. data/lib/bandwidth-sdk/models/opt_in_workflow.rb +1 -1
  189. data/lib/bandwidth-sdk/models/page.rb +1 -1
  190. data/lib/bandwidth-sdk/models/page_info.rb +1 -1
  191. data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
  192. data/lib/bandwidth-sdk/models/product_type_enum.rb +1 -1
  193. data/lib/bandwidth-sdk/models/rbm_action_base.rb +1 -1
  194. data/lib/bandwidth-sdk/models/rbm_action_dial.rb +1 -1
  195. data/lib/bandwidth-sdk/models/rbm_action_open_url.rb +1 -1
  196. data/lib/bandwidth-sdk/models/rbm_action_type_enum.rb +1 -1
  197. data/lib/bandwidth-sdk/models/rbm_action_view_location.rb +1 -1
  198. data/lib/bandwidth-sdk/models/rbm_card_content.rb +1 -1
  199. data/lib/bandwidth-sdk/models/rbm_card_content_media.rb +1 -1
  200. data/lib/bandwidth-sdk/models/rbm_location_response.rb +1 -1
  201. data/lib/bandwidth-sdk/models/rbm_media_height_enum.rb +1 -1
  202. data/lib/bandwidth-sdk/models/rbm_message_carousel_card.rb +1 -1
  203. data/lib/bandwidth-sdk/models/rbm_message_content_file.rb +1 -1
  204. data/lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb +1 -1
  205. data/lib/bandwidth-sdk/models/rbm_message_content_text.rb +1 -1
  206. data/lib/bandwidth-sdk/models/rbm_message_media.rb +1 -1
  207. data/lib/bandwidth-sdk/models/rbm_open_url_enum.rb +1 -1
  208. data/lib/bandwidth-sdk/models/rbm_standalone_card.rb +1 -1
  209. data/lib/bandwidth-sdk/models/rbm_suggestion_response.rb +1 -1
  210. data/lib/bandwidth-sdk/models/rbm_web_view_enum.rb +1 -1
  211. data/lib/bandwidth-sdk/models/recording_available_callback.rb +2 -2
  212. data/lib/bandwidth-sdk/models/recording_complete_callback.rb +2 -2
  213. data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
  214. data/lib/bandwidth-sdk/models/recording_transcription_clip.rb +1 -1
  215. data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +1 -1
  216. data/lib/bandwidth-sdk/models/recording_transcriptions.rb +1 -1
  217. data/lib/bandwidth-sdk/models/redirect_callback.rb +2 -2
  218. data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
  219. data/lib/bandwidth-sdk/models/refer_call_status_enum.rb +40 -0
  220. data/lib/bandwidth-sdk/models/refer_complete_callback.rb +309 -0
  221. data/lib/bandwidth-sdk/models/sip_connection_metadata.rb +1 -1
  222. data/lib/bandwidth-sdk/models/sip_credentials.rb +1 -1
  223. data/lib/bandwidth-sdk/models/sms_message_content.rb +1 -1
  224. data/lib/bandwidth-sdk/models/standalone_card_orientation_enum.rb +1 -1
  225. data/lib/bandwidth-sdk/models/status_callback.rb +1 -1
  226. data/lib/bandwidth-sdk/models/status_callback_message.rb +1 -1
  227. data/lib/bandwidth-sdk/models/status_callback_type_enum.rb +1 -1
  228. data/lib/bandwidth-sdk/models/stir_shaken.rb +1 -1
  229. data/lib/bandwidth-sdk/models/sync_lookup_request.rb +1 -1
  230. data/lib/bandwidth-sdk/models/telephone_number.rb +1 -1
  231. data/lib/bandwidth-sdk/models/tfv_basic_authentication.rb +1 -1
  232. data/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +1 -1
  233. data/lib/bandwidth-sdk/models/tfv_error.rb +1 -1
  234. data/lib/bandwidth-sdk/models/tfv_status.rb +1 -1
  235. data/lib/bandwidth-sdk/models/tfv_status_enum.rb +1 -1
  236. data/lib/bandwidth-sdk/models/tfv_submission_info.rb +1 -1
  237. data/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb +1 -1
  238. data/lib/bandwidth-sdk/models/thumbnail_alignment_enum.rb +1 -1
  239. data/lib/bandwidth-sdk/models/transcribe_recording.rb +1 -1
  240. data/lib/bandwidth-sdk/models/transcription.rb +1 -1
  241. data/lib/bandwidth-sdk/models/transcription_available_callback.rb +2 -2
  242. data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +2 -2
  243. data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +2 -2
  244. data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +2 -2
  245. data/lib/bandwidth-sdk/models/update_call.rb +1 -1
  246. data/lib/bandwidth-sdk/models/update_call_recording.rb +1 -1
  247. data/lib/bandwidth-sdk/models/update_conference.rb +1 -1
  248. data/lib/bandwidth-sdk/models/update_conference_member.rb +1 -1
  249. data/lib/bandwidth-sdk/models/verification_denial_webhook.rb +1 -1
  250. data/lib/bandwidth-sdk/models/verification_request.rb +1 -1
  251. data/lib/bandwidth-sdk/models/verification_update_request.rb +1 -1
  252. data/lib/bandwidth-sdk/models/verification_webhook.rb +1 -1
  253. data/lib/bandwidth-sdk/models/verify_code_request.rb +1 -1
  254. data/lib/bandwidth-sdk/models/verify_code_response.rb +1 -1
  255. data/lib/bandwidth-sdk/models/voice_api_error.rb +1 -1
  256. data/lib/bandwidth-sdk/models/voice_code_response.rb +1 -1
  257. data/lib/bandwidth-sdk/models/webhook_subscription.rb +1 -1
  258. data/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb +1 -1
  259. data/lib/bandwidth-sdk/models/webhook_subscription_error.rb +1 -1
  260. data/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb +1 -1
  261. data/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb +1 -1
  262. data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +1 -1
  263. data/lib/bandwidth-sdk/version.rb +2 -2
  264. data/lib/bandwidth-sdk.rb +4 -1
  265. data/openapitools.json +1 -1
  266. data/spec/unit/api/calls_api_spec.rb +1 -2
  267. data/spec/unit/api/conferences_api_spec.rb +1 -2
  268. data/spec/unit/api/endpoints_api_spec.rb +1 -2
  269. data/spec/unit/api/media_api_spec.rb +1 -2
  270. data/spec/unit/api/messages_api_spec.rb +1 -2
  271. data/spec/unit/api/mfa_api_spec.rb +1 -2
  272. data/spec/unit/api/multi_channel_api_spec.rb +1 -2
  273. data/spec/unit/api/phone_number_lookup_api_spec.rb +1 -2
  274. data/spec/unit/api/recordings_api_spec.rb +1 -2
  275. data/spec/unit/api/statistics_api_spec.rb +1 -2
  276. data/spec/unit/api/toll_free_verification_api_spec.rb +1 -2
  277. data/spec/unit/api/transcriptions_api_spec.rb +1 -2
  278. data/spec/unit/models/account_statistics_spec.rb +1 -1
  279. data/spec/unit/models/additional_denial_reason_spec.rb +1 -1
  280. data/spec/unit/models/address_spec.rb +1 -1
  281. data/spec/unit/models/answer_callback_spec.rb +8 -4
  282. data/spec/unit/models/async_lookup_request_spec.rb +1 -1
  283. data/spec/unit/models/blocked_webhook_spec.rb +1 -1
  284. data/spec/unit/models/bridge_complete_callback_spec.rb +1 -1
  285. data/spec/unit/models/bridge_target_complete_callback_spec.rb +1 -1
  286. data/spec/unit/models/brtc_error_response_spec.rb +1 -1
  287. data/spec/unit/models/brtc_error_source_spec.rb +1 -1
  288. data/spec/unit/models/brtc_error_spec.rb +1 -1
  289. data/spec/unit/models/brtc_link_spec.rb +1 -1
  290. data/spec/unit/models/bxml/verbs/refer_spec.rb +54 -0
  291. data/spec/unit/models/call_recording_metadata_spec.rb +1 -1
  292. data/spec/unit/models/call_state_spec.rb +1 -1
  293. data/spec/unit/models/call_transcription_metadata_spec.rb +1 -1
  294. data/spec/unit/models/call_transcription_response_spec.rb +1 -1
  295. data/spec/unit/models/call_transcription_spec.rb +1 -1
  296. data/spec/unit/models/code_request_spec.rb +1 -1
  297. data/spec/unit/models/conference_completed_callback_spec.rb +1 -1
  298. data/spec/unit/models/conference_created_callback_spec.rb +1 -1
  299. data/spec/unit/models/conference_member_exit_callback_spec.rb +1 -1
  300. data/spec/unit/models/conference_member_join_callback_spec.rb +1 -1
  301. data/spec/unit/models/conference_member_spec.rb +1 -1
  302. data/spec/unit/models/conference_recording_available_callback_spec.rb +1 -1
  303. data/spec/unit/models/conference_recording_metadata_spec.rb +1 -1
  304. data/spec/unit/models/conference_redirect_callback_spec.rb +1 -1
  305. data/spec/unit/models/conference_spec.rb +1 -1
  306. data/spec/unit/models/contact_spec.rb +1 -1
  307. data/spec/unit/models/create_async_bulk_lookup_response_data_spec.rb +1 -1
  308. data/spec/unit/models/create_async_bulk_lookup_response_spec.rb +1 -1
  309. data/spec/unit/models/create_call_response_spec.rb +1 -1
  310. data/spec/unit/models/create_call_spec.rb +1 -1
  311. data/spec/unit/models/create_endpoint_request_base_spec.rb +1 -1
  312. data/spec/unit/models/create_endpoint_response_data_spec.rb +1 -1
  313. data/spec/unit/models/create_endpoint_response_spec.rb +1 -1
  314. data/spec/unit/models/create_message_request_error_spec.rb +1 -1
  315. data/spec/unit/models/create_multi_channel_message_response_spec.rb +1 -1
  316. data/spec/unit/models/create_sync_lookup_response_data_spec.rb +1 -1
  317. data/spec/unit/models/create_sync_lookup_response_spec.rb +1 -1
  318. data/spec/unit/models/create_web_rtc_connection_request_spec.rb +1 -1
  319. data/spec/unit/models/device_spec.rb +1 -1
  320. data/spec/unit/models/disconnect_callback_spec.rb +12 -4
  321. data/spec/unit/models/diversion_spec.rb +1 -1
  322. data/spec/unit/models/dtmf_callback_spec.rb +1 -1
  323. data/spec/unit/models/endpoint_event_spec.rb +1 -1
  324. data/spec/unit/models/endpoint_response_spec.rb +1 -1
  325. data/spec/unit/models/endpoint_spec.rb +1 -1
  326. data/spec/unit/models/endpoints_spec.rb +1 -1
  327. data/spec/unit/models/error_object_spec.rb +1 -1
  328. data/spec/unit/models/error_source_spec.rb +1 -1
  329. data/spec/unit/models/failure_webhook_spec.rb +1 -1
  330. data/spec/unit/models/field_error_spec.rb +1 -1
  331. data/spec/unit/models/gather_callback_spec.rb +1 -1
  332. data/spec/unit/models/get_async_bulk_lookup_response_data_spec.rb +1 -1
  333. data/spec/unit/models/get_async_bulk_lookup_response_spec.rb +1 -1
  334. data/spec/unit/models/inbound_callback_message_spec.rb +1 -1
  335. data/spec/unit/models/inbound_callback_spec.rb +1 -1
  336. data/spec/unit/models/initiate_callback_spec.rb +13 -4
  337. data/spec/unit/models/link_schema_spec.rb +1 -1
  338. data/spec/unit/models/link_spec.rb +1 -1
  339. data/spec/unit/models/links_object_spec.rb +1 -1
  340. data/spec/unit/models/list_endpoints_response_spec.rb +1 -1
  341. data/spec/unit/models/list_message_item_spec.rb +1 -1
  342. data/spec/unit/models/lookup_error_response_spec.rb +1 -1
  343. data/spec/unit/models/lookup_error_schema_meta_spec.rb +1 -1
  344. data/spec/unit/models/lookup_error_schema_spec.rb +1 -1
  345. data/spec/unit/models/lookup_result_spec.rb +1 -1
  346. data/spec/unit/models/machine_detection_complete_callback_spec.rb +1 -1
  347. data/spec/unit/models/machine_detection_configuration_spec.rb +1 -1
  348. data/spec/unit/models/machine_detection_result_spec.rb +1 -1
  349. data/spec/unit/models/media_spec.rb +1 -1
  350. data/spec/unit/models/message_request_spec.rb +1 -1
  351. data/spec/unit/models/message_spec.rb +1 -1
  352. data/spec/unit/models/messages_list_spec.rb +1 -1
  353. data/spec/unit/models/messaging_code_response_spec.rb +1 -1
  354. data/spec/unit/models/messaging_request_error_spec.rb +1 -1
  355. data/spec/unit/models/mfa_forbidden_request_error_spec.rb +1 -1
  356. data/spec/unit/models/mfa_request_error_spec.rb +1 -1
  357. data/spec/unit/models/mfa_unauthorized_request_error_spec.rb +1 -1
  358. data/spec/unit/models/mms_message_content_file_spec.rb +1 -1
  359. data/spec/unit/models/mms_message_content_spec.rb +1 -1
  360. data/spec/unit/models/multi_channel_action_calendar_event_spec.rb +1 -1
  361. data/spec/unit/models/multi_channel_channel_list_mms_object_spec.rb +1 -1
  362. data/spec/unit/models/multi_channel_channel_list_mms_response_object_spec.rb +1 -1
  363. data/spec/unit/models/multi_channel_channel_list_object_base_spec.rb +1 -1
  364. data/spec/unit/models/multi_channel_channel_list_owner_object_spec.rb +1 -1
  365. data/spec/unit/models/multi_channel_channel_list_rbm_object_spec.rb +1 -1
  366. data/spec/unit/models/multi_channel_channel_list_rbm_response_object_spec.rb +1 -1
  367. data/spec/unit/models/multi_channel_channel_list_sms_object_spec.rb +1 -1
  368. data/spec/unit/models/multi_channel_channel_list_sms_response_object_spec.rb +1 -1
  369. data/spec/unit/models/multi_channel_error_spec.rb +1 -1
  370. data/spec/unit/models/multi_channel_message_content_spec.rb +1 -1
  371. data/spec/unit/models/multi_channel_message_request_spec.rb +1 -1
  372. data/spec/unit/models/multi_channel_message_response_data_spec.rb +1 -1
  373. data/spec/unit/models/opt_in_workflow_spec.rb +1 -1
  374. data/spec/unit/models/page_info_spec.rb +1 -1
  375. data/spec/unit/models/page_spec.rb +1 -1
  376. data/spec/unit/models/rbm_action_base_spec.rb +1 -1
  377. data/spec/unit/models/rbm_action_dial_spec.rb +1 -1
  378. data/spec/unit/models/rbm_action_open_url_spec.rb +1 -1
  379. data/spec/unit/models/rbm_action_view_location_spec.rb +1 -1
  380. data/spec/unit/models/rbm_card_content_media_spec.rb +1 -1
  381. data/spec/unit/models/rbm_card_content_spec.rb +1 -1
  382. data/spec/unit/models/rbm_location_response_spec.rb +1 -1
  383. data/spec/unit/models/rbm_message_carousel_card_spec.rb +1 -1
  384. data/spec/unit/models/rbm_message_content_file_spec.rb +1 -1
  385. data/spec/unit/models/rbm_message_content_text_spec.rb +1 -1
  386. data/spec/unit/models/rbm_message_media_spec.rb +1 -1
  387. data/spec/unit/models/rbm_standalone_card_spec.rb +1 -1
  388. data/spec/unit/models/rbm_suggestion_response_spec.rb +1 -1
  389. data/spec/unit/models/recording_available_callback_spec.rb +1 -1
  390. data/spec/unit/models/recording_complete_callback_spec.rb +1 -1
  391. data/spec/unit/models/recording_transcription_clip_spec.rb +1 -1
  392. data/spec/unit/models/recording_transcription_metadata_spec.rb +1 -1
  393. data/spec/unit/models/recording_transcriptions_spec.rb +1 -1
  394. data/spec/unit/models/redirect_callback_spec.rb +1 -1
  395. data/spec/unit/models/refer_call_status_enum_spec.rb +31 -0
  396. data/spec/unit/models/refer_complete_callback_spec.rb +123 -0
  397. data/spec/unit/models/sip_connection_metadata_spec.rb +1 -1
  398. data/spec/unit/models/sip_credentials_spec.rb +1 -1
  399. data/spec/unit/models/sms_message_content_spec.rb +1 -1
  400. data/spec/unit/models/status_callback_message_spec.rb +1 -1
  401. data/spec/unit/models/status_callback_spec.rb +1 -1
  402. data/spec/unit/models/stir_shaken_spec.rb +1 -1
  403. data/spec/unit/models/sync_lookup_request_spec.rb +1 -1
  404. data/spec/unit/models/telephone_number_spec.rb +1 -1
  405. data/spec/unit/models/tfv_basic_authentication_spec.rb +1 -1
  406. data/spec/unit/models/tfv_error_spec.rb +1 -1
  407. data/spec/unit/models/tfv_status_spec.rb +1 -1
  408. data/spec/unit/models/tfv_submission_info_spec.rb +1 -1
  409. data/spec/unit/models/tfv_submission_wrapper_spec.rb +1 -1
  410. data/spec/unit/models/transcribe_recording_spec.rb +1 -1
  411. data/spec/unit/models/transcription_available_callback_spec.rb +1 -1
  412. data/spec/unit/models/transcription_spec.rb +1 -1
  413. data/spec/unit/models/transfer_answer_callback_spec.rb +1 -1
  414. data/spec/unit/models/transfer_complete_callback_spec.rb +1 -1
  415. data/spec/unit/models/transfer_disconnect_callback_spec.rb +1 -1
  416. data/spec/unit/models/update_call_recording_spec.rb +1 -1
  417. data/spec/unit/models/update_call_spec.rb +1 -1
  418. data/spec/unit/models/update_conference_member_spec.rb +1 -1
  419. data/spec/unit/models/update_conference_spec.rb +1 -1
  420. data/spec/unit/models/verification_denial_webhook_spec.rb +1 -1
  421. data/spec/unit/models/verification_request_spec.rb +1 -1
  422. data/spec/unit/models/verification_update_request_spec.rb +1 -1
  423. data/spec/unit/models/verification_webhook_spec.rb +1 -1
  424. data/spec/unit/models/verify_code_request_spec.rb +1 -1
  425. data/spec/unit/models/verify_code_response_spec.rb +1 -1
  426. data/spec/unit/models/voice_api_error_spec.rb +1 -1
  427. data/spec/unit/models/voice_code_response_spec.rb +1 -1
  428. data/spec/unit/models/webhook_subscription_basic_authentication_spec.rb +1 -1
  429. data/spec/unit/models/webhook_subscription_error_spec.rb +1 -1
  430. data/spec/unit/models/webhook_subscription_request_schema_spec.rb +1 -1
  431. data/spec/unit/models/webhook_subscription_spec.rb +1 -1
  432. data/spec/unit/models/webhook_subscriptions_list_body_spec.rb +1 -1
  433. metadata +241 -227
data/bandwidth.yml CHANGED
@@ -317,7 +317,7 @@ paths:
317
317
  approximately in order, but exact ordering is not guaranteed.
318
318
  operationId: createCall
319
319
  parameters:
320
- - $ref: '#/components/parameters/accountId'
320
+ - $ref: '#/components/parameters/accountId1'
321
321
  requestBody:
322
322
  $ref: '#/components/requestBodies/createCallRequest'
323
323
  responses:
@@ -358,7 +358,7 @@ paths:
358
358
  days, you will get an empty array [] in response.
359
359
  operationId: listCalls
360
360
  parameters:
361
- - $ref: '#/components/parameters/accountId'
361
+ - $ref: '#/components/parameters/accountId1'
362
362
  - $ref: '#/components/parameters/to'
363
363
  - $ref: '#/components/parameters/from'
364
364
  - $ref: '#/components/parameters/minStartTimeCalls'
@@ -404,7 +404,7 @@ paths:
404
404
  7 days, you will get an HTTP 404 response.
405
405
  operationId: getCallState
406
406
  parameters:
407
- - $ref: '#/components/parameters/accountId'
407
+ - $ref: '#/components/parameters/accountId1'
408
408
  - $ref: '#/components/parameters/callId'
409
409
  responses:
410
410
  '200':
@@ -434,7 +434,7 @@ paths:
434
434
  BXML document.
435
435
  operationId: updateCall
436
436
  parameters:
437
- - $ref: '#/components/parameters/accountId'
437
+ - $ref: '#/components/parameters/accountId1'
438
438
  - $ref: '#/components/parameters/callId'
439
439
  requestBody:
440
440
  $ref: '#/components/requestBodies/updateCallRequest'
@@ -468,7 +468,7 @@ paths:
468
468
  description: Interrupts and replaces an active call's BXML document.
469
469
  operationId: updateCallBxml
470
470
  parameters:
471
- - $ref: '#/components/parameters/accountId'
471
+ - $ref: '#/components/parameters/accountId1'
472
472
  - $ref: '#/components/parameters/callId'
473
473
  requestBody:
474
474
  $ref: '#/components/requestBodies/updateCallBxmlRequest'
@@ -510,7 +510,7 @@ paths:
510
510
  of conference records.
511
511
  operationId: listConferences
512
512
  parameters:
513
- - $ref: '#/components/parameters/accountId'
513
+ - $ref: '#/components/parameters/accountId1'
514
514
  - $ref: '#/components/parameters/name'
515
515
  - $ref: '#/components/parameters/minCreatedTime'
516
516
  - $ref: '#/components/parameters/maxCreatedTime'
@@ -544,7 +544,7 @@ paths:
544
544
  description: Returns information about the specified conference.
545
545
  operationId: getConference
546
546
  parameters:
547
- - $ref: '#/components/parameters/accountId'
547
+ - $ref: '#/components/parameters/accountId1'
548
548
  - $ref: '#/components/parameters/conferenceId'
549
549
  responses:
550
550
  '200':
@@ -572,7 +572,7 @@ paths:
572
572
  description: Update the conference state.
573
573
  operationId: updateConference
574
574
  parameters:
575
- - $ref: '#/components/parameters/accountId'
575
+ - $ref: '#/components/parameters/accountId1'
576
576
  - $ref: '#/components/parameters/conferenceId'
577
577
  requestBody:
578
578
  $ref: '#/components/requestBodies/updateConferenceRequest'
@@ -604,7 +604,7 @@ paths:
604
604
  description: Update the conference BXML document.
605
605
  operationId: updateConferenceBxml
606
606
  parameters:
607
- - $ref: '#/components/parameters/accountId'
607
+ - $ref: '#/components/parameters/accountId1'
608
608
  - $ref: '#/components/parameters/conferenceId'
609
609
  requestBody:
610
610
  $ref: '#/components/requestBodies/updateConferenceBxmlRequest'
@@ -636,7 +636,7 @@ paths:
636
636
  description: Returns information about the specified conference member.
637
637
  operationId: getConferenceMember
638
638
  parameters:
639
- - $ref: '#/components/parameters/accountId'
639
+ - $ref: '#/components/parameters/accountId1'
640
640
  - $ref: '#/components/parameters/conferenceId'
641
641
  - $ref: '#/components/parameters/memberId'
642
642
  responses:
@@ -665,7 +665,7 @@ paths:
665
665
  description: Updates settings for a particular conference member.
666
666
  operationId: updateConferenceMember
667
667
  parameters:
668
- - $ref: '#/components/parameters/accountId'
668
+ - $ref: '#/components/parameters/accountId1'
669
669
  - $ref: '#/components/parameters/conferenceId'
670
670
  - $ref: '#/components/parameters/memberId'
671
671
  requestBody:
@@ -700,7 +700,7 @@ paths:
700
700
  took place during the specified conference.
701
701
  operationId: listConferenceRecordings
702
702
  parameters:
703
- - $ref: '#/components/parameters/accountId'
703
+ - $ref: '#/components/parameters/accountId1'
704
704
  - $ref: '#/components/parameters/conferenceId'
705
705
  responses:
706
706
  '200':
@@ -730,7 +730,7 @@ paths:
730
730
  description: Returns metadata for the specified recording.
731
731
  operationId: getConferenceRecording
732
732
  parameters:
733
- - $ref: '#/components/parameters/accountId'
733
+ - $ref: '#/components/parameters/accountId1'
734
734
  - $ref: '#/components/parameters/conferenceId'
735
735
  - $ref: '#/components/parameters/recordingId'
736
736
  responses:
@@ -761,7 +761,7 @@ paths:
761
761
  description: Downloads the specified recording file.
762
762
  operationId: downloadConferenceRecording
763
763
  parameters:
764
- - $ref: '#/components/parameters/accountId'
764
+ - $ref: '#/components/parameters/accountId1'
765
765
  - $ref: '#/components/parameters/conferenceId'
766
766
  - $ref: '#/components/parameters/recordingId'
767
767
  responses:
@@ -801,7 +801,7 @@ paths:
801
801
  empty if no recordings match the specified criteria.
802
802
  operationId: listAccountCallRecordings
803
803
  parameters:
804
- - $ref: '#/components/parameters/accountId'
804
+ - $ref: '#/components/parameters/accountId1'
805
805
  - $ref: '#/components/parameters/to'
806
806
  - $ref: '#/components/parameters/from'
807
807
  - $ref: '#/components/parameters/minStartTime'
@@ -834,7 +834,7 @@ paths:
834
834
  description: Pause or resume a recording on an active phone call.
835
835
  operationId: updateCallRecordingState
836
836
  parameters:
837
- - $ref: '#/components/parameters/accountId'
837
+ - $ref: '#/components/parameters/accountId1'
838
838
  - $ref: '#/components/parameters/callId'
839
839
  requestBody:
840
840
  $ref: '#/components/requestBodies/updateCallRecordingRequest'
@@ -868,7 +868,7 @@ paths:
868
868
  that took place during the specified call.
869
869
  operationId: listCallRecordings
870
870
  parameters:
871
- - $ref: '#/components/parameters/accountId'
871
+ - $ref: '#/components/parameters/accountId1'
872
872
  - $ref: '#/components/parameters/callId'
873
873
  responses:
874
874
  '200':
@@ -898,7 +898,7 @@ paths:
898
898
  description: Returns metadata for the specified recording.
899
899
  operationId: getCallRecording
900
900
  parameters:
901
- - $ref: '#/components/parameters/accountId'
901
+ - $ref: '#/components/parameters/accountId1'
902
902
  - $ref: '#/components/parameters/callId'
903
903
  - $ref: '#/components/parameters/recordingId'
904
904
  responses:
@@ -935,7 +935,7 @@ paths:
935
935
  irreversible, can take an additional 24 to 48 hours.
936
936
  operationId: deleteRecording
937
937
  parameters:
938
- - $ref: '#/components/parameters/accountId'
938
+ - $ref: '#/components/parameters/accountId1'
939
939
  - $ref: '#/components/parameters/callId'
940
940
  - $ref: '#/components/parameters/recordingId'
941
941
  responses:
@@ -966,7 +966,7 @@ paths:
966
966
  description: Downloads the specified recording.
967
967
  operationId: downloadCallRecording
968
968
  parameters:
969
- - $ref: '#/components/parameters/accountId'
969
+ - $ref: '#/components/parameters/accountId1'
970
970
  - $ref: '#/components/parameters/callId'
971
971
  - $ref: '#/components/parameters/recordingId'
972
972
  responses:
@@ -995,7 +995,7 @@ paths:
995
995
  description: Deletes the specified recording's media.
996
996
  operationId: deleteRecordingMedia
997
997
  parameters:
998
- - $ref: '#/components/parameters/accountId'
998
+ - $ref: '#/components/parameters/accountId1'
999
999
  - $ref: '#/components/parameters/callId'
1000
1000
  - $ref: '#/components/parameters/recordingId'
1001
1001
  responses:
@@ -1038,7 +1038,7 @@ paths:
1038
1038
  item.
1039
1039
  operationId: getRecordingTranscription
1040
1040
  parameters:
1041
- - $ref: '#/components/parameters/accountId'
1041
+ - $ref: '#/components/parameters/accountId1'
1042
1042
  - $ref: '#/components/parameters/callId'
1043
1043
  - $ref: '#/components/parameters/recordingId'
1044
1044
  responses:
@@ -1073,7 +1073,7 @@ paths:
1073
1073
  less than 4 hours.
1074
1074
  operationId: transcribeCallRecording
1075
1075
  parameters:
1076
- - $ref: '#/components/parameters/accountId'
1076
+ - $ref: '#/components/parameters/accountId1'
1077
1077
  - $ref: '#/components/parameters/callId'
1078
1078
  - $ref: '#/components/parameters/recordingId'
1079
1079
  requestBody:
@@ -1111,7 +1111,7 @@ paths:
1111
1111
  can take an additional 24 to 48 hours.
1112
1112
  operationId: deleteRecordingTranscription
1113
1113
  parameters:
1114
- - $ref: '#/components/parameters/accountId'
1114
+ - $ref: '#/components/parameters/accountId1'
1115
1115
  - $ref: '#/components/parameters/callId'
1116
1116
  - $ref: '#/components/parameters/recordingId'
1117
1117
  responses:
@@ -1142,7 +1142,7 @@ paths:
1142
1142
  description: Returns details about the current state of the account.
1143
1143
  operationId: getStatistics
1144
1144
  parameters:
1145
- - $ref: '#/components/parameters/accountId'
1145
+ - $ref: '#/components/parameters/accountId1'
1146
1146
  responses:
1147
1147
  '200':
1148
1148
  $ref: '#/components/responses/getStatisticsResponse'
@@ -1173,7 +1173,7 @@ paths:
1173
1173
  [startTranscription](/docs/voice/bxml/startTranscription).
1174
1174
  operationId: listRealTimeTranscriptions
1175
1175
  parameters:
1176
- - $ref: '#/components/parameters/accountId'
1176
+ - $ref: '#/components/parameters/accountId1'
1177
1177
  - $ref: '#/components/parameters/callId'
1178
1178
  responses:
1179
1179
  '200':
@@ -1205,7 +1205,7 @@ paths:
1205
1205
  [startTranscription](/docs/voice/bxml/startTranscription).
1206
1206
  operationId: getRealTimeTranscription
1207
1207
  parameters:
1208
- - $ref: '#/components/parameters/accountId'
1208
+ - $ref: '#/components/parameters/accountId1'
1209
1209
  - $ref: '#/components/parameters/callId'
1210
1210
  - $ref: '#/components/parameters/transcriptionId'
1211
1211
  responses:
@@ -1242,7 +1242,7 @@ paths:
1242
1242
  can take an additional 24 to 48 hours.
1243
1243
  operationId: deleteRealTimeTranscription
1244
1244
  parameters:
1245
- - $ref: '#/components/parameters/accountId'
1245
+ - $ref: '#/components/parameters/accountId1'
1246
1246
  - $ref: '#/components/parameters/callId'
1247
1247
  - $ref: '#/components/parameters/transcriptionId'
1248
1248
  responses:
@@ -1273,7 +1273,7 @@ paths:
1273
1273
  description: Send an MFA Code via a phone call.
1274
1274
  operationId: generateVoiceCode
1275
1275
  parameters:
1276
- - $ref: '#/components/parameters/accountId'
1276
+ - $ref: '#/components/parameters/accountId2'
1277
1277
  requestBody:
1278
1278
  $ref: '#/components/requestBodies/codeRequest'
1279
1279
  responses:
@@ -1298,7 +1298,7 @@ paths:
1298
1298
  description: Send an MFA code via text message (SMS).
1299
1299
  operationId: generateMessagingCode
1300
1300
  parameters:
1301
- - $ref: '#/components/parameters/accountId'
1301
+ - $ref: '#/components/parameters/accountId2'
1302
1302
  requestBody:
1303
1303
  $ref: '#/components/requestBodies/codeRequest'
1304
1304
  responses:
@@ -1321,7 +1321,7 @@ paths:
1321
1321
  description: Verify a previously sent MFA code.
1322
1322
  operationId: verifyCode
1323
1323
  parameters:
1324
- - $ref: '#/components/parameters/accountId'
1324
+ - $ref: '#/components/parameters/accountId2'
1325
1325
  requestBody:
1326
1326
  $ref: '#/components/requestBodies/codeVerify'
1327
1327
  responses:
@@ -1348,7 +1348,7 @@ paths:
1348
1348
  tags:
1349
1349
  - Phone Number Lookup
1350
1350
  parameters:
1351
- - $ref: '#/components/parameters/accountId1'
1351
+ - $ref: '#/components/parameters/accountId3'
1352
1352
  requestBody:
1353
1353
  $ref: '#/components/requestBodies/createSyncLookupRequest'
1354
1354
  responses:
@@ -1371,7 +1371,7 @@ paths:
1371
1371
  tags:
1372
1372
  - Phone Number Lookup
1373
1373
  parameters:
1374
- - $ref: '#/components/parameters/accountId1'
1374
+ - $ref: '#/components/parameters/accountId3'
1375
1375
  requestBody:
1376
1376
  $ref: '#/components/requestBodies/createAsyncBulkLookupRequest'
1377
1377
  responses:
@@ -1391,7 +1391,7 @@ paths:
1391
1391
  tags:
1392
1392
  - Phone Number Lookup
1393
1393
  parameters:
1394
- - $ref: '#/components/parameters/accountId1'
1394
+ - $ref: '#/components/parameters/accountId3'
1395
1395
  - $ref: '#/components/parameters/requestId'
1396
1396
  responses:
1397
1397
  '200':
@@ -1407,7 +1407,7 @@ paths:
1407
1407
  description: Submit a request for verification of a toll-free phone number.
1408
1408
  operationId: requestTollFreeVerification
1409
1409
  parameters:
1410
- - $ref: '#/components/parameters/accountId'
1410
+ - $ref: '#/components/parameters/accountId4'
1411
1411
  requestBody:
1412
1412
  $ref: '#/components/requestBodies/requestTollFreeVerificationRequest'
1413
1413
  responses:
@@ -1446,7 +1446,7 @@ paths:
1446
1446
  available.
1447
1447
  operationId: getTollFreeVerificationStatus
1448
1448
  parameters:
1449
- - $ref: '#/components/parameters/accountId'
1449
+ - $ref: '#/components/parameters/accountId4'
1450
1450
  - $ref: '#/components/parameters/tfPhoneNumberPathParam'
1451
1451
  responses:
1452
1452
  '200':
@@ -1479,7 +1479,7 @@ paths:
1479
1479
  true).
1480
1480
  operationId: updateTollFreeVerificationRequest
1481
1481
  parameters:
1482
- - $ref: '#/components/parameters/accountId'
1482
+ - $ref: '#/components/parameters/accountId4'
1483
1483
  - $ref: '#/components/parameters/tfPhoneNumberPathParam'
1484
1484
  requestBody:
1485
1485
  $ref: '#/components/requestBodies/updateTollFreeVerificationRequestRequest'
@@ -1507,7 +1507,7 @@ paths:
1507
1507
  description: Delete a toll-free verification submission for a toll-free number.
1508
1508
  operationId: deleteVerificationRequest
1509
1509
  parameters:
1510
- - $ref: '#/components/parameters/accountId'
1510
+ - $ref: '#/components/parameters/accountId4'
1511
1511
  - $ref: '#/components/parameters/tfPhoneNumberPathParam'
1512
1512
  responses:
1513
1513
  '204':
@@ -1546,7 +1546,7 @@ paths:
1546
1546
  object will be null).
1547
1547
  operationId: listWebhookSubscriptions
1548
1548
  parameters:
1549
- - $ref: '#/components/parameters/accountId'
1549
+ - $ref: '#/components/parameters/accountId4'
1550
1550
  responses:
1551
1551
  '200':
1552
1552
  $ref: '#/components/responses/listWebhookSubscriptionsResponse'
@@ -1579,7 +1579,7 @@ paths:
1579
1579
  modify or delete the subscription at a later time.
1580
1580
  operationId: createWebhookSubscription
1581
1581
  parameters:
1582
- - $ref: '#/components/parameters/accountId'
1582
+ - $ref: '#/components/parameters/accountId4'
1583
1583
  requestBody:
1584
1584
  $ref: '#/components/requestBodies/webhookSubscriptionRequest'
1585
1585
  responses:
@@ -1610,7 +1610,7 @@ paths:
1610
1610
  description: Delete a webhook subscription by ID.
1611
1611
  operationId: deleteWebhookSubscription
1612
1612
  parameters:
1613
- - $ref: '#/components/parameters/accountId'
1613
+ - $ref: '#/components/parameters/accountId4'
1614
1614
  - $ref: '#/components/parameters/webhookSubscriptionIdPathParam'
1615
1615
  responses:
1616
1616
  '204':
@@ -1640,7 +1640,7 @@ paths:
1640
1640
  `basicAuthentication` can be updated).
1641
1641
  operationId: updateWebhookSubscription
1642
1642
  parameters:
1643
- - $ref: '#/components/parameters/accountId'
1643
+ - $ref: '#/components/parameters/accountId4'
1644
1644
  - $ref: '#/components/parameters/webhookSubscriptionIdPathParam'
1645
1645
  requestBody:
1646
1646
  $ref: '#/components/requestBodies/webhookSubscriptionRequest'
@@ -1699,7 +1699,7 @@ paths:
1699
1699
  description: Returns a list of endpoints associated with the specified account.
1700
1700
  operationId: listEndpoints
1701
1701
  parameters:
1702
- - $ref: '#/components/parameters/accountId'
1702
+ - $ref: '#/components/parameters/accountId5'
1703
1703
  - $ref: '#/components/parameters/endpointType'
1704
1704
  - $ref: '#/components/parameters/endpointStatus'
1705
1705
  - $ref: '#/components/parameters/afterCursor'
@@ -1730,7 +1730,7 @@ paths:
1730
1730
  description: Creates a new Endpoint for the specified account.
1731
1731
  operationId: createEndpoint
1732
1732
  parameters:
1733
- - $ref: '#/components/parameters/accountId'
1733
+ - $ref: '#/components/parameters/accountId5'
1734
1734
  requestBody:
1735
1735
  $ref: '#/components/requestBodies/createEndpointRequest'
1736
1736
  responses:
@@ -1766,7 +1766,7 @@ paths:
1766
1766
  description: Returns information about the specified endpoint.
1767
1767
  operationId: getEndpoint
1768
1768
  parameters:
1769
- - $ref: '#/components/parameters/accountId'
1769
+ - $ref: '#/components/parameters/accountId5'
1770
1770
  - $ref: '#/components/parameters/endpointId'
1771
1771
  responses:
1772
1772
  '200':
@@ -1796,7 +1796,7 @@ paths:
1796
1796
  media, the media stream will be terminated.
1797
1797
  operationId: deleteEndpoint
1798
1798
  parameters:
1799
- - $ref: '#/components/parameters/accountId'
1799
+ - $ref: '#/components/parameters/accountId5'
1800
1800
  - $ref: '#/components/parameters/endpointId'
1801
1801
  responses:
1802
1802
  '204':
@@ -1826,7 +1826,7 @@ paths:
1826
1826
  description: Updates the BXML for the specified endpoint.
1827
1827
  operationId: updateEndpointBxml
1828
1828
  parameters:
1829
- - $ref: '#/components/parameters/accountId'
1829
+ - $ref: '#/components/parameters/accountId5'
1830
1830
  - $ref: '#/components/parameters/endpointId'
1831
1831
  requestBody:
1832
1832
  $ref: '#/components/requestBodies/updateEndpointBxmlRequest'
@@ -3184,6 +3184,13 @@ components:
3184
3184
  - outbound
3185
3185
  description: The direction of the call.
3186
3186
  example: inbound
3187
+ referCallStatusEnum:
3188
+ type: string
3189
+ enum:
3190
+ - success
3191
+ - failure
3192
+ description: The outcome of the REFER operation.
3193
+ example: success
3187
3194
  fileFormatEnum:
3188
3195
  type: string
3189
3196
  enum:
@@ -4568,6 +4575,8 @@ components:
4568
4575
  $ref: '#/components/schemas/tag1'
4569
4576
  machineDetectionResult:
4570
4577
  $ref: '#/components/schemas/machineDetectionResult'
4578
+ sipCallId:
4579
+ $ref: '#/components/schemas/sipCallId'
4571
4580
  bridgeCompleteCallback:
4572
4581
  type: object
4573
4582
  description: >-
@@ -4832,6 +4841,10 @@ components:
4832
4841
  $ref: '#/components/schemas/errorId'
4833
4842
  tag:
4834
4843
  $ref: '#/components/schemas/tag1'
4844
+ sipCallId:
4845
+ $ref: '#/components/schemas/sipCallId'
4846
+ sipResponseCode:
4847
+ $ref: '#/components/schemas/sipResponseCode'
4835
4848
  dtmfCallback:
4836
4849
  type: object
4837
4850
  description: >-
@@ -4948,6 +4961,10 @@ components:
4948
4961
  $ref: '#/components/schemas/stirShaken'
4949
4962
  uui:
4950
4963
  $ref: '#/components/schemas/uui'
4964
+ sipCallId:
4965
+ $ref: '#/components/schemas/sipCallId'
4966
+ sipHeaders:
4967
+ $ref: '#/components/schemas/sipHeaders'
4951
4968
  machineDetectionCompleteCallback:
4952
4969
  type: object
4953
4970
  description: >-
@@ -5124,6 +5141,45 @@ components:
5124
5141
  $ref: '#/components/schemas/transferCallerId'
5125
5142
  transferTo:
5126
5143
  $ref: '#/components/schemas/transferTo'
5144
+ referCompleteCallback:
5145
+ type: object
5146
+ description: >-
5147
+ This event is sent to the referCompleteUrl of a call's <Refer> verb when
5148
+ the SIP REFER flow completes. On success, the call has been torn down
5149
+ and the BXML returned from this callback is ignored. On failure, the
5150
+ call remains active and the BXML returned from this callback is executed
5151
+ on the call.
5152
+ properties:
5153
+ eventType:
5154
+ $ref: '#/components/schemas/eventType'
5155
+ eventTime:
5156
+ $ref: '#/components/schemas/eventTime'
5157
+ accountId:
5158
+ $ref: '#/components/schemas/accountId'
5159
+ applicationId:
5160
+ $ref: '#/components/schemas/applicationId1'
5161
+ from:
5162
+ $ref: '#/components/schemas/from'
5163
+ to:
5164
+ $ref: '#/components/schemas/to'
5165
+ direction:
5166
+ $ref: '#/components/schemas/callDirectionEnum'
5167
+ callId:
5168
+ $ref: '#/components/schemas/callId'
5169
+ callUrl:
5170
+ $ref: '#/components/schemas/callUrl'
5171
+ startTime:
5172
+ $ref: '#/components/schemas/startTime'
5173
+ answerTime:
5174
+ $ref: '#/components/schemas/answerTime'
5175
+ tag:
5176
+ $ref: '#/components/schemas/tag1'
5177
+ referCallStatus:
5178
+ $ref: '#/components/schemas/referCallStatusEnum'
5179
+ referSipResponseCode:
5180
+ $ref: '#/components/schemas/referSipResponseCode'
5181
+ notifySipResponseCode:
5182
+ $ref: '#/components/schemas/notifySipResponseCode'
5127
5183
  transcriptionAvailableCallback:
5128
5184
  type: object
5129
5185
  description: >-
@@ -5316,8 +5372,8 @@ components:
5316
5372
  conferenceRedirect, conferenceMemberJoin, conferenceMemberExit,
5317
5373
  conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf,
5318
5374
  gather, initiate, machineDetectionComplete, recordingComplete,
5319
- recordingAvailable, redirect, transcriptionAvailable, transferAnswer,
5320
- transferComplete, transferDisconnect.
5375
+ recordingAvailable, redirect, referComplete, transcriptionAvailable,
5376
+ transferAnswer, transferComplete, transferDisconnect.
5321
5377
  example: bridgeComplete
5322
5378
  eventTime:
5323
5379
  type: string
@@ -5469,6 +5525,21 @@ components:
5469
5525
  or it was previously cleared, this field will not be present.
5470
5526
  example: exampleTag
5471
5527
  nullable: true
5528
+ referSipResponseCode:
5529
+ type: integer
5530
+ description: >-
5531
+ (optional) The SIP response code returned for the REFER request itself
5532
+ (e.g. 202, 405, 603). Present when a SIP response was received for the
5533
+ REFER.
5534
+ example: 202
5535
+ notifySipResponseCode:
5536
+ type: integer
5537
+ description: >-
5538
+ (optional) The final SIP response code reported via NOTIFY
5539
+ (message/sipfrag body). Present only when the caller's endpoint sent a
5540
+ final NOTIFY (e.g. 200, 404, 486, 503). Not present on NOTIFY timeout or
5541
+ when the REFER was rejected before a subscription was established.
5542
+ example: 200
5472
5543
  cause:
5473
5544
  type: string
5474
5545
  description: >-
@@ -5595,6 +5666,36 @@ components:
5595
5666
  value, including the encoding specifier, may not exceed 256 characters.
5596
5667
  example: bXktdXVp
5597
5668
  maxLength: 256
5669
+ sipCallId:
5670
+ type: string
5671
+ description: >-
5672
+ (optional) The SIP Call-ID of the call's current SIP dialog with
5673
+ Bandwidth's SBC. Used to correlate dialogs and trace calls. Present on
5674
+ any call, inbound or outbound, once that dialog has been established;
5675
+ may be absent very early in a call before the dialog exists.
5676
+ example: c95ac8d6e1a31c52eb38f419893c151633ec68f8d@sbc.bandwidth.com
5677
+ sipHeaders:
5678
+ type: object
5679
+ additionalProperties:
5680
+ type: string
5681
+ description: >-
5682
+ (optional) Map of customer-supplied X-* headers from the original
5683
+ INVITE. Keys are lowercase (SIP headers are case-insensitive). Present
5684
+ only for inbound SIP URI calls with custom headers. Note - keys preserve
5685
+ the original SIP header name in lowercase rather than Bandwidth's usual
5686
+ camelCase JSON convention, since these are passthrough values from the
5687
+ caller's SIP INVITE, not Bandwidth-defined fields. If the same header
5688
+ name is sent more than once in the INVITE, only the last value is kept.
5689
+ example:
5690
+ x-custom-header: customer-value
5691
+ x-session-id: sess-12345
5692
+ sipResponseCode:
5693
+ type: integer
5694
+ description: >-
5695
+ (optional) The SIP status code returned by Bandwidth's SBC when it
5696
+ rejected an outbound call's INVITE (e.g. 486 for busy, 603 for decline).
5697
+ Present only when an outbound call was rejected by the SBC.
5698
+ example: 486
5598
5699
  codeRequest:
5599
5700
  type: object
5600
5701
  properties:
@@ -8124,7 +8225,13 @@ components:
8124
8225
  required: true
8125
8226
  schema:
8126
8227
  type: string
8127
- description: Your Bandwidth Account ID.
8228
+ description: >
8229
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth
8230
+ App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
8231
+
8232
+
8233
+ **When migrating to OAuth authentication, you must use the 7-digit
8234
+ Account ID.**
8128
8235
  example: '9900000'
8129
8236
  mediaId:
8130
8237
  in: path
@@ -8416,6 +8523,14 @@ components:
8416
8523
  example: true
8417
8524
  schema:
8418
8525
  type: boolean
8526
+ accountId1:
8527
+ name: accountId
8528
+ in: path
8529
+ required: true
8530
+ schema:
8531
+ type: string
8532
+ description: Your Bandwidth Account ID.
8533
+ example: '9900000'
8419
8534
  callId:
8420
8535
  name: callId
8421
8536
  in: path
@@ -8583,7 +8698,15 @@ components:
8583
8698
  type: string
8584
8699
  description: Filter results to calls with specified call Disconnect Cause.
8585
8700
  example: hangup
8586
- accountId1:
8701
+ accountId2:
8702
+ in: path
8703
+ name: accountId
8704
+ required: true
8705
+ schema:
8706
+ type: string
8707
+ description: Your Bandwidth Account ID.
8708
+ example: '9900000'
8709
+ accountId3:
8587
8710
  in: path
8588
8711
  name: accountId
8589
8712
  required: true
@@ -8600,6 +8723,14 @@ components:
8600
8723
  format: uuid
8601
8724
  description: The phone number lookup request ID from Bandwidth.
8602
8725
  example: 004223a0-8b17-41b1-bf81-20732adf5590
8726
+ accountId4:
8727
+ in: path
8728
+ name: accountId
8729
+ required: true
8730
+ schema:
8731
+ type: string
8732
+ description: Your Bandwidth Account ID.
8733
+ example: '9900000'
8603
8734
  tfPhoneNumberPathParam:
8604
8735
  in: path
8605
8736
  name: phoneNumber
@@ -8616,6 +8747,14 @@ components:
8616
8747
  type: string
8617
8748
  description: Webhook subscription ID
8618
8749
  example: 7bt57JcsVYJrN9K1OcV1Nu
8750
+ accountId5:
8751
+ in: path
8752
+ name: accountId
8753
+ required: true
8754
+ schema:
8755
+ type: string
8756
+ description: Your Bandwidth Account ID.
8757
+ example: '9900000'
8619
8758
  endpointId:
8620
8759
  name: endpointId
8621
8760
  in: path
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "result": {
3
- "line": 87.5
3
+ "line": 87.49
4
4
  }
5
5
  }