pingram 1.0.16 → 1.0.18
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/pingram/api/account_api.rb +95 -26
- data/lib/pingram/api/members_api.rb +10 -10
- data/lib/pingram/api/numbers_api.rb +2 -2
- data/lib/pingram/api/profile_api.rb +66 -0
- data/lib/pingram/api/voice_api.rb +733 -0
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/client_wrapper.rb +10 -10
- data/lib/pingram/models/account_get_response.rb +216 -29
- data/lib/pingram/models/api_error_body.rb +4 -24
- data/lib/pingram/models/auto_join_get_response.rb +16 -16
- data/lib/pingram/models/auto_join_post_response.rb +16 -16
- data/lib/pingram/models/billing_post_request_body.rb +2 -12
- data/lib/pingram/models/billing_post_response_body.rb +56 -68
- data/lib/pingram/models/bind_number_request.rb +164 -0
- data/lib/pingram/models/bind_number_response.rb +164 -0
- data/lib/pingram/models/bind_number_response_agent.rb +342 -0
- data/lib/pingram/models/bind_number_response_agent_spec.rb +376 -0
- data/lib/pingram/models/bind_number_response_agent_spec_compliance.rb +164 -0
- data/lib/pingram/models/bind_number_response_agent_spec_conversation.rb +328 -0
- data/lib/pingram/models/bind_number_response_agent_spec_inbound.rb +214 -0
- data/lib/pingram/models/bind_number_response_agent_spec_model.rb +105 -0
- data/lib/pingram/models/bind_number_response_agent_spec_outbound.rb +251 -0
- data/lib/pingram/models/bind_number_response_agent_spec_tools_inner.rb +107 -0
- data/lib/pingram/models/bind_number_response_agent_spec_variables_inner.rb +182 -0
- data/lib/pingram/models/brand_webhook_response.rb +165 -0
- data/lib/pingram/models/chained.rb +401 -0
- data/lib/pingram/models/channels_enum.rb +2 -1
- data/lib/pingram/models/create_voice_agent_request.rb +164 -0
- data/lib/pingram/models/create_voice_agent_response.rb +164 -0
- data/lib/pingram/models/custom.rb +278 -0
- data/lib/pingram/models/delete_account_request.rb +147 -0
- data/lib/pingram/models/delete_voice_agent_response.rb +164 -0
- data/lib/pingram/models/dtmf.rb +188 -0
- data/lib/pingram/models/get_members_response_inner.rb +1 -27
- data/lib/pingram/models/get_notifications_response_inner_options.rb +10 -1
- data/lib/pingram/models/get_senders_response_inner.rb +13 -4
- data/lib/pingram/models/get_senders_response_inner_verification_records.rb +184 -0
- data/lib/pingram/models/get_senders_response_inner_verification_records_dkim.rb +287 -0
- data/lib/pingram/models/get_usage_history_query.rb +1 -1
- data/lib/pingram/models/{organization_usage_history.rb → get_usage_history_response.rb} +5 -5
- data/lib/pingram/models/get_usage_history_response_items_inner.rb +192 -0
- data/lib/pingram/models/get_usage_history_response_items_inner_counts.rb +346 -0
- data/lib/pingram/models/{organization_usage.rb → get_usage_response.rb} +17 -163
- data/lib/pingram/models/get_usage_response_costs.rb +148 -0
- data/lib/pingram/models/get_usage_response_counts.rb +347 -0
- data/lib/pingram/models/get_voice_agent_response.rb +164 -0
- data/lib/pingram/models/get_voice_call_response.rb +164 -0
- data/lib/pingram/models/get_voice_call_response_call.rb +521 -0
- data/lib/pingram/models/{a2p_registration_update_request.rb → get_voice_call_response_call_cost.rb} +53 -80
- data/lib/pingram/models/get_voice_call_response_call_cost_lines_inner.rb +245 -0
- data/lib/pingram/models/get_voice_call_response_call_timeline_inner.rb +247 -0
- data/lib/pingram/models/get_voice_call_response_call_timeline_inner_latency.rb +191 -0
- data/lib/pingram/models/inbound_response_body_results_inner.rb +4 -4
- data/lib/pingram/models/knowledge.rb +216 -0
- data/lib/pingram/models/{create_organization_response.rb → knowledge_documents_inner.rb} +50 -49
- data/lib/pingram/models/list_phone_numbers_response_numbers_inner.rb +14 -4
- data/lib/pingram/models/list_voice_agents_response.rb +166 -0
- data/lib/pingram/models/list_voice_calls_response.rb +176 -0
- data/lib/pingram/models/list_voice_calls_response_calls_inner.rb +463 -0
- data/lib/pingram/models/logs_get_response_logs_inner.rb +4 -4
- data/lib/pingram/models/mcp.rb +223 -0
- data/lib/pingram/models/phone_verify_confirm_request.rb +16 -4
- data/lib/pingram/models/s2s.rb +295 -0
- data/lib/pingram/models/send_email_api_response_any_of1_error.rb +4 -24
- data/lib/pingram/models/send_email_request.rb +1 -1
- data/lib/pingram/models/send_sms_response_any_of1_error.rb +4 -24
- data/lib/pingram/models/sender_post_body_options_email.rb +5 -15
- data/lib/pingram/models/{a2p_registration_create_request.rb → ten_dlc_brand_create_request.rb} +56 -28
- data/lib/pingram/models/{a2p_registration.rb → ten_dlc_brand_registration.rb} +72 -22
- data/lib/pingram/models/ten_dlc_brand_registration_details.rb +599 -0
- data/lib/pingram/models/ten_dlc_brand_update_request.rb +338 -0
- data/lib/pingram/models/transfer.rb +251 -0
- data/lib/pingram/models/unbind_number_response.rb +164 -0
- data/lib/pingram/models/update_voice_agent_request.rb +164 -0
- data/lib/pingram/models/update_voice_agent_response.rb +164 -0
- data/lib/pingram/models/voice_browser_call_request.rb +186 -0
- data/lib/pingram/models/voice_browser_call_response.rb +216 -0
- data/lib/pingram/models/voice_call_request.rb +212 -0
- data/lib/pingram/models/voice_call_response.rb +217 -0
- data/lib/pingram/models/webhook_event.rb +2 -2
- data/lib/pingram/version.rb +1 -1
- data/lib/pingram.rb +54 -9
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.12.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/mkmf.log +3 -3
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/current.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.3.11.1.gemspec → parser-3.3.12.0.gemspec} +4 -4
- metadata +138 -93
- data/lib/pingram/api/organization_api.rb +0 -201
- data/lib/pingram/models/organization.rb +0 -442
- data/lib/pingram/models/organization_usage_history_items_inner.rb +0 -330
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.11.1.gem +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/bin/ruby-parse +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/bin/ruby-rewrite +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/gauntlet_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/all.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ast/node.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ast/processor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/base.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/builders/default.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/clobbering_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/color.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/context.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/current_arg_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/deprecation.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/diagnostic/engine.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/diagnostic.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/dedenter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/explanation.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/literal.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/stack_state.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer-F0.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer-F1.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer-strings.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/macruby.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/max_numparam_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/messages.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/meta.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby18.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby19.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby20.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby21.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby22.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby23.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby24.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby25.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby26.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby27.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby30.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby31.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby32.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby33.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby34.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/rubymotion.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/runner/ruby_parse.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/runner.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/buffer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/comment/associator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/comment.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/collection.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/condition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/constant.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/definition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/for.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/heredoc.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/index.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/keyword.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/method_definition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/operator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/rescue_body.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/send.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/ternary.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/variable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/range.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/static_environment.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/variables_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/parser.gemspec +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab00bdd2f44ceb22877800ef451234b4beede51af96ea4074755d521b8418ab3
|
|
4
|
+
data.tar.gz: 3114ba6d05887cf082dfea09b01860155402fb37af3318723027380a358a05f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 151e835fc10a8c749eb7958f21303502b9b18390d3a4741c17251391e63bc7a3a900cf007777c05692bd6c9deb6283956baa91798fdf9b9ded364fe04858731e
|
|
7
|
+
data.tar.gz: 7fba5df732db91becd966d985e6a5fea114fab5efc62efb39665c7d1464724bafcb43c00d39e22369900284920f6d5e9658d572d17bf7abb9831dac8ff184188
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pingram (1.0.
|
|
4
|
+
pingram (1.0.18)
|
|
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.
|
|
25
|
+
parser (3.3.12.0)
|
|
26
26
|
ast (~> 2.4.1)
|
|
27
27
|
racc
|
|
28
28
|
pry (0.16.0)
|
|
@@ -85,7 +85,7 @@ module Pingram
|
|
|
85
85
|
return data, status_code, headers
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
# Get account information for the authenticated
|
|
88
|
+
# Get account information for the authenticated account
|
|
89
89
|
# @param [Hash] opts the optional parameters
|
|
90
90
|
# @return [AccountGetResponse]
|
|
91
91
|
def account_get_account_details(opts = {})
|
|
@@ -93,7 +93,7 @@ module Pingram
|
|
|
93
93
|
data
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
# Get account information for the authenticated
|
|
96
|
+
# Get account information for the authenticated account
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
98
98
|
# @return [Array<(AccountGetResponse, Integer, Hash)>] AccountGetResponse data, response status code and response headers
|
|
99
99
|
def account_get_account_details_with_http_info(opts = {})
|
|
@@ -140,23 +140,23 @@ module Pingram
|
|
|
140
140
|
return data, status_code, headers
|
|
141
141
|
end
|
|
142
142
|
|
|
143
|
-
# Get
|
|
143
|
+
# Get Supabase integration status for the account
|
|
144
144
|
# @param [Hash] opts the optional parameters
|
|
145
|
-
# @return [
|
|
146
|
-
def
|
|
147
|
-
data, _status_code, _headers =
|
|
145
|
+
# @return [SupabaseStatusResponse]
|
|
146
|
+
def account_get_supabase_status(opts = {})
|
|
147
|
+
data, _status_code, _headers = account_get_supabase_status_with_http_info(opts)
|
|
148
148
|
data
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
-
# Get
|
|
151
|
+
# Get Supabase integration status for the account
|
|
152
152
|
# @param [Hash] opts the optional parameters
|
|
153
|
-
# @return [Array<(
|
|
154
|
-
def
|
|
153
|
+
# @return [Array<(SupabaseStatusResponse, Integer, Hash)>] SupabaseStatusResponse data, response status code and response headers
|
|
154
|
+
def account_get_supabase_status_with_http_info(opts = {})
|
|
155
155
|
if @api_client.config.debugging
|
|
156
|
-
@api_client.config.logger.debug 'Calling API: AccountApi.
|
|
156
|
+
@api_client.config.logger.debug 'Calling API: AccountApi.account_get_supabase_status ...'
|
|
157
157
|
end
|
|
158
158
|
# resource path
|
|
159
|
-
local_var_path = '/account/
|
|
159
|
+
local_var_path = '/account/supabase/status'
|
|
160
160
|
|
|
161
161
|
# query parameters
|
|
162
162
|
query_params = opts[:query_params] || {}
|
|
@@ -173,13 +173,13 @@ module Pingram
|
|
|
173
173
|
post_body = opts[:debug_body]
|
|
174
174
|
|
|
175
175
|
# return_type
|
|
176
|
-
return_type = opts[:debug_return_type] || '
|
|
176
|
+
return_type = opts[:debug_return_type] || 'SupabaseStatusResponse'
|
|
177
177
|
|
|
178
178
|
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
179
179
|
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
180
180
|
|
|
181
181
|
new_options = opts.merge(
|
|
182
|
-
:operation => :"AccountApi.
|
|
182
|
+
:operation => :"AccountApi.account_get_supabase_status",
|
|
183
183
|
:header_params => header_params,
|
|
184
184
|
:query_params => query_params,
|
|
185
185
|
:form_params => form_params,
|
|
@@ -190,28 +190,28 @@ module Pingram
|
|
|
190
190
|
|
|
191
191
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
192
192
|
if @api_client.config.debugging
|
|
193
|
-
@api_client.config.logger.debug "API called: AccountApi#
|
|
193
|
+
@api_client.config.logger.debug "API called: AccountApi#account_get_supabase_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
194
194
|
end
|
|
195
195
|
return data, status_code, headers
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
-
# Get
|
|
198
|
+
# Get usage for the authenticated account.
|
|
199
199
|
# @param [Hash] opts the optional parameters
|
|
200
|
-
# @return [
|
|
201
|
-
def
|
|
202
|
-
data, _status_code, _headers =
|
|
200
|
+
# @return [GetUsageResponse]
|
|
201
|
+
def account_get_usage(opts = {})
|
|
202
|
+
data, _status_code, _headers = account_get_usage_with_http_info(opts)
|
|
203
203
|
data
|
|
204
204
|
end
|
|
205
205
|
|
|
206
|
-
# Get
|
|
206
|
+
# Get usage for the authenticated account.
|
|
207
207
|
# @param [Hash] opts the optional parameters
|
|
208
|
-
# @return [Array<(
|
|
209
|
-
def
|
|
208
|
+
# @return [Array<(GetUsageResponse, Integer, Hash)>] GetUsageResponse data, response status code and response headers
|
|
209
|
+
def account_get_usage_with_http_info(opts = {})
|
|
210
210
|
if @api_client.config.debugging
|
|
211
|
-
@api_client.config.logger.debug 'Calling API: AccountApi.
|
|
211
|
+
@api_client.config.logger.debug 'Calling API: AccountApi.account_get_usage ...'
|
|
212
212
|
end
|
|
213
213
|
# resource path
|
|
214
|
-
local_var_path = '/account/
|
|
214
|
+
local_var_path = '/account/usage'
|
|
215
215
|
|
|
216
216
|
# query parameters
|
|
217
217
|
query_params = opts[:query_params] || {}
|
|
@@ -228,13 +228,13 @@ module Pingram
|
|
|
228
228
|
post_body = opts[:debug_body]
|
|
229
229
|
|
|
230
230
|
# return_type
|
|
231
|
-
return_type = opts[:debug_return_type] || '
|
|
231
|
+
return_type = opts[:debug_return_type] || 'GetUsageResponse'
|
|
232
232
|
|
|
233
233
|
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
234
234
|
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
235
235
|
|
|
236
236
|
new_options = opts.merge(
|
|
237
|
-
:operation => :"AccountApi.
|
|
237
|
+
:operation => :"AccountApi.account_get_usage",
|
|
238
238
|
:header_params => header_params,
|
|
239
239
|
:query_params => query_params,
|
|
240
240
|
:form_params => form_params,
|
|
@@ -245,7 +245,76 @@ module Pingram
|
|
|
245
245
|
|
|
246
246
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
247
247
|
if @api_client.config.debugging
|
|
248
|
-
@api_client.config.logger.debug "API called: AccountApi#
|
|
248
|
+
@api_client.config.logger.debug "API called: AccountApi#account_get_usage\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
249
|
+
end
|
|
250
|
+
return data, status_code, headers
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
# Get historical usage for the authenticated account over a date range.
|
|
254
|
+
# @param start_date [String] Start date (YYYY-MM-DD) for the range
|
|
255
|
+
# @param end_date [String] End date (YYYY-MM-DD) for the range
|
|
256
|
+
# @param [Hash] opts the optional parameters
|
|
257
|
+
# @return [GetUsageHistoryResponse]
|
|
258
|
+
def account_get_usage_history(start_date, end_date, opts = {})
|
|
259
|
+
data, _status_code, _headers = account_get_usage_history_with_http_info(start_date, end_date, opts)
|
|
260
|
+
data
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# Get historical usage for the authenticated account over a date range.
|
|
264
|
+
# @param start_date [String] Start date (YYYY-MM-DD) for the range
|
|
265
|
+
# @param end_date [String] End date (YYYY-MM-DD) for the range
|
|
266
|
+
# @param [Hash] opts the optional parameters
|
|
267
|
+
# @return [Array<(GetUsageHistoryResponse, Integer, Hash)>] GetUsageHistoryResponse data, response status code and response headers
|
|
268
|
+
def account_get_usage_history_with_http_info(start_date, end_date, opts = {})
|
|
269
|
+
if @api_client.config.debugging
|
|
270
|
+
@api_client.config.logger.debug 'Calling API: AccountApi.account_get_usage_history ...'
|
|
271
|
+
end
|
|
272
|
+
# verify the required parameter 'start_date' is set
|
|
273
|
+
if @api_client.config.client_side_validation && start_date.nil?
|
|
274
|
+
fail ArgumentError, "Missing the required parameter 'start_date' when calling AccountApi.account_get_usage_history"
|
|
275
|
+
end
|
|
276
|
+
# verify the required parameter 'end_date' is set
|
|
277
|
+
if @api_client.config.client_side_validation && end_date.nil?
|
|
278
|
+
fail ArgumentError, "Missing the required parameter 'end_date' when calling AccountApi.account_get_usage_history"
|
|
279
|
+
end
|
|
280
|
+
# resource path
|
|
281
|
+
local_var_path = '/account/usage/history'
|
|
282
|
+
|
|
283
|
+
# query parameters
|
|
284
|
+
query_params = opts[:query_params] || {}
|
|
285
|
+
query_params[:'startDate'] = start_date
|
|
286
|
+
query_params[:'endDate'] = end_date
|
|
287
|
+
|
|
288
|
+
# header parameters
|
|
289
|
+
header_params = opts[:header_params] || {}
|
|
290
|
+
# HTTP header 'Accept' (if needed)
|
|
291
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
292
|
+
|
|
293
|
+
# form parameters
|
|
294
|
+
form_params = opts[:form_params] || {}
|
|
295
|
+
|
|
296
|
+
# http body (model)
|
|
297
|
+
post_body = opts[:debug_body]
|
|
298
|
+
|
|
299
|
+
# return_type
|
|
300
|
+
return_type = opts[:debug_return_type] || 'GetUsageHistoryResponse'
|
|
301
|
+
|
|
302
|
+
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
303
|
+
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
304
|
+
|
|
305
|
+
new_options = opts.merge(
|
|
306
|
+
:operation => :"AccountApi.account_get_usage_history",
|
|
307
|
+
:header_params => header_params,
|
|
308
|
+
:query_params => query_params,
|
|
309
|
+
:form_params => form_params,
|
|
310
|
+
:body => post_body,
|
|
311
|
+
:auth_names => auth_names,
|
|
312
|
+
:return_type => return_type
|
|
313
|
+
)
|
|
314
|
+
|
|
315
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
316
|
+
if @api_client.config.debugging
|
|
317
|
+
@api_client.config.logger.debug "API called: AccountApi#account_get_usage_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
249
318
|
end
|
|
250
319
|
return data, status_code, headers
|
|
251
320
|
end
|
|
@@ -19,7 +19,7 @@ module Pingram
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
# Get auto-join domains for the
|
|
22
|
+
# Get auto-join domains for the account
|
|
23
23
|
# @param env_id [String] Environment ID
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @return [AutoJoinGetResponse]
|
|
@@ -28,7 +28,7 @@ module Pingram
|
|
|
28
28
|
data
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
# Get auto-join domains for the
|
|
31
|
+
# Get auto-join domains for the account
|
|
32
32
|
# @param env_id [String] Environment ID
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @return [Array<(AutoJoinGetResponse, Integer, Hash)>] AutoJoinGetResponse data, response status code and response headers
|
|
@@ -80,7 +80,7 @@ module Pingram
|
|
|
80
80
|
return data, status_code, headers
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
# Invite a new member to the
|
|
83
|
+
# Invite a new member to the account
|
|
84
84
|
# @param env_id [String] Environment ID
|
|
85
85
|
# @param member_invite_request [MemberInviteRequest]
|
|
86
86
|
# @param [Hash] opts the optional parameters
|
|
@@ -90,7 +90,7 @@ module Pingram
|
|
|
90
90
|
data
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
-
# Invite a new member to the
|
|
93
|
+
# Invite a new member to the account
|
|
94
94
|
# @param env_id [String] Environment ID
|
|
95
95
|
# @param member_invite_request [MemberInviteRequest]
|
|
96
96
|
# @param [Hash] opts the optional parameters
|
|
@@ -152,7 +152,7 @@ module Pingram
|
|
|
152
152
|
return data, status_code, headers
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
-
# Get a list of team members in the
|
|
155
|
+
# Get a list of team members in the account
|
|
156
156
|
# @param env_id [String] Environment ID
|
|
157
157
|
# @param [Hash] opts the optional parameters
|
|
158
158
|
# @return [Array<GetMembersResponseInner>]
|
|
@@ -161,7 +161,7 @@ module Pingram
|
|
|
161
161
|
data
|
|
162
162
|
end
|
|
163
163
|
|
|
164
|
-
# Get a list of team members in the
|
|
164
|
+
# Get a list of team members in the account
|
|
165
165
|
# @param env_id [String] Environment ID
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
167
|
# @return [Array<(Array<GetMembersResponseInner>, Integer, Hash)>] Array<GetMembersResponseInner> data, response status code and response headers
|
|
@@ -213,7 +213,7 @@ module Pingram
|
|
|
213
213
|
return data, status_code, headers
|
|
214
214
|
end
|
|
215
215
|
|
|
216
|
-
# Remove a member from the
|
|
216
|
+
# Remove a member from the account
|
|
217
217
|
# @param env_id [String] Environment ID
|
|
218
218
|
# @param user_id [String] User ID or email address (URL encoded)
|
|
219
219
|
# @param [Hash] opts the optional parameters
|
|
@@ -223,7 +223,7 @@ module Pingram
|
|
|
223
223
|
data
|
|
224
224
|
end
|
|
225
225
|
|
|
226
|
-
# Remove a member from the
|
|
226
|
+
# Remove a member from the account
|
|
227
227
|
# @param env_id [String] Environment ID
|
|
228
228
|
# @param user_id [String] User ID or email address (URL encoded)
|
|
229
229
|
# @param [Hash] opts the optional parameters
|
|
@@ -280,7 +280,7 @@ module Pingram
|
|
|
280
280
|
return data, status_code, headers
|
|
281
281
|
end
|
|
282
282
|
|
|
283
|
-
# Set auto-join domains for the
|
|
283
|
+
# Set auto-join domains for the account
|
|
284
284
|
# @param env_id [String] Environment ID
|
|
285
285
|
# @param auto_join_request_body [AutoJoinRequestBody]
|
|
286
286
|
# @param [Hash] opts the optional parameters
|
|
@@ -290,7 +290,7 @@ module Pingram
|
|
|
290
290
|
data
|
|
291
291
|
end
|
|
292
292
|
|
|
293
|
-
# Set auto-join domains for the
|
|
293
|
+
# Set auto-join domains for the account
|
|
294
294
|
# @param env_id [String] Environment ID
|
|
295
295
|
# @param auto_join_request_body [AutoJoinRequestBody]
|
|
296
296
|
# @param [Hash] opts the optional parameters
|
|
@@ -19,7 +19,7 @@ module Pingram
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
# List active phone numbers registered for the account.
|
|
22
|
+
# List active phone numbers registered for the account, including voice agent binding state.
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
|
24
24
|
# @return [ListPhoneNumbersResponse]
|
|
25
25
|
def numbers_list(opts = {})
|
|
@@ -27,7 +27,7 @@ module Pingram
|
|
|
27
27
|
data
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
# List active phone numbers registered for the account.
|
|
30
|
+
# List active phone numbers registered for the account, including voice agent binding state.
|
|
31
31
|
# @param [Hash] opts the optional parameters
|
|
32
32
|
# @return [Array<(ListPhoneNumbersResponse, Integer, Hash)>] ListPhoneNumbersResponse data, response status code and response headers
|
|
33
33
|
def numbers_list_with_http_info(opts = {})
|
|
@@ -151,6 +151,72 @@ module Pingram
|
|
|
151
151
|
return data, status_code, headers
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
+
# Permanently delete the authenticated user's account
|
|
155
|
+
# @param delete_account_request [DeleteAccountRequest]
|
|
156
|
+
# @param [Hash] opts the optional parameters
|
|
157
|
+
# @return [SuccessResponse]
|
|
158
|
+
def profile_delete_account(delete_account_request, opts = {})
|
|
159
|
+
data, _status_code, _headers = profile_delete_account_with_http_info(delete_account_request, opts)
|
|
160
|
+
data
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# Permanently delete the authenticated user's account
|
|
164
|
+
# @param delete_account_request [DeleteAccountRequest]
|
|
165
|
+
# @param [Hash] opts the optional parameters
|
|
166
|
+
# @return [Array<(SuccessResponse, Integer, Hash)>] SuccessResponse data, response status code and response headers
|
|
167
|
+
def profile_delete_account_with_http_info(delete_account_request, opts = {})
|
|
168
|
+
if @api_client.config.debugging
|
|
169
|
+
@api_client.config.logger.debug 'Calling API: ProfileApi.profile_delete_account ...'
|
|
170
|
+
end
|
|
171
|
+
# verify the required parameter 'delete_account_request' is set
|
|
172
|
+
if @api_client.config.client_side_validation && delete_account_request.nil?
|
|
173
|
+
fail ArgumentError, "Missing the required parameter 'delete_account_request' when calling ProfileApi.profile_delete_account"
|
|
174
|
+
end
|
|
175
|
+
# resource path
|
|
176
|
+
local_var_path = '/profile/delete-account'
|
|
177
|
+
|
|
178
|
+
# query parameters
|
|
179
|
+
query_params = opts[:query_params] || {}
|
|
180
|
+
|
|
181
|
+
# header parameters
|
|
182
|
+
header_params = opts[:header_params] || {}
|
|
183
|
+
# HTTP header 'Accept' (if needed)
|
|
184
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
185
|
+
# HTTP header 'Content-Type'
|
|
186
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
187
|
+
if !content_type.nil?
|
|
188
|
+
header_params['Content-Type'] = content_type
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# form parameters
|
|
192
|
+
form_params = opts[:form_params] || {}
|
|
193
|
+
|
|
194
|
+
# http body (model)
|
|
195
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(delete_account_request)
|
|
196
|
+
|
|
197
|
+
# return_type
|
|
198
|
+
return_type = opts[:debug_return_type] || 'SuccessResponse'
|
|
199
|
+
|
|
200
|
+
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
201
|
+
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
202
|
+
|
|
203
|
+
new_options = opts.merge(
|
|
204
|
+
:operation => :"ProfileApi.profile_delete_account",
|
|
205
|
+
:header_params => header_params,
|
|
206
|
+
:query_params => query_params,
|
|
207
|
+
:form_params => form_params,
|
|
208
|
+
:body => post_body,
|
|
209
|
+
:auth_names => auth_names,
|
|
210
|
+
:return_type => return_type
|
|
211
|
+
)
|
|
212
|
+
|
|
213
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
214
|
+
if @api_client.config.debugging
|
|
215
|
+
@api_client.config.logger.debug "API called: ProfileApi#profile_delete_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
216
|
+
end
|
|
217
|
+
return data, status_code, headers
|
|
218
|
+
end
|
|
219
|
+
|
|
154
220
|
# Disable MFA for the authenticated user
|
|
155
221
|
# @param type [String] MFA type (e.g. SOFTWARE_TOKEN_MFA)
|
|
156
222
|
# @param [Hash] opts the optional parameters
|