twilio-ruby 7.10.7 → 7.11.2

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 (298) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test-and-deploy.yml +43 -67
  3. data/.gitignore +0 -1
  4. data/CHANGES.md +267 -0
  5. data/Gemfile +2 -0
  6. data/Gemfile.lock +154 -0
  7. data/README.md +3 -3
  8. data/Rakefile +1 -1
  9. data/lib/rack/twilio_webhook_authentication.rb +45 -2
  10. data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +25 -65
  11. data/lib/twilio-ruby/rest/accounts/v1/bulk_consents.rb +0 -59
  12. data/lib/twilio-ruby/rest/accounts/v1/bulk_contacts.rb +0 -59
  13. data/lib/twilio-ruby/rest/accounts/v1/credential.rb +0 -59
  14. data/lib/twilio-ruby/rest/accounts/v1/messaging_geopermissions.rb +0 -59
  15. data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +0 -59
  16. data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +48 -71
  17. data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +0 -59
  18. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +0 -59
  19. data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +0 -59
  20. data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +0 -59
  21. data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +0 -59
  22. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +0 -59
  23. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +0 -59
  24. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +6 -0
  25. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +56 -2
  26. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +0 -59
  27. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +6 -0
  28. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +0 -59
  29. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +0 -59
  30. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload/data.rb +0 -59
  31. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls.rb +0 -59
  32. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations.rb +0 -59
  33. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +0 -59
  34. data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +0 -59
  35. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +0 -59
  36. data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +0 -59
  37. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +0 -59
  38. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +0 -59
  39. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +0 -59
  40. data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +0 -59
  41. data/lib/twilio-ruby/rest/chat/v3/channel.rb +0 -59
  42. data/lib/twilio-ruby/rest/client.rb +0 -5
  43. data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +11 -60
  44. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +0 -59
  45. data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +0 -59
  46. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +0 -59
  47. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +10 -10
  48. data/lib/twilio-ruby/rest/conversations/v1/conversation_with_participants.rb +0 -59
  49. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +0 -59
  50. data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +0 -59
  51. data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +0 -59
  52. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +10 -10
  53. data/lib/twilio-ruby/rest/conversations/v1/service/conversation_with_participants.rb +0 -59
  54. data/lib/twilio-ruby/rest/conversations/v2/action.rb +2 -61
  55. data/lib/twilio-ruby/rest/conversations/v2/communication.rb +43 -21
  56. data/lib/twilio-ruby/rest/conversations/v2/configuration.rb +584 -21
  57. data/lib/twilio-ruby/rest/conversations/v2/conversation.rb +28 -28
  58. data/lib/twilio-ruby/rest/conversations/v2/operation.rb +10 -69
  59. data/lib/twilio-ruby/rest/conversations/v2/participant.rb +58 -58
  60. data/lib/twilio-ruby/rest/conversations/v2.rb +55 -49
  61. data/lib/twilio-ruby/rest/events/v1/schema.rb +0 -59
  62. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +0 -59
  63. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +0 -59
  64. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +12 -14
  65. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +0 -59
  66. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +12 -14
  67. data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +12 -14
  68. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +12 -14
  69. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +2 -4
  70. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +12 -14
  71. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +12 -14
  72. data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +0 -59
  73. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +0 -59
  74. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +0 -59
  75. data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +0 -59
  76. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_transfer.rb +0 -59
  77. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +0 -59
  78. data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +2 -4
  79. data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +2 -4
  80. data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +0 -59
  81. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +2 -4
  82. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +2 -4
  83. data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +0 -59
  84. data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +2 -4
  85. data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +0 -59
  86. data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +0 -59
  87. data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +0 -59
  88. data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +0 -59
  89. data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +0 -59
  90. data/lib/twilio-ruby/rest/iam/v1/api_key.rb +0 -59
  91. data/lib/twilio-ruby/rest/iam/v1/new_api_key.rb +2 -61
  92. data/lib/twilio-ruby/rest/iam/v1/o_auth_app.rb +15 -61
  93. data/lib/twilio-ruby/rest/iam/v1/token.rb +0 -59
  94. data/lib/twilio-ruby/rest/iam_base.rb +6 -1
  95. data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +0 -59
  96. data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +7 -59
  97. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +7 -0
  98. data/lib/twilio-ruby/rest/insights/v1/call.rb +0 -59
  99. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +7 -0
  100. data/lib/twilio-ruby/rest/insights/v1/setting.rb +0 -59
  101. data/lib/twilio-ruby/rest/insights/v2/inbound.rb +2 -261
  102. data/lib/twilio-ruby/rest/insights/v2/inbound_report.rb +258 -0
  103. data/lib/twilio-ruby/rest/insights/v2/outbound.rb +18 -299
  104. data/lib/twilio-ruby/rest/insights/v2/outbound_report.rb +258 -0
  105. data/lib/twilio-ruby/rest/insights/v2/report.rb +27 -184
  106. data/lib/twilio-ruby/rest/insights/v2.rb +14 -4
  107. data/lib/twilio-ruby/rest/insights/v3/metadata.rb +1 -60
  108. data/lib/twilio-ruby/rest/insights/v3/query.rb +1 -60
  109. data/lib/twilio-ruby/rest/insights/v3/query_job.rb +654 -0
  110. data/lib/twilio-ruby/rest/insights/v3/result.rb +195 -0
  111. data/lib/twilio-ruby/rest/insights/v3.rb +17 -1
  112. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +0 -59
  113. data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +0 -59
  114. data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb +0 -59
  115. data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb +0 -59
  116. data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +0 -59
  117. data/lib/twilio-ruby/rest/intelligence/v3/conversation.rb +8 -8
  118. data/lib/twilio-ruby/rest/intelligence/v3/rule_execution.rb +443 -0
  119. data/lib/twilio-ruby/rest/intelligence/v3.rb +6 -0
  120. data/lib/twilio-ruby/rest/knowledge/v1/knowledge/knowledge_status.rb +0 -59
  121. data/lib/twilio-ruby/rest/knowledge/v2/chunk.rb +28 -0
  122. data/lib/twilio-ruby/rest/knowledge/v2/knowledge.rb +38 -0
  123. data/lib/twilio-ruby/rest/knowledge/v2/operation.rb +0 -59
  124. data/lib/twilio-ruby/rest/knowledge/v2/search.rb +8 -176
  125. data/lib/twilio-ruby/rest/knowledge/v2.rb +1 -2
  126. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +0 -59
  127. data/lib/twilio-ruby/rest/lookups/v2/bucket.rb +0 -59
  128. data/lib/twilio-ruby/rest/lookups/v2/lookup_override.rb +0 -59
  129. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +0 -59
  130. data/lib/twilio-ruby/rest/lookups/v2/query.rb +0 -59
  131. data/lib/twilio-ruby/rest/lookups/v2/rate_limit.rb +0 -59
  132. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +0 -59
  133. data/lib/twilio-ruby/rest/marketplace/v1/module_data.rb +0 -59
  134. data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +0 -59
  135. data/lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb +0 -59
  136. data/lib/twilio-ruby/rest/memory/v1/bulk.rb +9 -177
  137. data/lib/twilio-ruby/rest/memory/v1/conversation_summary.rb +15 -9
  138. data/lib/twilio-ruby/rest/memory/v1/data_mapping.rb +6 -12
  139. data/lib/twilio-ruby/rest/memory/v1/identifier.rb +1 -81
  140. data/lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb +11 -191
  141. data/lib/twilio-ruby/rest/memory/v1/import.rb +28 -5
  142. data/lib/twilio-ruby/rest/memory/v1/lookup.rb +1 -60
  143. data/lib/twilio-ruby/rest/memory/v1/observation.rb +72 -22
  144. data/lib/twilio-ruby/rest/memory/v1/operation.rb +1 -60
  145. data/lib/twilio-ruby/rest/memory/v1/profile.rb +2 -2
  146. data/lib/twilio-ruby/rest/memory/v1/recall.rb +1 -60
  147. data/lib/twilio-ruby/rest/memory/v1/revision.rb +3 -5
  148. data/lib/twilio-ruby/rest/memory/v1/store.rb +1 -1
  149. data/lib/twilio-ruby/rest/memory/v1/trait.rb +1 -1
  150. data/lib/twilio-ruby/rest/memory/v1/trait_group.rb +56 -6
  151. data/lib/twilio-ruby/rest/memory/v1.rb +3 -46
  152. data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +0 -59
  153. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -18
  154. data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +0 -59
  155. data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +0 -59
  156. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +0 -59
  157. data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +0 -59
  158. data/lib/twilio-ruby/rest/messaging/v1/domain_validate_dn.rb +0 -59
  159. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +0 -59
  160. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +0 -59
  161. data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +0 -59
  162. data/lib/twilio-ruby/rest/messaging/v1/request_managed_cert.rb +0 -59
  163. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +2 -4
  164. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +0 -59
  165. data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +0 -59
  166. data/lib/twilio-ruby/rest/messaging/v2/channels_sender.rb +23 -4
  167. data/lib/twilio-ruby/rest/messaging/v2/domain_certs.rb +0 -59
  168. data/lib/twilio-ruby/rest/messaging/v2/typing_indicator.rb +0 -59
  169. data/lib/twilio-ruby/rest/messaging/v3/typing_indicator.rb +4 -63
  170. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +0 -59
  171. data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +0 -59
  172. data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +0 -59
  173. data/lib/twilio-ruby/rest/numbers/v1/embedded_session.rb +0 -59
  174. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +0 -59
  175. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +0 -59
  176. data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +0 -59
  177. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +0 -59
  178. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +0 -59
  179. data/lib/twilio-ruby/rest/numbers/v1/sender_id_registration.rb +0 -59
  180. data/lib/twilio-ruby/rest/numbers/v1/sms_verification.rb +172 -0
  181. data/lib/twilio-ruby/rest/numbers/v1/sms_verification_check.rb +179 -0
  182. data/lib/twilio-ruby/rest/numbers/v1/voice_verification.rb +186 -0
  183. data/lib/twilio-ruby/rest/numbers/v1/voice_verification_check.rb +165 -0
  184. data/lib/twilio-ruby/rest/numbers/v1/webhook.rb +0 -59
  185. data/lib/twilio-ruby/rest/numbers/v1.rb +24 -0
  186. data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +0 -59
  187. data/lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb +0 -59
  188. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +0 -59
  189. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +0 -59
  190. data/lib/twilio-ruby/rest/numbers/v3/hosted_number_order.rb +0 -59
  191. data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +0 -59
  192. data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -59
  193. data/lib/twilio-ruby/rest/oauth/v2/authorize.rb +14 -61
  194. data/lib/twilio-ruby/rest/oauth/v2/oauth_authorization_server.rb +200 -0
  195. data/lib/twilio-ruby/rest/oauth/v2/token.rb +10 -63
  196. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +0 -59
  197. data/lib/twilio-ruby/rest/preview_iam/v1/authorize.rb +0 -59
  198. data/lib/twilio-ruby/rest/preview_iam/v1/token.rb +0 -59
  199. data/lib/twilio-ruby/rest/preview_iam/versionless/organization.rb +0 -78
  200. data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +0 -59
  201. data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +0 -59
  202. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +0 -59
  203. data/lib/twilio-ruby/rest/pricing/v1/voice.rb +0 -59
  204. data/lib/twilio-ruby/rest/pricing/v2/number.rb +0 -59
  205. data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +0 -59
  206. data/lib/twilio-ruby/rest/pricing/v2/voice.rb +0 -59
  207. data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +0 -59
  208. data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +0 -59
  209. data/lib/twilio-ruby/rest/routes/v2/trunk.rb +0 -59
  210. data/lib/twilio-ruby/rest/routes/v3/phone_number.rb +406 -0
  211. data/lib/twilio-ruby/rest/routes/v3.rb +50 -0
  212. data/lib/twilio-ruby/rest/routes_base.rb +6 -1
  213. data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +0 -59
  214. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +0 -59
  215. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +0 -59
  216. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +0 -59
  217. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +0 -59
  218. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +0 -59
  219. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +0 -59
  220. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +0 -59
  221. data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +0 -59
  222. data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +0 -59
  223. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +0 -59
  224. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +0 -59
  225. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +0 -59
  226. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +0 -59
  227. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +0 -59
  228. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +0 -59
  229. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +0 -59
  230. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +0 -59
  231. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +0 -59
  232. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +0 -59
  233. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +0 -59
  234. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +0 -59
  235. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +0 -59
  236. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +0 -59
  237. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +0 -59
  238. data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +0 -59
  239. data/lib/twilio-ruby/rest/trusthub/v1/a2p_brand_registration.rb +271 -0
  240. data/lib/twilio-ruby/rest/trusthub/v1/a2p_brand_registration_embedded_session.rb +174 -0
  241. data/lib/twilio-ruby/rest/trusthub/v1/a2p_campaign_registration.rb +262 -0
  242. data/lib/twilio-ruby/rest/trusthub/v1/a2p_campaign_registration_embedded_session.rb +174 -0
  243. data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +0 -59
  244. data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +0 -59
  245. data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +0 -59
  246. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles_provisional_copy.rb +386 -0
  247. data/lib/twilio-ruby/rest/trusthub/v1/trust_products_provisional_copy.rb +386 -0
  248. data/lib/twilio-ruby/rest/trusthub/v1.rb +74 -0
  249. data/lib/twilio-ruby/rest/verify/v2/form.rb +0 -59
  250. data/lib/twilio-ruby/rest/verify/v2/safelist.rb +0 -59
  251. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +0 -59
  252. data/lib/twilio-ruby/rest/verify/v2/service/approve_challenge.rb +0 -59
  253. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +0 -59
  254. data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +0 -59
  255. data/lib/twilio-ruby/rest/verify/v2/service/new_challenge.rb +3 -62
  256. data/lib/twilio-ruby/rest/verify/v2/service/new_factor.rb +0 -59
  257. data/lib/twilio-ruby/rest/verify/v2/service/new_verify_factor.rb +0 -59
  258. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +8 -61
  259. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +0 -59
  260. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +0 -59
  261. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +0 -59
  262. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +0 -59
  263. data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +0 -59
  264. data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +0 -59
  265. data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +0 -59
  266. data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +0 -59
  267. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +0 -59
  268. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +0 -59
  269. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +0 -59
  270. data/lib/twilio-ruby/rest/voice/v2/account_default_configuration.rb +497 -0
  271. data/lib/twilio-ruby/rest/voice/v2/configuration/default.rb +297 -0
  272. data/lib/twilio-ruby/rest/voice/v2/configuration.rb +353 -0
  273. data/lib/twilio-ruby/rest/voice/v2/recording.rb +557 -0
  274. data/lib/twilio-ruby/rest/voice/v2/transcription.rb +532 -0
  275. data/lib/twilio-ruby/rest/voice/v2/type.rb +459 -0
  276. data/lib/twilio-ruby/rest/voice/v2.rb +141 -0
  277. data/lib/twilio-ruby/rest/voice/v3/transcription.rb +259 -50
  278. data/lib/twilio-ruby/rest/voice_base.rb +5 -0
  279. data/lib/twilio-ruby/twiml/voice_response.rb +6 -68
  280. data/lib/twilio-ruby/version.rb +1 -1
  281. data/twilio-ruby.gemspec +1 -1
  282. metadata +36 -22
  283. data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_knowledge.rb +0 -558
  284. data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_tool.rb +0 -558
  285. data/lib/twilio-ruby/rest/assistants/v1/assistant/feedback.rb +0 -431
  286. data/lib/twilio-ruby/rest/assistants/v1/assistant/message.rb +0 -296
  287. data/lib/twilio-ruby/rest/assistants/v1/assistant.rb +0 -927
  288. data/lib/twilio-ruby/rest/assistants/v1/knowledge/chunk.rb +0 -325
  289. data/lib/twilio-ruby/rest/assistants/v1/knowledge/knowledge_status.rb +0 -349
  290. data/lib/twilio-ruby/rest/assistants/v1/knowledge.rb +0 -871
  291. data/lib/twilio-ruby/rest/assistants/v1/policy.rb +0 -364
  292. data/lib/twilio-ruby/rest/assistants/v1/session/message.rb +0 -360
  293. data/lib/twilio-ruby/rest/assistants/v1/session.rb +0 -501
  294. data/lib/twilio-ruby/rest/assistants/v1/tool.rb +0 -847
  295. data/lib/twilio-ruby/rest/assistants/v1.rb +0 -104
  296. data/lib/twilio-ruby/rest/assistants.rb +0 -6
  297. data/lib/twilio-ruby/rest/assistants_base.rb +0 -38
  298. data/lib/twilio-ruby/rest/memory/v1/event.rb +0 -320
@@ -5,7 +5,7 @@
5
5
  # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
6
  #
7
7
  # Twilio Memory API
8
- # APIs for managing memory stores, profiles, events, and conversational intelligence capabilities.
8
+ # APIs for managing memory stores, profiles, and conversational intelligence capabilities.
9
9
  #
10
10
  # NOTE: This class is auto generated by OpenAPI Generator.
11
11
  # https://openapi-generator.tech
@@ -24,7 +24,6 @@ module Twilio
24
24
  @bulk = nil
25
25
  @conversation_summaries = nil
26
26
  @data_mappings = nil
27
- @events = nil
28
27
  @identifiers = nil
29
28
  @identity_resolution_settings = nil
30
29
  @imports = nil
@@ -41,7 +40,6 @@ module Twilio
41
40
 
42
41
  ##
43
42
  # @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
44
- # @return [Twilio::REST::Memory::V1::BulkContext] if storeId was passed.
45
43
  # @return [Twilio::REST::Memory::V1::BulkList]
46
44
  def bulk(store_id=:unset)
47
45
  if store_id.nil?
@@ -51,7 +49,7 @@ module Twilio
51
49
  if store_id == :unset
52
50
  @bulk ||= BulkList.new self
53
51
  else
54
- BulkContext.new(self, store_id)
52
+ BulkList.new(self, store_id: store_id)
55
53
  end
56
54
  end
57
55
  ##
@@ -101,46 +99,6 @@ module Twilio
101
99
  end
102
100
  end
103
101
  ##
104
- # @param [String] store_id The storeId identifier
105
- # @param [String] profile_id The profileId identifier
106
- # @return [Twilio::REST::Memory::V1::EventList]
107
- def events(store_id=:unset, profile_id=:unset)
108
- if store_id.nil?
109
- raise ArgumentError, 'store_id cannot be nil'
110
- end
111
- if profile_id.nil?
112
- raise ArgumentError, 'profile_id cannot be nil'
113
- end
114
-
115
- if store_id == :unset && profile_id == :unset
116
- @events ||= EventList.new self
117
- elsif store_id != :unset && profile_id == :unset
118
- EventList.new(self, store_id: store_id)
119
- else
120
- EventList.new(self, store_id: store_id, profile_id: profile_id)
121
- end
122
- end
123
- ##
124
- # @param [String] store_id The storeId identifier
125
- # @param [String] profile_id The profileId identifier
126
- # @return [Twilio::REST::Memory::V1::EventList]
127
- def events(store_id=:unset, profile_id=:unset)
128
- if store_id.nil?
129
- raise ArgumentError, 'store_id cannot be nil'
130
- end
131
- if profile_id.nil?
132
- raise ArgumentError, 'profile_id cannot be nil'
133
- end
134
-
135
- if store_id == :unset && profile_id == :unset
136
- @events ||= EventList.new self
137
- elsif store_id != :unset && profile_id == :unset
138
- EventList.new(self, store_id: store_id)
139
- else
140
- EventList.new(self, store_id: store_id, profile_id: profile_id)
141
- end
142
- end
143
- ##
144
102
  # @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
145
103
  # @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
146
104
  # @param [String] id_type
@@ -167,7 +125,6 @@ module Twilio
167
125
  end
168
126
  ##
169
127
  # @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
170
- # @return [Twilio::REST::Memory::V1::IdentityResolutionSettingContext] if storeId was passed.
171
128
  # @return [Twilio::REST::Memory::V1::IdentityResolutionSettingList]
172
129
  def identity_resolution_settings(store_id=:unset)
173
130
  if store_id.nil?
@@ -177,7 +134,7 @@ module Twilio
177
134
  if store_id == :unset
178
135
  @identity_resolution_settings ||= IdentityResolutionSettingList.new self
179
136
  else
180
- IdentityResolutionSettingContext.new(self, store_id)
137
+ IdentityResolutionSettingList.new(self, store_id: store_id)
181
138
  end
182
139
  end
183
140
  ##
@@ -116,65 +116,6 @@ module Twilio
116
116
  end
117
117
  end
118
118
 
119
- class BrandRegistrationOtpPageMetadata < PageMetadata
120
- attr_reader :brand_registration_otp_page
121
-
122
- def initialize(version, response, solution, limit)
123
- super(version, response)
124
- @brand_registration_otp_page = []
125
- @limit = limit
126
- key = get_key(response.body)
127
- records = 0
128
- while( limit != :unset && records < limit )
129
- @brand_registration_otp_page << BrandRegistrationOtpListResponse.new(version, @payload, key, limit - records)
130
- @payload = self.next_page
131
- break unless @payload
132
- records += (@payload.body[key] || []).size
133
- end
134
- # Path Solution
135
- @solution = solution
136
- end
137
-
138
- def each
139
- @brand_registration_otp_page.each do |record|
140
- yield record
141
- end
142
- end
143
-
144
- def to_s
145
- '<Twilio::REST::Messaging::V1PageMetadata>';
146
- end
147
- end
148
- class BrandRegistrationOtpListResponse < InstanceListResource
149
-
150
- # @param [Array<BrandRegistrationOtpInstance>] instance
151
- # @param [Hash{String => Object}] headers
152
- # @param [Integer] status_code
153
- def initialize(version, payload, key, limit = :unset)
154
- data_list = payload.body[key] || []
155
- if limit != :unset
156
- data_list = data_list[0, limit]
157
- end
158
- @brand_registration_otp = data_list.map do |data|
159
- BrandRegistrationOtpInstance.new(version, data)
160
- end
161
- @headers = payload.headers
162
- @status_code = payload.status_code
163
- end
164
-
165
- def brand_registration_otp
166
- @brand_registration_otp
167
- end
168
-
169
- def headers
170
- @headers
171
- end
172
-
173
- def status_code
174
- @status_code
175
- end
176
- end
177
-
178
119
  class BrandRegistrationOtpInstance < InstanceResource
179
120
  ##
180
121
  # Initialize the BrandRegistrationOtpInstance
@@ -255,7 +255,6 @@ module Twilio
255
255
  # Dependents
256
256
  @brand_registration_otps = nil
257
257
  @brand_vettings = nil
258
- @brand_registration2_fa = nil
259
258
  end
260
259
  ##
261
260
  # Fetch the BrandRegistrationInstance
@@ -375,16 +374,6 @@ module Twilio
375
374
 
376
375
  @brand_vettings
377
376
  end
378
- ##
379
- # Access the brand_registration2_fa
380
- # @return [BrandRegistration2FaList]
381
- # @return [BrandRegistration2FaContext]
382
- def brand_registration2_fa
383
- BrandRegistration2FaContext.new(
384
- @version,
385
- @solution[:sid]
386
- )
387
- end
388
377
 
389
378
  ##
390
379
  # Provide a user friendly representation
@@ -748,13 +737,6 @@ module Twilio
748
737
  context.brand_vettings
749
738
  end
750
739
 
751
- ##
752
- # Access the brand_registration2_fa
753
- # @return [brand_registration2_fa] brand_registration2_fa
754
- def brand_registration2_fa
755
- context.brand_registration2_fa
756
- end
757
-
758
740
  ##
759
741
  # Provide a user friendly representation
760
742
  def to_s
@@ -203,65 +203,6 @@ module Twilio
203
203
  end
204
204
  end
205
205
 
206
- class DeactivationsPageMetadata < PageMetadata
207
- attr_reader :deactivations_page
208
-
209
- def initialize(version, response, solution, limit)
210
- super(version, response)
211
- @deactivations_page = []
212
- @limit = limit
213
- key = get_key(response.body)
214
- records = 0
215
- while( limit != :unset && records < limit )
216
- @deactivations_page << DeactivationsListResponse.new(version, @payload, key, limit - records)
217
- @payload = self.next_page
218
- break unless @payload
219
- records += (@payload.body[key] || []).size
220
- end
221
- # Path Solution
222
- @solution = solution
223
- end
224
-
225
- def each
226
- @deactivations_page.each do |record|
227
- yield record
228
- end
229
- end
230
-
231
- def to_s
232
- '<Twilio::REST::Messaging::V1PageMetadata>';
233
- end
234
- end
235
- class DeactivationsListResponse < InstanceListResource
236
-
237
- # @param [Array<DeactivationsInstance>] instance
238
- # @param [Hash{String => Object}] headers
239
- # @param [Integer] status_code
240
- def initialize(version, payload, key, limit = :unset)
241
- data_list = payload.body[key] || []
242
- if limit != :unset
243
- data_list = data_list[0, limit]
244
- end
245
- @deactivations = data_list.map do |data|
246
- DeactivationsInstance.new(version, data)
247
- end
248
- @headers = payload.headers
249
- @status_code = payload.status_code
250
- end
251
-
252
- def deactivations
253
- @deactivations
254
- end
255
-
256
- def headers
257
- @headers
258
- end
259
-
260
- def status_code
261
- @status_code
262
- end
263
- end
264
-
265
206
  class DeactivationsInstance < InstanceResource
266
207
  ##
267
208
  # Initialize the DeactivationsInstance
@@ -284,65 +284,6 @@ module Twilio
284
284
  end
285
285
  end
286
286
 
287
- class DomainCertsPageMetadata < PageMetadata
288
- attr_reader :domain_certs_page
289
-
290
- def initialize(version, response, solution, limit)
291
- super(version, response)
292
- @domain_certs_page = []
293
- @limit = limit
294
- key = get_key(response.body)
295
- records = 0
296
- while( limit != :unset && records < limit )
297
- @domain_certs_page << DomainCertsListResponse.new(version, @payload, key, limit - records)
298
- @payload = self.next_page
299
- break unless @payload
300
- records += (@payload.body[key] || []).size
301
- end
302
- # Path Solution
303
- @solution = solution
304
- end
305
-
306
- def each
307
- @domain_certs_page.each do |record|
308
- yield record
309
- end
310
- end
311
-
312
- def to_s
313
- '<Twilio::REST::Messaging::V1PageMetadata>';
314
- end
315
- end
316
- class DomainCertsListResponse < InstanceListResource
317
-
318
- # @param [Array<DomainCertsInstance>] instance
319
- # @param [Hash{String => Object}] headers
320
- # @param [Integer] status_code
321
- def initialize(version, payload, key, limit = :unset)
322
- data_list = payload.body[key] || []
323
- if limit != :unset
324
- data_list = data_list[0, limit]
325
- end
326
- @domain_certs = data_list.map do |data|
327
- DomainCertsInstance.new(version, data)
328
- end
329
- @headers = payload.headers
330
- @status_code = payload.status_code
331
- end
332
-
333
- def domain_certs
334
- @domain_certs
335
- end
336
-
337
- def headers
338
- @headers
339
- end
340
-
341
- def status_code
342
- @status_code
343
- end
344
- end
345
-
346
287
  class DomainCertsInstance < InstanceResource
347
288
  ##
348
289
  # Initialize the DomainCertsInstance
@@ -270,65 +270,6 @@ module Twilio
270
270
  end
271
271
  end
272
272
 
273
- class DomainConfigPageMetadata < PageMetadata
274
- attr_reader :domain_config_page
275
-
276
- def initialize(version, response, solution, limit)
277
- super(version, response)
278
- @domain_config_page = []
279
- @limit = limit
280
- key = get_key(response.body)
281
- records = 0
282
- while( limit != :unset && records < limit )
283
- @domain_config_page << DomainConfigListResponse.new(version, @payload, key, limit - records)
284
- @payload = self.next_page
285
- break unless @payload
286
- records += (@payload.body[key] || []).size
287
- end
288
- # Path Solution
289
- @solution = solution
290
- end
291
-
292
- def each
293
- @domain_config_page.each do |record|
294
- yield record
295
- end
296
- end
297
-
298
- def to_s
299
- '<Twilio::REST::Messaging::V1PageMetadata>';
300
- end
301
- end
302
- class DomainConfigListResponse < InstanceListResource
303
-
304
- # @param [Array<DomainConfigInstance>] instance
305
- # @param [Hash{String => Object}] headers
306
- # @param [Integer] status_code
307
- def initialize(version, payload, key, limit = :unset)
308
- data_list = payload.body[key] || []
309
- if limit != :unset
310
- data_list = data_list[0, limit]
311
- end
312
- @domain_config = data_list.map do |data|
313
- DomainConfigInstance.new(version, data)
314
- end
315
- @headers = payload.headers
316
- @status_code = payload.status_code
317
- end
318
-
319
- def domain_config
320
- @domain_config
321
- end
322
-
323
- def headers
324
- @headers
325
- end
326
-
327
- def status_code
328
- @status_code
329
- end
330
- end
331
-
332
273
  class DomainConfigInstance < InstanceResource
333
274
  ##
334
275
  # Initialize the DomainConfigInstance
@@ -194,65 +194,6 @@ module Twilio
194
194
  end
195
195
  end
196
196
 
197
- class DomainConfigMessagingServicePageMetadata < PageMetadata
198
- attr_reader :domain_config_messaging_service_page
199
-
200
- def initialize(version, response, solution, limit)
201
- super(version, response)
202
- @domain_config_messaging_service_page = []
203
- @limit = limit
204
- key = get_key(response.body)
205
- records = 0
206
- while( limit != :unset && records < limit )
207
- @domain_config_messaging_service_page << DomainConfigMessagingServiceListResponse.new(version, @payload, key, limit - records)
208
- @payload = self.next_page
209
- break unless @payload
210
- records += (@payload.body[key] || []).size
211
- end
212
- # Path Solution
213
- @solution = solution
214
- end
215
-
216
- def each
217
- @domain_config_messaging_service_page.each do |record|
218
- yield record
219
- end
220
- end
221
-
222
- def to_s
223
- '<Twilio::REST::Messaging::V1PageMetadata>';
224
- end
225
- end
226
- class DomainConfigMessagingServiceListResponse < InstanceListResource
227
-
228
- # @param [Array<DomainConfigMessagingServiceInstance>] instance
229
- # @param [Hash{String => Object}] headers
230
- # @param [Integer] status_code
231
- def initialize(version, payload, key, limit = :unset)
232
- data_list = payload.body[key] || []
233
- if limit != :unset
234
- data_list = data_list[0, limit]
235
- end
236
- @domain_config_messaging_service = data_list.map do |data|
237
- DomainConfigMessagingServiceInstance.new(version, data)
238
- end
239
- @headers = payload.headers
240
- @status_code = payload.status_code
241
- end
242
-
243
- def domain_config_messaging_service
244
- @domain_config_messaging_service
245
- end
246
-
247
- def headers
248
- @headers
249
- end
250
-
251
- def status_code
252
- @status_code
253
- end
254
- end
255
-
256
197
  class DomainConfigMessagingServiceInstance < InstanceResource
257
198
  ##
258
199
  # Initialize the DomainConfigMessagingServiceInstance
@@ -194,65 +194,6 @@ module Twilio
194
194
  end
195
195
  end
196
196
 
197
- class DomainValidateDnPageMetadata < PageMetadata
198
- attr_reader :domain_validate_dn_page
199
-
200
- def initialize(version, response, solution, limit)
201
- super(version, response)
202
- @domain_validate_dn_page = []
203
- @limit = limit
204
- key = get_key(response.body)
205
- records = 0
206
- while( limit != :unset && records < limit )
207
- @domain_validate_dn_page << DomainValidateDnListResponse.new(version, @payload, key, limit - records)
208
- @payload = self.next_page
209
- break unless @payload
210
- records += (@payload.body[key] || []).size
211
- end
212
- # Path Solution
213
- @solution = solution
214
- end
215
-
216
- def each
217
- @domain_validate_dn_page.each do |record|
218
- yield record
219
- end
220
- end
221
-
222
- def to_s
223
- '<Twilio::REST::Messaging::V1PageMetadata>';
224
- end
225
- end
226
- class DomainValidateDnListResponse < InstanceListResource
227
-
228
- # @param [Array<DomainValidateDnInstance>] instance
229
- # @param [Hash{String => Object}] headers
230
- # @param [Integer] status_code
231
- def initialize(version, payload, key, limit = :unset)
232
- data_list = payload.body[key] || []
233
- if limit != :unset
234
- data_list = data_list[0, limit]
235
- end
236
- @domain_validate_dn = data_list.map do |data|
237
- DomainValidateDnInstance.new(version, data)
238
- end
239
- @headers = payload.headers
240
- @status_code = payload.status_code
241
- end
242
-
243
- def domain_validate_dn
244
- @domain_validate_dn
245
- end
246
-
247
- def headers
248
- @headers
249
- end
250
-
251
- def status_code
252
- @status_code
253
- end
254
- end
255
-
256
197
  class DomainValidateDnInstance < InstanceResource
257
198
  ##
258
199
  # Initialize the DomainValidateDnInstance
@@ -138,65 +138,6 @@ module Twilio
138
138
  end
139
139
  end
140
140
 
141
- class ExternalCampaignPageMetadata < PageMetadata
142
- attr_reader :external_campaign_page
143
-
144
- def initialize(version, response, solution, limit)
145
- super(version, response)
146
- @external_campaign_page = []
147
- @limit = limit
148
- key = get_key(response.body)
149
- records = 0
150
- while( limit != :unset && records < limit )
151
- @external_campaign_page << ExternalCampaignListResponse.new(version, @payload, key, limit - records)
152
- @payload = self.next_page
153
- break unless @payload
154
- records += (@payload.body[key] || []).size
155
- end
156
- # Path Solution
157
- @solution = solution
158
- end
159
-
160
- def each
161
- @external_campaign_page.each do |record|
162
- yield record
163
- end
164
- end
165
-
166
- def to_s
167
- '<Twilio::REST::Messaging::V1PageMetadata>';
168
- end
169
- end
170
- class ExternalCampaignListResponse < InstanceListResource
171
-
172
- # @param [Array<ExternalCampaignInstance>] instance
173
- # @param [Hash{String => Object}] headers
174
- # @param [Integer] status_code
175
- def initialize(version, payload, key, limit = :unset)
176
- data_list = payload.body[key] || []
177
- if limit != :unset
178
- data_list = data_list[0, limit]
179
- end
180
- @external_campaign = data_list.map do |data|
181
- ExternalCampaignInstance.new(version, data)
182
- end
183
- @headers = payload.headers
184
- @status_code = payload.status_code
185
- end
186
-
187
- def external_campaign
188
- @external_campaign
189
- end
190
-
191
- def headers
192
- @headers
193
- end
194
-
195
- def status_code
196
- @status_code
197
- end
198
- end
199
-
200
141
  class ExternalCampaignInstance < InstanceResource
201
142
  ##
202
143
  # Initialize the ExternalCampaignInstance
@@ -229,65 +229,6 @@ module Twilio
229
229
  end
230
230
  end
231
231
 
232
- class LinkshorteningMessagingServicePageMetadata < PageMetadata
233
- attr_reader :linkshortening_messaging_service_page
234
-
235
- def initialize(version, response, solution, limit)
236
- super(version, response)
237
- @linkshortening_messaging_service_page = []
238
- @limit = limit
239
- key = get_key(response.body)
240
- records = 0
241
- while( limit != :unset && records < limit )
242
- @linkshortening_messaging_service_page << LinkshorteningMessagingServiceListResponse.new(version, @payload, key, limit - records)
243
- @payload = self.next_page
244
- break unless @payload
245
- records += (@payload.body[key] || []).size
246
- end
247
- # Path Solution
248
- @solution = solution
249
- end
250
-
251
- def each
252
- @linkshortening_messaging_service_page.each do |record|
253
- yield record
254
- end
255
- end
256
-
257
- def to_s
258
- '<Twilio::REST::Messaging::V1PageMetadata>';
259
- end
260
- end
261
- class LinkshorteningMessagingServiceListResponse < InstanceListResource
262
-
263
- # @param [Array<LinkshorteningMessagingServiceInstance>] instance
264
- # @param [Hash{String => Object}] headers
265
- # @param [Integer] status_code
266
- def initialize(version, payload, key, limit = :unset)
267
- data_list = payload.body[key] || []
268
- if limit != :unset
269
- data_list = data_list[0, limit]
270
- end
271
- @linkshortening_messaging_service = data_list.map do |data|
272
- LinkshorteningMessagingServiceInstance.new(version, data)
273
- end
274
- @headers = payload.headers
275
- @status_code = payload.status_code
276
- end
277
-
278
- def linkshortening_messaging_service
279
- @linkshortening_messaging_service
280
- end
281
-
282
- def headers
283
- @headers
284
- end
285
-
286
- def status_code
287
- @status_code
288
- end
289
- end
290
-
291
232
  class LinkshorteningMessagingServiceInstance < InstanceResource
292
233
  ##
293
234
  # Initialize the LinkshorteningMessagingServiceInstance