twilio-ruby 7.1.1 → 7.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (443) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +43 -0
  3. data/Makefile +3 -0
  4. data/README.md +2 -2
  5. data/lib/twilio-ruby/base/client_base.rb +4 -1
  6. data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +2 -1
  7. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +8 -4
  8. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +8 -4
  9. data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +6 -3
  10. data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +4 -2
  11. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +8 -4
  12. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +8 -4
  13. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +2 -1
  14. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +2 -1
  15. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -1
  16. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -1
  17. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +4 -2
  18. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +8 -4
  19. data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +4 -2
  20. data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +4 -2
  21. data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +901 -0
  22. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +2 -1
  23. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +4 -2
  24. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +36 -5
  25. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +8 -4
  26. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +6 -3
  27. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +4 -2
  28. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +6 -3
  29. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -1
  30. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +6 -3
  31. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +2 -1
  32. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +2 -1
  33. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +2 -1
  34. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +8 -4
  35. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +6 -3
  36. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +2 -1
  37. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +4 -2
  38. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +8 -4
  39. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +2 -1
  40. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +2 -1
  41. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +2 -1
  42. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +6 -3
  43. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +4 -2
  44. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +8 -4
  45. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +4 -2
  46. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +4 -2
  47. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +4 -2
  48. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +5 -3
  49. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +4 -2
  50. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +6 -3
  51. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +8 -4
  52. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +8 -4
  53. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +6 -3
  54. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +6 -3
  55. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +6 -3
  56. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +6 -3
  57. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +6 -3
  58. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +8 -4
  59. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +8 -4
  60. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +8 -4
  61. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +2 -1
  62. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +4 -2
  63. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +8 -4
  64. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -1
  65. data/lib/twilio-ruby/rest/api/v2010/account.rb +6 -3
  66. data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +2 -1
  67. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +2 -1
  68. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +4 -2
  69. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -1
  70. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +4 -2
  71. data/lib/twilio-ruby/rest/chat/v1/credential.rb +8 -4
  72. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +6 -3
  73. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +8 -4
  74. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +8 -4
  75. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +8 -4
  76. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +8 -4
  77. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +8 -4
  78. data/lib/twilio-ruby/rest/chat/v1/service.rb +8 -4
  79. data/lib/twilio-ruby/rest/chat/v2/credential.rb +8 -4
  80. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +4 -2
  81. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +6 -3
  82. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +5 -4
  83. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +5 -4
  84. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +8 -4
  85. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -4
  86. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +8 -4
  87. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +4 -2
  88. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +5 -3
  89. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +6 -4
  90. data/lib/twilio-ruby/rest/chat/v2/service.rb +8 -4
  91. data/lib/twilio-ruby/rest/chat/v3/channel.rb +1 -1
  92. data/lib/twilio-ruby/rest/client.rb +5 -0
  93. data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +3 -2
  94. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +2 -1
  95. data/lib/twilio-ruby/rest/content/v1/content.rb +7 -4
  96. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +8 -4
  97. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +4 -2
  98. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +4 -2
  99. data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +2 -1
  100. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +5 -4
  101. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +5 -4
  102. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +8 -4
  103. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +5 -4
  104. data/lib/twilio-ruby/rest/conversations/v1/credential.rb +8 -4
  105. data/lib/twilio-ruby/rest/conversations/v1/role.rb +8 -4
  106. data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +4 -2
  107. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +4 -2
  108. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +4 -2
  109. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +4 -2
  110. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +2 -1
  111. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +5 -4
  112. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +5 -4
  113. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +8 -4
  114. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +5 -4
  115. data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +8 -4
  116. data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +6 -3
  117. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +5 -4
  118. data/lib/twilio-ruby/rest/conversations/v1/service.rb +6 -3
  119. data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +6 -3
  120. data/lib/twilio-ruby/rest/conversations/v1/user.rb +5 -4
  121. data/lib/twilio-ruby/rest/events/v1/event_type.rb +16 -1
  122. data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +2 -1
  123. data/lib/twilio-ruby/rest/events/v1/schema.rb +2 -1
  124. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +2 -1
  125. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +2 -1
  126. data/lib/twilio-ruby/rest/events/v1/sink.rb +8 -4
  127. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +8 -4
  128. data/lib/twilio-ruby/rest/events/v1/subscription.rb +8 -4
  129. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +2 -2
  130. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +6 -3
  131. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +5 -3
  132. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +8 -4
  133. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +1 -1
  134. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +4 -4
  135. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +3 -3
  136. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +3 -3
  137. data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +1 -1
  138. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +1 -1
  139. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +1 -1
  140. data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +1 -1
  141. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +2 -1
  142. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +4 -2
  143. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +4 -2
  144. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +4 -2
  145. data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +2 -2
  146. data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +3 -3
  147. data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +1 -1
  148. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +1 -1
  149. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +2 -2
  150. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +1 -1
  151. data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +2 -2
  152. data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +1 -1
  153. data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +2 -1
  154. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +8 -4
  155. data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +2 -1
  156. data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +1 -1
  157. data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +4 -2
  158. data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +4 -2
  159. data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +2 -1
  160. data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -1
  161. data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +2 -1
  162. data/lib/twilio-ruby/rest/insights/v1/conference.rb +2 -1
  163. data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +2 -1
  164. data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -1
  165. data/lib/twilio-ruby/rest/insights/v1/setting.rb +4 -2
  166. data/lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb +7 -4
  167. data/lib/twilio-ruby/rest/intelligence/v2/operator.rb +2 -1
  168. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +4 -2
  169. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +2 -1
  170. data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +2 -1
  171. data/lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb +2 -1
  172. data/lib/twilio-ruby/rest/intelligence/v2/service.rb +7 -4
  173. data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -1
  174. data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +2 -1
  175. data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +6 -3
  176. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +8 -4
  177. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +6 -3
  178. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +8 -4
  179. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +8 -4
  180. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +8 -4
  181. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +8 -4
  182. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +8 -4
  183. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +8 -4
  184. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +8 -4
  185. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +4 -2
  186. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +6 -3
  187. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +5 -4
  188. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +5 -4
  189. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +8 -4
  190. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -4
  191. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +8 -4
  192. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +4 -2
  193. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +6 -3
  194. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +6 -4
  195. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +8 -4
  196. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -1
  197. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +2 -1
  198. data/lib/twilio-ruby/rest/marketplace/v1/available_add_on/available_add_on_extension.rb +2 -1
  199. data/lib/twilio-ruby/rest/marketplace/v1/available_add_on.rb +2 -1
  200. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_extension.rb +4 -2
  201. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +9 -8
  202. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on.rb +8 -4
  203. data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +4 -2
  204. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +2 -1
  205. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +4 -2
  206. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +6 -3
  207. data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +2 -1
  208. data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +6 -3
  209. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +4 -2
  210. data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +2 -1
  211. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -1
  212. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +4 -2
  213. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +2 -1
  214. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +6 -3
  215. data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +2 -1
  216. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +6 -3
  217. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +6 -3
  218. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +8 -4
  219. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +2 -1
  220. data/lib/twilio-ruby/rest/messaging/v1/service.rb +8 -4
  221. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +8 -4
  222. data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +2 -1
  223. data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +8 -4
  224. data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +8 -4
  225. data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +2 -1
  226. data/lib/twilio-ruby/rest/microvisor/v1/app.rb +4 -2
  227. data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +8 -4
  228. data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +8 -4
  229. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +4 -2
  230. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +2 -1
  231. data/lib/twilio-ruby/rest/monitor/v1/event.rb +2 -1
  232. data/lib/twilio-ruby/rest/notify/v1/credential.rb +8 -4
  233. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +6 -3
  234. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -1
  235. data/lib/twilio-ruby/rest/notify/v1/service.rb +8 -4
  236. data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +5 -3
  237. data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +3 -2
  238. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +14 -4
  239. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +29 -6
  240. data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +2 -15
  241. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +3 -2
  242. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +2 -1
  243. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb +2 -1
  244. data/lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb +3 -2
  245. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +6 -3
  246. data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +5 -3
  247. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +6 -3
  248. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +2 -1
  249. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +4 -2
  250. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +6 -3
  251. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +2 -1
  252. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +8 -4
  253. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +8 -4
  254. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +2 -1
  255. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +25 -7
  256. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +8 -4
  257. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +2 -1
  258. data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +2 -1
  259. data/lib/twilio-ruby/rest/oauth/v1/token.rb +2 -1
  260. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +8 -4
  261. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +8 -4
  262. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +8 -4
  263. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +8 -4
  264. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +8 -4
  265. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +6 -3
  266. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +8 -4
  267. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +2 -1
  268. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +2 -1
  269. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +4 -2
  270. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +8 -4
  271. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +6 -3
  272. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +7 -4
  273. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +6 -4
  274. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +6 -3
  275. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +6 -3
  276. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +6 -4
  277. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +6 -3
  278. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +6 -3
  279. data/lib/twilio-ruby/rest/preview/sync/service.rb +8 -4
  280. data/lib/twilio-ruby/rest/preview/wireless/command.rb +4 -2
  281. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +8 -4
  282. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +2 -1
  283. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +4 -2
  284. data/lib/twilio-ruby/rest/preview_iam.rb +6 -0
  285. data/lib/twilio-ruby/rest/preview_iam_base.rb +33 -0
  286. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -1
  287. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +2 -1
  288. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -1
  289. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -1
  290. data/lib/twilio-ruby/rest/pricing/v2/country.rb +2 -1
  291. data/lib/twilio-ruby/rest/pricing/v2/number.rb +2 -1
  292. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -1
  293. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +2 -1
  294. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +8 -4
  295. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +4 -2
  296. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +4 -2
  297. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +6 -3
  298. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +8 -4
  299. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +8 -4
  300. data/lib/twilio-ruby/rest/proxy/v1/service.rb +8 -4
  301. data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +4 -2
  302. data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +4 -2
  303. data/lib/twilio-ruby/rest/routes/v2/trunk.rb +4 -2
  304. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +2 -1
  305. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +8 -4
  306. data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +2 -1
  307. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +6 -3
  308. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +4 -2
  309. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +2 -1
  310. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +8 -4
  311. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +6 -3
  312. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +2 -1
  313. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +2 -1
  314. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +8 -4
  315. data/lib/twilio-ruby/rest/serverless/v1/service.rb +8 -4
  316. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -1
  317. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -1
  318. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +2 -1
  319. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +6 -3
  320. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +2 -1
  321. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +2 -1
  322. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +2 -1
  323. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +8 -4
  324. data/lib/twilio-ruby/rest/studio/v1/flow.rb +4 -2
  325. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +2 -1
  326. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +2 -1
  327. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +2 -1
  328. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +8 -4
  329. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +2 -1
  330. data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +4 -2
  331. data/lib/twilio-ruby/rest/studio/v2/flow.rb +8 -4
  332. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +2 -1
  333. data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +4 -2
  334. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +6 -3
  335. data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +4 -2
  336. data/lib/twilio-ruby/rest/supersim/v1/network.rb +2 -1
  337. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +6 -3
  338. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +6 -3
  339. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +6 -3
  340. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +4 -2
  341. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +6 -3
  342. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +7 -4
  343. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +6 -4
  344. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +6 -3
  345. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +8 -4
  346. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +6 -4
  347. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +6 -3
  348. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +8 -4
  349. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +2 -1
  350. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +8 -4
  351. data/lib/twilio-ruby/rest/sync/v1/service.rb +8 -4
  352. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +8 -4
  353. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +2 -1
  354. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +3 -2
  355. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +6 -4
  356. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +8 -4
  357. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +3 -2
  358. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -1
  359. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +2 -1
  360. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -1
  361. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -4
  362. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +3 -2
  363. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +4 -2
  364. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +2 -1
  365. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +2 -1
  366. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +2 -1
  367. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +2 -1
  368. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +6 -4
  369. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -1
  370. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +2 -1
  371. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -1
  372. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +8 -4
  373. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +2 -1
  374. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +2 -1
  375. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +2 -1
  376. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +8 -4
  377. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +6 -3
  378. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +6 -3
  379. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +8 -4
  380. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +6 -3
  381. data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +4 -2
  382. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +8 -4
  383. data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +4 -2
  384. data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +4 -2
  385. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +6 -2
  386. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +6 -3
  387. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +6 -3
  388. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +4 -2
  389. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +8 -4
  390. data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +8 -4
  391. data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +2 -1
  392. data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +2 -1
  393. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +8 -4
  394. data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +2 -1
  395. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +6 -3
  396. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +6 -3
  397. data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +4 -2
  398. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +8 -4
  399. data/lib/twilio-ruby/rest/verify/v2/form.rb +2 -1
  400. data/lib/twilio-ruby/rest/verify/v2/safelist.rb +6 -3
  401. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +4 -2
  402. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +2 -1
  403. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +6 -3
  404. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +6 -3
  405. data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +2 -1
  406. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +6 -3
  407. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +8 -4
  408. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +8 -4
  409. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +8 -4
  410. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +6 -3
  411. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +2 -1
  412. data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +8 -4
  413. data/lib/twilio-ruby/rest/verify/v2/service.rb +8 -4
  414. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +2 -1
  415. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +2 -1
  416. data/lib/twilio-ruby/rest/video/v1/composition.rb +6 -3
  417. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +8 -4
  418. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +4 -2
  419. data/lib/twilio-ruby/rest/video/v1/recording.rb +4 -2
  420. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +4 -2
  421. data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +2 -1
  422. data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +2 -1
  423. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +4 -2
  424. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +2 -1
  425. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +4 -2
  426. data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +4 -2
  427. data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +4 -2
  428. data/lib/twilio-ruby/rest/video/v1/room.rb +6 -3
  429. data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -1
  430. data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +8 -4
  431. data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +8 -4
  432. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +8 -4
  433. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +2 -1
  434. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +2 -1
  435. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +4 -2
  436. data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +8 -4
  437. data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +8 -4
  438. data/lib/twilio-ruby/rest/wireless/v1/command.rb +6 -3
  439. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +8 -4
  440. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +6 -3
  441. data/lib/twilio-ruby/twiml/voice_response.rb +89 -14
  442. data/lib/twilio-ruby/version.rb +1 -1
  443. metadata +5 -2
@@ -0,0 +1,901 @@
1
+ ##
2
+ # This code was generated by
3
+ # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
+ # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
+ # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
+ #
7
+ # Twilio - Api
8
+ # This is the public Twilio REST API.
9
+ #
10
+ # NOTE: This class is auto generated by OpenAPI Generator.
11
+ # https://openapi-generator.tech
12
+ # Do not edit the class manually.
13
+ #
14
+
15
+
16
+ module Twilio
17
+ module REST
18
+ class Api < ApiBase
19
+ class V2010 < Version
20
+ class AccountContext < InstanceContext
21
+ class CallContext < InstanceContext
22
+
23
+ class TranscriptionList < ListResource
24
+
25
+ ##
26
+ # Initialize the TranscriptionList
27
+ # @param [Version] version Version that contains the resource
28
+ # @return [TranscriptionList] TranscriptionList
29
+ def initialize(version, account_sid: nil, call_sid: nil)
30
+ super(version)
31
+ # Path Solution
32
+ @solution = { account_sid: account_sid, call_sid: call_sid }
33
+ @uri = "/Accounts/#{@solution[:account_sid]}/Calls/#{@solution[:call_sid]}/Transcriptions.json"
34
+
35
+ end
36
+ ##
37
+ # Create the TranscriptionInstance
38
+ # @param [String] name The user-specified name of this Transcription, if one was given when the Transcription was created. This may be used to stop the Transcription.
39
+ # @param [Track] track
40
+ # @param [String] status_callback_url Absolute URL of the status callback.
41
+ # @param [String] status_callback_method The http method for the status_callback (one of GET, POST).
42
+ # @param [String] inbound_track_label Friendly name given to the Inbound Track
43
+ # @param [String] outbound_track_label Friendly name given to the Outbound Track
44
+ # @param [Boolean] partial_results Indicates if partial results are going to be send to the customer
45
+ # @param [String] language_code Language code used by the transcription engine, specified in [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) format
46
+ # @param [String] transcription_engine Definition of the transcription engine to be used, between those supported by Twilio
47
+ # @param [Boolean] profanity_filter indicates if the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks
48
+ # @param [String] speech_model Recognition model used by the transcription engine, between those supported by the provider
49
+ # @param [String] hints A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
50
+ # @param [Boolean] enable_automatic_punctuation The provider will adds punctuation to recognition result hypotheses
51
+ # @param [String] parameter1_name Parameter name
52
+ # @param [String] parameter1_value Parameter value
53
+ # @param [String] parameter2_name Parameter name
54
+ # @param [String] parameter2_value Parameter value
55
+ # @param [String] parameter3_name Parameter name
56
+ # @param [String] parameter3_value Parameter value
57
+ # @param [String] parameter4_name Parameter name
58
+ # @param [String] parameter4_value Parameter value
59
+ # @param [String] parameter5_name Parameter name
60
+ # @param [String] parameter5_value Parameter value
61
+ # @param [String] parameter6_name Parameter name
62
+ # @param [String] parameter6_value Parameter value
63
+ # @param [String] parameter7_name Parameter name
64
+ # @param [String] parameter7_value Parameter value
65
+ # @param [String] parameter8_name Parameter name
66
+ # @param [String] parameter8_value Parameter value
67
+ # @param [String] parameter9_name Parameter name
68
+ # @param [String] parameter9_value Parameter value
69
+ # @param [String] parameter10_name Parameter name
70
+ # @param [String] parameter10_value Parameter value
71
+ # @param [String] parameter11_name Parameter name
72
+ # @param [String] parameter11_value Parameter value
73
+ # @param [String] parameter12_name Parameter name
74
+ # @param [String] parameter12_value Parameter value
75
+ # @param [String] parameter13_name Parameter name
76
+ # @param [String] parameter13_value Parameter value
77
+ # @param [String] parameter14_name Parameter name
78
+ # @param [String] parameter14_value Parameter value
79
+ # @param [String] parameter15_name Parameter name
80
+ # @param [String] parameter15_value Parameter value
81
+ # @param [String] parameter16_name Parameter name
82
+ # @param [String] parameter16_value Parameter value
83
+ # @param [String] parameter17_name Parameter name
84
+ # @param [String] parameter17_value Parameter value
85
+ # @param [String] parameter18_name Parameter name
86
+ # @param [String] parameter18_value Parameter value
87
+ # @param [String] parameter19_name Parameter name
88
+ # @param [String] parameter19_value Parameter value
89
+ # @param [String] parameter20_name Parameter name
90
+ # @param [String] parameter20_value Parameter value
91
+ # @param [String] parameter21_name Parameter name
92
+ # @param [String] parameter21_value Parameter value
93
+ # @param [String] parameter22_name Parameter name
94
+ # @param [String] parameter22_value Parameter value
95
+ # @param [String] parameter23_name Parameter name
96
+ # @param [String] parameter23_value Parameter value
97
+ # @param [String] parameter24_name Parameter name
98
+ # @param [String] parameter24_value Parameter value
99
+ # @param [String] parameter25_name Parameter name
100
+ # @param [String] parameter25_value Parameter value
101
+ # @param [String] parameter26_name Parameter name
102
+ # @param [String] parameter26_value Parameter value
103
+ # @param [String] parameter27_name Parameter name
104
+ # @param [String] parameter27_value Parameter value
105
+ # @param [String] parameter28_name Parameter name
106
+ # @param [String] parameter28_value Parameter value
107
+ # @param [String] parameter29_name Parameter name
108
+ # @param [String] parameter29_value Parameter value
109
+ # @param [String] parameter30_name Parameter name
110
+ # @param [String] parameter30_value Parameter value
111
+ # @param [String] parameter31_name Parameter name
112
+ # @param [String] parameter31_value Parameter value
113
+ # @param [String] parameter32_name Parameter name
114
+ # @param [String] parameter32_value Parameter value
115
+ # @param [String] parameter33_name Parameter name
116
+ # @param [String] parameter33_value Parameter value
117
+ # @param [String] parameter34_name Parameter name
118
+ # @param [String] parameter34_value Parameter value
119
+ # @param [String] parameter35_name Parameter name
120
+ # @param [String] parameter35_value Parameter value
121
+ # @param [String] parameter36_name Parameter name
122
+ # @param [String] parameter36_value Parameter value
123
+ # @param [String] parameter37_name Parameter name
124
+ # @param [String] parameter37_value Parameter value
125
+ # @param [String] parameter38_name Parameter name
126
+ # @param [String] parameter38_value Parameter value
127
+ # @param [String] parameter39_name Parameter name
128
+ # @param [String] parameter39_value Parameter value
129
+ # @param [String] parameter40_name Parameter name
130
+ # @param [String] parameter40_value Parameter value
131
+ # @param [String] parameter41_name Parameter name
132
+ # @param [String] parameter41_value Parameter value
133
+ # @param [String] parameter42_name Parameter name
134
+ # @param [String] parameter42_value Parameter value
135
+ # @param [String] parameter43_name Parameter name
136
+ # @param [String] parameter43_value Parameter value
137
+ # @param [String] parameter44_name Parameter name
138
+ # @param [String] parameter44_value Parameter value
139
+ # @param [String] parameter45_name Parameter name
140
+ # @param [String] parameter45_value Parameter value
141
+ # @param [String] parameter46_name Parameter name
142
+ # @param [String] parameter46_value Parameter value
143
+ # @param [String] parameter47_name Parameter name
144
+ # @param [String] parameter47_value Parameter value
145
+ # @param [String] parameter48_name Parameter name
146
+ # @param [String] parameter48_value Parameter value
147
+ # @param [String] parameter49_name Parameter name
148
+ # @param [String] parameter49_value Parameter value
149
+ # @param [String] parameter50_name Parameter name
150
+ # @param [String] parameter50_value Parameter value
151
+ # @param [String] parameter51_name Parameter name
152
+ # @param [String] parameter51_value Parameter value
153
+ # @param [String] parameter52_name Parameter name
154
+ # @param [String] parameter52_value Parameter value
155
+ # @param [String] parameter53_name Parameter name
156
+ # @param [String] parameter53_value Parameter value
157
+ # @param [String] parameter54_name Parameter name
158
+ # @param [String] parameter54_value Parameter value
159
+ # @param [String] parameter55_name Parameter name
160
+ # @param [String] parameter55_value Parameter value
161
+ # @param [String] parameter56_name Parameter name
162
+ # @param [String] parameter56_value Parameter value
163
+ # @param [String] parameter57_name Parameter name
164
+ # @param [String] parameter57_value Parameter value
165
+ # @param [String] parameter58_name Parameter name
166
+ # @param [String] parameter58_value Parameter value
167
+ # @param [String] parameter59_name Parameter name
168
+ # @param [String] parameter59_value Parameter value
169
+ # @param [String] parameter60_name Parameter name
170
+ # @param [String] parameter60_value Parameter value
171
+ # @param [String] parameter61_name Parameter name
172
+ # @param [String] parameter61_value Parameter value
173
+ # @param [String] parameter62_name Parameter name
174
+ # @param [String] parameter62_value Parameter value
175
+ # @param [String] parameter63_name Parameter name
176
+ # @param [String] parameter63_value Parameter value
177
+ # @param [String] parameter64_name Parameter name
178
+ # @param [String] parameter64_value Parameter value
179
+ # @param [String] parameter65_name Parameter name
180
+ # @param [String] parameter65_value Parameter value
181
+ # @param [String] parameter66_name Parameter name
182
+ # @param [String] parameter66_value Parameter value
183
+ # @param [String] parameter67_name Parameter name
184
+ # @param [String] parameter67_value Parameter value
185
+ # @param [String] parameter68_name Parameter name
186
+ # @param [String] parameter68_value Parameter value
187
+ # @param [String] parameter69_name Parameter name
188
+ # @param [String] parameter69_value Parameter value
189
+ # @param [String] parameter70_name Parameter name
190
+ # @param [String] parameter70_value Parameter value
191
+ # @param [String] parameter71_name Parameter name
192
+ # @param [String] parameter71_value Parameter value
193
+ # @param [String] parameter72_name Parameter name
194
+ # @param [String] parameter72_value Parameter value
195
+ # @param [String] parameter73_name Parameter name
196
+ # @param [String] parameter73_value Parameter value
197
+ # @param [String] parameter74_name Parameter name
198
+ # @param [String] parameter74_value Parameter value
199
+ # @param [String] parameter75_name Parameter name
200
+ # @param [String] parameter75_value Parameter value
201
+ # @param [String] parameter76_name Parameter name
202
+ # @param [String] parameter76_value Parameter value
203
+ # @param [String] parameter77_name Parameter name
204
+ # @param [String] parameter77_value Parameter value
205
+ # @param [String] parameter78_name Parameter name
206
+ # @param [String] parameter78_value Parameter value
207
+ # @param [String] parameter79_name Parameter name
208
+ # @param [String] parameter79_value Parameter value
209
+ # @param [String] parameter80_name Parameter name
210
+ # @param [String] parameter80_value Parameter value
211
+ # @param [String] parameter81_name Parameter name
212
+ # @param [String] parameter81_value Parameter value
213
+ # @param [String] parameter82_name Parameter name
214
+ # @param [String] parameter82_value Parameter value
215
+ # @param [String] parameter83_name Parameter name
216
+ # @param [String] parameter83_value Parameter value
217
+ # @param [String] parameter84_name Parameter name
218
+ # @param [String] parameter84_value Parameter value
219
+ # @param [String] parameter85_name Parameter name
220
+ # @param [String] parameter85_value Parameter value
221
+ # @param [String] parameter86_name Parameter name
222
+ # @param [String] parameter86_value Parameter value
223
+ # @param [String] parameter87_name Parameter name
224
+ # @param [String] parameter87_value Parameter value
225
+ # @param [String] parameter88_name Parameter name
226
+ # @param [String] parameter88_value Parameter value
227
+ # @param [String] parameter89_name Parameter name
228
+ # @param [String] parameter89_value Parameter value
229
+ # @param [String] parameter90_name Parameter name
230
+ # @param [String] parameter90_value Parameter value
231
+ # @param [String] parameter91_name Parameter name
232
+ # @param [String] parameter91_value Parameter value
233
+ # @param [String] parameter92_name Parameter name
234
+ # @param [String] parameter92_value Parameter value
235
+ # @param [String] parameter93_name Parameter name
236
+ # @param [String] parameter93_value Parameter value
237
+ # @param [String] parameter94_name Parameter name
238
+ # @param [String] parameter94_value Parameter value
239
+ # @param [String] parameter95_name Parameter name
240
+ # @param [String] parameter95_value Parameter value
241
+ # @param [String] parameter96_name Parameter name
242
+ # @param [String] parameter96_value Parameter value
243
+ # @param [String] parameter97_name Parameter name
244
+ # @param [String] parameter97_value Parameter value
245
+ # @param [String] parameter98_name Parameter name
246
+ # @param [String] parameter98_value Parameter value
247
+ # @param [String] parameter99_name Parameter name
248
+ # @param [String] parameter99_value Parameter value
249
+ # @return [TranscriptionInstance] Created TranscriptionInstance
250
+ def create(
251
+ name: :unset,
252
+ track: :unset,
253
+ status_callback_url: :unset,
254
+ status_callback_method: :unset,
255
+ inbound_track_label: :unset,
256
+ outbound_track_label: :unset,
257
+ partial_results: :unset,
258
+ language_code: :unset,
259
+ transcription_engine: :unset,
260
+ profanity_filter: :unset,
261
+ speech_model: :unset,
262
+ hints: :unset,
263
+ enable_automatic_punctuation: :unset,
264
+ parameter1_name: :unset,
265
+ parameter1_value: :unset,
266
+ parameter2_name: :unset,
267
+ parameter2_value: :unset,
268
+ parameter3_name: :unset,
269
+ parameter3_value: :unset,
270
+ parameter4_name: :unset,
271
+ parameter4_value: :unset,
272
+ parameter5_name: :unset,
273
+ parameter5_value: :unset,
274
+ parameter6_name: :unset,
275
+ parameter6_value: :unset,
276
+ parameter7_name: :unset,
277
+ parameter7_value: :unset,
278
+ parameter8_name: :unset,
279
+ parameter8_value: :unset,
280
+ parameter9_name: :unset,
281
+ parameter9_value: :unset,
282
+ parameter10_name: :unset,
283
+ parameter10_value: :unset,
284
+ parameter11_name: :unset,
285
+ parameter11_value: :unset,
286
+ parameter12_name: :unset,
287
+ parameter12_value: :unset,
288
+ parameter13_name: :unset,
289
+ parameter13_value: :unset,
290
+ parameter14_name: :unset,
291
+ parameter14_value: :unset,
292
+ parameter15_name: :unset,
293
+ parameter15_value: :unset,
294
+ parameter16_name: :unset,
295
+ parameter16_value: :unset,
296
+ parameter17_name: :unset,
297
+ parameter17_value: :unset,
298
+ parameter18_name: :unset,
299
+ parameter18_value: :unset,
300
+ parameter19_name: :unset,
301
+ parameter19_value: :unset,
302
+ parameter20_name: :unset,
303
+ parameter20_value: :unset,
304
+ parameter21_name: :unset,
305
+ parameter21_value: :unset,
306
+ parameter22_name: :unset,
307
+ parameter22_value: :unset,
308
+ parameter23_name: :unset,
309
+ parameter23_value: :unset,
310
+ parameter24_name: :unset,
311
+ parameter24_value: :unset,
312
+ parameter25_name: :unset,
313
+ parameter25_value: :unset,
314
+ parameter26_name: :unset,
315
+ parameter26_value: :unset,
316
+ parameter27_name: :unset,
317
+ parameter27_value: :unset,
318
+ parameter28_name: :unset,
319
+ parameter28_value: :unset,
320
+ parameter29_name: :unset,
321
+ parameter29_value: :unset,
322
+ parameter30_name: :unset,
323
+ parameter30_value: :unset,
324
+ parameter31_name: :unset,
325
+ parameter31_value: :unset,
326
+ parameter32_name: :unset,
327
+ parameter32_value: :unset,
328
+ parameter33_name: :unset,
329
+ parameter33_value: :unset,
330
+ parameter34_name: :unset,
331
+ parameter34_value: :unset,
332
+ parameter35_name: :unset,
333
+ parameter35_value: :unset,
334
+ parameter36_name: :unset,
335
+ parameter36_value: :unset,
336
+ parameter37_name: :unset,
337
+ parameter37_value: :unset,
338
+ parameter38_name: :unset,
339
+ parameter38_value: :unset,
340
+ parameter39_name: :unset,
341
+ parameter39_value: :unset,
342
+ parameter40_name: :unset,
343
+ parameter40_value: :unset,
344
+ parameter41_name: :unset,
345
+ parameter41_value: :unset,
346
+ parameter42_name: :unset,
347
+ parameter42_value: :unset,
348
+ parameter43_name: :unset,
349
+ parameter43_value: :unset,
350
+ parameter44_name: :unset,
351
+ parameter44_value: :unset,
352
+ parameter45_name: :unset,
353
+ parameter45_value: :unset,
354
+ parameter46_name: :unset,
355
+ parameter46_value: :unset,
356
+ parameter47_name: :unset,
357
+ parameter47_value: :unset,
358
+ parameter48_name: :unset,
359
+ parameter48_value: :unset,
360
+ parameter49_name: :unset,
361
+ parameter49_value: :unset,
362
+ parameter50_name: :unset,
363
+ parameter50_value: :unset,
364
+ parameter51_name: :unset,
365
+ parameter51_value: :unset,
366
+ parameter52_name: :unset,
367
+ parameter52_value: :unset,
368
+ parameter53_name: :unset,
369
+ parameter53_value: :unset,
370
+ parameter54_name: :unset,
371
+ parameter54_value: :unset,
372
+ parameter55_name: :unset,
373
+ parameter55_value: :unset,
374
+ parameter56_name: :unset,
375
+ parameter56_value: :unset,
376
+ parameter57_name: :unset,
377
+ parameter57_value: :unset,
378
+ parameter58_name: :unset,
379
+ parameter58_value: :unset,
380
+ parameter59_name: :unset,
381
+ parameter59_value: :unset,
382
+ parameter60_name: :unset,
383
+ parameter60_value: :unset,
384
+ parameter61_name: :unset,
385
+ parameter61_value: :unset,
386
+ parameter62_name: :unset,
387
+ parameter62_value: :unset,
388
+ parameter63_name: :unset,
389
+ parameter63_value: :unset,
390
+ parameter64_name: :unset,
391
+ parameter64_value: :unset,
392
+ parameter65_name: :unset,
393
+ parameter65_value: :unset,
394
+ parameter66_name: :unset,
395
+ parameter66_value: :unset,
396
+ parameter67_name: :unset,
397
+ parameter67_value: :unset,
398
+ parameter68_name: :unset,
399
+ parameter68_value: :unset,
400
+ parameter69_name: :unset,
401
+ parameter69_value: :unset,
402
+ parameter70_name: :unset,
403
+ parameter70_value: :unset,
404
+ parameter71_name: :unset,
405
+ parameter71_value: :unset,
406
+ parameter72_name: :unset,
407
+ parameter72_value: :unset,
408
+ parameter73_name: :unset,
409
+ parameter73_value: :unset,
410
+ parameter74_name: :unset,
411
+ parameter74_value: :unset,
412
+ parameter75_name: :unset,
413
+ parameter75_value: :unset,
414
+ parameter76_name: :unset,
415
+ parameter76_value: :unset,
416
+ parameter77_name: :unset,
417
+ parameter77_value: :unset,
418
+ parameter78_name: :unset,
419
+ parameter78_value: :unset,
420
+ parameter79_name: :unset,
421
+ parameter79_value: :unset,
422
+ parameter80_name: :unset,
423
+ parameter80_value: :unset,
424
+ parameter81_name: :unset,
425
+ parameter81_value: :unset,
426
+ parameter82_name: :unset,
427
+ parameter82_value: :unset,
428
+ parameter83_name: :unset,
429
+ parameter83_value: :unset,
430
+ parameter84_name: :unset,
431
+ parameter84_value: :unset,
432
+ parameter85_name: :unset,
433
+ parameter85_value: :unset,
434
+ parameter86_name: :unset,
435
+ parameter86_value: :unset,
436
+ parameter87_name: :unset,
437
+ parameter87_value: :unset,
438
+ parameter88_name: :unset,
439
+ parameter88_value: :unset,
440
+ parameter89_name: :unset,
441
+ parameter89_value: :unset,
442
+ parameter90_name: :unset,
443
+ parameter90_value: :unset,
444
+ parameter91_name: :unset,
445
+ parameter91_value: :unset,
446
+ parameter92_name: :unset,
447
+ parameter92_value: :unset,
448
+ parameter93_name: :unset,
449
+ parameter93_value: :unset,
450
+ parameter94_name: :unset,
451
+ parameter94_value: :unset,
452
+ parameter95_name: :unset,
453
+ parameter95_value: :unset,
454
+ parameter96_name: :unset,
455
+ parameter96_value: :unset,
456
+ parameter97_name: :unset,
457
+ parameter97_value: :unset,
458
+ parameter98_name: :unset,
459
+ parameter98_value: :unset,
460
+ parameter99_name: :unset,
461
+ parameter99_value: :unset
462
+ )
463
+
464
+ data = Twilio::Values.of({
465
+ 'Name' => name,
466
+ 'Track' => track,
467
+ 'StatusCallbackUrl' => status_callback_url,
468
+ 'StatusCallbackMethod' => status_callback_method,
469
+ 'InboundTrackLabel' => inbound_track_label,
470
+ 'OutboundTrackLabel' => outbound_track_label,
471
+ 'PartialResults' => partial_results,
472
+ 'LanguageCode' => language_code,
473
+ 'TranscriptionEngine' => transcription_engine,
474
+ 'ProfanityFilter' => profanity_filter,
475
+ 'SpeechModel' => speech_model,
476
+ 'Hints' => hints,
477
+ 'EnableAutomaticPunctuation' => enable_automatic_punctuation,
478
+ 'Parameter1.Name' => parameter1_name,
479
+ 'Parameter1.Value' => parameter1_value,
480
+ 'Parameter2.Name' => parameter2_name,
481
+ 'Parameter2.Value' => parameter2_value,
482
+ 'Parameter3.Name' => parameter3_name,
483
+ 'Parameter3.Value' => parameter3_value,
484
+ 'Parameter4.Name' => parameter4_name,
485
+ 'Parameter4.Value' => parameter4_value,
486
+ 'Parameter5.Name' => parameter5_name,
487
+ 'Parameter5.Value' => parameter5_value,
488
+ 'Parameter6.Name' => parameter6_name,
489
+ 'Parameter6.Value' => parameter6_value,
490
+ 'Parameter7.Name' => parameter7_name,
491
+ 'Parameter7.Value' => parameter7_value,
492
+ 'Parameter8.Name' => parameter8_name,
493
+ 'Parameter8.Value' => parameter8_value,
494
+ 'Parameter9.Name' => parameter9_name,
495
+ 'Parameter9.Value' => parameter9_value,
496
+ 'Parameter10.Name' => parameter10_name,
497
+ 'Parameter10.Value' => parameter10_value,
498
+ 'Parameter11.Name' => parameter11_name,
499
+ 'Parameter11.Value' => parameter11_value,
500
+ 'Parameter12.Name' => parameter12_name,
501
+ 'Parameter12.Value' => parameter12_value,
502
+ 'Parameter13.Name' => parameter13_name,
503
+ 'Parameter13.Value' => parameter13_value,
504
+ 'Parameter14.Name' => parameter14_name,
505
+ 'Parameter14.Value' => parameter14_value,
506
+ 'Parameter15.Name' => parameter15_name,
507
+ 'Parameter15.Value' => parameter15_value,
508
+ 'Parameter16.Name' => parameter16_name,
509
+ 'Parameter16.Value' => parameter16_value,
510
+ 'Parameter17.Name' => parameter17_name,
511
+ 'Parameter17.Value' => parameter17_value,
512
+ 'Parameter18.Name' => parameter18_name,
513
+ 'Parameter18.Value' => parameter18_value,
514
+ 'Parameter19.Name' => parameter19_name,
515
+ 'Parameter19.Value' => parameter19_value,
516
+ 'Parameter20.Name' => parameter20_name,
517
+ 'Parameter20.Value' => parameter20_value,
518
+ 'Parameter21.Name' => parameter21_name,
519
+ 'Parameter21.Value' => parameter21_value,
520
+ 'Parameter22.Name' => parameter22_name,
521
+ 'Parameter22.Value' => parameter22_value,
522
+ 'Parameter23.Name' => parameter23_name,
523
+ 'Parameter23.Value' => parameter23_value,
524
+ 'Parameter24.Name' => parameter24_name,
525
+ 'Parameter24.Value' => parameter24_value,
526
+ 'Parameter25.Name' => parameter25_name,
527
+ 'Parameter25.Value' => parameter25_value,
528
+ 'Parameter26.Name' => parameter26_name,
529
+ 'Parameter26.Value' => parameter26_value,
530
+ 'Parameter27.Name' => parameter27_name,
531
+ 'Parameter27.Value' => parameter27_value,
532
+ 'Parameter28.Name' => parameter28_name,
533
+ 'Parameter28.Value' => parameter28_value,
534
+ 'Parameter29.Name' => parameter29_name,
535
+ 'Parameter29.Value' => parameter29_value,
536
+ 'Parameter30.Name' => parameter30_name,
537
+ 'Parameter30.Value' => parameter30_value,
538
+ 'Parameter31.Name' => parameter31_name,
539
+ 'Parameter31.Value' => parameter31_value,
540
+ 'Parameter32.Name' => parameter32_name,
541
+ 'Parameter32.Value' => parameter32_value,
542
+ 'Parameter33.Name' => parameter33_name,
543
+ 'Parameter33.Value' => parameter33_value,
544
+ 'Parameter34.Name' => parameter34_name,
545
+ 'Parameter34.Value' => parameter34_value,
546
+ 'Parameter35.Name' => parameter35_name,
547
+ 'Parameter35.Value' => parameter35_value,
548
+ 'Parameter36.Name' => parameter36_name,
549
+ 'Parameter36.Value' => parameter36_value,
550
+ 'Parameter37.Name' => parameter37_name,
551
+ 'Parameter37.Value' => parameter37_value,
552
+ 'Parameter38.Name' => parameter38_name,
553
+ 'Parameter38.Value' => parameter38_value,
554
+ 'Parameter39.Name' => parameter39_name,
555
+ 'Parameter39.Value' => parameter39_value,
556
+ 'Parameter40.Name' => parameter40_name,
557
+ 'Parameter40.Value' => parameter40_value,
558
+ 'Parameter41.Name' => parameter41_name,
559
+ 'Parameter41.Value' => parameter41_value,
560
+ 'Parameter42.Name' => parameter42_name,
561
+ 'Parameter42.Value' => parameter42_value,
562
+ 'Parameter43.Name' => parameter43_name,
563
+ 'Parameter43.Value' => parameter43_value,
564
+ 'Parameter44.Name' => parameter44_name,
565
+ 'Parameter44.Value' => parameter44_value,
566
+ 'Parameter45.Name' => parameter45_name,
567
+ 'Parameter45.Value' => parameter45_value,
568
+ 'Parameter46.Name' => parameter46_name,
569
+ 'Parameter46.Value' => parameter46_value,
570
+ 'Parameter47.Name' => parameter47_name,
571
+ 'Parameter47.Value' => parameter47_value,
572
+ 'Parameter48.Name' => parameter48_name,
573
+ 'Parameter48.Value' => parameter48_value,
574
+ 'Parameter49.Name' => parameter49_name,
575
+ 'Parameter49.Value' => parameter49_value,
576
+ 'Parameter50.Name' => parameter50_name,
577
+ 'Parameter50.Value' => parameter50_value,
578
+ 'Parameter51.Name' => parameter51_name,
579
+ 'Parameter51.Value' => parameter51_value,
580
+ 'Parameter52.Name' => parameter52_name,
581
+ 'Parameter52.Value' => parameter52_value,
582
+ 'Parameter53.Name' => parameter53_name,
583
+ 'Parameter53.Value' => parameter53_value,
584
+ 'Parameter54.Name' => parameter54_name,
585
+ 'Parameter54.Value' => parameter54_value,
586
+ 'Parameter55.Name' => parameter55_name,
587
+ 'Parameter55.Value' => parameter55_value,
588
+ 'Parameter56.Name' => parameter56_name,
589
+ 'Parameter56.Value' => parameter56_value,
590
+ 'Parameter57.Name' => parameter57_name,
591
+ 'Parameter57.Value' => parameter57_value,
592
+ 'Parameter58.Name' => parameter58_name,
593
+ 'Parameter58.Value' => parameter58_value,
594
+ 'Parameter59.Name' => parameter59_name,
595
+ 'Parameter59.Value' => parameter59_value,
596
+ 'Parameter60.Name' => parameter60_name,
597
+ 'Parameter60.Value' => parameter60_value,
598
+ 'Parameter61.Name' => parameter61_name,
599
+ 'Parameter61.Value' => parameter61_value,
600
+ 'Parameter62.Name' => parameter62_name,
601
+ 'Parameter62.Value' => parameter62_value,
602
+ 'Parameter63.Name' => parameter63_name,
603
+ 'Parameter63.Value' => parameter63_value,
604
+ 'Parameter64.Name' => parameter64_name,
605
+ 'Parameter64.Value' => parameter64_value,
606
+ 'Parameter65.Name' => parameter65_name,
607
+ 'Parameter65.Value' => parameter65_value,
608
+ 'Parameter66.Name' => parameter66_name,
609
+ 'Parameter66.Value' => parameter66_value,
610
+ 'Parameter67.Name' => parameter67_name,
611
+ 'Parameter67.Value' => parameter67_value,
612
+ 'Parameter68.Name' => parameter68_name,
613
+ 'Parameter68.Value' => parameter68_value,
614
+ 'Parameter69.Name' => parameter69_name,
615
+ 'Parameter69.Value' => parameter69_value,
616
+ 'Parameter70.Name' => parameter70_name,
617
+ 'Parameter70.Value' => parameter70_value,
618
+ 'Parameter71.Name' => parameter71_name,
619
+ 'Parameter71.Value' => parameter71_value,
620
+ 'Parameter72.Name' => parameter72_name,
621
+ 'Parameter72.Value' => parameter72_value,
622
+ 'Parameter73.Name' => parameter73_name,
623
+ 'Parameter73.Value' => parameter73_value,
624
+ 'Parameter74.Name' => parameter74_name,
625
+ 'Parameter74.Value' => parameter74_value,
626
+ 'Parameter75.Name' => parameter75_name,
627
+ 'Parameter75.Value' => parameter75_value,
628
+ 'Parameter76.Name' => parameter76_name,
629
+ 'Parameter76.Value' => parameter76_value,
630
+ 'Parameter77.Name' => parameter77_name,
631
+ 'Parameter77.Value' => parameter77_value,
632
+ 'Parameter78.Name' => parameter78_name,
633
+ 'Parameter78.Value' => parameter78_value,
634
+ 'Parameter79.Name' => parameter79_name,
635
+ 'Parameter79.Value' => parameter79_value,
636
+ 'Parameter80.Name' => parameter80_name,
637
+ 'Parameter80.Value' => parameter80_value,
638
+ 'Parameter81.Name' => parameter81_name,
639
+ 'Parameter81.Value' => parameter81_value,
640
+ 'Parameter82.Name' => parameter82_name,
641
+ 'Parameter82.Value' => parameter82_value,
642
+ 'Parameter83.Name' => parameter83_name,
643
+ 'Parameter83.Value' => parameter83_value,
644
+ 'Parameter84.Name' => parameter84_name,
645
+ 'Parameter84.Value' => parameter84_value,
646
+ 'Parameter85.Name' => parameter85_name,
647
+ 'Parameter85.Value' => parameter85_value,
648
+ 'Parameter86.Name' => parameter86_name,
649
+ 'Parameter86.Value' => parameter86_value,
650
+ 'Parameter87.Name' => parameter87_name,
651
+ 'Parameter87.Value' => parameter87_value,
652
+ 'Parameter88.Name' => parameter88_name,
653
+ 'Parameter88.Value' => parameter88_value,
654
+ 'Parameter89.Name' => parameter89_name,
655
+ 'Parameter89.Value' => parameter89_value,
656
+ 'Parameter90.Name' => parameter90_name,
657
+ 'Parameter90.Value' => parameter90_value,
658
+ 'Parameter91.Name' => parameter91_name,
659
+ 'Parameter91.Value' => parameter91_value,
660
+ 'Parameter92.Name' => parameter92_name,
661
+ 'Parameter92.Value' => parameter92_value,
662
+ 'Parameter93.Name' => parameter93_name,
663
+ 'Parameter93.Value' => parameter93_value,
664
+ 'Parameter94.Name' => parameter94_name,
665
+ 'Parameter94.Value' => parameter94_value,
666
+ 'Parameter95.Name' => parameter95_name,
667
+ 'Parameter95.Value' => parameter95_value,
668
+ 'Parameter96.Name' => parameter96_name,
669
+ 'Parameter96.Value' => parameter96_value,
670
+ 'Parameter97.Name' => parameter97_name,
671
+ 'Parameter97.Value' => parameter97_value,
672
+ 'Parameter98.Name' => parameter98_name,
673
+ 'Parameter98.Value' => parameter98_value,
674
+ 'Parameter99.Name' => parameter99_name,
675
+ 'Parameter99.Value' => parameter99_value,
676
+ })
677
+
678
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
679
+
680
+ payload = @version.create('POST', @uri, data: data, headers: headers)
681
+ TranscriptionInstance.new(
682
+ @version,
683
+ payload,
684
+ account_sid: @solution[:account_sid],
685
+ call_sid: @solution[:call_sid],
686
+ )
687
+ end
688
+
689
+
690
+
691
+
692
+ # Provide a user friendly representation
693
+ def to_s
694
+ '#<Twilio.Api.V2010.TranscriptionList>'
695
+ end
696
+ end
697
+
698
+
699
+ class TranscriptionContext < InstanceContext
700
+ ##
701
+ # Initialize the TranscriptionContext
702
+ # @param [Version] version Version that contains the resource
703
+ # @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Transcription resource.
704
+ # @param [String] call_sid The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Transcription resource is associated with.
705
+ # @param [String] sid The SID of the Transcription resource, or the `name` used when creating the resource
706
+ # @return [TranscriptionContext] TranscriptionContext
707
+ def initialize(version, account_sid, call_sid, sid)
708
+ super(version)
709
+
710
+ # Path Solution
711
+ @solution = { account_sid: account_sid, call_sid: call_sid, sid: sid, }
712
+ @uri = "/Accounts/#{@solution[:account_sid]}/Calls/#{@solution[:call_sid]}/Transcriptions/#{@solution[:sid]}.json"
713
+
714
+
715
+ end
716
+ ##
717
+ # Update the TranscriptionInstance
718
+ # @param [UpdateStatus] status
719
+ # @return [TranscriptionInstance] Updated TranscriptionInstance
720
+ def update(
721
+ status: nil
722
+ )
723
+
724
+ data = Twilio::Values.of({
725
+ 'Status' => status,
726
+ })
727
+
728
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
729
+
730
+ payload = @version.update('POST', @uri, data: data, headers: headers)
731
+ TranscriptionInstance.new(
732
+ @version,
733
+ payload,
734
+ account_sid: @solution[:account_sid],
735
+ call_sid: @solution[:call_sid],
736
+ sid: @solution[:sid],
737
+ )
738
+ end
739
+
740
+
741
+ ##
742
+ # Provide a user friendly representation
743
+ def to_s
744
+ context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
745
+ "#<Twilio.Api.V2010.TranscriptionContext #{context}>"
746
+ end
747
+
748
+ ##
749
+ # Provide a detailed, user friendly representation
750
+ def inspect
751
+ context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
752
+ "#<Twilio.Api.V2010.TranscriptionContext #{context}>"
753
+ end
754
+ end
755
+
756
+ class TranscriptionPage < Page
757
+ ##
758
+ # Initialize the TranscriptionPage
759
+ # @param [Version] version Version that contains the resource
760
+ # @param [Response] response Response from the API
761
+ # @param [Hash] solution Path solution for the resource
762
+ # @return [TranscriptionPage] TranscriptionPage
763
+ def initialize(version, response, solution)
764
+ super(version, response)
765
+
766
+ # Path Solution
767
+ @solution = solution
768
+ end
769
+
770
+ ##
771
+ # Build an instance of TranscriptionInstance
772
+ # @param [Hash] payload Payload response from the API
773
+ # @return [TranscriptionInstance] TranscriptionInstance
774
+ def get_instance(payload)
775
+ TranscriptionInstance.new(@version, payload, account_sid: @solution[:account_sid], call_sid: @solution[:call_sid])
776
+ end
777
+
778
+ ##
779
+ # Provide a user friendly representation
780
+ def to_s
781
+ '<Twilio.Api.V2010.TranscriptionPage>'
782
+ end
783
+ end
784
+ class TranscriptionInstance < InstanceResource
785
+ ##
786
+ # Initialize the TranscriptionInstance
787
+ # @param [Version] version Version that contains the resource
788
+ # @param [Hash] payload payload that contains response from Twilio
789
+ # @param [String] account_sid The SID of the
790
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this Transcription
791
+ # resource.
792
+ # @param [String] sid The SID of the Call resource to fetch.
793
+ # @return [TranscriptionInstance] TranscriptionInstance
794
+ def initialize(version, payload , account_sid: nil, call_sid: nil, sid: nil)
795
+ super(version)
796
+
797
+ # Marshaled Properties
798
+ @properties = {
799
+ 'sid' => payload['sid'],
800
+ 'account_sid' => payload['account_sid'],
801
+ 'call_sid' => payload['call_sid'],
802
+ 'name' => payload['name'],
803
+ 'status' => payload['status'],
804
+ 'date_updated' => Twilio.deserialize_rfc2822(payload['date_updated']),
805
+ 'uri' => payload['uri'],
806
+ }
807
+
808
+ # Context
809
+ @instance_context = nil
810
+ @params = { 'account_sid' => account_sid ,'call_sid' => call_sid || @properties['call_sid'] ,'sid' => sid || @properties['sid'] , }
811
+ end
812
+
813
+ ##
814
+ # Generate an instance context for the instance, the context is capable of
815
+ # performing various actions. All instance actions are proxied to the context
816
+ # @return [TranscriptionContext] CallContext for this CallInstance
817
+ def context
818
+ unless @instance_context
819
+ @instance_context = TranscriptionContext.new(@version , @params['account_sid'], @params['call_sid'], @params['sid'])
820
+ end
821
+ @instance_context
822
+ end
823
+
824
+ ##
825
+ # @return [String] The SID of the Transcription resource.
826
+ def sid
827
+ @properties['sid']
828
+ end
829
+
830
+ ##
831
+ # @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Transcription resource.
832
+ def account_sid
833
+ @properties['account_sid']
834
+ end
835
+
836
+ ##
837
+ # @return [String] The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Transcription resource is associated with.
838
+ def call_sid
839
+ @properties['call_sid']
840
+ end
841
+
842
+ ##
843
+ # @return [String] The user-specified name of this Transcription, if one was given when the Transcription was created. This may be used to stop the Transcription.
844
+ def name
845
+ @properties['name']
846
+ end
847
+
848
+ ##
849
+ # @return [Status]
850
+ def status
851
+ @properties['status']
852
+ end
853
+
854
+ ##
855
+ # @return [Time] The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
856
+ def date_updated
857
+ @properties['date_updated']
858
+ end
859
+
860
+ ##
861
+ # @return [String]
862
+ def uri
863
+ @properties['uri']
864
+ end
865
+
866
+ ##
867
+ # Update the TranscriptionInstance
868
+ # @param [UpdateStatus] status
869
+ # @return [TranscriptionInstance] Updated TranscriptionInstance
870
+ def update(
871
+ status: nil
872
+ )
873
+
874
+ context.update(
875
+ status: status,
876
+ )
877
+ end
878
+
879
+ ##
880
+ # Provide a user friendly representation
881
+ def to_s
882
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
883
+ "<Twilio.Api.V2010.TranscriptionInstance #{values}>"
884
+ end
885
+
886
+ ##
887
+ # Provide a detailed, user friendly representation
888
+ def inspect
889
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
890
+ "<Twilio.Api.V2010.TranscriptionInstance #{values}>"
891
+ end
892
+ end
893
+
894
+ end
895
+ end
896
+ end
897
+ end
898
+ end
899
+ end
900
+
901
+