hubspot-api-client 10.0.1 → 11.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/Gemfile.lock +4 -4
- data/README.md +4 -0
- data/lib/hubspot/codegen/cms/audit-logs/api/{default_api.rb → audit_logs_api.rb} +3 -3
- data/lib/hubspot/codegen/cms/blogs/authors/api/{default_api.rb → author_api.rb} +28 -28
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api/{default_api.rb → blog_post_api.rb} +62 -62
- data/lib/hubspot/codegen/cms/blogs/tags/api/{default_api.rb → tag_api.rb} +28 -28
- data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +2 -2
- data/lib/hubspot/codegen/cms/domains/configuration.rb +0 -7
- data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +102 -102
- data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +21 -21
- data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +100 -108
- data/lib/hubspot/codegen/cms/hubdb/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/{batch_input_hub_db_table_row_v3.rb → batch_input_hub_db_table_row_v3_request.rb} +5 -5
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_json_node.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/column.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/{column_input.rb → column_request.rb} +71 -47
- data/lib/hubspot/codegen/cms/hubdb/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +4 -9
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +12 -27
- data/lib/hubspot/codegen/cms/hubdb/models/{hub_db_table_row_v3_input.rb → hub_db_table_row_v3_request.rb} +25 -20
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/{hub_db_table_v3_input.rb → hub_db_table_v3_request.rb} +53 -53
- data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/option.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/api/{default_api.rb → public_performance_api.rb} +5 -5
- data/lib/hubspot/codegen/cms/site-search/api/{default_api.rb → public_api.rb} +7 -7
- data/lib/hubspot/codegen/cms/site-search/models/search_hit_field.rb +15 -15
- data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +80 -0
- data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +214 -0
- data/lib/hubspot/codegen/communication_preferences/api_client.rb +404 -0
- data/lib/hubspot/codegen/communication_preferences/api_error.rb +59 -0
- data/lib/hubspot/codegen/communication_preferences/configuration.rb +254 -0
- data/lib/hubspot/codegen/communication_preferences/models/error.rb +290 -0
- data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +256 -0
- data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +372 -0
- data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +231 -0
- data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +283 -0
- data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +339 -0
- data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +216 -0
- data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/companies/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/companies/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +150 -0
- data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/contacts/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/deals/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/deals/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/imports/api/core_api.rb +2 -2
- data/lib/hubspot/codegen/crm/imports/api/{default_api.rb → public_imports_api.rb} +8 -8
- data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +4 -4
- data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/line_items/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +162 -0
- data/lib/hubspot/codegen/crm/objects/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +0 -2
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/owners/api/{default_api.rb → owners_api.rb} +6 -6
- data/lib/hubspot/codegen/crm/products/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/products/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/products/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +0 -2
- data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/quotes/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +3 -3
- data/lib/hubspot/codegen/crm/schemas/api/{default_api.rb → public_object_schemas_api.rb} +4 -4
- data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/tickets/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +3 -3
- data/lib/hubspot/codegen/crm/timeline/models/{collection_response_timeline_event_template.rb → collection_response_timeline_event_template_no_paging.rb} +7 -17
- data/lib/hubspot/codegen/files/files/api/files_api.rb +12 -6
- data/lib/hubspot/codegen/files/files/api/folders_api.rb +12 -0
- data/lib/hubspot/codegen/files/files/models/collection_response_file.rb +1 -1
- data/lib/hubspot/codegen/files/files/models/error_category.rb +18 -18
- data/lib/hubspot/codegen/marketing/transactional/api/{default_api.rb → public_smtp_tokens_api.rb} +14 -74
- data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +86 -0
- data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +82 -0
- data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +140 -0
- data/lib/hubspot/codegen/oauth/api/tokens_api.rb +100 -0
- data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +33 -1
- data/lib/hubspot/codegen/oauth/models/token_response_if.rb +27 -4
- data/lib/hubspot/version.rb +1 -1
- data/lib/hubspot-api-client.rb +16 -3
- data/pkg/hubspot-api-client-10.1.1.gem +0 -0
- data/spec/codegen/cms/audit-logs/api/{default_api_spec.rb → audit_logs_api_spec.rb} +6 -6
- data/spec/codegen/cms/blogs/authors/api/{default_api_spec.rb → author_api_spec.rb} +6 -6
- data/spec/codegen/cms/blogs/blog-posts/api/{default_api_spec.rb → blog_post_api_spec.rb} +6 -6
- data/spec/codegen/cms/blogs/tags/api/{default_api_spec.rb → tag_api_spec.rb} +6 -6
- data/spec/codegen/cms/hubdb/api/rows_api_spec.rb +18 -18
- data/spec/codegen/cms/hubdb/api/rows_batch_api_spec.rb +4 -4
- data/spec/codegen/cms/hubdb/api/tables_api_spec.rb +35 -36
- data/spec/codegen/cms/hubdb/models/{batch_input_hub_db_table_row_v3_spec.rb → batch_input_hub_db_table_row_v3_request_spec.rb} +7 -7
- data/spec/codegen/cms/hubdb/models/batch_input_json_node_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/batch_input_string_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/{column_input_spec.rb → column_request_spec.rb} +14 -22
- data/spec/codegen/cms/hubdb/models/column_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/error_detail_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/error_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/foreign_id_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/hub_db_table_clone_request_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/{hub_db_table_row_v3_input_spec.rb → hub_db_table_row_v3_request_spec.rb} +10 -10
- data/spec/codegen/cms/hubdb/models/hub_db_table_row_v3_spec.rb +7 -1
- data/spec/codegen/cms/hubdb/models/{hub_db_table_v3_input_spec.rb → hub_db_table_v3_request_spec.rb} +13 -13
- data/spec/codegen/cms/hubdb/models/hub_db_table_v3_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/import_result_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/next_page_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/option_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/simple_user_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/standard_error_spec.rb +1 -1
- data/spec/codegen/cms/performance/api/{default_api_spec.rb → public_performance_api_spec.rb} +6 -6
- data/spec/codegen/cms/site-search/api/{default_api_spec.rb → public_api_spec.rb} +6 -6
- data/spec/codegen/cms/site-search/models/search_hit_field_spec.rb +2 -2
- data/spec/codegen/communication_preferences/api/definition_api_spec.rb +46 -0
- data/spec/codegen/communication_preferences/api/status_api_spec.rb +71 -0
- data/spec/codegen/communication_preferences/models/error_detail_spec.rb +65 -0
- data/spec/codegen/communication_preferences/models/error_spec.rb +77 -0
- data/spec/codegen/communication_preferences/models/public_subscription_status_spec.rb +101 -0
- data/spec/codegen/communication_preferences/models/public_subscription_statuses_response_spec.rb +47 -0
- data/spec/codegen/communication_preferences/models/public_update_subscription_status_request_spec.rb +63 -0
- data/spec/codegen/communication_preferences/models/subscription_definition_spec.rb +95 -0
- data/spec/codegen/communication_preferences/models/subscription_definitions_response_spec.rb +41 -0
- data/spec/codegen/crm/companies/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/companies/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/companies/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/contacts/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/contacts/api/gdpr_api_spec.rb +59 -0
- data/spec/codegen/crm/contacts/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/contacts/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/deals/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/deals/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/deals/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/extensions/calling/api/settings_api_spec.rb +2 -2
- data/spec/codegen/crm/extensions/calling/models/settings_patch_request_spec.rb +6 -0
- data/spec/codegen/crm/extensions/calling/models/settings_request_spec.rb +6 -0
- data/spec/codegen/crm/extensions/calling/models/settings_response_spec.rb +6 -0
- data/spec/codegen/crm/extensions/cards/api/cards_api_spec.rb +2 -2
- data/spec/codegen/crm/imports/api/{default_api_spec.rb → public_imports_api_spec.rb} +8 -8
- data/spec/codegen/crm/imports/models/public_import_error_spec.rb +2 -2
- data/spec/codegen/crm/line_items/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/line_items/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/line_items/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/objects/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/objects/api/gdpr_api_spec.rb +61 -0
- data/spec/codegen/crm/objects/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/objects/feedback_submissions/api/batch_api_spec.rb +0 -1
- data/spec/codegen/crm/objects/feedback_submissions/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/objects/feedback_submissions/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/objects/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/owners/api/{default_api_spec.rb → owners_api_spec.rb} +6 -6
- data/spec/codegen/crm/products/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/products/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/products/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/quotes/api/batch_api_spec.rb +0 -1
- data/spec/codegen/crm/quotes/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/quotes/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/schemas/api/{default_api_spec.rb → public_object_schemas_api_spec.rb} +6 -6
- data/spec/codegen/crm/tickets/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/tickets/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/tickets/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/timeline/api/templates_api_spec.rb +1 -1
- data/spec/codegen/crm/timeline/models/{collection_response_timeline_event_template_spec.rb → collection_response_timeline_event_template_no_paging_spec.rb} +6 -12
- data/spec/codegen/files/files/api/files_api_spec.rb +4 -2
- data/spec/codegen/files/files/api/folders_api_spec.rb +4 -0
- data/spec/codegen/files/files/models/error_category_spec.rb +6 -6
- data/spec/codegen/marketing/transactional/api/{default_api_spec.rb → public_smtp_tokens_api_spec.rb} +6 -18
- data/spec/codegen/marketing/transactional/api/single_send_api_spec.rb +47 -0
- data/spec/codegen/oauth/api/access_tokens_api_spec.rb +45 -0
- data/spec/codegen/oauth/api/{default_api_spec.rb → refresh_tokens_api_spec.rb} +6 -31
- data/spec/codegen/oauth/api/tokens_api_spec.rb +50 -0
- data/spec/codegen/oauth/models/access_token_info_response_spec.rb +12 -0
- data/spec/codegen/oauth/models/token_response_if_spec.rb +12 -0
- data/spec/features/cms/audit-logs/{default_api_spec.rb → audit_logs_api_spec.rb} +4 -4
- data/spec/features/cms/blogs/authors/{default_api_spec.rb → author_api_spec.rb} +28 -28
- data/spec/features/cms/blogs/blog-posts/{default_api_spec.rb → blog_post_api_spec.rb} +2 -2
- data/spec/features/cms/blogs/tags/{default_api_spec.rb → tag_api_spec.rb} +2 -2
- data/spec/features/cms/hubdb/tables_api_spec.rb +1 -1
- data/spec/features/cms/perfomance/public_perfomance_api_spec.rb +8 -0
- data/spec/features/cms/site-search/{default_api_spec.rb → public_api_spec.rb} +2 -2
- data/spec/features/communication_preferences/definition_api_spec.rb +7 -0
- data/spec/features/communication_preferences/status_api_spec.rb +9 -0
- data/spec/features/crm/contacts/gdpr_api_spec.rb +8 -0
- data/spec/features/crm/objects/gdpr_api_spec.rb +8 -0
- data/spec/features/crm/owners/{default_api_spec.rb → owners_api_spec.rb} +2 -2
- data/spec/features/crm/schemas/public_object_schemas_api_spec.rb +7 -0
- data/spec/features/marketing/transactional/{default_api_spec.rb → public_smtp_tokens_api_spec.rb} +2 -3
- data/spec/features/marketing/transactional/single_send_api_spec.rb +7 -0
- data/spec/features/oauth/access_tokens_api_spec.rb +7 -0
- data/spec/features/oauth/refresh_tokens_api_spec.rb +8 -0
- data/spec/features/oauth/tokens_api_spec.rb +7 -0
- metadata +130 -82
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_live_input.rb +0 -241
- data/lib/hubspot/codegen/crm/timeline/models/next_page.rb +0 -224
- data/lib/hubspot/codegen/crm/timeline/models/paging.rb +0 -219
- data/lib/hubspot/codegen/crm/timeline/models/previous_page.rb +0 -224
- data/lib/hubspot/codegen/oauth/api/default_api.rb +0 -270
- data/spec/codegen/cms/hubdb/models/hub_db_table_v3_live_input_spec.rb +0 -59
- data/spec/codegen/crm/timeline/models/next_page_spec.rb +0 -47
- data/spec/codegen/crm/timeline/models/paging_spec.rb +0 -47
- data/spec/codegen/crm/timeline/models/previous_page_spec.rb +0 -47
- data/spec/features/cms/perfomance/default_api_spec.rb +0 -8
- data/spec/features/crm/schemas/default_api_spec.rb +0 -7
- data/spec/features/oauth/default_api_spec.rb +0 -10
@@ -16,7 +16,7 @@ module Hubspot
|
|
16
16
|
module Cms
|
17
17
|
module Blogs
|
18
18
|
module Tags
|
19
|
-
class
|
19
|
+
class TagApi
|
20
20
|
attr_accessor :api_client
|
21
21
|
|
22
22
|
def initialize(api_client = ApiClient.default)
|
@@ -41,11 +41,11 @@ module Hubspot
|
|
41
41
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
42
42
|
def archive_with_http_info(object_id, opts = {})
|
43
43
|
if @api_client.config.debugging
|
44
|
-
@api_client.config.logger.debug 'Calling API:
|
44
|
+
@api_client.config.logger.debug 'Calling API: TagApi.archive ...'
|
45
45
|
end
|
46
46
|
# verify the required parameter 'object_id' is set
|
47
47
|
if @api_client.config.client_side_validation && object_id.nil?
|
48
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
48
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling TagApi.archive"
|
49
49
|
end
|
50
50
|
# resource path
|
51
51
|
local_var_path = '/cms/v3/blogs/tags/{objectId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -82,7 +82,7 @@ module Hubspot
|
|
82
82
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
84
84
|
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug "API called:
|
85
|
+
@api_client.config.logger.debug "API called: TagApi#archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
86
|
end
|
87
87
|
return data, status_code, headers
|
88
88
|
end
|
@@ -104,11 +104,11 @@ module Hubspot
|
|
104
104
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
105
105
|
def archive_batch_with_http_info(batch_input_string, opts = {})
|
106
106
|
if @api_client.config.debugging
|
107
|
-
@api_client.config.logger.debug 'Calling API:
|
107
|
+
@api_client.config.logger.debug 'Calling API: TagApi.archive_batch ...'
|
108
108
|
end
|
109
109
|
# verify the required parameter 'batch_input_string' is set
|
110
110
|
if @api_client.config.client_side_validation && batch_input_string.nil?
|
111
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling
|
111
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling TagApi.archive_batch"
|
112
112
|
end
|
113
113
|
# resource path
|
114
114
|
local_var_path = '/cms/v3/blogs/tags/batch/archive'
|
@@ -146,7 +146,7 @@ module Hubspot
|
|
146
146
|
|
147
147
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
148
148
|
if @api_client.config.debugging
|
149
|
-
@api_client.config.logger.debug "API called:
|
149
|
+
@api_client.config.logger.debug "API called: TagApi#archive_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
150
150
|
end
|
151
151
|
return data, status_code, headers
|
152
152
|
end
|
@@ -168,11 +168,11 @@ module Hubspot
|
|
168
168
|
# @return [Array<(Tag, Integer, Hash)>] Tag data, response status code and response headers
|
169
169
|
def create_with_http_info(tag, opts = {})
|
170
170
|
if @api_client.config.debugging
|
171
|
-
@api_client.config.logger.debug 'Calling API:
|
171
|
+
@api_client.config.logger.debug 'Calling API: TagApi.create ...'
|
172
172
|
end
|
173
173
|
# verify the required parameter 'tag' is set
|
174
174
|
if @api_client.config.client_side_validation && tag.nil?
|
175
|
-
fail ArgumentError, "Missing the required parameter 'tag' when calling
|
175
|
+
fail ArgumentError, "Missing the required parameter 'tag' when calling TagApi.create"
|
176
176
|
end
|
177
177
|
# resource path
|
178
178
|
local_var_path = '/cms/v3/blogs/tags'
|
@@ -210,7 +210,7 @@ module Hubspot
|
|
210
210
|
|
211
211
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
212
212
|
if @api_client.config.debugging
|
213
|
-
@api_client.config.logger.debug "API called:
|
213
|
+
@api_client.config.logger.debug "API called: TagApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
214
214
|
end
|
215
215
|
return data, status_code, headers
|
216
216
|
end
|
@@ -232,11 +232,11 @@ module Hubspot
|
|
232
232
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
233
233
|
def create_batch_with_http_info(batch_input_tag, opts = {})
|
234
234
|
if @api_client.config.debugging
|
235
|
-
@api_client.config.logger.debug 'Calling API:
|
235
|
+
@api_client.config.logger.debug 'Calling API: TagApi.create_batch ...'
|
236
236
|
end
|
237
237
|
# verify the required parameter 'batch_input_tag' is set
|
238
238
|
if @api_client.config.client_side_validation && batch_input_tag.nil?
|
239
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_tag' when calling
|
239
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_tag' when calling TagApi.create_batch"
|
240
240
|
end
|
241
241
|
# resource path
|
242
242
|
local_var_path = '/cms/v3/blogs/tags/batch/create'
|
@@ -274,7 +274,7 @@ module Hubspot
|
|
274
274
|
|
275
275
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
276
276
|
if @api_client.config.debugging
|
277
|
-
@api_client.config.logger.debug "API called:
|
277
|
+
@api_client.config.logger.debug "API called: TagApi#create_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
278
278
|
end
|
279
279
|
return data, status_code, headers
|
280
280
|
end
|
@@ -298,11 +298,11 @@ module Hubspot
|
|
298
298
|
# @return [Array<(Tag, Integer, Hash)>] Tag data, response status code and response headers
|
299
299
|
def get_by_id_with_http_info(object_id, opts = {})
|
300
300
|
if @api_client.config.debugging
|
301
|
-
@api_client.config.logger.debug 'Calling API:
|
301
|
+
@api_client.config.logger.debug 'Calling API: TagApi.get_by_id ...'
|
302
302
|
end
|
303
303
|
# verify the required parameter 'object_id' is set
|
304
304
|
if @api_client.config.client_side_validation && object_id.nil?
|
305
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
305
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling TagApi.get_by_id"
|
306
306
|
end
|
307
307
|
# resource path
|
308
308
|
local_var_path = '/cms/v3/blogs/tags/{objectId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -339,7 +339,7 @@ module Hubspot
|
|
339
339
|
|
340
340
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
341
341
|
if @api_client.config.debugging
|
342
|
-
@api_client.config.logger.debug "API called:
|
342
|
+
@api_client.config.logger.debug "API called: TagApi#get_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
343
343
|
end
|
344
344
|
return data, status_code, headers
|
345
345
|
end
|
@@ -379,7 +379,7 @@ module Hubspot
|
|
379
379
|
# @return [Array<(CollectionResponseWithTotalTagForwardPaging, Integer, Hash)>] CollectionResponseWithTotalTagForwardPaging data, response status code and response headers
|
380
380
|
def get_page_with_http_info(opts = {})
|
381
381
|
if @api_client.config.debugging
|
382
|
-
@api_client.config.logger.debug 'Calling API:
|
382
|
+
@api_client.config.logger.debug 'Calling API: TagApi.get_page ...'
|
383
383
|
end
|
384
384
|
# resource path
|
385
385
|
local_var_path = '/cms/v3/blogs/tags'
|
@@ -425,7 +425,7 @@ module Hubspot
|
|
425
425
|
|
426
426
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
427
427
|
if @api_client.config.debugging
|
428
|
-
@api_client.config.logger.debug "API called:
|
428
|
+
@api_client.config.logger.debug "API called: TagApi#get_page\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
429
429
|
end
|
430
430
|
return data, status_code, headers
|
431
431
|
end
|
@@ -449,11 +449,11 @@ module Hubspot
|
|
449
449
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
450
450
|
def read_batch_with_http_info(batch_input_string, opts = {})
|
451
451
|
if @api_client.config.debugging
|
452
|
-
@api_client.config.logger.debug 'Calling API:
|
452
|
+
@api_client.config.logger.debug 'Calling API: TagApi.read_batch ...'
|
453
453
|
end
|
454
454
|
# verify the required parameter 'batch_input_string' is set
|
455
455
|
if @api_client.config.client_side_validation && batch_input_string.nil?
|
456
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling
|
456
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling TagApi.read_batch"
|
457
457
|
end
|
458
458
|
# resource path
|
459
459
|
local_var_path = '/cms/v3/blogs/tags/batch/read'
|
@@ -492,7 +492,7 @@ module Hubspot
|
|
492
492
|
|
493
493
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
494
494
|
if @api_client.config.debugging
|
495
|
-
@api_client.config.logger.debug "API called:
|
495
|
+
@api_client.config.logger.debug "API called: TagApi#read_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
496
496
|
end
|
497
497
|
return data, status_code, headers
|
498
498
|
end
|
@@ -518,15 +518,15 @@ module Hubspot
|
|
518
518
|
# @return [Array<(Tag, Integer, Hash)>] Tag data, response status code and response headers
|
519
519
|
def update_with_http_info(object_id, tag, opts = {})
|
520
520
|
if @api_client.config.debugging
|
521
|
-
@api_client.config.logger.debug 'Calling API:
|
521
|
+
@api_client.config.logger.debug 'Calling API: TagApi.update ...'
|
522
522
|
end
|
523
523
|
# verify the required parameter 'object_id' is set
|
524
524
|
if @api_client.config.client_side_validation && object_id.nil?
|
525
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
525
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling TagApi.update"
|
526
526
|
end
|
527
527
|
# verify the required parameter 'tag' is set
|
528
528
|
if @api_client.config.client_side_validation && tag.nil?
|
529
|
-
fail ArgumentError, "Missing the required parameter 'tag' when calling
|
529
|
+
fail ArgumentError, "Missing the required parameter 'tag' when calling TagApi.update"
|
530
530
|
end
|
531
531
|
# resource path
|
532
532
|
local_var_path = '/cms/v3/blogs/tags/{objectId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -565,7 +565,7 @@ module Hubspot
|
|
565
565
|
|
566
566
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
567
567
|
if @api_client.config.debugging
|
568
|
-
@api_client.config.logger.debug "API called:
|
568
|
+
@api_client.config.logger.debug "API called: TagApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
569
569
|
end
|
570
570
|
return data, status_code, headers
|
571
571
|
end
|
@@ -589,11 +589,11 @@ module Hubspot
|
|
589
589
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
590
590
|
def update_batch_with_http_info(batch_input_json_node, opts = {})
|
591
591
|
if @api_client.config.debugging
|
592
|
-
@api_client.config.logger.debug 'Calling API:
|
592
|
+
@api_client.config.logger.debug 'Calling API: TagApi.update_batch ...'
|
593
593
|
end
|
594
594
|
# verify the required parameter 'batch_input_json_node' is set
|
595
595
|
if @api_client.config.client_side_validation && batch_input_json_node.nil?
|
596
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_json_node' when calling
|
596
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_json_node' when calling TagApi.update_batch"
|
597
597
|
end
|
598
598
|
# resource path
|
599
599
|
local_var_path = '/cms/v3/blogs/tags/batch/update'
|
@@ -632,7 +632,7 @@ module Hubspot
|
|
632
632
|
|
633
633
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
634
634
|
if @api_client.config.debugging
|
635
|
-
@api_client.config.logger.debug "API called:
|
635
|
+
@api_client.config.logger.debug "API called: TagApi#update_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
636
636
|
end
|
637
637
|
return data, status_code, headers
|
638
638
|
end
|
@@ -68,7 +68,7 @@ module Hubspot
|
|
68
68
|
return_type = opts[:return_type] || 'Domain'
|
69
69
|
|
70
70
|
# auth_names
|
71
|
-
auth_names = opts[:auth_names] || ['hapikey'
|
71
|
+
auth_names = opts[:auth_names] || ['hapikey']
|
72
72
|
|
73
73
|
new_options = opts.merge(
|
74
74
|
:header_params => header_params,
|
@@ -160,7 +160,7 @@ module Hubspot
|
|
160
160
|
return_type = opts[:return_type] || 'CollectionResponseWithTotalDomain'
|
161
161
|
|
162
162
|
# auth_names
|
163
|
-
auth_names = opts[:auth_names] || ['hapikey'
|
163
|
+
auth_names = opts[:auth_names] || ['hapikey']
|
164
164
|
|
165
165
|
new_options = opts.merge(
|
166
166
|
:header_params => header_params,
|