hubspot-api-client 10.0.0 → 10.0.1
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 +1 -1
- data/lib/hubspot/codegen/automation/actions/api_client.rb +12 -12
- data/lib/hubspot/codegen/cms/audit-logs/api_client.rb +12 -12
- data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +12 -12
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api_client.rb +12 -12
- data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +12 -12
- data/lib/hubspot/codegen/cms/domains/api_client.rb +12 -12
- data/lib/hubspot/codegen/cms/hubdb/api_client.rb +12 -12
- data/lib/hubspot/codegen/cms/performance/api_client.rb +12 -12
- data/lib/hubspot/codegen/cms/site-search/api_client.rb +12 -12
- data/lib/hubspot/codegen/cms/url-redirects/api_client.rb +12 -12
- data/lib/hubspot/codegen/conversations/visitor-identification/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/associations/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/companies/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/contacts/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/deals/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/extensions/accounting/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +24 -16
- data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +14 -4
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +14 -4
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +16 -1
- data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +25 -17
- data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/imports/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/line_items/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/objects/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/owners/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/pipelines/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/products/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/properties/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/quotes/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/schemas/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/tickets/api_client.rb +12 -12
- data/lib/hubspot/codegen/crm/timeline/api_client.rb +12 -12
- data/lib/hubspot/codegen/events/api_client.rb +12 -12
- data/lib/hubspot/codegen/files/files/api_client.rb +12 -12
- data/lib/hubspot/codegen/marketing/transactional/api_client.rb +12 -12
- data/lib/hubspot/codegen/oauth/api_client.rb +12 -12
- data/lib/hubspot/codegen/webhooks/api_client.rb +12 -12
- data/lib/hubspot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7e237972f3e1843e28d56c91e154cce8f756920bd9822b227a9f4818178830e
|
|
4
|
+
data.tar.gz: 39d168f6d899f60de7a7cfd679e90c446e18daeb7218c1bdaf71fd0c63738bd6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acf8984f3b41b74b03c977181a872224d738890f8abb4d1920b2b8c82e24ae556b3e3cd16054df865a716caf7f3ad935623183ca4a72d30ecebc7e406ebf7222
|
|
7
|
+
data.tar.gz: f47ad82c7bcbfe5ddfcf8d0e88c322219f795c86a9d3f1bd1c065fbba5b87d8745607f589ff8027997d3b1468dd24f7e523afadda59ca37b715e83b9959063e2
|
data/Gemfile.lock
CHANGED
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|
|
@@ -56,21 +56,21 @@ module Hubspot
|
|
|
56
56
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
retries -= 1
|
|
70
|
-
end
|
|
59
|
+
if !response.success? && config.error_handler.any?
|
|
60
|
+
config.error_handler.each do |statuses, opts|
|
|
61
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
62
|
+
|
|
63
|
+
retries = opts[:max_retries] || 5
|
|
64
|
+
while retries > 0 && statuses.include?(response.code)
|
|
65
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
66
|
+
response = request.run
|
|
67
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
68
|
+
retries -= 1
|
|
71
69
|
end
|
|
72
70
|
end
|
|
71
|
+
end
|
|
73
72
|
|
|
73
|
+
unless response.success?
|
|
74
74
|
if response.timed_out?
|
|
75
75
|
fail ApiError.new('Connection timed out')
|
|
76
76
|
elsif response.code == 0
|
|
@@ -56,21 +56,21 @@ module Hubspot
|
|
|
56
56
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
retries -= 1
|
|
70
|
-
end
|
|
59
|
+
if !response.success? && config.error_handler.any?
|
|
60
|
+
config.error_handler.each do |statuses, opts|
|
|
61
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
62
|
+
|
|
63
|
+
retries = opts[:max_retries] || 5
|
|
64
|
+
while retries > 0 && statuses.include?(response.code)
|
|
65
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
66
|
+
response = request.run
|
|
67
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
68
|
+
retries -= 1
|
|
71
69
|
end
|
|
72
70
|
end
|
|
71
|
+
end
|
|
73
72
|
|
|
73
|
+
unless response.success?
|
|
74
74
|
if response.timed_out?
|
|
75
75
|
fail ApiError.new('Connection timed out')
|
|
76
76
|
elsif response.code == 0
|
|
@@ -56,21 +56,21 @@ module Hubspot
|
|
|
56
56
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
retries -= 1
|
|
70
|
-
end
|
|
59
|
+
if !response.success? && config.error_handler.any?
|
|
60
|
+
config.error_handler.each do |statuses, opts|
|
|
61
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
62
|
+
|
|
63
|
+
retries = opts[:max_retries] || 5
|
|
64
|
+
while retries > 0 && statuses.include?(response.code)
|
|
65
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
66
|
+
response = request.run
|
|
67
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
68
|
+
retries -= 1
|
|
71
69
|
end
|
|
72
70
|
end
|
|
71
|
+
end
|
|
73
72
|
|
|
73
|
+
unless response.success?
|
|
74
74
|
if response.timed_out?
|
|
75
75
|
fail ApiError.new('Connection timed out')
|
|
76
76
|
elsif response.code == 0
|
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|
|
@@ -55,21 +55,21 @@ module Hubspot
|
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
retries -= 1
|
|
69
|
-
end
|
|
58
|
+
if !response.success? && config.error_handler.any?
|
|
59
|
+
config.error_handler.each do |statuses, opts|
|
|
60
|
+
statuses = statuses.is_a?(Integer) ? [statuses] : statuses
|
|
61
|
+
|
|
62
|
+
retries = opts[:max_retries] || 5
|
|
63
|
+
while retries > 0 && statuses.include?(response.code)
|
|
64
|
+
sleep opts[:seconds_delay] if opts[:seconds_delay]
|
|
65
|
+
response = request.run
|
|
66
|
+
opts[:retry_block].call if opts[:retry_block]
|
|
67
|
+
retries -= 1
|
|
70
68
|
end
|
|
71
69
|
end
|
|
70
|
+
end
|
|
72
71
|
|
|
72
|
+
unless response.success?
|
|
73
73
|
if response.timed_out?
|
|
74
74
|
fail ApiError.new('Connection timed out')
|
|
75
75
|
elsif response.code == 0
|