pingram 1.0.42 → 1.0.43

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 (163) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/lib/pingram/api/account_api.rb +26 -0
  4. data/lib/pingram/api/accounts_api.rb +76 -0
  5. data/lib/pingram/api/broadcasts_api.rb +28 -0
  6. data/lib/pingram/api/default_api.rb +2 -0
  7. data/lib/pingram/api/domains_api.rb +12 -4
  8. data/lib/pingram/api/editor_api.rb +2 -0
  9. data/lib/pingram/api/email_api.rb +4 -0
  10. data/lib/pingram/api/environments_api.rb +2 -0
  11. data/lib/pingram/api/health_api.rb +2 -0
  12. data/lib/pingram/api/library_api.rb +4 -0
  13. data/lib/pingram/api/logs_api.rb +12 -0
  14. data/lib/pingram/api/members_api.rb +2 -0
  15. data/lib/pingram/api/numbers_api.rb +10 -0
  16. data/lib/pingram/api/registrations_api.rb +10 -0
  17. data/lib/pingram/api/sender_api.rb +2 -0
  18. data/lib/pingram/api/sms_api.rb +2 -0
  19. data/lib/pingram/api/sub_notifications_api.rb +4 -0
  20. data/lib/pingram/api/user_api.rb +6 -0
  21. data/lib/pingram/api/users_api.rb +2 -0
  22. data/lib/pingram/api/voice_api.rb +80 -0
  23. data/lib/pingram/api/webhooks_api.rb +8 -0
  24. data/lib/pingram/api_client.rb +1 -1
  25. data/lib/pingram/models/account_summary.rb +304 -0
  26. data/lib/pingram/models/agent.rb +10 -1
  27. data/lib/pingram/models/agent1.rb +10 -1
  28. data/lib/pingram/models/agent_agent_model.rb +2 -0
  29. data/lib/pingram/models/arm_voice_inbound_claim_request_inbound.rb +2 -0
  30. data/lib/pingram/models/brand_webhook_response.rb +1 -1
  31. data/lib/pingram/models/campaign_webhook_response.rb +1 -1
  32. data/lib/pingram/models/check_domain_dns_request.rb +148 -0
  33. data/lib/pingram/models/domain_dns_check_records_inner.rb +2 -2
  34. data/lib/pingram/models/elevenlabs.rb +207 -0
  35. data/lib/pingram/models/elevenlabs1.rb +207 -0
  36. data/lib/pingram/models/elevenlabs_eleven_realtime_v1_max.rb +251 -0
  37. data/lib/pingram/models/elevenlabs_eleven_realtime_v1_mini.rb +251 -0
  38. data/lib/pingram/models/get_senders_response_inner.rb +68 -4
  39. data/lib/pingram/models/get_senders_response_inner_verification_records.rb +13 -4
  40. data/lib/pingram/models/get_senders_response_inner_verification_records_dkim.rb +2 -2
  41. data/lib/pingram/models/get_voice_call_response_call.rb +30 -1
  42. data/lib/pingram/models/get_voice_call_response_call_setup.rb +272 -0
  43. data/lib/pingram/models/get_voice_call_response_call_setup_stream.rb +190 -0
  44. data/lib/pingram/models/get_voice_call_response_call_setup_transcript.rb +41 -0
  45. data/lib/pingram/models/google_gemini31_flash_live_preview.rb +22 -1
  46. data/lib/pingram/models/inbound_config.rb +2 -0
  47. data/lib/pingram/models/intercom_webhook.rb +1 -1
  48. data/lib/pingram/models/internal_transfer_body.rb +254 -0
  49. data/lib/pingram/models/internal_transfer_body_agent_meters_inner.rb +328 -0
  50. data/lib/pingram/models/list_voice_calls_response_calls_inner.rb +24 -4
  51. data/lib/pingram/models/member_update_request.rb +1 -1
  52. data/lib/pingram/models/openai_gpt_live1.rb +22 -1
  53. data/lib/pingram/models/openai_gpt_realtime21.rb +22 -1
  54. data/lib/pingram/models/openai_gpt_realtime21_mini.rb +22 -1
  55. data/lib/pingram/models/script.rb +10 -1
  56. data/lib/pingram/models/script1.rb +10 -1
  57. data/lib/pingram/models/script_privacy.rb +43 -8
  58. data/lib/pingram/models/script_stream.rb +193 -0
  59. data/lib/pingram/models/sign_in_username_response.rb +1 -1
  60. data/lib/pingram/models/sign_out_request.rb +1 -1
  61. data/lib/pingram/models/sms_compliance_countries_response_countries_inner.rb +1 -1
  62. data/lib/pingram/models/sms_compliance_country.rb +1 -1
  63. data/lib/pingram/models/stream.rb +207 -0
  64. data/lib/pingram/models/ten_dlc_brand_admin_update_request.rb +1 -1
  65. data/lib/pingram/models/transfer1.rb +40 -1
  66. data/lib/pingram/models/transfer_call_request.rb +196 -0
  67. data/lib/pingram/models/transfer_destinations_inner.rb +25 -56
  68. data/lib/pingram/models/update_account_request.rb +184 -0
  69. data/lib/pingram/models/voice_browser_call_request_config_any_of.rb +3 -1
  70. data/lib/pingram/models/voice_call_response.rb +32 -5
  71. data/lib/pingram/version.rb +1 -1
  72. data/lib/pingram.rb +15 -0
  73. data/vendor/bundle/ruby/3.2.0/cache/ethon-0.19.2.gem +0 -0
  74. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/CHANGELOG.md +45 -1
  75. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/README.md +55 -8
  76. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curl.rb +44 -0
  77. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.2/lib/ethon/easy/form.rb +261 -0
  78. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/informations.rb +30 -0
  79. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/mirror.rb +7 -1
  80. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/options.rb +11 -7
  81. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/queryable.rb +5 -0
  82. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.2/lib/ethon/errors/fork_safety.rb +10 -0
  83. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/libc.rb +5 -0
  84. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.2/lib/ethon/multipart.rb +115 -0
  85. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/version.rb +1 -1
  86. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon.rb +1 -0
  87. data/vendor/bundle/ruby/3.2.0/specifications/{ethon-0.19.1.gemspec → ethon-0.19.2.gemspec} +4 -4
  88. metadata +104 -88
  89. data/vendor/bundle/ruby/3.2.0/cache/ethon-0.19.1.gem +0 -0
  90. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/form.rb +0 -166
  91. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/fork_safety.rb +0 -10
  92. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/LICENSE +0 -0
  93. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/ethon.gemspec +0 -0
  94. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/classes.rb +0 -0
  95. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/codes.rb +0 -0
  96. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/constants.rb +0 -0
  97. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/form_options.rb +0 -0
  98. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/functions.rb +0 -0
  99. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/infos.rb +0 -0
  100. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/introspection.rb +0 -0
  101. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/introspection_constants.rb +0 -0
  102. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/messages.rb +0 -0
  103. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/mime.rb +0 -0
  104. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/optional.rb +0 -0
  105. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/options.rb +0 -0
  106. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/settings.rb +0 -0
  107. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/share.rb +0 -0
  108. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/share_constants.rb +0 -0
  109. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/url.rb +0 -0
  110. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/curls/url_constants.rb +0 -0
  111. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/callbacks.rb +0 -0
  112. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/debug_info.rb +0 -0
  113. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/features.rb +0 -0
  114. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/files.rb +0 -0
  115. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/header.rb +0 -0
  116. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/headers_api.rb +0 -0
  117. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/actionable.rb +0 -0
  118. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/custom.rb +0 -0
  119. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/delete.rb +0 -0
  120. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/get.rb +0 -0
  121. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/head.rb +0 -0
  122. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/options.rb +0 -0
  123. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/patch.rb +0 -0
  124. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/post.rb +0 -0
  125. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/postable.rb +0 -0
  126. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/put.rb +0 -0
  127. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http/putable.rb +0 -0
  128. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/http.rb +0 -0
  129. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/mime.rb +0 -0
  130. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/operations.rb +0 -0
  131. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/params.rb +0 -0
  132. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/response_callbacks.rb +0 -0
  133. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/share.rb +0 -0
  134. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/url.rb +0 -0
  135. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy/util.rb +0 -0
  136. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/easy.rb +0 -0
  137. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/ethon_error.rb +0 -0
  138. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/form_add.rb +0 -0
  139. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/global_init.rb +0 -0
  140. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/header.rb +0 -0
  141. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/invalid_option.rb +0 -0
  142. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/invalid_value.rb +0 -0
  143. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/mime.rb +0 -0
  144. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/multi_add.rb +0 -0
  145. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/multi_assign.rb +0 -0
  146. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/multi_fdset.rb +0 -0
  147. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/multi_perform.rb +0 -0
  148. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/multi_poll.rb +0 -0
  149. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/multi_remove.rb +0 -0
  150. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/multi_timeout.rb +0 -0
  151. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/multi_wait.rb +0 -0
  152. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/multi_wakeup.rb +0 -0
  153. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/select.rb +0 -0
  154. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/set_option.rb +0 -0
  155. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/share.rb +0 -0
  156. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/unsupported_option.rb +0 -0
  157. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors/url.rb +0 -0
  158. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/errors.rb +0 -0
  159. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/loggable.rb +0 -0
  160. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/multi/operations.rb +0 -0
  161. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/multi/options.rb +0 -0
  162. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/multi/stack.rb +0 -0
  163. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.19.1 → ethon-0.19.2}/lib/ethon/multi.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e63236783d6e2952a9f085a113d2a5fa0c3fad1d9daca2f6a69e890c5f4a4bf5
4
- data.tar.gz: 03a9002c68bc85466b5ca96373bf64d48380423c6c414dded315a0448121f6f8
3
+ metadata.gz: c8e58b07482fe3025d759c72d953b8914306f380f5b8f4e5df5fba2e8e28af98
4
+ data.tar.gz: ed27f26a1941704d090a582cb2f9c672299b8b70ebf41d7643ac47fe44d9c78f
5
5
  SHA512:
6
- metadata.gz: 20b41394218884e2a15975626b46d6e3225c50a6bcb02242d7c28e42c13fc9d8de2e51c897b9a674ee93e9850282178630bef79939bcae71e98d041b989f16b1
7
- data.tar.gz: 47ea2a6855888460a90151ba256dec3f14005e0fe41cf7ae4c99a50bd8ce551799eda05dca09c17475ac27fd431f1876bd486ac8f4e95c83f8f5d3bd1eaca6ee
6
+ metadata.gz: 9cee1994340d7c877b6a0023b1a3fca79a712b504941791998317b2402b0e4499546f03fbc1f3208fa4261873abe8638ba3b0e4a2c2939757784fdcdebb2242d
7
+ data.tar.gz: 508b52479dff8be20722c02ee657767732ac29b1f5fb19d04f71ffac63ce0973e5b2bb36af55f86945315e2be0aa7a57f4df23e5d55ea7edd475639abdc31869
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pingram (1.0.42)
4
+ pingram (1.0.43)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -13,7 +13,7 @@ GEM
13
13
  coderay (1.1.3)
14
14
  date (3.6.0)
15
15
  diff-lcs (1.6.2)
16
- ethon (0.19.1)
16
+ ethon (0.19.2)
17
17
  ffi (>= 1.15.0)
18
18
  logger
19
19
  ffi (1.17.4-x86_64-linux-gnu)
@@ -19,6 +19,7 @@ module Pingram
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Assign a saved card
22
23
  # Use a saved card for this account, as the default for new accounts, or for every account that shares these cards. Only the account owner can call this.
23
24
  # @param assign_payment_method_request [AssignPaymentMethodRequest]
24
25
  # @param [Hash] opts the optional parameters
@@ -28,6 +29,7 @@ module Pingram
28
29
  data
29
30
  end
30
31
 
32
+ # Assign a saved card
31
33
  # Use a saved card for this account, as the default for new accounts, or for every account that shares these cards. Only the account owner can call this.
32
34
  # @param assign_payment_method_request [AssignPaymentMethodRequest]
33
35
  # @param [Hash] opts the optional parameters
@@ -85,6 +87,7 @@ module Pingram
85
87
  return data, status_code, headers
86
88
  end
87
89
 
90
+ # Cancel the paid plan at the end of the current billing cycle
88
91
  # Cancel the paid plan at the end of the current billing cycle. Access continues until then.
89
92
  # @param cancel_subscription_request [CancelSubscriptionRequest]
90
93
  # @param [Hash] opts the optional parameters
@@ -94,6 +97,7 @@ module Pingram
94
97
  data
95
98
  end
96
99
 
100
+ # Cancel the paid plan at the end of the current billing cycle
97
101
  # Cancel the paid plan at the end of the current billing cycle. Access continues until then.
98
102
  # @param cancel_subscription_request [CancelSubscriptionRequest]
99
103
  # @param [Hash] opts the optional parameters
@@ -217,6 +221,7 @@ module Pingram
217
221
  return data, status_code, headers
218
222
  end
219
223
 
224
+ # Return a URL to add a card
220
225
  # Return a URL to add a card. Only the account owner can call this. The card is not assigned until you call assign.
221
226
  # @param create_payment_method_setup_request [CreatePaymentMethodSetupRequest]
222
227
  # @param [Hash] opts the optional parameters
@@ -226,6 +231,7 @@ module Pingram
226
231
  data
227
232
  end
228
233
 
234
+ # Return a URL to add a card
229
235
  # Return a URL to add a card. Only the account owner can call this. The card is not assigned until you call assign.
230
236
  # @param create_payment_method_setup_request [CreatePaymentMethodSetupRequest]
231
237
  # @param [Hash] opts the optional parameters
@@ -338,6 +344,7 @@ module Pingram
338
344
  return data, status_code, headers
339
345
  end
340
346
 
347
+ # Get the invoice email address
341
348
  # Get the email address that receives invoices for this account.
342
349
  # @param [Hash] opts the optional parameters
343
350
  # @return [BillingEmail]
@@ -346,6 +353,7 @@ module Pingram
346
353
  data
347
354
  end
348
355
 
356
+ # Get the invoice email address
349
357
  # Get the email address that receives invoices for this account.
350
358
  # @param [Hash] opts the optional parameters
351
359
  # @return [Array<(BillingEmail, Integer, Hash)>] BillingEmail data, response status code and response headers
@@ -448,6 +456,7 @@ module Pingram
448
456
  return data, status_code, headers
449
457
  end
450
458
 
459
+ # Get usage for the authenticated account
451
460
  # Get usage for the authenticated account.
452
461
  # @param [Hash] opts the optional parameters
453
462
  # @return [GetUsageResponse]
@@ -456,6 +465,7 @@ module Pingram
456
465
  data
457
466
  end
458
467
 
468
+ # Get usage for the authenticated account
459
469
  # Get usage for the authenticated account.
460
470
  # @param [Hash] opts the optional parameters
461
471
  # @return [Array<(GetUsageResponse, Integer, Hash)>] GetUsageResponse data, response status code and response headers
@@ -503,6 +513,7 @@ module Pingram
503
513
  return data, status_code, headers
504
514
  end
505
515
 
516
+ # Get usage history
506
517
  # Get historical usage for the authenticated account over a date range, summed by UTC calendar month or billing cycle from daily counts.
507
518
  # @param start_date [String] Start date (YYYY-MM-DD) for the range
508
519
  # @param end_date [String] End date (YYYY-MM-DD) for the range
@@ -514,6 +525,7 @@ module Pingram
514
525
  data
515
526
  end
516
527
 
528
+ # Get usage history
517
529
  # Get historical usage for the authenticated account over a date range, summed by UTC calendar month or billing cycle from daily counts.
518
530
  # @param start_date [String] Start date (YYYY-MM-DD) for the range
519
531
  # @param end_date [String] End date (YYYY-MM-DD) for the range
@@ -575,6 +587,7 @@ module Pingram
575
587
  return data, status_code, headers
576
588
  end
577
589
 
590
+ # List invoices for this account, newest first
578
591
  # List invoices for this account, newest first.
579
592
  # @param [Hash] opts the optional parameters
580
593
  # @option opts [Float] :limit Max invoices to return (1-100, default 10)
@@ -588,6 +601,7 @@ module Pingram
588
601
  data
589
602
  end
590
603
 
604
+ # List invoices for this account, newest first
591
605
  # List invoices for this account, newest first.
592
606
  # @param [Hash] opts the optional parameters
593
607
  # @option opts [Float] :limit Max invoices to return (1-100, default 10)
@@ -645,6 +659,7 @@ module Pingram
645
659
  return data, status_code, headers
646
660
  end
647
661
 
662
+ # List saved cards. Only the account owner can call this
648
663
  # List saved cards. Only the account owner can call this.
649
664
  # @param [Hash] opts the optional parameters
650
665
  # @return [AccountPaymentMethods]
@@ -653,6 +668,7 @@ module Pingram
653
668
  data
654
669
  end
655
670
 
671
+ # List saved cards. Only the account owner can call this
656
672
  # List saved cards. Only the account owner can call this.
657
673
  # @param [Hash] opts the optional parameters
658
674
  # @return [Array<(AccountPaymentMethods, Integer, Hash)>] AccountPaymentMethods data, response status code and response headers
@@ -755,6 +771,7 @@ module Pingram
755
771
  return data, status_code, headers
756
772
  end
757
773
 
774
+ # Start or continue billing for this account
758
775
  # Start or continue billing for this account. Returns a URL when payment is needed.
759
776
  # @param billing_post_request_body [BillingPostRequestBody]
760
777
  # @param [Hash] opts the optional parameters
@@ -764,6 +781,7 @@ module Pingram
764
781
  data
765
782
  end
766
783
 
784
+ # Start or continue billing for this account
767
785
  # Start or continue billing for this account. Returns a URL when payment is needed.
768
786
  # @param billing_post_request_body [BillingPostRequestBody]
769
787
  # @param [Hash] opts the optional parameters
@@ -821,6 +839,7 @@ module Pingram
821
839
  return data, status_code, headers
822
840
  end
823
841
 
842
+ # Undo a scheduled cancellation
824
843
  # Keep the current paid plan and undo a cancellation scheduled for the end of the billing cycle.
825
844
  # @param [Hash] opts the optional parameters
826
845
  # @return [AccountGetResponse]
@@ -829,6 +848,7 @@ module Pingram
829
848
  data
830
849
  end
831
850
 
851
+ # Undo a scheduled cancellation
832
852
  # Keep the current paid plan and undo a cancellation scheduled for the end of the billing cycle.
833
853
  # @param [Hash] opts the optional parameters
834
854
  # @return [Array<(AccountGetResponse, Integer, Hash)>] AccountGetResponse data, response status code and response headers
@@ -876,6 +896,7 @@ module Pingram
876
896
  return data, status_code, headers
877
897
  end
878
898
 
899
+ # Revoke Supabase integration
879
900
  # Revoke Supabase integration (removes stored tokens and project info)
880
901
  # @param [Hash] opts the optional parameters
881
902
  # @return [SupabaseConfigureResponse]
@@ -884,6 +905,7 @@ module Pingram
884
905
  data
885
906
  end
886
907
 
908
+ # Revoke Supabase integration
887
909
  # Revoke Supabase integration (removes stored tokens and project info)
888
910
  # @param [Hash] opts the optional parameters
889
911
  # @return [Array<(SupabaseConfigureResponse, Integer, Hash)>] SupabaseConfigureResponse data, response status code and response headers
@@ -997,6 +1019,7 @@ module Pingram
997
1019
  return data, status_code, headers
998
1020
  end
999
1021
 
1022
+ # Update account billing preferences
1000
1023
  # Update account billing preferences such as auto upgrade and usage email alerts.
1001
1024
  # @param account_patch_request [AccountPatchRequest]
1002
1025
  # @param [Hash] opts the optional parameters
@@ -1006,6 +1029,7 @@ module Pingram
1006
1029
  data
1007
1030
  end
1008
1031
 
1032
+ # Update account billing preferences
1009
1033
  # Update account billing preferences such as auto upgrade and usage email alerts.
1010
1034
  # @param account_patch_request [AccountPatchRequest]
1011
1035
  # @param [Hash] opts the optional parameters
@@ -1063,6 +1087,7 @@ module Pingram
1063
1087
  return data, status_code, headers
1064
1088
  end
1065
1089
 
1090
+ # Update the invoice email address
1066
1091
  # Update the email address that receives invoices for this account.
1067
1092
  # @param update_billing_email_request [UpdateBillingEmailRequest]
1068
1093
  # @param [Hash] opts the optional parameters
@@ -1072,6 +1097,7 @@ module Pingram
1072
1097
  data
1073
1098
  end
1074
1099
 
1100
+ # Update the invoice email address
1075
1101
  # Update the email address that receives invoices for this account.
1076
1102
  # @param update_billing_email_request [UpdateBillingEmailRequest]
1077
1103
  # @param [Hash] opts the optional parameters
@@ -19,6 +19,7 @@ module Pingram
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Create another Pingram account
22
23
  # Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
23
24
  # @param create_account_request [CreateAccountRequest]
24
25
  # @param [Hash] opts the optional parameters
@@ -28,6 +29,7 @@ module Pingram
28
29
  data
29
30
  end
30
31
 
32
+ # Create another Pingram account
31
33
  # Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
32
34
  # @param create_account_request [CreateAccountRequest]
33
35
  # @param [Hash] opts the optional parameters
@@ -139,5 +141,79 @@ module Pingram
139
141
  end
140
142
  return data, status_code, headers
141
143
  end
144
+
145
+ # Change the display name of an account
146
+ # Change the display name of an account the caller can access. The name is the label shown in the dashboard and in account lists.
147
+ # @param account_id [String] Account to rename
148
+ # @param update_account_request [UpdateAccountRequest]
149
+ # @param [Hash] opts the optional parameters
150
+ # @return [AccountSummary]
151
+ def accounts_update_account(account_id, update_account_request, opts = {})
152
+ data, _status_code, _headers = accounts_update_account_with_http_info(account_id, update_account_request, opts)
153
+ data
154
+ end
155
+
156
+ # Change the display name of an account
157
+ # Change the display name of an account the caller can access. The name is the label shown in the dashboard and in account lists.
158
+ # @param account_id [String] Account to rename
159
+ # @param update_account_request [UpdateAccountRequest]
160
+ # @param [Hash] opts the optional parameters
161
+ # @return [Array<(AccountSummary, Integer, Hash)>] AccountSummary data, response status code and response headers
162
+ def accounts_update_account_with_http_info(account_id, update_account_request, opts = {})
163
+ if @api_client.config.debugging
164
+ @api_client.config.logger.debug 'Calling API: AccountsApi.accounts_update_account ...'
165
+ end
166
+ # verify the required parameter 'account_id' is set
167
+ if @api_client.config.client_side_validation && account_id.nil?
168
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.accounts_update_account"
169
+ end
170
+ # verify the required parameter 'update_account_request' is set
171
+ if @api_client.config.client_side_validation && update_account_request.nil?
172
+ fail ArgumentError, "Missing the required parameter 'update_account_request' when calling AccountsApi.accounts_update_account"
173
+ end
174
+ # resource path
175
+ local_var_path = '/accounts/{accountId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
176
+
177
+ # query parameters
178
+ query_params = opts[:query_params] || {}
179
+
180
+ # header parameters
181
+ header_params = opts[:header_params] || {}
182
+ # HTTP header 'Accept' (if needed)
183
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
184
+ # HTTP header 'Content-Type'
185
+ content_type = @api_client.select_header_content_type(['application/json'])
186
+ if !content_type.nil?
187
+ header_params['Content-Type'] = content_type
188
+ end
189
+
190
+ # form parameters
191
+ form_params = opts[:form_params] || {}
192
+
193
+ # http body (model)
194
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_account_request)
195
+
196
+ # return_type
197
+ return_type = opts[:debug_return_type] || 'AccountSummary'
198
+
199
+ # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
200
+ auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
201
+
202
+ new_options = opts.merge(
203
+ :operation => :"AccountsApi.accounts_update_account",
204
+ :header_params => header_params,
205
+ :query_params => query_params,
206
+ :form_params => form_params,
207
+ :body => post_body,
208
+ :auth_names => auth_names,
209
+ :return_type => return_type
210
+ )
211
+
212
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
213
+ if @api_client.config.debugging
214
+ @api_client.config.logger.debug "API called: AccountsApi#accounts_update_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
215
+ end
216
+ return data, status_code, headers
217
+ end
142
218
  end
143
219
  end
@@ -19,6 +19,7 @@ module Pingram
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Archive an email broadcast
22
23
  # Archive an email broadcast so it is hidden from the default broadcast list. Allowed for draft, paused, sent, and canceled broadcasts. Not allowed while sending or scheduled.
23
24
  # @param broadcast_id [String] Broadcast ID
24
25
  # @param [Hash] opts the optional parameters
@@ -28,6 +29,7 @@ module Pingram
28
29
  data
29
30
  end
30
31
 
32
+ # Archive an email broadcast
31
33
  # Archive an email broadcast so it is hidden from the default broadcast list. Allowed for draft, paused, sent, and canceled broadcasts. Not allowed while sending or scheduled.
32
34
  # @param broadcast_id [String] Broadcast ID
33
35
  # @param [Hash] opts the optional parameters
@@ -80,6 +82,7 @@ module Pingram
80
82
  return data, status_code, headers
81
83
  end
82
84
 
85
+ # Cancel an email broadcast
83
86
  # Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
84
87
  # @param broadcast_id [String] Broadcast ID
85
88
  # @param [Hash] opts the optional parameters
@@ -89,6 +92,7 @@ module Pingram
89
92
  data
90
93
  end
91
94
 
95
+ # Cancel an email broadcast
92
96
  # Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
93
97
  # @param broadcast_id [String] Broadcast ID
94
98
  # @param [Hash] opts the optional parameters
@@ -141,6 +145,7 @@ module Pingram
141
145
  return data, status_code, headers
142
146
  end
143
147
 
148
+ # Create a draft email broadcast
144
149
  # Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
145
150
  # @param create_broadcast_request [CreateBroadcastRequest]
146
151
  # @param [Hash] opts the optional parameters
@@ -150,6 +155,7 @@ module Pingram
150
155
  data
151
156
  end
152
157
 
158
+ # Create a draft email broadcast
153
159
  # Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
154
160
  # @param create_broadcast_request [CreateBroadcastRequest]
155
161
  # @param [Hash] opts the optional parameters
@@ -207,6 +213,7 @@ module Pingram
207
213
  return data, status_code, headers
208
214
  end
209
215
 
216
+ # Delete an email broadcast
210
217
  # Delete an email broadcast. Allowed for drafts, scheduled, paused, completed, and canceled broadcasts. Not allowed while status is sending.
211
218
  # @param broadcast_id [String] Broadcast ID
212
219
  # @param [Hash] opts the optional parameters
@@ -216,6 +223,7 @@ module Pingram
216
223
  data
217
224
  end
218
225
 
226
+ # Delete an email broadcast
219
227
  # Delete an email broadcast. Allowed for drafts, scheduled, paused, completed, and canceled broadcasts. Not allowed while status is sending.
220
228
  # @param broadcast_id [String] Broadcast ID
221
229
  # @param [Hash] opts the optional parameters
@@ -268,6 +276,7 @@ module Pingram
268
276
  return data, status_code, headers
269
277
  end
270
278
 
279
+ # Get one email broadcast by ID
271
280
  # Get one email broadcast by ID, including the send-ready html body, optional internalTemplate (visual-editor source), and audience definition.
272
281
  # @param broadcast_id [String] Broadcast ID
273
282
  # @param [Hash] opts the optional parameters
@@ -277,6 +286,7 @@ module Pingram
277
286
  data
278
287
  end
279
288
 
289
+ # Get one email broadcast by ID
280
290
  # Get one email broadcast by ID, including the send-ready html body, optional internalTemplate (visual-editor source), and audience definition.
281
291
  # @param broadcast_id [String] Broadcast ID
282
292
  # @param [Hash] opts the optional parameters
@@ -329,6 +339,7 @@ module Pingram
329
339
  return data, status_code, headers
330
340
  end
331
341
 
342
+ # Get live broadcast metrics
332
343
  # Poll live email broadcast metrics: status, optional pausedReason or scheduleAt, and aggregate counters (total, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed).
333
344
  # @param broadcast_id [String] Broadcast ID
334
345
  # @param [Hash] opts the optional parameters
@@ -338,6 +349,7 @@ module Pingram
338
349
  data
339
350
  end
340
351
 
352
+ # Get live broadcast metrics
341
353
  # Poll live email broadcast metrics: status, optional pausedReason or scheduleAt, and aggregate counters (total, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed).
342
354
  # @param broadcast_id [String] Broadcast ID
343
355
  # @param [Hash] opts the optional parameters
@@ -390,6 +402,7 @@ module Pingram
390
402
  return data, status_code, headers
391
403
  end
392
404
 
405
+ # List email broadcasts for the account, newest first
393
406
  # List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
394
407
  # @param [Hash] opts the optional parameters
395
408
  # @option opts [Float] :limit Max broadcasts to return (default 50)
@@ -400,6 +413,7 @@ module Pingram
400
413
  data
401
414
  end
402
415
 
416
+ # List email broadcasts for the account, newest first
403
417
  # List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
404
418
  # @param [Hash] opts the optional parameters
405
419
  # @option opts [Float] :limit Max broadcasts to return (default 50)
@@ -451,6 +465,7 @@ module Pingram
451
465
  return data, status_code, headers
452
466
  end
453
467
 
468
+ # List email broadcast recipients
454
469
  # List email broadcast recipients with per-recipient delivery fact timestamps (sentAt, deliveredAt, openedAt, etc.). Derive display status client-side from timestamps. Filter by status (pending, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed, problems). Paginate with limit (default 50, max 200) and nextToken.
455
470
  # @param broadcast_id [String] Broadcast ID
456
471
  # @param [Hash] opts the optional parameters
@@ -463,6 +478,7 @@ module Pingram
463
478
  data
464
479
  end
465
480
 
481
+ # List email broadcast recipients
466
482
  # List email broadcast recipients with per-recipient delivery fact timestamps (sentAt, deliveredAt, openedAt, etc.). Derive display status client-side from timestamps. Filter by status (pending, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed, problems). Paginate with limit (default 50, max 200) and nextToken.
467
483
  # @param broadcast_id [String] Broadcast ID
468
484
  # @param [Hash] opts the optional parameters
@@ -521,6 +537,7 @@ module Pingram
521
537
  return data, status_code, headers
522
538
  end
523
539
 
540
+ # Pause an actively sending email broadcast
524
541
  # Pause an actively sending email broadcast. Status becomes paused with pausedReason PAUSED_BY_USER.
525
542
  # @param broadcast_id [String] Broadcast ID
526
543
  # @param [Hash] opts the optional parameters
@@ -530,6 +547,7 @@ module Pingram
530
547
  data
531
548
  end
532
549
 
550
+ # Pause an actively sending email broadcast
533
551
  # Pause an actively sending email broadcast. Status becomes paused with pausedReason PAUSED_BY_USER.
534
552
  # @param broadcast_id [String] Broadcast ID
535
553
  # @param [Hash] opts the optional parameters
@@ -582,6 +600,7 @@ module Pingram
582
600
  return data, status_code, headers
583
601
  end
584
602
 
603
+ # Resume a paused email broadcast
585
604
  # Resume a paused email broadcast. Continues sending remaining recipients. Broadcasts paused for spam content cannot be resumed.
586
605
  # @param broadcast_id [String] Broadcast ID
587
606
  # @param [Hash] opts the optional parameters
@@ -591,6 +610,7 @@ module Pingram
591
610
  data
592
611
  end
593
612
 
613
+ # Resume a paused email broadcast
594
614
  # Resume a paused email broadcast. Continues sending remaining recipients. Broadcasts paused for spam content cannot be resumed.
595
615
  # @param broadcast_id [String] Broadcast ID
596
616
  # @param [Hash] opts the optional parameters
@@ -643,6 +663,7 @@ module Pingram
643
663
  return data, status_code, headers
644
664
  end
645
665
 
666
+ # Schedule a draft email broadcast for a future ISO datetime
646
667
  # Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
647
668
  # @param broadcast_id [String] Broadcast ID
648
669
  # @param schedule_broadcast_request [ScheduleBroadcastRequest]
@@ -653,6 +674,7 @@ module Pingram
653
674
  data
654
675
  end
655
676
 
677
+ # Schedule a draft email broadcast for a future ISO datetime
656
678
  # Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
657
679
  # @param broadcast_id [String] Broadcast ID
658
680
  # @param schedule_broadcast_request [ScheduleBroadcastRequest]
@@ -715,6 +737,7 @@ module Pingram
715
737
  return data, status_code, headers
716
738
  end
717
739
 
740
+ # Send a draft email broadcast immediately
718
741
  # Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
719
742
  # @param broadcast_id [String] Broadcast ID
720
743
  # @param [Hash] opts the optional parameters
@@ -724,6 +747,7 @@ module Pingram
724
747
  data
725
748
  end
726
749
 
750
+ # Send a draft email broadcast immediately
727
751
  # Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
728
752
  # @param broadcast_id [String] Broadcast ID
729
753
  # @param [Hash] opts the optional parameters
@@ -776,6 +800,7 @@ module Pingram
776
800
  return data, status_code, headers
777
801
  end
778
802
 
803
+ # Restore an archived email broadcast
779
804
  # Restore an archived email broadcast to the default broadcast list.
780
805
  # @param broadcast_id [String] Broadcast ID
781
806
  # @param [Hash] opts the optional parameters
@@ -785,6 +810,7 @@ module Pingram
785
810
  data
786
811
  end
787
812
 
813
+ # Restore an archived email broadcast
788
814
  # Restore an archived email broadcast to the default broadcast list.
789
815
  # @param broadcast_id [String] Broadcast ID
790
816
  # @param [Hash] opts the optional parameters
@@ -837,6 +863,7 @@ module Pingram
837
863
  return data, status_code, headers
838
864
  end
839
865
 
866
+ # Update a draft email broadcast
840
867
  # Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
841
868
  # @param broadcast_id [String] Broadcast ID
842
869
  # @param update_broadcast_request [UpdateBroadcastRequest]
@@ -847,6 +874,7 @@ module Pingram
847
874
  data
848
875
  end
849
876
 
877
+ # Update a draft email broadcast
850
878
  # Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
851
879
  # @param broadcast_id [String] Broadcast ID
852
880
  # @param update_broadcast_request [UpdateBroadcastRequest]
@@ -19,6 +19,7 @@ module Pingram
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Send a notification (email, SMS, etc.) to one user
22
23
  # Send a notification (email, SMS, etc.) to one user. Requires a notification `type` which categorizes this messages for future reporting, and channel-specific payloads such as `email` or `sms`. Recipient is specified with the `to` parameter. Returns a `trackingId` for error or delivery lookup through our Logs.
23
24
  # @param sender_post_body [SenderPostBody]
24
25
  # @param [Hash] opts the optional parameters
@@ -28,6 +29,7 @@ module Pingram
28
29
  data
29
30
  end
30
31
 
32
+ # Send a notification (email, SMS, etc.) to one user
31
33
  # Send a notification (email, SMS, etc.) to one user. Requires a notification &#x60;type&#x60; which categorizes this messages for future reporting, and channel-specific payloads such as &#x60;email&#x60; or &#x60;sms&#x60;. Recipient is specified with the &#x60;to&#x60; parameter. Returns a &#x60;trackingId&#x60; for error or delivery lookup through our Logs.
32
34
  # @param sender_post_body [SenderPostBody]
33
35
  # @param [Hash] opts the optional parameters
@@ -19,6 +19,7 @@ module Pingram
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Start verification for a domain you already own
22
23
  # Start verification for a domain you already own so Pingram can use it for email. Pass a bare domain (example.com) or subdomain (mail.example.com). This does not purchase, transfer, renew, or control the domain, does not edit DNS, and does not disable sending or receiving on other platforms. It saves the domain on this Pingram account and returns DNS records for you to publish. Required DKIM lets Pingram send email from addresses on this domain once verification completes. Optional inbound MX, once you publish it, routes that domain's inbound email to Pingram. This call only begins verification. Publish the records, then start verification in the dashboard or with the start-verification API. Adding a domain that is already on the account returns the existing records.
23
24
  # @param post_senders_request_body [PostSendersRequestBody]
24
25
  # @param [Hash] opts the optional parameters
@@ -28,6 +29,7 @@ module Pingram
28
29
  data
29
30
  end
30
31
 
32
+ # Start verification for a domain you already own
31
33
  # Start verification for a domain you already own so Pingram can use it for email. Pass a bare domain (example.com) or subdomain (mail.example.com). This does not purchase, transfer, renew, or control the domain, does not edit DNS, and does not disable sending or receiving on other platforms. It saves the domain on this Pingram account and returns DNS records for you to publish. Required DKIM lets Pingram send email from addresses on this domain once verification completes. Optional inbound MX, once you publish it, routes that domain&#39;s inbound email to Pingram. This call only begins verification. Publish the records, then start verification in the dashboard or with the start-verification API. Adding a domain that is already on the account returns the existing records.
32
34
  # @param post_senders_request_body [PostSendersRequestBody]
33
35
  # @param [Hash] opts the optional parameters
@@ -85,7 +87,8 @@ module Pingram
85
87
  return data, status_code, headers
86
88
  end
87
89
 
88
- # Remove a sender domain from the account.
90
+ # Remove a sender domain from the account
91
+ # Remove a sending domain from this account. You can no longer send from it, and the tracking subdomain this account created for it stops serving opens, clicks, and unsubscribe for new mail.
89
92
  # @param sender [String] Sender domain (URL encoded)
90
93
  # @param [Hash] opts the optional parameters
91
94
  # @return [SuccessResponse]
@@ -94,7 +97,8 @@ module Pingram
94
97
  data
95
98
  end
96
99
 
97
- # Remove a sender domain from the account.
100
+ # Remove a sender domain from the account
101
+ # Remove a sending domain from this account. You can no longer send from it, and the tracking subdomain this account created for it stops serving opens, clicks, and unsubscribe for new mail.
98
102
  # @param sender [String] Sender domain (URL encoded)
99
103
  # @param [Hash] opts the optional parameters
100
104
  # @return [Array<(SuccessResponse, Integer, Hash)>] SuccessResponse data, response status code and response headers
@@ -146,6 +150,7 @@ module Pingram
146
150
  return data, status_code, headers
147
151
  end
148
152
 
153
+ # List domains already added to this Pingram account for email
149
154
  # List domains already added to this Pingram account for email. Each entry includes verification status and the DNS records Pingram expects you to publish. Does not search a registrar, purchase or transfer a domain, change DNS, or include domains that have not been added to this account.
150
155
  # @param [Hash] opts the optional parameters
151
156
  # @return [Array<GetSendersResponseInner>]
@@ -154,6 +159,7 @@ module Pingram
154
159
  data
155
160
  end
156
161
 
162
+ # List domains already added to this Pingram account for email
157
163
  # List domains already added to this Pingram account for email. Each entry includes verification status and the DNS records Pingram expects you to publish. Does not search a registrar, purchase or transfer a domain, change DNS, or include domains that have not been added to this account.
158
164
  # @param [Hash] opts the optional parameters
159
165
  # @return [Array<(Array<GetSendersResponseInner>, Integer, Hash)>] Array<GetSendersResponseInner> data, response status code and response headers
@@ -201,7 +207,8 @@ module Pingram
201
207
  return data, status_code, headers
202
208
  end
203
209
 
204
- # Start SES domain verification (DNS readiness is checked client-side via checkDomainDns)
210
+ # Start domain verification
211
+ # Start verification for a domain already on this account, so you can send from addresses on it. Publish the DNS records first. This also checks the tracking subdomain and keeps setting it up. Call it again any time. If verification has already started, this still checks the tracking subdomain and returns the domain as it is now.
205
212
  # @param sender [String] Sender domain (URL encoded)
206
213
  # @param [Hash] opts the optional parameters
207
214
  # @return [Array<GetSendersResponseInner>]
@@ -210,7 +217,8 @@ module Pingram
210
217
  data
211
218
  end
212
219
 
213
- # Start SES domain verification (DNS readiness is checked client-side via checkDomainDns)
220
+ # Start domain verification
221
+ # Start verification for a domain already on this account, so you can send from addresses on it. Publish the DNS records first. This also checks the tracking subdomain and keeps setting it up. Call it again any time. If verification has already started, this still checks the tracking subdomain and returns the domain as it is now.
214
222
  # @param sender [String] Sender domain (URL encoded)
215
223
  # @param [Hash] opts the optional parameters
216
224
  # @return [Array<(Array<GetSendersResponseInner>, Integer, Hash)>] Array<GetSendersResponseInner> data, response status code and response headers
@@ -19,6 +19,7 @@ module Pingram
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Get an email editor access token
22
23
  # Get the email editor access token to load it it in your environment
23
24
  # @param email_auth_token_post_request [EmailAuthTokenPostRequest]
24
25
  # @param [Hash] opts the optional parameters
@@ -28,6 +29,7 @@ module Pingram
28
29
  data
29
30
  end
30
31
 
32
+ # Get an email editor access token
31
33
  # Get the email editor access token to load it it in your environment
32
34
  # @param email_auth_token_post_request [EmailAuthTokenPostRequest]
33
35
  # @param [Hash] opts the optional parameters