pingram 1.0.39 → 1.0.40

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 (330) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/lib/pingram/api/accounts_api.rb +2 -2
  4. data/lib/pingram/api/addresses_api.rb +2 -2
  5. data/lib/pingram/api/broadcasts_api.rb +12 -12
  6. data/lib/pingram/api/domains_api.rb +4 -4
  7. data/lib/pingram/api/email_api.rb +2 -2
  8. data/lib/pingram/api/registrations_api.rb +4 -4
  9. data/lib/pingram/api/voice_api.rb +60 -318
  10. data/lib/pingram/api/webhooks_api.rb +4 -4
  11. data/lib/pingram/api_client.rb +1 -1
  12. data/lib/pingram/models/{bind_number_response_agent_spec_inbound.rb → agent.rb} +52 -34
  13. data/lib/pingram/models/{bind_number_response_agent_spec_outbound.rb → agent1.rb} +59 -47
  14. data/lib/pingram/models/agent_agent.rb +222 -0
  15. data/lib/pingram/models/{bind_number_response_agent_spec_conversation.rb → agent_agent_conversation.rb} +14 -109
  16. data/lib/pingram/models/agent_agent_model.rb +108 -0
  17. data/lib/pingram/models/{bind_number_response_agent_spec_tools_inner.rb → agent_agent_tools_inner.rb} +4 -2
  18. data/lib/pingram/models/{bind_number_response_agent_spec_variables_inner.rb → agent_agent_variables_inner.rb} +6 -3
  19. data/lib/pingram/models/{bind_number_request.rb → arm_voice_inbound_claim_request.rb} +20 -19
  20. data/lib/pingram/models/{bind_number_response_agent_spec_model.rb → arm_voice_inbound_claim_request_inbound.rb} +5 -4
  21. data/lib/pingram/models/arm_voice_inbound_claim_response.rb +192 -0
  22. data/lib/pingram/models/broadcast_response.rb +1 -0
  23. data/lib/pingram/models/create_broadcast_request.rb +2 -1
  24. data/lib/pingram/models/custom.rb +39 -4
  25. data/lib/pingram/models/{bind_number_response_agent_spec_compliance.rb → disabled.rb} +45 -21
  26. data/lib/pingram/models/disconnect.rb +190 -0
  27. data/lib/pingram/models/dtmf.rb +2 -0
  28. data/lib/pingram/models/get_voice_call_response_call.rb +27 -27
  29. data/lib/pingram/models/get_voice_call_response_call_cost.rb +1 -1
  30. data/lib/pingram/models/get_voice_call_response_call_cost_lines_inner.rb +1 -1
  31. data/lib/pingram/models/google_gemini31_flash_live_preview.rb +230 -0
  32. data/lib/pingram/models/inbound_config.rb +106 -0
  33. data/lib/pingram/models/knowledge.rb +3 -0
  34. data/lib/pingram/models/knowledge_documents_inner.rb +2 -0
  35. data/lib/pingram/models/list_broadcasts_response_broadcasts_inner.rb +28 -27
  36. data/lib/pingram/models/list_broadcasts_response_broadcasts_inner_audience.rb +160 -0
  37. data/lib/pingram/models/list_phone_numbers_response_numbers_inner.rb +7 -8
  38. data/lib/pingram/models/list_voice_calls_response_calls_inner.rb +27 -27
  39. data/lib/pingram/models/local_number_admin_update_request.rb +213 -0
  40. data/lib/pingram/models/local_number_admin_update_request_fields.rb +380 -0
  41. data/lib/pingram/models/{update_voice_agent_response.rb → local_number_submit_request.rb} +31 -27
  42. data/lib/pingram/models/local_number_upload_request.rb +267 -0
  43. data/lib/pingram/models/local_number_upload_response.rb +240 -0
  44. data/lib/pingram/models/logs_get_response_logs_inner.rb +2 -2
  45. data/lib/pingram/models/mcp.rb +4 -0
  46. data/lib/pingram/models/openai_gpt_live1.rb +230 -0
  47. data/lib/pingram/models/{s2s.rb → openai_gpt_realtime21.rb} +20 -85
  48. data/lib/pingram/models/openai_gpt_realtime21_mini.rb +230 -0
  49. data/lib/pingram/models/script.rb +225 -0
  50. data/lib/pingram/models/script1.rb +256 -0
  51. data/lib/pingram/models/{update_voice_agent_request.rb → script_privacy.rb} +20 -27
  52. data/lib/pingram/models/script_steps_inner.rb +215 -0
  53. data/lib/pingram/models/{create_voice_agent_request.rb → sign_out_request.rb} +20 -19
  54. data/lib/pingram/models/{list_voice_agents_response.rb → sms_compliance_countries_response.rb} +20 -20
  55. data/lib/pingram/models/sms_compliance_countries_response_countries_inner.rb +244 -0
  56. data/lib/pingram/models/{unbind_number_response.rb → sms_compliance_country.rb} +99 -19
  57. data/lib/pingram/models/sms_compliance_country_create_request.rb +208 -0
  58. data/lib/pingram/models/sms_local_number_registration_admin.rb +470 -0
  59. data/lib/pingram/models/sms_local_number_registration_admin_documents_inner.rb +243 -0
  60. data/lib/pingram/models/sms_local_number_submit_response.rb +345 -0
  61. data/lib/pingram/models/sms_local_number_submit_response_questions_inner.rb +240 -0
  62. data/lib/pingram/models/sms_local_number_submit_response_slots_inner.rb +355 -0
  63. data/lib/pingram/models/sms_registration.rb +244 -0
  64. data/lib/pingram/models/sms_registration_a2p10dlc.rb +774 -0
  65. data/lib/pingram/models/{create_voice_agent_response.rb → sms_registration_create_request.rb} +20 -27
  66. data/lib/pingram/models/sms_registration_create_request_a2p10dlc.rb +702 -0
  67. data/lib/pingram/models/sms_registration_create_request_local_number.rb +243 -0
  68. data/lib/pingram/models/sms_registration_create_request_local_number_documents_inner.rb +237 -0
  69. data/lib/pingram/models/sms_registration_local_number.rb +433 -0
  70. data/lib/pingram/models/sms_registration_local_number_documents_inner.rb +216 -0
  71. data/lib/pingram/models/sms_registration_sender_id.rb +360 -0
  72. data/lib/pingram/models/{bind_number_response.rb → sms_registration_update_request.rb} +20 -27
  73. data/lib/pingram/models/sms_registration_update_request_a2p10dlc.rb +535 -0
  74. data/lib/pingram/models/sms_registration_update_request_local_number.rb +202 -0
  75. data/lib/pingram/models/sms_sender_id.rb +293 -0
  76. data/lib/pingram/models/{bind_number_response_agent.rb → sms_sender_id_admin.rb} +66 -96
  77. data/lib/pingram/models/sms_sender_id_admin_update_request.rb +189 -0
  78. data/lib/pingram/models/{delete_voice_agent_response.rb → sms_sender_id_create_request.rb} +20 -19
  79. data/lib/pingram/models/transfer.rb +21 -53
  80. data/lib/pingram/models/transfer1.rb +223 -0
  81. data/lib/pingram/models/transfer_destinations_inner.rb +253 -0
  82. data/lib/pingram/models/update_broadcast_request.rb +2 -1
  83. data/lib/pingram/models/voice_browser_call_request.rb +57 -23
  84. data/lib/pingram/models/voice_browser_call_request_config.rb +104 -0
  85. data/lib/pingram/models/voice_browser_call_request_config_any_of.rb +104 -0
  86. data/lib/pingram/models/voice_call_request.rb +35 -44
  87. data/lib/pingram/models/voice_call_response.rb +2 -27
  88. data/lib/pingram/models/weather.rb +190 -0
  89. data/lib/pingram/models/webhook_event.rb +2 -2
  90. data/lib/pingram/models/xai_grok_voice_latest.rb +230 -0
  91. data/lib/pingram/version.rb +1 -1
  92. data/lib/pingram.rb +59 -21
  93. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.13.0.gem +0 -0
  94. data/vendor/bundle/ruby/3.2.0/cache/pry-0.16.1.gem +0 -0
  95. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  96. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.6.0/gem_make.out +5 -5
  97. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/gem_make.out +5 -5
  98. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/mkmf.log +3 -3
  99. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  100. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/gem_make.out +5 -5
  101. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
  102. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  103. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current.rb +1 -1
  104. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/version.rb +1 -1
  105. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/CHANGELOG.md +12 -0
  106. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/constants.rb +2 -1
  107. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/globals.rb +2 -2
  108. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/instance_vars.rb +2 -0
  109. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/local_vars.rb +2 -1
  110. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/ls_entity.rb +1 -1
  111. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/editor.rb +1 -1
  112. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/base_helpers.rb +4 -2
  113. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pager.rb +5 -4
  114. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pry_instance.rb +3 -7
  115. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/version.rb +1 -1
  116. data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.3.12.0.gemspec → parser-3.3.13.0.gemspec} +4 -4
  117. data/vendor/bundle/ruby/3.2.0/specifications/{pry-0.16.0.gemspec → pry-0.16.1.gemspec} +2 -2
  118. metadata +285 -247
  119. data/lib/pingram/models/bind_number_response_agent_spec.rb +0 -376
  120. data/lib/pingram/models/chained.rb +0 -401
  121. data/lib/pingram/models/get_voice_agent_response.rb +0 -164
  122. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.12.0.gem +0 -0
  123. data/vendor/bundle/ruby/3.2.0/cache/pry-0.16.0.gem +0 -0
  124. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/LICENSE.txt +0 -0
  125. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-parse +0 -0
  126. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-rewrite +0 -0
  127. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/gauntlet_parser.rb +0 -0
  128. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/all.rb +0 -0
  129. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ast/node.rb +0 -0
  130. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ast/processor.rb +0 -0
  131. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/base.rb +0 -0
  132. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/builders/default.rb +0 -0
  133. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/clobbering_error.rb +0 -0
  134. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/color.rb +0 -0
  135. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/context.rb +0 -0
  136. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current_arg_stack.rb +0 -0
  137. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/deprecation.rb +0 -0
  138. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic/engine.rb +0 -0
  139. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic.rb +0 -0
  140. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/dedenter.rb +0 -0
  141. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/explanation.rb +0 -0
  142. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/literal.rb +0 -0
  143. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/stack_state.rb +0 -0
  144. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-F0.rb +0 -0
  145. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-F1.rb +0 -0
  146. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-strings.rb +0 -0
  147. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/macruby.rb +0 -0
  148. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/max_numparam_stack.rb +0 -0
  149. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/messages.rb +0 -0
  150. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/meta.rb +0 -0
  151. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rewriter.rb +0 -0
  152. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby18.rb +0 -0
  153. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby19.rb +0 -0
  154. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby20.rb +0 -0
  155. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby21.rb +0 -0
  156. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby22.rb +0 -0
  157. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby23.rb +0 -0
  158. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby24.rb +0 -0
  159. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby25.rb +0 -0
  160. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby26.rb +0 -0
  161. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby27.rb +0 -0
  162. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby30.rb +0 -0
  163. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby31.rb +0 -0
  164. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby32.rb +0 -0
  165. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby33.rb +0 -0
  166. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby34.rb +0 -0
  167. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rubymotion.rb +0 -0
  168. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner/ruby_parse.rb +0 -0
  169. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
  170. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner.rb +0 -0
  171. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/buffer.rb +0 -0
  172. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/comment/associator.rb +0 -0
  173. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/comment.rb +0 -0
  174. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/collection.rb +0 -0
  175. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/condition.rb +0 -0
  176. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/constant.rb +0 -0
  177. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/definition.rb +0 -0
  178. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/for.rb +0 -0
  179. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/heredoc.rb +0 -0
  180. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/index.rb +0 -0
  181. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/keyword.rb +0 -0
  182. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/method_definition.rb +0 -0
  183. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
  184. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/operator.rb +0 -0
  185. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/rescue_body.rb +0 -0
  186. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/send.rb +0 -0
  187. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/ternary.rb +0 -0
  188. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/variable.rb +0 -0
  189. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map.rb +0 -0
  190. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/range.rb +0 -0
  191. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/rewriter/action.rb +0 -0
  192. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/rewriter.rb +0 -0
  193. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
  194. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/tree_rewriter.rb +0 -0
  195. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/static_environment.rb +0 -0
  196. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/syntax_error.rb +0 -0
  197. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/tree_rewriter.rb +0 -0
  198. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
  199. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/variables_stack.rb +0 -0
  200. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser.rb +0 -0
  201. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/parser.gemspec +0 -0
  202. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/LICENSE +0 -0
  203. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/README.md +0 -0
  204. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/bin/pry +0 -0
  205. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/basic_object.rb +0 -0
  206. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/block_command.rb +0 -0
  207. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/class_command.rb +0 -0
  208. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/cli.rb +0 -0
  209. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/code_file.rb +0 -0
  210. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/code_range.rb +0 -0
  211. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/loc.rb +0 -0
  212. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code.rb +0 -0
  213. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code_object.rb +0 -0
  214. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/color_printer.rb +0 -0
  215. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command.rb +0 -0
  216. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command_set.rb +0 -0
  217. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command_state.rb +0 -0
  218. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/amend_line.rb +0 -0
  219. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/bang.rb +0 -0
  220. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/bang_pry.rb +0 -0
  221. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat/abstract_formatter.rb +0 -0
  222. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat/exception_formatter.rb +0 -0
  223. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat/file_formatter.rb +0 -0
  224. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat/input_expression_formatter.rb +0 -0
  225. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat.rb +0 -0
  226. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cd.rb +0 -0
  227. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/change_inspector.rb +0 -0
  228. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/change_prompt.rb +0 -0
  229. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/clear_screen.rb +0 -0
  230. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/code_collector.rb +0 -0
  231. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/disable_pry.rb +0 -0
  232. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/easter_eggs.rb +0 -0
  233. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/edit/exception_patcher.rb +0 -0
  234. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/edit/file_and_line_locator.rb +0 -0
  235. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/edit.rb +0 -0
  236. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit.rb +0 -0
  237. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit_all.rb +0 -0
  238. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit_program.rb +0 -0
  239. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/find_method.rb +0 -0
  240. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/fix_indent.rb +0 -0
  241. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/help.rb +0 -0
  242. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/hist.rb +0 -0
  243. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/import_set.rb +0 -0
  244. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/jump_to.rb +0 -0
  245. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/list_inspectors.rb +0 -0
  246. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/config.rb +0 -0
  247. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/formatter.rb +0 -0
  248. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/grep.rb +0 -0
  249. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/interrogatable.rb +0 -0
  250. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/jruby_hacks.rb +0 -0
  251. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/local_names.rb +0 -0
  252. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/methods.rb +0 -0
  253. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/methods_helper.rb +0 -0
  254. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/self_methods.rb +0 -0
  255. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls.rb +0 -0
  256. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/nesting.rb +0 -0
  257. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/play.rb +0 -0
  258. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/pry_backtrace.rb +0 -0
  259. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/pry_version.rb +0 -0
  260. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/raise_up.rb +0 -0
  261. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/reload_code.rb +0 -0
  262. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/reset.rb +0 -0
  263. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ri.rb +0 -0
  264. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/save_file.rb +0 -0
  265. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/shell_command.rb +0 -0
  266. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/shell_mode.rb +0 -0
  267. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_doc.rb +0 -0
  268. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_info.rb +0 -0
  269. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_input.rb +0 -0
  270. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_source.rb +0 -0
  271. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/stat.rb +0 -0
  272. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/switch_to.rb +0 -0
  273. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/toggle_color.rb +0 -0
  274. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/watch_expression/expression.rb +0 -0
  275. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/watch_expression.rb +0 -0
  276. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/whereami.rb +0 -0
  277. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/wtf.rb +0 -0
  278. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/attributable.rb +0 -0
  279. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/lazy_value.rb +0 -0
  280. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/memoized_value.rb +0 -0
  281. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/value.rb +0 -0
  282. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config.rb +0 -0
  283. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/control_d_handler.rb +0 -0
  284. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/core_extensions.rb +0 -0
  285. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/env.rb +0 -0
  286. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/exception_handler.rb +0 -0
  287. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/exceptions.rb +0 -0
  288. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/forwardable.rb +0 -0
  289. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/command_helpers.rb +0 -0
  290. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/documentation_helpers.rb +0 -0
  291. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/options_helpers.rb +0 -0
  292. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/platform.rb +0 -0
  293. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/table.rb +0 -0
  294. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/text.rb +0 -0
  295. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers.rb +0 -0
  296. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/history.rb +0 -0
  297. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/hooks.rb +0 -0
  298. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/indent.rb +0 -0
  299. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input/simple_stdio.rb +0 -0
  300. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input_completer.rb +0 -0
  301. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input_lock.rb +0 -0
  302. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/inspector.rb +0 -0
  303. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/last_exception.rb +0 -0
  304. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/disowned.rb +0 -0
  305. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/patcher.rb +0 -0
  306. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/weird_method_locator.rb +0 -0
  307. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method.rb +0 -0
  308. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/object_path.rb +0 -0
  309. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/output.rb +0 -0
  310. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/prompt.rb +0 -0
  311. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pry_class.rb +0 -0
  312. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/repl.rb +0 -0
  313. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/repl_file_loader.rb +0 -0
  314. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/ring.rb +0 -0
  315. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/LICENSE +0 -0
  316. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/commands.rb +0 -0
  317. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/option.rb +0 -0
  318. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop.rb +0 -0
  319. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/syntax_highlighter.rb +0 -0
  320. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/system_command_handler.rb +0 -0
  321. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/evalable.rb +0 -0
  322. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/mockable.rb +0 -0
  323. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/pry_tester.rb +0 -0
  324. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/utility.rb +0 -0
  325. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/variables.rb +0 -0
  326. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable.rb +0 -0
  327. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/warning.rb +0 -0
  328. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/wrapped_module/candidate.rb +0 -0
  329. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/wrapped_module.rb +0 -0
  330. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry.rb +0 -0
@@ -19,35 +19,29 @@ module Pingram
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Bind a phone number to a deployed agent for inbound routing
23
- # @param agent_id [String] Agent id
24
- # @param bind_number_request [BindNumberRequest]
22
+ # Arm the shared test number so the next call from this user's phone uses this inbound behavior
23
+ # @param arm_voice_inbound_claim_request [ArmVoiceInboundClaimRequest]
25
24
  # @param [Hash] opts the optional parameters
26
- # @return [BindNumberResponse]
27
- def voice_bind_number(agent_id, bind_number_request, opts = {})
28
- data, _status_code, _headers = voice_bind_number_with_http_info(agent_id, bind_number_request, opts)
25
+ # @return [ArmVoiceInboundClaimResponse]
26
+ def voice_arm_inbound_claim(arm_voice_inbound_claim_request, opts = {})
27
+ data, _status_code, _headers = voice_arm_inbound_claim_with_http_info(arm_voice_inbound_claim_request, opts)
29
28
  data
30
29
  end
31
30
 
32
- # Bind a phone number to a deployed agent for inbound routing
33
- # @param agent_id [String] Agent id
34
- # @param bind_number_request [BindNumberRequest]
31
+ # Arm the shared test number so the next call from this user's phone uses this inbound behavior
32
+ # @param arm_voice_inbound_claim_request [ArmVoiceInboundClaimRequest]
35
33
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(BindNumberResponse, Integer, Hash)>] BindNumberResponse data, response status code and response headers
37
- def voice_bind_number_with_http_info(agent_id, bind_number_request, opts = {})
34
+ # @return [Array<(ArmVoiceInboundClaimResponse, Integer, Hash)>] ArmVoiceInboundClaimResponse data, response status code and response headers
35
+ def voice_arm_inbound_claim_with_http_info(arm_voice_inbound_claim_request, opts = {})
38
36
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: VoiceApi.voice_bind_number ...'
37
+ @api_client.config.logger.debug 'Calling API: VoiceApi.voice_arm_inbound_claim ...'
40
38
  end
41
- # verify the required parameter 'agent_id' is set
42
- if @api_client.config.client_side_validation && agent_id.nil?
43
- fail ArgumentError, "Missing the required parameter 'agent_id' when calling VoiceApi.voice_bind_number"
44
- end
45
- # verify the required parameter 'bind_number_request' is set
46
- if @api_client.config.client_side_validation && bind_number_request.nil?
47
- fail ArgumentError, "Missing the required parameter 'bind_number_request' when calling VoiceApi.voice_bind_number"
39
+ # verify the required parameter 'arm_voice_inbound_claim_request' is set
40
+ if @api_client.config.client_side_validation && arm_voice_inbound_claim_request.nil?
41
+ fail ArgumentError, "Missing the required parameter 'arm_voice_inbound_claim_request' when calling VoiceApi.voice_arm_inbound_claim"
48
42
  end
49
43
  # resource path
50
- local_var_path = '/voice/agents/{agentId}/numbers'.sub('{' + 'agentId' + '}', CGI.escape(agent_id.to_s))
44
+ local_var_path = '/voice/inbound-claims'
51
45
 
52
46
  # query parameters
53
47
  query_params = opts[:query_params] || {}
@@ -66,16 +60,16 @@ module Pingram
66
60
  form_params = opts[:form_params] || {}
67
61
 
68
62
  # http body (model)
69
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bind_number_request)
63
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(arm_voice_inbound_claim_request)
70
64
 
71
65
  # return_type
72
- return_type = opts[:debug_return_type] || 'BindNumberResponse'
66
+ return_type = opts[:debug_return_type] || 'ArmVoiceInboundClaimResponse'
73
67
 
74
68
  # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
75
69
  auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
76
70
 
77
71
  new_options = opts.merge(
78
- :operation => :"VoiceApi.voice_bind_number",
72
+ :operation => :"VoiceApi.voice_arm_inbound_claim",
79
73
  :header_params => header_params,
80
74
  :query_params => query_params,
81
75
  :form_params => form_params,
@@ -86,12 +80,12 @@ module Pingram
86
80
 
87
81
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
88
82
  if @api_client.config.debugging
89
- @api_client.config.logger.debug "API called: VoiceApi#voice_bind_number\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
83
+ @api_client.config.logger.debug "API called: VoiceApi#voice_arm_inbound_claim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
84
  end
91
85
  return data, status_code, headers
92
86
  end
93
87
 
94
- # Place an outbound call with an inline agent spec (ephemeral)
88
+ # Place an outbound call. The config is not saved.
95
89
  # @param voice_call_request [VoiceCallRequest]
96
90
  # @param [Hash] opts the optional parameters
97
91
  # @return [VoiceCallResponse]
@@ -100,7 +94,7 @@ module Pingram
100
94
  data
101
95
  end
102
96
 
103
- # Place an outbound call with an inline agent spec (ephemeral)
97
+ # Place an outbound call. The config is not saved.
104
98
  # @param voice_call_request [VoiceCallRequest]
105
99
  # @param [Hash] opts the optional parameters
106
100
  # @return [Array<(VoiceCallResponse, Integer, Hash)>] VoiceCallResponse data, response status code and response headers
@@ -157,29 +151,29 @@ module Pingram
157
151
  return data, status_code, headers
158
152
  end
159
153
 
160
- # Deploy a voice agent (persist spec for production routing)
161
- # @param create_voice_agent_request [CreateVoiceAgentRequest]
154
+ # Remove inbound call behavior from a number this account owns
155
+ # @param phone_number [String] E.164 phone number
162
156
  # @param [Hash] opts the optional parameters
163
- # @return [CreateVoiceAgentResponse]
164
- def voice_create_agent(create_voice_agent_request, opts = {})
165
- data, _status_code, _headers = voice_create_agent_with_http_info(create_voice_agent_request, opts)
157
+ # @return [MessageResponse]
158
+ def voice_clear_number_inbound(phone_number, opts = {})
159
+ data, _status_code, _headers = voice_clear_number_inbound_with_http_info(phone_number, opts)
166
160
  data
167
161
  end
168
162
 
169
- # Deploy a voice agent (persist spec for production routing)
170
- # @param create_voice_agent_request [CreateVoiceAgentRequest]
163
+ # Remove inbound call behavior from a number this account owns
164
+ # @param phone_number [String] E.164 phone number
171
165
  # @param [Hash] opts the optional parameters
172
- # @return [Array<(CreateVoiceAgentResponse, Integer, Hash)>] CreateVoiceAgentResponse data, response status code and response headers
173
- def voice_create_agent_with_http_info(create_voice_agent_request, opts = {})
166
+ # @return [Array<(MessageResponse, Integer, Hash)>] MessageResponse data, response status code and response headers
167
+ def voice_clear_number_inbound_with_http_info(phone_number, opts = {})
174
168
  if @api_client.config.debugging
175
- @api_client.config.logger.debug 'Calling API: VoiceApi.voice_create_agent ...'
169
+ @api_client.config.logger.debug 'Calling API: VoiceApi.voice_clear_number_inbound ...'
176
170
  end
177
- # verify the required parameter 'create_voice_agent_request' is set
178
- if @api_client.config.client_side_validation && create_voice_agent_request.nil?
179
- fail ArgumentError, "Missing the required parameter 'create_voice_agent_request' when calling VoiceApi.voice_create_agent"
171
+ # verify the required parameter 'phone_number' is set
172
+ if @api_client.config.client_side_validation && phone_number.nil?
173
+ fail ArgumentError, "Missing the required parameter 'phone_number' when calling VoiceApi.voice_clear_number_inbound"
180
174
  end
181
175
  # resource path
182
- local_var_path = '/voice/agents'
176
+ local_var_path = '/voice/numbers/{phoneNumber}/inbound'.sub('{' + 'phoneNumber' + '}', CGI.escape(phone_number.to_s))
183
177
 
184
178
  # query parameters
185
179
  query_params = opts[:query_params] || {}
@@ -188,26 +182,21 @@ module Pingram
188
182
  header_params = opts[:header_params] || {}
189
183
  # HTTP header 'Accept' (if needed)
190
184
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
191
- # HTTP header 'Content-Type'
192
- content_type = @api_client.select_header_content_type(['application/json'])
193
- if !content_type.nil?
194
- header_params['Content-Type'] = content_type
195
- end
196
185
 
197
186
  # form parameters
198
187
  form_params = opts[:form_params] || {}
199
188
 
200
189
  # http body (model)
201
- post_body = opts[:debug_body] || @api_client.object_to_http_body(create_voice_agent_request)
190
+ post_body = opts[:debug_body]
202
191
 
203
192
  # return_type
204
- return_type = opts[:debug_return_type] || 'CreateVoiceAgentResponse'
193
+ return_type = opts[:debug_return_type] || 'MessageResponse'
205
194
 
206
195
  # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
207
196
  auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
208
197
 
209
198
  new_options = opts.merge(
210
- :operation => :"VoiceApi.voice_create_agent",
199
+ :operation => :"VoiceApi.voice_clear_number_inbound",
211
200
  :header_params => header_params,
212
201
  :query_params => query_params,
213
202
  :form_params => form_params,
@@ -216,14 +205,14 @@ module Pingram
216
205
  :return_type => return_type
217
206
  )
218
207
 
219
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
208
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
220
209
  if @api_client.config.debugging
221
- @api_client.config.logger.debug "API called: VoiceApi#voice_create_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
210
+ @api_client.config.logger.debug "API called: VoiceApi#voice_clear_number_inbound\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
222
211
  end
223
212
  return data, status_code, headers
224
213
  end
225
214
 
226
- # Place an ephemeral browser playground call with an inline agent spec
215
+ # Place a browser playground call. Script calls use POST /voice/call.
227
216
  # @param voice_browser_call_request [VoiceBrowserCallRequest]
228
217
  # @param [Hash] opts the optional parameters
229
218
  # @return [VoiceBrowserCallResponse]
@@ -232,7 +221,7 @@ module Pingram
232
221
  data
233
222
  end
234
223
 
235
- # Place an ephemeral browser playground call with an inline agent spec
224
+ # Place a browser playground call. Script calls use POST /voice/call.
236
225
  # @param voice_browser_call_request [VoiceBrowserCallRequest]
237
226
  # @param [Hash] opts the optional parameters
238
227
  # @return [Array<(VoiceBrowserCallResponse, Integer, Hash)>] VoiceBrowserCallResponse data, response status code and response headers
@@ -289,128 +278,6 @@ module Pingram
289
278
  return data, status_code, headers
290
279
  end
291
280
 
292
- # Remove a deployed voice agent and unbind its numbers
293
- # @param agent_id [String] Agent id
294
- # @param [Hash] opts the optional parameters
295
- # @return [DeleteVoiceAgentResponse]
296
- def voice_delete_agent(agent_id, opts = {})
297
- data, _status_code, _headers = voice_delete_agent_with_http_info(agent_id, opts)
298
- data
299
- end
300
-
301
- # Remove a deployed voice agent and unbind its numbers
302
- # @param agent_id [String] Agent id
303
- # @param [Hash] opts the optional parameters
304
- # @return [Array<(DeleteVoiceAgentResponse, Integer, Hash)>] DeleteVoiceAgentResponse data, response status code and response headers
305
- def voice_delete_agent_with_http_info(agent_id, opts = {})
306
- if @api_client.config.debugging
307
- @api_client.config.logger.debug 'Calling API: VoiceApi.voice_delete_agent ...'
308
- end
309
- # verify the required parameter 'agent_id' is set
310
- if @api_client.config.client_side_validation && agent_id.nil?
311
- fail ArgumentError, "Missing the required parameter 'agent_id' when calling VoiceApi.voice_delete_agent"
312
- end
313
- # resource path
314
- local_var_path = '/voice/agents/{agentId}'.sub('{' + 'agentId' + '}', CGI.escape(agent_id.to_s))
315
-
316
- # query parameters
317
- query_params = opts[:query_params] || {}
318
-
319
- # header parameters
320
- header_params = opts[:header_params] || {}
321
- # HTTP header 'Accept' (if needed)
322
- header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
323
-
324
- # form parameters
325
- form_params = opts[:form_params] || {}
326
-
327
- # http body (model)
328
- post_body = opts[:debug_body]
329
-
330
- # return_type
331
- return_type = opts[:debug_return_type] || 'DeleteVoiceAgentResponse'
332
-
333
- # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
334
- auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
335
-
336
- new_options = opts.merge(
337
- :operation => :"VoiceApi.voice_delete_agent",
338
- :header_params => header_params,
339
- :query_params => query_params,
340
- :form_params => form_params,
341
- :body => post_body,
342
- :auth_names => auth_names,
343
- :return_type => return_type
344
- )
345
-
346
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
347
- if @api_client.config.debugging
348
- @api_client.config.logger.debug "API called: VoiceApi#voice_delete_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
349
- end
350
- return data, status_code, headers
351
- end
352
-
353
- # Get a deployed voice agent
354
- # @param agent_id [String] Agent id
355
- # @param [Hash] opts the optional parameters
356
- # @return [GetVoiceAgentResponse]
357
- def voice_get_agent(agent_id, opts = {})
358
- data, _status_code, _headers = voice_get_agent_with_http_info(agent_id, opts)
359
- data
360
- end
361
-
362
- # Get a deployed voice agent
363
- # @param agent_id [String] Agent id
364
- # @param [Hash] opts the optional parameters
365
- # @return [Array<(GetVoiceAgentResponse, Integer, Hash)>] GetVoiceAgentResponse data, response status code and response headers
366
- def voice_get_agent_with_http_info(agent_id, opts = {})
367
- if @api_client.config.debugging
368
- @api_client.config.logger.debug 'Calling API: VoiceApi.voice_get_agent ...'
369
- end
370
- # verify the required parameter 'agent_id' is set
371
- if @api_client.config.client_side_validation && agent_id.nil?
372
- fail ArgumentError, "Missing the required parameter 'agent_id' when calling VoiceApi.voice_get_agent"
373
- end
374
- # resource path
375
- local_var_path = '/voice/agents/{agentId}'.sub('{' + 'agentId' + '}', CGI.escape(agent_id.to_s))
376
-
377
- # query parameters
378
- query_params = opts[:query_params] || {}
379
-
380
- # header parameters
381
- header_params = opts[:header_params] || {}
382
- # HTTP header 'Accept' (if needed)
383
- header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
384
-
385
- # form parameters
386
- form_params = opts[:form_params] || {}
387
-
388
- # http body (model)
389
- post_body = opts[:debug_body]
390
-
391
- # return_type
392
- return_type = opts[:debug_return_type] || 'GetVoiceAgentResponse'
393
-
394
- # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
395
- auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
396
-
397
- new_options = opts.merge(
398
- :operation => :"VoiceApi.voice_get_agent",
399
- :header_params => header_params,
400
- :query_params => query_params,
401
- :form_params => form_params,
402
- :body => post_body,
403
- :auth_names => auth_names,
404
- :return_type => return_type
405
- )
406
-
407
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
408
- if @api_client.config.debugging
409
- @api_client.config.logger.debug "API called: VoiceApi#voice_get_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
410
- end
411
- return data, status_code, headers
412
- end
413
-
414
281
  # Get a call with transcript timeline and recording playback URL
415
282
  # @param tracking_id [String] Call tracking id
416
283
  # @param [Hash] opts the optional parameters
@@ -472,64 +339,8 @@ module Pingram
472
339
  return data, status_code, headers
473
340
  end
474
341
 
475
- # List deployed voice agents for the account
476
- # @param [Hash] opts the optional parameters
477
- # @return [ListVoiceAgentsResponse]
478
- def voice_list_agents(opts = {})
479
- data, _status_code, _headers = voice_list_agents_with_http_info(opts)
480
- data
481
- end
482
-
483
- # List deployed voice agents for the account
484
- # @param [Hash] opts the optional parameters
485
- # @return [Array<(ListVoiceAgentsResponse, Integer, Hash)>] ListVoiceAgentsResponse data, response status code and response headers
486
- def voice_list_agents_with_http_info(opts = {})
487
- if @api_client.config.debugging
488
- @api_client.config.logger.debug 'Calling API: VoiceApi.voice_list_agents ...'
489
- end
490
- # resource path
491
- local_var_path = '/voice/agents'
492
-
493
- # query parameters
494
- query_params = opts[:query_params] || {}
495
-
496
- # header parameters
497
- header_params = opts[:header_params] || {}
498
- # HTTP header 'Accept' (if needed)
499
- header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
500
-
501
- # form parameters
502
- form_params = opts[:form_params] || {}
503
-
504
- # http body (model)
505
- post_body = opts[:debug_body]
506
-
507
- # return_type
508
- return_type = opts[:debug_return_type] || 'ListVoiceAgentsResponse'
509
-
510
- # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
511
- auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
512
-
513
- new_options = opts.merge(
514
- :operation => :"VoiceApi.voice_list_agents",
515
- :header_params => header_params,
516
- :query_params => query_params,
517
- :form_params => form_params,
518
- :body => post_body,
519
- :auth_names => auth_names,
520
- :return_type => return_type
521
- )
522
-
523
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
524
- if @api_client.config.debugging
525
- @api_client.config.logger.debug "API called: VoiceApi#voice_list_agents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
526
- end
527
- return data, status_code, headers
528
- end
529
-
530
342
  # List recent calls newest-first (30-day retention)
531
343
  # @param [Hash] opts the optional parameters
532
- # @option opts [String] :agent_id Only calls handled by this agent
533
344
  # @option opts [Float] :limit Page size (default 25, max 100)
534
345
  # @option opts [String] :cursor Pagination cursor from a previous response
535
346
  # @return [ListVoiceCallsResponse]
@@ -540,7 +351,6 @@ module Pingram
540
351
 
541
352
  # List recent calls newest-first (30-day retention)
542
353
  # @param [Hash] opts the optional parameters
543
- # @option opts [String] :agent_id Only calls handled by this agent
544
354
  # @option opts [Float] :limit Page size (default 25, max 100)
545
355
  # @option opts [String] :cursor Pagination cursor from a previous response
546
356
  # @return [Array<(ListVoiceCallsResponse, Integer, Hash)>] ListVoiceCallsResponse data, response status code and response headers
@@ -553,7 +363,6 @@ module Pingram
553
363
 
554
364
  # query parameters
555
365
  query_params = opts[:query_params] || {}
556
- query_params[:'agentId'] = opts[:'agent_id'] if !opts[:'agent_id'].nil?
557
366
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
558
367
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
559
368
 
@@ -591,102 +400,35 @@ module Pingram
591
400
  return data, status_code, headers
592
401
  end
593
402
 
594
- # Unbind a phone number from a deployed agent
595
- # @param agent_id [String] Agent id
403
+ # Store inbound call behavior on a number this account owns
596
404
  # @param phone_number [String] E.164 phone number
405
+ # @param inbound_config [InboundConfig]
597
406
  # @param [Hash] opts the optional parameters
598
- # @return [UnbindNumberResponse]
599
- def voice_unbind_number(agent_id, phone_number, opts = {})
600
- data, _status_code, _headers = voice_unbind_number_with_http_info(agent_id, phone_number, opts)
407
+ # @return [MessageResponse]
408
+ def voice_put_number_inbound(phone_number, inbound_config, opts = {})
409
+ data, _status_code, _headers = voice_put_number_inbound_with_http_info(phone_number, inbound_config, opts)
601
410
  data
602
411
  end
603
412
 
604
- # Unbind a phone number from a deployed agent
605
- # @param agent_id [String] Agent id
413
+ # Store inbound call behavior on a number this account owns
606
414
  # @param phone_number [String] E.164 phone number
415
+ # @param inbound_config [InboundConfig]
607
416
  # @param [Hash] opts the optional parameters
608
- # @return [Array<(UnbindNumberResponse, Integer, Hash)>] UnbindNumberResponse data, response status code and response headers
609
- def voice_unbind_number_with_http_info(agent_id, phone_number, opts = {})
417
+ # @return [Array<(MessageResponse, Integer, Hash)>] MessageResponse data, response status code and response headers
418
+ def voice_put_number_inbound_with_http_info(phone_number, inbound_config, opts = {})
610
419
  if @api_client.config.debugging
611
- @api_client.config.logger.debug 'Calling API: VoiceApi.voice_unbind_number ...'
612
- end
613
- # verify the required parameter 'agent_id' is set
614
- if @api_client.config.client_side_validation && agent_id.nil?
615
- fail ArgumentError, "Missing the required parameter 'agent_id' when calling VoiceApi.voice_unbind_number"
420
+ @api_client.config.logger.debug 'Calling API: VoiceApi.voice_put_number_inbound ...'
616
421
  end
617
422
  # verify the required parameter 'phone_number' is set
618
423
  if @api_client.config.client_side_validation && phone_number.nil?
619
- fail ArgumentError, "Missing the required parameter 'phone_number' when calling VoiceApi.voice_unbind_number"
620
- end
621
- # resource path
622
- local_var_path = '/voice/agents/{agentId}/numbers/{phoneNumber}'.sub('{' + 'agentId' + '}', CGI.escape(agent_id.to_s)).sub('{' + 'phoneNumber' + '}', CGI.escape(phone_number.to_s))
623
-
624
- # query parameters
625
- query_params = opts[:query_params] || {}
626
-
627
- # header parameters
628
- header_params = opts[:header_params] || {}
629
- # HTTP header 'Accept' (if needed)
630
- header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
631
-
632
- # form parameters
633
- form_params = opts[:form_params] || {}
634
-
635
- # http body (model)
636
- post_body = opts[:debug_body]
637
-
638
- # return_type
639
- return_type = opts[:debug_return_type] || 'UnbindNumberResponse'
640
-
641
- # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
642
- auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
643
-
644
- new_options = opts.merge(
645
- :operation => :"VoiceApi.voice_unbind_number",
646
- :header_params => header_params,
647
- :query_params => query_params,
648
- :form_params => form_params,
649
- :body => post_body,
650
- :auth_names => auth_names,
651
- :return_type => return_type
652
- )
653
-
654
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
655
- if @api_client.config.debugging
656
- @api_client.config.logger.debug "API called: VoiceApi#voice_unbind_number\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
657
- end
658
- return data, status_code, headers
659
- end
660
-
661
- # Publish changes to a deployed voice agent
662
- # @param agent_id [String] Agent id
663
- # @param update_voice_agent_request [UpdateVoiceAgentRequest]
664
- # @param [Hash] opts the optional parameters
665
- # @return [UpdateVoiceAgentResponse]
666
- def voice_update_agent(agent_id, update_voice_agent_request, opts = {})
667
- data, _status_code, _headers = voice_update_agent_with_http_info(agent_id, update_voice_agent_request, opts)
668
- data
669
- end
670
-
671
- # Publish changes to a deployed voice agent
672
- # @param agent_id [String] Agent id
673
- # @param update_voice_agent_request [UpdateVoiceAgentRequest]
674
- # @param [Hash] opts the optional parameters
675
- # @return [Array<(UpdateVoiceAgentResponse, Integer, Hash)>] UpdateVoiceAgentResponse data, response status code and response headers
676
- def voice_update_agent_with_http_info(agent_id, update_voice_agent_request, opts = {})
677
- if @api_client.config.debugging
678
- @api_client.config.logger.debug 'Calling API: VoiceApi.voice_update_agent ...'
679
- end
680
- # verify the required parameter 'agent_id' is set
681
- if @api_client.config.client_side_validation && agent_id.nil?
682
- fail ArgumentError, "Missing the required parameter 'agent_id' when calling VoiceApi.voice_update_agent"
424
+ fail ArgumentError, "Missing the required parameter 'phone_number' when calling VoiceApi.voice_put_number_inbound"
683
425
  end
684
- # verify the required parameter 'update_voice_agent_request' is set
685
- if @api_client.config.client_side_validation && update_voice_agent_request.nil?
686
- fail ArgumentError, "Missing the required parameter 'update_voice_agent_request' when calling VoiceApi.voice_update_agent"
426
+ # verify the required parameter 'inbound_config' is set
427
+ if @api_client.config.client_side_validation && inbound_config.nil?
428
+ fail ArgumentError, "Missing the required parameter 'inbound_config' when calling VoiceApi.voice_put_number_inbound"
687
429
  end
688
430
  # resource path
689
- local_var_path = '/voice/agents/{agentId}'.sub('{' + 'agentId' + '}', CGI.escape(agent_id.to_s))
431
+ local_var_path = '/voice/numbers/{phoneNumber}/inbound'.sub('{' + 'phoneNumber' + '}', CGI.escape(phone_number.to_s))
690
432
 
691
433
  # query parameters
692
434
  query_params = opts[:query_params] || {}
@@ -705,16 +447,16 @@ module Pingram
705
447
  form_params = opts[:form_params] || {}
706
448
 
707
449
  # http body (model)
708
- post_body = opts[:debug_body] || @api_client.object_to_http_body(update_voice_agent_request)
450
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(inbound_config)
709
451
 
710
452
  # return_type
711
- return_type = opts[:debug_return_type] || 'UpdateVoiceAgentResponse'
453
+ return_type = opts[:debug_return_type] || 'MessageResponse'
712
454
 
713
455
  # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
714
456
  auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
715
457
 
716
458
  new_options = opts.merge(
717
- :operation => :"VoiceApi.voice_update_agent",
459
+ :operation => :"VoiceApi.voice_put_number_inbound",
718
460
  :header_params => header_params,
719
461
  :query_params => query_params,
720
462
  :form_params => form_params,
@@ -725,7 +467,7 @@ module Pingram
725
467
 
726
468
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
727
469
  if @api_client.config.debugging
728
- @api_client.config.logger.debug "API called: VoiceApi#voice_update_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
470
+ @api_client.config.logger.debug "API called: VoiceApi#voice_put_number_inbound\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
729
471
  end
730
472
  return data, status_code, headers
731
473
  end
@@ -19,7 +19,7 @@ module Pingram
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Create a webhook endpoint. Pingram POSTs signed JSON to the URL when one of the subscribed events happens. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be a public HTTPS URL and should return 2xx.
22
+ # Create a webhook endpoint on a server outside Pingram. Pingram later POSTs signed JSON to that URL when one of the subscribed events happens. This call only saves the endpoint; it does not send a webhook and does not modify the destination server. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be a public HTTPS URL and should return 2xx.
23
23
  # @param webhook_endpoint_upsert_request [WebhookEndpointUpsertRequest]
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [WebhookEndpoint]
@@ -28,7 +28,7 @@ module Pingram
28
28
  data
29
29
  end
30
30
 
31
- # Create a webhook endpoint. Pingram POSTs signed JSON to the URL when one of the subscribed events happens. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be a public HTTPS URL and should return 2xx.
31
+ # Create a webhook endpoint on a server outside Pingram. Pingram later POSTs signed JSON to that URL when one of the subscribed events happens. This call only saves the endpoint; it does not send a webhook and does not modify the destination server. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be a public HTTPS URL and should return 2xx.
32
32
  # @param webhook_endpoint_upsert_request [WebhookEndpointUpsertRequest]
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(WebhookEndpoint, Integer, Hash)>] WebhookEndpoint data, response status code and response headers
@@ -201,7 +201,7 @@ module Pingram
201
201
  return data, status_code, headers
202
202
  end
203
203
 
204
- # Replace one webhook endpoint's URL and its full event subscription. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it. The URL must be a public HTTPS URL.
204
+ # Replace one webhook endpoint's URL and its full event subscription. The URL is a server outside Pingram. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it, and the previous URL stops receiving events. The previous URL and event list are not kept. The URL must be a public HTTPS URL.
205
205
  # @param endpoint_id [String] Id of the webhook endpoint, from list or create.
206
206
  # @param webhook_endpoint_upsert_request [WebhookEndpointUpsertRequest]
207
207
  # @param [Hash] opts the optional parameters
@@ -211,7 +211,7 @@ module Pingram
211
211
  data
212
212
  end
213
213
 
214
- # Replace one webhook endpoint&#39;s URL and its full event subscription. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it. The URL must be a public HTTPS URL.
214
+ # Replace one webhook endpoint&#39;s URL and its full event subscription. The URL is a server outside Pingram. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it, and the previous URL stops receiving events. The previous URL and event list are not kept. The URL must be a public HTTPS URL.
215
215
  # @param endpoint_id [String] Id of the webhook endpoint, from list or create.
216
216
  # @param webhook_endpoint_upsert_request [WebhookEndpointUpsertRequest]
217
217
  # @param [Hash] opts the optional parameters
@@ -32,7 +32,7 @@ module Pingram
32
32
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
33
33
  def initialize(config = Configuration.default)
34
34
  @config = config
35
- @user_agent = "pingram-ruby/1.0.39"
35
+ @user_agent = "pingram-ruby/1.0.40"
36
36
  @default_headers = {
37
37
  'Content-Type' => 'application/json',
38
38
  'User-Agent' => @user_agent