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
@@ -14,11 +14,15 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Pingram
17
- class BindNumberResponseAgentSpecInbound < ApiModelBase
18
- attr_accessor :first_action
17
+ class Agent < ApiModelBase
18
+ attr_accessor :type
19
19
 
20
20
  attr_accessor :greeting
21
21
 
22
+ attr_accessor :agent
23
+
24
+ attr_accessor :privacy
25
+
22
26
  class EnumAttributeValidator
23
27
  attr_reader :datatype
24
28
  attr_reader :allowable_values
@@ -44,8 +48,10 @@ module Pingram
44
48
  # Attribute mapping from ruby-style variable name to JSON key.
45
49
  def self.attribute_map
46
50
  {
47
- :'first_action' => :'firstAction',
48
- :'greeting' => :'greeting'
51
+ :'type' => :'type',
52
+ :'greeting' => :'greeting',
53
+ :'agent' => :'agent',
54
+ :'privacy' => :'privacy'
49
55
  }
50
56
  end
51
57
 
@@ -62,8 +68,10 @@ module Pingram
62
68
  # Attribute type mapping.
63
69
  def self.openapi_types
64
70
  {
65
- :'first_action' => :'String',
66
- :'greeting' => :'String'
71
+ :'type' => :'String',
72
+ :'greeting' => :'String',
73
+ :'agent' => :'AgentAgent',
74
+ :'privacy' => :'ScriptPrivacy'
67
75
  }
68
76
  end
69
77
 
@@ -77,28 +85,36 @@ module Pingram
77
85
  # @param [Hash] attributes Model attributes in the form of hash
78
86
  def initialize(attributes = {})
79
87
  if (!attributes.is_a?(Hash))
80
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::BindNumberResponseAgentSpecInbound` initialize method"
88
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::Agent` initialize method"
81
89
  end
82
90
 
83
91
  # check to see if the attribute exists and convert string to symbol for hash key
84
92
  acceptable_attribute_map = self.class.acceptable_attribute_map
85
93
  attributes = attributes.each_with_object({}) { |(k, v), h|
86
94
  if (!acceptable_attribute_map.key?(k.to_sym))
87
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::BindNumberResponseAgentSpecInbound`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
95
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::Agent`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
88
96
  end
89
97
  h[k.to_sym] = v
90
98
  }
91
99
 
92
- if attributes.key?(:'first_action')
93
- self.first_action = attributes[:'first_action']
100
+ if attributes.key?(:'type')
101
+ self.type = attributes[:'type']
94
102
  else
95
- self.first_action = nil
103
+ self.type = nil
96
104
  end
97
105
 
98
106
  if attributes.key?(:'greeting')
99
107
  self.greeting = attributes[:'greeting']
108
+ end
109
+
110
+ if attributes.key?(:'agent')
111
+ self.agent = attributes[:'agent']
100
112
  else
101
- self.greeting = nil
113
+ self.agent = nil
114
+ end
115
+
116
+ if attributes.key?(:'privacy')
117
+ self.privacy = attributes[:'privacy']
102
118
  end
103
119
  end
104
120
 
@@ -107,12 +123,12 @@ module Pingram
107
123
  def list_invalid_properties
108
124
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
109
125
  invalid_properties = Array.new
110
- if @first_action.nil?
111
- invalid_properties.push('invalid value for "first_action", first_action cannot be nil.')
126
+ if @type.nil?
127
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
112
128
  end
113
129
 
114
- if @greeting.nil?
115
- invalid_properties.push('invalid value for "greeting", greeting cannot be nil.')
130
+ if @agent.nil?
131
+ invalid_properties.push('invalid value for "agent", agent cannot be nil.')
116
132
  end
117
133
 
118
134
  invalid_properties
@@ -122,31 +138,31 @@ module Pingram
122
138
  # @return true if the model is valid
123
139
  def valid?
124
140
  warn '[DEPRECATED] the `valid?` method is obsolete'
125
- return false if @first_action.nil?
126
- first_action_validator = EnumAttributeValidator.new('String', ["speak", "wait"])
127
- return false unless first_action_validator.valid?(@first_action)
128
- return false if @greeting.nil?
141
+ return false if @type.nil?
142
+ type_validator = EnumAttributeValidator.new('String', ["agent"])
143
+ return false unless type_validator.valid?(@type)
144
+ return false if @agent.nil?
129
145
  true
130
146
  end
131
147
 
132
148
  # Custom attribute writer method checking allowed values (enum).
133
- # @param [Object] first_action Object to be assigned
134
- def first_action=(first_action)
135
- validator = EnumAttributeValidator.new('String', ["speak", "wait"])
136
- unless validator.valid?(first_action)
137
- fail ArgumentError, "invalid value for \"first_action\", must be one of #{validator.allowable_values}."
149
+ # @param [Object] type Object to be assigned
150
+ def type=(type)
151
+ validator = EnumAttributeValidator.new('String', ["agent"])
152
+ unless validator.valid?(type)
153
+ fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
138
154
  end
139
- @first_action = first_action
155
+ @type = type
140
156
  end
141
157
 
142
158
  # Custom attribute writer method with validation
143
- # @param [Object] greeting Value to be assigned
144
- def greeting=(greeting)
145
- if greeting.nil?
146
- fail ArgumentError, 'greeting cannot be nil'
159
+ # @param [Object] agent Value to be assigned
160
+ def agent=(agent)
161
+ if agent.nil?
162
+ fail ArgumentError, 'agent cannot be nil'
147
163
  end
148
164
 
149
- @greeting = greeting
165
+ @agent = agent
150
166
  end
151
167
 
152
168
  # Checks equality by comparing each attribute.
@@ -154,8 +170,10 @@ module Pingram
154
170
  def ==(o)
155
171
  return true if self.equal?(o)
156
172
  self.class == o.class &&
157
- first_action == o.first_action &&
158
- greeting == o.greeting
173
+ type == o.type &&
174
+ greeting == o.greeting &&
175
+ agent == o.agent &&
176
+ privacy == o.privacy
159
177
  end
160
178
 
161
179
  # @see the `==` method
@@ -167,7 +185,7 @@ module Pingram
167
185
  # Calculates hash code according to all attributes.
168
186
  # @return [Integer] Hash code
169
187
  def hash
170
- [first_action, greeting].hash
188
+ [type, greeting, agent, privacy].hash
171
189
  end
172
190
 
173
191
  # Builds the object from hash
@@ -14,15 +14,20 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Pingram
17
- class BindNumberResponseAgentSpecOutbound < ApiModelBase
18
- attr_accessor :first_action
17
+ class Agent1 < ApiModelBase
18
+ attr_accessor :type
19
19
 
20
20
  attr_accessor :opener
21
21
 
22
+ # What to do when an answering machine picks up. hangup ends the call, message plays voicemailMessage, continue keeps talking. Default: continue.
22
23
  attr_accessor :voicemail_action
23
24
 
24
25
  attr_accessor :voicemail_message
25
26
 
27
+ attr_accessor :agent
28
+
29
+ attr_accessor :privacy
30
+
26
31
  class EnumAttributeValidator
27
32
  attr_reader :datatype
28
33
  attr_reader :allowable_values
@@ -48,10 +53,12 @@ module Pingram
48
53
  # Attribute mapping from ruby-style variable name to JSON key.
49
54
  def self.attribute_map
50
55
  {
51
- :'first_action' => :'firstAction',
56
+ :'type' => :'type',
52
57
  :'opener' => :'opener',
53
58
  :'voicemail_action' => :'voicemailAction',
54
- :'voicemail_message' => :'voicemailMessage'
59
+ :'voicemail_message' => :'voicemailMessage',
60
+ :'agent' => :'agent',
61
+ :'privacy' => :'privacy'
55
62
  }
56
63
  end
57
64
 
@@ -68,10 +75,12 @@ module Pingram
68
75
  # Attribute type mapping.
69
76
  def self.openapi_types
70
77
  {
71
- :'first_action' => :'String',
78
+ :'type' => :'String',
72
79
  :'opener' => :'String',
73
80
  :'voicemail_action' => :'String',
74
- :'voicemail_message' => :'String'
81
+ :'voicemail_message' => :'String',
82
+ :'agent' => :'AgentAgent',
83
+ :'privacy' => :'ScriptPrivacy'
75
84
  }
76
85
  end
77
86
 
@@ -85,39 +94,45 @@ module Pingram
85
94
  # @param [Hash] attributes Model attributes in the form of hash
86
95
  def initialize(attributes = {})
87
96
  if (!attributes.is_a?(Hash))
88
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::BindNumberResponseAgentSpecOutbound` initialize method"
97
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::Agent1` initialize method"
89
98
  end
90
99
 
91
100
  # check to see if the attribute exists and convert string to symbol for hash key
92
101
  acceptable_attribute_map = self.class.acceptable_attribute_map
93
102
  attributes = attributes.each_with_object({}) { |(k, v), h|
94
103
  if (!acceptable_attribute_map.key?(k.to_sym))
95
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::BindNumberResponseAgentSpecOutbound`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
104
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::Agent1`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
96
105
  end
97
106
  h[k.to_sym] = v
98
107
  }
99
108
 
100
- if attributes.key?(:'first_action')
101
- self.first_action = attributes[:'first_action']
109
+ if attributes.key?(:'type')
110
+ self.type = attributes[:'type']
102
111
  else
103
- self.first_action = nil
112
+ self.type = nil
104
113
  end
105
114
 
106
115
  if attributes.key?(:'opener')
107
116
  self.opener = attributes[:'opener']
108
- else
109
- self.opener = nil
110
117
  end
111
118
 
112
119
  if attributes.key?(:'voicemail_action')
113
120
  self.voicemail_action = attributes[:'voicemail_action']
114
- else
115
- self.voicemail_action = nil
116
121
  end
117
122
 
118
123
  if attributes.key?(:'voicemail_message')
119
124
  self.voicemail_message = attributes[:'voicemail_message']
120
125
  end
126
+
127
+ if attributes.key?(:'agent')
128
+ self.agent = attributes[:'agent']
129
+ else
130
+ self.agent = nil
131
+ end
132
+
133
+ if attributes.key?(:'privacy')
134
+ self.privacy = attributes[:'privacy']
135
+ end
121
136
  end
122
137
 
123
138
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -125,16 +140,12 @@ module Pingram
125
140
  def list_invalid_properties
126
141
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
127
142
  invalid_properties = Array.new
128
- if @first_action.nil?
129
- invalid_properties.push('invalid value for "first_action", first_action cannot be nil.')
130
- end
131
-
132
- if @opener.nil?
133
- invalid_properties.push('invalid value for "opener", opener cannot be nil.')
143
+ if @type.nil?
144
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
134
145
  end
135
146
 
136
- if @voicemail_action.nil?
137
- invalid_properties.push('invalid value for "voicemail_action", voicemail_action cannot be nil.')
147
+ if @agent.nil?
148
+ invalid_properties.push('invalid value for "agent", agent cannot be nil.')
138
149
  end
139
150
 
140
151
  invalid_properties
@@ -144,34 +155,23 @@ module Pingram
144
155
  # @return true if the model is valid
145
156
  def valid?
146
157
  warn '[DEPRECATED] the `valid?` method is obsolete'
147
- return false if @first_action.nil?
148
- first_action_validator = EnumAttributeValidator.new('String', ["speak", "wait"])
149
- return false unless first_action_validator.valid?(@first_action)
150
- return false if @opener.nil?
151
- return false if @voicemail_action.nil?
158
+ return false if @type.nil?
159
+ type_validator = EnumAttributeValidator.new('String', ["agent"])
160
+ return false unless type_validator.valid?(@type)
152
161
  voicemail_action_validator = EnumAttributeValidator.new('String', ["hangup", "message", "continue"])
153
162
  return false unless voicemail_action_validator.valid?(@voicemail_action)
163
+ return false if @agent.nil?
154
164
  true
155
165
  end
156
166
 
157
167
  # Custom attribute writer method checking allowed values (enum).
158
- # @param [Object] first_action Object to be assigned
159
- def first_action=(first_action)
160
- validator = EnumAttributeValidator.new('String', ["speak", "wait"])
161
- unless validator.valid?(first_action)
162
- fail ArgumentError, "invalid value for \"first_action\", must be one of #{validator.allowable_values}."
168
+ # @param [Object] type Object to be assigned
169
+ def type=(type)
170
+ validator = EnumAttributeValidator.new('String', ["agent"])
171
+ unless validator.valid?(type)
172
+ fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
163
173
  end
164
- @first_action = first_action
165
- end
166
-
167
- # Custom attribute writer method with validation
168
- # @param [Object] opener Value to be assigned
169
- def opener=(opener)
170
- if opener.nil?
171
- fail ArgumentError, 'opener cannot be nil'
172
- end
173
-
174
- @opener = opener
174
+ @type = type
175
175
  end
176
176
 
177
177
  # Custom attribute writer method checking allowed values (enum).
@@ -184,15 +184,27 @@ module Pingram
184
184
  @voicemail_action = voicemail_action
185
185
  end
186
186
 
187
+ # Custom attribute writer method with validation
188
+ # @param [Object] agent Value to be assigned
189
+ def agent=(agent)
190
+ if agent.nil?
191
+ fail ArgumentError, 'agent cannot be nil'
192
+ end
193
+
194
+ @agent = agent
195
+ end
196
+
187
197
  # Checks equality by comparing each attribute.
188
198
  # @param [Object] Object to be compared
189
199
  def ==(o)
190
200
  return true if self.equal?(o)
191
201
  self.class == o.class &&
192
- first_action == o.first_action &&
202
+ type == o.type &&
193
203
  opener == o.opener &&
194
204
  voicemail_action == o.voicemail_action &&
195
- voicemail_message == o.voicemail_message
205
+ voicemail_message == o.voicemail_message &&
206
+ agent == o.agent &&
207
+ privacy == o.privacy
196
208
  end
197
209
 
198
210
  # @see the `==` method
@@ -204,7 +216,7 @@ module Pingram
204
216
  # Calculates hash code according to all attributes.
205
217
  # @return [Integer] Hash code
206
218
  def hash
207
- [first_action, opener, voicemail_action, voicemail_message].hash
219
+ [type, opener, voicemail_action, voicemail_message, agent, privacy].hash
208
220
  end
209
221
 
210
222
  # Builds the object from hash
@@ -0,0 +1,222 @@
1
+ =begin
2
+ #Pingram
3
+
4
+ #Internal API for notification delivery and management
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Pingram
17
+ # Speech-to-speech block shared by inbound and outbound agent calls.
18
+ class AgentAgent < ApiModelBase
19
+ attr_accessor :instructions
20
+
21
+ attr_accessor :model
22
+
23
+ attr_accessor :tools
24
+
25
+ attr_accessor :variables
26
+
27
+ attr_accessor :conversation
28
+
29
+ # Attribute mapping from ruby-style variable name to JSON key.
30
+ def self.attribute_map
31
+ {
32
+ :'instructions' => :'instructions',
33
+ :'model' => :'model',
34
+ :'tools' => :'tools',
35
+ :'variables' => :'variables',
36
+ :'conversation' => :'conversation'
37
+ }
38
+ end
39
+
40
+ # Returns attribute mapping this model knows about
41
+ def self.acceptable_attribute_map
42
+ attribute_map
43
+ end
44
+
45
+ # Returns all the JSON keys this model knows about
46
+ def self.acceptable_attributes
47
+ acceptable_attribute_map.values
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.openapi_types
52
+ {
53
+ :'instructions' => :'String',
54
+ :'model' => :'AgentAgentModel',
55
+ :'tools' => :'Array<AgentAgentToolsInner>',
56
+ :'variables' => :'Array<AgentAgentVariablesInner>',
57
+ :'conversation' => :'AgentAgentConversation'
58
+ }
59
+ end
60
+
61
+ # List of attributes with nullable: true
62
+ def self.openapi_nullable
63
+ Set.new([
64
+ ])
65
+ end
66
+
67
+ # Initializes the object
68
+ # @param [Hash] attributes Model attributes in the form of hash
69
+ def initialize(attributes = {})
70
+ if (!attributes.is_a?(Hash))
71
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::AgentAgent` initialize method"
72
+ end
73
+
74
+ # check to see if the attribute exists and convert string to symbol for hash key
75
+ acceptable_attribute_map = self.class.acceptable_attribute_map
76
+ attributes = attributes.each_with_object({}) { |(k, v), h|
77
+ if (!acceptable_attribute_map.key?(k.to_sym))
78
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::AgentAgent`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
79
+ end
80
+ h[k.to_sym] = v
81
+ }
82
+
83
+ if attributes.key?(:'instructions')
84
+ self.instructions = attributes[:'instructions']
85
+ else
86
+ self.instructions = nil
87
+ end
88
+
89
+ if attributes.key?(:'model')
90
+ self.model = attributes[:'model']
91
+ else
92
+ self.model = nil
93
+ end
94
+
95
+ if attributes.key?(:'tools')
96
+ if (value = attributes[:'tools']).is_a?(Array)
97
+ self.tools = value
98
+ end
99
+ end
100
+
101
+ if attributes.key?(:'variables')
102
+ if (value = attributes[:'variables']).is_a?(Array)
103
+ self.variables = value
104
+ end
105
+ end
106
+
107
+ if attributes.key?(:'conversation')
108
+ self.conversation = attributes[:'conversation']
109
+ end
110
+ end
111
+
112
+ # Show invalid properties with the reasons. Usually used together with valid?
113
+ # @return Array for valid properties with the reasons
114
+ def list_invalid_properties
115
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
116
+ invalid_properties = Array.new
117
+ if @instructions.nil?
118
+ invalid_properties.push('invalid value for "instructions", instructions cannot be nil.')
119
+ end
120
+
121
+ if @model.nil?
122
+ invalid_properties.push('invalid value for "model", model cannot be nil.')
123
+ end
124
+
125
+ invalid_properties
126
+ end
127
+
128
+ # Check to see if the all the properties in the model are valid
129
+ # @return true if the model is valid
130
+ def valid?
131
+ warn '[DEPRECATED] the `valid?` method is obsolete'
132
+ return false if @instructions.nil?
133
+ return false if @model.nil?
134
+ true
135
+ end
136
+
137
+ # Custom attribute writer method with validation
138
+ # @param [Object] instructions Value to be assigned
139
+ def instructions=(instructions)
140
+ if instructions.nil?
141
+ fail ArgumentError, 'instructions cannot be nil'
142
+ end
143
+
144
+ @instructions = instructions
145
+ end
146
+
147
+ # Custom attribute writer method with validation
148
+ # @param [Object] model Value to be assigned
149
+ def model=(model)
150
+ if model.nil?
151
+ fail ArgumentError, 'model cannot be nil'
152
+ end
153
+
154
+ @model = model
155
+ end
156
+
157
+ # Checks equality by comparing each attribute.
158
+ # @param [Object] Object to be compared
159
+ def ==(o)
160
+ return true if self.equal?(o)
161
+ self.class == o.class &&
162
+ instructions == o.instructions &&
163
+ model == o.model &&
164
+ tools == o.tools &&
165
+ variables == o.variables &&
166
+ conversation == o.conversation
167
+ end
168
+
169
+ # @see the `==` method
170
+ # @param [Object] Object to be compared
171
+ def eql?(o)
172
+ self == o
173
+ end
174
+
175
+ # Calculates hash code according to all attributes.
176
+ # @return [Integer] Hash code
177
+ def hash
178
+ [instructions, model, tools, variables, conversation].hash
179
+ end
180
+
181
+ # Builds the object from hash
182
+ # @param [Hash] attributes Model attributes in the form of hash
183
+ # @return [Object] Returns the model itself
184
+ def self.build_from_hash(attributes)
185
+ return nil unless attributes.is_a?(Hash)
186
+ attributes = attributes.transform_keys(&:to_sym)
187
+ transformed_hash = {}
188
+ openapi_types.each_pair do |key, type|
189
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
190
+ transformed_hash["#{key}"] = nil
191
+ elsif type =~ /\AArray<(.*)>/i
192
+ # check to ensure the input is an array given that the attribute
193
+ # is documented as an array but the input is not
194
+ if attributes[attribute_map[key]].is_a?(Array)
195
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
196
+ end
197
+ elsif !attributes[attribute_map[key]].nil?
198
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
199
+ end
200
+ end
201
+ new(transformed_hash)
202
+ end
203
+
204
+ # Returns the object in the form of hash
205
+ # @return [Hash] Returns the object in the form of hash
206
+ def to_hash
207
+ hash = {}
208
+ self.class.attribute_map.each_pair do |attr, param|
209
+ value = self.send(attr)
210
+ if value.nil?
211
+ is_nullable = self.class.openapi_nullable.include?(attr)
212
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
213
+ end
214
+
215
+ hash[param] = _to_hash(value)
216
+ end
217
+ hash
218
+ end
219
+
220
+ end
221
+
222
+ end