pingram 1.0.38 → 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 (333) 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/logs_api.rb +63 -2
  9. data/lib/pingram/api/registrations_api.rb +4 -4
  10. data/lib/pingram/api/voice_api.rb +60 -318
  11. data/lib/pingram/api/webhooks_api.rb +4 -4
  12. data/lib/pingram/api_client.rb +1 -1
  13. data/lib/pingram/models/{bind_number_response_agent_spec_inbound.rb → agent.rb} +52 -34
  14. data/lib/pingram/models/{bind_number_response_agent_spec_outbound.rb → agent1.rb} +59 -47
  15. data/lib/pingram/models/agent_agent.rb +222 -0
  16. data/lib/pingram/models/{bind_number_response_agent_spec_conversation.rb → agent_agent_conversation.rb} +14 -109
  17. data/lib/pingram/models/agent_agent_model.rb +108 -0
  18. data/lib/pingram/models/{bind_number_response_agent_spec_tools_inner.rb → agent_agent_tools_inner.rb} +4 -2
  19. data/lib/pingram/models/{bind_number_response_agent_spec_variables_inner.rb → agent_agent_variables_inner.rb} +6 -3
  20. data/lib/pingram/models/{bind_number_request.rb → arm_voice_inbound_claim_request.rb} +20 -19
  21. data/lib/pingram/models/{bind_number_response_agent_spec_model.rb → arm_voice_inbound_claim_request_inbound.rb} +5 -4
  22. data/lib/pingram/models/arm_voice_inbound_claim_response.rb +192 -0
  23. data/lib/pingram/models/broadcast_response.rb +1 -0
  24. data/lib/pingram/models/create_broadcast_request.rb +2 -1
  25. data/lib/pingram/models/custom.rb +39 -4
  26. data/lib/pingram/models/disabled.rb +188 -0
  27. data/lib/pingram/models/disconnect.rb +190 -0
  28. data/lib/pingram/models/dtmf.rb +2 -0
  29. data/lib/pingram/models/get_voice_call_response_call.rb +27 -27
  30. data/lib/pingram/models/get_voice_call_response_call_cost.rb +1 -1
  31. data/lib/pingram/models/get_voice_call_response_call_cost_lines_inner.rb +1 -1
  32. data/lib/pingram/models/google_gemini31_flash_live_preview.rb +230 -0
  33. data/lib/pingram/models/inbound_config.rb +106 -0
  34. data/lib/pingram/models/knowledge.rb +3 -0
  35. data/lib/pingram/models/knowledge_documents_inner.rb +2 -0
  36. data/lib/pingram/models/list_broadcasts_response_broadcasts_inner.rb +28 -27
  37. data/lib/pingram/models/list_broadcasts_response_broadcasts_inner_audience.rb +160 -0
  38. data/lib/pingram/models/list_phone_numbers_response_numbers_inner.rb +7 -8
  39. data/lib/pingram/models/list_voice_calls_response_calls_inner.rb +27 -27
  40. data/lib/pingram/models/local_number_admin_update_request.rb +213 -0
  41. data/lib/pingram/models/local_number_admin_update_request_fields.rb +380 -0
  42. data/lib/pingram/models/{update_voice_agent_response.rb → local_number_submit_request.rb} +31 -27
  43. data/lib/pingram/models/local_number_upload_request.rb +267 -0
  44. data/lib/pingram/models/local_number_upload_response.rb +240 -0
  45. data/lib/pingram/models/{bind_number_response_agent_spec_compliance.rb → logs_delivery_status_response.rb} +23 -19
  46. data/lib/pingram/models/logs_delivery_status_response_statuses_inner.rb +266 -0
  47. data/lib/pingram/models/logs_get_response_logs_inner.rb +2 -2
  48. data/lib/pingram/models/mcp.rb +4 -0
  49. data/lib/pingram/models/openai_gpt_live1.rb +230 -0
  50. data/lib/pingram/models/{s2s.rb → openai_gpt_realtime21.rb} +20 -85
  51. data/lib/pingram/models/openai_gpt_realtime21_mini.rb +230 -0
  52. data/lib/pingram/models/script.rb +225 -0
  53. data/lib/pingram/models/script1.rb +256 -0
  54. data/lib/pingram/models/{update_voice_agent_request.rb → script_privacy.rb} +20 -27
  55. data/lib/pingram/models/script_steps_inner.rb +215 -0
  56. data/lib/pingram/models/{create_voice_agent_request.rb → sign_out_request.rb} +20 -19
  57. data/lib/pingram/models/{list_voice_agents_response.rb → sms_compliance_countries_response.rb} +20 -20
  58. data/lib/pingram/models/sms_compliance_countries_response_countries_inner.rb +244 -0
  59. data/lib/pingram/models/{unbind_number_response.rb → sms_compliance_country.rb} +99 -19
  60. data/lib/pingram/models/sms_compliance_country_create_request.rb +208 -0
  61. data/lib/pingram/models/sms_local_number_registration_admin.rb +470 -0
  62. data/lib/pingram/models/sms_local_number_registration_admin_documents_inner.rb +243 -0
  63. data/lib/pingram/models/sms_local_number_submit_response.rb +345 -0
  64. data/lib/pingram/models/sms_local_number_submit_response_questions_inner.rb +240 -0
  65. data/lib/pingram/models/sms_local_number_submit_response_slots_inner.rb +355 -0
  66. data/lib/pingram/models/sms_registration.rb +244 -0
  67. data/lib/pingram/models/sms_registration_a2p10dlc.rb +774 -0
  68. data/lib/pingram/models/{create_voice_agent_response.rb → sms_registration_create_request.rb} +20 -27
  69. data/lib/pingram/models/sms_registration_create_request_a2p10dlc.rb +702 -0
  70. data/lib/pingram/models/sms_registration_create_request_local_number.rb +243 -0
  71. data/lib/pingram/models/sms_registration_create_request_local_number_documents_inner.rb +237 -0
  72. data/lib/pingram/models/sms_registration_local_number.rb +433 -0
  73. data/lib/pingram/models/sms_registration_local_number_documents_inner.rb +216 -0
  74. data/lib/pingram/models/sms_registration_sender_id.rb +360 -0
  75. data/lib/pingram/models/{bind_number_response.rb → sms_registration_update_request.rb} +20 -27
  76. data/lib/pingram/models/sms_registration_update_request_a2p10dlc.rb +535 -0
  77. data/lib/pingram/models/sms_registration_update_request_local_number.rb +202 -0
  78. data/lib/pingram/models/sms_sender_id.rb +293 -0
  79. data/lib/pingram/models/{bind_number_response_agent.rb → sms_sender_id_admin.rb} +66 -96
  80. data/lib/pingram/models/sms_sender_id_admin_update_request.rb +189 -0
  81. data/lib/pingram/models/{delete_voice_agent_response.rb → sms_sender_id_create_request.rb} +20 -19
  82. data/lib/pingram/models/transfer.rb +21 -53
  83. data/lib/pingram/models/transfer1.rb +223 -0
  84. data/lib/pingram/models/transfer_destinations_inner.rb +253 -0
  85. data/lib/pingram/models/update_broadcast_request.rb +2 -1
  86. data/lib/pingram/models/voice_browser_call_request.rb +57 -23
  87. data/lib/pingram/models/voice_browser_call_request_config.rb +104 -0
  88. data/lib/pingram/models/voice_browser_call_request_config_any_of.rb +104 -0
  89. data/lib/pingram/models/voice_call_request.rb +35 -44
  90. data/lib/pingram/models/voice_call_response.rb +2 -27
  91. data/lib/pingram/models/weather.rb +190 -0
  92. data/lib/pingram/models/webhook_event.rb +2 -2
  93. data/lib/pingram/models/xai_grok_voice_latest.rb +230 -0
  94. data/lib/pingram/version.rb +1 -1
  95. data/lib/pingram.rb +61 -21
  96. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.13.0.gem +0 -0
  97. data/vendor/bundle/ruby/3.2.0/cache/pry-0.16.1.gem +0 -0
  98. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  99. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.6.0/gem_make.out +5 -5
  100. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/gem_make.out +5 -5
  101. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/mkmf.log +3 -3
  102. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  103. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/gem_make.out +5 -5
  104. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
  105. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  106. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current.rb +1 -1
  107. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/version.rb +1 -1
  108. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/CHANGELOG.md +12 -0
  109. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/constants.rb +2 -1
  110. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/globals.rb +2 -2
  111. 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
  112. 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
  113. 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
  114. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/editor.rb +1 -1
  115. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/base_helpers.rb +4 -2
  116. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pager.rb +5 -4
  117. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pry_instance.rb +3 -7
  118. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/version.rb +1 -1
  119. data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.3.12.0.gemspec → parser-3.3.13.0.gemspec} +4 -4
  120. data/vendor/bundle/ruby/3.2.0/specifications/{pry-0.16.0.gemspec → pry-0.16.1.gemspec} +2 -2
  121. metadata +287 -247
  122. data/lib/pingram/models/bind_number_response_agent_spec.rb +0 -376
  123. data/lib/pingram/models/chained.rb +0 -401
  124. data/lib/pingram/models/get_voice_agent_response.rb +0 -164
  125. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.12.0.gem +0 -0
  126. data/vendor/bundle/ruby/3.2.0/cache/pry-0.16.0.gem +0 -0
  127. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/LICENSE.txt +0 -0
  128. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-parse +0 -0
  129. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-rewrite +0 -0
  130. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/gauntlet_parser.rb +0 -0
  131. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/all.rb +0 -0
  132. /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
  133. /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
  134. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/base.rb +0 -0
  135. /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
  136. /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
  137. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/color.rb +0 -0
  138. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/context.rb +0 -0
  139. /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
  140. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/deprecation.rb +0 -0
  141. /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
  142. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic.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/dedenter.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/explanation.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/literal.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/stack_state.rb +0 -0
  147. /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
  148. /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
  149. /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
  150. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/macruby.rb +0 -0
  151. /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
  152. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/messages.rb +0 -0
  153. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/meta.rb +0 -0
  154. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rewriter.rb +0 -0
  155. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby18.rb +0 -0
  156. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby19.rb +0 -0
  157. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby20.rb +0 -0
  158. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby21.rb +0 -0
  159. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby22.rb +0 -0
  160. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby23.rb +0 -0
  161. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby24.rb +0 -0
  162. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby25.rb +0 -0
  163. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby26.rb +0 -0
  164. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby27.rb +0 -0
  165. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby30.rb +0 -0
  166. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby31.rb +0 -0
  167. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby32.rb +0 -0
  168. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby33.rb +0 -0
  169. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby34.rb +0 -0
  170. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rubymotion.rb +0 -0
  171. /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
  172. /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
  173. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner.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/buffer.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/comment/associator.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/comment.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/collection.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/condition.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/constant.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/definition.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/for.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/heredoc.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/index.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/keyword.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/method_definition.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/objc_kwarg.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/operator.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/rescue_body.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/send.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/map/ternary.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/map/variable.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/map.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/range.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/rewriter/action.rb +0 -0
  195. /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
  196. /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
  197. /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
  198. /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
  199. /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
  200. /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
  201. /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
  202. /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
  203. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser.rb +0 -0
  204. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/parser.gemspec +0 -0
  205. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/LICENSE +0 -0
  206. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/README.md +0 -0
  207. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/bin/pry +0 -0
  208. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/basic_object.rb +0 -0
  209. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/block_command.rb +0 -0
  210. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/class_command.rb +0 -0
  211. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/cli.rb +0 -0
  212. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/code_file.rb +0 -0
  213. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/code_range.rb +0 -0
  214. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/loc.rb +0 -0
  215. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code.rb +0 -0
  216. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code_object.rb +0 -0
  217. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/color_printer.rb +0 -0
  218. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command.rb +0 -0
  219. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command_set.rb +0 -0
  220. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command_state.rb +0 -0
  221. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/amend_line.rb +0 -0
  222. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/bang.rb +0 -0
  223. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/bang_pry.rb +0 -0
  224. /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
  225. /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
  226. /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
  227. /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
  228. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat.rb +0 -0
  229. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cd.rb +0 -0
  230. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/change_inspector.rb +0 -0
  231. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/change_prompt.rb +0 -0
  232. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/clear_screen.rb +0 -0
  233. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/code_collector.rb +0 -0
  234. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/disable_pry.rb +0 -0
  235. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/easter_eggs.rb +0 -0
  236. /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
  237. /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
  238. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/edit.rb +0 -0
  239. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit.rb +0 -0
  240. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit_all.rb +0 -0
  241. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit_program.rb +0 -0
  242. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/find_method.rb +0 -0
  243. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/fix_indent.rb +0 -0
  244. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/help.rb +0 -0
  245. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/hist.rb +0 -0
  246. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/import_set.rb +0 -0
  247. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/jump_to.rb +0 -0
  248. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/list_inspectors.rb +0 -0
  249. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/config.rb +0 -0
  250. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/formatter.rb +0 -0
  251. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/grep.rb +0 -0
  252. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/interrogatable.rb +0 -0
  253. /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
  254. /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
  255. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/methods.rb +0 -0
  256. /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
  257. /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
  258. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls.rb +0 -0
  259. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/nesting.rb +0 -0
  260. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/play.rb +0 -0
  261. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/pry_backtrace.rb +0 -0
  262. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/pry_version.rb +0 -0
  263. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/raise_up.rb +0 -0
  264. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/reload_code.rb +0 -0
  265. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/reset.rb +0 -0
  266. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ri.rb +0 -0
  267. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/save_file.rb +0 -0
  268. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/shell_command.rb +0 -0
  269. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/shell_mode.rb +0 -0
  270. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_doc.rb +0 -0
  271. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_info.rb +0 -0
  272. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_input.rb +0 -0
  273. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_source.rb +0 -0
  274. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/stat.rb +0 -0
  275. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/switch_to.rb +0 -0
  276. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/toggle_color.rb +0 -0
  277. /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
  278. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/watch_expression.rb +0 -0
  279. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/whereami.rb +0 -0
  280. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/wtf.rb +0 -0
  281. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/attributable.rb +0 -0
  282. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/lazy_value.rb +0 -0
  283. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/memoized_value.rb +0 -0
  284. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/value.rb +0 -0
  285. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config.rb +0 -0
  286. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/control_d_handler.rb +0 -0
  287. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/core_extensions.rb +0 -0
  288. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/env.rb +0 -0
  289. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/exception_handler.rb +0 -0
  290. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/exceptions.rb +0 -0
  291. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/forwardable.rb +0 -0
  292. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/command_helpers.rb +0 -0
  293. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/documentation_helpers.rb +0 -0
  294. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/options_helpers.rb +0 -0
  295. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/platform.rb +0 -0
  296. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/table.rb +0 -0
  297. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/text.rb +0 -0
  298. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers.rb +0 -0
  299. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/history.rb +0 -0
  300. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/hooks.rb +0 -0
  301. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/indent.rb +0 -0
  302. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input/simple_stdio.rb +0 -0
  303. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input_completer.rb +0 -0
  304. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input_lock.rb +0 -0
  305. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/inspector.rb +0 -0
  306. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/last_exception.rb +0 -0
  307. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/disowned.rb +0 -0
  308. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/patcher.rb +0 -0
  309. /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
  310. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method.rb +0 -0
  311. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/object_path.rb +0 -0
  312. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/output.rb +0 -0
  313. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/prompt.rb +0 -0
  314. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pry_class.rb +0 -0
  315. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/repl.rb +0 -0
  316. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/repl_file_loader.rb +0 -0
  317. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/ring.rb +0 -0
  318. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/LICENSE +0 -0
  319. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/commands.rb +0 -0
  320. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/option.rb +0 -0
  321. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop.rb +0 -0
  322. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/syntax_highlighter.rb +0 -0
  323. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/system_command_handler.rb +0 -0
  324. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/evalable.rb +0 -0
  325. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/mockable.rb +0 -0
  326. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/pry_tester.rb +0 -0
  327. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/utility.rb +0 -0
  328. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/variables.rb +0 -0
  329. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable.rb +0 -0
  330. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/warning.rb +0 -0
  331. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/wrapped_module/candidate.rb +0 -0
  332. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/wrapped_module.rb +0 -0
  333. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry.rb +0 -0
@@ -0,0 +1,256 @@
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
+ class Script1 < ApiModelBase
18
+ attr_accessor :type
19
+
20
+ attr_accessor :steps
21
+
22
+ # What to do when an answering machine picks up. hangup ends the call, message plays voicemailMessage, continue keeps talking. Default: continue.
23
+ attr_accessor :voicemail_action
24
+
25
+ attr_accessor :voicemail_message
26
+
27
+ attr_accessor :privacy
28
+
29
+ class EnumAttributeValidator
30
+ attr_reader :datatype
31
+ attr_reader :allowable_values
32
+
33
+ def initialize(datatype, allowable_values)
34
+ @allowable_values = allowable_values.map do |value|
35
+ case datatype.to_s
36
+ when /Integer/i
37
+ value.to_i
38
+ when /Float/i
39
+ value.to_f
40
+ else
41
+ value
42
+ end
43
+ end
44
+ end
45
+
46
+ def valid?(value)
47
+ !value || allowable_values.include?(value)
48
+ end
49
+ end
50
+
51
+ # Attribute mapping from ruby-style variable name to JSON key.
52
+ def self.attribute_map
53
+ {
54
+ :'type' => :'type',
55
+ :'steps' => :'steps',
56
+ :'voicemail_action' => :'voicemailAction',
57
+ :'voicemail_message' => :'voicemailMessage',
58
+ :'privacy' => :'privacy'
59
+ }
60
+ end
61
+
62
+ # Returns attribute mapping this model knows about
63
+ def self.acceptable_attribute_map
64
+ attribute_map
65
+ end
66
+
67
+ # Returns all the JSON keys this model knows about
68
+ def self.acceptable_attributes
69
+ acceptable_attribute_map.values
70
+ end
71
+
72
+ # Attribute type mapping.
73
+ def self.openapi_types
74
+ {
75
+ :'type' => :'String',
76
+ :'steps' => :'Array<ScriptStepsInner>',
77
+ :'voicemail_action' => :'String',
78
+ :'voicemail_message' => :'String',
79
+ :'privacy' => :'ScriptPrivacy'
80
+ }
81
+ end
82
+
83
+ # List of attributes with nullable: true
84
+ def self.openapi_nullable
85
+ Set.new([
86
+ ])
87
+ end
88
+
89
+ # Initializes the object
90
+ # @param [Hash] attributes Model attributes in the form of hash
91
+ def initialize(attributes = {})
92
+ if (!attributes.is_a?(Hash))
93
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::Script1` initialize method"
94
+ end
95
+
96
+ # check to see if the attribute exists and convert string to symbol for hash key
97
+ acceptable_attribute_map = self.class.acceptable_attribute_map
98
+ attributes = attributes.each_with_object({}) { |(k, v), h|
99
+ if (!acceptable_attribute_map.key?(k.to_sym))
100
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::Script1`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
101
+ end
102
+ h[k.to_sym] = v
103
+ }
104
+
105
+ if attributes.key?(:'type')
106
+ self.type = attributes[:'type']
107
+ else
108
+ self.type = nil
109
+ end
110
+
111
+ if attributes.key?(:'steps')
112
+ if (value = attributes[:'steps']).is_a?(Array)
113
+ self.steps = value
114
+ end
115
+ else
116
+ self.steps = nil
117
+ end
118
+
119
+ if attributes.key?(:'voicemail_action')
120
+ self.voicemail_action = attributes[:'voicemail_action']
121
+ end
122
+
123
+ if attributes.key?(:'voicemail_message')
124
+ self.voicemail_message = attributes[:'voicemail_message']
125
+ end
126
+
127
+ if attributes.key?(:'privacy')
128
+ self.privacy = attributes[:'privacy']
129
+ end
130
+ end
131
+
132
+ # Show invalid properties with the reasons. Usually used together with valid?
133
+ # @return Array for valid properties with the reasons
134
+ def list_invalid_properties
135
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
136
+ invalid_properties = Array.new
137
+ if @type.nil?
138
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
139
+ end
140
+
141
+ if @steps.nil?
142
+ invalid_properties.push('invalid value for "steps", steps cannot be nil.')
143
+ end
144
+
145
+ invalid_properties
146
+ end
147
+
148
+ # Check to see if the all the properties in the model are valid
149
+ # @return true if the model is valid
150
+ def valid?
151
+ warn '[DEPRECATED] the `valid?` method is obsolete'
152
+ return false if @type.nil?
153
+ type_validator = EnumAttributeValidator.new('String', ["script"])
154
+ return false unless type_validator.valid?(@type)
155
+ return false if @steps.nil?
156
+ voicemail_action_validator = EnumAttributeValidator.new('String', ["hangup", "message", "continue"])
157
+ return false unless voicemail_action_validator.valid?(@voicemail_action)
158
+ true
159
+ end
160
+
161
+ # Custom attribute writer method checking allowed values (enum).
162
+ # @param [Object] type Object to be assigned
163
+ def type=(type)
164
+ validator = EnumAttributeValidator.new('String', ["script"])
165
+ unless validator.valid?(type)
166
+ fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
167
+ end
168
+ @type = type
169
+ end
170
+
171
+ # Custom attribute writer method with validation
172
+ # @param [Object] steps Value to be assigned
173
+ def steps=(steps)
174
+ if steps.nil?
175
+ fail ArgumentError, 'steps cannot be nil'
176
+ end
177
+
178
+ @steps = steps
179
+ end
180
+
181
+ # Custom attribute writer method checking allowed values (enum).
182
+ # @param [Object] voicemail_action Object to be assigned
183
+ def voicemail_action=(voicemail_action)
184
+ validator = EnumAttributeValidator.new('String', ["hangup", "message", "continue"])
185
+ unless validator.valid?(voicemail_action)
186
+ fail ArgumentError, "invalid value for \"voicemail_action\", must be one of #{validator.allowable_values}."
187
+ end
188
+ @voicemail_action = voicemail_action
189
+ end
190
+
191
+ # Checks equality by comparing each attribute.
192
+ # @param [Object] Object to be compared
193
+ def ==(o)
194
+ return true if self.equal?(o)
195
+ self.class == o.class &&
196
+ type == o.type &&
197
+ steps == o.steps &&
198
+ voicemail_action == o.voicemail_action &&
199
+ voicemail_message == o.voicemail_message &&
200
+ privacy == o.privacy
201
+ end
202
+
203
+ # @see the `==` method
204
+ # @param [Object] Object to be compared
205
+ def eql?(o)
206
+ self == o
207
+ end
208
+
209
+ # Calculates hash code according to all attributes.
210
+ # @return [Integer] Hash code
211
+ def hash
212
+ [type, steps, voicemail_action, voicemail_message, privacy].hash
213
+ end
214
+
215
+ # Builds the object from hash
216
+ # @param [Hash] attributes Model attributes in the form of hash
217
+ # @return [Object] Returns the model itself
218
+ def self.build_from_hash(attributes)
219
+ return nil unless attributes.is_a?(Hash)
220
+ attributes = attributes.transform_keys(&:to_sym)
221
+ transformed_hash = {}
222
+ openapi_types.each_pair do |key, type|
223
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
224
+ transformed_hash["#{key}"] = nil
225
+ elsif type =~ /\AArray<(.*)>/i
226
+ # check to ensure the input is an array given that the attribute
227
+ # is documented as an array but the input is not
228
+ if attributes[attribute_map[key]].is_a?(Array)
229
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
230
+ end
231
+ elsif !attributes[attribute_map[key]].nil?
232
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
233
+ end
234
+ end
235
+ new(transformed_hash)
236
+ end
237
+
238
+ # Returns the object in the form of hash
239
+ # @return [Hash] Returns the object in the form of hash
240
+ def to_hash
241
+ hash = {}
242
+ self.class.attribute_map.each_pair do |attr, param|
243
+ value = self.send(attr)
244
+ if value.nil?
245
+ is_nullable = self.class.openapi_nullable.include?(attr)
246
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
247
+ end
248
+
249
+ hash[param] = _to_hash(value)
250
+ end
251
+ hash
252
+ end
253
+
254
+ end
255
+
256
+ end
@@ -14,13 +14,17 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Pingram
17
- class UpdateVoiceAgentRequest < ApiModelBase
18
- attr_accessor :spec
17
+ # Omitted privacy means record and transcribe are both on.
18
+ class ScriptPrivacy < ApiModelBase
19
+ attr_accessor :record
20
+
21
+ attr_accessor :transcribe
19
22
 
20
23
  # Attribute mapping from ruby-style variable name to JSON key.
21
24
  def self.attribute_map
22
25
  {
23
- :'spec' => :'spec'
26
+ :'record' => :'record',
27
+ :'transcribe' => :'transcribe'
24
28
  }
25
29
  end
26
30
 
@@ -37,7 +41,8 @@ module Pingram
37
41
  # Attribute type mapping.
38
42
  def self.openapi_types
39
43
  {
40
- :'spec' => :'BindNumberResponseAgentSpec'
44
+ :'record' => :'Boolean',
45
+ :'transcribe' => :'Boolean'
41
46
  }
42
47
  end
43
48
 
@@ -51,22 +56,24 @@ module Pingram
51
56
  # @param [Hash] attributes Model attributes in the form of hash
52
57
  def initialize(attributes = {})
53
58
  if (!attributes.is_a?(Hash))
54
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::UpdateVoiceAgentRequest` initialize method"
59
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::ScriptPrivacy` initialize method"
55
60
  end
56
61
 
57
62
  # check to see if the attribute exists and convert string to symbol for hash key
58
63
  acceptable_attribute_map = self.class.acceptable_attribute_map
59
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
60
65
  if (!acceptable_attribute_map.key?(k.to_sym))
61
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::UpdateVoiceAgentRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::ScriptPrivacy`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
62
67
  end
63
68
  h[k.to_sym] = v
64
69
  }
65
70
 
66
- if attributes.key?(:'spec')
67
- self.spec = attributes[:'spec']
68
- else
69
- self.spec = nil
71
+ if attributes.key?(:'record')
72
+ self.record = attributes[:'record']
73
+ end
74
+
75
+ if attributes.key?(:'transcribe')
76
+ self.transcribe = attributes[:'transcribe']
70
77
  end
71
78
  end
72
79
 
@@ -75,10 +82,6 @@ module Pingram
75
82
  def list_invalid_properties
76
83
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
77
84
  invalid_properties = Array.new
78
- if @spec.nil?
79
- invalid_properties.push('invalid value for "spec", spec cannot be nil.')
80
- end
81
-
82
85
  invalid_properties
83
86
  end
84
87
 
@@ -86,26 +89,16 @@ module Pingram
86
89
  # @return true if the model is valid
87
90
  def valid?
88
91
  warn '[DEPRECATED] the `valid?` method is obsolete'
89
- return false if @spec.nil?
90
92
  true
91
93
  end
92
94
 
93
- # Custom attribute writer method with validation
94
- # @param [Object] spec Value to be assigned
95
- def spec=(spec)
96
- if spec.nil?
97
- fail ArgumentError, 'spec cannot be nil'
98
- end
99
-
100
- @spec = spec
101
- end
102
-
103
95
  # Checks equality by comparing each attribute.
104
96
  # @param [Object] Object to be compared
105
97
  def ==(o)
106
98
  return true if self.equal?(o)
107
99
  self.class == o.class &&
108
- spec == o.spec
100
+ record == o.record &&
101
+ transcribe == o.transcribe
109
102
  end
110
103
 
111
104
  # @see the `==` method
@@ -117,7 +110,7 @@ module Pingram
117
110
  # Calculates hash code according to all attributes.
118
111
  # @return [Integer] Hash code
119
112
  def hash
120
- [spec].hash
113
+ [record, transcribe].hash
121
114
  end
122
115
 
123
116
  # Builds the object from hash
@@ -0,0 +1,215 @@
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
+ # One spoken line.
18
+ class ScriptStepsInner < ApiModelBase
19
+ attr_accessor :verb
20
+
21
+ attr_accessor :text
22
+
23
+ class EnumAttributeValidator
24
+ attr_reader :datatype
25
+ attr_reader :allowable_values
26
+
27
+ def initialize(datatype, allowable_values)
28
+ @allowable_values = allowable_values.map do |value|
29
+ case datatype.to_s
30
+ when /Integer/i
31
+ value.to_i
32
+ when /Float/i
33
+ value.to_f
34
+ else
35
+ value
36
+ end
37
+ end
38
+ end
39
+
40
+ def valid?(value)
41
+ !value || allowable_values.include?(value)
42
+ end
43
+ end
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'verb' => :'verb',
49
+ :'text' => :'text'
50
+ }
51
+ end
52
+
53
+ # Returns attribute mapping this model knows about
54
+ def self.acceptable_attribute_map
55
+ attribute_map
56
+ end
57
+
58
+ # Returns all the JSON keys this model knows about
59
+ def self.acceptable_attributes
60
+ acceptable_attribute_map.values
61
+ end
62
+
63
+ # Attribute type mapping.
64
+ def self.openapi_types
65
+ {
66
+ :'verb' => :'String',
67
+ :'text' => :'String'
68
+ }
69
+ end
70
+
71
+ # List of attributes with nullable: true
72
+ def self.openapi_nullable
73
+ Set.new([
74
+ ])
75
+ end
76
+
77
+ # Initializes the object
78
+ # @param [Hash] attributes Model attributes in the form of hash
79
+ def initialize(attributes = {})
80
+ if (!attributes.is_a?(Hash))
81
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::ScriptStepsInner` initialize method"
82
+ end
83
+
84
+ # check to see if the attribute exists and convert string to symbol for hash key
85
+ acceptable_attribute_map = self.class.acceptable_attribute_map
86
+ attributes = attributes.each_with_object({}) { |(k, v), h|
87
+ if (!acceptable_attribute_map.key?(k.to_sym))
88
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::ScriptStepsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
89
+ end
90
+ h[k.to_sym] = v
91
+ }
92
+
93
+ if attributes.key?(:'verb')
94
+ self.verb = attributes[:'verb']
95
+ else
96
+ self.verb = nil
97
+ end
98
+
99
+ if attributes.key?(:'text')
100
+ self.text = attributes[:'text']
101
+ else
102
+ self.text = nil
103
+ end
104
+ end
105
+
106
+ # Show invalid properties with the reasons. Usually used together with valid?
107
+ # @return Array for valid properties with the reasons
108
+ def list_invalid_properties
109
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
110
+ invalid_properties = Array.new
111
+ if @verb.nil?
112
+ invalid_properties.push('invalid value for "verb", verb cannot be nil.')
113
+ end
114
+
115
+ if @text.nil?
116
+ invalid_properties.push('invalid value for "text", text cannot be nil.')
117
+ end
118
+
119
+ invalid_properties
120
+ end
121
+
122
+ # Check to see if the all the properties in the model are valid
123
+ # @return true if the model is valid
124
+ def valid?
125
+ warn '[DEPRECATED] the `valid?` method is obsolete'
126
+ return false if @verb.nil?
127
+ verb_validator = EnumAttributeValidator.new('String', ["Say"])
128
+ return false unless verb_validator.valid?(@verb)
129
+ return false if @text.nil?
130
+ true
131
+ end
132
+
133
+ # Custom attribute writer method checking allowed values (enum).
134
+ # @param [Object] verb Object to be assigned
135
+ def verb=(verb)
136
+ validator = EnumAttributeValidator.new('String', ["Say"])
137
+ unless validator.valid?(verb)
138
+ fail ArgumentError, "invalid value for \"verb\", must be one of #{validator.allowable_values}."
139
+ end
140
+ @verb = verb
141
+ end
142
+
143
+ # Custom attribute writer method with validation
144
+ # @param [Object] text Value to be assigned
145
+ def text=(text)
146
+ if text.nil?
147
+ fail ArgumentError, 'text cannot be nil'
148
+ end
149
+
150
+ @text = text
151
+ end
152
+
153
+ # Checks equality by comparing each attribute.
154
+ # @param [Object] Object to be compared
155
+ def ==(o)
156
+ return true if self.equal?(o)
157
+ self.class == o.class &&
158
+ verb == o.verb &&
159
+ text == o.text
160
+ end
161
+
162
+ # @see the `==` method
163
+ # @param [Object] Object to be compared
164
+ def eql?(o)
165
+ self == o
166
+ end
167
+
168
+ # Calculates hash code according to all attributes.
169
+ # @return [Integer] Hash code
170
+ def hash
171
+ [verb, text].hash
172
+ end
173
+
174
+ # Builds the object from hash
175
+ # @param [Hash] attributes Model attributes in the form of hash
176
+ # @return [Object] Returns the model itself
177
+ def self.build_from_hash(attributes)
178
+ return nil unless attributes.is_a?(Hash)
179
+ attributes = attributes.transform_keys(&:to_sym)
180
+ transformed_hash = {}
181
+ openapi_types.each_pair do |key, type|
182
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
183
+ transformed_hash["#{key}"] = nil
184
+ elsif type =~ /\AArray<(.*)>/i
185
+ # check to ensure the input is an array given that the attribute
186
+ # is documented as an array but the input is not
187
+ if attributes[attribute_map[key]].is_a?(Array)
188
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
189
+ end
190
+ elsif !attributes[attribute_map[key]].nil?
191
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
192
+ end
193
+ end
194
+ new(transformed_hash)
195
+ end
196
+
197
+ # Returns the object in the form of hash
198
+ # @return [Hash] Returns the object in the form of hash
199
+ def to_hash
200
+ hash = {}
201
+ self.class.attribute_map.each_pair do |attr, param|
202
+ value = self.send(attr)
203
+ if value.nil?
204
+ is_nullable = self.class.openapi_nullable.include?(attr)
205
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
206
+ end
207
+
208
+ hash[param] = _to_hash(value)
209
+ end
210
+ hash
211
+ end
212
+
213
+ end
214
+
215
+ end
@@ -14,13 +14,14 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Pingram
17
- class CreateVoiceAgentRequest < ApiModelBase
18
- attr_accessor :spec
17
+ # This browser's Cognito refresh token, revoked on dashboard sign-out.
18
+ class SignOutRequest < ApiModelBase
19
+ attr_accessor :refresh_token
19
20
 
20
21
  # Attribute mapping from ruby-style variable name to JSON key.
21
22
  def self.attribute_map
22
23
  {
23
- :'spec' => :'spec'
24
+ :'refresh_token' => :'refreshToken'
24
25
  }
25
26
  end
26
27
 
@@ -37,7 +38,7 @@ module Pingram
37
38
  # Attribute type mapping.
38
39
  def self.openapi_types
39
40
  {
40
- :'spec' => :'BindNumberResponseAgentSpec'
41
+ :'refresh_token' => :'String'
41
42
  }
42
43
  end
43
44
 
@@ -51,22 +52,22 @@ module Pingram
51
52
  # @param [Hash] attributes Model attributes in the form of hash
52
53
  def initialize(attributes = {})
53
54
  if (!attributes.is_a?(Hash))
54
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::CreateVoiceAgentRequest` initialize method"
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::SignOutRequest` initialize method"
55
56
  end
56
57
 
57
58
  # check to see if the attribute exists and convert string to symbol for hash key
58
59
  acceptable_attribute_map = self.class.acceptable_attribute_map
59
60
  attributes = attributes.each_with_object({}) { |(k, v), h|
60
61
  if (!acceptable_attribute_map.key?(k.to_sym))
61
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::CreateVoiceAgentRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
62
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::SignOutRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
62
63
  end
63
64
  h[k.to_sym] = v
64
65
  }
65
66
 
66
- if attributes.key?(:'spec')
67
- self.spec = attributes[:'spec']
67
+ if attributes.key?(:'refresh_token')
68
+ self.refresh_token = attributes[:'refresh_token']
68
69
  else
69
- self.spec = nil
70
+ self.refresh_token = nil
70
71
  end
71
72
  end
72
73
 
@@ -75,8 +76,8 @@ module Pingram
75
76
  def list_invalid_properties
76
77
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
77
78
  invalid_properties = Array.new
78
- if @spec.nil?
79
- invalid_properties.push('invalid value for "spec", spec cannot be nil.')
79
+ if @refresh_token.nil?
80
+ invalid_properties.push('invalid value for "refresh_token", refresh_token cannot be nil.')
80
81
  end
81
82
 
82
83
  invalid_properties
@@ -86,18 +87,18 @@ module Pingram
86
87
  # @return true if the model is valid
87
88
  def valid?
88
89
  warn '[DEPRECATED] the `valid?` method is obsolete'
89
- return false if @spec.nil?
90
+ return false if @refresh_token.nil?
90
91
  true
91
92
  end
92
93
 
93
94
  # Custom attribute writer method with validation
94
- # @param [Object] spec Value to be assigned
95
- def spec=(spec)
96
- if spec.nil?
97
- fail ArgumentError, 'spec cannot be nil'
95
+ # @param [Object] refresh_token Value to be assigned
96
+ def refresh_token=(refresh_token)
97
+ if refresh_token.nil?
98
+ fail ArgumentError, 'refresh_token cannot be nil'
98
99
  end
99
100
 
100
- @spec = spec
101
+ @refresh_token = refresh_token
101
102
  end
102
103
 
103
104
  # Checks equality by comparing each attribute.
@@ -105,7 +106,7 @@ module Pingram
105
106
  def ==(o)
106
107
  return true if self.equal?(o)
107
108
  self.class == o.class &&
108
- spec == o.spec
109
+ refresh_token == o.refresh_token
109
110
  end
110
111
 
111
112
  # @see the `==` method
@@ -117,7 +118,7 @@ module Pingram
117
118
  # Calculates hash code according to all attributes.
118
119
  # @return [Integer] Hash code
119
120
  def hash
120
- [spec].hash
121
+ [refresh_token].hash
121
122
  end
122
123
 
123
124
  # Builds the object from hash