pingram 1.0.44 → 1.0.45

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 (150) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/lib/pingram/api/logs_api.rb +126 -0
  4. data/lib/pingram/api/sms_api.rb +68 -0
  5. data/lib/pingram/api_client.rb +1 -1
  6. data/lib/pingram/models/broadcast_response.rb +1 -1
  7. data/lib/pingram/models/create_broadcast_request.rb +1 -1
  8. data/lib/pingram/models/get_group_text_log_response.rb +168 -0
  9. data/lib/pingram/models/get_group_text_log_response_logs_inner.rb +431 -0
  10. data/lib/pingram/models/list_broadcasts_response_broadcasts_inner.rb +1 -1
  11. data/lib/pingram/models/list_group_texts_response.rb +178 -0
  12. data/lib/pingram/models/logs_get_response_logs_inner.rb +4 -4
  13. data/lib/pingram/models/send_group_text_request.rb +237 -0
  14. data/lib/pingram/models/send_sms_response_any_of.rb +1 -0
  15. data/lib/pingram/models/sms_registration_a2p10dlc.rb +2 -2
  16. data/lib/pingram/models/sms_registration_create_request_a2p10dlc.rb +2 -2
  17. data/lib/pingram/models/sms_registration_update_request_a2p10dlc.rb +2 -2
  18. data/lib/pingram/models/ten_dlc_campaign_admin_update_request.rb +2 -2
  19. data/lib/pingram/models/ten_dlc_campaign_registration.rb +2 -2
  20. data/lib/pingram/models/ten_dlc_campaign_registration_details.rb +16 -6
  21. data/lib/pingram/models/ten_dlc_campaign_update_request.rb +2 -2
  22. data/lib/pingram/models/update_broadcast_request.rb +1 -1
  23. data/lib/pingram/models/webhook_event.rb +2 -2
  24. data/lib/pingram/version.rb +1 -1
  25. data/lib/pingram.rb +4 -0
  26. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.14.0.gem +0 -0
  27. data/vendor/bundle/ruby/3.2.0/cache/typhoeus-1.8.0.gem +0 -0
  28. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/current.rb +1 -1
  29. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/version.rb +1 -1
  30. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/CHANGELOG.md +69 -2
  31. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/README.md +77 -18
  32. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/UPGRADE.md +17 -0
  33. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/adapters/faraday.rb +53 -2
  34. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/config.rb +19 -0
  35. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/hydra.rb +66 -4
  36. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.8.0/lib/typhoeus/multipart.rb +32 -0
  37. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/pool.rb +86 -1
  38. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/request.rb +9 -0
  39. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/response/informations.rb +15 -0
  40. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/version.rb +1 -1
  41. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus.rb +1 -0
  42. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/typhoeus.gemspec +1 -1
  43. data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.3.13.0.gemspec → parser-3.3.14.0.gemspec} +4 -4
  44. data/vendor/bundle/ruby/3.2.0/specifications/{typhoeus-1.7.1.gemspec → typhoeus-1.8.0.gemspec} +5 -5
  45. metadata +128 -123
  46. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.13.0.gem +0 -0
  47. data/vendor/bundle/ruby/3.2.0/cache/typhoeus-1.7.1.gem +0 -0
  48. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/LICENSE.txt +0 -0
  49. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/bin/ruby-parse +0 -0
  50. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/bin/ruby-rewrite +0 -0
  51. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/gauntlet_parser.rb +0 -0
  52. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/all.rb +0 -0
  53. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ast/node.rb +0 -0
  54. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ast/processor.rb +0 -0
  55. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/base.rb +0 -0
  56. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/builders/default.rb +0 -0
  57. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/clobbering_error.rb +0 -0
  58. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/color.rb +0 -0
  59. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/context.rb +0 -0
  60. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/current_arg_stack.rb +0 -0
  61. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/deprecation.rb +0 -0
  62. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/diagnostic/engine.rb +0 -0
  63. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/diagnostic.rb +0 -0
  64. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/lexer/dedenter.rb +0 -0
  65. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/lexer/explanation.rb +0 -0
  66. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/lexer/literal.rb +0 -0
  67. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/lexer/stack_state.rb +0 -0
  68. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/lexer-F0.rb +0 -0
  69. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/lexer-F1.rb +0 -0
  70. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/lexer-strings.rb +0 -0
  71. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/macruby.rb +0 -0
  72. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/max_numparam_stack.rb +0 -0
  73. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/messages.rb +0 -0
  74. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/meta.rb +0 -0
  75. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/rewriter.rb +0 -0
  76. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby18.rb +0 -0
  77. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby19.rb +0 -0
  78. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby20.rb +0 -0
  79. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby21.rb +0 -0
  80. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby22.rb +0 -0
  81. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby23.rb +0 -0
  82. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby24.rb +0 -0
  83. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby25.rb +0 -0
  84. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby26.rb +0 -0
  85. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby27.rb +0 -0
  86. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby30.rb +0 -0
  87. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby31.rb +0 -0
  88. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby32.rb +0 -0
  89. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby33.rb +0 -0
  90. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/ruby34.rb +0 -0
  91. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/rubymotion.rb +0 -0
  92. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/runner/ruby_parse.rb +0 -0
  93. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
  94. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/runner.rb +0 -0
  95. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/buffer.rb +0 -0
  96. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/comment/associator.rb +0 -0
  97. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/comment.rb +0 -0
  98. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/collection.rb +0 -0
  99. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/condition.rb +0 -0
  100. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/constant.rb +0 -0
  101. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/definition.rb +0 -0
  102. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/for.rb +0 -0
  103. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/heredoc.rb +0 -0
  104. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/index.rb +0 -0
  105. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/keyword.rb +0 -0
  106. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/method_definition.rb +0 -0
  107. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
  108. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/operator.rb +0 -0
  109. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/rescue_body.rb +0 -0
  110. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/send.rb +0 -0
  111. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/ternary.rb +0 -0
  112. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map/variable.rb +0 -0
  113. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/map.rb +0 -0
  114. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/range.rb +0 -0
  115. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/rewriter/action.rb +0 -0
  116. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/rewriter.rb +0 -0
  117. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
  118. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/source/tree_rewriter.rb +0 -0
  119. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/static_environment.rb +0 -0
  120. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/syntax_error.rb +0 -0
  121. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/tree_rewriter.rb +0 -0
  122. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
  123. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser/variables_stack.rb +0 -0
  124. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/lib/parser.rb +0 -0
  125. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.13.0 → parser-3.3.14.0}/parser.gemspec +0 -0
  126. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/CONTRIBUTING.md +0 -0
  127. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/LICENSE +0 -0
  128. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -0
  129. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/rack/typhoeus/middleware/params_decoder.rb +0 -0
  130. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/rack/typhoeus.rb +0 -0
  131. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/cache/dalli.rb +0 -0
  132. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/cache/rails.rb +0 -0
  133. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/cache/redis.rb +0 -0
  134. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/easy_factory.rb +0 -0
  135. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/errors/invalid_option.rb +0 -0
  136. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/errors/no_response.rb +0 -0
  137. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/errors/no_stub.rb +0 -0
  138. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/errors/typhoeus_error.rb +0 -0
  139. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/errors.rb +0 -0
  140. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/expectation.rb +0 -0
  141. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/hydra/queueable.rb +0 -0
  142. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/railtie.rb +0 -0
  143. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/request/actions.rb +0 -0
  144. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/request/callbacks.rb +0 -0
  145. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/request/marshal.rb +0 -0
  146. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/request/streamable.rb +0 -0
  147. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/response/cacheable.rb +0 -0
  148. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/response/header.rb +0 -0
  149. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/response/status.rb +0 -0
  150. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.7.1 → typhoeus-1.8.0}/lib/typhoeus/response.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7c9c42c7f9f5d532b51ff8f9cf67f38913402f31160c78c88122702e450d582
4
- data.tar.gz: 8a181e54e96f0ce6c3c1080fcd9f0b66be4e1e9d0bf04f8acc8482a85e7f76e4
3
+ metadata.gz: 74d6cbff19870d46962475421c1b115c79474258df4f9005defdc0ce71b22a9f
4
+ data.tar.gz: bfeb175bea2c9b5cd36b977a6a593cec592322abf609308c8e4f555b0bcb118e
5
5
  SHA512:
6
- metadata.gz: 3c19fb5150fb5b4814e076357bf1fe1235c506360f1de1f450ebf18c9fb3d8fd1d02ac9dcaae97bf94de2ae256df24771a53b3640efd7013fc0c0cc5a1959f92
7
- data.tar.gz: 316000787531b11f642e9b98e1dc6d2460a0cb9a0e613eb554bd9f7b873d14507397b390b0437c4f1c3f4d3035a1b62c18f7a83212a1c6af5b37ca2a51c9bccb
6
+ metadata.gz: a5bd895173bf755541bb09746bf02691c70f27979162f2c46cd5de907e7db99c04b0e5cf9f52ce09cf6700e14908a6f8351c4fe88c2c6e9f6001bc94f96b131a
7
+ data.tar.gz: c94858b049d5bded50679905bc640b9483d82bdc55ab7294433a7e3d55d6210e0c4ec74a7052c5a423c7b9050e626444b73a8ff596c8fb8c953857d6a4255bf1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pingram (1.0.44)
4
+ pingram (1.0.45)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -22,7 +22,7 @@ GEM
22
22
  logger (1.7.0)
23
23
  method_source (1.1.0)
24
24
  parallel (1.28.0)
25
- parser (3.3.13.0)
25
+ parser (3.3.14.0)
26
26
  ast (~> 2.4.1)
27
27
  racc
28
28
  pry (0.16.1)
@@ -63,8 +63,8 @@ GEM
63
63
  unicode-display_width (>= 1.4.0, < 1.6)
64
64
  ruby-progressbar (1.13.0)
65
65
  stringio (3.2.0)
66
- typhoeus (1.7.1)
67
- ethon (>= 0.19.1, < 0.20.0)
66
+ typhoeus (1.8.0)
67
+ ethon (>= 0.19.2, < 0.20.0)
68
68
  unicode-display_width (1.5.0)
69
69
 
70
70
  PLATFORMS
@@ -82,6 +82,69 @@ module Pingram
82
82
  return data, status_code, headers
83
83
  end
84
84
 
85
+ # Get group texts by tracking id
86
+ # Load group texts by tracking id, up to 25 ids. Each row includes the numbers, the text, and when each number was delivered or failed. Unknown tracking ids are omitted.
87
+ # @param tracking_ids [String] Comma-separated tracking IDs (URL encoded, max 25)
88
+ # @param [Hash] opts the optional parameters
89
+ # @return [GetGroupTextLogResponse]
90
+ def logs_get_group_text_log(tracking_ids, opts = {})
91
+ data, _status_code, _headers = logs_get_group_text_log_with_http_info(tracking_ids, opts)
92
+ data
93
+ end
94
+
95
+ # Get group texts by tracking id
96
+ # Load group texts by tracking id, up to 25 ids. Each row includes the numbers, the text, and when each number was delivered or failed. Unknown tracking ids are omitted.
97
+ # @param tracking_ids [String] Comma-separated tracking IDs (URL encoded, max 25)
98
+ # @param [Hash] opts the optional parameters
99
+ # @return [Array<(GetGroupTextLogResponse, Integer, Hash)>] GetGroupTextLogResponse data, response status code and response headers
100
+ def logs_get_group_text_log_with_http_info(tracking_ids, opts = {})
101
+ if @api_client.config.debugging
102
+ @api_client.config.logger.debug 'Calling API: LogsApi.logs_get_group_text_log ...'
103
+ end
104
+ # verify the required parameter 'tracking_ids' is set
105
+ if @api_client.config.client_side_validation && tracking_ids.nil?
106
+ fail ArgumentError, "Missing the required parameter 'tracking_ids' when calling LogsApi.logs_get_group_text_log"
107
+ end
108
+ # resource path
109
+ local_var_path = '/logs/group-texts/{trackingIds}'.sub('{' + 'trackingIds' + '}', CGI.escape(tracking_ids.to_s))
110
+
111
+ # query parameters
112
+ query_params = opts[:query_params] || {}
113
+
114
+ # header parameters
115
+ header_params = opts[:header_params] || {}
116
+ # HTTP header 'Accept' (if needed)
117
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
118
+
119
+ # form parameters
120
+ form_params = opts[:form_params] || {}
121
+
122
+ # http body (model)
123
+ post_body = opts[:debug_body]
124
+
125
+ # return_type
126
+ return_type = opts[:debug_return_type] || 'GetGroupTextLogResponse'
127
+
128
+ # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
129
+ auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
130
+
131
+ new_options = opts.merge(
132
+ :operation => :"LogsApi.logs_get_group_text_log",
133
+ :header_params => header_params,
134
+ :query_params => query_params,
135
+ :form_params => form_params,
136
+ :body => post_body,
137
+ :auth_names => auth_names,
138
+ :return_type => return_type
139
+ )
140
+
141
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
142
+ if @api_client.config.debugging
143
+ @api_client.config.logger.debug "API called: LogsApi#logs_get_group_text_log\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
+ end
145
+ return data, status_code, headers
146
+ end
147
+
85
148
  # Get log retention period in days for the account
86
149
  # @param [Hash] opts the optional parameters
87
150
  # @return [LogsRetentionResponse]
@@ -326,6 +389,69 @@ module Pingram
326
389
  return data, status_code, headers
327
390
  end
328
391
 
392
+ # List group texts
393
+ # List group texts for this account, newest first. Each row includes the numbers, the text, and when each number was delivered or failed.
394
+ # @param [Hash] opts the optional parameters
395
+ # @option opts [Float] :limit Maximum number of group texts to return (default 25, max 50)
396
+ # @option opts [String] :cursor Pagination cursor from a previous response
397
+ # @return [ListGroupTextsResponse]
398
+ def logs_list_group_texts(opts = {})
399
+ data, _status_code, _headers = logs_list_group_texts_with_http_info(opts)
400
+ data
401
+ end
402
+
403
+ # List group texts
404
+ # List group texts for this account, newest first. Each row includes the numbers, the text, and when each number was delivered or failed.
405
+ # @param [Hash] opts the optional parameters
406
+ # @option opts [Float] :limit Maximum number of group texts to return (default 25, max 50)
407
+ # @option opts [String] :cursor Pagination cursor from a previous response
408
+ # @return [Array<(ListGroupTextsResponse, Integer, Hash)>] ListGroupTextsResponse data, response status code and response headers
409
+ def logs_list_group_texts_with_http_info(opts = {})
410
+ if @api_client.config.debugging
411
+ @api_client.config.logger.debug 'Calling API: LogsApi.logs_list_group_texts ...'
412
+ end
413
+ # resource path
414
+ local_var_path = '/logs/group-texts'
415
+
416
+ # query parameters
417
+ query_params = opts[:query_params] || {}
418
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
419
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
420
+
421
+ # header parameters
422
+ header_params = opts[:header_params] || {}
423
+ # HTTP header 'Accept' (if needed)
424
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
425
+
426
+ # form parameters
427
+ form_params = opts[:form_params] || {}
428
+
429
+ # http body (model)
430
+ post_body = opts[:debug_body]
431
+
432
+ # return_type
433
+ return_type = opts[:debug_return_type] || 'ListGroupTextsResponse'
434
+
435
+ # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
436
+ auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
437
+
438
+ new_options = opts.merge(
439
+ :operation => :"LogsApi.logs_list_group_texts",
440
+ :header_params => header_params,
441
+ :query_params => query_params,
442
+ :form_params => form_params,
443
+ :body => post_body,
444
+ :auth_names => auth_names,
445
+ :return_type => return_type
446
+ )
447
+
448
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
449
+ if @api_client.config.debugging
450
+ @api_client.config.logger.debug "API called: LogsApi#logs_list_group_texts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
451
+ end
452
+ return data, status_code, headers
453
+ end
454
+
329
455
  # Resend the EMAIL_INBOUND webhook for one inbound email
330
456
  # Resend the EMAIL_INBOUND webhook for one inbound email. Uses the original tracking ID and does not count another email. Refused when the message is older than 30 days.
331
457
  # @param tracking_id [String] Tracking ID of the inbound email
@@ -86,5 +86,73 @@ module Pingram
86
86
  end
87
87
  return data, status_code, headers
88
88
  end
89
+
90
+ # Send a group text
91
+ # Send one text to 2–8 numbers in the US or Canada. Each recipient is billed at the multimedia message rate. An optional subject is shown with the text. A follow-up is another send to the same numbers.
92
+ # @param send_group_text_request [SendGroupTextRequest]
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [SendSmsResponse]
95
+ def sms_send_group(send_group_text_request, opts = {})
96
+ data, _status_code, _headers = sms_send_group_with_http_info(send_group_text_request, opts)
97
+ data
98
+ end
99
+
100
+ # Send a group text
101
+ # Send one text to 2–8 numbers in the US or Canada. Each recipient is billed at the multimedia message rate. An optional subject is shown with the text. A follow-up is another send to the same numbers.
102
+ # @param send_group_text_request [SendGroupTextRequest]
103
+ # @param [Hash] opts the optional parameters
104
+ # @return [Array<(SendSmsResponse, Integer, Hash)>] SendSmsResponse data, response status code and response headers
105
+ def sms_send_group_with_http_info(send_group_text_request, opts = {})
106
+ if @api_client.config.debugging
107
+ @api_client.config.logger.debug 'Calling API: SmsApi.sms_send_group ...'
108
+ end
109
+ # verify the required parameter 'send_group_text_request' is set
110
+ if @api_client.config.client_side_validation && send_group_text_request.nil?
111
+ fail ArgumentError, "Missing the required parameter 'send_group_text_request' when calling SmsApi.sms_send_group"
112
+ end
113
+ # resource path
114
+ local_var_path = '/sms/group'
115
+
116
+ # query parameters
117
+ query_params = opts[:query_params] || {}
118
+
119
+ # header parameters
120
+ header_params = opts[:header_params] || {}
121
+ # HTTP header 'Accept' (if needed)
122
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
123
+ # HTTP header 'Content-Type'
124
+ content_type = @api_client.select_header_content_type(['application/json'])
125
+ if !content_type.nil?
126
+ header_params['Content-Type'] = content_type
127
+ end
128
+
129
+ # form parameters
130
+ form_params = opts[:form_params] || {}
131
+
132
+ # http body (model)
133
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(send_group_text_request)
134
+
135
+ # return_type
136
+ return_type = opts[:debug_return_type] || 'SendSmsResponse'
137
+
138
+ # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
139
+ auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
140
+
141
+ new_options = opts.merge(
142
+ :operation => :"SmsApi.sms_send_group",
143
+ :header_params => header_params,
144
+ :query_params => query_params,
145
+ :form_params => form_params,
146
+ :body => post_body,
147
+ :auth_names => auth_names,
148
+ :return_type => return_type
149
+ )
150
+
151
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
152
+ if @api_client.config.debugging
153
+ @api_client.config.logger.debug "API called: SmsApi#sms_send_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
154
+ end
155
+ return data, status_code, headers
156
+ end
89
157
  end
90
158
  end
@@ -32,7 +32,7 @@ module Pingram
32
32
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
33
33
  def initialize(config = Configuration.default)
34
34
  @config = config
35
- @user_agent = "pingram-ruby/1.0.44"
35
+ @user_agent = "pingram-ruby/1.0.45"
36
36
  @default_headers = {
37
37
  'Content-Type' => 'application/json',
38
38
  'User-Agent' => @user_agent
@@ -36,7 +36,7 @@ module Pingram
36
36
 
37
37
  attr_accessor :from_name
38
38
 
39
- # From address. Use an address on a domain verified for this account to email other people. The shared address `noreply@pingram.io` can send a test broadcast only to your own account email as the sole recipient. Verify a domain to send to a wider audience.
39
+ # From address. Use an address on a domain verified for this account to email other people. The shared address `noreply@pingram.email` can send a test broadcast only to your own account email as the sole recipient. Verify a domain to send to a wider audience.
40
40
  attr_accessor :from_address
41
41
 
42
42
  attr_accessor :reply_to_address
@@ -26,7 +26,7 @@ module Pingram
26
26
 
27
27
  attr_accessor :from_name
28
28
 
29
- # From address. Use an address on a domain verified for this account to email other people. The shared address `noreply@pingram.io` can send a test broadcast only to your own account email as the sole recipient. Verify a domain to send to a wider audience.
29
+ # From address. Use an address on a domain verified for this account to email other people. The shared address `noreply@pingram.email` can send a test broadcast only to your own account email as the sole recipient. Verify a domain to send to a wider audience.
30
30
  attr_accessor :from_address
31
31
 
32
32
  attr_accessor :reply_to_address
@@ -0,0 +1,168 @@
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
+ # Response for GET /logs/group-texts/{trackingIds}.
18
+ class GetGroupTextLogResponse < ApiModelBase
19
+ # Group texts for the requested tracking ids. Unknown ids are omitted.
20
+ attr_accessor :logs
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'logs' => :'logs'
26
+ }
27
+ end
28
+
29
+ # Returns attribute mapping this model knows about
30
+ def self.acceptable_attribute_map
31
+ attribute_map
32
+ end
33
+
34
+ # Returns all the JSON keys this model knows about
35
+ def self.acceptable_attributes
36
+ acceptable_attribute_map.values
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ def self.openapi_types
41
+ {
42
+ :'logs' => :'Array<GetGroupTextLogResponseLogsInner>'
43
+ }
44
+ end
45
+
46
+ # List of attributes with nullable: true
47
+ def self.openapi_nullable
48
+ Set.new([
49
+ ])
50
+ end
51
+
52
+ # Initializes the object
53
+ # @param [Hash] attributes Model attributes in the form of hash
54
+ def initialize(attributes = {})
55
+ if (!attributes.is_a?(Hash))
56
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::GetGroupTextLogResponse` initialize method"
57
+ end
58
+
59
+ # check to see if the attribute exists and convert string to symbol for hash key
60
+ acceptable_attribute_map = self.class.acceptable_attribute_map
61
+ attributes = attributes.each_with_object({}) { |(k, v), h|
62
+ if (!acceptable_attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::GetGroupTextLogResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
64
+ end
65
+ h[k.to_sym] = v
66
+ }
67
+
68
+ if attributes.key?(:'logs')
69
+ if (value = attributes[:'logs']).is_a?(Array)
70
+ self.logs = value
71
+ end
72
+ else
73
+ self.logs = nil
74
+ end
75
+ end
76
+
77
+ # Show invalid properties with the reasons. Usually used together with valid?
78
+ # @return Array for valid properties with the reasons
79
+ def list_invalid_properties
80
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
81
+ invalid_properties = Array.new
82
+ if @logs.nil?
83
+ invalid_properties.push('invalid value for "logs", logs cannot be nil.')
84
+ end
85
+
86
+ invalid_properties
87
+ end
88
+
89
+ # Check to see if the all the properties in the model are valid
90
+ # @return true if the model is valid
91
+ def valid?
92
+ warn '[DEPRECATED] the `valid?` method is obsolete'
93
+ return false if @logs.nil?
94
+ true
95
+ end
96
+
97
+ # Custom attribute writer method with validation
98
+ # @param [Object] logs Value to be assigned
99
+ def logs=(logs)
100
+ if logs.nil?
101
+ fail ArgumentError, 'logs cannot be nil'
102
+ end
103
+
104
+ @logs = logs
105
+ end
106
+
107
+ # Checks equality by comparing each attribute.
108
+ # @param [Object] Object to be compared
109
+ def ==(o)
110
+ return true if self.equal?(o)
111
+ self.class == o.class &&
112
+ logs == o.logs
113
+ end
114
+
115
+ # @see the `==` method
116
+ # @param [Object] Object to be compared
117
+ def eql?(o)
118
+ self == o
119
+ end
120
+
121
+ # Calculates hash code according to all attributes.
122
+ # @return [Integer] Hash code
123
+ def hash
124
+ [logs].hash
125
+ end
126
+
127
+ # Builds the object from hash
128
+ # @param [Hash] attributes Model attributes in the form of hash
129
+ # @return [Object] Returns the model itself
130
+ def self.build_from_hash(attributes)
131
+ return nil unless attributes.is_a?(Hash)
132
+ attributes = attributes.transform_keys(&:to_sym)
133
+ transformed_hash = {}
134
+ openapi_types.each_pair do |key, type|
135
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
136
+ transformed_hash["#{key}"] = nil
137
+ elsif type =~ /\AArray<(.*)>/i
138
+ # check to ensure the input is an array given that the attribute
139
+ # is documented as an array but the input is not
140
+ if attributes[attribute_map[key]].is_a?(Array)
141
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
142
+ end
143
+ elsif !attributes[attribute_map[key]].nil?
144
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
145
+ end
146
+ end
147
+ new(transformed_hash)
148
+ end
149
+
150
+ # Returns the object in the form of hash
151
+ # @return [Hash] Returns the object in the form of hash
152
+ def to_hash
153
+ hash = {}
154
+ self.class.attribute_map.each_pair do |attr, param|
155
+ value = self.send(attr)
156
+ if value.nil?
157
+ is_nullable = self.class.openapi_nullable.include?(attr)
158
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
159
+ end
160
+
161
+ hash[param] = _to_hash(value)
162
+ end
163
+ hash
164
+ end
165
+
166
+ end
167
+
168
+ end