hubspot-api-client 11.2.0 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/Gemfile.lock +2 -2
- data/lib/hubspot/client.rb +1 -0
- data/lib/hubspot/codegen/cms/blogs/authors/api/{author_api.rb → blog_authors_api.rb} +372 -52
- data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next.rb +304 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_blog_author.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_json_node.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_string.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author.rb +321 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb +147 -43
- data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next.rb +252 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging.rb +3 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/standard_error.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/update_languages_request_v_next.rb +257 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api/{blog_post_api.rb → blog_posts_api.rb} +414 -94
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/angle.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/attach_to_lang_primary_request_v_next.rb +304 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/background_image.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_blog_post.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_json_node.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_string.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post.rb +321 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post.rb +271 -272
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post_language_clone_request_v_next.rb +228 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging.rb +3 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post.rb +3 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/color_stop.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next.rb +3 -3
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_language_variation.rb +398 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/detach_from_lang_group_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/gradient.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/layout_section.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/rgba_color.rb +5 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/row_meta_data.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/set_new_language_primary_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/side_or_corner.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/standard_error.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/styles.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/update_languages_request_v_next.rb +257 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_blog_post.rb +11 -12
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_user.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/api/{tag_api.rb → blog_tags_api.rb} +372 -52
- data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next.rb +304 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_json_node.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_string.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_tag.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag.rb +321 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging.rb +3 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/standard_error.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/tag.rb +91 -29
- data/lib/hubspot/codegen/cms/blogs/tags/models/tag_clone_request_v_next.rb +253 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/update_languages_request_v_next.rb +257 -0
- data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +18 -18
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +293 -0
- data/lib/hubspot/codegen/cms/hubdb/models/column.rb +13 -13
- data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +24 -4
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +11 -11
- data/lib/hubspot/codegen/cms/source-code/api/content_api.rb +328 -0
- data/lib/hubspot/codegen/cms/source-code/api/extract_api.rb +93 -0
- data/lib/hubspot/codegen/cms/source-code/api/metadata_api.rb +99 -0
- data/lib/hubspot/codegen/cms/source-code/api/source_code_extract_api.rb +142 -0
- data/lib/hubspot/codegen/cms/source-code/api/validation_api.rb +98 -0
- data/lib/hubspot/codegen/cms/source-code/api_client.rb +406 -0
- data/lib/hubspot/codegen/cms/source-code/api_error.rb +61 -0
- data/lib/hubspot/codegen/cms/source-code/configuration.rb +263 -0
- data/lib/hubspot/codegen/cms/source-code/models/action_response.rb +297 -0
- data/lib/hubspot/codegen/cms/source-code/models/asset_file_metadata.rb +298 -0
- data/lib/hubspot/codegen/cms/source-code/models/error.rb +292 -0
- data/lib/hubspot/codegen/cms/source-code/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/cms/source-code/models/file_extract_request.rb +215 -0
- data/lib/hubspot/codegen/cms/source-code/models/task_locator.rb +226 -0
- data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +1 -1
- data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +3 -3
- data/lib/hubspot/codegen/communication_preferences/configuration.rb +7 -0
- data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +2 -2
- data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/companies/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/companies/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/companies/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/companies/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +10 -10
- data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +20 -80
- data/lib/hubspot/codegen/crm/contacts/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/contacts/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/contacts/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +224 -0
- data/lib/hubspot/codegen/crm/contacts/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/contacts/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/deals/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/deals/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/deals/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/deals/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/deals/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/line_items/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/line_items/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/line_items/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/line_items/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +21 -87
- data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +94 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/calls/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/calls/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/calls/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/emails/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/emails/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/emails/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +156 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +205 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +186 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/meetings/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/objects/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/models/public_gdpr_delete_input.rb +224 -0
- data/lib/hubspot/codegen/crm/objects/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/notes/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/notes/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/notes/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/tasks/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/public_team.rb +13 -42
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +94 -0
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +94 -0
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +37 -34
- data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +46 -34
- data/lib/hubspot/codegen/crm/pipelines/models/{collection_response_pipeline.rb → collection_response_pipeline_no_paging.rb} +7 -16
- data/lib/hubspot/codegen/crm/pipelines/models/{collection_response_pipeline_stage.rb → collection_response_pipeline_stage_no_paging.rb} +7 -16
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +217 -0
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +48 -48
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +21 -21
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +58 -58
- data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +279 -0
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/products/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/products/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/products/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/products/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +157 -1
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +207 -2
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +187 -1
- data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/configuration.rb +7 -0
- data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/quotes/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/quotes/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/quotes/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/quotes/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/tickets/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/tickets/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/tickets/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/tickets/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/tickets/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/timeline/models/error_category.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +0 -5
- data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +446 -0
- data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +154 -0
- data/lib/hubspot/codegen/marketing/events/api/search_api.rb +89 -0
- data/lib/hubspot/codegen/marketing/events/api/settings_api.rb +158 -0
- data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +192 -0
- data/lib/hubspot/codegen/marketing/events/api_client.rb +406 -0
- data/lib/hubspot/codegen/marketing/events/api_error.rb +61 -0
- data/lib/hubspot/codegen/marketing/events/configuration.rb +270 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +217 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +218 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +217 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +218 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +333 -0
- data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +217 -0
- data/lib/hubspot/codegen/marketing/events/models/error.rb +292 -0
- data/lib/hubspot/codegen/marketing/events/models/error_category.rb +263 -0
- data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +231 -0
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +216 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +333 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +303 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +231 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +246 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +345 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +420 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +225 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +293 -0
- data/lib/hubspot/codegen/marketing/events/models/property_value.rb +401 -0
- data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +309 -0
- data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +429 -0
- data/lib/hubspot/codegen/marketing/forms/api_client.rb +406 -0
- data/lib/hubspot/codegen/marketing/forms/api_error.rb +61 -0
- data/lib/hubspot/codegen/marketing/forms/configuration.rb +263 -0
- data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging.rb +226 -0
- data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +344 -0
- data/lib/hubspot/codegen/marketing/forms/models/dependent_field.rb +224 -0
- data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +307 -0
- data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +358 -0
- data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +353 -0
- data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +233 -0
- data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +255 -0
- data/lib/hubspot/codegen/marketing/forms/models/error.rb +292 -0
- data/lib/hubspot/codegen/marketing/forms/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/marketing/forms/models/field_group.rb +293 -0
- data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +354 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_definition_base.rb +246 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_definition_create_request_base.rb +246 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_display_options.rb +303 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_post_submit_action.rb +265 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_style.rb +403 -0
- data/lib/hubspot/codegen/{crm/pipelines/models/paging.rb → marketing/forms/models/forward_paging.rb} +8 -8
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_configuration.rb +401 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +235 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_all_of.rb +388 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +235 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of.rb +374 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request.rb +260 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +245 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +317 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +299 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +307 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +251 -0
- data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +353 -0
- data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +344 -0
- data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +348 -0
- data/lib/hubspot/codegen/{crm/pipelines → marketing/forms}/models/next_page.rb +7 -7
- data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +353 -0
- data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +229 -0
- data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +363 -0
- data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +229 -0
- data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +358 -0
- data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +334 -0
- data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +344 -0
- data/lib/hubspot/codegen/settings/users/api/roles_api.rb +82 -0
- data/lib/hubspot/codegen/settings/users/api/teams_api.rb +82 -0
- data/lib/hubspot/codegen/settings/users/api/users_api.rb +355 -0
- data/lib/hubspot/codegen/settings/users/api_client.rb +406 -0
- data/lib/hubspot/codegen/settings/users/api_error.rb +61 -0
- data/lib/hubspot/codegen/settings/users/configuration.rb +256 -0
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +217 -0
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +217 -0
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +226 -0
- data/lib/hubspot/codegen/settings/users/models/error.rb +292 -0
- data/lib/hubspot/codegen/settings/users/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +210 -0
- data/lib/hubspot/codegen/settings/users/models/next_page.rb +224 -0
- data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +246 -0
- data/lib/hubspot/codegen/settings/users/models/public_team.rb +265 -0
- data/lib/hubspot/codegen/settings/users/models/public_user.rb +263 -0
- data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +233 -0
- data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +263 -0
- data/lib/hubspot/codegen/webhooks/api/settings_api.rb +11 -23
- data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +38 -62
- data/lib/hubspot/codegen/webhooks/configuration.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/error_category.rb +2 -2
- data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +2 -4
- data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +2 -2
- data/lib/hubspot/discovery/cms/blogs/authors/api/{author_api.rb → blog_authors_api.rb} +1 -1
- data/lib/hubspot/discovery/cms/blogs/authors/client.rb +1 -1
- data/lib/hubspot/discovery/cms/blogs/blog_posts/api/{blog_post_api.rb → blog_posts_api.rb} +1 -1
- data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +1 -1
- data/lib/hubspot/discovery/cms/blogs/tags/api/{tag_api.rb → blog_tags_api.rb} +1 -1
- data/lib/hubspot/discovery/cms/blogs/tags/client.rb +1 -1
- data/lib/hubspot/discovery/cms/client.rb +1 -0
- data/lib/hubspot/discovery/cms/source_code/api/content_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/api/extract_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/api/metadata_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/api/source_code_extract_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/api/validation_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/client.rb +23 -0
- data/lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb +1 -1
- data/lib/hubspot/discovery/crm/contacts/client.rb +1 -1
- data/lib/hubspot/discovery/crm/objects/api/gdpr_api.rb +1 -1
- data/lib/hubspot/discovery/crm/objects/calls/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/client.rb +25 -0
- data/lib/hubspot/discovery/crm/objects/client.rb +6 -1
- data/lib/hubspot/discovery/crm/objects/emails/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/client.rb +25 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/client.rb +25 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/client.rb +25 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/client.rb +25 -0
- data/lib/hubspot/discovery/marketing/client.rb +2 -0
- data/lib/hubspot/discovery/marketing/events/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/settings_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/subscriber_state_changes_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/client.rb +23 -0
- data/lib/hubspot/discovery/marketing/forms/api/forms_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/forms/client.rb +19 -0
- data/lib/hubspot/discovery/settings/client.rb +17 -0
- data/lib/hubspot/discovery/settings/users/api/roles_api.rb +13 -0
- data/lib/hubspot/discovery/settings/users/api/teams_api.rb +13 -0
- data/lib/hubspot/discovery/settings/users/api/users_api.rb +13 -0
- data/lib/hubspot/discovery/settings/users/client.rb +21 -0
- data/lib/hubspot/version.rb +1 -1
- data/lib/hubspot-api-client.rb +9 -0
- data/spec/codegen/cms/blogs/authors/api/{author_api_spec.rb → blog_authors_api_spec.rb} +77 -17
- data/spec/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next_spec.rb +67 -0
- data/spec/codegen/cms/blogs/authors/models/batch_input_blog_author_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/batch_input_json_node_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/batch_input_string_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/batch_response_blog_author_spec.rb +75 -0
- data/spec/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next_spec.rb +59 -0
- data/spec/codegen/cms/blogs/authors/models/blog_author_spec.rb +44 -10
- data/spec/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/authors/models/error_detail_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/next_page_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/authors/models/standard_error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/update_languages_request_v_next_spec.rb +51 -0
- data/spec/codegen/cms/blogs/blog-posts/api/{blog_post_api_spec.rb → blog_posts_api_spec.rb} +81 -21
- data/spec/codegen/cms/blogs/blog-posts/models/angle_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/attach_to_lang_primary_request_v_next_spec.rb +67 -0
- data/spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/batch_input_blog_post_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/batch_input_json_node_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/batch_input_string_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_spec.rb +75 -0
- data/spec/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/blog_post_language_clone_request_v_next_spec.rb +47 -0
- data/spec/codegen/cms/blogs/blog-posts/models/blog_post_spec.rb +51 -51
- data/spec/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/color_stop_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/content_language_variation_spec.rb +119 -0
- data/spec/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/detach_from_lang_group_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/blog-posts/models/error_detail_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/gradient_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/layout_section_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/next_page_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/previous_page_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/rgba_color_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/row_meta_data_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/set_new_language_primary_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/blog-posts/models/side_or_corner_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/standard_error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/styles_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/update_languages_request_v_next_spec.rb +51 -0
- data/spec/codegen/cms/blogs/blog-posts/models/version_blog_post_spec.rb +2 -2
- data/spec/codegen/cms/blogs/blog-posts/models/version_user_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/api/{tag_api_spec.rb → blog_tags_api_spec.rb} +77 -17
- data/spec/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next_spec.rb +67 -0
- data/spec/codegen/cms/blogs/tags/models/batch_input_json_node_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/batch_input_string_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/batch_input_tag_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/batch_response_tag_spec.rb +75 -0
- data/spec/codegen/cms/blogs/tags/models/batch_response_tag_with_errors_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/tags/models/error_detail_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/next_page_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/tags/models/standard_error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/tag_clone_request_v_next_spec.rb +59 -0
- data/spec/codegen/cms/blogs/tags/models/tag_spec.rb +20 -4
- data/spec/codegen/cms/blogs/tags/models/update_languages_request_v_next_spec.rb +51 -0
- data/spec/codegen/cms/hubdb/api/rows_batch_api_spec.rb +6 -6
- data/spec/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_spec.rb +75 -0
- data/spec/codegen/cms/hubdb/models/column_request_spec.rb +12 -0
- data/spec/codegen/cms/hubdb/models/column_spec.rb +2 -2
- data/spec/codegen/cms/hubdb/models/hub_db_table_v3_spec.rb +6 -6
- data/spec/codegen/cms/source-code/api/content_api_spec.rb +89 -0
- data/spec/codegen/cms/source-code/api/extract_api_spec.rb +47 -0
- data/spec/codegen/cms/source-code/api/metadata_api_spec.rb +48 -0
- data/spec/codegen/cms/source-code/api/source_code_extract_api_spec.rb +55 -0
- data/spec/codegen/cms/source-code/api/validation_api_spec.rb +48 -0
- data/spec/codegen/cms/source-code/models/action_response_spec.rb +69 -0
- data/spec/codegen/cms/source-code/models/asset_file_metadata_spec.rb +77 -0
- data/spec/codegen/cms/source-code/models/error_detail_spec.rb +65 -0
- data/spec/codegen/cms/source-code/models/error_spec.rb +77 -0
- data/spec/codegen/cms/source-code/models/file_extract_request_spec.rb +41 -0
- data/spec/codegen/cms/source-code/models/task_locator_spec.rb +47 -0
- data/spec/codegen/crm/companies/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/companies/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/companies/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/companies/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/companies/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/companies/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/companies/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/companies/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/companies/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/contacts/api/basic_api_spec.rb +4 -4
- data/spec/codegen/crm/contacts/api/gdpr_api_spec.rb +10 -22
- data/spec/codegen/crm/contacts/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/contacts/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/contacts/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/contacts/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/contacts/models/public_gdpr_delete_input_spec.rb +47 -0
- data/spec/codegen/crm/contacts/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/contacts/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/contacts/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/contacts/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/deals/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/deals/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/deals/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/deals/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/deals/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/deals/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/deals/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/deals/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/deals/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/line_items/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/line_items/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/line_items/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/line_items/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/line_items/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/line_items/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/line_items/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/line_items/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/line_items/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/objects/api/gdpr_api_spec.rb +10 -23
- data/spec/codegen/crm/objects/api/public_object_api_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/calls/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/calls/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/calls/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/calls/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/calls/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/calls/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/calls/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/calls/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/calls/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/calls/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/calls/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/calls/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/calls/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/calls/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/emails/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/emails/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/emails/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/emails/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/emails/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/emails/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/emails/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/emails/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/emails/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/emails/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/emails/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/emails/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/emails/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/emails/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/emails/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/feedback_submissions/api/associations_api_spec.rb +28 -0
- data/spec/codegen/crm/objects/feedback_submissions/api/basic_api_spec.rb +40 -0
- data/spec/codegen/crm/objects/feedback_submissions/api/batch_api_spec.rb +33 -0
- data/spec/codegen/crm/objects/feedback_submissions/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/objects/feedback_submissions/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/meetings/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/meetings/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/meetings/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/meetings/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/meetings/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/meetings/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/meetings/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/meetings/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/meetings/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/meetings/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/meetings/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/meetings/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/meetings/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/meetings/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/meetings/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/objects/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/objects/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/objects/models/public_gdpr_delete_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/objects/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/objects/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/notes/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/notes/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/notes/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/notes/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/notes/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/notes/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/notes/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/notes/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/notes/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/notes/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/notes/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/notes/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/notes/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/notes/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/notes/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/tasks/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/tasks/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/tasks/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/tasks/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/tasks/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/tasks/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/tasks/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/tasks/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/tasks/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/tasks/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/tasks/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/tasks/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/tasks/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/tasks/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/tasks/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/owners/api/owners_api_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/collection_response_public_owner_forward_paging_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/error_detail_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/error_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/next_page_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/public_owner_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/public_team_spec.rb +2 -6
- data/spec/codegen/crm/pipelines/{models/paging_spec.rb → api/pipeline_audits_api_spec.rb} +15 -8
- data/spec/codegen/crm/pipelines/api/pipeline_stage_audits_api_spec.rb +48 -0
- data/spec/codegen/crm/pipelines/api/pipeline_stages_api_spec.rb +6 -9
- data/spec/codegen/crm/pipelines/api/pipelines_api_spec.rb +9 -9
- data/spec/codegen/crm/pipelines/models/{collection_response_pipeline_spec.rb → collection_response_pipeline_no_paging_spec.rb} +6 -12
- data/spec/codegen/crm/pipelines/models/{collection_response_pipeline_stage_spec.rb → collection_response_pipeline_stage_no_paging_spec.rb} +6 -12
- data/spec/codegen/crm/pipelines/models/{next_page_spec.rb → collection_response_public_audit_info_no_paging_spec.rb} +7 -13
- data/spec/codegen/crm/pipelines/models/pipeline_input_spec.rb +3 -3
- data/spec/codegen/crm/pipelines/models/pipeline_spec.rb +8 -8
- data/spec/codegen/crm/pipelines/models/pipeline_stage_spec.rb +8 -8
- data/spec/codegen/crm/pipelines/models/public_audit_info_spec.rb +77 -0
- data/spec/codegen/crm/products/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/products/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/products/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/products/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/products/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/products/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/products/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/products/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/products/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/quotes/api/associations_api_spec.rb +28 -0
- data/spec/codegen/crm/quotes/api/basic_api_spec.rb +40 -0
- data/spec/codegen/crm/quotes/api/batch_api_spec.rb +33 -0
- data/spec/codegen/crm/quotes/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/quotes/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/quotes/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/quotes/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/quotes/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/quotes/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/quotes/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/quotes/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/tickets/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/tickets/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/tickets/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/tickets/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/tickets/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/tickets/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/tickets/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/tickets/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/tickets/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/timeline/models/error_category_spec.rb +1 -1
- data/spec/codegen/marketing/events/api/basic_api_spec.rb +113 -0
- data/spec/codegen/marketing/events/api/batch_api_spec.rb +59 -0
- data/spec/codegen/marketing/events/api/search_api_spec.rb +47 -0
- data/spec/codegen/marketing/events/api/settings_api_spec.rb +60 -0
- data/spec/codegen/marketing/events/api/subscriber_state_changes_api_spec.rb +65 -0
- data/spec/codegen/marketing/events/models/batch_input_marketing_event_create_request_params_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/batch_input_marketing_event_subscriber_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_spec.rb +87 -0
- data/spec/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/error_category_spec.rb +51 -0
- data/spec/codegen/marketing/events/models/error_detail_spec.rb +65 -0
- data/spec/codegen/marketing/events/models/error_spec.rb +77 -0
- data/spec/codegen/marketing/events/models/event_detail_settings_spec.rb +47 -0
- data/spec/codegen/marketing/events/models/event_detail_settings_url_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/marketing_event_create_request_params_spec.rb +101 -0
- data/spec/codegen/marketing/events/models/marketing_event_default_response_spec.rb +89 -0
- data/spec/codegen/marketing/events/models/marketing_event_email_subscriber_spec.rb +47 -0
- data/spec/codegen/marketing/events/models/marketing_event_external_unique_identifier_spec.rb +53 -0
- data/spec/codegen/marketing/events/models/marketing_event_public_default_response_spec.rb +107 -0
- data/spec/codegen/marketing/events/models/marketing_event_public_read_response_spec.rb +137 -0
- data/spec/codegen/marketing/events/models/marketing_event_subscriber_spec.rb +47 -0
- data/spec/codegen/marketing/events/models/marketing_event_update_request_params_spec.rb +89 -0
- data/spec/codegen/marketing/events/models/property_value_spec.rb +111 -0
- data/spec/codegen/marketing/events/models/standard_error_spec.rb +83 -0
- data/spec/codegen/marketing/forms/api/forms_api_spec.rb +113 -0
- data/spec/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/datepicker_field_spec.rb +99 -0
- data/spec/codegen/marketing/forms/models/dependent_field_filter_spec.rb +69 -0
- data/spec/codegen/marketing/forms/models/dependent_field_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/dropdown_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/email_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/email_field_validation_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/enumerated_field_option_spec.rb +59 -0
- data/spec/codegen/marketing/forms/models/error_detail_spec.rb +65 -0
- data/spec/codegen/marketing/forms/models/error_spec.rb +77 -0
- data/spec/codegen/marketing/forms/models/field_group_spec.rb +67 -0
- data/spec/codegen/marketing/forms/models/file_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/form_definition_base_spec.rb +35 -0
- data/spec/codegen/marketing/forms/models/form_definition_create_request_base_spec.rb +35 -0
- data/spec/codegen/marketing/forms/models/form_display_options_spec.rb +69 -0
- data/spec/codegen/marketing/forms/models/form_post_submit_action_spec.rb +51 -0
- data/spec/codegen/marketing/forms/models/form_style_spec.rb +111 -0
- data/spec/codegen/marketing/forms/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_configuration_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_all_of_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of_spec.rb +99 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_create_request_spec.rb +35 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_patch_request_spec.rb +71 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_spec.rb +35 -0
- data/spec/codegen/marketing/forms/models/legal_consent_checkbox_spec.rb +53 -0
- data/spec/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process_spec.rb +81 -0
- data/spec/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process_spec.rb +69 -0
- data/spec/codegen/marketing/forms/models/legal_consent_options_legitimate_interest_spec.rb +67 -0
- data/spec/codegen/marketing/forms/models/legal_consent_options_none_spec.rb +45 -0
- data/spec/codegen/marketing/forms/models/mobile_phone_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/multi_line_text_field_spec.rb +99 -0
- data/spec/codegen/marketing/forms/models/multiple_checkboxes_field_spec.rb +99 -0
- data/spec/codegen/marketing/forms/models/next_page_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/number_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/number_field_validation_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/phone_field_spec.rb +111 -0
- data/spec/codegen/marketing/forms/models/phone_field_validation_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/radio_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/single_checkbox_field_spec.rb +93 -0
- data/spec/codegen/marketing/forms/models/single_line_text_field_spec.rb +99 -0
- data/spec/codegen/settings/users/api/roles_api_spec.rb +46 -0
- data/spec/codegen/settings/users/api/teams_api_spec.rb +46 -0
- data/spec/codegen/settings/users/api/users_api_spec.rb +100 -0
- data/spec/codegen/settings/users/models/collection_response_public_permission_set_no_paging_spec.rb +41 -0
- data/spec/codegen/settings/users/models/collection_response_public_team_no_paging_spec.rb +41 -0
- data/spec/codegen/settings/users/models/collection_response_public_user_forward_paging_spec.rb +47 -0
- data/spec/codegen/settings/users/models/error_detail_spec.rb +65 -0
- data/spec/codegen/settings/users/models/error_spec.rb +77 -0
- data/spec/codegen/settings/users/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/settings/users/models/next_page_spec.rb +47 -0
- data/spec/codegen/settings/users/models/public_permission_set_spec.rb +53 -0
- data/spec/codegen/settings/users/models/public_team_spec.rb +59 -0
- data/spec/codegen/settings/users/models/public_user_spec.rb +65 -0
- data/spec/codegen/settings/users/models/public_user_update_spec.rb +53 -0
- data/spec/codegen/settings/users/models/user_provision_request_spec.rb +65 -0
- data/spec/codegen/webhooks/api/settings_api_spec.rb +4 -10
- data/spec/codegen/webhooks/api/subscriptions_api_spec.rb +12 -24
- data/spec/codegen/webhooks/models/error_category_spec.rb +1 -1
- data/spec/codegen/webhooks/models/subscription_create_request_spec.rb +1 -1
- data/spec/codegen/webhooks/models/subscription_response_spec.rb +1 -1
- data/spec/discovery/automation/actions/callbacks_api_spec.rb +1 -1
- data/spec/discovery/automation/actions/definitions_api_spec.rb +1 -1
- data/spec/discovery/automation/actions/functions_api_spec.rb +1 -1
- data/spec/discovery/automation/actions/revisions_api_spec.rb +1 -1
- data/spec/discovery/base_api_client_spec.rb +6 -6
- data/spec/discovery/base_module_client_spec.rb +1 -1
- data/spec/discovery/client_spec.rb +1 -1
- data/spec/discovery/cms/audit-logs/audit_logs_api_spec.rb +1 -1
- data/spec/discovery/cms/blogs/{tags/tag_api_spec.rb → authors/blog_authors_api_spec.rb} +2 -2
- data/spec/discovery/cms/blogs/blog-posts/{blog_post_api_spec.rb → blog_posts_api_spec.rb} +2 -2
- data/spec/discovery/cms/blogs/{authors/author_api_spec.rb → tags/blog_tags_api_spec.rb} +2 -2
- data/spec/discovery/cms/domains/domains_api_spec.rb +1 -1
- data/spec/discovery/cms/hubdb/rows_api_spec.rb +1 -1
- data/spec/discovery/cms/hubdb/rows_batch_api_spec.rb +1 -1
- data/spec/discovery/cms/hubdb/tables_api_spec.rb +1 -1
- data/spec/discovery/cms/performance/public_performance_api_spec.rb +1 -1
- data/spec/discovery/cms/site-search/public_api_spec.rb +1 -1
- data/spec/discovery/cms/source-code/content_api_spec.rb +10 -0
- data/spec/discovery/cms/source-code/extract_api_spec.rb +7 -0
- data/spec/discovery/cms/source-code/metadata_api_spec.rb +7 -0
- data/spec/discovery/cms/source-code/source_code_extract_api_spec.rb +8 -0
- data/spec/discovery/cms/source-code/validation_api_spec.rb +7 -0
- data/spec/discovery/cms/url-redirects/redirects_api_spec.rb +1 -1
- data/spec/discovery/communication_preferences/definition_api_spec.rb +1 -1
- data/spec/discovery/communication_preferences/status_api_spec.rb +1 -1
- data/spec/discovery/conversations/visitor-identification/generate_api_spec.rb +1 -1
- data/spec/discovery/crm/associations/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/associations/types_api_spec.rb +1 -1
- data/spec/discovery/crm/companies/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/companies/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/companies/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/companies/search_api_spec.rb +1 -1
- data/spec/discovery/crm/contacts/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/contacts/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/contacts/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/contacts/gdpr_api_spec.rb +3 -4
- data/spec/discovery/crm/contacts/search_api_spec.rb +1 -1
- data/spec/discovery/crm/deals/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/deals/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/deals/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/deals/search_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/invoice_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/settings_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/sync_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/user_accounts_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/calling/settings_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/cards/cards_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/cards/sample_response_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/videoconferencing/settings_api_spec.rb +1 -1
- data/spec/discovery/crm/imports/core_api_spec.rb +1 -1
- data/spec/discovery/crm/imports/public_imports_api_spec.rb +1 -1
- data/spec/discovery/crm/line_items/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/line_items/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/line_items/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/line_items/search_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/calls/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/calls/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/calls/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/calls/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/calls/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/emails/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/emails/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/emails/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/emails/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/emails/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/feedback_submissions/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/feedback_submissions/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/feedback_submissions/search_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/gdpr_api_spec.rb +3 -4
- data/spec/discovery/crm/objects/meetings/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/meetings/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/meetings/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/meetings/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/meetings/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/notes/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/notes/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/notes/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/notes/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/notes/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/search_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/tasks/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/tasks/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/tasks/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/tasks/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/tasks/search_api_spec.rb +7 -0
- data/spec/discovery/crm/owners/owners_api_spec.rb +1 -1
- data/spec/discovery/crm/pipelines/pipeline_stages_api_spec.rb +1 -1
- data/spec/discovery/crm/pipelines/pipelines_api_spec.rb +1 -1
- data/spec/discovery/crm/products/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/products/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/products/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/products/search_api_spec.rb +1 -1
- data/spec/discovery/crm/properties/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/properties/core_api_spec.rb +1 -1
- data/spec/discovery/crm/properties/groups_api_spec.rb +1 -1
- data/spec/discovery/crm/quotes/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/quotes/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/quotes/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/quotes/search_api_spec.rb +1 -1
- data/spec/discovery/crm/schemas/core_api_spec.rb +1 -1
- data/spec/discovery/crm/schemas/public_object_schemas_api_spec.rb +1 -1
- data/spec/discovery/crm/tickets/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/tickets/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/tickets/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/tickets/search_api_spec.rb +1 -1
- data/spec/discovery/crm/timeline/events_api_spec.rb +1 -1
- data/spec/discovery/crm/timeline/templates_api_spec.rb +1 -1
- data/spec/discovery/crm/timeline/tokens_api_spec.rb +1 -1
- data/spec/discovery/events/events_api_spec.rb +1 -1
- data/spec/discovery/files/files/files_api_spec.rb +1 -1
- data/spec/discovery/files/files/folders_api_spec.rb +1 -1
- data/spec/discovery/marketing/events/basic_api_spec.rb +12 -0
- data/spec/discovery/marketing/events/batch_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/search_api_spec.rb +7 -0
- data/spec/discovery/marketing/events/settings_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
- data/spec/discovery/marketing/forms/forms_api_spec.rb +12 -0
- data/spec/discovery/marketing/transactional/public_smtp_tokens_api_spec.rb +1 -1
- data/spec/discovery/marketing/transactional/single_send_api_spec.rb +1 -1
- data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
- data/spec/discovery/oauth/refresh_tokens_api_spec.rb +1 -1
- data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
- data/spec/discovery/settings/users/roles_api_spec.rb +7 -0
- data/spec/discovery/settings/users/teams_api_spec.rb +7 -0
- data/spec/discovery/settings/users/users_api_spec.rb +11 -0
- data/spec/discovery/webhooks/settings_api_spec.rb +1 -1
- data/spec/discovery/webhooks/subscriptions_api_spec.rb +1 -1
- data/spec/features/cms/blogs/authors/{author_api_spec.rb → blog_authors_api_spec.rb} +2 -2
- data/spec/features/cms/blogs/blog-posts/{blog_post_api_spec.rb → blog_posts_api_spec.rb} +2 -2
- data/spec/features/cms/blogs/tags/{tag_api_spec.rb → blog_tags_api_spec.rb} +2 -2
- data/spec/features/cms/source-code/content_api_spec.rb +10 -0
- data/spec/features/cms/source-code/extract_api_spec.rb +7 -0
- data/spec/features/cms/source-code/metadata_api_spec.rb +7 -0
- data/spec/features/cms/source-code/source_code_extract_api_spec.rb +8 -0
- data/spec/features/cms/source-code/validation_api_spec.rb +7 -0
- data/spec/features/crm/contacts/gdpr_api_spec.rb +3 -4
- data/spec/features/crm/objects/calls/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/calls/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/calls/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/calls/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/calls/search_api_spec.rb +7 -0
- data/spec/features/crm/objects/emails/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/emails/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/emails/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/emails/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/emails/search_api_spec.rb +7 -0
- data/spec/features/crm/objects/feedback_submissions/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/gdpr_api_spec.rb +3 -4
- data/spec/features/crm/objects/meetings/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/meetings/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/meetings/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/meetings/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/meetings/search_api_spec.rb +7 -0
- data/spec/features/crm/objects/notes/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/notes/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/notes/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/notes/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/notes/search_api_spec.rb +7 -0
- data/spec/features/crm/objects/tasks/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/tasks/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/tasks/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/tasks/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/tasks/search_api_spec.rb +7 -0
- data/spec/features/marketing/events/basic_api_spec.rb +12 -0
- data/spec/features/marketing/events/batch_api_spec.rb +8 -0
- data/spec/features/marketing/events/search_api_spec.rb +7 -0
- data/spec/features/marketing/events/settings_api_spec.rb +8 -0
- data/spec/features/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
- data/spec/features/marketing/forms/forms_api_spec.rb +12 -0
- data/spec/features/settings/users/roles_api_spec.rb +7 -0
- data/spec/features/settings/users/teams_api_spec.rb +7 -0
- data/spec/features/settings/users/users_api_spec.rb +11 -0
- metadata +1217 -38
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Blog Post endpoints
|
3
3
|
|
4
|
-
|
4
|
+
#Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -16,7 +16,7 @@ module Hubspot
|
|
16
16
|
module Cms
|
17
17
|
module Blogs
|
18
18
|
module BlogPosts
|
19
|
-
class
|
19
|
+
class BlogPostsApi
|
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: BlogPostsApi.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 BlogPostsApi.archive"
|
49
49
|
end
|
50
50
|
# resource path
|
51
51
|
local_var_path = '/cms/v3/blogs/posts/{objectId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -82,13 +82,13 @@ 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: BlogPostsApi#archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
86
|
end
|
87
87
|
return data, status_code, headers
|
88
88
|
end
|
89
89
|
|
90
|
-
#
|
91
|
-
# Delete the Blog Post objects identified in the request body. Note: This is not the same as the in-app `archive` function. To perform
|
90
|
+
# Delete a batch of Blog Posts
|
91
|
+
# Delete the Blog Post objects identified in the request body. Note: This is not the same as the in-app `archive` function. To perform a dashboard `archive` send an normal update with the `archivedInDashboard` field set to true.
|
92
92
|
# @param batch_input_string [BatchInputString] The JSON array of Blog Post ids.
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
94
|
# @return [nil]
|
@@ -97,18 +97,18 @@ module Hubspot
|
|
97
97
|
nil
|
98
98
|
end
|
99
99
|
|
100
|
-
#
|
101
|
-
# Delete the Blog Post objects identified in the request body. Note: This is not the same as the in-app `archive` function. To perform
|
100
|
+
# Delete a batch of Blog Posts
|
101
|
+
# Delete the Blog Post objects identified in the request body. Note: This is not the same as the in-app `archive` function. To perform a dashboard `archive` send an normal update with the `archivedInDashboard` field set to true.
|
102
102
|
# @param batch_input_string [BatchInputString] The JSON array of Blog Post ids.
|
103
103
|
# @param [Hash] opts the optional parameters
|
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: BlogPostsApi.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 BlogPostsApi.archive_batch"
|
112
112
|
end
|
113
113
|
# resource path
|
114
114
|
local_var_path = '/cms/v3/blogs/posts/batch/archive'
|
@@ -146,13 +146,77 @@ 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: BlogPostsApi#archive_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
150
|
+
end
|
151
|
+
return data, status_code, headers
|
152
|
+
end
|
153
|
+
|
154
|
+
# Attach a Blog Post to a multi-language group
|
155
|
+
# Attach a Blog Post to a multi-language group.
|
156
|
+
# @param attach_to_lang_primary_request_v_next [AttachToLangPrimaryRequestVNext] The JSON representation of the AttachToLangPrimaryRequest object.
|
157
|
+
# @param [Hash] opts the optional parameters
|
158
|
+
# @return [Error]
|
159
|
+
def attach_to_lang_group(attach_to_lang_primary_request_v_next, opts = {})
|
160
|
+
data, _status_code, _headers = attach_to_lang_group_with_http_info(attach_to_lang_primary_request_v_next, opts)
|
161
|
+
data
|
162
|
+
end
|
163
|
+
|
164
|
+
# Attach a Blog Post to a multi-language group
|
165
|
+
# Attach a Blog Post to a multi-language group.
|
166
|
+
# @param attach_to_lang_primary_request_v_next [AttachToLangPrimaryRequestVNext] The JSON representation of the AttachToLangPrimaryRequest object.
|
167
|
+
# @param [Hash] opts the optional parameters
|
168
|
+
# @return [Array<(Error, Integer, Hash)>] Error data, response status code and response headers
|
169
|
+
def attach_to_lang_group_with_http_info(attach_to_lang_primary_request_v_next, opts = {})
|
170
|
+
if @api_client.config.debugging
|
171
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.attach_to_lang_group ...'
|
172
|
+
end
|
173
|
+
# verify the required parameter 'attach_to_lang_primary_request_v_next' is set
|
174
|
+
if @api_client.config.client_side_validation && attach_to_lang_primary_request_v_next.nil?
|
175
|
+
fail ArgumentError, "Missing the required parameter 'attach_to_lang_primary_request_v_next' when calling BlogPostsApi.attach_to_lang_group"
|
176
|
+
end
|
177
|
+
# resource path
|
178
|
+
local_var_path = '/cms/v3/blogs/posts/multi-language/attach-to-lang-group'
|
179
|
+
|
180
|
+
# query parameters
|
181
|
+
query_params = opts[:query_params] || {}
|
182
|
+
|
183
|
+
# header parameters
|
184
|
+
header_params = opts[:header_params] || {}
|
185
|
+
# HTTP header 'Accept' (if needed)
|
186
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
187
|
+
# HTTP header 'Content-Type'
|
188
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
189
|
+
|
190
|
+
# form parameters
|
191
|
+
form_params = opts[:form_params] || {}
|
192
|
+
|
193
|
+
# http body (model)
|
194
|
+
post_body = opts[:body] || @api_client.object_to_http_body(attach_to_lang_primary_request_v_next)
|
195
|
+
|
196
|
+
# return_type
|
197
|
+
return_type = opts[:return_type] || 'Error'
|
198
|
+
|
199
|
+
# auth_names
|
200
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
201
|
+
|
202
|
+
new_options = opts.merge(
|
203
|
+
:header_params => header_params,
|
204
|
+
:query_params => query_params,
|
205
|
+
:form_params => form_params,
|
206
|
+
:body => post_body,
|
207
|
+
:auth_names => auth_names,
|
208
|
+
:return_type => return_type
|
209
|
+
)
|
210
|
+
|
211
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
212
|
+
if @api_client.config.debugging
|
213
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#attach_to_lang_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
150
214
|
end
|
151
215
|
return data, status_code, headers
|
152
216
|
end
|
153
217
|
|
154
218
|
# Clone a Blog Post
|
155
|
-
# Clone a Blog.
|
219
|
+
# Clone a Blog Post.
|
156
220
|
# @param content_clone_request_v_next [ContentCloneRequestVNext] The JSON representation of the ContentCloneRequest object.
|
157
221
|
# @param [Hash] opts the optional parameters
|
158
222
|
# @return [BlogPost]
|
@@ -162,17 +226,17 @@ module Hubspot
|
|
162
226
|
end
|
163
227
|
|
164
228
|
# Clone a Blog Post
|
165
|
-
# Clone a Blog.
|
229
|
+
# Clone a Blog Post.
|
166
230
|
# @param content_clone_request_v_next [ContentCloneRequestVNext] The JSON representation of the ContentCloneRequest object.
|
167
231
|
# @param [Hash] opts the optional parameters
|
168
232
|
# @return [Array<(BlogPost, Integer, Hash)>] BlogPost data, response status code and response headers
|
169
233
|
def clone_with_http_info(content_clone_request_v_next, opts = {})
|
170
234
|
if @api_client.config.debugging
|
171
|
-
@api_client.config.logger.debug 'Calling API:
|
235
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.clone ...'
|
172
236
|
end
|
173
237
|
# verify the required parameter 'content_clone_request_v_next' is set
|
174
238
|
if @api_client.config.client_side_validation && content_clone_request_v_next.nil?
|
175
|
-
fail ArgumentError, "Missing the required parameter 'content_clone_request_v_next' when calling
|
239
|
+
fail ArgumentError, "Missing the required parameter 'content_clone_request_v_next' when calling BlogPostsApi.clone"
|
176
240
|
end
|
177
241
|
# resource path
|
178
242
|
local_var_path = '/cms/v3/blogs/posts/clone'
|
@@ -210,7 +274,7 @@ module Hubspot
|
|
210
274
|
|
211
275
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
212
276
|
if @api_client.config.debugging
|
213
|
-
@api_client.config.logger.debug "API called:
|
277
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#clone\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
214
278
|
end
|
215
279
|
return data, status_code, headers
|
216
280
|
end
|
@@ -232,11 +296,11 @@ module Hubspot
|
|
232
296
|
# @return [Array<(BlogPost, Integer, Hash)>] BlogPost data, response status code and response headers
|
233
297
|
def create_with_http_info(blog_post, opts = {})
|
234
298
|
if @api_client.config.debugging
|
235
|
-
@api_client.config.logger.debug 'Calling API:
|
299
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.create ...'
|
236
300
|
end
|
237
301
|
# verify the required parameter 'blog_post' is set
|
238
302
|
if @api_client.config.client_side_validation && blog_post.nil?
|
239
|
-
fail ArgumentError, "Missing the required parameter 'blog_post' when calling
|
303
|
+
fail ArgumentError, "Missing the required parameter 'blog_post' when calling BlogPostsApi.create"
|
240
304
|
end
|
241
305
|
# resource path
|
242
306
|
local_var_path = '/cms/v3/blogs/posts'
|
@@ -274,7 +338,7 @@ module Hubspot
|
|
274
338
|
|
275
339
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
276
340
|
if @api_client.config.debugging
|
277
|
-
@api_client.config.logger.debug "API called:
|
341
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
278
342
|
end
|
279
343
|
return data, status_code, headers
|
280
344
|
end
|
@@ -283,7 +347,7 @@ module Hubspot
|
|
283
347
|
# Create the Blog Post objects detailed in the request body.
|
284
348
|
# @param batch_input_blog_post [BatchInputBlogPost] The JSON array of new Blog Posts to create.
|
285
349
|
# @param [Hash] opts the optional parameters
|
286
|
-
# @return [
|
350
|
+
# @return [BatchResponseBlogPost]
|
287
351
|
def create_batch(batch_input_blog_post, opts = {})
|
288
352
|
data, _status_code, _headers = create_batch_with_http_info(batch_input_blog_post, opts)
|
289
353
|
data
|
@@ -293,14 +357,14 @@ module Hubspot
|
|
293
357
|
# Create the Blog Post objects detailed in the request body.
|
294
358
|
# @param batch_input_blog_post [BatchInputBlogPost] The JSON array of new Blog Posts to create.
|
295
359
|
# @param [Hash] opts the optional parameters
|
296
|
-
# @return [Array<(
|
360
|
+
# @return [Array<(BatchResponseBlogPost, Integer, Hash)>] BatchResponseBlogPost data, response status code and response headers
|
297
361
|
def create_batch_with_http_info(batch_input_blog_post, opts = {})
|
298
362
|
if @api_client.config.debugging
|
299
|
-
@api_client.config.logger.debug 'Calling API:
|
363
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.create_batch ...'
|
300
364
|
end
|
301
365
|
# verify the required parameter 'batch_input_blog_post' is set
|
302
366
|
if @api_client.config.client_side_validation && batch_input_blog_post.nil?
|
303
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_blog_post' when calling
|
367
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_blog_post' when calling BlogPostsApi.create_batch"
|
304
368
|
end
|
305
369
|
# resource path
|
306
370
|
local_var_path = '/cms/v3/blogs/posts/batch/create'
|
@@ -322,7 +386,135 @@ module Hubspot
|
|
322
386
|
post_body = opts[:body] || @api_client.object_to_http_body(batch_input_blog_post)
|
323
387
|
|
324
388
|
# return_type
|
325
|
-
return_type = opts[:return_type] || '
|
389
|
+
return_type = opts[:return_type] || 'BatchResponseBlogPost'
|
390
|
+
|
391
|
+
# auth_names
|
392
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
393
|
+
|
394
|
+
new_options = opts.merge(
|
395
|
+
:header_params => header_params,
|
396
|
+
:query_params => query_params,
|
397
|
+
:form_params => form_params,
|
398
|
+
:body => post_body,
|
399
|
+
:auth_names => auth_names,
|
400
|
+
:return_type => return_type
|
401
|
+
)
|
402
|
+
|
403
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
404
|
+
if @api_client.config.debugging
|
405
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#create_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
406
|
+
end
|
407
|
+
return data, status_code, headers
|
408
|
+
end
|
409
|
+
|
410
|
+
# Create a new language variation
|
411
|
+
# Create a new language variation from an existing Blog Post
|
412
|
+
# @param blog_post_language_clone_request_v_next [BlogPostLanguageCloneRequestVNext] The JSON representation of the BlogPostLanguageCloneRequestVNext object.
|
413
|
+
# @param [Hash] opts the optional parameters
|
414
|
+
# @return [BlogPost]
|
415
|
+
def create_lang_variation(blog_post_language_clone_request_v_next, opts = {})
|
416
|
+
data, _status_code, _headers = create_lang_variation_with_http_info(blog_post_language_clone_request_v_next, opts)
|
417
|
+
data
|
418
|
+
end
|
419
|
+
|
420
|
+
# Create a new language variation
|
421
|
+
# Create a new language variation from an existing Blog Post
|
422
|
+
# @param blog_post_language_clone_request_v_next [BlogPostLanguageCloneRequestVNext] The JSON representation of the BlogPostLanguageCloneRequestVNext object.
|
423
|
+
# @param [Hash] opts the optional parameters
|
424
|
+
# @return [Array<(BlogPost, Integer, Hash)>] BlogPost data, response status code and response headers
|
425
|
+
def create_lang_variation_with_http_info(blog_post_language_clone_request_v_next, opts = {})
|
426
|
+
if @api_client.config.debugging
|
427
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.create_lang_variation ...'
|
428
|
+
end
|
429
|
+
# verify the required parameter 'blog_post_language_clone_request_v_next' is set
|
430
|
+
if @api_client.config.client_side_validation && blog_post_language_clone_request_v_next.nil?
|
431
|
+
fail ArgumentError, "Missing the required parameter 'blog_post_language_clone_request_v_next' when calling BlogPostsApi.create_lang_variation"
|
432
|
+
end
|
433
|
+
# resource path
|
434
|
+
local_var_path = '/cms/v3/blogs/posts/multi-language/create-language-variation'
|
435
|
+
|
436
|
+
# query parameters
|
437
|
+
query_params = opts[:query_params] || {}
|
438
|
+
|
439
|
+
# header parameters
|
440
|
+
header_params = opts[:header_params] || {}
|
441
|
+
# HTTP header 'Accept' (if needed)
|
442
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
443
|
+
# HTTP header 'Content-Type'
|
444
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
445
|
+
|
446
|
+
# form parameters
|
447
|
+
form_params = opts[:form_params] || {}
|
448
|
+
|
449
|
+
# http body (model)
|
450
|
+
post_body = opts[:body] || @api_client.object_to_http_body(blog_post_language_clone_request_v_next)
|
451
|
+
|
452
|
+
# return_type
|
453
|
+
return_type = opts[:return_type] || 'BlogPost'
|
454
|
+
|
455
|
+
# auth_names
|
456
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
457
|
+
|
458
|
+
new_options = opts.merge(
|
459
|
+
:header_params => header_params,
|
460
|
+
:query_params => query_params,
|
461
|
+
:form_params => form_params,
|
462
|
+
:body => post_body,
|
463
|
+
:auth_names => auth_names,
|
464
|
+
:return_type => return_type
|
465
|
+
)
|
466
|
+
|
467
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
468
|
+
if @api_client.config.debugging
|
469
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#create_lang_variation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
470
|
+
end
|
471
|
+
return data, status_code, headers
|
472
|
+
end
|
473
|
+
|
474
|
+
# Detach a Blog Post from a multi-language group
|
475
|
+
# Detach a Blog Post from a multi-language group.
|
476
|
+
# @param detach_from_lang_group_request_v_next [DetachFromLangGroupRequestVNext] The JSON representation of the DetachFromLangGroupRequest object.
|
477
|
+
# @param [Hash] opts the optional parameters
|
478
|
+
# @return [Error]
|
479
|
+
def detach_from_lang_group(detach_from_lang_group_request_v_next, opts = {})
|
480
|
+
data, _status_code, _headers = detach_from_lang_group_with_http_info(detach_from_lang_group_request_v_next, opts)
|
481
|
+
data
|
482
|
+
end
|
483
|
+
|
484
|
+
# Detach a Blog Post from a multi-language group
|
485
|
+
# Detach a Blog Post from a multi-language group.
|
486
|
+
# @param detach_from_lang_group_request_v_next [DetachFromLangGroupRequestVNext] The JSON representation of the DetachFromLangGroupRequest object.
|
487
|
+
# @param [Hash] opts the optional parameters
|
488
|
+
# @return [Array<(Error, Integer, Hash)>] Error data, response status code and response headers
|
489
|
+
def detach_from_lang_group_with_http_info(detach_from_lang_group_request_v_next, opts = {})
|
490
|
+
if @api_client.config.debugging
|
491
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.detach_from_lang_group ...'
|
492
|
+
end
|
493
|
+
# verify the required parameter 'detach_from_lang_group_request_v_next' is set
|
494
|
+
if @api_client.config.client_side_validation && detach_from_lang_group_request_v_next.nil?
|
495
|
+
fail ArgumentError, "Missing the required parameter 'detach_from_lang_group_request_v_next' when calling BlogPostsApi.detach_from_lang_group"
|
496
|
+
end
|
497
|
+
# resource path
|
498
|
+
local_var_path = '/cms/v3/blogs/posts/multi-language/detach-from-lang-group'
|
499
|
+
|
500
|
+
# query parameters
|
501
|
+
query_params = opts[:query_params] || {}
|
502
|
+
|
503
|
+
# header parameters
|
504
|
+
header_params = opts[:header_params] || {}
|
505
|
+
# HTTP header 'Accept' (if needed)
|
506
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
507
|
+
# HTTP header 'Content-Type'
|
508
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
509
|
+
|
510
|
+
# form parameters
|
511
|
+
form_params = opts[:form_params] || {}
|
512
|
+
|
513
|
+
# http body (model)
|
514
|
+
post_body = opts[:body] || @api_client.object_to_http_body(detach_from_lang_group_request_v_next)
|
515
|
+
|
516
|
+
# return_type
|
517
|
+
return_type = opts[:return_type] || 'Error'
|
326
518
|
|
327
519
|
# auth_names
|
328
520
|
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
@@ -338,7 +530,7 @@ module Hubspot
|
|
338
530
|
|
339
531
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
340
532
|
if @api_client.config.debugging
|
341
|
-
@api_client.config.logger.debug "API called:
|
533
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#detach_from_lang_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
342
534
|
end
|
343
535
|
return data, status_code, headers
|
344
536
|
end
|
@@ -347,7 +539,7 @@ module Hubspot
|
|
347
539
|
# Retrieve the Blog Post object identified by the id in the path.
|
348
540
|
# @param object_id [String] The Blog Post id.
|
349
541
|
# @param [Hash] opts the optional parameters
|
350
|
-
# @option opts [Boolean] :archived Specifies whether to return
|
542
|
+
# @option opts [Boolean] :archived Specifies whether to return deleted Blog Posts. Defaults to `false`.
|
351
543
|
# @return [BlogPost]
|
352
544
|
def get_by_id(object_id, opts = {})
|
353
545
|
data, _status_code, _headers = get_by_id_with_http_info(object_id, opts)
|
@@ -358,15 +550,15 @@ module Hubspot
|
|
358
550
|
# Retrieve the Blog Post object identified by the id in the path.
|
359
551
|
# @param object_id [String] The Blog Post id.
|
360
552
|
# @param [Hash] opts the optional parameters
|
361
|
-
# @option opts [Boolean] :archived Specifies whether to return
|
553
|
+
# @option opts [Boolean] :archived Specifies whether to return deleted Blog Posts. Defaults to `false`.
|
362
554
|
# @return [Array<(BlogPost, Integer, Hash)>] BlogPost data, response status code and response headers
|
363
555
|
def get_by_id_with_http_info(object_id, opts = {})
|
364
556
|
if @api_client.config.debugging
|
365
|
-
@api_client.config.logger.debug 'Calling API:
|
557
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.get_by_id ...'
|
366
558
|
end
|
367
559
|
# verify the required parameter 'object_id' is set
|
368
560
|
if @api_client.config.client_side_validation && object_id.nil?
|
369
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
561
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.get_by_id"
|
370
562
|
end
|
371
563
|
# resource path
|
372
564
|
local_var_path = '/cms/v3/blogs/posts/{objectId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -403,7 +595,7 @@ module Hubspot
|
|
403
595
|
|
404
596
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
405
597
|
if @api_client.config.debugging
|
406
|
-
@api_client.config.logger.debug "API called:
|
598
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#get_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
407
599
|
end
|
408
600
|
return data, status_code, headers
|
409
601
|
end
|
@@ -425,11 +617,11 @@ module Hubspot
|
|
425
617
|
# @return [Array<(BlogPost, Integer, Hash)>] BlogPost data, response status code and response headers
|
426
618
|
def get_draft_by_id_with_http_info(object_id, opts = {})
|
427
619
|
if @api_client.config.debugging
|
428
|
-
@api_client.config.logger.debug 'Calling API:
|
620
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.get_draft_by_id ...'
|
429
621
|
end
|
430
622
|
# verify the required parameter 'object_id' is set
|
431
623
|
if @api_client.config.client_side_validation && object_id.nil?
|
432
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
624
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.get_draft_by_id"
|
433
625
|
end
|
434
626
|
# resource path
|
435
627
|
local_var_path = '/cms/v3/blogs/posts/{objectId}/draft'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -465,7 +657,7 @@ module Hubspot
|
|
465
657
|
|
466
658
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
467
659
|
if @api_client.config.debugging
|
468
|
-
@api_client.config.logger.debug "API called:
|
660
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#get_draft_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
469
661
|
end
|
470
662
|
return data, status_code, headers
|
471
663
|
end
|
@@ -481,8 +673,8 @@ module Hubspot
|
|
481
673
|
# @option opts [DateTime] :updated_before Only return Blog Posts last updated before the specified time.
|
482
674
|
# @option opts [Array<String>] :sort Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.
|
483
675
|
# @option opts [String] :after The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.
|
484
|
-
# @option opts [Integer] :limit The maximum number of results to return. Default is
|
485
|
-
# @option opts [Boolean] :archived Specifies whether to return
|
676
|
+
# @option opts [Integer] :limit The maximum number of results to return. Default is 20.
|
677
|
+
# @option opts [Boolean] :archived Specifies whether to return deleted Blog Posts. Defaults to `false`.
|
486
678
|
# @return [CollectionResponseWithTotalBlogPostForwardPaging]
|
487
679
|
def get_page(opts = {})
|
488
680
|
data, _status_code, _headers = get_page_with_http_info(opts)
|
@@ -500,12 +692,12 @@ module Hubspot
|
|
500
692
|
# @option opts [DateTime] :updated_before Only return Blog Posts last updated before the specified time.
|
501
693
|
# @option opts [Array<String>] :sort Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.
|
502
694
|
# @option opts [String] :after The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.
|
503
|
-
# @option opts [Integer] :limit The maximum number of results to return. Default is
|
504
|
-
# @option opts [Boolean] :archived Specifies whether to return
|
695
|
+
# @option opts [Integer] :limit The maximum number of results to return. Default is 20.
|
696
|
+
# @option opts [Boolean] :archived Specifies whether to return deleted Blog Posts. Defaults to `false`.
|
505
697
|
# @return [Array<(CollectionResponseWithTotalBlogPostForwardPaging, Integer, Hash)>] CollectionResponseWithTotalBlogPostForwardPaging data, response status code and response headers
|
506
698
|
def get_page_with_http_info(opts = {})
|
507
699
|
if @api_client.config.debugging
|
508
|
-
@api_client.config.logger.debug 'Calling API:
|
700
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.get_page ...'
|
509
701
|
end
|
510
702
|
# resource path
|
511
703
|
local_var_path = '/cms/v3/blogs/posts'
|
@@ -551,7 +743,7 @@ module Hubspot
|
|
551
743
|
|
552
744
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
553
745
|
if @api_client.config.debugging
|
554
|
-
@api_client.config.logger.debug "API called:
|
746
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#get_page\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
555
747
|
end
|
556
748
|
return data, status_code, headers
|
557
749
|
end
|
@@ -575,15 +767,15 @@ module Hubspot
|
|
575
767
|
# @return [Array<(VersionBlogPost, Integer, Hash)>] VersionBlogPost data, response status code and response headers
|
576
768
|
def get_previous_version_with_http_info(object_id, revision_id, opts = {})
|
577
769
|
if @api_client.config.debugging
|
578
|
-
@api_client.config.logger.debug 'Calling API:
|
770
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.get_previous_version ...'
|
579
771
|
end
|
580
772
|
# verify the required parameter 'object_id' is set
|
581
773
|
if @api_client.config.client_side_validation && object_id.nil?
|
582
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
774
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.get_previous_version"
|
583
775
|
end
|
584
776
|
# verify the required parameter 'revision_id' is set
|
585
777
|
if @api_client.config.client_side_validation && revision_id.nil?
|
586
|
-
fail ArgumentError, "Missing the required parameter 'revision_id' when calling
|
778
|
+
fail ArgumentError, "Missing the required parameter 'revision_id' when calling BlogPostsApi.get_previous_version"
|
587
779
|
end
|
588
780
|
# resource path
|
589
781
|
local_var_path = '/cms/v3/blogs/posts/{objectId}/revisions/{revisionId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s)).sub('{' + 'revisionId' + '}', CGI.escape(revision_id.to_s))
|
@@ -619,7 +811,7 @@ module Hubspot
|
|
619
811
|
|
620
812
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
621
813
|
if @api_client.config.debugging
|
622
|
-
@api_client.config.logger.debug "API called:
|
814
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#get_previous_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
623
815
|
end
|
624
816
|
return data, status_code, headers
|
625
817
|
end
|
@@ -647,11 +839,11 @@ module Hubspot
|
|
647
839
|
# @return [Array<(CollectionResponseWithTotalVersionBlogPost, Integer, Hash)>] CollectionResponseWithTotalVersionBlogPost data, response status code and response headers
|
648
840
|
def get_previous_versions_with_http_info(object_id, opts = {})
|
649
841
|
if @api_client.config.debugging
|
650
|
-
@api_client.config.logger.debug 'Calling API:
|
842
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.get_previous_versions ...'
|
651
843
|
end
|
652
844
|
# verify the required parameter 'object_id' is set
|
653
845
|
if @api_client.config.client_side_validation && object_id.nil?
|
654
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
846
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.get_previous_versions"
|
655
847
|
end
|
656
848
|
# resource path
|
657
849
|
local_var_path = '/cms/v3/blogs/posts/{objectId}/revisions'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -690,7 +882,7 @@ module Hubspot
|
|
690
882
|
|
691
883
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
692
884
|
if @api_client.config.debugging
|
693
|
-
@api_client.config.logger.debug "API called:
|
885
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#get_previous_versions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
694
886
|
end
|
695
887
|
return data, status_code, headers
|
696
888
|
end
|
@@ -712,11 +904,11 @@ module Hubspot
|
|
712
904
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
713
905
|
def push_live_with_http_info(object_id, opts = {})
|
714
906
|
if @api_client.config.debugging
|
715
|
-
@api_client.config.logger.debug 'Calling API:
|
907
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.push_live ...'
|
716
908
|
end
|
717
909
|
# verify the required parameter 'object_id' is set
|
718
910
|
if @api_client.config.client_side_validation && object_id.nil?
|
719
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
911
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.push_live"
|
720
912
|
end
|
721
913
|
# resource path
|
722
914
|
local_var_path = '/cms/v3/blogs/posts/{objectId}/draft/push-live'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -752,7 +944,7 @@ module Hubspot
|
|
752
944
|
|
753
945
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
754
946
|
if @api_client.config.debugging
|
755
|
-
@api_client.config.logger.debug "API called:
|
947
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#push_live\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
756
948
|
end
|
757
949
|
return data, status_code, headers
|
758
950
|
end
|
@@ -761,8 +953,8 @@ module Hubspot
|
|
761
953
|
# Retrieve the Blog Post objects identified in the request body.
|
762
954
|
# @param batch_input_string [BatchInputString] The JSON array of Blog Post ids.
|
763
955
|
# @param [Hash] opts the optional parameters
|
764
|
-
# @option opts [Boolean] :archived Specifies whether to return
|
765
|
-
# @return [
|
956
|
+
# @option opts [Boolean] :archived Specifies whether to return deleted Blog Posts. Defaults to `false`.
|
957
|
+
# @return [BatchResponseBlogPost]
|
766
958
|
def read_batch(batch_input_string, opts = {})
|
767
959
|
data, _status_code, _headers = read_batch_with_http_info(batch_input_string, opts)
|
768
960
|
data
|
@@ -772,15 +964,15 @@ module Hubspot
|
|
772
964
|
# Retrieve the Blog Post objects identified in the request body.
|
773
965
|
# @param batch_input_string [BatchInputString] The JSON array of Blog Post ids.
|
774
966
|
# @param [Hash] opts the optional parameters
|
775
|
-
# @option opts [Boolean] :archived Specifies whether to return
|
776
|
-
# @return [Array<(
|
967
|
+
# @option opts [Boolean] :archived Specifies whether to return deleted Blog Posts. Defaults to `false`.
|
968
|
+
# @return [Array<(BatchResponseBlogPost, Integer, Hash)>] BatchResponseBlogPost data, response status code and response headers
|
777
969
|
def read_batch_with_http_info(batch_input_string, opts = {})
|
778
970
|
if @api_client.config.debugging
|
779
|
-
@api_client.config.logger.debug 'Calling API:
|
971
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.read_batch ...'
|
780
972
|
end
|
781
973
|
# verify the required parameter 'batch_input_string' is set
|
782
974
|
if @api_client.config.client_side_validation && batch_input_string.nil?
|
783
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling
|
975
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling BlogPostsApi.read_batch"
|
784
976
|
end
|
785
977
|
# resource path
|
786
978
|
local_var_path = '/cms/v3/blogs/posts/batch/read'
|
@@ -803,7 +995,7 @@ module Hubspot
|
|
803
995
|
post_body = opts[:body] || @api_client.object_to_http_body(batch_input_string)
|
804
996
|
|
805
997
|
# return_type
|
806
|
-
return_type = opts[:return_type] || '
|
998
|
+
return_type = opts[:return_type] || 'BatchResponseBlogPost'
|
807
999
|
|
808
1000
|
# auth_names
|
809
1001
|
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
@@ -819,7 +1011,7 @@ module Hubspot
|
|
819
1011
|
|
820
1012
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
821
1013
|
if @api_client.config.debugging
|
822
|
-
@api_client.config.logger.debug "API called:
|
1014
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#read_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
823
1015
|
end
|
824
1016
|
return data, status_code, headers
|
825
1017
|
end
|
@@ -841,11 +1033,11 @@ module Hubspot
|
|
841
1033
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
842
1034
|
def reset_draft_with_http_info(object_id, opts = {})
|
843
1035
|
if @api_client.config.debugging
|
844
|
-
@api_client.config.logger.debug 'Calling API:
|
1036
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.reset_draft ...'
|
845
1037
|
end
|
846
1038
|
# verify the required parameter 'object_id' is set
|
847
1039
|
if @api_client.config.client_side_validation && object_id.nil?
|
848
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
1040
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.reset_draft"
|
849
1041
|
end
|
850
1042
|
# resource path
|
851
1043
|
local_var_path = '/cms/v3/blogs/posts/{objectId}/draft/reset'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -881,7 +1073,7 @@ module Hubspot
|
|
881
1073
|
|
882
1074
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
883
1075
|
if @api_client.config.debugging
|
884
|
-
@api_client.config.logger.debug "API called:
|
1076
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#reset_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
885
1077
|
end
|
886
1078
|
return data, status_code, headers
|
887
1079
|
end
|
@@ -905,15 +1097,15 @@ module Hubspot
|
|
905
1097
|
# @return [Array<(BlogPost, Integer, Hash)>] BlogPost data, response status code and response headers
|
906
1098
|
def restore_previous_version_with_http_info(object_id, revision_id, opts = {})
|
907
1099
|
if @api_client.config.debugging
|
908
|
-
@api_client.config.logger.debug 'Calling API:
|
1100
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.restore_previous_version ...'
|
909
1101
|
end
|
910
1102
|
# verify the required parameter 'object_id' is set
|
911
1103
|
if @api_client.config.client_side_validation && object_id.nil?
|
912
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
1104
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.restore_previous_version"
|
913
1105
|
end
|
914
1106
|
# verify the required parameter 'revision_id' is set
|
915
1107
|
if @api_client.config.client_side_validation && revision_id.nil?
|
916
|
-
fail ArgumentError, "Missing the required parameter 'revision_id' when calling
|
1108
|
+
fail ArgumentError, "Missing the required parameter 'revision_id' when calling BlogPostsApi.restore_previous_version"
|
917
1109
|
end
|
918
1110
|
# resource path
|
919
1111
|
local_var_path = '/cms/v3/blogs/posts/{objectId}/revisions/{revisionId}/restore'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s)).sub('{' + 'revisionId' + '}', CGI.escape(revision_id.to_s))
|
@@ -949,7 +1141,7 @@ module Hubspot
|
|
949
1141
|
|
950
1142
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
951
1143
|
if @api_client.config.debugging
|
952
|
-
@api_client.config.logger.debug "API called:
|
1144
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#restore_previous_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
953
1145
|
end
|
954
1146
|
return data, status_code, headers
|
955
1147
|
end
|
@@ -973,15 +1165,15 @@ module Hubspot
|
|
973
1165
|
# @return [Array<(BlogPost, Integer, Hash)>] BlogPost data, response status code and response headers
|
974
1166
|
def restore_previous_version_to_draft_with_http_info(object_id, revision_id, opts = {})
|
975
1167
|
if @api_client.config.debugging
|
976
|
-
@api_client.config.logger.debug 'Calling API:
|
1168
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.restore_previous_version_to_draft ...'
|
977
1169
|
end
|
978
1170
|
# verify the required parameter 'object_id' is set
|
979
1171
|
if @api_client.config.client_side_validation && object_id.nil?
|
980
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
1172
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.restore_previous_version_to_draft"
|
981
1173
|
end
|
982
1174
|
# verify the required parameter 'revision_id' is set
|
983
1175
|
if @api_client.config.client_side_validation && revision_id.nil?
|
984
|
-
fail ArgumentError, "Missing the required parameter 'revision_id' when calling
|
1176
|
+
fail ArgumentError, "Missing the required parameter 'revision_id' when calling BlogPostsApi.restore_previous_version_to_draft"
|
985
1177
|
end
|
986
1178
|
# resource path
|
987
1179
|
local_var_path = '/cms/v3/blogs/posts/{objectId}/revisions/{revisionId}/restore-to-draft'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s)).sub('{' + 'revisionId' + '}', CGI.escape(revision_id.to_s))
|
@@ -1017,14 +1209,14 @@ module Hubspot
|
|
1017
1209
|
|
1018
1210
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1019
1211
|
if @api_client.config.debugging
|
1020
|
-
@api_client.config.logger.debug "API called:
|
1212
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#restore_previous_version_to_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1021
1213
|
end
|
1022
1214
|
return data, status_code, headers
|
1023
1215
|
end
|
1024
1216
|
|
1025
1217
|
# Schedule a Blog Post to be Published
|
1026
1218
|
# Schedule a Blog Post to be Published.
|
1027
|
-
# @param content_schedule_request_v_next [ContentScheduleRequestVNext] The JSON representation of the
|
1219
|
+
# @param content_schedule_request_v_next [ContentScheduleRequestVNext] The JSON representation of the ContentScheduleRequestVNext object.
|
1028
1220
|
# @param [Hash] opts the optional parameters
|
1029
1221
|
# @return [nil]
|
1030
1222
|
def schedule(content_schedule_request_v_next, opts = {})
|
@@ -1034,16 +1226,16 @@ module Hubspot
|
|
1034
1226
|
|
1035
1227
|
# Schedule a Blog Post to be Published
|
1036
1228
|
# Schedule a Blog Post to be Published.
|
1037
|
-
# @param content_schedule_request_v_next [ContentScheduleRequestVNext] The JSON representation of the
|
1229
|
+
# @param content_schedule_request_v_next [ContentScheduleRequestVNext] The JSON representation of the ContentScheduleRequestVNext object.
|
1038
1230
|
# @param [Hash] opts the optional parameters
|
1039
1231
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1040
1232
|
def schedule_with_http_info(content_schedule_request_v_next, opts = {})
|
1041
1233
|
if @api_client.config.debugging
|
1042
|
-
@api_client.config.logger.debug 'Calling API:
|
1234
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.schedule ...'
|
1043
1235
|
end
|
1044
1236
|
# verify the required parameter 'content_schedule_request_v_next' is set
|
1045
1237
|
if @api_client.config.client_side_validation && content_schedule_request_v_next.nil?
|
1046
|
-
fail ArgumentError, "Missing the required parameter 'content_schedule_request_v_next' when calling
|
1238
|
+
fail ArgumentError, "Missing the required parameter 'content_schedule_request_v_next' when calling BlogPostsApi.schedule"
|
1047
1239
|
end
|
1048
1240
|
# resource path
|
1049
1241
|
local_var_path = '/cms/v3/blogs/posts/schedule'
|
@@ -1081,7 +1273,71 @@ module Hubspot
|
|
1081
1273
|
|
1082
1274
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1083
1275
|
if @api_client.config.debugging
|
1084
|
-
@api_client.config.logger.debug "API called:
|
1276
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1277
|
+
end
|
1278
|
+
return data, status_code, headers
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# Set a new primary language
|
1282
|
+
# Set a Blog Post as the primary language of a multi-language group.
|
1283
|
+
# @param set_new_language_primary_request_v_next [SetNewLanguagePrimaryRequestVNext] The JSON representation of the SetNewLanguagePrimaryRequest object.
|
1284
|
+
# @param [Hash] opts the optional parameters
|
1285
|
+
# @return [nil]
|
1286
|
+
def set_lang_primary(set_new_language_primary_request_v_next, opts = {})
|
1287
|
+
set_lang_primary_with_http_info(set_new_language_primary_request_v_next, opts)
|
1288
|
+
nil
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
# Set a new primary language
|
1292
|
+
# Set a Blog Post as the primary language of a multi-language group.
|
1293
|
+
# @param set_new_language_primary_request_v_next [SetNewLanguagePrimaryRequestVNext] The JSON representation of the SetNewLanguagePrimaryRequest object.
|
1294
|
+
# @param [Hash] opts the optional parameters
|
1295
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1296
|
+
def set_lang_primary_with_http_info(set_new_language_primary_request_v_next, opts = {})
|
1297
|
+
if @api_client.config.debugging
|
1298
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.set_lang_primary ...'
|
1299
|
+
end
|
1300
|
+
# verify the required parameter 'set_new_language_primary_request_v_next' is set
|
1301
|
+
if @api_client.config.client_side_validation && set_new_language_primary_request_v_next.nil?
|
1302
|
+
fail ArgumentError, "Missing the required parameter 'set_new_language_primary_request_v_next' when calling BlogPostsApi.set_lang_primary"
|
1303
|
+
end
|
1304
|
+
# resource path
|
1305
|
+
local_var_path = '/cms/v3/blogs/posts/multi-language/set-new-lang-primary'
|
1306
|
+
|
1307
|
+
# query parameters
|
1308
|
+
query_params = opts[:query_params] || {}
|
1309
|
+
|
1310
|
+
# header parameters
|
1311
|
+
header_params = opts[:header_params] || {}
|
1312
|
+
# HTTP header 'Accept' (if needed)
|
1313
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
1314
|
+
# HTTP header 'Content-Type'
|
1315
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1316
|
+
|
1317
|
+
# form parameters
|
1318
|
+
form_params = opts[:form_params] || {}
|
1319
|
+
|
1320
|
+
# http body (model)
|
1321
|
+
post_body = opts[:body] || @api_client.object_to_http_body(set_new_language_primary_request_v_next)
|
1322
|
+
|
1323
|
+
# return_type
|
1324
|
+
return_type = opts[:return_type]
|
1325
|
+
|
1326
|
+
# auth_names
|
1327
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
1328
|
+
|
1329
|
+
new_options = opts.merge(
|
1330
|
+
:header_params => header_params,
|
1331
|
+
:query_params => query_params,
|
1332
|
+
:form_params => form_params,
|
1333
|
+
:body => post_body,
|
1334
|
+
:auth_names => auth_names,
|
1335
|
+
:return_type => return_type
|
1336
|
+
)
|
1337
|
+
|
1338
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1339
|
+
if @api_client.config.debugging
|
1340
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#set_lang_primary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1085
1341
|
end
|
1086
1342
|
return data, status_code, headers
|
1087
1343
|
end
|
@@ -1091,7 +1347,7 @@ module Hubspot
|
|
1091
1347
|
# @param object_id [String] The Blog Post id.
|
1092
1348
|
# @param blog_post [BlogPost] The JSON representation of the updated Blog Post.
|
1093
1349
|
# @param [Hash] opts the optional parameters
|
1094
|
-
# @option opts [Boolean] :archived Specifies whether to update
|
1350
|
+
# @option opts [Boolean] :archived Specifies whether to update deleted Blog Posts. Defaults to `false`.
|
1095
1351
|
# @return [BlogPost]
|
1096
1352
|
def update(object_id, blog_post, opts = {})
|
1097
1353
|
data, _status_code, _headers = update_with_http_info(object_id, blog_post, opts)
|
@@ -1103,19 +1359,19 @@ module Hubspot
|
|
1103
1359
|
# @param object_id [String] The Blog Post id.
|
1104
1360
|
# @param blog_post [BlogPost] The JSON representation of the updated Blog Post.
|
1105
1361
|
# @param [Hash] opts the optional parameters
|
1106
|
-
# @option opts [Boolean] :archived Specifies whether to update
|
1362
|
+
# @option opts [Boolean] :archived Specifies whether to update deleted Blog Posts. Defaults to `false`.
|
1107
1363
|
# @return [Array<(BlogPost, Integer, Hash)>] BlogPost data, response status code and response headers
|
1108
1364
|
def update_with_http_info(object_id, blog_post, opts = {})
|
1109
1365
|
if @api_client.config.debugging
|
1110
|
-
@api_client.config.logger.debug 'Calling API:
|
1366
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.update ...'
|
1111
1367
|
end
|
1112
1368
|
# verify the required parameter 'object_id' is set
|
1113
1369
|
if @api_client.config.client_side_validation && object_id.nil?
|
1114
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
1370
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.update"
|
1115
1371
|
end
|
1116
1372
|
# verify the required parameter 'blog_post' is set
|
1117
1373
|
if @api_client.config.client_side_validation && blog_post.nil?
|
1118
|
-
fail ArgumentError, "Missing the required parameter 'blog_post' when calling
|
1374
|
+
fail ArgumentError, "Missing the required parameter 'blog_post' when calling BlogPostsApi.update"
|
1119
1375
|
end
|
1120
1376
|
# resource path
|
1121
1377
|
local_var_path = '/cms/v3/blogs/posts/{objectId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -1154,17 +1410,17 @@ module Hubspot
|
|
1154
1410
|
|
1155
1411
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
1156
1412
|
if @api_client.config.debugging
|
1157
|
-
@api_client.config.logger.debug "API called:
|
1413
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1158
1414
|
end
|
1159
1415
|
return data, status_code, headers
|
1160
1416
|
end
|
1161
1417
|
|
1162
1418
|
# Update a batch of Blog Posts
|
1163
1419
|
# Update the Blog Post objects identified in the request body.
|
1164
|
-
# @param batch_input_json_node [BatchInputJsonNode]
|
1420
|
+
# @param batch_input_json_node [BatchInputJsonNode] A JSON array of the JSON representations of the updated Blog Posts.
|
1165
1421
|
# @param [Hash] opts the optional parameters
|
1166
|
-
# @option opts [Boolean] :archived
|
1167
|
-
# @return [
|
1422
|
+
# @option opts [Boolean] :archived Specifies whether to update deleted Blog Posts. Defaults to `false`.
|
1423
|
+
# @return [BatchResponseBlogPost]
|
1168
1424
|
def update_batch(batch_input_json_node, opts = {})
|
1169
1425
|
data, _status_code, _headers = update_batch_with_http_info(batch_input_json_node, opts)
|
1170
1426
|
data
|
@@ -1172,17 +1428,17 @@ module Hubspot
|
|
1172
1428
|
|
1173
1429
|
# Update a batch of Blog Posts
|
1174
1430
|
# Update the Blog Post objects identified in the request body.
|
1175
|
-
# @param batch_input_json_node [BatchInputJsonNode]
|
1431
|
+
# @param batch_input_json_node [BatchInputJsonNode] A JSON array of the JSON representations of the updated Blog Posts.
|
1176
1432
|
# @param [Hash] opts the optional parameters
|
1177
|
-
# @option opts [Boolean] :archived
|
1178
|
-
# @return [Array<(
|
1433
|
+
# @option opts [Boolean] :archived Specifies whether to update deleted Blog Posts. Defaults to `false`.
|
1434
|
+
# @return [Array<(BatchResponseBlogPost, Integer, Hash)>] BatchResponseBlogPost data, response status code and response headers
|
1179
1435
|
def update_batch_with_http_info(batch_input_json_node, opts = {})
|
1180
1436
|
if @api_client.config.debugging
|
1181
|
-
@api_client.config.logger.debug 'Calling API:
|
1437
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.update_batch ...'
|
1182
1438
|
end
|
1183
1439
|
# verify the required parameter 'batch_input_json_node' is set
|
1184
1440
|
if @api_client.config.client_side_validation && batch_input_json_node.nil?
|
1185
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_json_node' when calling
|
1441
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_json_node' when calling BlogPostsApi.update_batch"
|
1186
1442
|
end
|
1187
1443
|
# resource path
|
1188
1444
|
local_var_path = '/cms/v3/blogs/posts/batch/update'
|
@@ -1205,7 +1461,7 @@ module Hubspot
|
|
1205
1461
|
post_body = opts[:body] || @api_client.object_to_http_body(batch_input_json_node)
|
1206
1462
|
|
1207
1463
|
# return_type
|
1208
|
-
return_type = opts[:return_type] || '
|
1464
|
+
return_type = opts[:return_type] || 'BatchResponseBlogPost'
|
1209
1465
|
|
1210
1466
|
# auth_names
|
1211
1467
|
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
@@ -1221,7 +1477,7 @@ module Hubspot
|
|
1221
1477
|
|
1222
1478
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1223
1479
|
if @api_client.config.debugging
|
1224
|
-
@api_client.config.logger.debug "API called:
|
1480
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#update_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1225
1481
|
end
|
1226
1482
|
return data, status_code, headers
|
1227
1483
|
end
|
@@ -1245,15 +1501,15 @@ module Hubspot
|
|
1245
1501
|
# @return [Array<(BlogPost, Integer, Hash)>] BlogPost data, response status code and response headers
|
1246
1502
|
def update_draft_with_http_info(object_id, blog_post, opts = {})
|
1247
1503
|
if @api_client.config.debugging
|
1248
|
-
@api_client.config.logger.debug 'Calling API:
|
1504
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.update_draft ...'
|
1249
1505
|
end
|
1250
1506
|
# verify the required parameter 'object_id' is set
|
1251
1507
|
if @api_client.config.client_side_validation && object_id.nil?
|
1252
|
-
fail ArgumentError, "Missing the required parameter 'object_id' when calling
|
1508
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BlogPostsApi.update_draft"
|
1253
1509
|
end
|
1254
1510
|
# verify the required parameter 'blog_post' is set
|
1255
1511
|
if @api_client.config.client_side_validation && blog_post.nil?
|
1256
|
-
fail ArgumentError, "Missing the required parameter 'blog_post' when calling
|
1512
|
+
fail ArgumentError, "Missing the required parameter 'blog_post' when calling BlogPostsApi.update_draft"
|
1257
1513
|
end
|
1258
1514
|
# resource path
|
1259
1515
|
local_var_path = '/cms/v3/blogs/posts/{objectId}/draft'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
@@ -1291,7 +1547,71 @@ module Hubspot
|
|
1291
1547
|
|
1292
1548
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
1293
1549
|
if @api_client.config.debugging
|
1294
|
-
@api_client.config.logger.debug "API called:
|
1550
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#update_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1551
|
+
end
|
1552
|
+
return data, status_code, headers
|
1553
|
+
end
|
1554
|
+
|
1555
|
+
# Update languages of multi-language group
|
1556
|
+
# Explicitly set new languages for each Blog Post in a multi-language group.
|
1557
|
+
# @param update_languages_request_v_next [UpdateLanguagesRequestVNext] The JSON representation of the SetNewLanguagePrimaryRequest object.
|
1558
|
+
# @param [Hash] opts the optional parameters
|
1559
|
+
# @return [Error]
|
1560
|
+
def update_langs(update_languages_request_v_next, opts = {})
|
1561
|
+
data, _status_code, _headers = update_langs_with_http_info(update_languages_request_v_next, opts)
|
1562
|
+
data
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
# Update languages of multi-language group
|
1566
|
+
# Explicitly set new languages for each Blog Post in a multi-language group.
|
1567
|
+
# @param update_languages_request_v_next [UpdateLanguagesRequestVNext] The JSON representation of the SetNewLanguagePrimaryRequest object.
|
1568
|
+
# @param [Hash] opts the optional parameters
|
1569
|
+
# @return [Array<(Error, Integer, Hash)>] Error data, response status code and response headers
|
1570
|
+
def update_langs_with_http_info(update_languages_request_v_next, opts = {})
|
1571
|
+
if @api_client.config.debugging
|
1572
|
+
@api_client.config.logger.debug 'Calling API: BlogPostsApi.update_langs ...'
|
1573
|
+
end
|
1574
|
+
# verify the required parameter 'update_languages_request_v_next' is set
|
1575
|
+
if @api_client.config.client_side_validation && update_languages_request_v_next.nil?
|
1576
|
+
fail ArgumentError, "Missing the required parameter 'update_languages_request_v_next' when calling BlogPostsApi.update_langs"
|
1577
|
+
end
|
1578
|
+
# resource path
|
1579
|
+
local_var_path = '/cms/v3/blogs/posts/multi-language/update-languages'
|
1580
|
+
|
1581
|
+
# query parameters
|
1582
|
+
query_params = opts[:query_params] || {}
|
1583
|
+
|
1584
|
+
# header parameters
|
1585
|
+
header_params = opts[:header_params] || {}
|
1586
|
+
# HTTP header 'Accept' (if needed)
|
1587
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
1588
|
+
# HTTP header 'Content-Type'
|
1589
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1590
|
+
|
1591
|
+
# form parameters
|
1592
|
+
form_params = opts[:form_params] || {}
|
1593
|
+
|
1594
|
+
# http body (model)
|
1595
|
+
post_body = opts[:body] || @api_client.object_to_http_body(update_languages_request_v_next)
|
1596
|
+
|
1597
|
+
# return_type
|
1598
|
+
return_type = opts[:return_type] || 'Error'
|
1599
|
+
|
1600
|
+
# auth_names
|
1601
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
1602
|
+
|
1603
|
+
new_options = opts.merge(
|
1604
|
+
:header_params => header_params,
|
1605
|
+
:query_params => query_params,
|
1606
|
+
:form_params => form_params,
|
1607
|
+
:body => post_body,
|
1608
|
+
:auth_names => auth_names,
|
1609
|
+
:return_type => return_type
|
1610
|
+
)
|
1611
|
+
|
1612
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1613
|
+
if @api_client.config.debugging
|
1614
|
+
@api_client.config.logger.debug "API called: BlogPostsApi#update_langs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1295
1615
|
end
|
1296
1616
|
return data, status_code, headers
|
1297
1617
|
end
|